[INFO] cloning repository https://github.com/elielnfinic/le_krypt [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/elielnfinic/le_krypt" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Felielnfinic%2Fle_krypt", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Felielnfinic%2Fle_krypt'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] ce10ebc8895eabcaf2c0adbf0c968f2123a22237 [INFO] checking elielnfinic/le_krypt/ce10ebc8895eabcaf2c0adbf0c968f2123a22237 against master#f609b7e0586f81fefb3523e3e17adf779ac416be for pr-129466-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Felielnfinic%2Fle_krypt" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/elielnfinic/le_krypt on toolchain f609b7e0586f81fefb3523e3e17adf779ac416be [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/elielnfinic/le_krypt [INFO] finished tweaking git repo https://github.com/elielnfinic/le_krypt [INFO] tweaked toml for git repo https://github.com/elielnfinic/le_krypt written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/elielnfinic/le_krypt 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" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"` [INFO] [stderr] note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest [INFO] [stderr] note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest [INFO] [stderr] note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4bd16bbd16e9e9a4773efe9458c7b9d9d8f8d1f087f24550117630bb02af0482 [INFO] running `Command { std: "docker" "start" "-a" "4bd16bbd16e9e9a4773efe9458c7b9d9d8f8d1f087f24550117630bb02af0482", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4bd16bbd16e9e9a4773efe9458c7b9d9d8f8d1f087f24550117630bb02af0482", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4bd16bbd16e9e9a4773efe9458c7b9d9d8f8d1f087f24550117630bb02af0482", kill_on_drop: false }` [INFO] [stdout] 4bd16bbd16e9e9a4773efe9458c7b9d9d8f8d1f087f24550117630bb02af0482 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1cfdc9d0ec7a803e7311151fc76f7b4299b95c35926ae3d9a849826682ceb02c [INFO] running `Command { std: "docker" "start" "-a" "1cfdc9d0ec7a803e7311151fc76f7b4299b95c35926ae3d9a849826682ceb02c", kill_on_drop: false }` [INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"` [INFO] [stderr] note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest [INFO] [stderr] note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest [INFO] [stderr] note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling autocfg v1.3.0 [INFO] [stderr] Compiling serde v1.0.204 [INFO] [stderr] Checking subtle v2.6.1 [INFO] [stderr] Checking iter-read v0.3.1 [INFO] [stderr] Checking keccak v0.1.5 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling syn v2.0.72 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Checking num-bigint v0.4.6 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking sha3 v0.10.8 [INFO] [stderr] Checking blake2 v0.10.6 [INFO] [stderr] Compiling serde_derive v1.0.204 [INFO] [stderr] Checking field_math v0.1.0 (/opt/rustwide/workdir/field_math) [INFO] [stderr] Checking serde-pickle v1.1.1 [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> field_math/src/lib.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `slice::SliceIndex` [INFO] [stdout] --> field_math/src/field/field_element.rs:2:51 [INFO] [stdout] | [INFO] [stdout] 2 | use std::{ops::{Add, BitXor, Div, Mul, Neg, Sub}, slice::SliceIndex}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Deserialize` [INFO] [stdout] --> field_math/src/field/field_element.rs:3:24 [INFO] [stdout] | [INFO] [stdout] 3 | use serde::{Serialize, Deserialize}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> field_math/src/field/field_element.rs:12:51 [INFO] [stdout] | [INFO] [stdout] 11 | impl<'a> FieldElement<'a> { [INFO] [stdout] | -- lifetime `'a` declared here [INFO] [stdout] 12 | pub fn from(value: i128, field: &'a Field) -> FieldElement { [INFO] [stdout] | ^^^^^^^^^^^^ this elided lifetime gets resolved as `'a` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(elided_named_lifetimes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> field_math/src/lib.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::field::field_element::FieldElement` [INFO] [stdout] --> field_math/src/field/field.rs:101:9 [INFO] [stdout] | [INFO] [stdout] 101 | use crate::field::field_element::FieldElement; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `slice::SliceIndex` [INFO] [stdout] --> field_math/src/field/field_element.rs:2:51 [INFO] [stdout] | [INFO] [stdout] 2 | use std::{ops::{Add, BitXor, Div, Mul, Neg, Sub}, slice::SliceIndex}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Deserialize` [INFO] [stdout] --> field_math/src/field/field_element.rs:3:24 [INFO] [stdout] | [INFO] [stdout] 3 | use serde::{Serialize, Deserialize}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> field_math/src/field/field_element.rs:12:51 [INFO] [stdout] | [INFO] [stdout] 11 | impl<'a> FieldElement<'a> { [INFO] [stdout] | -- lifetime `'a` declared here [INFO] [stdout] 12 | pub fn from(value: i128, field: &'a Field) -> FieldElement { [INFO] [stdout] | ^^^^^^^^^^^^ this elided lifetime gets resolved as `'a` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(elided_named_lifetimes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> field_math/src/poly/uni.rs:69:13 [INFO] [stdout] | [INFO] [stdout] 69 | let mut divisor = rhs.clone(); [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: unused variable: `variable_index` [INFO] [stdout] --> field_math/src/poly/uni.rs:169:40 [INFO] [stdout] | [INFO] [stdout] 169 | fn lift(univariate_poly : Uni<'a>, variable_index : usize) -> MPolynomial<'a>{ [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_variable_index` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> field_math/src/poly/uni.rs:251:13 [INFO] [stdout] | [INFO] [stdout] 251 | let mut divisor = rhs.clone(); [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> field_math/src/poly/uni.rs:273:13 [INFO] [stdout] | [INFO] [stdout] 273 | let mut divisor = rhs.clone(); [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> field_math/src/poly/uni.rs:69:13 [INFO] [stdout] | [INFO] [stdout] 69 | let mut divisor = rhs.clone(); [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: unused variable: `num_variables` [INFO] [stdout] --> field_math/src/poly/multi.rs:161:13 [INFO] [stdout] | [INFO] [stdout] 161 | let num_variables = self.dictionary.keys().next().map_or(0, |k| k.0.len()); [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_num_variables` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> field_math/src/poly/uni.rs:66:8 [INFO] [stdout] | [INFO] [stdout] 15 | impl<'a> Uni<'a>{ [INFO] [stdout] | ---------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 66 | fn true_division(self, rhs: Self) -> (Uni<'a>, Uni<'a>){ [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 84 | fn evaluate(self, x: FieldElement<'a>) -> FieldElement<'a>{ [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 94 | fn evaluate_domain(self, domain: Vec>) -> Vec>{ [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 98 | fn interpolate_domain(domain: Vec>, values: Vec>) -> Uni<'a>{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 114 | fn zerofier_domain(domain: Vec>) -> Uni<'a>{ [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 130 | fn scale(self, scalar: FieldElement<'a>) -> Uni<'a>{ [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 137 | fn test_colinearity(points : Vec<(FieldElement<'a>, FieldElement<'a>)>) -> bool{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 169 | fn lift(univariate_poly : Uni<'a>, variable_index : usize) -> MPolynomial<'a>{ [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `constant`, `is_zero`, `variables`, `evaluate`, and `evaluate_symbolic` are never used [INFO] [stdout] --> field_math/src/poly/multi.rs:24:8 [INFO] [stdout] | [INFO] [stdout] 13 | impl<'a> MPolynomial<'a> { [INFO] [stdout] | ------------------------ associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 24 | fn constant(element: FieldElement<'a>) -> Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 30 | fn is_zero(&self) -> bool { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 42 | fn variables(num_variables: usize, one: FieldElement<'a>) -> Vec { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 60 | fn evaluate(&self, values: &[FieldElement<'a>]) -> FieldElement<'a> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 73 | fn evaluate_symbolic(&self, values: &[FieldElement<'a>]) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `pow` is never used [INFO] [stdout] --> field_math/src/poly/multi.rs:155:8 [INFO] [stdout] | [INFO] [stdout] 154 | impl<'a> MPolynomial<'a> { [INFO] [stdout] | ------------------------ method in this implementation [INFO] [stdout] 155 | fn pow(&self, exponent: u32) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `variable_index` [INFO] [stdout] --> field_math/src/poly/uni.rs:169:40 [INFO] [stdout] | [INFO] [stdout] 169 | fn lift(univariate_poly : Uni<'a>, variable_index : usize) -> MPolynomial<'a>{ [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_variable_index` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> field_math/src/poly/uni.rs:251:13 [INFO] [stdout] | [INFO] [stdout] 251 | let mut divisor = rhs.clone(); [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> field_math/src/poly/uni.rs:273:13 [INFO] [stdout] | [INFO] [stdout] 273 | let mut divisor = rhs.clone(); [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `field` [INFO] [stdout] --> field_math/src/poly/uni.rs:328:13 [INFO] [stdout] | [INFO] [stdout] 328 | let field = Field::new(); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_field` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `num_variables` [INFO] [stdout] --> field_math/src/poly/multi.rs:161:13 [INFO] [stdout] | [INFO] [stdout] 161 | let num_variables = self.dictionary.keys().next().map_or(0, |k| k.0.len()); [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_num_variables` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x3` [INFO] [stdout] --> field_math/src/poly/multi.rs:191:13 [INFO] [stdout] | [INFO] [stdout] 191 | let x3 = x.clone() * x2.clone(); [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_x3` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x5` [INFO] [stdout] --> field_math/src/poly/multi.rs:193:13 [INFO] [stdout] | [INFO] [stdout] 193 | let x5 = x.clone() * x4.clone(); [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_x5` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x7` [INFO] [stdout] --> field_math/src/poly/multi.rs:195:13 [INFO] [stdout] | [INFO] [stdout] 195 | let x7 = x.clone() * x6.clone(); [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_x7` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x9` [INFO] [stdout] --> field_math/src/poly/multi.rs:197:13 [INFO] [stdout] | [INFO] [stdout] 197 | let x9 = x.clone() * x8.clone(); [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_x9` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> field_math/src/poly/uni.rs:66:8 [INFO] [stdout] | [INFO] [stdout] 15 | impl<'a> Uni<'a>{ [INFO] [stdout] | ---------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 66 | fn true_division(self, rhs: Self) -> (Uni<'a>, Uni<'a>){ [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 84 | fn evaluate(self, x: FieldElement<'a>) -> FieldElement<'a>{ [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 94 | fn evaluate_domain(self, domain: Vec>) -> Vec>{ [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 114 | fn zerofier_domain(domain: Vec>) -> Uni<'a>{ [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 130 | fn scale(self, scalar: FieldElement<'a>) -> Uni<'a>{ [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 137 | fn test_colinearity(points : Vec<(FieldElement<'a>, FieldElement<'a>)>) -> bool{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 169 | fn lift(univariate_poly : Uni<'a>, variable_index : usize) -> MPolynomial<'a>{ [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `constant`, `is_zero`, `variables`, and `evaluate_symbolic` are never used [INFO] [stdout] --> field_math/src/poly/multi.rs:24:8 [INFO] [stdout] | [INFO] [stdout] 13 | impl<'a> MPolynomial<'a> { [INFO] [stdout] | ------------------------ associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 24 | fn constant(element: FieldElement<'a>) -> Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 30 | fn is_zero(&self) -> bool { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 42 | fn variables(num_variables: usize, one: FieldElement<'a>) -> Vec { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 73 | fn evaluate_symbolic(&self, values: &[FieldElement<'a>]) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `pow` is never used [INFO] [stdout] --> field_math/src/poly/multi.rs:155:8 [INFO] [stdout] | [INFO] [stdout] 154 | impl<'a> MPolynomial<'a> { [INFO] [stdout] | ------------------------ method in this implementation [INFO] [stdout] 155 | fn pow(&self, exponent: u32) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_polynomial_degree__1` should have a snake case name [INFO] [stdout] --> field_math/src/poly/uni.rs:327:8 [INFO] [stdout] | [INFO] [stdout] 327 | fn get_polynomial_degree__1(){ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `get_polynomial_degree_1` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 19 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking el_stark v0.1.0 (/opt/rustwide/workdir/el_stark) [INFO] [stdout] error: format argument must be a string literal [INFO] [stdout] --> el_stark/src/fri.rs:146:41 [INFO] [stdout] | [INFO] [stdout] 146 | assert!(number <= reduced_size, &error_msg); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: you might be missing a string literal to format with [INFO] [stdout] | [INFO] [stdout] 146 | assert!(number <= reduced_size, "{}", &error_msg); [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: format argument must be a string literal [INFO] [stdout] --> el_stark/src/fri.rs:146:41 [INFO] [stdout] | [INFO] [stdout] 146 | assert!(number <= reduced_size, &error_msg); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: you might be missing a string literal to format with [INFO] [stdout] | [INFO] [stdout] 146 | assert!(number <= reduced_size, "{}", &error_msg); [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `core::hash` [INFO] [stdout] --> el_stark/src/proof_stream.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use core::hash; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `core::hash` [INFO] [stdout] --> el_stark/src/proof_stream.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use core::hash; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0689]: can't call method `to_be_bytes` on ambiguous numeric type `{integer}` [INFO] [stdout] --> el_stark/src/fri.rs:152:88 [INFO] [stdout] | [INFO] [stdout] 152 | let index = Fri::sample_index(Blake2b512::digest(&(seed.clone() + &counter.to_be_bytes().to_vec())), size); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: you must specify a type for this binding, like `i32` [INFO] [stdout] | [INFO] [stdout] 150 | let mut counter: i32 = 0; [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0689]: can't call method `to_be_bytes` on ambiguous numeric type `{integer}` [INFO] [stdout] --> el_stark/src/fri.rs:152:88 [INFO] [stdout] | [INFO] [stdout] 152 | let index = Fri::sample_index(Blake2b512::digest(&(seed.clone() + &counter.to_be_bytes().to_vec())), size); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: you must specify a type for this binding, like `i32` [INFO] [stdout] | [INFO] [stdout] 150 | let mut counter: i32 = 0; [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> el_stark/src/fri.rs:152:43 [INFO] [stdout] | [INFO] [stdout] 152 | let index = Fri::sample_index(Blake2b512::digest(&(seed.clone() + &counter.to_be_bytes().to_vec())), size); [INFO] [stdout] | ----------------- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^- help: try using a conversion method: `.to_vec()` [INFO] [stdout] | | | [INFO] [stdout] | | expected `Vec`, found `GenericArray>` [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Vec` [INFO] [stdout] found struct `GenericArray, B0>, B0>, B0>, B0>, B0>, B0>>` [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> el_stark/src/fri.rs:135:12 [INFO] [stdout] | [INFO] [stdout] 135 | pub fn sample_index(byte_array: Vec, size: usize) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^ ------------------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> el_stark/src/fri.rs:152:43 [INFO] [stdout] | [INFO] [stdout] 152 | let index = Fri::sample_index(Blake2b512::digest(&(seed.clone() + &counter.to_be_bytes().to_vec())), size); [INFO] [stdout] | ----------------- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^- help: try using a conversion method: `.to_vec()` [INFO] [stdout] | | | [INFO] [stdout] | | expected `Vec`, found `GenericArray>` [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Vec` [INFO] [stdout] found struct `GenericArray, B0>, B0>, B0>, B0>, B0>, B0>>` [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> el_stark/src/fri.rs:135:12 [INFO] [stdout] | [INFO] [stdout] 135 | pub fn sample_index(byte_array: Vec, size: usize) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^ ------------------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `FieldElement<'_>: Deserialize<'_>` is not satisfied [INFO] [stdout] --> el_stark/src/fri.rs:176:61 [INFO] [stdout] | [INFO] [stdout] 176 | let last_codeword: Vec = proof_stream.pull(); [INFO] [stdout] | ^^^^ the trait `Deserialize<'_>` is not implemented for `FieldElement<'_>`, which is required by `for<'de> Vec>: Deserialize<'de>` [INFO] [stdout] | [INFO] [stdout] = note: for local types consider adding `#[derive(serde::Deserialize)]` to your `FieldElement<'_>` type [INFO] [stdout] = note: for types from other crates check whether the crate offers a `serde` feature flag [INFO] [stdout] = help: the following other types implement trait `Deserialize<'de>`: [INFO] [stdout] &'a Path [INFO] [stdout] &'a [u8] [INFO] [stdout] &'a str [INFO] [stdout] () [INFO] [stdout] (T,) [INFO] [stdout] (T0, T1) [INFO] [stdout] (T0, T1, T2) [INFO] [stdout] (T0, T1, T2, T3) [INFO] [stdout] and 142 others [INFO] [stdout] = note: required for `Vec>` to implement `for<'de> Deserialize<'de>` [INFO] [stdout] note: required by a bound in `ProofStream::pull` [INFO] [stdout] --> el_stark/src/proof_stream.rs:25:20 [INFO] [stdout] | [INFO] [stdout] 25 | pub fn pull Deserialize<'de>>(&mut self) -> T { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `ProofStream::pull` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `FieldElement<'_>: Deserialize<'_>` is not satisfied [INFO] [stdout] --> el_stark/src/fri.rs:176:61 [INFO] [stdout] | [INFO] [stdout] 176 | let last_codeword: Vec = proof_stream.pull(); [INFO] [stdout] | ^^^^ the trait `Deserialize<'_>` is not implemented for `FieldElement<'_>`, which is required by `for<'de> Vec>: Deserialize<'de>` [INFO] [stdout] | [INFO] [stdout] = note: for local types consider adding `#[derive(serde::Deserialize)]` to your `FieldElement<'_>` type [INFO] [stdout] = note: for types from other crates check whether the crate offers a `serde` feature flag [INFO] [stdout] = help: the following other types implement trait `Deserialize<'de>`: [INFO] [stdout] &'a Path [INFO] [stdout] &'a [u8] [INFO] [stdout] &'a str [INFO] [stdout] () [INFO] [stdout] (T,) [INFO] [stdout] (T0, T1) [INFO] [stdout] (T0, T1, T2) [INFO] [stdout] (T0, T1, T2, T3) [INFO] [stdout] and 142 others [INFO] [stdout] = note: required for `Vec>` to implement `for<'de> Deserialize<'de>` [INFO] [stdout] note: required by a bound in `ProofStream::pull` [INFO] [stdout] --> el_stark/src/proof_stream.rs:25:20 [INFO] [stdout] | [INFO] [stdout] 25 | pub fn pull Deserialize<'de>>(&mut self) -> T { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `ProofStream::pull` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Polynomial` [INFO] [stdout] --> el_stark/src/fri.rs:198:20 [INFO] [stdout] | [INFO] [stdout] 198 | let poly = Polynomial::interpolate_domain(&last_domain, &last_codeword); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `Polynomial` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Polynomial` [INFO] [stdout] --> el_stark/src/fri.rs:198:20 [INFO] [stdout] | [INFO] [stdout] 198 | let poly = Polynomial::interpolate_domain(&last_domain, &last_codeword); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `Polynomial` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this method takes 1 argument but 0 arguments were supplied [INFO] [stdout] --> el_stark/src/fri.rs:210:26 [INFO] [stdout] | [INFO] [stdout] 210 | proof_stream.verifier_fiat_shamir(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^-- argument #1 of type `usize` is missing [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> el_stark/src/proof_stream.rs:50:12 [INFO] [stdout] | [INFO] [stdout] 50 | pub fn verifier_fiat_shamir(&self, num_bytes: usize) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ ---------------- [INFO] [stdout] help: provide the argument [INFO] [stdout] | [INFO] [stdout] 210 | proof_stream.verifier_fiat_shamir(/* usize */), [INFO] [stdout] | ~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this method takes 1 argument but 0 arguments were supplied [INFO] [stdout] --> el_stark/src/fri.rs:210:26 [INFO] [stdout] | [INFO] [stdout] 210 | proof_stream.verifier_fiat_shamir(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^-- argument #1 of type `usize` is missing [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> el_stark/src/proof_stream.rs:50:12 [INFO] [stdout] | [INFO] [stdout] 50 | pub fn verifier_fiat_shamir(&self, num_bytes: usize) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ ---------------- [INFO] [stdout] help: provide the argument [INFO] [stdout] | [INFO] [stdout] 210 | proof_stream.verifier_fiat_shamir(/* usize */), [INFO] [stdout] | ~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `test_colinearity` in this scope [INFO] [stdout] --> el_stark/src/fri.rs:247:21 [INFO] [stdout] | [INFO] [stdout] 247 | if !test_colinearity(&[(ax, ay.clone()), (bx, by.clone()), (cx, cy.clone())]) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `test_colinearity` in this scope [INFO] [stdout] --> el_stark/src/fri.rs:247:21 [INFO] [stdout] | [INFO] [stdout] 247 | if !test_colinearity(&[(ax, ay.clone()), (bx, by.clone()), (cx, cy.clone())]) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `for<'de> [u8]: Deserialize<'de>` is not satisfied [INFO] [stdout] --> el_stark/src/fri.rs:172:37 [INFO] [stdout] | [INFO] [stdout] 172 | roots.push(proof_stream.pull()); [INFO] [stdout] | ^^^^ the trait `for<'de> Deserialize<'de>` is not implemented for `[u8]` [INFO] [stdout] | [INFO] [stdout] = note: for local types consider adding `#[derive(serde::Deserialize)]` to your `[u8]` type [INFO] [stdout] = note: for types from other crates check whether the crate offers a `serde` feature flag [INFO] [stdout] = help: the trait `Deserialize<'_>` is implemented for `&[u8]` [INFO] [stdout] = help: for that trait implementation, expected `&[u8]`, found `[u8]` [INFO] [stdout] note: required by a bound in `ProofStream::pull` [INFO] [stdout] --> el_stark/src/proof_stream.rs:25:20 [INFO] [stdout] | [INFO] [stdout] 25 | pub fn pull Deserialize<'de>>(&mut self) -> T { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `ProofStream::pull` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `for<'de> [u8]: Deserialize<'de>` is not satisfied [INFO] [stdout] --> el_stark/src/fri.rs:172:37 [INFO] [stdout] | [INFO] [stdout] 172 | roots.push(proof_stream.pull()); [INFO] [stdout] | ^^^^ the trait `for<'de> Deserialize<'de>` is not implemented for `[u8]` [INFO] [stdout] | [INFO] [stdout] = note: for local types consider adding `#[derive(serde::Deserialize)]` to your `[u8]` type [INFO] [stdout] = note: for types from other crates check whether the crate offers a `serde` feature flag [INFO] [stdout] = help: the trait `Deserialize<'_>` is implemented for `&[u8]` [INFO] [stdout] = help: for that trait implementation, expected `&[u8]`, found `[u8]` [INFO] [stdout] note: required by a bound in `ProofStream::pull` [INFO] [stdout] --> el_stark/src/proof_stream.rs:25:20 [INFO] [stdout] | [INFO] [stdout] 25 | pub fn pull Deserialize<'de>>(&mut self) -> T { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `ProofStream::pull` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `[u8]` cannot be known at compilation time [INFO] [stdout] --> el_stark/src/fri.rs:172:19 [INFO] [stdout] | [INFO] [stdout] 172 | roots.push(proof_stream.pull()); [INFO] [stdout] | ^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sized` is not implemented for `[u8]` [INFO] [stdout] note: required by a bound in `Vec::::push` [INFO] [stdout] --> /rustc/f609b7e0586f81fefb3523e3e17adf779ac416be/library/alloc/src/vec/mod.rs:2298:5 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `[u8]` cannot be known at compilation time [INFO] [stdout] --> el_stark/src/fri.rs:178:12 [INFO] [stdout] | [INFO] [stdout] 178 | if roots.last().unwrap() != &Merkle::commit(&last_codeword.iter().map(|x| x.to_bytes()).collect::>()) { [INFO] [stdout] | ^^^^^^^^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sized` is not implemented for `[u8]`, which is required by `Vec<_>: Deref` [INFO] [stdout] = note: required for `Vec<[u8]>` to implement `Deref` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `[u8]` cannot be known at compilation time [INFO] [stdout] --> el_stark/src/fri.rs:172:19 [INFO] [stdout] | [INFO] [stdout] 172 | roots.push(proof_stream.pull()); [INFO] [stdout] | ^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sized` is not implemented for `[u8]` [INFO] [stdout] note: required by a bound in `Vec::::push` [INFO] [stdout] --> /rustc/f609b7e0586f81fefb3523e3e17adf779ac416be/library/alloc/src/vec/mod.rs:2298:5 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `[u8]` cannot be known at compilation time [INFO] [stdout] --> el_stark/src/fri.rs:178:12 [INFO] [stdout] | [INFO] [stdout] 178 | if roots.last().unwrap() != &Merkle::commit(&last_codeword.iter().map(|x| x.to_bytes()).collect::>()) { [INFO] [stdout] | ^^^^^^^^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sized` is not implemented for `[u8]`, which is required by `Vec<_>: Deref` [INFO] [stdout] = note: required for `Vec<[u8]>` to implement `Deref` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `[u8]` cannot be known at compilation time [INFO] [stdout] --> el_stark/src/fri.rs:178:18 [INFO] [stdout] | [INFO] [stdout] 178 | if roots.last().unwrap() != &Merkle::commit(&last_codeword.iter().map(|x| x.to_bytes()).collect::>()) { [INFO] [stdout] | ^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sized` is not implemented for `[u8]` [INFO] [stdout] note: required by a bound in `core::slice::::last` [INFO] [stdout] --> /rustc/f609b7e0586f81fefb3523e3e17adf779ac416be/library/core/src/slice/mod.rs:281:5 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `[u8]` cannot be known at compilation time [INFO] [stdout] --> el_stark/src/fri.rs:178:18 [INFO] [stdout] | [INFO] [stdout] 178 | if roots.last().unwrap() != &Merkle::commit(&last_codeword.iter().map(|x| x.to_bytes()).collect::>()) { [INFO] [stdout] | ^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sized` is not implemented for `[u8]` [INFO] [stdout] note: required by a bound in `core::slice::::last` [INFO] [stdout] --> /rustc/f609b7e0586f81fefb3523e3e17adf779ac416be/library/core/src/slice/mod.rs:281:5 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `[u8]` cannot be known at compilation time [INFO] [stdout] --> el_stark/src/fri.rs:255:37 [INFO] [stdout] | [INFO] [stdout] 255 | if !Merkle::verify(&roots[r], a_indices[i], path, aa[i].clone()) { [INFO] [stdout] | ^^^^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sized` is not implemented for `[u8]`, which is required by `Vec<_>: Index<_>` [INFO] [stdout] = note: required for `Vec<[u8]>` to implement `Index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `[u8]` cannot be known at compilation time [INFO] [stdout] --> el_stark/src/fri.rs:255:37 [INFO] [stdout] | [INFO] [stdout] 255 | if !Merkle::verify(&roots[r], a_indices[i], path, aa[i].clone()) { [INFO] [stdout] | ^^^^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sized` is not implemented for `[u8]`, which is required by `Vec<_>: Index<_>` [INFO] [stdout] = note: required for `Vec<[u8]>` to implement `Index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `[u8]` cannot be known at compilation time [INFO] [stdout] --> el_stark/src/fri.rs:168:25 [INFO] [stdout] | [INFO] [stdout] 168 | let mut roots = Vec::new(); [INFO] [stdout] | ^^^^^^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sized` is not implemented for `[u8]` [INFO] [stdout] note: required by a bound in `Vec::::new` [INFO] [stdout] --> /rustc/f609b7e0586f81fefb3523e3e17adf779ac416be/library/alloc/src/vec/mod.rs:421:5 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `[u8]` cannot be known at compilation time [INFO] [stdout] --> el_stark/src/fri.rs:168:25 [INFO] [stdout] | [INFO] [stdout] 168 | let mut roots = Vec::new(); [INFO] [stdout] | ^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sized` is not implemented for `[u8]` [INFO] [stdout] note: required by an implicit `Sized` bound in `Vec` [INFO] [stdout] --> /rustc/f609b7e0586f81fefb3523e3e17adf779ac416be/library/alloc/src/vec/mod.rs:397:1 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `[u8]` cannot be known at compilation time [INFO] [stdout] --> el_stark/src/fri.rs:168:25 [INFO] [stdout] | [INFO] [stdout] 168 | let mut roots = Vec::new(); [INFO] [stdout] | ^^^^^^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sized` is not implemented for `[u8]` [INFO] [stdout] note: required by a bound in `Vec::::new` [INFO] [stdout] --> /rustc/f609b7e0586f81fefb3523e3e17adf779ac416be/library/alloc/src/vec/mod.rs:421:5 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `[u8]` cannot be known at compilation time [INFO] [stdout] --> el_stark/src/fri.rs:168:25 [INFO] [stdout] | [INFO] [stdout] 168 | let mut roots = Vec::new(); [INFO] [stdout] | ^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sized` is not implemented for `[u8]` [INFO] [stdout] note: required by an implicit `Sized` bound in `Vec` [INFO] [stdout] --> /rustc/f609b7e0586f81fefb3523e3e17adf779ac416be/library/alloc/src/vec/mod.rs:397:1 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `for<'de> &[Vec]: Deserialize<'de>` is not satisfied [INFO] [stdout] --> el_stark/src/fri.rs:254:41 [INFO] [stdout] | [INFO] [stdout] 254 | let path = proof_stream.pull(); [INFO] [stdout] | ^^^^ the trait `for<'de> Deserialize<'de>` is not implemented for `&[Vec]` [INFO] [stdout] | [INFO] [stdout] = note: for local types consider adding `#[derive(serde::Deserialize)]` to your `&[Vec]` type [INFO] [stdout] = note: for types from other crates check whether the crate offers a `serde` feature flag [INFO] [stdout] = help: the following other types implement trait `Deserialize<'de>`: [INFO] [stdout] &'a [u8] [INFO] [stdout] [T; 0] [INFO] [stdout] [T; 10] [INFO] [stdout] [T; 11] [INFO] [stdout] [T; 12] [INFO] [stdout] [T; 13] [INFO] [stdout] [T; 14] [INFO] [stdout] [T; 15] [INFO] [stdout] and 26 others [INFO] [stdout] note: required by a bound in `ProofStream::pull` [INFO] [stdout] --> el_stark/src/proof_stream.rs:25:20 [INFO] [stdout] | [INFO] [stdout] 25 | pub fn pull Deserialize<'de>>(&mut self) -> T { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `ProofStream::pull` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `[u8]` cannot be known at compilation time [INFO] [stdout] --> el_stark/src/fri.rs:260:37 [INFO] [stdout] | [INFO] [stdout] 260 | if !Merkle::verify(&roots[r], b_indices[i], path, bb[i].clone()) { [INFO] [stdout] | ^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sized` is not implemented for `[u8]`, which is required by `Vec<_, _>: Index<_>` [INFO] [stdout] = note: required for `Vec<[u8]>` to implement `Index<_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `for<'de> &[Vec]: Deserialize<'de>` is not satisfied [INFO] [stdout] --> el_stark/src/fri.rs:254:41 [INFO] [stdout] | [INFO] [stdout] 254 | let path = proof_stream.pull(); [INFO] [stdout] | ^^^^ the trait `for<'de> Deserialize<'de>` is not implemented for `&[Vec]` [INFO] [stdout] | [INFO] [stdout] = note: for local types consider adding `#[derive(serde::Deserialize)]` to your `&[Vec]` type [INFO] [stdout] = note: for types from other crates check whether the crate offers a `serde` feature flag [INFO] [stdout] = help: the following other types implement trait `Deserialize<'de>`: [INFO] [stdout] &'a [u8] [INFO] [stdout] [T; 0] [INFO] [stdout] [T; 10] [INFO] [stdout] [T; 11] [INFO] [stdout] [T; 12] [INFO] [stdout] [T; 13] [INFO] [stdout] [T; 14] [INFO] [stdout] [T; 15] [INFO] [stdout] and 26 others [INFO] [stdout] note: required by a bound in `ProofStream::pull` [INFO] [stdout] --> el_stark/src/proof_stream.rs:25:20 [INFO] [stdout] | [INFO] [stdout] 25 | pub fn pull Deserialize<'de>>(&mut self) -> T { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `ProofStream::pull` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `[u8]` cannot be known at compilation time [INFO] [stdout] --> el_stark/src/fri.rs:260:37 [INFO] [stdout] | [INFO] [stdout] 260 | if !Merkle::verify(&roots[r], b_indices[i], path, bb[i].clone()) { [INFO] [stdout] | ^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sized` is not implemented for `[u8]`, which is required by `Vec<_, _>: Index<_>` [INFO] [stdout] = note: required for `Vec<[u8]>` to implement `Index<_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `for<'de> &[Vec]: Deserialize<'de>` is not satisfied [INFO] [stdout] --> el_stark/src/fri.rs:259:41 [INFO] [stdout] | [INFO] [stdout] 259 | let path = proof_stream.pull(); [INFO] [stdout] | ^^^^ the trait `for<'de> Deserialize<'de>` is not implemented for `&[Vec]` [INFO] [stdout] | [INFO] [stdout] = note: for local types consider adding `#[derive(serde::Deserialize)]` to your `&[Vec]` type [INFO] [stdout] = note: for types from other crates check whether the crate offers a `serde` feature flag [INFO] [stdout] = help: the following other types implement trait `Deserialize<'de>`: [INFO] [stdout] &'a [u8] [INFO] [stdout] [T; 0] [INFO] [stdout] [T; 10] [INFO] [stdout] [T; 11] [INFO] [stdout] [T; 12] [INFO] [stdout] [T; 13] [INFO] [stdout] [T; 14] [INFO] [stdout] [T; 15] [INFO] [stdout] and 26 others [INFO] [stdout] note: required by a bound in `ProofStream::pull` [INFO] [stdout] --> el_stark/src/proof_stream.rs:25:20 [INFO] [stdout] | [INFO] [stdout] 25 | pub fn pull Deserialize<'de>>(&mut self) -> T { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `ProofStream::pull` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `[u8]` cannot be known at compilation time [INFO] [stdout] --> el_stark/src/fri.rs:265:37 [INFO] [stdout] | [INFO] [stdout] 265 | if !Merkle::verify(&roots[r + 1], c_indices[i], path, cc[i].clone()) { [INFO] [stdout] | ^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sized` is not implemented for `[u8]`, which is required by `Vec<_, _>: Index<_>` [INFO] [stdout] = note: required for `Vec<[u8]>` to implement `Index<_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `for<'de> &[Vec]: Deserialize<'de>` is not satisfied [INFO] [stdout] --> el_stark/src/fri.rs:259:41 [INFO] [stdout] | [INFO] [stdout] 259 | let path = proof_stream.pull(); [INFO] [stdout] | ^^^^ the trait `for<'de> Deserialize<'de>` is not implemented for `&[Vec]` [INFO] [stdout] | [INFO] [stdout] = note: for local types consider adding `#[derive(serde::Deserialize)]` to your `&[Vec]` type [INFO] [stdout] = note: for types from other crates check whether the crate offers a `serde` feature flag [INFO] [stdout] = help: the following other types implement trait `Deserialize<'de>`: [INFO] [stdout] &'a [u8] [INFO] [stdout] [T; 0] [INFO] [stdout] [T; 10] [INFO] [stdout] [T; 11] [INFO] [stdout] [T; 12] [INFO] [stdout] [T; 13] [INFO] [stdout] [T; 14] [INFO] [stdout] [T; 15] [INFO] [stdout] and 26 others [INFO] [stdout] note: required by a bound in `ProofStream::pull` [INFO] [stdout] --> el_stark/src/proof_stream.rs:25:20 [INFO] [stdout] | [INFO] [stdout] 25 | pub fn pull Deserialize<'de>>(&mut self) -> T { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `ProofStream::pull` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `[u8]` cannot be known at compilation time [INFO] [stdout] --> el_stark/src/fri.rs:265:37 [INFO] [stdout] | [INFO] [stdout] 265 | if !Merkle::verify(&roots[r + 1], c_indices[i], path, cc[i].clone()) { [INFO] [stdout] | ^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sized` is not implemented for `[u8]`, which is required by `Vec<_, _>: Index<_>` [INFO] [stdout] = note: required for `Vec<[u8]>` to implement `Index<_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `for<'de> &[Vec]: Deserialize<'de>` is not satisfied [INFO] [stdout] --> el_stark/src/fri.rs:264:41 [INFO] [stdout] | [INFO] [stdout] 264 | let path = proof_stream.pull(); [INFO] [stdout] | ^^^^ the trait `for<'de> Deserialize<'de>` is not implemented for `&[Vec]` [INFO] [stdout] | [INFO] [stdout] = note: for local types consider adding `#[derive(serde::Deserialize)]` to your `&[Vec]` type [INFO] [stdout] = note: for types from other crates check whether the crate offers a `serde` feature flag [INFO] [stdout] = help: the following other types implement trait `Deserialize<'de>`: [INFO] [stdout] &'a [u8] [INFO] [stdout] [T; 0] [INFO] [stdout] [T; 10] [INFO] [stdout] [T; 11] [INFO] [stdout] [T; 12] [INFO] [stdout] [T; 13] [INFO] [stdout] [T; 14] [INFO] [stdout] [T; 15] [INFO] [stdout] and 26 others [INFO] [stdout] note: required by a bound in `ProofStream::pull` [INFO] [stdout] --> el_stark/src/proof_stream.rs:25:20 [INFO] [stdout] | [INFO] [stdout] 25 | pub fn pull Deserialize<'de>>(&mut self) -> T { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `ProofStream::pull` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `for<'de> &[Vec]: Deserialize<'de>` is not satisfied [INFO] [stdout] --> el_stark/src/fri.rs:264:41 [INFO] [stdout] | [INFO] [stdout] 264 | let path = proof_stream.pull(); [INFO] [stdout] | ^^^^ the trait `for<'de> Deserialize<'de>` is not implemented for `&[Vec]` [INFO] [stdout] | [INFO] [stdout] = note: for local types consider adding `#[derive(serde::Deserialize)]` to your `&[Vec]` type [INFO] [stdout] = note: for types from other crates check whether the crate offers a `serde` feature flag [INFO] [stdout] = help: the following other types implement trait `Deserialize<'de>`: [INFO] [stdout] &'a [u8] [INFO] [stdout] [T; 0] [INFO] [stdout] [T; 10] [INFO] [stdout] [T; 11] [INFO] [stdout] [T; 12] [INFO] [stdout] [T; 13] [INFO] [stdout] [T; 14] [INFO] [stdout] [T; 15] [INFO] [stdout] and 26 others [INFO] [stdout] note: required by a bound in `ProofStream::pull` [INFO] [stdout] --> el_stark/src/proof_stream.rs:25:20 [INFO] [stdout] | [INFO] [stdout] 25 | pub fn pull Deserialize<'de>>(&mut self) -> T { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `ProofStream::pull` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i_i128` [INFO] [stdout] --> el_stark/src/fri.rs:93:25 [INFO] [stdout] | [INFO] [stdout] 93 | let i_i128 = i as i128; [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_i_i128` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `alpha_omega_i_inv` [INFO] [stdout] --> el_stark/src/fri.rs:97:25 [INFO] [stdout] | [INFO] [stdout] 97 | let alpha_omega_i_inv = alpha_omega_i.clone().inverse(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_alpha_omega_i_inv` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i_i128` [INFO] [stdout] --> el_stark/src/fri.rs:93:25 [INFO] [stdout] | [INFO] [stdout] 93 | let i_i128 = i as i128; [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_i_i128` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `alpha_omega_i_inv` [INFO] [stdout] --> el_stark/src/fri.rs:97:25 [INFO] [stdout] | [INFO] [stdout] 97 | let alpha_omega_i_inv = alpha_omega_i.clone().inverse(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_alpha_omega_i_inv` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 19 previous errors; 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0061, E0277, E0308, E0425, E0433, E0689. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0061`. [INFO] [stdout] [INFO] [stderr] error: could not compile `el_stark` (bin "el_stark") due to 20 previous errors; 3 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 19 previous errors; 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0061, E0277, E0308, E0425, E0433, E0689. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0061`. [INFO] [stdout] [INFO] [stderr] error: could not compile `el_stark` (bin "el_stark" test) due to 20 previous errors; 3 warnings emitted [INFO] running `Command { std: "docker" "inspect" "1cfdc9d0ec7a803e7311151fc76f7b4299b95c35926ae3d9a849826682ceb02c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1cfdc9d0ec7a803e7311151fc76f7b4299b95c35926ae3d9a849826682ceb02c", kill_on_drop: false }` [INFO] [stdout] 1cfdc9d0ec7a803e7311151fc76f7b4299b95c35926ae3d9a849826682ceb02c