[INFO] cloning repository https://github.com/SpekalsG3/elliptic [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/SpekalsG3/elliptic" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSpekalsG3%2Felliptic", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSpekalsG3%2Felliptic'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] ac7a81b6602c90f0e5bd7bc7cfdb1d6817e8ac48 [INFO] checking SpekalsG3/elliptic against a5689b034ad287112f709693384a37f1377eb9cc for pr-129249-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSpekalsG3%2Felliptic" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/SpekalsG3/elliptic [INFO] finished tweaking git repo https://github.com/SpekalsG3/elliptic [INFO] tweaked toml for git repo https://github.com/SpekalsG3/elliptic written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/SpekalsG3/elliptic on toolchain a5689b034ad287112f709693384a37f1377eb9cc [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a5689b034ad287112f709693384a37f1377eb9cc" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/SpekalsG3/elliptic 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" "+a5689b034ad287112f709693384a37f1377eb9cc" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:77db811e55d90add9212f6832c23229e3de5f1c1f9905e8cb07319ea15df73ac" "sleep" "infinity", kill_on_drop: false }` [INFO] [stdout] 5d94bc47d90d63ca0731cb2d9ca8478eb5af3487583fcf9a169c2972bf3def7f [INFO] running `Command { std: "docker" "start" "5d94bc47d90d63ca0731cb2d9ca8478eb5af3487583fcf9a169c2972bf3def7f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5d94bc47d90d63ca0731cb2d9ca8478eb5af3487583fcf9a169c2972bf3def7f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "5d94bc47d90d63ca0731cb2d9ca8478eb5af3487583fcf9a169c2972bf3def7f" "/opt/rustwide/cargo-home/bin/cargo" "+a5689b034ad287112f709693384a37f1377eb9cc" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5d94bc47d90d63ca0731cb2d9ca8478eb5af3487583fcf9a169c2972bf3def7f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "5d94bc47d90d63ca0731cb2d9ca8478eb5af3487583fcf9a169c2972bf3def7f" "/opt/rustwide/cargo-home/bin/cargo" "+a5689b034ad287112f709693384a37f1377eb9cc" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Compiling num-traits v0.2.18 [INFO] [stderr] Compiling num-bigint v0.4.4 [INFO] [stderr] Checking ppv-lite86 v0.2.17 [INFO] [stderr] Checking getrandom v0.2.12 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking elliptic v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `RngCore` and `thread_rng` [INFO] [stdout] --> src/field/field.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | use rand::{RngCore, thread_rng}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::utils::s_tonelli::tonelli_shanks` [INFO] [stdout] --> src/field/field.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::utils::s_tonelli::tonelli_shanks; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `RngCore` and `thread_rng` [INFO] [stdout] --> src/field/field.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | use rand::{RngCore, thread_rng}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated module `std::usize`: all constants in this module replaced by associated constants on the type [INFO] [stdout] --> src/utils/bit_iter.rs:1:10 [INFO] [stdout] | [INFO] [stdout] 1 | use std::usize; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::utils::s_tonelli::tonelli_shanks` [INFO] [stdout] --> src/field/field.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::utils::s_tonelli::tonelli_shanks; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated module `std::usize`: all constants in this module replaced by associated constants on the type [INFO] [stdout] --> src/utils/bit_iter.rs:1:10 [INFO] [stdout] | [INFO] [stdout] 1 | use std::usize; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `phi` is never used [INFO] [stdout] --> src/curves/weierstass.rs:350:8 [INFO] [stdout] | [INFO] [stdout] 18 | impl<'a> WeierstrassCurve<'a> { [INFO] [stdout] | ----------------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 350 | fn phi( [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `BigUint` [INFO] [stdout] --> src/utils/xgcd.rs:49:18 [INFO] [stdout] | [INFO] [stdout] 49 | (xy1.0, xy1.1, a.0.into()) [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors [INFO] [stdout] = note: `#[deny(self_type_conversion)]` on by default [INFO] [stdout] help: consider removing the conversion call [INFO] [stdout] | [INFO] [stdout] 49 - (xy1.0, xy1.1, a.0.into()) [INFO] [stdout] 49 + (xy1.0, xy1.1, a.0) [INFO] [stdout] | [INFO] [stdout] help: you can use the fully-qualified path to avoid triggering this lint [INFO] [stdout] | [INFO] [stdout] 49 - (xy1.0, xy1.1, a.0.into()) [INFO] [stdout] 49 + (xy1.0, xy1.1, >::into(a.0)) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/field/field.rs:34:14 [INFO] [stdout] | [INFO] [stdout] 34 | pub fn get(&self, v: BigUint) -> FieldElement { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided 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: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 34 | pub fn get(&self, v: BigUint) -> FieldElement<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/curves/weierstass.rs:30:22 [INFO] [stdout] | [INFO] [stdout] 30 | pub fn get_base (&self) -> Point { [INFO] [stdout] | ^^^^^ ^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 30 | pub fn get_base (&self) -> Point<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `elliptic` (lib) due to 1 previous error; 6 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: method `phi` is never used [INFO] [stdout] --> src/curves/weierstass.rs:350:8 [INFO] [stdout] | [INFO] [stdout] 18 | impl<'a> WeierstrassCurve<'a> { [INFO] [stdout] | ----------------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 350 | fn phi( [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `num_bigint::BigUint` [INFO] [stdout] --> src/utils/xgcd.rs:49:18 [INFO] [stdout] | [INFO] [stdout] 49 | (xy1.0, xy1.1, a.0.into()) [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors [INFO] [stdout] = note: `#[deny(self_type_conversion)]` on by default [INFO] [stdout] help: consider removing the conversion call [INFO] [stdout] | [INFO] [stdout] 49 - (xy1.0, xy1.1, a.0.into()) [INFO] [stdout] 49 + (xy1.0, xy1.1, a.0) [INFO] [stdout] | [INFO] [stdout] help: you can use the fully-qualified path to avoid triggering this lint [INFO] [stdout] | [INFO] [stdout] 49 - (xy1.0, xy1.1, a.0.into()) [INFO] [stdout] 49 + (xy1.0, xy1.1, >::into(a.0)) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/field/field.rs:34:14 [INFO] [stdout] | [INFO] [stdout] 34 | pub fn get(&self, v: BigUint) -> FieldElement { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided 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: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 34 | pub fn get(&self, v: BigUint) -> FieldElement<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/curves/weierstass.rs:30:22 [INFO] [stdout] | [INFO] [stdout] 30 | pub fn get_base (&self) -> Point { [INFO] [stdout] | ^^^^^ ^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 30 | pub fn get_base (&self) -> Point<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `elliptic` (lib test) due to 1 previous error; 6 warnings emitted [INFO] running `Command { std: "docker" "inspect" "5d94bc47d90d63ca0731cb2d9ca8478eb5af3487583fcf9a169c2972bf3def7f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5d94bc47d90d63ca0731cb2d9ca8478eb5af3487583fcf9a169c2972bf3def7f", kill_on_drop: false }` [INFO] [stdout] 5d94bc47d90d63ca0731cb2d9ca8478eb5af3487583fcf9a169c2972bf3def7f