[INFO] cloning repository https://github.com/safinsingh/primitives
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/safinsingh/primitives" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsafinsingh%2Fprimitives", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsafinsingh%2Fprimitives'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] d668630f2efa89f0bd26e0d05e61af5bde24f798
[INFO] checking safinsingh/primitives against master#dc375db7d8df0aa450e622c529147c95eee756f5 for pr-156749
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsafinsingh%2Fprimitives" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'...
[INFO] [stderr] done.
[INFO] removed /workspace/builds/worker-4-tc1/source/rust-toolchain.toml
[INFO] started tweaking git repo https://github.com/safinsingh/primitives
[INFO] finished tweaking git repo https://github.com/safinsingh/primitives
[INFO] tweaked toml for git repo https://github.com/safinsingh/primitives written to /workspace/builds/worker-4-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/safinsingh/primitives on toolchain dc375db7d8df0aa450e622c529147c95eee756f5
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+dc375db7d8df0aa450e622c529147c95eee756f5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/safinsingh/primitives 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" "+dc375db7d8df0aa450e622c529147c95eee756f5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded unicode-ident v1.0.17
[INFO] [stderr]   Downloaded bytemuck v1.21.0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:3e793bdf10248eb2ddbd6b0faebed8155c11b4589982e2893733958d93e8d540" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] f1c10c77c08d43f7908f1f5cae70c5011e8555a3e4d7fa89e620c5d20a51734d
[INFO] running `Command { std: "docker" "start" "f1c10c77c08d43f7908f1f5cae70c5011e8555a3e4d7fa89e620c5d20a51734d", 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" "f1c10c77c08d43f7908f1f5cae70c5011e8555a3e4d7fa89e620c5d20a51734d" "/opt/rustwide/cargo-home/bin/cargo" "+dc375db7d8df0aa450e622c529147c95eee756f5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "f1c10c77c08d43f7908f1f5cae70c5011e8555a3e4d7fa89e620c5d20a51734d", 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" "f1c10c77c08d43f7908f1f5cae70c5011e8555a3e4d7fa89e620c5d20a51734d" "/opt/rustwide/cargo-home/bin/cargo" "+dc375db7d8df0aa450e622c529147c95eee756f5" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]    Compiling proc-macro2 v1.0.93
[INFO] [stderr]    Compiling unicode-ident v1.0.17
[INFO] [stderr]     Checking bytemuck v1.21.0
[INFO] [stderr]     Checking safe_arch v0.7.4
[INFO] [stderr]     Checking wide v0.7.32
[INFO] [stderr]    Compiling quote v1.0.38
[INFO] [stderr]    Compiling syn v2.0.98
[INFO] [stderr]     Checking num-complex v0.4.6
[INFO] [stderr]     Checking num-integer v0.1.46
[INFO] [stderr]     Checking approx v0.5.1
[INFO] [stderr]     Checking num-rational v0.4.2
[INFO] [stderr]     Checking simba v0.9.0
[INFO] [stderr]    Compiling nalgebra-macros v0.2.2
[INFO] [stderr]     Checking nalgebra v0.33.2
[INFO] [stderr]     Checking crypto v0.1.0 (/opt/rustwide/workdir/crypto)
[INFO] [stdout] warning: the feature `generic_const_exprs` is incomplete and may not be safe to use and/or cause compiler crashes
[INFO] [stdout]  --> crypto/src/lib.rs:1:12
[INFO] [stdout]   |
[INFO] [stdout] 1 | #![feature(generic_const_exprs)]
[INFO] [stdout]   |            ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: see issue #76560 <https://github.com/rust-lang/rust/issues/76560> for more information
[INFO] [stdout]   = note: `#[warn(incomplete_features)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `DMatrix`, `DVector`, and `Vector`
[INFO] [stdout]  --> crypto/src/poly.rs:1:16
[INFO] [stdout]   |
[INFO] [stdout] 1 | use nalgebra::{DMatrix, DVector, Vector};
[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: `Gf`
[INFO] [stdout]  --> crypto/src/poly.rs:3:17
[INFO] [stdout]   |
[INFO] [stdout] 3 | use crate::gf::{Gf, GfInt};
[INFO] [stdout]   |                 ^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `collections::HashMap` and `ops::Deref`
[INFO] [stdout]  --> crypto/src/poly.rs:4:11
[INFO] [stdout]   |
[INFO] [stdout] 4 | use std::{collections::HashMap, ops::Deref};
[INFO] [stdout]   |           ^^^^^^^^^^^^^^^^^^^^  ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the feature `generic_const_exprs` is incomplete and may not be safe to use and/or cause compiler crashes
[INFO] [stdout]  --> crypto/src/lib.rs:1:12
[INFO] [stdout]   |
[INFO] [stdout] 1 | #![feature(generic_const_exprs)]
[INFO] [stdout]   |            ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: see issue #76560 <https://github.com/rust-lang/rust/issues/76560> for more information
[INFO] [stdout]   = note: `#[warn(incomplete_features)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `DMatrix`, `DVector`, and `Vector`
[INFO] [stdout]  --> crypto/src/poly.rs:1:16
[INFO] [stdout]   |
[INFO] [stdout] 1 | use nalgebra::{DMatrix, DVector, Vector};
[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: `Gf`
[INFO] [stdout]  --> crypto/src/poly.rs:3:17
[INFO] [stdout]   |
[INFO] [stdout] 3 | use crate::gf::{Gf, GfInt};
[INFO] [stdout]   |                 ^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `collections::HashMap` and `ops::Deref`
[INFO] [stdout]  --> crypto/src/poly.rs:4:11
[INFO] [stdout]   |
[INFO] [stdout] 4 | use std::{collections::HashMap, ops::Deref};
[INFO] [stdout]   |           ^^^^^^^^^^^^^^^^^^^^  ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `rhs`
[INFO] [stdout]    --> crypto/src/gf.rs:127:18
[INFO] [stdout]     |
[INFO] [stdout] 127 |     fn rem(self, rhs: Gf<N>) -> Self::Output {
[INFO] [stdout]     |                  ^^^ help: if this is intentional, prefix it with an underscore: `_rhs`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `a_iter`
[INFO] [stdout]   --> crypto/src/poly.rs:25:13
[INFO] [stdout]    |
[INFO] [stdout] 25 |         let a_iter = values
[INFO] [stdout]    |             ^^^^^^ help: if this is intentional, prefix it with an underscore: `_a_iter`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `x`
[INFO] [stdout]   --> crypto/src/poly.rs:28:13
[INFO] [stdout]    |
[INFO] [stdout] 28 |         let x: Vec<usize> = Vec::with_capacity(N);
[INFO] [stdout]    |             ^ help: if this is intentional, prefix it with an underscore: `_x`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Gf` is never constructed
[INFO] [stdout]  --> crypto/src/gf.rs:8:12
[INFO] [stdout]   |
[INFO] [stdout] 8 | pub struct Gf<const N: usize>;
[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 `int` is never used
[INFO] [stdout]   --> crypto/src/gf.rs:11:12
[INFO] [stdout]    |
[INFO] [stdout] 10 | impl<const N: usize> Gf<N> {
[INFO] [stdout]    | -------------------------- method in this implementation
[INFO] [stdout] 11 |     pub fn int(&self, i: usize) -> GfInt<N> {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `GfInt` is never constructed
[INFO] [stdout]   --> crypto/src/gf.rs:19:12
[INFO] [stdout]    |
[INFO] [stdout] 19 | pub struct GfInt<const N: usize> {
[INFO] [stdout]    |            ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `new_i`, and `pow_mod` are never used
[INFO] [stdout]   --> crypto/src/gf.rs:31:12
[INFO] [stdout]    |
[INFO] [stdout] 30 | impl<const N: usize> GfInt<N> {
[INFO] [stdout]    | ----------------------------- associated items in this implementation
[INFO] [stdout] 31 |     pub fn new(i: usize) -> GfInt<N> {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 35 |     pub fn new_i(i: isize) -> GfInt<N> {
[INFO] [stdout]    |            ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 41 |     pub fn pow_mod(&self, exp: usize) -> GfInt<N> {
[INFO] [stdout]    |            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Poly` is never constructed
[INFO] [stdout]  --> crypto/src/poly.rs:7:12
[INFO] [stdout]   |
[INFO] [stdout] 7 | pub struct Poly<const N: usize, const D: usize> {
[INFO] [stdout]   |            ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `from_values` is never used
[INFO] [stdout]   --> crypto/src/poly.rs:13:12
[INFO] [stdout]    |
[INFO] [stdout] 11 | impl<const N: usize, const D: usize> Poly<N, D> {
[INFO] [stdout]    | ----------------------------------------------- associated function in this implementation
[INFO] [stdout] 12 |     // from (x, y) pairs, where y in GF(N)
[INFO] [stdout] 13 |     pub fn from_values(values: &[(isize, GfInt<N>)]) -> Option<Self> {
[INFO] [stdout]    |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `modulo_i` is never used
[INFO] [stdout]  --> crypto/src/util.rs:2:8
[INFO] [stdout]   |
[INFO] [stdout] 2 | pub fn modulo_i(i: isize, modulo: usize) -> usize {
[INFO] [stdout]   |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `euclidean_div` is never used
[INFO] [stdout]  --> crypto/src/util.rs:9:8
[INFO] [stdout]   |
[INFO] [stdout] 9 | pub fn euclidean_div(u: usize, modulus: usize) -> usize {
[INFO] [stdout]   |        ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `pow_mod` is never used
[INFO] [stdout]   --> crypto/src/util.rs:14:8
[INFO] [stdout]    |
[INFO] [stdout] 14 | pub fn pow_mod(mut base: usize, mut exp: usize, modulus: usize) -> usize {
[INFO] [stdout]    |        ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `egcd` is never used
[INFO] [stdout]   --> crypto/src/util.rs:61:8
[INFO] [stdout]    |
[INFO] [stdout] 61 | pub fn egcd(a: isize, b: isize) -> (isize, isize, isize) {
[INFO] [stdout]    |        ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `mod_inv` is never used
[INFO] [stdout]   --> crypto/src/util.rs:78:8
[INFO] [stdout]    |
[INFO] [stdout] 78 | pub fn mod_inv(i: usize, modulus: usize) -> usize {
[INFO] [stdout]    |        ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `rhs`
[INFO] [stdout]    --> crypto/src/gf.rs:127:18
[INFO] [stdout]     |
[INFO] [stdout] 127 |     fn rem(self, rhs: Gf<N>) -> Self::Output {
[INFO] [stdout]     |                  ^^^ help: if this is intentional, prefix it with an underscore: `_rhs`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `a_iter`
[INFO] [stdout]   --> crypto/src/poly.rs:25:13
[INFO] [stdout]    |
[INFO] [stdout] 25 |         let a_iter = values
[INFO] [stdout]    |             ^^^^^^ help: if this is intentional, prefix it with an underscore: `_a_iter`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `x`
[INFO] [stdout]   --> crypto/src/poly.rs:28:13
[INFO] [stdout]    |
[INFO] [stdout] 28 |         let x: Vec<usize> = Vec::with_capacity(N);
[INFO] [stdout]    |             ^ help: if this is intentional, prefix it with an underscore: `_x`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new_i` and `pow_mod` are never used
[INFO] [stdout]   --> crypto/src/gf.rs:35:12
[INFO] [stdout]    |
[INFO] [stdout] 30 | impl<const N: usize> GfInt<N> {
[INFO] [stdout]    | ----------------------------- associated items in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 35 |     pub fn new_i(i: isize) -> GfInt<N> {
[INFO] [stdout]    |            ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 41 |     pub fn pow_mod(&self, exp: usize) -> GfInt<N> {
[INFO] [stdout]    |            ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Poly` is never constructed
[INFO] [stdout]  --> crypto/src/poly.rs:7:12
[INFO] [stdout]   |
[INFO] [stdout] 7 | pub struct Poly<const N: usize, const D: usize> {
[INFO] [stdout]   |            ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `from_values` is never used
[INFO] [stdout]   --> crypto/src/poly.rs:13:12
[INFO] [stdout]    |
[INFO] [stdout] 11 | impl<const N: usize, const D: usize> Poly<N, D> {
[INFO] [stdout]    | ----------------------------------------------- associated function in this implementation
[INFO] [stdout] 12 |     // from (x, y) pairs, where y in GF(N)
[INFO] [stdout] 13 |     pub fn from_values(values: &[(isize, GfInt<N>)]) -> Option<Self> {
[INFO] [stdout]    |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `pow_mod` is never used
[INFO] [stdout]   --> crypto/src/util.rs:14:8
[INFO] [stdout]    |
[INFO] [stdout] 14 | pub fn pow_mod(mut base: usize, mut exp: usize, modulus: usize) -> usize {
[INFO] [stdout]    |        ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 16.14s
[INFO] running `Command { std: "docker" "inspect" "f1c10c77c08d43f7908f1f5cae70c5011e8555a3e4d7fa89e620c5d20a51734d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "f1c10c77c08d43f7908f1f5cae70c5011e8555a3e4d7fa89e620c5d20a51734d", kill_on_drop: false }`
[INFO] [stdout] f1c10c77c08d43f7908f1f5cae70c5011e8555a3e4d7fa89e620c5d20a51734d
