[INFO] cloning repository https://github.com/ddjerqq/crypton_node [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ddjerqq/crypton_node" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fddjerqq%2Fcrypton_node", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fddjerqq%2Fcrypton_node'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] cb051b411f0ff5891bcc2d1fe04d665eef883ec1 [INFO] checking ddjerqq/crypton_node against master#1f12b9b0fdbe735968ac002792a720f0ba4faca6 for crater-rollup-uwu [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fddjerqq%2Fcrypton_node" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/ddjerqq/crypton_node 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/ddjerqq/crypton_node [INFO] finished tweaking git repo https://github.com/ddjerqq/crypton_node [INFO] tweaked toml for git repo https://github.com/ddjerqq/crypton_node written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/ddjerqq/crypton_node 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] Downloading crates ... [INFO] [stderr] Downloaded secp256k1 v0.28.0 [INFO] [stderr] Downloaded derive_builder_macro v0.10.2 [INFO] [stderr] Downloaded derive_builder_core v0.10.2 [INFO] [stderr] Downloaded chbs v0.1.1 [INFO] [stderr] Downloaded derive_builder v0.10.2 [INFO] [stderr] Downloaded secp256k1-sys v0.9.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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] 5873baaca9f109d44fb167ca2fca05584221022a055e2d614cb985cbdbbbd523 [INFO] running `Command { std: "docker" "start" "-a" "5873baaca9f109d44fb167ca2fca05584221022a055e2d614cb985cbdbbbd523", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5873baaca9f109d44fb167ca2fca05584221022a055e2d614cb985cbdbbbd523", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5873baaca9f109d44fb167ca2fca05584221022a055e2d614cb985cbdbbbd523", kill_on_drop: false }` [INFO] [stdout] 5873baaca9f109d44fb167ca2fca05584221022a055e2d614cb985cbdbbbd523 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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] 7381ee8e372080ab54afa0a0df3c2cfa37aca0a4b919c298fe7548269781f679 [INFO] running `Command { std: "docker" "start" "-a" "7381ee8e372080ab54afa0a0df3c2cfa37aca0a4b919c298fe7548269781f679", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.150 [INFO] [stderr] Compiling proc-macro2 v1.0.70 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Checking zeroize v1.7.0 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Checking subtle v2.5.0 [INFO] [stderr] Compiling paste v1.0.14 [INFO] [stderr] Checking ppv-lite86 v0.2.17 [INFO] [stderr] Compiling thiserror v1.0.50 [INFO] [stderr] Compiling serde v1.0.193 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Checking base16ct v0.2.0 [INFO] [stderr] Checking cpufeatures v0.2.11 [INFO] [stderr] Checking once_cell v1.18.0 [INFO] [stderr] Checking hex v0.4.3 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling num-traits v0.2.17 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Compiling syn v2.0.39 [INFO] [stderr] Checking getrandom v0.2.11 [INFO] [stderr] Compiling cc v1.0.83 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking uuid v1.6.1 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking ff v0.13.0 [INFO] [stderr] Checking group v0.13.0 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking rmp v0.8.12 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking crypto-bigint v0.5.5 [INFO] [stderr] Compiling secp256k1-sys v0.9.0 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking sha2 v0.10.8 [INFO] [stderr] Compiling thiserror-impl v1.0.50 [INFO] [stderr] Compiling serde_derive v1.0.193 [INFO] [stderr] Checking elliptic-curve v0.13.8 [INFO] [stderr] Compiling darling_core v0.12.4 [INFO] [stderr] Checking secp256k1 v0.28.0 [INFO] [stderr] Compiling darling_macro v0.12.4 [INFO] [stderr] Compiling darling v0.12.4 [INFO] [stderr] Compiling derive_builder_core v0.10.2 [INFO] [stderr] Compiling derive_builder_macro v0.10.2 [INFO] [stderr] Checking derive_builder v0.10.2 [INFO] [stderr] Checking chbs v0.1.1 [INFO] [stderr] Checking rmp-serde v1.1.2 [INFO] [stderr] Checking crypton_node v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Read` [INFO] [stdout] --> src/main.rs:4:15 [INFO] [stdout] | [INFO] [stdout] 4 | use std::io::{Read, Write}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Read` [INFO] [stdout] --> src/main.rs:4:15 [INFO] [stdout] | [INFO] [stdout] 4 | use std::io::{Read, Write}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `PAYLOAD_SIZE` is never used [INFO] [stdout] --> src/transaction.rs:8:7 [INFO] [stdout] | [INFO] [stdout] 8 | const PAYLOAD_SIZE: usize = 112; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `EMPTY_HASH` is never used [INFO] [stdout] --> src/transaction.rs:9:7 [INFO] [stdout] | [INFO] [stdout] 9 | const EMPTY_HASH: [u8; 32] = [0u8; 32]; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `EMPTY_SIGN` is never used [INFO] [stdout] --> src/transaction.rs:10:7 [INFO] [stdout] | [INFO] [stdout] 10 | const EMPTY_SIGN: [u8; 64] = [0u8; 64]; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `get_payload` are never used [INFO] [stdout] --> src/transaction.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 24 | impl<'a> Transaction<'a> { [INFO] [stdout] | ------------------------ associated items in this implementation [INFO] [stdout] 25 | pub fn new(sender: &'a Wallet, recipient: &'a Wallet, amount: u64, fee: u64) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 47 | pub fn get_payload(&self) -> [u8; PAYLOAD_SIZE] { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `ecdsa` and `balance` are never read [INFO] [stdout] --> src/wallet.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct Wallet { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 8 | pub ecdsa: Ecdsa, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 9 | pub balance: u64, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Wallet` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `from_passphrase`, `sign`, and `verify` are never used [INFO] [stdout] --> src/wallet.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 13 | impl Wallet { [INFO] [stdout] | ----------- associated items in this implementation [INFO] [stdout] 14 | pub fn new(ecdsa: Ecdsa) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 31 | pub fn from_passphrase(passphrase: &str) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 36 | pub fn sign(&self, data: &[u8]) -> Signature { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 46 | pub fn verify(&self, data: &[u8], sig: &Signature) -> bool { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `passphrase` is never used [INFO] [stdout] --> src/crypto/passphrase.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn passphrase(count: usize) -> String { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `from_passphrase`, `sign`, and `verify` are never used [INFO] [stdout] --> src/crypto/ecdsa.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 22 | impl Ecdsa { [INFO] [stdout] | ---------- associated items in this implementation [INFO] [stdout] 23 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 35 | pub fn from_passphrase(passphrase: &str) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 49 | pub fn sign(&self, msg: &Message) -> Signature { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 53 | pub fn verify(&self, msg: &Message, sig: &Signature) -> bool { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `genesis`, `next`, `add_transaction`, `get_total_fee`, and `get_digest` are never used [INFO] [stdout] --> src/block.rs:20:12 [INFO] [stdout] | [INFO] [stdout] 19 | impl<'a> Block<'a> { [INFO] [stdout] | ------------------ associated items in this implementation [INFO] [stdout] 20 | pub fn genesis() -> Self { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 33 | pub fn next(&self) -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 44 | pub fn add_transaction(&mut self, transaction: &Transaction<'a>) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 48 | pub fn get_total_fee(&self) -> u64 { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 59 | pub fn get_digest(&self) -> String { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `DEGREES` is never used [INFO] [stdout] --> src/util/hash_ring.rs:1:7 [INFO] [stdout] | [INFO] [stdout] 1 | const DEGREES: usize = 360; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `HashRing` is never constructed [INFO] [stdout] --> src/util/hash_ring.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct HashRing { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `HashRing` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `get` are never used [INFO] [stdout] --> src/util/hash_ring.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 8 | impl HashRing { [INFO] [stdout] | ------------- associated items in this implementation [INFO] [stdout] 9 | pub fn new(nodes: usize) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 19 | pub fn get(&self, item: usize) -> usize { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `mine_single_core` is never used [INFO] [stdout] --> src/miner.rs:8:4 [INFO] [stdout] | [INFO] [stdout] 8 | fn mine_single_core(block: &mut Block) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `miner_thread` is never used [INFO] [stdout] --> src/miner.rs:29:4 [INFO] [stdout] | [INFO] [stdout] 29 | fn miner_thread(idx: usize, difficulty: &u64, mut payload: [u8; 96], hash_ring: &HashRing, valid_nonce: Arc) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `mine_multi_core` is never used [INFO] [stdout] --> src/miner.rs:59:4 [INFO] [stdout] | [INFO] [stdout] 59 | fn mine_multi_core(block: &mut Block, parallelism_available: usize) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `mine` is never used [INFO] [stdout] --> src/miner.rs:89:8 [INFO] [stdout] | [INFO] [stdout] 89 | pub fn mine(block: &mut Block) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `id` is never read [INFO] [stdout] --> src/protocol/peer.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct Peer { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] 12 | pub id: Uuid, [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 18 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `balance` is never read [INFO] [stdout] --> src/wallet.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct Wallet { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 8 | pub ecdsa: Ecdsa, [INFO] [stdout] 9 | pub balance: u64, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Wallet` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_total_fee` and `get_digest` are never used [INFO] [stdout] --> src/block.rs:48:12 [INFO] [stdout] | [INFO] [stdout] 19 | impl<'a> Block<'a> { [INFO] [stdout] | ------------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 48 | pub fn get_total_fee(&self) -> u64 { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 59 | pub fn get_digest(&self) -> String { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `id` is never read [INFO] [stdout] --> src/protocol/peer.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct Peer { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] 12 | pub id: Uuid, [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 5.80s [INFO] running `Command { std: "docker" "inspect" "7381ee8e372080ab54afa0a0df3c2cfa37aca0a4b919c298fe7548269781f679", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7381ee8e372080ab54afa0a0df3c2cfa37aca0a4b919c298fe7548269781f679", kill_on_drop: false }` [INFO] [stdout] 7381ee8e372080ab54afa0a0df3c2cfa37aca0a4b919c298fe7548269781f679 [INFO] checking ddjerqq/crypton_node 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%2Fddjerqq%2Fcrypton_node" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/ddjerqq/crypton_node 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/ddjerqq/crypton_node [INFO] finished tweaking git repo https://github.com/ddjerqq/crypton_node [INFO] tweaked toml for git repo https://github.com/ddjerqq/crypton_node written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/ddjerqq/crypton_node 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-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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] add45af5503ec197d37e8dcb513afbaa2b3fcf86865d8a28039acc94896d5900 [INFO] running `Command { std: "docker" "start" "-a" "add45af5503ec197d37e8dcb513afbaa2b3fcf86865d8a28039acc94896d5900", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "add45af5503ec197d37e8dcb513afbaa2b3fcf86865d8a28039acc94896d5900", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "add45af5503ec197d37e8dcb513afbaa2b3fcf86865d8a28039acc94896d5900", kill_on_drop: false }` [INFO] [stdout] add45af5503ec197d37e8dcb513afbaa2b3fcf86865d8a28039acc94896d5900 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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] cec82182fb971aeea707a7aff806ce5e2365f0a54bb47ac23ed9af93fb9d577e [INFO] running `Command { std: "docker" "start" "-a" "cec82182fb971aeea707a7aff806ce5e2365f0a54bb47ac23ed9af93fb9d577e", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.150 [INFO] [stderr] Compiling proc-macro2 v1.0.70 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Checking zeroize v1.7.0 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Checking ppv-lite86 v0.2.17 [INFO] [stderr] Compiling paste v1.0.14 [INFO] [stderr] Checking subtle v2.5.0 [INFO] [stderr] Compiling serde v1.0.193 [INFO] [stderr] Compiling thiserror v1.0.50 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Checking base16ct v0.2.0 [INFO] [stderr] Checking cpufeatures v0.2.11 [INFO] [stderr] Checking hex v0.4.3 [INFO] [stderr] Checking once_cell v1.18.0 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling num-traits v0.2.17 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Checking getrandom v0.2.11 [INFO] [stderr] Compiling cc v1.0.83 [INFO] [stderr] Compiling syn v2.0.39 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking uuid v1.6.1 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking ff v0.13.0 [INFO] [stderr] Checking group v0.13.0 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking rmp v0.8.12 [INFO] [stderr] Compiling secp256k1-sys v0.9.0 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking crypto-bigint v0.5.5 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking sha2 v0.10.8 [INFO] [stderr] Compiling thiserror-impl v1.0.50 [INFO] [stderr] Compiling serde_derive v1.0.193 [INFO] [stderr] Checking elliptic-curve v0.13.8 [INFO] [stderr] Compiling darling_core v0.12.4 [INFO] [stderr] Checking secp256k1 v0.28.0 [INFO] [stderr] Compiling darling_macro v0.12.4 [INFO] [stderr] Compiling darling v0.12.4 [INFO] [stderr] Compiling derive_builder_core v0.10.2 [INFO] [stderr] Compiling derive_builder_macro v0.10.2 [INFO] [stderr] Checking derive_builder v0.10.2 [INFO] [stderr] Checking chbs v0.1.1 [INFO] [stderr] Checking rmp-serde v1.1.2 [INFO] [stderr] Checking crypton_node v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Read` [INFO] [stdout] --> src/main.rs:4:15 [INFO] [stdout] | [INFO] [stdout] 4 | use std::io::{Read, Write}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Read` [INFO] [stdout] --> src/main.rs:4:15 [INFO] [stdout] | [INFO] [stdout] 4 | use std::io::{Read, Write}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `PAYLOAD_SIZE` is never used [INFO] [stdout] --> src/transaction.rs:8:7 [INFO] [stdout] | [INFO] [stdout] 8 | const PAYLOAD_SIZE: usize = 112; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `EMPTY_HASH` is never used [INFO] [stdout] --> src/transaction.rs:9:7 [INFO] [stdout] | [INFO] [stdout] 9 | const EMPTY_HASH: [u8; 32] = [0u8; 32]; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `EMPTY_SIGN` is never used [INFO] [stdout] --> src/transaction.rs:10:7 [INFO] [stdout] | [INFO] [stdout] 10 | const EMPTY_SIGN: [u8; 64] = [0u8; 64]; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `get_payload` are never used [INFO] [stdout] --> src/transaction.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 24 | impl<'a> Transaction<'a> { [INFO] [stdout] | ------------------------ associated items in this implementation [INFO] [stdout] 25 | pub fn new(sender: &'a Wallet, recipient: &'a Wallet, amount: u64, fee: u64) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 47 | pub fn get_payload(&self) -> [u8; PAYLOAD_SIZE] { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `ecdsa` and `balance` are never read [INFO] [stdout] --> src/wallet.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct Wallet { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 8 | pub ecdsa: Ecdsa, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 9 | pub balance: u64, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Wallet` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `from_passphrase`, `sign`, and `verify` are never used [INFO] [stdout] --> src/wallet.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 13 | impl Wallet { [INFO] [stdout] | ----------- associated items in this implementation [INFO] [stdout] 14 | pub fn new(ecdsa: Ecdsa) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 31 | pub fn from_passphrase(passphrase: &str) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 36 | pub fn sign(&self, data: &[u8]) -> Signature { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 46 | pub fn verify(&self, data: &[u8], sig: &Signature) -> bool { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `passphrase` is never used [INFO] [stdout] --> src/crypto/passphrase.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn passphrase(count: usize) -> String { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `from_passphrase`, `sign`, and `verify` are never used [INFO] [stdout] --> src/crypto/ecdsa.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 22 | impl Ecdsa { [INFO] [stdout] | ---------- associated items in this implementation [INFO] [stdout] 23 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 35 | pub fn from_passphrase(passphrase: &str) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 49 | pub fn sign(&self, msg: &Message) -> Signature { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 53 | pub fn verify(&self, msg: &Message, sig: &Signature) -> bool { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `genesis`, `next`, `add_transaction`, `get_total_fee`, and `get_digest` are never used [INFO] [stdout] --> src/block.rs:20:12 [INFO] [stdout] | [INFO] [stdout] 19 | impl<'a> Block<'a> { [INFO] [stdout] | ------------------ associated items in this implementation [INFO] [stdout] 20 | pub fn genesis() -> Self { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 33 | pub fn next(&self) -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 44 | pub fn add_transaction(&mut self, transaction: &Transaction<'a>) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 48 | pub fn get_total_fee(&self) -> u64 { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 59 | pub fn get_digest(&self) -> String { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `DEGREES` is never used [INFO] [stdout] --> src/util/hash_ring.rs:1:7 [INFO] [stdout] | [INFO] [stdout] 1 | const DEGREES: usize = 360; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `HashRing` is never constructed [INFO] [stdout] --> src/util/hash_ring.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct HashRing { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `HashRing` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `get` are never used [INFO] [stdout] --> src/util/hash_ring.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 8 | impl HashRing { [INFO] [stdout] | ------------- associated items in this implementation [INFO] [stdout] 9 | pub fn new(nodes: usize) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 19 | pub fn get(&self, item: usize) -> usize { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `mine_single_core` is never used [INFO] [stdout] --> src/miner.rs:8:4 [INFO] [stdout] | [INFO] [stdout] 8 | fn mine_single_core(block: &mut Block) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `miner_thread` is never used [INFO] [stdout] --> src/miner.rs:29:4 [INFO] [stdout] | [INFO] [stdout] 29 | fn miner_thread(idx: usize, difficulty: &u64, mut payload: [u8; 96], hash_ring: &HashRing, valid_nonce: Arc) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `mine_multi_core` is never used [INFO] [stdout] --> src/miner.rs:59:4 [INFO] [stdout] | [INFO] [stdout] 59 | fn mine_multi_core(block: &mut Block, parallelism_available: usize) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `mine` is never used [INFO] [stdout] --> src/miner.rs:89:8 [INFO] [stdout] | [INFO] [stdout] 89 | pub fn mine(block: &mut Block) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `id` is never read [INFO] [stdout] --> src/protocol/peer.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct Peer { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] 12 | pub id: Uuid, [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/protocol/protocol.rs:9:11 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn send(mut writer: TWriter, data: &TData) -> io::Result<()> { [INFO] [stdout] | ------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 9 | match data.serialize(&mut ser) { [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/protocol/peer.rs:43:23 [INFO] [stdout] | [INFO] [stdout] 40 | fn _handle_stream(id: Uuid, stream: TcpStream, send: Sender) -> thread::JoinHandle<()> { [INFO] [stdout] | ----------------- --------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 41 | let mut reader = io::BufReader::new(stream); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 42 | [INFO] [stdout] 43 | thread::spawn(move || { [INFO] [stdout] | _______________________^ [INFO] [stdout] 44 | | loop { [INFO] [stdout] 45 | | if let Ok::(msg) = crate::protocol::recv(&mut reader) { [INFO] [stdout] 46 | | println!("received message from {}: {:?}", id, msg); [INFO] [stdout] ... | [INFO] [stdout] 56 | | .expect("could not shutdown stream"); [INFO] [stdout] 57 | | }) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] 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/protocol/peer.rs:90:12 [INFO] [stdout] | [INFO] [stdout] 76 | addr: T [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 77 | ) -> io::Result<(thread::JoinHandle<()>, thread::JoinHandle<()>)> { [INFO] [stdout] 78 | let (send, recv) = std::sync::mpsc::channel::(); [INFO] [stdout] | ---- ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 79 | [INFO] [stdout] 80 | let listener_clients = self.clients.clone(); [INFO] [stdout] | ---------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 81 | let listen_handle = thread::spawn(move || { [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 85 | let broadcast_clients = self.clients.clone(); [INFO] [stdout] | ----------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 86 | let broadcast_handle = thread::spawn(move || { [INFO] [stdout] | ---------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 90 | Ok((listen_handle, broadcast_handle)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors; 18 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `crypton_node` (bin "crypton_node") due to 4 previous errors; 18 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: field `balance` is never read [INFO] [stdout] --> src/wallet.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct Wallet { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 8 | pub ecdsa: Ecdsa, [INFO] [stdout] 9 | pub balance: u64, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Wallet` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_total_fee` and `get_digest` are never used [INFO] [stdout] --> src/block.rs:48:12 [INFO] [stdout] | [INFO] [stdout] 19 | impl<'a> Block<'a> { [INFO] [stdout] | ------------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 48 | pub fn get_total_fee(&self) -> u64 { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 59 | pub fn get_digest(&self) -> String { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `id` is never read [INFO] [stdout] --> src/protocol/peer.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct Peer { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] 12 | pub id: Uuid, [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/protocol/protocol.rs:9:11 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn send(mut writer: TWriter, data: &TData) -> io::Result<()> { [INFO] [stdout] | ------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 9 | match data.serialize(&mut ser) { [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/protocol/peer.rs:43:23 [INFO] [stdout] | [INFO] [stdout] 40 | fn _handle_stream(id: Uuid, stream: TcpStream, send: Sender) -> thread::JoinHandle<()> { [INFO] [stdout] | ----------------- --------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 41 | let mut reader = io::BufReader::new(stream); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 42 | [INFO] [stdout] 43 | thread::spawn(move || { [INFO] [stdout] | _______________________^ [INFO] [stdout] 44 | | loop { [INFO] [stdout] 45 | | if let Ok::(msg) = crate::protocol::recv(&mut reader) { [INFO] [stdout] 46 | | println!("received message from {}: {:?}", id, msg); [INFO] [stdout] ... | [INFO] [stdout] 56 | | .expect("could not shutdown stream"); [INFO] [stdout] 57 | | }) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] 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/protocol/peer.rs:90:12 [INFO] [stdout] | [INFO] [stdout] 76 | addr: T [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 77 | ) -> io::Result<(thread::JoinHandle<()>, thread::JoinHandle<()>)> { [INFO] [stdout] 78 | let (send, recv) = std::sync::mpsc::channel::(); [INFO] [stdout] | ---- ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 79 | [INFO] [stdout] 80 | let listener_clients = self.clients.clone(); [INFO] [stdout] | ---------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 81 | let listen_handle = thread::spawn(move || { [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 85 | let broadcast_clients = self.clients.clone(); [INFO] [stdout] | ----------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 86 | let broadcast_handle = thread::spawn(move || { [INFO] [stdout] | ---------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 90 | Ok((listen_handle, broadcast_handle)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors; 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `crypton_node` (bin "crypton_node" test) due to 4 previous errors; 4 warnings emitted [INFO] running `Command { std: "docker" "inspect" "cec82182fb971aeea707a7aff806ce5e2365f0a54bb47ac23ed9af93fb9d577e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cec82182fb971aeea707a7aff806ce5e2365f0a54bb47ac23ed9af93fb9d577e", kill_on_drop: false }` [INFO] [stdout] cec82182fb971aeea707a7aff806ce5e2365f0a54bb47ac23ed9af93fb9d577e