[INFO] cloning repository https://github.com/ISickMan/SickPool2 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ISickMan/SickPool2" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FISickMan%2FSickPool2", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FISickMan%2FSickPool2'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 6bfe10242505e0605639467985eaeea26b899035 [INFO] checking ISickMan/SickPool2/6bfe10242505e0605639467985eaeea26b899035 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FISickMan%2FSickPool2" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/ISickMan/SickPool2 on toolchain 4d98531622e1718ae0bc3c7a1ab9cd8938428452 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/ISickMan/SickPool2 [INFO] finished tweaking git repo https://github.com/ISickMan/SickPool2 [INFO] tweaked toml for git repo https://github.com/ISickMan/SickPool2 written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/ISickMan/SickPool2 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0c6ac721e55c7c7154ad3b9d8a36f7eed6462073cc85c8048bd362ed6aae6e81 [INFO] running `Command { std: "docker" "start" "-a" "0c6ac721e55c7c7154ad3b9d8a36f7eed6462073cc85c8048bd362ed6aae6e81", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0c6ac721e55c7c7154ad3b9d8a36f7eed6462073cc85c8048bd362ed6aae6e81", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0c6ac721e55c7c7154ad3b9d8a36f7eed6462073cc85c8048bd362ed6aae6e81", kill_on_drop: false }` [INFO] [stdout] 0c6ac721e55c7c7154ad3b9d8a36f7eed6462073cc85c8048bd362ed6aae6e81 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/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 -Dtail_expr_drop_order" "-e" "RUSTDOCFLAGS=--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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9aa7eb4135ee67d3888f02f4d520a91b5205b74f73937b8d8e0f99e24c3f2188 [INFO] running `Command { std: "docker" "start" "-a" "9aa7eb4135ee67d3888f02f4d520a91b5205b74f73937b8d8e0f99e24c3f2188", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.69 [INFO] [stderr] Compiling serde v1.0.192 [INFO] [stderr] Compiling libc v0.2.150 [INFO] [stderr] Compiling serde_json v1.0.108 [INFO] [stderr] Compiling bitcoin-internals v0.2.0 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling num-traits v0.2.17 [INFO] [stderr] Compiling memoffset v0.9.0 [INFO] [stderr] Compiling crossbeam-utils v0.8.16 [INFO] [stderr] Checking hex-conservative v0.1.1 [INFO] [stderr] Compiling hex_lit v0.1.1 [INFO] [stderr] Checking either v1.9.0 [INFO] [stderr] Checking anstyle-parse v0.2.2 [INFO] [stderr] Compiling crossbeam-epoch v0.9.15 [INFO] [stderr] Checking anstyle-query v1.0.0 [INFO] [stderr] Compiling bitcoin v0.31.0 [INFO] [stderr] Checking anstream v0.6.4 [INFO] [stderr] Compiling thiserror v1.0.50 [INFO] [stderr] Checking smallvec v1.11.2 [INFO] [stderr] Checking destructure_traitobject v0.2.0 [INFO] [stderr] Compiling rust_decimal v1.33.1 [INFO] [stderr] Checking bech32 v0.10.0-beta [INFO] [stderr] Checking linked-hash-map v0.5.6 [INFO] [stderr] Compiling futures-core v0.3.29 [INFO] [stderr] Compiling anyhow v1.0.75 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking unsafe-any-ors v1.0.0 [INFO] [stderr] Compiling arrayvec v0.7.4 [INFO] [stderr] Checking nodrop v0.1.14 [INFO] [stderr] Compiling rustix v0.38.24 [INFO] [stderr] Checking base16ct v0.2.0 [INFO] [stderr] Checking base64 v0.13.1 [INFO] [stderr] Checking clap_builder v4.4.8 [INFO] [stderr] Checking yaml-rust v0.4.5 [INFO] [stderr] Compiling rayon-core v1.12.0 [INFO] [stderr] Checking iana-time-zone v0.1.58 [INFO] [stderr] Checking array-init v0.0.4 [INFO] [stderr] Checking typemap-ors v1.0.0 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking smallvec v0.6.14 [INFO] [stderr] Checking spin v0.9.8 [INFO] [stderr] Checking half v1.8.2 [INFO] [stderr] Checking bitflags v2.4.1 [INFO] [stderr] Checking log-mdc v0.1.0 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Checking crossbeam-deque v0.8.3 [INFO] [stderr] Checking regex-syntax v0.8.2 [INFO] [stderr] Checking cpufeatures v0.2.11 [INFO] [stderr] Checking futures-sink v0.3.29 [INFO] [stderr] Checking plotters-backend v0.3.5 [INFO] [stderr] Checking arc-swap v1.6.0 [INFO] [stderr] Checking futures-io v0.3.29 [INFO] [stderr] Checking ciborium-io v0.2.1 [INFO] [stderr] Checking subtle v2.5.0 [INFO] [stderr] Checking linux-raw-sys v0.4.11 [INFO] [stderr] Compiling syn v2.0.39 [INFO] [stderr] Checking getrandom v0.2.11 [INFO] [stderr] Compiling cc v1.0.83 [INFO] [stderr] Checking parking_lot_core v0.9.9 [INFO] [stderr] Checking thread-id v4.2.1 [INFO] [stderr] Checking plotters-svg v0.3.5 [INFO] [stderr] Checking io-arc v1.0.0 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking nanorand v0.7.0 [INFO] [stderr] Checking ciborium-ll v0.2.1 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Checking sha2 v0.10.8 [INFO] [stderr] Checking itertools v0.10.5 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking itertools v0.12.0 [INFO] [stderr] Checking same-file v1.0.6 [INFO] [stderr] Checking assert-impl v0.1.3 [INFO] [stderr] Checking cast v0.3.0 [INFO] [stderr] Checking display_bytes v0.2.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking flume v0.11.0 [INFO] [stderr] Checking walkdir v2.4.0 [INFO] [stderr] Checking rayon v1.8.0 [INFO] [stderr] Checking ordered-float v2.10.1 [INFO] [stderr] Checking chrono v0.4.31 [INFO] [stderr] Checking plotters v0.3.5 [INFO] [stderr] Checking oorandom v11.1.3 [INFO] [stderr] Checking anes v0.1.6 [INFO] [stderr] Checking yansi v0.5.1 [INFO] [stderr] Checking diff v0.1.13 [INFO] [stderr] Checking regex-automata v0.4.3 [INFO] [stderr] Checking pretty_assertions v1.4.0 [INFO] [stderr] Checking is-terminal v0.4.9 [INFO] [stderr] Compiling rust_decimal_macros v1.33.1 [INFO] [stderr] Compiling secp256k1-sys v0.9.0 [INFO] [stderr] Checking criterion-plot v0.5.0 [INFO] [stderr] Checking regex v1.10.2 [INFO] [stderr] Compiling darling_core v0.20.3 [INFO] [stderr] Compiling serde_derive v1.0.192 [INFO] [stderr] Compiling thiserror-impl v1.0.50 [INFO] [stderr] Compiling clap_derive v4.4.7 [INFO] [stderr] Compiling serde_tuple_macros v0.5.0 [INFO] [stderr] Compiling derivative v2.2.0 [INFO] [stderr] Compiling darling_macro v0.20.3 [INFO] [stderr] Compiling darling v0.20.3 [INFO] [stderr] Compiling serde_with_macros v3.4.0 [INFO] [stderr] Checking clap v4.4.8 [INFO] [stderr] Checking log v0.4.20 [INFO] [stderr] Checking serdect v0.2.0 [INFO] [stderr] Checking serde_yaml v0.8.26 [INFO] [stderr] Checking serde-value v0.7.0 [INFO] [stderr] Checking bincode v1.3.3 [INFO] [stderr] Checking serde_tuple v0.5.0 [INFO] [stderr] Checking serde-hex v0.1.0 (https://github.com/thomaseizinger/serde-hex.git?branch=support-deserialize-owned-strings#0edfd91a) [INFO] [stderr] Checking serde_with v3.4.0 [INFO] [stderr] Checking ciborium v0.2.1 [INFO] [stderr] Checking mio v0.8.9 [INFO] [stderr] Checking crypto-bigint v0.5.4 [INFO] [stderr] Checking bitcoin_hashes v0.13.0 [INFO] [stderr] Checking jsonrpc v0.14.1 [INFO] [stderr] Checking log4rs v1.2.0 [INFO] [stderr] Checking tinytemplate v1.2.1 [INFO] [stderr] Checking criterion v0.5.1 [INFO] [stderr] Checking secp256k1 v0.28.0 [INFO] [stderr] Checking bitcoincore-rpc-json v0.18.0 [INFO] [stderr] Checking bitcoincore-rpc v0.18.0 [INFO] [stderr] Checking sickpool2 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `HashSet` [INFO] [stdout] --> src/lib/stratum/client.rs:1:25 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{collections::{HashSet, HashMap}, net::SocketAddr}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `path::PathBuf` [INFO] [stdout] --> src/lib/stratum/job_fetcher.rs:1:23 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{fmt::Debug, path::PathBuf}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `HashSet` [INFO] [stdout] --> src/lib/stratum/client.rs:1:25 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{collections::{HashSet, HashMap}, net::SocketAddr}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crypto_bigint::U256` [INFO] [stdout] --> src/lib/stratum/job_manager.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use crypto_bigint::U256; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::time::Duration` [INFO] [stdout] --> src/lib/stratum/config.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::time::Duration; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::p2p::networking::protocol::SubmittingContext` [INFO] [stdout] --> src/lib/stratum/stratum_v1.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use crate::p2p::networking::protocol::SubmittingContext; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `block::Block` [INFO] [stdout] --> src/lib/stratum/stratum_v1.rs:33:9 [INFO] [stdout] | [INFO] [stdout] 33 | block::Block, difficulty::get_target_from_diff_units, hard_config::PPLNS_SHARE_UNITS, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `header::BlockHeader` [INFO] [stdout] --> src/lib/stratum/stratum_v1.rs:46:5 [INFO] [stdout] | [INFO] [stdout] 46 | header::BlockHeader, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `path::PathBuf` [INFO] [stdout] --> src/lib/stratum/job_fetcher.rs:1:23 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{fmt::Debug, path::PathBuf}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crypto_bigint::U256` [INFO] [stdout] --> src/lib/stratum/job_manager.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use crypto_bigint::U256; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::time::Duration` [INFO] [stdout] --> src/lib/stratum/config.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::time::Duration; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::p2p::networking::protocol::SubmittingContext` [INFO] [stdout] --> src/lib/stratum/stratum_v1.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use crate::p2p::networking::protocol::SubmittingContext; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `block::Block` [INFO] [stdout] --> src/lib/stratum/stratum_v1.rs:33:9 [INFO] [stdout] | [INFO] [stdout] 33 | block::Block, difficulty::get_target_from_diff_units, hard_config::PPLNS_SHARE_UNITS, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `header::BlockHeader` [INFO] [stdout] --> src/lib/stratum/stratum_v1.rs:46:5 [INFO] [stdout] | [INFO] [stdout] 46 | header::BlockHeader, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `PathBuf` [INFO] [stdout] --> src/lib/p2p/networking/protocol.rs:3:18 [INFO] [stdout] | [INFO] [stdout] 3 | path::{Path, PathBuf}, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `sha2::digest::typenum::U2` [INFO] [stdout] --> src/lib/p2p/networking/protocol.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use sha2::digest::typenum::U2; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `PathBuf` [INFO] [stdout] --> src/lib/p2p/networking/protocol.rs:3:18 [INFO] [stdout] | [INFO] [stdout] 3 | path::{Path, PathBuf}, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `client::StratumClient` [INFO] [stdout] --> src/lib/p2p/networking/protocol.rs:20:15 [INFO] [stdout] | [INFO] [stdout] 20 | stratum::{client::StratumClient, job_fetcher::BlockFetcher}, p2p::consensus::{consensus::ConsensusConfigP2P, block_manager::BlockMana... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `sha2::digest::typenum::U2` [INFO] [stdout] --> src/lib/p2p/networking/protocol.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use sha2::digest::typenum::U2; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crypto_bigint::U256` [INFO] [stdout] --> src/lib/p2p/networking/block.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crypto_bigint::U256; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::path::Path` [INFO] [stdout] --> src/lib/p2p/networking/server.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::path::Path; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `error` [INFO] [stdout] --> src/lib/p2p/networking/stratum_handler.rs:4:11 [INFO] [stdout] | [INFO] [stdout] 4 | use log::{error, info}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `client::StratumClient` [INFO] [stdout] --> src/lib/p2p/networking/protocol.rs:20:15 [INFO] [stdout] | [INFO] [stdout] 20 | stratum::{client::StratumClient, job_fetcher::BlockFetcher}, p2p::consensus::{consensus::ConsensusConfigP2P, block_manager::BlockMana... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `time::Duration` [INFO] [stdout] --> src/lib/p2p/networking/config.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{time::Duration, path::Path}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Encoding` and `U256` [INFO] [stdout] --> src/lib/p2p/networking/config.rs:3:21 [INFO] [stdout] | [INFO] [stdout] 3 | use crypto_bigint::{U256, Encoding}; [INFO] [stdout] | ^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Digest` and `Sha256` [INFO] [stdout] --> src/lib/p2p/networking/config.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | use sha2::{Sha256, Digest}; [INFO] [stdout] | ^^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::block::Block` [INFO] [stdout] --> src/lib/p2p/networking/config.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use super::block::Block; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crypto_bigint::U256` [INFO] [stdout] --> src/lib/p2p/networking/block.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crypto_bigint::U256; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `address::Address` [INFO] [stdout] --> src/lib/p2p/networking/share.rs:4:13 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::{address::Address, coins::coin::Coin}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `PPLNS_DIFF_MULTIPLIER` and `PPLNS_SHARE_UNITS` [INFO] [stdout] --> src/lib/p2p/networking/share.rs:7:19 [INFO] [stdout] | [INFO] [stdout] 7 | hard_config::{PPLNS_DIFF_MULTIPLIER, PPLNS_SHARE_UNITS}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `IpAddr` and `Ipv4Addr` [INFO] [stdout] --> src/lib/config.rs:1:28 [INFO] [stdout] | [INFO] [stdout] 1 | use std::net::{SocketAddr, IpAddr, Ipv4Addr}; [INFO] [stdout] | ^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::path::Path` [INFO] [stdout] --> src/lib/p2p/networking/server.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::path::Path; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `protocol::ProtocolP2P` [INFO] [stdout] --> src/lib/coins/coin.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 16 | protocol::ProtocolP2P, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `error` [INFO] [stdout] --> src/lib/p2p/networking/stratum_handler.rs:4:11 [INFO] [stdout] | [INFO] [stdout] 4 | use log::{error, info}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `fs`, `path::PathBuf`, and `time::Duration` [INFO] [stdout] --> src/lib/p2p/networking/bitcoin.rs:193:15 [INFO] [stdout] | [INFO] [stdout] 193 | use std::{fs, path::PathBuf, time::Duration}; [INFO] [stdout] | ^^ ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BlockManager`, `CoinbaseEncodedP2P`, `ProcessedShare`, `ScoreChanges`, `ShareP2P`, `WindowPPLNS`, `block::Block`, `coins::bitcoin::Btc`, `stratum::header::BlockHeader`, and `target_manager::TargetManager` [INFO] [stdout] --> src/lib/p2p/networking/bitcoin.rs:196:9 [INFO] [stdout] | [INFO] [stdout] 196 | coins::bitcoin::Btc, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 197 | p2p::{networking::{ [INFO] [stdout] 198 | block::Block, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 199 | pplns::{ScoreChanges, WindowPPLNS}, [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] 200 | share::{ShareP2P, CoinbaseEncodedP2P}, [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 201 | }, consensus::{block_manager::{ProcessedShare, BlockManager}, target_manager::TargetManager}}, [INFO] [stdout] | ^^^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 202 | stratum::header::BlockHeader, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `pretty_assertions::assert_eq` [INFO] [stdout] --> src/lib/p2p/networking/bitcoin.rs:204:9 [INFO] [stdout] | [INFO] [stdout] 204 | use pretty_assertions::assert_eq; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `time::Duration` [INFO] [stdout] --> src/lib/p2p/networking/config.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{time::Duration, path::Path}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Encoding` and `U256` [INFO] [stdout] --> src/lib/p2p/networking/config.rs:3:21 [INFO] [stdout] | [INFO] [stdout] 3 | use crypto_bigint::{U256, Encoding}; [INFO] [stdout] | ^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Digest` and `Sha256` [INFO] [stdout] --> src/lib/p2p/networking/config.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | use sha2::{Sha256, Digest}; [INFO] [stdout] | ^^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::block::Block` [INFO] [stdout] --> src/lib/p2p/networking/config.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use super::block::Block; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `address::Address` [INFO] [stdout] --> src/lib/p2p/networking/share.rs:4:13 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::{address::Address, coins::coin::Coin}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `PPLNS_DIFF_MULTIPLIER` and `PPLNS_SHARE_UNITS` [INFO] [stdout] --> src/lib/p2p/networking/share.rs:7:19 [INFO] [stdout] | [INFO] [stdout] 7 | hard_config::{PPLNS_DIFF_MULTIPLIER, PPLNS_SHARE_UNITS}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `IpAddr` and `Ipv4Addr` [INFO] [stdout] --> src/lib/config.rs:1:28 [INFO] [stdout] | [INFO] [stdout] 1 | use std::net::{SocketAddr, IpAddr, Ipv4Addr}; [INFO] [stdout] | ^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `protocol::ProtocolP2P` [INFO] [stdout] --> src/lib/coins/coin.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 16 | protocol::ProtocolP2P, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `start_height` [INFO] [stdout] --> src/lib/p2p/networking/protocol.rs:219:17 [INFO] [stdout] | [INFO] [stdout] 219 | start_height, [INFO] [stdout] | ^^^^^^^^^^^^ help: try ignoring the field: `start_height: _` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `current_height` [INFO] [stdout] --> src/lib/p2p/networking/protocol.rs:220:17 [INFO] [stdout] | [INFO] [stdout] 220 | current_height, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: try ignoring the field: `current_height: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `start_height` [INFO] [stdout] --> src/lib/p2p/networking/protocol.rs:219:17 [INFO] [stdout] | [INFO] [stdout] 219 | start_height, [INFO] [stdout] | ^^^^^^^^^^^^ help: try ignoring the field: `start_height: _` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `current_height` [INFO] [stdout] --> src/lib/p2p/networking/protocol.rs:220:17 [INFO] [stdout] | [INFO] [stdout] 220 | current_height, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: try ignoring the field: `current_height: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/lib/p2p/networking/protocol.rs:307:13 [INFO] [stdout] | [INFO] [stdout] 307 | Stratum(SocketAddr), [INFO] [stdout] | ------- ^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `SubmittingContext` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 307 | Stratum(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/lib/p2p/networking/protocol.rs:308:9 [INFO] [stdout] | [INFO] [stdout] 308 | P2P(SocketAddr), [INFO] [stdout] | --- ^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `SubmittingContext` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 308 | P2P(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `pools_dir` is never read [INFO] [stdout] --> src/lib/p2p/networking/pool_manager.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct PoolManager { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] 4 | pools_dir: Box, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/lib/server.rs:121:26 [INFO] [stdout] | [INFO] [stdout] 75 | pub fn new(conf: ServerConfig, protocol: Arc

) -> Server

{ [INFO] [stdout] | ---------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 76 | let mut listener = TcpListener::bind(conf.address).unwrap(); [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 77 | let poll = Poll::new().unwrap(); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 85 | let (tx, rx) = flume::unbounded(); [INFO] [stdout] | -- -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 121 | connections: Slab::with_capacity(INITIAL_CLIENTS_CAPACITY), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/lib/stratum/client.rs:27:31 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn new(notifier: Notifier, id: u32, address: SocketAddr) -> StratumClient { [INFO] [stdout] | ------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 27 | submitted_shares: DuplicateHashChecker::default(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/lib/stratum/stratum_v1.rs:367:33 [INFO] [stdout] | [INFO] [stdout] 356 | fn new(conf: Self::Config) -> Self { [INFO] [stdout] | ------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 357 | // let p = .clone(); [INFO] [stdout] 358 | let (stratum_conf, p2p) = conf; [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 359 | let daemon_cli = <::Fetcher as BlockFetcher>::new( [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 367 | subscribed_clients: Mutex::new(Slab::new()), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/lib/stratum/stratum_v1.rs:369:22 [INFO] [stdout] | [INFO] [stdout] 356 | fn new(conf: Self::Config) -> Self { [INFO] [stdout] | ------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 357 | // let p = .clone(); [INFO] [stdout] 358 | let (stratum_conf, p2p) = conf; [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 359 | let daemon_cli = <::Fetcher as BlockFetcher>::new( [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 369 | handler: CompleteStratumHandler { p2p }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/lib/stratum/stratum_v1.rs:380:15 [INFO] [stdout] | [INFO] [stdout] 377 | ctx: Arc>, [INFO] [stdout] | ------------------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 380 | match Self::parse_stratum_req(req.0, req.1) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/lib/stratum/stratum_v1.rs:395:14 [INFO] [stdout] | [INFO] [stdout] 392 | fn create_client(&self, addr: SocketAddr, notifier: Notifier) -> Option { [INFO] [stdout] | ------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 395 | Some(StratumClient::new(notifier, id, addr)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/lib/stratum/server.rs:40:21 [INFO] [stdout] | [INFO] [stdout] 24 | pub fn new(conf: ProtocolServerConfig, p2p: Arc>) -> Self { [INFO] [stdout] | ------------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 25 | let job_poll_interval = conf.protocol_config.job_poll_interval_ms; [INFO] [stdout] 26 | let protocol = Arc::new(T::new((conf.protocol_config, p2p))); [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 29 | let protocol_poll_cp = protocol.clone(); [INFO] [stdout] | ---------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 40 | server: Server::new(conf.server_config, protocol), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/lib/protocol.rs:59:20 [INFO] [stdout] | [INFO] [stdout] 58 | fn new(conf: Self::Config) -> Self { [INFO] [stdout] | ------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 59 | Self { up: UP::new(conf) } [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/lib/p2p/networking/protocol.rs:72:27 [INFO] [stdout] | [INFO] [stdout] 59 | fn new(conf: Self::Config) -> Self { [INFO] [stdout] | ------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 60 | let daemon_cli = C::Fetcher::new(conf.rpc_url.as_ref()).unwrap(); [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 63 | let genesis_share = ShareP2P { [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 72 | pplns_window: Mutex::new(WindowPPLNS::new(genesis_share.clone())), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/lib/p2p/networking/protocol.rs:73:28 [INFO] [stdout] | [INFO] [stdout] 59 | fn new(conf: Self::Config) -> Self { [INFO] [stdout] | ------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 60 | let daemon_cli = C::Fetcher::new(conf.rpc_url.as_ref()).unwrap(); [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 63 | let genesis_share = ShareP2P { [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 73 | hello_message: Messages::Hello(Hello::new(conf.listening_port, &conf.consensus)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/lib/p2p/networking/protocol.rs:79:28 [INFO] [stdout] | [INFO] [stdout] 59 | fn new(conf: Self::Config) -> Self { [INFO] [stdout] | ------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 60 | let daemon_cli = C::Fetcher::new(conf.rpc_url.as_ref()).unwrap(); [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 63 | let genesis_share = ShareP2P { [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 79 | block_manager: BlockManager::new(genesis_share, conf.data_dir.clone()), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/lib/p2p/networking/protocol.rs:80:20 [INFO] [stdout] | [INFO] [stdout] 59 | fn new(conf: Self::Config) -> Self { [INFO] [stdout] | ------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 60 | let daemon_cli = C::Fetcher::new(conf.rpc_url.as_ref()).unwrap(); [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 63 | let genesis_share = ShareP2P { [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 80 | peers: Mutex::new(HashMap::new()), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/lib/p2p/networking/protocol.rs:81:27 [INFO] [stdout] | [INFO] [stdout] 59 | fn new(conf: Self::Config) -> Self { [INFO] [stdout] | ------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 60 | let daemon_cli = C::Fetcher::new(conf.rpc_url.as_ref()).unwrap(); [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 63 | let genesis_share = ShareP2P { [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 81 | peer_manager: PeerManager::new(conf.data_dir.clone()), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/lib/p2p/networking/protocol.rs:93:34 [INFO] [stdout] | [INFO] [stdout] 90 | ctx: Arc>, [INFO] [stdout] | ------------------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 93 | Self::serialize_message(&match Self::parse_request(&req) { [INFO] [stdout] | __________________________________^ [INFO] [stdout] 94 | | Ok(message) => match self.process_message(ctx, message) { [INFO] [stdout] 95 | | Some(k) => { [INFO] [stdout] 96 | | info!("Responded with message: {:?}", &k); [INFO] [stdout] ... | [INFO] [stdout] 104 | | } [INFO] [stdout] 105 | | }) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/lib/p2p/networking/protocol.rs:171:24 [INFO] [stdout] | [INFO] [stdout] 147 | data_dir: Box, [INFO] [stdout] | ------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 153 | let daemon_cli = C::Fetcher::new(rpc_url.as_ref()).unwrap(); [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 154 | [INFO] [stdout] 155 | let rewards: [(<::BlockT as Block>::Script, u64); 1] = [( [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 162 | let block = daemon_cli [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 171 | consensus: ConsensusConfigP2P { [INFO] [stdout] | ________________________^ [INFO] [stdout] 172 | | name: pool_name, [INFO] [stdout] 173 | | parent_pool_hash: U256::ZERO, [INFO] [stdout] 174 | | block_time_ms, [INFO] [stdout] ... | [INFO] [stdout] 180 | | default_port_stratum: 0, [INFO] [stdout] 181 | | }, [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/lib/p2p/networking/peer_manager.rs:26:12 [INFO] [stdout] | [INFO] [stdout] 25 | let path = self.get_peer_path(addr); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 26 | Ok(serde_json::from_slice(&fs::read(&path)?) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/lib/p2p/networking/pplns.rs:62:12 [INFO] [stdout] | [INFO] [stdout] 27 | current_scores: Vec<(A::FromScript, u64)>, [INFO] [stdout] | ----------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 28 | mut last_scores: HashMap, [INFO] [stdout] | -------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 29 | ) -> Result, EncodeErrorP2P> { [INFO] [stdout] 30 | let mut removed = Vec::new(); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 31 | let mut added = Vec::new(); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 62 | Ok(ScoreChanges { added, removed }) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/lib/p2p/consensus/block_manager.rs:69:22 [INFO] [stdout] | [INFO] [stdout] 49 | pub fn new(genesis: ShareP2P, data_dir: Box) -> Self { [INFO] [stdout] | -------------------- ------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 56 | let blocks_dir = data_dir.into_boxed_path(); [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 69 | p2p_tip: Mutex::new(ProcessedShare { [INFO] [stdout] | ______________________^ [INFO] [stdout] 70 | | inner: genesis, [INFO] [stdout] 71 | | hash, [INFO] [stdout] 72 | | // doesnt matter [INFO] [stdout] 73 | | score: 0, [INFO] [stdout] 74 | | }), [INFO] [stdout] | |______________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/lib/p2p/consensus/block_manager.rs:107:12 [INFO] [stdout] | [INFO] [stdout] 101 | block: C::BlockT, [INFO] [stdout] | ---------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 104 | let current_scores = Self::get_scores(&block); [INFO] [stdout] | -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 107 | Ok(ShareP2P { [INFO] [stdout] | ____________^ [INFO] [stdout] 108 | | block, [INFO] [stdout] 109 | | encoded: p2p_encoded, [INFO] [stdout] 110 | | score_changes: ScoreChanges::new(current_scores, last_scores.clone())?, [INFO] [stdout] 111 | | }) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/lib/p2p/consensus/block_manager.rs:219:26 [INFO] [stdout] | [INFO] [stdout] 217 | let path = self.get_share_path(share.encoded.height); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 218 | [INFO] [stdout] 219 | fs::write(path, &bincode::serialize(&share.block).unwrap()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/lib/p2p/consensus/block_manager.rs:228:15 [INFO] [stdout] | [INFO] [stdout] 223 | let path = self.get_share_path(height); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 228 | match bincode::deserialize(&bytes) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/lib/coins/coin.rs:44:30 [INFO] [stdout] | [INFO] [stdout] 35 | fn main_pool_config(data_dir: Box) -> ProtocolServerConfig> { [INFO] [stdout] | ------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 44 | protocol_config: ConfigP2P { [INFO] [stdout] | ______________________________^ [INFO] [stdout] 45 | | consensus: Self::main_pool_consensus_config(), [INFO] [stdout] 46 | | max_peer_connections: 16, [INFO] [stdout] 47 | | rpc_url: format!("http://127.0.0.1:{}", Self::DEFAULT_DAEMON_PORT), [INFO] [stdout] 48 | | data_dir, /* : Path::new(&format!("./data/{}", Self::NAME)).into() */ [INFO] [stdout] 49 | | listening_port: Self::DEFAULT_P2P_PORT, [INFO] [stdout] 50 | | }, [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/lib/p2p/networking/protocol.rs:307:13 [INFO] [stdout] | [INFO] [stdout] 307 | Stratum(SocketAddr), [INFO] [stdout] | ------- ^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `SubmittingContext` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 307 | Stratum(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/lib/p2p/networking/protocol.rs:308:9 [INFO] [stdout] | [INFO] [stdout] 308 | P2P(SocketAddr), [INFO] [stdout] | --- ^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `SubmittingContext` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 308 | P2P(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `pools_dir` is never read [INFO] [stdout] --> src/lib/p2p/networking/pool_manager.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct PoolManager { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] 4 | pools_dir: Box, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/lib/server.rs:121:26 [INFO] [stdout] | [INFO] [stdout] 75 | pub fn new(conf: ServerConfig, protocol: Arc

) -> Server

{ [INFO] [stdout] | ---------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 76 | let mut listener = TcpListener::bind(conf.address).unwrap(); [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 77 | let poll = Poll::new().unwrap(); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 85 | let (tx, rx) = flume::unbounded(); [INFO] [stdout] | -- -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 121 | connections: Slab::with_capacity(INITIAL_CLIENTS_CAPACITY), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/lib/stratum/client.rs:27:31 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn new(notifier: Notifier, id: u32, address: SocketAddr) -> StratumClient { [INFO] [stdout] | ------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 27 | submitted_shares: DuplicateHashChecker::default(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/lib/stratum/stratum_v1.rs:367:33 [INFO] [stdout] | [INFO] [stdout] 356 | fn new(conf: Self::Config) -> Self { [INFO] [stdout] | ------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 357 | // let p = .clone(); [INFO] [stdout] 358 | let (stratum_conf, p2p) = conf; [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 359 | let daemon_cli = <::Fetcher as BlockFetcher>::new( [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 367 | subscribed_clients: Mutex::new(Slab::new()), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/lib/stratum/stratum_v1.rs:369:22 [INFO] [stdout] | [INFO] [stdout] 356 | fn new(conf: Self::Config) -> Self { [INFO] [stdout] | ------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 357 | // let p = .clone(); [INFO] [stdout] 358 | let (stratum_conf, p2p) = conf; [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 359 | let daemon_cli = <::Fetcher as BlockFetcher>::new( [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 369 | handler: CompleteStratumHandler { p2p }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/lib/stratum/stratum_v1.rs:380:15 [INFO] [stdout] | [INFO] [stdout] 377 | ctx: Arc>, [INFO] [stdout] | ------------------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 380 | match Self::parse_stratum_req(req.0, req.1) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/lib/stratum/stratum_v1.rs:395:14 [INFO] [stdout] | [INFO] [stdout] 392 | fn create_client(&self, addr: SocketAddr, notifier: Notifier) -> Option { [INFO] [stdout] | ------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 395 | Some(StratumClient::new(notifier, id, addr)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/lib/stratum/server.rs:40:21 [INFO] [stdout] | [INFO] [stdout] 24 | pub fn new(conf: ProtocolServerConfig, p2p: Arc>) -> Self { [INFO] [stdout] | ------------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 25 | let job_poll_interval = conf.protocol_config.job_poll_interval_ms; [INFO] [stdout] 26 | let protocol = Arc::new(T::new((conf.protocol_config, p2p))); [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 29 | let protocol_poll_cp = protocol.clone(); [INFO] [stdout] | ---------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 40 | server: Server::new(conf.server_config, protocol), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/lib/protocol.rs:59:20 [INFO] [stdout] | [INFO] [stdout] 58 | fn new(conf: Self::Config) -> Self { [INFO] [stdout] | ------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 59 | Self { up: UP::new(conf) } [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/lib/p2p/networking/protocol.rs:72:27 [INFO] [stdout] | [INFO] [stdout] 59 | fn new(conf: Self::Config) -> Self { [INFO] [stdout] | ------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 60 | let daemon_cli = C::Fetcher::new(conf.rpc_url.as_ref()).unwrap(); [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 63 | let genesis_share = ShareP2P { [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 72 | pplns_window: Mutex::new(WindowPPLNS::new(genesis_share.clone())), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/lib/p2p/networking/protocol.rs:73:28 [INFO] [stdout] | [INFO] [stdout] 59 | fn new(conf: Self::Config) -> Self { [INFO] [stdout] | ------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 60 | let daemon_cli = C::Fetcher::new(conf.rpc_url.as_ref()).unwrap(); [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 63 | let genesis_share = ShareP2P { [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 73 | hello_message: Messages::Hello(Hello::new(conf.listening_port, &conf.consensus)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/lib/p2p/networking/protocol.rs:79:28 [INFO] [stdout] | [INFO] [stdout] 59 | fn new(conf: Self::Config) -> Self { [INFO] [stdout] | ------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 60 | let daemon_cli = C::Fetcher::new(conf.rpc_url.as_ref()).unwrap(); [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 63 | let genesis_share = ShareP2P { [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 79 | block_manager: BlockManager::new(genesis_share, conf.data_dir.clone()), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/lib/p2p/networking/protocol.rs:80:20 [INFO] [stdout] | [INFO] [stdout] 59 | fn new(conf: Self::Config) -> Self { [INFO] [stdout] | ------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 60 | let daemon_cli = C::Fetcher::new(conf.rpc_url.as_ref()).unwrap(); [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 63 | let genesis_share = ShareP2P { [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 80 | peers: Mutex::new(HashMap::new()), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/lib/p2p/networking/protocol.rs:81:27 [INFO] [stdout] | [INFO] [stdout] 59 | fn new(conf: Self::Config) -> Self { [INFO] [stdout] | ------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 60 | let daemon_cli = C::Fetcher::new(conf.rpc_url.as_ref()).unwrap(); [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 63 | let genesis_share = ShareP2P { [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 81 | peer_manager: PeerManager::new(conf.data_dir.clone()), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/lib/p2p/networking/protocol.rs:93:34 [INFO] [stdout] | [INFO] [stdout] 90 | ctx: Arc>, [INFO] [stdout] | ------------------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 93 | Self::serialize_message(&match Self::parse_request(&req) { [INFO] [stdout] | __________________________________^ [INFO] [stdout] 94 | | Ok(message) => match self.process_message(ctx, message) { [INFO] [stdout] 95 | | Some(k) => { [INFO] [stdout] 96 | | info!("Responded with message: {:?}", &k); [INFO] [stdout] ... | [INFO] [stdout] 104 | | } [INFO] [stdout] 105 | | }) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/lib/p2p/networking/protocol.rs:171:24 [INFO] [stdout] | [INFO] [stdout] 147 | data_dir: Box, [INFO] [stdout] | ------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 153 | let daemon_cli = C::Fetcher::new(rpc_url.as_ref()).unwrap(); [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 154 | [INFO] [stdout] 155 | let rewards: [(<::BlockT as Block>::Script, u64); 1] = [( [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 162 | let block = daemon_cli [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 171 | consensus: ConsensusConfigP2P { [INFO] [stdout] | ________________________^ [INFO] [stdout] 172 | | name: pool_name, [INFO] [stdout] 173 | | parent_pool_hash: U256::ZERO, [INFO] [stdout] 174 | | block_time_ms, [INFO] [stdout] ... | [INFO] [stdout] 180 | | default_port_stratum: 0, [INFO] [stdout] 181 | | }, [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/lib/p2p/networking/peer_manager.rs:26:12 [INFO] [stdout] | [INFO] [stdout] 25 | let path = self.get_peer_path(addr); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 26 | Ok(serde_json::from_slice(&fs::read(&path)?) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 22 previous errors; 26 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/lib/p2p/networking/pplns.rs:62:12 [INFO] [stdout] | [INFO] [stdout] 27 | current_scores: Vec<(A::FromScript, u64)>, [INFO] [stdout] | ----------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 28 | mut last_scores: HashMap, [INFO] [stdout] | -------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 29 | ) -> Result, EncodeErrorP2P> { [INFO] [stdout] 30 | let mut removed = Vec::new(); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 31 | let mut added = Vec::new(); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 62 | Ok(ScoreChanges { added, removed }) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/lib/p2p/consensus/block_manager.rs:69:22 [INFO] [stdout] | [INFO] [stdout] 49 | pub fn new(genesis: ShareP2P, data_dir: Box) -> Self { [INFO] [stdout] | -------------------- ------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 56 | let blocks_dir = data_dir.into_boxed_path(); [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 69 | p2p_tip: Mutex::new(ProcessedShare { [INFO] [stdout] | ______________________^ [INFO] [stdout] 70 | | inner: genesis, [INFO] [stdout] 71 | | hash, [INFO] [stdout] 72 | | // doesnt matter [INFO] [stdout] 73 | | score: 0, [INFO] [stdout] 74 | | }), [INFO] [stdout] | |______________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/lib/p2p/consensus/block_manager.rs:107:12 [INFO] [stdout] | [INFO] [stdout] 101 | block: C::BlockT, [INFO] [stdout] | ---------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 104 | let current_scores = Self::get_scores(&block); [INFO] [stdout] | -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 107 | Ok(ShareP2P { [INFO] [stdout] | ____________^ [INFO] [stdout] 108 | | block, [INFO] [stdout] 109 | | encoded: p2p_encoded, [INFO] [stdout] 110 | | score_changes: ScoreChanges::new(current_scores, last_scores.clone())?, [INFO] [stdout] 111 | | }) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/lib/p2p/consensus/block_manager.rs:219:26 [INFO] [stdout] | [INFO] [stdout] 217 | let path = self.get_share_path(share.encoded.height); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 218 | [INFO] [stdout] 219 | fs::write(path, &bincode::serialize(&share.block).unwrap()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/lib/p2p/consensus/block_manager.rs:228:15 [INFO] [stdout] | [INFO] [stdout] 223 | let path = self.get_share_path(height); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 228 | match bincode::deserialize(&bytes) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/lib/coins/coin.rs:44:30 [INFO] [stdout] | [INFO] [stdout] 35 | fn main_pool_config(data_dir: Box) -> ProtocolServerConfig> { [INFO] [stdout] | ------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 44 | protocol_config: ConfigP2P { [INFO] [stdout] | ______________________________^ [INFO] [stdout] 45 | | consensus: Self::main_pool_consensus_config(), [INFO] [stdout] 46 | | max_peer_connections: 16, [INFO] [stdout] 47 | | rpc_url: format!("http://127.0.0.1:{}", Self::DEFAULT_DAEMON_PORT), [INFO] [stdout] 48 | | data_dir, /* : Path::new(&format!("./data/{}", Self::NAME)).into() */ [INFO] [stdout] 49 | | listening_port: Self::DEFAULT_P2P_PORT, [INFO] [stdout] 50 | | }, [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `sickpool2` (lib) due to 23 previous errors; 26 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 22 previous errors; 29 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `sickpool2` (lib test) due to 23 previous errors; 29 warnings emitted [INFO] running `Command { std: "docker" "inspect" "9aa7eb4135ee67d3888f02f4d520a91b5205b74f73937b8d8e0f99e24c3f2188", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9aa7eb4135ee67d3888f02f4d520a91b5205b74f73937b8d8e0f99e24c3f2188", kill_on_drop: false }` [INFO] [stdout] 9aa7eb4135ee67d3888f02f4d520a91b5205b74f73937b8d8e0f99e24c3f2188