[INFO] cloning repository https://github.com/chids04/ch3x
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/chids04/ch3x" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fchids04%2Fch3x", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fchids04%2Fch3x'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] b448315dec4b3d20120e40b4c2f43574f3ddc4f9
[INFO] checking chids04/ch3x against master#350d0ef0ec0493e6d21cfb265cb8211a0e74d766 for pr-145342
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fchids04%2Fch3x" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/chids04/ch3x
[INFO] finished tweaking git repo https://github.com/chids04/ch3x
[INFO] tweaked toml for git repo https://github.com/chids04/ch3x written to /workspace/builds/worker-3-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/chids04/ch3x on toolchain 350d0ef0ec0493e6d21cfb265cb8211a0e74d766
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/chids04/ch3x 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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 6387b0ab475df3f3bd7711287b12cf87219c8b7dff0ae97ce5d2fb8af1b373bd
[INFO] running `Command { std: "docker" "start" "-a" "6387b0ab475df3f3bd7711287b12cf87219c8b7dff0ae97ce5d2fb8af1b373bd", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "6387b0ab475df3f3bd7711287b12cf87219c8b7dff0ae97ce5d2fb8af1b373bd", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "6387b0ab475df3f3bd7711287b12cf87219c8b7dff0ae97ce5d2fb8af1b373bd", kill_on_drop: false }`
[INFO] [stdout] 6387b0ab475df3f3bd7711287b12cf87219c8b7dff0ae97ce5d2fb8af1b373bd
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 9f096e907d90c6e8600f67426b2a34582d87fe7b9a6ff684c70d2fa8eca1727c
[INFO] running `Command { std: "docker" "start" "-a" "9f096e907d90c6e8600f67426b2a34582d87fe7b9a6ff684c70d2fa8eca1727c", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.95
[INFO] [stderr]    Compiling shlex v1.3.0
[INFO] [stderr]    Compiling unicode-ident v1.0.18
[INFO] [stderr]    Compiling pkg-config v0.3.32
[INFO] [stderr]    Compiling vcpkg v0.2.15
[INFO] [stderr]    Compiling libc v0.2.172
[INFO] [stderr]     Checking foreign-types-shared v0.1.1
[INFO] [stderr]    Compiling openssl v0.10.73
[INFO] [stderr]     Checking cfg-if v1.0.0
[INFO] [stderr]     Checking once_cell v1.21.3
[INFO] [stderr]     Checking bitflags v2.9.1
[INFO] [stderr]     Checking hex v0.4.3
[INFO] [stderr]     Checking foreign-types v0.3.2
[INFO] [stderr]    Compiling cc v1.2.25
[INFO] [stderr]    Compiling quote v1.0.40
[INFO] [stderr]    Compiling syn v2.0.101
[INFO] [stderr]    Compiling openssl-sys v0.9.109
[INFO] [stderr]    Compiling openssl-macros v0.1.1
[INFO] [stderr]     Checking ch3x v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `openssl::bn::BigNumContext`
[INFO] [stdout]  --> src/keys.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use openssl::bn::BigNumContext;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `openssl::ec::PointConversionForm`
[INFO] [stdout]  --> src/keys.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use openssl::ec::PointConversionForm;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `openssl::hash::MessageDigest`
[INFO] [stdout]  --> src/keys.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use openssl::hash::MessageDigest;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `openssl::sha::sha256`
[INFO] [stdout]  --> src/keys.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use openssl::sha::sha256;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `SystemTime` and `UNIX_EPOCH`
[INFO] [stdout]  --> src/block.rs:1:17
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::time::{SystemTime, UNIX_EPOCH};
[INFO] [stdout]   |                 ^^^^^^^^^^  ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `openssl::bn::BigNumContext`
[INFO] [stdout]  --> src/keys.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use openssl::bn::BigNumContext;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `openssl::ec::PointConversionForm`
[INFO] [stdout]  --> src/keys.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use openssl::ec::PointConversionForm;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `openssl::hash::MessageDigest`
[INFO] [stdout]  --> src/keys.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use openssl::hash::MessageDigest;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `openssl::sha::sha256`
[INFO] [stdout]  --> src/keys.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use openssl::sha::sha256;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `SystemTime` and `UNIX_EPOCH`
[INFO] [stdout]  --> src/block.rs:1:17
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::time::{SystemTime, UNIX_EPOCH};
[INFO] [stdout]   |                 ^^^^^^^^^^  ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `super::*`
[INFO] [stdout]   --> src/utils.rs:48:9
[INFO] [stdout]    |
[INFO] [stdout] 48 |     use super::*;
[INFO] [stdout]    |         ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::keys::Wallet`
[INFO] [stdout]  --> src/blockchain.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | use crate::keys::Wallet;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `priv_key` and `pub_key` are never read
[INFO] [stdout]   --> src/keys.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout] 10 | pub struct Wallet {
[INFO] [stdout]    |            ------ fields in this struct
[INFO] [stdout] 11 |     priv_key: PKey<Private>,
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout] 12 |     pub pub_key: PKey<Public>,
[INFO] [stdout]    |         ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `sign_bytes` is never used
[INFO] [stdout]   --> src/keys.rs:53:12
[INFO] [stdout]    |
[INFO] [stdout] 17 | impl Wallet {
[INFO] [stdout]    | ----------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 53 |     pub fn sign_bytes(&self, data: &[u8]) -> Result<Vec<u8>, ErrorStack> {
[INFO] [stdout]    |            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `BcError` is never used
[INFO] [stdout]   --> src/blockchain.rs:19:10
[INFO] [stdout]    |
[INFO] [stdout] 19 | pub enum BcError {
[INFO] [stdout]    |          ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `verify_sig` is never used
[INFO] [stdout]   --> src/blockchain.rs:92:12
[INFO] [stdout]    |
[INFO] [stdout] 66 | impl Blockchain {
[INFO] [stdout]    | --------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 92 |     pub fn verify_sig(&self, raw_sig: &[u8], data: &[u8], pub_key: &str) -> Result<bool, BcError>{
[INFO] [stdout]    |            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `from_bytes` is never used
[INFO] [stdout]   --> src/utils.rs:20:12
[INFO] [stdout]    |
[INFO] [stdout] 19 | impl Hash32 {
[INFO] [stdout]    | ----------- associated function in this implementation
[INFO] [stdout] 20 |     pub fn from_bytes(bytes: [u8; 32]) -> Self {
[INFO] [stdout]    |            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Transaction` is never constructed
[INFO] [stdout]  --> src/transaction.rs:1:8
[INFO] [stdout]   |
[INFO] [stdout] 1 | struct Transaction{
[INFO] [stdout]   |        ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `pub_key` is never read
[INFO] [stdout]   --> src/keys.rs:12:9
[INFO] [stdout]    |
[INFO] [stdout] 10 | pub struct Wallet {
[INFO] [stdout]    |            ------ field in this struct
[INFO] [stdout] 11 |     priv_key: PKey<Private>,
[INFO] [stdout] 12 |     pub pub_key: PKey<Public>,
[INFO] [stdout]    |         ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `KeyDerivationError` and `BlockNotFound` are never constructed
[INFO] [stdout]   --> src/blockchain.rs:23:5
[INFO] [stdout]    |
[INFO] [stdout] 19 | pub enum BcError {
[INFO] [stdout]    |          ------- variants in this enum
[INFO] [stdout] ...
[INFO] [stdout] 23 |     KeyDerivationError(String), 
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 24 |     BlockNotFound, 
[INFO] [stdout]    |     ^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `BcError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `from_bytes` is never used
[INFO] [stdout]   --> src/utils.rs:20:12
[INFO] [stdout]    |
[INFO] [stdout] 19 | impl Hash32 {
[INFO] [stdout]    | ----------- associated function in this implementation
[INFO] [stdout] 20 |     pub fn from_bytes(bytes: [u8; 32]) -> Self {
[INFO] [stdout]    |            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Transaction` is never constructed
[INFO] [stdout]  --> src/transaction.rs:1:8
[INFO] [stdout]   |
[INFO] [stdout] 1 | struct Transaction{
[INFO] [stdout]   |        ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 10.26s
[INFO] running `Command { std: "docker" "inspect" "9f096e907d90c6e8600f67426b2a34582d87fe7b9a6ff684c70d2fa8eca1727c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "9f096e907d90c6e8600f67426b2a34582d87fe7b9a6ff684c70d2fa8eca1727c", kill_on_drop: false }`
[INFO] [stdout] 9f096e907d90c6e8600f67426b2a34582d87fe7b9a6ff684c70d2fa8eca1727c
