[INFO] cloning repository https://github.com/nikurt/factor_rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/nikurt/factor_rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnikurt%2Ffactor_rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnikurt%2Ffactor_rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 549d24dfe1b8457084145d387fb898371cdca763 [INFO] checking nikurt/factor_rs against master#2e6fc425411280c658d852813de01c5157255088 for pr-128013 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnikurt%2Ffactor_rs" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/nikurt/factor_rs on toolchain 2e6fc425411280c658d852813de01c5157255088 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2e6fc425411280c658d852813de01c5157255088" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/nikurt/factor_rs [INFO] finished tweaking git repo https://github.com/nikurt/factor_rs [INFO] tweaked toml for git repo https://github.com/nikurt/factor_rs written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/nikurt/factor_rs 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" "+2e6fc425411280c658d852813de01c5157255088" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded byte-slice-cast v1.0.0 [INFO] [stderr] Downloaded parity-scale-codec-derive v2.2.0 [INFO] [stderr] Downloaded proc-macro-crate v1.0.0 [INFO] [stderr] Downloaded arrayvec v0.7.1 [INFO] [stderr] Downloaded thiserror v1.0.28 [INFO] [stderr] Downloaded thiserror-impl v1.0.28 [INFO] [stderr] Downloaded num-bigint v0.4.2 [INFO] [stderr] Downloaded parity-scale-codec v2.2.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:dff56e7819e73ed36160586b3445e93eb0be776c16704aeeded9c3fb668b2384" "/opt/rustwide/cargo-home/bin/cargo" "+2e6fc425411280c658d852813de01c5157255088" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5b758155722ce91fe3a4326ffdd13d04887d27348d102bf8d0f06f8ab94e3e59 [INFO] running `Command { std: "docker" "start" "-a" "5b758155722ce91fe3a4326ffdd13d04887d27348d102bf8d0f06f8ab94e3e59", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5b758155722ce91fe3a4326ffdd13d04887d27348d102bf8d0f06f8ab94e3e59", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5b758155722ce91fe3a4326ffdd13d04887d27348d102bf8d0f06f8ab94e3e59", kill_on_drop: false }` [INFO] [stdout] 5b758155722ce91fe3a4326ffdd13d04887d27348d102bf8d0f06f8ab94e3e59 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:dff56e7819e73ed36160586b3445e93eb0be776c16704aeeded9c3fb668b2384" "/opt/rustwide/cargo-home/bin/cargo" "+2e6fc425411280c658d852813de01c5157255088" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 80bbb3f1759372e26194dbbc9ff3d4413e5fb25586c8e6a438fceba462efb0af [INFO] running `Command { std: "docker" "start" "-a" "80bbb3f1759372e26194dbbc9ff3d4413e5fb25586c8e6a438fceba462efb0af", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.29 [INFO] [stderr] Compiling syn v1.0.75 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling serde v1.0.130 [INFO] [stderr] Compiling libc v0.2.101 [INFO] [stderr] Compiling radium v0.6.2 [INFO] [stderr] Checking funty v1.1.0 [INFO] [stderr] Checking ppv-lite86 v0.2.10 [INFO] [stderr] Checking wyz v0.2.0 [INFO] [stderr] Checking tap v1.0.1 [INFO] [stderr] Compiling crunchy v0.2.2 [INFO] [stderr] Checking byte-slice-cast v1.0.0 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Checking arrayvec v0.7.1 [INFO] [stderr] Checking rustc-hex v2.1.0 [INFO] [stderr] Checking hex v0.4.3 [INFO] [stderr] Checking uint v0.9.1 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling num-bigint v0.4.2 [INFO] [stderr] Checking bitvec v0.20.4 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Checking getrandom v0.2.3 [INFO] [stderr] Checking rand_core v0.6.3 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.4 [INFO] [stderr] Checking fixed-hash v0.7.0 [INFO] [stderr] Compiling toml v0.5.8 [INFO] [stderr] Compiling thiserror-impl v1.0.28 [INFO] [stderr] Compiling impl-trait-for-tuples v0.2.1 [INFO] [stderr] Compiling thiserror v1.0.28 [INFO] [stderr] Compiling proc-macro-crate v1.0.0 [INFO] [stderr] Compiling parity-scale-codec-derive v2.2.0 [INFO] [stderr] Checking parity-scale-codec v2.2.0 [INFO] [stderr] Checking impl-codec v0.5.1 [INFO] [stderr] Checking primitive-types v0.10.1 [INFO] [stderr] Checking factor_rs v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Num` [INFO] [stdout] --> src/main.rs:8:18 [INFO] [stdout] | [INFO] [stdout] 8 | use num_traits::{Num, One, Zero}; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/main.rs:443:15 [INFO] [stdout] | [INFO] [stdout] 443 | let res = (if p1.x != p2.x { [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 451 | }); [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 443 ~ let res = if p1.x != p2.x { [INFO] [stdout] 444 | let m = p2.y.sub(&p1.y).div_fqp(p2.x.sub(&p1.x)); [INFO] [stdout] ... [INFO] [stdout] 450 | t.x.sub(&p1.x) [INFO] [stdout] 451 ~ }; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Num` [INFO] [stdout] --> src/main.rs:8:18 [INFO] [stdout] | [INFO] [stdout] 8 | use num_traits::{Num, One, Zero}; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/main.rs:443:15 [INFO] [stdout] | [INFO] [stdout] 443 | let res = (if p1.x != p2.x { [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 451 | }); [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 443 ~ let res = if p1.x != p2.x { [INFO] [stdout] 444 | let m = p2.y.sub(&p1.y).div_fqp(p2.x.sub(&p1.x)); [INFO] [stdout] ... [INFO] [stdout] 450 | t.x.sub(&p1.x) [INFO] [stdout] 451 ~ }; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `r` [INFO] [stdout] --> src/main.rs:210:13 [INFO] [stdout] | [INFO] [stdout] 210 | let r = inv(x.0, Fq::FIELD_MODULUS()); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_r` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `r` [INFO] [stdout] --> src/main.rs:210:13 [INFO] [stdout] | [INFO] [stdout] 210 | let r = inv(x.0, Fq::FIELD_MODULUS()); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_r` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `b2` is never used [INFO] [stdout] --> src/main.rs:18:4 [INFO] [stdout] | [INFO] [stdout] 18 | fn b2() -> FQP { [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `b12` is never used [INFO] [stdout] --> src/main.rs:23:4 [INFO] [stdout] | [INFO] [stdout] 23 | fn b12() -> FQP { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `inv` and `is_zero` are never used [INFO] [stdout] --> src/main.rs:206:8 [INFO] [stdout] | [INFO] [stdout] 167 | impl Fq { [INFO] [stdout] | ------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 206 | fn inv(self) -> Fq { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 215 | fn is_zero(&self) -> bool { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `P1` is never used [INFO] [stdout] --> src/main.rs:321:4 [INFO] [stdout] | [INFO] [stdout] 321 | fn P1() -> G1Point { [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `P2` is never used [INFO] [stdout] --> src/main.rs:329:4 [INFO] [stdout] | [INFO] [stdout] 329 | fn P2() -> G2Point { [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is_on_curve_g2` is never used [INFO] [stdout] --> src/main.rs:359:4 [INFO] [stdout] | [INFO] [stdout] 359 | fn is_on_curve_g2(p: &G2Point, b: &FQP) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `fq2`, `fq2_one`, `fq2_g2`, `add`, and `one` are never used [INFO] [stdout] --> src/main.rs:1103:8 [INFO] [stdout] | [INFO] [stdout] 1102 | impl FQP { [INFO] [stdout] | -------- associated items in this implementation [INFO] [stdout] 1103 | fn new(coeffs: Vec, modulus_coeffs: Vec) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 1112 | fn fq2(coeffs: &[i32]) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 1121 | fn fq2_one() -> Self { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1148 | fn fq2_g2(p2: [Fq; 2]) -> Self { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1156 | fn add(&self, x: &FQP) -> FQP { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 1299 | fn one(&self) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `FIELD_MODULUS` should have a snake case name [INFO] [stdout] --> src/main.rs:168:8 [INFO] [stdout] | [INFO] [stdout] 168 | fn FIELD_MODULUS() -> U256 { [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `field_modulus` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `X` should have a snake case name [INFO] [stdout] --> src/main.rs:169:13 [INFO] [stdout] | [INFO] [stdout] 169 | let X: U256 = U256::from_dec_str("21888242871839275222246405745257275088696311157297823662689037894645226208583").unwrap(); [INFO] [stdout] | ^ help: convert the identifier to snake case (notice the capitalization): `x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `P1` should have a snake case name [INFO] [stdout] --> src/main.rs:321:4 [INFO] [stdout] | [INFO] [stdout] 321 | fn P1() -> G1Point { [INFO] [stdout] | ^^ help: convert the identifier to snake case: `p1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `P2` should have a snake case name [INFO] [stdout] --> src/main.rs:329:4 [INFO] [stdout] | [INFO] [stdout] 329 | fn P2() -> G2Point { [INFO] [stdout] | ^^ help: convert the identifier to snake case: `p2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `log_ate_loop_count` should have an upper case name [INFO] [stdout] --> src/main.rs:463:11 [INFO] [stdout] | [INFO] [stdout] 463 | const log_ate_loop_count: u64 = 63; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `LOG_ATE_LOOP_COUNT` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_upper_case_globals)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `pairingProd4` should have a snake case name [INFO] [stdout] --> src/main.rs:896:4 [INFO] [stdout] | [INFO] [stdout] 896 | fn pairingProd4( [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `pairing_prod4` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `IC` should have a snake case name [INFO] [stdout] --> src/main.rs:914:5 [INFO] [stdout] | [INFO] [stdout] 914 | IC: [G1Point; 2], [INFO] [stdout] | ^^ help: convert the identifier to snake case (notice the capitalization): `ic` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `A` should have a snake case name [INFO] [stdout] --> src/main.rs:918:5 [INFO] [stdout] | [INFO] [stdout] 918 | A: G1Point, [INFO] [stdout] | ^ help: convert the identifier to snake case: `a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `B` should have a snake case name [INFO] [stdout] --> src/main.rs:919:5 [INFO] [stdout] | [INFO] [stdout] 919 | B: G2Point, [INFO] [stdout] | ^ help: convert the identifier to snake case: `b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `C` should have a snake case name [INFO] [stdout] --> src/main.rs:920:5 [INFO] [stdout] | [INFO] [stdout] 920 | C: G1Point, [INFO] [stdout] | ^ help: convert the identifier to snake case (notice the capitalization): `c` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `verifyingKey` should have a snake case name [INFO] [stdout] --> src/main.rs:923:4 [INFO] [stdout] | [INFO] [stdout] 923 | fn verifyingKey() -> VerifyingKey { [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `verifying_key` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `verifyProof` should have a snake case name [INFO] [stdout] --> src/main.rs:1066:8 [INFO] [stdout] | [INFO] [stdout] 1066 | fn verifyProof(a: [Fq; 2], b: [[Fq; 2]; 2], c: [Fq; 2], input: &[U256]) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `verify_proof` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: comparison is useless due to type limits [INFO] [stdout] --> src/main.rs:1231:21 [INFO] [stdout] | [INFO] [stdout] 1231 | assert!(self.degree + 1 - r.len() >= 0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_comparisons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `b2` is never used [INFO] [stdout] --> src/main.rs:18:4 [INFO] [stdout] | [INFO] [stdout] 18 | fn b2() -> FQP { [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `b12` is never used [INFO] [stdout] --> src/main.rs:23:4 [INFO] [stdout] | [INFO] [stdout] 23 | fn b12() -> FQP { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `inv` and `is_zero` are never used [INFO] [stdout] --> src/main.rs:206:8 [INFO] [stdout] | [INFO] [stdout] 167 | impl Fq { [INFO] [stdout] | ------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 206 | fn inv(self) -> Fq { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 215 | fn is_zero(&self) -> bool { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `P1` is never used [INFO] [stdout] --> src/main.rs:321:4 [INFO] [stdout] | [INFO] [stdout] 321 | fn P1() -> G1Point { [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `P2` is never used [INFO] [stdout] --> src/main.rs:329:4 [INFO] [stdout] | [INFO] [stdout] 329 | fn P2() -> G2Point { [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is_on_curve_g2` is never used [INFO] [stdout] --> src/main.rs:359:4 [INFO] [stdout] | [INFO] [stdout] 359 | fn is_on_curve_g2(p: &G2Point, b: &FQP) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `fq2`, `fq2_one`, `fq2_g2`, `add`, and `one` are never used [INFO] [stdout] --> src/main.rs:1103:8 [INFO] [stdout] | [INFO] [stdout] 1102 | impl FQP { [INFO] [stdout] | -------- associated items in this implementation [INFO] [stdout] 1103 | fn new(coeffs: Vec, modulus_coeffs: Vec) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 1112 | fn fq2(coeffs: &[i32]) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 1121 | fn fq2_one() -> Self { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1148 | fn fq2_g2(p2: [Fq; 2]) -> Self { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1156 | fn add(&self, x: &FQP) -> FQP { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 1299 | fn one(&self) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `FIELD_MODULUS` should have a snake case name [INFO] [stdout] --> src/main.rs:168:8 [INFO] [stdout] | [INFO] [stdout] 168 | fn FIELD_MODULUS() -> U256 { [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `field_modulus` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `X` should have a snake case name [INFO] [stdout] --> src/main.rs:169:13 [INFO] [stdout] | [INFO] [stdout] 169 | let X: U256 = U256::from_dec_str("21888242871839275222246405745257275088696311157297823662689037894645226208583").unwrap(); [INFO] [stdout] | ^ help: convert the identifier to snake case (notice the capitalization): `x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `P1` should have a snake case name [INFO] [stdout] --> src/main.rs:321:4 [INFO] [stdout] | [INFO] [stdout] 321 | fn P1() -> G1Point { [INFO] [stdout] | ^^ help: convert the identifier to snake case: `p1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `P2` should have a snake case name [INFO] [stdout] --> src/main.rs:329:4 [INFO] [stdout] | [INFO] [stdout] 329 | fn P2() -> G2Point { [INFO] [stdout] | ^^ help: convert the identifier to snake case: `p2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `log_ate_loop_count` should have an upper case name [INFO] [stdout] --> src/main.rs:463:11 [INFO] [stdout] | [INFO] [stdout] 463 | const log_ate_loop_count: u64 = 63; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `LOG_ATE_LOOP_COUNT` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_upper_case_globals)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `pairingProd4` should have a snake case name [INFO] [stdout] --> src/main.rs:896:4 [INFO] [stdout] | [INFO] [stdout] 896 | fn pairingProd4( [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `pairing_prod4` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `IC` should have a snake case name [INFO] [stdout] --> src/main.rs:914:5 [INFO] [stdout] | [INFO] [stdout] 914 | IC: [G1Point; 2], [INFO] [stdout] | ^^ help: convert the identifier to snake case (notice the capitalization): `ic` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `A` should have a snake case name [INFO] [stdout] --> src/main.rs:918:5 [INFO] [stdout] | [INFO] [stdout] 918 | A: G1Point, [INFO] [stdout] | ^ help: convert the identifier to snake case: `a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `B` should have a snake case name [INFO] [stdout] --> src/main.rs:919:5 [INFO] [stdout] | [INFO] [stdout] 919 | B: G2Point, [INFO] [stdout] | ^ help: convert the identifier to snake case: `b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `C` should have a snake case name [INFO] [stdout] --> src/main.rs:920:5 [INFO] [stdout] | [INFO] [stdout] 920 | C: G1Point, [INFO] [stdout] | ^ help: convert the identifier to snake case (notice the capitalization): `c` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `verifyingKey` should have a snake case name [INFO] [stdout] --> src/main.rs:923:4 [INFO] [stdout] | [INFO] [stdout] 923 | fn verifyingKey() -> VerifyingKey { [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `verifying_key` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `verifyProof` should have a snake case name [INFO] [stdout] --> src/main.rs:1066:8 [INFO] [stdout] | [INFO] [stdout] 1066 | fn verifyProof(a: [Fq; 2], b: [[Fq; 2]; 2], c: [Fq; 2], input: &[U256]) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `verify_proof` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: comparison is useless due to type limits [INFO] [stdout] --> src/main.rs:1231:21 [INFO] [stdout] | [INFO] [stdout] 1231 | assert!(self.degree + 1 - r.len() >= 0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_comparisons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 23 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 23 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 6.05s [INFO] running `Command { std: "docker" "inspect" "80bbb3f1759372e26194dbbc9ff3d4413e5fb25586c8e6a438fceba462efb0af", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "80bbb3f1759372e26194dbbc9ff3d4413e5fb25586c8e6a438fceba462efb0af", kill_on_drop: false }` [INFO] [stdout] 80bbb3f1759372e26194dbbc9ff3d4413e5fb25586c8e6a438fceba462efb0af [INFO] checking nikurt/factor_rs against try#d856f2da3433420b7077c0dc7ee9441455bc1302 for pr-128013 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnikurt%2Ffactor_rs" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/nikurt/factor_rs on toolchain d856f2da3433420b7077c0dc7ee9441455bc1302 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d856f2da3433420b7077c0dc7ee9441455bc1302" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/nikurt/factor_rs [INFO] finished tweaking git repo https://github.com/nikurt/factor_rs [INFO] tweaked toml for git repo https://github.com/nikurt/factor_rs written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/nikurt/factor_rs 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" "+d856f2da3433420b7077c0dc7ee9441455bc1302" "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/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:dff56e7819e73ed36160586b3445e93eb0be776c16704aeeded9c3fb668b2384" "/opt/rustwide/cargo-home/bin/cargo" "+d856f2da3433420b7077c0dc7ee9441455bc1302" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2acee14213a3ab90102ace36261e3f8cfbca7f8e0a2b2e9b1f2d1909f3b6bd08 [INFO] running `Command { std: "docker" "start" "-a" "2acee14213a3ab90102ace36261e3f8cfbca7f8e0a2b2e9b1f2d1909f3b6bd08", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2acee14213a3ab90102ace36261e3f8cfbca7f8e0a2b2e9b1f2d1909f3b6bd08", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2acee14213a3ab90102ace36261e3f8cfbca7f8e0a2b2e9b1f2d1909f3b6bd08", kill_on_drop: false }` [INFO] [stdout] 2acee14213a3ab90102ace36261e3f8cfbca7f8e0a2b2e9b1f2d1909f3b6bd08 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:dff56e7819e73ed36160586b3445e93eb0be776c16704aeeded9c3fb668b2384" "/opt/rustwide/cargo-home/bin/cargo" "+d856f2da3433420b7077c0dc7ee9441455bc1302" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e4ceaead43b83cdcf333d48142cd73f28d273a9a8b8b1c63ef70f200ce7e38a7 [INFO] running `Command { std: "docker" "start" "-a" "e4ceaead43b83cdcf333d48142cd73f28d273a9a8b8b1c63ef70f200ce7e38a7", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.29 [INFO] [stderr] Compiling syn v1.0.75 [INFO] [stderr] Compiling serde v1.0.130 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling libc v0.2.101 [INFO] [stderr] Compiling radium v0.6.2 [INFO] [stderr] Checking wyz v0.2.0 [INFO] [stderr] Checking funty v1.1.0 [INFO] [stderr] Compiling crunchy v0.2.2 [INFO] [stderr] Checking tap v1.0.1 [INFO] [stderr] Checking ppv-lite86 v0.2.10 [INFO] [stderr] Checking arrayvec v0.7.1 [INFO] [stderr] Checking byte-slice-cast v1.0.0 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Checking rustc-hex v2.1.0 [INFO] [stderr] Checking hex v0.4.3 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling num-bigint v0.4.2 [INFO] [stderr] Checking uint v0.9.1 [INFO] [stderr] Checking bitvec v0.20.4 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Checking getrandom v0.2.3 [INFO] [stderr] Checking rand_core v0.6.3 [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/num-integer-0.1.44/src/lib.rs:482:41 [INFO] [stdout] | [INFO] [stdout] 482 | return (1 << shift).abs(); [INFO] [stdout] | ^^^ multiple `abs` found [INFO] [stdout] ... [INFO] [stdout] 791 | impl_integer_for_isize!(i8, test_integer_i8); [INFO] [stdout] | -------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: candidate #1 is defined in an impl for the type `i128` [INFO] [stdout] = note: candidate #2 is defined in an impl for the type `i16` [INFO] [stdout] = note: candidate #3 is defined in an impl for the type `i32` [INFO] [stdout] = note: candidate #4 is defined in an impl for the type `i64` [INFO] [stdout] = note: and 2 others [INFO] [stdout] = note: this error originates in the macro `impl_integer_for_isize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/num-integer-0.1.44/src/lib.rs:482:41 [INFO] [stdout] | [INFO] [stdout] 482 | return (1 << shift).abs(); [INFO] [stdout] | ^^^ multiple `abs` found [INFO] [stdout] ... [INFO] [stdout] 792 | impl_integer_for_isize!(i16, test_integer_i16); [INFO] [stdout] | ---------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: candidate #1 is defined in an impl for the type `i128` [INFO] [stdout] = note: candidate #2 is defined in an impl for the type `i16` [INFO] [stdout] = note: candidate #3 is defined in an impl for the type `i32` [INFO] [stdout] = note: candidate #4 is defined in an impl for the type `i64` [INFO] [stdout] = note: and 2 others [INFO] [stdout] = note: this error originates in the macro `impl_integer_for_isize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/num-integer-0.1.44/src/lib.rs:482:41 [INFO] [stdout] | [INFO] [stdout] 482 | return (1 << shift).abs(); [INFO] [stdout] | ^^^ multiple `abs` found [INFO] [stdout] ... [INFO] [stdout] 793 | impl_integer_for_isize!(i32, test_integer_i32); [INFO] [stdout] | ---------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: candidate #1 is defined in an impl for the type `i128` [INFO] [stdout] = note: candidate #2 is defined in an impl for the type `i16` [INFO] [stdout] = note: candidate #3 is defined in an impl for the type `i32` [INFO] [stdout] = note: candidate #4 is defined in an impl for the type `i64` [INFO] [stdout] = note: and 2 others [INFO] [stdout] = note: this error originates in the macro `impl_integer_for_isize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/num-integer-0.1.44/src/lib.rs:482:41 [INFO] [stdout] | [INFO] [stdout] 482 | return (1 << shift).abs(); [INFO] [stdout] | ^^^ multiple `abs` found [INFO] [stdout] ... [INFO] [stdout] 794 | impl_integer_for_isize!(i64, test_integer_i64); [INFO] [stdout] | ---------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: candidate #1 is defined in an impl for the type `i128` [INFO] [stdout] = note: candidate #2 is defined in an impl for the type `i16` [INFO] [stdout] = note: candidate #3 is defined in an impl for the type `i32` [INFO] [stdout] = note: candidate #4 is defined in an impl for the type `i64` [INFO] [stdout] = note: and 2 others [INFO] [stdout] = note: this error originates in the macro `impl_integer_for_isize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/num-integer-0.1.44/src/lib.rs:482:41 [INFO] [stdout] | [INFO] [stdout] 482 | return (1 << shift).abs(); [INFO] [stdout] | ^^^ multiple `abs` found [INFO] [stdout] ... [INFO] [stdout] 795 | impl_integer_for_isize!(isize, test_integer_isize); [INFO] [stdout] | -------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: candidate #1 is defined in an impl for the type `i128` [INFO] [stdout] = note: candidate #2 is defined in an impl for the type `i16` [INFO] [stdout] = note: candidate #3 is defined in an impl for the type `i32` [INFO] [stdout] = note: candidate #4 is defined in an impl for the type `i64` [INFO] [stdout] = note: and 2 others [INFO] [stdout] = note: this error originates in the macro `impl_integer_for_isize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/num-integer-0.1.44/src/lib.rs:482:41 [INFO] [stdout] | [INFO] [stdout] 482 | return (1 << shift).abs(); [INFO] [stdout] | ^^^ multiple `abs` found [INFO] [stdout] ... [INFO] [stdout] 797 | impl_integer_for_isize!(i128, test_integer_i128); [INFO] [stdout] | ------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: candidate #1 is defined in an impl for the type `i128` [INFO] [stdout] = note: candidate #2 is defined in an impl for the type `i16` [INFO] [stdout] = note: candidate #3 is defined in an impl for the type `i32` [INFO] [stdout] = note: candidate #4 is defined in an impl for the type `i64` [INFO] [stdout] = note: and 2 others [INFO] [stdout] = note: this error originates in the macro `impl_integer_for_isize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0034`. [INFO] [stdout] [INFO] [stderr] error: could not compile `num-integer` (lib) due to 7 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "e4ceaead43b83cdcf333d48142cd73f28d273a9a8b8b1c63ef70f200ce7e38a7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e4ceaead43b83cdcf333d48142cd73f28d273a9a8b8b1c63ef70f200ce7e38a7", kill_on_drop: false }` [INFO] [stdout] e4ceaead43b83cdcf333d48142cd73f28d273a9a8b8b1c63ef70f200ce7e38a7