[INFO] fetching crate newline_normalizer 0.1.6... [INFO] testing newline_normalizer-0.1.6 against master#350d0ef0ec0493e6d21cfb265cb8211a0e74d766 for pr-145330-1 [INFO] extracting crate newline_normalizer 0.1.6 into /workspace/builds/worker-3-tc1/source [INFO] started tweaking crates.io crate newline_normalizer 0.1.6 [INFO] finished tweaking crates.io crate newline_normalizer 0.1.6 [INFO] tweaked toml for crates.io crate newline_normalizer 0.1.6 written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate newline_normalizer 0.1.6 on toolchain 350d0ef0ec0493e6d21cfb265cb8211a0e74d766 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate newline_normalizer 0.1.6 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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded newline-converter v0.3.0 [INFO] [stderr] Downloaded yansi v0.4.0 [INFO] [stderr] Downloaded loe v0.3.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] be27a4a4eb3cd2c540c56288cdbc47180423588ed2c2d6fdbf9c7d145f6d42d0 [INFO] running `Command { std: "docker" "start" "-a" "be27a4a4eb3cd2c540c56288cdbc47180423588ed2c2d6fdbf9c7d145f6d42d0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "be27a4a4eb3cd2c540c56288cdbc47180423588ed2c2d6fdbf9c7d145f6d42d0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "be27a4a4eb3cd2c540c56288cdbc47180423588ed2c2d6fdbf9c7d145f6d42d0", kill_on_drop: false }` [INFO] [stdout] be27a4a4eb3cd2c540c56288cdbc47180423588ed2c2d6fdbf9c7d145f6d42d0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] db5269f2945cf5944e2ecbebbd198a7583f097c5f3b74ee47e57cd68d1761472 [INFO] running `Command { std: "docker" "start" "-a" "db5269f2945cf5944e2ecbebbd198a7583f097c5f3b74ee47e57cd68d1761472", kill_on_drop: false }` [INFO] [stderr] Compiling newline_normalizer v0.1.6 (/opt/rustwide/workdir) [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:23:25 [INFO] [stdout] | [INFO] [stdout] 23 | fn to_unix_newlines(&self) -> std::borrow::Cow; [INFO] [stdout] | ^^^^^ --------------------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 23 | fn to_unix_newlines(&self) -> std::borrow::Cow<'_, str>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:43:24 [INFO] [stdout] | [INFO] [stdout] 43 | fn to_dos_newlines(&self) -> std::borrow::Cow; [INFO] [stdout] | ^^^^^ --------------------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 43 | fn to_dos_newlines(&self) -> std::borrow::Cow<'_, str>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:47:25 [INFO] [stdout] | [INFO] [stdout] 47 | fn to_unix_newlines(&self) -> std::borrow::Cow { [INFO] [stdout] | ^^^^^ --------------------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 47 | fn to_unix_newlines(&self) -> std::borrow::Cow<'_, str> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:84:24 [INFO] [stdout] | [INFO] [stdout] 84 | fn to_dos_newlines(&self) -> std::borrow::Cow { [INFO] [stdout] | ^^^^^ --------------------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 84 | fn to_dos_newlines(&self) -> std::borrow::Cow<'_, str> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.35s [INFO] running `Command { std: "docker" "inspect" "db5269f2945cf5944e2ecbebbd198a7583f097c5f3b74ee47e57cd68d1761472", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "db5269f2945cf5944e2ecbebbd198a7583f097c5f3b74ee47e57cd68d1761472", kill_on_drop: false }` [INFO] [stdout] db5269f2945cf5944e2ecbebbd198a7583f097c5f3b74ee47e57cd68d1761472 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c3023e93d499d8bef762af089c6337bc2f6ebf3ae3cc718a60669a963bffdc79 [INFO] running `Command { std: "docker" "start" "-a" "c3023e93d499d8bef762af089c6337bc2f6ebf3ae3cc718a60669a963bffdc79", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.95 [INFO] [stderr] Compiling libc v0.2.172 [INFO] [stderr] Compiling half v2.6.0 [INFO] [stderr] Compiling clap_builder v4.5.37 [INFO] [stderr] Compiling criterion-plot v0.5.0 [INFO] [stderr] Compiling rayon v1.10.0 [INFO] [stderr] Compiling oorandom v11.1.5 [INFO] [stderr] Compiling yansi v0.4.0 [INFO] [stderr] Compiling newline-converter v0.3.0 [INFO] [stderr] Compiling ciborium-ll v0.2.2 [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:23:25 [INFO] [stdout] | [INFO] [stdout] 23 | fn to_unix_newlines(&self) -> std::borrow::Cow; [INFO] [stdout] | ^^^^^ --------------------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 23 | fn to_unix_newlines(&self) -> std::borrow::Cow<'_, str>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:43:24 [INFO] [stdout] | [INFO] [stdout] 43 | fn to_dos_newlines(&self) -> std::borrow::Cow; [INFO] [stdout] | ^^^^^ --------------------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 43 | fn to_dos_newlines(&self) -> std::borrow::Cow<'_, str>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:47:25 [INFO] [stdout] | [INFO] [stdout] 47 | fn to_unix_newlines(&self) -> std::borrow::Cow { [INFO] [stdout] | ^^^^^ --------------------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 47 | fn to_unix_newlines(&self) -> std::borrow::Cow<'_, str> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:84:24 [INFO] [stdout] | [INFO] [stdout] 84 | fn to_dos_newlines(&self) -> std::borrow::Cow { [INFO] [stdout] | ^^^^^ --------------------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 84 | fn to_dos_newlines(&self) -> std::borrow::Cow<'_, str> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling syn v2.0.100 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling is-terminal v0.4.16 [INFO] [stderr] Compiling clap v2.34.0 [INFO] [stderr] Compiling clap v4.5.37 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling loe v0.3.0 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling ciborium v0.2.2 [INFO] [stderr] Compiling tinytemplate v1.2.1 [INFO] [stderr] Compiling criterion v0.5.1 [INFO] [stderr] Compiling newline_normalizer v0.1.6 (/opt/rustwide/workdir) [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:23:25 [INFO] [stdout] | [INFO] [stdout] 23 | fn to_unix_newlines(&self) -> std::borrow::Cow; [INFO] [stdout] | ^^^^^ --------------------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 23 | fn to_unix_newlines(&self) -> std::borrow::Cow<'_, str>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:43:24 [INFO] [stdout] | [INFO] [stdout] 43 | fn to_dos_newlines(&self) -> std::borrow::Cow; [INFO] [stdout] | ^^^^^ --------------------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 43 | fn to_dos_newlines(&self) -> std::borrow::Cow<'_, str>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:47:25 [INFO] [stdout] | [INFO] [stdout] 47 | fn to_unix_newlines(&self) -> std::borrow::Cow { [INFO] [stdout] | ^^^^^ --------------------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 47 | fn to_unix_newlines(&self) -> std::borrow::Cow<'_, str> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:84:24 [INFO] [stdout] | [INFO] [stdout] 84 | fn to_dos_newlines(&self) -> std::borrow::Cow { [INFO] [stdout] | ^^^^^ --------------------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 84 | fn to_dos_newlines(&self) -> std::borrow::Cow<'_, str> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 34.43s [INFO] running `Command { std: "docker" "inspect" "c3023e93d499d8bef762af089c6337bc2f6ebf3ae3cc718a60669a963bffdc79", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c3023e93d499d8bef762af089c6337bc2f6ebf3ae3cc718a60669a963bffdc79", kill_on_drop: false }` [INFO] [stdout] c3023e93d499d8bef762af089c6337bc2f6ebf3ae3cc718a60669a963bffdc79 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] a697ef6fb6f6b3768745132589eedf1e4150989050133f8a96e67f6866911cc7 [INFO] running `Command { std: "docker" "start" "-a" "a697ef6fb6f6b3768745132589eedf1e4150989050133f8a96e67f6866911cc7", kill_on_drop: false }` [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/lib.rs:23:25 [INFO] [stderr] | [INFO] [stderr] 23 | fn to_unix_newlines(&self) -> std::borrow::Cow; [INFO] [stderr] | ^^^^^ --------------------- the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 23 | fn to_unix_newlines(&self) -> std::borrow::Cow<'_, str>; [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/lib.rs:43:24 [INFO] [stderr] | [INFO] [stderr] 43 | fn to_dos_newlines(&self) -> std::borrow::Cow; [INFO] [stderr] | ^^^^^ --------------------- the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 43 | fn to_dos_newlines(&self) -> std::borrow::Cow<'_, str>; [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/lib.rs:47:25 [INFO] [stderr] | [INFO] [stderr] 47 | fn to_unix_newlines(&self) -> std::borrow::Cow { [INFO] [stderr] | ^^^^^ --------------------- the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 47 | fn to_unix_newlines(&self) -> std::borrow::Cow<'_, str> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/lib.rs:84:24 [INFO] [stderr] | [INFO] [stderr] 84 | fn to_dos_newlines(&self) -> std::borrow::Cow { [INFO] [stderr] | ^^^^^ --------------------- the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 84 | fn to_dos_newlines(&self) -> std::borrow::Cow<'_, str> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: `newline_normalizer` (lib) generated 4 warnings (run `cargo fix --lib -p newline_normalizer` to apply 4 suggestions) [INFO] [stderr] warning: `newline_normalizer` (lib test) generated 4 warnings (4 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.11s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/newline_normalizer-9a5a6cacc02757b0) [INFO] [stdout] [INFO] [stdout] running 31 tests [INFO] [stdout] test tests::dos_newlines_tests::converts_lf_to_crlf ... ok [INFO] [stdout] test tests::dos_newlines_tests::avoid_allocating_for_normal_string ... ok [INFO] [stdout] test tests::dos_newlines_tests::handles_mixed_newlines ... ok [INFO] [stdout] test tests::dos_newlines_tests::empty_input_returns_borrowed ... ok [INFO] [stdout] test tests::dos_newlines_tests::preserves_rtl_text_newlines ... ok [INFO] [stdout] test tests::dos_newlines_tests::handles_lf_at_start ... ok [INFO] [stdout] test tests::dos_newlines_tests::embedded_fullwidth_characters ... ok [INFO] [stdout] test tests::dos_newlines_tests::preserves_emoji_sequences ... ok [INFO] [stdout] test tests::dos_newlines_tests::single_line_lf ... ok [INFO] [stdout] test tests::dos_newlines_tests::preserves_unicode_accents ... ok [INFO] [stdout] test tests::unix_newlines_tests::avoid_allocating_for_normal_string ... ok [INFO] [stdout] test tests::unix_newlines_tests::converts_cr_to_lf ... ok [INFO] [stdout] test tests::dos_newlines_tests::trailing_lone_cr_only ... ok [INFO] [stdout] test tests::dos_newlines_tests::preserves_crlf_only_input ... ok [INFO] [stdout] test tests::unix_newlines_tests::handles_double_cr ... ok [INFO] [stdout] test tests::unix_newlines_tests::empty_input_returns_borrowed ... ok [INFO] [stdout] test tests::unix_newlines_tests::handles_mixed_newlines ... ok [INFO] [stdout] test tests::unix_newlines_tests::preserves_combining_characters ... ok [INFO] [stdout] test tests::unix_newlines_tests::embedded_fullwidth_characters ... ok [INFO] [stdout] test tests::unix_newlines_tests::preserves_lf_only_input ... ok [INFO] [stdout] test tests::unix_newlines_tests::preserves_emoji_sequences ... ok [INFO] [stdout] test tests::unix_newlines_tests::preserves_rtl_text_newlines ... ok [INFO] [stdout] test tests::unix_newlines_tests::preserves_unicode_accents ... ok [INFO] [stdout] test tests::unix_newlines_tests::single_line_crlf ... ok [INFO] [stdout] test tests::unix_newlines_tests::trailing_carriage_return_only ... ok [INFO] [stdout] test tests::dos_newlines_tests::converts_cr_to_crlf ... ok [INFO] [stdout] test tests::dos_newlines_tests::preserves_combining_characters ... ok [INFO] [stdout] test tests::dos_newlines_tests::single_line_cr ... ok [INFO] [stdout] test tests::dos_newlines_tests::handles_lf_after_crlf ... ok [INFO] [stdout] test tests::unix_newlines_tests::converts_crlf_to_lf ... ok [INFO] [stdout] test tests::unix_newlines_tests::single_line_cr ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 31 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.11s [INFO] [stdout] [INFO] [stderr] Doc-tests newline_normalizer [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] test src/lib.rs - ToUnixNewlines (line 12) ... ok [INFO] [stdout] test src/lib.rs - ToDosNewlines (line 32) ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.52s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "a697ef6fb6f6b3768745132589eedf1e4150989050133f8a96e67f6866911cc7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a697ef6fb6f6b3768745132589eedf1e4150989050133f8a96e67f6866911cc7", kill_on_drop: false }` [INFO] [stdout] a697ef6fb6f6b3768745132589eedf1e4150989050133f8a96e67f6866911cc7