[INFO] cloning repository https://github.com/bolajahmad/programmingbtc
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/bolajahmad/programmingbtc" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbolajahmad%2Fprogrammingbtc", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbolajahmad%2Fprogrammingbtc'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 312c46d16d36639a2c9524cebe6d567d15f7c722
[INFO] checking bolajahmad/programmingbtc against try#3f7e3b175fda7edbf81081bcd9b91b73f2f7993f for pr-156157-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbolajahmad%2Fprogrammingbtc" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'...
[INFO] [stderr] done.
[INFO] removed /workspace/builds/worker-0-tc2/source/rust-toolchain
[INFO] started tweaking git repo https://github.com/bolajahmad/programmingbtc
[INFO] finished tweaking git repo https://github.com/bolajahmad/programmingbtc
[INFO] tweaked toml for git repo https://github.com/bolajahmad/programmingbtc written to /workspace/builds/worker-0-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/bolajahmad/programmingbtc on toolchain 3f7e3b175fda7edbf81081bcd9b91b73f2f7993f
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+3f7e3b175fda7edbf81081bcd9b91b73f2f7993f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/bolajahmad/programmingbtc 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" "+3f7e3b175fda7edbf81081bcd9b91b73f2f7993f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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" "+3f7e3b175fda7edbf81081bcd9b91b73f2f7993f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 0dcbe5feb01d77ad339f8990854ccb6b51a73067c45c007f40938c091863bbdf
[INFO] running `Command { std: "docker" "start" "-a" "0dcbe5feb01d77ad339f8990854ccb6b51a73067c45c007f40938c091863bbdf", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "0dcbe5feb01d77ad339f8990854ccb6b51a73067c45c007f40938c091863bbdf", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "0dcbe5feb01d77ad339f8990854ccb6b51a73067c45c007f40938c091863bbdf", kill_on_drop: false }`
[INFO] [stdout] 0dcbe5feb01d77ad339f8990854ccb6b51a73067c45c007f40938c091863bbdf
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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" "+3f7e3b175fda7edbf81081bcd9b91b73f2f7993f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 97c8e58030e1e1476fd1c941a9d860c7a5f397ac09ccd4b26e53ca40fcdaae91
[INFO] running `Command { std: "docker" "start" "-a" "97c8e58030e1e1476fd1c941a9d860c7a5f397ac09ccd4b26e53ca40fcdaae91", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.92
[INFO] [stderr]    Compiling unicode-ident v1.0.14
[INFO] [stderr]    Compiling libc v0.2.164
[INFO] [stderr]    Compiling gmp-mpfr-sys v1.6.4
[INFO] [stderr]    Compiling az v1.2.1
[INFO] [stderr]    Compiling rug v1.26.1
[INFO] [stderr]     Checking pin-project-lite v0.2.15
[INFO] [stderr]    Compiling cc v1.2.14
[INFO] [stderr]     Checking cpufeatures v0.2.16
[INFO] [stderr]     Checking once_cell v1.20.3
[INFO] [stderr]     Checking byteorder v1.5.0
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]    Compiling openssl v0.10.71
[INFO] [stderr]     Checking digest v0.10.7
[INFO] [stderr]    Compiling native-tls v0.2.13
[INFO] [stderr]     Checking smallvec v1.14.0
[INFO] [stderr]     Checking indexmap v2.7.1
[INFO] [stderr]    Compiling serde v1.0.217
[INFO] [stderr]     Checking futures-util v0.3.31
[INFO] [stderr]     Checking log v0.4.25
[INFO] [stderr]     Checking http-body v0.4.6
[INFO] [stderr]     Checking futures-channel v0.3.31
[INFO] [stderr]     Checking ryu v1.0.18
[INFO] [stderr]     Checking tracing-core v0.1.33
[INFO] [stderr]    Compiling serde_json v1.0.135
[INFO] [stderr]     Checking encoding_rs v0.8.35
[INFO] [stderr]     Checking sha2 v0.10.8
[INFO] [stderr]     Checking ripemd v0.1.3
[INFO] [stderr]     Checking tracing v0.1.41
[INFO] [stderr]    Compiling quote v1.0.37
[INFO] [stderr]    Compiling openssl-sys v0.9.106
[INFO] [stderr]    Compiling syn v2.0.89
[INFO] [stderr]     Checking num-integer v0.1.46
[INFO] [stderr]     Checking socket2 v0.5.8
[INFO] [stderr]     Checking mio v1.0.3
[INFO] [stderr]     Checking getrandom v0.2.15
[INFO] [stderr]     Checking rand_core v0.6.4
[INFO] [stderr]     Checking tokio v1.42.0
[INFO] [stderr]    Compiling synstructure v0.13.1
[INFO] [stderr]     Checking tokio-util v0.7.13
[INFO] [stderr]     Checking h2 v0.3.26
[INFO] [stderr]    Compiling zerofrom-derive v0.1.5
[INFO] [stderr]    Compiling yoke-derive v0.7.5
[INFO] [stderr]    Compiling zerovec-derive v0.10.3
[INFO] [stderr]    Compiling displaydoc v0.2.5
[INFO] [stderr]    Compiling zerocopy-derive v0.7.35
[INFO] [stderr]    Compiling icu_provider_macros v1.5.0
[INFO] [stderr]    Compiling openssl-macros v0.1.1
[INFO] [stderr]    Compiling serde_derive v1.0.217
[INFO] [stderr]    Compiling async-trait v0.1.83
[INFO] [stderr]     Checking sha256 v1.5.0
[INFO] [stderr]     Checking zerocopy v0.7.35
[INFO] [stderr]     Checking zerofrom v0.1.5
[INFO] [stderr]     Checking yoke v0.7.5
[INFO] [stderr]     Checking zerovec v0.10.4
[INFO] [stderr]     Checking ppv-lite86 v0.2.20
[INFO] [stderr]     Checking rand_chacha v0.3.1
[INFO] [stderr]     Checking rand v0.8.5
[INFO] [stderr]     Checking tinystr v0.7.6
[INFO] [stderr]     Checking icu_collections v1.5.0
[INFO] [stderr]     Checking icu_locid v1.5.0
[INFO] [stderr]     Checking num-bigint v0.4.6
[INFO] [stderr]     Checking icu_provider v1.5.0
[INFO] [stderr]     Checking icu_locid_transform v1.5.0
[INFO] [stderr]     Checking tokio-native-tls v0.3.1
[INFO] [stderr]     Checking hyper v0.14.32
[INFO] [stderr]     Checking icu_properties v1.5.1
[INFO] [stderr]     Checking hyper-tls v0.5.0
[INFO] [stderr]     Checking serde_urlencoded v0.7.1
[INFO] [stderr]     Checking icu_normalizer v1.5.0
[INFO] [stderr]     Checking idna_adapter v1.2.0
[INFO] [stderr]     Checking idna v1.0.3
[INFO] [stderr]     Checking url v2.5.4
[INFO] [stderr]     Checking reqwest v0.11.27
[INFO] [stderr]     Checking finite_fields v0.1.0 (/opt/rustwide/workdir/src/finite_fields)
[INFO] [stderr]     Checking elliptic_curve v0.1.0 (/opt/rustwide/workdir/src/elliptic_curve)
[INFO] [stderr]     Checking transactions v0.1.0 (/opt/rustwide/workdir/src/transactions)
[INFO] [stderr]     Checking scripts v0.1.0 (/opt/rustwide/workdir/src/scripts)
[INFO] [stdout] warning: unused import: `traits::Serializer`
[INFO] [stdout]  --> src/elliptic_curve/src/lib.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | use traits::Serializer;
[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: `Rem`
[INFO] [stdout]  --> src/finite_fields/src/lib.rs:1:44
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::{fmt::Debug, ops::{Add, Div, Mul, Rem, Sub}};
[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: `helpers::is_prime`
[INFO] [stdout]  --> src/finite_fields/src/lib.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use helpers::is_prime;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `traits::Serializer`
[INFO] [stdout]  --> src/elliptic_curve/src/lib.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | use traits::Serializer;
[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: `std::fmt::format`
[INFO] [stdout]  --> src/scripts/src/lib.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use std::fmt::format;
[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: `std::fmt::format`
[INFO] [stdout]  --> src/scripts/src/lib.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use std::fmt::format;
[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: `Ripemd160`
[INFO] [stdout]  --> src/scripts/src/lib.rs:9:38
[INFO] [stdout]   |
[INFO] [stdout] 9 | use ripemd::{Digest as RipemdDigest, Ripemd160};
[INFO] [stdout]   |                                      ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `helpers::Stack`
[INFO] [stdout]  --> src/scripts/src/lib.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | use helpers::Stack;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Ripemd160`
[INFO] [stdout]  --> src/scripts/src/lib.rs:9:38
[INFO] [stdout]   |
[INFO] [stdout] 9 | use ripemd::{Digest as RipemdDigest, Ripemd160};
[INFO] [stdout]   |                                      ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Sha256`
[INFO] [stdout]   --> src/scripts/src/lib.rs:11:20
[INFO] [stdout]    |
[INFO] [stdout] 11 | use sha2::{Digest, Sha256};
[INFO] [stdout]    |                    ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `utils::parse_varints`
[INFO] [stdout]   --> src/scripts/src/lib.rs:12:5
[INFO] [stdout]    |
[INFO] [stdout] 12 | use utils::parse_varints;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Sha256`
[INFO] [stdout]   --> src/scripts/src/lib.rs:11:20
[INFO] [stdout]    |
[INFO] [stdout] 11 | use sha2::{Digest, Sha256};
[INFO] [stdout]    |                    ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `utils::parse_varints`
[INFO] [stdout]   --> src/scripts/src/lib.rs:12:5
[INFO] [stdout]    |
[INFO] [stdout] 12 | use utils::parse_varints;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Rem`
[INFO] [stdout]  --> src/finite_fields/src/lib.rs:1:44
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::{fmt::Debug, ops::{Add, Div, Mul, Rem, Sub}};
[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: `helpers::is_prime`
[INFO] [stdout]  --> src/finite_fields/src/lib.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use helpers::is_prime;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Assign`
[INFO] [stdout]  --> src/finite_fields/src/lib.rs:5:20
[INFO] [stdout]   |
[INFO] [stdout] 5 | use rug::{Integer, Assign};
[INFO] [stdout]   |                    ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Pow`
[INFO] [stdout]  --> src/finite_fields/src/lib.rs:2:35
[INFO] [stdout]   |
[INFO] [stdout] 2 | use rug::{integer::IsPrime, ops::{Pow, RemRounding}};
[INFO] [stdout]   |                                   ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/finite_fields/src/helpers.rs:20:9
[INFO] [stdout]    |
[INFO] [stdout] 20 |     let mut is_prime = Arc::new(Mutex::new(true));
[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 import: `Digest`
[INFO] [stdout]  --> src/scripts/src/lib.rs:9:14
[INFO] [stdout]   |
[INFO] [stdout] 9 | use ripemd::{Digest as RipemdDigest, Ripemd160};
[INFO] [stdout]   |              ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Digest`
[INFO] [stdout]   --> src/scripts/src/lib.rs:11:12
[INFO] [stdout]    |
[INFO] [stdout] 11 | use sha2::{Digest, Sha256};
[INFO] [stdout]    |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Digest`
[INFO] [stdout]   --> src/scripts/src/lib.rs:11:12
[INFO] [stdout]    |
[INFO] [stdout] 11 | use sha2::{Digest, Sha256};
[INFO] [stdout]    |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Digest`
[INFO] [stdout]  --> src/scripts/src/lib.rs:9:14
[INFO] [stdout]   |
[INFO] [stdout] 9 | use ripemd::{Digest as RipemdDigest, Ripemd160};
[INFO] [stdout]   |              ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `pubkey`
[INFO] [stdout]   --> src/scripts/src/codes.rs:88:13
[INFO] [stdout]    |
[INFO] [stdout] 88 |         let pubkey = self.pop().unwrap();
[INFO] [stdout]    |             ^^^^^^ help: if this is intentional, prefix it with an underscore: `_pubkey`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `signature`
[INFO] [stdout]   --> src/scripts/src/codes.rs:89:13
[INFO] [stdout]    |
[INFO] [stdout] 89 |         let signature = self.pop().unwrap();
[INFO] [stdout]    |             ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_signature`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `rc::Rc`
[INFO] [stdout]  --> src/transactions/src/utils.rs:1:33
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::{collections::HashMap, rc::Rc};
[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 variable: `pubkey`
[INFO] [stdout]   --> src/scripts/src/codes.rs:88:13
[INFO] [stdout]    |
[INFO] [stdout] 88 |         let pubkey = self.pop().unwrap();
[INFO] [stdout]    |             ^^^^^^ help: if this is intentional, prefix it with an underscore: `_pubkey`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `hex::ToHex`
[INFO] [stdout]  --> src/transactions/src/utils.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use hex::ToHex;
[INFO] [stdout]   |     ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `utils::TxFetcher`
[INFO] [stdout]   --> src/transactions/src/lib.rs:13:5
[INFO] [stdout]    |
[INFO] [stdout] 13 | use utils::TxFetcher;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `signature`
[INFO] [stdout]   --> src/scripts/src/codes.rs:89:13
[INFO] [stdout]    |
[INFO] [stdout] 89 |         let signature = self.pop().unwrap();
[INFO] [stdout]    |             ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_signature`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `OpCode` is never used
[INFO] [stdout]  --> src/scripts/src/codes.rs:6:10
[INFO] [stdout]   |
[INFO] [stdout] 6 | pub enum OpCode {
[INFO] [stdout]   |          ^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `from_u8` is never used
[INFO] [stdout]   --> src/scripts/src/codes.rs:19:12
[INFO] [stdout]    |
[INFO] [stdout] 18 | impl OpCode {
[INFO] [stdout]    | ----------- associated function in this implementation
[INFO] [stdout] 19 |     pub fn from_u8(code: u8) -> Option<OpCode> {
[INFO] [stdout]    |            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `op_checksig` and `op_dup` are never used
[INFO] [stdout]  --> src/scripts/src/traits.rs:2:8
[INFO] [stdout]   |
[INFO] [stdout] 1 | pub trait StackOps {
[INFO] [stdout]   |           -------- methods in this trait
[INFO] [stdout] 2 |     fn op_checksig(&mut self) -> bool;
[INFO] [stdout]   |        ^^^^^^^^^^^
[INFO] [stdout] 3 |     fn op_dup(&mut self) -> bool;
[INFO] [stdout]   |        ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `parse_varints` is never used
[INFO] [stdout]  --> src/scripts/src/utils.rs:3:8
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub fn parse_varints(bytes: &[u8], init_count: usize) -> (usize, u64) {
[INFO] [stdout]   |        ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `OpCode` is never used
[INFO] [stdout]  --> src/scripts/src/codes.rs:6:10
[INFO] [stdout]   |
[INFO] [stdout] 6 | pub enum OpCode {
[INFO] [stdout]   |          ^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `from_u8` is never used
[INFO] [stdout]   --> src/scripts/src/codes.rs:19:12
[INFO] [stdout]    |
[INFO] [stdout] 18 | impl OpCode {
[INFO] [stdout]    | ----------- associated function in this implementation
[INFO] [stdout] 19 |     pub fn from_u8(code: u8) -> Option<OpCode> {
[INFO] [stdout]    |            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `StackOps` is never used
[INFO] [stdout]  --> src/scripts/src/traits.rs:1:11
[INFO] [stdout]   |
[INFO] [stdout] 1 | pub trait StackOps {
[INFO] [stdout]   |           ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `parse_varints` is never used
[INFO] [stdout]  --> src/scripts/src/utils.rs:3:8
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub fn parse_varints(bytes: &[u8], init_count: usize) -> (usize, u64) {
[INFO] [stdout]   |        ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `rc::Rc`
[INFO] [stdout]  --> src/transactions/src/utils.rs:1:33
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::{collections::HashMap, rc::Rc};
[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: `hex::ToHex`
[INFO] [stdout]  --> src/transactions/src/utils.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use hex::ToHex;
[INFO] [stdout]   |     ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `utils::TxFetcher`
[INFO] [stdout]   --> src/transactions/src/lib.rs:13:5
[INFO] [stdout]    |
[INFO] [stdout] 13 | use utils::TxFetcher;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Pow`
[INFO] [stdout]  --> src/finite_fields/src/lib.rs:2:35
[INFO] [stdout]   |
[INFO] [stdout] 2 | use rug::{integer::IsPrime, ops::{Pow, RemRounding}};
[INFO] [stdout]   |                                   ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/finite_fields/src/helpers.rs:20:9
[INFO] [stdout]    |
[INFO] [stdout] 20 |     let mut is_prime = Arc::new(Mutex::new(true));
[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: methods `is_equal` and `is_not_equal` are never used
[INFO] [stdout]   --> src/finite_fields/src/lib.rs:48:8
[INFO] [stdout]    |
[INFO] [stdout] 16 | impl FieldElement {
[INFO] [stdout]    | ----------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 48 |     fn is_equal(&self, other: &FieldElement) -> bool {
[INFO] [stdout]    |        ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 52 |     fn is_not_equal(&self, other: &FieldElement) -> bool {
[INFO] [stdout]    |        ^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Checking ec_cryptography v0.1.0 (/opt/rustwide/workdir/src/ec_cryptography)
[INFO] [stdout] warning: unused import: `rug::Integer`
[INFO] [stdout]  --> src/scripts/src/main.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use rug::Integer;
[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: `Script` and `helpers::Stack`
[INFO] [stdout]  --> src/scripts/src/main.rs:2:15
[INFO] [stdout]   |
[INFO] [stdout] 2 | use scripts::{helpers::Stack, Script};
[INFO] [stdout]   |               ^^^^^^^^^^^^^^  ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `rug::Integer`
[INFO] [stdout]  --> src/scripts/src/main.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use rug::Integer;
[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: `Script` and `helpers::Stack`
[INFO] [stdout]  --> src/scripts/src/main.rs:2:15
[INFO] [stdout]   |
[INFO] [stdout] 2 | use scripts::{helpers::Stack, Script};
[INFO] [stdout]   |               ^^^^^^^^^^^^^^  ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `text_2`
[INFO] [stdout]  --> src/scripts/src/main.rs:7:36
[INFO] [stdout]   |
[INFO] [stdout] 7 | fn use_lifetime<'a>(text: &'a str, text_2: &'a str) -> &'a str {
[INFO] [stdout]   |                                    ^^^^^^ help: if this is intentional, prefix it with an underscore: `_text_2`
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `use_lifetime` is never used
[INFO] [stdout]  --> src/scripts/src/main.rs:7:4
[INFO] [stdout]   |
[INFO] [stdout] 7 | fn use_lifetime<'a>(text: &'a str, text_2: &'a str) -> &'a str {
[INFO] [stdout]   |    ^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Test` is never constructed
[INFO] [stdout]   --> src/scripts/src/main.rs:11:8
[INFO] [stdout]    |
[INFO] [stdout] 11 | struct Test<'a> {
[INFO] [stdout]    |        ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Stack` is never constructed
[INFO] [stdout]  --> src/scripts/src/helpers.rs:2:12
[INFO] [stdout]   |
[INFO] [stdout] 2 | pub struct Stack<T> {
[INFO] [stdout]   |            ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `push`, `pop`, `peek`, `is_empty`, and `length` are never used
[INFO] [stdout]   --> src/scripts/src/helpers.rs:7:12
[INFO] [stdout]    |
[INFO] [stdout]  6 | impl<T> Stack<T> {
[INFO] [stdout]    | ---------------- associated items in this implementation
[INFO] [stdout]  7 |     pub fn new() -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 14 |     pub fn push(&mut self, item: T) {
[INFO] [stdout]    |            ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 19 |     pub fn pop(&mut self) -> Option<T> {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 24 |     pub fn peek(&self) -> Option<&T> {
[INFO] [stdout]    |            ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 29 |     pub fn is_empty(&self) -> bool {
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 34 |     pub fn length(&self) -> usize {
[INFO] [stdout]    |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `text_2`
[INFO] [stdout]  --> src/scripts/src/main.rs:7:36
[INFO] [stdout]   |
[INFO] [stdout] 7 | fn use_lifetime<'a>(text: &'a str, text_2: &'a str) -> &'a str {
[INFO] [stdout]   |                                    ^^^^^^ help: if this is intentional, prefix it with an underscore: `_text_2`
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `use_lifetime` is never used
[INFO] [stdout]  --> src/scripts/src/main.rs:7:4
[INFO] [stdout]   |
[INFO] [stdout] 7 | fn use_lifetime<'a>(text: &'a str, text_2: &'a str) -> &'a str {
[INFO] [stdout]   |    ^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Test` is never constructed
[INFO] [stdout]   --> src/scripts/src/main.rs:11:8
[INFO] [stdout]    |
[INFO] [stdout] 11 | struct Test<'a> {
[INFO] [stdout]    |        ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Stack` is never constructed
[INFO] [stdout]  --> src/scripts/src/helpers.rs:2:12
[INFO] [stdout]   |
[INFO] [stdout] 2 | pub struct Stack<T> {
[INFO] [stdout]   |            ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `push`, `pop`, `peek`, `is_empty`, and `length` are never used
[INFO] [stdout]   --> src/scripts/src/helpers.rs:7:12
[INFO] [stdout]    |
[INFO] [stdout]  6 | impl<T> Stack<T> {
[INFO] [stdout]    | ---------------- associated items in this implementation
[INFO] [stdout]  7 |     pub fn new() -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 14 |     pub fn push(&mut self, item: T) {
[INFO] [stdout]    |            ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 19 |     pub fn pop(&mut self) -> Option<T> {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 24 |     pub fn peek(&self) -> Option<&T> {
[INFO] [stdout]    |            ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 29 |     pub fn is_empty(&self) -> bool {
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 34 |     pub fn length(&self) -> usize {
[INFO] [stdout]    |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Serialize`
[INFO] [stdout]  --> src/transactions/src/lib.rs:5:26
[INFO] [stdout]   |
[INFO] [stdout] 5 | use serde::{Deserialize, Serialize};
[INFO] [stdout]   |                          ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `integer::Order`
[INFO] [stdout]  --> src/ec_cryptography/src/lib.rs:2:11
[INFO] [stdout]   |
[INFO] [stdout] 2 | use rug::{integer::Order, ops::{Pow, RemRounding}, Integer};
[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: `Integer` and `integer::Order`
[INFO] [stdout]  --> src/ec_cryptography/src/serializer.rs:1:11
[INFO] [stdout]   |
[INFO] [stdout] 1 | use rug::{integer::Order, Integer};
[INFO] [stdout]   |           ^^^^^^^^^^^^^^  ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `s256_field::Signature`
[INFO] [stdout]  --> src/ec_cryptography/src/serializer.rs:3:13
[INFO] [stdout]   |
[INFO] [stdout] 3 | use crate::{s256_field::Signature, traits::Serializer, EllipticCurve};
[INFO] [stdout]   |             ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `finite_fields::FieldElement`
[INFO] [stdout]  --> src/finite_fields/src/main.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use finite_fields::FieldElement;
[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: `std::str::FromStr`
[INFO] [stdout]   --> src/ec_cryptography/src/serializer.rs:40:9
[INFO] [stdout]    |
[INFO] [stdout] 40 |     use std::str::FromStr;
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `finite_fields::helpers::is_prime`
[INFO] [stdout]  --> src/finite_fields/src/main.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use finite_fields::helpers::is_prime;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `rug::Integer`
[INFO] [stdout]  --> src/finite_fields/src/main.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use rug::Integer;
[INFO] [stdout]   |     ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `rug::ops::Pow`
[INFO] [stdout]  --> src/finite_fields/src/main.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use rug::ops::Pow;
[INFO] [stdout]   |     ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `traits::Serializer`
[INFO] [stdout]   --> src/ec_cryptography/src/lib.rs:10:5
[INFO] [stdout]    |
[INFO] [stdout] 10 | use traits::Serializer;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `integer::Order`
[INFO] [stdout]  --> src/ec_cryptography/src/lib.rs:2:11
[INFO] [stdout]   |
[INFO] [stdout] 2 | use rug::{integer::Order, ops::{Pow, RemRounding}, Integer};
[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: `Integer` and `integer::Order`
[INFO] [stdout]  --> src/ec_cryptography/src/serializer.rs:1:11
[INFO] [stdout]   |
[INFO] [stdout] 1 | use rug::{integer::Order, Integer};
[INFO] [stdout]   |           ^^^^^^^^^^^^^^  ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `s256_field::Signature`
[INFO] [stdout]  --> src/ec_cryptography/src/serializer.rs:3:13
[INFO] [stdout]   |
[INFO] [stdout] 3 | use crate::{s256_field::Signature, traits::Serializer, EllipticCurve};
[INFO] [stdout]   |             ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `traits::Serializer`
[INFO] [stdout]   --> src/ec_cryptography/src/lib.rs:10:5
[INFO] [stdout]    |
[INFO] [stdout] 10 | use traits::Serializer;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `finite_fields::FieldElement`
[INFO] [stdout]  --> src/finite_fields/src/main.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use finite_fields::FieldElement;
[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: `finite_fields::helpers::is_prime`
[INFO] [stdout]  --> src/finite_fields/src/main.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use finite_fields::helpers::is_prime;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `rug::Integer`
[INFO] [stdout]  --> src/finite_fields/src/main.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use rug::Integer;
[INFO] [stdout]   |     ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `rug::ops::Pow`
[INFO] [stdout]  --> src/finite_fields/src/main.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use rug::ops::Pow;
[INFO] [stdout]   |     ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Serialize`
[INFO] [stdout]  --> src/transactions/src/lib.rs:5:26
[INFO] [stdout]   |
[INFO] [stdout] 5 | use serde::{Deserialize, Serialize};
[INFO] [stdout]   |                          ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `tx` is never read
[INFO] [stdout]   --> src/transactions/src/utils.rs:82:26
[INFO] [stdout]    |
[INFO] [stdout] 82 |             let mut tx = Transaction::default();
[INFO] [stdout]    |                          ^^^^^^^^^^^^^^^^^^^^^^ this value is reassigned later and never used
[INFO] [stdout] ...
[INFO] [stdout] 93 |                 tx = Transaction::parse(response.as_str(), self.testnet).unwrap();
[INFO] [stdout]    |                 -- `tx` is overwritten here before the previous value is read
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `r`
[INFO] [stdout]    --> src/ec_cryptography/src/s256_field.rs:100:24
[INFO] [stdout]     |
[INFO] [stdout] 100 |         let (r_length, r) = self.der_integer_length(self.r.to_digits::<u8>(Order::MsfBe));
[INFO] [stdout]     |                        ^ help: if this is intentional, prefix it with an underscore: `_r`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `s`
[INFO] [stdout]    --> src/ec_cryptography/src/s256_field.rs:101:24
[INFO] [stdout]     |
[INFO] [stdout] 101 |         let (s_length, s) = self.der_integer_length(self.s.to_digits::<u8>(Order::MsfBe));
[INFO] [stdout]     |                        ^ help: if this is intentional, prefix it with an underscore: `_s`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `S256Field` is never constructed
[INFO] [stdout]  --> src/ec_cryptography/src/s256_field.rs:9:12
[INFO] [stdout]   |
[INFO] [stdout] 9 | pub struct S256Field {
[INFO] [stdout]   |            ^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `verify`, `to_point`, and `order` are never used
[INFO] [stdout]   --> src/ec_cryptography/src/s256_field.rs:15:12
[INFO] [stdout]    |
[INFO] [stdout] 14 | impl S256Field {
[INFO] [stdout]    | -------------- associated items in this implementation
[INFO] [stdout] 15 |     pub fn new() -> S256Field {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 19 |     pub fn verify(&self, z: Integer, signature: Signature) -> bool {
[INFO] [stdout]    |            ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 35 |     pub fn to_point(&self) -> EllipticCurve {
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 46 |     pub fn order() -> Integer {
[INFO] [stdout]    |            ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `secp_generator_point` is never used
[INFO] [stdout]   --> src/ec_cryptography/src/s256_field.rs:56:8
[INFO] [stdout]    |
[INFO] [stdout] 56 | pub fn secp_generator_point() -> EllipticCurve {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Signature` is never constructed
[INFO] [stdout]   --> src/ec_cryptography/src/s256_field.rs:76:12
[INFO] [stdout]    |
[INFO] [stdout] 76 | pub struct Signature {
[INFO] [stdout]    |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `der`, `length`, and `der_integer_length` are never used
[INFO] [stdout]    --> src/ec_cryptography/src/s256_field.rs:88:12
[INFO] [stdout]     |
[INFO] [stdout]  87 | impl Signature {
[INFO] [stdout]     | -------------- associated items in this implementation
[INFO] [stdout]  88 |     pub fn new(r: Integer, s: Integer) -> Signature {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] ...
[INFO] [stdout]  93 |     pub fn der(&self) -> String {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 108 |     pub fn length(&self) -> usize {
[INFO] [stdout]     |            ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 118 |     pub fn der_integer_length(&self, mut data: Vec<u8>) -> (usize, Vec<u8>) {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `parse_from_bytes` is never used
[INFO] [stdout]   --> src/transactions/src/output.rs:36:12
[INFO] [stdout]    |
[INFO] [stdout] 11 | impl TxOut {
[INFO] [stdout]    | ---------- associated function in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 36 |     pub fn parse_from_bytes(bytes: &[u8]) -> Vec<TxOut> {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `r`
[INFO] [stdout]    --> src/ec_cryptography/src/s256_field.rs:100:24
[INFO] [stdout]     |
[INFO] [stdout] 100 |         let (r_length, r) = self.der_integer_length(self.r.to_digits::<u8>(Order::MsfBe));
[INFO] [stdout]     |                        ^ help: if this is intentional, prefix it with an underscore: `_r`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `s`
[INFO] [stdout]    --> src/ec_cryptography/src/s256_field.rs:101:24
[INFO] [stdout]     |
[INFO] [stdout] 101 |         let (s_length, s) = self.der_integer_length(self.s.to_digits::<u8>(Order::MsfBe));
[INFO] [stdout]     |                        ^ help: if this is intentional, prefix it with an underscore: `_s`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `tx` is never read
[INFO] [stdout]   --> src/transactions/src/utils.rs:82:26
[INFO] [stdout]    |
[INFO] [stdout] 82 |             let mut tx = Transaction::default();
[INFO] [stdout]    |                          ^^^^^^^^^^^^^^^^^^^^^^ this value is reassigned later and never used
[INFO] [stdout] ...
[INFO] [stdout] 93 |                 tx = Transaction::parse(response.as_str(), self.testnet).unwrap();
[INFO] [stdout]    |                 -- `tx` is overwritten here before the previous value is read
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `scalar`
[INFO] [stdout]    --> src/ec_cryptography/src/lib.rs:312:13
[INFO] [stdout]     |
[INFO] [stdout] 312 |         let scalar = Integer::parse_radix("fffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd0364141", 16).unwrap().complete();
[INFO] [stdout]     |             ^^^^^^ help: if this is intentional, prefix it with an underscore: `_scalar`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `s`
[INFO] [stdout]    --> src/ec_cryptography/src/lib.rs:409:13
[INFO] [stdout]     |
[INFO] [stdout] 409 |         let s = (message + (secret.clone() * signature_point.x.unwrap().num())) / random_int;
[INFO] [stdout]     |             ^ help: if this is intentional, prefix it with an underscore: `_s`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `S256Field` is never constructed
[INFO] [stdout]  --> src/ec_cryptography/src/s256_field.rs:9:12
[INFO] [stdout]   |
[INFO] [stdout] 9 | pub struct S256Field {
[INFO] [stdout]   |            ^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `verify`, `to_point`, and `order` are never used
[INFO] [stdout]   --> src/ec_cryptography/src/s256_field.rs:15:12
[INFO] [stdout]    |
[INFO] [stdout] 14 | impl S256Field {
[INFO] [stdout]    | -------------- associated items in this implementation
[INFO] [stdout] 15 |     pub fn new() -> S256Field {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 19 |     pub fn verify(&self, z: Integer, signature: Signature) -> bool {
[INFO] [stdout]    |            ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 35 |     pub fn to_point(&self) -> EllipticCurve {
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 46 |     pub fn order() -> Integer {
[INFO] [stdout]    |            ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `der` and `length` are never used
[INFO] [stdout]    --> src/ec_cryptography/src/s256_field.rs:93:12
[INFO] [stdout]     |
[INFO] [stdout]  87 | impl Signature {
[INFO] [stdout]     | -------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout]  93 |     pub fn der(&self) -> String {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 108 |     pub fn length(&self) -> usize {
[INFO] [stdout]     |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `parse_from_bytes` is never used
[INFO] [stdout]   --> src/transactions/src/output.rs:36:12
[INFO] [stdout]    |
[INFO] [stdout] 11 | impl TxOut {
[INFO] [stdout]    | ---------- associated function in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 36 |     pub fn parse_from_bytes(bytes: &[u8]) -> Vec<TxOut> {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `reverse_bits` and `traits::Serializer`
[INFO] [stdout]  --> src/ec_cryptography/src/main.rs:1:38
[INFO] [stdout]   |
[INFO] [stdout] 1 | use ec_cryptography::{EllipticCurve, reverse_bits, traits::Serializer};
[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: `reverse_bits` and `traits::Serializer`
[INFO] [stdout]  --> src/ec_cryptography/src/main.rs:1:38
[INFO] [stdout]   |
[INFO] [stdout] 1 | use ec_cryptography::{EllipticCurve, reverse_bits, traits::Serializer};
[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: `transactions::utils::TxFetcher`
[INFO] [stdout]  --> src/transactions/src/main.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use transactions::utils::TxFetcher;
[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 variable: `fee`
[INFO] [stdout]   --> src/transactions/src/main.rs:11:21
[INFO] [stdout]    |
[INFO] [stdout] 11 |                 let fee = tx.fee();
[INFO] [stdout]    |                     ^^^ help: if this is intentional, prefix it with an underscore: `_fee`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `transactions::utils::TxFetcher`
[INFO] [stdout]  --> src/transactions/src/main.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use transactions::utils::TxFetcher;
[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 variable: `fee`
[INFO] [stdout]   --> src/transactions/src/main.rs:11:21
[INFO] [stdout]    |
[INFO] [stdout] 11 |                 let fee = tx.fee();
[INFO] [stdout]    |                     ^^^ help: if this is intentional, prefix it with an underscore: `_fee`
[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 4m 24s
[INFO] running `Command { std: "docker" "inspect" "97c8e58030e1e1476fd1c941a9d860c7a5f397ac09ccd4b26e53ca40fcdaae91", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "97c8e58030e1e1476fd1c941a9d860c7a5f397ac09ccd4b26e53ca40fcdaae91", kill_on_drop: false }`
[INFO] [stdout] 97c8e58030e1e1476fd1c941a9d860c7a5f397ac09ccd4b26e53ca40fcdaae91
