[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] b7c49c0236b05904d8f0b4086b1aef119b30bf5b
[INFO] checking chids04/ch3x against try#0cb362313295507a2f4321c0e30cea0168f2fe71 for pr-138961-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fchids04%2Fch3x" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/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-1-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/chids04/ch3x on toolchain 0cb362313295507a2f4321c0e30cea0168f2fe71
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+0cb362313295507a2f4321c0e30cea0168f2fe71" "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" "+0cb362313295507a2f4321c0e30cea0168f2fe71" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+0cb362313295507a2f4321c0e30cea0168f2fe71" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] fb13d8d119111264b8159f2a6968f659b398c74ea5df2ff1f647db189c91e13f
[INFO] running `Command { std: "docker" "start" "-a" "fb13d8d119111264b8159f2a6968f659b398c74ea5df2ff1f647db189c91e13f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "fb13d8d119111264b8159f2a6968f659b398c74ea5df2ff1f647db189c91e13f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "fb13d8d119111264b8159f2a6968f659b398c74ea5df2ff1f647db189c91e13f", kill_on_drop: false }`
[INFO] [stdout] fb13d8d119111264b8159f2a6968f659b398c74ea5df2ff1f647db189c91e13f
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+0cb362313295507a2f4321c0e30cea0168f2fe71" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 59641a8aab39328c75c0b7a0ac9bd0a62641dee1111360e5487faef0bcce3114
[INFO] running `Command { std: "docker" "start" "-a" "59641a8aab39328c75c0b7a0ac9bd0a62641dee1111360e5487faef0bcce3114", kill_on_drop: false }`
[INFO] [stderr]    Compiling cc v1.2.25
[INFO] [stderr]    Compiling syn v2.0.101
[INFO] [stderr]    Compiling openssl-sys v0.9.109
[INFO] [stderr]    Compiling openssl v0.10.73
[INFO] [stderr]    Compiling thiserror-impl v2.0.17
[INFO] [stderr]    Compiling openssl-macros v0.1.1
[INFO] [stderr]     Checking thiserror v2.0.17
[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)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `EcKey` and `PointConversionForm`
[INFO] [stdout]  --> src/keys.rs:3:19
[INFO] [stdout]   |
[INFO] [stdout] 3 | use openssl::ec::{EcKey, 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::pkey_ctx::PkeyCtx`
[INFO] [stdout]  --> src/keys.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | use openssl::pkey_ctx::PkeyCtx;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `openssl::sha::sha256`
[INFO] [stdout]  --> src/keys.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | use openssl::sha::sha256;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `openssl::ecdsa::EcdsaSig`
[INFO] [stdout]  --> src/keys.rs:9:5
[INFO] [stdout]   |
[INFO] [stdout] 9 | use openssl::ecdsa::EcdsaSig;
[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: `std::fmt`
[INFO] [stdout]  --> src/blockchain.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::fmt;
[INFO] [stdout]   |     ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::error::Error`
[INFO] [stdout]  --> src/blockchain.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::error::Error;
[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: unused import: `crate::sig::Signature`
[INFO] [stdout]  --> src/transaction.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use crate::sig::Signature;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Private`
[INFO] [stdout]  --> src/transaction.rs:2:21
[INFO] [stdout]   |
[INFO] [stdout] 2 | use openssl::pkey::{Private, PKey, Public};
[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)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `EcKey` and `PointConversionForm`
[INFO] [stdout]  --> src/keys.rs:3:19
[INFO] [stdout]   |
[INFO] [stdout] 3 | use openssl::ec::{EcKey, 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::pkey_ctx::PkeyCtx`
[INFO] [stdout]  --> src/keys.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | use openssl::pkey_ctx::PkeyCtx;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `openssl::sha::sha256`
[INFO] [stdout]  --> src/keys.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | use openssl::sha::sha256;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `openssl::ecdsa::EcdsaSig`
[INFO] [stdout]  --> src/keys.rs:9:5
[INFO] [stdout]   |
[INFO] [stdout] 9 | use openssl::ecdsa::EcdsaSig;
[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: `std::fmt`
[INFO] [stdout]  --> src/blockchain.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::fmt;
[INFO] [stdout]   |     ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::error::Error`
[INFO] [stdout]  --> src/blockchain.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::error::Error;
[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::sig::Signature`
[INFO] [stdout]  --> src/transaction.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use crate::sig::Signature;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Private`
[INFO] [stdout]  --> src/transaction.rs:2:21
[INFO] [stdout]   |
[INFO] [stdout] 2 | use openssl::pkey::{Private, PKey, Public};
[INFO] [stdout]   |                     ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `priv_key` is never read
[INFO] [stdout]   --> src/keys.rs:17:5
[INFO] [stdout]    |
[INFO] [stdout] 16 | pub struct Wallet {
[INFO] [stdout]    |            ------ field in this struct
[INFO] [stdout] 17 |     priv_key: PKey<Private>,
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `sign_bytes` is never used
[INFO] [stdout]   --> src/keys.rs:39:12
[INFO] [stdout]    |
[INFO] [stdout] 23 | impl Wallet {
[INFO] [stdout]    | ----------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 39 |     pub fn sign_bytes(&self, data: &[u8]) -> Result<Vec<u8>, BcError> {
[INFO] [stdout]    |            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `BcError` is never used
[INFO] [stdout]   --> src/blockchain.rs:21:10
[INFO] [stdout]    |
[INFO] [stdout] 21 | pub enum BcError {
[INFO] [stdout]    |          ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `verify_sig` is never used
[INFO] [stdout]   --> src/blockchain.rs:63:12
[INFO] [stdout]    |
[INFO] [stdout] 37 | impl Blockchain {
[INFO] [stdout]    | --------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 63 |     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:4:8
[INFO] [stdout]   |
[INFO] [stdout] 4 | struct Transaction{
[INFO] [stdout]   |        ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/transaction.rs:12:12
[INFO] [stdout]    |
[INFO] [stdout] 11 | impl Transaction {
[INFO] [stdout]    | ---------------- associated function in this implementation
[INFO] [stdout] 12 |     pub fn new(sender: PKey<Public>,
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Signature` is never constructed
[INFO] [stdout]  --> src/sig.rs:7:12
[INFO] [stdout]   |
[INFO] [stdout] 7 | pub struct Signature;
[INFO] [stdout]   |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `verify` is never used
[INFO] [stdout]   --> src/sig.rs:10:12
[INFO] [stdout]    |
[INFO] [stdout]  9 | impl Signature {
[INFO] [stdout]    | -------------- associated function in this implementation
[INFO] [stdout] 10 |     pub fn verify(sig: &[u8], data: &[u8], pub_key: &PKey<Public>) -> Result<bool, BcError> {
[INFO] [stdout]    |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `KeyDerivationError` and `BlockNotFound` are never constructed
[INFO] [stdout]   --> src/blockchain.rs:31:5
[INFO] [stdout]    |
[INFO] [stdout] 21 | pub enum BcError {
[INFO] [stdout]    |          ------- variants in this enum
[INFO] [stdout] ...
[INFO] [stdout] 31 |     KeyDerivationError(String),
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 34 |     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]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[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:4:8
[INFO] [stdout]   |
[INFO] [stdout] 4 | struct Transaction{
[INFO] [stdout]   |        ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/transaction.rs:12:12
[INFO] [stdout]    |
[INFO] [stdout] 11 | impl Transaction {
[INFO] [stdout]    | ---------------- associated function in this implementation
[INFO] [stdout] 12 |     pub fn new(sender: PKey<Public>,
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 5.78s
[INFO] running `Command { std: "docker" "inspect" "59641a8aab39328c75c0b7a0ac9bd0a62641dee1111360e5487faef0bcce3114", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "59641a8aab39328c75c0b7a0ac9bd0a62641dee1111360e5487faef0bcce3114", kill_on_drop: false }`
[INFO] [stdout] 59641a8aab39328c75c0b7a0ac9bd0a62641dee1111360e5487faef0bcce3114
