[INFO] cloning repository https://github.com/Kodylow/ecash-course
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Kodylow/ecash-course" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKodylow%2Fecash-course", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKodylow%2Fecash-course'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 54fd74a5ee528d4b14fc36ae725f0d157914721d
[INFO] testing Kodylow/ecash-course/54fd74a5ee528d4b14fc36ae725f0d157914721d against try#33835004928d3bf65db4d4712e1330766263b0bd for pr-155739
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKodylow%2Fecash-course" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'...
[INFO] [stderr] done.
[INFO] removed /workspace/builds/worker-6-tc2/source/.cargo/config.toml
[INFO] started tweaking git repo https://github.com/Kodylow/ecash-course
[INFO] finished tweaking git repo https://github.com/Kodylow/ecash-course
[INFO] tweaked toml for git repo https://github.com/Kodylow/ecash-course written to /workspace/builds/worker-6-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/Kodylow/ecash-course on toolchain 33835004928d3bf65db4d4712e1330766263b0bd
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+33835004928d3bf65db4d4712e1330766263b0bd" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/Kodylow/ecash-course 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" "+33835004928d3bf65db4d4712e1330766263b0bd" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+33835004928d3bf65db4d4712e1330766263b0bd" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 3f841c397cbf79e72a01470beff26ac82cc8e87f4197fab0cf2d489416abeb91
[INFO] running `Command { std: "docker" "start" "-a" "3f841c397cbf79e72a01470beff26ac82cc8e87f4197fab0cf2d489416abeb91", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "3f841c397cbf79e72a01470beff26ac82cc8e87f4197fab0cf2d489416abeb91", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "3f841c397cbf79e72a01470beff26ac82cc8e87f4197fab0cf2d489416abeb91", kill_on_drop: false }`
[INFO] [stdout] 3f841c397cbf79e72a01470beff26ac82cc8e87f4197fab0cf2d489416abeb91
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+33835004928d3bf65db4d4712e1330766263b0bd" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 6c07f56af3d079faa0e18a70162a19beb979dd5e84e688c5aca908cd5e2b4d59
[INFO] running `Command { std: "docker" "start" "-a" "6c07f56af3d079faa0e18a70162a19beb979dd5e84e688c5aca908cd5e2b4d59", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.155
[INFO] [stderr]    Compiling cc v1.0.100
[INFO] [stderr]    Compiling proc-macro2 v1.0.86
[INFO] [stderr]    Compiling pin-project-lite v0.2.14
[INFO] [stderr]    Compiling bytes v1.6.0
[INFO] [stderr]    Compiling autocfg v1.3.0
[INFO] [stderr]    Compiling once_cell v1.19.0
[INFO] [stderr]    Compiling futures-core v0.3.30
[INFO] [stderr]    Compiling futures-sink v0.3.30
[INFO] [stderr]    Compiling vcpkg v0.2.15
[INFO] [stderr]    Compiling pkg-config v0.3.30
[INFO] [stderr]    Compiling itoa v1.0.11
[INFO] [stderr]    Compiling slab v0.4.9
[INFO] [stderr]    Compiling futures-task v0.3.30
[INFO] [stderr]    Compiling futures-io v0.3.30
[INFO] [stderr]    Compiling typenum v1.17.0
[INFO] [stderr]    Compiling http v1.1.0
[INFO] [stderr]    Compiling memchr v2.7.4
[INFO] [stderr]    Compiling quote v1.0.36
[INFO] [stderr]    Compiling socket2 v0.5.7
[INFO] [stderr]    Compiling mio v0.8.11
[INFO] [stderr]    Compiling syn v2.0.68
[INFO] [stderr]    Compiling futures-util v0.3.30
[INFO] [stderr]    Compiling generic-array v0.14.7
[INFO] [stderr]    Compiling tracing-core v0.1.32
[INFO] [stderr]    Compiling openssl v0.10.64
[INFO] [stderr]    Compiling openssl-sys v0.9.102
[INFO] [stderr]    Compiling tokio v1.38.0
[INFO] [stderr]    Compiling foreign-types-shared v0.1.1
[INFO] [stderr]    Compiling equivalent v1.0.1
[INFO] [stderr]    Compiling hashbrown v0.14.5
[INFO] [stderr]    Compiling httparse v1.9.4
[INFO] [stderr]    Compiling tracing v0.1.40
[INFO] [stderr]    Compiling http-body v1.0.0
[INFO] [stderr]    Compiling foreign-types v0.3.2
[INFO] [stderr]    Compiling getrandom v0.2.15
[INFO] [stderr]    Compiling tinyvec_macros v0.1.1
[INFO] [stderr]    Compiling atomic-waker v1.1.2
[INFO] [stderr]    Compiling native-tls v0.2.12
[INFO] [stderr]    Compiling bitflags v2.5.0
[INFO] [stderr]    Compiling indexmap v2.2.6
[INFO] [stderr]    Compiling rand_core v0.6.4
[INFO] [stderr]    Compiling tinyvec v1.6.0
[INFO] [stderr]    Compiling futures-channel v0.3.30
[INFO] [stderr]    Compiling log v0.4.21
[INFO] [stderr]    Compiling openssl-probe v0.1.5
[INFO] [stderr]    Compiling crunchy v0.2.2
[INFO] [stderr]    Compiling serde v1.0.203
[INFO] [stderr]    Compiling smallvec v1.13.2
[INFO] [stderr]    Compiling rand_chacha v0.3.1
[INFO] [stderr]    Compiling secp256k1-sys v0.10.0
[INFO] [stderr]    Compiling byteorder v1.5.0
[INFO] [stderr]    Compiling unicode-normalization v0.1.23
[INFO] [stderr]    Compiling unicode-bidi v0.3.15
[INFO] [stderr]    Compiling static_assertions v1.1.0
[INFO] [stderr]    Compiling crypto-common v0.1.6
[INFO] [stderr]    Compiling block-buffer v0.10.4
[INFO] [stderr]    Compiling rand v0.8.5
[INFO] [stderr]    Compiling idna v0.5.0
[INFO] [stderr]    Compiling rustls-pki-types v1.7.0
[INFO] [stderr]    Compiling ryu v1.0.18
[INFO] [stderr]    Compiling http-body-util v0.1.2
[INFO] [stderr]    Compiling rustc-hex v2.1.0
[INFO] [stderr]    Compiling rustls-pemfile v2.1.2
[INFO] [stderr]    Compiling fixed-hash v0.8.0
[INFO] [stderr]    Compiling uint v0.9.5
[INFO] [stderr]    Compiling url v2.5.2
[INFO] [stderr]    Compiling digest v0.10.7
[INFO] [stderr]    Compiling encoding_rs v0.8.34
[INFO] [stderr]    Compiling ipnet v2.9.0
[INFO] [stderr]    Compiling cpufeatures v0.2.12
[INFO] [stderr]    Compiling sync_wrapper v1.0.1
[INFO] [stderr]    Compiling sha2 v0.10.8
[INFO] [stderr]    Compiling tokio-util v0.7.11
[INFO] [stderr]    Compiling primitive-types v0.12.2
[INFO] [stderr]    Compiling h2 v0.4.5
[INFO] [stderr]    Compiling pin-project-internal v1.1.5
[INFO] [stderr]    Compiling openssl-macros v0.1.1
[INFO] [stderr]    Compiling serde_urlencoded v0.7.1
[INFO] [stderr]    Compiling secp256k1 v0.29.0
[INFO] [stderr]    Compiling pin-project v1.1.5
[INFO] [stderr]    Compiling tower v0.4.13
[INFO] [stderr]    Compiling hyper v1.3.1
[INFO] [stderr]    Compiling tokio-native-tls v0.3.1
[INFO] [stderr]    Compiling hyper-util v0.1.5
[INFO] [stderr]    Compiling hyper-tls v0.6.0
[INFO] [stderr]    Compiling reqwest v0.12.5
[INFO] [stderr]    Compiling cryptos_rs v0.1.0 (/opt/rustwide/workdir/projects/00-cryptos-rs)
[INFO] [stdout] warning: unused imports: `Mul` and `Rem`
[INFO] [stdout]  --> projects/00-cryptos-rs/src/keys.rs:1:16
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::ops::{Mul, Rem};
[INFO] [stdout]   |                ^^^  ^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::ripemd160::ripemd160`
[INFO] [stdout]  --> projects/00-cryptos-rs/src/keys.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | use crate::ripemd160::ripemd160;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Sub`
[INFO] [stdout]  --> projects/00-cryptos-rs/src/ru256.rs:1:36
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::ops::{Add, Mul, Neg, Rem, Sub};
[INFO] [stdout]   |                                    ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `primitive_types::U256`
[INFO] [stdout]  --> projects/00-cryptos-rs/src/secp256k1.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | use primitive_types::U256;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Secp256k1` and `SecretKey`
[INFO] [stdout]  --> projects/00-cryptos-rs/src/secp256k1.rs:8:28
[INFO] [stdout]   |
[INFO] [stdout] 8 | use secp256k1::{PublicKey, Secp256k1, SecretKey};
[INFO] [stdout]   |                            ^^^^^^^^^  ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::bitcoin::BITCOIN`
[INFO] [stdout]  --> projects/00-cryptos-rs/src/transaction.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use crate::bitcoin::BITCOIN;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `p`
[INFO] [stdout]   --> projects/00-cryptos-rs/src/bitcoin.rs:20:9
[INFO] [stdout]    |
[INFO] [stdout] 20 |     let p = SECP256K1::p();
[INFO] [stdout]    |         ^ help: if this is intentional, prefix it with an underscore: `_p`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `a`
[INFO] [stdout]   --> projects/00-cryptos-rs/src/bitcoin.rs:21:9
[INFO] [stdout]    |
[INFO] [stdout] 21 |     let a = RU256::zero();
[INFO] [stdout]    |         ^ help: if this is intentional, prefix it with an underscore: `_a`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `b`
[INFO] [stdout]   --> projects/00-cryptos-rs/src/bitcoin.rs:22:9
[INFO] [stdout]    |
[INFO] [stdout] 22 |     let b = RU256::from_u64(7);
[INFO] [stdout]    |         ^ help: if this is intentional, prefix it with an underscore: `_b`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `b`
[INFO] [stdout]   --> projects/00-cryptos-rs/src/keys.rs:44:19
[INFO] [stdout]    |
[INFO] [stdout] 44 |     pub fn decode(b: &[u8]) -> Point {
[INFO] [stdout]    |                   ^ help: if this is intentional, prefix it with an underscore: `_b`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `compressed`
[INFO] [stdout]   --> projects/00-cryptos-rs/src/keys.rs:48:26
[INFO] [stdout]    |
[INFO] [stdout] 48 |     pub fn encode(&self, compressed: bool, hash160: bool) -> Vec<u8> {
[INFO] [stdout]    |                          ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_compressed`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `hash160`
[INFO] [stdout]   --> projects/00-cryptos-rs/src/keys.rs:48:44
[INFO] [stdout]    |
[INFO] [stdout] 48 |     pub fn encode(&self, compressed: bool, hash160: bool) -> Vec<u8> {
[INFO] [stdout]    |                                            ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_hash160`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> projects/00-cryptos-rs/src/secp256k1.rs:256:17
[INFO] [stdout]     |
[INFO] [stdout] 256 |             let mut adder = curve_point.clone();
[INFO] [stdout]     |                 ----^^^^^
[INFO] [stdout]     |                 |
[INFO] [stdout]     |                 help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `script_override`
[INFO] [stdout]    --> projects/00-cryptos-rs/src/transaction.rs:167:26
[INFO] [stdout]     |
[INFO] [stdout] 167 |     pub fn encode(&self, script_override: Option<bool>) -> Vec<u8> {
[INFO] [stdout]     |                          ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_script_override`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: static `GENESIS_BLOCK_MAIN` is never used
[INFO] [stdout]  --> projects/00-cryptos-rs/src/block.rs:8:8
[INFO] [stdout]   |
[INFO] [stdout] 8 | static GENESIS_BLOCK_MAIN: Lazy<Vec<u8>> = Lazy::new(|| {
[INFO] [stdout]   |        ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: static `GENESIS_BLOCK_TEST` is never used
[INFO] [stdout]   --> projects/00-cryptos-rs/src/block.rs:12:8
[INFO] [stdout]    |
[INFO] [stdout] 12 | static GENESIS_BLOCK_TEST: Lazy<Vec<u8>> = Lazy::new(|| {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `decode_int` is never used
[INFO] [stdout]   --> projects/00-cryptos-rs/src/block.rs:15:4
[INFO] [stdout]    |
[INFO] [stdout] 15 | fn decode_int(s: &mut Cursor<&Vec<u8>>, nbytes: usize) -> u32 {
[INFO] [stdout]    |    ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `encode_int` is never used
[INFO] [stdout]   --> projects/00-cryptos-rs/src/block.rs:21:4
[INFO] [stdout]    |
[INFO] [stdout] 21 | fn encode_int(i: u32, nbytes: usize) -> Vec<u8> {
[INFO] [stdout]    |    ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `bits_to_target` is never used
[INFO] [stdout]   --> projects/00-cryptos-rs/src/block.rs:25:4
[INFO] [stdout]    |
[INFO] [stdout] 25 | fn bits_to_target(bits: &[u8]) -> U256 {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `target_to_bits` is never used
[INFO] [stdout]   --> projects/00-cryptos-rs/src/block.rs:31:4
[INFO] [stdout]    |
[INFO] [stdout] 31 | fn target_to_bits(target: U256) -> Vec<u8> {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `calculate_new_bits` is never used
[INFO] [stdout]   --> projects/00-cryptos-rs/src/block.rs:48:4
[INFO] [stdout]    |
[INFO] [stdout] 48 | fn calculate_new_bits(prev_bits: &[u8], dt: u32) -> Vec<u8> {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Block` is never constructed
[INFO] [stdout]   --> projects/00-cryptos-rs/src/block.rs:69:8
[INFO] [stdout]    |
[INFO] [stdout] 69 | struct Block {
[INFO] [stdout]    |        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `decode`, `encode`, `id`, `target`, `difficulty`, and `validate` are never used
[INFO] [stdout]    --> projects/00-cryptos-rs/src/block.rs:79:8
[INFO] [stdout]     |
[INFO] [stdout]  78 | impl Block {
[INFO] [stdout]     | ---------- associated items in this implementation
[INFO] [stdout]  79 |     fn decode(s: &mut Cursor<&Vec<u8>>) -> Block {
[INFO] [stdout]     |        ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 102 |     fn encode(&self) -> Vec<u8> {
[INFO] [stdout]     |        ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 117 |     fn id(&self) -> String {
[INFO] [stdout]     |        ^^
[INFO] [stdout] ...
[INFO] [stdout] 123 |     fn target(&self) -> U256 {
[INFO] [stdout]     |        ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 127 |     fn difficulty(&self) -> U256 {
[INFO] [stdout]     |        ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 134 |     fn validate(&self) -> bool {
[INFO] [stdout]     |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `cache` is never read
[INFO] [stdout]   --> projects/00-cryptos-rs/src/transaction.rs:12:5
[INFO] [stdout]    |
[INFO] [stdout] 11 | pub struct TxFetcher {
[INFO] [stdout]    |            --------- field in this struct
[INFO] [stdout] 12 |     cache: HashMap<String, Tx>,
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: structure field `G` should have a snake case name
[INFO] [stdout]   --> projects/00-cryptos-rs/src/bitcoin.rs:39:9
[INFO] [stdout]    |
[INFO] [stdout] 39 |     pub G: Point,
[INFO] [stdout]    |         ^ help: convert the identifier to snake case: `g`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::str::FromStr`
[INFO] [stdout]  --> projects/00-cryptos-rs/src/main.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::str::FromStr;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `SecretKey`
[INFO] [stdout]  --> projects/00-cryptos-rs/src/main.rs:6:39
[INFO] [stdout]   |
[INFO] [stdout] 6 | use secp256k1::{PublicKey, Secp256k1, SecretKey};
[INFO] [stdout]   |                                       ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `secp`
[INFO] [stdout]   --> projects/00-cryptos-rs/src/main.rs:10:9
[INFO] [stdout]    |
[INFO] [stdout] 10 |     let secp = Secp256k1::new();
[INFO] [stdout]    |         ^^^^ help: if this is intentional, prefix it with an underscore: `_secp`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 12s
[INFO] running `Command { std: "docker" "inspect" "6c07f56af3d079faa0e18a70162a19beb979dd5e84e688c5aca908cd5e2b4d59", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "6c07f56af3d079faa0e18a70162a19beb979dd5e84e688c5aca908cd5e2b4d59", kill_on_drop: false }`
[INFO] [stdout] 6c07f56af3d079faa0e18a70162a19beb979dd5e84e688c5aca908cd5e2b4d59
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+33835004928d3bf65db4d4712e1330766263b0bd" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 6ab27c49d890f0f6bcf66433f05f51a28c4c36a8ec1554ef5380bc8db556df0d
[INFO] running `Command { std: "docker" "start" "-a" "6ab27c49d890f0f6bcf66433f05f51a28c4c36a8ec1554ef5380bc8db556df0d", kill_on_drop: false }`
[INFO] [stdout] warning: unused imports: `Mul` and `Rem`
[INFO] [stdout]  --> projects/00-cryptos-rs/src/keys.rs:1:16
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::ops::{Mul, Rem};
[INFO] [stdout]   |                ^^^  ^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::ripemd160::ripemd160`
[INFO] [stdout]  --> projects/00-cryptos-rs/src/keys.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | use crate::ripemd160::ripemd160;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Sub`
[INFO] [stdout]  --> projects/00-cryptos-rs/src/ru256.rs:1:36
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::ops::{Add, Mul, Neg, Rem, Sub};
[INFO] [stdout]   |                                    ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `primitive_types::U256`
[INFO] [stdout]  --> projects/00-cryptos-rs/src/secp256k1.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | use primitive_types::U256;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Secp256k1` and `SecretKey`
[INFO] [stdout]  --> projects/00-cryptos-rs/src/secp256k1.rs:8:28
[INFO] [stdout]   |
[INFO] [stdout] 8 | use secp256k1::{PublicKey, Secp256k1, SecretKey};
[INFO] [stdout]   |                            ^^^^^^^^^  ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::bitcoin::BITCOIN`
[INFO] [stdout]  --> projects/00-cryptos-rs/src/transaction.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use crate::bitcoin::BITCOIN;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `p`
[INFO] [stdout]   --> projects/00-cryptos-rs/src/bitcoin.rs:20:9
[INFO] [stdout]    |
[INFO] [stdout] 20 |     let p = SECP256K1::p();
[INFO] [stdout]    |         ^ help: if this is intentional, prefix it with an underscore: `_p`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `a`
[INFO] [stdout]   --> projects/00-cryptos-rs/src/bitcoin.rs:21:9
[INFO] [stdout]    |
[INFO] [stdout] 21 |     let a = RU256::zero();
[INFO] [stdout]    |         ^ help: if this is intentional, prefix it with an underscore: `_a`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `b`
[INFO] [stdout]   --> projects/00-cryptos-rs/src/bitcoin.rs:22:9
[INFO] [stdout]    |
[INFO] [stdout] 22 |     let b = RU256::from_u64(7);
[INFO] [stdout]    |         ^ help: if this is intentional, prefix it with an underscore: `_b`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `b`
[INFO] [stdout]   --> projects/00-cryptos-rs/src/keys.rs:44:19
[INFO] [stdout]    |
[INFO] [stdout] 44 |     pub fn decode(b: &[u8]) -> Point {
[INFO] [stdout]    |                   ^ help: if this is intentional, prefix it with an underscore: `_b`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `compressed`
[INFO] [stdout]   --> projects/00-cryptos-rs/src/keys.rs:48:26
[INFO] [stdout]    |
[INFO] [stdout] 48 |     pub fn encode(&self, compressed: bool, hash160: bool) -> Vec<u8> {
[INFO] [stdout]    |                          ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_compressed`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `hash160`
[INFO] [stdout]   --> projects/00-cryptos-rs/src/keys.rs:48:44
[INFO] [stdout]    |
[INFO] [stdout] 48 |     pub fn encode(&self, compressed: bool, hash160: bool) -> Vec<u8> {
[INFO] [stdout]    |                                            ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_hash160`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> projects/00-cryptos-rs/src/secp256k1.rs:256:17
[INFO] [stdout]     |
[INFO] [stdout] 256 |             let mut adder = curve_point.clone();
[INFO] [stdout]     |                 ----^^^^^
[INFO] [stdout]     |                 |
[INFO] [stdout]     |                 help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `script_override`
[INFO] [stdout]    --> projects/00-cryptos-rs/src/transaction.rs:167:26
[INFO] [stdout]     |
[INFO] [stdout] 167 |     pub fn encode(&self, script_override: Option<bool>) -> Vec<u8> {
[INFO] [stdout]     |                          ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_script_override`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: static `GENESIS_BLOCK_MAIN` is never used
[INFO] [stdout]  --> projects/00-cryptos-rs/src/block.rs:8:8
[INFO] [stdout]   |
[INFO] [stdout] 8 | static GENESIS_BLOCK_MAIN: Lazy<Vec<u8>> = Lazy::new(|| {
[INFO] [stdout]   |        ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: static `GENESIS_BLOCK_TEST` is never used
[INFO] [stdout]   --> projects/00-cryptos-rs/src/block.rs:12:8
[INFO] [stdout]    |
[INFO] [stdout] 12 | static GENESIS_BLOCK_TEST: Lazy<Vec<u8>> = Lazy::new(|| {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `decode_int` is never used
[INFO] [stdout]   --> projects/00-cryptos-rs/src/block.rs:15:4
[INFO] [stdout]    |
[INFO] [stdout] 15 | fn decode_int(s: &mut Cursor<&Vec<u8>>, nbytes: usize) -> u32 {
[INFO] [stdout]    |    ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `encode_int` is never used
[INFO] [stdout]   --> projects/00-cryptos-rs/src/block.rs:21:4
[INFO] [stdout]    |
[INFO] [stdout] 21 | fn encode_int(i: u32, nbytes: usize) -> Vec<u8> {
[INFO] [stdout]    |    ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `bits_to_target` is never used
[INFO] [stdout]   --> projects/00-cryptos-rs/src/block.rs:25:4
[INFO] [stdout]    |
[INFO] [stdout] 25 | fn bits_to_target(bits: &[u8]) -> U256 {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `target_to_bits` is never used
[INFO] [stdout]   --> projects/00-cryptos-rs/src/block.rs:31:4
[INFO] [stdout]    |
[INFO] [stdout] 31 | fn target_to_bits(target: U256) -> Vec<u8> {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `calculate_new_bits` is never used
[INFO] [stdout]   --> projects/00-cryptos-rs/src/block.rs:48:4
[INFO] [stdout]    |
[INFO] [stdout] 48 | fn calculate_new_bits(prev_bits: &[u8], dt: u32) -> Vec<u8> {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Block` is never constructed
[INFO] [stdout]   --> projects/00-cryptos-rs/src/block.rs:69:8
[INFO] [stdout]    |
[INFO] [stdout] 69 | struct Block {
[INFO] [stdout]    |        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `decode`, `encode`, `id`, `target`, `difficulty`, and `validate` are never used
[INFO] [stdout]    --> projects/00-cryptos-rs/src/block.rs:79:8
[INFO] [stdout]     |
[INFO] [stdout]  78 | impl Block {
[INFO] [stdout]     | ---------- associated items in this implementation
[INFO] [stdout]  79 |     fn decode(s: &mut Cursor<&Vec<u8>>) -> Block {
[INFO] [stdout]     |        ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 102 |     fn encode(&self) -> Vec<u8> {
[INFO] [stdout]     |        ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 117 |     fn id(&self) -> String {
[INFO] [stdout]     |        ^^
[INFO] [stdout] ...
[INFO] [stdout] 123 |     fn target(&self) -> U256 {
[INFO] [stdout]     |        ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 127 |     fn difficulty(&self) -> U256 {
[INFO] [stdout]     |        ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 134 |     fn validate(&self) -> bool {
[INFO] [stdout]     |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `cache` is never read
[INFO] [stdout]   --> projects/00-cryptos-rs/src/transaction.rs:12:5
[INFO] [stdout]    |
[INFO] [stdout] 11 | pub struct TxFetcher {
[INFO] [stdout]    |            --------- field in this struct
[INFO] [stdout] 12 |     cache: HashMap<String, Tx>,
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: structure field `G` should have a snake case name
[INFO] [stdout]   --> projects/00-cryptos-rs/src/bitcoin.rs:39:9
[INFO] [stdout]    |
[INFO] [stdout] 39 |     pub G: Point,
[INFO] [stdout]    |         ^ help: convert the identifier to snake case: `g`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Compiling cryptos_rs v0.1.0 (/opt/rustwide/workdir/projects/00-cryptos-rs)
[INFO] [stdout] warning: unused import: `std::str::FromStr`
[INFO] [stdout]  --> projects/00-cryptos-rs/src/main.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::str::FromStr;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `SecretKey`
[INFO] [stdout]  --> projects/00-cryptos-rs/src/main.rs:6:39
[INFO] [stdout]   |
[INFO] [stdout] 6 | use secp256k1::{PublicKey, Secp256k1, SecretKey};
[INFO] [stdout]   |                                       ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `secp`
[INFO] [stdout]   --> projects/00-cryptos-rs/src/main.rs:10:9
[INFO] [stdout]    |
[INFO] [stdout] 10 |     let secp = Secp256k1::new();
[INFO] [stdout]    |         ^^^^ help: if this is intentional, prefix it with an underscore: `_secp`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::path::Path`
[INFO] [stdout]  --> projects/00-cryptos-rs/examples/verify_precomputes.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::path::Path;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Mul` and `Rem`
[INFO] [stdout]  --> projects/00-cryptos-rs/src/keys.rs:1:16
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::ops::{Mul, Rem};
[INFO] [stdout]   |                ^^^  ^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::ripemd160::ripemd160`
[INFO] [stdout]  --> projects/00-cryptos-rs/src/keys.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | use crate::ripemd160::ripemd160;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Sub`
[INFO] [stdout]  --> projects/00-cryptos-rs/src/ru256.rs:1:36
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::ops::{Add, Mul, Neg, Rem, Sub};
[INFO] [stdout]   |                                    ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `primitive_types::U256`
[INFO] [stdout]  --> projects/00-cryptos-rs/src/secp256k1.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | use primitive_types::U256;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::bitcoin::BITCOIN`
[INFO] [stdout]  --> projects/00-cryptos-rs/src/transaction.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use crate::bitcoin::BITCOIN;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `p`
[INFO] [stdout]   --> projects/00-cryptos-rs/src/bitcoin.rs:20:9
[INFO] [stdout]    |
[INFO] [stdout] 20 |     let p = SECP256K1::p();
[INFO] [stdout]    |         ^ help: if this is intentional, prefix it with an underscore: `_p`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `a`
[INFO] [stdout]   --> projects/00-cryptos-rs/src/bitcoin.rs:21:9
[INFO] [stdout]    |
[INFO] [stdout] 21 |     let a = RU256::zero();
[INFO] [stdout]    |         ^ help: if this is intentional, prefix it with an underscore: `_a`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `b`
[INFO] [stdout]   --> projects/00-cryptos-rs/src/bitcoin.rs:22:9
[INFO] [stdout]    |
[INFO] [stdout] 22 |     let b = RU256::from_u64(7);
[INFO] [stdout]    |         ^ help: if this is intentional, prefix it with an underscore: `_b`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `b`
[INFO] [stdout]   --> projects/00-cryptos-rs/src/keys.rs:44:19
[INFO] [stdout]    |
[INFO] [stdout] 44 |     pub fn decode(b: &[u8]) -> Point {
[INFO] [stdout]    |                   ^ help: if this is intentional, prefix it with an underscore: `_b`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `compressed`
[INFO] [stdout]   --> projects/00-cryptos-rs/src/keys.rs:48:26
[INFO] [stdout]    |
[INFO] [stdout] 48 |     pub fn encode(&self, compressed: bool, hash160: bool) -> Vec<u8> {
[INFO] [stdout]    |                          ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_compressed`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `hash160`
[INFO] [stdout]   --> projects/00-cryptos-rs/src/keys.rs:48:44
[INFO] [stdout]    |
[INFO] [stdout] 48 |     pub fn encode(&self, compressed: bool, hash160: bool) -> Vec<u8> {
[INFO] [stdout]    |                                            ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_hash160`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `net`
[INFO] [stdout]    --> projects/00-cryptos-rs/src/keys.rs:194:10
[INFO] [stdout]     |
[INFO] [stdout] 194 |     for (net, compressed, secret_key, address) in tests.iter() {
[INFO] [stdout]     |          ^^^ help: if this is intentional, prefix it with an underscore: `_net`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> projects/00-cryptos-rs/src/secp256k1.rs:256:17
[INFO] [stdout]     |
[INFO] [stdout] 256 |             let mut adder = curve_point.clone();
[INFO] [stdout]     |                 ----^^^^^
[INFO] [stdout]     |                 |
[INFO] [stdout]     |                 help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `script_override`
[INFO] [stdout]    --> projects/00-cryptos-rs/src/transaction.rs:167:26
[INFO] [stdout]     |
[INFO] [stdout] 167 |     pub fn encode(&self, script_override: Option<bool>) -> Vec<u8> {
[INFO] [stdout]     |                          ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_script_override`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: static `GENESIS_BLOCK_TEST` is never used
[INFO] [stdout]   --> projects/00-cryptos-rs/src/block.rs:12:8
[INFO] [stdout]    |
[INFO] [stdout] 12 | static GENESIS_BLOCK_TEST: Lazy<Vec<u8>> = Lazy::new(|| {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `cache` is never read
[INFO] [stdout]   --> projects/00-cryptos-rs/src/transaction.rs:12:5
[INFO] [stdout]    |
[INFO] [stdout] 11 | pub struct TxFetcher {
[INFO] [stdout]    |            --------- field in this struct
[INFO] [stdout] 12 |     cache: HashMap<String, Tx>,
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: structure field `G` should have a snake case name
[INFO] [stdout]   --> projects/00-cryptos-rs/src/bitcoin.rs:39:9
[INFO] [stdout]    |
[INFO] [stdout] 39 |     pub G: Point,
[INFO] [stdout]    |         ^ help: convert the identifier to snake case: `g`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 2.32s
[INFO] running `Command { std: "docker" "inspect" "6ab27c49d890f0f6bcf66433f05f51a28c4c36a8ec1554ef5380bc8db556df0d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "6ab27c49d890f0f6bcf66433f05f51a28c4c36a8ec1554ef5380bc8db556df0d", kill_on_drop: false }`
[INFO] [stdout] 6ab27c49d890f0f6bcf66433f05f51a28c4c36a8ec1554ef5380bc8db556df0d
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+33835004928d3bf65db4d4712e1330766263b0bd" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] df65f49eceff15ceba5c5448956b8120b03f7f9170b0470b845ce39f245a4a82
[INFO] running `Command { std: "docker" "start" "-a" "df65f49eceff15ceba5c5448956b8120b03f7f9170b0470b845ce39f245a4a82", kill_on_drop: false }`
[INFO] [stderr] warning: unused imports: `Mul` and `Rem`
[INFO] [stderr]  --> projects/00-cryptos-rs/src/keys.rs:1:16
[INFO] [stderr]   |
[INFO] [stderr] 1 | use std::ops::{Mul, Rem};
[INFO] [stderr]   |                ^^^  ^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `crate::ripemd160::ripemd160`
[INFO] [stderr]  --> projects/00-cryptos-rs/src/keys.rs:7:5
[INFO] [stderr]   |
[INFO] [stderr] 7 | use crate::ripemd160::ripemd160;
[INFO] [stderr]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `Sub`
[INFO] [stderr]  --> projects/00-cryptos-rs/src/ru256.rs:1:36
[INFO] [stderr]   |
[INFO] [stderr] 1 | use std::ops::{Add, Mul, Neg, Rem, Sub};
[INFO] [stderr]   |                                    ^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `primitive_types::U256`
[INFO] [stderr]  --> projects/00-cryptos-rs/src/secp256k1.rs:7:5
[INFO] [stderr]   |
[INFO] [stderr] 7 | use primitive_types::U256;
[INFO] [stderr]   |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused imports: `Secp256k1` and `SecretKey`
[INFO] [stderr]  --> projects/00-cryptos-rs/src/secp256k1.rs:8:28
[INFO] [stderr]   |
[INFO] [stderr] 8 | use secp256k1::{PublicKey, Secp256k1, SecretKey};
[INFO] [stderr]   |                            ^^^^^^^^^  ^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `crate::bitcoin::BITCOIN`
[INFO] [stderr]  --> projects/00-cryptos-rs/src/transaction.rs:4:5
[INFO] [stderr]   |
[INFO] [stderr] 4 | use crate::bitcoin::BITCOIN;
[INFO] [stderr]   |     ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `p`
[INFO] [stderr]   --> projects/00-cryptos-rs/src/bitcoin.rs:20:9
[INFO] [stderr]    |
[INFO] [stderr] 20 |     let p = SECP256K1::p();
[INFO] [stderr]    |         ^ help: if this is intentional, prefix it with an underscore: `_p`
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `a`
[INFO] [stderr]   --> projects/00-cryptos-rs/src/bitcoin.rs:21:9
[INFO] [stderr]    |
[INFO] [stderr] 21 |     let a = RU256::zero();
[INFO] [stderr]    |         ^ help: if this is intentional, prefix it with an underscore: `_a`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `b`
[INFO] [stderr]   --> projects/00-cryptos-rs/src/bitcoin.rs:22:9
[INFO] [stderr]    |
[INFO] [stderr] 22 |     let b = RU256::from_u64(7);
[INFO] [stderr]    |         ^ help: if this is intentional, prefix it with an underscore: `_b`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `b`
[INFO] [stderr]   --> projects/00-cryptos-rs/src/keys.rs:44:19
[INFO] [stderr]    |
[INFO] [stderr] 44 |     pub fn decode(b: &[u8]) -> Point {
[INFO] [stderr]    |                   ^ help: if this is intentional, prefix it with an underscore: `_b`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `compressed`
[INFO] [stderr]   --> projects/00-cryptos-rs/src/keys.rs:48:26
[INFO] [stderr]    |
[INFO] [stderr] 48 |     pub fn encode(&self, compressed: bool, hash160: bool) -> Vec<u8> {
[INFO] [stderr]    |                          ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_compressed`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `hash160`
[INFO] [stderr]   --> projects/00-cryptos-rs/src/keys.rs:48:44
[INFO] [stderr]    |
[INFO] [stderr] 48 |     pub fn encode(&self, compressed: bool, hash160: bool) -> Vec<u8> {
[INFO] [stderr]    |                                            ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_hash160`
[INFO] [stderr] 
[INFO] [stderr] warning: variable does not need to be mutable
[INFO] [stderr]    --> projects/00-cryptos-rs/src/secp256k1.rs:256:17
[INFO] [stderr]     |
[INFO] [stderr] 256 |             let mut adder = curve_point.clone();
[INFO] [stderr]     |                 ----^^^^^
[INFO] [stderr]     |                 |
[INFO] [stderr]     |                 help: remove this `mut`
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `script_override`
[INFO] [stderr]    --> projects/00-cryptos-rs/src/transaction.rs:167:26
[INFO] [stderr]     |
[INFO] [stderr] 167 |     pub fn encode(&self, script_override: Option<bool>) -> Vec<u8> {
[INFO] [stderr]     |                          ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_script_override`
[INFO] [stderr] 
[INFO] [stderr] warning: static `GENESIS_BLOCK_MAIN` is never used
[INFO] [stderr]  --> projects/00-cryptos-rs/src/block.rs:8:8
[INFO] [stderr]   |
[INFO] [stderr] 8 | static GENESIS_BLOCK_MAIN: Lazy<Vec<u8>> = Lazy::new(|| {
[INFO] [stderr]   |        ^^^^^^^^^^^^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: static `GENESIS_BLOCK_TEST` is never used
[INFO] [stderr]   --> projects/00-cryptos-rs/src/block.rs:12:8
[INFO] [stderr]    |
[INFO] [stderr] 12 | static GENESIS_BLOCK_TEST: Lazy<Vec<u8>> = Lazy::new(|| {
[INFO] [stderr]    |        ^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `decode_int` is never used
[INFO] [stderr]   --> projects/00-cryptos-rs/src/block.rs:15:4
[INFO] [stderr]    |
[INFO] [stderr] 15 | fn decode_int(s: &mut Cursor<&Vec<u8>>, nbytes: usize) -> u32 {
[INFO] [stderr]    |    ^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `encode_int` is never used
[INFO] [stderr]   --> projects/00-cryptos-rs/src/block.rs:21:4
[INFO] [stderr]    |
[INFO] [stderr] 21 | fn encode_int(i: u32, nbytes: usize) -> Vec<u8> {
[INFO] [stderr]    |    ^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `bits_to_target` is never used
[INFO] [stderr]   --> projects/00-cryptos-rs/src/block.rs:25:4
[INFO] [stderr]    |
[INFO] [stderr] 25 | fn bits_to_target(bits: &[u8]) -> U256 {
[INFO] [stderr]    |    ^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `target_to_bits` is never used
[INFO] [stderr]   --> projects/00-cryptos-rs/src/block.rs:31:4
[INFO] [stderr]    |
[INFO] [stderr] 31 | fn target_to_bits(target: U256) -> Vec<u8> {
[INFO] [stderr]    |    ^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `calculate_new_bits` is never used
[INFO] [stderr]   --> projects/00-cryptos-rs/src/block.rs:48:4
[INFO] [stderr]    |
[INFO] [stderr] 48 | fn calculate_new_bits(prev_bits: &[u8], dt: u32) -> Vec<u8> {
[INFO] [stderr]    |    ^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `Block` is never constructed
[INFO] [stderr]   --> projects/00-cryptos-rs/src/block.rs:69:8
[INFO] [stderr]    |
[INFO] [stderr] 69 | struct Block {
[INFO] [stderr]    |        ^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: associated items `decode`, `encode`, `id`, `target`, `difficulty`, and `validate` are never used
[INFO] [stderr]    --> projects/00-cryptos-rs/src/block.rs:79:8
[INFO] [stderr]     |
[INFO] [stderr]  78 | impl Block {
[INFO] [stderr]     | ---------- associated items in this implementation
[INFO] [stderr]  79 |     fn decode(s: &mut Cursor<&Vec<u8>>) -> Block {
[INFO] [stderr]     |        ^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 102 |     fn encode(&self) -> Vec<u8> {
[INFO] [stderr]     |        ^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 117 |     fn id(&self) -> String {
[INFO] [stderr]     |        ^^
[INFO] [stderr] ...
[INFO] [stderr] 123 |     fn target(&self) -> U256 {
[INFO] [stderr]     |        ^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 127 |     fn difficulty(&self) -> U256 {
[INFO] [stderr]     |        ^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 134 |     fn validate(&self) -> bool {
[INFO] [stderr]     |        ^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: field `cache` is never read
[INFO] [stderr]   --> projects/00-cryptos-rs/src/transaction.rs:12:5
[INFO] [stderr]    |
[INFO] [stderr] 11 | pub struct TxFetcher {
[INFO] [stderr]    |            --------- field in this struct
[INFO] [stderr] 12 |     cache: HashMap<String, Tx>,
[INFO] [stderr]    |     ^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: structure field `G` should have a snake case name
[INFO] [stderr]   --> projects/00-cryptos-rs/src/bitcoin.rs:39:9
[INFO] [stderr]    |
[INFO] [stderr] 39 |     pub G: Point,
[INFO] [stderr]    |         ^ help: convert the identifier to snake case: `g`
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: `cryptos_rs` (lib) generated 25 warnings (run `cargo fix --lib -p cryptos_rs` to apply 14 suggestions)
[INFO] [stderr] warning: unused import: `std::str::FromStr`
[INFO] [stderr]  --> projects/00-cryptos-rs/src/main.rs:3:5
[INFO] [stderr]   |
[INFO] [stderr] 3 | use std::str::FromStr;
[INFO] [stderr]   |     ^^^^^^^^^^^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `SecretKey`
[INFO] [stderr]  --> projects/00-cryptos-rs/src/main.rs:6:39
[INFO] [stderr]   |
[INFO] [stderr] 6 | use secp256k1::{PublicKey, Secp256k1, SecretKey};
[INFO] [stderr]   |                                       ^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `secp`
[INFO] [stderr]   --> projects/00-cryptos-rs/src/main.rs:10:9
[INFO] [stderr]    |
[INFO] [stderr] 10 |     let secp = Secp256k1::new();
[INFO] [stderr]    |         ^^^^ help: if this is intentional, prefix it with an underscore: `_secp`
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: `cryptos_rs` (bin "cryptos" test) generated 3 warnings (run `cargo fix --bin "cryptos" -p cryptos_rs --tests` to apply 3 suggestions)
[INFO] [stderr] warning: unused import: `std::path::Path`
[INFO] [stderr]  --> projects/00-cryptos-rs/examples/verify_precomputes.rs:3:5
[INFO] [stderr]   |
[INFO] [stderr] 3 | use std::path::Path;
[INFO] [stderr]   |     ^^^^^^^^^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: `cryptos_rs` (example "verify_precomputes") generated 1 warning (run `cargo fix --example "verify_precomputes" -p cryptos_rs` to apply 1 suggestion)
[INFO] [stderr] warning: unused variable: `net`
[INFO] [stderr]    --> projects/00-cryptos-rs/src/keys.rs:194:10
[INFO] [stderr]     |
[INFO] [stderr] 194 |     for (net, compressed, secret_key, address) in tests.iter() {
[INFO] [stderr]     |          ^^^ help: if this is intentional, prefix it with an underscore: `_net`
[INFO] [stderr] 
[INFO] [stderr] warning: static `GENESIS_BLOCK_TEST` is never used
[INFO] [stderr]   --> projects/00-cryptos-rs/src/block.rs:12:8
[INFO] [stderr]    |
[INFO] [stderr] 12 | static GENESIS_BLOCK_TEST: Lazy<Vec<u8>> = Lazy::new(|| {
[INFO] [stderr]    |        ^^^^^^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: `cryptos_rs` (lib test) generated 17 warnings (15 duplicates) (run `cargo fix --lib -p cryptos_rs --tests` to apply 1 suggestion)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.24s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/cryptos_rs-72692ed5a2d92447)
[INFO] [stdout] 
[INFO] [stdout] running 33 tests
[INFO] [stdout] test block::test_genesis_block ... ok
[INFO] [stdout] test block::test_calculate_bits ... ok
[INFO] [stdout] test block::test_validate ... ok
[INFO] [stdout] test ripemd160::tests::test_ripemd160 ... ok
[INFO] [stdout] test ru256::tests::ru256_addition_case_1 ... ok
[INFO] [stdout] test ru256::tests::ru256_addition_case_2 ... ok
[INFO] [stdout] test ru256::tests::ru256_division_case ... ok
[INFO] [stdout] test ru256::tests::ru256_exponentiation_case ... ok
[INFO] [stdout] test ru256::tests::ru256_multiplication_case ... ok
[INFO] [stdout] test ru256::tests::ru256_addition_case_3 ... ok
[INFO] [stdout] test ru256::tests::ru256_subtraction_case_1 ... ok
[INFO] [stdout] test block::test_block ... ok
[INFO] [stdout] test ru256::tests::ru256_subtraction_case_2 ... ok
[INFO] [stdout] test secp256k1::tests::public_key_generation_k1 ... ok
[INFO] [stdout] test secp256k1::tests::public_key_generation_k2 ... ok
[INFO] [stdout] test secp256k1::tests::public_key_generation_k6 ... ok
[INFO] [stdout] test secp256k1::tests::public_key_generation_k5 ... ok
[INFO] [stdout] test secp256k1::tests::public_key_generation_k9 ... ok
[INFO] [stdout] test secp256k1::tests::secp256k1_add_points ... ok
[INFO] [stdout] test sha256::test_sha256 ... ok
[INFO] [stdout] test secp256k1::tests::public_key_generation_k10 ... ok
[INFO] [stdout] test secp256k1::tests::public_key_generation_k20 ... ok
[INFO] [stdout] test signature::tests::test_signature_der_encoding ... ok
[INFO] [stdout] test signature::tests::test_signature_encode_decode ... ok
[INFO] [stdout] test secp256k1::tests::secp256k1_double_point ... ok
[INFO] [stdout] test keys::test_btc_addresses has been running for over 60 seconds
[INFO] [stdout] test keys::test_pk_sec has been running for over 60 seconds
[INFO] [stdout] test keys::test_public_key_gen has been running for over 60 seconds
[INFO] [stdout] test secp256k1::tests::public_key_generation_large_k has been running for over 60 seconds
[INFO] [stdout] test signature::tests::test_sign_ecdsa has been running for over 60 seconds
[INFO] [stdout] test signature::tests::test_sign_schnorr has been running for over 60 seconds
[INFO] [stdout] test signature::tests::test_verify_ecdsa has been running for over 60 seconds
[INFO] [stdout] test signature::tests::test_verify_schnorr has been running for over 60 seconds
[ERROR] error running command: no output for 300 seconds
[INFO] running `Command { std: "docker" "inspect" "df65f49eceff15ceba5c5448956b8120b03f7f9170b0470b845ce39f245a4a82", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "df65f49eceff15ceba5c5448956b8120b03f7f9170b0470b845ce39f245a4a82", kill_on_drop: false }`
[INFO] [stdout] df65f49eceff15ceba5c5448956b8120b03f7f9170b0470b845ce39f245a4a82
