[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/7f8457af8757b45f53ee3d5f9b5c9ed648042371 against master#ab869e094a907cc5d19b4080f22eccaf347f1f95 for pr-129604 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDanielCruzAr%2FBLOCKCHAIN-RUST" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/DanielCruzAr/BLOCKCHAIN-RUST on toolchain ab869e094a907cc5d19b4080f22eccaf347f1f95 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "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-2-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" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded merkle-cbt v0.3.2 [INFO] [stderr] Downloaded bitcoin_hashes v0.7.6 [INFO] [stderr] Downloaded bitcoincash-addr v0.5.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 447d44f8e693d082ec0b6e93cd8c4b4456d39b2080a9aa703123b036f3ad5c84 [INFO] running `Command { std: "docker" "start" "-a" "447d44f8e693d082ec0b6e93cd8c4b4456d39b2080a9aa703123b036f3ad5c84", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "447d44f8e693d082ec0b6e93cd8c4b4456d39b2080a9aa703123b036f3ad5c84", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "447d44f8e693d082ec0b6e93cd8c4b4456d39b2080a9aa703123b036f3ad5c84", kill_on_drop: false }` [INFO] [stdout] 447d44f8e693d082ec0b6e93cd8c4b4456d39b2080a9aa703123b036f3ad5c84 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c25680be806bee976b9ce91af68fd44aed80d265a29bb9e9008beddf9cf38732 [INFO] running `Command { std: "docker" "start" "-a" "c25680be806bee976b9ce91af68fd44aed80d265a29bb9e9008beddf9cf38732", kill_on_drop: false }` [INFO] [stderr] Checking memchr v2.7.4 [INFO] [stderr] Compiling syn v1.0.109 [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] Compiling cc v1.1.13 [INFO] [stderr] Checking instant v0.1.13 [INFO] [stderr] Checking regex-syntax v0.8.4 [INFO] [stderr] Compiling gcc v0.3.55 [INFO] [stderr] Checking gimli v0.29.0 [INFO] [stderr] Compiling unicode-xid v0.2.5 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Compiling syn v2.0.75 [INFO] [stderr] Checking adler v1.0.2 [INFO] [stderr] Checking rand v0.4.6 [INFO] [stderr] Compiling serde_json v1.0.125 [INFO] [stderr] Checking rustc-demangle v0.1.24 [INFO] [stderr] Checking log v0.4.22 [INFO] [stderr] Checking miniz_oxide v0.7.4 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking time v0.1.45 [INFO] [stderr] Checking is-terminal v0.4.13 [INFO] [stderr] Checking fs2 v0.4.3 [INFO] [stderr] Checking fxhash v0.2.1 [INFO] [stderr] Checking rustc-serialize v0.3.25 [INFO] [stderr] Checking humantime v2.1.0 [INFO] [stderr] Checking bitcoin_hashes v0.7.6 [INFO] [stderr] Checking termcolor v1.4.1 [INFO] [stderr] Checking parking_lot v0.11.2 [INFO] [stderr] Checking sha2 v0.10.8 [INFO] [stderr] Checking clap v4.5.16 [INFO] [stderr] Checking merkle-cbt v0.3.2 [INFO] [stderr] Compiling rust-crypto v0.2.36 [INFO] [stderr] Checking rand v0.3.23 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Checking object v0.36.3 [INFO] [stderr] Compiling backtrace v0.3.73 [INFO] [stderr] Checking crossbeam-epoch v0.9.18 [INFO] [stderr] Checking sled v0.34.7 [INFO] [stderr] Checking regex-automata v0.4.7 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling serde_derive v1.0.208 [INFO] [stderr] Checking addr2line v0.22.0 [INFO] [stderr] Checking zerocopy v0.7.35 [INFO] [stderr] Compiling synstructure v0.12.6 [INFO] [stderr] Checking ppv-lite86 v0.2.20 [INFO] [stderr] Checking bitcoincash-addr v0.5.2 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking regex v1.10.6 [INFO] [stderr] Checking env_logger v0.10.2 [INFO] [stderr] Checking failure v0.1.8 [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: 5 warnings emitted [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: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 17.14s [INFO] running `Command { std: "docker" "inspect" "c25680be806bee976b9ce91af68fd44aed80d265a29bb9e9008beddf9cf38732", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c25680be806bee976b9ce91af68fd44aed80d265a29bb9e9008beddf9cf38732", kill_on_drop: false }` [INFO] [stdout] c25680be806bee976b9ce91af68fd44aed80d265a29bb9e9008beddf9cf38732