[INFO] fetching crate dashu-int 0.4.1... [INFO] checking dashu-int-0.4.1 against master#cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c for pr-143170 [INFO] extracting crate dashu-int 0.4.1 into /workspace/builds/worker-0-tc1/source [INFO] started tweaking crates.io crate dashu-int 0.4.1 [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate dashu-int 0.4.1 [INFO] tweaked toml for crates.io crate dashu-int 0.4.1 written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate dashu-int 0.4.1 on toolchain cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate dashu-int 0.4.1 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded critical-section v1.1.2 [INFO] [stderr] Downloaded clap v4.4.8 [INFO] [stderr] Downloaded dashu-base v0.4.0 [INFO] [stderr] Downloaded atomic-polyfill v0.1.11 [INFO] [stderr] Downloaded postcard v1.0.8 [INFO] [stderr] Downloaded rustix v0.38.28 [INFO] [stderr] Downloaded heapless v0.7.16 [INFO] [stderr] Downloaded clap_builder v4.4.8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a95b49a50e87e1016fd189b14d72ec2301252d82b77439bbe54e947a70ed5d21 [INFO] running `Command { std: "docker" "start" "-a" "a95b49a50e87e1016fd189b14d72ec2301252d82b77439bbe54e947a70ed5d21", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a95b49a50e87e1016fd189b14d72ec2301252d82b77439bbe54e947a70ed5d21", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a95b49a50e87e1016fd189b14d72ec2301252d82b77439bbe54e947a70ed5d21", kill_on_drop: false }` [INFO] [stdout] a95b49a50e87e1016fd189b14d72ec2301252d82b77439bbe54e947a70ed5d21 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 74b032aba6e11880c31a1137f35d8a381d2851f8bb2d6b5cd84b4618822f6b6d [INFO] running `Command { std: "docker" "start" "-a" "74b032aba6e11880c31a1137f35d8a381d2851f8bb2d6b5cd84b4618822f6b6d", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.69 [INFO] [stderr] Compiling serde v1.0.193 [INFO] [stderr] Compiling semver v1.0.20 [INFO] [stderr] Compiling libc v0.2.150 [INFO] [stderr] Compiling rustix v0.38.28 [INFO] [stderr] Compiling lock_api v0.4.11 [INFO] [stderr] Compiling num-traits v0.2.17 [INFO] [stderr] Compiling rayon-core v1.12.0 [INFO] [stderr] Compiling serde_json v1.0.108 [INFO] [stderr] Checking either v1.9.0 [INFO] [stderr] Checking anstyle v1.0.4 [INFO] [stderr] Checking clap_lex v0.6.0 [INFO] [stderr] Checking ciborium-io v0.2.1 [INFO] [stderr] Checking regex-syntax v0.8.2 [INFO] [stderr] Checking ryu v1.0.15 [INFO] [stderr] Checking half v1.8.2 [INFO] [stderr] Compiling rustversion v1.0.14 [INFO] [stderr] Checking itoa v1.0.9 [INFO] [stderr] Checking linux-raw-sys v0.4.12 [INFO] [stderr] Compiling rustc_version v0.4.0 [INFO] [stderr] Checking bitflags v2.4.1 [INFO] [stderr] Checking plotters-backend v0.3.5 [INFO] [stderr] Checking ciborium-ll v0.2.1 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Compiling heapless v0.7.16 [INFO] [stderr] Checking plotters-svg v0.3.5 [INFO] [stderr] Checking spin v0.9.8 [INFO] [stderr] Compiling syn v2.0.39 [INFO] [stderr] Checking clap_builder v4.4.8 [INFO] [stderr] Checking itertools v0.10.5 [INFO] [stderr] Checking getrandom v0.2.11 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking num-modular v0.6.1 [INFO] [stderr] Checking cast v0.3.0 [INFO] [stderr] Checking ppv-lite86 v0.2.17 [INFO] [stderr] Checking rayon v1.8.0 [INFO] [stderr] Checking regex-automata v0.4.3 [INFO] [stderr] Checking walkdir v2.4.0 [INFO] [stderr] Checking is-terminal v0.4.10 [INFO] [stderr] Checking plotters v0.3.5 [INFO] [stderr] Checking num-order v1.2.0 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking static_assertions v1.1.0 [INFO] [stderr] Checking dashu-base v0.4.0 [INFO] [stderr] Checking criterion-plot v0.5.0 [INFO] [stderr] Checking cobs v0.2.3 [INFO] [stderr] Checking oorandom v11.1.3 [INFO] [stderr] Checking clap v4.4.8 [INFO] [stderr] Checking embedded-io v0.4.0 [INFO] [stderr] Checking anes v0.1.6 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking dashu-int v0.4.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition name: `force_bits` [INFO] [stdout] --> src/arch/mod.rs:17:14 [INFO] [stdout] | [INFO] [stdout] 17 | if #[cfg(force_bits = "16")] { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `docsrs`, `feature`, and `test` and 31 more [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(force_bits, values("16"))'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(force_bits, values(\"16\"))");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `force_bits` [INFO] [stdout] --> src/arch/mod.rs:21:19 [INFO] [stdout] | [INFO] [stdout] 21 | else if #[cfg(force_bits = "32")] { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(force_bits, values("32"))'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(force_bits, values(\"32\"))");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `force_bits` [INFO] [stdout] --> src/arch/mod.rs:25:19 [INFO] [stdout] | [INFO] [stdout] 25 | else if #[cfg(force_bits = "64")] { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(force_bits, values("64"))'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(force_bits, values(\"64\"))");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking regex v1.10.2 [INFO] [stderr] Compiling serde_derive v1.0.193 [INFO] [stdout] warning: associated constant `MAX` is never used [INFO] [stdout] --> src/primitive.rs:133:11 [INFO] [stdout] | [INFO] [stdout] 112 | pub trait PrimitiveUnsigned [INFO] [stdout] | ----------------- associated constant in this trait [INFO] [stdout] ... [INFO] [stdout] 133 | const MAX: Self; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` 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/fmt/mod.rs:206:21 [INFO] [stdout] | [INFO] [stdout] 206 | pub fn in_radix(&self, radix: u32) -> InRadix { [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] 206 | pub fn in_radix(&self, radix: u32) -> InRadix<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/fmt/mod.rs:234:21 [INFO] [stdout] | [INFO] [stdout] 234 | pub fn in_radix(&self, radix: u32) -> InRadix { [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] 234 | pub fn in_radix(&self, radix: u32) -> InRadix<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/fmt/digit_writer.rs:20:25 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn new(writer: &'a mut dyn fmt::Write, digit_case: DigitCase) -> DigitWriter { [INFO] [stdout] | ^^ this lifetime flows to the output ----------- the lifetime gets resolved as `'a` [INFO] [stdout] | [INFO] [stdout] help: one option is to consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 20 | pub fn new(writer: &'a mut dyn fmt::Write, digit_case: DigitCase) -> DigitWriter<'a> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/fmt/power_two.rs:122:19 [INFO] [stdout] | [INFO] [stdout] 122 | fn new(words: &[Word], radix: Digit) -> PreparedLarge { [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] 122 | fn new(words: &[Word], radix: Digit) -> PreparedLarge<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/memory.rs:55:19 [INFO] [stdout] | [INFO] [stdout] 55 | pub fn memory(&mut self) -> Memory { [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] 55 | pub fn memory(&mut self) -> Memory<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/memory.rs:81:41 [INFO] [stdout] | [INFO] [stdout] 81 | pub fn allocate_slice_fill(&mut self, n: usize, val: T) -> (&mut [T], Memory) { [INFO] [stdout] | ^^^^^^^^^ -------- ------ the lifetimes get resolved as `'_` [INFO] [stdout] | | | [INFO] [stdout] | | the lifetimes get resolved as `'_` [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] 81 | pub fn allocate_slice_fill(&mut self, n: usize, val: T) -> (&mut [T], Memory<'_>) { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/memory.rs:99:41 [INFO] [stdout] | [INFO] [stdout] 99 | pub fn allocate_slice_copy(&mut self, source: &[T]) -> (&mut [T], Memory) { [INFO] [stdout] | ^^^^^^^^^ -------- ------ the lifetimes get resolved as `'_` [INFO] [stdout] | | | [INFO] [stdout] | | the lifetimes get resolved as `'_` [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] 99 | pub fn allocate_slice_copy(&mut self, source: &[T]) -> (&mut [T], Memory<'_>) { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/memory.rs:118:9 [INFO] [stdout] | [INFO] [stdout] 118 | &mut self, [INFO] [stdout] | ^^^^^^^^^ this lifetime flows to the output [INFO] [stdout] ... [INFO] [stdout] 122 | ) -> (&mut [T], Memory) { [INFO] [stdout] | -------- ------ the lifetimes get resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | the lifetimes get 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] 122 | ) -> (&mut [T], Memory<'_>) { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/memory.rs:143:40 [INFO] [stdout] | [INFO] [stdout] 143 | fn allocate_slice_initialize(&mut self, n: usize, init: F) -> (&mut [T], Memory) [INFO] [stdout] | ^^^^^^^^^ -------- ------ the lifetimes get resolved as `'_` [INFO] [stdout] | | | [INFO] [stdout] | | the lifetimes get resolved as `'_` [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] 143 | fn allocate_slice_initialize(&mut self, n: usize, init: F) -> (&mut [T], Memory<'_>) [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/modular/convert.rs:115:30 [INFO] [stdout] | [INFO] [stdout] 115 | fn into_ring(self, ring: &ConstDivisor) -> Reduced { [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] 115 | fn into_ring(self, ring: &ConstDivisor) -> Reduced<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/modular/convert.rs:134:30 [INFO] [stdout] | [INFO] [stdout] 134 | fn into_ring(self, ring: &ConstDivisor) -> Reduced { [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] 134 | fn into_ring(self, ring: &ConstDivisor) -> Reduced<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/modular/convert.rs:197:10 [INFO] [stdout] | [INFO] [stdout] 197 | &'a self, [INFO] [stdout] | ^^ this lifetime flows to the output [INFO] [stdout] 198 | x: T, [INFO] [stdout] 199 | ) -> Reduced { [INFO] [stdout] | ------- the lifetime gets resolved as `'a` [INFO] [stdout] | [INFO] [stdout] help: one option is to consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 199 | ) -> Reduced<'a> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/modular/reducer.rs:53:32 [INFO] [stdout] | [INFO] [stdout] 53 | fn convert_from_normalized(&self, target: &UBig) -> Reduced { [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] 53 | fn convert_from_normalized(&self, target: &UBig) -> Reduced<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/repr.rs:561:19 [INFO] [stdout] | [INFO] [stdout] 561 | pub fn as_ref(&self) -> TypedReprRef { [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] 561 | pub fn as_ref(&self) -> TypedReprRef<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/repr.rs:589:19 [INFO] [stdout] | [INFO] [stdout] 589 | pub fn as_ref(&self) -> TypedReprRef { [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] 589 | pub fn as_ref(&self) -> TypedReprRef<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking ciborium v0.2.1 [INFO] [stderr] Checking serde_test v1.0.176 [INFO] [stderr] Checking postcard v1.0.8 [INFO] [stderr] Checking tinytemplate v1.2.1 [INFO] [stderr] Checking criterion v0.5.1 [INFO] [stdout] warning: use of a double negation [INFO] [stdout] --> tests/sign.rs:13:16 [INFO] [stdout] | [INFO] [stdout] 13 | assert_eq!(-ibig!(-123), ibig!(123)); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the prefix `--` could be misinterpreted as a decrement operator which exists in other languages [INFO] [stdout] = note: use `-= 1` if you meant to decrement the value [INFO] [stdout] = note: `#[warn(double_negations)]` on by default [INFO] [stdout] help: add parentheses for clarity [INFO] [stdout] --> tests/helper_macros.rs:33:9 [INFO] [stdout] | [INFO] [stdout] 33 | (- <::dashu_int::IBig as ::core::convert::From<::dashu_int::UBig>>::from($crate::ubig!($val))) [INFO] [stdout] | + + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `force_bits` [INFO] [stdout] --> src/arch/mod.rs:17:14 [INFO] [stdout] | [INFO] [stdout] 17 | if #[cfg(force_bits = "16")] { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `docsrs`, `feature`, and `test` and 31 more [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(force_bits, values("16"))'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(force_bits, values(\"16\"))");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `force_bits` [INFO] [stdout] --> src/arch/mod.rs:21:19 [INFO] [stdout] | [INFO] [stdout] 21 | else if #[cfg(force_bits = "32")] { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(force_bits, values("32"))'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(force_bits, values(\"32\"))");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `force_bits` [INFO] [stdout] --> src/arch/mod.rs:25:19 [INFO] [stdout] | [INFO] [stdout] 25 | else if #[cfg(force_bits = "64")] { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(force_bits, values("64"))'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(force_bits, values(\"64\"))");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constant `MAX` is never used [INFO] [stdout] --> src/primitive.rs:133:11 [INFO] [stdout] | [INFO] [stdout] 112 | pub trait PrimitiveUnsigned [INFO] [stdout] | ----------------- associated constant in this trait [INFO] [stdout] ... [INFO] [stdout] 133 | const MAX: Self; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` 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/fmt/mod.rs:206:21 [INFO] [stdout] | [INFO] [stdout] 206 | pub fn in_radix(&self, radix: u32) -> InRadix { [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] 206 | pub fn in_radix(&self, radix: u32) -> InRadix<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/fmt/mod.rs:234:21 [INFO] [stdout] | [INFO] [stdout] 234 | pub fn in_radix(&self, radix: u32) -> InRadix { [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] 234 | pub fn in_radix(&self, radix: u32) -> InRadix<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/fmt/digit_writer.rs:20:25 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn new(writer: &'a mut dyn fmt::Write, digit_case: DigitCase) -> DigitWriter { [INFO] [stdout] | ^^ this lifetime flows to the output ----------- the lifetime gets resolved as `'a` [INFO] [stdout] | [INFO] [stdout] help: one option is to consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 20 | pub fn new(writer: &'a mut dyn fmt::Write, digit_case: DigitCase) -> DigitWriter<'a> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/fmt/power_two.rs:122:19 [INFO] [stdout] | [INFO] [stdout] 122 | fn new(words: &[Word], radix: Digit) -> PreparedLarge { [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] 122 | fn new(words: &[Word], radix: Digit) -> PreparedLarge<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/memory.rs:55:19 [INFO] [stdout] | [INFO] [stdout] 55 | pub fn memory(&mut self) -> Memory { [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] 55 | pub fn memory(&mut self) -> Memory<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/memory.rs:81:41 [INFO] [stdout] | [INFO] [stdout] 81 | pub fn allocate_slice_fill(&mut self, n: usize, val: T) -> (&mut [T], Memory) { [INFO] [stdout] | ^^^^^^^^^ -------- ------ the lifetimes get resolved as `'_` [INFO] [stdout] | | | [INFO] [stdout] | | the lifetimes get resolved as `'_` [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] 81 | pub fn allocate_slice_fill(&mut self, n: usize, val: T) -> (&mut [T], Memory<'_>) { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/memory.rs:99:41 [INFO] [stdout] | [INFO] [stdout] 99 | pub fn allocate_slice_copy(&mut self, source: &[T]) -> (&mut [T], Memory) { [INFO] [stdout] | ^^^^^^^^^ -------- ------ the lifetimes get resolved as `'_` [INFO] [stdout] | | | [INFO] [stdout] | | the lifetimes get resolved as `'_` [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] 99 | pub fn allocate_slice_copy(&mut self, source: &[T]) -> (&mut [T], Memory<'_>) { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/memory.rs:118:9 [INFO] [stdout] | [INFO] [stdout] 118 | &mut self, [INFO] [stdout] | ^^^^^^^^^ this lifetime flows to the output [INFO] [stdout] ... [INFO] [stdout] 122 | ) -> (&mut [T], Memory) { [INFO] [stdout] | -------- ------ the lifetimes get resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | the lifetimes get 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] 122 | ) -> (&mut [T], Memory<'_>) { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/memory.rs:143:40 [INFO] [stdout] | [INFO] [stdout] 143 | fn allocate_slice_initialize(&mut self, n: usize, init: F) -> (&mut [T], Memory) [INFO] [stdout] | ^^^^^^^^^ -------- ------ the lifetimes get resolved as `'_` [INFO] [stdout] | | | [INFO] [stdout] | | the lifetimes get resolved as `'_` [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] 143 | fn allocate_slice_initialize(&mut self, n: usize, init: F) -> (&mut [T], Memory<'_>) [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/modular/convert.rs:115:30 [INFO] [stdout] | [INFO] [stdout] 115 | fn into_ring(self, ring: &ConstDivisor) -> Reduced { [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] 115 | fn into_ring(self, ring: &ConstDivisor) -> Reduced<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/modular/convert.rs:134:30 [INFO] [stdout] | [INFO] [stdout] 134 | fn into_ring(self, ring: &ConstDivisor) -> Reduced { [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] 134 | fn into_ring(self, ring: &ConstDivisor) -> Reduced<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/modular/convert.rs:197:10 [INFO] [stdout] | [INFO] [stdout] 197 | &'a self, [INFO] [stdout] | ^^ this lifetime flows to the output [INFO] [stdout] 198 | x: T, [INFO] [stdout] 199 | ) -> Reduced { [INFO] [stdout] | ------- the lifetime gets resolved as `'a` [INFO] [stdout] | [INFO] [stdout] help: one option is to consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 199 | ) -> Reduced<'a> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/modular/reducer.rs:53:32 [INFO] [stdout] | [INFO] [stdout] 53 | fn convert_from_normalized(&self, target: &UBig) -> Reduced { [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] 53 | fn convert_from_normalized(&self, target: &UBig) -> Reduced<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/repr.rs:561:19 [INFO] [stdout] | [INFO] [stdout] 561 | pub fn as_ref(&self) -> TypedReprRef { [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] 561 | pub fn as_ref(&self) -> TypedReprRef<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/repr.rs:589:19 [INFO] [stdout] | [INFO] [stdout] 589 | pub fn as_ref(&self) -> TypedReprRef { [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] 589 | pub fn as_ref(&self) -> TypedReprRef<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 41.84s [INFO] running `Command { std: "docker" "inspect" "74b032aba6e11880c31a1137f35d8a381d2851f8bb2d6b5cd84b4618822f6b6d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "74b032aba6e11880c31a1137f35d8a381d2851f8bb2d6b5cd84b4618822f6b6d", kill_on_drop: false }` [INFO] [stdout] 74b032aba6e11880c31a1137f35d8a381d2851f8bb2d6b5cd84b4618822f6b6d