[INFO] cloning repository https://github.com/higumachan/programming_bitcoin_book_in_rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/higumachan/programming_bitcoin_book_in_rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhigumachan%2Fprogramming_bitcoin_book_in_rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhigumachan%2Fprogramming_bitcoin_book_in_rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 219ff95ff59654c7a0d977bad882632cfc8b54bf [INFO] checking higumachan/programming_bitcoin_book_in_rust against master#22572d0994593197593e2a1b7b18d720a9a349a7 for pr-126452-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhigumachan%2Fprogramming_bitcoin_book_in_rust" "/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/higumachan/programming_bitcoin_book_in_rust on toolchain 22572d0994593197593e2a1b7b18d720a9a349a7 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+22572d0994593197593e2a1b7b18d720a9a349a7" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/higumachan/programming_bitcoin_book_in_rust [INFO] finished tweaking git repo https://github.com/higumachan/programming_bitcoin_book_in_rust [INFO] tweaked toml for git repo https://github.com/higumachan/programming_bitcoin_book_in_rust written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/higumachan/programming_bitcoin_book_in_rust 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" "+22572d0994593197593e2a1b7b18d720a9a349a7" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+22572d0994593197593e2a1b7b18d720a9a349a7" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] aa12d97413fbf0c6ce504edcb30de9f1b736866af07b4d553dd1ce559c1831cc [INFO] running `Command { std: "docker" "start" "-a" "aa12d97413fbf0c6ce504edcb30de9f1b736866af07b4d553dd1ce559c1831cc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "aa12d97413fbf0c6ce504edcb30de9f1b736866af07b4d553dd1ce559c1831cc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "aa12d97413fbf0c6ce504edcb30de9f1b736866af07b4d553dd1ce559c1831cc", kill_on_drop: false }` [INFO] [stdout] aa12d97413fbf0c6ce504edcb30de9f1b736866af07b4d553dd1ce559c1831cc [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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+22572d0994593197593e2a1b7b18d720a9a349a7" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5e1a8060083c80c4e7d3d8273f2c26e1712993b3e6b68c1d29e78b54c6a0d06d [INFO] running `Command { std: "docker" "start" "-a" "5e1a8060083c80c4e7d3d8273f2c26e1712993b3e6b68c1d29e78b54c6a0d06d", kill_on_drop: false }` [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling num-bigint v0.4.2 [INFO] [stderr] Compiling num-rational v0.4.0 [INFO] [stderr] Compiling num-iter v0.1.42 [INFO] [stderr] Checking num-complex v0.4.0 [INFO] [stderr] Checking num v0.4.0 [INFO] [stderr] Checking encriptions v0.1.0 (/opt/rustwide/workdir/crates/encriptions) [INFO] [stdout] warning: unused import: `num::traits::real::Real` [INFO] [stdout] --> crates/encriptions/src/curve.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use num::traits::real::Real; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `AddAssign`, `Add`, and `Mul` [INFO] [stdout] --> crates/encriptions/src/curve.rs:6:16 [INFO] [stdout] | [INFO] [stdout] 6 | use std::ops::{Add, AddAssign, Mul}; [INFO] [stdout] | ^^^ ^^^^^^^^^ ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `f64FieldElement` should have an upper camel case name [INFO] [stdout] --> crates/encriptions/src/field.rs:138:12 [INFO] [stdout] | [INFO] [stdout] 138 | pub struct f64FieldElement(f64); [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case (notice the capitalization): `F64fieldElement` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Float` [INFO] [stdout] --> crates/encriptions/src/point.rs:3:19 [INFO] [stdout] | [INFO] [stdout] 3 | use num::{BigInt, Float}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around function argument [INFO] [stdout] --> crates/encriptions/src/point.rs:102:33 [INFO] [stdout] | [INFO] [stdout] 102 | T::from((y2.clone() - y1.clone())) / T::from((x2.clone() - x1.clone())), [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 102 - T::from((y2.clone() - y1.clone())) / T::from((x2.clone() - x1.clone())), [INFO] [stdout] 102 + T::from(y2.clone() - y1.clone()) / T::from((x2.clone() - x1.clone())), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around function argument [INFO] [stdout] --> crates/encriptions/src/point.rs:102:70 [INFO] [stdout] | [INFO] [stdout] 102 | T::from((y2.clone() - y1.clone())) / T::from((x2.clone() - x1.clone())), [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 102 - T::from((y2.clone() - y1.clone())) / T::from((x2.clone() - x1.clone())), [INFO] [stdout] 102 + T::from((y2.clone() - y1.clone())) / T::from(x2.clone() - x1.clone()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `num::traits::real::Real` [INFO] [stdout] --> crates/encriptions/src/curve.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use num::traits::real::Real; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `AddAssign`, `Add`, and `Mul` [INFO] [stdout] --> crates/encriptions/src/curve.rs:6:16 [INFO] [stdout] | [INFO] [stdout] 6 | use std::ops::{Add, AddAssign, Mul}; [INFO] [stdout] | ^^^ ^^^^^^^^^ ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `f64FieldElement` should have an upper camel case name [INFO] [stdout] --> crates/encriptions/src/field.rs:138:12 [INFO] [stdout] | [INFO] [stdout] 138 | pub struct f64FieldElement(f64); [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case (notice the capitalization): `F64fieldElement` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Float` [INFO] [stdout] --> crates/encriptions/src/point.rs:3:19 [INFO] [stdout] | [INFO] [stdout] 3 | use num::{BigInt, Float}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around function argument [INFO] [stdout] --> crates/encriptions/src/point.rs:102:33 [INFO] [stdout] | [INFO] [stdout] 102 | T::from((y2.clone() - y1.clone())) / T::from((x2.clone() - x1.clone())), [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 102 - T::from((y2.clone() - y1.clone())) / T::from((x2.clone() - x1.clone())), [INFO] [stdout] 102 + T::from(y2.clone() - y1.clone()) / T::from((x2.clone() - x1.clone())), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around function argument [INFO] [stdout] --> crates/encriptions/src/point.rs:102:70 [INFO] [stdout] | [INFO] [stdout] 102 | T::from((y2.clone() - y1.clone())) / T::from((x2.clone() - x1.clone())), [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 102 - T::from((y2.clone() - y1.clone())) / T::from((x2.clone() - x1.clone())), [INFO] [stdout] 102 + T::from((y2.clone() - y1.clone())) / T::from(x2.clone() - x1.clone()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `num_traits::Pow` [INFO] [stdout] --> crates/encriptions/src/curve.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use num_traits::Pow; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rhs` [INFO] [stdout] --> crates/encriptions/src/point.rs:73:18 [INFO] [stdout] | [INFO] [stdout] 73 | fn mul(self, rhs: PointOnCurve) -> Self::Output { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_rhs` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `num_traits::Pow` [INFO] [stdout] --> crates/encriptions/src/curve.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use num_traits::Pow; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rhs` [INFO] [stdout] --> crates/encriptions/src/point.rs:73:18 [INFO] [stdout] | [INFO] [stdout] 73 | fn mul(self, rhs: PointOnCurve) -> Self::Output { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_rhs` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new_from_u64` is never used [INFO] [stdout] --> crates/encriptions/src/field.rs:56:12 [INFO] [stdout] | [INFO] [stdout] 47 | impl FiniteFieldElement

{ [INFO] [stdout] | ------------------------------------ associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 56 | pub fn new_from_u64(value: u64) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking programming_bitcoin_book_in_rust v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 4.24s [INFO] running `Command { std: "docker" "inspect" "5e1a8060083c80c4e7d3d8273f2c26e1712993b3e6b68c1d29e78b54c6a0d06d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5e1a8060083c80c4e7d3d8273f2c26e1712993b3e6b68c1d29e78b54c6a0d06d", kill_on_drop: false }` [INFO] [stdout] 5e1a8060083c80c4e7d3d8273f2c26e1712993b3e6b68c1d29e78b54c6a0d06d [INFO] checking higumachan/programming_bitcoin_book_in_rust against try#6289438dbad80b1a0029c66dd3f6abf57c2c51be for pr-126452-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhigumachan%2Fprogramming_bitcoin_book_in_rust" "/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/higumachan/programming_bitcoin_book_in_rust on toolchain 6289438dbad80b1a0029c66dd3f6abf57c2c51be [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+6289438dbad80b1a0029c66dd3f6abf57c2c51be" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/higumachan/programming_bitcoin_book_in_rust [INFO] finished tweaking git repo https://github.com/higumachan/programming_bitcoin_book_in_rust [INFO] tweaked toml for git repo https://github.com/higumachan/programming_bitcoin_book_in_rust written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/higumachan/programming_bitcoin_book_in_rust 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" "+6289438dbad80b1a0029c66dd3f6abf57c2c51be" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+6289438dbad80b1a0029c66dd3f6abf57c2c51be" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e8d73674183efc36263c0298220156cc67a7e0185c2f8b8c5a03c0a9df8100e3 [INFO] running `Command { std: "docker" "start" "-a" "e8d73674183efc36263c0298220156cc67a7e0185c2f8b8c5a03c0a9df8100e3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e8d73674183efc36263c0298220156cc67a7e0185c2f8b8c5a03c0a9df8100e3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e8d73674183efc36263c0298220156cc67a7e0185c2f8b8c5a03c0a9df8100e3", kill_on_drop: false }` [INFO] [stdout] e8d73674183efc36263c0298220156cc67a7e0185c2f8b8c5a03c0a9df8100e3 [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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+6289438dbad80b1a0029c66dd3f6abf57c2c51be" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 91fbde268606aa698afb672b7ef3a0e24aa741834c0a5e711319dbf5e0f551e3 [INFO] running `Command { std: "docker" "start" "-a" "91fbde268606aa698afb672b7ef3a0e24aa741834c0a5e711319dbf5e0f551e3", kill_on_drop: false }` [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling num-bigint v0.4.2 [INFO] [stderr] Compiling num-iter v0.1.42 [INFO] [stderr] Compiling num-rational v0.4.0 [INFO] [stderr] Checking num-complex v0.4.0 [INFO] [stderr] Checking num v0.4.0 [INFO] [stderr] Checking encriptions v0.1.0 (/opt/rustwide/workdir/crates/encriptions) [INFO] [stdout] warning: unused import: `num::traits::real::Real` [INFO] [stdout] --> crates/encriptions/src/curve.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use num::traits::real::Real; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `AddAssign`, `Add`, and `Mul` [INFO] [stdout] --> crates/encriptions/src/curve.rs:6:16 [INFO] [stdout] | [INFO] [stdout] 6 | use std::ops::{Add, AddAssign, Mul}; [INFO] [stdout] | ^^^ ^^^^^^^^^ ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `f64FieldElement` should have an upper camel case name [INFO] [stdout] --> crates/encriptions/src/field.rs:138:12 [INFO] [stdout] | [INFO] [stdout] 138 | pub struct f64FieldElement(f64); [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case (notice the capitalization): `F64fieldElement` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Float` [INFO] [stdout] --> crates/encriptions/src/point.rs:3:19 [INFO] [stdout] | [INFO] [stdout] 3 | use num::{BigInt, Float}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around function argument [INFO] [stdout] --> crates/encriptions/src/point.rs:102:33 [INFO] [stdout] | [INFO] [stdout] 102 | T::from((y2.clone() - y1.clone())) / T::from((x2.clone() - x1.clone())), [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 102 - T::from((y2.clone() - y1.clone())) / T::from((x2.clone() - x1.clone())), [INFO] [stdout] 102 + T::from(y2.clone() - y1.clone()) / T::from((x2.clone() - x1.clone())), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around function argument [INFO] [stdout] --> crates/encriptions/src/point.rs:102:70 [INFO] [stdout] | [INFO] [stdout] 102 | T::from((y2.clone() - y1.clone())) / T::from((x2.clone() - x1.clone())), [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 102 - T::from((y2.clone() - y1.clone())) / T::from((x2.clone() - x1.clone())), [INFO] [stdout] 102 + T::from((y2.clone() - y1.clone())) / T::from(x2.clone() - x1.clone()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `num::traits::real::Real` [INFO] [stdout] --> crates/encriptions/src/curve.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use num::traits::real::Real; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `AddAssign`, `Add`, and `Mul` [INFO] [stdout] --> crates/encriptions/src/curve.rs:6:16 [INFO] [stdout] | [INFO] [stdout] 6 | use std::ops::{Add, AddAssign, Mul}; [INFO] [stdout] | ^^^ ^^^^^^^^^ ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `f64FieldElement` should have an upper camel case name [INFO] [stdout] --> crates/encriptions/src/field.rs:138:12 [INFO] [stdout] | [INFO] [stdout] 138 | pub struct f64FieldElement(f64); [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case (notice the capitalization): `F64fieldElement` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Float` [INFO] [stdout] --> crates/encriptions/src/point.rs:3:19 [INFO] [stdout] | [INFO] [stdout] 3 | use num::{BigInt, Float}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around function argument [INFO] [stdout] --> crates/encriptions/src/point.rs:102:33 [INFO] [stdout] | [INFO] [stdout] 102 | T::from((y2.clone() - y1.clone())) / T::from((x2.clone() - x1.clone())), [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 102 - T::from((y2.clone() - y1.clone())) / T::from((x2.clone() - x1.clone())), [INFO] [stdout] 102 + T::from(y2.clone() - y1.clone()) / T::from((x2.clone() - x1.clone())), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around function argument [INFO] [stdout] --> crates/encriptions/src/point.rs:102:70 [INFO] [stdout] | [INFO] [stdout] 102 | T::from((y2.clone() - y1.clone())) / T::from((x2.clone() - x1.clone())), [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 102 - T::from((y2.clone() - y1.clone())) / T::from((x2.clone() - x1.clone())), [INFO] [stdout] 102 + T::from((y2.clone() - y1.clone())) / T::from(x2.clone() - x1.clone()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `num_traits::Pow` [INFO] [stdout] --> crates/encriptions/src/curve.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use num_traits::Pow; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rhs` [INFO] [stdout] --> crates/encriptions/src/point.rs:73:18 [INFO] [stdout] | [INFO] [stdout] 73 | fn mul(self, rhs: PointOnCurve) -> Self::Output { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_rhs` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new_from_u64` is never used [INFO] [stdout] --> crates/encriptions/src/field.rs:56:12 [INFO] [stdout] | [INFO] [stdout] 47 | impl FiniteFieldElement

{ [INFO] [stdout] | ------------------------------------ associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 56 | pub fn new_from_u64(value: u64) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking programming_bitcoin_book_in_rust v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `num_traits::Pow` [INFO] [stdout] --> crates/encriptions/src/curve.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use num_traits::Pow; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rhs` [INFO] [stdout] --> crates/encriptions/src/point.rs:73:18 [INFO] [stdout] | [INFO] [stdout] 73 | fn mul(self, rhs: PointOnCurve) -> Self::Output { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_rhs` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 3.83s [INFO] running `Command { std: "docker" "inspect" "91fbde268606aa698afb672b7ef3a0e24aa741834c0a5e711319dbf5e0f551e3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "91fbde268606aa698afb672b7ef3a0e24aa741834c0a5e711319dbf5e0f551e3", kill_on_drop: false }` [INFO] [stdout] 91fbde268606aa698afb672b7ef3a0e24aa741834c0a5e711319dbf5e0f551e3