[INFO] cloning repository https://github.com/denwong47/stdout_toolbox [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/denwong47/stdout_toolbox" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdenwong47%2Fstdout_toolbox", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdenwong47%2Fstdout_toolbox'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 6f769158b42951bc6caef5331a6ee356195960ab [INFO] testing denwong47/stdout_toolbox against 1.98.0-beta.1 for beta-1.98-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdenwong47%2Fstdout_toolbox" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/denwong47/stdout_toolbox [INFO] finished tweaking git repo https://github.com/denwong47/stdout_toolbox [INFO] tweaked toml for git repo https://github.com/denwong47/stdout_toolbox written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/denwong47/stdout_toolbox on toolchain 1.98.0-beta.1 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.98.0-beta.1" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/denwong47/stdout_toolbox 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" "+1.98.0-beta.1" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3d5ced03c013a94a2f102a4510f48a6e9184255caf5fd8244f58017bde7f5210" "sleep" "infinity", kill_on_drop: false }` [INFO] [stdout] c068466fad6bade1aed31e22816c705e1d5ce1512e538361e72e2411598b93f2 [INFO] running `Command { std: "docker" "start" "c068466fad6bade1aed31e22816c705e1d5ce1512e538361e72e2411598b93f2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c068466fad6bade1aed31e22816c705e1d5ce1512e538361e72e2411598b93f2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "c068466fad6bade1aed31e22816c705e1d5ce1512e538361e72e2411598b93f2" "/opt/rustwide/cargo-home/bin/cargo" "+1.98.0-beta.1" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c068466fad6bade1aed31e22816c705e1d5ce1512e538361e72e2411598b93f2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "c068466fad6bade1aed31e22816c705e1d5ce1512e538361e72e2411598b93f2" "/opt/rustwide/cargo-home/bin/cargo" "+1.98.0-beta.1" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.50 [INFO] [stderr] Compiling quote v1.0.23 [INFO] [stderr] Compiling unicode-ident v1.0.6 [INFO] [stderr] Compiling syn v1.0.107 [INFO] [stderr] Compiling rustversion v1.0.11 [INFO] [stderr] Compiling heck v0.4.0 [INFO] [stderr] Compiling regex-syntax v0.6.28 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling aho-corasick v0.7.20 [INFO] [stderr] Compiling regex v1.7.1 [INFO] [stderr] Compiling strum_macros v0.24.3 [INFO] [stderr] Compiling duplicate v0.4.1 [INFO] [stderr] Compiling strum v0.24.1 [INFO] [stderr] Compiling stdout_toolbox v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `max` [INFO] [stdout] --> src/modifiers/traits/modifiers_search.rs:1:16 [INFO] [stdout] | [INFO] [stdout] 1 | use std::cmp::{max, min}; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::text` [INFO] [stdout] --> src/modifiers/traits/modifiers_search.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::text; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `text` is never read [INFO] [stdout] --> src/modifiers/traits/modifiers_search.rs:72:5 [INFO] [stdout] | [INFO] [stdout] 71 | pub struct RangeWithoutModifiers<'t> { [INFO] [stdout] | --------------------- field in this struct [INFO] [stdout] 72 | text: &'t str, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/modifiers/traits/modifiers_search.rs:19:23 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn next_match(&mut self) -> Option { [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] 19 | pub fn next_match(&mut self) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/modifiers/traits/modifiers_search.rs:32:27 [INFO] [stdout] | [INFO] [stdout] 32 | fn iter_modifier_strs(&self) -> ModifiersInText; [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^ the same lifetimes are 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] 32 | fn iter_modifier_strs(&self) -> ModifiersInText<'_, '_>; [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/modifiers/traits/modifiers_search.rs:36:27 [INFO] [stdout] | [INFO] [stdout] 36 | fn iter_modifier_strs(&self) -> ModifiersInText { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^ the same lifetimes are 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] 36 | fn iter_modifier_strs(&self) -> ModifiersInText<'_, '_> { [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/modifiers/traits/modifiers_search.rs:45:27 [INFO] [stdout] | [INFO] [stdout] 45 | fn iter_modifier_strs(&self) -> ModifiersInText { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^ the same lifetimes are 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] 45 | fn iter_modifier_strs(&self) -> ModifiersInText<'_, '_> { [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::drop` with a value that implements `Copy` does nothing [INFO] [stdout] --> src/text/split/traits.rs:114:13 [INFO] [stdout] | [INFO] [stdout] 114 | drop(result.pop()); // We don't need the new line char itself. [INFO] [stdout] | ^^^^^------------^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `Option` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dropping_copy_types)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 114 - drop(result.pop()); // We don't need the new line char itself. [INFO] [stdout] 114 + let _ = result.pop(); // We don't need the new line char itself. [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/text/split/traits.rs:196:19 [INFO] [stdout] | [INFO] [stdout] 196 | fn iter_words(&self) -> SplitWords; [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] 196 | fn iter_words(&self) -> SplitWords<'_>; [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/text/split/traits.rs:197:19 [INFO] [stdout] | [INFO] [stdout] 197 | fn iter_lines(&self, line_length: usize) -> SplitLines; [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] 197 | fn iter_lines(&self, line_length: usize) -> SplitLines<'_>; [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/text/split/traits.rs:200:19 [INFO] [stdout] | [INFO] [stdout] 200 | fn iter_words(&self) -> SplitWords { [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] 200 | fn iter_words(&self) -> SplitWords<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/text/split/traits.rs:204:19 [INFO] [stdout] | [INFO] [stdout] 204 | fn iter_lines(&self, line_length: usize) -> SplitLines { [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] 204 | fn iter_lines(&self, line_length: usize) -> SplitLines<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `func::*` [INFO] [stdout] --> src/modifiers/mod.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 5 | pub use func::*; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `max` [INFO] [stdout] --> src/modifiers/traits/modifiers_search.rs:1:16 [INFO] [stdout] | [INFO] [stdout] 1 | use std::cmp::{max, min}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::text` [INFO] [stdout] --> src/modifiers/traits/modifiers_search.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::text; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `traits::*` [INFO] [stdout] --> src/text/split/mod.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 5 | pub use traits::*; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `split::*` [INFO] [stdout] --> src/text/mod.rs:2:9 [INFO] [stdout] | [INFO] [stdout] 2 | pub use split::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `SearchValue` is never used [INFO] [stdout] --> src/modifiers/traits/enum_values.rs:33:11 [INFO] [stdout] | [INFO] [stdout] 33 | pub trait SearchValue: IntoEnumIterator + HasValue { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ModifierIter` is never constructed [INFO] [stdout] --> src/modifiers/traits/enum_values.rs:50:12 [INFO] [stdout] | [INFO] [stdout] 50 | pub struct ModifierIter<'t, T> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `SearchValueInStr` is never used [INFO] [stdout] --> src/modifiers/traits/enum_values.rs:107:11 [INFO] [stdout] | [INFO] [stdout] 107 | pub trait SearchValueInStr: SearchValue { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `JointModifier` is never used [INFO] [stdout] --> src/modifiers/traits/modifiers_join.rs:9:11 [INFO] [stdout] | [INFO] [stdout] 9 | pub trait JointModifier { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ModifiersInText` is never constructed [INFO] [stdout] --> src/modifiers/traits/modifiers_search.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct ModifiersInText<'r, 't>(Matches<'r, 't>); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `next_match` are never used [INFO] [stdout] --> src/modifiers/traits/modifiers_search.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 14 | impl<'r, 't> ModifiersInText<'r, 't> { [INFO] [stdout] | ------------------------------------ associated items in this implementation [INFO] [stdout] 15 | pub fn new(s: &'t str) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 19 | pub fn next_match(&mut self) -> Option { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `FindModifiers` is never used [INFO] [stdout] --> src/modifiers/traits/modifiers_search.rs:31:11 [INFO] [stdout] | [INFO] [stdout] 31 | pub trait FindModifiers { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `LengthWithoutModifiers` is never used [INFO] [stdout] --> src/modifiers/traits/modifiers_search.rs:54:11 [INFO] [stdout] | [INFO] [stdout] 54 | pub trait LengthWithoutModifiers: FindModifiers { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `RangeWithoutModifiers` is never constructed [INFO] [stdout] --> src/modifiers/traits/modifiers_search.rs:71:12 [INFO] [stdout] | [INFO] [stdout] 71 | pub struct RangeWithoutModifiers<'t> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `index_without_modifiers`, `index_with_modifiers`, `range_without_modifiers`, and `range_with_modifiers` are never used [INFO] [stdout] --> src/modifiers/traits/modifiers_search.rs:76:12 [INFO] [stdout] | [INFO] [stdout] 75 | impl<'t> RangeWithoutModifiers<'t> { [INFO] [stdout] | ---------------------------------- associated items in this implementation [INFO] [stdout] 76 | pub fn new(text: &'t str) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 95 | pub fn index_without_modifiers(&self, idx: usize) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 108 | pub fn index_with_modifiers(&self, idx: usize) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 121 | pub fn range_without_modifiers(&self, range: Range) -> Range { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 125 | pub fn range_with_modifiers(&self, range: Range) -> Range { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `SpecialUnicodeChar` is never used [INFO] [stdout] --> src/text/split/chars.rs:5:10 [INFO] [stdout] | [INFO] [stdout] 5 | pub enum SpecialUnicodeChar { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/text/split/chars.rs:37:12 [INFO] [stdout] | [INFO] [stdout] 36 | impl SpecialUnicodeChar { [INFO] [stdout] | ----------------------- associated items in this implementation [INFO] [stdout] 37 | pub fn char(&self) -> Option { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 71 | pub fn find_char(c: char) -> Option { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 75 | pub fn all_non_breaking_chars() -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 88 | pub fn is_breaking(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 97 | pub fn is_new_line(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 104 | pub fn is_needed_end_of_line(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 111 | pub fn append_to(&self, s: &mut String) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SplitWords` is never constructed [INFO] [stdout] --> src/text/split/traits.rs:35:12 [INFO] [stdout] | [INFO] [stdout] 35 | pub struct SplitWords<'t> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SplitLines` is never constructed [INFO] [stdout] --> src/text/split/traits.rs:70:12 [INFO] [stdout] | [INFO] [stdout] 70 | pub struct SplitLines<'t> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `DissembleString` is never used [INFO] [stdout] --> src/text/split/traits.rs:195:11 [INFO] [stdout] | [INFO] [stdout] 195 | pub trait DissembleString { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/modifiers/traits/modifiers_search.rs:19:23 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn next_match(&mut self) -> Option { [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] 19 | pub fn next_match(&mut self) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/modifiers/traits/modifiers_search.rs:32:27 [INFO] [stdout] | [INFO] [stdout] 32 | fn iter_modifier_strs(&self) -> ModifiersInText; [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^ the same lifetimes are 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] 32 | fn iter_modifier_strs(&self) -> ModifiersInText<'_, '_>; [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/modifiers/traits/modifiers_search.rs:36:27 [INFO] [stdout] | [INFO] [stdout] 36 | fn iter_modifier_strs(&self) -> ModifiersInText { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^ the same lifetimes are 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] 36 | fn iter_modifier_strs(&self) -> ModifiersInText<'_, '_> { [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/modifiers/traits/modifiers_search.rs:45:27 [INFO] [stdout] | [INFO] [stdout] 45 | fn iter_modifier_strs(&self) -> ModifiersInText { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^ the same lifetimes are 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] 45 | fn iter_modifier_strs(&self) -> ModifiersInText<'_, '_> { [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::drop` with a value that implements `Copy` does nothing [INFO] [stdout] --> src/text/split/traits.rs:114:13 [INFO] [stdout] | [INFO] [stdout] 114 | drop(result.pop()); // We don't need the new line char itself. [INFO] [stdout] | ^^^^^------------^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `Option` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dropping_copy_types)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 114 - drop(result.pop()); // We don't need the new line char itself. [INFO] [stdout] 114 + let _ = result.pop(); // We don't need the new line char itself. [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/text/split/traits.rs:196:19 [INFO] [stdout] | [INFO] [stdout] 196 | fn iter_words(&self) -> SplitWords; [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] 196 | fn iter_words(&self) -> SplitWords<'_>; [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/text/split/traits.rs:197:19 [INFO] [stdout] | [INFO] [stdout] 197 | fn iter_lines(&self, line_length: usize) -> SplitLines; [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] 197 | fn iter_lines(&self, line_length: usize) -> SplitLines<'_>; [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/text/split/traits.rs:200:19 [INFO] [stdout] | [INFO] [stdout] 200 | fn iter_words(&self) -> SplitWords { [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] 200 | fn iter_words(&self) -> SplitWords<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/text/split/traits.rs:204:19 [INFO] [stdout] | [INFO] [stdout] 204 | fn iter_lines(&self, line_length: usize) -> SplitLines { [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] 204 | fn iter_lines(&self, line_length: usize) -> SplitLines<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 10.97s [INFO] running `Command { std: "docker" "inspect" "c068466fad6bade1aed31e22816c705e1d5ce1512e538361e72e2411598b93f2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "c068466fad6bade1aed31e22816c705e1d5ce1512e538361e72e2411598b93f2" "/opt/rustwide/cargo-home/bin/cargo" "+1.98.0-beta.1" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] warning: unused import: `max` [INFO] [stdout] --> src/modifiers/traits/modifiers_search.rs:1:16 [INFO] [stdout] | [INFO] [stdout] 1 | use std::cmp::{max, min}; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::text` [INFO] [stdout] --> src/modifiers/traits/modifiers_search.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::text; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `text` is never read [INFO] [stdout] --> src/modifiers/traits/modifiers_search.rs:72:5 [INFO] [stdout] | [INFO] [stdout] 71 | pub struct RangeWithoutModifiers<'t> { [INFO] [stdout] | --------------------- field in this struct [INFO] [stdout] 72 | text: &'t str, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/modifiers/traits/modifiers_search.rs:19:23 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn next_match(&mut self) -> Option { [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] 19 | pub fn next_match(&mut self) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/modifiers/traits/modifiers_search.rs:32:27 [INFO] [stdout] | [INFO] [stdout] 32 | fn iter_modifier_strs(&self) -> ModifiersInText; [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^ the same lifetimes are 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] 32 | fn iter_modifier_strs(&self) -> ModifiersInText<'_, '_>; [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/modifiers/traits/modifiers_search.rs:36:27 [INFO] [stdout] | [INFO] [stdout] 36 | fn iter_modifier_strs(&self) -> ModifiersInText { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^ the same lifetimes are 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] 36 | fn iter_modifier_strs(&self) -> ModifiersInText<'_, '_> { [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/modifiers/traits/modifiers_search.rs:45:27 [INFO] [stdout] | [INFO] [stdout] 45 | fn iter_modifier_strs(&self) -> ModifiersInText { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^ the same lifetimes are 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] 45 | fn iter_modifier_strs(&self) -> ModifiersInText<'_, '_> { [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::drop` with a value that implements `Copy` does nothing [INFO] [stdout] --> src/text/split/traits.rs:114:13 [INFO] [stdout] | [INFO] [stdout] 114 | drop(result.pop()); // We don't need the new line char itself. [INFO] [stdout] | ^^^^^------------^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `Option` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dropping_copy_types)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 114 - drop(result.pop()); // We don't need the new line char itself. [INFO] [stdout] 114 + let _ = result.pop(); // We don't need the new line char itself. [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/text/split/traits.rs:196:19 [INFO] [stdout] | [INFO] [stdout] 196 | fn iter_words(&self) -> SplitWords; [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] 196 | fn iter_words(&self) -> SplitWords<'_>; [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/text/split/traits.rs:197:19 [INFO] [stdout] | [INFO] [stdout] 197 | fn iter_lines(&self, line_length: usize) -> SplitLines; [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] 197 | fn iter_lines(&self, line_length: usize) -> SplitLines<'_>; [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/text/split/traits.rs:200:19 [INFO] [stdout] | [INFO] [stdout] 200 | fn iter_words(&self) -> SplitWords { [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] 200 | fn iter_words(&self) -> SplitWords<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/text/split/traits.rs:204:19 [INFO] [stdout] | [INFO] [stdout] 204 | fn iter_lines(&self, line_length: usize) -> SplitLines { [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] 204 | fn iter_lines(&self, line_length: usize) -> SplitLines<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling stdout_toolbox v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `func::*` [INFO] [stdout] --> src/modifiers/mod.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 5 | pub use func::*; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `max` [INFO] [stdout] --> src/modifiers/traits/modifiers_search.rs:1:16 [INFO] [stdout] | [INFO] [stdout] 1 | use std::cmp::{max, min}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::text` [INFO] [stdout] --> src/modifiers/traits/modifiers_search.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::text; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `traits::*` [INFO] [stdout] --> src/text/split/mod.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 5 | pub use traits::*; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `split::*` [INFO] [stdout] --> src/text/mod.rs:2:9 [INFO] [stdout] | [INFO] [stdout] 2 | pub use split::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `SearchValue` is never used [INFO] [stdout] --> src/modifiers/traits/enum_values.rs:33:11 [INFO] [stdout] | [INFO] [stdout] 33 | pub trait SearchValue: IntoEnumIterator + HasValue { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ModifierIter` is never constructed [INFO] [stdout] --> src/modifiers/traits/enum_values.rs:50:12 [INFO] [stdout] | [INFO] [stdout] 50 | pub struct ModifierIter<'t, T> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `SearchValueInStr` is never used [INFO] [stdout] --> src/modifiers/traits/enum_values.rs:107:11 [INFO] [stdout] | [INFO] [stdout] 107 | pub trait SearchValueInStr: SearchValue { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `JointModifier` is never used [INFO] [stdout] --> src/modifiers/traits/modifiers_join.rs:9:11 [INFO] [stdout] | [INFO] [stdout] 9 | pub trait JointModifier { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ModifiersInText` is never constructed [INFO] [stdout] --> src/modifiers/traits/modifiers_search.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct ModifiersInText<'r, 't>(Matches<'r, 't>); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `next_match` are never used [INFO] [stdout] --> src/modifiers/traits/modifiers_search.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 14 | impl<'r, 't> ModifiersInText<'r, 't> { [INFO] [stdout] | ------------------------------------ associated items in this implementation [INFO] [stdout] 15 | pub fn new(s: &'t str) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 19 | pub fn next_match(&mut self) -> Option { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `FindModifiers` is never used [INFO] [stdout] --> src/modifiers/traits/modifiers_search.rs:31:11 [INFO] [stdout] | [INFO] [stdout] 31 | pub trait FindModifiers { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `LengthWithoutModifiers` is never used [INFO] [stdout] --> src/modifiers/traits/modifiers_search.rs:54:11 [INFO] [stdout] | [INFO] [stdout] 54 | pub trait LengthWithoutModifiers: FindModifiers { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `RangeWithoutModifiers` is never constructed [INFO] [stdout] --> src/modifiers/traits/modifiers_search.rs:71:12 [INFO] [stdout] | [INFO] [stdout] 71 | pub struct RangeWithoutModifiers<'t> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `index_without_modifiers`, `index_with_modifiers`, `range_without_modifiers`, and `range_with_modifiers` are never used [INFO] [stdout] --> src/modifiers/traits/modifiers_search.rs:76:12 [INFO] [stdout] | [INFO] [stdout] 75 | impl<'t> RangeWithoutModifiers<'t> { [INFO] [stdout] | ---------------------------------- associated items in this implementation [INFO] [stdout] 76 | pub fn new(text: &'t str) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 95 | pub fn index_without_modifiers(&self, idx: usize) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 108 | pub fn index_with_modifiers(&self, idx: usize) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 121 | pub fn range_without_modifiers(&self, range: Range) -> Range { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 125 | pub fn range_with_modifiers(&self, range: Range) -> Range { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `SpecialUnicodeChar` is never used [INFO] [stdout] --> src/text/split/chars.rs:5:10 [INFO] [stdout] | [INFO] [stdout] 5 | pub enum SpecialUnicodeChar { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/text/split/chars.rs:37:12 [INFO] [stdout] | [INFO] [stdout] 36 | impl SpecialUnicodeChar { [INFO] [stdout] | ----------------------- associated items in this implementation [INFO] [stdout] 37 | pub fn char(&self) -> Option { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 71 | pub fn find_char(c: char) -> Option { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 75 | pub fn all_non_breaking_chars() -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 88 | pub fn is_breaking(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 97 | pub fn is_new_line(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 104 | pub fn is_needed_end_of_line(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 111 | pub fn append_to(&self, s: &mut String) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SplitWords` is never constructed [INFO] [stdout] --> src/text/split/traits.rs:35:12 [INFO] [stdout] | [INFO] [stdout] 35 | pub struct SplitWords<'t> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SplitLines` is never constructed [INFO] [stdout] --> src/text/split/traits.rs:70:12 [INFO] [stdout] | [INFO] [stdout] 70 | pub struct SplitLines<'t> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `DissembleString` is never used [INFO] [stdout] --> src/text/split/traits.rs:195:11 [INFO] [stdout] | [INFO] [stdout] 195 | pub trait DissembleString { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/modifiers/traits/modifiers_search.rs:19:23 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn next_match(&mut self) -> Option { [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] 19 | pub fn next_match(&mut self) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/modifiers/traits/modifiers_search.rs:32:27 [INFO] [stdout] | [INFO] [stdout] 32 | fn iter_modifier_strs(&self) -> ModifiersInText; [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^ the same lifetimes are 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] 32 | fn iter_modifier_strs(&self) -> ModifiersInText<'_, '_>; [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/modifiers/traits/modifiers_search.rs:36:27 [INFO] [stdout] | [INFO] [stdout] 36 | fn iter_modifier_strs(&self) -> ModifiersInText { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^ the same lifetimes are 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] 36 | fn iter_modifier_strs(&self) -> ModifiersInText<'_, '_> { [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/modifiers/traits/modifiers_search.rs:45:27 [INFO] [stdout] | [INFO] [stdout] 45 | fn iter_modifier_strs(&self) -> ModifiersInText { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^ the same lifetimes are 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] 45 | fn iter_modifier_strs(&self) -> ModifiersInText<'_, '_> { [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::drop` with a value that implements `Copy` does nothing [INFO] [stdout] --> src/text/split/traits.rs:114:13 [INFO] [stdout] | [INFO] [stdout] 114 | drop(result.pop()); // We don't need the new line char itself. [INFO] [stdout] | ^^^^^------------^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `Option` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dropping_copy_types)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 114 - drop(result.pop()); // We don't need the new line char itself. [INFO] [stdout] 114 + let _ = result.pop(); // We don't need the new line char itself. [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/text/split/traits.rs:196:19 [INFO] [stdout] | [INFO] [stdout] 196 | fn iter_words(&self) -> SplitWords; [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] 196 | fn iter_words(&self) -> SplitWords<'_>; [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/text/split/traits.rs:197:19 [INFO] [stdout] | [INFO] [stdout] 197 | fn iter_lines(&self, line_length: usize) -> SplitLines; [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] 197 | fn iter_lines(&self, line_length: usize) -> SplitLines<'_>; [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/text/split/traits.rs:200:19 [INFO] [stdout] | [INFO] [stdout] 200 | fn iter_words(&self) -> SplitWords { [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] 200 | fn iter_words(&self) -> SplitWords<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/text/split/traits.rs:204:19 [INFO] [stdout] | [INFO] [stdout] 204 | fn iter_lines(&self, line_length: usize) -> SplitLines { [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] 204 | fn iter_lines(&self, line_length: usize) -> SplitLines<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `func::*` [INFO] [stdout] --> src/modifiers/mod.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 5 | pub use func::*; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `max` [INFO] [stdout] --> src/modifiers/traits/modifiers_search.rs:1:16 [INFO] [stdout] | [INFO] [stdout] 1 | use std::cmp::{max, min}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::text` [INFO] [stdout] --> src/modifiers/traits/modifiers_search.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::text; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `traits::*` [INFO] [stdout] --> src/text/split/mod.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 5 | pub use traits::*; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `split::*` [INFO] [stdout] --> src/text/mod.rs:2:9 [INFO] [stdout] | [INFO] [stdout] 2 | pub use split::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `max` [INFO] [stdout] --> src/modifiers/traits/modifiers_search.rs:1:16 [INFO] [stdout] | [INFO] [stdout] 1 | use std::cmp::{max, min}; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::text` [INFO] [stdout] --> src/modifiers/traits/modifiers_search.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::text; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `SearchValue` is never used [INFO] [stdout] --> src/modifiers/traits/enum_values.rs:33:11 [INFO] [stdout] | [INFO] [stdout] 33 | pub trait SearchValue: IntoEnumIterator + HasValue { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ModifierIter` is never constructed [INFO] [stdout] --> src/modifiers/traits/enum_values.rs:50:12 [INFO] [stdout] | [INFO] [stdout] 50 | pub struct ModifierIter<'t, T> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `SearchValueInStr` is never used [INFO] [stdout] --> src/modifiers/traits/enum_values.rs:107:11 [INFO] [stdout] | [INFO] [stdout] 107 | pub trait SearchValueInStr: SearchValue { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `JointModifier` is never used [INFO] [stdout] --> src/modifiers/traits/modifiers_join.rs:9:11 [INFO] [stdout] | [INFO] [stdout] 9 | pub trait JointModifier { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ModifiersInText` is never constructed [INFO] [stdout] --> src/modifiers/traits/modifiers_search.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct ModifiersInText<'r, 't>(Matches<'r, 't>); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `next_match` are never used [INFO] [stdout] --> src/modifiers/traits/modifiers_search.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 14 | impl<'r, 't> ModifiersInText<'r, 't> { [INFO] [stdout] | ------------------------------------ associated items in this implementation [INFO] [stdout] 15 | pub fn new(s: &'t str) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 19 | pub fn next_match(&mut self) -> Option { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `FindModifiers` is never used [INFO] [stdout] --> src/modifiers/traits/modifiers_search.rs:31:11 [INFO] [stdout] | [INFO] [stdout] 31 | pub trait FindModifiers { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `LengthWithoutModifiers` is never used [INFO] [stdout] --> src/modifiers/traits/modifiers_search.rs:54:11 [INFO] [stdout] | [INFO] [stdout] 54 | pub trait LengthWithoutModifiers: FindModifiers { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `RangeWithoutModifiers` is never constructed [INFO] [stdout] --> src/modifiers/traits/modifiers_search.rs:71:12 [INFO] [stdout] | [INFO] [stdout] 71 | pub struct RangeWithoutModifiers<'t> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `index_without_modifiers`, `index_with_modifiers`, `range_without_modifiers`, and `range_with_modifiers` are never used [INFO] [stdout] --> src/modifiers/traits/modifiers_search.rs:76:12 [INFO] [stdout] | [INFO] [stdout] 75 | impl<'t> RangeWithoutModifiers<'t> { [INFO] [stdout] | ---------------------------------- associated items in this implementation [INFO] [stdout] 76 | pub fn new(text: &'t str) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 95 | pub fn index_without_modifiers(&self, idx: usize) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 108 | pub fn index_with_modifiers(&self, idx: usize) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 121 | pub fn range_without_modifiers(&self, range: Range) -> Range { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 125 | pub fn range_with_modifiers(&self, range: Range) -> Range { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `SpecialUnicodeChar` is never used [INFO] [stdout] --> src/text/split/chars.rs:5:10 [INFO] [stdout] | [INFO] [stdout] 5 | pub enum SpecialUnicodeChar { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/text/split/chars.rs:37:12 [INFO] [stdout] | [INFO] [stdout] 36 | impl SpecialUnicodeChar { [INFO] [stdout] | ----------------------- associated items in this implementation [INFO] [stdout] 37 | pub fn char(&self) -> Option { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 71 | pub fn find_char(c: char) -> Option { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 75 | pub fn all_non_breaking_chars() -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 88 | pub fn is_breaking(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 97 | pub fn is_new_line(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 104 | pub fn is_needed_end_of_line(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 111 | pub fn append_to(&self, s: &mut String) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SplitWords` is never constructed [INFO] [stdout] --> src/text/split/traits.rs:35:12 [INFO] [stdout] | [INFO] [stdout] 35 | pub struct SplitWords<'t> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SplitLines` is never constructed [INFO] [stdout] --> src/text/split/traits.rs:70:12 [INFO] [stdout] | [INFO] [stdout] 70 | pub struct SplitLines<'t> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `DissembleString` is never used [INFO] [stdout] --> src/text/split/traits.rs:195:11 [INFO] [stdout] | [INFO] [stdout] 195 | pub trait DissembleString { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/modifiers/traits/modifiers_search.rs:19:23 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn next_match(&mut self) -> Option { [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] 19 | pub fn next_match(&mut self) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/modifiers/traits/modifiers_search.rs:32:27 [INFO] [stdout] | [INFO] [stdout] 32 | fn iter_modifier_strs(&self) -> ModifiersInText; [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^ the same lifetimes are 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] 32 | fn iter_modifier_strs(&self) -> ModifiersInText<'_, '_>; [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/modifiers/traits/modifiers_search.rs:36:27 [INFO] [stdout] | [INFO] [stdout] 36 | fn iter_modifier_strs(&self) -> ModifiersInText { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^ the same lifetimes are 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] 36 | fn iter_modifier_strs(&self) -> ModifiersInText<'_, '_> { [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/modifiers/traits/modifiers_search.rs:45:27 [INFO] [stdout] | [INFO] [stdout] 45 | fn iter_modifier_strs(&self) -> ModifiersInText { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^ the same lifetimes are 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] 45 | fn iter_modifier_strs(&self) -> ModifiersInText<'_, '_> { [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::drop` with a value that implements `Copy` does nothing [INFO] [stdout] --> src/text/split/traits.rs:114:13 [INFO] [stdout] | [INFO] [stdout] 114 | drop(result.pop()); // We don't need the new line char itself. [INFO] [stdout] | ^^^^^------------^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `Option` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dropping_copy_types)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 114 - drop(result.pop()); // We don't need the new line char itself. [INFO] [stdout] 114 + let _ = result.pop(); // We don't need the new line char itself. [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/text/split/traits.rs:196:19 [INFO] [stdout] | [INFO] [stdout] 196 | fn iter_words(&self) -> SplitWords; [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] 196 | fn iter_words(&self) -> SplitWords<'_>; [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/text/split/traits.rs:197:19 [INFO] [stdout] | [INFO] [stdout] 197 | fn iter_lines(&self, line_length: usize) -> SplitLines; [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] 197 | fn iter_lines(&self, line_length: usize) -> SplitLines<'_>; [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/text/split/traits.rs:200:19 [INFO] [stdout] | [INFO] [stdout] 200 | fn iter_words(&self) -> SplitWords { [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] 200 | fn iter_words(&self) -> SplitWords<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/text/split/traits.rs:204:19 [INFO] [stdout] | [INFO] [stdout] 204 | fn iter_lines(&self, line_length: usize) -> SplitLines { [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] 204 | fn iter_lines(&self, line_length: usize) -> SplitLines<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `text` is never read [INFO] [stdout] --> src/modifiers/traits/modifiers_search.rs:72:5 [INFO] [stdout] | [INFO] [stdout] 71 | pub struct RangeWithoutModifiers<'t> { [INFO] [stdout] | --------------------- field in this struct [INFO] [stdout] 72 | text: &'t str, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/modifiers/traits/modifiers_search.rs:19:23 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn next_match(&mut self) -> Option { [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] 19 | pub fn next_match(&mut self) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/modifiers/traits/modifiers_search.rs:32:27 [INFO] [stdout] | [INFO] [stdout] 32 | fn iter_modifier_strs(&self) -> ModifiersInText; [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^ the same lifetimes are 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] 32 | fn iter_modifier_strs(&self) -> ModifiersInText<'_, '_>; [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/modifiers/traits/modifiers_search.rs:36:27 [INFO] [stdout] | [INFO] [stdout] 36 | fn iter_modifier_strs(&self) -> ModifiersInText { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^ the same lifetimes are 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] 36 | fn iter_modifier_strs(&self) -> ModifiersInText<'_, '_> { [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/modifiers/traits/modifiers_search.rs:45:27 [INFO] [stdout] | [INFO] [stdout] 45 | fn iter_modifier_strs(&self) -> ModifiersInText { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^ the same lifetimes are 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] 45 | fn iter_modifier_strs(&self) -> ModifiersInText<'_, '_> { [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::drop` with a value that implements `Copy` does nothing [INFO] [stdout] --> src/text/split/traits.rs:114:13 [INFO] [stdout] | [INFO] [stdout] 114 | drop(result.pop()); // We don't need the new line char itself. [INFO] [stdout] | ^^^^^------------^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `Option` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dropping_copy_types)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 114 - drop(result.pop()); // We don't need the new line char itself. [INFO] [stdout] 114 + let _ = result.pop(); // We don't need the new line char itself. [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/text/split/traits.rs:196:19 [INFO] [stdout] | [INFO] [stdout] 196 | fn iter_words(&self) -> SplitWords; [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] 196 | fn iter_words(&self) -> SplitWords<'_>; [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/text/split/traits.rs:197:19 [INFO] [stdout] | [INFO] [stdout] 197 | fn iter_lines(&self, line_length: usize) -> SplitLines; [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] 197 | fn iter_lines(&self, line_length: usize) -> SplitLines<'_>; [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/text/split/traits.rs:200:19 [INFO] [stdout] | [INFO] [stdout] 200 | fn iter_words(&self) -> SplitWords { [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] 200 | fn iter_words(&self) -> SplitWords<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/text/split/traits.rs:204:19 [INFO] [stdout] | [INFO] [stdout] 204 | fn iter_lines(&self, line_length: usize) -> SplitLines { [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] 204 | fn iter_lines(&self, line_length: usize) -> SplitLines<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.99s [INFO] running `Command { std: "docker" "inspect" "c068466fad6bade1aed31e22816c705e1d5ce1512e538361e72e2411598b93f2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "c068466fad6bade1aed31e22816c705e1d5ce1512e538361e72e2411598b93f2" "/opt/rustwide/cargo-home/bin/cargo" "+1.98.0-beta.1" "test" "--frozen", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `max` [INFO] [stderr] --> src/modifiers/traits/modifiers_search.rs:1:16 [INFO] [stderr] | [INFO] [stderr] 1 | use std::cmp::{max, min}; [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `crate::text` [INFO] [stderr] --> src/modifiers/traits/modifiers_search.rs:7:5 [INFO] [stderr] | [INFO] [stderr] 7 | use crate::text; [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field `text` is never read [INFO] [stderr] --> src/modifiers/traits/modifiers_search.rs:72:5 [INFO] [stderr] | [INFO] [stderr] 71 | pub struct RangeWithoutModifiers<'t> { [INFO] [stderr] | --------------------- field in this struct [INFO] [stderr] 72 | text: &'t str, [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/modifiers/traits/modifiers_search.rs:19:23 [INFO] [stderr] | [INFO] [stderr] 19 | pub fn next_match(&mut self) -> Option { [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] 19 | pub fn next_match(&mut self) -> Option> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/modifiers/traits/modifiers_search.rs:32:27 [INFO] [stderr] | [INFO] [stderr] 32 | fn iter_modifier_strs(&self) -> ModifiersInText; [INFO] [stderr] | ^^^^^ ^^^^^^^^^^^^^^^ the same lifetimes are 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] 32 | fn iter_modifier_strs(&self) -> ModifiersInText<'_, '_>; [INFO] [stderr] | ++++++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/modifiers/traits/modifiers_search.rs:36:27 [INFO] [stderr] | [INFO] [stderr] 36 | fn iter_modifier_strs(&self) -> ModifiersInText { [INFO] [stderr] | ^^^^^ ^^^^^^^^^^^^^^^ the same lifetimes are 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] 36 | fn iter_modifier_strs(&self) -> ModifiersInText<'_, '_> { [INFO] [stderr] | ++++++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/modifiers/traits/modifiers_search.rs:45:27 [INFO] [stderr] | [INFO] [stderr] 45 | fn iter_modifier_strs(&self) -> ModifiersInText { [INFO] [stderr] | ^^^^^ ^^^^^^^^^^^^^^^ the same lifetimes are 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] 45 | fn iter_modifier_strs(&self) -> ModifiersInText<'_, '_> { [INFO] [stderr] | ++++++++ [INFO] [stderr] [INFO] [stderr] warning: calls to `std::mem::drop` with a value that implements `Copy` does nothing [INFO] [stderr] --> src/text/split/traits.rs:114:13 [INFO] [stderr] | [INFO] [stderr] 114 | drop(result.pop()); // We don't need the new line char itself. [INFO] [stderr] | ^^^^^------------^ [INFO] [stderr] | | [INFO] [stderr] | argument has type `Option` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dropping_copy_types)]` on by default [INFO] [stderr] help: use `let _ = ...` to ignore the expression or result [INFO] [stderr] | [INFO] [stderr] 114 - drop(result.pop()); // We don't need the new line char itself. [INFO] [stderr] 114 + let _ = result.pop(); // We don't need the new line char itself. [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/text/split/traits.rs:196:19 [INFO] [stderr] | [INFO] [stderr] 196 | fn iter_words(&self) -> SplitWords; [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] 196 | fn iter_words(&self) -> SplitWords<'_>; [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/text/split/traits.rs:197:19 [INFO] [stderr] | [INFO] [stderr] 197 | fn iter_lines(&self, line_length: usize) -> SplitLines; [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] 197 | fn iter_lines(&self, line_length: usize) -> SplitLines<'_>; [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/text/split/traits.rs:200:19 [INFO] [stderr] | [INFO] [stderr] 200 | fn iter_words(&self) -> SplitWords { [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] 200 | fn iter_words(&self) -> SplitWords<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/text/split/traits.rs:204:19 [INFO] [stderr] | [INFO] [stderr] 204 | fn iter_lines(&self, line_length: usize) -> SplitLines { [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] 204 | fn iter_lines(&self, line_length: usize) -> SplitLines<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: `stdout_toolbox` (lib) generated 12 warnings (run `cargo fix --lib -p stdout_toolbox` to apply 10 suggestions) [INFO] [stderr] warning: `stdout_toolbox` (lib test) generated 12 warnings (12 duplicates) [INFO] [stderr] warning: unused import: `func::*` [INFO] [stderr] --> src/modifiers/mod.rs:5:9 [INFO] [stderr] | [INFO] [stderr] 5 | pub use func::*; [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `max` [INFO] [stderr] --> src/modifiers/traits/modifiers_search.rs:1:16 [INFO] [stderr] | [INFO] [stderr] 1 | use std::cmp::{max, min}; [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `traits::*` [INFO] [stderr] --> src/text/split/mod.rs:5:9 [INFO] [stderr] | [INFO] [stderr] 5 | pub use traits::*; [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `split::*` [INFO] [stderr] --> src/text/mod.rs:2:9 [INFO] [stderr] | [INFO] [stderr] 2 | pub use split::*; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: trait `SearchValue` is never used [INFO] [stderr] --> src/modifiers/traits/enum_values.rs:33:11 [INFO] [stderr] | [INFO] [stderr] 33 | pub trait SearchValue: IntoEnumIterator + HasValue { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: struct `ModifierIter` is never constructed [INFO] [stderr] --> src/modifiers/traits/enum_values.rs:50:12 [INFO] [stderr] | [INFO] [stderr] 50 | pub struct ModifierIter<'t, T> { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: trait `SearchValueInStr` is never used [INFO] [stderr] --> src/modifiers/traits/enum_values.rs:107:11 [INFO] [stderr] | [INFO] [stderr] 107 | pub trait SearchValueInStr: SearchValue { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: trait `JointModifier` is never used [INFO] [stderr] --> src/modifiers/traits/modifiers_join.rs:9:11 [INFO] [stderr] | [INFO] [stderr] 9 | pub trait JointModifier { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `ModifiersInText` is never constructed [INFO] [stderr] --> src/modifiers/traits/modifiers_search.rs:13:12 [INFO] [stderr] | [INFO] [stderr] 13 | pub struct ModifiersInText<'r, 't>(Matches<'r, 't>); [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated items `new` and `next_match` are never used [INFO] [stderr] --> src/modifiers/traits/modifiers_search.rs:15:12 [INFO] [stderr] | [INFO] [stderr] 14 | impl<'r, 't> ModifiersInText<'r, 't> { [INFO] [stderr] | ------------------------------------ associated items in this implementation [INFO] [stderr] 15 | pub fn new(s: &'t str) -> Self { [INFO] [stderr] | ^^^ [INFO] [stderr] ... [INFO] [stderr] 19 | pub fn next_match(&mut self) -> Option { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: trait `FindModifiers` is never used [INFO] [stderr] --> src/modifiers/traits/modifiers_search.rs:31:11 [INFO] [stderr] | [INFO] [stderr] 31 | pub trait FindModifiers { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: trait `LengthWithoutModifiers` is never used [INFO] [stderr] --> src/modifiers/traits/modifiers_search.rs:54:11 [INFO] [stderr] | [INFO] [stderr] 54 | pub trait LengthWithoutModifiers: FindModifiers { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `RangeWithoutModifiers` is never constructed [INFO] [stderr] --> src/modifiers/traits/modifiers_search.rs:71:12 [INFO] [stderr] | [INFO] [stderr] 71 | pub struct RangeWithoutModifiers<'t> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated items `new`, `index_without_modifiers`, `index_with_modifiers`, `range_without_modifiers`, and `range_with_modifiers` are never used [INFO] [stderr] --> src/modifiers/traits/modifiers_search.rs:76:12 [INFO] [stderr] | [INFO] [stderr] 75 | impl<'t> RangeWithoutModifiers<'t> { [INFO] [stderr] | ---------------------------------- associated items in this implementation [INFO] [stderr] 76 | pub fn new(text: &'t str) -> Self { [INFO] [stderr] | ^^^ [INFO] [stderr] ... [INFO] [stderr] 95 | pub fn index_without_modifiers(&self, idx: usize) -> usize { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 108 | pub fn index_with_modifiers(&self, idx: usize) -> usize { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 121 | pub fn range_without_modifiers(&self, range: Range) -> Range { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 125 | pub fn range_with_modifiers(&self, range: Range) -> Range { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: enum `SpecialUnicodeChar` is never used [INFO] [stderr] --> src/text/split/chars.rs:5:10 [INFO] [stderr] | [INFO] [stderr] 5 | pub enum SpecialUnicodeChar { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: multiple associated items are never used [INFO] [stderr] --> src/text/split/chars.rs:37:12 [INFO] [stderr] | [INFO] [stderr] 36 | impl SpecialUnicodeChar { [INFO] [stderr] | ----------------------- associated items in this implementation [INFO] [stderr] 37 | pub fn char(&self) -> Option { [INFO] [stderr] | ^^^^ [INFO] [stderr] ... [INFO] [stderr] 71 | pub fn find_char(c: char) -> Option { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 75 | pub fn all_non_breaking_chars() -> String { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 88 | pub fn is_breaking(&self) -> bool { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 97 | pub fn is_new_line(&self) -> bool { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 104 | pub fn is_needed_end_of_line(&self) -> bool { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 111 | pub fn append_to(&self, s: &mut String) { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `SplitWords` is never constructed [INFO] [stderr] --> src/text/split/traits.rs:35:12 [INFO] [stderr] | [INFO] [stderr] 35 | pub struct SplitWords<'t> { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `SplitLines` is never constructed [INFO] [stderr] --> src/text/split/traits.rs:70:12 [INFO] [stderr] | [INFO] [stderr] 70 | pub struct SplitLines<'t> { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: trait `DissembleString` is never used [INFO] [stderr] --> src/text/split/traits.rs:195:11 [INFO] [stderr] | [INFO] [stderr] 195 | pub trait DissembleString { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `stdout_toolbox` (bin "stdout_toolbox") generated 29 warnings (10 duplicates) (run `cargo fix --bin "stdout_toolbox" -p stdout_toolbox` to apply 4 suggestions) [INFO] [stderr] warning: `stdout_toolbox` (bin "stdout_toolbox" test) generated 29 warnings (29 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.04s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/stdout_toolbox-81c7398b033417d9) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/stdout_toolbox-5c36be889406a955) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running tests/test_text.rs (/opt/rustwide/target/debug/deps/test_text-3c6a8eff34171ac4) [INFO] [stdout] [INFO] [stdout] running 7 tests [INFO] [stdout] test test_split_single_word ... ok [INFO] [stdout] test test_split_sentence ... ok [INFO] [stdout] test test_split_multi_spaces ... ok [INFO] [stdout] test test_ansi_modifierless_length ... ok [INFO] [stdout] test test_modifier_iter_mix_fore_back ... ok [INFO] [stdout] test test_modifier_iter_no_modifiers ... ok [INFO] [stderr] Doc-tests stdout_toolbox [INFO] [stdout] test test_split_line ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 7 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 10.53s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "c068466fad6bade1aed31e22816c705e1d5ce1512e538361e72e2411598b93f2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c068466fad6bade1aed31e22816c705e1d5ce1512e538361e72e2411598b93f2", kill_on_drop: false }` [INFO] [stdout] c068466fad6bade1aed31e22816c705e1d5ce1512e538361e72e2411598b93f2