[INFO] cloning repository https://github.com/preston-evans98/ECC [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/preston-evans98/ECC" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpreston-evans98%2FECC", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpreston-evans98%2FECC'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] dc100abbfb59054808e4f705d29a4e28632f4e24 [INFO] checking preston-evans98/ECC against try#a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d for pr-145342-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpreston-evans98%2FECC" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/preston-evans98/ECC [INFO] finished tweaking git repo https://github.com/preston-evans98/ECC [INFO] tweaked toml for git repo https://github.com/preston-evans98/ECC written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/preston-evans98/ECC on toolchain a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/preston-evans98/ECC 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" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "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-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 034c05bd8ed35b558f4abc84324aa2f6f429e070ae6d7b03a2d19cc6b8432bca [INFO] running `Command { std: "docker" "start" "-a" "034c05bd8ed35b558f4abc84324aa2f6f429e070ae6d7b03a2d19cc6b8432bca", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "034c05bd8ed35b558f4abc84324aa2f6f429e070ae6d7b03a2d19cc6b8432bca", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "034c05bd8ed35b558f4abc84324aa2f6f429e070ae6d7b03a2d19cc6b8432bca", kill_on_drop: false }` [INFO] [stdout] 034c05bd8ed35b558f4abc84324aa2f6f429e070ae6d7b03a2d19cc6b8432bca [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c182fd05c508fc33763cc3828c35d645c6a5480275a6bbc9919ccda0700c65dd [INFO] running `Command { std: "docker" "start" "-a" "c182fd05c508fc33763cc3828c35d645c6a5480275a6bbc9919ccda0700c65dd", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v0.1.7 [INFO] [stderr] Compiling num-traits v0.2.8 [INFO] [stderr] Compiling num-integer v0.1.41 [INFO] [stderr] Compiling num-bigint v0.2.3 [INFO] [stderr] Checking bitcoin v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `ToBigUint` [INFO] [stdout] --> src/main.rs:1:27 [INFO] [stdout] | [INFO] [stdout] 1 | use num_bigint::{BigUint, ToBigUint}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `finite_field::FieldElement` [INFO] [stdout] --> src/main.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use finite_field::FieldElement; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ToBigUint` [INFO] [stdout] --> src/main.rs:1:27 [INFO] [stdout] | [INFO] [stdout] 1 | use num_bigint::{BigUint, ToBigUint}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `S256` should have a snake case name [INFO] [stdout] --> src/main.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | let S256 = EllipticCurve::new_large( [INFO] [stdout] | ^^^^ help: convert the identifier to snake case (notice the capitalization): `s256` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `G` should have a snake case name [INFO] [stdout] --> src/main.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 16 | let G = CurvePoint::new_large( [INFO] [stdout] | ^ help: convert the identifier to snake case: `g` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `N` should have a snake case name [INFO] [stdout] --> src/main.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 21 | let N = BigUint::parse_bytes( [INFO] [stdout] | ^ help: convert the identifier to snake case: `n` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/elliptic_curve.rs:52:42 [INFO] [stdout] | [INFO] [stdout] 52 | pub fn new(x: T, y: U, curve: &'a EllipticCurve) -> CurvePoint [INFO] [stdout] | ^^ ---------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 52 | pub fn new(x: T, y: U, curve: &'a EllipticCurve) -> CurvePoint<'a> [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/elliptic_curve.rs:97:29 [INFO] [stdout] | [INFO] [stdout] 97 | pub fn infinity(curve: &'a EllipticCurve) -> CurvePoint { [INFO] [stdout] | ^^ ---------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 97 | pub fn infinity(curve: &'a EllipticCurve) -> CurvePoint<'a> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `S256` should have a snake case name [INFO] [stdout] --> src/main.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | let S256 = EllipticCurve::new_large( [INFO] [stdout] | ^^^^ help: convert the identifier to snake case (notice the capitalization): `s256` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `G` should have a snake case name [INFO] [stdout] --> src/main.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 16 | let G = CurvePoint::new_large( [INFO] [stdout] | ^ help: convert the identifier to snake case: `g` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `N` should have a snake case name [INFO] [stdout] --> src/main.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 21 | let N = BigUint::parse_bytes( [INFO] [stdout] | ^ help: convert the identifier to snake case: `n` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `S256` should have a snake case name [INFO] [stdout] --> src/main.rs:171:9 [INFO] [stdout] | [INFO] [stdout] 171 | let S256 = EllipticCurve::new_large( [INFO] [stdout] | ^^^^ help: convert the identifier to snake case (notice the capitalization): `s256` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `G` should have a snake case name [INFO] [stdout] --> src/main.rs:176:9 [INFO] [stdout] | [INFO] [stdout] 176 | let G = CurvePoint::new_large( [INFO] [stdout] | ^ help: convert the identifier to snake case: `g` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `S256` should have a snake case name [INFO] [stdout] --> src/main.rs:191:9 [INFO] [stdout] | [INFO] [stdout] 191 | let S256 = EllipticCurve::new_large( [INFO] [stdout] | ^^^^ help: convert the identifier to snake case (notice the capitalization): `s256` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `G` should have a snake case name [INFO] [stdout] --> src/main.rs:196:9 [INFO] [stdout] | [INFO] [stdout] 196 | let G = CurvePoint::new_large( [INFO] [stdout] | ^ help: convert the identifier to snake case: `g` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `N` should have a snake case name [INFO] [stdout] --> src/main.rs:201:9 [INFO] [stdout] | [INFO] [stdout] 201 | let N = BigUint::parse_bytes( [INFO] [stdout] | ^ help: convert the identifier to snake case: `n` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/elliptic_curve.rs:52:42 [INFO] [stdout] | [INFO] [stdout] 52 | pub fn new(x: T, y: U, curve: &'a EllipticCurve) -> CurvePoint [INFO] [stdout] | ^^ ---------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 52 | pub fn new(x: T, y: U, curve: &'a EllipticCurve) -> CurvePoint<'a> [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/elliptic_curve.rs:97:29 [INFO] [stdout] | [INFO] [stdout] 97 | pub fn infinity(curve: &'a EllipticCurve) -> CurvePoint { [INFO] [stdout] | ^^ ---------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 97 | pub fn infinity(curve: &'a EllipticCurve) -> CurvePoint<'a> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 3.17s [INFO] running `Command { std: "docker" "inspect" "c182fd05c508fc33763cc3828c35d645c6a5480275a6bbc9919ccda0700c65dd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c182fd05c508fc33763cc3828c35d645c6a5480275a6bbc9919ccda0700c65dd", kill_on_drop: false }` [INFO] [stdout] c182fd05c508fc33763cc3828c35d645c6a5480275a6bbc9919ccda0700c65dd