[INFO] cloning repository https://github.com/DanielCruzAr/BLOCKCHAIN-RUST [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/DanielCruzAr/BLOCKCHAIN-RUST" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDanielCruzAr%2FBLOCKCHAIN-RUST", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDanielCruzAr%2FBLOCKCHAIN-RUST'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 7f8457af8757b45f53ee3d5f9b5c9ed648042371 [INFO] checking DanielCruzAr/BLOCKCHAIN-RUST against master#1f12b9b0fdbe735968ac002792a720f0ba4faca6 for crater-rollup-uwu [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDanielCruzAr%2FBLOCKCHAIN-RUST" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/DanielCruzAr/BLOCKCHAIN-RUST 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/DanielCruzAr/BLOCKCHAIN-RUST [INFO] finished tweaking git repo https://github.com/DanielCruzAr/BLOCKCHAIN-RUST [INFO] tweaked toml for git repo https://github.com/DanielCruzAr/BLOCKCHAIN-RUST written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/DanielCruzAr/BLOCKCHAIN-RUST 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 cpufeatures v0.2.13 [INFO] [stderr] Downloaded instant v0.1.13 [INFO] [stderr] Downloaded bitcoincash-addr v0.5.2 [INFO] [stderr] Downloaded is_terminal_polyfill v1.70.1 [INFO] [stderr] Downloaded anstyle-parse v0.2.5 [INFO] [stderr] Downloaded merkle-cbt v0.3.2 [INFO] [stderr] Downloaded anstyle-query v1.1.1 [INFO] [stderr] Downloaded bitcoin_hashes v0.7.6 [INFO] [stderr] Downloaded anstream v0.6.15 [INFO] [stderr] Downloaded clap v4.5.16 [INFO] [stderr] Downloaded cc v1.1.13 [INFO] [stderr] Downloaded serde v1.0.208 [INFO] [stderr] Downloaded serde_derive v1.0.208 [INFO] [stderr] Downloaded rustc-serialize v0.3.25 [INFO] [stderr] Downloaded serde_json v1.0.125 [INFO] [stderr] Downloaded clap_builder v4.5.15 [INFO] [stderr] Downloaded anstyle-wincon v3.0.4 [INFO] [stderr] Downloaded colorchoice v1.0.2 [INFO] [stderr] Downloaded is-terminal v0.4.13 [INFO] [stderr] Downloaded regex v1.10.6 [INFO] [stderr] Downloaded syn v2.0.75 [INFO] [stderr] Downloaded winapi-util v0.1.9 [INFO] [stderr] Downloaded unicode-xid v0.2.5 [INFO] [stderr] Downloaded anstyle v1.0.8 [INFO] [stderr] Downloaded clap_lex v0.7.2 [INFO] [stderr] Downloaded sled v0.34.7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] cbcda473c2df36c5f4bd7022a11aee2c9ee9be4c99dfd4379716db31296312fb [INFO] running `Command { std: "docker" "start" "-a" "cbcda473c2df36c5f4bd7022a11aee2c9ee9be4c99dfd4379716db31296312fb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "cbcda473c2df36c5f4bd7022a11aee2c9ee9be4c99dfd4379716db31296312fb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cbcda473c2df36c5f4bd7022a11aee2c9ee9be4c99dfd4379716db31296312fb", kill_on_drop: false }` [INFO] [stdout] cbcda473c2df36c5f4bd7022a11aee2c9ee9be4c99dfd4379716db31296312fb [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] 327eedfa47257e8625a67d40b45a05fd17050cd61c8bac0882df22f7f24667b6 [INFO] running `Command { std: "docker" "start" "-a" "327eedfa47257e8625a67d40b45a05fd17050cd61c8bac0882df22f7f24667b6", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.158 [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Checking memchr v2.7.4 [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Compiling parking_lot_core v0.8.6 [INFO] [stderr] Compiling serde v1.0.208 [INFO] [stderr] Checking utf8parse v0.2.2 [INFO] [stderr] Compiling crossbeam-utils v0.8.20 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Checking instant v0.1.13 [INFO] [stderr] Checking gimli v0.29.0 [INFO] [stderr] Checking anstyle-query v1.1.1 [INFO] [stderr] Compiling unicode-xid v0.2.5 [INFO] [stderr] Checking regex-syntax v0.8.4 [INFO] [stderr] Checking is_terminal_polyfill v1.70.1 [INFO] [stderr] Checking anstyle-parse v0.2.5 [INFO] [stderr] Checking colorchoice v1.0.2 [INFO] [stderr] Compiling cc v1.1.13 [INFO] [stderr] Compiling gcc v0.3.55 [INFO] [stderr] Checking anstyle v1.0.8 [INFO] [stderr] Checking miniz_oxide v0.7.4 [INFO] [stderr] Checking clap_lex v0.7.2 [INFO] [stderr] Compiling serde_json v1.0.125 [INFO] [stderr] Checking log v0.4.22 [INFO] [stderr] Checking rustc-demangle v0.1.24 [INFO] [stderr] Checking fxhash v0.2.1 [INFO] [stderr] Checking crc32fast v1.4.2 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Checking anstream v0.6.15 [INFO] [stderr] Checking bitcoin_hashes v0.7.6 [INFO] [stderr] Checking cpufeatures v0.2.13 [INFO] [stderr] Checking rustc-serialize v0.3.25 [INFO] [stderr] Checking merkle-cbt v0.3.2 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Checking object v0.36.3 [INFO] [stderr] Checking clap_builder v4.5.15 [INFO] [stderr] Compiling rust-crypto v0.2.36 [INFO] [stderr] Checking crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling syn v2.0.75 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Checking rand v0.4.6 [INFO] [stderr] Checking time v0.1.45 [INFO] [stderr] Checking fs2 v0.4.3 [INFO] [stderr] Compiling backtrace v0.3.73 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking is-terminal v0.4.13 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking parking_lot v0.11.2 [INFO] [stderr] Checking regex-automata v0.4.7 [INFO] [stderr] Checking sha2 v0.10.8 [INFO] [stderr] Checking sled v0.34.7 [INFO] [stderr] Checking rand v0.3.23 [INFO] [stderr] Checking addr2line v0.22.0 [INFO] [stderr] Checking clap v4.5.16 [INFO] [stderr] Compiling synstructure v0.12.6 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling serde_derive v1.0.208 [INFO] [stderr] Checking regex v1.10.6 [INFO] [stderr] Checking env_logger v0.10.2 [INFO] [stderr] Checking bitcoincash-addr v0.5.2 [INFO] [stderr] Checking zerocopy v0.7.35 [INFO] [stderr] Checking failure v0.1.8 [INFO] [stderr] Checking ppv-lite86 v0.2.20 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking bincode v1.3.3 [INFO] [stderr] Checking blockchain-rust v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `blockchain::Blockchain` [INFO] [stdout] --> src/transaction.rs:7:13 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::{blockchain::Blockchain, errors::Result, tx::{TXInput, TXOutput}, utxoset::UTXOSet, wallet::{hash_pub_key, Wallets}}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `blockchain::Blockchain` [INFO] [stdout] --> src/transaction.rs:7:13 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::{blockchain::Blockchain, errors::Result, tx::{TXInput, TXOutput}, utxoset::UTXOSet, wallet::{hash_pub_key, Wallets}}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/utxoset.rs:18:20 [INFO] [stdout] | [INFO] [stdout] 18 | if let Err(e) = std::fs::remove_dir_all("data/utxos") { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `find_unspent_transactions` and `verify_transaction` are never used [INFO] [stdout] --> src/blockchain.rs:73:8 [INFO] [stdout] | [INFO] [stdout] 27 | impl Blockchain { [INFO] [stdout] | --------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 73 | fn find_unspent_transactions(&self, address: &[u8]) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 186 | pub fn verify_transaction(&self, tx: &mut Transaction) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `verify` is never used [INFO] [stdout] --> src/transaction.rs:135:12 [INFO] [stdout] | [INFO] [stdout] 16 | impl Transaction { [INFO] [stdout] | ---------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 135 | pub fn verify(&mut self, prev_txs: HashMap) -> Result { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `can_unlock_output_with` is never used [INFO] [stdout] --> src/tx.rs:31:12 [INFO] [stdout] | [INFO] [stdout] 29 | impl TXInput { [INFO] [stdout] | ------------ method in this implementation [INFO] [stdout] 30 | /// CanUnlockOutputWith checks whether the address initiated the transaction [INFO] [stdout] 31 | pub fn can_unlock_output_with(&self, unlocking_data: &[u8]) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/utxoset.rs:18:20 [INFO] [stdout] | [INFO] [stdout] 18 | if let Err(e) = std::fs::remove_dir_all("data/utxos") { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `find_unspent_transactions` and `verify_transaction` are never used [INFO] [stdout] --> src/blockchain.rs:73:8 [INFO] [stdout] | [INFO] [stdout] 27 | impl Blockchain { [INFO] [stdout] | --------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 73 | fn find_unspent_transactions(&self, address: &[u8]) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 186 | pub fn verify_transaction(&self, tx: &mut Transaction) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `verify` is never used [INFO] [stdout] --> src/transaction.rs:135:12 [INFO] [stdout] | [INFO] [stdout] 16 | impl Transaction { [INFO] [stdout] | ---------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 135 | pub fn verify(&mut self, prev_txs: HashMap) -> Result { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `can_unlock_output_with` is never used [INFO] [stdout] --> src/tx.rs:31:12 [INFO] [stdout] | [INFO] [stdout] 29 | impl TXInput { [INFO] [stdout] | ------------ method in this implementation [INFO] [stdout] 30 | /// CanUnlockOutputWith checks whether the address initiated the transaction [INFO] [stdout] 31 | pub fn can_unlock_output_with(&self, unlocking_data: &[u8]) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 7.28s [INFO] running `Command { std: "docker" "inspect" "327eedfa47257e8625a67d40b45a05fd17050cd61c8bac0882df22f7f24667b6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "327eedfa47257e8625a67d40b45a05fd17050cd61c8bac0882df22f7f24667b6", kill_on_drop: false }` [INFO] [stdout] 327eedfa47257e8625a67d40b45a05fd17050cd61c8bac0882df22f7f24667b6 [INFO] checking DanielCruzAr/BLOCKCHAIN-RUST 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%2FDanielCruzAr%2FBLOCKCHAIN-RUST" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/DanielCruzAr/BLOCKCHAIN-RUST 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/DanielCruzAr/BLOCKCHAIN-RUST [INFO] finished tweaking git repo https://github.com/DanielCruzAr/BLOCKCHAIN-RUST [INFO] tweaked toml for git repo https://github.com/DanielCruzAr/BLOCKCHAIN-RUST written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/DanielCruzAr/BLOCKCHAIN-RUST 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-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] 7fe61af4709cf7742eeb3a7ce9befd820b01fa58c01374ff4c59747262a8074e [INFO] running `Command { std: "docker" "start" "-a" "7fe61af4709cf7742eeb3a7ce9befd820b01fa58c01374ff4c59747262a8074e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7fe61af4709cf7742eeb3a7ce9befd820b01fa58c01374ff4c59747262a8074e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7fe61af4709cf7742eeb3a7ce9befd820b01fa58c01374ff4c59747262a8074e", kill_on_drop: false }` [INFO] [stdout] 7fe61af4709cf7742eeb3a7ce9befd820b01fa58c01374ff4c59747262a8074e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] 4df03ce50a5ae88656afa526ed1466485d9283adb27bc094f680c132e3c79029 [INFO] running `Command { std: "docker" "start" "-a" "4df03ce50a5ae88656afa526ed1466485d9283adb27bc094f680c132e3c79029", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.158 [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Checking memchr v2.7.4 [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking utf8parse v0.2.2 [INFO] [stderr] Compiling serde v1.0.208 [INFO] [stderr] Compiling parking_lot_core v0.8.6 [INFO] [stderr] Compiling crossbeam-utils v0.8.20 [INFO] [stderr] Checking instant v0.1.13 [INFO] [stderr] Checking is_terminal_polyfill v1.70.1 [INFO] [stderr] Checking gimli v0.29.0 [INFO] [stderr] Checking anstyle v1.0.8 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Checking colorchoice v1.0.2 [INFO] [stderr] Checking regex-syntax v0.8.4 [INFO] [stderr] Checking anstyle-parse v0.2.5 [INFO] [stderr] Compiling cc v1.1.13 [INFO] [stderr] Checking anstyle-query v1.1.1 [INFO] [stderr] Compiling gcc v0.3.55 [INFO] [stderr] Compiling unicode-xid v0.2.5 [INFO] [stderr] Checking miniz_oxide v0.7.4 [INFO] [stderr] Checking log v0.4.22 [INFO] [stderr] Checking anstream v0.6.15 [INFO] [stderr] Compiling serde_json v1.0.125 [INFO] [stderr] Checking rustc-demangle v0.1.24 [INFO] [stderr] Checking clap_lex v0.7.2 [INFO] [stderr] Checking fxhash v0.2.1 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Checking crc32fast v1.4.2 [INFO] [stderr] Checking bitcoin_hashes v0.7.6 [INFO] [stderr] Checking cpufeatures v0.2.13 [INFO] [stderr] Checking rustc-serialize v0.3.25 [INFO] [stderr] Checking clap_builder v4.5.15 [INFO] [stderr] Checking merkle-cbt v0.3.2 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Checking object v0.36.3 [INFO] [stderr] Checking crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling rust-crypto v0.2.36 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling syn v2.0.75 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Checking rand v0.4.6 [INFO] [stderr] Checking time v0.1.45 [INFO] [stderr] Checking fs2 v0.4.3 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Compiling backtrace v0.3.73 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking is-terminal v0.4.13 [INFO] [stderr] Checking parking_lot v0.11.2 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking regex-automata v0.4.7 [INFO] [stderr] Checking sled v0.34.7 [INFO] [stderr] Checking sha2 v0.10.8 [INFO] [stderr] Checking rand v0.3.23 [INFO] [stderr] Checking addr2line v0.22.0 [INFO] [stderr] Checking clap v4.5.16 [INFO] [stderr] Compiling synstructure v0.12.6 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling serde_derive v1.0.208 [INFO] [stderr] Checking bitcoincash-addr v0.5.2 [INFO] [stderr] Checking regex v1.10.6 [INFO] [stderr] Checking zerocopy v0.7.35 [INFO] [stderr] Checking env_logger v0.10.2 [INFO] [stderr] Checking ppv-lite86 v0.2.20 [INFO] [stderr] Checking failure v0.1.8 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking bincode v1.3.3 [INFO] [stderr] Checking blockchain-rust v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `blockchain::Blockchain` [INFO] [stdout] --> src/transaction.rs:7:13 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::{blockchain::Blockchain, errors::Result, tx::{TXInput, TXOutput}, utxoset::UTXOSet, wallet::{hash_pub_key, Wallets}}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `blockchain::Blockchain` [INFO] [stdout] --> src/transaction.rs:7:13 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::{blockchain::Blockchain, errors::Result, tx::{TXInput, TXOutput}, utxoset::UTXOSet, wallet::{hash_pub_key, Wallets}}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/utxoset.rs:18:20 [INFO] [stdout] | [INFO] [stdout] 18 | if let Err(e) = std::fs::remove_dir_all("data/utxos") { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/utxoset.rs:18:20 [INFO] [stdout] | [INFO] [stdout] 18 | if let Err(e) = std::fs::remove_dir_all("data/utxos") { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `find_unspent_transactions` and `verify_transaction` are never used [INFO] [stdout] --> src/blockchain.rs:73:8 [INFO] [stdout] | [INFO] [stdout] 27 | impl Blockchain { [INFO] [stdout] | --------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 73 | fn find_unspent_transactions(&self, address: &[u8]) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 186 | pub fn verify_transaction(&self, tx: &mut Transaction) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `verify` is never used [INFO] [stdout] --> src/transaction.rs:135:12 [INFO] [stdout] | [INFO] [stdout] 16 | impl Transaction { [INFO] [stdout] | ---------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 135 | pub fn verify(&mut self, prev_txs: HashMap) -> Result { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `can_unlock_output_with` is never used [INFO] [stdout] --> src/tx.rs:31:12 [INFO] [stdout] | [INFO] [stdout] 29 | impl TXInput { [INFO] [stdout] | ------------ method in this implementation [INFO] [stdout] 30 | /// CanUnlockOutputWith checks whether the address initiated the transaction [INFO] [stdout] 31 | pub fn can_unlock_output_with(&self, unlocking_data: &[u8]) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `find_unspent_transactions` and `verify_transaction` are never used [INFO] [stdout] --> src/blockchain.rs:73:8 [INFO] [stdout] | [INFO] [stdout] 27 | impl Blockchain { [INFO] [stdout] | --------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 73 | fn find_unspent_transactions(&self, address: &[u8]) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 186 | pub fn verify_transaction(&self, tx: &mut Transaction) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `verify` is never used [INFO] [stdout] --> src/transaction.rs:135:12 [INFO] [stdout] | [INFO] [stdout] 16 | impl Transaction { [INFO] [stdout] | ---------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 135 | pub fn verify(&mut self, prev_txs: HashMap) -> Result { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `can_unlock_output_with` is never used [INFO] [stdout] --> src/tx.rs:31:12 [INFO] [stdout] | [INFO] [stdout] 29 | impl TXInput { [INFO] [stdout] | ------------ method in this implementation [INFO] [stdout] 30 | /// CanUnlockOutputWith checks whether the address initiated the transaction [INFO] [stdout] 31 | pub fn can_unlock_output_with(&self, unlocking_data: &[u8]) -> bool { [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/blockchain.rs:38:12 [INFO] [stdout] | [INFO] [stdout] 32 | let db = sled::open("data/blocks")?; [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 33 | let hash = db [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 38 | Ok(Blockchain { [INFO] [stdout] | ____________^ [INFO] [stdout] 39 | | current_hash: lashash.clone(), [INFO] [stdout] 40 | | db, [INFO] [stdout] 41 | | }) [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________these values have significant drop implementation and will observe changes in drop order under Edition 2024 [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/blockchain.rs:38:12 [INFO] [stdout] | [INFO] [stdout] 32 | let db = sled::open("data/blocks")?; [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 33 | let hash = db [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 38 | Ok(Blockchain { [INFO] [stdout] | ____________^ [INFO] [stdout] 39 | | current_hash: lashash.clone(), [INFO] [stdout] 40 | | db, [INFO] [stdout] 41 | | }) [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________these values have significant drop implementation and will observe changes in drop order under Edition 2024 [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: aborting due to 1 previous error; 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error; 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `blockchain-rust` (bin "blockchain-rust") due to 2 previous errors; 5 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `blockchain-rust` (bin "blockchain-rust" test) due to 2 previous errors; 5 warnings emitted [INFO] running `Command { std: "docker" "inspect" "4df03ce50a5ae88656afa526ed1466485d9283adb27bc094f680c132e3c79029", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4df03ce50a5ae88656afa526ed1466485d9283adb27bc094f680c132e3c79029", kill_on_drop: false }` [INFO] [stdout] 4df03ce50a5ae88656afa526ed1466485d9283adb27bc094f680c132e3c79029