[INFO] cloning repository https://github.com/brudnevskij/ECC-Rust-Project
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/brudnevskij/ECC-Rust-Project" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbrudnevskij%2FECC-Rust-Project", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbrudnevskij%2FECC-Rust-Project'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] f009faada62bda3dca58f04c5efc000ad0d4aa29
[INFO] checking brudnevskij/ECC-Rust-Project against try#14e4661efa5acbf985e4fe564baae04683366cc1 for pr-157696
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbrudnevskij%2FECC-Rust-Project" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/brudnevskij/ECC-Rust-Project
[INFO] finished tweaking git repo https://github.com/brudnevskij/ECC-Rust-Project
[INFO] tweaked toml for git repo https://github.com/brudnevskij/ECC-Rust-Project written to /workspace/builds/worker-6-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/brudnevskij/ECC-Rust-Project on toolchain 14e4661efa5acbf985e4fe564baae04683366cc1
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+14e4661efa5acbf985e4fe564baae04683366cc1" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/brudnevskij/ECC-Rust-Project 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" "+14e4661efa5acbf985e4fe564baae04683366cc1" "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/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3a6becf2bc8dde7f3fa57ede90e4f284e72d296796fc446bbb1e2c7cc0530151" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 12fedd2f56c7a4a9d6b34e865f3aea9880dff9e2013a8c4a67529b7beea29263
[INFO] running `Command { std: "docker" "start" "12fedd2f56c7a4a9d6b34e865f3aea9880dff9e2013a8c4a67529b7beea29263", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "12fedd2f56c7a4a9d6b34e865f3aea9880dff9e2013a8c4a67529b7beea29263" "/opt/rustwide/cargo-home/bin/cargo" "+14e4661efa5acbf985e4fe564baae04683366cc1" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "12fedd2f56c7a4a9d6b34e865f3aea9880dff9e2013a8c4a67529b7beea29263", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "12fedd2f56c7a4a9d6b34e865f3aea9880dff9e2013a8c4a67529b7beea29263" "/opt/rustwide/cargo-home/bin/cargo" "+14e4661efa5acbf985e4fe564baae04683366cc1" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling unicode-ident v1.0.16
[INFO] [stderr]    Compiling libc v0.2.169
[INFO] [stderr]     Checking cpufeatures v0.2.17
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]     Checking tokio v1.43.0
[INFO] [stderr]     Checking crypto-common v0.1.6
[INFO] [stderr]     Checking digest v0.10.7
[INFO] [stderr]    Compiling proc-macro2 v1.0.93
[INFO] [stderr]     Checking sha2 v0.10.8
[INFO] [stderr]    Compiling quote v1.0.38
[INFO] [stderr]     Checking num-integer v0.1.46
[INFO] [stderr]    Compiling syn v2.0.97
[INFO] [stderr]     Checking getrandom v0.2.15
[INFO] [stderr]     Checking rand_core v0.6.4
[INFO] [stderr]    Compiling zerocopy-derive v0.7.35
[INFO] [stderr]    Compiling async-trait v0.1.86
[INFO] [stderr]     Checking zerocopy v0.7.35
[INFO] [stderr]     Checking sha256 v1.5.0
[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 num-bigint v0.4.6
[INFO] [stderr]     Checking ecc-rust-project v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused imports: `BigUint`, `EllipticCurve`, `FiniteField`, and `Point`
[INFO] [stdout]    --> src/elliptic_curve/elliptic_curve.rs:135:17
[INFO] [stdout]     |
[INFO] [stdout] 135 |     use super::{BigUint, EllipticCurve, FiniteField, Point};
[INFO] [stdout]     |                 ^^^^^^^  ^^^^^^^^^^^^^  ^^^^^^^^^^^  ^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: if this is a test module, consider adding a `#[cfg(test)]` to the containing module
[INFO] [stdout]    --> src/elliptic_curve/elliptic_curve.rs:134:1
[INFO] [stdout]     |
[INFO] [stdout] 134 | mod ec_test {
[INFO] [stdout]     | ^^^^^^^^^^^
[INFO] [stdout]     = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `BigUint` and `FiniteField`
[INFO] [stdout]   --> src/elliptic_curve/finite_field.rs:41:17
[INFO] [stdout]    |
[INFO] [stdout] 41 |     use super::{BigUint, FiniteField};
[INFO] [stdout]    |                 ^^^^^^^  ^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: if this is a test module, consider adding a `#[cfg(test)]` to the containing module
[INFO] [stdout]   --> src/elliptic_curve/finite_field.rs:40:1
[INFO] [stdout]    |
[INFO] [stdout] 40 | mod ff_test {
[INFO] [stdout]    | ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Rng`
[INFO] [stdout]  --> src/lib.rs:2:24
[INFO] [stdout]   |
[INFO] [stdout] 2 | use rand::{thread_rng, Rng};
[INFO] [stdout]   |                        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `ECDSA` is never constructed
[INFO] [stdout]  --> src/lib.rs:7:8
[INFO] [stdout]   |
[INFO] [stdout] 7 | struct ECDSA {
[INFO] [stdout]   |        ^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple associated items are never used
[INFO] [stdout]   --> src/lib.rs:16:12
[INFO] [stdout]    |
[INFO] [stdout] 15 | impl ECDSA {
[INFO] [stdout]    | ---------- associated items in this implementation
[INFO] [stdout] 16 |     pub fn generate_key_pair(&self) -> (BigUint, Point) {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 22 |     fn gen_private_key(&self) -> BigUint {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 26 |     fn gen_random_n(&self, max: &BigUint) -> BigUint {
[INFO] [stdout]    |        ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 31 |     fn generate_public_key(&self, pk: &BigUint) -> Point {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 35 |     pub fn generate_hash_less_than(data: &str, max: &BigUint) -> BigUint {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 46 |     pub fn sign(&self, hash: &BigUint, private_key: &BigUint, k: &BigUint) -> (BigUint, BigUint) {
[INFO] [stdout]    |            ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 69 |     pub fn verify(
[INFO] [stdout]    |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `Point` is never used
[INFO] [stdout]  --> src/elliptic_curve/elliptic_curve.rs:6:10
[INFO] [stdout]   |
[INFO] [stdout] 6 | pub enum Point {
[INFO] [stdout]   |          ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `EllipticCurve` is never constructed
[INFO] [stdout]   --> src/elliptic_curve/elliptic_curve.rs:20:12
[INFO] [stdout]    |
[INFO] [stdout] 20 | pub struct EllipticCurve {
[INFO] [stdout]    |            ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `add`, `double`, `calculate_x3_y3`, `scalar_mul`, and `is_on_curve` are never used
[INFO] [stdout]    --> src/elliptic_curve/elliptic_curve.rs:38:12
[INFO] [stdout]     |
[INFO] [stdout]  37 | impl EllipticCurve {
[INFO] [stdout]     | ------------------ methods in this implementation
[INFO] [stdout]  38 |     pub fn add(&self, r: &Point, q: &Point) -> Point {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] ...
[INFO] [stdout]  67 |     pub fn double(&self, c: &Point) -> Point {
[INFO] [stdout]     |            ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  92 |     pub fn calculate_x3_y3(
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 109 |     pub fn scalar_mul(&self, c: &Point, d: &BigUint) -> Point {
[INFO] [stdout]     |            ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 122 |     pub fn is_on_curve(&self, c: &Point) -> bool {
[INFO] [stdout]     |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `FiniteField` is never constructed
[INFO] [stdout]  --> src/elliptic_curve/finite_field.rs:3:12
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub struct FiniteField {
[INFO] [stdout]   |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `add`, `mul`, `sub`, `div`, `inv_add`, and `inv_mul` are never used
[INFO] [stdout]   --> src/elliptic_curve/finite_field.rs:8:12
[INFO] [stdout]    |
[INFO] [stdout]  7 | impl FiniteField {
[INFO] [stdout]    | ---------------- methods in this implementation
[INFO] [stdout]  8 |     pub fn add(&self, a: &BigUint, b: &BigUint) -> BigUint {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 12 |     pub fn mul(&self, a: &BigUint, b: &BigUint) -> BigUint {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 17 |     pub fn sub(&self, a: &BigUint, b: &BigUint) -> BigUint {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 21 |     pub fn div(&self, a: &BigUint, b: &BigUint) -> BigUint {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 25 |     pub fn inv_add(&self, n: &BigUint) -> BigUint {
[INFO] [stdout]    |            ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 35 |     pub fn inv_mul(&self, n: &BigUint) -> BigUint {
[INFO] [stdout]    |            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Rng`
[INFO] [stdout]  --> src/lib.rs:2:24
[INFO] [stdout]   |
[INFO] [stdout] 2 | use rand::{thread_rng, Rng};
[INFO] [stdout]   |                        ^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `generate_key_pair`, `gen_private_key`, and `gen_random_n` are never used
[INFO] [stdout]   --> src/lib.rs:16:12
[INFO] [stdout]    |
[INFO] [stdout] 15 | impl ECDSA {
[INFO] [stdout]    | ---------- methods in this implementation
[INFO] [stdout] 16 |     pub fn generate_key_pair(&self) -> (BigUint, Point) {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 22 |     fn gen_private_key(&self) -> BigUint {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 26 |     fn gen_random_n(&self, max: &BigUint) -> BigUint {
[INFO] [stdout]    |        ^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 12.37s
[INFO] running `Command { std: "docker" "inspect" "12fedd2f56c7a4a9d6b34e865f3aea9880dff9e2013a8c4a67529b7beea29263", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "12fedd2f56c7a4a9d6b34e865f3aea9880dff9e2013a8c4a67529b7beea29263", kill_on_drop: false }`
[INFO] [stdout] 12fedd2f56c7a4a9d6b34e865f3aea9880dff9e2013a8c4a67529b7beea29263
