[INFO] fetching crate algebraics 0.3.0... [INFO] checking algebraics-0.3.0 against try#a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d for pr-145342-1 [INFO] extracting crate algebraics 0.3.0 into /workspace/builds/worker-5-tc2/source [INFO] started tweaking crates.io crate algebraics 0.3.0 [INFO] finished tweaking crates.io crate algebraics 0.3.0 [INFO] tweaked toml for crates.io crate algebraics 0.3.0 written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate algebraics 0.3.0 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] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 47 packages to latest compatible versions [INFO] [stderr] Adding pyo3 v0.16.6 (available: v0.25.1) [INFO] [stderr] Adding rand v0.8.5 (available: v0.9.2) [INFO] [stderr] Adding rand_pcg v0.3.1 (available: v0.9.0) [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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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] ce35b36bad7aa3b7012ad0ecdc82752f2b1cec76dab6d9dd16df9b2cb7f93956 [INFO] running `Command { std: "docker" "start" "-a" "ce35b36bad7aa3b7012ad0ecdc82752f2b1cec76dab6d9dd16df9b2cb7f93956", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ce35b36bad7aa3b7012ad0ecdc82752f2b1cec76dab6d9dd16df9b2cb7f93956", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ce35b36bad7aa3b7012ad0ecdc82752f2b1cec76dab6d9dd16df9b2cb7f93956", kill_on_drop: false }` [INFO] [stdout] ce35b36bad7aa3b7012ad0ecdc82752f2b1cec76dab6d9dd16df9b2cb7f93956 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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] 3fcc24b139ba54f89849d5323e489b5381196825331418d45a1f6640194b4243 [INFO] running `Command { std: "docker" "start" "-a" "3fcc24b139ba54f89849d5323e489b5381196825331418d45a1f6640194b4243", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.175 [INFO] [stderr] Compiling autocfg v1.5.0 [INFO] [stderr] Checking cfg-if v1.0.3 [INFO] [stderr] Compiling zerocopy v0.8.26 [INFO] [stderr] Checking lazy_static v1.5.0 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Checking num-bigint v0.4.6 [INFO] [stderr] Checking getrandom v0.2.16 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking ppv-lite86 v0.2.21 [INFO] [stderr] Checking rand_pcg v0.3.1 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking num-rational v0.4.2 [INFO] [stderr] Checking algebraics v0.3.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: field `minimal_polynomial` is never read [INFO] [stdout] --> src/algebraic_numbers.rs:319:5 [INFO] [stdout] | [INFO] [stdout] 318 | struct IntervalShrinker<'a> { [INFO] [stdout] | ---------------- field in this struct [INFO] [stdout] 319 | minimal_polynomial: &'a Polynomial, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `IntervalShrinker` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `DivRemNearest` is never used [INFO] [stdout] --> src/traits.rs:208:18 [INFO] [stdout] | [INFO] [stdout] 208 | pub(crate) trait DivRemNearest: Sized { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `IsolatedRealRoot` is never used [INFO] [stdout] --> src/traits.rs:477:18 [INFO] [stdout] | [INFO] [stdout] 477 | pub(crate) trait IsolatedRealRoot { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/algebraic_numbers.rs:483:26 [INFO] [stdout] | [INFO] [stdout] 483 | fn interval_shrinker(&mut self) -> IntervalShrinker { [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] 483 | fn interval_shrinker(&mut self) -> IntervalShrinker<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/algebraic_numbers.rs:611:34 [INFO] [stdout] | [INFO] [stdout] 611 | fn remove_zero_from_interval(&mut self) -> Option<(Sign, IntervalShrinker)> { [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] 611 | fn remove_zero_from_interval(&mut self) -> Option<(Sign, IntervalShrinker<'_>)> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/algebraic_numbers.rs:958:15 [INFO] [stdout] | [INFO] [stdout] 958 | fn factor(&self) -> Cow> { [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] 958 | fn factor(&self) -> Cow<'_, Polynomial> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.borrow()` on a reference in this situation does nothing [INFO] [stdout] --> src/array2d.rs:73:28 [INFO] [stdout] | [INFO] [stdout] 73 | data: this.data.borrow(), [INFO] [stdout] | ^^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `[T]` does not implement `Borrow`, so calling `borrow` on `&[T]` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/array2d.rs:277:9 [INFO] [stdout] | [INFO] [stdout] 277 | &self, [INFO] [stdout] | ^^^^^ the lifetime is elided here [INFO] [stdout] ... [INFO] [stdout] 280 | ) -> Array2DSlice { [INFO] [stdout] | --------------------------- the same lifetime is hidden 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] 280 | ) -> Array2DSlice<'_, Data::Element> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/array2d.rs:294:9 [INFO] [stdout] | [INFO] [stdout] 294 | &mut self, [INFO] [stdout] | ^^^^^^^^^ the lifetime is elided here [INFO] [stdout] ... [INFO] [stdout] 297 | ) -> Array2DMutSlice [INFO] [stdout] | ------------------------------ the same lifetime is hidden 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] 297 | ) -> Array2DMutSlice<'_, Data::Element> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/array2d.rs:316:24 [INFO] [stdout] | [INFO] [stdout] 316 | pub(crate) fn iter(&self) -> Iter { [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] 316 | pub(crate) fn iter(&self) -> Iter<'_, Data::Element> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/array2d.rs:323:28 [INFO] [stdout] | [INFO] [stdout] 323 | pub(crate) fn iter_mut(&mut self) -> IterMut [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] 323 | pub(crate) fn iter_mut(&mut self) -> IterMut<'_, Data::Element> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/mod_int.rs:174:19 [INFO] [stdout] | [INFO] [stdout] 174 | fn to_modulus(&self) -> Cow; [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] 174 | fn to_modulus(&self) -> Cow<'_, Value>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/mod_int.rs:183:19 [INFO] [stdout] | [INFO] [stdout] 183 | fn to_modulus(&self) -> Cow { [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] 183 | fn to_modulus(&self) -> Cow<'_, Value> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/mod_int.rs:247:19 [INFO] [stdout] | [INFO] [stdout] 247 | fn to_modulus(&self) -> Cow { [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] 247 | fn to_modulus(&self) -> Cow<'_, Value> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/mod_int.rs:316:19 [INFO] [stdout] | [INFO] [stdout] 316 | fn to_modulus(&self) -> Cow { [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] 316 | fn to_modulus(&self) -> Cow<'_, Value> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/mod_int.rs:353:27 [INFO] [stdout] | [INFO] [stdout] 353 | fn to_modulus(&self) -> Cow { [INFO] [stdout] | ^^^^^ --------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] ... [INFO] [stdout] 490 | impl_prim_int_modulus!(i8, i16, i16::from, convert_to, to_i8); [INFO] [stdout] | ------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: this warning originates in the macro `impl_int_modulus` which comes from the expansion of the macro `impl_prim_int_modulus` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 353 | fn to_modulus(&self) -> Cow<'_, Self> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/mod_int.rs:353:27 [INFO] [stdout] | [INFO] [stdout] 353 | fn to_modulus(&self) -> Cow { [INFO] [stdout] | ^^^^^ --------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] ... [INFO] [stdout] 491 | impl_prim_int_modulus!(u8, u16, u16::from, convert_to, to_u8); [INFO] [stdout] | ------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: this warning originates in the macro `impl_int_modulus` which comes from the expansion of the macro `impl_prim_int_modulus` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 353 | fn to_modulus(&self) -> Cow<'_, Self> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/mod_int.rs:353:27 [INFO] [stdout] | [INFO] [stdout] 353 | fn to_modulus(&self) -> Cow { [INFO] [stdout] | ^^^^^ --------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] ... [INFO] [stdout] 492 | impl_prim_int_modulus!(i16, i32, i32::from, convert_to, to_i16); [INFO] [stdout] | --------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: this warning originates in the macro `impl_int_modulus` which comes from the expansion of the macro `impl_prim_int_modulus` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 353 | fn to_modulus(&self) -> Cow<'_, Self> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/mod_int.rs:353:27 [INFO] [stdout] | [INFO] [stdout] 353 | fn to_modulus(&self) -> Cow { [INFO] [stdout] | ^^^^^ --------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] ... [INFO] [stdout] 493 | impl_prim_int_modulus!(u16, u32, u32::from, convert_to, to_u16); [INFO] [stdout] | --------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: this warning originates in the macro `impl_int_modulus` which comes from the expansion of the macro `impl_prim_int_modulus` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 353 | fn to_modulus(&self) -> Cow<'_, Self> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/mod_int.rs:353:27 [INFO] [stdout] | [INFO] [stdout] 353 | fn to_modulus(&self) -> Cow { [INFO] [stdout] | ^^^^^ --------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] ... [INFO] [stdout] 494 | impl_prim_int_modulus!(i32, i64, i64::from, convert_to, to_i32); [INFO] [stdout] | --------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: this warning originates in the macro `impl_int_modulus` which comes from the expansion of the macro `impl_prim_int_modulus` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 353 | fn to_modulus(&self) -> Cow<'_, Self> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/mod_int.rs:353:27 [INFO] [stdout] | [INFO] [stdout] 353 | fn to_modulus(&self) -> Cow { [INFO] [stdout] | ^^^^^ --------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] ... [INFO] [stdout] 495 | impl_prim_int_modulus!(u32, u64, u64::from, convert_to, to_u32); [INFO] [stdout] | --------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: this warning originates in the macro `impl_int_modulus` which comes from the expansion of the macro `impl_prim_int_modulus` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 353 | fn to_modulus(&self) -> Cow<'_, Self> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/mod_int.rs:353:27 [INFO] [stdout] | [INFO] [stdout] 353 | fn to_modulus(&self) -> Cow { [INFO] [stdout] | ^^^^^ --------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] ... [INFO] [stdout] 496 | impl_prim_int_modulus!(i64, i128, i128::from, convert_to, to_i64); [INFO] [stdout] | ----------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: this warning originates in the macro `impl_int_modulus` which comes from the expansion of the macro `impl_prim_int_modulus` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 353 | fn to_modulus(&self) -> Cow<'_, Self> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/mod_int.rs:353:27 [INFO] [stdout] | [INFO] [stdout] 353 | fn to_modulus(&self) -> Cow { [INFO] [stdout] | ^^^^^ --------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] ... [INFO] [stdout] 497 | impl_prim_int_modulus!(u64, u128, u128::from, convert_to, to_u64); [INFO] [stdout] | ----------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: this warning originates in the macro `impl_int_modulus` which comes from the expansion of the macro `impl_prim_int_modulus` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 353 | fn to_modulus(&self) -> Cow<'_, Self> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/mod_int.rs:353:27 [INFO] [stdout] | [INFO] [stdout] 353 | fn to_modulus(&self) -> Cow { [INFO] [stdout] | ^^^^^ --------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] ... [INFO] [stdout] 498 | impl_prim_int_modulus!(i128, BigInt, BigInt::from, convert_to_i128, to_i128); [INFO] [stdout] | ---------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: this warning originates in the macro `impl_int_modulus` which comes from the expansion of the macro `impl_prim_int_modulus` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 353 | fn to_modulus(&self) -> Cow<'_, Self> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/mod_int.rs:353:27 [INFO] [stdout] | [INFO] [stdout] 353 | fn to_modulus(&self) -> Cow { [INFO] [stdout] | ^^^^^ --------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] ... [INFO] [stdout] 499 | impl_prim_int_modulus!(u128, BigUint, BigUint::from, convert_to_u128, to_u128); [INFO] [stdout] | ------------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: this warning originates in the macro `impl_int_modulus` which comes from the expansion of the macro `impl_prim_int_modulus` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 353 | fn to_modulus(&self) -> Cow<'_, Self> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/mod_int.rs:353:27 [INFO] [stdout] | [INFO] [stdout] 353 | fn to_modulus(&self) -> Cow { [INFO] [stdout] | ^^^^^ --------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] ... [INFO] [stdout] 500 | impl_prim_int_modulus!(isize, i128, convert_to::, convert_to, to_isize); [INFO] [stdout] | ------------------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: this warning originates in the macro `impl_int_modulus` which comes from the expansion of the macro `impl_prim_int_modulus` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 353 | fn to_modulus(&self) -> Cow<'_, Self> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/mod_int.rs:353:27 [INFO] [stdout] | [INFO] [stdout] 353 | fn to_modulus(&self) -> Cow { [INFO] [stdout] | ^^^^^ --------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] ... [INFO] [stdout] 501 | impl_prim_int_modulus!(usize, u128, convert_to::, convert_to, to_usize); [INFO] [stdout] | ------------------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: this warning originates in the macro `impl_int_modulus` which comes from the expansion of the macro `impl_prim_int_modulus` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 353 | fn to_modulus(&self) -> Cow<'_, Self> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/mod_int.rs:353:27 [INFO] [stdout] | [INFO] [stdout] 353 | fn to_modulus(&self) -> Cow { [INFO] [stdout] | ^^^^^ --------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] ... [INFO] [stdout] 502 | impl_bigint_modulus!(BigInt, bigint_to_option_bigint); [INFO] [stdout] | ----------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: this warning originates in the macro `impl_int_modulus` which comes from the expansion of the macro `impl_bigint_modulus` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 353 | fn to_modulus(&self) -> Cow<'_, Self> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/mod_int.rs:353:27 [INFO] [stdout] | [INFO] [stdout] 353 | fn to_modulus(&self) -> Cow { [INFO] [stdout] | ^^^^^ --------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] ... [INFO] [stdout] 503 | impl_bigint_modulus!(BigUint, to_biguint); [INFO] [stdout] | ----------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: this warning originates in the macro `impl_int_modulus` which comes from the expansion of the macro `impl_bigint_modulus` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 353 | fn to_modulus(&self) -> Cow<'_, Self> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/mod_int.rs:519:31 [INFO] [stdout] | [INFO] [stdout] 519 | fn to_modulus(&self) -> Cow<$t> { [INFO] [stdout] | ^^^^^ ------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] ... [INFO] [stdout] 572 | impl_static_modulus!(Mod1, 1, .., [odd]); [INFO] [stdout] | ---------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: this warning originates in the macro `impl_static_modulus` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 519 | fn to_modulus(&self) -> Cow<'_, $t> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/mod_int.rs:519:31 [INFO] [stdout] | [INFO] [stdout] 519 | fn to_modulus(&self) -> Cow<$t> { [INFO] [stdout] | ^^^^^ ------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] ... [INFO] [stdout] 573 | impl_static_modulus!(Mod2, 2, .., [prime]); [INFO] [stdout] | ------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: this warning originates in the macro `impl_static_modulus` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 519 | fn to_modulus(&self) -> Cow<'_, $t> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/mod_int.rs:519:31 [INFO] [stdout] | [INFO] [stdout] 519 | fn to_modulus(&self) -> Cow<$t> { [INFO] [stdout] | ^^^^^ ------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] ... [INFO] [stdout] 574 | impl_static_modulus!(Mod3, 3, .., [odd, prime]); [INFO] [stdout] | ----------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: this warning originates in the macro `impl_static_modulus` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 519 | fn to_modulus(&self) -> Cow<'_, $t> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/mod_int.rs:519:31 [INFO] [stdout] | [INFO] [stdout] 519 | fn to_modulus(&self) -> Cow<$t> { [INFO] [stdout] | ^^^^^ ------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] ... [INFO] [stdout] 575 | impl_static_modulus!(Mod4, 4, .., [prime_power(2, 2)]); [INFO] [stdout] | ------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: this warning originates in the macro `impl_static_modulus` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 519 | fn to_modulus(&self) -> Cow<'_, $t> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/mod_int.rs:519:31 [INFO] [stdout] | [INFO] [stdout] 519 | fn to_modulus(&self) -> Cow<$t> { [INFO] [stdout] | ^^^^^ ------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] ... [INFO] [stdout] 576 | impl_static_modulus!(Mod5, 5, .., [odd, prime]); [INFO] [stdout] | ----------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: this warning originates in the macro `impl_static_modulus` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 519 | fn to_modulus(&self) -> Cow<'_, $t> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/mod_int.rs:519:31 [INFO] [stdout] | [INFO] [stdout] 519 | fn to_modulus(&self) -> Cow<$t> { [INFO] [stdout] | ^^^^^ ------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] ... [INFO] [stdout] 577 | impl_static_modulus!(Mod6, 6, .., []); [INFO] [stdout] | ------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: this warning originates in the macro `impl_static_modulus` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 519 | fn to_modulus(&self) -> Cow<'_, $t> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/mod_int.rs:519:31 [INFO] [stdout] | [INFO] [stdout] 519 | fn to_modulus(&self) -> Cow<$t> { [INFO] [stdout] | ^^^^^ ------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] ... [INFO] [stdout] 578 | impl_static_modulus!(Mod7, 7, .., [odd, prime]); [INFO] [stdout] | ----------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: this warning originates in the macro `impl_static_modulus` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 519 | fn to_modulus(&self) -> Cow<'_, $t> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/mod_int.rs:519:31 [INFO] [stdout] | [INFO] [stdout] 519 | fn to_modulus(&self) -> Cow<$t> { [INFO] [stdout] | ^^^^^ ------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] ... [INFO] [stdout] 579 | impl_static_modulus!(Mod8, 8, .., [prime_power(2, 3)]); [INFO] [stdout] | ------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: this warning originates in the macro `impl_static_modulus` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 519 | fn to_modulus(&self) -> Cow<'_, $t> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/mod_int.rs:519:31 [INFO] [stdout] | [INFO] [stdout] 519 | fn to_modulus(&self) -> Cow<$t> { [INFO] [stdout] | ^^^^^ ------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] ... [INFO] [stdout] 580 | impl_static_modulus!(Mod9, 9, .., [odd, prime_power(3, 2)]); [INFO] [stdout] | ----------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: this warning originates in the macro `impl_static_modulus` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 519 | fn to_modulus(&self) -> Cow<'_, $t> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/mod_int.rs:519:31 [INFO] [stdout] | [INFO] [stdout] 519 | fn to_modulus(&self) -> Cow<$t> { [INFO] [stdout] | ^^^^^ ------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] ... [INFO] [stdout] 581 | impl_static_modulus!(Mod10, 10, .., []); [INFO] [stdout] | --------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: this warning originates in the macro `impl_static_modulus` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 519 | fn to_modulus(&self) -> Cow<'_, $t> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/mod_int.rs:519:31 [INFO] [stdout] | [INFO] [stdout] 519 | fn to_modulus(&self) -> Cow<$t> { [INFO] [stdout] | ^^^^^ ------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] ... [INFO] [stdout] 582 | impl_static_modulus!(Mod11, 11, .., [odd, prime]); [INFO] [stdout] | ------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: this warning originates in the macro `impl_static_modulus` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 519 | fn to_modulus(&self) -> Cow<'_, $t> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/mod_int.rs:519:31 [INFO] [stdout] | [INFO] [stdout] 519 | fn to_modulus(&self) -> Cow<$t> { [INFO] [stdout] | ^^^^^ ------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] ... [INFO] [stdout] 583 | impl_static_modulus!(Mod12, 12, .., []); [INFO] [stdout] | --------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: this warning originates in the macro `impl_static_modulus` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 519 | fn to_modulus(&self) -> Cow<'_, $t> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/mod_int.rs:519:31 [INFO] [stdout] | [INFO] [stdout] 519 | fn to_modulus(&self) -> Cow<$t> { [INFO] [stdout] | ^^^^^ ------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] ... [INFO] [stdout] 584 | impl_static_modulus!(Mod13, 13, .., [odd, prime]); [INFO] [stdout] | ------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: this warning originates in the macro `impl_static_modulus` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 519 | fn to_modulus(&self) -> Cow<'_, $t> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/mod_int.rs:519:31 [INFO] [stdout] | [INFO] [stdout] 519 | fn to_modulus(&self) -> Cow<$t> { [INFO] [stdout] | ^^^^^ ------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] ... [INFO] [stdout] 585 | impl_static_modulus!(Mod14, 14, .., []); [INFO] [stdout] | --------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: this warning originates in the macro `impl_static_modulus` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 519 | fn to_modulus(&self) -> Cow<'_, $t> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/mod_int.rs:519:31 [INFO] [stdout] | [INFO] [stdout] 519 | fn to_modulus(&self) -> Cow<$t> { [INFO] [stdout] | ^^^^^ ------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] ... [INFO] [stdout] 586 | impl_static_modulus!(Mod15, 15, .., [odd]); [INFO] [stdout] | ------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: this warning originates in the macro `impl_static_modulus` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 519 | fn to_modulus(&self) -> Cow<'_, $t> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/mod_int.rs:519:31 [INFO] [stdout] | [INFO] [stdout] 519 | fn to_modulus(&self) -> Cow<$t> { [INFO] [stdout] | ^^^^^ ------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] ... [INFO] [stdout] 587 | impl_static_modulus!(Mod16, 16, .., [prime_power(2, 4)]); [INFO] [stdout] | -------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: this warning originates in the macro `impl_static_modulus` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 519 | fn to_modulus(&self) -> Cow<'_, $t> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/polynomial.rs:1193:17 [INFO] [stdout] | [INFO] [stdout] 1193 | pub fn iter(&self) -> Iter { [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] 1193 | pub fn iter(&self) -> Iter<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.borrow()` on a reference in this situation does nothing [INFO] [stdout] --> src/polynomial/div_rem.rs:247:67 [INFO] [stdout] | [INFO] [stdout] 247 | let (quotient, factor) = self.clone().exact_pseudo_div(rhs.borrow()); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the type `Polynomial` does not implement `Borrow`, so calling `borrow` on `&Polynomial` copies the reference, which does not do anything and can be removed [INFO] [stdout] help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] 247 - let (quotient, factor) = self.clone().exact_pseudo_div(rhs.borrow()); [INFO] [stdout] 247 + let (quotient, factor) = self.clone().exact_pseudo_div(rhs); [INFO] [stdout] | [INFO] [stdout] help: if you meant to clone `Polynomial`, implement `Clone` for it [INFO] [stdout] --> src/polynomial.rs:829:1 [INFO] [stdout] | [INFO] [stdout] 829 + #[derive(Clone)] [INFO] [stdout] 830 | pub struct Polynomial { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.borrow()` on a reference in this situation does nothing [INFO] [stdout] --> src/polynomial/div_rem.rs:251:75 [INFO] [stdout] | [INFO] [stdout] 251 | let (quotient, factor) = self.clone().checked_exact_pseudo_div(rhs.borrow())?; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the type `Polynomial` does not implement `Borrow`, so calling `borrow` on `&Polynomial` copies the reference, which does not do anything and can be removed [INFO] [stdout] help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] 251 - let (quotient, factor) = self.clone().checked_exact_pseudo_div(rhs.borrow())?; [INFO] [stdout] 251 + let (quotient, factor) = self.clone().checked_exact_pseudo_div(rhs)?; [INFO] [stdout] | [INFO] [stdout] help: if you meant to clone `Polynomial`, implement `Clone` for it [INFO] [stdout] --> src/polynomial.rs:829:1 [INFO] [stdout] | [INFO] [stdout] 829 + #[derive(Clone)] [INFO] [stdout] 830 | pub struct Polynomial { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/util.rs:934:10 [INFO] [stdout] | [INFO] [stdout] 934 | &'a self, [INFO] [stdout] | ^^ the lifetime is named here [INFO] [stdout] 935 | ) -> LeafOrNodePair< [INFO] [stdout] 936 | >::Leaf, [INFO] [stdout] | -- the same lifetime is named here [INFO] [stdout] 937 | &Self, [INFO] [stdout] | ----- the same lifetime is elided here [INFO] [stdout] 938 | >::NodeData, [INFO] [stdout] | -- the same 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] 937 | &'a Self, [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `minimal_polynomial` is never read [INFO] [stdout] --> src/algebraic_numbers.rs:319:5 [INFO] [stdout] | [INFO] [stdout] 318 | struct IntervalShrinker<'a> { [INFO] [stdout] | ---------------- field in this struct [INFO] [stdout] 319 | minimal_polynomial: &'a Polynomial, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `IntervalShrinker` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `DivRemNearest` is never used [INFO] [stdout] --> src/traits.rs:208:18 [INFO] [stdout] | [INFO] [stdout] 208 | pub(crate) trait DivRemNearest: Sized { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `IsolatedRealRoot` is never used [INFO] [stdout] --> src/traits.rs:477:18 [INFO] [stdout] | [INFO] [stdout] 477 | pub(crate) trait IsolatedRealRoot { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/algebraic_numbers.rs:483:26 [INFO] [stdout] | [INFO] [stdout] 483 | fn interval_shrinker(&mut self) -> IntervalShrinker { [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] 483 | fn interval_shrinker(&mut self) -> IntervalShrinker<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/algebraic_numbers.rs:611:34 [INFO] [stdout] | [INFO] [stdout] 611 | fn remove_zero_from_interval(&mut self) -> Option<(Sign, IntervalShrinker)> { [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] 611 | fn remove_zero_from_interval(&mut self) -> Option<(Sign, IntervalShrinker<'_>)> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/algebraic_numbers.rs:958:15 [INFO] [stdout] | [INFO] [stdout] 958 | fn factor(&self) -> Cow> { [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] 958 | fn factor(&self) -> Cow<'_, Polynomial> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.borrow()` on a reference in this situation does nothing [INFO] [stdout] --> src/array2d.rs:73:28 [INFO] [stdout] | [INFO] [stdout] 73 | data: this.data.borrow(), [INFO] [stdout] | ^^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `[T]` does not implement `Borrow`, so calling `borrow` on `&[T]` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/array2d.rs:277:9 [INFO] [stdout] | [INFO] [stdout] 277 | &self, [INFO] [stdout] | ^^^^^ the lifetime is elided here [INFO] [stdout] ... [INFO] [stdout] 280 | ) -> Array2DSlice { [INFO] [stdout] | --------------------------- the same lifetime is hidden 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] 280 | ) -> Array2DSlice<'_, Data::Element> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/array2d.rs:294:9 [INFO] [stdout] | [INFO] [stdout] 294 | &mut self, [INFO] [stdout] | ^^^^^^^^^ the lifetime is elided here [INFO] [stdout] ... [INFO] [stdout] 297 | ) -> Array2DMutSlice [INFO] [stdout] | ------------------------------ the same lifetime is hidden 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] 297 | ) -> Array2DMutSlice<'_, Data::Element> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/array2d.rs:316:24 [INFO] [stdout] | [INFO] [stdout] 316 | pub(crate) fn iter(&self) -> Iter { [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] 316 | pub(crate) fn iter(&self) -> Iter<'_, Data::Element> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/array2d.rs:323:28 [INFO] [stdout] | [INFO] [stdout] 323 | pub(crate) fn iter_mut(&mut self) -> IterMut [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] 323 | pub(crate) fn iter_mut(&mut self) -> IterMut<'_, Data::Element> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/mod_int.rs:174:19 [INFO] [stdout] | [INFO] [stdout] 174 | fn to_modulus(&self) -> Cow; [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] 174 | fn to_modulus(&self) -> Cow<'_, Value>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/mod_int.rs:183:19 [INFO] [stdout] | [INFO] [stdout] 183 | fn to_modulus(&self) -> Cow { [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] 183 | fn to_modulus(&self) -> Cow<'_, Value> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/mod_int.rs:247:19 [INFO] [stdout] | [INFO] [stdout] 247 | fn to_modulus(&self) -> Cow { [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] 247 | fn to_modulus(&self) -> Cow<'_, Value> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/mod_int.rs:316:19 [INFO] [stdout] | [INFO] [stdout] 316 | fn to_modulus(&self) -> Cow { [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] 316 | fn to_modulus(&self) -> Cow<'_, Value> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/mod_int.rs:353:27 [INFO] [stdout] | [INFO] [stdout] 353 | fn to_modulus(&self) -> Cow { [INFO] [stdout] | ^^^^^ --------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] ... [INFO] [stdout] 490 | impl_prim_int_modulus!(i8, i16, i16::from, convert_to, to_i8); [INFO] [stdout] | ------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: this warning originates in the macro `impl_int_modulus` which comes from the expansion of the macro `impl_prim_int_modulus` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 353 | fn to_modulus(&self) -> Cow<'_, Self> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/mod_int.rs:353:27 [INFO] [stdout] | [INFO] [stdout] 353 | fn to_modulus(&self) -> Cow { [INFO] [stdout] | ^^^^^ --------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] ... [INFO] [stdout] 491 | impl_prim_int_modulus!(u8, u16, u16::from, convert_to, to_u8); [INFO] [stdout] | ------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: this warning originates in the macro `impl_int_modulus` which comes from the expansion of the macro `impl_prim_int_modulus` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 353 | fn to_modulus(&self) -> Cow<'_, Self> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/mod_int.rs:353:27 [INFO] [stdout] | [INFO] [stdout] 353 | fn to_modulus(&self) -> Cow { [INFO] [stdout] | ^^^^^ --------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] ... [INFO] [stdout] 492 | impl_prim_int_modulus!(i16, i32, i32::from, convert_to, to_i16); [INFO] [stdout] | --------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: this warning originates in the macro `impl_int_modulus` which comes from the expansion of the macro `impl_prim_int_modulus` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 353 | fn to_modulus(&self) -> Cow<'_, Self> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/mod_int.rs:353:27 [INFO] [stdout] | [INFO] [stdout] 353 | fn to_modulus(&self) -> Cow { [INFO] [stdout] | ^^^^^ --------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] ... [INFO] [stdout] 493 | impl_prim_int_modulus!(u16, u32, u32::from, convert_to, to_u16); [INFO] [stdout] | --------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: this warning originates in the macro `impl_int_modulus` which comes from the expansion of the macro `impl_prim_int_modulus` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 353 | fn to_modulus(&self) -> Cow<'_, Self> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/mod_int.rs:353:27 [INFO] [stdout] | [INFO] [stdout] 353 | fn to_modulus(&self) -> Cow { [INFO] [stdout] | ^^^^^ --------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] ... [INFO] [stdout] 494 | impl_prim_int_modulus!(i32, i64, i64::from, convert_to, to_i32); [INFO] [stdout] | --------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: this warning originates in the macro `impl_int_modulus` which comes from the expansion of the macro `impl_prim_int_modulus` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 353 | fn to_modulus(&self) -> Cow<'_, Self> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/mod_int.rs:353:27 [INFO] [stdout] | [INFO] [stdout] 353 | fn to_modulus(&self) -> Cow { [INFO] [stdout] | ^^^^^ --------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] ... [INFO] [stdout] 495 | impl_prim_int_modulus!(u32, u64, u64::from, convert_to, to_u32); [INFO] [stdout] | --------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: this warning originates in the macro `impl_int_modulus` which comes from the expansion of the macro `impl_prim_int_modulus` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 353 | fn to_modulus(&self) -> Cow<'_, Self> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/mod_int.rs:353:27 [INFO] [stdout] | [INFO] [stdout] 353 | fn to_modulus(&self) -> Cow { [INFO] [stdout] | ^^^^^ --------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] ... [INFO] [stdout] 496 | impl_prim_int_modulus!(i64, i128, i128::from, convert_to, to_i64); [INFO] [stdout] | ----------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: this warning originates in the macro `impl_int_modulus` which comes from the expansion of the macro `impl_prim_int_modulus` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 353 | fn to_modulus(&self) -> Cow<'_, Self> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/mod_int.rs:353:27 [INFO] [stdout] | [INFO] [stdout] 353 | fn to_modulus(&self) -> Cow { [INFO] [stdout] | ^^^^^ --------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] ... [INFO] [stdout] 497 | impl_prim_int_modulus!(u64, u128, u128::from, convert_to, to_u64); [INFO] [stdout] | ----------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: this warning originates in the macro `impl_int_modulus` which comes from the expansion of the macro `impl_prim_int_modulus` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 353 | fn to_modulus(&self) -> Cow<'_, Self> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/mod_int.rs:353:27 [INFO] [stdout] | [INFO] [stdout] 353 | fn to_modulus(&self) -> Cow { [INFO] [stdout] | ^^^^^ --------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] ... [INFO] [stdout] 498 | impl_prim_int_modulus!(i128, BigInt, BigInt::from, convert_to_i128, to_i128); [INFO] [stdout] | ---------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: this warning originates in the macro `impl_int_modulus` which comes from the expansion of the macro `impl_prim_int_modulus` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 353 | fn to_modulus(&self) -> Cow<'_, Self> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/mod_int.rs:353:27 [INFO] [stdout] | [INFO] [stdout] 353 | fn to_modulus(&self) -> Cow { [INFO] [stdout] | ^^^^^ --------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] ... [INFO] [stdout] 499 | impl_prim_int_modulus!(u128, BigUint, BigUint::from, convert_to_u128, to_u128); [INFO] [stdout] | ------------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: this warning originates in the macro `impl_int_modulus` which comes from the expansion of the macro `impl_prim_int_modulus` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 353 | fn to_modulus(&self) -> Cow<'_, Self> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/mod_int.rs:353:27 [INFO] [stdout] | [INFO] [stdout] 353 | fn to_modulus(&self) -> Cow { [INFO] [stdout] | ^^^^^ --------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] ... [INFO] [stdout] 500 | impl_prim_int_modulus!(isize, i128, convert_to::, convert_to, to_isize); [INFO] [stdout] | ------------------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: this warning originates in the macro `impl_int_modulus` which comes from the expansion of the macro `impl_prim_int_modulus` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 353 | fn to_modulus(&self) -> Cow<'_, Self> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/mod_int.rs:353:27 [INFO] [stdout] | [INFO] [stdout] 353 | fn to_modulus(&self) -> Cow { [INFO] [stdout] | ^^^^^ --------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] ... [INFO] [stdout] 501 | impl_prim_int_modulus!(usize, u128, convert_to::, convert_to, to_usize); [INFO] [stdout] | ------------------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: this warning originates in the macro `impl_int_modulus` which comes from the expansion of the macro `impl_prim_int_modulus` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 353 | fn to_modulus(&self) -> Cow<'_, Self> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/mod_int.rs:353:27 [INFO] [stdout] | [INFO] [stdout] 353 | fn to_modulus(&self) -> Cow { [INFO] [stdout] | ^^^^^ --------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] ... [INFO] [stdout] 502 | impl_bigint_modulus!(BigInt, bigint_to_option_bigint); [INFO] [stdout] | ----------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: this warning originates in the macro `impl_int_modulus` which comes from the expansion of the macro `impl_bigint_modulus` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 353 | fn to_modulus(&self) -> Cow<'_, Self> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/mod_int.rs:353:27 [INFO] [stdout] | [INFO] [stdout] 353 | fn to_modulus(&self) -> Cow { [INFO] [stdout] | ^^^^^ --------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] ... [INFO] [stdout] 503 | impl_bigint_modulus!(BigUint, to_biguint); [INFO] [stdout] | ----------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: this warning originates in the macro `impl_int_modulus` which comes from the expansion of the macro `impl_bigint_modulus` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 353 | fn to_modulus(&self) -> Cow<'_, Self> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/mod_int.rs:519:31 [INFO] [stdout] | [INFO] [stdout] 519 | fn to_modulus(&self) -> Cow<$t> { [INFO] [stdout] | ^^^^^ ------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] ... [INFO] [stdout] 572 | impl_static_modulus!(Mod1, 1, .., [odd]); [INFO] [stdout] | ---------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: this warning originates in the macro `impl_static_modulus` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 519 | fn to_modulus(&self) -> Cow<'_, $t> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/mod_int.rs:519:31 [INFO] [stdout] | [INFO] [stdout] 519 | fn to_modulus(&self) -> Cow<$t> { [INFO] [stdout] | ^^^^^ ------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] ... [INFO] [stdout] 573 | impl_static_modulus!(Mod2, 2, .., [prime]); [INFO] [stdout] | ------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: this warning originates in the macro `impl_static_modulus` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 519 | fn to_modulus(&self) -> Cow<'_, $t> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/mod_int.rs:519:31 [INFO] [stdout] | [INFO] [stdout] 519 | fn to_modulus(&self) -> Cow<$t> { [INFO] [stdout] | ^^^^^ ------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] ... [INFO] [stdout] 574 | impl_static_modulus!(Mod3, 3, .., [odd, prime]); [INFO] [stdout] | ----------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: this warning originates in the macro `impl_static_modulus` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 519 | fn to_modulus(&self) -> Cow<'_, $t> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/mod_int.rs:519:31 [INFO] [stdout] | [INFO] [stdout] 519 | fn to_modulus(&self) -> Cow<$t> { [INFO] [stdout] | ^^^^^ ------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] ... [INFO] [stdout] 575 | impl_static_modulus!(Mod4, 4, .., [prime_power(2, 2)]); [INFO] [stdout] | ------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: this warning originates in the macro `impl_static_modulus` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 519 | fn to_modulus(&self) -> Cow<'_, $t> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/mod_int.rs:519:31 [INFO] [stdout] | [INFO] [stdout] 519 | fn to_modulus(&self) -> Cow<$t> { [INFO] [stdout] | ^^^^^ ------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] ... [INFO] [stdout] 576 | impl_static_modulus!(Mod5, 5, .., [odd, prime]); [INFO] [stdout] | ----------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: this warning originates in the macro `impl_static_modulus` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 519 | fn to_modulus(&self) -> Cow<'_, $t> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/mod_int.rs:519:31 [INFO] [stdout] | [INFO] [stdout] 519 | fn to_modulus(&self) -> Cow<$t> { [INFO] [stdout] | ^^^^^ ------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] ... [INFO] [stdout] 577 | impl_static_modulus!(Mod6, 6, .., []); [INFO] [stdout] | ------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: this warning originates in the macro `impl_static_modulus` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 519 | fn to_modulus(&self) -> Cow<'_, $t> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/mod_int.rs:519:31 [INFO] [stdout] | [INFO] [stdout] 519 | fn to_modulus(&self) -> Cow<$t> { [INFO] [stdout] | ^^^^^ ------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] ... [INFO] [stdout] 578 | impl_static_modulus!(Mod7, 7, .., [odd, prime]); [INFO] [stdout] | ----------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: this warning originates in the macro `impl_static_modulus` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 519 | fn to_modulus(&self) -> Cow<'_, $t> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/mod_int.rs:519:31 [INFO] [stdout] | [INFO] [stdout] 519 | fn to_modulus(&self) -> Cow<$t> { [INFO] [stdout] | ^^^^^ ------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] ... [INFO] [stdout] 579 | impl_static_modulus!(Mod8, 8, .., [prime_power(2, 3)]); [INFO] [stdout] | ------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: this warning originates in the macro `impl_static_modulus` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 519 | fn to_modulus(&self) -> Cow<'_, $t> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/mod_int.rs:519:31 [INFO] [stdout] | [INFO] [stdout] 519 | fn to_modulus(&self) -> Cow<$t> { [INFO] [stdout] | ^^^^^ ------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] ... [INFO] [stdout] 580 | impl_static_modulus!(Mod9, 9, .., [odd, prime_power(3, 2)]); [INFO] [stdout] | ----------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: this warning originates in the macro `impl_static_modulus` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 519 | fn to_modulus(&self) -> Cow<'_, $t> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/mod_int.rs:519:31 [INFO] [stdout] | [INFO] [stdout] 519 | fn to_modulus(&self) -> Cow<$t> { [INFO] [stdout] | ^^^^^ ------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] ... [INFO] [stdout] 581 | impl_static_modulus!(Mod10, 10, .., []); [INFO] [stdout] | --------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: this warning originates in the macro `impl_static_modulus` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 519 | fn to_modulus(&self) -> Cow<'_, $t> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/mod_int.rs:519:31 [INFO] [stdout] | [INFO] [stdout] 519 | fn to_modulus(&self) -> Cow<$t> { [INFO] [stdout] | ^^^^^ ------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] ... [INFO] [stdout] 582 | impl_static_modulus!(Mod11, 11, .., [odd, prime]); [INFO] [stdout] | ------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: this warning originates in the macro `impl_static_modulus` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 519 | fn to_modulus(&self) -> Cow<'_, $t> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/mod_int.rs:519:31 [INFO] [stdout] | [INFO] [stdout] 519 | fn to_modulus(&self) -> Cow<$t> { [INFO] [stdout] | ^^^^^ ------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] ... [INFO] [stdout] 583 | impl_static_modulus!(Mod12, 12, .., []); [INFO] [stdout] | --------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: this warning originates in the macro `impl_static_modulus` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 519 | fn to_modulus(&self) -> Cow<'_, $t> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/mod_int.rs:519:31 [INFO] [stdout] | [INFO] [stdout] 519 | fn to_modulus(&self) -> Cow<$t> { [INFO] [stdout] | ^^^^^ ------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] ... [INFO] [stdout] 584 | impl_static_modulus!(Mod13, 13, .., [odd, prime]); [INFO] [stdout] | ------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: this warning originates in the macro `impl_static_modulus` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 519 | fn to_modulus(&self) -> Cow<'_, $t> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/mod_int.rs:519:31 [INFO] [stdout] | [INFO] [stdout] 519 | fn to_modulus(&self) -> Cow<$t> { [INFO] [stdout] | ^^^^^ ------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] ... [INFO] [stdout] 585 | impl_static_modulus!(Mod14, 14, .., []); [INFO] [stdout] | --------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: this warning originates in the macro `impl_static_modulus` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 519 | fn to_modulus(&self) -> Cow<'_, $t> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/mod_int.rs:519:31 [INFO] [stdout] | [INFO] [stdout] 519 | fn to_modulus(&self) -> Cow<$t> { [INFO] [stdout] | ^^^^^ ------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] ... [INFO] [stdout] 586 | impl_static_modulus!(Mod15, 15, .., [odd]); [INFO] [stdout] | ------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: this warning originates in the macro `impl_static_modulus` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 519 | fn to_modulus(&self) -> Cow<'_, $t> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/mod_int.rs:519:31 [INFO] [stdout] | [INFO] [stdout] 519 | fn to_modulus(&self) -> Cow<$t> { [INFO] [stdout] | ^^^^^ ------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] ... [INFO] [stdout] 587 | impl_static_modulus!(Mod16, 16, .., [prime_power(2, 4)]); [INFO] [stdout] | -------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: this warning originates in the macro `impl_static_modulus` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 519 | fn to_modulus(&self) -> Cow<'_, $t> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/polynomial.rs:1193:17 [INFO] [stdout] | [INFO] [stdout] 1193 | pub fn iter(&self) -> Iter { [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] 1193 | pub fn iter(&self) -> Iter<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.borrow()` on a reference in this situation does nothing [INFO] [stdout] --> src/polynomial/div_rem.rs:247:67 [INFO] [stdout] | [INFO] [stdout] 247 | let (quotient, factor) = self.clone().exact_pseudo_div(rhs.borrow()); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the type `polynomial::Polynomial` does not implement `Borrow`, so calling `borrow` on `&polynomial::Polynomial` copies the reference, which does not do anything and can be removed [INFO] [stdout] help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] 247 - let (quotient, factor) = self.clone().exact_pseudo_div(rhs.borrow()); [INFO] [stdout] 247 + let (quotient, factor) = self.clone().exact_pseudo_div(rhs); [INFO] [stdout] | [INFO] [stdout] help: if you meant to clone `polynomial::Polynomial`, implement `Clone` for it [INFO] [stdout] --> src/polynomial.rs:829:1 [INFO] [stdout] | [INFO] [stdout] 829 + #[derive(Clone)] [INFO] [stdout] 830 | pub struct Polynomial { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.borrow()` on a reference in this situation does nothing [INFO] [stdout] --> src/polynomial/div_rem.rs:251:75 [INFO] [stdout] | [INFO] [stdout] 251 | let (quotient, factor) = self.clone().checked_exact_pseudo_div(rhs.borrow())?; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the type `polynomial::Polynomial` does not implement `Borrow`, so calling `borrow` on `&polynomial::Polynomial` copies the reference, which does not do anything and can be removed [INFO] [stdout] help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] 251 - let (quotient, factor) = self.clone().checked_exact_pseudo_div(rhs.borrow())?; [INFO] [stdout] 251 + let (quotient, factor) = self.clone().checked_exact_pseudo_div(rhs)?; [INFO] [stdout] | [INFO] [stdout] help: if you meant to clone `polynomial::Polynomial`, implement `Clone` for it [INFO] [stdout] --> src/polynomial.rs:829:1 [INFO] [stdout] | [INFO] [stdout] 829 + #[derive(Clone)] [INFO] [stdout] 830 | pub struct Polynomial { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/util.rs:934:10 [INFO] [stdout] | [INFO] [stdout] 934 | &'a self, [INFO] [stdout] | ^^ the lifetime is named here [INFO] [stdout] 935 | ) -> LeafOrNodePair< [INFO] [stdout] 936 | >::Leaf, [INFO] [stdout] | -- the same lifetime is named here [INFO] [stdout] 937 | &Self, [INFO] [stdout] | ----- the same lifetime is elided here [INFO] [stdout] 938 | >::NodeData, [INFO] [stdout] | -- the same 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] 937 | &'a Self, [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 7.52s [INFO] running `Command { std: "docker" "inspect" "3fcc24b139ba54f89849d5323e489b5381196825331418d45a1f6640194b4243", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3fcc24b139ba54f89849d5323e489b5381196825331418d45a1f6640194b4243", kill_on_drop: false }` [INFO] [stdout] 3fcc24b139ba54f89849d5323e489b5381196825331418d45a1f6640194b4243