[INFO] cloning repository https://github.com/sanjay-sol/bn254-crypto-rust
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/sanjay-sol/bn254-crypto-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsanjay-sol%2Fbn254-crypto-rust", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsanjay-sol%2Fbn254-crypto-rust'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 13ef150ca2b2fb09f8eb221885e0b2776ad2cebe
[INFO] checking sanjay-sol/bn254-crypto-rust/13ef150ca2b2fb09f8eb221885e0b2776ad2cebe against master#f28ac764c36004fa6a6e098d15b4016a838c13c6 for pr-158320
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsanjay-sol%2Fbn254-crypto-rust" "/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/sanjay-sol/bn254-crypto-rust
[INFO] finished tweaking git repo https://github.com/sanjay-sol/bn254-crypto-rust
[INFO] tweaked toml for git repo https://github.com/sanjay-sol/bn254-crypto-rust written to /workspace/builds/worker-3-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/sanjay-sol/bn254-crypto-rust on toolchain f28ac764c36004fa6a6e098d15b4016a838c13c6
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f28ac764c36004fa6a6e098d15b4016a838c13c6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/sanjay-sol/bn254-crypto-rust 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" "+f28ac764c36004fa6a6e098d15b4016a838c13c6" "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/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/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] a2ecf9be8e126ec77fa0f53798495052dd1aac0cbbc759839a49fe8a9acd36d9
[INFO] running `Command { std: "docker" "start" "a2ecf9be8e126ec77fa0f53798495052dd1aac0cbbc759839a49fe8a9acd36d9", 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" "a2ecf9be8e126ec77fa0f53798495052dd1aac0cbbc759839a49fe8a9acd36d9" "/opt/rustwide/cargo-home/bin/cargo" "+f28ac764c36004fa6a6e098d15b4016a838c13c6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "a2ecf9be8e126ec77fa0f53798495052dd1aac0cbbc759839a49fe8a9acd36d9", 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" "a2ecf9be8e126ec77fa0f53798495052dd1aac0cbbc759839a49fe8a9acd36d9" "/opt/rustwide/cargo-home/bin/cargo" "+f28ac764c36004fa6a6e098d15b4016a838c13c6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.177
[INFO] [stderr]     Checking getrandom v0.2.16
[INFO] [stderr]     Checking rand_core v0.6.4
[INFO] [stderr]     Checking rand_chacha v0.3.1
[INFO] [stderr]     Checking rand v0.8.5
[INFO] [stderr]     Checking bn254 v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `num_bigint::ToBigUint`
[INFO] [stdout]  --> src/fp2.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use num_bigint::ToBigUint;
[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: `num_bigint::ToBigUint`
[INFO] [stdout]  --> src/fp2.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use num_bigint::ToBigUint;
[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: `rand::Rng`
[INFO] [stdout]    --> src/fp2.rs:112:9
[INFO] [stdout]     |
[INFO] [stdout] 112 |     use rand::Rng;
[INFO] [stdout]     |         ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around function argument
[INFO] [stdout]    --> src/fp2.rs:126:28
[INFO] [stdout]     |
[INFO] [stdout] 126 |         let neg1 = Fp::new((&*crate::fp::P - 1u32.to_biguint().unwrap()));
[INFO] [stdout]     |                            ^                                           ^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 126 -         let neg1 = Fp::new((&*crate::fp::P - 1u32.to_biguint().unwrap()));
[INFO] [stdout] 126 +         let neg1 = Fp::new(&*crate::fp::P - 1u32.to_biguint().unwrap() );
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around function argument
[INFO] [stdout]    --> src/fp2.rs:133:37
[INFO] [stdout]     |
[INFO] [stdout] 133 |         let real_expected = Fp::new((&*crate::fp::P - 29u32.to_biguint().unwrap()));
[INFO] [stdout]     |                                     ^                                            ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 133 -         let real_expected = Fp::new((&*crate::fp::P - 29u32.to_biguint().unwrap()));
[INFO] [stdout] 133 +         let real_expected = Fp::new(&*crate::fp::P - 29u32.to_biguint().unwrap() );
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around function argument
[INFO] [stdout]    --> src/fp2.rs:142:80
[INFO] [stdout]     |
[INFO] [stdout] 142 |         assert_eq!(conj, Fp2::new(Fp::new(3u32.to_biguint().unwrap()), Fp::new((&*crate::fp::P - 5u32.to_biguint().unwrap()))));
[INFO] [stdout]     |                                                                                ^                                           ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 142 -         assert_eq!(conj, Fp2::new(Fp::new(3u32.to_biguint().unwrap()), Fp::new((&*crate::fp::P - 5u32.to_biguint().unwrap()))));
[INFO] [stdout] 142 +         assert_eq!(conj, Fp2::new(Fp::new(3u32.to_biguint().unwrap()), Fp::new(&*crate::fp::P - 5u32.to_biguint().unwrap() )));
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Zero`
[INFO] [stdout]  --> src/fp2.rs:3:18
[INFO] [stdout]   |
[INFO] [stdout] 3 | use num_traits::{Zero, One};
[INFO] [stdout]   |                  ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `One`
[INFO] [stdout]  --> src/fp6.rs:3:18
[INFO] [stdout]   |
[INFO] [stdout] 3 | use num_traits::{One, Zero};
[INFO] [stdout]   |                  ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Zero`
[INFO] [stdout]  --> src/fp6.rs:3:23
[INFO] [stdout]   |
[INFO] [stdout] 3 | use num_traits::{One, Zero};
[INFO] [stdout]   |                       ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `one`
[INFO] [stdout]   --> src/fp6.rs:47:13
[INFO] [stdout]    |
[INFO] [stdout] 47 |         let one = Fp::one();
[INFO] [stdout]    |             ^^^ help: if this is intentional, prefix it with an underscore: `_one`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `One`
[INFO] [stdout]  --> src/fp6.rs:3:18
[INFO] [stdout]   |
[INFO] [stdout] 3 | use num_traits::{One, Zero};
[INFO] [stdout]   |                  ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Zero`
[INFO] [stdout]  --> src/fp6.rs:3:23
[INFO] [stdout]   |
[INFO] [stdout] 3 | use num_traits::{One, Zero};
[INFO] [stdout]   |                       ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Zero`
[INFO] [stdout]  --> src/fp2.rs:3:18
[INFO] [stdout]   |
[INFO] [stdout] 3 | use num_traits::{Zero, One};
[INFO] [stdout]   |                  ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `one`
[INFO] [stdout]   --> src/fp6.rs:47:13
[INFO] [stdout]    |
[INFO] [stdout] 47 |         let one = Fp::one();
[INFO] [stdout]    |             ^^^ help: if this is intentional, prefix it with an underscore: `_one`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `A` should have a snake case name
[INFO] [stdout]    --> src/fp6.rs:170:13
[INFO] [stdout]     |
[INFO] [stdout] 170 |         let A = Fp6::new(a0.clone(), a1.clone(), a2.clone());
[INFO] [stdout]     |             ^ help: convert the identifier to snake case: `a`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `B` should have a snake case name
[INFO] [stdout]    --> src/fp6.rs:175:13
[INFO] [stdout]     |
[INFO] [stdout] 175 |         let B = Fp6::new(b0.clone(), b1.clone(), b2.clone());
[INFO] [stdout]     |             ^ help: convert the identifier to snake case: `b`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `F` should have a snake case name
[INFO] [stdout]    --> src/fp6.rs:189:13
[INFO] [stdout]     |
[INFO] [stdout] 189 |         let F = Fp6::new(f0.clone(), f1.clone(), f2.clone());
[INFO] [stdout]     |             ^ help: convert the identifier to snake case (notice the capitalization): `f`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 3.14s
[INFO] running `Command { std: "docker" "inspect" "a2ecf9be8e126ec77fa0f53798495052dd1aac0cbbc759839a49fe8a9acd36d9", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "a2ecf9be8e126ec77fa0f53798495052dd1aac0cbbc759839a49fe8a9acd36d9", kill_on_drop: false }`
[INFO] [stdout] a2ecf9be8e126ec77fa0f53798495052dd1aac0cbbc759839a49fe8a9acd36d9
