[INFO] cloning repository https://github.com/ChainThemAll/bitcoin_example_rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ChainThemAll/bitcoin_example_rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FChainThemAll%2Fbitcoin_example_rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FChainThemAll%2Fbitcoin_example_rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] aa7cde95f8baf511a544355be04d165a92e8f77f [INFO] checking ChainThemAll/bitcoin_example_rust against master#385fa9d845dd326c6bbfd58c22244215e431948a for absurd-question-mark-desugar [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FChainThemAll%2Fbitcoin_example_rust" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/ChainThemAll/bitcoin_example_rust on toolchain 385fa9d845dd326c6bbfd58c22244215e431948a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/ChainThemAll/bitcoin_example_rust [INFO] finished tweaking git repo https://github.com/ChainThemAll/bitcoin_example_rust [INFO] tweaked toml for git repo https://github.com/ChainThemAll/bitcoin_example_rust written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/ChainThemAll/bitcoin_example_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" "+385fa9d845dd326c6bbfd58c22244215e431948a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded sha256 v1.5.0 [INFO] [stderr] Downloaded platforms v3.3.0 [INFO] [stderr] Downloaded fiat-crypto v0.2.6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] cccf3eea46148926bb345b6278febd711eb635926087348c2b2569cf6fa41f6c [INFO] running `Command { std: "docker" "start" "-a" "cccf3eea46148926bb345b6278febd711eb635926087348c2b2569cf6fa41f6c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "cccf3eea46148926bb345b6278febd711eb635926087348c2b2569cf6fa41f6c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cccf3eea46148926bb345b6278febd711eb635926087348c2b2569cf6fa41f6c", kill_on_drop: false }` [INFO] [stdout] cccf3eea46148926bb345b6278febd711eb635926087348c2b2569cf6fa41f6c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 07681282c93eff5c97864ace150d036982ff0b70d3f00846137fcf82e943c9f5 [INFO] running `Command { std: "docker" "start" "-a" "07681282c93eff5c97864ace150d036982ff0b70d3f00846137fcf82e943c9f5", kill_on_drop: false }` [INFO] [stderr] Compiling syn v2.0.52 [INFO] [stderr] Compiling semver v1.0.22 [INFO] [stderr] Compiling platforms v3.3.0 [INFO] [stderr] Compiling parking_lot_core v0.8.6 [INFO] [stderr] Checking subtle v2.5.0 [INFO] [stderr] Compiling anyhow v1.0.80 [INFO] [stderr] Checking signature v2.2.0 [INFO] [stderr] Checking crossbeam-epoch v0.9.18 [INFO] [stderr] Checking fs2 v0.4.3 [INFO] [stderr] Checking sha2 v0.10.8 [INFO] [stderr] Checking ripemd v0.1.3 [INFO] [stderr] Checking tracing-subscriber v0.3.18 [INFO] [stderr] Checking bs58 v0.5.0 [INFO] [stderr] Checking ed25519 v2.2.3 [INFO] [stderr] Checking parking_lot v0.11.2 [INFO] [stderr] Compiling rustc_version v0.4.0 [INFO] [stderr] Checking sled v0.34.7 [INFO] [stderr] Compiling curve25519-dalek v4.1.2 [INFO] [stderr] Compiling curve25519-dalek-derive v0.1.1 [INFO] [stderr] Compiling tokio-macros v2.2.0 [INFO] [stderr] Compiling serde_derive v1.0.197 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling async-trait v0.1.77 [INFO] [stderr] Compiling clap_derive v4.5.0 [INFO] [stderr] Checking tokio v1.36.0 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Checking clap v4.5.2 [INFO] [stderr] Checking ed25519-dalek v2.1.1 [INFO] [stderr] Checking serde v1.0.197 [INFO] [stderr] Checking sha256 v1.5.0 [INFO] [stderr] Checking serde_json v1.0.114 [INFO] [stderr] Checking block_chain_example v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `hash::HashValue` [INFO] [stdout] --> src/account.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | hash::HashValue, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BlockHeader`, `Transaction` [INFO] [stdout] --> src/db.rs:8:20 [INFO] [stdout] | [INFO] [stdout] 8 | block::{Block, BlockHeader}, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 11 | transaction::{TXOutput, Transaction}, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `self`, `transaction::Transaction` [INFO] [stdout] --> src/wallet.rs:2:15 [INFO] [stdout] | [INFO] [stdout] 2 | account::{self, Account}, [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 5 | transaction::Transaction, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `hash::HashValue` [INFO] [stdout] --> src/account.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | hash::HashValue, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `self`, `transaction::Transaction` [INFO] [stdout] --> src/wallet.rs:2:15 [INFO] [stdout] | [INFO] [stdout] 2 | account::{self, Account}, [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 5 | transaction::Transaction, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable statement [INFO] [stdout] --> src/transaction.rs:61:9 [INFO] [stdout] | [INFO] [stdout] 60 | let vin = todo!(); [INFO] [stdout] | ------- any code following this expression is unreachable [INFO] [stdout] 61 | let vout = todo!(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ unreachable statement [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable statement [INFO] [stdout] --> src/transaction.rs:61:9 [INFO] [stdout] | [INFO] [stdout] 60 | let vin = todo!(); [INFO] [stdout] | ------- any code following this expression is unreachable [INFO] [stdout] 61 | let vout = todo!(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ unreachable statement [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `key` [INFO] [stdout] --> src/db.rs:55:10 [INFO] [stdout] | [INFO] [stdout] 55 | let (key, value) = bitcoin.last().unwrap().unwrap(); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_key` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `new` [INFO] [stdout] --> src/signature.rs:13:17 [INFO] [stdout] | [INFO] [stdout] 13 | let mut new: [u8; 64] = [0; 64]; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_new` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/signature.rs:13:13 [INFO] [stdout] | [INFO] [stdout] 13 | let mut new: [u8; 64] = [0; 64]; [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/transaction.rs:40:13 [INFO] [stdout] | [INFO] [stdout] 40 | let mut tx = Self { [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `vin` [INFO] [stdout] --> src/transaction.rs:55:13 [INFO] [stdout] | [INFO] [stdout] 55 | let vin = get_utxo(from) [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_vin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `vin` [INFO] [stdout] --> src/transaction.rs:60:13 [INFO] [stdout] | [INFO] [stdout] 60 | let vin = todo!(); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_vin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `vout` [INFO] [stdout] --> src/transaction.rs:61:13 [INFO] [stdout] | [INFO] [stdout] 61 | let vout = todo!(); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_vout` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `to` [INFO] [stdout] --> src/transaction.rs:53:31 [INFO] [stdout] | [INFO] [stdout] 53 | pub fn new(from: Address, to: Address, value: u64) -> Self { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_to` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/transaction.rs:53:44 [INFO] [stdout] | [INFO] [stdout] 53 | pub fn new(from: Address, to: Address, value: u64) -> Self { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tx_out` [INFO] [stdout] --> src/transaction.rs:58:19 [INFO] [stdout] | [INFO] [stdout] 58 | .map(|tx_out| TXInput::new(hash, 0, signature::Signature::default(), [0; 32])) [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_tx_out` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `key` [INFO] [stdout] --> src/db.rs:55:10 [INFO] [stdout] | [INFO] [stdout] 55 | let (key, value) = bitcoin.last().unwrap().unwrap(); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_key` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `new` [INFO] [stdout] --> src/signature.rs:13:17 [INFO] [stdout] | [INFO] [stdout] 13 | let mut new: [u8; 64] = [0; 64]; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_new` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/signature.rs:13:13 [INFO] [stdout] | [INFO] [stdout] 13 | let mut new: [u8; 64] = [0; 64]; [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 14 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/transaction.rs:40:13 [INFO] [stdout] | [INFO] [stdout] 40 | let mut tx = Self { [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `vin` [INFO] [stdout] --> src/transaction.rs:55:13 [INFO] [stdout] | [INFO] [stdout] 55 | let vin = get_utxo(from) [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_vin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `vin` [INFO] [stdout] --> src/transaction.rs:60:13 [INFO] [stdout] | [INFO] [stdout] 60 | let vin = todo!(); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_vin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `vout` [INFO] [stdout] --> src/transaction.rs:61:13 [INFO] [stdout] | [INFO] [stdout] 61 | let vout = todo!(); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_vout` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `to` [INFO] [stdout] --> src/transaction.rs:53:31 [INFO] [stdout] | [INFO] [stdout] 53 | pub fn new(from: Address, to: Address, value: u64) -> Self { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_to` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/transaction.rs:53:44 [INFO] [stdout] | [INFO] [stdout] 53 | pub fn new(from: Address, to: Address, value: u64) -> Self { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tx_out` [INFO] [stdout] --> src/transaction.rs:58:19 [INFO] [stdout] | [INFO] [stdout] 58 | .map(|tx_out| TXInput::new(hash, 0, signature::Signature::default(), [0; 32])) [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_tx_out` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `core::num` [INFO] [stdout] --> src/main.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use core::num; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `v` [INFO] [stdout] --> src/main.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 19 | let v = vec![2, 2]; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_v` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 13 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `core::num` [INFO] [stdout] --> src/main.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use core::num; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 19.90s [INFO] running `Command { std: "docker" "inspect" "07681282c93eff5c97864ace150d036982ff0b70d3f00846137fcf82e943c9f5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "07681282c93eff5c97864ace150d036982ff0b70d3f00846137fcf82e943c9f5", kill_on_drop: false }` [INFO] [stdout] 07681282c93eff5c97864ace150d036982ff0b70d3f00846137fcf82e943c9f5