[INFO] cloning repository https://github.com/Yasu-umi/sudachiclone-rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Yasu-umi/sudachiclone-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FYasu-umi%2Fsudachiclone-rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FYasu-umi%2Fsudachiclone-rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] c0ddcfd94495f71a1b2ce0dd177e3efc45b68f8c [INFO] checking Yasu-umi/sudachiclone-rs against master#bca37a20bd376ce3fd138e7cdee7fe704e0f8814 for pr-139493-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FYasu-umi%2Fsudachiclone-rs" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/Yasu-umi/sudachiclone-rs [INFO] finished tweaking git repo https://github.com/Yasu-umi/sudachiclone-rs [INFO] tweaked toml for git repo https://github.com/Yasu-umi/sudachiclone-rs written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/Yasu-umi/sudachiclone-rs on toolchain bca37a20bd376ce3fd138e7cdee7fe704e0f8814 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+bca37a20bd376ce3fd138e7cdee7fe704e0f8814" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/Yasu-umi/sudachiclone-rs 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" "+bca37a20bd376ce3fd138e7cdee7fe704e0f8814" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded thread_local v0.3.4 [INFO] [stderr] Downloaded thiserror-impl v1.0.9 [INFO] [stderr] Downloaded termion v1.5.5 [INFO] [stderr] Downloaded symlink v0.1.0 [INFO] [stderr] Downloaded thiserror v1.0.9 [INFO] [stderr] Downloaded stderrlog v0.4.3 [INFO] [stderr] Downloaded regex-syntax v0.6.13 [INFO] [stderr] Downloaded regex v1.3.3 [INFO] [stderr] Downloaded bstr v0.2.9 [INFO] [stderr] Downloaded csv v1.1.2 [INFO] [stderr] Downloaded encoding_rs v0.8.22 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+bca37a20bd376ce3fd138e7cdee7fe704e0f8814" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8a75f5f0a4f9cb720b46c0f838d076ee183fa7f2089a4aab28805536c61508a3 [INFO] running `Command { std: "docker" "start" "-a" "8a75f5f0a4f9cb720b46c0f838d076ee183fa7f2089a4aab28805536c61508a3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8a75f5f0a4f9cb720b46c0f838d076ee183fa7f2089a4aab28805536c61508a3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8a75f5f0a4f9cb720b46c0f838d076ee183fa7f2089a4aab28805536c61508a3", kill_on_drop: false }` [INFO] [stdout] 8a75f5f0a4f9cb720b46c0f838d076ee183fa7f2089a4aab28805536c61508a3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+bca37a20bd376ce3fd138e7cdee7fe704e0f8814" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 306be35f2cd072fa1b9a3104ed7450e09366df0c0d1e07d6c506d7599c65e169 [INFO] running `Command { std: "docker" "start" "-a" "306be35f2cd072fa1b9a3104ed7450e09366df0c0d1e07d6c506d7599c65e169", kill_on_drop: false }` [INFO] [stderr] Compiling memchr v2.3.0 [INFO] [stderr] Compiling proc-macro2 v1.0.8 [INFO] [stderr] Compiling num-traits v0.2.12 [INFO] [stderr] Compiling serde v1.0.104 [INFO] [stderr] Compiling byteorder v1.3.2 [INFO] [stderr] Compiling num-integer v0.1.43 [INFO] [stderr] Compiling ryu v1.0.2 [INFO] [stderr] Compiling syn v1.0.14 [INFO] [stderr] Checking time v0.1.42 [INFO] [stderr] Checking atty v0.2.11 [INFO] [stderr] Checking lazy_static v0.2.11 [INFO] [stderr] Compiling encoding_rs v0.8.22 [INFO] [stderr] Checking itoa v0.4.4 [INFO] [stderr] Checking vec_map v0.8.1 [INFO] [stderr] Checking smallvec v1.1.0 [INFO] [stderr] Checking regex-syntax v0.6.13 [INFO] [stderr] Checking termcolor v1.1.0 [INFO] [stderr] Checking thread_local v0.3.4 [INFO] [stderr] Checking ansi_term v0.11.0 [INFO] [stderr] Checking symlink v0.1.0 [INFO] [stderr] Checking unicode-normalization v0.1.11 [INFO] [stderr] Checking clap v2.33.0 [INFO] [stderr] Checking regex-automata v0.1.8 [INFO] [stderr] Checking aho-corasick v0.7.6 [INFO] [stderr] Checking csv-core v0.1.6 [INFO] [stderr] Compiling quote v1.0.2 [INFO] [stderr] Checking chrono v0.4.11 [INFO] [stderr] Checking regex v1.3.3 [INFO] [stderr] Checking stderrlog v0.4.3 [INFO] [stderr] Compiling thiserror-impl v1.0.9 [INFO] [stderr] Checking bstr v0.2.9 [INFO] [stderr] Checking serde_json v1.0.44 [INFO] [stderr] Checking thiserror v1.0.9 [INFO] [stderr] Checking csv v1.1.2 [INFO] [stderr] Checking sudachiclone v0.2.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around index expression [INFO] [stdout] --> src/dictionary_lib/word_id_table.rs:22:20 [INFO] [stdout] | [INFO] [stdout] 22 | self.bytes[(offset + i * 4)], [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 22 - self.bytes[(offset + i * 4)], [INFO] [stdout] 22 + self.bytes[offset + i * 4 ], [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around index expression [INFO] [stdout] --> src/dictionary_lib/word_id_table.rs:23:20 [INFO] [stdout] | [INFO] [stdout] 23 | self.bytes[(offset + i * 4 + 1)], [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 23 - self.bytes[(offset + i * 4 + 1)], [INFO] [stdout] 23 + self.bytes[offset + i * 4 + 1 ], [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around index expression [INFO] [stdout] --> src/dictionary_lib/word_id_table.rs:24:20 [INFO] [stdout] | [INFO] [stdout] 24 | self.bytes[(offset + i * 4 + 2)], [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 24 - self.bytes[(offset + i * 4 + 2)], [INFO] [stdout] 24 + self.bytes[offset + i * 4 + 2 ], [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around index expression [INFO] [stdout] --> src/dictionary_lib/word_id_table.rs:25:20 [INFO] [stdout] | [INFO] [stdout] 25 | self.bytes[(offset + i * 4 + 3)], [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 25 - self.bytes[(offset + i * 4 + 3)], [INFO] [stdout] 25 + self.bytes[offset + i * 4 + 3 ], [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around index expression [INFO] [stdout] --> src/dictionary_lib/word_id_table.rs:22:20 [INFO] [stdout] | [INFO] [stdout] 22 | self.bytes[(offset + i * 4)], [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 22 - self.bytes[(offset + i * 4)], [INFO] [stdout] 22 + self.bytes[offset + i * 4 ], [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around index expression [INFO] [stdout] --> src/dictionary_lib/word_id_table.rs:23:20 [INFO] [stdout] | [INFO] [stdout] 23 | self.bytes[(offset + i * 4 + 1)], [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 23 - self.bytes[(offset + i * 4 + 1)], [INFO] [stdout] 23 + self.bytes[offset + i * 4 + 1 ], [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around index expression [INFO] [stdout] --> src/dictionary_lib/word_id_table.rs:24:20 [INFO] [stdout] | [INFO] [stdout] 24 | self.bytes[(offset + i * 4 + 2)], [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 24 - self.bytes[(offset + i * 4 + 2)], [INFO] [stdout] 24 + self.bytes[offset + i * 4 + 2 ], [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around index expression [INFO] [stdout] --> src/dictionary_lib/word_id_table.rs:25:20 [INFO] [stdout] | [INFO] [stdout] 25 | self.bytes[(offset + i * 4 + 3)], [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 25 - self.bytes[(offset + i * 4 + 3)], [INFO] [stdout] 25 + self.bytes[offset + i * 4 + 3 ], [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/morpheme_list.rs:56:15 [INFO] [stdout] | [INFO] [stdout] 56 | pub fn iter(&self) -> MorphemeIterator { [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] 56 | pub fn iter(&self) -> MorphemeIterator<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.deref()` on a reference in this situation does nothing [INFO] [stdout] --> src/tokenizer.rs:99:33 [INFO] [stdout] | [INFO] [stdout] 99 | process_oov(oov_plugin.deref(), input, i, &mut has_words, &mut lattice); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the type `OovProviderPlugin` does not implement `Deref`, so calling `deref` on `&OovProviderPlugin` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] 99 - process_oov(oov_plugin.deref(), input, i, &mut has_words, &mut lattice); [INFO] [stdout] 99 + process_oov(oov_plugin, input, i, &mut has_words, &mut lattice); [INFO] [stdout] | [INFO] [stdout] help: if you meant to clone `OovProviderPlugin`, implement `Clone` for it [INFO] [stdout] --> src/plugin/oov_provider_plugin.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 + #[derive(Clone)] [INFO] [stdout] 14 | pub enum OovProviderPlugin { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.deref()` on a reference in this situation does nothing [INFO] [stdout] --> src/tokenizer.rs:104:33 [INFO] [stdout] | [INFO] [stdout] 104 | process_oov(oov_plugin.deref(), input, i, &mut has_words, &mut lattice); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the type `OovProviderPlugin` does not implement `Deref`, so calling `deref` on `&OovProviderPlugin` copies the reference, which does not do anything and can be removed [INFO] [stdout] help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] 104 - process_oov(oov_plugin.deref(), input, i, &mut has_words, &mut lattice); [INFO] [stdout] 104 + process_oov(oov_plugin, input, i, &mut has_words, &mut lattice); [INFO] [stdout] | [INFO] [stdout] help: if you meant to clone `OovProviderPlugin`, implement `Clone` for it [INFO] [stdout] --> src/plugin/oov_provider_plugin.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 + #[derive(Clone)] [INFO] [stdout] 14 | pub enum OovProviderPlugin { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/tokenizer.rs:108:16 [INFO] [stdout] | [INFO] [stdout] 108 | panic!(format!("there is no morpheme at {}", i)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `panic!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` (part of `#[warn(rust_2021_compatibility)]`) on by default [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 108 - panic!(format!("there is no morpheme at {}", i)); [INFO] [stdout] 108 + panic!("there is no morpheme at {}", i); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/utf8_input_text.rs:21:20 [INFO] [stdout] | [INFO] [stdout] 21 | fn get_substring(&self, start: usize, end: usize) -> Result, ()>; [INFO] [stdout] | ^^^^^ the lifetime is elided here ^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 21 | fn get_substring(&self, start: usize, end: usize) -> Result, ()>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/utf8_input_text.rs:75:20 [INFO] [stdout] | [INFO] [stdout] 75 | fn get_substring(&self, start: usize, end: usize) -> Result, ()> { [INFO] [stdout] | ^^^^^ the lifetime is elided here ^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 75 | fn get_substring(&self, start: usize, end: usize) -> Result, ()> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `log::info` [INFO] [stdout] --> src/main.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use log::info; [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: `log::info` [INFO] [stdout] --> src/main.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use log::info; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (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/morpheme_list.rs:56:15 [INFO] [stdout] | [INFO] [stdout] 56 | pub fn iter(&self) -> MorphemeIterator { [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] 56 | pub fn iter(&self) -> MorphemeIterator<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/plugin/mecab_oov_plugin.rs:317:22 [INFO] [stdout] | [INFO] [stdout] 317 | fn get_substring(&self, start: usize, end: usize) -> Result, ()> { [INFO] [stdout] | ^^^^^ the lifetime is elided here ^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 317 | fn get_substring(&self, start: usize, end: usize) -> Result, ()> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.deref()` on a reference in this situation does nothing [INFO] [stdout] --> src/tokenizer.rs:99:33 [INFO] [stdout] | [INFO] [stdout] 99 | process_oov(oov_plugin.deref(), input, i, &mut has_words, &mut lattice); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the type `OovProviderPlugin` does not implement `Deref`, so calling `deref` on `&OovProviderPlugin` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] 99 - process_oov(oov_plugin.deref(), input, i, &mut has_words, &mut lattice); [INFO] [stdout] 99 + process_oov(oov_plugin, input, i, &mut has_words, &mut lattice); [INFO] [stdout] | [INFO] [stdout] help: if you meant to clone `OovProviderPlugin`, implement `Clone` for it [INFO] [stdout] --> src/plugin/oov_provider_plugin.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 + #[derive(Clone)] [INFO] [stdout] 14 | pub enum OovProviderPlugin { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.deref()` on a reference in this situation does nothing [INFO] [stdout] --> src/tokenizer.rs:104:33 [INFO] [stdout] | [INFO] [stdout] 104 | process_oov(oov_plugin.deref(), input, i, &mut has_words, &mut lattice); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the type `OovProviderPlugin` does not implement `Deref`, so calling `deref` on `&OovProviderPlugin` copies the reference, which does not do anything and can be removed [INFO] [stdout] help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] 104 - process_oov(oov_plugin.deref(), input, i, &mut has_words, &mut lattice); [INFO] [stdout] 104 + process_oov(oov_plugin, input, i, &mut has_words, &mut lattice); [INFO] [stdout] | [INFO] [stdout] help: if you meant to clone `OovProviderPlugin`, implement `Clone` for it [INFO] [stdout] --> src/plugin/oov_provider_plugin.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 + #[derive(Clone)] [INFO] [stdout] 14 | pub enum OovProviderPlugin { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/tokenizer.rs:108:16 [INFO] [stdout] | [INFO] [stdout] 108 | panic!(format!("there is no morpheme at {}", i)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `panic!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` (part of `#[warn(rust_2021_compatibility)]`) on by default [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 108 - panic!(format!("there is no morpheme at {}", i)); [INFO] [stdout] 108 + panic!("there is no morpheme at {}", i); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/utf8_input_text.rs:21:20 [INFO] [stdout] | [INFO] [stdout] 21 | fn get_substring(&self, start: usize, end: usize) -> Result, ()>; [INFO] [stdout] | ^^^^^ the lifetime is elided here ^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 21 | fn get_substring(&self, start: usize, end: usize) -> Result, ()>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/utf8_input_text.rs:75:20 [INFO] [stdout] | [INFO] [stdout] 75 | fn get_substring(&self, start: usize, end: usize) -> Result, ()> { [INFO] [stdout] | ^^^^^ the lifetime is elided here ^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 75 | fn get_substring(&self, start: usize, end: usize) -> Result, ()> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 16.77s [INFO] running `Command { std: "docker" "inspect" "306be35f2cd072fa1b9a3104ed7450e09366df0c0d1e07d6c506d7599c65e169", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "306be35f2cd072fa1b9a3104ed7450e09366df0c0d1e07d6c506d7599c65e169", kill_on_drop: false }` [INFO] [stdout] 306be35f2cd072fa1b9a3104ed7450e09366df0c0d1e07d6c506d7599c65e169