[INFO] cloning repository https://github.com/hamadakafu/lattice-based-cryptography [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/hamadakafu/lattice-based-cryptography" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhamadakafu%2Flattice-based-cryptography", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhamadakafu%2Flattice-based-cryptography'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] a1dce496fd13238919bccf752b1f6aaea280ca99 [INFO] checking hamadakafu/lattice-based-cryptography against try#8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 for pr-82565 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhamadakafu%2Flattice-based-cryptography" "/workspace/builds/worker-11/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-11/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/hamadakafu/lattice-based-cryptography on toolchain 8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/hamadakafu/lattice-based-cryptography [INFO] finished tweaking git repo https://github.com/hamadakafu/lattice-based-cryptography [INFO] tweaked toml for git repo https://github.com/hamadakafu/lattice-based-cryptography written to /workspace/builds/worker-11/source/Cargo.toml [INFO] crate git repo https://github.com/hamadakafu/lattice-based-cryptography already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d5f41a0aa2edfeb5dc1333a6572e3c64cf6a52304e121ca2cca37c2b882d5886 [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" "d5f41a0aa2edfeb5dc1333a6572e3c64cf6a52304e121ca2cca37c2b882d5886", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d5f41a0aa2edfeb5dc1333a6572e3c64cf6a52304e121ca2cca37c2b882d5886", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d5f41a0aa2edfeb5dc1333a6572e3c64cf6a52304e121ca2cca37c2b882d5886", kill_on_drop: false }` [INFO] [stdout] d5f41a0aa2edfeb5dc1333a6572e3c64cf6a52304e121ca2cca37c2b882d5886 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8cede09b0f411c66c0859eb374b15f3e3c554a280631a39c7bfb6b593a7a493c [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" "8cede09b0f411c66c0859eb374b15f3e3c554a280631a39c7bfb6b593a7a493c", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling libc v0.2.74 [INFO] [stderr] Compiling num-traits v0.2.12 [INFO] [stderr] Compiling num-integer v0.1.43 [INFO] [stderr] Compiling num-bigint v0.3.0 [INFO] [stderr] Compiling num-rational v0.3.0 [INFO] [stderr] Compiling num-iter v0.1.41 [INFO] [stderr] Checking itertools v0.9.0 [INFO] [stderr] Checking getrandom v0.1.14 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking num-complex v0.3.0 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking rand_distr v0.2.2 [INFO] [stderr] Checking num v0.3.0 [INFO] [stderr] Checking lattice-based-cryptography v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `DivAssign`, `Div` [INFO] [stdout] --> src/cyclotomic.rs:3:27 [INFO] [stdout] | [INFO] [stdout] 3 | ops::{Add, AddAssign, Div, DivAssign, Mul, MulAssign, Neg, Rem, Sub, SubAssign}, [INFO] [stdout] | ^^^ ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `DivAssign`, `Div` [INFO] [stdout] --> src/cyclotomic.rs:3:27 [INFO] [stdout] | [INFO] [stdout] 3 | ops::{Add, AddAssign, Div, DivAssign, Mul, MulAssign, Neg, Rem, Sub, SubAssign}, [INFO] [stdout] | ^^^ ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Lattice` [INFO] [stdout] --> src/lattice.rs:6:8 [INFO] [stdout] | [INFO] [stdout] 6 | struct Lattice { [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: `new` [INFO] [stdout] --> src/lattice.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn new(m: usize, q: i64, delta: f64, p: i64) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `gen_sk` [INFO] [stdout] --> src/lattice.rs:26:12 [INFO] [stdout] | [INFO] [stdout] 26 | pub fn gen_sk(&self) -> Cyclotomic { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `gen_pk` [INFO] [stdout] --> src/lattice.rs:31:12 [INFO] [stdout] | [INFO] [stdout] 31 | pub fn gen_pk(&self, sk: &Cyclotomic) -> (Cyclotomic, Cyclotomic) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `gen_switch_key` [INFO] [stdout] --> src/lattice.rs:38:12 [INFO] [stdout] | [INFO] [stdout] 38 | pub fn gen_switch_key(&self, sk: &Cyclotomic) -> (Cyclotomic, Cyclotomic) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `encode` [INFO] [stdout] --> src/lattice.rs:48:12 [INFO] [stdout] | [INFO] [stdout] 48 | pub fn encode( [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `decode` [INFO] [stdout] --> src/lattice.rs:69:12 [INFO] [stdout] | [INFO] [stdout] 69 | pub fn decode(&self, sk: Cyclotomic, c: CryptMessage) -> Cyclotomic { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `gen_sk` [INFO] [stdout] --> src/lattice.rs:26:12 [INFO] [stdout] | [INFO] [stdout] 26 | pub fn gen_sk(&self) -> Cyclotomic { [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: `gen_pk` [INFO] [stdout] --> src/lattice.rs:31:12 [INFO] [stdout] | [INFO] [stdout] 31 | pub fn gen_pk(&self, sk: &Cyclotomic) -> (Cyclotomic, Cyclotomic) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 10.17s [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "8cede09b0f411c66c0859eb374b15f3e3c554a280631a39c7bfb6b593a7a493c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8cede09b0f411c66c0859eb374b15f3e3c554a280631a39c7bfb6b593a7a493c", kill_on_drop: false }` [INFO] [stdout] 8cede09b0f411c66c0859eb374b15f3e3c554a280631a39c7bfb6b593a7a493c