[INFO] cloning repository https://github.com/roshr22/FeRus
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/roshr22/FeRus" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Froshr22%2FFeRus", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Froshr22%2FFeRus'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] f13cd22e9a0db2f2f545e49de17503aca355fb00
[INFO] checking roshr22/FeRus against 52995a223f2919dd3e2e427231db90a257350ded for pr-129249-4
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Froshr22%2FFeRus" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/roshr22/FeRus
[INFO] finished tweaking git repo https://github.com/roshr22/FeRus
[INFO] tweaked toml for git repo https://github.com/roshr22/FeRus written to /workspace/builds/worker-5-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/roshr22/FeRus on toolchain 52995a223f2919dd3e2e427231db90a257350ded
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+52995a223f2919dd3e2e427231db90a257350ded" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/roshr22/FeRus 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" "+52995a223f2919dd3e2e427231db90a257350ded" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:c0af3998e971868164375a7dfb646c9933ddd1a3bdb00fa2041266763dc1eeab" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 169e904ad7145b31f29351c5db16dc13feaa586fa358743d91dc7bfc7b666d60
[INFO] running `Command { std: "docker" "start" "169e904ad7145b31f29351c5db16dc13feaa586fa358743d91dc7bfc7b666d60", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "169e904ad7145b31f29351c5db16dc13feaa586fa358743d91dc7bfc7b666d60", 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" "169e904ad7145b31f29351c5db16dc13feaa586fa358743d91dc7bfc7b666d60" "/opt/rustwide/cargo-home/bin/cargo" "+52995a223f2919dd3e2e427231db90a257350ded" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "169e904ad7145b31f29351c5db16dc13feaa586fa358743d91dc7bfc7b666d60", 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" "169e904ad7145b31f29351c5db16dc13feaa586fa358743d91dc7bfc7b666d60" "/opt/rustwide/cargo-home/bin/cargo" "+52995a223f2919dd3e2e427231db90a257350ded" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling target-lexicon v0.13.2
[INFO] [stderr]    Compiling libc v0.2.174
[INFO] [stderr]    Compiling proc-macro2 v1.0.95
[INFO] [stderr]    Compiling indoc v2.0.6
[INFO] [stderr]     Checking num-integer v0.1.46
[INFO] [stderr]     Checking crossbeam-epoch v0.9.18
[INFO] [stderr]     Checking crossbeam-queue v0.3.12
[INFO] [stderr]     Checking crossbeam-channel v0.5.15
[INFO] [stderr]     Checking crossbeam-deque v0.8.6
[INFO] [stderr]     Checking crossbeam v0.8.4
[INFO] [stderr]    Compiling quote v1.0.40
[INFO] [stderr]    Compiling pyo3-build-config v0.25.1
[INFO] [stderr]    Compiling syn v2.0.104
[INFO] [stderr]     Checking getrandom v0.2.16
[INFO] [stderr]     Checking rand_core v0.6.4
[INFO] [stderr]     Checking rand_chacha v0.3.1
[INFO] [stderr]     Checking rand v0.8.5
[INFO] [stderr]    Compiling pyo3-macros-backend v0.25.1
[INFO] [stderr]    Compiling pyo3-ffi v0.25.1
[INFO] [stderr]    Compiling pyo3 v0.25.1
[INFO] [stderr]     Checking num-bigint v0.4.6
[INFO] [stderr]    Compiling pyo3-macros v0.25.1
[INFO] [stderr]     Checking ddhlib v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/lib.rs:171:9
[INFO] [stdout]     |
[INFO] [stdout] 171 |     let mut ginv = g.clone().modinv(&calc.p).expect("Inverse does not exist");
[INFO] [stdout]     |         ----^^^^
[INFO] [stdout]     |         |
[INFO] [stdout]     |         help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `i_big`
[INFO] [stdout]    --> src/lib.rs:197:13
[INFO] [stdout]     |
[INFO] [stdout] 197 |         let i_big = BigInt::from(i);
[INFO] [stdout]     |             ^^^^^ help: if this is intentional, prefix it with an underscore: `_i_big`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `giant_step` is never read
[INFO] [stdout]    --> src/lib.rs:123:26
[INFO] [stdout]     |
[INFO] [stdout] 123 |     let mut giant_step = BigInt::from(0);
[INFO] [stdout]     |                          ^^^^^^^^^^^^^^^ this value is reassigned later and never used
[INFO] [stdout] ...
[INFO] [stdout] 132 |             giant_step = calc.m.clone();
[INFO] [stdout]     |             ---------- `giant_step` is overwritten here before the previous value is read
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `bound` is never read
[INFO] [stdout]    --> src/lib.rs:124:21
[INFO] [stdout]     |
[INFO] [stdout] 124 |     let mut bound = BigInt::from(0);
[INFO] [stdout]     |                     ^^^^^^^^^^^^^^^ this value is reassigned later and never used
[INFO] [stdout] ...
[INFO] [stdout] 146 |         bound = two.pow(2*(i+1));
[INFO] [stdout]     |         ----- `bound` is overwritten here before the previous value is read
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `giant_step` is never read
[INFO] [stdout]    --> src/lib.rs:184:26
[INFO] [stdout]     |
[INFO] [stdout] 184 |     let mut giant_step = BigInt::from(0);
[INFO] [stdout]     |                          ^^^^^^^^^^^^^^^ this value is reassigned later and never used
[INFO] [stdout] ...
[INFO] [stdout] 192 |             giant_step = calc.m.clone();
[INFO] [stdout]     |             ---------- `giant_step` is overwritten here before the previous value is read
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `bound` is never read
[INFO] [stdout]    --> src/lib.rs:185:21
[INFO] [stdout]     |
[INFO] [stdout] 185 |     let mut bound = BigInt::from(0);
[INFO] [stdout]     |                     ^^^^^^^^^^^^^^^ this value is reassigned later and never used
[INFO] [stdout] ...
[INFO] [stdout] 207 |         bound = two.pow(2*(i+1));
[INFO] [stdout]     |         ----- `bound` is overwritten here before the previous value is read
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `i`
[INFO] [stdout]    --> src/lib.rs:320:13
[INFO] [stdout]     |
[INFO] [stdout] 320 |         for i in 0..l_usize {
[INFO] [stdout]     |             ^ help: if this is intentional, prefix it with an underscore: `_i`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `bound`
[INFO] [stdout]    --> src/lib.rs:370:13
[INFO] [stdout]     |
[INFO] [stdout] 370 |         let bound = (self.params.bound.clone()).into_pyobject(py).unwrap();
[INFO] [stdout]     |             ^^^^^ help: if this is intentional, prefix it with an underscore: `_bound`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `neg` is never read
[INFO] [stdout]   --> src/lib.rs:44:5
[INFO] [stdout]    |
[INFO] [stdout] 40 | pub struct CalcZp {
[INFO] [stdout]    |            ------ field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 44 |     neg: bool,
[INFO] [stdout]    |     ^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `CalcZp` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/lib.rs:171:9
[INFO] [stdout]     |
[INFO] [stdout] 171 |     let mut ginv = g.clone().modinv(&calc.p).expect("Inverse does not exist");
[INFO] [stdout]     |         ----^^^^
[INFO] [stdout]     |         |
[INFO] [stdout]     |         help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `i_big`
[INFO] [stdout]    --> src/lib.rs:197:13
[INFO] [stdout]     |
[INFO] [stdout] 197 |         let i_big = BigInt::from(i);
[INFO] [stdout]     |             ^^^^^ help: if this is intentional, prefix it with an underscore: `_i_big`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `giant_step` is never read
[INFO] [stdout]    --> src/lib.rs:123:26
[INFO] [stdout]     |
[INFO] [stdout] 123 |     let mut giant_step = BigInt::from(0);
[INFO] [stdout]     |                          ^^^^^^^^^^^^^^^ this value is reassigned later and never used
[INFO] [stdout] ...
[INFO] [stdout] 132 |             giant_step = calc.m.clone();
[INFO] [stdout]     |             ---------- `giant_step` is overwritten here before the previous value is read
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `bound` is never read
[INFO] [stdout]    --> src/lib.rs:124:21
[INFO] [stdout]     |
[INFO] [stdout] 124 |     let mut bound = BigInt::from(0);
[INFO] [stdout]     |                     ^^^^^^^^^^^^^^^ this value is reassigned later and never used
[INFO] [stdout] ...
[INFO] [stdout] 146 |         bound = two.pow(2*(i+1));
[INFO] [stdout]     |         ----- `bound` is overwritten here before the previous value is read
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `giant_step` is never read
[INFO] [stdout]    --> src/lib.rs:184:26
[INFO] [stdout]     |
[INFO] [stdout] 184 |     let mut giant_step = BigInt::from(0);
[INFO] [stdout]     |                          ^^^^^^^^^^^^^^^ this value is reassigned later and never used
[INFO] [stdout] ...
[INFO] [stdout] 192 |             giant_step = calc.m.clone();
[INFO] [stdout]     |             ---------- `giant_step` is overwritten here before the previous value is read
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `bound` is never read
[INFO] [stdout]    --> src/lib.rs:185:21
[INFO] [stdout]     |
[INFO] [stdout] 185 |     let mut bound = BigInt::from(0);
[INFO] [stdout]     |                     ^^^^^^^^^^^^^^^ this value is reassigned later and never used
[INFO] [stdout] ...
[INFO] [stdout] 207 |         bound = two.pow(2*(i+1));
[INFO] [stdout]     |         ----- `bound` is overwritten here before the previous value is read
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `i`
[INFO] [stdout]    --> src/lib.rs:320:13
[INFO] [stdout]     |
[INFO] [stdout] 320 |         for i in 0..l_usize {
[INFO] [stdout]     |             ^ help: if this is intentional, prefix it with an underscore: `_i`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: useless conversion to the same type: `PyErr`
[INFO] [stdout]   --> src/lib.rs:48:55
[INFO] [stdout]    |
[INFO] [stdout] 48 | fn check_bound(v: Vector, bound: Bound<'_, PyInt>) -> PyResult<bool> {
[INFO] [stdout]    |                                                       ^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this method call relies on the `impl<T> Into<T> 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] 
[INFO] [stdout] 
[INFO] [stdout] error: useless conversion to the same type: `PyErr`
[INFO] [stdout]    --> src/lib.rs:276:111
[INFO] [stdout]     |
[INFO] [stdout] 276 |     fn new_ddh_precomp(py: Python<'_>, l: Bound<'_, PyInt>, modulus_length:usize, bound: Bound<'_, PyInt>) -> PyResult<Self> {
[INFO] [stdout]     |                                                                                                               ^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this method call relies on the `impl<T> Into<T> 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] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `bound`
[INFO] [stdout]    --> src/lib.rs:370:13
[INFO] [stdout]     |
[INFO] [stdout] 370 |         let bound = (self.params.bound.clone()).into_pyobject(py).unwrap();
[INFO] [stdout]     |             ^^^^^ help: if this is intentional, prefix it with an underscore: `_bound`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `neg` is never read
[INFO] [stdout]   --> src/lib.rs:44:5
[INFO] [stdout]    |
[INFO] [stdout] 40 | pub struct CalcZp {
[INFO] [stdout]    |            ------ field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 44 |     neg: bool,
[INFO] [stdout]    |     ^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `CalcZp` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `ddhlib` (lib test) due to 2 previous errors; 9 warnings emitted
[INFO] [stdout] error: useless conversion to the same type: `PyErr`
[INFO] [stdout]   --> src/lib.rs:48:55
[INFO] [stdout]    |
[INFO] [stdout] 48 | fn check_bound(v: Vector, bound: Bound<'_, PyInt>) -> PyResult<bool> {
[INFO] [stdout]    |                                                       ^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this method call relies on the `impl<T> Into<T> 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] 
[INFO] [stdout] 
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] error: useless conversion to the same type: `PyErr`
[INFO] [stdout]    --> src/lib.rs:276:111
[INFO] [stdout]     |
[INFO] [stdout] 276 |     fn new_ddh_precomp(py: Python<'_>, l: Bound<'_, PyInt>, modulus_length:usize, bound: Bound<'_, PyInt>) -> PyResult<Self> {
[INFO] [stdout]     |                                                                                                               ^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this method call relies on the `impl<T> Into<T> 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] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `ddhlib` (lib) due to 2 previous errors; 9 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "169e904ad7145b31f29351c5db16dc13feaa586fa358743d91dc7bfc7b666d60", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "169e904ad7145b31f29351c5db16dc13feaa586fa358743d91dc7bfc7b666d60", kill_on_drop: false }`
[INFO] [stdout] 169e904ad7145b31f29351c5db16dc13feaa586fa358743d91dc7bfc7b666d60
