[INFO] cloning repository https://github.com/TheNeikos/csidh [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/TheNeikos/csidh" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTheNeikos%2Fcsidh", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTheNeikos%2Fcsidh'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 4292327c7d0efbaed77663cdc032ab90020c0570 [INFO] checking TheNeikos/csidh against try#f47dd4da3ae8c32c9e65d307bfe640b143e674df for pr-77526 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTheNeikos%2Fcsidh" "/workspace/builds/worker-9/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-9/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/TheNeikos/csidh on toolchain f47dd4da3ae8c32c9e65d307bfe640b143e674df [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/TheNeikos/csidh [INFO] finished tweaking git repo https://github.com/TheNeikos/csidh [INFO] tweaked toml for git repo https://github.com/TheNeikos/csidh written to /workspace/builds/worker-9/source/Cargo.toml [INFO] crate git repo https://github.com/TheNeikos/csidh already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] fe3fef330be082a9d7b12c1fb81ba9bf40c85a2f7ee38ea260c5b71f130399fa [INFO] running `Command { std: "docker" "start" "-a" "fe3fef330be082a9d7b12c1fb81ba9bf40c85a2f7ee38ea260c5b71f130399fa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "fe3fef330be082a9d7b12c1fb81ba9bf40c85a2f7ee38ea260c5b71f130399fa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fe3fef330be082a9d7b12c1fb81ba9bf40c85a2f7ee38ea260c5b71f130399fa", kill_on_drop: false }` [INFO] [stdout] fe3fef330be082a9d7b12c1fb81ba9bf40c85a2f7ee38ea260c5b71f130399fa [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8149b4e2107acf05152cd44b47ac3838b7759baf8dafee72ec32dfcbc2b3bcca [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" "8149b4e2107acf05152cd44b47ac3838b7759baf8dafee72ec32dfcbc2b3bcca", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Checking rand_core v0.3.0 [INFO] [stderr] Compiling libc v0.2.45 [INFO] [stderr] Checking byteorder v1.2.7 [INFO] [stderr] Checking rand_hc v0.1.0 [INFO] [stderr] Checking rand_isaac v0.1.1 [INFO] [stderr] Checking rand_xorshift v0.1.0 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling rand_pcg v0.1.1 [INFO] [stderr] Compiling rand_chacha v0.1.0 [INFO] [stderr] Compiling rand v0.6.1 [INFO] [stderr] Checking csidh v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: the item `Distribution` is imported redundantly [INFO] [stdout] --> src/csidh.rs:103:35 [INFO] [stdout] | [INFO] [stdout] 1 | use rand::prelude::*; [INFO] [stdout] | ---------------- the item `Distribution` is already imported here [INFO] [stdout] ... [INFO] [stdout] 103 | use rand::distributions::{Distribution, Uniform}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Distribution` is imported redundantly [INFO] [stdout] --> src/csidh.rs:103:35 [INFO] [stdout] | [INFO] [stdout] 1 | use rand::prelude::*; [INFO] [stdout] | ---------------- the item `Distribution` is already imported here [INFO] [stdout] ... [INFO] [stdout] 103 | use rand::distributions::{Distribution, Uniform}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::global` [INFO] [stdout] --> src/montgomery.rs:364:9 [INFO] [stdout] | [INFO] [stdout] 364 | use crate::global; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/montgomery.rs:429:95 [INFO] [stdout] | [INFO] [stdout] 429 | let proj_other = other_point.projectivize().ladder2(&proj_c, &LargeUint::from_u64(3));; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(redundant_semicolons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/galois.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn new() -> LargeUint { [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: `parse_bytes` [INFO] [stdout] --> src/galois.rs:34:12 [INFO] [stdout] | [INFO] [stdout] 34 | pub fn parse_bytes(s: &[u8]) -> LargeUint { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `contains` [INFO] [stdout] --> src/montgomery.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn contains(&self, p: &Point) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `recover` [INFO] [stdout] --> src/montgomery.rs:25:8 [INFO] [stdout] | [INFO] [stdout] 25 | fn recover(p: &Point, q: &ProjectivePoint, o: &ProjectivePoint) -> Point { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/montgomery.rs:152:12 [INFO] [stdout] | [INFO] [stdout] 152 | pub fn new(curve: Curve, x: LargeUint, y: LargeUint) -> Point { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `multiply` [INFO] [stdout] --> src/montgomery.rs:161:12 [INFO] [stdout] | [INFO] [stdout] 161 | pub fn multiply(&self, k: &LargeUint) -> Point { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `projectivize` [INFO] [stdout] --> src/montgomery.rs:167:8 [INFO] [stdout] | [INFO] [stdout] 167 | fn projectivize(&self) -> ProjectivePoint { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `unproject` [INFO] [stdout] --> src/montgomery.rs:184:8 [INFO] [stdout] | [INFO] [stdout] 184 | fn unproject(self) -> Point { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `ladder` [INFO] [stdout] --> src/montgomery.rs:289:12 [INFO] [stdout] | [INFO] [stdout] 289 | pub fn ladder(&self, a: &GaloisElement, k: &LargeUint) -> (ProjectivePoint, ProjectivePoint) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `double` [INFO] [stdout] --> src/montgomery.rs:334:12 [INFO] [stdout] | [INFO] [stdout] 334 | pub fn double(&self, a: &GaloisElement) -> ProjectivePoint { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `normalize` [INFO] [stdout] --> src/montgomery.rs:353:8 [INFO] [stdout] | [INFO] [stdout] 353 | fn normalize(&mut self) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fs::File` [INFO] [stdout] --> src/bin/main.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::fs::File; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fs::File` [INFO] [stdout] --> src/bin/main.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::fs::File; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `public` [INFO] [stdout] --> benches/csidh.rs:11:13 [INFO] [stdout] | [INFO] [stdout] 11 | let public = private.get_public_key(); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_public` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 8.13s [INFO] running `Command { std: "docker" "inspect" "8149b4e2107acf05152cd44b47ac3838b7759baf8dafee72ec32dfcbc2b3bcca", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8149b4e2107acf05152cd44b47ac3838b7759baf8dafee72ec32dfcbc2b3bcca", kill_on_drop: false }` [INFO] [stdout] 8149b4e2107acf05152cd44b47ac3838b7759baf8dafee72ec32dfcbc2b3bcca