[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 try#cac44d9528e3bbbdaa1537d187bd489ccc5de18c for pr-91141 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhigumachan%2Fprogramming_bitcoin_book_in_rust" "/workspace/builds/worker-39/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-39/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/higumachan/programming_bitcoin_book_in_rust on toolchain cac44d9528e3bbbdaa1537d187bd489ccc5de18c [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+cac44d9528e3bbbdaa1537d187bd489ccc5de18c" "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-39/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: "/workspace/cargo-home/bin/cargo" "+cac44d9528e3bbbdaa1537d187bd489ccc5de18c" "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-39/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-39/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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+cac44d9528e3bbbdaa1537d187bd489ccc5de18c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 97e287094d4b159f9cf2eea9aa047b81d9506efc911d626193c82fb22ab0de8d [INFO] running `Command { std: "docker" "start" "-a" "97e287094d4b159f9cf2eea9aa047b81d9506efc911d626193c82fb22ab0de8d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "97e287094d4b159f9cf2eea9aa047b81d9506efc911d626193c82fb22ab0de8d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "97e287094d4b159f9cf2eea9aa047b81d9506efc911d626193c82fb22ab0de8d", kill_on_drop: false }` [INFO] [stdout] 97e287094d4b159f9cf2eea9aa047b81d9506efc911d626193c82fb22ab0de8d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-39/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-39/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+cac44d9528e3bbbdaa1537d187bd489ccc5de18c" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4335bfd024e2179d3073fbf769497cd6a8f6ecce3491cef5429073d4a05347f6 [INFO] running `Command { std: "docker" "start" "-a" "4335bfd024e2179d3073fbf769497cd6a8f6ecce3491cef5429073d4a05347f6", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling autocfg v1.0.1 [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`, `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`, `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 is never used: `new_from_u64` [INFO] [stdout] --> crates/encriptions/src/field.rs:56:12 [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: 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: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking programming_bitcoin_book_in_rust v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 2m 33s [INFO] running `Command { std: "docker" "inspect" "4335bfd024e2179d3073fbf769497cd6a8f6ecce3491cef5429073d4a05347f6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4335bfd024e2179d3073fbf769497cd6a8f6ecce3491cef5429073d4a05347f6", kill_on_drop: false }` [INFO] [stdout] 4335bfd024e2179d3073fbf769497cd6a8f6ecce3491cef5429073d4a05347f6