[INFO] cloning repository https://github.com/lla-dane/Rust-Chain [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/lla-dane/Rust-Chain" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flla-dane%2FRust-Chain", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flla-dane%2FRust-Chain'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 073faec3b5552b4e36ae36b84b2980450c836b53 [INFO] checking lla-dane/Rust-Chain against master#22572d0994593197593e2a1b7b18d720a9a349a7 for pr-126452-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flla-dane%2FRust-Chain" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/lla-dane/Rust-Chain on toolchain 22572d0994593197593e2a1b7b18d720a9a349a7 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+22572d0994593197593e2a1b7b18d720a9a349a7" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/lla-dane/Rust-Chain [INFO] finished tweaking git repo https://github.com/lla-dane/Rust-Chain [INFO] tweaked toml for git repo https://github.com/lla-dane/Rust-Chain written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/lla-dane/Rust-Chain 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" "+22572d0994593197593e2a1b7b18d720a9a349a7" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded bitcoincash-addr v0.5.2 [INFO] [stderr] Downloaded bitcoin_hashes v0.7.6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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" "+22572d0994593197593e2a1b7b18d720a9a349a7" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1aeb866b670a8d2069d6f88b8e2aace6c26af2b62b1fb15764eb77100be7f9d9 [INFO] running `Command { std: "docker" "start" "-a" "1aeb866b670a8d2069d6f88b8e2aace6c26af2b62b1fb15764eb77100be7f9d9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1aeb866b670a8d2069d6f88b8e2aace6c26af2b62b1fb15764eb77100be7f9d9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1aeb866b670a8d2069d6f88b8e2aace6c26af2b62b1fb15764eb77100be7f9d9", kill_on_drop: false }` [INFO] [stdout] 1aeb866b670a8d2069d6f88b8e2aace6c26af2b62b1fb15764eb77100be7f9d9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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" "+22572d0994593197593e2a1b7b18d720a9a349a7" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b1b33eb28700d841ac4d4151961ec5788f20cf27239bf38050df54e8ff3ea7fd [INFO] running `Command { std: "docker" "start" "-a" "b1b33eb28700d841ac4d4151961ec5788f20cf27239bf38050df54e8ff3ea7fd", kill_on_drop: false }` [INFO] [stderr] Checking memchr v2.7.1 [INFO] [stderr] Checking utf8parse v0.2.1 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling parking_lot_core v0.8.6 [INFO] [stderr] Checking regex-syntax v0.8.2 [INFO] [stderr] Checking anstyle v1.0.6 [INFO] [stderr] Compiling serde v1.0.197 [INFO] [stderr] Checking anstyle-query v1.0.2 [INFO] [stderr] Checking colorchoice v1.0.0 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling cc v1.0.90 [INFO] [stderr] Checking instant v0.1.12 [INFO] [stderr] Checking gimli v0.28.1 [INFO] [stderr] Compiling syn v2.0.52 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Compiling gcc v0.3.55 [INFO] [stderr] Checking miniz_oxide v0.7.2 [INFO] [stderr] Checking rand v0.4.6 [INFO] [stderr] Checking rustc-demangle v0.1.23 [INFO] [stderr] Checking anstyle-parse v0.2.3 [INFO] [stderr] Checking strsim v0.11.0 [INFO] [stderr] Checking anstream v0.6.13 [INFO] [stderr] Compiling serde_json v1.0.114 [INFO] [stderr] Checking fxhash v0.2.1 [INFO] [stderr] Checking aho-corasick v1.1.2 [INFO] [stderr] Checking object v0.32.2 [INFO] [stderr] Checking crossbeam-epoch v0.9.18 [INFO] [stderr] Checking time v0.1.45 [INFO] [stderr] Checking fs2 v0.4.3 [INFO] [stderr] Checking parking_lot v0.11.2 [INFO] [stderr] Checking cpufeatures v0.2.12 [INFO] [stderr] Checking clap_builder v4.5.2 [INFO] [stderr] Checking bitcoin_hashes v0.7.6 [INFO] [stderr] Checking rustc-serialize v0.3.25 [INFO] [stderr] Checking rand v0.3.23 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking sled v0.34.7 [INFO] [stderr] Checking merkle-cbt v0.3.2 [INFO] [stderr] Compiling rust-crypto v0.2.36 [INFO] [stderr] Compiling backtrace v0.3.69 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking sha2 v0.10.8 [INFO] [stderr] Checking regex-automata v0.4.6 [INFO] [stderr] Compiling serde_derive v1.0.197 [INFO] [stderr] Checking addr2line v0.21.0 [INFO] [stderr] Compiling synstructure v0.12.6 [INFO] [stderr] Checking clap v4.5.2 [INFO] [stderr] Checking regex v1.10.3 [INFO] [stderr] Checking failure v0.1.8 [INFO] [stderr] Checking env_filter v0.1.0 [INFO] [stderr] Checking env_logger v0.11.3 [INFO] [stderr] Checking bitcoincash-addr v0.5.2 [INFO] [stderr] Checking bincode v1.3.3 [INFO] [stderr] Checking Rust-Chain v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `TXOutput` [INFO] [stdout] --> src/blockchain.rs:11:17 [INFO] [stdout] | [INFO] [stdout] 11 | use crate::tx::{TXOutput, TXOutputs}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::block::Block` [INFO] [stdout] --> src/cli.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::block::Block; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `bincode::serialize` [INFO] [stdout] --> src/transaction.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use bincode::serialize; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::blockchain::Blockchain` [INFO] [stdout] --> src/transaction.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use crate::blockchain::Blockchain; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `TXOutput` [INFO] [stdout] --> src/blockchain.rs:11:17 [INFO] [stdout] | [INFO] [stdout] 11 | use crate::tx::{TXOutput, TXOutputs}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::block::Block` [INFO] [stdout] --> src/cli.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::block::Block; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `bincode::serialize` [INFO] [stdout] --> src/transaction.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use bincode::serialize; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::blockchain::Blockchain` [INFO] [stdout] --> src/transaction.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use crate::blockchain::Blockchain; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/blockchain.rs:47:20 [INFO] [stdout] | [INFO] [stdout] 47 | if let Err(e) = std::fs::remove_dir_all("data/blocks") { [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/blockchain.rs:47:20 [INFO] [stdout] | [INFO] [stdout] 47 | if let Err(e) = std::fs::remove_dir_all("data/blocks") { [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:16:20 [INFO] [stdout] | [INFO] [stdout] 16 | 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] [INFO] [stdout] warning: method `hash_transactions` is never used [INFO] [stdout] --> src/block.rs:99:8 [INFO] [stdout] | [INFO] [stdout] 27 | impl Block { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 99 | fn hash_transactions(&self) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `verify_transaction` and `find_unspent_transactions` are never used [INFO] [stdout] --> src/blockchain.rs:120:12 [INFO] [stdout] | [INFO] [stdout] 26 | impl Blockchain { [INFO] [stdout] | --------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 120 | pub fn verify_transaction(&self, tx: &mut Transaction) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 126 | fn find_unspent_transactions(&self, address: &[u8]) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `verify` is never used [INFO] [stdout] --> src/transaction.rs:180:12 [INFO] [stdout] | [INFO] [stdout] 25 | impl Transaction { [INFO] [stdout] | ---------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 180 | 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:29:12 [INFO] [stdout] | [INFO] [stdout] 27 | impl TXInput { [INFO] [stdout] | ------------ method in this implementation [INFO] [stdout] 28 | // CanUnlockOutputWith checks whether the address initiated the transaction [INFO] [stdout] 29 | pub fn can_unlock_output_with(&self, sender_address: &[u8]) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/utxoset.rs:16:20 [INFO] [stdout] | [INFO] [stdout] 16 | 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] [INFO] [stdout] warning: method `hash_transactions` is never used [INFO] [stdout] --> src/block.rs:99:8 [INFO] [stdout] | [INFO] [stdout] 27 | impl Block { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 99 | fn hash_transactions(&self) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `verify_transaction` and `find_unspent_transactions` are never used [INFO] [stdout] --> src/blockchain.rs:120:12 [INFO] [stdout] | [INFO] [stdout] 26 | impl Blockchain { [INFO] [stdout] | --------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 120 | pub fn verify_transaction(&self, tx: &mut Transaction) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 126 | fn find_unspent_transactions(&self, address: &[u8]) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `verify` is never used [INFO] [stdout] --> src/transaction.rs:180:12 [INFO] [stdout] | [INFO] [stdout] 25 | impl Transaction { [INFO] [stdout] | ---------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 180 | 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:29:12 [INFO] [stdout] | [INFO] [stdout] 27 | impl TXInput { [INFO] [stdout] | ------------ method in this implementation [INFO] [stdout] 28 | // CanUnlockOutputWith checks whether the address initiated the transaction [INFO] [stdout] 29 | pub fn can_unlock_output_with(&self, sender_address: &[u8]) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 21.05s [INFO] running `Command { std: "docker" "inspect" "b1b33eb28700d841ac4d4151961ec5788f20cf27239bf38050df54e8ff3ea7fd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b1b33eb28700d841ac4d4151961ec5788f20cf27239bf38050df54e8ff3ea7fd", kill_on_drop: false }` [INFO] [stdout] b1b33eb28700d841ac4d4151961ec5788f20cf27239bf38050df54e8ff3ea7fd [INFO] checking lla-dane/Rust-Chain against try#6289438dbad80b1a0029c66dd3f6abf57c2c51be for pr-126452-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flla-dane%2FRust-Chain" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/lla-dane/Rust-Chain on toolchain 6289438dbad80b1a0029c66dd3f6abf57c2c51be [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+6289438dbad80b1a0029c66dd3f6abf57c2c51be" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/lla-dane/Rust-Chain [INFO] finished tweaking git repo https://github.com/lla-dane/Rust-Chain [INFO] tweaked toml for git repo https://github.com/lla-dane/Rust-Chain written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/lla-dane/Rust-Chain 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" "+6289438dbad80b1a0029c66dd3f6abf57c2c51be" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+6289438dbad80b1a0029c66dd3f6abf57c2c51be" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f8f3c5174f091599a416e3b2cf2a1f33ba602193646ff7c73f55017435e25a3f [INFO] running `Command { std: "docker" "start" "-a" "f8f3c5174f091599a416e3b2cf2a1f33ba602193646ff7c73f55017435e25a3f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f8f3c5174f091599a416e3b2cf2a1f33ba602193646ff7c73f55017435e25a3f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f8f3c5174f091599a416e3b2cf2a1f33ba602193646ff7c73f55017435e25a3f", kill_on_drop: false }` [INFO] [stdout] f8f3c5174f091599a416e3b2cf2a1f33ba602193646ff7c73f55017435e25a3f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-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" "+6289438dbad80b1a0029c66dd3f6abf57c2c51be" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b476257e99522de8c00c604aaf2e54262012fbcec3c3f0eb1eefb04b0c546032 [INFO] running `Command { std: "docker" "start" "-a" "b476257e99522de8c00c604aaf2e54262012fbcec3c3f0eb1eefb04b0c546032", kill_on_drop: false }` [INFO] [stderr] Checking memchr v2.7.1 [INFO] [stderr] Checking utf8parse v0.2.1 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking anstyle v1.0.6 [INFO] [stderr] Checking colorchoice v1.0.0 [INFO] [stderr] Checking regex-syntax v0.8.2 [INFO] [stderr] Compiling serde v1.0.197 [INFO] [stderr] Compiling parking_lot_core v0.8.6 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Checking anstyle-query v1.0.2 [INFO] [stderr] Compiling cc v1.0.90 [INFO] [stderr] Checking instant v0.1.12 [INFO] [stderr] Compiling syn v2.0.52 [INFO] [stderr] Checking gimli v0.28.1 [INFO] [stderr] Compiling gcc v0.3.55 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Checking miniz_oxide v0.7.2 [INFO] [stderr] Checking anstyle-parse v0.2.3 [INFO] [stderr] Checking rand v0.4.6 [INFO] [stderr] Checking rustc-demangle v0.1.23 [INFO] [stderr] Compiling serde_json v1.0.114 [INFO] [stderr] Checking strsim v0.11.0 [INFO] [stderr] Checking anstream v0.6.13 [INFO] [stderr] Checking fxhash v0.2.1 [INFO] [stderr] Checking crossbeam-epoch v0.9.18 [INFO] [stderr] Checking parking_lot v0.11.2 [INFO] [stderr] Checking fs2 v0.4.3 [INFO] [stderr] Checking time v0.1.45 [INFO] [stderr] Checking cpufeatures v0.2.12 [INFO] [stderr] Checking bitcoin_hashes v0.7.6 [INFO] [stderr] Checking rustc-serialize v0.3.25 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking clap_builder v4.5.2 [INFO] [stderr] Checking merkle-cbt v0.3.2 [INFO] [stderr] Checking rand v0.3.23 [INFO] [stderr] Checking sled v0.34.7 [INFO] [stderr] Checking aho-corasick v1.1.2 [INFO] [stderr] Checking object v0.32.2 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Compiling rust-crypto v0.2.36 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking sha2 v0.10.8 [INFO] [stderr] Compiling backtrace v0.3.69 [INFO] [stderr] Checking regex-automata v0.4.6 [INFO] [stderr] Compiling serde_derive v1.0.197 [INFO] [stderr] Checking clap v4.5.2 [INFO] [stderr] Checking addr2line v0.21.0 [INFO] [stderr] Compiling synstructure v0.12.6 [INFO] [stderr] Checking regex v1.10.3 [INFO] [stderr] Checking env_filter v0.1.0 [INFO] [stderr] Checking env_logger v0.11.3 [INFO] [stderr] Checking failure v0.1.8 [INFO] [stderr] Checking bitcoincash-addr v0.5.2 [INFO] [stderr] Checking bincode v1.3.3 [INFO] [stderr] Checking Rust-Chain v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `TXOutput` [INFO] [stdout] --> src/blockchain.rs:11:17 [INFO] [stdout] | [INFO] [stdout] 11 | use crate::tx::{TXOutput, TXOutputs}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::block::Block` [INFO] [stdout] --> src/cli.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::block::Block; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `bincode::serialize` [INFO] [stdout] --> src/transaction.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use bincode::serialize; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::blockchain::Blockchain` [INFO] [stdout] --> src/transaction.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use crate::blockchain::Blockchain; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `TXOutput` [INFO] [stdout] --> src/blockchain.rs:11:17 [INFO] [stdout] | [INFO] [stdout] 11 | use crate::tx::{TXOutput, TXOutputs}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::block::Block` [INFO] [stdout] --> src/cli.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::block::Block; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `bincode::serialize` [INFO] [stdout] --> src/transaction.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use bincode::serialize; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::blockchain::Blockchain` [INFO] [stdout] --> src/transaction.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use crate::blockchain::Blockchain; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/blockchain.rs:47:20 [INFO] [stdout] | [INFO] [stdout] 47 | if let Err(e) = std::fs::remove_dir_all("data/blocks") { [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/blockchain.rs:47:20 [INFO] [stdout] | [INFO] [stdout] 47 | if let Err(e) = std::fs::remove_dir_all("data/blocks") { [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:16:20 [INFO] [stdout] | [INFO] [stdout] 16 | 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] [INFO] [stdout] warning: method `hash_transactions` is never used [INFO] [stdout] --> src/block.rs:99:8 [INFO] [stdout] | [INFO] [stdout] 27 | impl Block { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 99 | fn hash_transactions(&self) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `verify_transaction` and `find_unspent_transactions` are never used [INFO] [stdout] --> src/blockchain.rs:120:12 [INFO] [stdout] | [INFO] [stdout] 26 | impl Blockchain { [INFO] [stdout] | --------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 120 | pub fn verify_transaction(&self, tx: &mut Transaction) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 126 | fn find_unspent_transactions(&self, address: &[u8]) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `verify` is never used [INFO] [stdout] --> src/transaction.rs:180:12 [INFO] [stdout] | [INFO] [stdout] 25 | impl Transaction { [INFO] [stdout] | ---------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 180 | 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:29:12 [INFO] [stdout] | [INFO] [stdout] 27 | impl TXInput { [INFO] [stdout] | ------------ method in this implementation [INFO] [stdout] 28 | // CanUnlockOutputWith checks whether the address initiated the transaction [INFO] [stdout] 29 | pub fn can_unlock_output_with(&self, sender_address: &[u8]) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/utxoset.rs:16:20 [INFO] [stdout] | [INFO] [stdout] 16 | 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] [INFO] [stdout] warning: method `hash_transactions` is never used [INFO] [stdout] --> src/block.rs:99:8 [INFO] [stdout] | [INFO] [stdout] 27 | impl Block { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 99 | fn hash_transactions(&self) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `verify_transaction` and `find_unspent_transactions` are never used [INFO] [stdout] --> src/blockchain.rs:120:12 [INFO] [stdout] | [INFO] [stdout] 26 | impl Blockchain { [INFO] [stdout] | --------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 120 | pub fn verify_transaction(&self, tx: &mut Transaction) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 126 | fn find_unspent_transactions(&self, address: &[u8]) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `verify` is never used [INFO] [stdout] --> src/transaction.rs:180:12 [INFO] [stdout] | [INFO] [stdout] 25 | impl Transaction { [INFO] [stdout] | ---------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 180 | 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:29:12 [INFO] [stdout] | [INFO] [stdout] 27 | impl TXInput { [INFO] [stdout] | ------------ method in this implementation [INFO] [stdout] 28 | // CanUnlockOutputWith checks whether the address initiated the transaction [INFO] [stdout] 29 | pub fn can_unlock_output_with(&self, sender_address: &[u8]) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 17.22s [INFO] running `Command { std: "docker" "inspect" "b476257e99522de8c00c604aaf2e54262012fbcec3c3f0eb1eefb04b0c546032", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b476257e99522de8c00c604aaf2e54262012fbcec3c3f0eb1eefb04b0c546032", kill_on_drop: false }` [INFO] [stdout] b476257e99522de8c00c604aaf2e54262012fbcec3c3f0eb1eefb04b0c546032