[INFO] cloning repository https://github.com/drahnr/rs-ec-perf [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/drahnr/rs-ec-perf" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdrahnr%2Frs-ec-perf", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdrahnr%2Frs-ec-perf'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 9c040880f94666f56e79dcabad40ffe1877514dd [INFO] checking drahnr/rs-ec-perf against master#36ecbc94eb6be90bc38b2d0fdd4bfac3f34d9923 for pr-81863 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdrahnr%2Frs-ec-perf" "/workspace/builds/worker-0/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/drahnr/rs-ec-perf on toolchain 36ecbc94eb6be90bc38b2d0fdd4bfac3f34d9923 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+36ecbc94eb6be90bc38b2d0fdd4bfac3f34d9923" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/drahnr/rs-ec-perf [INFO] finished tweaking git repo https://github.com/drahnr/rs-ec-perf [INFO] tweaked toml for git repo https://github.com/drahnr/rs-ec-perf written to /workspace/builds/worker-0/source/Cargo.toml [INFO] crate git repo https://github.com/drahnr/rs-ec-perf already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+36ecbc94eb6be90bc38b2d0fdd4bfac3f34d9923" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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" "rustops/crates-build-env@sha256:21f1ed92105a0ef9b0d27ad8bdeb7f36f9f01ac17fffe3a3f3dc5241fc25d8f4" "/opt/rustwide/cargo-home/bin/cargo" "+36ecbc94eb6be90bc38b2d0fdd4bfac3f34d9923" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0bceae239ea435401c75d3c222cf10aa67b2891a1733855651eb321f9c500868 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "0bceae239ea435401c75d3c222cf10aa67b2891a1733855651eb321f9c500868", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0bceae239ea435401c75d3c222cf10aa67b2891a1733855651eb321f9c500868", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0bceae239ea435401c75d3c222cf10aa67b2891a1733855651eb321f9c500868", kill_on_drop: false }` [INFO] [stdout] 0bceae239ea435401c75d3c222cf10aa67b2891a1733855651eb321f9c500868 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:21f1ed92105a0ef9b0d27ad8bdeb7f36f9f01ac17fffe3a3f3dc5241fc25d8f4" "/opt/rustwide/cargo-home/bin/cargo" "+36ecbc94eb6be90bc38b2d0fdd4bfac3f34d9923" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c972d21710ea45511c4a5c8c1c64ed9968e709dd3cbbfa4b9c6c2d7f2a1dac7b [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "c972d21710ea45511c4a5c8c1c64ed9968e709dd3cbbfa4b9c6c2d7f2a1dac7b", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling const_fn v0.4.5 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling ppv-lite86 v0.2.10 [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Compiling rayon-core v1.9.0 [INFO] [stderr] Checking either v1.6.1 [INFO] [stderr] Compiling fs-err v2.5.0 [INFO] [stderr] Checking byteorder v1.4.2 [INFO] [stderr] Checking smallvec v1.6.1 [INFO] [stderr] Compiling serde_derive v1.0.123 [INFO] [stderr] Checking unicode-width v0.1.8 [INFO] [stderr] Checking iai v0.1.1 [INFO] [stderr] Compiling crossbeam-utils v0.8.1 [INFO] [stderr] Compiling memoffset v0.6.1 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling reed-solomon-erasure v4.0.2 [INFO] [stderr] Compiling rayon v1.5.0 [INFO] [stderr] Compiling libc v0.2.82 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking itertools v0.9.0 [INFO] [stderr] Checking itertools v0.10.0 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Checking regex-automata v0.1.9 [INFO] [stderr] Checking getrandom v0.2.2 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking serde_cbor v0.11.1 [INFO] [stderr] Checking serde_json v1.0.61 [INFO] [stderr] Checking clap v2.33.3 [INFO] [stderr] Checking rand_core v0.6.1 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Checking csv-core v0.1.10 [INFO] [stderr] Checking bstr v0.2.14 [INFO] [stderr] Checking rand_chacha v0.3.0 [INFO] [stderr] Compiling cast v0.2.3 [INFO] [stderr] Compiling quote v1.0.8 [INFO] [stderr] Checking rand v0.8.3 [INFO] [stderr] Checking crossbeam-channel v0.5.0 [INFO] [stderr] Compiling syn v1.0.60 [INFO] [stderr] Checking crossbeam-epoch v0.9.1 [INFO] [stderr] Checking criterion-plot v0.4.3 [INFO] [stderr] Checking tinytemplate v1.2.0 [INFO] [stderr] Checking crossbeam-deque v0.8.0 [INFO] [stderr] Checking csv v1.1.5 [INFO] [stderr] Checking plotters v0.3.0 [INFO] [stderr] Compiling rs-ec-perf v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Compiling thiserror-impl v1.0.23 [INFO] [stderr] Checking thiserror v1.0.23 [INFO] [stdout] warning: unused variable: `offset` [INFO] [stdout] --> src/binaryfield.rs:765:6 [INFO] [stdout] | [INFO] [stdout] 765 | let offset = domain[1]; [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_offset` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/binaryfield.rs:428:8 [INFO] [stdout] | [INFO] [stdout] 428 | for (i, &p_coeff) in p.into_iter().enumerate() { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/binaryfield.rs:470:7 [INFO] [stdout] | [INFO] [stdout] 470 | let mut bpos = b.len() - 1_usize; [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/binaryfield.rs:514:7 [INFO] [stdout] | [INFO] [stdout] 514 | let mut nums = [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: private type `binaryfield::Error` in public interface (error E0446) [INFO] [stdout] --> src/binaryfield.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | pub type Result = std::result::Result; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(private_in_public)]` on by default [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #34537 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `zero` [INFO] [stdout] --> src/binaryfield.rs:39:11 [INFO] [stdout] | [INFO] [stdout] 39 | const fn zero() -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `one` [INFO] [stdout] --> src/binaryfield.rs:44:11 [INFO] [stdout] | [INFO] [stdout] 44 | const fn one() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `log2` [INFO] [stdout] --> src/binaryfield.rs:49:5 [INFO] [stdout] | [INFO] [stdout] 49 | fn log2(&self) -> Element { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `is_power_of_2` [INFO] [stdout] --> src/binaryfield.rs:54:5 [INFO] [stdout] | [INFO] [stdout] 54 | fn is_power_of_2(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `pow_mod` [INFO] [stdout] --> src/binaryfield.rs:58:5 [INFO] [stdout] | [INFO] [stdout] 58 | fn pow_mod(&self, mut exp: Element, modulo: u64) -> Self { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `is_power_of_2` [INFO] [stdout] --> src/binaryfield.rs:259:10 [INFO] [stdout] | [INFO] [stdout] 259 | const fn is_power_of_2(x: u16) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Badpd` [INFO] [stdout] --> src/binaryfield.rs:293:2 [INFO] [stdout] | [INFO] [stdout] 293 | Badpd(Element), [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `BinaryField` [INFO] [stdout] --> src/binaryfield.rs:297:8 [INFO] [stdout] | [INFO] [stdout] 297 | struct BinaryField { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `setup` [INFO] [stdout] --> src/binaryfield.rs:307:5 [INFO] [stdout] | [INFO] [stdout] 307 | fn setup(&mut self) -> Result<()> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/binaryfield.rs:336:9 [INFO] [stdout] | [INFO] [stdout] 336 | pub fn new(pd: Element) -> Result { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `add` [INFO] [stdout] --> src/binaryfield.rs:352:5 [INFO] [stdout] | [INFO] [stdout] 352 | fn add(&self, x: Element, y: Element) -> Element { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `sub` [INFO] [stdout] --> src/binaryfield.rs:356:5 [INFO] [stdout] | [INFO] [stdout] 356 | fn sub(&self, x: Element, y: Element) -> Element { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `mul` [INFO] [stdout] --> src/binaryfield.rs:360:5 [INFO] [stdout] | [INFO] [stdout] 360 | fn mul(&self, x: Element, y: Element) -> Element { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `sqr` [INFO] [stdout] --> src/binaryfield.rs:369:5 [INFO] [stdout] | [INFO] [stdout] 369 | fn sqr(&self, x: Element) -> Element { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `div` [INFO] [stdout] --> src/binaryfield.rs:378:5 [INFO] [stdout] | [INFO] [stdout] 378 | fn div(&self, x: Element, y: Element) -> Element { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `inv` [INFO] [stdout] --> src/binaryfield.rs:387:5 [INFO] [stdout] | [INFO] [stdout] 387 | fn inv(&self, x: Element) -> Element { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `exp` [INFO] [stdout] --> src/binaryfield.rs:393:5 [INFO] [stdout] | [INFO] [stdout] 393 | fn exp(&self, x: Element, p: Element) -> Element { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `multi_inv` [INFO] [stdout] --> src/binaryfield.rs:404:5 [INFO] [stdout] | [INFO] [stdout] 404 | fn multi_inv(&self, values: Vec>) -> Vec { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `div_` [INFO] [stdout] --> src/binaryfield.rs:420:5 [INFO] [stdout] | [INFO] [stdout] 420 | fn div_(&self, x: Element, y: Element) -> Element { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `eval_poly_at` [INFO] [stdout] --> src/binaryfield.rs:425:5 [INFO] [stdout] | [INFO] [stdout] 425 | fn eval_poly_at(&self, p: &[Element], x: Element) -> Element { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `add_polys` [INFO] [stdout] --> src/binaryfield.rs:436:5 [INFO] [stdout] | [INFO] [stdout] 436 | fn add_polys(&self, a: Vec, b: Vec) -> Vec { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `sub_polys` [INFO] [stdout] --> src/binaryfield.rs:448:5 [INFO] [stdout] | [INFO] [stdout] 448 | fn sub_polys(&self, a: Vec, b: Vec) -> Vec { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `mul_by_const` [INFO] [stdout] --> src/binaryfield.rs:452:5 [INFO] [stdout] | [INFO] [stdout] 452 | fn mul_by_const(&self, a: &[Element], c: Element) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `mul_polys` [INFO] [stdout] --> src/binaryfield.rs:456:5 [INFO] [stdout] | [INFO] [stdout] 456 | fn mul_polys(&self, a: Vec, b: Vec) -> Vec { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `div_polys` [INFO] [stdout] --> src/binaryfield.rs:466:5 [INFO] [stdout] | [INFO] [stdout] 466 | fn div_polys(&self, mut a: Vec, b: Vec) -> Vec { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `zpoly` [INFO] [stdout] --> src/binaryfield.rs:485:5 [INFO] [stdout] | [INFO] [stdout] 485 | fn zpoly(&self, xs: &[Element]) -> Vec { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `lagrange_interp` [INFO] [stdout] --> src/binaryfield.rs:506:5 [INFO] [stdout] | [INFO] [stdout] 506 | fn lagrange_interp(&self, xs: Vec, ys: Vec) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `cast` [INFO] [stdout] --> src/binaryfield.rs:552:4 [INFO] [stdout] | [INFO] [stdout] 552 | fn cast(field: &BinaryField, poly: &[Element], k: Element) -> (Vec, Vec) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `compose` [INFO] [stdout] --> src/binaryfield.rs:604:4 [INFO] [stdout] | [INFO] [stdout] 604 | fn compose(field: &BinaryField, poly: &[Element], k: Element) -> Vec { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `fft` [INFO] [stdout] --> src/binaryfield.rs:635:4 [INFO] [stdout] | [INFO] [stdout] 635 | fn fft(field: &BinaryField, domain: &[Element], poly: &[Element]) -> Vec { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `invfft` [INFO] [stdout] --> src/binaryfield.rs:672:4 [INFO] [stdout] | [INFO] [stdout] 672 | fn invfft(field: &BinaryField, domain: &[Element], vals: &[Element]) -> Vec { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static is never used: `SHIFT_POLYS` [INFO] [stdout] --> src/binaryfield.rs:709:1 [INFO] [stdout] | [INFO] [stdout] 709 | / static SHIFT_POLYS: &[&[usize]] = &[ [INFO] [stdout] 710 | | &[], [INFO] [stdout] 711 | | &[1], [INFO] [stdout] 712 | | &[32755, 32755], [INFO] [stdout] ... | [INFO] [stdout] 722 | | &[16440, 34925, 14360, 22561, 43883, 36645, 7613, 26531, 8597, 59502, 61283, 53412], [INFO] [stdout] 723 | | ]; [INFO] [stdout] | |__^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `invfft2` [INFO] [stdout] --> src/binaryfield.rs:725:4 [INFO] [stdout] | [INFO] [stdout] 725 | fn invfft2(field: &BinaryField, vals: &[Element]) -> Vec { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `mul` [INFO] [stdout] --> src/binaryfield.rs:746:4 [INFO] [stdout] | [INFO] [stdout] 746 | fn mul(field: &BinaryField, domain: &[Element], p1: &[Element], p2: &[Element]) -> Vec { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `zpoly` [INFO] [stdout] --> src/binaryfield.rs:756:4 [INFO] [stdout] | [INFO] [stdout] 756 | fn zpoly(field: &BinaryField, xs: Vec) -> Vec { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `shift` [INFO] [stdout] --> src/binaryfield.rs:772:4 [INFO] [stdout] | [INFO] [stdout] 772 | fn shift(field: &BinaryField, poly: &[Element], k: Element) -> Vec { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `interpolate` [INFO] [stdout] --> src/binaryfield.rs:792:4 [INFO] [stdout] | [INFO] [stdout] 792 | fn interpolate(field: &BinaryField, xs: &[Element], vals: &[Element]) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 42 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking criterion v0.3.4 [INFO] [stdout] warning: unused variable: `offset` [INFO] [stdout] --> src/binaryfield.rs:765:6 [INFO] [stdout] | [INFO] [stdout] 765 | let offset = domain[1]; [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_offset` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/binaryfield.rs:428:8 [INFO] [stdout] | [INFO] [stdout] 428 | for (i, &p_coeff) in p.into_iter().enumerate() { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `domain` [INFO] [stdout] --> src/binaryfield.rs:903:7 [INFO] [stdout] | [INFO] [stdout] 903 | let domain = (0_usize..pd).into_iter().map(Element::from).collect::>(); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_domain` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `domain` [INFO] [stdout] --> src/binaryfield.rs:923:7 [INFO] [stdout] | [INFO] [stdout] 923 | let domain = (0_usize..pd).into_iter().map(Element::from).collect::>(); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_domain` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/binaryfield.rs:470:7 [INFO] [stdout] | [INFO] [stdout] 470 | let mut bpos = b.len() - 1_usize; [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/binaryfield.rs:514:7 [INFO] [stdout] | [INFO] [stdout] 514 | let mut nums = [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: private type `binaryfield::Error` in public interface (error E0446) [INFO] [stdout] --> src/binaryfield.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | pub type Result = std::result::Result; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(private_in_public)]` on by default [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #34537 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `is_power_of_2` [INFO] [stdout] --> src/binaryfield.rs:54:5 [INFO] [stdout] | [INFO] [stdout] 54 | fn is_power_of_2(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `add` [INFO] [stdout] --> src/binaryfield.rs:352:5 [INFO] [stdout] | [INFO] [stdout] 352 | fn add(&self, x: Element, y: Element) -> Element { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `sub` [INFO] [stdout] --> src/binaryfield.rs:356:5 [INFO] [stdout] | [INFO] [stdout] 356 | fn sub(&self, x: Element, y: Element) -> Element { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `sqr` [INFO] [stdout] --> src/binaryfield.rs:369:5 [INFO] [stdout] | [INFO] [stdout] 369 | fn sqr(&self, x: Element) -> Element { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `inv` [INFO] [stdout] --> src/binaryfield.rs:387:5 [INFO] [stdout] | [INFO] [stdout] 387 | fn inv(&self, x: Element) -> Element { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `multi_inv` [INFO] [stdout] --> src/binaryfield.rs:404:5 [INFO] [stdout] | [INFO] [stdout] 404 | fn multi_inv(&self, values: Vec>) -> Vec { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `div_` [INFO] [stdout] --> src/binaryfield.rs:420:5 [INFO] [stdout] | [INFO] [stdout] 420 | fn div_(&self, x: Element, y: Element) -> Element { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `add_polys` [INFO] [stdout] --> src/binaryfield.rs:436:5 [INFO] [stdout] | [INFO] [stdout] 436 | fn add_polys(&self, a: Vec, b: Vec) -> Vec { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `sub_polys` [INFO] [stdout] --> src/binaryfield.rs:448:5 [INFO] [stdout] | [INFO] [stdout] 448 | fn sub_polys(&self, a: Vec, b: Vec) -> Vec { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `mul_by_const` [INFO] [stdout] --> src/binaryfield.rs:452:5 [INFO] [stdout] | [INFO] [stdout] 452 | fn mul_by_const(&self, a: &[Element], c: Element) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `mul_polys` [INFO] [stdout] --> src/binaryfield.rs:456:5 [INFO] [stdout] | [INFO] [stdout] 456 | fn mul_polys(&self, a: Vec, b: Vec) -> Vec { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `div_polys` [INFO] [stdout] --> src/binaryfield.rs:466:5 [INFO] [stdout] | [INFO] [stdout] 466 | fn div_polys(&self, mut a: Vec, b: Vec) -> Vec { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `zpoly` [INFO] [stdout] --> src/binaryfield.rs:485:5 [INFO] [stdout] | [INFO] [stdout] 485 | fn zpoly(&self, xs: &[Element]) -> Vec { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `lagrange_interp` [INFO] [stdout] --> src/binaryfield.rs:506:5 [INFO] [stdout] | [INFO] [stdout] 506 | fn lagrange_interp(&self, xs: Vec, ys: Vec) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static is never used: `SHIFT_POLYS` [INFO] [stdout] --> src/binaryfield.rs:709:1 [INFO] [stdout] | [INFO] [stdout] 709 | / static SHIFT_POLYS: &[&[usize]] = &[ [INFO] [stdout] 710 | | &[], [INFO] [stdout] 711 | | &[1], [INFO] [stdout] 712 | | &[32755, 32755], [INFO] [stdout] ... | [INFO] [stdout] 722 | | &[16440, 34925, 14360, 22561, 43883, 36645, 7613, 26531, 8597, 59502, 61283, 53412], [INFO] [stdout] 723 | | ]; [INFO] [stdout] | |__^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `invfft2` [INFO] [stdout] --> src/binaryfield.rs:725:4 [INFO] [stdout] | [INFO] [stdout] 725 | fn invfft2(field: &BinaryField, vals: &[Element]) -> Vec { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 23 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1m 21s [INFO] running `Command { std: "docker" "inspect" "c972d21710ea45511c4a5c8c1c64ed9968e709dd3cbbfa4b9c6c2d7f2a1dac7b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c972d21710ea45511c4a5c8c1c64ed9968e709dd3cbbfa4b9c6c2d7f2a1dac7b", kill_on_drop: false }` [INFO] [stdout] c972d21710ea45511c4a5c8c1c64ed9968e709dd3cbbfa4b9c6c2d7f2a1dac7b