[INFO] fetching crate algebraics 0.3.0... [INFO] testing algebraics-0.3.0 against try#8de4c7234dd9b97c9d76b58671343fdbbc9a433e+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_with_libc_patch_0 [INFO] extracting crate algebraics 0.3.0 into /workspace/builds/worker-1-tc1/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-1-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate algebraics 0.3.0 on toolchain 8de4c7234dd9b97c9d76b58671343fdbbc9a433e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "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" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "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.1) [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" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded pyo3-macros v0.16.6 [INFO] [stderr] Downloaded pyo3-macros-backend v0.16.6 [INFO] [stderr] Downloaded pyo3-ffi v0.16.6 [INFO] [stderr] Downloaded pyo3-build-config v0.16.6 [INFO] [stderr] Downloaded pyo3 v0.16.6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 45836b44a9fd14f5755a9b553b9b5ee04c57b8a242eea37b6c92f3716cfd4115 [INFO] running `Command { std: "docker" "start" "-a" "45836b44a9fd14f5755a9b553b9b5ee04c57b8a242eea37b6c92f3716cfd4115", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "45836b44a9fd14f5755a9b553b9b5ee04c57b8a242eea37b6c92f3716cfd4115", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "45836b44a9fd14f5755a9b553b9b5ee04c57b8a242eea37b6c92f3716cfd4115", kill_on_drop: false }` [INFO] [stdout] 45836b44a9fd14f5755a9b553b9b5ee04c57b8a242eea37b6c92f3716cfd4115 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "build" "--frozen" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] e42c816f4a90cb497ecfeeae3fa3cc1ed281d8a3ab5079669ae8984e7141a76b [INFO] running `Command { std: "docker" "start" "-a" "e42c816f4a90cb497ecfeeae3fa3cc1ed281d8a3ab5079669ae8984e7141a76b", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.174 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling num-bigint v0.4.6 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand_pcg v0.3.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling num-rational v0.4.2 [INFO] [stderr] Compiling algebraics v0.3.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: dropping unsupported crate type `cdylib` for target `x86_64-unknown-linux-musl` [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: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/algebraic_numbers.rs:483:26 [INFO] [stdout] | [INFO] [stdout] 483 | fn interval_shrinker(&mut self) -> IntervalShrinker { [INFO] [stdout] | ^^^^^^^^^ ---------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 483 | fn interval_shrinker(&mut self) -> IntervalShrinker<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be 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 lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for 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: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/algebraic_numbers.rs:958:15 [INFO] [stdout] | [INFO] [stdout] 958 | fn factor(&self) -> Cow> { [INFO] [stdout] | ^^^^^ ----------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for 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: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/array2d.rs:277:9 [INFO] [stdout] | [INFO] [stdout] 277 | &self, [INFO] [stdout] | ^^^^^ this lifetime flows to the output [INFO] [stdout] ... [INFO] [stdout] 280 | ) -> Array2DSlice { [INFO] [stdout] | --------------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 280 | ) -> Array2DSlice<'_, Data::Element> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/array2d.rs:294:9 [INFO] [stdout] | [INFO] [stdout] 294 | &mut self, [INFO] [stdout] | ^^^^^^^^^ this lifetime flows to the output [INFO] [stdout] ... [INFO] [stdout] 297 | ) -> Array2DMutSlice [INFO] [stdout] | ------------------------------ the lifetime gets resolved as `'_` [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 297 | ) -> Array2DMutSlice<'_, Data::Element> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/array2d.rs:316:24 [INFO] [stdout] | [INFO] [stdout] 316 | pub(crate) fn iter(&self) -> Iter { [INFO] [stdout] | ^^^^^ ------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 316 | pub(crate) fn iter(&self) -> Iter<'_, Data::Element> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/array2d.rs:323:28 [INFO] [stdout] | [INFO] [stdout] 323 | pub(crate) fn iter_mut(&mut self) -> IterMut [INFO] [stdout] | ^^^^^^^^^ ---------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for 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: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/mod_int.rs:174:19 [INFO] [stdout] | [INFO] [stdout] 174 | fn to_modulus(&self) -> Cow; [INFO] [stdout] | ^^^^^ ---------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 174 | fn to_modulus(&self) -> Cow<'_, Value>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/mod_int.rs:183:19 [INFO] [stdout] | [INFO] [stdout] 183 | fn to_modulus(&self) -> Cow { [INFO] [stdout] | ^^^^^ ---------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 183 | fn to_modulus(&self) -> Cow<'_, Value> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/mod_int.rs:247:19 [INFO] [stdout] | [INFO] [stdout] 247 | fn to_modulus(&self) -> Cow { [INFO] [stdout] | ^^^^^ ---------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 247 | fn to_modulus(&self) -> Cow<'_, Value> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/mod_int.rs:316:19 [INFO] [stdout] | [INFO] [stdout] 316 | fn to_modulus(&self) -> Cow { [INFO] [stdout] | ^^^^^ ---------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 316 | fn to_modulus(&self) -> Cow<'_, Value> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/mod_int.rs:353:27 [INFO] [stdout] | [INFO] [stdout] 353 | fn to_modulus(&self) -> Cow { [INFO] [stdout] | ^^^^^ --------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [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] = 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: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 353 | fn to_modulus(&self) -> Cow<'_, Self> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/mod_int.rs:353:27 [INFO] [stdout] | [INFO] [stdout] 353 | fn to_modulus(&self) -> Cow { [INFO] [stdout] | ^^^^^ --------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [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] = 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: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 353 | fn to_modulus(&self) -> Cow<'_, Self> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/mod_int.rs:353:27 [INFO] [stdout] | [INFO] [stdout] 353 | fn to_modulus(&self) -> Cow { [INFO] [stdout] | ^^^^^ --------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [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] = 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: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 353 | fn to_modulus(&self) -> Cow<'_, Self> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/mod_int.rs:353:27 [INFO] [stdout] | [INFO] [stdout] 353 | fn to_modulus(&self) -> Cow { [INFO] [stdout] | ^^^^^ --------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [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] = 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: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 353 | fn to_modulus(&self) -> Cow<'_, Self> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/mod_int.rs:353:27 [INFO] [stdout] | [INFO] [stdout] 353 | fn to_modulus(&self) -> Cow { [INFO] [stdout] | ^^^^^ --------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [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] = 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: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 353 | fn to_modulus(&self) -> Cow<'_, Self> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/mod_int.rs:353:27 [INFO] [stdout] | [INFO] [stdout] 353 | fn to_modulus(&self) -> Cow { [INFO] [stdout] | ^^^^^ --------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [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] = 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: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 353 | fn to_modulus(&self) -> Cow<'_, Self> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/mod_int.rs:353:27 [INFO] [stdout] | [INFO] [stdout] 353 | fn to_modulus(&self) -> Cow { [INFO] [stdout] | ^^^^^ --------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [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] = 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: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 353 | fn to_modulus(&self) -> Cow<'_, Self> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/mod_int.rs:353:27 [INFO] [stdout] | [INFO] [stdout] 353 | fn to_modulus(&self) -> Cow { [INFO] [stdout] | ^^^^^ --------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [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] = 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: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 353 | fn to_modulus(&self) -> Cow<'_, Self> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/mod_int.rs:353:27 [INFO] [stdout] | [INFO] [stdout] 353 | fn to_modulus(&self) -> Cow { [INFO] [stdout] | ^^^^^ --------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [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] = 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: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 353 | fn to_modulus(&self) -> Cow<'_, Self> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/mod_int.rs:353:27 [INFO] [stdout] | [INFO] [stdout] 353 | fn to_modulus(&self) -> Cow { [INFO] [stdout] | ^^^^^ --------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [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] = 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: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 353 | fn to_modulus(&self) -> Cow<'_, Self> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/mod_int.rs:353:27 [INFO] [stdout] | [INFO] [stdout] 353 | fn to_modulus(&self) -> Cow { [INFO] [stdout] | ^^^^^ --------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [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] = 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: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 353 | fn to_modulus(&self) -> Cow<'_, Self> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/mod_int.rs:353:27 [INFO] [stdout] | [INFO] [stdout] 353 | fn to_modulus(&self) -> Cow { [INFO] [stdout] | ^^^^^ --------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [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] = 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: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 353 | fn to_modulus(&self) -> Cow<'_, Self> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/mod_int.rs:353:27 [INFO] [stdout] | [INFO] [stdout] 353 | fn to_modulus(&self) -> Cow { [INFO] [stdout] | ^^^^^ --------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] ... [INFO] [stdout] 502 | impl_bigint_modulus!(BigInt, bigint_to_option_bigint); [INFO] [stdout] | ----------------------------------------------------- in this macro invocation [INFO] [stdout] | [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: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 353 | fn to_modulus(&self) -> Cow<'_, Self> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/mod_int.rs:353:27 [INFO] [stdout] | [INFO] [stdout] 353 | fn to_modulus(&self) -> Cow { [INFO] [stdout] | ^^^^^ --------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] ... [INFO] [stdout] 503 | impl_bigint_modulus!(BigUint, to_biguint); [INFO] [stdout] | ----------------------------------------- in this macro invocation [INFO] [stdout] | [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: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 353 | fn to_modulus(&self) -> Cow<'_, Self> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/mod_int.rs:519:31 [INFO] [stdout] | [INFO] [stdout] 519 | fn to_modulus(&self) -> Cow<$t> { [INFO] [stdout] | ^^^^^ ------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] ... [INFO] [stdout] 572 | impl_static_modulus!(Mod1, 1, .., [odd]); [INFO] [stdout] | ---------------------------------------- in this macro invocation [INFO] [stdout] | [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: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 519 | fn to_modulus(&self) -> Cow<'_, $t> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/mod_int.rs:519:31 [INFO] [stdout] | [INFO] [stdout] 519 | fn to_modulus(&self) -> Cow<$t> { [INFO] [stdout] | ^^^^^ ------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] ... [INFO] [stdout] 573 | impl_static_modulus!(Mod2, 2, .., [prime]); [INFO] [stdout] | ------------------------------------------ in this macro invocation [INFO] [stdout] | [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: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 519 | fn to_modulus(&self) -> Cow<'_, $t> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/mod_int.rs:519:31 [INFO] [stdout] | [INFO] [stdout] 519 | fn to_modulus(&self) -> Cow<$t> { [INFO] [stdout] | ^^^^^ ------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] ... [INFO] [stdout] 574 | impl_static_modulus!(Mod3, 3, .., [odd, prime]); [INFO] [stdout] | ----------------------------------------------- in this macro invocation [INFO] [stdout] | [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: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 519 | fn to_modulus(&self) -> Cow<'_, $t> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/mod_int.rs:519:31 [INFO] [stdout] | [INFO] [stdout] 519 | fn to_modulus(&self) -> Cow<$t> { [INFO] [stdout] | ^^^^^ ------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] ... [INFO] [stdout] 575 | impl_static_modulus!(Mod4, 4, .., [prime_power(2, 2)]); [INFO] [stdout] | ------------------------------------------------------ in this macro invocation [INFO] [stdout] | [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: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 519 | fn to_modulus(&self) -> Cow<'_, $t> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/mod_int.rs:519:31 [INFO] [stdout] | [INFO] [stdout] 519 | fn to_modulus(&self) -> Cow<$t> { [INFO] [stdout] | ^^^^^ ------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] ... [INFO] [stdout] 576 | impl_static_modulus!(Mod5, 5, .., [odd, prime]); [INFO] [stdout] | ----------------------------------------------- in this macro invocation [INFO] [stdout] | [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: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 519 | fn to_modulus(&self) -> Cow<'_, $t> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/mod_int.rs:519:31 [INFO] [stdout] | [INFO] [stdout] 519 | fn to_modulus(&self) -> Cow<$t> { [INFO] [stdout] | ^^^^^ ------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] ... [INFO] [stdout] 577 | impl_static_modulus!(Mod6, 6, .., []); [INFO] [stdout] | ------------------------------------- in this macro invocation [INFO] [stdout] | [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: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 519 | fn to_modulus(&self) -> Cow<'_, $t> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/mod_int.rs:519:31 [INFO] [stdout] | [INFO] [stdout] 519 | fn to_modulus(&self) -> Cow<$t> { [INFO] [stdout] | ^^^^^ ------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] ... [INFO] [stdout] 578 | impl_static_modulus!(Mod7, 7, .., [odd, prime]); [INFO] [stdout] | ----------------------------------------------- in this macro invocation [INFO] [stdout] | [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: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 519 | fn to_modulus(&self) -> Cow<'_, $t> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/mod_int.rs:519:31 [INFO] [stdout] | [INFO] [stdout] 519 | fn to_modulus(&self) -> Cow<$t> { [INFO] [stdout] | ^^^^^ ------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] ... [INFO] [stdout] 579 | impl_static_modulus!(Mod8, 8, .., [prime_power(2, 3)]); [INFO] [stdout] | ------------------------------------------------------ in this macro invocation [INFO] [stdout] | [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: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 519 | fn to_modulus(&self) -> Cow<'_, $t> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/mod_int.rs:519:31 [INFO] [stdout] | [INFO] [stdout] 519 | fn to_modulus(&self) -> Cow<$t> { [INFO] [stdout] | ^^^^^ ------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [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] = note: this warning originates in the macro `impl_static_modulus` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 519 | fn to_modulus(&self) -> Cow<'_, $t> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/mod_int.rs:519:31 [INFO] [stdout] | [INFO] [stdout] 519 | fn to_modulus(&self) -> Cow<$t> { [INFO] [stdout] | ^^^^^ ------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] ... [INFO] [stdout] 581 | impl_static_modulus!(Mod10, 10, .., []); [INFO] [stdout] | --------------------------------------- in this macro invocation [INFO] [stdout] | [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: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 519 | fn to_modulus(&self) -> Cow<'_, $t> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/mod_int.rs:519:31 [INFO] [stdout] | [INFO] [stdout] 519 | fn to_modulus(&self) -> Cow<$t> { [INFO] [stdout] | ^^^^^ ------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] ... [INFO] [stdout] 582 | impl_static_modulus!(Mod11, 11, .., [odd, prime]); [INFO] [stdout] | ------------------------------------------------- in this macro invocation [INFO] [stdout] | [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: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 519 | fn to_modulus(&self) -> Cow<'_, $t> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/mod_int.rs:519:31 [INFO] [stdout] | [INFO] [stdout] 519 | fn to_modulus(&self) -> Cow<$t> { [INFO] [stdout] | ^^^^^ ------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] ... [INFO] [stdout] 583 | impl_static_modulus!(Mod12, 12, .., []); [INFO] [stdout] | --------------------------------------- in this macro invocation [INFO] [stdout] | [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: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 519 | fn to_modulus(&self) -> Cow<'_, $t> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/mod_int.rs:519:31 [INFO] [stdout] | [INFO] [stdout] 519 | fn to_modulus(&self) -> Cow<$t> { [INFO] [stdout] | ^^^^^ ------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] ... [INFO] [stdout] 584 | impl_static_modulus!(Mod13, 13, .., [odd, prime]); [INFO] [stdout] | ------------------------------------------------- in this macro invocation [INFO] [stdout] | [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: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 519 | fn to_modulus(&self) -> Cow<'_, $t> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/mod_int.rs:519:31 [INFO] [stdout] | [INFO] [stdout] 519 | fn to_modulus(&self) -> Cow<$t> { [INFO] [stdout] | ^^^^^ ------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] ... [INFO] [stdout] 585 | impl_static_modulus!(Mod14, 14, .., []); [INFO] [stdout] | --------------------------------------- in this macro invocation [INFO] [stdout] | [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: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 519 | fn to_modulus(&self) -> Cow<'_, $t> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/mod_int.rs:519:31 [INFO] [stdout] | [INFO] [stdout] 519 | fn to_modulus(&self) -> Cow<$t> { [INFO] [stdout] | ^^^^^ ------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] ... [INFO] [stdout] 586 | impl_static_modulus!(Mod15, 15, .., [odd]); [INFO] [stdout] | ------------------------------------------ in this macro invocation [INFO] [stdout] | [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: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 519 | fn to_modulus(&self) -> Cow<'_, $t> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/mod_int.rs:519:31 [INFO] [stdout] | [INFO] [stdout] 519 | fn to_modulus(&self) -> Cow<$t> { [INFO] [stdout] | ^^^^^ ------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] ... [INFO] [stdout] 587 | impl_static_modulus!(Mod16, 16, .., [prime_power(2, 4)]); [INFO] [stdout] | -------------------------------------------------------- in this macro invocation [INFO] [stdout] | [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: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 519 | fn to_modulus(&self) -> Cow<'_, $t> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/polynomial.rs:1193:17 [INFO] [stdout] | [INFO] [stdout] 1193 | pub fn iter(&self) -> Iter { [INFO] [stdout] | ^^^^^ ------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for 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: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/util.rs:934:10 [INFO] [stdout] | [INFO] [stdout] 934 | &'a self, [INFO] [stdout] | ^^ this lifetime flows to the output [INFO] [stdout] 935 | ) -> LeafOrNodePair< [INFO] [stdout] 936 | >::Leaf, [INFO] [stdout] | -- the lifetimes get resolved as `'a` [INFO] [stdout] 937 | &Self, [INFO] [stdout] | ----- the lifetimes get resolved as `'a` [INFO] [stdout] 938 | >::NodeData, [INFO] [stdout] | -- the lifetimes get resolved as `'a` [INFO] [stdout] | [INFO] [stdout] help: one option is to 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 10.14s [INFO] running `Command { std: "docker" "inspect" "e42c816f4a90cb497ecfeeae3fa3cc1ed281d8a3ab5079669ae8984e7141a76b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e42c816f4a90cb497ecfeeae3fa3cc1ed281d8a3ab5079669ae8984e7141a76b", kill_on_drop: false }` [INFO] [stdout] e42c816f4a90cb497ecfeeae3fa3cc1ed281d8a3ab5079669ae8984e7141a76b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--no-run" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 87661460e6d7253cb249e0621f4e85b8f54d6379501296fc765a97792d56e5cb [INFO] running `Command { std: "docker" "start" "-a" "87661460e6d7253cb249e0621f4e85b8f54d6379501296fc765a97792d56e5cb", kill_on_drop: false }` [INFO] [stdout] warning: dropping unsupported crate type `cdylib` for target `x86_64-unknown-linux-musl` [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: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/algebraic_numbers.rs:483:26 [INFO] [stdout] | [INFO] [stdout] 483 | fn interval_shrinker(&mut self) -> IntervalShrinker { [INFO] [stdout] | ^^^^^^^^^ ---------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 483 | fn interval_shrinker(&mut self) -> IntervalShrinker<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be 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 lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for 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: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/algebraic_numbers.rs:958:15 [INFO] [stdout] | [INFO] [stdout] 958 | fn factor(&self) -> Cow> { [INFO] [stdout] | ^^^^^ ----------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for 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: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/array2d.rs:277:9 [INFO] [stdout] | [INFO] [stdout] 277 | &self, [INFO] [stdout] | ^^^^^ this lifetime flows to the output [INFO] [stdout] ... [INFO] [stdout] 280 | ) -> Array2DSlice { [INFO] [stdout] | --------------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 280 | ) -> Array2DSlice<'_, Data::Element> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/array2d.rs:294:9 [INFO] [stdout] | [INFO] [stdout] 294 | &mut self, [INFO] [stdout] | ^^^^^^^^^ this lifetime flows to the output [INFO] [stdout] ... [INFO] [stdout] 297 | ) -> Array2DMutSlice [INFO] [stdout] | ------------------------------ the lifetime gets resolved as `'_` [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 297 | ) -> Array2DMutSlice<'_, Data::Element> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/array2d.rs:316:24 [INFO] [stdout] | [INFO] [stdout] 316 | pub(crate) fn iter(&self) -> Iter { [INFO] [stdout] | ^^^^^ ------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 316 | pub(crate) fn iter(&self) -> Iter<'_, Data::Element> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/array2d.rs:323:28 [INFO] [stdout] | [INFO] [stdout] 323 | pub(crate) fn iter_mut(&mut self) -> IterMut [INFO] [stdout] | ^^^^^^^^^ ---------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for 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: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/mod_int.rs:174:19 [INFO] [stdout] | [INFO] [stdout] 174 | fn to_modulus(&self) -> Cow; [INFO] [stdout] | ^^^^^ ---------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 174 | fn to_modulus(&self) -> Cow<'_, Value>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/mod_int.rs:183:19 [INFO] [stdout] | [INFO] [stdout] 183 | fn to_modulus(&self) -> Cow { [INFO] [stdout] | ^^^^^ ---------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 183 | fn to_modulus(&self) -> Cow<'_, Value> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/mod_int.rs:247:19 [INFO] [stdout] | [INFO] [stdout] 247 | fn to_modulus(&self) -> Cow { [INFO] [stdout] | ^^^^^ ---------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 247 | fn to_modulus(&self) -> Cow<'_, Value> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/mod_int.rs:316:19 [INFO] [stdout] | [INFO] [stdout] 316 | fn to_modulus(&self) -> Cow { [INFO] [stdout] | ^^^^^ ---------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 316 | fn to_modulus(&self) -> Cow<'_, Value> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/mod_int.rs:353:27 [INFO] [stdout] | [INFO] [stdout] 353 | fn to_modulus(&self) -> Cow { [INFO] [stdout] | ^^^^^ --------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [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] = 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: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 353 | fn to_modulus(&self) -> Cow<'_, Self> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/mod_int.rs:353:27 [INFO] [stdout] | [INFO] [stdout] 353 | fn to_modulus(&self) -> Cow { [INFO] [stdout] | ^^^^^ --------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [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] = 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: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 353 | fn to_modulus(&self) -> Cow<'_, Self> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/mod_int.rs:353:27 [INFO] [stdout] | [INFO] [stdout] 353 | fn to_modulus(&self) -> Cow { [INFO] [stdout] | ^^^^^ --------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [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] = 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: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 353 | fn to_modulus(&self) -> Cow<'_, Self> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/mod_int.rs:353:27 [INFO] [stdout] | [INFO] [stdout] 353 | fn to_modulus(&self) -> Cow { [INFO] [stdout] | ^^^^^ --------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [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] = 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: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 353 | fn to_modulus(&self) -> Cow<'_, Self> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/mod_int.rs:353:27 [INFO] [stdout] | [INFO] [stdout] 353 | fn to_modulus(&self) -> Cow { [INFO] [stdout] | ^^^^^ --------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [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] = 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: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 353 | fn to_modulus(&self) -> Cow<'_, Self> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/mod_int.rs:353:27 [INFO] [stdout] | [INFO] [stdout] 353 | fn to_modulus(&self) -> Cow { [INFO] [stdout] | ^^^^^ --------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [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] = 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: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 353 | fn to_modulus(&self) -> Cow<'_, Self> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/mod_int.rs:353:27 [INFO] [stdout] | [INFO] [stdout] 353 | fn to_modulus(&self) -> Cow { [INFO] [stdout] | ^^^^^ --------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [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] = 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: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 353 | fn to_modulus(&self) -> Cow<'_, Self> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/mod_int.rs:353:27 [INFO] [stdout] | [INFO] [stdout] 353 | fn to_modulus(&self) -> Cow { [INFO] [stdout] | ^^^^^ --------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [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] = 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: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 353 | fn to_modulus(&self) -> Cow<'_, Self> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/mod_int.rs:353:27 [INFO] [stdout] | [INFO] [stdout] 353 | fn to_modulus(&self) -> Cow { [INFO] [stdout] | ^^^^^ --------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [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] = 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: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 353 | fn to_modulus(&self) -> Cow<'_, Self> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/mod_int.rs:353:27 [INFO] [stdout] | [INFO] [stdout] 353 | fn to_modulus(&self) -> Cow { [INFO] [stdout] | ^^^^^ --------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [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] = 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: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 353 | fn to_modulus(&self) -> Cow<'_, Self> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/mod_int.rs:353:27 [INFO] [stdout] | [INFO] [stdout] 353 | fn to_modulus(&self) -> Cow { [INFO] [stdout] | ^^^^^ --------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [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] = 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: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 353 | fn to_modulus(&self) -> Cow<'_, Self> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/mod_int.rs:353:27 [INFO] [stdout] | [INFO] [stdout] 353 | fn to_modulus(&self) -> Cow { [INFO] [stdout] | ^^^^^ --------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [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] = 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: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 353 | fn to_modulus(&self) -> Cow<'_, Self> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/mod_int.rs:353:27 [INFO] [stdout] | [INFO] [stdout] 353 | fn to_modulus(&self) -> Cow { [INFO] [stdout] | ^^^^^ --------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] ... [INFO] [stdout] 502 | impl_bigint_modulus!(BigInt, bigint_to_option_bigint); [INFO] [stdout] | ----------------------------------------------------- in this macro invocation [INFO] [stdout] | [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: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 353 | fn to_modulus(&self) -> Cow<'_, Self> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/mod_int.rs:353:27 [INFO] [stdout] | [INFO] [stdout] 353 | fn to_modulus(&self) -> Cow { [INFO] [stdout] | ^^^^^ --------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] ... [INFO] [stdout] 503 | impl_bigint_modulus!(BigUint, to_biguint); [INFO] [stdout] | ----------------------------------------- in this macro invocation [INFO] [stdout] | [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: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 353 | fn to_modulus(&self) -> Cow<'_, Self> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/mod_int.rs:519:31 [INFO] [stdout] | [INFO] [stdout] 519 | fn to_modulus(&self) -> Cow<$t> { [INFO] [stdout] | ^^^^^ ------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] ... [INFO] [stdout] 572 | impl_static_modulus!(Mod1, 1, .., [odd]); [INFO] [stdout] | ---------------------------------------- in this macro invocation [INFO] [stdout] | [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: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 519 | fn to_modulus(&self) -> Cow<'_, $t> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/mod_int.rs:519:31 [INFO] [stdout] | [INFO] [stdout] 519 | fn to_modulus(&self) -> Cow<$t> { [INFO] [stdout] | ^^^^^ ------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] ... [INFO] [stdout] 573 | impl_static_modulus!(Mod2, 2, .., [prime]); [INFO] [stdout] | ------------------------------------------ in this macro invocation [INFO] [stdout] | [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: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 519 | fn to_modulus(&self) -> Cow<'_, $t> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/mod_int.rs:519:31 [INFO] [stdout] | [INFO] [stdout] 519 | fn to_modulus(&self) -> Cow<$t> { [INFO] [stdout] | ^^^^^ ------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] ... [INFO] [stdout] 574 | impl_static_modulus!(Mod3, 3, .., [odd, prime]); [INFO] [stdout] | ----------------------------------------------- in this macro invocation [INFO] [stdout] | [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: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 519 | fn to_modulus(&self) -> Cow<'_, $t> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/mod_int.rs:519:31 [INFO] [stdout] | [INFO] [stdout] 519 | fn to_modulus(&self) -> Cow<$t> { [INFO] [stdout] | ^^^^^ ------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] ... [INFO] [stdout] 575 | impl_static_modulus!(Mod4, 4, .., [prime_power(2, 2)]); [INFO] [stdout] | ------------------------------------------------------ in this macro invocation [INFO] [stdout] | [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: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 519 | fn to_modulus(&self) -> Cow<'_, $t> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/mod_int.rs:519:31 [INFO] [stdout] | [INFO] [stdout] 519 | fn to_modulus(&self) -> Cow<$t> { [INFO] [stdout] | ^^^^^ ------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] ... [INFO] [stdout] 576 | impl_static_modulus!(Mod5, 5, .., [odd, prime]); [INFO] [stdout] | ----------------------------------------------- in this macro invocation [INFO] [stdout] | [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: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 519 | fn to_modulus(&self) -> Cow<'_, $t> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/mod_int.rs:519:31 [INFO] [stdout] | [INFO] [stdout] 519 | fn to_modulus(&self) -> Cow<$t> { [INFO] [stdout] | ^^^^^ ------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] ... [INFO] [stdout] 577 | impl_static_modulus!(Mod6, 6, .., []); [INFO] [stdout] | ------------------------------------- in this macro invocation [INFO] [stdout] | [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: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 519 | fn to_modulus(&self) -> Cow<'_, $t> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/mod_int.rs:519:31 [INFO] [stdout] | [INFO] [stdout] 519 | fn to_modulus(&self) -> Cow<$t> { [INFO] [stdout] | ^^^^^ ------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] ... [INFO] [stdout] 578 | impl_static_modulus!(Mod7, 7, .., [odd, prime]); [INFO] [stdout] | ----------------------------------------------- in this macro invocation [INFO] [stdout] | [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: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 519 | fn to_modulus(&self) -> Cow<'_, $t> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/mod_int.rs:519:31 [INFO] [stdout] | [INFO] [stdout] 519 | fn to_modulus(&self) -> Cow<$t> { [INFO] [stdout] | ^^^^^ ------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] ... [INFO] [stdout] 579 | impl_static_modulus!(Mod8, 8, .., [prime_power(2, 3)]); [INFO] [stdout] | ------------------------------------------------------ in this macro invocation [INFO] [stdout] | [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: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 519 | fn to_modulus(&self) -> Cow<'_, $t> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/mod_int.rs:519:31 [INFO] [stdout] | [INFO] [stdout] 519 | fn to_modulus(&self) -> Cow<$t> { [INFO] [stdout] | ^^^^^ ------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [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] = note: this warning originates in the macro `impl_static_modulus` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 519 | fn to_modulus(&self) -> Cow<'_, $t> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/mod_int.rs:519:31 [INFO] [stdout] | [INFO] [stdout] 519 | fn to_modulus(&self) -> Cow<$t> { [INFO] [stdout] | ^^^^^ ------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] ... [INFO] [stdout] 581 | impl_static_modulus!(Mod10, 10, .., []); [INFO] [stdout] | --------------------------------------- in this macro invocation [INFO] [stdout] | [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: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 519 | fn to_modulus(&self) -> Cow<'_, $t> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/mod_int.rs:519:31 [INFO] [stdout] | [INFO] [stdout] 519 | fn to_modulus(&self) -> Cow<$t> { [INFO] [stdout] | ^^^^^ ------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] ... [INFO] [stdout] 582 | impl_static_modulus!(Mod11, 11, .., [odd, prime]); [INFO] [stdout] | ------------------------------------------------- in this macro invocation [INFO] [stdout] | [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: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 519 | fn to_modulus(&self) -> Cow<'_, $t> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/mod_int.rs:519:31 [INFO] [stdout] | [INFO] [stdout] 519 | fn to_modulus(&self) -> Cow<$t> { [INFO] [stdout] | ^^^^^ ------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] ... [INFO] [stdout] 583 | impl_static_modulus!(Mod12, 12, .., []); [INFO] [stdout] | --------------------------------------- in this macro invocation [INFO] [stdout] | [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: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 519 | fn to_modulus(&self) -> Cow<'_, $t> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/mod_int.rs:519:31 [INFO] [stdout] | [INFO] [stdout] 519 | fn to_modulus(&self) -> Cow<$t> { [INFO] [stdout] | ^^^^^ ------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] ... [INFO] [stdout] 584 | impl_static_modulus!(Mod13, 13, .., [odd, prime]); [INFO] [stdout] | ------------------------------------------------- in this macro invocation [INFO] [stdout] | [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: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 519 | fn to_modulus(&self) -> Cow<'_, $t> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/mod_int.rs:519:31 [INFO] [stdout] | [INFO] [stdout] 519 | fn to_modulus(&self) -> Cow<$t> { [INFO] [stdout] | ^^^^^ ------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] ... [INFO] [stdout] 585 | impl_static_modulus!(Mod14, 14, .., []); [INFO] [stdout] | --------------------------------------- in this macro invocation [INFO] [stdout] | [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: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 519 | fn to_modulus(&self) -> Cow<'_, $t> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/mod_int.rs:519:31 [INFO] [stdout] | [INFO] [stdout] 519 | fn to_modulus(&self) -> Cow<$t> { [INFO] [stdout] | ^^^^^ ------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] ... [INFO] [stdout] 586 | impl_static_modulus!(Mod15, 15, .., [odd]); [INFO] [stdout] | ------------------------------------------ in this macro invocation [INFO] [stdout] | [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: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 519 | fn to_modulus(&self) -> Cow<'_, $t> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/mod_int.rs:519:31 [INFO] [stdout] | [INFO] [stdout] 519 | fn to_modulus(&self) -> Cow<$t> { [INFO] [stdout] | ^^^^^ ------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] ... [INFO] [stdout] 587 | impl_static_modulus!(Mod16, 16, .., [prime_power(2, 4)]); [INFO] [stdout] | -------------------------------------------------------- in this macro invocation [INFO] [stdout] | [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: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 519 | fn to_modulus(&self) -> Cow<'_, $t> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/polynomial.rs:1193:17 [INFO] [stdout] | [INFO] [stdout] 1193 | pub fn iter(&self) -> Iter { [INFO] [stdout] | ^^^^^ ------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for 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] [stderr] Compiling algebraics v0.3.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/util.rs:934:10 [INFO] [stdout] | [INFO] [stdout] 934 | &'a self, [INFO] [stdout] | ^^ this lifetime flows to the output [INFO] [stdout] 935 | ) -> LeafOrNodePair< [INFO] [stdout] 936 | >::Leaf, [INFO] [stdout] | -- the lifetimes get resolved as `'a` [INFO] [stdout] 937 | &Self, [INFO] [stdout] | ----- the lifetimes get resolved as `'a` [INFO] [stdout] 938 | >::NodeData, [INFO] [stdout] | -- the lifetimes get resolved as `'a` [INFO] [stdout] | [INFO] [stdout] help: one option is to 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: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/algebraic_numbers.rs:483:26 [INFO] [stdout] | [INFO] [stdout] 483 | fn interval_shrinker(&mut self) -> IntervalShrinker { [INFO] [stdout] | ^^^^^^^^^ ---------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 483 | fn interval_shrinker(&mut self) -> IntervalShrinker<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be 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 lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for 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: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/algebraic_numbers.rs:958:15 [INFO] [stdout] | [INFO] [stdout] 958 | fn factor(&self) -> Cow> { [INFO] [stdout] | ^^^^^ ----------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for 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: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/array2d.rs:277:9 [INFO] [stdout] | [INFO] [stdout] 277 | &self, [INFO] [stdout] | ^^^^^ this lifetime flows to the output [INFO] [stdout] ... [INFO] [stdout] 280 | ) -> Array2DSlice { [INFO] [stdout] | --------------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 280 | ) -> Array2DSlice<'_, Data::Element> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/array2d.rs:294:9 [INFO] [stdout] | [INFO] [stdout] 294 | &mut self, [INFO] [stdout] | ^^^^^^^^^ this lifetime flows to the output [INFO] [stdout] ... [INFO] [stdout] 297 | ) -> Array2DMutSlice [INFO] [stdout] | ------------------------------ the lifetime gets resolved as `'_` [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 297 | ) -> Array2DMutSlice<'_, Data::Element> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/array2d.rs:316:24 [INFO] [stdout] | [INFO] [stdout] 316 | pub(crate) fn iter(&self) -> Iter { [INFO] [stdout] | ^^^^^ ------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 316 | pub(crate) fn iter(&self) -> Iter<'_, Data::Element> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/array2d.rs:323:28 [INFO] [stdout] | [INFO] [stdout] 323 | pub(crate) fn iter_mut(&mut self) -> IterMut [INFO] [stdout] | ^^^^^^^^^ ---------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for 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: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/mod_int.rs:174:19 [INFO] [stdout] | [INFO] [stdout] 174 | fn to_modulus(&self) -> Cow; [INFO] [stdout] | ^^^^^ ---------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 174 | fn to_modulus(&self) -> Cow<'_, Value>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/mod_int.rs:183:19 [INFO] [stdout] | [INFO] [stdout] 183 | fn to_modulus(&self) -> Cow { [INFO] [stdout] | ^^^^^ ---------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 183 | fn to_modulus(&self) -> Cow<'_, Value> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/mod_int.rs:247:19 [INFO] [stdout] | [INFO] [stdout] 247 | fn to_modulus(&self) -> Cow { [INFO] [stdout] | ^^^^^ ---------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 247 | fn to_modulus(&self) -> Cow<'_, Value> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/mod_int.rs:316:19 [INFO] [stdout] | [INFO] [stdout] 316 | fn to_modulus(&self) -> Cow { [INFO] [stdout] | ^^^^^ ---------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 316 | fn to_modulus(&self) -> Cow<'_, Value> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/mod_int.rs:353:27 [INFO] [stdout] | [INFO] [stdout] 353 | fn to_modulus(&self) -> Cow { [INFO] [stdout] | ^^^^^ --------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [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] = 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: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 353 | fn to_modulus(&self) -> Cow<'_, Self> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/mod_int.rs:353:27 [INFO] [stdout] | [INFO] [stdout] 353 | fn to_modulus(&self) -> Cow { [INFO] [stdout] | ^^^^^ --------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [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] = 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: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 353 | fn to_modulus(&self) -> Cow<'_, Self> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/mod_int.rs:353:27 [INFO] [stdout] | [INFO] [stdout] 353 | fn to_modulus(&self) -> Cow { [INFO] [stdout] | ^^^^^ --------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [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] = 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: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 353 | fn to_modulus(&self) -> Cow<'_, Self> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/mod_int.rs:353:27 [INFO] [stdout] | [INFO] [stdout] 353 | fn to_modulus(&self) -> Cow { [INFO] [stdout] | ^^^^^ --------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [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] = 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: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 353 | fn to_modulus(&self) -> Cow<'_, Self> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/mod_int.rs:353:27 [INFO] [stdout] | [INFO] [stdout] 353 | fn to_modulus(&self) -> Cow { [INFO] [stdout] | ^^^^^ --------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [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] = 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: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 353 | fn to_modulus(&self) -> Cow<'_, Self> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/mod_int.rs:353:27 [INFO] [stdout] | [INFO] [stdout] 353 | fn to_modulus(&self) -> Cow { [INFO] [stdout] | ^^^^^ --------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [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] = 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: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 353 | fn to_modulus(&self) -> Cow<'_, Self> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/mod_int.rs:353:27 [INFO] [stdout] | [INFO] [stdout] 353 | fn to_modulus(&self) -> Cow { [INFO] [stdout] | ^^^^^ --------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [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] = 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: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 353 | fn to_modulus(&self) -> Cow<'_, Self> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/mod_int.rs:353:27 [INFO] [stdout] | [INFO] [stdout] 353 | fn to_modulus(&self) -> Cow { [INFO] [stdout] | ^^^^^ --------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [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] = 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: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 353 | fn to_modulus(&self) -> Cow<'_, Self> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/mod_int.rs:353:27 [INFO] [stdout] | [INFO] [stdout] 353 | fn to_modulus(&self) -> Cow { [INFO] [stdout] | ^^^^^ --------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [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] = 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: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 353 | fn to_modulus(&self) -> Cow<'_, Self> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/mod_int.rs:353:27 [INFO] [stdout] | [INFO] [stdout] 353 | fn to_modulus(&self) -> Cow { [INFO] [stdout] | ^^^^^ --------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [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] = 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: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 353 | fn to_modulus(&self) -> Cow<'_, Self> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/mod_int.rs:353:27 [INFO] [stdout] | [INFO] [stdout] 353 | fn to_modulus(&self) -> Cow { [INFO] [stdout] | ^^^^^ --------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [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] = 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: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 353 | fn to_modulus(&self) -> Cow<'_, Self> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/mod_int.rs:353:27 [INFO] [stdout] | [INFO] [stdout] 353 | fn to_modulus(&self) -> Cow { [INFO] [stdout] | ^^^^^ --------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [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] = 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: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 353 | fn to_modulus(&self) -> Cow<'_, Self> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/mod_int.rs:353:27 [INFO] [stdout] | [INFO] [stdout] 353 | fn to_modulus(&self) -> Cow { [INFO] [stdout] | ^^^^^ --------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] ... [INFO] [stdout] 502 | impl_bigint_modulus!(BigInt, bigint_to_option_bigint); [INFO] [stdout] | ----------------------------------------------------- in this macro invocation [INFO] [stdout] | [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: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 353 | fn to_modulus(&self) -> Cow<'_, Self> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/mod_int.rs:353:27 [INFO] [stdout] | [INFO] [stdout] 353 | fn to_modulus(&self) -> Cow { [INFO] [stdout] | ^^^^^ --------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] ... [INFO] [stdout] 503 | impl_bigint_modulus!(BigUint, to_biguint); [INFO] [stdout] | ----------------------------------------- in this macro invocation [INFO] [stdout] | [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: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 353 | fn to_modulus(&self) -> Cow<'_, Self> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/mod_int.rs:519:31 [INFO] [stdout] | [INFO] [stdout] 519 | fn to_modulus(&self) -> Cow<$t> { [INFO] [stdout] | ^^^^^ ------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] ... [INFO] [stdout] 572 | impl_static_modulus!(Mod1, 1, .., [odd]); [INFO] [stdout] | ---------------------------------------- in this macro invocation [INFO] [stdout] | [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: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 519 | fn to_modulus(&self) -> Cow<'_, $t> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/mod_int.rs:519:31 [INFO] [stdout] | [INFO] [stdout] 519 | fn to_modulus(&self) -> Cow<$t> { [INFO] [stdout] | ^^^^^ ------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] ... [INFO] [stdout] 573 | impl_static_modulus!(Mod2, 2, .., [prime]); [INFO] [stdout] | ------------------------------------------ in this macro invocation [INFO] [stdout] | [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: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 519 | fn to_modulus(&self) -> Cow<'_, $t> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/mod_int.rs:519:31 [INFO] [stdout] | [INFO] [stdout] 519 | fn to_modulus(&self) -> Cow<$t> { [INFO] [stdout] | ^^^^^ ------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] ... [INFO] [stdout] 574 | impl_static_modulus!(Mod3, 3, .., [odd, prime]); [INFO] [stdout] | ----------------------------------------------- in this macro invocation [INFO] [stdout] | [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: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 519 | fn to_modulus(&self) -> Cow<'_, $t> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/mod_int.rs:519:31 [INFO] [stdout] | [INFO] [stdout] 519 | fn to_modulus(&self) -> Cow<$t> { [INFO] [stdout] | ^^^^^ ------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] ... [INFO] [stdout] 575 | impl_static_modulus!(Mod4, 4, .., [prime_power(2, 2)]); [INFO] [stdout] | ------------------------------------------------------ in this macro invocation [INFO] [stdout] | [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: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 519 | fn to_modulus(&self) -> Cow<'_, $t> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/mod_int.rs:519:31 [INFO] [stdout] | [INFO] [stdout] 519 | fn to_modulus(&self) -> Cow<$t> { [INFO] [stdout] | ^^^^^ ------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] ... [INFO] [stdout] 576 | impl_static_modulus!(Mod5, 5, .., [odd, prime]); [INFO] [stdout] | ----------------------------------------------- in this macro invocation [INFO] [stdout] | [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: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 519 | fn to_modulus(&self) -> Cow<'_, $t> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/mod_int.rs:519:31 [INFO] [stdout] | [INFO] [stdout] 519 | fn to_modulus(&self) -> Cow<$t> { [INFO] [stdout] | ^^^^^ ------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] ... [INFO] [stdout] 577 | impl_static_modulus!(Mod6, 6, .., []); [INFO] [stdout] | ------------------------------------- in this macro invocation [INFO] [stdout] | [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: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 519 | fn to_modulus(&self) -> Cow<'_, $t> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/mod_int.rs:519:31 [INFO] [stdout] | [INFO] [stdout] 519 | fn to_modulus(&self) -> Cow<$t> { [INFO] [stdout] | ^^^^^ ------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] ... [INFO] [stdout] 578 | impl_static_modulus!(Mod7, 7, .., [odd, prime]); [INFO] [stdout] | ----------------------------------------------- in this macro invocation [INFO] [stdout] | [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: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 519 | fn to_modulus(&self) -> Cow<'_, $t> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/mod_int.rs:519:31 [INFO] [stdout] | [INFO] [stdout] 519 | fn to_modulus(&self) -> Cow<$t> { [INFO] [stdout] | ^^^^^ ------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] ... [INFO] [stdout] 579 | impl_static_modulus!(Mod8, 8, .., [prime_power(2, 3)]); [INFO] [stdout] | ------------------------------------------------------ in this macro invocation [INFO] [stdout] | [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: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 519 | fn to_modulus(&self) -> Cow<'_, $t> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/mod_int.rs:519:31 [INFO] [stdout] | [INFO] [stdout] 519 | fn to_modulus(&self) -> Cow<$t> { [INFO] [stdout] | ^^^^^ ------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [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] = note: this warning originates in the macro `impl_static_modulus` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 519 | fn to_modulus(&self) -> Cow<'_, $t> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/mod_int.rs:519:31 [INFO] [stdout] | [INFO] [stdout] 519 | fn to_modulus(&self) -> Cow<$t> { [INFO] [stdout] | ^^^^^ ------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] ... [INFO] [stdout] 581 | impl_static_modulus!(Mod10, 10, .., []); [INFO] [stdout] | --------------------------------------- in this macro invocation [INFO] [stdout] | [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: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 519 | fn to_modulus(&self) -> Cow<'_, $t> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/mod_int.rs:519:31 [INFO] [stdout] | [INFO] [stdout] 519 | fn to_modulus(&self) -> Cow<$t> { [INFO] [stdout] | ^^^^^ ------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] ... [INFO] [stdout] 582 | impl_static_modulus!(Mod11, 11, .., [odd, prime]); [INFO] [stdout] | ------------------------------------------------- in this macro invocation [INFO] [stdout] | [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: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 519 | fn to_modulus(&self) -> Cow<'_, $t> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/mod_int.rs:519:31 [INFO] [stdout] | [INFO] [stdout] 519 | fn to_modulus(&self) -> Cow<$t> { [INFO] [stdout] | ^^^^^ ------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] ... [INFO] [stdout] 583 | impl_static_modulus!(Mod12, 12, .., []); [INFO] [stdout] | --------------------------------------- in this macro invocation [INFO] [stdout] | [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: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 519 | fn to_modulus(&self) -> Cow<'_, $t> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/mod_int.rs:519:31 [INFO] [stdout] | [INFO] [stdout] 519 | fn to_modulus(&self) -> Cow<$t> { [INFO] [stdout] | ^^^^^ ------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] ... [INFO] [stdout] 584 | impl_static_modulus!(Mod13, 13, .., [odd, prime]); [INFO] [stdout] | ------------------------------------------------- in this macro invocation [INFO] [stdout] | [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: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 519 | fn to_modulus(&self) -> Cow<'_, $t> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/mod_int.rs:519:31 [INFO] [stdout] | [INFO] [stdout] 519 | fn to_modulus(&self) -> Cow<$t> { [INFO] [stdout] | ^^^^^ ------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] ... [INFO] [stdout] 585 | impl_static_modulus!(Mod14, 14, .., []); [INFO] [stdout] | --------------------------------------- in this macro invocation [INFO] [stdout] | [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: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 519 | fn to_modulus(&self) -> Cow<'_, $t> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/mod_int.rs:519:31 [INFO] [stdout] | [INFO] [stdout] 519 | fn to_modulus(&self) -> Cow<$t> { [INFO] [stdout] | ^^^^^ ------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] ... [INFO] [stdout] 586 | impl_static_modulus!(Mod15, 15, .., [odd]); [INFO] [stdout] | ------------------------------------------ in this macro invocation [INFO] [stdout] | [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: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 519 | fn to_modulus(&self) -> Cow<'_, $t> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/mod_int.rs:519:31 [INFO] [stdout] | [INFO] [stdout] 519 | fn to_modulus(&self) -> Cow<$t> { [INFO] [stdout] | ^^^^^ ------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] ... [INFO] [stdout] 587 | impl_static_modulus!(Mod16, 16, .., [prime_power(2, 4)]); [INFO] [stdout] | -------------------------------------------------------- in this macro invocation [INFO] [stdout] | [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: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 519 | fn to_modulus(&self) -> Cow<'_, $t> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/polynomial.rs:1193:17 [INFO] [stdout] | [INFO] [stdout] 1193 | pub fn iter(&self) -> Iter { [INFO] [stdout] | ^^^^^ ------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for 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: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/util.rs:934:10 [INFO] [stdout] | [INFO] [stdout] 934 | &'a self, [INFO] [stdout] | ^^ this lifetime flows to the output [INFO] [stdout] 935 | ) -> LeafOrNodePair< [INFO] [stdout] 936 | >::Leaf, [INFO] [stdout] | -- the lifetimes get resolved as `'a` [INFO] [stdout] 937 | &Self, [INFO] [stdout] | ----- the lifetimes get resolved as `'a` [INFO] [stdout] 938 | >::NodeData, [INFO] [stdout] | -- the lifetimes get resolved as `'a` [INFO] [stdout] | [INFO] [stdout] help: one option is to consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 937 | &'a Self, [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 7.20s [INFO] running `Command { std: "docker" "inspect" "87661460e6d7253cb249e0621f4e85b8f54d6379501296fc765a97792d56e5cb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "87661460e6d7253cb249e0621f4e85b8f54d6379501296fc765a97792d56e5cb", kill_on_drop: false }` [INFO] [stdout] 87661460e6d7253cb249e0621f4e85b8f54d6379501296fc765a97792d56e5cb [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] fdb74e0a656592687d8a98e20a45f840c05cc5f80c9a0d3ad021cd092da415ee [INFO] running `Command { std: "docker" "start" "-a" "fdb74e0a656592687d8a98e20a45f840c05cc5f80c9a0d3ad021cd092da415ee", kill_on_drop: false }` [INFO] [stderr] warning: dropping unsupported crate type `cdylib` for target `x86_64-unknown-linux-musl` [INFO] [stderr] [INFO] [stderr] warning: field `minimal_polynomial` is never read [INFO] [stderr] --> src/algebraic_numbers.rs:319:5 [INFO] [stderr] | [INFO] [stderr] 318 | struct IntervalShrinker<'a> { [INFO] [stderr] | ---------------- field in this struct [INFO] [stderr] 319 | minimal_polynomial: &'a Polynomial, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `IntervalShrinker` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: trait `DivRemNearest` is never used [INFO] [stderr] --> src/traits.rs:208:18 [INFO] [stderr] | [INFO] [stderr] 208 | pub(crate) trait DivRemNearest: Sized { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: trait `IsolatedRealRoot` is never used [INFO] [stderr] --> src/traits.rs:477:18 [INFO] [stderr] | [INFO] [stderr] 477 | pub(crate) trait IsolatedRealRoot { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/algebraic_numbers.rs:483:26 [INFO] [stderr] | [INFO] [stderr] 483 | fn interval_shrinker(&mut self) -> IntervalShrinker { [INFO] [stderr] | ^^^^^^^^^ ---------------- the lifetime gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 483 | fn interval_shrinker(&mut self) -> IntervalShrinker<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/algebraic_numbers.rs:611:34 [INFO] [stderr] | [INFO] [stderr] 611 | fn remove_zero_from_interval(&mut self) -> Option<(Sign, IntervalShrinker)> { [INFO] [stderr] | ^^^^^^^^^ ---------------- the lifetime gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 611 | fn remove_zero_from_interval(&mut self) -> Option<(Sign, IntervalShrinker<'_>)> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/algebraic_numbers.rs:958:15 [INFO] [stderr] | [INFO] [stderr] 958 | fn factor(&self) -> Cow> { [INFO] [stderr] | ^^^^^ ----------------------- the lifetime gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 958 | fn factor(&self) -> Cow<'_, Polynomial> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: call to `.borrow()` on a reference in this situation does nothing [INFO] [stderr] --> src/array2d.rs:73:28 [INFO] [stderr] | [INFO] [stderr] 73 | data: this.data.borrow(), [INFO] [stderr] | ^^^^^^^^^ help: remove this redundant call [INFO] [stderr] | [INFO] [stderr] = 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] [stderr] = note: `#[warn(noop_method_call)]` on by default [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/array2d.rs:277:9 [INFO] [stderr] | [INFO] [stderr] 277 | &self, [INFO] [stderr] | ^^^^^ this lifetime flows to the output [INFO] [stderr] ... [INFO] [stderr] 280 | ) -> Array2DSlice { [INFO] [stderr] | --------------------------- the lifetime gets resolved as `'_` [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 280 | ) -> Array2DSlice<'_, Data::Element> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/array2d.rs:294:9 [INFO] [stderr] | [INFO] [stderr] 294 | &mut self, [INFO] [stderr] | ^^^^^^^^^ this lifetime flows to the output [INFO] [stderr] ... [INFO] [stderr] 297 | ) -> Array2DMutSlice [INFO] [stderr] | ------------------------------ the lifetime gets resolved as `'_` [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 297 | ) -> Array2DMutSlice<'_, Data::Element> [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/array2d.rs:316:24 [INFO] [stderr] | [INFO] [stderr] 316 | pub(crate) fn iter(&self) -> Iter { [INFO] [stderr] | ^^^^^ ------------------- the lifetime gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 316 | pub(crate) fn iter(&self) -> Iter<'_, Data::Element> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/array2d.rs:323:28 [INFO] [stderr] | [INFO] [stderr] 323 | pub(crate) fn iter_mut(&mut self) -> IterMut [INFO] [stderr] | ^^^^^^^^^ ---------------------- the lifetime gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 323 | pub(crate) fn iter_mut(&mut self) -> IterMut<'_, Data::Element> [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/mod_int.rs:174:19 [INFO] [stderr] | [INFO] [stderr] 174 | fn to_modulus(&self) -> Cow; [INFO] [stderr] | ^^^^^ ---------- the lifetime gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 174 | fn to_modulus(&self) -> Cow<'_, Value>; [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/mod_int.rs:183:19 [INFO] [stderr] | [INFO] [stderr] 183 | fn to_modulus(&self) -> Cow { [INFO] [stderr] | ^^^^^ ---------- the lifetime gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 183 | fn to_modulus(&self) -> Cow<'_, Value> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/mod_int.rs:247:19 [INFO] [stderr] | [INFO] [stderr] 247 | fn to_modulus(&self) -> Cow { [INFO] [stderr] | ^^^^^ ---------- the lifetime gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 247 | fn to_modulus(&self) -> Cow<'_, Value> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/mod_int.rs:316:19 [INFO] [stderr] | [INFO] [stderr] 316 | fn to_modulus(&self) -> Cow { [INFO] [stderr] | ^^^^^ ---------- the lifetime gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 316 | fn to_modulus(&self) -> Cow<'_, Value> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/mod_int.rs:353:27 [INFO] [stderr] | [INFO] [stderr] 353 | fn to_modulus(&self) -> Cow { [INFO] [stderr] | ^^^^^ --------- the lifetime gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] ... [INFO] [stderr] 490 | impl_prim_int_modulus!(i8, i16, i16::from, convert_to, to_i8); [INFO] [stderr] | ------------------------------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = 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] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 353 | fn to_modulus(&self) -> Cow<'_, Self> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/mod_int.rs:353:27 [INFO] [stderr] | [INFO] [stderr] 353 | fn to_modulus(&self) -> Cow { [INFO] [stderr] | ^^^^^ --------- the lifetime gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] ... [INFO] [stderr] 491 | impl_prim_int_modulus!(u8, u16, u16::from, convert_to, to_u8); [INFO] [stderr] | ------------------------------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = 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] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 353 | fn to_modulus(&self) -> Cow<'_, Self> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/mod_int.rs:353:27 [INFO] [stderr] | [INFO] [stderr] 353 | fn to_modulus(&self) -> Cow { [INFO] [stderr] | ^^^^^ --------- the lifetime gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] ... [INFO] [stderr] 492 | impl_prim_int_modulus!(i16, i32, i32::from, convert_to, to_i16); [INFO] [stderr] | --------------------------------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = 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] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 353 | fn to_modulus(&self) -> Cow<'_, Self> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/mod_int.rs:353:27 [INFO] [stderr] | [INFO] [stderr] 353 | fn to_modulus(&self) -> Cow { [INFO] [stderr] | ^^^^^ --------- the lifetime gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] ... [INFO] [stderr] 493 | impl_prim_int_modulus!(u16, u32, u32::from, convert_to, to_u16); [INFO] [stderr] | --------------------------------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = 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] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 353 | fn to_modulus(&self) -> Cow<'_, Self> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/mod_int.rs:353:27 [INFO] [stderr] | [INFO] [stderr] 353 | fn to_modulus(&self) -> Cow { [INFO] [stderr] | ^^^^^ --------- the lifetime gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] ... [INFO] [stderr] 494 | impl_prim_int_modulus!(i32, i64, i64::from, convert_to, to_i32); [INFO] [stderr] | --------------------------------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = 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] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 353 | fn to_modulus(&self) -> Cow<'_, Self> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/mod_int.rs:353:27 [INFO] [stderr] | [INFO] [stderr] 353 | fn to_modulus(&self) -> Cow { [INFO] [stderr] | ^^^^^ --------- the lifetime gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] ... [INFO] [stderr] 495 | impl_prim_int_modulus!(u32, u64, u64::from, convert_to, to_u32); [INFO] [stderr] | --------------------------------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = 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] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 353 | fn to_modulus(&self) -> Cow<'_, Self> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/mod_int.rs:353:27 [INFO] [stderr] | [INFO] [stderr] 353 | fn to_modulus(&self) -> Cow { [INFO] [stderr] | ^^^^^ --------- the lifetime gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] ... [INFO] [stderr] 496 | impl_prim_int_modulus!(i64, i128, i128::from, convert_to, to_i64); [INFO] [stderr] | ----------------------------------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = 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] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 353 | fn to_modulus(&self) -> Cow<'_, Self> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/mod_int.rs:353:27 [INFO] [stderr] | [INFO] [stderr] 353 | fn to_modulus(&self) -> Cow { [INFO] [stderr] | ^^^^^ --------- the lifetime gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] ... [INFO] [stderr] 497 | impl_prim_int_modulus!(u64, u128, u128::from, convert_to, to_u64); [INFO] [stderr] | ----------------------------------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = 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] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 353 | fn to_modulus(&self) -> Cow<'_, Self> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/mod_int.rs:353:27 [INFO] [stderr] | [INFO] [stderr] 353 | fn to_modulus(&self) -> Cow { [INFO] [stderr] | ^^^^^ --------- the lifetime gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] ... [INFO] [stderr] 498 | impl_prim_int_modulus!(i128, BigInt, BigInt::from, convert_to_i128, to_i128); [INFO] [stderr] | ---------------------------------------------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = 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] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 353 | fn to_modulus(&self) -> Cow<'_, Self> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/mod_int.rs:353:27 [INFO] [stderr] | [INFO] [stderr] 353 | fn to_modulus(&self) -> Cow { [INFO] [stderr] | ^^^^^ --------- the lifetime gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] ... [INFO] [stderr] 499 | impl_prim_int_modulus!(u128, BigUint, BigUint::from, convert_to_u128, to_u128); [INFO] [stderr] | ------------------------------------------------------------------------------ in this macro invocation [INFO] [stderr] | [INFO] [stderr] = 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] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 353 | fn to_modulus(&self) -> Cow<'_, Self> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/mod_int.rs:353:27 [INFO] [stderr] | [INFO] [stderr] 353 | fn to_modulus(&self) -> Cow { [INFO] [stderr] | ^^^^^ --------- the lifetime gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] ... [INFO] [stderr] 500 | impl_prim_int_modulus!(isize, i128, convert_to::, convert_to, to_isize); [INFO] [stderr] | ------------------------------------------------------------------------------------ in this macro invocation [INFO] [stderr] | [INFO] [stderr] = 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] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 353 | fn to_modulus(&self) -> Cow<'_, Self> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/mod_int.rs:353:27 [INFO] [stderr] | [INFO] [stderr] 353 | fn to_modulus(&self) -> Cow { [INFO] [stderr] | ^^^^^ --------- the lifetime gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] ... [INFO] [stderr] 501 | impl_prim_int_modulus!(usize, u128, convert_to::, convert_to, to_usize); [INFO] [stderr] | ------------------------------------------------------------------------------------ in this macro invocation [INFO] [stderr] | [INFO] [stderr] = 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] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 353 | fn to_modulus(&self) -> Cow<'_, Self> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/mod_int.rs:353:27 [INFO] [stderr] | [INFO] [stderr] 353 | fn to_modulus(&self) -> Cow { [INFO] [stderr] | ^^^^^ --------- the lifetime gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] ... [INFO] [stderr] 502 | impl_bigint_modulus!(BigInt, bigint_to_option_bigint); [INFO] [stderr] | ----------------------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = 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] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 353 | fn to_modulus(&self) -> Cow<'_, Self> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/mod_int.rs:353:27 [INFO] [stderr] | [INFO] [stderr] 353 | fn to_modulus(&self) -> Cow { [INFO] [stderr] | ^^^^^ --------- the lifetime gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] ... [INFO] [stderr] 503 | impl_bigint_modulus!(BigUint, to_biguint); [INFO] [stderr] | ----------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = 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] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 353 | fn to_modulus(&self) -> Cow<'_, Self> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/mod_int.rs:519:31 [INFO] [stderr] | [INFO] [stderr] 519 | fn to_modulus(&self) -> Cow<$t> { [INFO] [stderr] | ^^^^^ ------- the lifetime gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] ... [INFO] [stderr] 572 | impl_static_modulus!(Mod1, 1, .., [odd]); [INFO] [stderr] | ---------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `impl_static_modulus` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 519 | fn to_modulus(&self) -> Cow<'_, $t> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/mod_int.rs:519:31 [INFO] [stderr] | [INFO] [stderr] 519 | fn to_modulus(&self) -> Cow<$t> { [INFO] [stderr] | ^^^^^ ------- the lifetime gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] ... [INFO] [stderr] 573 | impl_static_modulus!(Mod2, 2, .., [prime]); [INFO] [stderr] | ------------------------------------------ in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `impl_static_modulus` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 519 | fn to_modulus(&self) -> Cow<'_, $t> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/mod_int.rs:519:31 [INFO] [stderr] | [INFO] [stderr] 519 | fn to_modulus(&self) -> Cow<$t> { [INFO] [stderr] | ^^^^^ ------- the lifetime gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] ... [INFO] [stderr] 574 | impl_static_modulus!(Mod3, 3, .., [odd, prime]); [INFO] [stderr] | ----------------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `impl_static_modulus` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 519 | fn to_modulus(&self) -> Cow<'_, $t> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/mod_int.rs:519:31 [INFO] [stderr] | [INFO] [stderr] 519 | fn to_modulus(&self) -> Cow<$t> { [INFO] [stderr] | ^^^^^ ------- the lifetime gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] ... [INFO] [stderr] 575 | impl_static_modulus!(Mod4, 4, .., [prime_power(2, 2)]); [INFO] [stderr] | ------------------------------------------------------ in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `impl_static_modulus` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 519 | fn to_modulus(&self) -> Cow<'_, $t> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/mod_int.rs:519:31 [INFO] [stderr] | [INFO] [stderr] 519 | fn to_modulus(&self) -> Cow<$t> { [INFO] [stderr] | ^^^^^ ------- the lifetime gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] ... [INFO] [stderr] 576 | impl_static_modulus!(Mod5, 5, .., [odd, prime]); [INFO] [stderr] | ----------------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `impl_static_modulus` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 519 | fn to_modulus(&self) -> Cow<'_, $t> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/mod_int.rs:519:31 [INFO] [stderr] | [INFO] [stderr] 519 | fn to_modulus(&self) -> Cow<$t> { [INFO] [stderr] | ^^^^^ ------- the lifetime gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] ... [INFO] [stderr] 577 | impl_static_modulus!(Mod6, 6, .., []); [INFO] [stderr] | ------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `impl_static_modulus` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 519 | fn to_modulus(&self) -> Cow<'_, $t> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/mod_int.rs:519:31 [INFO] [stderr] | [INFO] [stderr] 519 | fn to_modulus(&self) -> Cow<$t> { [INFO] [stderr] | ^^^^^ ------- the lifetime gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] ... [INFO] [stderr] 578 | impl_static_modulus!(Mod7, 7, .., [odd, prime]); [INFO] [stderr] | ----------------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `impl_static_modulus` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 519 | fn to_modulus(&self) -> Cow<'_, $t> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/mod_int.rs:519:31 [INFO] [stderr] | [INFO] [stderr] 519 | fn to_modulus(&self) -> Cow<$t> { [INFO] [stderr] | ^^^^^ ------- the lifetime gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] ... [INFO] [stderr] 579 | impl_static_modulus!(Mod8, 8, .., [prime_power(2, 3)]); [INFO] [stderr] | ------------------------------------------------------ in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `impl_static_modulus` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 519 | fn to_modulus(&self) -> Cow<'_, $t> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/mod_int.rs:519:31 [INFO] [stderr] | [INFO] [stderr] 519 | fn to_modulus(&self) -> Cow<$t> { [INFO] [stderr] | ^^^^^ ------- the lifetime gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] ... [INFO] [stderr] 580 | impl_static_modulus!(Mod9, 9, .., [odd, prime_power(3, 2)]); [INFO] [stderr] | ----------------------------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `impl_static_modulus` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 519 | fn to_modulus(&self) -> Cow<'_, $t> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/mod_int.rs:519:31 [INFO] [stderr] | [INFO] [stderr] 519 | fn to_modulus(&self) -> Cow<$t> { [INFO] [stderr] | ^^^^^ ------- the lifetime gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] ... [INFO] [stderr] 581 | impl_static_modulus!(Mod10, 10, .., []); [INFO] [stderr] | --------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `impl_static_modulus` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 519 | fn to_modulus(&self) -> Cow<'_, $t> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/mod_int.rs:519:31 [INFO] [stderr] | [INFO] [stderr] 519 | fn to_modulus(&self) -> Cow<$t> { [INFO] [stderr] | ^^^^^ ------- the lifetime gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] ... [INFO] [stderr] 582 | impl_static_modulus!(Mod11, 11, .., [odd, prime]); [INFO] [stderr] | ------------------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `impl_static_modulus` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 519 | fn to_modulus(&self) -> Cow<'_, $t> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/mod_int.rs:519:31 [INFO] [stderr] | [INFO] [stderr] 519 | fn to_modulus(&self) -> Cow<$t> { [INFO] [stderr] | ^^^^^ ------- the lifetime gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] ... [INFO] [stderr] 583 | impl_static_modulus!(Mod12, 12, .., []); [INFO] [stderr] | --------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `impl_static_modulus` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 519 | fn to_modulus(&self) -> Cow<'_, $t> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/mod_int.rs:519:31 [INFO] [stderr] | [INFO] [stderr] 519 | fn to_modulus(&self) -> Cow<$t> { [INFO] [stderr] | ^^^^^ ------- the lifetime gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] ... [INFO] [stderr] 584 | impl_static_modulus!(Mod13, 13, .., [odd, prime]); [INFO] [stderr] | ------------------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `impl_static_modulus` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 519 | fn to_modulus(&self) -> Cow<'_, $t> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/mod_int.rs:519:31 [INFO] [stderr] | [INFO] [stderr] 519 | fn to_modulus(&self) -> Cow<$t> { [INFO] [stderr] | ^^^^^ ------- the lifetime gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] ... [INFO] [stderr] 585 | impl_static_modulus!(Mod14, 14, .., []); [INFO] [stderr] | --------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `impl_static_modulus` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 519 | fn to_modulus(&self) -> Cow<'_, $t> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/mod_int.rs:519:31 [INFO] [stderr] | [INFO] [stderr] 519 | fn to_modulus(&self) -> Cow<$t> { [INFO] [stderr] | ^^^^^ ------- the lifetime gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] ... [INFO] [stderr] 586 | impl_static_modulus!(Mod15, 15, .., [odd]); [INFO] [stderr] | ------------------------------------------ in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `impl_static_modulus` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 519 | fn to_modulus(&self) -> Cow<'_, $t> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/mod_int.rs:519:31 [INFO] [stderr] | [INFO] [stderr] 519 | fn to_modulus(&self) -> Cow<$t> { [INFO] [stderr] | ^^^^^ ------- the lifetime gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] ... [INFO] [stderr] 587 | impl_static_modulus!(Mod16, 16, .., [prime_power(2, 4)]); [INFO] [stderr] | -------------------------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `impl_static_modulus` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 519 | fn to_modulus(&self) -> Cow<'_, $t> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/polynomial.rs:1193:17 [INFO] [stderr] | [INFO] [stderr] 1193 | pub fn iter(&self) -> Iter { [INFO] [stderr] | ^^^^^ ------- the lifetime gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 1193 | pub fn iter(&self) -> Iter<'_, T> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: call to `.borrow()` on a reference in this situation does nothing [INFO] [stderr] --> src/polynomial/div_rem.rs:247:67 [INFO] [stderr] | [INFO] [stderr] 247 | let (quotient, factor) = self.clone().exact_pseudo_div(rhs.borrow()); [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = 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] [stderr] help: remove this redundant call [INFO] [stderr] | [INFO] [stderr] 247 - let (quotient, factor) = self.clone().exact_pseudo_div(rhs.borrow()); [INFO] [stderr] 247 + let (quotient, factor) = self.clone().exact_pseudo_div(rhs); [INFO] [stderr] | [INFO] [stderr] help: if you meant to clone `Polynomial`, implement `Clone` for it [INFO] [stderr] --> src/polynomial.rs:829:1 [INFO] [stderr] | [INFO] [stderr] 829 + #[derive(Clone)] [INFO] [stderr] 830 | pub struct Polynomial { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: call to `.borrow()` on a reference in this situation does nothing [INFO] [stderr] --> src/polynomial/div_rem.rs:251:75 [INFO] [stderr] | [INFO] [stderr] 251 | let (quotient, factor) = self.clone().checked_exact_pseudo_div(rhs.borrow())?; [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = 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] [stderr] help: remove this redundant call [INFO] [stderr] | [INFO] [stderr] 251 - let (quotient, factor) = self.clone().checked_exact_pseudo_div(rhs.borrow())?; [INFO] [stderr] 251 + let (quotient, factor) = self.clone().checked_exact_pseudo_div(rhs)?; [INFO] [stderr] | [INFO] [stderr] help: if you meant to clone `Polynomial`, implement `Clone` for it [INFO] [stderr] --> src/polynomial.rs:829:1 [INFO] [stderr] | [INFO] [stderr] 829 + #[derive(Clone)] [INFO] [stderr] 830 | pub struct Polynomial { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/util.rs:934:10 [INFO] [stderr] | [INFO] [stderr] 934 | &'a self, [INFO] [stderr] | ^^ this lifetime flows to the output [INFO] [stderr] 935 | ) -> LeafOrNodePair< [INFO] [stderr] 936 | >::Leaf, [INFO] [stderr] | -- the lifetimes get resolved as `'a` [INFO] [stderr] 937 | &Self, [INFO] [stderr] | ----- the lifetimes get resolved as `'a` [INFO] [stderr] 938 | >::NodeData, [INFO] [stderr] | -- the lifetimes get resolved as `'a` [INFO] [stderr] | [INFO] [stderr] help: one option is to consistently use `'a` [INFO] [stderr] | [INFO] [stderr] 937 | &'a Self, [INFO] [stderr] | ++ [INFO] [stderr] [INFO] [stderr] warning: `algebraics` (lib) generated 50 warnings (run `cargo fix --lib -p algebraics` to apply 46 suggestions) [INFO] [stderr] warning: call to `.borrow()` on a reference in this situation does nothing [INFO] [stderr] --> src/polynomial/div_rem.rs:247:67 [INFO] [stderr] | [INFO] [stderr] 247 | let (quotient, factor) = self.clone().exact_pseudo_div(rhs.borrow()); [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = 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] [stderr] help: remove this redundant call [INFO] [stderr] | [INFO] [stderr] 247 - let (quotient, factor) = self.clone().exact_pseudo_div(rhs.borrow()); [INFO] [stderr] 247 + let (quotient, factor) = self.clone().exact_pseudo_div(rhs); [INFO] [stderr] | [INFO] [stderr] help: if you meant to clone `polynomial::Polynomial`, implement `Clone` for it [INFO] [stderr] --> src/polynomial.rs:829:1 [INFO] [stderr] | [INFO] [stderr] 829 + #[derive(Clone)] [INFO] [stderr] 830 | pub struct Polynomial { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: call to `.borrow()` on a reference in this situation does nothing [INFO] [stderr] --> src/polynomial/div_rem.rs:251:75 [INFO] [stderr] | [INFO] [stderr] 251 | let (quotient, factor) = self.clone().checked_exact_pseudo_div(rhs.borrow())?; [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = 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] [stderr] help: remove this redundant call [INFO] [stderr] | [INFO] [stderr] 251 - let (quotient, factor) = self.clone().checked_exact_pseudo_div(rhs.borrow())?; [INFO] [stderr] 251 + let (quotient, factor) = self.clone().checked_exact_pseudo_div(rhs)?; [INFO] [stderr] | [INFO] [stderr] help: if you meant to clone `polynomial::Polynomial`, implement `Clone` for it [INFO] [stderr] --> src/polynomial.rs:829:1 [INFO] [stderr] | [INFO] [stderr] 829 + #[derive(Clone)] [INFO] [stderr] 830 | pub struct Polynomial { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: `algebraics` (lib test) generated 49 warnings (47 duplicates) (run `cargo fix --lib -p algebraics --tests` to apply 2 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.06s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/algebraics-f4140d1d29eb827d) [INFO] [stdout] [INFO] [stdout] running 96 tests [INFO] [stdout] test algebraic_numbers::tests::test_debug ... ok [INFO] [stdout] test algebraic_numbers::tests::test_neg ... ok [INFO] [stdout] test interval_arithmetic::tests::test_add_int ... ok [INFO] [stdout] test interval_arithmetic::tests::test_convert_log2_denom ... ok [INFO] [stdout] test interval_arithmetic::tests::test_add ... ok [INFO] [stdout] test interval_arithmetic::tests::test_debug ... ok [INFO] [stdout] test array2d::tests::test_iter_mut ... ok [INFO] [stdout] test interval_arithmetic::tests::test_display ... ok [INFO] [stdout] test array2d::tests::test_positions ... ok [INFO] [stdout] test algebraic_numbers::tests::test_cmp_with_zero ... ok [INFO] [stdout] test interval_arithmetic::tests::test_add_ratio ... ok [INFO] [stdout] test interval_arithmetic::tests::test_div_int ... ok [INFO] [stdout] test interval_arithmetic::tests::test_from_ratio ... ok [INFO] [stdout] test interval_arithmetic::tests::test_from_ratio_range ... ok [INFO] [stdout] test interval_arithmetic::tests::test_div ... ok [INFO] [stdout] test interval_arithmetic::tests::test_arithmetic_geometric_mean ... ok [INFO] [stdout] test interval_arithmetic::tests::test_interval_union ... ok [INFO] [stdout] test interval_arithmetic::tests::test_mul_int ... ok [INFO] [stdout] test interval_arithmetic::tests::test_sqrt ... ok [INFO] [stdout] test interval_arithmetic::tests::test_square ... ok [INFO] [stdout] test interval_arithmetic::tests::test_pow ... ok [INFO] [stdout] test interval_arithmetic::tests::test_sub_int ... ok [INFO] [stdout] test interval_arithmetic::tests::test_sub ... ok [INFO] [stdout] test interval_arithmetic::tests::test_mul ... ok [INFO] [stdout] test interval_arithmetic::tests::test_div_ratio ... ok [INFO] [stdout] test mod_int::tests::test_add ... ok [INFO] [stdout] test interval_arithmetic::tests::test_mul_ratio ... ok [INFO] [stdout] test interval_arithmetic::tests::test_sub_ratio ... ok [INFO] [stdout] test mod_int::tests::test_div ... ok [INFO] [stdout] test mod_int::tests::test_mul ... ok [INFO] [stdout] test mod_int::tests::test_sub ... ok [INFO] [stdout] test polynomial::add_sub::tests::test_add_ratio ... ok [INFO] [stdout] test polynomial::add_sub::tests::test_add ... ok [INFO] [stdout] test polynomial::add_sub::tests::test_sub ... ok [INFO] [stdout] test polynomial::add_sub::tests::test_sub_ratio ... ok [INFO] [stdout] test polynomial::div_rem::tests::test_div ... ok [INFO] [stdout] test lattice::tests::test_gram_schmidt ... ok [INFO] [stdout] test polynomial::distinct_degree_factorization::tests::test_distinct_degree_factorization ... ok [INFO] [stdout] test polynomial::div_rem::tests::test_pseudo_div_rem ... ok [INFO] [stdout] test polynomial::div_rem::tests::test_rem ... ok [INFO] [stdout] test interval_arithmetic::tests::test_natural_log_of_2 ... ok [INFO] [stdout] test algebraic_numbers::tests::test_floor_ceil ... ok [INFO] [stdout] test algebraic_numbers::tests::test_integer_floor_ceil_log2 ... ok [INFO] [stdout] test mod_int::tests::test_overflow ... ok [INFO] [stdout] test polynomial::factorization_over_integers::tests::test_factor_square_free_polynomial_with_rng_2 ... ignored, slow [INFO] [stdout] test polynomial::factorization_over_integers::tests::test_factor_square_free_polynomial_with_rng_3 ... ignored, slow [INFO] [stdout] test polynomial::factorization_over_integers::tests::test_factor_square_free_polynomial_with_rng_4 ... ignored, slow [INFO] [stdout] test polynomial::div_rem::tests::test_div_by_zero - should panic ... ok [INFO] [stdout] test polynomial::factorization_over_integers::tests::test_factor_square_free_polynomial_with_rng_6 ... ok [INFO] [stdout] test polynomial::factorization_over_integers::tests::test_factor_square_free_polynomial_with_rng_7 ... ok [INFO] [stdout] test polynomial::factorization_over_integers::tests::test_factor_square_free_polynomial_with_rng_5 ... ok [INFO] [stdout] test algebraic_numbers::tests::test_mul ... ok [INFO] [stdout] test polynomial::gcd::tests::test_multivariable_resultant ... ok [INFO] [stdout] test polynomial::mul::tests::test_mul ... ok [INFO] [stdout] test polynomial::mul::tests::test_mul_rational ... ok [INFO] [stdout] test polynomial::same_degree_factorization::tests::test_same_degree_factorization ... ok [INFO] [stdout] test polynomial::tests::test_display ... ok [INFO] [stdout] test polynomial::tests::test_eval ... ok [INFO] [stdout] test polynomial::tests::test_make_monomial ... ok [INFO] [stdout] test polynomial::tests::test_primitive_part ... ok [INFO] [stdout] test polynomial::tests::test_primitive_sturm_sequence ... ok [INFO] [stdout] test polynomial::tests::test_split_out_divisor ... ok [INFO] [stdout] test algebraic_numbers::tests::test_div ... ok [INFO] [stdout] test polynomial::tests::test_sturm_sequence ... ok [INFO] [stdout] test quadratic_numbers::tests::test_discriminant ... ok [INFO] [stdout] test quadratic_numbers::tests::test_quad_poly_into_poly ... ok [INFO] [stdout] test quadratic_numbers::tests::test_quad_poly_neg ... ok [INFO] [stdout] test quadratic_numbers::tests::test_real_quadratic_number_cmp ... ignored, slow [INFO] [stdout] test polynomial::gcd::tests::test_resultant ... ok [INFO] [stdout] test quadratic_numbers::tests::test_real_quadratic_number_default_zero ... ok [INFO] [stdout] test quadratic_numbers::tests::test_real_quadratic_number_from_ratio ... ok [INFO] [stdout] test quadratic_numbers::tests::test_real_quadratic_number_into_reduced ... ok [INFO] [stdout] test polynomial::gcd::tests::test_gcd ... ok [INFO] [stdout] test quadratic_numbers::tests::test_real_quadratic_number_neg ... ok [INFO] [stdout] test quadratic_numbers::tests::test_real_quadratic_number_one ... ok [INFO] [stdout] test quadratic_numbers::tests::test_real_quadratic_number_to_f64 ... ok [INFO] [stdout] test quadratic_numbers::tests::test_real_quadratic_number_signum ... ok [INFO] [stdout] test polynomial::tests::test_square_free_factorization_using_yuns_algorithm ... ok [INFO] [stdout] test traits::tests::test_gcd_lcm ... ok [INFO] [stdout] test polynomial::factorization_over_integers::tests::test_factor_square_free_polynomial_with_rng_0 ... ok [INFO] [stdout] test util::tests::test_for_subsets_of_size ... ok [INFO] [stdout] test polynomial::div_rem::tests::test_powmod ... ok [INFO] [stdout] test polynomial::factorization_over_integers::tests::test_factor_square_free_polynomial_with_rng_1 ... ok [INFO] [stdout] test algebraic_numbers::tests::test_sub ... ok [INFO] [stdout] test traits::tests::test_floor_log2 ... ok [INFO] [stdout] test traits::tests::test_trailing_zeros ... ok [INFO] [stdout] test traits::tests::test_ceil_log2 ... ok [INFO] [stdout] test algebraic_numbers::tests::test_pow ... ok [INFO] [stdout] test interval_arithmetic::tests::test_exp ... ok [INFO] [stdout] test algebraic_numbers::tests::test_add ... ok [INFO] [stdout] test interval_arithmetic::tests::test_log_core ... ok [INFO] [stdout] test quadratic_numbers::tests::test_real_quadratic_number_cmp_rational ... ok [INFO] [stdout] test polynomial::factorization_over_integers::tests::test_factor_0 ... ok [INFO] [stdout] test lattice::tests::test_lll_reduce ... ok [INFO] [stdout] test interval_arithmetic::tests::test_log ... ok [INFO] [stdout] test polynomial::factorization_over_integers::tests::test_factor_1 ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 92 passed; 0 failed; 4 ignored; 0 measured; 0 filtered out; finished in 9.24s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "fdb74e0a656592687d8a98e20a45f840c05cc5f80c9a0d3ad021cd092da415ee", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fdb74e0a656592687d8a98e20a45f840c05cc5f80c9a0d3ad021cd092da415ee", kill_on_drop: false }` [INFO] [stdout] fdb74e0a656592687d8a98e20a45f840c05cc5f80c9a0d3ad021cd092da415ee