[INFO] cloning repository https://github.com/rootHytx/bloccChainz [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/rootHytx/bloccChainz" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FrootHytx%2FbloccChainz", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FrootHytx%2FbloccChainz'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 5e3288bb3238f852987e8d0a22cbfd384af33311 [INFO] checking rootHytx/bloccChainz against master#1f12b9b0fdbe735968ac002792a720f0ba4faca6 for crater-rollup-uwu [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FrootHytx%2FbloccChainz" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/rootHytx/bloccChainz on toolchain 1f12b9b0fdbe735968ac002792a720f0ba4faca6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/rootHytx/bloccChainz [INFO] finished tweaking git repo https://github.com/rootHytx/bloccChainz [INFO] tweaked toml for git repo https://github.com/rootHytx/bloccChainz written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/rootHytx/bloccChainz 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" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded crypto-common v0.2.0-pre.5 [INFO] [stderr] Downloaded digest v0.11.0-pre.8 [INFO] [stderr] Downloaded block-buffer v0.11.0-pre.5 [INFO] [stderr] Downloaded hybrid-array v0.2.0-rc.8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/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" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 33648b9fc6b138a9e27cf2935af396a769caacda7f6733a65122d6c2b8c92dc0 [INFO] running `Command { std: "docker" "start" "-a" "33648b9fc6b138a9e27cf2935af396a769caacda7f6733a65122d6c2b8c92dc0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "33648b9fc6b138a9e27cf2935af396a769caacda7f6733a65122d6c2b8c92dc0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "33648b9fc6b138a9e27cf2935af396a769caacda7f6733a65122d6c2b8c92dc0", kill_on_drop: false }` [INFO] [stdout] 33648b9fc6b138a9e27cf2935af396a769caacda7f6733a65122d6c2b8c92dc0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "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" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 75005aa2f96615bf759a2501eeec8d5c6fb9e045d475d23203ed021165c3df12 [INFO] running `Command { std: "docker" "start" "-a" "75005aa2f96615bf759a2501eeec8d5c6fb9e045d475d23203ed021165c3df12", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.80 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Checking pin-project-lite v0.2.14 [INFO] [stderr] Checking bytes v1.6.0 [INFO] [stderr] Compiling either v1.11.0 [INFO] [stderr] Checking futures-core v0.3.30 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Compiling autocfg v1.2.0 [INFO] [stderr] Compiling anyhow v1.0.82 [INFO] [stderr] Checking once_cell v1.19.0 [INFO] [stderr] Compiling itertools v0.12.1 [INFO] [stderr] Compiling rustversion v1.0.15 [INFO] [stderr] Checking tracing-core v0.1.32 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Checking itoa v1.0.11 [INFO] [stderr] Checking futures-task v0.3.30 [INFO] [stderr] Checking http v0.2.12 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling syn v2.0.59 [INFO] [stderr] Checking socket2 v0.5.6 [INFO] [stderr] Checking mio v0.8.11 [INFO] [stderr] Checking signal-hook-registry v1.4.2 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking getrandom v0.2.14 [INFO] [stderr] Checking ppv-lite86 v0.2.17 [INFO] [stderr] Compiling rustix v0.38.32 [INFO] [stderr] Checking futures-sink v0.3.30 [INFO] [stderr] Compiling equivalent v1.0.1 [INFO] [stderr] Compiling cc v1.0.94 [INFO] [stderr] Compiling httparse v1.8.0 [INFO] [stderr] Compiling hashbrown v0.14.3 [INFO] [stderr] Checking tower-service v0.3.2 [INFO] [stderr] Compiling regex-syntax v0.8.3 [INFO] [stderr] Compiling prettyplease v0.2.19 [INFO] [stderr] Compiling bitflags v2.5.0 [INFO] [stderr] Compiling linux-raw-sys v0.4.13 [INFO] [stderr] Compiling indexmap v2.2.6 [INFO] [stderr] Compiling openssl-src v300.2.3+3.2.1 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking http-body v0.4.6 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling vcpkg v0.2.15 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling fixedbitset v0.4.2 [INFO] [stderr] Compiling pkg-config v0.3.30 [INFO] [stderr] Compiling serde v1.0.197 [INFO] [stderr] Compiling fastrand v2.0.2 [INFO] [stderr] Compiling zerocopy v0.8.0-alpha.6 [INFO] [stderr] Compiling regex-automata v0.4.6 [INFO] [stderr] Checking try-lock v0.2.5 [INFO] [stderr] Checking want v0.3.1 [INFO] [stderr] Compiling petgraph v0.6.4 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Compiling openssl-sys v0.9.102 [INFO] [stderr] Compiling axum-core v0.3.4 [INFO] [stderr] Checking futures-channel v0.3.30 [INFO] [stderr] Checking hashbrown v0.12.3 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Compiling log v0.4.21 [INFO] [stderr] Checking httpdate v1.0.3 [INFO] [stderr] Compiling tempfile v3.10.1 [INFO] [stderr] Checking tower-layer v0.3.2 [INFO] [stderr] Compiling multimap v0.10.0 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Compiling regex v1.10.4 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Compiling axum v0.6.20 [INFO] [stderr] Checking hybrid-array v0.2.0-rc.8 [INFO] [stderr] Checking mime v0.3.17 [INFO] [stderr] Compiling thiserror v1.0.61 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Compiling openssl v0.10.64 [INFO] [stderr] Checking rand_core v0.9.0-alpha.1 [INFO] [stderr] Checking sync_wrapper v0.1.2 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Checking foreign-types-shared v0.1.1 [INFO] [stderr] Checking cpufeatures v0.2.12 [INFO] [stderr] Checking memchr v2.7.2 [INFO] [stderr] Checking crypto-common v0.2.0-pre.5 [INFO] [stderr] Checking percent-encoding v2.3.1 [INFO] [stderr] Checking matchit v0.7.3 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Checking sha2 v0.10.8 [INFO] [stderr] Checking foreign-types v0.3.2 [INFO] [stderr] Checking rand_chacha v0.9.0-alpha.1 [INFO] [stderr] Checking base64 v0.21.7 [INFO] [stderr] Checking hex v0.4.3 [INFO] [stderr] Checking rand v0.9.0-alpha.1 [INFO] [stderr] Compiling tokio-macros v2.2.0 [INFO] [stderr] Compiling prost-derive v0.12.4 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling async-trait v0.1.80 [INFO] [stderr] Compiling serde_derive v1.0.197 [INFO] [stderr] Checking tokio v1.37.0 [INFO] [stderr] Compiling pin-project-internal v1.1.5 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Compiling thiserror-impl v1.0.61 [INFO] [stderr] Compiling prost v0.12.4 [INFO] [stderr] Compiling prost-types v0.12.4 [INFO] [stderr] Checking pin-project v1.1.5 [INFO] [stderr] Compiling async-stream-impl v0.3.5 [INFO] [stderr] Checking async-stream v0.3.5 [INFO] [stderr] Checking block-buffer v0.11.0-pre.5 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Checking digest v0.11.0-pre.8 [INFO] [stderr] Compiling prost-build v0.12.4 [INFO] [stderr] Compiling tonic-build v0.11.0 [INFO] [stderr] Checking tokio-util v0.7.10 [INFO] [stderr] Checking tokio-io-timeout v1.2.0 [INFO] [stderr] Checking tokio-stream v0.1.15 [INFO] [stderr] Checking sha256 v1.5.0 [INFO] [stderr] Compiling ssd v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Checking h2 v0.3.26 [INFO] [stderr] Checking tower v0.4.13 [INFO] [stderr] Compiling neli-proc-macros v0.1.3 [INFO] [stderr] Checking hyper v0.14.28 [INFO] [stderr] Checking neli v0.6.4 [INFO] [stderr] Checking local-ip-address v0.6.1 [INFO] [stderr] Checking hyper-timeout v0.4.1 [INFO] [stderr] Checking tonic v0.11.0 [INFO] [stdout] warning: unused import: `endpoint::*` [INFO] [stdout] --> src/auto_client.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use endpoint::*; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `util::*` [INFO] [stdout] --> src/auto_client.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use util::*; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rand::Rng` [INFO] [stdout] --> src/auto_client.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use rand::Rng; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `requests::*` [INFO] [stdout] --> src/auto_client.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use requests::*; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::error::Error` [INFO] [stdout] --> src/auto_client.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::error::Error; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fmt::format` [INFO] [stdout] --> src/auto_client.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::fmt::format; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `core::net::SocketAddr` [INFO] [stdout] --> src/auto_client.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use core::net::SocketAddr; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tokio::task` [INFO] [stdout] --> src/auto_client.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use tokio::task; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Response` and `Status` [INFO] [stdout] --> src/auto_client.rs:12:13 [INFO] [stdout] | [INFO] [stdout] 12 | use tonic::{Response, Status}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Endpoint` and `Server` [INFO] [stdout] --> src/auto_client.rs:13:24 [INFO] [stdout] | [INFO] [stdout] 13 | use tonic::transport::{Endpoint, Server}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `node::*` [INFO] [stdout] --> src/auto_client.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use node::*; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `proto::miner_server::*` [INFO] [stdout] --> src/auto_client.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use proto::miner_server::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BucketNode`, `JoinResponse`, `KBucket`, `NodeInfo`, and `Node` [INFO] [stdout] --> src/auto_client.rs:16:20 [INFO] [stdout] | [INFO] [stdout] 16 | use crate::proto::{NodeInfo, BucketNode, KBucket, Node, JoinResponse}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^^ ^^^^^^^ ^^^^ ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::signatures::*` [INFO] [stdout] --> src/auto_client.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | use crate::signatures::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `blockchain::*` [INFO] [stdout] --> src/auto_client.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | use blockchain::*; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `prost::Message` [INFO] [stdout] --> src/endpoint.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use prost::Message; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `update_request` [INFO] [stdout] --> src/endpoint.rs:6:116 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::requests::{find_node, mine_request, neighbours_request, transaction_request, update_blockchain_request, update_request}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::error::Error` [INFO] [stdout] --> src/node.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::error::Error; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `AsFd` and `AsRawFd` [INFO] [stdout] --> src/node.rs:4:19 [INFO] [stdout] | [INFO] [stdout] 4 | use std::os::fd::{AsFd, AsRawFd}; [INFO] [stdout] | ^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tokio::net::TcpSocket` [INFO] [stdout] --> src/node.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use tokio::net::TcpSocket; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `proto::miner_server::*` [INFO] [stdout] --> src/server.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use proto::miner_server::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::signatures::*` [INFO] [stdout] --> src/server.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::signatures::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `blockchain::*` [INFO] [stdout] --> src/server.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use blockchain::*; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `prost::Message` [INFO] [stdout] --> src/endpoint.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use prost::Message; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `update_request` [INFO] [stdout] --> src/endpoint.rs:6:116 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::requests::{find_node, mine_request, neighbours_request, transaction_request, update_blockchain_request, update_request}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::error::Error` [INFO] [stdout] --> src/node.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::error::Error; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `AsFd` and `AsRawFd` [INFO] [stdout] --> src/node.rs:4:19 [INFO] [stdout] | [INFO] [stdout] 4 | use std::os::fd::{AsFd, AsRawFd}; [INFO] [stdout] | ^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tokio::net::TcpSocket` [INFO] [stdout] --> src/node.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use tokio::net::TcpSocket; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `RetrieveBlockchainResponse` [INFO] [stdout] --> src/requests.rs:5:88 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::proto::{NeighboursRequest, Node, NodeInfo, UpdateRequest, Signature, Block, RetrieveBlockchainResponse, RetrieveBlockchainRequ... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fmt::format` [INFO] [stdout] --> src/signatures.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::fmt::format; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fmt::format` [INFO] [stdout] --> src/blockchain.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::fmt::format; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::net::SocketAddr` [INFO] [stdout] --> src/blockchain.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::net::SocketAddr; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::proto::endpoint_server::Endpoint` [INFO] [stdout] --> src/blockchain.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::proto::endpoint_server::Endpoint; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `find_node` and `update_request` [INFO] [stdout] --> src/blockchain.rs:6:23 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::requests::{find_node, update_request}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::signatures::*` [INFO] [stdout] --> src/blockchain.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::signatures::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::endpoint::*` [INFO] [stdout] --> src/blockchain.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use crate::endpoint::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Id`, `Private`, and `Public` [INFO] [stdout] --> src/signatures.rs:3:27 [INFO] [stdout] | [INFO] [stdout] 3 | use openssl::pkey::{PKey, Private, Public, Id}; [INFO] [stdout] | ^^^^^^^ ^^^^^^ ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `TrySha256Digest` and `digest` [INFO] [stdout] --> src/signatures.rs:6:14 [INFO] [stdout] | [INFO] [stdout] 6 | use sha256::{digest, TrySha256Digest}; [INFO] [stdout] | ^^^^^^ ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `MineRequest` and `MineResponse` [INFO] [stdout] --> src/signatures.rs:8:89 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::proto::{Block, FindNodeRequest, FindNodeResponse, JoinRequest, JoinResponse, MineRequest, MineResponse, NeighboursRequest, Nei... [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fmt::format` [INFO] [stdout] --> src/blockchain.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::fmt::format; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::net::SocketAddr` [INFO] [stdout] --> src/blockchain.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::net::SocketAddr; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::proto::endpoint_server::Endpoint` [INFO] [stdout] --> src/blockchain.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::proto::endpoint_server::Endpoint; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `find_node` and `update_request` [INFO] [stdout] --> src/blockchain.rs:6:23 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::requests::{find_node, update_request}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::signatures::*` [INFO] [stdout] --> src/blockchain.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::signatures::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::endpoint::*` [INFO] [stdout] --> src/blockchain.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use crate::endpoint::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `NodeInfo`, `Node`, `RetrieveBlockchainRequest`, `RetrieveBlockchainResponse`, `Signature`, `TransactionRequest`, and `TransactionResponse` [INFO] [stdout] --> src/blockchain.rs:11:83 [INFO] [stdout] | [INFO] [stdout] 11 | ...onse, Node, NodeInfo, RetrieveBlockchainRequest, RetrieveBlockchainResponse, Signature, TransactionRequest, TransactionResponse}; [INFO] [stdout] | ^^^^ ^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Ipv4Addr` [INFO] [stdout] --> src/nodes_init.rs:1:16 [INFO] [stdout] | [INFO] [stdout] 1 | use std::net::{Ipv4Addr, SocketAddr}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `NodeInfo`, `Node`, `RetrieveBlockchainRequest`, `RetrieveBlockchainResponse`, `Signature`, `TransactionRequest`, and `TransactionResponse` [INFO] [stdout] --> src/blockchain.rs:11:83 [INFO] [stdout] | [INFO] [stdout] 11 | ...onse, Node, NodeInfo, RetrieveBlockchainRequest, RetrieveBlockchainResponse, Signature, TransactionRequest, TransactionResponse}; [INFO] [stdout] | ^^^^ ^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `RetrieveBlockchainResponse` [INFO] [stdout] --> src/requests.rs:5:88 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::proto::{NeighboursRequest, Node, NodeInfo, UpdateRequest, Signature, Block, RetrieveBlockchainResponse, RetrieveBlockchainRequ... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fmt::format` [INFO] [stdout] --> src/signatures.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::fmt::format; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Id`, `Private`, and `Public` [INFO] [stdout] --> src/signatures.rs:3:27 [INFO] [stdout] | [INFO] [stdout] 3 | use openssl::pkey::{PKey, Private, Public, Id}; [INFO] [stdout] | ^^^^^^^ ^^^^^^ ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `TrySha256Digest` and `digest` [INFO] [stdout] --> src/signatures.rs:6:14 [INFO] [stdout] | [INFO] [stdout] 6 | use sha256::{digest, TrySha256Digest}; [INFO] [stdout] | ^^^^^^ ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `MineRequest` and `MineResponse` [INFO] [stdout] --> src/signatures.rs:8:89 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::proto::{Block, FindNodeRequest, FindNodeResponse, JoinRequest, JoinResponse, MineRequest, MineResponse, NeighboursRequest, Nei... [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Ipv4Addr` [INFO] [stdout] --> src/nodes_init.rs:1:16 [INFO] [stdout] | [INFO] [stdout] 1 | use std::net::{Ipv4Addr, SocketAddr}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `endpoint::*` [INFO] [stdout] --> src/single_client.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use endpoint::*; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rand::Rng` [INFO] [stdout] --> src/single_client.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use rand::Rng; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::error::Error` [INFO] [stdout] --> src/single_client.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::error::Error; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fmt::format` [INFO] [stdout] --> src/single_client.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::fmt::format; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `core::net::SocketAddr` [INFO] [stdout] --> src/single_client.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use core::net::SocketAddr; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tokio::task` [INFO] [stdout] --> src/single_client.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use tokio::task; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Response` and `Status` [INFO] [stdout] --> src/single_client.rs:12:13 [INFO] [stdout] | [INFO] [stdout] 12 | use tonic::{Response, Status}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Endpoint` and `Server` [INFO] [stdout] --> src/single_client.rs:13:24 [INFO] [stdout] | [INFO] [stdout] 13 | use tonic::transport::{Endpoint, Server}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `node::*` [INFO] [stdout] --> src/single_client.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use node::*; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `proto::miner_server::*` [INFO] [stdout] --> src/single_client.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use proto::miner_server::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BucketNode`, `JoinResponse`, `KBucket`, `NodeInfo`, and `Node` [INFO] [stdout] --> src/single_client.rs:16:20 [INFO] [stdout] | [INFO] [stdout] 16 | use crate::proto::{NodeInfo, BucketNode, KBucket, Node, JoinResponse}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^^ ^^^^^^^ ^^^^ ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::signatures::*` [INFO] [stdout] --> src/single_client.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | use crate::signatures::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `blockchain::*` [INFO] [stdout] --> src/single_client.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | use blockchain::*; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `prost::Message` [INFO] [stdout] --> src/endpoint.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use prost::Message; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `update_request` [INFO] [stdout] --> src/endpoint.rs:6:116 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::requests::{find_node, mine_request, neighbours_request, transaction_request, update_blockchain_request, update_request}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::error::Error` [INFO] [stdout] --> src/node.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::error::Error; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `AsFd` and `AsRawFd` [INFO] [stdout] --> src/node.rs:4:19 [INFO] [stdout] | [INFO] [stdout] 4 | use std::os::fd::{AsFd, AsRawFd}; [INFO] [stdout] | ^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tokio::net::TcpSocket` [INFO] [stdout] --> src/node.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use tokio::net::TcpSocket; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `endpoint::*` [INFO] [stdout] --> src/auto_client.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use endpoint::*; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `util::*` [INFO] [stdout] --> src/auto_client.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use util::*; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rand::Rng` [INFO] [stdout] --> src/auto_client.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use rand::Rng; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `requests::*` [INFO] [stdout] --> src/auto_client.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use requests::*; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fmt::format` [INFO] [stdout] --> src/blockchain.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::fmt::format; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::net::SocketAddr` [INFO] [stdout] --> src/blockchain.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::net::SocketAddr; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::proto::endpoint_server::Endpoint` [INFO] [stdout] --> src/blockchain.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::proto::endpoint_server::Endpoint; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `find_node` and `update_request` [INFO] [stdout] --> src/blockchain.rs:6:23 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::requests::{find_node, update_request}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::signatures::*` [INFO] [stdout] --> src/blockchain.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::signatures::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::endpoint::*` [INFO] [stdout] --> src/blockchain.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use crate::endpoint::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `NodeInfo`, `Node`, `RetrieveBlockchainRequest`, `RetrieveBlockchainResponse`, `Signature`, `TransactionRequest`, and `TransactionResponse` [INFO] [stdout] --> src/blockchain.rs:11:83 [INFO] [stdout] | [INFO] [stdout] 11 | ...onse, Node, NodeInfo, RetrieveBlockchainRequest, RetrieveBlockchainResponse, Signature, TransactionRequest, TransactionResponse}; [INFO] [stdout] | ^^^^ ^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `RetrieveBlockchainResponse` [INFO] [stdout] --> src/requests.rs:5:88 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::proto::{NeighboursRequest, Node, NodeInfo, UpdateRequest, Signature, Block, RetrieveBlockchainResponse, RetrieveBlockchainRequ... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fmt::format` [INFO] [stdout] --> src/signatures.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::fmt::format; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Id`, `Private`, and `Public` [INFO] [stdout] --> src/signatures.rs:3:27 [INFO] [stdout] | [INFO] [stdout] 3 | use openssl::pkey::{PKey, Private, Public, Id}; [INFO] [stdout] | ^^^^^^^ ^^^^^^ ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `TrySha256Digest` and `digest` [INFO] [stdout] --> src/signatures.rs:6:14 [INFO] [stdout] | [INFO] [stdout] 6 | use sha256::{digest, TrySha256Digest}; [INFO] [stdout] | ^^^^^^ ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `MineRequest` and `MineResponse` [INFO] [stdout] --> src/signatures.rs:8:89 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::proto::{Block, FindNodeRequest, FindNodeResponse, JoinRequest, JoinResponse, MineRequest, MineResponse, NeighboursRequest, Nei... [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Ipv4Addr` [INFO] [stdout] --> src/nodes_init.rs:1:16 [INFO] [stdout] | [INFO] [stdout] 1 | use std::net::{Ipv4Addr, SocketAddr}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::error::Error` [INFO] [stdout] --> src/auto_client.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::error::Error; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fmt::format` [INFO] [stdout] --> src/auto_client.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::fmt::format; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `core::net::SocketAddr` [INFO] [stdout] --> src/auto_client.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use core::net::SocketAddr; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tokio::task` [INFO] [stdout] --> src/auto_client.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use tokio::task; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Response` and `Status` [INFO] [stdout] --> src/auto_client.rs:12:13 [INFO] [stdout] | [INFO] [stdout] 12 | use tonic::{Response, Status}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Endpoint` and `Server` [INFO] [stdout] --> src/auto_client.rs:13:24 [INFO] [stdout] | [INFO] [stdout] 13 | use tonic::transport::{Endpoint, Server}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `node::*` [INFO] [stdout] --> src/auto_client.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use node::*; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `proto::miner_server::*` [INFO] [stdout] --> src/auto_client.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use proto::miner_server::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BucketNode`, `JoinResponse`, `KBucket`, `NodeInfo`, and `Node` [INFO] [stdout] --> src/auto_client.rs:16:20 [INFO] [stdout] | [INFO] [stdout] 16 | use crate::proto::{NodeInfo, BucketNode, KBucket, Node, JoinResponse}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^^ ^^^^^^^ ^^^^ ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::signatures::*` [INFO] [stdout] --> src/auto_client.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | use crate::signatures::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `blockchain::*` [INFO] [stdout] --> src/auto_client.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | use blockchain::*; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `prost::Message` [INFO] [stdout] --> src/endpoint.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use prost::Message; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `update_request` [INFO] [stdout] --> src/endpoint.rs:6:116 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::requests::{find_node, mine_request, neighbours_request, transaction_request, update_blockchain_request, update_request}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::error::Error` [INFO] [stdout] --> src/node.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::error::Error; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `AsFd` and `AsRawFd` [INFO] [stdout] --> src/node.rs:4:19 [INFO] [stdout] | [INFO] [stdout] 4 | use std::os::fd::{AsFd, AsRawFd}; [INFO] [stdout] | ^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tokio::net::TcpSocket` [INFO] [stdout] --> src/node.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use tokio::net::TcpSocket; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `endpoint::*` [INFO] [stdout] --> src/single_client.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use endpoint::*; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rand::Rng` [INFO] [stdout] --> src/single_client.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use rand::Rng; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::error::Error` [INFO] [stdout] --> src/single_client.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::error::Error; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fmt::format` [INFO] [stdout] --> src/single_client.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::fmt::format; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `core::net::SocketAddr` [INFO] [stdout] --> src/single_client.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use core::net::SocketAddr; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tokio::task` [INFO] [stdout] --> src/single_client.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use tokio::task; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Response` and `Status` [INFO] [stdout] --> src/single_client.rs:12:13 [INFO] [stdout] | [INFO] [stdout] 12 | use tonic::{Response, Status}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Endpoint` and `Server` [INFO] [stdout] --> src/single_client.rs:13:24 [INFO] [stdout] | [INFO] [stdout] 13 | use tonic::transport::{Endpoint, Server}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `node::*` [INFO] [stdout] --> src/single_client.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use node::*; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `proto::miner_server::*` [INFO] [stdout] --> src/single_client.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use proto::miner_server::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BucketNode`, `JoinResponse`, `KBucket`, `NodeInfo`, and `Node` [INFO] [stdout] --> src/single_client.rs:16:20 [INFO] [stdout] | [INFO] [stdout] 16 | use crate::proto::{NodeInfo, BucketNode, KBucket, Node, JoinResponse}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^^ ^^^^^^^ ^^^^ ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::signatures::*` [INFO] [stdout] --> src/single_client.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | use crate::signatures::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `blockchain::*` [INFO] [stdout] --> src/single_client.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | use blockchain::*; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `prost::Message` [INFO] [stdout] --> src/endpoint.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use prost::Message; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `update_request` [INFO] [stdout] --> src/endpoint.rs:6:116 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::requests::{find_node, mine_request, neighbours_request, transaction_request, update_blockchain_request, update_request}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::error::Error` [INFO] [stdout] --> src/node.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::error::Error; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `AsFd` and `AsRawFd` [INFO] [stdout] --> src/node.rs:4:19 [INFO] [stdout] | [INFO] [stdout] 4 | use std::os::fd::{AsFd, AsRawFd}; [INFO] [stdout] | ^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tokio::net::TcpSocket` [INFO] [stdout] --> src/node.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use tokio::net::TcpSocket; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fmt::format` [INFO] [stdout] --> src/blockchain.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::fmt::format; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::net::SocketAddr` [INFO] [stdout] --> src/blockchain.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::net::SocketAddr; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::proto::endpoint_server::Endpoint` [INFO] [stdout] --> src/blockchain.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::proto::endpoint_server::Endpoint; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `find_node` and `update_request` [INFO] [stdout] --> src/blockchain.rs:6:23 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::requests::{find_node, update_request}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::signatures::*` [INFO] [stdout] --> src/blockchain.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::signatures::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::endpoint::*` [INFO] [stdout] --> src/blockchain.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use crate::endpoint::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `NodeInfo`, `Node`, `RetrieveBlockchainRequest`, `RetrieveBlockchainResponse`, `Signature`, `TransactionRequest`, and `TransactionResponse` [INFO] [stdout] --> src/blockchain.rs:11:83 [INFO] [stdout] | [INFO] [stdout] 11 | ...onse, Node, NodeInfo, RetrieveBlockchainRequest, RetrieveBlockchainResponse, Signature, TransactionRequest, TransactionResponse}; [INFO] [stdout] | ^^^^ ^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `RetrieveBlockchainResponse` [INFO] [stdout] --> src/requests.rs:5:88 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::proto::{NeighboursRequest, Node, NodeInfo, UpdateRequest, Signature, Block, RetrieveBlockchainResponse, RetrieveBlockchainRequ... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fmt::format` [INFO] [stdout] --> src/signatures.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::fmt::format; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Id`, `Private`, and `Public` [INFO] [stdout] --> src/signatures.rs:3:27 [INFO] [stdout] | [INFO] [stdout] 3 | use openssl::pkey::{PKey, Private, Public, Id}; [INFO] [stdout] | ^^^^^^^ ^^^^^^ ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `TrySha256Digest` and `digest` [INFO] [stdout] --> src/signatures.rs:6:14 [INFO] [stdout] | [INFO] [stdout] 6 | use sha256::{digest, TrySha256Digest}; [INFO] [stdout] | ^^^^^^ ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `MineRequest` and `MineResponse` [INFO] [stdout] --> src/signatures.rs:8:89 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::proto::{Block, FindNodeRequest, FindNodeResponse, JoinRequest, JoinResponse, MineRequest, MineResponse, NeighboursRequest, Nei... [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Ipv4Addr` [INFO] [stdout] --> src/nodes_init.rs:1:16 [INFO] [stdout] | [INFO] [stdout] 1 | use std::net::{Ipv4Addr, SocketAddr}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fmt::format` [INFO] [stdout] --> src/blockchain.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::fmt::format; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::net::SocketAddr` [INFO] [stdout] --> src/blockchain.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::net::SocketAddr; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::proto::endpoint_server::Endpoint` [INFO] [stdout] --> src/blockchain.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::proto::endpoint_server::Endpoint; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `find_node` and `update_request` [INFO] [stdout] --> src/blockchain.rs:6:23 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::requests::{find_node, update_request}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::signatures::*` [INFO] [stdout] --> src/blockchain.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::signatures::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::endpoint::*` [INFO] [stdout] --> src/blockchain.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use crate::endpoint::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `NodeInfo`, `Node`, `RetrieveBlockchainRequest`, `RetrieveBlockchainResponse`, `Signature`, `TransactionRequest`, and `TransactionResponse` [INFO] [stdout] --> src/blockchain.rs:11:83 [INFO] [stdout] | [INFO] [stdout] 11 | ...onse, Node, NodeInfo, RetrieveBlockchainRequest, RetrieveBlockchainResponse, Signature, TransactionRequest, TransactionResponse}; [INFO] [stdout] | ^^^^ ^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `RetrieveBlockchainResponse` [INFO] [stdout] --> src/requests.rs:5:88 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::proto::{NeighboursRequest, Node, NodeInfo, UpdateRequest, Signature, Block, RetrieveBlockchainResponse, RetrieveBlockchainRequ... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fmt::format` [INFO] [stdout] --> src/signatures.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::fmt::format; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Id`, `Private`, and `Public` [INFO] [stdout] --> src/signatures.rs:3:27 [INFO] [stdout] | [INFO] [stdout] 3 | use openssl::pkey::{PKey, Private, Public, Id}; [INFO] [stdout] | ^^^^^^^ ^^^^^^ ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `TrySha256Digest` and `digest` [INFO] [stdout] --> src/signatures.rs:6:14 [INFO] [stdout] | [INFO] [stdout] 6 | use sha256::{digest, TrySha256Digest}; [INFO] [stdout] | ^^^^^^ ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `MineRequest` and `MineResponse` [INFO] [stdout] --> src/signatures.rs:8:89 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::proto::{Block, FindNodeRequest, FindNodeResponse, JoinRequest, JoinResponse, MineRequest, MineResponse, NeighboursRequest, Nei... [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Ipv4Addr` [INFO] [stdout] --> src/nodes_init.rs:1:16 [INFO] [stdout] | [INFO] [stdout] 1 | use std::net::{Ipv4Addr, SocketAddr}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `proto::miner_server::*` [INFO] [stdout] --> src/server.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use proto::miner_server::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::signatures::*` [INFO] [stdout] --> src/server.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::signatures::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `blockchain::*` [INFO] [stdout] --> src/server.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use blockchain::*; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `prost::Message` [INFO] [stdout] --> src/endpoint.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use prost::Message; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `update_request` [INFO] [stdout] --> src/endpoint.rs:6:116 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::requests::{find_node, mine_request, neighbours_request, transaction_request, update_blockchain_request, update_request}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::error::Error` [INFO] [stdout] --> src/node.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::error::Error; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `AsFd` and `AsRawFd` [INFO] [stdout] --> src/node.rs:4:19 [INFO] [stdout] | [INFO] [stdout] 4 | use std::os::fd::{AsFd, AsRawFd}; [INFO] [stdout] | ^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tokio::net::TcpSocket` [INFO] [stdout] --> src/node.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use tokio::net::TcpSocket; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `RetrieveBlockchainResponse` [INFO] [stdout] --> src/requests.rs:5:88 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::proto::{NeighboursRequest, Node, NodeInfo, UpdateRequest, Signature, Block, RetrieveBlockchainResponse, RetrieveBlockchainRequ... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fmt::format` [INFO] [stdout] --> src/signatures.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::fmt::format; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Id`, `Private`, and `Public` [INFO] [stdout] --> src/signatures.rs:3:27 [INFO] [stdout] | [INFO] [stdout] 3 | use openssl::pkey::{PKey, Private, Public, Id}; [INFO] [stdout] | ^^^^^^^ ^^^^^^ ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `TrySha256Digest` and `digest` [INFO] [stdout] --> src/signatures.rs:6:14 [INFO] [stdout] | [INFO] [stdout] 6 | use sha256::{digest, TrySha256Digest}; [INFO] [stdout] | ^^^^^^ ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `MineRequest` and `MineResponse` [INFO] [stdout] --> src/signatures.rs:8:89 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::proto::{Block, FindNodeRequest, FindNodeResponse, JoinRequest, JoinResponse, MineRequest, MineResponse, NeighboursRequest, Nei... [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fmt::format` [INFO] [stdout] --> src/blockchain.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::fmt::format; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::net::SocketAddr` [INFO] [stdout] --> src/blockchain.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::net::SocketAddr; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::proto::endpoint_server::Endpoint` [INFO] [stdout] --> src/blockchain.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::proto::endpoint_server::Endpoint; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `find_node` and `update_request` [INFO] [stdout] --> src/blockchain.rs:6:23 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::requests::{find_node, update_request}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::signatures::*` [INFO] [stdout] --> src/blockchain.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::signatures::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::endpoint::*` [INFO] [stdout] --> src/blockchain.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use crate::endpoint::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `NodeInfo`, `Node`, `RetrieveBlockchainRequest`, `RetrieveBlockchainResponse`, `Signature`, `TransactionRequest`, and `TransactionResponse` [INFO] [stdout] --> src/blockchain.rs:11:83 [INFO] [stdout] | [INFO] [stdout] 11 | ...onse, Node, NodeInfo, RetrieveBlockchainRequest, RetrieveBlockchainResponse, Signature, TransactionRequest, TransactionResponse}; [INFO] [stdout] | ^^^^ ^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Ipv4Addr` [INFO] [stdout] --> src/nodes_init.rs:1:16 [INFO] [stdout] | [INFO] [stdout] 1 | use std::net::{Ipv4Addr, SocketAddr}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/server.rs:25:9 [INFO] [stdout] | [INFO] [stdout] 25 | for mut i in 1..BOOTSTRAP_PORTS.len() { [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `client` is never read [INFO] [stdout] --> src/single_client.rs:83:9 [INFO] [stdout] | [INFO] [stdout] 83 | client = create_client(None, false).await.expect("FAILURE CREATING CLIENT NODE").unwrap(); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/server.rs:25:9 [INFO] [stdout] | [INFO] [stdout] 25 | for mut i in 1..BOOTSTRAP_PORTS.len() { [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `client` is never read [INFO] [stdout] --> src/single_client.rs:83:9 [INFO] [stdout] | [INFO] [stdout] 83 | client = create_client(None, false).await.expect("FAILURE CREATING CLIENT NODE").unwrap(); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `request` [INFO] [stdout] --> src/blockchain.rs:41:27 [INFO] [stdout] | [INFO] [stdout] 41 | async fn abort(&self, request: Request) -> Result, Status> { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_request` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/blockchain.rs:57:13 [INFO] [stdout] | [INFO] [stdout] 57 | let mut current_transactions = std::sync::Arc::from(tokio::sync::RwLock::from(Vec::new())); [INFO] [stdout] | ----^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/blockchain.rs:58:13 [INFO] [stdout] | [INFO] [stdout] 58 | let mut queued_transactions = std::sync::Arc::from(tokio::sync::RwLock::from(Vec::new())); [INFO] [stdout] | ----^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/blockchain.rs:59:13 [INFO] [stdout] | [INFO] [stdout] 59 | let mut active_bids = std::sync::Arc::from(tokio::sync::RwLock::from(Vec::new())); [INFO] [stdout] | ----^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/blockchain.rs:112:9 [INFO] [stdout] | [INFO] [stdout] 112 | for i in 0..PREFIX_LENGTH{ [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `source_id` [INFO] [stdout] --> src/signatures.rs:78:28 [INFO] [stdout] | [INFO] [stdout] 78 | pub fn sign_remove_request(source_id:String, node:NodeInfo, skey:Vec) -> Vec{ [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_source_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/auto_client.rs:59:17 [INFO] [stdout] | [INFO] [stdout] 59 | for i in 0..miner_number.trim().parse::().unwrap(){ [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/auto_client.rs:62:17 [INFO] [stdout] | [INFO] [stdout] 62 | for i in 0..client_number.trim().parse::().unwrap(){ [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/auto_client.rs:51:9 [INFO] [stdout] | [INFO] [stdout] 51 | let mut miner_number = entry(0); [INFO] [stdout] | ----^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/auto_client.rs:52:9 [INFO] [stdout] | [INFO] [stdout] 52 | let mut client_number = entry(1); [INFO] [stdout] | ----^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `GENESIS` is never used [INFO] [stdout] --> src/util.rs:14:11 [INFO] [stdout] | [INFO] [stdout] 14 | pub const GENESIS: &str = "00f151242e0010e58cde0d6644d9db53a8552f0e2d26628c9a72199005b5a76e"; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_input` is never used [INFO] [stdout] --> src/util.rs:23:8 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn parse_input() -> i32{ [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `active_bids` is never read [INFO] [stdout] --> src/blockchain.rs:49:9 [INFO] [stdout] | [INFO] [stdout] 47 | pub struct MinerInfo{ [INFO] [stdout] | --------- field in this struct [INFO] [stdout] 48 | pub current_transactions: std::sync::Arc>>, [INFO] [stdout] 49 | pub active_bids: std::sync::Arc>>, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MinerInfo` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `retrieve_blockchain_request` is never used [INFO] [stdout] --> src/requests.rs:108:14 [INFO] [stdout] | [INFO] [stdout] 108 | pub async fn retrieve_blockchain_request(source:Node, url:String) -> Vec{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `obtain_transactions_request` is never used [INFO] [stdout] --> src/requests.rs:147:14 [INFO] [stdout] | [INFO] [stdout] 147 | pub async fn obtain_transactions_request(source:Node, url:String) -> Vec{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `sign_obtain_transactions_request` is never used [INFO] [stdout] --> src/signatures.rs:176:8 [INFO] [stdout] | [INFO] [stdout] 176 | pub fn sign_obtain_transactions_request(source_id:String, skey:Vec) -> Vec{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `verify_obtain_transactions_response` is never used [INFO] [stdout] --> src/signatures.rs:193:8 [INFO] [stdout] | [INFO] [stdout] 193 | pub fn verify_obtain_transactions_response(response:ObtainTransactionsResponse){ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `sign_retrieve_blockchain_response` is never used [INFO] [stdout] --> src/signatures.rs:211:8 [INFO] [stdout] | [INFO] [stdout] 211 | pub fn sign_retrieve_blockchain_response(source_id:String, blockchain:Vec, skey:Vec) -> Vec{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `verify_retrieve_blockchain_response` is never used [INFO] [stdout] --> src/signatures.rs:218:8 [INFO] [stdout] | [INFO] [stdout] 218 | pub fn verify_retrieve_blockchain_response(response: RetrieveBlockchainResponse){ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `sign_update_blockchain_response` is never used [INFO] [stdout] --> src/signatures.rs:240:8 [INFO] [stdout] | [INFO] [stdout] 240 | pub fn sign_update_blockchain_response(source_id:String, skey:Vec) -> Vec{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `must_use` that must be used [INFO] [stdout] --> src/blockchain.rs:113:9 [INFO] [stdout] | [INFO] [stdout] 113 | format!("{}{}", res, 0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this warning originates in the macro `format` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 54 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `request` [INFO] [stdout] --> src/blockchain.rs:41:27 [INFO] [stdout] | [INFO] [stdout] 41 | async fn abort(&self, request: Request) -> Result, Status> { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_request` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/blockchain.rs:57:13 [INFO] [stdout] | [INFO] [stdout] 57 | let mut current_transactions = std::sync::Arc::from(tokio::sync::RwLock::from(Vec::new())); [INFO] [stdout] | ----^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/blockchain.rs:58:13 [INFO] [stdout] | [INFO] [stdout] 58 | let mut queued_transactions = std::sync::Arc::from(tokio::sync::RwLock::from(Vec::new())); [INFO] [stdout] | ----^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/blockchain.rs:59:13 [INFO] [stdout] | [INFO] [stdout] 59 | let mut active_bids = std::sync::Arc::from(tokio::sync::RwLock::from(Vec::new())); [INFO] [stdout] | ----^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/blockchain.rs:112:9 [INFO] [stdout] | [INFO] [stdout] 112 | for i in 0..PREFIX_LENGTH{ [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `source_id` [INFO] [stdout] --> src/signatures.rs:78:28 [INFO] [stdout] | [INFO] [stdout] 78 | pub fn sign_remove_request(source_id:String, node:NodeInfo, skey:Vec) -> Vec{ [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_source_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `GENESIS` is never used [INFO] [stdout] --> src/util.rs:14:11 [INFO] [stdout] | [INFO] [stdout] 14 | pub const GENESIS: &str = "00f151242e0010e58cde0d6644d9db53a8552f0e2d26628c9a72199005b5a76e"; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `active_bids` is never read [INFO] [stdout] --> src/blockchain.rs:49:9 [INFO] [stdout] | [INFO] [stdout] 47 | pub struct MinerInfo{ [INFO] [stdout] | --------- field in this struct [INFO] [stdout] 48 | pub current_transactions: std::sync::Arc>>, [INFO] [stdout] 49 | pub active_bids: std::sync::Arc>>, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MinerInfo` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `retrieve_blockchain_request` is never used [INFO] [stdout] --> src/requests.rs:108:14 [INFO] [stdout] | [INFO] [stdout] 108 | pub async fn retrieve_blockchain_request(source:Node, url:String) -> Vec{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `obtain_transactions_request` is never used [INFO] [stdout] --> src/requests.rs:147:14 [INFO] [stdout] | [INFO] [stdout] 147 | pub async fn obtain_transactions_request(source:Node, url:String) -> Vec{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `sign_obtain_transactions_request` is never used [INFO] [stdout] --> src/signatures.rs:176:8 [INFO] [stdout] | [INFO] [stdout] 176 | pub fn sign_obtain_transactions_request(source_id:String, skey:Vec) -> Vec{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `verify_obtain_transactions_response` is never used [INFO] [stdout] --> src/signatures.rs:193:8 [INFO] [stdout] | [INFO] [stdout] 193 | pub fn verify_obtain_transactions_response(response:ObtainTransactionsResponse){ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `sign_retrieve_blockchain_response` is never used [INFO] [stdout] --> src/signatures.rs:211:8 [INFO] [stdout] | [INFO] [stdout] 211 | pub fn sign_retrieve_blockchain_response(source_id:String, blockchain:Vec, skey:Vec) -> Vec{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `verify_retrieve_blockchain_response` is never used [INFO] [stdout] --> src/signatures.rs:218:8 [INFO] [stdout] | [INFO] [stdout] 218 | pub fn verify_retrieve_blockchain_response(response: RetrieveBlockchainResponse){ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `sign_update_blockchain_response` is never used [INFO] [stdout] --> src/signatures.rs:240:8 [INFO] [stdout] | [INFO] [stdout] 240 | pub fn sign_update_blockchain_response(source_id:String, skey:Vec) -> Vec{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `must_use` that must be used [INFO] [stdout] --> src/blockchain.rs:113:9 [INFO] [stdout] | [INFO] [stdout] 113 | format!("{}{}", res, 0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this warning originates in the macro `format` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 48 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `source_id` [INFO] [stdout] --> src/signatures.rs:78:28 [INFO] [stdout] | [INFO] [stdout] 78 | pub fn sign_remove_request(source_id:String, node:NodeInfo, skey:Vec) -> Vec{ [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_source_id` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `request` [INFO] [stdout] --> src/blockchain.rs:41:27 [INFO] [stdout] | [INFO] [stdout] 41 | async fn abort(&self, request: Request) -> Result, Status> { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_request` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/blockchain.rs:57:13 [INFO] [stdout] | [INFO] [stdout] 57 | let mut current_transactions = std::sync::Arc::from(tokio::sync::RwLock::from(Vec::new())); [INFO] [stdout] | ----^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/blockchain.rs:58:13 [INFO] [stdout] | [INFO] [stdout] 58 | let mut queued_transactions = std::sync::Arc::from(tokio::sync::RwLock::from(Vec::new())); [INFO] [stdout] | ----^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/blockchain.rs:59:13 [INFO] [stdout] | [INFO] [stdout] 59 | let mut active_bids = std::sync::Arc::from(tokio::sync::RwLock::from(Vec::new())); [INFO] [stdout] | ----^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/blockchain.rs:112:9 [INFO] [stdout] | [INFO] [stdout] 112 | for i in 0..PREFIX_LENGTH{ [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `GENESIS` is never used [INFO] [stdout] --> src/util.rs:14:11 [INFO] [stdout] | [INFO] [stdout] 14 | pub const GENESIS: &str = "00f151242e0010e58cde0d6644d9db53a8552f0e2d26628c9a72199005b5a76e"; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_input` is never used [INFO] [stdout] --> src/util.rs:23:8 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn parse_input() -> i32{ [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `retrieve_blockchain_request` is never used [INFO] [stdout] --> src/requests.rs:108:14 [INFO] [stdout] | [INFO] [stdout] 108 | pub async fn retrieve_blockchain_request(source:Node, url:String) -> Vec{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `obtain_transactions_request` is never used [INFO] [stdout] --> src/requests.rs:147:14 [INFO] [stdout] | [INFO] [stdout] 147 | pub async fn obtain_transactions_request(source:Node, url:String) -> Vec{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `sign_obtain_transactions_request` is never used [INFO] [stdout] --> src/signatures.rs:176:8 [INFO] [stdout] | [INFO] [stdout] 176 | pub fn sign_obtain_transactions_request(source_id:String, skey:Vec) -> Vec{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `verify_obtain_transactions_response` is never used [INFO] [stdout] --> src/signatures.rs:193:8 [INFO] [stdout] | [INFO] [stdout] 193 | pub fn verify_obtain_transactions_response(response:ObtainTransactionsResponse){ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `sign_retrieve_blockchain_response` is never used [INFO] [stdout] --> src/signatures.rs:211:8 [INFO] [stdout] | [INFO] [stdout] 211 | pub fn sign_retrieve_blockchain_response(source_id:String, blockchain:Vec, skey:Vec) -> Vec{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `verify_retrieve_blockchain_response` is never used [INFO] [stdout] --> src/signatures.rs:218:8 [INFO] [stdout] | [INFO] [stdout] 218 | pub fn verify_retrieve_blockchain_response(response: RetrieveBlockchainResponse){ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `sign_update_blockchain_response` is never used [INFO] [stdout] --> src/signatures.rs:240:8 [INFO] [stdout] | [INFO] [stdout] 240 | pub fn sign_update_blockchain_response(source_id:String, skey:Vec) -> Vec{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `active_bids` is never read [INFO] [stdout] --> src/blockchain.rs:49:9 [INFO] [stdout] | [INFO] [stdout] 47 | pub struct MinerInfo{ [INFO] [stdout] | --------- field in this struct [INFO] [stdout] 48 | pub current_transactions: std::sync::Arc>>, [INFO] [stdout] 49 | pub active_bids: std::sync::Arc>>, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MinerInfo` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `must_use` that must be used [INFO] [stdout] --> src/blockchain.rs:113:9 [INFO] [stdout] | [INFO] [stdout] 113 | format!("{}{}", res, 0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this warning originates in the macro `format` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `request` [INFO] [stdout] --> src/blockchain.rs:41:27 [INFO] [stdout] | [INFO] [stdout] 41 | async fn abort(&self, request: Request) -> Result, Status> { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_request` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/blockchain.rs:57:13 [INFO] [stdout] | [INFO] [stdout] 57 | let mut current_transactions = std::sync::Arc::from(tokio::sync::RwLock::from(Vec::new())); [INFO] [stdout] | ----^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/blockchain.rs:58:13 [INFO] [stdout] | [INFO] [stdout] 58 | let mut queued_transactions = std::sync::Arc::from(tokio::sync::RwLock::from(Vec::new())); [INFO] [stdout] | ----^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/blockchain.rs:59:13 [INFO] [stdout] | [INFO] [stdout] 59 | let mut active_bids = std::sync::Arc::from(tokio::sync::RwLock::from(Vec::new())); [INFO] [stdout] | ----^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/blockchain.rs:112:9 [INFO] [stdout] | [INFO] [stdout] 112 | for i in 0..PREFIX_LENGTH{ [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `source_id` [INFO] [stdout] --> src/signatures.rs:78:28 [INFO] [stdout] | [INFO] [stdout] 78 | pub fn sign_remove_request(source_id:String, node:NodeInfo, skey:Vec) -> Vec{ [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_source_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/auto_client.rs:59:17 [INFO] [stdout] | [INFO] [stdout] 59 | for i in 0..miner_number.trim().parse::().unwrap(){ [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 39 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/auto_client.rs:62:17 [INFO] [stdout] | [INFO] [stdout] 62 | for i in 0..client_number.trim().parse::().unwrap(){ [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/auto_client.rs:51:9 [INFO] [stdout] | [INFO] [stdout] 51 | let mut miner_number = entry(0); [INFO] [stdout] | ----^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/auto_client.rs:52:9 [INFO] [stdout] | [INFO] [stdout] 52 | let mut client_number = entry(1); [INFO] [stdout] | ----^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `GENESIS` is never used [INFO] [stdout] --> src/util.rs:14:11 [INFO] [stdout] | [INFO] [stdout] 14 | pub const GENESIS: &str = "00f151242e0010e58cde0d6644d9db53a8552f0e2d26628c9a72199005b5a76e"; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_input` is never used [INFO] [stdout] --> src/util.rs:23:8 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn parse_input() -> i32{ [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `active_bids` is never read [INFO] [stdout] --> src/blockchain.rs:49:9 [INFO] [stdout] | [INFO] [stdout] 47 | pub struct MinerInfo{ [INFO] [stdout] | --------- field in this struct [INFO] [stdout] 48 | pub current_transactions: std::sync::Arc>>, [INFO] [stdout] 49 | pub active_bids: std::sync::Arc>>, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MinerInfo` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `retrieve_blockchain_request` is never used [INFO] [stdout] --> src/requests.rs:108:14 [INFO] [stdout] | [INFO] [stdout] 108 | pub async fn retrieve_blockchain_request(source:Node, url:String) -> Vec{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `obtain_transactions_request` is never used [INFO] [stdout] --> src/requests.rs:147:14 [INFO] [stdout] | [INFO] [stdout] 147 | pub async fn obtain_transactions_request(source:Node, url:String) -> Vec{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `sign_obtain_transactions_request` is never used [INFO] [stdout] --> src/signatures.rs:176:8 [INFO] [stdout] | [INFO] [stdout] 176 | pub fn sign_obtain_transactions_request(source_id:String, skey:Vec) -> Vec{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `verify_obtain_transactions_response` is never used [INFO] [stdout] --> src/signatures.rs:193:8 [INFO] [stdout] | [INFO] [stdout] 193 | pub fn verify_obtain_transactions_response(response:ObtainTransactionsResponse){ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `sign_retrieve_blockchain_response` is never used [INFO] [stdout] --> src/signatures.rs:211:8 [INFO] [stdout] | [INFO] [stdout] 211 | pub fn sign_retrieve_blockchain_response(source_id:String, blockchain:Vec, skey:Vec) -> Vec{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `verify_retrieve_blockchain_response` is never used [INFO] [stdout] --> src/signatures.rs:218:8 [INFO] [stdout] | [INFO] [stdout] 218 | pub fn verify_retrieve_blockchain_response(response: RetrieveBlockchainResponse){ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `sign_update_blockchain_response` is never used [INFO] [stdout] --> src/signatures.rs:240:8 [INFO] [stdout] | [INFO] [stdout] 240 | pub fn sign_update_blockchain_response(source_id:String, skey:Vec) -> Vec{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `must_use` that must be used [INFO] [stdout] --> src/blockchain.rs:113:9 [INFO] [stdout] | [INFO] [stdout] 113 | format!("{}{}", res, 0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this warning originates in the macro `format` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 54 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `request` [INFO] [stdout] --> src/blockchain.rs:41:27 [INFO] [stdout] | [INFO] [stdout] 41 | async fn abort(&self, request: Request) -> Result, Status> { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_request` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/blockchain.rs:57:13 [INFO] [stdout] | [INFO] [stdout] 57 | let mut current_transactions = std::sync::Arc::from(tokio::sync::RwLock::from(Vec::new())); [INFO] [stdout] | ----^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/blockchain.rs:58:13 [INFO] [stdout] | [INFO] [stdout] 58 | let mut queued_transactions = std::sync::Arc::from(tokio::sync::RwLock::from(Vec::new())); [INFO] [stdout] | ----^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/blockchain.rs:59:13 [INFO] [stdout] | [INFO] [stdout] 59 | let mut active_bids = std::sync::Arc::from(tokio::sync::RwLock::from(Vec::new())); [INFO] [stdout] | ----^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/blockchain.rs:112:9 [INFO] [stdout] | [INFO] [stdout] 112 | for i in 0..PREFIX_LENGTH{ [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `source_id` [INFO] [stdout] --> src/signatures.rs:78:28 [INFO] [stdout] | [INFO] [stdout] 78 | pub fn sign_remove_request(source_id:String, node:NodeInfo, skey:Vec) -> Vec{ [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_source_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `GENESIS` is never used [INFO] [stdout] --> src/util.rs:14:11 [INFO] [stdout] | [INFO] [stdout] 14 | pub const GENESIS: &str = "00f151242e0010e58cde0d6644d9db53a8552f0e2d26628c9a72199005b5a76e"; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `active_bids` is never read [INFO] [stdout] --> src/blockchain.rs:49:9 [INFO] [stdout] | [INFO] [stdout] 47 | pub struct MinerInfo{ [INFO] [stdout] | --------- field in this struct [INFO] [stdout] 48 | pub current_transactions: std::sync::Arc>>, [INFO] [stdout] 49 | pub active_bids: std::sync::Arc>>, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MinerInfo` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `retrieve_blockchain_request` is never used [INFO] [stdout] --> src/requests.rs:108:14 [INFO] [stdout] | [INFO] [stdout] 108 | pub async fn retrieve_blockchain_request(source:Node, url:String) -> Vec{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `obtain_transactions_request` is never used [INFO] [stdout] --> src/requests.rs:147:14 [INFO] [stdout] | [INFO] [stdout] 147 | pub async fn obtain_transactions_request(source:Node, url:String) -> Vec{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `sign_obtain_transactions_request` is never used [INFO] [stdout] --> src/signatures.rs:176:8 [INFO] [stdout] | [INFO] [stdout] 176 | pub fn sign_obtain_transactions_request(source_id:String, skey:Vec) -> Vec{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `verify_obtain_transactions_response` is never used [INFO] [stdout] --> src/signatures.rs:193:8 [INFO] [stdout] | [INFO] [stdout] 193 | pub fn verify_obtain_transactions_response(response:ObtainTransactionsResponse){ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `sign_retrieve_blockchain_response` is never used [INFO] [stdout] --> src/signatures.rs:211:8 [INFO] [stdout] | [INFO] [stdout] 211 | pub fn sign_retrieve_blockchain_response(source_id:String, blockchain:Vec, skey:Vec) -> Vec{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `verify_retrieve_blockchain_response` is never used [INFO] [stdout] --> src/signatures.rs:218:8 [INFO] [stdout] | [INFO] [stdout] 218 | pub fn verify_retrieve_blockchain_response(response: RetrieveBlockchainResponse){ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `sign_update_blockchain_response` is never used [INFO] [stdout] --> src/signatures.rs:240:8 [INFO] [stdout] | [INFO] [stdout] 240 | pub fn sign_update_blockchain_response(source_id:String, skey:Vec) -> Vec{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `must_use` that must be used [INFO] [stdout] --> src/blockchain.rs:113:9 [INFO] [stdout] | [INFO] [stdout] 113 | format!("{}{}", res, 0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this warning originates in the macro `format` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `source_id` [INFO] [stdout] --> src/signatures.rs:78:28 [INFO] [stdout] | [INFO] [stdout] 78 | pub fn sign_remove_request(source_id:String, node:NodeInfo, skey:Vec) -> Vec{ [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_source_id` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `request` [INFO] [stdout] --> src/blockchain.rs:41:27 [INFO] [stdout] | [INFO] [stdout] 41 | async fn abort(&self, request: Request) -> Result, Status> { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_request` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/blockchain.rs:57:13 [INFO] [stdout] | [INFO] [stdout] 57 | let mut current_transactions = std::sync::Arc::from(tokio::sync::RwLock::from(Vec::new())); [INFO] [stdout] | ----^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/blockchain.rs:58:13 [INFO] [stdout] | [INFO] [stdout] 58 | let mut queued_transactions = std::sync::Arc::from(tokio::sync::RwLock::from(Vec::new())); [INFO] [stdout] | ----^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/blockchain.rs:59:13 [INFO] [stdout] | [INFO] [stdout] 59 | let mut active_bids = std::sync::Arc::from(tokio::sync::RwLock::from(Vec::new())); [INFO] [stdout] | ----^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/blockchain.rs:112:9 [INFO] [stdout] | [INFO] [stdout] 112 | for i in 0..PREFIX_LENGTH{ [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 48 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `GENESIS` is never used [INFO] [stdout] --> src/util.rs:14:11 [INFO] [stdout] | [INFO] [stdout] 14 | pub const GENESIS: &str = "00f151242e0010e58cde0d6644d9db53a8552f0e2d26628c9a72199005b5a76e"; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_input` is never used [INFO] [stdout] --> src/util.rs:23:8 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn parse_input() -> i32{ [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `retrieve_blockchain_request` is never used [INFO] [stdout] --> src/requests.rs:108:14 [INFO] [stdout] | [INFO] [stdout] 108 | pub async fn retrieve_blockchain_request(source:Node, url:String) -> Vec{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `obtain_transactions_request` is never used [INFO] [stdout] --> src/requests.rs:147:14 [INFO] [stdout] | [INFO] [stdout] 147 | pub async fn obtain_transactions_request(source:Node, url:String) -> Vec{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `sign_obtain_transactions_request` is never used [INFO] [stdout] --> src/signatures.rs:176:8 [INFO] [stdout] | [INFO] [stdout] 176 | pub fn sign_obtain_transactions_request(source_id:String, skey:Vec) -> Vec{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `verify_obtain_transactions_response` is never used [INFO] [stdout] --> src/signatures.rs:193:8 [INFO] [stdout] | [INFO] [stdout] 193 | pub fn verify_obtain_transactions_response(response:ObtainTransactionsResponse){ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `sign_retrieve_blockchain_response` is never used [INFO] [stdout] --> src/signatures.rs:211:8 [INFO] [stdout] | [INFO] [stdout] 211 | pub fn sign_retrieve_blockchain_response(source_id:String, blockchain:Vec, skey:Vec) -> Vec{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `verify_retrieve_blockchain_response` is never used [INFO] [stdout] --> src/signatures.rs:218:8 [INFO] [stdout] | [INFO] [stdout] 218 | pub fn verify_retrieve_blockchain_response(response: RetrieveBlockchainResponse){ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `sign_update_blockchain_response` is never used [INFO] [stdout] --> src/signatures.rs:240:8 [INFO] [stdout] | [INFO] [stdout] 240 | pub fn sign_update_blockchain_response(source_id:String, skey:Vec) -> Vec{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `active_bids` is never read [INFO] [stdout] --> src/blockchain.rs:49:9 [INFO] [stdout] | [INFO] [stdout] 47 | pub struct MinerInfo{ [INFO] [stdout] | --------- field in this struct [INFO] [stdout] 48 | pub current_transactions: std::sync::Arc>>, [INFO] [stdout] 49 | pub active_bids: std::sync::Arc>>, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MinerInfo` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `must_use` that must be used [INFO] [stdout] --> src/blockchain.rs:113:9 [INFO] [stdout] | [INFO] [stdout] 113 | format!("{}{}", res, 0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this warning originates in the macro `format` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 39 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 16s [INFO] running `Command { std: "docker" "inspect" "75005aa2f96615bf759a2501eeec8d5c6fb9e045d475d23203ed021165c3df12", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "75005aa2f96615bf759a2501eeec8d5c6fb9e045d475d23203ed021165c3df12", kill_on_drop: false }` [INFO] [stdout] 75005aa2f96615bf759a2501eeec8d5c6fb9e045d475d23203ed021165c3df12 [INFO] checking rootHytx/bloccChainz against try#f9935d29d867449445ee008640ccca1bf1ae0889+rustflags=-Dtail_expr_drop_order for crater-rollup-uwu [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FrootHytx%2FbloccChainz" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/rootHytx/bloccChainz on toolchain f9935d29d867449445ee008640ccca1bf1ae0889 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f9935d29d867449445ee008640ccca1bf1ae0889" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/rootHytx/bloccChainz [INFO] finished tweaking git repo https://github.com/rootHytx/bloccChainz [INFO] tweaked toml for git repo https://github.com/rootHytx/bloccChainz written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/rootHytx/bloccChainz 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" "+f9935d29d867449445ee008640ccca1bf1ae0889" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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" "+f9935d29d867449445ee008640ccca1bf1ae0889" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4ba766e694e8e45bd8439c88a64a0597d1c7cc3b8861ec066e32d6be3dafd4b2 [INFO] running `Command { std: "docker" "start" "-a" "4ba766e694e8e45bd8439c88a64a0597d1c7cc3b8861ec066e32d6be3dafd4b2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4ba766e694e8e45bd8439c88a64a0597d1c7cc3b8861ec066e32d6be3dafd4b2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4ba766e694e8e45bd8439c88a64a0597d1c7cc3b8861ec066e32d6be3dafd4b2", kill_on_drop: false }` [INFO] [stdout] 4ba766e694e8e45bd8439c88a64a0597d1c7cc3b8861ec066e32d6be3dafd4b2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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" "+f9935d29d867449445ee008640ccca1bf1ae0889" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 87b57dfbdfc332e7b6c952d03ed308343de49d2901da1d1a1abc55f38f26cd79 [INFO] running `Command { std: "docker" "start" "-a" "87b57dfbdfc332e7b6c952d03ed308343de49d2901da1d1a1abc55f38f26cd79", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.80 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Checking pin-project-lite v0.2.14 [INFO] [stderr] Checking bytes v1.6.0 [INFO] [stderr] Compiling either v1.11.0 [INFO] [stderr] Compiling autocfg v1.2.0 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Checking futures-core v0.3.30 [INFO] [stderr] Compiling anyhow v1.0.82 [INFO] [stderr] Checking once_cell v1.19.0 [INFO] [stderr] Compiling itertools v0.12.1 [INFO] [stderr] Compiling rustversion v1.0.15 [INFO] [stderr] Checking tracing-core v0.1.32 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Checking itoa v1.0.11 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Checking futures-task v0.3.30 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Checking http v0.2.12 [INFO] [stderr] Compiling syn v2.0.59 [INFO] [stderr] Checking socket2 v0.5.6 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking mio v0.8.11 [INFO] [stderr] Checking signal-hook-registry v1.4.2 [INFO] [stderr] Checking getrandom v0.2.14 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling rustix v0.38.32 [INFO] [stderr] Checking ppv-lite86 v0.2.17 [INFO] [stderr] Checking futures-sink v0.3.30 [INFO] [stderr] Compiling cc v1.0.94 [INFO] [stderr] Compiling httparse v1.8.0 [INFO] [stderr] Compiling hashbrown v0.14.3 [INFO] [stderr] Compiling equivalent v1.0.1 [INFO] [stderr] Checking tower-service v0.3.2 [INFO] [stderr] Compiling regex-syntax v0.8.3 [INFO] [stderr] Compiling bitflags v2.5.0 [INFO] [stderr] Compiling linux-raw-sys v0.4.13 [INFO] [stderr] Compiling prettyplease v0.2.19 [INFO] [stderr] Compiling indexmap v2.2.6 [INFO] [stderr] Compiling openssl-src v300.2.3+3.2.1 [INFO] [stderr] Checking http-body v0.4.6 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling serde v1.0.197 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling pkg-config v0.3.30 [INFO] [stderr] Compiling zerocopy v0.8.0-alpha.6 [INFO] [stderr] Compiling vcpkg v0.2.15 [INFO] [stderr] Compiling fixedbitset v0.4.2 [INFO] [stderr] Compiling regex-automata v0.4.6 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Checking try-lock v0.2.5 [INFO] [stderr] Compiling fastrand v2.0.2 [INFO] [stderr] Checking want v0.3.1 [INFO] [stderr] Compiling petgraph v0.6.4 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Compiling axum-core v0.3.4 [INFO] [stderr] Compiling openssl-sys v0.9.102 [INFO] [stderr] Checking futures-channel v0.3.30 [INFO] [stderr] Checking hashbrown v0.12.3 [INFO] [stderr] Compiling log v0.4.21 [INFO] [stderr] Checking tower-layer v0.3.2 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Compiling tempfile v3.10.1 [INFO] [stderr] Compiling regex v1.10.4 [INFO] [stderr] Checking httpdate v1.0.3 [INFO] [stderr] Compiling multimap v0.10.0 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Compiling axum v0.6.20 [INFO] [stderr] Checking hybrid-array v0.2.0-rc.8 [INFO] [stderr] Compiling thiserror v1.0.61 [INFO] [stderr] Checking mime v0.3.17 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking cpufeatures v0.2.12 [INFO] [stderr] Checking rand_core v0.9.0-alpha.1 [INFO] [stderr] Checking memchr v2.7.2 [INFO] [stderr] Checking crypto-common v0.2.0-pre.5 [INFO] [stderr] Checking percent-encoding v2.3.1 [INFO] [stderr] Compiling openssl v0.10.64 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Checking matchit v0.7.3 [INFO] [stderr] Checking sync_wrapper v0.1.2 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Checking foreign-types-shared v0.1.1 [INFO] [stderr] Checking foreign-types v0.3.2 [INFO] [stderr] Checking rand_chacha v0.9.0-alpha.1 [INFO] [stderr] Checking sha2 v0.10.8 [INFO] [stderr] Checking hex v0.4.3 [INFO] [stderr] Checking block-buffer v0.11.0-pre.5 [INFO] [stderr] Checking base64 v0.21.7 [INFO] [stderr] Checking digest v0.11.0-pre.8 [INFO] [stderr] Checking rand v0.9.0-alpha.1 [INFO] [stderr] Compiling tokio-macros v2.2.0 [INFO] [stderr] Compiling prost-derive v0.12.4 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling pin-project-internal v1.1.5 [INFO] [stderr] Compiling async-trait v0.1.80 [INFO] [stderr] Checking tokio v1.37.0 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Compiling serde_derive v1.0.197 [INFO] [stderr] Checking pin-project v1.1.5 [INFO] [stderr] Compiling async-stream-impl v0.3.5 [INFO] [stderr] Compiling thiserror-impl v1.0.61 [INFO] [stderr] Compiling prost v0.12.4 [INFO] [stderr] Checking async-stream v0.3.5 [INFO] [stderr] Compiling prost-types v0.12.4 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling prost-build v0.12.4 [INFO] [stderr] Compiling tonic-build v0.11.0 [INFO] [stderr] Checking tokio-util v0.7.10 [INFO] [stderr] Checking tokio-io-timeout v1.2.0 [INFO] [stderr] Checking tokio-stream v0.1.15 [INFO] [stderr] Checking sha256 v1.5.0 [INFO] [stderr] Checking h2 v0.3.26 [INFO] [stderr] Checking tower v0.4.13 [INFO] [stderr] Compiling ssd v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Checking hyper v0.14.28 [INFO] [stderr] Compiling neli-proc-macros v0.1.3 [INFO] [stderr] Checking neli v0.6.4 [INFO] [stderr] Checking local-ip-address v0.6.1 [INFO] [stderr] Checking hyper-timeout v0.4.1 [INFO] [stderr] Checking tonic v0.11.0 [INFO] [stdout] warning: unused import: `endpoint::*` [INFO] [stdout] --> src/single_client.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use endpoint::*; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rand::Rng` [INFO] [stdout] --> src/single_client.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use rand::Rng; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::error::Error` [INFO] [stdout] --> src/single_client.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::error::Error; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fmt::format` [INFO] [stdout] --> src/single_client.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::fmt::format; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `core::net::SocketAddr` [INFO] [stdout] --> src/single_client.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use core::net::SocketAddr; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tokio::task` [INFO] [stdout] --> src/single_client.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use tokio::task; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Response` and `Status` [INFO] [stdout] --> src/single_client.rs:12:13 [INFO] [stdout] | [INFO] [stdout] 12 | use tonic::{Response, Status}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Endpoint` and `Server` [INFO] [stdout] --> src/single_client.rs:13:24 [INFO] [stdout] | [INFO] [stdout] 13 | use tonic::transport::{Endpoint, Server}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `node::*` [INFO] [stdout] --> src/single_client.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use node::*; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `proto::miner_server::*` [INFO] [stdout] --> src/single_client.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use proto::miner_server::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BucketNode`, `JoinResponse`, `KBucket`, `NodeInfo`, and `Node` [INFO] [stdout] --> src/single_client.rs:16:20 [INFO] [stdout] | [INFO] [stdout] 16 | use crate::proto::{NodeInfo, BucketNode, KBucket, Node, JoinResponse}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^^ ^^^^^^^ ^^^^ ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::signatures::*` [INFO] [stdout] --> src/single_client.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | use crate::signatures::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `blockchain::*` [INFO] [stdout] --> src/single_client.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | use blockchain::*; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `prost::Message` [INFO] [stdout] --> src/endpoint.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use prost::Message; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `update_request` [INFO] [stdout] --> src/endpoint.rs:6:116 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::requests::{find_node, mine_request, neighbours_request, transaction_request, update_blockchain_request, update_request}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::error::Error` [INFO] [stdout] --> src/node.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::error::Error; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `AsFd` and `AsRawFd` [INFO] [stdout] --> src/node.rs:4:19 [INFO] [stdout] | [INFO] [stdout] 4 | use std::os::fd::{AsFd, AsRawFd}; [INFO] [stdout] | ^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tokio::net::TcpSocket` [INFO] [stdout] --> src/node.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use tokio::net::TcpSocket; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `proto::miner_server::*` [INFO] [stdout] --> src/server.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use proto::miner_server::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::signatures::*` [INFO] [stdout] --> src/server.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::signatures::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `blockchain::*` [INFO] [stdout] --> src/server.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use blockchain::*; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `prost::Message` [INFO] [stdout] --> src/endpoint.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use prost::Message; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `update_request` [INFO] [stdout] --> src/endpoint.rs:6:116 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::requests::{find_node, mine_request, neighbours_request, transaction_request, update_blockchain_request, update_request}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::error::Error` [INFO] [stdout] --> src/node.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::error::Error; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `AsFd` and `AsRawFd` [INFO] [stdout] --> src/node.rs:4:19 [INFO] [stdout] | [INFO] [stdout] 4 | use std::os::fd::{AsFd, AsRawFd}; [INFO] [stdout] | ^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fmt::format` [INFO] [stdout] --> src/blockchain.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::fmt::format; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tokio::net::TcpSocket` [INFO] [stdout] --> src/node.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use tokio::net::TcpSocket; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::net::SocketAddr` [INFO] [stdout] --> src/blockchain.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::net::SocketAddr; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::proto::endpoint_server::Endpoint` [INFO] [stdout] --> src/blockchain.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::proto::endpoint_server::Endpoint; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `find_node` and `update_request` [INFO] [stdout] --> src/blockchain.rs:6:23 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::requests::{find_node, update_request}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::signatures::*` [INFO] [stdout] --> src/blockchain.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::signatures::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::endpoint::*` [INFO] [stdout] --> src/blockchain.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use crate::endpoint::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `NodeInfo`, `Node`, `RetrieveBlockchainRequest`, `RetrieveBlockchainResponse`, `Signature`, `TransactionRequest`, and `TransactionResponse` [INFO] [stdout] --> src/blockchain.rs:11:83 [INFO] [stdout] | [INFO] [stdout] 11 | ...onse, Node, NodeInfo, RetrieveBlockchainRequest, RetrieveBlockchainResponse, Signature, TransactionRequest, TransactionResponse}; [INFO] [stdout] | ^^^^ ^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `RetrieveBlockchainResponse` [INFO] [stdout] --> src/requests.rs:5:88 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::proto::{NeighboursRequest, Node, NodeInfo, UpdateRequest, Signature, Block, RetrieveBlockchainResponse, RetrieveBlockchainRequ... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fmt::format` [INFO] [stdout] --> src/signatures.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::fmt::format; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Id`, `Private`, and `Public` [INFO] [stdout] --> src/signatures.rs:3:27 [INFO] [stdout] | [INFO] [stdout] 3 | use openssl::pkey::{PKey, Private, Public, Id}; [INFO] [stdout] | ^^^^^^^ ^^^^^^ ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `TrySha256Digest` and `digest` [INFO] [stdout] --> src/signatures.rs:6:14 [INFO] [stdout] | [INFO] [stdout] 6 | use sha256::{digest, TrySha256Digest}; [INFO] [stdout] | ^^^^^^ ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `MineRequest` and `MineResponse` [INFO] [stdout] --> src/signatures.rs:8:89 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::proto::{Block, FindNodeRequest, FindNodeResponse, JoinRequest, JoinResponse, MineRequest, MineResponse, NeighboursRequest, Nei... [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Ipv4Addr` [INFO] [stdout] --> src/nodes_init.rs:1:16 [INFO] [stdout] | [INFO] [stdout] 1 | use std::net::{Ipv4Addr, SocketAddr}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `RetrieveBlockchainResponse` [INFO] [stdout] --> src/requests.rs:5:88 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::proto::{NeighboursRequest, Node, NodeInfo, UpdateRequest, Signature, Block, RetrieveBlockchainResponse, RetrieveBlockchainRequ... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fmt::format` [INFO] [stdout] --> src/signatures.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::fmt::format; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Id`, `Private`, and `Public` [INFO] [stdout] --> src/signatures.rs:3:27 [INFO] [stdout] | [INFO] [stdout] 3 | use openssl::pkey::{PKey, Private, Public, Id}; [INFO] [stdout] | ^^^^^^^ ^^^^^^ ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `TrySha256Digest` and `digest` [INFO] [stdout] --> src/signatures.rs:6:14 [INFO] [stdout] | [INFO] [stdout] 6 | use sha256::{digest, TrySha256Digest}; [INFO] [stdout] | ^^^^^^ ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `MineRequest` and `MineResponse` [INFO] [stdout] --> src/signatures.rs:8:89 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::proto::{Block, FindNodeRequest, FindNodeResponse, JoinRequest, JoinResponse, MineRequest, MineResponse, NeighboursRequest, Nei... [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `endpoint::*` [INFO] [stdout] --> src/auto_client.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use endpoint::*; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `util::*` [INFO] [stdout] --> src/auto_client.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use util::*; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rand::Rng` [INFO] [stdout] --> src/auto_client.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use rand::Rng; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `requests::*` [INFO] [stdout] --> src/auto_client.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use requests::*; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::error::Error` [INFO] [stdout] --> src/auto_client.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::error::Error; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fmt::format` [INFO] [stdout] --> src/auto_client.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::fmt::format; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `core::net::SocketAddr` [INFO] [stdout] --> src/auto_client.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use core::net::SocketAddr; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tokio::task` [INFO] [stdout] --> src/auto_client.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use tokio::task; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Response` and `Status` [INFO] [stdout] --> src/auto_client.rs:12:13 [INFO] [stdout] | [INFO] [stdout] 12 | use tonic::{Response, Status}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Endpoint` and `Server` [INFO] [stdout] --> src/auto_client.rs:13:24 [INFO] [stdout] | [INFO] [stdout] 13 | use tonic::transport::{Endpoint, Server}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `node::*` [INFO] [stdout] --> src/auto_client.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use node::*; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `proto::miner_server::*` [INFO] [stdout] --> src/auto_client.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use proto::miner_server::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BucketNode`, `JoinResponse`, `KBucket`, `NodeInfo`, and `Node` [INFO] [stdout] --> src/auto_client.rs:16:20 [INFO] [stdout] | [INFO] [stdout] 16 | use crate::proto::{NodeInfo, BucketNode, KBucket, Node, JoinResponse}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^^ ^^^^^^^ ^^^^ ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::signatures::*` [INFO] [stdout] --> src/auto_client.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | use crate::signatures::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `blockchain::*` [INFO] [stdout] --> src/auto_client.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | use blockchain::*; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `prost::Message` [INFO] [stdout] --> src/endpoint.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use prost::Message; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `update_request` [INFO] [stdout] --> src/endpoint.rs:6:116 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::requests::{find_node, mine_request, neighbours_request, transaction_request, update_blockchain_request, update_request}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::error::Error` [INFO] [stdout] --> src/node.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::error::Error; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `AsFd` and `AsRawFd` [INFO] [stdout] --> src/node.rs:4:19 [INFO] [stdout] | [INFO] [stdout] 4 | use std::os::fd::{AsFd, AsRawFd}; [INFO] [stdout] | ^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tokio::net::TcpSocket` [INFO] [stdout] --> src/node.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use tokio::net::TcpSocket; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fmt::format` [INFO] [stdout] --> src/blockchain.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::fmt::format; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::net::SocketAddr` [INFO] [stdout] --> src/blockchain.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::net::SocketAddr; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::proto::endpoint_server::Endpoint` [INFO] [stdout] --> src/blockchain.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::proto::endpoint_server::Endpoint; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `find_node` and `update_request` [INFO] [stdout] --> src/blockchain.rs:6:23 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::requests::{find_node, update_request}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::signatures::*` [INFO] [stdout] --> src/blockchain.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::signatures::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::endpoint::*` [INFO] [stdout] --> src/blockchain.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use crate::endpoint::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `NodeInfo`, `Node`, `RetrieveBlockchainRequest`, `RetrieveBlockchainResponse`, `Signature`, `TransactionRequest`, and `TransactionResponse` [INFO] [stdout] --> src/blockchain.rs:11:83 [INFO] [stdout] | [INFO] [stdout] 11 | ...onse, Node, NodeInfo, RetrieveBlockchainRequest, RetrieveBlockchainResponse, Signature, TransactionRequest, TransactionResponse}; [INFO] [stdout] | ^^^^ ^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `RetrieveBlockchainResponse` [INFO] [stdout] --> src/requests.rs:5:88 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::proto::{NeighboursRequest, Node, NodeInfo, UpdateRequest, Signature, Block, RetrieveBlockchainResponse, RetrieveBlockchainRequ... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fmt::format` [INFO] [stdout] --> src/signatures.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::fmt::format; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Id`, `Private`, and `Public` [INFO] [stdout] --> src/signatures.rs:3:27 [INFO] [stdout] | [INFO] [stdout] 3 | use openssl::pkey::{PKey, Private, Public, Id}; [INFO] [stdout] | ^^^^^^^ ^^^^^^ ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `TrySha256Digest` and `digest` [INFO] [stdout] --> src/signatures.rs:6:14 [INFO] [stdout] | [INFO] [stdout] 6 | use sha256::{digest, TrySha256Digest}; [INFO] [stdout] | ^^^^^^ ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `MineRequest` and `MineResponse` [INFO] [stdout] --> src/signatures.rs:8:89 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::proto::{Block, FindNodeRequest, FindNodeResponse, JoinRequest, JoinResponse, MineRequest, MineResponse, NeighboursRequest, Nei... [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Ipv4Addr` [INFO] [stdout] --> src/nodes_init.rs:1:16 [INFO] [stdout] | [INFO] [stdout] 1 | use std::net::{Ipv4Addr, SocketAddr}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fmt::format` [INFO] [stdout] --> src/blockchain.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::fmt::format; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::net::SocketAddr` [INFO] [stdout] --> src/blockchain.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::net::SocketAddr; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::proto::endpoint_server::Endpoint` [INFO] [stdout] --> src/blockchain.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::proto::endpoint_server::Endpoint; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `find_node` and `update_request` [INFO] [stdout] --> src/blockchain.rs:6:23 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::requests::{find_node, update_request}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::signatures::*` [INFO] [stdout] --> src/blockchain.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::signatures::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::endpoint::*` [INFO] [stdout] --> src/blockchain.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use crate::endpoint::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `NodeInfo`, `Node`, `RetrieveBlockchainRequest`, `RetrieveBlockchainResponse`, `Signature`, `TransactionRequest`, and `TransactionResponse` [INFO] [stdout] --> src/blockchain.rs:11:83 [INFO] [stdout] | [INFO] [stdout] 11 | ...onse, Node, NodeInfo, RetrieveBlockchainRequest, RetrieveBlockchainResponse, Signature, TransactionRequest, TransactionResponse}; [INFO] [stdout] | ^^^^ ^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Ipv4Addr` [INFO] [stdout] --> src/nodes_init.rs:1:16 [INFO] [stdout] | [INFO] [stdout] 1 | use std::net::{Ipv4Addr, SocketAddr}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `endpoint::*` [INFO] [stdout] --> src/single_client.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use endpoint::*; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rand::Rng` [INFO] [stdout] --> src/single_client.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use rand::Rng; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::error::Error` [INFO] [stdout] --> src/single_client.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::error::Error; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fmt::format` [INFO] [stdout] --> src/single_client.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::fmt::format; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `core::net::SocketAddr` [INFO] [stdout] --> src/single_client.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use core::net::SocketAddr; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tokio::task` [INFO] [stdout] --> src/single_client.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use tokio::task; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Response` and `Status` [INFO] [stdout] --> src/single_client.rs:12:13 [INFO] [stdout] | [INFO] [stdout] 12 | use tonic::{Response, Status}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Endpoint` and `Server` [INFO] [stdout] --> src/single_client.rs:13:24 [INFO] [stdout] | [INFO] [stdout] 13 | use tonic::transport::{Endpoint, Server}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `node::*` [INFO] [stdout] --> src/single_client.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use node::*; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `proto::miner_server::*` [INFO] [stdout] --> src/single_client.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use proto::miner_server::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BucketNode`, `JoinResponse`, `KBucket`, `NodeInfo`, and `Node` [INFO] [stdout] --> src/single_client.rs:16:20 [INFO] [stdout] | [INFO] [stdout] 16 | use crate::proto::{NodeInfo, BucketNode, KBucket, Node, JoinResponse}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^^ ^^^^^^^ ^^^^ ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::signatures::*` [INFO] [stdout] --> src/single_client.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | use crate::signatures::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `blockchain::*` [INFO] [stdout] --> src/single_client.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | use blockchain::*; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `prost::Message` [INFO] [stdout] --> src/endpoint.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use prost::Message; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `update_request` [INFO] [stdout] --> src/endpoint.rs:6:116 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::requests::{find_node, mine_request, neighbours_request, transaction_request, update_blockchain_request, update_request}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::error::Error` [INFO] [stdout] --> src/node.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::error::Error; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `AsFd` and `AsRawFd` [INFO] [stdout] --> src/node.rs:4:19 [INFO] [stdout] | [INFO] [stdout] 4 | use std::os::fd::{AsFd, AsRawFd}; [INFO] [stdout] | ^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tokio::net::TcpSocket` [INFO] [stdout] --> src/node.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use tokio::net::TcpSocket; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fmt::format` [INFO] [stdout] --> src/blockchain.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::fmt::format; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::net::SocketAddr` [INFO] [stdout] --> src/blockchain.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::net::SocketAddr; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::proto::endpoint_server::Endpoint` [INFO] [stdout] --> src/blockchain.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::proto::endpoint_server::Endpoint; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `find_node` and `update_request` [INFO] [stdout] --> src/blockchain.rs:6:23 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::requests::{find_node, update_request}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::signatures::*` [INFO] [stdout] --> src/blockchain.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::signatures::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::endpoint::*` [INFO] [stdout] --> src/blockchain.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use crate::endpoint::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `NodeInfo`, `Node`, `RetrieveBlockchainRequest`, `RetrieveBlockchainResponse`, `Signature`, `TransactionRequest`, and `TransactionResponse` [INFO] [stdout] --> src/blockchain.rs:11:83 [INFO] [stdout] | [INFO] [stdout] 11 | ...onse, Node, NodeInfo, RetrieveBlockchainRequest, RetrieveBlockchainResponse, Signature, TransactionRequest, TransactionResponse}; [INFO] [stdout] | ^^^^ ^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `RetrieveBlockchainResponse` [INFO] [stdout] --> src/requests.rs:5:88 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::proto::{NeighboursRequest, Node, NodeInfo, UpdateRequest, Signature, Block, RetrieveBlockchainResponse, RetrieveBlockchainRequ... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fmt::format` [INFO] [stdout] --> src/signatures.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::fmt::format; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Id`, `Private`, and `Public` [INFO] [stdout] --> src/signatures.rs:3:27 [INFO] [stdout] | [INFO] [stdout] 3 | use openssl::pkey::{PKey, Private, Public, Id}; [INFO] [stdout] | ^^^^^^^ ^^^^^^ ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `TrySha256Digest` and `digest` [INFO] [stdout] --> src/signatures.rs:6:14 [INFO] [stdout] | [INFO] [stdout] 6 | use sha256::{digest, TrySha256Digest}; [INFO] [stdout] | ^^^^^^ ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `MineRequest` and `MineResponse` [INFO] [stdout] --> src/signatures.rs:8:89 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::proto::{Block, FindNodeRequest, FindNodeResponse, JoinRequest, JoinResponse, MineRequest, MineResponse, NeighboursRequest, Nei... [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Ipv4Addr` [INFO] [stdout] --> src/nodes_init.rs:1:16 [INFO] [stdout] | [INFO] [stdout] 1 | use std::net::{Ipv4Addr, SocketAddr}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `endpoint::*` [INFO] [stdout] --> src/auto_client.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use endpoint::*; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `util::*` [INFO] [stdout] --> src/auto_client.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use util::*; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rand::Rng` [INFO] [stdout] --> src/auto_client.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use rand::Rng; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `requests::*` [INFO] [stdout] --> src/auto_client.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use requests::*; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::error::Error` [INFO] [stdout] --> src/auto_client.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::error::Error; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fmt::format` [INFO] [stdout] --> src/auto_client.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::fmt::format; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `core::net::SocketAddr` [INFO] [stdout] --> src/auto_client.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use core::net::SocketAddr; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tokio::task` [INFO] [stdout] --> src/auto_client.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use tokio::task; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Response` and `Status` [INFO] [stdout] --> src/auto_client.rs:12:13 [INFO] [stdout] | [INFO] [stdout] 12 | use tonic::{Response, Status}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Endpoint` and `Server` [INFO] [stdout] --> src/auto_client.rs:13:24 [INFO] [stdout] | [INFO] [stdout] 13 | use tonic::transport::{Endpoint, Server}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `node::*` [INFO] [stdout] --> src/auto_client.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use node::*; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `proto::miner_server::*` [INFO] [stdout] --> src/auto_client.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use proto::miner_server::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BucketNode`, `JoinResponse`, `KBucket`, `NodeInfo`, and `Node` [INFO] [stdout] --> src/auto_client.rs:16:20 [INFO] [stdout] | [INFO] [stdout] 16 | use crate::proto::{NodeInfo, BucketNode, KBucket, Node, JoinResponse}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^^ ^^^^^^^ ^^^^ ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::signatures::*` [INFO] [stdout] --> src/auto_client.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | use crate::signatures::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `blockchain::*` [INFO] [stdout] --> src/auto_client.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | use blockchain::*; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `prost::Message` [INFO] [stdout] --> src/endpoint.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use prost::Message; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `update_request` [INFO] [stdout] --> src/endpoint.rs:6:116 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::requests::{find_node, mine_request, neighbours_request, transaction_request, update_blockchain_request, update_request}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::error::Error` [INFO] [stdout] --> src/node.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::error::Error; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `AsFd` and `AsRawFd` [INFO] [stdout] --> src/node.rs:4:19 [INFO] [stdout] | [INFO] [stdout] 4 | use std::os::fd::{AsFd, AsRawFd}; [INFO] [stdout] | ^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tokio::net::TcpSocket` [INFO] [stdout] --> src/node.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use tokio::net::TcpSocket; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fmt::format` [INFO] [stdout] --> src/blockchain.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::fmt::format; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::net::SocketAddr` [INFO] [stdout] --> src/blockchain.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::net::SocketAddr; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::proto::endpoint_server::Endpoint` [INFO] [stdout] --> src/blockchain.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::proto::endpoint_server::Endpoint; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `find_node` and `update_request` [INFO] [stdout] --> src/blockchain.rs:6:23 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::requests::{find_node, update_request}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::signatures::*` [INFO] [stdout] --> src/blockchain.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::signatures::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::endpoint::*` [INFO] [stdout] --> src/blockchain.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use crate::endpoint::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `NodeInfo`, `Node`, `RetrieveBlockchainRequest`, `RetrieveBlockchainResponse`, `Signature`, `TransactionRequest`, and `TransactionResponse` [INFO] [stdout] --> src/blockchain.rs:11:83 [INFO] [stdout] | [INFO] [stdout] 11 | ...onse, Node, NodeInfo, RetrieveBlockchainRequest, RetrieveBlockchainResponse, Signature, TransactionRequest, TransactionResponse}; [INFO] [stdout] | ^^^^ ^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `RetrieveBlockchainResponse` [INFO] [stdout] --> src/requests.rs:5:88 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::proto::{NeighboursRequest, Node, NodeInfo, UpdateRequest, Signature, Block, RetrieveBlockchainResponse, RetrieveBlockchainRequ... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fmt::format` [INFO] [stdout] --> src/signatures.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::fmt::format; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Id`, `Private`, and `Public` [INFO] [stdout] --> src/signatures.rs:3:27 [INFO] [stdout] | [INFO] [stdout] 3 | use openssl::pkey::{PKey, Private, Public, Id}; [INFO] [stdout] | ^^^^^^^ ^^^^^^ ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `TrySha256Digest` and `digest` [INFO] [stdout] --> src/signatures.rs:6:14 [INFO] [stdout] | [INFO] [stdout] 6 | use sha256::{digest, TrySha256Digest}; [INFO] [stdout] | ^^^^^^ ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `MineRequest` and `MineResponse` [INFO] [stdout] --> src/signatures.rs:8:89 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::proto::{Block, FindNodeRequest, FindNodeResponse, JoinRequest, JoinResponse, MineRequest, MineResponse, NeighboursRequest, Nei... [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Ipv4Addr` [INFO] [stdout] --> src/nodes_init.rs:1:16 [INFO] [stdout] | [INFO] [stdout] 1 | use std::net::{Ipv4Addr, SocketAddr}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `client` is never read [INFO] [stdout] --> src/single_client.rs:83:9 [INFO] [stdout] | [INFO] [stdout] 83 | client = create_client(None, false).await.expect("FAILURE CREATING CLIENT NODE").unwrap(); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/server.rs:25:9 [INFO] [stdout] | [INFO] [stdout] 25 | for mut i in 1..BOOTSTRAP_PORTS.len() { [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `proto::miner_server::*` [INFO] [stdout] --> src/server.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use proto::miner_server::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::signatures::*` [INFO] [stdout] --> src/server.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::signatures::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `blockchain::*` [INFO] [stdout] --> src/server.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use blockchain::*; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `prost::Message` [INFO] [stdout] --> src/endpoint.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use prost::Message; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `update_request` [INFO] [stdout] --> src/endpoint.rs:6:116 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::requests::{find_node, mine_request, neighbours_request, transaction_request, update_blockchain_request, update_request}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::error::Error` [INFO] [stdout] --> src/node.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::error::Error; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `AsFd` and `AsRawFd` [INFO] [stdout] --> src/node.rs:4:19 [INFO] [stdout] | [INFO] [stdout] 4 | use std::os::fd::{AsFd, AsRawFd}; [INFO] [stdout] | ^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tokio::net::TcpSocket` [INFO] [stdout] --> src/node.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use tokio::net::TcpSocket; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `RetrieveBlockchainResponse` [INFO] [stdout] --> src/requests.rs:5:88 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::proto::{NeighboursRequest, Node, NodeInfo, UpdateRequest, Signature, Block, RetrieveBlockchainResponse, RetrieveBlockchainRequ... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fmt::format` [INFO] [stdout] --> src/signatures.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::fmt::format; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Id`, `Private`, and `Public` [INFO] [stdout] --> src/signatures.rs:3:27 [INFO] [stdout] | [INFO] [stdout] 3 | use openssl::pkey::{PKey, Private, Public, Id}; [INFO] [stdout] | ^^^^^^^ ^^^^^^ ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `TrySha256Digest` and `digest` [INFO] [stdout] --> src/signatures.rs:6:14 [INFO] [stdout] | [INFO] [stdout] 6 | use sha256::{digest, TrySha256Digest}; [INFO] [stdout] | ^^^^^^ ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `client` is never read [INFO] [stdout] --> src/single_client.rs:83:9 [INFO] [stdout] | [INFO] [stdout] 83 | client = create_client(None, false).await.expect("FAILURE CREATING CLIENT NODE").unwrap(); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `MineRequest` and `MineResponse` [INFO] [stdout] --> src/signatures.rs:8:89 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::proto::{Block, FindNodeRequest, FindNodeResponse, JoinRequest, JoinResponse, MineRequest, MineResponse, NeighboursRequest, Nei... [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fmt::format` [INFO] [stdout] --> src/blockchain.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::fmt::format; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::net::SocketAddr` [INFO] [stdout] --> src/blockchain.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::net::SocketAddr; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::proto::endpoint_server::Endpoint` [INFO] [stdout] --> src/blockchain.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::proto::endpoint_server::Endpoint; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `find_node` and `update_request` [INFO] [stdout] --> src/blockchain.rs:6:23 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::requests::{find_node, update_request}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::signatures::*` [INFO] [stdout] --> src/blockchain.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::signatures::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::endpoint::*` [INFO] [stdout] --> src/blockchain.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use crate::endpoint::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `NodeInfo`, `Node`, `RetrieveBlockchainRequest`, `RetrieveBlockchainResponse`, `Signature`, `TransactionRequest`, and `TransactionResponse` [INFO] [stdout] --> src/blockchain.rs:11:83 [INFO] [stdout] | [INFO] [stdout] 11 | ...onse, Node, NodeInfo, RetrieveBlockchainRequest, RetrieveBlockchainResponse, Signature, TransactionRequest, TransactionResponse}; [INFO] [stdout] | ^^^^ ^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Ipv4Addr` [INFO] [stdout] --> src/nodes_init.rs:1:16 [INFO] [stdout] | [INFO] [stdout] 1 | use std::net::{Ipv4Addr, SocketAddr}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/server.rs:25:9 [INFO] [stdout] | [INFO] [stdout] 25 | for mut i in 1..BOOTSTRAP_PORTS.len() { [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `request` [INFO] [stdout] --> src/blockchain.rs:41:27 [INFO] [stdout] | [INFO] [stdout] 41 | async fn abort(&self, request: Request) -> Result, Status> { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_request` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/blockchain.rs:57:13 [INFO] [stdout] | [INFO] [stdout] 57 | let mut current_transactions = std::sync::Arc::from(tokio::sync::RwLock::from(Vec::new())); [INFO] [stdout] | ----^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/blockchain.rs:58:13 [INFO] [stdout] | [INFO] [stdout] 58 | let mut queued_transactions = std::sync::Arc::from(tokio::sync::RwLock::from(Vec::new())); [INFO] [stdout] | ----^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `request` [INFO] [stdout] --> src/blockchain.rs:41:27 [INFO] [stdout] | [INFO] [stdout] 41 | async fn abort(&self, request: Request) -> Result, Status> { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_request` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/blockchain.rs:59:13 [INFO] [stdout] | [INFO] [stdout] 59 | let mut active_bids = std::sync::Arc::from(tokio::sync::RwLock::from(Vec::new())); [INFO] [stdout] | ----^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/blockchain.rs:112:9 [INFO] [stdout] | [INFO] [stdout] 112 | for i in 0..PREFIX_LENGTH{ [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/blockchain.rs:57:13 [INFO] [stdout] | [INFO] [stdout] 57 | let mut current_transactions = std::sync::Arc::from(tokio::sync::RwLock::from(Vec::new())); [INFO] [stdout] | ----^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/blockchain.rs:58:13 [INFO] [stdout] | [INFO] [stdout] 58 | let mut queued_transactions = std::sync::Arc::from(tokio::sync::RwLock::from(Vec::new())); [INFO] [stdout] | ----^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/blockchain.rs:59:13 [INFO] [stdout] | [INFO] [stdout] 59 | let mut active_bids = std::sync::Arc::from(tokio::sync::RwLock::from(Vec::new())); [INFO] [stdout] | ----^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/blockchain.rs:112:9 [INFO] [stdout] | [INFO] [stdout] 112 | for i in 0..PREFIX_LENGTH{ [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `source_id` [INFO] [stdout] --> src/signatures.rs:78:28 [INFO] [stdout] | [INFO] [stdout] 78 | pub fn sign_remove_request(source_id:String, node:NodeInfo, skey:Vec) -> Vec{ [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_source_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `source_id` [INFO] [stdout] --> src/signatures.rs:78:28 [INFO] [stdout] | [INFO] [stdout] 78 | pub fn sign_remove_request(source_id:String, node:NodeInfo, skey:Vec) -> Vec{ [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_source_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/auto_client.rs:59:17 [INFO] [stdout] | [INFO] [stdout] 59 | for i in 0..miner_number.trim().parse::().unwrap(){ [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/auto_client.rs:62:17 [INFO] [stdout] | [INFO] [stdout] 62 | for i in 0..client_number.trim().parse::().unwrap(){ [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/auto_client.rs:51:9 [INFO] [stdout] | [INFO] [stdout] 51 | let mut miner_number = entry(0); [INFO] [stdout] | ----^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/auto_client.rs:52:9 [INFO] [stdout] | [INFO] [stdout] 52 | let mut client_number = entry(1); [INFO] [stdout] | ----^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/auto_client.rs:59:17 [INFO] [stdout] | [INFO] [stdout] 59 | for i in 0..miner_number.trim().parse::().unwrap(){ [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/auto_client.rs:62:17 [INFO] [stdout] | [INFO] [stdout] 62 | for i in 0..client_number.trim().parse::().unwrap(){ [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/auto_client.rs:51:9 [INFO] [stdout] | [INFO] [stdout] 51 | let mut miner_number = entry(0); [INFO] [stdout] | ----^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/auto_client.rs:52:9 [INFO] [stdout] | [INFO] [stdout] 52 | let mut client_number = entry(1); [INFO] [stdout] | ----^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `GENESIS` is never used [INFO] [stdout] --> src/util.rs:14:11 [INFO] [stdout] | [INFO] [stdout] 14 | pub const GENESIS: &str = "00f151242e0010e58cde0d6644d9db53a8552f0e2d26628c9a72199005b5a76e"; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_input` is never used [INFO] [stdout] --> src/util.rs:23:8 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn parse_input() -> i32{ [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `active_bids` is never read [INFO] [stdout] --> src/blockchain.rs:49:9 [INFO] [stdout] | [INFO] [stdout] 47 | pub struct MinerInfo{ [INFO] [stdout] | --------- field in this struct [INFO] [stdout] 48 | pub current_transactions: std::sync::Arc>>, [INFO] [stdout] 49 | pub active_bids: std::sync::Arc>>, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MinerInfo` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `retrieve_blockchain_request` is never used [INFO] [stdout] --> src/requests.rs:108:14 [INFO] [stdout] | [INFO] [stdout] 108 | pub async fn retrieve_blockchain_request(source:Node, url:String) -> Vec{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `obtain_transactions_request` is never used [INFO] [stdout] --> src/requests.rs:147:14 [INFO] [stdout] | [INFO] [stdout] 147 | pub async fn obtain_transactions_request(source:Node, url:String) -> Vec{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `sign_obtain_transactions_request` is never used [INFO] [stdout] --> src/signatures.rs:176:8 [INFO] [stdout] | [INFO] [stdout] 176 | pub fn sign_obtain_transactions_request(source_id:String, skey:Vec) -> Vec{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `verify_obtain_transactions_response` is never used [INFO] [stdout] --> src/signatures.rs:193:8 [INFO] [stdout] | [INFO] [stdout] 193 | pub fn verify_obtain_transactions_response(response:ObtainTransactionsResponse){ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `sign_retrieve_blockchain_response` is never used [INFO] [stdout] --> src/signatures.rs:211:8 [INFO] [stdout] | [INFO] [stdout] 211 | pub fn sign_retrieve_blockchain_response(source_id:String, blockchain:Vec, skey:Vec) -> Vec{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `verify_retrieve_blockchain_response` is never used [INFO] [stdout] --> src/signatures.rs:218:8 [INFO] [stdout] | [INFO] [stdout] 218 | pub fn verify_retrieve_blockchain_response(response: RetrieveBlockchainResponse){ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `sign_update_blockchain_response` is never used [INFO] [stdout] --> src/signatures.rs:240:8 [INFO] [stdout] | [INFO] [stdout] 240 | pub fn sign_update_blockchain_response(source_id:String, skey:Vec) -> Vec{ [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/auto_client.rs:68:15 [INFO] [stdout] | [INFO] [stdout] 49 | let token = CancellationToken::new(); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 68 | match signal::ctrl_c().await { [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/endpoint.rs:53:100 [INFO] [stdout] | [INFO] [stdout] 53 | async fn join(&self, request: Request) -> Result, Status> { [INFO] [stdout] | __________________________-----------------------------_____________________________________________^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 54 | | let req = request.get_ref().clone().node.unwrap().info; [INFO] [stdout] 55 | | verify_join_request(request.get_ref().clone()); [INFO] [stdout] 56 | | let mut neighbours = Vec::new(); [INFO] [stdout] ... | [INFO] [stdout] 81 | | Ok(Response::new(JoinResponse{ neighbours, blockchain:self.node.read().await.clone().blockchain, sign:Option::from(sign) })) [INFO] [stdout] 82 | | } [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/endpoint.rs:83:111 [INFO] [stdout] | [INFO] [stdout] 83 | async fn find_node(&self, request: Request) -> Result, Status>{ [INFO] [stdout] | _______________________________---------------------------------_______________________________________________^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 84 | | self.is_correct_key(request.get_ref().clone().source_id, request.get_ref().clone().sign.unwrap()).await; [INFO] [stdout] 85 | | verify_find_node_request(request.get_ref().clone()); [INFO] [stdout] 86 | | println!("NODE {} FINDING {}", self.node.read().await.info.clone().unwrap().id, request.get_ref().clone().target); [INFO] [stdout] ... | [INFO] [stdout] 102 | | Ok(Response::new(FindNodeResponse{source_id:self.node.read().await.clone().info.unwrap().id,node:None, sign:None})) [INFO] [stdout] 103 | | } [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/endpoint.rs:104:110 [INFO] [stdout] | [INFO] [stdout] 104 | async fn update_node(&self, request: Request) -> Result, Status> { [INFO] [stdout] | _________________________________-------------------------------______________________________________________^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 105 | | verify_update_request(request.get_ref().clone()); [INFO] [stdout] 106 | | let nodes = request.get_ref().clone().neighbours; [INFO] [stdout] 107 | | for i in nodes{ [INFO] [stdout] ... | [INFO] [stdout] 115 | | return Ok(Response::new(UpdateResponse{ source_id:self.node.read().await.clone().info.unwrap().id,response:true, sign:Option::fro... [INFO] [stdout] 116 | | } [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/endpoint.rs:117:120 [INFO] [stdout] | [INFO] [stdout] 117 | async fn get_neighbours(&self, request: Request) -> Result, Status>{ [INFO] [stdout] | ____________________________________-----------------------------------_________________________________________________^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 118 | | self.is_correct_key(request.get_ref().clone().source_id, request.get_ref().clone().sign.unwrap()).await; [INFO] [stdout] 119 | | verify_neighbours_request(request.get_ref().clone()); [INFO] [stdout] 120 | | let neighbours=self.node.read().await.get_neighbours(); [INFO] [stdout] ... | [INFO] [stdout] 123 | | return Ok(Response::new(NeighboursResponse{ source_id:self.node.read().await.clone().info.unwrap().id,neighbours, sign:Option::fr... [INFO] [stdout] 124 | | } [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/endpoint.rs:125:109 [INFO] [stdout] | [INFO] [stdout] 125 | async fn remove_node(&self, request: Request) -> Result, Status>{ [INFO] [stdout] | _________________________________-------------------------------_____________________________________________^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 126 | | self.is_correct_key(request.get_ref().clone().source_id, request.get_ref().clone().sign.unwrap()).await; [INFO] [stdout] 127 | | verify_remove_request(request.get_ref().clone()); [INFO] [stdout] 128 | | let mut node = self.node.write().await; [INFO] [stdout] ... | [INFO] [stdout] 134 | | Ok(Response::new(RemoveResponse{ source_id:node.clone().info.unwrap().id,success:true, sign:Option::from(sign)})) [INFO] [stdout] 135 | | } [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/endpoint.rs:137:120 [INFO] [stdout] | [INFO] [stdout] 137 | async fn transaction(&self, request: Request) -> Result, Status> { [INFO] [stdout] | _________________________________------------------------------------___________________________________________________^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 138 | | self.is_correct_key(request.get_ref().clone().source_id, request.get_ref().clone().sign.unwrap()).await; [INFO] [stdout] 139 | | verify_transaction_request(request.get_ref().clone()); [INFO] [stdout] 140 | | let mut status = "".to_string(); [INFO] [stdout] ... | [INFO] [stdout] 168 | | Ok(Response::new(TransactionResponse{source_id:info.clone().id,state:status, sign})) [INFO] [stdout] 169 | | } [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/endpoint.rs:171:142 [INFO] [stdout] | [INFO] [stdout] 171 | async fn obtain_transactions(&self, request: Request) -> Result, Status> { [INFO] [stdout] | _________________________________________-------------------------------------------__________________________________________________________^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 172 | | self.is_correct_key(request.get_ref().clone().source_id, request.get_ref().clone().sign.unwrap()).await; [INFO] [stdout] 173 | | verify_obtain_transactions_request(request.get_ref().clone()); [INFO] [stdout] 174 | | let node = self.node.read().await.clone(); [INFO] [stdout] ... | [INFO] [stdout] 178 | | Ok(Response::new(ObtainTransactionsResponse{source_id:info.clone().id,transactions:self.transaction_list.clone().read().await.clone(), si... [INFO] [stdout] 179 | | } [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/endpoint.rs:181:142 [INFO] [stdout] | [INFO] [stdout] 181 | async fn retrieve_blockchain(&self, request: Request) -> Result, Status> { [INFO] [stdout] | _________________________________________-------------------------------------------__________________________________________________________^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 182 | | self.is_correct_key(request.get_ref().clone().source_id, request.get_ref().clone().sign.unwrap()).await; [INFO] [stdout] 183 | | verify_retrieve_blockchain_request(request.get_ref().clone()); [INFO] [stdout] 184 | | let blockchain = self.blocks.read().await.clone(); [INFO] [stdout] ... | [INFO] [stdout] 188 | | Ok(Response::new(RetrieveBlockchainResponse{source_id:self.node.read().await.clone().info.unwrap().id,blockchain, sign})) [INFO] [stdout] 189 | | } [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/endpoint.rs:191:136 [INFO] [stdout] | [INFO] [stdout] 191 | async fn update_blockchain(&self, request: Request) -> Result, Status> { [INFO] [stdout] | _______________________________________-----------------------------------------________________________________________________________^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 192 | | self.is_correct_key(request.get_ref().clone().source_id, request.get_ref().clone().sign.unwrap()).await; [INFO] [stdout] 193 | | verify_update_blockchain_request(request.get_ref().clone()); [INFO] [stdout] 194 | | let mut temp = self.blocks.read().await.clone(); [INFO] [stdout] ... | [INFO] [stdout] 197 | | todo!() [INFO] [stdout] 198 | | } [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/endpoint.rs:200:115 [INFO] [stdout] | [INFO] [stdout] 200 | async fn create_bid(&self, request: Request) -> Result, Status> { [INFO] [stdout] | ________________________________----------------------------------_________________________________________________^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 201 | | self.is_correct_key(request.get_ref().clone().source_id, request.get_ref().clone().sign.unwrap()).await; [INFO] [stdout] 202 | | todo!() [INFO] [stdout] 203 | | } [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/endpoint.rs:205:112 [INFO] [stdout] | [INFO] [stdout] 205 | async fn bid_value(&self, request: Request) -> Result, Status> { [INFO] [stdout] | _______________________________---------------------------------________________________________________________^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 206 | | self.is_correct_key(request.get_ref().clone().source_id, request.get_ref().clone().sign.unwrap()).await; [INFO] [stdout] 207 | | todo!() [INFO] [stdout] 208 | | } [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/util.rs:37:6 [INFO] [stdout] | [INFO] [stdout] 36 | let keypair = Rsa::generate(1024).unwrap(); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 37 | (keypair.private_key_to_pem().unwrap(), keypair.public_key_to_pem().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/util.rs:37:45 [INFO] [stdout] | [INFO] [stdout] 36 | let keypair = Rsa::generate(1024).unwrap(); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 37 | (keypair.private_key_to_pem().unwrap(), keypair.public_key_to_pem().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/util.rs:57:12 [INFO] [stdout] | [INFO] [stdout] 49 | let socket = TcpSocket::new_v4(); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 57 | Ok(None) [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] --> /opt/rustwide/target/debug/build/ssd-f356d585611e8990/out/kademlia.rs:398:33 [INFO] [stdout] | [INFO] [stdout] 382 | inner: T, [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 383 | interceptor: F, [INFO] [stdout] | -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 398 | EndpointClient::new(InterceptedService::new(inner, interceptor)) [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] --> /opt/rustwide/target/debug/build/ssd-f356d585611e8990/out/kademlia.rs:748:30 [INFO] [stdout] | [INFO] [stdout] 732 | inner: T, [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 733 | interceptor: F, [INFO] [stdout] | -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 748 | MinerClient::new(InterceptedService::new(inner, interceptor)) [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] --> /opt/rustwide/target/debug/build/ssd-f356d585611e8990/out/kademlia.rs:908:28 [INFO] [stdout] | [INFO] [stdout] 907 | pub fn new(inner: T) -> Self { [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 908 | Self::from_arc(Arc::new(inner)) [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] --> /opt/rustwide/target/debug/build/ssd-f356d585611e8990/out/kademlia.rs:927:37 [INFO] [stdout] | [INFO] [stdout] 921 | inner: T, [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 922 | interceptor: F, [INFO] [stdout] | -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 927 | InterceptedService::new(Self::new(inner), interceptor) [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] --> /opt/rustwide/target/debug/build/ssd-f356d585611e8990/out/kademlia.rs:992:72 [INFO] [stdout] | [INFO] [stdout] 988 | ... request: tonic::Request, [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 989 | ... ) -> Self::Future { [INFO] [stdout] 990 | ... let inner = Arc::clone(&self.0); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 991 | ... let fut = async move { [INFO] [stdout] 992 | ... ::join(&inner, request).await [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] --> /opt/rustwide/target/debug/build/ssd-f356d585611e8990/out/kademlia.rs:1036:77 [INFO] [stdout] | [INFO] [stdout] 1032 | ... request: tonic::Request, [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1033 | ... ) -> Self::Future { [INFO] [stdout] 1034 | ... let inner = Arc::clone(&self.0); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1035 | ... let fut = async move { [INFO] [stdout] 1036 | ... ::find_node(&inner, request).await [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: constant `GENESIS` is never used [INFO] [stdout] --> src/util.rs:14:11 [INFO] [stdout] | [INFO] [stdout] 14 | pub const GENESIS: &str = "00f151242e0010e58cde0d6644d9db53a8552f0e2d26628c9a72199005b5a76e"; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_input` is never used [INFO] [stdout] --> src/util.rs:23:8 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn parse_input() -> i32{ [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `active_bids` is never read [INFO] [stdout] --> src/blockchain.rs:49:9 [INFO] [stdout] | [INFO] [stdout] 47 | pub struct MinerInfo{ [INFO] [stdout] | --------- field in this struct [INFO] [stdout] 48 | pub current_transactions: std::sync::Arc>>, [INFO] [stdout] 49 | pub active_bids: std::sync::Arc>>, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MinerInfo` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `retrieve_blockchain_request` is never used [INFO] [stdout] --> src/requests.rs:108:14 [INFO] [stdout] | [INFO] [stdout] 108 | pub async fn retrieve_blockchain_request(source:Node, url:String) -> Vec{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `obtain_transactions_request` is never used [INFO] [stdout] --> src/requests.rs:147:14 [INFO] [stdout] | [INFO] [stdout] 147 | pub async fn obtain_transactions_request(source:Node, url:String) -> Vec{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `sign_obtain_transactions_request` is never used [INFO] [stdout] --> src/signatures.rs:176:8 [INFO] [stdout] | [INFO] [stdout] 176 | pub fn sign_obtain_transactions_request(source_id:String, skey:Vec) -> Vec{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `verify_obtain_transactions_response` is never used [INFO] [stdout] --> src/signatures.rs:193:8 [INFO] [stdout] | [INFO] [stdout] 193 | pub fn verify_obtain_transactions_response(response:ObtainTransactionsResponse){ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `sign_retrieve_blockchain_response` is never used [INFO] [stdout] --> src/signatures.rs:211:8 [INFO] [stdout] | [INFO] [stdout] 211 | pub fn sign_retrieve_blockchain_response(source_id:String, blockchain:Vec, skey:Vec) -> Vec{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `verify_retrieve_blockchain_response` is never used [INFO] [stdout] --> src/signatures.rs:218:8 [INFO] [stdout] | [INFO] [stdout] 218 | pub fn verify_retrieve_blockchain_response(response: RetrieveBlockchainResponse){ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `sign_update_blockchain_response` is never used [INFO] [stdout] --> src/signatures.rs:240:8 [INFO] [stdout] | [INFO] [stdout] 240 | pub fn sign_update_blockchain_response(source_id:String, skey:Vec) -> Vec{ [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] --> /opt/rustwide/target/debug/build/ssd-f356d585611e8990/out/kademlia.rs:1080:79 [INFO] [stdout] | [INFO] [stdout] 1076 | ... request: tonic::Request, [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1077 | ... ) -> Self::Future { [INFO] [stdout] 1078 | ... let inner = Arc::clone(&self.0); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1079 | ... let fut = async move { [INFO] [stdout] 1080 | ... ::update_node(&inner, request).await [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] --> /opt/rustwide/target/debug/build/ssd-f356d585611e8990/out/kademlia.rs:1126:82 [INFO] [stdout] | [INFO] [stdout] 1122 | ... request: tonic::Request, [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1123 | ... ) -> Self::Future { [INFO] [stdout] 1124 | ... let inner = Arc::clone(&self.0); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1125 | ... let fut = async move { [INFO] [stdout] 1126 | ... ::get_neighbours(&inner, request).await [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] --> /opt/rustwide/target/debug/build/ssd-f356d585611e8990/out/kademlia.rs:1170:79 [INFO] [stdout] | [INFO] [stdout] 1166 | ... request: tonic::Request, [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1167 | ... ) -> Self::Future { [INFO] [stdout] 1168 | ... let inner = Arc::clone(&self.0); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1169 | ... let fut = async move { [INFO] [stdout] 1170 | ... ::remove_node(&inner, request).await [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/auto_client.rs:68:15 [INFO] [stdout] | [INFO] [stdout] 49 | let token = CancellationToken::new(); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 68 | match signal::ctrl_c().await { [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] --> /opt/rustwide/target/debug/build/ssd-f356d585611e8990/out/kademlia.rs:1216:79 [INFO] [stdout] | [INFO] [stdout] 1212 | ... request: tonic::Request, [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1213 | ... ) -> Self::Future { [INFO] [stdout] 1214 | ... let inner = Arc::clone(&self.0); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1215 | ... let fut = async move { [INFO] [stdout] 1216 | ... ::transaction(&inner, request).await [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/endpoint.rs:53:100 [INFO] [stdout] | [INFO] [stdout] 53 | async fn join(&self, request: Request) -> Result, Status> { [INFO] [stdout] | __________________________-----------------------------_____________________________________________^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 54 | | let req = request.get_ref().clone().node.unwrap().info; [INFO] [stdout] 55 | | verify_join_request(request.get_ref().clone()); [INFO] [stdout] 56 | | let mut neighbours = Vec::new(); [INFO] [stdout] ... | [INFO] [stdout] 81 | | Ok(Response::new(JoinResponse{ neighbours, blockchain:self.node.read().await.clone().blockchain, sign:Option::from(sign) })) [INFO] [stdout] 82 | | } [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] --> /opt/rustwide/target/debug/build/ssd-f356d585611e8990/out/kademlia.rs:1262:87 [INFO] [stdout] | [INFO] [stdout] 1258 | ... request: tonic::Request, [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1259 | ... ) -> Self::Future { [INFO] [stdout] 1260 | ... let inner = Arc::clone(&self.0); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1261 | ... let fut = async move { [INFO] [stdout] 1262 | ... ::obtain_transactions(&inner, request).await [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/endpoint.rs:83:111 [INFO] [stdout] | [INFO] [stdout] 83 | async fn find_node(&self, request: Request) -> Result, Status>{ [INFO] [stdout] | _______________________________---------------------------------_______________________________________________^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 84 | | self.is_correct_key(request.get_ref().clone().source_id, request.get_ref().clone().sign.unwrap()).await; [INFO] [stdout] 85 | | verify_find_node_request(request.get_ref().clone()); [INFO] [stdout] 86 | | println!("NODE {} FINDING {}", self.node.read().await.info.clone().unwrap().id, request.get_ref().clone().target); [INFO] [stdout] ... | [INFO] [stdout] 102 | | Ok(Response::new(FindNodeResponse{source_id:self.node.read().await.clone().info.unwrap().id,node:None, sign:None})) [INFO] [stdout] 103 | | } [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] --> /opt/rustwide/target/debug/build/ssd-f356d585611e8990/out/kademlia.rs:1308:87 [INFO] [stdout] | [INFO] [stdout] 1304 | ... request: tonic::Request, [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1305 | ... ) -> Self::Future { [INFO] [stdout] 1306 | ... let inner = Arc::clone(&self.0); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1307 | ... let fut = async move { [INFO] [stdout] 1308 | ... ::retrieve_blockchain(&inner, request).await [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/endpoint.rs:104:110 [INFO] [stdout] | [INFO] [stdout] 104 | async fn update_node(&self, request: Request) -> Result, Status> { [INFO] [stdout] | _________________________________-------------------------------______________________________________________^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 105 | | verify_update_request(request.get_ref().clone()); [INFO] [stdout] 106 | | let nodes = request.get_ref().clone().neighbours; [INFO] [stdout] 107 | | for i in nodes{ [INFO] [stdout] ... | [INFO] [stdout] 115 | | return Ok(Response::new(UpdateResponse{ source_id:self.node.read().await.clone().info.unwrap().id,response:true, sign:Option::fro... [INFO] [stdout] 116 | | } [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/endpoint.rs:117:120 [INFO] [stdout] | [INFO] [stdout] 117 | async fn get_neighbours(&self, request: Request) -> Result, Status>{ [INFO] [stdout] | ____________________________________-----------------------------------_________________________________________________^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 118 | | self.is_correct_key(request.get_ref().clone().source_id, request.get_ref().clone().sign.unwrap()).await; [INFO] [stdout] 119 | | verify_neighbours_request(request.get_ref().clone()); [INFO] [stdout] 120 | | let neighbours=self.node.read().await.get_neighbours(); [INFO] [stdout] ... | [INFO] [stdout] 123 | | return Ok(Response::new(NeighboursResponse{ source_id:self.node.read().await.clone().info.unwrap().id,neighbours, sign:Option::fr... [INFO] [stdout] 124 | | } [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] --> /opt/rustwide/target/debug/build/ssd-f356d585611e8990/out/kademlia.rs:1354:85 [INFO] [stdout] | [INFO] [stdout] 1350 | ... request: tonic::Request, [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1351 | ... ) -> Self::Future { [INFO] [stdout] 1352 | ... let inner = Arc::clone(&self.0); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1353 | ... let fut = async move { [INFO] [stdout] 1354 | ... ::update_blockchain(&inner, request).await [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/endpoint.rs:125:109 [INFO] [stdout] | [INFO] [stdout] 125 | async fn remove_node(&self, request: Request) -> Result, Status>{ [INFO] [stdout] | _________________________________-------------------------------_____________________________________________^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 126 | | self.is_correct_key(request.get_ref().clone().source_id, request.get_ref().clone().sign.unwrap()).await; [INFO] [stdout] 127 | | verify_remove_request(request.get_ref().clone()); [INFO] [stdout] 128 | | let mut node = self.node.write().await; [INFO] [stdout] ... | [INFO] [stdout] 134 | | Ok(Response::new(RemoveResponse{ source_id:node.clone().info.unwrap().id,success:true, sign:Option::from(sign)})) [INFO] [stdout] 135 | | } [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] --> /opt/rustwide/target/debug/build/ssd-f356d585611e8990/out/kademlia.rs:1400:78 [INFO] [stdout] | [INFO] [stdout] 1396 | ... request: tonic::Request, [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1397 | ... ) -> Self::Future { [INFO] [stdout] 1398 | ... let inner = Arc::clone(&self.0); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1399 | ... let fut = async move { [INFO] [stdout] 1400 | ... ::create_bid(&inner, request).await [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/endpoint.rs:137:120 [INFO] [stdout] | [INFO] [stdout] 137 | async fn transaction(&self, request: Request) -> Result, Status> { [INFO] [stdout] | _________________________________------------------------------------___________________________________________________^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 138 | | self.is_correct_key(request.get_ref().clone().source_id, request.get_ref().clone().sign.unwrap()).await; [INFO] [stdout] 139 | | verify_transaction_request(request.get_ref().clone()); [INFO] [stdout] 140 | | let mut status = "".to_string(); [INFO] [stdout] ... | [INFO] [stdout] 168 | | Ok(Response::new(TransactionResponse{source_id:info.clone().id,state:status, sign})) [INFO] [stdout] 169 | | } [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] --> /opt/rustwide/target/debug/build/ssd-f356d585611e8990/out/kademlia.rs:1444:77 [INFO] [stdout] | [INFO] [stdout] 1440 | ... request: tonic::Request, [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1441 | ... ) -> Self::Future { [INFO] [stdout] 1442 | ... let inner = Arc::clone(&self.0); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1443 | ... let fut = async move { [INFO] [stdout] 1444 | ... ::bid_value(&inner, request).await [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/endpoint.rs:171:142 [INFO] [stdout] | [INFO] [stdout] 171 | async fn obtain_transactions(&self, request: Request) -> Result, Status> { [INFO] [stdout] | _________________________________________-------------------------------------------__________________________________________________________^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 172 | | self.is_correct_key(request.get_ref().clone().source_id, request.get_ref().clone().sign.unwrap()).await; [INFO] [stdout] 173 | | verify_obtain_transactions_request(request.get_ref().clone()); [INFO] [stdout] 174 | | let node = self.node.read().await.clone(); [INFO] [stdout] ... | [INFO] [stdout] 178 | | Ok(Response::new(ObtainTransactionsResponse{source_id:info.clone().id,transactions:self.transaction_list.clone().read().await.clone(), si... [INFO] [stdout] 179 | | } [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/endpoint.rs:181:142 [INFO] [stdout] | [INFO] [stdout] 181 | async fn retrieve_blockchain(&self, request: Request) -> Result, Status> { [INFO] [stdout] | _________________________________________-------------------------------------------__________________________________________________________^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 182 | | self.is_correct_key(request.get_ref().clone().source_id, request.get_ref().clone().sign.unwrap()).await; [INFO] [stdout] 183 | | verify_retrieve_blockchain_request(request.get_ref().clone()); [INFO] [stdout] 184 | | let blockchain = self.blocks.read().await.clone(); [INFO] [stdout] ... | [INFO] [stdout] 188 | | Ok(Response::new(RetrieveBlockchainResponse{source_id:self.node.read().await.clone().info.unwrap().id,blockchain, sign})) [INFO] [stdout] 189 | | } [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] --> /opt/rustwide/target/debug/build/ssd-f356d585611e8990/out/kademlia.rs:1540:28 [INFO] [stdout] | [INFO] [stdout] 1539 | pub fn new(inner: T) -> Self { [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1540 | Self::from_arc(Arc::new(inner)) [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/endpoint.rs:191:136 [INFO] [stdout] | [INFO] [stdout] 191 | async fn update_blockchain(&self, request: Request) -> Result, Status> { [INFO] [stdout] | _______________________________________-----------------------------------------________________________________________________________^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 192 | | self.is_correct_key(request.get_ref().clone().source_id, request.get_ref().clone().sign.unwrap()).await; [INFO] [stdout] 193 | | verify_update_blockchain_request(request.get_ref().clone()); [INFO] [stdout] 194 | | let mut temp = self.blocks.read().await.clone(); [INFO] [stdout] ... | [INFO] [stdout] 197 | | todo!() [INFO] [stdout] 198 | | } [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] --> /opt/rustwide/target/debug/build/ssd-f356d585611e8990/out/kademlia.rs:1559:37 [INFO] [stdout] | [INFO] [stdout] 1553 | inner: T, [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1554 | interceptor: F, [INFO] [stdout] | -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1559 | InterceptedService::new(Self::new(inner), interceptor) [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/endpoint.rs:200:115 [INFO] [stdout] | [INFO] [stdout] 200 | async fn create_bid(&self, request: Request) -> Result, Status> { [INFO] [stdout] | ________________________________----------------------------------_________________________________________________^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 201 | | self.is_correct_key(request.get_ref().clone().source_id, request.get_ref().clone().sign.unwrap()).await; [INFO] [stdout] 202 | | todo!() [INFO] [stdout] 203 | | } [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/endpoint.rs:205:112 [INFO] [stdout] | [INFO] [stdout] 205 | async fn bid_value(&self, request: Request) -> Result, Status> { [INFO] [stdout] | _______________________________---------------------------------________________________________________________^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 206 | | self.is_correct_key(request.get_ref().clone().source_id, request.get_ref().clone().sign.unwrap()).await; [INFO] [stdout] 207 | | todo!() [INFO] [stdout] 208 | | } [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/util.rs:37:6 [INFO] [stdout] | [INFO] [stdout] 36 | let keypair = Rsa::generate(1024).unwrap(); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 37 | (keypair.private_key_to_pem().unwrap(), keypair.public_key_to_pem().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/util.rs:37:45 [INFO] [stdout] | [INFO] [stdout] 36 | let keypair = Rsa::generate(1024).unwrap(); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 37 | (keypair.private_key_to_pem().unwrap(), keypair.public_key_to_pem().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/util.rs:57:12 [INFO] [stdout] | [INFO] [stdout] 49 | let socket = TcpSocket::new_v4(); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 57 | Ok(None) [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] --> /opt/rustwide/target/debug/build/ssd-f356d585611e8990/out/kademlia.rs:1624:69 [INFO] [stdout] | [INFO] [stdout] 1620 | ... request: tonic::Request, [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1621 | ... ) -> Self::Future { [INFO] [stdout] 1622 | ... let inner = Arc::clone(&self.0); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1623 | ... let fut = async move { [INFO] [stdout] 1624 | ... ::mine(&inner, request).await [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] --> /opt/rustwide/target/debug/build/ssd-f356d585611e8990/out/kademlia.rs:1668:70 [INFO] [stdout] | [INFO] [stdout] 1664 | ... request: tonic::Request, [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1665 | ... ) -> Self::Future { [INFO] [stdout] 1666 | ... let inner = Arc::clone(&self.0); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1667 | ... let fut = async move { [INFO] [stdout] 1668 | ... ::abort(&inner, request).await [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] --> /opt/rustwide/target/debug/build/ssd-f356d585611e8990/out/kademlia.rs:398:33 [INFO] [stdout] | [INFO] [stdout] 382 | inner: T, [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 383 | interceptor: F, [INFO] [stdout] | -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 398 | EndpointClient::new(InterceptedService::new(inner, interceptor)) [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] --> /opt/rustwide/target/debug/build/ssd-f356d585611e8990/out/kademlia.rs:748:30 [INFO] [stdout] | [INFO] [stdout] 732 | inner: T, [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 733 | interceptor: F, [INFO] [stdout] | -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 748 | MinerClient::new(InterceptedService::new(inner, interceptor)) [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] --> /opt/rustwide/target/debug/build/ssd-f356d585611e8990/out/kademlia.rs:992:72 [INFO] [stdout] | [INFO] [stdout] 988 | ... request: tonic::Request, [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 989 | ... ) -> Self::Future { [INFO] [stdout] 990 | ... let inner = Arc::clone(&self.0); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 991 | ... let fut = async move { [INFO] [stdout] 992 | ... ::join(&inner, request).await [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] --> /opt/rustwide/target/debug/build/ssd-f356d585611e8990/out/kademlia.rs:1036:77 [INFO] [stdout] | [INFO] [stdout] 1032 | ... request: tonic::Request, [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1033 | ... ) -> Self::Future { [INFO] [stdout] 1034 | ... let inner = Arc::clone(&self.0); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1035 | ... let fut = async move { [INFO] [stdout] 1036 | ... ::find_node(&inner, request).await [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] --> /opt/rustwide/target/debug/build/ssd-f356d585611e8990/out/kademlia.rs:1080:79 [INFO] [stdout] | [INFO] [stdout] 1076 | ... request: tonic::Request, [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1077 | ... ) -> Self::Future { [INFO] [stdout] 1078 | ... let inner = Arc::clone(&self.0); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1079 | ... let fut = async move { [INFO] [stdout] 1080 | ... ::update_node(&inner, request).await [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] --> /opt/rustwide/target/debug/build/ssd-f356d585611e8990/out/kademlia.rs:1126:82 [INFO] [stdout] | [INFO] [stdout] 1122 | ... request: tonic::Request, [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1123 | ... ) -> Self::Future { [INFO] [stdout] 1124 | ... let inner = Arc::clone(&self.0); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1125 | ... let fut = async move { [INFO] [stdout] 1126 | ... ::get_neighbours(&inner, request).await [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] --> /opt/rustwide/target/debug/build/ssd-f356d585611e8990/out/kademlia.rs:1170:79 [INFO] [stdout] | [INFO] [stdout] 1166 | ... request: tonic::Request, [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1167 | ... ) -> Self::Future { [INFO] [stdout] 1168 | ... let inner = Arc::clone(&self.0); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1169 | ... let fut = async move { [INFO] [stdout] 1170 | ... ::remove_node(&inner, request).await [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] --> /opt/rustwide/target/debug/build/ssd-f356d585611e8990/out/kademlia.rs:908:28 [INFO] [stdout] | [INFO] [stdout] 907 | pub fn new(inner: T) -> Self { [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 908 | Self::from_arc(Arc::new(inner)) [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] --> /opt/rustwide/target/debug/build/ssd-f356d585611e8990/out/kademlia.rs:927:37 [INFO] [stdout] | [INFO] [stdout] 921 | inner: T, [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 922 | interceptor: F, [INFO] [stdout] | -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 927 | InterceptedService::new(Self::new(inner), interceptor) [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] --> /opt/rustwide/target/debug/build/ssd-f356d585611e8990/out/kademlia.rs:992:72 [INFO] [stdout] | [INFO] [stdout] 988 | ... request: tonic::Request, [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 989 | ... ) -> Self::Future { [INFO] [stdout] 990 | ... let inner = Arc::clone(&self.0); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 991 | ... let fut = async move { [INFO] [stdout] 992 | ... ::join(&inner, request).await [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] --> /opt/rustwide/target/debug/build/ssd-f356d585611e8990/out/kademlia.rs:1036:77 [INFO] [stdout] | [INFO] [stdout] 1032 | ... request: tonic::Request, [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1033 | ... ) -> Self::Future { [INFO] [stdout] 1034 | ... let inner = Arc::clone(&self.0); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1035 | ... let fut = async move { [INFO] [stdout] 1036 | ... ::find_node(&inner, request).await [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] --> /opt/rustwide/target/debug/build/ssd-f356d585611e8990/out/kademlia.rs:1080:79 [INFO] [stdout] | [INFO] [stdout] 1076 | ... request: tonic::Request, [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1077 | ... ) -> Self::Future { [INFO] [stdout] 1078 | ... let inner = Arc::clone(&self.0); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1079 | ... let fut = async move { [INFO] [stdout] 1080 | ... ::update_node(&inner, request).await [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] --> /opt/rustwide/target/debug/build/ssd-f356d585611e8990/out/kademlia.rs:1126:82 [INFO] [stdout] | [INFO] [stdout] 1122 | ... request: tonic::Request, [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1123 | ... ) -> Self::Future { [INFO] [stdout] 1124 | ... let inner = Arc::clone(&self.0); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1125 | ... let fut = async move { [INFO] [stdout] 1126 | ... ::get_neighbours(&inner, request).await [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] --> /opt/rustwide/target/debug/build/ssd-f356d585611e8990/out/kademlia.rs:1170:79 [INFO] [stdout] | [INFO] [stdout] 1166 | ... request: tonic::Request, [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1167 | ... ) -> Self::Future { [INFO] [stdout] 1168 | ... let inner = Arc::clone(&self.0); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1169 | ... let fut = async move { [INFO] [stdout] 1170 | ... ::remove_node(&inner, request).await [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] --> /opt/rustwide/target/debug/build/ssd-f356d585611e8990/out/kademlia.rs:1216:79 [INFO] [stdout] | [INFO] [stdout] 1212 | ... request: tonic::Request, [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1213 | ... ) -> Self::Future { [INFO] [stdout] 1214 | ... let inner = Arc::clone(&self.0); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1215 | ... let fut = async move { [INFO] [stdout] 1216 | ... ::transaction(&inner, request).await [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] --> /opt/rustwide/target/debug/build/ssd-f356d585611e8990/out/kademlia.rs:1262:87 [INFO] [stdout] | [INFO] [stdout] 1258 | ... request: tonic::Request, [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1259 | ... ) -> Self::Future { [INFO] [stdout] 1260 | ... let inner = Arc::clone(&self.0); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1261 | ... let fut = async move { [INFO] [stdout] 1262 | ... ::obtain_transactions(&inner, request).await [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] --> /opt/rustwide/target/debug/build/ssd-f356d585611e8990/out/kademlia.rs:1308:87 [INFO] [stdout] | [INFO] [stdout] 1304 | ... request: tonic::Request, [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1305 | ... ) -> Self::Future { [INFO] [stdout] 1306 | ... let inner = Arc::clone(&self.0); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1307 | ... let fut = async move { [INFO] [stdout] 1308 | ... ::retrieve_blockchain(&inner, request).await [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] --> /opt/rustwide/target/debug/build/ssd-f356d585611e8990/out/kademlia.rs:1354:85 [INFO] [stdout] | [INFO] [stdout] 1350 | ... request: tonic::Request, [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1351 | ... ) -> Self::Future { [INFO] [stdout] 1352 | ... let inner = Arc::clone(&self.0); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1353 | ... let fut = async move { [INFO] [stdout] 1354 | ... ::update_blockchain(&inner, request).await [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] --> /opt/rustwide/target/debug/build/ssd-f356d585611e8990/out/kademlia.rs:1400:78 [INFO] [stdout] | [INFO] [stdout] 1396 | ... request: tonic::Request, [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1397 | ... ) -> Self::Future { [INFO] [stdout] 1398 | ... let inner = Arc::clone(&self.0); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1399 | ... let fut = async move { [INFO] [stdout] 1400 | ... ::create_bid(&inner, request).await [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] --> /opt/rustwide/target/debug/build/ssd-f356d585611e8990/out/kademlia.rs:1444:77 [INFO] [stdout] | [INFO] [stdout] 1440 | ... request: tonic::Request, [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1441 | ... ) -> Self::Future { [INFO] [stdout] 1442 | ... let inner = Arc::clone(&self.0); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1443 | ... let fut = async move { [INFO] [stdout] 1444 | ... ::bid_value(&inner, request).await [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] --> /opt/rustwide/target/debug/build/ssd-f356d585611e8990/out/kademlia.rs:1540:28 [INFO] [stdout] | [INFO] [stdout] 1539 | pub fn new(inner: T) -> Self { [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1540 | Self::from_arc(Arc::new(inner)) [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] --> /opt/rustwide/target/debug/build/ssd-f356d585611e8990/out/kademlia.rs:1559:37 [INFO] [stdout] | [INFO] [stdout] 1553 | inner: T, [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1554 | interceptor: F, [INFO] [stdout] | -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1559 | InterceptedService::new(Self::new(inner), interceptor) [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] --> /opt/rustwide/target/debug/build/ssd-f356d585611e8990/out/kademlia.rs:1624:69 [INFO] [stdout] | [INFO] [stdout] 1620 | ... request: tonic::Request, [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1621 | ... ) -> Self::Future { [INFO] [stdout] 1622 | ... let inner = Arc::clone(&self.0); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1623 | ... let fut = async move { [INFO] [stdout] 1624 | ... ::mine(&inner, request).await [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] --> /opt/rustwide/target/debug/build/ssd-f356d585611e8990/out/kademlia.rs:1668:70 [INFO] [stdout] | [INFO] [stdout] 1664 | ... request: tonic::Request, [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1665 | ... ) -> Self::Future { [INFO] [stdout] 1666 | ... let inner = Arc::clone(&self.0); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1667 | ... let fut = async move { [INFO] [stdout] 1668 | ... ::abort(&inner, request).await [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] --> /opt/rustwide/target/debug/build/ssd-f356d585611e8990/out/kademlia.rs:1216:79 [INFO] [stdout] | [INFO] [stdout] 1212 | ... request: tonic::Request, [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1213 | ... ) -> Self::Future { [INFO] [stdout] 1214 | ... let inner = Arc::clone(&self.0); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1215 | ... let fut = async move { [INFO] [stdout] 1216 | ... ::transaction(&inner, request).await [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] --> /opt/rustwide/target/debug/build/ssd-f356d585611e8990/out/kademlia.rs:1262:87 [INFO] [stdout] | [INFO] [stdout] 1258 | ... request: tonic::Request, [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1259 | ... ) -> Self::Future { [INFO] [stdout] 1260 | ... let inner = Arc::clone(&self.0); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1261 | ... let fut = async move { [INFO] [stdout] 1262 | ... ::obtain_transactions(&inner, request).await [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] --> /opt/rustwide/target/debug/build/ssd-f356d585611e8990/out/kademlia.rs:1308:87 [INFO] [stdout] | [INFO] [stdout] 1304 | ... request: tonic::Request, [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1305 | ... ) -> Self::Future { [INFO] [stdout] 1306 | ... let inner = Arc::clone(&self.0); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1307 | ... let fut = async move { [INFO] [stdout] 1308 | ... ::retrieve_blockchain(&inner, request).await [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] --> /opt/rustwide/target/debug/build/ssd-f356d585611e8990/out/kademlia.rs:1354:85 [INFO] [stdout] | [INFO] [stdout] 1350 | ... request: tonic::Request, [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1351 | ... ) -> Self::Future { [INFO] [stdout] 1352 | ... let inner = Arc::clone(&self.0); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1353 | ... let fut = async move { [INFO] [stdout] 1354 | ... ::update_blockchain(&inner, request).await [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] --> /opt/rustwide/target/debug/build/ssd-f356d585611e8990/out/kademlia.rs:1400:78 [INFO] [stdout] | [INFO] [stdout] 1396 | ... request: tonic::Request, [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1397 | ... ) -> Self::Future { [INFO] [stdout] 1398 | ... let inner = Arc::clone(&self.0); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1399 | ... let fut = async move { [INFO] [stdout] 1400 | ... ::create_bid(&inner, request).await [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] --> /opt/rustwide/target/debug/build/ssd-f356d585611e8990/out/kademlia.rs:1444:77 [INFO] [stdout] | [INFO] [stdout] 1440 | ... request: tonic::Request, [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1441 | ... ) -> Self::Future { [INFO] [stdout] 1442 | ... let inner = Arc::clone(&self.0); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1443 | ... let fut = async move { [INFO] [stdout] 1444 | ... ::bid_value(&inner, request).await [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] --> /opt/rustwide/target/debug/build/ssd-f356d585611e8990/out/kademlia.rs:1624:69 [INFO] [stdout] | [INFO] [stdout] 1620 | ... request: tonic::Request, [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1621 | ... ) -> Self::Future { [INFO] [stdout] 1622 | ... let inner = Arc::clone(&self.0); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1623 | ... let fut = async move { [INFO] [stdout] 1624 | ... ::mine(&inner, request).await [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] --> /opt/rustwide/target/debug/build/ssd-f356d585611e8990/out/kademlia.rs:1668:70 [INFO] [stdout] | [INFO] [stdout] 1664 | ... request: tonic::Request, [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1665 | ... ) -> Self::Future { [INFO] [stdout] 1666 | ... let inner = Arc::clone(&self.0); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1667 | ... let fut = async move { [INFO] [stdout] 1668 | ... ::abort(&inner, request).await [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/blockchain.rs:35:99 [INFO] [stdout] | [INFO] [stdout] 35 | async fn mine(&self, request: Request) -> Result, Status> { [INFO] [stdout] | __________________________-----------------------------____________________________________________^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 36 | | let new = self.generate_block(request.get_ref().clone().previous, request.get_ref().clone().transactions).await; [INFO] [stdout] 37 | | [INFO] [stdout] 38 | | Ok(Response::new(MineResponse{source_id:request.get_ref().clone().source_id, new:Option::from(new)})) [INFO] [stdout] 39 | | } [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/blockchain.rs:41:102 [INFO] [stdout] | [INFO] [stdout] 41 | async fn abort(&self, request: Request) -> Result, Status> { [INFO] [stdout] | ___________________________------------------------------_____________________________________________^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 42 | | todo!() [INFO] [stdout] 43 | | } [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] --> /opt/rustwide/target/debug/build/ssd-f356d585611e8990/out/kademlia.rs:992:72 [INFO] [stdout] | [INFO] [stdout] 988 | ... request: tonic::Request, [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 989 | ... ) -> Self::Future { [INFO] [stdout] 990 | ... let inner = Arc::clone(&self.0); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 991 | ... let fut = async move { [INFO] [stdout] 992 | ... ::join(&inner, request).await [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] --> /opt/rustwide/target/debug/build/ssd-f356d585611e8990/out/kademlia.rs:1036:77 [INFO] [stdout] | [INFO] [stdout] 1032 | ... request: tonic::Request, [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1033 | ... ) -> Self::Future { [INFO] [stdout] 1034 | ... let inner = Arc::clone(&self.0); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1035 | ... let fut = async move { [INFO] [stdout] 1036 | ... ::find_node(&inner, request).await [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] --> /opt/rustwide/target/debug/build/ssd-f356d585611e8990/out/kademlia.rs:1080:79 [INFO] [stdout] | [INFO] [stdout] 1076 | ... request: tonic::Request, [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1077 | ... ) -> Self::Future { [INFO] [stdout] 1078 | ... let inner = Arc::clone(&self.0); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1079 | ... let fut = async move { [INFO] [stdout] 1080 | ... ::update_node(&inner, request).await [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] --> /opt/rustwide/target/debug/build/ssd-f356d585611e8990/out/kademlia.rs:1126:82 [INFO] [stdout] | [INFO] [stdout] 1122 | ... request: tonic::Request, [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1123 | ... ) -> Self::Future { [INFO] [stdout] 1124 | ... let inner = Arc::clone(&self.0); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1125 | ... let fut = async move { [INFO] [stdout] 1126 | ... ::get_neighbours(&inner, request).await [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] --> /opt/rustwide/target/debug/build/ssd-f356d585611e8990/out/kademlia.rs:1170:79 [INFO] [stdout] | [INFO] [stdout] 1166 | ... request: tonic::Request, [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1167 | ... ) -> Self::Future { [INFO] [stdout] 1168 | ... let inner = Arc::clone(&self.0); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1169 | ... let fut = async move { [INFO] [stdout] 1170 | ... ::remove_node(&inner, request).await [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] --> /opt/rustwide/target/debug/build/ssd-f356d585611e8990/out/kademlia.rs:1216:79 [INFO] [stdout] | [INFO] [stdout] 1212 | ... request: tonic::Request, [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1213 | ... ) -> Self::Future { [INFO] [stdout] 1214 | ... let inner = Arc::clone(&self.0); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1215 | ... let fut = async move { [INFO] [stdout] 1216 | ... ::transaction(&inner, request).await [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] --> /opt/rustwide/target/debug/build/ssd-f356d585611e8990/out/kademlia.rs:1262:87 [INFO] [stdout] | [INFO] [stdout] 1258 | ... request: tonic::Request, [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1259 | ... ) -> Self::Future { [INFO] [stdout] 1260 | ... let inner = Arc::clone(&self.0); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1261 | ... let fut = async move { [INFO] [stdout] 1262 | ... ::obtain_transactions(&inner, request).await [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] --> /opt/rustwide/target/debug/build/ssd-f356d585611e8990/out/kademlia.rs:1308:87 [INFO] [stdout] | [INFO] [stdout] 1304 | ... request: tonic::Request, [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1305 | ... ) -> Self::Future { [INFO] [stdout] 1306 | ... let inner = Arc::clone(&self.0); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1307 | ... let fut = async move { [INFO] [stdout] 1308 | ... ::retrieve_blockchain(&inner, request).await [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] --> /opt/rustwide/target/debug/build/ssd-f356d585611e8990/out/kademlia.rs:1354:85 [INFO] [stdout] | [INFO] [stdout] 1350 | ... request: tonic::Request, [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1351 | ... ) -> Self::Future { [INFO] [stdout] 1352 | ... let inner = Arc::clone(&self.0); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1353 | ... let fut = async move { [INFO] [stdout] 1354 | ... ::update_blockchain(&inner, request).await [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] --> /opt/rustwide/target/debug/build/ssd-f356d585611e8990/out/kademlia.rs:1400:78 [INFO] [stdout] | [INFO] [stdout] 1396 | ... request: tonic::Request, [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1397 | ... ) -> Self::Future { [INFO] [stdout] 1398 | ... let inner = Arc::clone(&self.0); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1399 | ... let fut = async move { [INFO] [stdout] 1400 | ... ::create_bid(&inner, request).await [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: unused return value of `must_use` that must be used [INFO] [stdout] --> src/blockchain.rs:113:9 [INFO] [stdout] | [INFO] [stdout] 113 | format!("{}{}", res, 0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this warning originates in the macro `format` (in Nightly builds, run with -Z macro-backtrace for more info) [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] --> /opt/rustwide/target/debug/build/ssd-f356d585611e8990/out/kademlia.rs:1444:77 [INFO] [stdout] | [INFO] [stdout] 1440 | ... request: tonic::Request, [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1441 | ... ) -> Self::Future { [INFO] [stdout] 1442 | ... let inner = Arc::clone(&self.0); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1443 | ... let fut = async move { [INFO] [stdout] 1444 | ... ::bid_value(&inner, request).await [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] --> /opt/rustwide/target/debug/build/ssd-f356d585611e8990/out/kademlia.rs:1624:69 [INFO] [stdout] | [INFO] [stdout] 1620 | ... request: tonic::Request, [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1621 | ... ) -> Self::Future { [INFO] [stdout] 1622 | ... let inner = Arc::clone(&self.0); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1623 | ... let fut = async move { [INFO] [stdout] 1624 | ... ::mine(&inner, request).await [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] --> /opt/rustwide/target/debug/build/ssd-f356d585611e8990/out/kademlia.rs:1668:70 [INFO] [stdout] | [INFO] [stdout] 1664 | ... request: tonic::Request, [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1665 | ... ) -> Self::Future { [INFO] [stdout] 1666 | ... let inner = Arc::clone(&self.0); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1667 | ... let fut = async move { [INFO] [stdout] 1668 | ... ::abort(&inner, request).await [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/blockchain.rs:35:99 [INFO] [stdout] | [INFO] [stdout] 35 | async fn mine(&self, request: Request) -> Result, Status> { [INFO] [stdout] | __________________________-----------------------------____________________________________________^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 36 | | let new = self.generate_block(request.get_ref().clone().previous, request.get_ref().clone().transactions).await; [INFO] [stdout] 37 | | [INFO] [stdout] 38 | | Ok(Response::new(MineResponse{source_id:request.get_ref().clone().source_id, new:Option::from(new)})) [INFO] [stdout] 39 | | } [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/blockchain.rs:41:102 [INFO] [stdout] | [INFO] [stdout] 41 | async fn abort(&self, request: Request) -> Result, Status> { [INFO] [stdout] | ___________________________------------------------------_____________________________________________^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 42 | | todo!() [INFO] [stdout] 43 | | } [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: unused return value of `must_use` that must be used [INFO] [stdout] --> src/blockchain.rs:113:9 [INFO] [stdout] | [INFO] [stdout] 113 | format!("{}{}", res, 0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this warning originates in the macro `format` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `request` [INFO] [stdout] --> src/blockchain.rs:41:27 [INFO] [stdout] | [INFO] [stdout] 41 | async fn abort(&self, request: Request) -> Result, Status> { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_request` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/blockchain.rs:57:13 [INFO] [stdout] | [INFO] [stdout] 57 | let mut current_transactions = std::sync::Arc::from(tokio::sync::RwLock::from(Vec::new())); [INFO] [stdout] | ----^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/blockchain.rs:58:13 [INFO] [stdout] | [INFO] [stdout] 58 | let mut queued_transactions = std::sync::Arc::from(tokio::sync::RwLock::from(Vec::new())); [INFO] [stdout] | ----^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/blockchain.rs:59:13 [INFO] [stdout] | [INFO] [stdout] 59 | let mut active_bids = std::sync::Arc::from(tokio::sync::RwLock::from(Vec::new())); [INFO] [stdout] | ----^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/blockchain.rs:112:9 [INFO] [stdout] | [INFO] [stdout] 112 | for i in 0..PREFIX_LENGTH{ [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `source_id` [INFO] [stdout] --> src/signatures.rs:78:28 [INFO] [stdout] | [INFO] [stdout] 78 | pub fn sign_remove_request(source_id:String, node:NodeInfo, skey:Vec) -> Vec{ [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_source_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 49 previous errors; 54 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 49 previous errors; 54 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `request` [INFO] [stdout] --> src/blockchain.rs:41:27 [INFO] [stdout] | [INFO] [stdout] 41 | async fn abort(&self, request: Request) -> Result, Status> { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_request` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/blockchain.rs:57:13 [INFO] [stdout] | [INFO] [stdout] 57 | let mut current_transactions = std::sync::Arc::from(tokio::sync::RwLock::from(Vec::new())); [INFO] [stdout] | ----^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/blockchain.rs:58:13 [INFO] [stdout] | [INFO] [stdout] 58 | let mut queued_transactions = std::sync::Arc::from(tokio::sync::RwLock::from(Vec::new())); [INFO] [stdout] | ----^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/blockchain.rs:59:13 [INFO] [stdout] | [INFO] [stdout] 59 | let mut active_bids = std::sync::Arc::from(tokio::sync::RwLock::from(Vec::new())); [INFO] [stdout] | ----^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `ssd` (bin "client") due to 50 previous errors; 54 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/blockchain.rs:112:9 [INFO] [stdout] | [INFO] [stdout] 112 | for i in 0..PREFIX_LENGTH{ [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `ssd` (bin "client" test) due to 50 previous errors; 54 warnings emitted [INFO] [stdout] warning: constant `GENESIS` is never used [INFO] [stdout] --> src/util.rs:14:11 [INFO] [stdout] | [INFO] [stdout] 14 | pub const GENESIS: &str = "00f151242e0010e58cde0d6644d9db53a8552f0e2d26628c9a72199005b5a76e"; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `active_bids` is never read [INFO] [stdout] --> src/blockchain.rs:49:9 [INFO] [stdout] | [INFO] [stdout] 47 | pub struct MinerInfo{ [INFO] [stdout] | --------- field in this struct [INFO] [stdout] 48 | pub current_transactions: std::sync::Arc>>, [INFO] [stdout] 49 | pub active_bids: std::sync::Arc>>, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MinerInfo` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `retrieve_blockchain_request` is never used [INFO] [stdout] --> src/requests.rs:108:14 [INFO] [stdout] | [INFO] [stdout] 108 | pub async fn retrieve_blockchain_request(source:Node, url:String) -> Vec{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `obtain_transactions_request` is never used [INFO] [stdout] --> src/requests.rs:147:14 [INFO] [stdout] | [INFO] [stdout] 147 | pub async fn obtain_transactions_request(source:Node, url:String) -> Vec{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `sign_obtain_transactions_request` is never used [INFO] [stdout] --> src/signatures.rs:176:8 [INFO] [stdout] | [INFO] [stdout] 176 | pub fn sign_obtain_transactions_request(source_id:String, skey:Vec) -> Vec{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `verify_obtain_transactions_response` is never used [INFO] [stdout] --> src/signatures.rs:193:8 [INFO] [stdout] | [INFO] [stdout] 193 | pub fn verify_obtain_transactions_response(response:ObtainTransactionsResponse){ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `sign_retrieve_blockchain_response` is never used [INFO] [stdout] --> src/signatures.rs:211:8 [INFO] [stdout] | [INFO] [stdout] 211 | pub fn sign_retrieve_blockchain_response(source_id:String, blockchain:Vec, skey:Vec) -> Vec{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `verify_retrieve_blockchain_response` is never used [INFO] [stdout] --> src/signatures.rs:218:8 [INFO] [stdout] | [INFO] [stdout] 218 | pub fn verify_retrieve_blockchain_response(response: RetrieveBlockchainResponse){ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `sign_update_blockchain_response` is never used [INFO] [stdout] --> src/signatures.rs:240:8 [INFO] [stdout] | [INFO] [stdout] 240 | pub fn sign_update_blockchain_response(source_id:String, skey:Vec) -> Vec{ [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/single_client.rs:103:15 [INFO] [stdout] | [INFO] [stdout] 92 | let token = CancellationToken::new(); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 103 | match signal::ctrl_c().await { [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/endpoint.rs:53:100 [INFO] [stdout] | [INFO] [stdout] 53 | async fn join(&self, request: Request) -> Result, Status> { [INFO] [stdout] | __________________________-----------------------------_____________________________________________^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 54 | | let req = request.get_ref().clone().node.unwrap().info; [INFO] [stdout] 55 | | verify_join_request(request.get_ref().clone()); [INFO] [stdout] 56 | | let mut neighbours = Vec::new(); [INFO] [stdout] ... | [INFO] [stdout] 81 | | Ok(Response::new(JoinResponse{ neighbours, blockchain:self.node.read().await.clone().blockchain, sign:Option::from(sign) })) [INFO] [stdout] 82 | | } [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/endpoint.rs:83:111 [INFO] [stdout] | [INFO] [stdout] 83 | async fn find_node(&self, request: Request) -> Result, Status>{ [INFO] [stdout] | _______________________________---------------------------------_______________________________________________^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 84 | | self.is_correct_key(request.get_ref().clone().source_id, request.get_ref().clone().sign.unwrap()).await; [INFO] [stdout] 85 | | verify_find_node_request(request.get_ref().clone()); [INFO] [stdout] 86 | | println!("NODE {} FINDING {}", self.node.read().await.info.clone().unwrap().id, request.get_ref().clone().target); [INFO] [stdout] ... | [INFO] [stdout] 102 | | Ok(Response::new(FindNodeResponse{source_id:self.node.read().await.clone().info.unwrap().id,node:None, sign:None})) [INFO] [stdout] 103 | | } [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/endpoint.rs:104:110 [INFO] [stdout] | [INFO] [stdout] 104 | async fn update_node(&self, request: Request) -> Result, Status> { [INFO] [stdout] | _________________________________-------------------------------______________________________________________^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 105 | | verify_update_request(request.get_ref().clone()); [INFO] [stdout] 106 | | let nodes = request.get_ref().clone().neighbours; [INFO] [stdout] 107 | | for i in nodes{ [INFO] [stdout] ... | [INFO] [stdout] 115 | | return Ok(Response::new(UpdateResponse{ source_id:self.node.read().await.clone().info.unwrap().id,response:true, sign:Option::fro... [INFO] [stdout] 116 | | } [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/endpoint.rs:117:120 [INFO] [stdout] | [INFO] [stdout] 117 | async fn get_neighbours(&self, request: Request) -> Result, Status>{ [INFO] [stdout] | ____________________________________-----------------------------------_________________________________________________^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 118 | | self.is_correct_key(request.get_ref().clone().source_id, request.get_ref().clone().sign.unwrap()).await; [INFO] [stdout] 119 | | verify_neighbours_request(request.get_ref().clone()); [INFO] [stdout] 120 | | let neighbours=self.node.read().await.get_neighbours(); [INFO] [stdout] ... | [INFO] [stdout] 123 | | return Ok(Response::new(NeighboursResponse{ source_id:self.node.read().await.clone().info.unwrap().id,neighbours, sign:Option::fr... [INFO] [stdout] 124 | | } [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/endpoint.rs:125:109 [INFO] [stdout] | [INFO] [stdout] 125 | async fn remove_node(&self, request: Request) -> Result, Status>{ [INFO] [stdout] | _________________________________-------------------------------_____________________________________________^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 126 | | self.is_correct_key(request.get_ref().clone().source_id, request.get_ref().clone().sign.unwrap()).await; [INFO] [stdout] 127 | | verify_remove_request(request.get_ref().clone()); [INFO] [stdout] 128 | | let mut node = self.node.write().await; [INFO] [stdout] ... | [INFO] [stdout] 134 | | Ok(Response::new(RemoveResponse{ source_id:node.clone().info.unwrap().id,success:true, sign:Option::from(sign)})) [INFO] [stdout] 135 | | } [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/endpoint.rs:137:120 [INFO] [stdout] | [INFO] [stdout] 137 | async fn transaction(&self, request: Request) -> Result, Status> { [INFO] [stdout] | _________________________________------------------------------------___________________________________________________^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 138 | | self.is_correct_key(request.get_ref().clone().source_id, request.get_ref().clone().sign.unwrap()).await; [INFO] [stdout] 139 | | verify_transaction_request(request.get_ref().clone()); [INFO] [stdout] 140 | | let mut status = "".to_string(); [INFO] [stdout] ... | [INFO] [stdout] 168 | | Ok(Response::new(TransactionResponse{source_id:info.clone().id,state:status, sign})) [INFO] [stdout] 169 | | } [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/endpoint.rs:171:142 [INFO] [stdout] | [INFO] [stdout] 171 | async fn obtain_transactions(&self, request: Request) -> Result, Status> { [INFO] [stdout] | _________________________________________-------------------------------------------__________________________________________________________^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 172 | | self.is_correct_key(request.get_ref().clone().source_id, request.get_ref().clone().sign.unwrap()).await; [INFO] [stdout] 173 | | verify_obtain_transactions_request(request.get_ref().clone()); [INFO] [stdout] 174 | | let node = self.node.read().await.clone(); [INFO] [stdout] ... | [INFO] [stdout] 178 | | Ok(Response::new(ObtainTransactionsResponse{source_id:info.clone().id,transactions:self.transaction_list.clone().read().await.clone(), si... [INFO] [stdout] 179 | | } [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: unused variable: `source_id` [INFO] [stdout] --> src/signatures.rs:78:28 [INFO] [stdout] | [INFO] [stdout] 78 | pub fn sign_remove_request(source_id:String, node:NodeInfo, skey:Vec) -> Vec{ [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_source_id` [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/endpoint.rs:181:142 [INFO] [stdout] | [INFO] [stdout] 181 | async fn retrieve_blockchain(&self, request: Request) -> Result, Status> { [INFO] [stdout] | _________________________________________-------------------------------------------__________________________________________________________^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 182 | | self.is_correct_key(request.get_ref().clone().source_id, request.get_ref().clone().sign.unwrap()).await; [INFO] [stdout] 183 | | verify_retrieve_blockchain_request(request.get_ref().clone()); [INFO] [stdout] 184 | | let blockchain = self.blocks.read().await.clone(); [INFO] [stdout] ... | [INFO] [stdout] 188 | | Ok(Response::new(RetrieveBlockchainResponse{source_id:self.node.read().await.clone().info.unwrap().id,blockchain, sign})) [INFO] [stdout] 189 | | } [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/endpoint.rs:191:136 [INFO] [stdout] | [INFO] [stdout] 191 | async fn update_blockchain(&self, request: Request) -> Result, Status> { [INFO] [stdout] | _______________________________________-----------------------------------------________________________________________________________^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 192 | | self.is_correct_key(request.get_ref().clone().source_id, request.get_ref().clone().sign.unwrap()).await; [INFO] [stdout] 193 | | verify_update_blockchain_request(request.get_ref().clone()); [INFO] [stdout] 194 | | let mut temp = self.blocks.read().await.clone(); [INFO] [stdout] ... | [INFO] [stdout] 197 | | todo!() [INFO] [stdout] 198 | | } [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/endpoint.rs:200:115 [INFO] [stdout] | [INFO] [stdout] 200 | async fn create_bid(&self, request: Request) -> Result, Status> { [INFO] [stdout] | ________________________________----------------------------------_________________________________________________^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 201 | | self.is_correct_key(request.get_ref().clone().source_id, request.get_ref().clone().sign.unwrap()).await; [INFO] [stdout] 202 | | todo!() [INFO] [stdout] 203 | | } [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/endpoint.rs:205:112 [INFO] [stdout] | [INFO] [stdout] 205 | async fn bid_value(&self, request: Request) -> Result, Status> { [INFO] [stdout] | _______________________________---------------------------------________________________________________________^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 206 | | self.is_correct_key(request.get_ref().clone().source_id, request.get_ref().clone().sign.unwrap()).await; [INFO] [stdout] 207 | | todo!() [INFO] [stdout] 208 | | } [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/util.rs:37:6 [INFO] [stdout] | [INFO] [stdout] 36 | let keypair = Rsa::generate(1024).unwrap(); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 37 | (keypair.private_key_to_pem().unwrap(), keypair.public_key_to_pem().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/util.rs:37:45 [INFO] [stdout] | [INFO] [stdout] 36 | let keypair = Rsa::generate(1024).unwrap(); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 37 | (keypair.private_key_to_pem().unwrap(), keypair.public_key_to_pem().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/util.rs:57:12 [INFO] [stdout] | [INFO] [stdout] 49 | let socket = TcpSocket::new_v4(); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 57 | Ok(None) [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] --> /opt/rustwide/target/debug/build/ssd-f356d585611e8990/out/kademlia.rs:398:33 [INFO] [stdout] | [INFO] [stdout] 382 | inner: T, [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 383 | interceptor: F, [INFO] [stdout] | -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 398 | EndpointClient::new(InterceptedService::new(inner, interceptor)) [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] --> /opt/rustwide/target/debug/build/ssd-f356d585611e8990/out/kademlia.rs:748:30 [INFO] [stdout] | [INFO] [stdout] 732 | inner: T, [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 733 | interceptor: F, [INFO] [stdout] | -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 748 | MinerClient::new(InterceptedService::new(inner, interceptor)) [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] --> /opt/rustwide/target/debug/build/ssd-f356d585611e8990/out/kademlia.rs:908:28 [INFO] [stdout] | [INFO] [stdout] 907 | pub fn new(inner: T) -> Self { [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 908 | Self::from_arc(Arc::new(inner)) [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] --> /opt/rustwide/target/debug/build/ssd-f356d585611e8990/out/kademlia.rs:927:37 [INFO] [stdout] | [INFO] [stdout] 921 | inner: T, [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 922 | interceptor: F, [INFO] [stdout] | -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 927 | InterceptedService::new(Self::new(inner), interceptor) [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] --> /opt/rustwide/target/debug/build/ssd-f356d585611e8990/out/kademlia.rs:992:72 [INFO] [stdout] | [INFO] [stdout] 988 | ... request: tonic::Request, [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 989 | ... ) -> Self::Future { [INFO] [stdout] 990 | ... let inner = Arc::clone(&self.0); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 991 | ... let fut = async move { [INFO] [stdout] 992 | ... ::join(&inner, request).await [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] --> /opt/rustwide/target/debug/build/ssd-f356d585611e8990/out/kademlia.rs:1036:77 [INFO] [stdout] | [INFO] [stdout] 1032 | ... request: tonic::Request, [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1033 | ... ) -> Self::Future { [INFO] [stdout] 1034 | ... let inner = Arc::clone(&self.0); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1035 | ... let fut = async move { [INFO] [stdout] 1036 | ... ::find_node(&inner, request).await [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] --> /opt/rustwide/target/debug/build/ssd-f356d585611e8990/out/kademlia.rs:1080:79 [INFO] [stdout] | [INFO] [stdout] 1076 | ... request: tonic::Request, [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1077 | ... ) -> Self::Future { [INFO] [stdout] 1078 | ... let inner = Arc::clone(&self.0); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1079 | ... let fut = async move { [INFO] [stdout] 1080 | ... ::update_node(&inner, request).await [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] --> /opt/rustwide/target/debug/build/ssd-f356d585611e8990/out/kademlia.rs:1126:82 [INFO] [stdout] | [INFO] [stdout] 1122 | ... request: tonic::Request, [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1123 | ... ) -> Self::Future { [INFO] [stdout] 1124 | ... let inner = Arc::clone(&self.0); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1125 | ... let fut = async move { [INFO] [stdout] 1126 | ... ::get_neighbours(&inner, request).await [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] --> /opt/rustwide/target/debug/build/ssd-f356d585611e8990/out/kademlia.rs:1170:79 [INFO] [stdout] | [INFO] [stdout] 1166 | ... request: tonic::Request, [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1167 | ... ) -> Self::Future { [INFO] [stdout] 1168 | ... let inner = Arc::clone(&self.0); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1169 | ... let fut = async move { [INFO] [stdout] 1170 | ... ::remove_node(&inner, request).await [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] --> /opt/rustwide/target/debug/build/ssd-f356d585611e8990/out/kademlia.rs:1216:79 [INFO] [stdout] | [INFO] [stdout] 1212 | ... request: tonic::Request, [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1213 | ... ) -> Self::Future { [INFO] [stdout] 1214 | ... let inner = Arc::clone(&self.0); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1215 | ... let fut = async move { [INFO] [stdout] 1216 | ... ::transaction(&inner, request).await [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] --> /opt/rustwide/target/debug/build/ssd-f356d585611e8990/out/kademlia.rs:1262:87 [INFO] [stdout] | [INFO] [stdout] 1258 | ... request: tonic::Request, [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1259 | ... ) -> Self::Future { [INFO] [stdout] 1260 | ... let inner = Arc::clone(&self.0); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1261 | ... let fut = async move { [INFO] [stdout] 1262 | ... ::obtain_transactions(&inner, request).await [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] --> /opt/rustwide/target/debug/build/ssd-f356d585611e8990/out/kademlia.rs:1308:87 [INFO] [stdout] | [INFO] [stdout] 1304 | ... request: tonic::Request, [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1305 | ... ) -> Self::Future { [INFO] [stdout] 1306 | ... let inner = Arc::clone(&self.0); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1307 | ... let fut = async move { [INFO] [stdout] 1308 | ... ::retrieve_blockchain(&inner, request).await [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] --> /opt/rustwide/target/debug/build/ssd-f356d585611e8990/out/kademlia.rs:1354:85 [INFO] [stdout] | [INFO] [stdout] 1350 | ... request: tonic::Request, [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1351 | ... ) -> Self::Future { [INFO] [stdout] 1352 | ... let inner = Arc::clone(&self.0); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1353 | ... let fut = async move { [INFO] [stdout] 1354 | ... ::update_blockchain(&inner, request).await [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] --> /opt/rustwide/target/debug/build/ssd-f356d585611e8990/out/kademlia.rs:1400:78 [INFO] [stdout] | [INFO] [stdout] 1396 | ... request: tonic::Request, [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1397 | ... ) -> Self::Future { [INFO] [stdout] 1398 | ... let inner = Arc::clone(&self.0); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1399 | ... let fut = async move { [INFO] [stdout] 1400 | ... ::create_bid(&inner, request).await [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] --> /opt/rustwide/target/debug/build/ssd-f356d585611e8990/out/kademlia.rs:1444:77 [INFO] [stdout] | [INFO] [stdout] 1440 | ... request: tonic::Request, [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1441 | ... ) -> Self::Future { [INFO] [stdout] 1442 | ... let inner = Arc::clone(&self.0); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1443 | ... let fut = async move { [INFO] [stdout] 1444 | ... ::bid_value(&inner, request).await [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] --> /opt/rustwide/target/debug/build/ssd-f356d585611e8990/out/kademlia.rs:1540:28 [INFO] [stdout] | [INFO] [stdout] 1539 | pub fn new(inner: T) -> Self { [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1540 | Self::from_arc(Arc::new(inner)) [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] --> /opt/rustwide/target/debug/build/ssd-f356d585611e8990/out/kademlia.rs:1559:37 [INFO] [stdout] | [INFO] [stdout] 1553 | inner: T, [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1554 | interceptor: F, [INFO] [stdout] | -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1559 | InterceptedService::new(Self::new(inner), interceptor) [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] --> /opt/rustwide/target/debug/build/ssd-f356d585611e8990/out/kademlia.rs:1624:69 [INFO] [stdout] | [INFO] [stdout] 1620 | ... request: tonic::Request, [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1621 | ... ) -> Self::Future { [INFO] [stdout] 1622 | ... let inner = Arc::clone(&self.0); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1623 | ... let fut = async move { [INFO] [stdout] 1624 | ... ::mine(&inner, request).await [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] --> /opt/rustwide/target/debug/build/ssd-f356d585611e8990/out/kademlia.rs:1668:70 [INFO] [stdout] | [INFO] [stdout] 1664 | ... request: tonic::Request, [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1665 | ... ) -> Self::Future { [INFO] [stdout] 1666 | ... let inner = Arc::clone(&self.0); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1667 | ... let fut = async move { [INFO] [stdout] 1668 | ... ::abort(&inner, request).await [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] --> /opt/rustwide/target/debug/build/ssd-f356d585611e8990/out/kademlia.rs:992:72 [INFO] [stdout] | [INFO] [stdout] 988 | ... request: tonic::Request, [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 989 | ... ) -> Self::Future { [INFO] [stdout] 990 | ... let inner = Arc::clone(&self.0); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 991 | ... let fut = async move { [INFO] [stdout] 992 | ... ::join(&inner, request).await [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] --> /opt/rustwide/target/debug/build/ssd-f356d585611e8990/out/kademlia.rs:1036:77 [INFO] [stdout] | [INFO] [stdout] 1032 | ... request: tonic::Request, [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1033 | ... ) -> Self::Future { [INFO] [stdout] 1034 | ... let inner = Arc::clone(&self.0); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1035 | ... let fut = async move { [INFO] [stdout] 1036 | ... ::find_node(&inner, request).await [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] --> /opt/rustwide/target/debug/build/ssd-f356d585611e8990/out/kademlia.rs:1080:79 [INFO] [stdout] | [INFO] [stdout] 1076 | ... request: tonic::Request, [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1077 | ... ) -> Self::Future { [INFO] [stdout] 1078 | ... let inner = Arc::clone(&self.0); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1079 | ... let fut = async move { [INFO] [stdout] 1080 | ... ::update_node(&inner, request).await [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] --> /opt/rustwide/target/debug/build/ssd-f356d585611e8990/out/kademlia.rs:1126:82 [INFO] [stdout] | [INFO] [stdout] 1122 | ... request: tonic::Request, [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1123 | ... ) -> Self::Future { [INFO] [stdout] 1124 | ... let inner = Arc::clone(&self.0); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1125 | ... let fut = async move { [INFO] [stdout] 1126 | ... ::get_neighbours(&inner, request).await [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] --> /opt/rustwide/target/debug/build/ssd-f356d585611e8990/out/kademlia.rs:1170:79 [INFO] [stdout] | [INFO] [stdout] 1166 | ... request: tonic::Request, [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1167 | ... ) -> Self::Future { [INFO] [stdout] 1168 | ... let inner = Arc::clone(&self.0); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1169 | ... let fut = async move { [INFO] [stdout] 1170 | ... ::remove_node(&inner, request).await [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] --> /opt/rustwide/target/debug/build/ssd-f356d585611e8990/out/kademlia.rs:1216:79 [INFO] [stdout] | [INFO] [stdout] 1212 | ... request: tonic::Request, [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1213 | ... ) -> Self::Future { [INFO] [stdout] 1214 | ... let inner = Arc::clone(&self.0); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1215 | ... let fut = async move { [INFO] [stdout] 1216 | ... ::transaction(&inner, request).await [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] --> /opt/rustwide/target/debug/build/ssd-f356d585611e8990/out/kademlia.rs:1262:87 [INFO] [stdout] | [INFO] [stdout] 1258 | ... request: tonic::Request, [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1259 | ... ) -> Self::Future { [INFO] [stdout] 1260 | ... let inner = Arc::clone(&self.0); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1261 | ... let fut = async move { [INFO] [stdout] 1262 | ... ::obtain_transactions(&inner, request).await [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] --> /opt/rustwide/target/debug/build/ssd-f356d585611e8990/out/kademlia.rs:1308:87 [INFO] [stdout] | [INFO] [stdout] 1304 | ... request: tonic::Request, [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1305 | ... ) -> Self::Future { [INFO] [stdout] 1306 | ... let inner = Arc::clone(&self.0); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1307 | ... let fut = async move { [INFO] [stdout] 1308 | ... ::retrieve_blockchain(&inner, request).await [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] --> /opt/rustwide/target/debug/build/ssd-f356d585611e8990/out/kademlia.rs:1354:85 [INFO] [stdout] | [INFO] [stdout] 1350 | ... request: tonic::Request, [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1351 | ... ) -> Self::Future { [INFO] [stdout] 1352 | ... let inner = Arc::clone(&self.0); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1353 | ... let fut = async move { [INFO] [stdout] 1354 | ... ::update_blockchain(&inner, request).await [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] --> /opt/rustwide/target/debug/build/ssd-f356d585611e8990/out/kademlia.rs:1400:78 [INFO] [stdout] | [INFO] [stdout] 1396 | ... request: tonic::Request, [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1397 | ... ) -> Self::Future { [INFO] [stdout] 1398 | ... let inner = Arc::clone(&self.0); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1399 | ... let fut = async move { [INFO] [stdout] 1400 | ... ::create_bid(&inner, request).await [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] --> /opt/rustwide/target/debug/build/ssd-f356d585611e8990/out/kademlia.rs:1444:77 [INFO] [stdout] | [INFO] [stdout] 1440 | ... request: tonic::Request, [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1441 | ... ) -> Self::Future { [INFO] [stdout] 1442 | ... let inner = Arc::clone(&self.0); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1443 | ... let fut = async move { [INFO] [stdout] 1444 | ... ::bid_value(&inner, request).await [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] --> /opt/rustwide/target/debug/build/ssd-f356d585611e8990/out/kademlia.rs:1624:69 [INFO] [stdout] | [INFO] [stdout] 1620 | ... request: tonic::Request, [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1621 | ... ) -> Self::Future { [INFO] [stdout] 1622 | ... let inner = Arc::clone(&self.0); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1623 | ... let fut = async move { [INFO] [stdout] 1624 | ... ::mine(&inner, request).await [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] --> /opt/rustwide/target/debug/build/ssd-f356d585611e8990/out/kademlia.rs:1668:70 [INFO] [stdout] | [INFO] [stdout] 1664 | ... request: tonic::Request, [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1665 | ... ) -> Self::Future { [INFO] [stdout] 1666 | ... let inner = Arc::clone(&self.0); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1667 | ... let fut = async move { [INFO] [stdout] 1668 | ... ::abort(&inner, request).await [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/blockchain.rs:35:99 [INFO] [stdout] | [INFO] [stdout] 35 | async fn mine(&self, request: Request) -> Result, Status> { [INFO] [stdout] | __________________________-----------------------------____________________________________________^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 36 | | let new = self.generate_block(request.get_ref().clone().previous, request.get_ref().clone().transactions).await; [INFO] [stdout] 37 | | [INFO] [stdout] 38 | | Ok(Response::new(MineResponse{source_id:request.get_ref().clone().source_id, new:Option::from(new)})) [INFO] [stdout] 39 | | } [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/blockchain.rs:41:102 [INFO] [stdout] | [INFO] [stdout] 41 | async fn abort(&self, request: Request) -> Result, Status> { [INFO] [stdout] | ___________________________------------------------------_____________________________________________^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 42 | | todo!() [INFO] [stdout] 43 | | } [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: unused return value of `must_use` that must be used [INFO] [stdout] --> src/blockchain.rs:113:9 [INFO] [stdout] | [INFO] [stdout] 113 | format!("{}{}", res, 0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this warning originates in the macro `format` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 49 previous errors; 48 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `GENESIS` is never used [INFO] [stdout] --> src/util.rs:14:11 [INFO] [stdout] | [INFO] [stdout] 14 | pub const GENESIS: &str = "00f151242e0010e58cde0d6644d9db53a8552f0e2d26628c9a72199005b5a76e"; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `active_bids` is never read [INFO] [stdout] --> src/blockchain.rs:49:9 [INFO] [stdout] | [INFO] [stdout] 47 | pub struct MinerInfo{ [INFO] [stdout] | --------- field in this struct [INFO] [stdout] 48 | pub current_transactions: std::sync::Arc>>, [INFO] [stdout] 49 | pub active_bids: std::sync::Arc>>, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MinerInfo` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `retrieve_blockchain_request` is never used [INFO] [stdout] --> src/requests.rs:108:14 [INFO] [stdout] | [INFO] [stdout] 108 | pub async fn retrieve_blockchain_request(source:Node, url:String) -> Vec{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `obtain_transactions_request` is never used [INFO] [stdout] --> src/requests.rs:147:14 [INFO] [stdout] | [INFO] [stdout] 147 | pub async fn obtain_transactions_request(source:Node, url:String) -> Vec{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `sign_obtain_transactions_request` is never used [INFO] [stdout] --> src/signatures.rs:176:8 [INFO] [stdout] | [INFO] [stdout] 176 | pub fn sign_obtain_transactions_request(source_id:String, skey:Vec) -> Vec{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `verify_obtain_transactions_response` is never used [INFO] [stdout] --> src/signatures.rs:193:8 [INFO] [stdout] | [INFO] [stdout] 193 | pub fn verify_obtain_transactions_response(response:ObtainTransactionsResponse){ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `sign_retrieve_blockchain_response` is never used [INFO] [stdout] --> src/signatures.rs:211:8 [INFO] [stdout] | [INFO] [stdout] 211 | pub fn sign_retrieve_blockchain_response(source_id:String, blockchain:Vec, skey:Vec) -> Vec{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `verify_retrieve_blockchain_response` is never used [INFO] [stdout] --> src/signatures.rs:218:8 [INFO] [stdout] | [INFO] [stdout] 218 | pub fn verify_retrieve_blockchain_response(response: RetrieveBlockchainResponse){ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `sign_update_blockchain_response` is never used [INFO] [stdout] --> src/signatures.rs:240:8 [INFO] [stdout] | [INFO] [stdout] 240 | pub fn sign_update_blockchain_response(source_id:String, skey:Vec) -> Vec{ [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/single_client.rs:103:15 [INFO] [stdout] | [INFO] [stdout] 92 | let token = CancellationToken::new(); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 103 | match signal::ctrl_c().await { [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/endpoint.rs:53:100 [INFO] [stdout] | [INFO] [stdout] 53 | async fn join(&self, request: Request) -> Result, Status> { [INFO] [stdout] | __________________________-----------------------------_____________________________________________^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 54 | | let req = request.get_ref().clone().node.unwrap().info; [INFO] [stdout] 55 | | verify_join_request(request.get_ref().clone()); [INFO] [stdout] 56 | | let mut neighbours = Vec::new(); [INFO] [stdout] ... | [INFO] [stdout] 81 | | Ok(Response::new(JoinResponse{ neighbours, blockchain:self.node.read().await.clone().blockchain, sign:Option::from(sign) })) [INFO] [stdout] 82 | | } [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/endpoint.rs:83:111 [INFO] [stdout] | [INFO] [stdout] 83 | async fn find_node(&self, request: Request) -> Result, Status>{ [INFO] [stdout] | _______________________________---------------------------------_______________________________________________^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 84 | | self.is_correct_key(request.get_ref().clone().source_id, request.get_ref().clone().sign.unwrap()).await; [INFO] [stdout] 85 | | verify_find_node_request(request.get_ref().clone()); [INFO] [stdout] 86 | | println!("NODE {} FINDING {}", self.node.read().await.info.clone().unwrap().id, request.get_ref().clone().target); [INFO] [stdout] ... | [INFO] [stdout] 102 | | Ok(Response::new(FindNodeResponse{source_id:self.node.read().await.clone().info.unwrap().id,node:None, sign:None})) [INFO] [stdout] 103 | | } [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/endpoint.rs:104:110 [INFO] [stdout] | [INFO] [stdout] 104 | async fn update_node(&self, request: Request) -> Result, Status> { [INFO] [stdout] | _________________________________-------------------------------______________________________________________^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 105 | | verify_update_request(request.get_ref().clone()); [INFO] [stdout] 106 | | let nodes = request.get_ref().clone().neighbours; [INFO] [stdout] 107 | | for i in nodes{ [INFO] [stdout] ... | [INFO] [stdout] 115 | | return Ok(Response::new(UpdateResponse{ source_id:self.node.read().await.clone().info.unwrap().id,response:true, sign:Option::fro... [INFO] [stdout] 116 | | } [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/endpoint.rs:117:120 [INFO] [stdout] | [INFO] [stdout] 117 | async fn get_neighbours(&self, request: Request) -> Result, Status>{ [INFO] [stdout] | ____________________________________-----------------------------------_________________________________________________^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 118 | | self.is_correct_key(request.get_ref().clone().source_id, request.get_ref().clone().sign.unwrap()).await; [INFO] [stdout] 119 | | verify_neighbours_request(request.get_ref().clone()); [INFO] [stdout] 120 | | let neighbours=self.node.read().await.get_neighbours(); [INFO] [stdout] ... | [INFO] [stdout] 123 | | return Ok(Response::new(NeighboursResponse{ source_id:self.node.read().await.clone().info.unwrap().id,neighbours, sign:Option::fr... [INFO] [stdout] 124 | | } [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/endpoint.rs:125:109 [INFO] [stdout] | [INFO] [stdout] 125 | async fn remove_node(&self, request: Request) -> Result, Status>{ [INFO] [stdout] | _________________________________-------------------------------_____________________________________________^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 126 | | self.is_correct_key(request.get_ref().clone().source_id, request.get_ref().clone().sign.unwrap()).await; [INFO] [stdout] 127 | | verify_remove_request(request.get_ref().clone()); [INFO] [stdout] 128 | | let mut node = self.node.write().await; [INFO] [stdout] ... | [INFO] [stdout] 134 | | Ok(Response::new(RemoveResponse{ source_id:node.clone().info.unwrap().id,success:true, sign:Option::from(sign)})) [INFO] [stdout] 135 | | } [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/endpoint.rs:137:120 [INFO] [stdout] | [INFO] [stdout] 137 | async fn transaction(&self, request: Request) -> Result, Status> { [INFO] [stdout] | _________________________________------------------------------------___________________________________________________^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 138 | | self.is_correct_key(request.get_ref().clone().source_id, request.get_ref().clone().sign.unwrap()).await; [INFO] [stdout] 139 | | verify_transaction_request(request.get_ref().clone()); [INFO] [stdout] 140 | | let mut status = "".to_string(); [INFO] [stdout] ... | [INFO] [stdout] 168 | | Ok(Response::new(TransactionResponse{source_id:info.clone().id,state:status, sign})) [INFO] [stdout] 169 | | } [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/endpoint.rs:171:142 [INFO] [stdout] | [INFO] [stdout] 171 | async fn obtain_transactions(&self, request: Request) -> Result, Status> { [INFO] [stdout] | _________________________________________-------------------------------------------__________________________________________________________^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 172 | | self.is_correct_key(request.get_ref().clone().source_id, request.get_ref().clone().sign.unwrap()).await; [INFO] [stdout] 173 | | verify_obtain_transactions_request(request.get_ref().clone()); [INFO] [stdout] 174 | | let node = self.node.read().await.clone(); [INFO] [stdout] ... | [INFO] [stdout] 178 | | Ok(Response::new(ObtainTransactionsResponse{source_id:info.clone().id,transactions:self.transaction_list.clone().read().await.clone(), si... [INFO] [stdout] 179 | | } [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/endpoint.rs:181:142 [INFO] [stdout] | [INFO] [stdout] 181 | async fn retrieve_blockchain(&self, request: Request) -> Result, Status> { [INFO] [stdout] | _________________________________________-------------------------------------------__________________________________________________________^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 182 | | self.is_correct_key(request.get_ref().clone().source_id, request.get_ref().clone().sign.unwrap()).await; [INFO] [stdout] 183 | | verify_retrieve_blockchain_request(request.get_ref().clone()); [INFO] [stdout] 184 | | let blockchain = self.blocks.read().await.clone(); [INFO] [stdout] ... | [INFO] [stdout] 188 | | Ok(Response::new(RetrieveBlockchainResponse{source_id:self.node.read().await.clone().info.unwrap().id,blockchain, sign})) [INFO] [stdout] 189 | | } [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/endpoint.rs:191:136 [INFO] [stdout] | [INFO] [stdout] 191 | async fn update_blockchain(&self, request: Request) -> Result, Status> { [INFO] [stdout] | _______________________________________-----------------------------------------________________________________________________________^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 192 | | self.is_correct_key(request.get_ref().clone().source_id, request.get_ref().clone().sign.unwrap()).await; [INFO] [stdout] 193 | | verify_update_blockchain_request(request.get_ref().clone()); [INFO] [stdout] 194 | | let mut temp = self.blocks.read().await.clone(); [INFO] [stdout] ... | [INFO] [stdout] 197 | | todo!() [INFO] [stdout] 198 | | } [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/endpoint.rs:200:115 [INFO] [stdout] | [INFO] [stdout] 200 | async fn create_bid(&self, request: Request) -> Result, Status> { [INFO] [stdout] | ________________________________----------------------------------_________________________________________________^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 201 | | self.is_correct_key(request.get_ref().clone().source_id, request.get_ref().clone().sign.unwrap()).await; [INFO] [stdout] 202 | | todo!() [INFO] [stdout] 203 | | } [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/endpoint.rs:205:112 [INFO] [stdout] | [INFO] [stdout] 205 | async fn bid_value(&self, request: Request) -> Result, Status> { [INFO] [stdout] | _______________________________---------------------------------________________________________________________^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 206 | | self.is_correct_key(request.get_ref().clone().source_id, request.get_ref().clone().sign.unwrap()).await; [INFO] [stdout] 207 | | todo!() [INFO] [stdout] 208 | | } [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/util.rs:37:6 [INFO] [stdout] | [INFO] [stdout] 36 | let keypair = Rsa::generate(1024).unwrap(); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 37 | (keypair.private_key_to_pem().unwrap(), keypair.public_key_to_pem().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/util.rs:37:45 [INFO] [stdout] | [INFO] [stdout] 36 | let keypair = Rsa::generate(1024).unwrap(); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 37 | (keypair.private_key_to_pem().unwrap(), keypair.public_key_to_pem().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/util.rs:57:12 [INFO] [stdout] | [INFO] [stdout] 49 | let socket = TcpSocket::new_v4(); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 57 | Ok(None) [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 `ssd` (bin "single_client" test) due to 50 previous errors; 48 warnings emitted [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] --> /opt/rustwide/target/debug/build/ssd-f356d585611e8990/out/kademlia.rs:398:33 [INFO] [stdout] | [INFO] [stdout] 382 | inner: T, [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 383 | interceptor: F, [INFO] [stdout] | -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 398 | EndpointClient::new(InterceptedService::new(inner, interceptor)) [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] --> /opt/rustwide/target/debug/build/ssd-f356d585611e8990/out/kademlia.rs:748:30 [INFO] [stdout] | [INFO] [stdout] 732 | inner: T, [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 733 | interceptor: F, [INFO] [stdout] | -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 748 | MinerClient::new(InterceptedService::new(inner, interceptor)) [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] --> /opt/rustwide/target/debug/build/ssd-f356d585611e8990/out/kademlia.rs:908:28 [INFO] [stdout] | [INFO] [stdout] 907 | pub fn new(inner: T) -> Self { [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 908 | Self::from_arc(Arc::new(inner)) [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] --> /opt/rustwide/target/debug/build/ssd-f356d585611e8990/out/kademlia.rs:927:37 [INFO] [stdout] | [INFO] [stdout] 921 | inner: T, [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 922 | interceptor: F, [INFO] [stdout] | -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 927 | InterceptedService::new(Self::new(inner), interceptor) [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] --> /opt/rustwide/target/debug/build/ssd-f356d585611e8990/out/kademlia.rs:992:72 [INFO] [stdout] | [INFO] [stdout] 988 | ... request: tonic::Request, [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 989 | ... ) -> Self::Future { [INFO] [stdout] 990 | ... let inner = Arc::clone(&self.0); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 991 | ... let fut = async move { [INFO] [stdout] 992 | ... ::join(&inner, request).await [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] --> /opt/rustwide/target/debug/build/ssd-f356d585611e8990/out/kademlia.rs:1036:77 [INFO] [stdout] | [INFO] [stdout] 1032 | ... request: tonic::Request, [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1033 | ... ) -> Self::Future { [INFO] [stdout] 1034 | ... let inner = Arc::clone(&self.0); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1035 | ... let fut = async move { [INFO] [stdout] 1036 | ... ::find_node(&inner, request).await [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] --> /opt/rustwide/target/debug/build/ssd-f356d585611e8990/out/kademlia.rs:1080:79 [INFO] [stdout] | [INFO] [stdout] 1076 | ... request: tonic::Request, [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1077 | ... ) -> Self::Future { [INFO] [stdout] 1078 | ... let inner = Arc::clone(&self.0); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1079 | ... let fut = async move { [INFO] [stdout] 1080 | ... ::update_node(&inner, request).await [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] --> /opt/rustwide/target/debug/build/ssd-f356d585611e8990/out/kademlia.rs:1126:82 [INFO] [stdout] | [INFO] [stdout] 1122 | ... request: tonic::Request, [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1123 | ... ) -> Self::Future { [INFO] [stdout] 1124 | ... let inner = Arc::clone(&self.0); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1125 | ... let fut = async move { [INFO] [stdout] 1126 | ... ::get_neighbours(&inner, request).await [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] --> /opt/rustwide/target/debug/build/ssd-f356d585611e8990/out/kademlia.rs:1170:79 [INFO] [stdout] | [INFO] [stdout] 1166 | ... request: tonic::Request, [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1167 | ... ) -> Self::Future { [INFO] [stdout] 1168 | ... let inner = Arc::clone(&self.0); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1169 | ... let fut = async move { [INFO] [stdout] 1170 | ... ::remove_node(&inner, request).await [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] --> /opt/rustwide/target/debug/build/ssd-f356d585611e8990/out/kademlia.rs:1216:79 [INFO] [stdout] | [INFO] [stdout] 1212 | ... request: tonic::Request, [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1213 | ... ) -> Self::Future { [INFO] [stdout] 1214 | ... let inner = Arc::clone(&self.0); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1215 | ... let fut = async move { [INFO] [stdout] 1216 | ... ::transaction(&inner, request).await [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] --> /opt/rustwide/target/debug/build/ssd-f356d585611e8990/out/kademlia.rs:1262:87 [INFO] [stdout] | [INFO] [stdout] 1258 | ... request: tonic::Request, [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1259 | ... ) -> Self::Future { [INFO] [stdout] 1260 | ... let inner = Arc::clone(&self.0); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1261 | ... let fut = async move { [INFO] [stdout] 1262 | ... ::obtain_transactions(&inner, request).await [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] --> /opt/rustwide/target/debug/build/ssd-f356d585611e8990/out/kademlia.rs:1308:87 [INFO] [stdout] | [INFO] [stdout] 1304 | ... request: tonic::Request, [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1305 | ... ) -> Self::Future { [INFO] [stdout] 1306 | ... let inner = Arc::clone(&self.0); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1307 | ... let fut = async move { [INFO] [stdout] 1308 | ... ::retrieve_blockchain(&inner, request).await [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] --> /opt/rustwide/target/debug/build/ssd-f356d585611e8990/out/kademlia.rs:1354:85 [INFO] [stdout] | [INFO] [stdout] 1350 | ... request: tonic::Request, [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1351 | ... ) -> Self::Future { [INFO] [stdout] 1352 | ... let inner = Arc::clone(&self.0); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1353 | ... let fut = async move { [INFO] [stdout] 1354 | ... ::update_blockchain(&inner, request).await [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] --> /opt/rustwide/target/debug/build/ssd-f356d585611e8990/out/kademlia.rs:1400:78 [INFO] [stdout] | [INFO] [stdout] 1396 | ... request: tonic::Request, [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1397 | ... ) -> Self::Future { [INFO] [stdout] 1398 | ... let inner = Arc::clone(&self.0); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1399 | ... let fut = async move { [INFO] [stdout] 1400 | ... ::create_bid(&inner, request).await [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] --> /opt/rustwide/target/debug/build/ssd-f356d585611e8990/out/kademlia.rs:1444:77 [INFO] [stdout] | [INFO] [stdout] 1440 | ... request: tonic::Request, [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1441 | ... ) -> Self::Future { [INFO] [stdout] 1442 | ... let inner = Arc::clone(&self.0); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1443 | ... let fut = async move { [INFO] [stdout] 1444 | ... ::bid_value(&inner, request).await [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] --> /opt/rustwide/target/debug/build/ssd-f356d585611e8990/out/kademlia.rs:1540:28 [INFO] [stdout] | [INFO] [stdout] 1539 | pub fn new(inner: T) -> Self { [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1540 | Self::from_arc(Arc::new(inner)) [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] --> /opt/rustwide/target/debug/build/ssd-f356d585611e8990/out/kademlia.rs:1559:37 [INFO] [stdout] | [INFO] [stdout] 1553 | inner: T, [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1554 | interceptor: F, [INFO] [stdout] | -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1559 | InterceptedService::new(Self::new(inner), interceptor) [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] --> /opt/rustwide/target/debug/build/ssd-f356d585611e8990/out/kademlia.rs:1624:69 [INFO] [stdout] | [INFO] [stdout] 1620 | ... request: tonic::Request, [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1621 | ... ) -> Self::Future { [INFO] [stdout] 1622 | ... let inner = Arc::clone(&self.0); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1623 | ... let fut = async move { [INFO] [stdout] 1624 | ... ::mine(&inner, request).await [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] --> /opt/rustwide/target/debug/build/ssd-f356d585611e8990/out/kademlia.rs:1668:70 [INFO] [stdout] | [INFO] [stdout] 1664 | ... request: tonic::Request, [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1665 | ... ) -> Self::Future { [INFO] [stdout] 1666 | ... let inner = Arc::clone(&self.0); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1667 | ... let fut = async move { [INFO] [stdout] 1668 | ... ::abort(&inner, request).await [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] --> /opt/rustwide/target/debug/build/ssd-f356d585611e8990/out/kademlia.rs:992:72 [INFO] [stdout] | [INFO] [stdout] 988 | ... request: tonic::Request, [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 989 | ... ) -> Self::Future { [INFO] [stdout] 990 | ... let inner = Arc::clone(&self.0); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 991 | ... let fut = async move { [INFO] [stdout] 992 | ... ::join(&inner, request).await [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] --> /opt/rustwide/target/debug/build/ssd-f356d585611e8990/out/kademlia.rs:1036:77 [INFO] [stdout] | [INFO] [stdout] 1032 | ... request: tonic::Request, [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1033 | ... ) -> Self::Future { [INFO] [stdout] 1034 | ... let inner = Arc::clone(&self.0); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1035 | ... let fut = async move { [INFO] [stdout] 1036 | ... ::find_node(&inner, request).await [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] --> /opt/rustwide/target/debug/build/ssd-f356d585611e8990/out/kademlia.rs:1080:79 [INFO] [stdout] | [INFO] [stdout] 1076 | ... request: tonic::Request, [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1077 | ... ) -> Self::Future { [INFO] [stdout] 1078 | ... let inner = Arc::clone(&self.0); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1079 | ... let fut = async move { [INFO] [stdout] 1080 | ... ::update_node(&inner, request).await [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] --> /opt/rustwide/target/debug/build/ssd-f356d585611e8990/out/kademlia.rs:1126:82 [INFO] [stdout] | [INFO] [stdout] 1122 | ... request: tonic::Request, [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1123 | ... ) -> Self::Future { [INFO] [stdout] 1124 | ... let inner = Arc::clone(&self.0); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1125 | ... let fut = async move { [INFO] [stdout] 1126 | ... ::get_neighbours(&inner, request).await [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] --> /opt/rustwide/target/debug/build/ssd-f356d585611e8990/out/kademlia.rs:1170:79 [INFO] [stdout] | [INFO] [stdout] 1166 | ... request: tonic::Request, [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1167 | ... ) -> Self::Future { [INFO] [stdout] 1168 | ... let inner = Arc::clone(&self.0); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1169 | ... let fut = async move { [INFO] [stdout] 1170 | ... ::remove_node(&inner, request).await [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] --> /opt/rustwide/target/debug/build/ssd-f356d585611e8990/out/kademlia.rs:1216:79 [INFO] [stdout] | [INFO] [stdout] 1212 | ... request: tonic::Request, [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1213 | ... ) -> Self::Future { [INFO] [stdout] 1214 | ... let inner = Arc::clone(&self.0); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1215 | ... let fut = async move { [INFO] [stdout] 1216 | ... ::transaction(&inner, request).await [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] --> /opt/rustwide/target/debug/build/ssd-f356d585611e8990/out/kademlia.rs:1262:87 [INFO] [stdout] | [INFO] [stdout] 1258 | ... request: tonic::Request, [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1259 | ... ) -> Self::Future { [INFO] [stdout] 1260 | ... let inner = Arc::clone(&self.0); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1261 | ... let fut = async move { [INFO] [stdout] 1262 | ... ::obtain_transactions(&inner, request).await [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] --> /opt/rustwide/target/debug/build/ssd-f356d585611e8990/out/kademlia.rs:1308:87 [INFO] [stdout] | [INFO] [stdout] 1304 | ... request: tonic::Request, [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1305 | ... ) -> Self::Future { [INFO] [stdout] 1306 | ... let inner = Arc::clone(&self.0); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1307 | ... let fut = async move { [INFO] [stdout] 1308 | ... ::retrieve_blockchain(&inner, request).await [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] --> /opt/rustwide/target/debug/build/ssd-f356d585611e8990/out/kademlia.rs:1354:85 [INFO] [stdout] | [INFO] [stdout] 1350 | ... request: tonic::Request, [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1351 | ... ) -> Self::Future { [INFO] [stdout] 1352 | ... let inner = Arc::clone(&self.0); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1353 | ... let fut = async move { [INFO] [stdout] 1354 | ... ::update_blockchain(&inner, request).await [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] --> /opt/rustwide/target/debug/build/ssd-f356d585611e8990/out/kademlia.rs:1400:78 [INFO] [stdout] | [INFO] [stdout] 1396 | ... request: tonic::Request, [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1397 | ... ) -> Self::Future { [INFO] [stdout] 1398 | ... let inner = Arc::clone(&self.0); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1399 | ... let fut = async move { [INFO] [stdout] 1400 | ... ::create_bid(&inner, request).await [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] --> /opt/rustwide/target/debug/build/ssd-f356d585611e8990/out/kademlia.rs:1444:77 [INFO] [stdout] | [INFO] [stdout] 1440 | ... request: tonic::Request, [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1441 | ... ) -> Self::Future { [INFO] [stdout] 1442 | ... let inner = Arc::clone(&self.0); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1443 | ... let fut = async move { [INFO] [stdout] 1444 | ... ::bid_value(&inner, request).await [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] --> /opt/rustwide/target/debug/build/ssd-f356d585611e8990/out/kademlia.rs:1624:69 [INFO] [stdout] | [INFO] [stdout] 1620 | ... request: tonic::Request, [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1621 | ... ) -> Self::Future { [INFO] [stdout] 1622 | ... let inner = Arc::clone(&self.0); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1623 | ... let fut = async move { [INFO] [stdout] 1624 | ... ::mine(&inner, request).await [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] --> /opt/rustwide/target/debug/build/ssd-f356d585611e8990/out/kademlia.rs:1668:70 [INFO] [stdout] | [INFO] [stdout] 1664 | ... request: tonic::Request, [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1665 | ... ) -> Self::Future { [INFO] [stdout] 1666 | ... let inner = Arc::clone(&self.0); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1667 | ... let fut = async move { [INFO] [stdout] 1668 | ... ::abort(&inner, request).await [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/blockchain.rs:35:99 [INFO] [stdout] | [INFO] [stdout] 35 | async fn mine(&self, request: Request) -> Result, Status> { [INFO] [stdout] | __________________________-----------------------------____________________________________________^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 36 | | let new = self.generate_block(request.get_ref().clone().previous, request.get_ref().clone().transactions).await; [INFO] [stdout] 37 | | [INFO] [stdout] 38 | | Ok(Response::new(MineResponse{source_id:request.get_ref().clone().source_id, new:Option::from(new)})) [INFO] [stdout] 39 | | } [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/blockchain.rs:41:102 [INFO] [stdout] | [INFO] [stdout] 41 | async fn abort(&self, request: Request) -> Result, Status> { [INFO] [stdout] | ___________________________------------------------------_____________________________________________^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 42 | | todo!() [INFO] [stdout] 43 | | } [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: unused return value of `must_use` that must be used [INFO] [stdout] --> src/blockchain.rs:113:9 [INFO] [stdout] | [INFO] [stdout] 113 | format!("{}{}", res, 0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this warning originates in the macro `format` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `source_id` [INFO] [stdout] --> src/signatures.rs:78:28 [INFO] [stdout] | [INFO] [stdout] 78 | pub fn sign_remove_request(source_id:String, node:NodeInfo, skey:Vec) -> Vec{ [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_source_id` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 49 previous errors; 48 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `request` [INFO] [stdout] --> src/blockchain.rs:41:27 [INFO] [stdout] | [INFO] [stdout] 41 | async fn abort(&self, request: Request) -> Result, Status> { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_request` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/blockchain.rs:57:13 [INFO] [stdout] | [INFO] [stdout] 57 | let mut current_transactions = std::sync::Arc::from(tokio::sync::RwLock::from(Vec::new())); [INFO] [stdout] | ----^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/blockchain.rs:58:13 [INFO] [stdout] | [INFO] [stdout] 58 | let mut queued_transactions = std::sync::Arc::from(tokio::sync::RwLock::from(Vec::new())); [INFO] [stdout] | ----^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/blockchain.rs:59:13 [INFO] [stdout] | [INFO] [stdout] 59 | let mut active_bids = std::sync::Arc::from(tokio::sync::RwLock::from(Vec::new())); [INFO] [stdout] | ----^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/blockchain.rs:112:9 [INFO] [stdout] | [INFO] [stdout] 112 | for i in 0..PREFIX_LENGTH{ [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `ssd` (bin "single_client") due to 50 previous errors; 48 warnings emitted [INFO] [stdout] warning: constant `GENESIS` is never used [INFO] [stdout] --> src/util.rs:14:11 [INFO] [stdout] | [INFO] [stdout] 14 | pub const GENESIS: &str = "00f151242e0010e58cde0d6644d9db53a8552f0e2d26628c9a72199005b5a76e"; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_input` is never used [INFO] [stdout] --> src/util.rs:23:8 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn parse_input() -> i32{ [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `retrieve_blockchain_request` is never used [INFO] [stdout] --> src/requests.rs:108:14 [INFO] [stdout] | [INFO] [stdout] 108 | pub async fn retrieve_blockchain_request(source:Node, url:String) -> Vec{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `obtain_transactions_request` is never used [INFO] [stdout] --> src/requests.rs:147:14 [INFO] [stdout] | [INFO] [stdout] 147 | pub async fn obtain_transactions_request(source:Node, url:String) -> Vec{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `sign_obtain_transactions_request` is never used [INFO] [stdout] --> src/signatures.rs:176:8 [INFO] [stdout] | [INFO] [stdout] 176 | pub fn sign_obtain_transactions_request(source_id:String, skey:Vec) -> Vec{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `verify_obtain_transactions_response` is never used [INFO] [stdout] --> src/signatures.rs:193:8 [INFO] [stdout] | [INFO] [stdout] 193 | pub fn verify_obtain_transactions_response(response:ObtainTransactionsResponse){ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `sign_retrieve_blockchain_response` is never used [INFO] [stdout] --> src/signatures.rs:211:8 [INFO] [stdout] | [INFO] [stdout] 211 | pub fn sign_retrieve_blockchain_response(source_id:String, blockchain:Vec, skey:Vec) -> Vec{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `verify_retrieve_blockchain_response` is never used [INFO] [stdout] --> src/signatures.rs:218:8 [INFO] [stdout] | [INFO] [stdout] 218 | pub fn verify_retrieve_blockchain_response(response: RetrieveBlockchainResponse){ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `sign_update_blockchain_response` is never used [INFO] [stdout] --> src/signatures.rs:240:8 [INFO] [stdout] | [INFO] [stdout] 240 | pub fn sign_update_blockchain_response(source_id:String, skey:Vec) -> Vec{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `active_bids` is never read [INFO] [stdout] --> src/blockchain.rs:49:9 [INFO] [stdout] | [INFO] [stdout] 47 | pub struct MinerInfo{ [INFO] [stdout] | --------- field in this struct [INFO] [stdout] 48 | pub current_transactions: std::sync::Arc>>, [INFO] [stdout] 49 | pub active_bids: std::sync::Arc>>, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MinerInfo` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [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/endpoint.rs:53:100 [INFO] [stdout] | [INFO] [stdout] 53 | async fn join(&self, request: Request) -> Result, Status> { [INFO] [stdout] | __________________________-----------------------------_____________________________________________^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 54 | | let req = request.get_ref().clone().node.unwrap().info; [INFO] [stdout] 55 | | verify_join_request(request.get_ref().clone()); [INFO] [stdout] 56 | | let mut neighbours = Vec::new(); [INFO] [stdout] ... | [INFO] [stdout] 81 | | Ok(Response::new(JoinResponse{ neighbours, blockchain:self.node.read().await.clone().blockchain, sign:Option::from(sign) })) [INFO] [stdout] 82 | | } [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/endpoint.rs:83:111 [INFO] [stdout] | [INFO] [stdout] 83 | async fn find_node(&self, request: Request) -> Result, Status>{ [INFO] [stdout] | _______________________________---------------------------------_______________________________________________^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 84 | | self.is_correct_key(request.get_ref().clone().source_id, request.get_ref().clone().sign.unwrap()).await; [INFO] [stdout] 85 | | verify_find_node_request(request.get_ref().clone()); [INFO] [stdout] 86 | | println!("NODE {} FINDING {}", self.node.read().await.info.clone().unwrap().id, request.get_ref().clone().target); [INFO] [stdout] ... | [INFO] [stdout] 102 | | Ok(Response::new(FindNodeResponse{source_id:self.node.read().await.clone().info.unwrap().id,node:None, sign:None})) [INFO] [stdout] 103 | | } [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/endpoint.rs:104:110 [INFO] [stdout] | [INFO] [stdout] 104 | async fn update_node(&self, request: Request) -> Result, Status> { [INFO] [stdout] | _________________________________-------------------------------______________________________________________^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 105 | | verify_update_request(request.get_ref().clone()); [INFO] [stdout] 106 | | let nodes = request.get_ref().clone().neighbours; [INFO] [stdout] 107 | | for i in nodes{ [INFO] [stdout] ... | [INFO] [stdout] 115 | | return Ok(Response::new(UpdateResponse{ source_id:self.node.read().await.clone().info.unwrap().id,response:true, sign:Option::fro... [INFO] [stdout] 116 | | } [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/endpoint.rs:117:120 [INFO] [stdout] | [INFO] [stdout] 117 | async fn get_neighbours(&self, request: Request) -> Result, Status>{ [INFO] [stdout] | ____________________________________-----------------------------------_________________________________________________^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 118 | | self.is_correct_key(request.get_ref().clone().source_id, request.get_ref().clone().sign.unwrap()).await; [INFO] [stdout] 119 | | verify_neighbours_request(request.get_ref().clone()); [INFO] [stdout] 120 | | let neighbours=self.node.read().await.get_neighbours(); [INFO] [stdout] ... | [INFO] [stdout] 123 | | return Ok(Response::new(NeighboursResponse{ source_id:self.node.read().await.clone().info.unwrap().id,neighbours, sign:Option::fr... [INFO] [stdout] 124 | | } [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/endpoint.rs:125:109 [INFO] [stdout] | [INFO] [stdout] 125 | async fn remove_node(&self, request: Request) -> Result, Status>{ [INFO] [stdout] | _________________________________-------------------------------_____________________________________________^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 126 | | self.is_correct_key(request.get_ref().clone().source_id, request.get_ref().clone().sign.unwrap()).await; [INFO] [stdout] 127 | | verify_remove_request(request.get_ref().clone()); [INFO] [stdout] 128 | | let mut node = self.node.write().await; [INFO] [stdout] ... | [INFO] [stdout] 134 | | Ok(Response::new(RemoveResponse{ source_id:node.clone().info.unwrap().id,success:true, sign:Option::from(sign)})) [INFO] [stdout] 135 | | } [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/endpoint.rs:137:120 [INFO] [stdout] | [INFO] [stdout] 137 | async fn transaction(&self, request: Request) -> Result, Status> { [INFO] [stdout] | _________________________________------------------------------------___________________________________________________^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 138 | | self.is_correct_key(request.get_ref().clone().source_id, request.get_ref().clone().sign.unwrap()).await; [INFO] [stdout] 139 | | verify_transaction_request(request.get_ref().clone()); [INFO] [stdout] 140 | | let mut status = "".to_string(); [INFO] [stdout] ... | [INFO] [stdout] 168 | | Ok(Response::new(TransactionResponse{source_id:info.clone().id,state:status, sign})) [INFO] [stdout] 169 | | } [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/endpoint.rs:171:142 [INFO] [stdout] | [INFO] [stdout] 171 | async fn obtain_transactions(&self, request: Request) -> Result, Status> { [INFO] [stdout] | _________________________________________-------------------------------------------__________________________________________________________^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 172 | | self.is_correct_key(request.get_ref().clone().source_id, request.get_ref().clone().sign.unwrap()).await; [INFO] [stdout] 173 | | verify_obtain_transactions_request(request.get_ref().clone()); [INFO] [stdout] 174 | | let node = self.node.read().await.clone(); [INFO] [stdout] ... | [INFO] [stdout] 178 | | Ok(Response::new(ObtainTransactionsResponse{source_id:info.clone().id,transactions:self.transaction_list.clone().read().await.clone(), si... [INFO] [stdout] 179 | | } [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/endpoint.rs:181:142 [INFO] [stdout] | [INFO] [stdout] 181 | async fn retrieve_blockchain(&self, request: Request) -> Result, Status> { [INFO] [stdout] | _________________________________________-------------------------------------------__________________________________________________________^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 182 | | self.is_correct_key(request.get_ref().clone().source_id, request.get_ref().clone().sign.unwrap()).await; [INFO] [stdout] 183 | | verify_retrieve_blockchain_request(request.get_ref().clone()); [INFO] [stdout] 184 | | let blockchain = self.blocks.read().await.clone(); [INFO] [stdout] ... | [INFO] [stdout] 188 | | Ok(Response::new(RetrieveBlockchainResponse{source_id:self.node.read().await.clone().info.unwrap().id,blockchain, sign})) [INFO] [stdout] 189 | | } [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/endpoint.rs:191:136 [INFO] [stdout] | [INFO] [stdout] 191 | async fn update_blockchain(&self, request: Request) -> Result, Status> { [INFO] [stdout] | _______________________________________-----------------------------------------________________________________________________________^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 192 | | self.is_correct_key(request.get_ref().clone().source_id, request.get_ref().clone().sign.unwrap()).await; [INFO] [stdout] 193 | | verify_update_blockchain_request(request.get_ref().clone()); [INFO] [stdout] 194 | | let mut temp = self.blocks.read().await.clone(); [INFO] [stdout] ... | [INFO] [stdout] 197 | | todo!() [INFO] [stdout] 198 | | } [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/endpoint.rs:200:115 [INFO] [stdout] | [INFO] [stdout] 200 | async fn create_bid(&self, request: Request) -> Result, Status> { [INFO] [stdout] | ________________________________----------------------------------_________________________________________________^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 201 | | self.is_correct_key(request.get_ref().clone().source_id, request.get_ref().clone().sign.unwrap()).await; [INFO] [stdout] 202 | | todo!() [INFO] [stdout] 203 | | } [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/endpoint.rs:205:112 [INFO] [stdout] | [INFO] [stdout] 205 | async fn bid_value(&self, request: Request) -> Result, Status> { [INFO] [stdout] | _______________________________---------------------------------________________________________________________^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 206 | | self.is_correct_key(request.get_ref().clone().source_id, request.get_ref().clone().sign.unwrap()).await; [INFO] [stdout] 207 | | todo!() [INFO] [stdout] 208 | | } [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/util.rs:37:6 [INFO] [stdout] | [INFO] [stdout] 36 | let keypair = Rsa::generate(1024).unwrap(); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 37 | (keypair.private_key_to_pem().unwrap(), keypair.public_key_to_pem().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/util.rs:37:45 [INFO] [stdout] | [INFO] [stdout] 36 | let keypair = Rsa::generate(1024).unwrap(); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 37 | (keypair.private_key_to_pem().unwrap(), keypair.public_key_to_pem().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/util.rs:57:12 [INFO] [stdout] | [INFO] [stdout] 49 | let socket = TcpSocket::new_v4(); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 57 | Ok(None) [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] --> /opt/rustwide/target/debug/build/ssd-f356d585611e8990/out/kademlia.rs:398:33 [INFO] [stdout] | [INFO] [stdout] 382 | inner: T, [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 383 | interceptor: F, [INFO] [stdout] | -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 398 | EndpointClient::new(InterceptedService::new(inner, interceptor)) [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] --> /opt/rustwide/target/debug/build/ssd-f356d585611e8990/out/kademlia.rs:748:30 [INFO] [stdout] | [INFO] [stdout] 732 | inner: T, [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 733 | interceptor: F, [INFO] [stdout] | -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 748 | MinerClient::new(InterceptedService::new(inner, interceptor)) [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] --> /opt/rustwide/target/debug/build/ssd-f356d585611e8990/out/kademlia.rs:908:28 [INFO] [stdout] | [INFO] [stdout] 907 | pub fn new(inner: T) -> Self { [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 908 | Self::from_arc(Arc::new(inner)) [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] --> /opt/rustwide/target/debug/build/ssd-f356d585611e8990/out/kademlia.rs:927:37 [INFO] [stdout] | [INFO] [stdout] 921 | inner: T, [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 922 | interceptor: F, [INFO] [stdout] | -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 927 | InterceptedService::new(Self::new(inner), interceptor) [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] --> /opt/rustwide/target/debug/build/ssd-f356d585611e8990/out/kademlia.rs:992:72 [INFO] [stdout] | [INFO] [stdout] 988 | ... request: tonic::Request, [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 989 | ... ) -> Self::Future { [INFO] [stdout] 990 | ... let inner = Arc::clone(&self.0); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 991 | ... let fut = async move { [INFO] [stdout] 992 | ... ::join(&inner, request).await [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] --> /opt/rustwide/target/debug/build/ssd-f356d585611e8990/out/kademlia.rs:1036:77 [INFO] [stdout] | [INFO] [stdout] 1032 | ... request: tonic::Request, [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1033 | ... ) -> Self::Future { [INFO] [stdout] 1034 | ... let inner = Arc::clone(&self.0); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1035 | ... let fut = async move { [INFO] [stdout] 1036 | ... ::find_node(&inner, request).await [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] --> /opt/rustwide/target/debug/build/ssd-f356d585611e8990/out/kademlia.rs:1080:79 [INFO] [stdout] | [INFO] [stdout] 1076 | ... request: tonic::Request, [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1077 | ... ) -> Self::Future { [INFO] [stdout] 1078 | ... let inner = Arc::clone(&self.0); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1079 | ... let fut = async move { [INFO] [stdout] 1080 | ... ::update_node(&inner, request).await [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] --> /opt/rustwide/target/debug/build/ssd-f356d585611e8990/out/kademlia.rs:1126:82 [INFO] [stdout] | [INFO] [stdout] 1122 | ... request: tonic::Request, [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1123 | ... ) -> Self::Future { [INFO] [stdout] 1124 | ... let inner = Arc::clone(&self.0); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1125 | ... let fut = async move { [INFO] [stdout] 1126 | ... ::get_neighbours(&inner, request).await [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] --> /opt/rustwide/target/debug/build/ssd-f356d585611e8990/out/kademlia.rs:1170:79 [INFO] [stdout] | [INFO] [stdout] 1166 | ... request: tonic::Request, [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1167 | ... ) -> Self::Future { [INFO] [stdout] 1168 | ... let inner = Arc::clone(&self.0); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1169 | ... let fut = async move { [INFO] [stdout] 1170 | ... ::remove_node(&inner, request).await [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] --> /opt/rustwide/target/debug/build/ssd-f356d585611e8990/out/kademlia.rs:1216:79 [INFO] [stdout] | [INFO] [stdout] 1212 | ... request: tonic::Request, [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1213 | ... ) -> Self::Future { [INFO] [stdout] 1214 | ... let inner = Arc::clone(&self.0); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1215 | ... let fut = async move { [INFO] [stdout] 1216 | ... ::transaction(&inner, request).await [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] --> /opt/rustwide/target/debug/build/ssd-f356d585611e8990/out/kademlia.rs:1262:87 [INFO] [stdout] | [INFO] [stdout] 1258 | ... request: tonic::Request, [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1259 | ... ) -> Self::Future { [INFO] [stdout] 1260 | ... let inner = Arc::clone(&self.0); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1261 | ... let fut = async move { [INFO] [stdout] 1262 | ... ::obtain_transactions(&inner, request).await [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] --> /opt/rustwide/target/debug/build/ssd-f356d585611e8990/out/kademlia.rs:1308:87 [INFO] [stdout] | [INFO] [stdout] 1304 | ... request: tonic::Request, [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1305 | ... ) -> Self::Future { [INFO] [stdout] 1306 | ... let inner = Arc::clone(&self.0); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1307 | ... let fut = async move { [INFO] [stdout] 1308 | ... ::retrieve_blockchain(&inner, request).await [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] --> /opt/rustwide/target/debug/build/ssd-f356d585611e8990/out/kademlia.rs:1354:85 [INFO] [stdout] | [INFO] [stdout] 1350 | ... request: tonic::Request, [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1351 | ... ) -> Self::Future { [INFO] [stdout] 1352 | ... let inner = Arc::clone(&self.0); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1353 | ... let fut = async move { [INFO] [stdout] 1354 | ... ::update_blockchain(&inner, request).await [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] --> /opt/rustwide/target/debug/build/ssd-f356d585611e8990/out/kademlia.rs:1400:78 [INFO] [stdout] | [INFO] [stdout] 1396 | ... request: tonic::Request, [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1397 | ... ) -> Self::Future { [INFO] [stdout] 1398 | ... let inner = Arc::clone(&self.0); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1399 | ... let fut = async move { [INFO] [stdout] 1400 | ... ::create_bid(&inner, request).await [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] --> /opt/rustwide/target/debug/build/ssd-f356d585611e8990/out/kademlia.rs:1444:77 [INFO] [stdout] | [INFO] [stdout] 1440 | ... request: tonic::Request, [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1441 | ... ) -> Self::Future { [INFO] [stdout] 1442 | ... let inner = Arc::clone(&self.0); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1443 | ... let fut = async move { [INFO] [stdout] 1444 | ... ::bid_value(&inner, request).await [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] --> /opt/rustwide/target/debug/build/ssd-f356d585611e8990/out/kademlia.rs:1540:28 [INFO] [stdout] | [INFO] [stdout] 1539 | pub fn new(inner: T) -> Self { [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1540 | Self::from_arc(Arc::new(inner)) [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] --> /opt/rustwide/target/debug/build/ssd-f356d585611e8990/out/kademlia.rs:1559:37 [INFO] [stdout] | [INFO] [stdout] 1553 | inner: T, [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1554 | interceptor: F, [INFO] [stdout] | -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1559 | InterceptedService::new(Self::new(inner), interceptor) [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] --> /opt/rustwide/target/debug/build/ssd-f356d585611e8990/out/kademlia.rs:1624:69 [INFO] [stdout] | [INFO] [stdout] 1620 | ... request: tonic::Request, [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1621 | ... ) -> Self::Future { [INFO] [stdout] 1622 | ... let inner = Arc::clone(&self.0); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1623 | ... let fut = async move { [INFO] [stdout] 1624 | ... ::mine(&inner, request).await [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] --> /opt/rustwide/target/debug/build/ssd-f356d585611e8990/out/kademlia.rs:1668:70 [INFO] [stdout] | [INFO] [stdout] 1664 | ... request: tonic::Request, [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1665 | ... ) -> Self::Future { [INFO] [stdout] 1666 | ... let inner = Arc::clone(&self.0); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1667 | ... let fut = async move { [INFO] [stdout] 1668 | ... ::abort(&inner, request).await [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] --> /opt/rustwide/target/debug/build/ssd-f356d585611e8990/out/kademlia.rs:992:72 [INFO] [stdout] | [INFO] [stdout] 988 | ... request: tonic::Request, [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 989 | ... ) -> Self::Future { [INFO] [stdout] 990 | ... let inner = Arc::clone(&self.0); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 991 | ... let fut = async move { [INFO] [stdout] 992 | ... ::join(&inner, request).await [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] --> /opt/rustwide/target/debug/build/ssd-f356d585611e8990/out/kademlia.rs:1036:77 [INFO] [stdout] | [INFO] [stdout] 1032 | ... request: tonic::Request, [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1033 | ... ) -> Self::Future { [INFO] [stdout] 1034 | ... let inner = Arc::clone(&self.0); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1035 | ... let fut = async move { [INFO] [stdout] 1036 | ... ::find_node(&inner, request).await [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] --> /opt/rustwide/target/debug/build/ssd-f356d585611e8990/out/kademlia.rs:1080:79 [INFO] [stdout] | [INFO] [stdout] 1076 | ... request: tonic::Request, [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1077 | ... ) -> Self::Future { [INFO] [stdout] 1078 | ... let inner = Arc::clone(&self.0); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1079 | ... let fut = async move { [INFO] [stdout] 1080 | ... ::update_node(&inner, request).await [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] --> /opt/rustwide/target/debug/build/ssd-f356d585611e8990/out/kademlia.rs:1126:82 [INFO] [stdout] | [INFO] [stdout] 1122 | ... request: tonic::Request, [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1123 | ... ) -> Self::Future { [INFO] [stdout] 1124 | ... let inner = Arc::clone(&self.0); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1125 | ... let fut = async move { [INFO] [stdout] 1126 | ... ::get_neighbours(&inner, request).await [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] --> /opt/rustwide/target/debug/build/ssd-f356d585611e8990/out/kademlia.rs:1170:79 [INFO] [stdout] | [INFO] [stdout] 1166 | ... request: tonic::Request, [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1167 | ... ) -> Self::Future { [INFO] [stdout] 1168 | ... let inner = Arc::clone(&self.0); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1169 | ... let fut = async move { [INFO] [stdout] 1170 | ... ::remove_node(&inner, request).await [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] --> /opt/rustwide/target/debug/build/ssd-f356d585611e8990/out/kademlia.rs:1216:79 [INFO] [stdout] | [INFO] [stdout] 1212 | ... request: tonic::Request, [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1213 | ... ) -> Self::Future { [INFO] [stdout] 1214 | ... let inner = Arc::clone(&self.0); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1215 | ... let fut = async move { [INFO] [stdout] 1216 | ... ::transaction(&inner, request).await [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] --> /opt/rustwide/target/debug/build/ssd-f356d585611e8990/out/kademlia.rs:1262:87 [INFO] [stdout] | [INFO] [stdout] 1258 | ... request: tonic::Request, [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1259 | ... ) -> Self::Future { [INFO] [stdout] 1260 | ... let inner = Arc::clone(&self.0); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1261 | ... let fut = async move { [INFO] [stdout] 1262 | ... ::obtain_transactions(&inner, request).await [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] --> /opt/rustwide/target/debug/build/ssd-f356d585611e8990/out/kademlia.rs:1308:87 [INFO] [stdout] | [INFO] [stdout] 1304 | ... request: tonic::Request, [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1305 | ... ) -> Self::Future { [INFO] [stdout] 1306 | ... let inner = Arc::clone(&self.0); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1307 | ... let fut = async move { [INFO] [stdout] 1308 | ... ::retrieve_blockchain(&inner, request).await [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] --> /opt/rustwide/target/debug/build/ssd-f356d585611e8990/out/kademlia.rs:1354:85 [INFO] [stdout] | [INFO] [stdout] 1350 | ... request: tonic::Request, [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1351 | ... ) -> Self::Future { [INFO] [stdout] 1352 | ... let inner = Arc::clone(&self.0); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1353 | ... let fut = async move { [INFO] [stdout] 1354 | ... ::update_blockchain(&inner, request).await [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] --> /opt/rustwide/target/debug/build/ssd-f356d585611e8990/out/kademlia.rs:1400:78 [INFO] [stdout] | [INFO] [stdout] 1396 | ... request: tonic::Request, [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1397 | ... ) -> Self::Future { [INFO] [stdout] 1398 | ... let inner = Arc::clone(&self.0); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1399 | ... let fut = async move { [INFO] [stdout] 1400 | ... ::create_bid(&inner, request).await [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] --> /opt/rustwide/target/debug/build/ssd-f356d585611e8990/out/kademlia.rs:1444:77 [INFO] [stdout] | [INFO] [stdout] 1440 | ... request: tonic::Request, [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1441 | ... ) -> Self::Future { [INFO] [stdout] 1442 | ... let inner = Arc::clone(&self.0); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1443 | ... let fut = async move { [INFO] [stdout] 1444 | ... ::bid_value(&inner, request).await [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] --> /opt/rustwide/target/debug/build/ssd-f356d585611e8990/out/kademlia.rs:1624:69 [INFO] [stdout] | [INFO] [stdout] 1620 | ... request: tonic::Request, [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1621 | ... ) -> Self::Future { [INFO] [stdout] 1622 | ... let inner = Arc::clone(&self.0); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1623 | ... let fut = async move { [INFO] [stdout] 1624 | ... ::mine(&inner, request).await [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] --> /opt/rustwide/target/debug/build/ssd-f356d585611e8990/out/kademlia.rs:1668:70 [INFO] [stdout] | [INFO] [stdout] 1664 | ... request: tonic::Request, [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1665 | ... ) -> Self::Future { [INFO] [stdout] 1666 | ... let inner = Arc::clone(&self.0); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1667 | ... let fut = async move { [INFO] [stdout] 1668 | ... ::abort(&inner, request).await [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/blockchain.rs:35:99 [INFO] [stdout] | [INFO] [stdout] 35 | async fn mine(&self, request: Request) -> Result, Status> { [INFO] [stdout] | __________________________-----------------------------____________________________________________^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 36 | | let new = self.generate_block(request.get_ref().clone().previous, request.get_ref().clone().transactions).await; [INFO] [stdout] 37 | | [INFO] [stdout] 38 | | Ok(Response::new(MineResponse{source_id:request.get_ref().clone().source_id, new:Option::from(new)})) [INFO] [stdout] 39 | | } [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/blockchain.rs:41:102 [INFO] [stdout] | [INFO] [stdout] 41 | async fn abort(&self, request: Request) -> Result, Status> { [INFO] [stdout] | ___________________________------------------------------_____________________________________________^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 42 | | todo!() [INFO] [stdout] 43 | | } [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: unused return value of `must_use` that must be used [INFO] [stdout] --> src/blockchain.rs:113:9 [INFO] [stdout] | [INFO] [stdout] 113 | format!("{}{}", res, 0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this warning originates in the macro `format` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 48 previous errors; 39 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `ssd` (bin "server") due to 49 previous errors; 39 warnings emitted [INFO] [stdout] warning: unused variable: `source_id` [INFO] [stdout] --> src/signatures.rs:78:28 [INFO] [stdout] | [INFO] [stdout] 78 | pub fn sign_remove_request(source_id:String, node:NodeInfo, skey:Vec) -> Vec{ [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_source_id` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `request` [INFO] [stdout] --> src/blockchain.rs:41:27 [INFO] [stdout] | [INFO] [stdout] 41 | async fn abort(&self, request: Request) -> Result, Status> { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_request` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/blockchain.rs:57:13 [INFO] [stdout] | [INFO] [stdout] 57 | let mut current_transactions = std::sync::Arc::from(tokio::sync::RwLock::from(Vec::new())); [INFO] [stdout] | ----^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/blockchain.rs:58:13 [INFO] [stdout] | [INFO] [stdout] 58 | let mut queued_transactions = std::sync::Arc::from(tokio::sync::RwLock::from(Vec::new())); [INFO] [stdout] | ----^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/blockchain.rs:59:13 [INFO] [stdout] | [INFO] [stdout] 59 | let mut active_bids = std::sync::Arc::from(tokio::sync::RwLock::from(Vec::new())); [INFO] [stdout] | ----^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/blockchain.rs:112:9 [INFO] [stdout] | [INFO] [stdout] 112 | for i in 0..PREFIX_LENGTH{ [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `GENESIS` is never used [INFO] [stdout] --> src/util.rs:14:11 [INFO] [stdout] | [INFO] [stdout] 14 | pub const GENESIS: &str = "00f151242e0010e58cde0d6644d9db53a8552f0e2d26628c9a72199005b5a76e"; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_input` is never used [INFO] [stdout] --> src/util.rs:23:8 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn parse_input() -> i32{ [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `retrieve_blockchain_request` is never used [INFO] [stdout] --> src/requests.rs:108:14 [INFO] [stdout] | [INFO] [stdout] 108 | pub async fn retrieve_blockchain_request(source:Node, url:String) -> Vec{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `obtain_transactions_request` is never used [INFO] [stdout] --> src/requests.rs:147:14 [INFO] [stdout] | [INFO] [stdout] 147 | pub async fn obtain_transactions_request(source:Node, url:String) -> Vec{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `sign_obtain_transactions_request` is never used [INFO] [stdout] --> src/signatures.rs:176:8 [INFO] [stdout] | [INFO] [stdout] 176 | pub fn sign_obtain_transactions_request(source_id:String, skey:Vec) -> Vec{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `verify_obtain_transactions_response` is never used [INFO] [stdout] --> src/signatures.rs:193:8 [INFO] [stdout] | [INFO] [stdout] 193 | pub fn verify_obtain_transactions_response(response:ObtainTransactionsResponse){ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `sign_retrieve_blockchain_response` is never used [INFO] [stdout] --> src/signatures.rs:211:8 [INFO] [stdout] | [INFO] [stdout] 211 | pub fn sign_retrieve_blockchain_response(source_id:String, blockchain:Vec, skey:Vec) -> Vec{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `verify_retrieve_blockchain_response` is never used [INFO] [stdout] --> src/signatures.rs:218:8 [INFO] [stdout] | [INFO] [stdout] 218 | pub fn verify_retrieve_blockchain_response(response: RetrieveBlockchainResponse){ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `sign_update_blockchain_response` is never used [INFO] [stdout] --> src/signatures.rs:240:8 [INFO] [stdout] | [INFO] [stdout] 240 | pub fn sign_update_blockchain_response(source_id:String, skey:Vec) -> Vec{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `active_bids` is never read [INFO] [stdout] --> src/blockchain.rs:49:9 [INFO] [stdout] | [INFO] [stdout] 47 | pub struct MinerInfo{ [INFO] [stdout] | --------- field in this struct [INFO] [stdout] 48 | pub current_transactions: std::sync::Arc>>, [INFO] [stdout] 49 | pub active_bids: std::sync::Arc>>, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MinerInfo` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [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/endpoint.rs:53:100 [INFO] [stdout] | [INFO] [stdout] 53 | async fn join(&self, request: Request) -> Result, Status> { [INFO] [stdout] | __________________________-----------------------------_____________________________________________^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 54 | | let req = request.get_ref().clone().node.unwrap().info; [INFO] [stdout] 55 | | verify_join_request(request.get_ref().clone()); [INFO] [stdout] 56 | | let mut neighbours = Vec::new(); [INFO] [stdout] ... | [INFO] [stdout] 81 | | Ok(Response::new(JoinResponse{ neighbours, blockchain:self.node.read().await.clone().blockchain, sign:Option::from(sign) })) [INFO] [stdout] 82 | | } [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/endpoint.rs:83:111 [INFO] [stdout] | [INFO] [stdout] 83 | async fn find_node(&self, request: Request) -> Result, Status>{ [INFO] [stdout] | _______________________________---------------------------------_______________________________________________^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 84 | | self.is_correct_key(request.get_ref().clone().source_id, request.get_ref().clone().sign.unwrap()).await; [INFO] [stdout] 85 | | verify_find_node_request(request.get_ref().clone()); [INFO] [stdout] 86 | | println!("NODE {} FINDING {}", self.node.read().await.info.clone().unwrap().id, request.get_ref().clone().target); [INFO] [stdout] ... | [INFO] [stdout] 102 | | Ok(Response::new(FindNodeResponse{source_id:self.node.read().await.clone().info.unwrap().id,node:None, sign:None})) [INFO] [stdout] 103 | | } [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/endpoint.rs:104:110 [INFO] [stdout] | [INFO] [stdout] 104 | async fn update_node(&self, request: Request) -> Result, Status> { [INFO] [stdout] | _________________________________-------------------------------______________________________________________^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 105 | | verify_update_request(request.get_ref().clone()); [INFO] [stdout] 106 | | let nodes = request.get_ref().clone().neighbours; [INFO] [stdout] 107 | | for i in nodes{ [INFO] [stdout] ... | [INFO] [stdout] 115 | | return Ok(Response::new(UpdateResponse{ source_id:self.node.read().await.clone().info.unwrap().id,response:true, sign:Option::fro... [INFO] [stdout] 116 | | } [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/endpoint.rs:117:120 [INFO] [stdout] | [INFO] [stdout] 117 | async fn get_neighbours(&self, request: Request) -> Result, Status>{ [INFO] [stdout] | ____________________________________-----------------------------------_________________________________________________^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 118 | | self.is_correct_key(request.get_ref().clone().source_id, request.get_ref().clone().sign.unwrap()).await; [INFO] [stdout] 119 | | verify_neighbours_request(request.get_ref().clone()); [INFO] [stdout] 120 | | let neighbours=self.node.read().await.get_neighbours(); [INFO] [stdout] ... | [INFO] [stdout] 123 | | return Ok(Response::new(NeighboursResponse{ source_id:self.node.read().await.clone().info.unwrap().id,neighbours, sign:Option::fr... [INFO] [stdout] 124 | | } [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/endpoint.rs:125:109 [INFO] [stdout] | [INFO] [stdout] 125 | async fn remove_node(&self, request: Request) -> Result, Status>{ [INFO] [stdout] | _________________________________-------------------------------_____________________________________________^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 126 | | self.is_correct_key(request.get_ref().clone().source_id, request.get_ref().clone().sign.unwrap()).await; [INFO] [stdout] 127 | | verify_remove_request(request.get_ref().clone()); [INFO] [stdout] 128 | | let mut node = self.node.write().await; [INFO] [stdout] ... | [INFO] [stdout] 134 | | Ok(Response::new(RemoveResponse{ source_id:node.clone().info.unwrap().id,success:true, sign:Option::from(sign)})) [INFO] [stdout] 135 | | } [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/endpoint.rs:137:120 [INFO] [stdout] | [INFO] [stdout] 137 | async fn transaction(&self, request: Request) -> Result, Status> { [INFO] [stdout] | _________________________________------------------------------------___________________________________________________^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 138 | | self.is_correct_key(request.get_ref().clone().source_id, request.get_ref().clone().sign.unwrap()).await; [INFO] [stdout] 139 | | verify_transaction_request(request.get_ref().clone()); [INFO] [stdout] 140 | | let mut status = "".to_string(); [INFO] [stdout] ... | [INFO] [stdout] 168 | | Ok(Response::new(TransactionResponse{source_id:info.clone().id,state:status, sign})) [INFO] [stdout] 169 | | } [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/endpoint.rs:171:142 [INFO] [stdout] | [INFO] [stdout] 171 | async fn obtain_transactions(&self, request: Request) -> Result, Status> { [INFO] [stdout] | _________________________________________-------------------------------------------__________________________________________________________^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 172 | | self.is_correct_key(request.get_ref().clone().source_id, request.get_ref().clone().sign.unwrap()).await; [INFO] [stdout] 173 | | verify_obtain_transactions_request(request.get_ref().clone()); [INFO] [stdout] 174 | | let node = self.node.read().await.clone(); [INFO] [stdout] ... | [INFO] [stdout] 178 | | Ok(Response::new(ObtainTransactionsResponse{source_id:info.clone().id,transactions:self.transaction_list.clone().read().await.clone(), si... [INFO] [stdout] 179 | | } [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/endpoint.rs:181:142 [INFO] [stdout] | [INFO] [stdout] 181 | async fn retrieve_blockchain(&self, request: Request) -> Result, Status> { [INFO] [stdout] | _________________________________________-------------------------------------------__________________________________________________________^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 182 | | self.is_correct_key(request.get_ref().clone().source_id, request.get_ref().clone().sign.unwrap()).await; [INFO] [stdout] 183 | | verify_retrieve_blockchain_request(request.get_ref().clone()); [INFO] [stdout] 184 | | let blockchain = self.blocks.read().await.clone(); [INFO] [stdout] ... | [INFO] [stdout] 188 | | Ok(Response::new(RetrieveBlockchainResponse{source_id:self.node.read().await.clone().info.unwrap().id,blockchain, sign})) [INFO] [stdout] 189 | | } [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/endpoint.rs:191:136 [INFO] [stdout] | [INFO] [stdout] 191 | async fn update_blockchain(&self, request: Request) -> Result, Status> { [INFO] [stdout] | _______________________________________-----------------------------------------________________________________________________________^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 192 | | self.is_correct_key(request.get_ref().clone().source_id, request.get_ref().clone().sign.unwrap()).await; [INFO] [stdout] 193 | | verify_update_blockchain_request(request.get_ref().clone()); [INFO] [stdout] 194 | | let mut temp = self.blocks.read().await.clone(); [INFO] [stdout] ... | [INFO] [stdout] 197 | | todo!() [INFO] [stdout] 198 | | } [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/endpoint.rs:200:115 [INFO] [stdout] | [INFO] [stdout] 200 | async fn create_bid(&self, request: Request) -> Result, Status> { [INFO] [stdout] | ________________________________----------------------------------_________________________________________________^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 201 | | self.is_correct_key(request.get_ref().clone().source_id, request.get_ref().clone().sign.unwrap()).await; [INFO] [stdout] 202 | | todo!() [INFO] [stdout] 203 | | } [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/endpoint.rs:205:112 [INFO] [stdout] | [INFO] [stdout] 205 | async fn bid_value(&self, request: Request) -> Result, Status> { [INFO] [stdout] | _______________________________---------------------------------________________________________________________^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 206 | | self.is_correct_key(request.get_ref().clone().source_id, request.get_ref().clone().sign.unwrap()).await; [INFO] [stdout] 207 | | todo!() [INFO] [stdout] 208 | | } [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/util.rs:37:6 [INFO] [stdout] | [INFO] [stdout] 36 | let keypair = Rsa::generate(1024).unwrap(); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 37 | (keypair.private_key_to_pem().unwrap(), keypair.public_key_to_pem().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/util.rs:37:45 [INFO] [stdout] | [INFO] [stdout] 36 | let keypair = Rsa::generate(1024).unwrap(); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 37 | (keypair.private_key_to_pem().unwrap(), keypair.public_key_to_pem().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/util.rs:57:12 [INFO] [stdout] | [INFO] [stdout] 49 | let socket = TcpSocket::new_v4(); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 57 | Ok(None) [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] --> /opt/rustwide/target/debug/build/ssd-f356d585611e8990/out/kademlia.rs:398:33 [INFO] [stdout] | [INFO] [stdout] 382 | inner: T, [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 383 | interceptor: F, [INFO] [stdout] | -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 398 | EndpointClient::new(InterceptedService::new(inner, interceptor)) [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] --> /opt/rustwide/target/debug/build/ssd-f356d585611e8990/out/kademlia.rs:748:30 [INFO] [stdout] | [INFO] [stdout] 732 | inner: T, [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 733 | interceptor: F, [INFO] [stdout] | -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 748 | MinerClient::new(InterceptedService::new(inner, interceptor)) [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] --> /opt/rustwide/target/debug/build/ssd-f356d585611e8990/out/kademlia.rs:908:28 [INFO] [stdout] | [INFO] [stdout] 907 | pub fn new(inner: T) -> Self { [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 908 | Self::from_arc(Arc::new(inner)) [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] --> /opt/rustwide/target/debug/build/ssd-f356d585611e8990/out/kademlia.rs:927:37 [INFO] [stdout] | [INFO] [stdout] 921 | inner: T, [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 922 | interceptor: F, [INFO] [stdout] | -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 927 | InterceptedService::new(Self::new(inner), interceptor) [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] --> /opt/rustwide/target/debug/build/ssd-f356d585611e8990/out/kademlia.rs:992:72 [INFO] [stdout] | [INFO] [stdout] 988 | ... request: tonic::Request, [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 989 | ... ) -> Self::Future { [INFO] [stdout] 990 | ... let inner = Arc::clone(&self.0); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 991 | ... let fut = async move { [INFO] [stdout] 992 | ... ::join(&inner, request).await [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] --> /opt/rustwide/target/debug/build/ssd-f356d585611e8990/out/kademlia.rs:1036:77 [INFO] [stdout] | [INFO] [stdout] 1032 | ... request: tonic::Request, [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1033 | ... ) -> Self::Future { [INFO] [stdout] 1034 | ... let inner = Arc::clone(&self.0); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1035 | ... let fut = async move { [INFO] [stdout] 1036 | ... ::find_node(&inner, request).await [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] --> /opt/rustwide/target/debug/build/ssd-f356d585611e8990/out/kademlia.rs:1080:79 [INFO] [stdout] | [INFO] [stdout] 1076 | ... request: tonic::Request, [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1077 | ... ) -> Self::Future { [INFO] [stdout] 1078 | ... let inner = Arc::clone(&self.0); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1079 | ... let fut = async move { [INFO] [stdout] 1080 | ... ::update_node(&inner, request).await [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] --> /opt/rustwide/target/debug/build/ssd-f356d585611e8990/out/kademlia.rs:1126:82 [INFO] [stdout] | [INFO] [stdout] 1122 | ... request: tonic::Request, [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1123 | ... ) -> Self::Future { [INFO] [stdout] 1124 | ... let inner = Arc::clone(&self.0); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1125 | ... let fut = async move { [INFO] [stdout] 1126 | ... ::get_neighbours(&inner, request).await [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] --> /opt/rustwide/target/debug/build/ssd-f356d585611e8990/out/kademlia.rs:1170:79 [INFO] [stdout] | [INFO] [stdout] 1166 | ... request: tonic::Request, [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1167 | ... ) -> Self::Future { [INFO] [stdout] 1168 | ... let inner = Arc::clone(&self.0); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1169 | ... let fut = async move { [INFO] [stdout] 1170 | ... ::remove_node(&inner, request).await [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] --> /opt/rustwide/target/debug/build/ssd-f356d585611e8990/out/kademlia.rs:1216:79 [INFO] [stdout] | [INFO] [stdout] 1212 | ... request: tonic::Request, [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1213 | ... ) -> Self::Future { [INFO] [stdout] 1214 | ... let inner = Arc::clone(&self.0); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1215 | ... let fut = async move { [INFO] [stdout] 1216 | ... ::transaction(&inner, request).await [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] --> /opt/rustwide/target/debug/build/ssd-f356d585611e8990/out/kademlia.rs:1262:87 [INFO] [stdout] | [INFO] [stdout] 1258 | ... request: tonic::Request, [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1259 | ... ) -> Self::Future { [INFO] [stdout] 1260 | ... let inner = Arc::clone(&self.0); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1261 | ... let fut = async move { [INFO] [stdout] 1262 | ... ::obtain_transactions(&inner, request).await [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] --> /opt/rustwide/target/debug/build/ssd-f356d585611e8990/out/kademlia.rs:1308:87 [INFO] [stdout] | [INFO] [stdout] 1304 | ... request: tonic::Request, [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1305 | ... ) -> Self::Future { [INFO] [stdout] 1306 | ... let inner = Arc::clone(&self.0); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1307 | ... let fut = async move { [INFO] [stdout] 1308 | ... ::retrieve_blockchain(&inner, request).await [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] --> /opt/rustwide/target/debug/build/ssd-f356d585611e8990/out/kademlia.rs:1354:85 [INFO] [stdout] | [INFO] [stdout] 1350 | ... request: tonic::Request, [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1351 | ... ) -> Self::Future { [INFO] [stdout] 1352 | ... let inner = Arc::clone(&self.0); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1353 | ... let fut = async move { [INFO] [stdout] 1354 | ... ::update_blockchain(&inner, request).await [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] --> /opt/rustwide/target/debug/build/ssd-f356d585611e8990/out/kademlia.rs:1400:78 [INFO] [stdout] | [INFO] [stdout] 1396 | ... request: tonic::Request, [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1397 | ... ) -> Self::Future { [INFO] [stdout] 1398 | ... let inner = Arc::clone(&self.0); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1399 | ... let fut = async move { [INFO] [stdout] 1400 | ... ::create_bid(&inner, request).await [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] --> /opt/rustwide/target/debug/build/ssd-f356d585611e8990/out/kademlia.rs:1444:77 [INFO] [stdout] | [INFO] [stdout] 1440 | ... request: tonic::Request, [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1441 | ... ) -> Self::Future { [INFO] [stdout] 1442 | ... let inner = Arc::clone(&self.0); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1443 | ... let fut = async move { [INFO] [stdout] 1444 | ... ::bid_value(&inner, request).await [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] --> /opt/rustwide/target/debug/build/ssd-f356d585611e8990/out/kademlia.rs:1540:28 [INFO] [stdout] | [INFO] [stdout] 1539 | pub fn new(inner: T) -> Self { [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1540 | Self::from_arc(Arc::new(inner)) [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] --> /opt/rustwide/target/debug/build/ssd-f356d585611e8990/out/kademlia.rs:1559:37 [INFO] [stdout] | [INFO] [stdout] 1553 | inner: T, [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1554 | interceptor: F, [INFO] [stdout] | -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1559 | InterceptedService::new(Self::new(inner), interceptor) [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] --> /opt/rustwide/target/debug/build/ssd-f356d585611e8990/out/kademlia.rs:1624:69 [INFO] [stdout] | [INFO] [stdout] 1620 | ... request: tonic::Request, [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1621 | ... ) -> Self::Future { [INFO] [stdout] 1622 | ... let inner = Arc::clone(&self.0); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1623 | ... let fut = async move { [INFO] [stdout] 1624 | ... ::mine(&inner, request).await [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] --> /opt/rustwide/target/debug/build/ssd-f356d585611e8990/out/kademlia.rs:1668:70 [INFO] [stdout] | [INFO] [stdout] 1664 | ... request: tonic::Request, [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1665 | ... ) -> Self::Future { [INFO] [stdout] 1666 | ... let inner = Arc::clone(&self.0); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1667 | ... let fut = async move { [INFO] [stdout] 1668 | ... ::abort(&inner, request).await [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] --> /opt/rustwide/target/debug/build/ssd-f356d585611e8990/out/kademlia.rs:992:72 [INFO] [stdout] | [INFO] [stdout] 988 | ... request: tonic::Request, [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 989 | ... ) -> Self::Future { [INFO] [stdout] 990 | ... let inner = Arc::clone(&self.0); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 991 | ... let fut = async move { [INFO] [stdout] 992 | ... ::join(&inner, request).await [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] --> /opt/rustwide/target/debug/build/ssd-f356d585611e8990/out/kademlia.rs:1036:77 [INFO] [stdout] | [INFO] [stdout] 1032 | ... request: tonic::Request, [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1033 | ... ) -> Self::Future { [INFO] [stdout] 1034 | ... let inner = Arc::clone(&self.0); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1035 | ... let fut = async move { [INFO] [stdout] 1036 | ... ::find_node(&inner, request).await [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] --> /opt/rustwide/target/debug/build/ssd-f356d585611e8990/out/kademlia.rs:1080:79 [INFO] [stdout] | [INFO] [stdout] 1076 | ... request: tonic::Request, [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1077 | ... ) -> Self::Future { [INFO] [stdout] 1078 | ... let inner = Arc::clone(&self.0); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1079 | ... let fut = async move { [INFO] [stdout] 1080 | ... ::update_node(&inner, request).await [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] --> /opt/rustwide/target/debug/build/ssd-f356d585611e8990/out/kademlia.rs:1126:82 [INFO] [stdout] | [INFO] [stdout] 1122 | ... request: tonic::Request, [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1123 | ... ) -> Self::Future { [INFO] [stdout] 1124 | ... let inner = Arc::clone(&self.0); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1125 | ... let fut = async move { [INFO] [stdout] 1126 | ... ::get_neighbours(&inner, request).await [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] --> /opt/rustwide/target/debug/build/ssd-f356d585611e8990/out/kademlia.rs:1170:79 [INFO] [stdout] | [INFO] [stdout] 1166 | ... request: tonic::Request, [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1167 | ... ) -> Self::Future { [INFO] [stdout] 1168 | ... let inner = Arc::clone(&self.0); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1169 | ... let fut = async move { [INFO] [stdout] 1170 | ... ::remove_node(&inner, request).await [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] --> /opt/rustwide/target/debug/build/ssd-f356d585611e8990/out/kademlia.rs:1216:79 [INFO] [stdout] | [INFO] [stdout] 1212 | ... request: tonic::Request, [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1213 | ... ) -> Self::Future { [INFO] [stdout] 1214 | ... let inner = Arc::clone(&self.0); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1215 | ... let fut = async move { [INFO] [stdout] 1216 | ... ::transaction(&inner, request).await [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] --> /opt/rustwide/target/debug/build/ssd-f356d585611e8990/out/kademlia.rs:1262:87 [INFO] [stdout] | [INFO] [stdout] 1258 | ... request: tonic::Request, [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1259 | ... ) -> Self::Future { [INFO] [stdout] 1260 | ... let inner = Arc::clone(&self.0); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1261 | ... let fut = async move { [INFO] [stdout] 1262 | ... ::obtain_transactions(&inner, request).await [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] --> /opt/rustwide/target/debug/build/ssd-f356d585611e8990/out/kademlia.rs:1308:87 [INFO] [stdout] | [INFO] [stdout] 1304 | ... request: tonic::Request, [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1305 | ... ) -> Self::Future { [INFO] [stdout] 1306 | ... let inner = Arc::clone(&self.0); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1307 | ... let fut = async move { [INFO] [stdout] 1308 | ... ::retrieve_blockchain(&inner, request).await [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] --> /opt/rustwide/target/debug/build/ssd-f356d585611e8990/out/kademlia.rs:1354:85 [INFO] [stdout] | [INFO] [stdout] 1350 | ... request: tonic::Request, [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1351 | ... ) -> Self::Future { [INFO] [stdout] 1352 | ... let inner = Arc::clone(&self.0); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1353 | ... let fut = async move { [INFO] [stdout] 1354 | ... ::update_blockchain(&inner, request).await [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] --> /opt/rustwide/target/debug/build/ssd-f356d585611e8990/out/kademlia.rs:1400:78 [INFO] [stdout] | [INFO] [stdout] 1396 | ... request: tonic::Request, [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1397 | ... ) -> Self::Future { [INFO] [stdout] 1398 | ... let inner = Arc::clone(&self.0); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1399 | ... let fut = async move { [INFO] [stdout] 1400 | ... ::create_bid(&inner, request).await [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] --> /opt/rustwide/target/debug/build/ssd-f356d585611e8990/out/kademlia.rs:1444:77 [INFO] [stdout] | [INFO] [stdout] 1440 | ... request: tonic::Request, [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1441 | ... ) -> Self::Future { [INFO] [stdout] 1442 | ... let inner = Arc::clone(&self.0); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1443 | ... let fut = async move { [INFO] [stdout] 1444 | ... ::bid_value(&inner, request).await [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] --> /opt/rustwide/target/debug/build/ssd-f356d585611e8990/out/kademlia.rs:1624:69 [INFO] [stdout] | [INFO] [stdout] 1620 | ... request: tonic::Request, [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1621 | ... ) -> Self::Future { [INFO] [stdout] 1622 | ... let inner = Arc::clone(&self.0); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1623 | ... let fut = async move { [INFO] [stdout] 1624 | ... ::mine(&inner, request).await [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] --> /opt/rustwide/target/debug/build/ssd-f356d585611e8990/out/kademlia.rs:1668:70 [INFO] [stdout] | [INFO] [stdout] 1664 | ... request: tonic::Request, [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1665 | ... ) -> Self::Future { [INFO] [stdout] 1666 | ... let inner = Arc::clone(&self.0); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1667 | ... let fut = async move { [INFO] [stdout] 1668 | ... ::abort(&inner, request).await [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/blockchain.rs:35:99 [INFO] [stdout] | [INFO] [stdout] 35 | async fn mine(&self, request: Request) -> Result, Status> { [INFO] [stdout] | __________________________-----------------------------____________________________________________^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 36 | | let new = self.generate_block(request.get_ref().clone().previous, request.get_ref().clone().transactions).await; [INFO] [stdout] 37 | | [INFO] [stdout] 38 | | Ok(Response::new(MineResponse{source_id:request.get_ref().clone().source_id, new:Option::from(new)})) [INFO] [stdout] 39 | | } [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/blockchain.rs:41:102 [INFO] [stdout] | [INFO] [stdout] 41 | async fn abort(&self, request: Request) -> Result, Status> { [INFO] [stdout] | ___________________________------------------------------_____________________________________________^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 42 | | todo!() [INFO] [stdout] 43 | | } [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: unused return value of `must_use` that must be used [INFO] [stdout] --> src/blockchain.rs:113:9 [INFO] [stdout] | [INFO] [stdout] 113 | format!("{}{}", res, 0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this warning originates in the macro `format` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 48 previous errors; 39 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `ssd` (bin "server" test) due to 49 previous errors; 39 warnings emitted [INFO] running `Command { std: "docker" "inspect" "87b57dfbdfc332e7b6c952d03ed308343de49d2901da1d1a1abc55f38f26cd79", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "87b57dfbdfc332e7b6c952d03ed308343de49d2901da1d1a1abc55f38f26cd79", kill_on_drop: false }` [INFO] [stdout] 87b57dfbdfc332e7b6c952d03ed308343de49d2901da1d1a1abc55f38f26cd79