[INFO] cloning repository https://github.com/ThaaoBlues/kibeurre [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ThaaoBlues/kibeurre" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FThaaoBlues%2Fkibeurre", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FThaaoBlues%2Fkibeurre'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 28346161256c7c26549130937d3a35eed0b21132 [INFO] checking ThaaoBlues/kibeurre against master#9e293ae9f8abecb0be5105787d181518c9012a19 for pr-146440-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FThaaoBlues%2Fkibeurre" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/ThaaoBlues/kibeurre [INFO] finished tweaking git repo https://github.com/ThaaoBlues/kibeurre [INFO] tweaked toml for git repo https://github.com/ThaaoBlues/kibeurre written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/ThaaoBlues/kibeurre on toolchain 9e293ae9f8abecb0be5105787d181518c9012a19 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9e293ae9f8abecb0be5105787d181518c9012a19" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/ThaaoBlues/kibeurre 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" "+9e293ae9f8abecb0be5105787d181518c9012a19" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+9e293ae9f8abecb0be5105787d181518c9012a19" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e27481f96a25bc8085fc322b7f25c9fdf5a10ea174c7d18193651cdcacf49d05 [INFO] running `Command { std: "docker" "start" "-a" "e27481f96a25bc8085fc322b7f25c9fdf5a10ea174c7d18193651cdcacf49d05", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e27481f96a25bc8085fc322b7f25c9fdf5a10ea174c7d18193651cdcacf49d05", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e27481f96a25bc8085fc322b7f25c9fdf5a10ea174c7d18193651cdcacf49d05", kill_on_drop: false }` [INFO] [stdout] e27481f96a25bc8085fc322b7f25c9fdf5a10ea174c7d18193651cdcacf49d05 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+9e293ae9f8abecb0be5105787d181518c9012a19" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] bf1f47ae63cf30b38cc573ffe91974df1e9d6c3ff368b1b41dea05732a3c5a65 [INFO] running `Command { std: "docker" "start" "-a" "bf1f47ae63cf30b38cc573ffe91974df1e9d6c3ff368b1b41dea05732a3c5a65", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.186 [INFO] [stderr] Checking getrandom v0.4.2 [INFO] [stderr] Checking rand v0.10.1 [INFO] [stderr] Checking kibeurre v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/math_utils.rs:259:11 [INFO] [stdout] | [INFO] [stdout] 259 | if(u < self.q){ [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 259 - if(u < self.q){ [INFO] [stdout] 259 + if u < self.q { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `while` condition [INFO] [stdout] --> src/math_utils.rs:325:11 [INFO] [stdout] | [INFO] [stdout] 325 | while (r != 1) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 325 - while (r != 1) { [INFO] [stdout] 325 + while r != 1 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/math_utils.rs:259:11 [INFO] [stdout] | [INFO] [stdout] 259 | if(u < self.q){ [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 259 - if(u < self.q){ [INFO] [stdout] 259 + if u < self.q { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `while` condition [INFO] [stdout] --> src/math_utils.rs:325:11 [INFO] [stdout] | [INFO] [stdout] 325 | while (r != 1) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 325 - while (r != 1) { [INFO] [stdout] 325 + while r != 1 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rand::prelude` [INFO] [stdout] --> src/math_utils.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use rand::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `r_1` is never read [INFO] [stdout] --> src/math_utils.rs:312:25 [INFO] [stdout] | [INFO] [stdout] 312 | let mut r_1 : i32 = 0; [INFO] [stdout] | ^ this value is reassigned later and never used [INFO] [stdout] ... [INFO] [stdout] 327 | r_1 = r; [INFO] [stdout] | ------- `r_1` is overwritten here before the previous value is read [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `tmp` is never read [INFO] [stdout] --> src/math_utils.rs:324:19 [INFO] [stdout] | [INFO] [stdout] 324 | let mut tmp = 0; [INFO] [stdout] | ^ this value is reassigned later and never used [INFO] [stdout] ... [INFO] [stdout] 330 | tmp = u; [INFO] [stdout] | ------- `tmp` is overwritten here before the previous value is read [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `m` is never read [INFO] [stdout] --> src/math_utils.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct Vector { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 7 | pub c : [i32;VECTOR_SIZE], [INFO] [stdout] 8 | m : i32 [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `Vector` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `size`, `add`, `dot`, `get_odd_indexes`, and `get_even_indexes` are never used [INFO] [stdout] --> src/math_utils.rs:17:8 [INFO] [stdout] | [INFO] [stdout] 11 | impl Vector<{VECTOR_SIZE}> { [INFO] [stdout] | ----------------------------------------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 17 | fn size(&self)->usize{ [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 22 | fn add(&mut self, v2 : Vector){ [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 37 | fn dot(&mut self, v2 : Vector) -> i32{ [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 62 | fn get_odd_indexes(&self) -> Vector{ [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 79 | fn get_even_indexes(&self) -> Vector{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `r_1` is never read [INFO] [stdout] --> src/math_utils.rs:312:25 [INFO] [stdout] | [INFO] [stdout] 312 | let mut r_1 : i32 = 0; [INFO] [stdout] | ^ this value is reassigned later and never used [INFO] [stdout] ... [INFO] [stdout] 327 | r_1 = r; [INFO] [stdout] | ------- `r_1` is overwritten here before the previous value is read [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `tmp` is never read [INFO] [stdout] --> src/math_utils.rs:324:19 [INFO] [stdout] | [INFO] [stdout] 324 | let mut tmp = 0; [INFO] [stdout] | ^ this value is reassigned later and never used [INFO] [stdout] ... [INFO] [stdout] 330 | tmp = u; [INFO] [stdout] | ------- `tmp` is overwritten here before the previous value is read [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `row_vecs`, `col_vecs`, and `m` are never read [INFO] [stdout] --> src/math_utils.rs:106:5 [INFO] [stdout] | [INFO] [stdout] 105 | pub struct Matrix{ [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 106 | row_vecs : [Vector;RN], [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 107 | col_vecs : [Vector;CN], [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 108 | m : i32 [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `Matrix` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `matmul`, and `transpose` are never used [INFO] [stdout] --> src/math_utils.rs:114:8 [INFO] [stdout] | [INFO] [stdout] 112 | impl Matrix<{RN},{CN}>{ [INFO] [stdout] | ----------------------------------------------------------- associated items in this implementation [INFO] [stdout] 113 | [INFO] [stdout] 114 | fn new(val : [[i32;CN];RN], m : i32)->Matrix{ [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 147 | fn matmul(&mut self, B : Matrix)->Matrix{ [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 165 | fn transpose(& self) -> Matrix{ [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `ZETA_TABLE` is never used [INFO] [stdout] --> src/ntt.rs:6:11 [INFO] [stdout] | [INFO] [stdout] 6 | const ZETA_TABLE : [i32;128] = [1, 3328, 1729, 1600, 2580, 749, 3289, 40, 2642, 687, 630, 2699, 1897, 1432, 848, 2481, 1062, 2267... [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `ZETA_INV_TABLE` is never used [INFO] [stdout] --> src/ntt.rs:20:11 [INFO] [stdout] | [INFO] [stdout] 20 | const ZETA_INV_TABLE : [i32;128] = [1, 3328, 1600, 1729, 40, 3289, 749, 2580, 2481, 848, 1432, 1897, 2699, 630, 687, 2642, 1583,... [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `ntt` is never used [INFO] [stdout] --> src/ntt.rs:26:4 [INFO] [stdout] | [INFO] [stdout] 26 | fn ntt(p : Vector<256>) -> Vector<256>{ [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `intt` is never used [INFO] [stdout] --> src/ntt.rs:111:4 [INFO] [stdout] | [INFO] [stdout] 111 | fn intt(p : Vector<256>)->Vector<256>{ [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `poly_mult` is never used [INFO] [stdout] --> src/ntt.rs:192:4 [INFO] [stdout] | [INFO] [stdout] 192 | fn poly_mult(a : Vector<256>, b : Vector<256>)->Vector<256>{ [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `B` should have a snake case name [INFO] [stdout] --> src/math_utils.rs:147:26 [INFO] [stdout] | [INFO] [stdout] 147 | fn matmul(&mut self, B : Matrix)->Matrix{ [INFO] [stdout] | ^ help: convert the identifier to snake case: `b` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `tmp` is never read [INFO] [stdout] --> src/ntt.rs:334:23 [INFO] [stdout] | [INFO] [stdout] 334 | let mut tmp = 0; [INFO] [stdout] | ^ this value is reassigned later and never used [INFO] [stdout] ... [INFO] [stdout] 337 | tmp = square_and_mult(17, i, 3329); [INFO] [stdout] | ---------------------------------- `tmp` is overwritten here before the previous value is read [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `size`, `get_odd_indexes`, and `get_even_indexes` are never used [INFO] [stdout] --> src/math_utils.rs:17:8 [INFO] [stdout] | [INFO] [stdout] 11 | impl Vector<{VECTOR_SIZE}> { [INFO] [stdout] | ----------------------------------------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 17 | fn size(&self)->usize{ [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 62 | fn get_odd_indexes(&self) -> Vector{ [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 79 | fn get_even_indexes(&self) -> Vector{ [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 `transpose` is never used [INFO] [stdout] --> src/math_utils.rs:165:8 [INFO] [stdout] | [INFO] [stdout] 112 | impl Matrix<{RN},{CN}>{ [INFO] [stdout] | ----------------------------------------------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 165 | fn transpose(& self) -> Matrix{ [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `poly_mult` is never used [INFO] [stdout] --> src/ntt.rs:192:4 [INFO] [stdout] | [INFO] [stdout] 192 | fn poly_mult(a : Vector<256>, b : Vector<256>)->Vector<256>{ [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `B` should have a snake case name [INFO] [stdout] --> src/math_utils.rs:147:26 [INFO] [stdout] | [INFO] [stdout] 147 | fn matmul(&mut self, B : Matrix)->Matrix{ [INFO] [stdout] | ^ help: convert the identifier to snake case: `b` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2.22s [INFO] running `Command { std: "docker" "inspect" "bf1f47ae63cf30b38cc573ffe91974df1e9d6c3ff368b1b41dea05732a3c5a65", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bf1f47ae63cf30b38cc573ffe91974df1e9d6c3ff368b1b41dea05732a3c5a65", kill_on_drop: false }` [INFO] [stdout] bf1f47ae63cf30b38cc573ffe91974df1e9d6c3ff368b1b41dea05732a3c5a65