[INFO] cloning repository https://github.com/meowmeowcatnya/cryptocat [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/meowmeowcatnya/cryptocat" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmeowmeowcatnya%2Fcryptocat", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmeowmeowcatnya%2Fcryptocat'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 1bf9e807f1240077be159620b728e2afa33b8035 [INFO] checking meowmeowcatnya/cryptocat against master#5557f8c9d08d7f3f680943dcf97b6d4a7eb13aea for pr-124336 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmeowmeowcatnya%2Fcryptocat" "/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/meowmeowcatnya/cryptocat on toolchain 5557f8c9d08d7f3f680943dcf97b6d4a7eb13aea [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+5557f8c9d08d7f3f680943dcf97b6d4a7eb13aea" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/meowmeowcatnya/cryptocat [INFO] finished tweaking git repo https://github.com/meowmeowcatnya/cryptocat [INFO] tweaked toml for git repo https://github.com/meowmeowcatnya/cryptocat written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/meowmeowcatnya/cryptocat 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" "+5557f8c9d08d7f3f680943dcf97b6d4a7eb13aea" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [ERROR] error running command: no output for 300 seconds [ERROR] this task or one of its parent failed! [ERROR] no output for 300 seconds [ERROR] note: run with `RUST_BACKTRACE=1` to display a backtrace. [INFO] checking meowmeowcatnya/cryptocat against try#311f8b6ca41358db8ae08490a9ca0916f11e9de3 for pr-124336 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmeowmeowcatnya%2Fcryptocat" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/meowmeowcatnya/cryptocat on toolchain 311f8b6ca41358db8ae08490a9ca0916f11e9de3 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+311f8b6ca41358db8ae08490a9ca0916f11e9de3" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/meowmeowcatnya/cryptocat [INFO] finished tweaking git repo https://github.com/meowmeowcatnya/cryptocat [INFO] tweaked toml for git repo https://github.com/meowmeowcatnya/cryptocat written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/meowmeowcatnya/cryptocat 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" "+311f8b6ca41358db8ae08490a9ca0916f11e9de3" "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-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/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:99613afd962a8cfa530ec1899472a458bd015a1ab0af876cf7eb06f6006d81ea" "/opt/rustwide/cargo-home/bin/cargo" "+311f8b6ca41358db8ae08490a9ca0916f11e9de3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 750b0bf4c268862495e7fc0b662b02260722de9de753b366e7865f642386e1f3 [INFO] running `Command { std: "docker" "start" "-a" "750b0bf4c268862495e7fc0b662b02260722de9de753b366e7865f642386e1f3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "750b0bf4c268862495e7fc0b662b02260722de9de753b366e7865f642386e1f3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "750b0bf4c268862495e7fc0b662b02260722de9de753b366e7865f642386e1f3", kill_on_drop: false }` [INFO] [stdout] 750b0bf4c268862495e7fc0b662b02260722de9de753b366e7865f642386e1f3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/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:99613afd962a8cfa530ec1899472a458bd015a1ab0af876cf7eb06f6006d81ea" "/opt/rustwide/cargo-home/bin/cargo" "+311f8b6ca41358db8ae08490a9ca0916f11e9de3" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3a6ea793321c32c678ac46d05e2b18f188dca760a80addde9f10fec50645de05 [INFO] running `Command { std: "docker" "start" "-a" "3a6ea793321c32c678ac46d05e2b18f188dca760a80addde9f10fec50645de05", kill_on_drop: false }` [INFO] [stderr] Compiling num-traits v0.2.18 [INFO] [stderr] Compiling num-bigint v0.4.4 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Checking cryptocat v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `p` [INFO] [stdout] --> src/ecc/koblitz.rs:16:13 [INFO] [stdout] | [INFO] [stdout] 16 | fn test(p: Point) -> bool { //tests if Point is on the curve [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_p` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Point` is never used [INFO] [stdout] --> src/ecc/elliptic_curves.rs:7:6 [INFO] [stdout] | [INFO] [stdout] 7 | enum Point{ [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `EllipticCurveType1` is never constructed [INFO] [stdout] --> src/ecc/elliptic_curves.rs:13:8 [INFO] [stdout] | [INFO] [stdout] 13 | struct EllipticCurveType1 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `test_point`, `invert_point`, and `add_points` are never used [INFO] [stdout] --> src/ecc/elliptic_curves.rs:21:8 [INFO] [stdout] | [INFO] [stdout] 20 | impl EllipticCurveType1 { [INFO] [stdout] | ------------------------------------------ associated items in this implementation [INFO] [stdout] 21 | fn new(a: T, b: T) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 34 | fn test_point(self, p: Point) -> bool{ [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 48 | fn invert_point(self, p: Point) -> Point { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 55 | fn add_points(self, p1: Point, p2: Point) -> Point { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `EllipticCurveType2NS` is never constructed [INFO] [stdout] --> src/ecc/elliptic_curves.rs:106:8 [INFO] [stdout] | [INFO] [stdout] 106 | struct EllipticCurveType2NS { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `test_point`, `invert_point`, and `add_points` are never used [INFO] [stdout] --> src/ecc/elliptic_curves.rs:115:8 [INFO] [stdout] | [INFO] [stdout] 114 | impl EllipticCurveType2NS{ [INFO] [stdout] | ------------------------------------- associated items in this implementation [INFO] [stdout] 115 | fn new(a:T, b:T) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 124 | fn test_point(self, p: Point) -> bool { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 139 | fn invert_point(self, p: Point) -> Point { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 146 | fn add_points(self, p1: Point, p2: Point) -> Point { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `EllipticCurveType2S` is never constructed [INFO] [stdout] --> src/ecc/elliptic_curves.rs:180:8 [INFO] [stdout] | [INFO] [stdout] 180 | struct EllipticCurveType2S { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `test_point`, `invert_point`, and `add_points` are never used [INFO] [stdout] --> src/ecc/elliptic_curves.rs:189:8 [INFO] [stdout] | [INFO] [stdout] 188 | impl EllipticCurveType2S { [INFO] [stdout] | ------------------------------------ associated items in this implementation [INFO] [stdout] 189 | fn new(a: T, b: T, c: T) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 199 | fn test_point(self, p: Point) -> bool { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 214 | fn invert_point(self, p: Point) -> Point { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 221 | fn add_points(self, p1: Point, p2: Point) -> Point { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `EllipticCurveType3NS` is never constructed [INFO] [stdout] --> src/ecc/elliptic_curves.rs:263:8 [INFO] [stdout] | [INFO] [stdout] 263 | struct EllipticCurveType3NS { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `test_point` are never used [INFO] [stdout] --> src/ecc/elliptic_curves.rs:271:8 [INFO] [stdout] | [INFO] [stdout] 270 | impl EllipticCurveType3NS { [INFO] [stdout] | -------------------------------------- associated items in this implementation [INFO] [stdout] 271 | fn new(a: T, b: T) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 280 | fn test_point(self, p: Point) -> bool { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `EllipticCurveType3S` is never constructed [INFO] [stdout] --> src/ecc/elliptic_curves.rs:294:8 [INFO] [stdout] | [INFO] [stdout] 294 | struct EllipticCurveType3S { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `test_point` are never used [INFO] [stdout] --> src/ecc/elliptic_curves.rs:302:8 [INFO] [stdout] | [INFO] [stdout] 301 | impl EllipticCurveType3S { [INFO] [stdout] | ------------------------------------- associated items in this implementation [INFO] [stdout] 302 | fn new(a: T, b: T) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 311 | fn test_point(self, p: Point) -> bool { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Field` is never used [INFO] [stdout] --> src/ecc/elliptic_curves/field.rs:3:11 [INFO] [stdout] | [INFO] [stdout] 3 | pub trait Field: Sized + ops::Add + ops::Mul + Eq + Copy{ [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Point` is never used [INFO] [stdout] --> src/ecc/koblitz.rs:4:6 [INFO] [stdout] | [INFO] [stdout] 4 | enum Point { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Curve` is never constructed [INFO] [stdout] --> src/ecc/koblitz.rs:9:8 [INFO] [stdout] | [INFO] [stdout] 9 | struct Curve{ [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `test` is never used [INFO] [stdout] --> src/ecc/koblitz.rs:16:8 [INFO] [stdout] | [INFO] [stdout] 15 | impl Curve { [INFO] [stdout] | ---------- associated function in this implementation [INFO] [stdout] 16 | fn test(p: Point) -> bool { //tests if Point is on the curve [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Pol` is never constructed [INFO] [stdout] --> src/ecc/koblitz.rs:21:8 [INFO] [stdout] | [INFO] [stdout] 21 | struct Pol { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/ecc/koblitz.rs:27:8 [INFO] [stdout] | [INFO] [stdout] 26 | impl Pol { [INFO] [stdout] | -------- associated function in this implementation [INFO] [stdout] 27 | fn new(degree: u32, coefficients: HashSet) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Koblitz` is never constructed [INFO] [stdout] --> src/ecc/koblitz.rs:36:8 [INFO] [stdout] | [INFO] [stdout] 36 | struct Koblitz { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `new`, `get_nist_1`, `get_nist_2`, `get_nist_3`, `get_nist_4`, and `get_nist_5` are never used [INFO] [stdout] --> src/ecc/koblitz.rs:46:8 [INFO] [stdout] | [INFO] [stdout] 45 | impl Koblitz { [INFO] [stdout] | ------------ associated functions in this implementation [INFO] [stdout] 46 | fn new(choice: u8) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 57 | fn get_nist_1() -> Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 78 | fn get_nist_2() -> Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 99 | fn get_nist_3() -> Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 120 | fn get_nist_4() -> Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 141 | fn get_nist_5() -> Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `main` is never used [INFO] [stdout] --> src/ecc/koblitz.rs:163:4 [INFO] [stdout] | [INFO] [stdout] 163 | fn main(){ [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 21 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `p` [INFO] [stdout] --> src/ecc/koblitz.rs:16:13 [INFO] [stdout] | [INFO] [stdout] 16 | fn test(p: Point) -> bool { //tests if Point is on the curve [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_p` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Point` is never used [INFO] [stdout] --> src/ecc/elliptic_curves.rs:7:6 [INFO] [stdout] | [INFO] [stdout] 7 | enum Point{ [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `EllipticCurveType1` is never constructed [INFO] [stdout] --> src/ecc/elliptic_curves.rs:13:8 [INFO] [stdout] | [INFO] [stdout] 13 | struct EllipticCurveType1 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `test_point`, `invert_point`, and `add_points` are never used [INFO] [stdout] --> src/ecc/elliptic_curves.rs:21:8 [INFO] [stdout] | [INFO] [stdout] 20 | impl EllipticCurveType1 { [INFO] [stdout] | ------------------------------------------ associated items in this implementation [INFO] [stdout] 21 | fn new(a: T, b: T) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 34 | fn test_point(self, p: Point) -> bool{ [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 48 | fn invert_point(self, p: Point) -> Point { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 55 | fn add_points(self, p1: Point, p2: Point) -> Point { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `EllipticCurveType2NS` is never constructed [INFO] [stdout] --> src/ecc/elliptic_curves.rs:106:8 [INFO] [stdout] | [INFO] [stdout] 106 | struct EllipticCurveType2NS { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `test_point`, `invert_point`, and `add_points` are never used [INFO] [stdout] --> src/ecc/elliptic_curves.rs:115:8 [INFO] [stdout] | [INFO] [stdout] 114 | impl EllipticCurveType2NS{ [INFO] [stdout] | ------------------------------------- associated items in this implementation [INFO] [stdout] 115 | fn new(a:T, b:T) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 124 | fn test_point(self, p: Point) -> bool { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 139 | fn invert_point(self, p: Point) -> Point { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 146 | fn add_points(self, p1: Point, p2: Point) -> Point { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `EllipticCurveType2S` is never constructed [INFO] [stdout] --> src/ecc/elliptic_curves.rs:180:8 [INFO] [stdout] | [INFO] [stdout] 180 | struct EllipticCurveType2S { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `test_point`, `invert_point`, and `add_points` are never used [INFO] [stdout] --> src/ecc/elliptic_curves.rs:189:8 [INFO] [stdout] | [INFO] [stdout] 188 | impl EllipticCurveType2S { [INFO] [stdout] | ------------------------------------ associated items in this implementation [INFO] [stdout] 189 | fn new(a: T, b: T, c: T) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 199 | fn test_point(self, p: Point) -> bool { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 214 | fn invert_point(self, p: Point) -> Point { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 221 | fn add_points(self, p1: Point, p2: Point) -> Point { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `EllipticCurveType3NS` is never constructed [INFO] [stdout] --> src/ecc/elliptic_curves.rs:263:8 [INFO] [stdout] | [INFO] [stdout] 263 | struct EllipticCurveType3NS { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `test_point` are never used [INFO] [stdout] --> src/ecc/elliptic_curves.rs:271:8 [INFO] [stdout] | [INFO] [stdout] 270 | impl EllipticCurveType3NS { [INFO] [stdout] | -------------------------------------- associated items in this implementation [INFO] [stdout] 271 | fn new(a: T, b: T) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 280 | fn test_point(self, p: Point) -> bool { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `EllipticCurveType3S` is never constructed [INFO] [stdout] --> src/ecc/elliptic_curves.rs:294:8 [INFO] [stdout] | [INFO] [stdout] 294 | struct EllipticCurveType3S { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `test_point` are never used [INFO] [stdout] --> src/ecc/elliptic_curves.rs:302:8 [INFO] [stdout] | [INFO] [stdout] 301 | impl EllipticCurveType3S { [INFO] [stdout] | ------------------------------------- associated items in this implementation [INFO] [stdout] 302 | fn new(a: T, b: T) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 311 | fn test_point(self, p: Point) -> bool { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Field` is never used [INFO] [stdout] --> src/ecc/elliptic_curves/field.rs:3:11 [INFO] [stdout] | [INFO] [stdout] 3 | pub trait Field: Sized + ops::Add + ops::Mul + Eq + Copy{ [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Point` is never used [INFO] [stdout] --> src/ecc/koblitz.rs:4:6 [INFO] [stdout] | [INFO] [stdout] 4 | enum Point { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Curve` is never constructed [INFO] [stdout] --> src/ecc/koblitz.rs:9:8 [INFO] [stdout] | [INFO] [stdout] 9 | struct Curve{ [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `test` is never used [INFO] [stdout] --> src/ecc/koblitz.rs:16:8 [INFO] [stdout] | [INFO] [stdout] 15 | impl Curve { [INFO] [stdout] | ---------- associated function in this implementation [INFO] [stdout] 16 | fn test(p: Point) -> bool { //tests if Point is on the curve [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Pol` is never constructed [INFO] [stdout] --> src/ecc/koblitz.rs:21:8 [INFO] [stdout] | [INFO] [stdout] 21 | struct Pol { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/ecc/koblitz.rs:27:8 [INFO] [stdout] | [INFO] [stdout] 26 | impl Pol { [INFO] [stdout] | -------- associated function in this implementation [INFO] [stdout] 27 | fn new(degree: u32, coefficients: HashSet) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Koblitz` is never constructed [INFO] [stdout] --> src/ecc/koblitz.rs:36:8 [INFO] [stdout] | [INFO] [stdout] 36 | struct Koblitz { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `new`, `get_nist_1`, `get_nist_2`, `get_nist_3`, `get_nist_4`, and `get_nist_5` are never used [INFO] [stdout] --> src/ecc/koblitz.rs:46:8 [INFO] [stdout] | [INFO] [stdout] 45 | impl Koblitz { [INFO] [stdout] | ------------ associated functions in this implementation [INFO] [stdout] 46 | fn new(choice: u8) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 57 | fn get_nist_1() -> Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 78 | fn get_nist_2() -> Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 99 | fn get_nist_3() -> Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 120 | fn get_nist_4() -> Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 141 | fn get_nist_5() -> Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `main` is never used [INFO] [stdout] --> src/ecc/koblitz.rs:163:4 [INFO] [stdout] | [INFO] [stdout] 163 | fn main(){ [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 21 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2.56s [INFO] running `Command { std: "docker" "inspect" "3a6ea793321c32c678ac46d05e2b18f188dca760a80addde9f10fec50645de05", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3a6ea793321c32c678ac46d05e2b18f188dca760a80addde9f10fec50645de05", kill_on_drop: false }` [INFO] [stdout] 3a6ea793321c32c678ac46d05e2b18f188dca760a80addde9f10fec50645de05