[INFO] cloning repository https://github.com/detedetedetedete/DictWalker
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/detedetedetedete/DictWalker" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdetedetedetedete%2FDictWalker", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdetedetedetedete%2FDictWalker'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 81ebbf52a0e124172b7697a1f8ee0748f98ed60e
[INFO] checking detedetedetedete/DictWalker against master#5518eaa946291f00471af8b254b2a1715f234882 for pr-120393-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdetedetedetedete%2FDictWalker" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/detedetedetedete/DictWalker on toolchain 5518eaa946291f00471af8b254b2a1715f234882
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+5518eaa946291f00471af8b254b2a1715f234882" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/detedetedetedete/DictWalker
[INFO] finished tweaking git repo https://github.com/detedetedetedete/DictWalker
[INFO] tweaked toml for git repo https://github.com/detedetedetedete/DictWalker written to /workspace/builds/worker-3-tc1/source/Cargo.toml
[INFO] crate git repo https://github.com/detedetedetedete/DictWalker 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" "+5518eaa946291f00471af8b254b2a1715f234882" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded serde v1.0.80
[INFO] [stderr]   Downloaded textwrap v0.10.0
[INFO] [stderr]   Downloaded aho-corasick v0.6.9
[INFO] [stderr]   Downloaded proc-macro2 v0.4.21
[INFO] [stderr]   Downloaded memchr v2.1.1
[INFO] [stderr]   Downloaded time v0.1.40
[INFO] [stderr]   Downloaded colored v1.6.1
[INFO] [stderr]   Downloaded syn v0.15.18
[INFO] [stderr]   Downloaded clap v2.32.0
[INFO] [stderr]   Downloaded regex v1.0.6
[INFO] [stderr]   Downloaded regex-syntax v0.6.3
[INFO] [stderr]   Downloaded fern v0.5.6
[INFO] [stderr]   Downloaded serde_json v1.0.32
[INFO] [stderr]   Downloaded serde_derive v1.0.80
[INFO] [stderr]   Downloaded ucd-util v0.1.2
[INFO] [stderr]   Downloaded quote v0.6.9
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+5518eaa946291f00471af8b254b2a1715f234882" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 9d9e18160d6c3f81a1b8082f6c1af6dd53478f5c3d48929a5f679850cd21468e
[INFO] running `Command { std: "docker" "start" "-a" "9d9e18160d6c3f81a1b8082f6c1af6dd53478f5c3d48929a5f679850cd21468e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "9d9e18160d6c3f81a1b8082f6c1af6dd53478f5c3d48929a5f679850cd21468e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "9d9e18160d6c3f81a1b8082f6c1af6dd53478f5c3d48929a5f679850cd21468e", kill_on_drop: false }`
[INFO] [stdout] 9d9e18160d6c3f81a1b8082f6c1af6dd53478f5c3d48929a5f679850cd21468e
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+5518eaa946291f00471af8b254b2a1715f234882" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 809517502d4500a075fa608a37129752dcc0c2caaa990a365c3c0768fa342610
[INFO] running `Command { std: "docker" "start" "-a" "809517502d4500a075fa608a37129752dcc0c2caaa990a365c3c0768fa342610", kill_on_drop: false }`
[INFO] [stderr]     Checking libc v0.2.43
[INFO] [stderr]     Checking encoding_index_tests v0.1.4
[INFO] [stderr]     Checking cfg-if v0.1.6
[INFO] [stderr]    Compiling version_check v0.1.5
[INFO] [stderr]    Compiling proc-macro2 v0.4.21
[INFO] [stderr]     Checking lazy_static v1.2.0
[INFO] [stderr]    Compiling num-traits v0.2.6
[INFO] [stderr]    Compiling ryu v0.2.6
[INFO] [stderr]    Compiling num-integer v0.1.39
[INFO] [stderr]    Compiling serde v1.0.80
[INFO] [stderr]     Checking ucd-util v0.1.2
[INFO] [stderr]    Compiling regex v1.0.6
[INFO] [stderr]     Checking itoa v0.4.3
[INFO] [stderr]     Checking textwrap v0.10.0
[INFO] [stderr]     Checking strsim v0.7.0
[INFO] [stderr]     Checking encoding-index-korean v1.20141219.5
[INFO] [stderr]     Checking encoding-index-japanese v1.20141219.5
[INFO] [stderr]     Checking log v0.4.6
[INFO] [stderr]     Checking colored v1.6.1
[INFO] [stderr]     Checking regex-syntax v0.6.3
[INFO] [stderr]     Checking thread_local v0.3.6
[INFO] [stderr]     Checking encoding-index-singlebyte v1.20141219.5
[INFO] [stderr]     Checking encoding-index-tradchinese v1.20141219.5
[INFO] [stderr]     Checking encoding-index-simpchinese v1.20141219.5
[INFO] [stderr]     Checking fern v0.5.6
[INFO] [stderr]    Compiling memchr v2.1.1
[INFO] [stderr]     Checking atty v0.2.11
[INFO] [stderr]     Checking time v0.1.40
[INFO] [stderr]     Checking encoding v0.2.33
[INFO] [stderr]     Checking clap v2.32.0
[INFO] [stderr]     Checking aho-corasick v0.6.9
[INFO] [stderr]    Compiling quote v0.6.9
[INFO] [stderr]    Compiling syn v0.15.18
[INFO] [stderr]     Checking chrono v0.4.6
[INFO] [stderr]    Compiling serde_derive v1.0.80
[INFO] [stderr]     Checking serde_json v1.0.32
[INFO] [stderr]     Checking dict_walker v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]    --> src/training_entry.rs:122:59
[INFO] [stdout]     |
[INFO] [stdout] 122 |     fn convert_to_phonemes(str: &str, resolvers: &Vec<Box<PhonemeResolver>>) -> Vec<Phoneme> {
[INFO] [stdout]     |                                                           ^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout]     = note: `#[warn(bare_trait_objects)]` on by default
[INFO] [stdout] help: use `dyn`
[INFO] [stdout]     |
[INFO] [stdout] 122 |     fn convert_to_phonemes(str: &str, resolvers: &Vec<Box<dyn PhonemeResolver>>) -> Vec<Phoneme> {
[INFO] [stdout]     |                                                           +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]    --> src/training_entry.rs:151:57
[INFO] [stdout]     |
[INFO] [stdout] 151 |     pub fn construct(de: DictEntry, resolvers: &Vec<Box<PhonemeResolver>>) -> Self {
[INFO] [stdout]     |                                                         ^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: use `dyn`
[INFO] [stdout]     |
[INFO] [stdout] 151 |     pub fn construct(de: DictEntry, resolvers: &Vec<Box<dyn PhonemeResolver>>) -> Self {
[INFO] [stdout]     |                                                         +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]    --> src/training_entry.rs:122:59
[INFO] [stdout]     |
[INFO] [stdout] 122 |     fn convert_to_phonemes(str: &str, resolvers: &Vec<Box<PhonemeResolver>>) -> Vec<Phoneme> {
[INFO] [stdout]     |                                                           ^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout]     = note: `#[warn(bare_trait_objects)]` on by default
[INFO] [stdout] help: use `dyn`
[INFO] [stdout]     |
[INFO] [stdout] 122 |     fn convert_to_phonemes(str: &str, resolvers: &Vec<Box<dyn PhonemeResolver>>) -> Vec<Phoneme> {
[INFO] [stdout]     |                                                           +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]    --> src/training_entry.rs:151:57
[INFO] [stdout]     |
[INFO] [stdout] 151 |     pub fn construct(de: DictEntry, resolvers: &Vec<Box<PhonemeResolver>>) -> Self {
[INFO] [stdout]     |                                                         ^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: use `dyn`
[INFO] [stdout]     |
[INFO] [stdout] 151 |     pub fn construct(de: DictEntry, resolvers: &Vec<Box<dyn PhonemeResolver>>) -> Self {
[INFO] [stdout]     |                                                         +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string()
[INFO] [stdout]   --> src/dict_entry.rs:43:49
[INFO] [stdout]    |
[INFO] [stdout] 43 |             Err(e) => return Err(String::from(e.description()))
[INFO] [stdout]    |                                                 ^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string()
[INFO] [stdout]   --> src/dict_entry.rs:43:49
[INFO] [stdout]    |
[INFO] [stdout] 43 |             Err(e) => return Err(String::from(e.description()))
[INFO] [stdout]    |                                                 ^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string()
[INFO] [stdout]   --> src/dict_entry.rs:48:49
[INFO] [stdout]    |
[INFO] [stdout] 48 |             Err(e) => return Err(String::from(e.description()))
[INFO] [stdout]    |                                                 ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string()
[INFO] [stdout]   --> src/dict_entry.rs:48:49
[INFO] [stdout]    |
[INFO] [stdout] 48 |             Err(e) => return Err(String::from(e.description()))
[INFO] [stdout]    |                                                 ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string()
[INFO] [stdout]    --> src/dict_entry.rs:106:53
[INFO] [stdout]     |
[INFO] [stdout] 106 |                 Err(e) => return Err(String::from(e.description()))
[INFO] [stdout]     |                                                     ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string()
[INFO] [stdout]    --> src/dict_entry.rs:106:53
[INFO] [stdout]     |
[INFO] [stdout] 106 |                 Err(e) => return Err(String::from(e.description()))
[INFO] [stdout]     |                                                     ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string()
[INFO] [stdout]    --> src/dict_entry.rs:112:57
[INFO] [stdout]     |
[INFO] [stdout] 112 |                     Err(e) => return Err(String::from(e.description()))
[INFO] [stdout]     |                                                         ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string()
[INFO] [stdout]    --> src/dict_entry.rs:112:57
[INFO] [stdout]     |
[INFO] [stdout] 112 |                     Err(e) => return Err(String::from(e.description()))
[INFO] [stdout]     |                                                         ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/main.rs:57:40
[INFO] [stdout]    |
[INFO] [stdout] 57 |     let mut phoneme_resolvers: Vec<Box<PhonemeResolver>> = vec![
[INFO] [stdout]    |                                        ^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 57 |     let mut phoneme_resolvers: Vec<Box<dyn PhonemeResolver>> = vec![
[INFO] [stdout]    |                                        +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/main.rs:57:40
[INFO] [stdout]    |
[INFO] [stdout] 57 |     let mut phoneme_resolvers: Vec<Box<PhonemeResolver>> = vec![
[INFO] [stdout]    |                                        ^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 57 |     let mut phoneme_resolvers: Vec<Box<dyn PhonemeResolver>> = vec![
[INFO] [stdout]    |                                        +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/dict_entry.rs:143:21
[INFO] [stdout]     |
[INFO] [stdout] 143 |                 let mut entry = entries.entry(String::from(file_stem)).or_insert(DictEntry::new_empty());
[INFO] [stdout]     |                     ----^^^^^
[INFO] [stdout]     |                     |
[INFO] [stdout]     |                     help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/dict_entry.rs:143:21
[INFO] [stdout]     |
[INFO] [stdout] 143 |                 let mut entry = entries.entry(String::from(file_stem)).or_insert(DictEntry::new_empty());
[INFO] [stdout]     |                     ----^^^^^
[INFO] [stdout]     |                     |
[INFO] [stdout]     |                     help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: static variable `ext_list_re` should have an upper case name
[INFO] [stdout]   --> src/cli_api.rs:58:20
[INFO] [stdout]    |
[INFO] [stdout] 58 |         static ref ext_list_re: Regex = Regex::new(r"[a-zA-Z0-9,]").unwrap();
[INFO] [stdout]    |                    ^^^^^^^^^^^ help: convert the identifier to upper case: `EXT_LIST_RE`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(non_upper_case_globals)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: static variable `ext_list_re` should have an upper case name
[INFO] [stdout]   --> src/cli_api.rs:58:20
[INFO] [stdout]    |
[INFO] [stdout] 58 |         static ref ext_list_re: Regex = Regex::new(r"[a-zA-Z0-9,]").unwrap();
[INFO] [stdout]    |                    ^^^^^^^^^^^ help: convert the identifier to upper case: `EXT_LIST_RE`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(non_upper_case_globals)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: static variable `postfix_accent_re` should have an upper case name
[INFO] [stdout]    --> src/training_entry.rs:106:24
[INFO] [stdout]     |
[INFO] [stdout] 106 |             static ref postfix_accent_re: Regex = Regex::new(r"(?P<last>[^ ])(?P<accent>_[^ ]+)").unwrap();
[INFO] [stdout]     |                        ^^^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `POSTFIX_ACCENT_RE`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: static variable `multi_space_re` should have an upper case name
[INFO] [stdout]    --> src/training_entry.rs:114:24
[INFO] [stdout]     |
[INFO] [stdout] 114 |             static ref multi_space_re: Regex = Regex::new(r" {2,}").unwrap();
[INFO] [stdout]     |                        ^^^^^^^^^^^^^^ help: convert the identifier to upper case: `MULTI_SPACE_RE`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: static variable `postfix_accent_re` should have an upper case name
[INFO] [stdout]    --> src/training_entry.rs:106:24
[INFO] [stdout]     |
[INFO] [stdout] 106 |             static ref postfix_accent_re: Regex = Regex::new(r"(?P<last>[^ ])(?P<accent>_[^ ]+)").unwrap();
[INFO] [stdout]     |                        ^^^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `POSTFIX_ACCENT_RE`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: static variable `multi_space_re` should have an upper case name
[INFO] [stdout]    --> src/training_entry.rs:114:24
[INFO] [stdout]     |
[INFO] [stdout] 114 |             static ref multi_space_re: Regex = Regex::new(r" {2,}").unwrap();
[INFO] [stdout]     |                        ^^^^^^^^^^^^^^ help: convert the identifier to upper case: `MULTI_SPACE_RE`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: static variable `postfix_accent_re` should have an upper case name
[INFO] [stdout]   --> src/phoneme_resolvers.rs:37:24
[INFO] [stdout]    |
[INFO] [stdout] 37 | ...   static ref postfix_accent_re: Regex = Regex::new(r"^(?P<graph>[^ ]+) +(?P<accent>.+)$").unwrap(); // TODO fix var and named cap gro...
[INFO] [stdout]    |                  ^^^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `POSTFIX_ACCENT_RE`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: static variable `postfix_accent_re` should have an upper case name
[INFO] [stdout]   --> src/phoneme_resolvers.rs:37:24
[INFO] [stdout]    |
[INFO] [stdout] 37 | ...   static ref postfix_accent_re: Regex = Regex::new(r"^(?P<graph>[^ ]+) +(?P<accent>.+)$").unwrap(); // TODO fix var and named cap gro...
[INFO] [stdout]    |                  ^^^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `POSTFIX_ACCENT_RE`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing
[INFO] [stdout]    --> src/phoneme_resolvers.rs:201:54
[INFO] [stdout]     |
[INFO] [stdout] 201 |                 phonemes.push(c_str.to_str().unwrap().clone().to_owned());
[INFO] [stdout]     |                                                      ^^^^^^^^ help: remove this redundant call
[INFO] [stdout]     |
[INFO] [stdout]     = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed
[INFO] [stdout]     = note: `#[warn(noop_method_call)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing
[INFO] [stdout]    --> src/phoneme_resolvers.rs:201:54
[INFO] [stdout]     |
[INFO] [stdout] 201 |                 phonemes.push(c_str.to_str().unwrap().clone().to_owned());
[INFO] [stdout]     |                                                      ^^^^^^^^ help: remove this redundant call
[INFO] [stdout]     |
[INFO] [stdout]     = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed
[INFO] [stdout]     = note: `#[warn(noop_method_call)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 13 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 13 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished dev [unoptimized + debuginfo] target(s) in 4.46s
[INFO] running `Command { std: "docker" "inspect" "809517502d4500a075fa608a37129752dcc0c2caaa990a365c3c0768fa342610", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "809517502d4500a075fa608a37129752dcc0c2caaa990a365c3c0768fa342610", kill_on_drop: false }`
[INFO] [stdout] 809517502d4500a075fa608a37129752dcc0c2caaa990a365c3c0768fa342610
[INFO] checking detedetedetedete/DictWalker against try#7622c0f807a4e13c4db886a1681bf343795692df+rustflags=-Dnon_local_definitions for pr-120393-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdetedetedetedete%2FDictWalker" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/detedetedetedete/DictWalker on toolchain 7622c0f807a4e13c4db886a1681bf343795692df
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+7622c0f807a4e13c4db886a1681bf343795692df" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/detedetedetedete/DictWalker
[INFO] finished tweaking git repo https://github.com/detedetedetedete/DictWalker
[INFO] tweaked toml for git repo https://github.com/detedetedetedete/DictWalker written to /workspace/builds/worker-3-tc2/source/Cargo.toml
[INFO] crate git repo https://github.com/detedetedetedete/DictWalker 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" "+7622c0f807a4e13c4db886a1681bf343795692df" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+7622c0f807a4e13c4db886a1681bf343795692df" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] a27b316c22eb3fbea3778f3f4b247484192e7ef0ba2948dfd1cc6a7dd9b9c029
[INFO] running `Command { std: "docker" "start" "-a" "a27b316c22eb3fbea3778f3f4b247484192e7ef0ba2948dfd1cc6a7dd9b9c029", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "a27b316c22eb3fbea3778f3f4b247484192e7ef0ba2948dfd1cc6a7dd9b9c029", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "a27b316c22eb3fbea3778f3f4b247484192e7ef0ba2948dfd1cc6a7dd9b9c029", kill_on_drop: false }`
[INFO] [stdout] a27b316c22eb3fbea3778f3f4b247484192e7ef0ba2948dfd1cc6a7dd9b9c029
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/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 -Dnon_local_definitions" "-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+7622c0f807a4e13c4db886a1681bf343795692df" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 2075c037a2d7ed22385eb5bdde87f1c63f0e24aa9560768c982e9caf9ec10286
[INFO] running `Command { std: "docker" "start" "-a" "2075c037a2d7ed22385eb5bdde87f1c63f0e24aa9560768c982e9caf9ec10286", kill_on_drop: false }`
[INFO] [stderr]     Checking libc v0.2.43
[INFO] [stderr]     Checking encoding_index_tests v0.1.4
[INFO] [stderr]    Compiling proc-macro2 v0.4.21
[INFO] [stderr]    Compiling version_check v0.1.5
[INFO] [stderr]     Checking cfg-if v0.1.6
[INFO] [stderr]    Compiling num-traits v0.2.6
[INFO] [stderr]     Checking lazy_static v1.2.0
[INFO] [stderr]    Compiling serde v1.0.80
[INFO] [stderr]    Compiling num-integer v0.1.39
[INFO] [stderr]    Compiling ryu v0.2.6
[INFO] [stderr]    Compiling regex v1.0.6
[INFO] [stderr]     Checking ucd-util v0.1.2
[INFO] [stderr]     Checking textwrap v0.10.0
[INFO] [stderr]     Checking strsim v0.7.0
[INFO] [stderr]     Checking itoa v0.4.3
[INFO] [stderr]     Checking log v0.4.6
[INFO] [stderr]     Checking encoding-index-korean v1.20141219.5
[INFO] [stderr]     Checking encoding-index-singlebyte v1.20141219.5
[INFO] [stderr]     Checking colored v1.6.1
[INFO] [stderr]     Checking thread_local v0.3.6
[INFO] [stderr]     Checking regex-syntax v0.6.3
[INFO] [stderr]     Checking encoding-index-tradchinese v1.20141219.5
[INFO] [stderr]     Checking encoding-index-simpchinese v1.20141219.5
[INFO] [stderr]     Checking encoding-index-japanese v1.20141219.5
[INFO] [stderr]     Checking fern v0.5.6
[INFO] [stderr]    Compiling memchr v2.1.1
[INFO] [stderr]     Checking time v0.1.40
[INFO] [stderr]     Checking atty v0.2.11
[INFO] [stderr]     Checking encoding v0.2.33
[INFO] [stderr]     Checking clap v2.32.0
[INFO] [stderr]     Checking aho-corasick v0.6.9
[INFO] [stderr]    Compiling quote v0.6.9
[INFO] [stderr]    Compiling syn v0.15.18
[INFO] [stderr]     Checking chrono v0.4.6
[INFO] [stderr]    Compiling serde_derive v1.0.80
[INFO] [stderr]     Checking serde_json v1.0.32
[INFO] [stderr]     Checking dict_walker v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]    --> src/training_entry.rs:122:59
[INFO] [stdout]     |
[INFO] [stdout] 122 |     fn convert_to_phonemes(str: &str, resolvers: &Vec<Box<PhonemeResolver>>) -> Vec<Phoneme> {
[INFO] [stdout]     |                                                           ^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout]     = note: `#[warn(bare_trait_objects)]` on by default
[INFO] [stdout] help: use `dyn`
[INFO] [stdout]     |
[INFO] [stdout] 122 |     fn convert_to_phonemes(str: &str, resolvers: &Vec<Box<dyn PhonemeResolver>>) -> Vec<Phoneme> {
[INFO] [stdout]     |                                                           +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]    --> src/training_entry.rs:122:59
[INFO] [stdout]     |
[INFO] [stdout] 122 |     fn convert_to_phonemes(str: &str, resolvers: &Vec<Box<PhonemeResolver>>) -> Vec<Phoneme> {
[INFO] [stdout]     |                                                           ^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout]     = note: `#[warn(bare_trait_objects)]` on by default
[INFO] [stdout] help: use `dyn`
[INFO] [stdout]     |
[INFO] [stdout] 122 |     fn convert_to_phonemes(str: &str, resolvers: &Vec<Box<dyn PhonemeResolver>>) -> Vec<Phoneme> {
[INFO] [stdout]     |                                                           +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]    --> src/training_entry.rs:151:57
[INFO] [stdout]     |
[INFO] [stdout] 151 |     pub fn construct(de: DictEntry, resolvers: &Vec<Box<PhonemeResolver>>) -> Self {
[INFO] [stdout]     |                                                         ^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: use `dyn`
[INFO] [stdout]     |
[INFO] [stdout] 151 |     pub fn construct(de: DictEntry, resolvers: &Vec<Box<dyn PhonemeResolver>>) -> Self {
[INFO] [stdout]     |                                                         +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]    --> src/training_entry.rs:151:57
[INFO] [stdout]     |
[INFO] [stdout] 151 |     pub fn construct(de: DictEntry, resolvers: &Vec<Box<PhonemeResolver>>) -> Self {
[INFO] [stdout]     |                                                         ^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: use `dyn`
[INFO] [stdout]     |
[INFO] [stdout] 151 |     pub fn construct(de: DictEntry, resolvers: &Vec<Box<dyn PhonemeResolver>>) -> Self {
[INFO] [stdout]     |                                                         +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string()
[INFO] [stdout]   --> src/dict_entry.rs:43:49
[INFO] [stdout]    |
[INFO] [stdout] 43 |             Err(e) => return Err(String::from(e.description()))
[INFO] [stdout]    |                                                 ^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string()
[INFO] [stdout]   --> src/dict_entry.rs:43:49
[INFO] [stdout]    |
[INFO] [stdout] 43 |             Err(e) => return Err(String::from(e.description()))
[INFO] [stdout]    |                                                 ^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string()
[INFO] [stdout]   --> src/dict_entry.rs:48:49
[INFO] [stdout]    |
[INFO] [stdout] 48 |             Err(e) => return Err(String::from(e.description()))
[INFO] [stdout]    |                                                 ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string()
[INFO] [stdout]   --> src/dict_entry.rs:48:49
[INFO] [stdout]    |
[INFO] [stdout] 48 |             Err(e) => return Err(String::from(e.description()))
[INFO] [stdout]    |                                                 ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string()
[INFO] [stdout]    --> src/dict_entry.rs:106:53
[INFO] [stdout]     |
[INFO] [stdout] 106 |                 Err(e) => return Err(String::from(e.description()))
[INFO] [stdout]     |                                                     ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string()
[INFO] [stdout]    --> src/dict_entry.rs:106:53
[INFO] [stdout]     |
[INFO] [stdout] 106 |                 Err(e) => return Err(String::from(e.description()))
[INFO] [stdout]     |                                                     ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string()
[INFO] [stdout]    --> src/dict_entry.rs:112:57
[INFO] [stdout]     |
[INFO] [stdout] 112 |                     Err(e) => return Err(String::from(e.description()))
[INFO] [stdout]     |                                                         ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string()
[INFO] [stdout]    --> src/dict_entry.rs:112:57
[INFO] [stdout]     |
[INFO] [stdout] 112 |                     Err(e) => return Err(String::from(e.description()))
[INFO] [stdout]     |                                                         ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/main.rs:57:40
[INFO] [stdout]    |
[INFO] [stdout] 57 |     let mut phoneme_resolvers: Vec<Box<PhonemeResolver>> = vec![
[INFO] [stdout]    |                                        ^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 57 |     let mut phoneme_resolvers: Vec<Box<dyn PhonemeResolver>> = vec![
[INFO] [stdout]    |                                        +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/main.rs:57:40
[INFO] [stdout]    |
[INFO] [stdout] 57 |     let mut phoneme_resolvers: Vec<Box<PhonemeResolver>> = vec![
[INFO] [stdout]    |                                        ^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 57 |     let mut phoneme_resolvers: Vec<Box<dyn PhonemeResolver>> = vec![
[INFO] [stdout]    |                                        +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/dict_entry.rs:143:21
[INFO] [stdout]     |
[INFO] [stdout] 143 |                 let mut entry = entries.entry(String::from(file_stem)).or_insert(DictEntry::new_empty());
[INFO] [stdout]     |                     ----^^^^^
[INFO] [stdout]     |                     |
[INFO] [stdout]     |                     help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/dict_entry.rs:143:21
[INFO] [stdout]     |
[INFO] [stdout] 143 |                 let mut entry = entries.entry(String::from(file_stem)).or_insert(DictEntry::new_empty());
[INFO] [stdout]     |                     ----^^^^^
[INFO] [stdout]     |                     |
[INFO] [stdout]     |                     help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]   --> src/dict_entry.rs:12:17
[INFO] [stdout]    |
[INFO] [stdout] 12 | #[derive(Debug, Serialize)]
[INFO] [stdout]    |                 ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: move this `impl` block outside the of the current constant `_IMPL_SERIALIZE_FOR_DictEntry`
[INFO] [stdout]    = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]    = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]    = note: requested on the command line with `-D non-local-definitions`
[INFO] [stdout]    = note: this error originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]   --> src/dict_entry.rs:12:17
[INFO] [stdout]    |
[INFO] [stdout] 12 | #[derive(Debug, Serialize)]
[INFO] [stdout]    |                 ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: move this `impl` block outside the of the current constant `_IMPL_SERIALIZE_FOR_DictEntry`
[INFO] [stdout]    = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]    = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]    = note: requested on the command line with `-D non-local-definitions`
[INFO] [stdout]    = note: this error originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: static variable `ext_list_re` should have an upper case name
[INFO] [stdout]   --> src/cli_api.rs:58:20
[INFO] [stdout]    |
[INFO] [stdout] 58 |         static ref ext_list_re: Regex = Regex::new(r"[a-zA-Z0-9,]").unwrap();
[INFO] [stdout]    |                    ^^^^^^^^^^^ help: convert the identifier to upper case: `EXT_LIST_RE`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(non_upper_case_globals)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: static variable `ext_list_re` should have an upper case name
[INFO] [stdout]   --> src/cli_api.rs:58:20
[INFO] [stdout]    |
[INFO] [stdout] 58 |         static ref ext_list_re: Regex = Regex::new(r"[a-zA-Z0-9,]").unwrap();
[INFO] [stdout]    |                    ^^^^^^^^^^^ help: convert the identifier to upper case: `EXT_LIST_RE`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(non_upper_case_globals)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]  --> src/training_entry.rs:8:17
[INFO] [stdout]   |
[INFO] [stdout] 8 | #[derive(Debug, Serialize)]
[INFO] [stdout]   |                 ^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = help: move this `impl` block outside the of the current constant `_IMPL_SERIALIZE_FOR_TrainingEntry`
[INFO] [stdout]   = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]   = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]   = note: this error originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: static variable `postfix_accent_re` should have an upper case name
[INFO] [stdout]    --> src/training_entry.rs:106:24
[INFO] [stdout]     |
[INFO] [stdout] 106 |             static ref postfix_accent_re: Regex = Regex::new(r"(?P<last>[^ ])(?P<accent>_[^ ]+)").unwrap();
[INFO] [stdout]     |                        ^^^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `POSTFIX_ACCENT_RE`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: static variable `multi_space_re` should have an upper case name
[INFO] [stdout]    --> src/training_entry.rs:114:24
[INFO] [stdout]     |
[INFO] [stdout] 114 |             static ref multi_space_re: Regex = Regex::new(r" {2,}").unwrap();
[INFO] [stdout]     |                        ^^^^^^^^^^^^^^ help: convert the identifier to upper case: `MULTI_SPACE_RE`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]  --> src/training_entry.rs:8:17
[INFO] [stdout]   |
[INFO] [stdout] 8 | #[derive(Debug, Serialize)]
[INFO] [stdout]   |                 ^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = help: move this `impl` block outside the of the current constant `_IMPL_SERIALIZE_FOR_TrainingEntry`
[INFO] [stdout]   = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]   = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]   = note: this error originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: static variable `postfix_accent_re` should have an upper case name
[INFO] [stdout]    --> src/training_entry.rs:106:24
[INFO] [stdout]     |
[INFO] [stdout] 106 |             static ref postfix_accent_re: Regex = Regex::new(r"(?P<last>[^ ])(?P<accent>_[^ ]+)").unwrap();
[INFO] [stdout]     |                        ^^^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `POSTFIX_ACCENT_RE`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: static variable `multi_space_re` should have an upper case name
[INFO] [stdout]    --> src/training_entry.rs:114:24
[INFO] [stdout]     |
[INFO] [stdout] 114 |             static ref multi_space_re: Regex = Regex::new(r" {2,}").unwrap();
[INFO] [stdout]     |                        ^^^^^^^^^^^^^^ help: convert the identifier to upper case: `MULTI_SPACE_RE`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: static variable `postfix_accent_re` should have an upper case name
[INFO] [stdout]   --> src/phoneme_resolvers.rs:37:24
[INFO] [stdout]    |
[INFO] [stdout] 37 | ...   static ref postfix_accent_re: Regex = Regex::new(r"^(?P<graph>[^ ]+) +(?P<accent>.+)$").unwrap(); // TODO fix var and named cap gro...
[INFO] [stdout]    |                  ^^^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `POSTFIX_ACCENT_RE`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: static variable `postfix_accent_re` should have an upper case name
[INFO] [stdout]   --> src/phoneme_resolvers.rs:37:24
[INFO] [stdout]    |
[INFO] [stdout] 37 | ...   static ref postfix_accent_re: Regex = Regex::new(r"^(?P<graph>[^ ]+) +(?P<accent>.+)$").unwrap(); // TODO fix var and named cap gro...
[INFO] [stdout]    |                  ^^^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `POSTFIX_ACCENT_RE`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing
[INFO] [stdout]    --> src/phoneme_resolvers.rs:201:54
[INFO] [stdout]     |
[INFO] [stdout] 201 |                 phonemes.push(c_str.to_str().unwrap().clone().to_owned());
[INFO] [stdout]     |                                                      ^^^^^^^^ help: remove this redundant call
[INFO] [stdout]     |
[INFO] [stdout]     = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed
[INFO] [stdout]     = note: `#[warn(noop_method_call)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]  --> src/model_def.rs:1:10
[INFO] [stdout]   |
[INFO] [stdout] 1 | #[derive(Serialize, Deserialize)]
[INFO] [stdout]   |          ^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = help: move this `impl` block outside the of the current constant `_IMPL_SERIALIZE_FOR_ModelDef`
[INFO] [stdout]   = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]   = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]   = note: this error originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing
[INFO] [stdout]    --> src/phoneme_resolvers.rs:201:54
[INFO] [stdout]     |
[INFO] [stdout] 201 |                 phonemes.push(c_str.to_str().unwrap().clone().to_owned());
[INFO] [stdout]     |                                                      ^^^^^^^^ help: remove this redundant call
[INFO] [stdout]     |
[INFO] [stdout]     = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed
[INFO] [stdout]     = note: `#[warn(noop_method_call)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]  --> src/model_def.rs:1:21
[INFO] [stdout]   |
[INFO] [stdout] 1 | #[derive(Serialize, Deserialize)]
[INFO] [stdout]   |                     ^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = help: move this `impl` block outside the of the current constant `_IMPL_DESERIALIZE_FOR_ModelDef`
[INFO] [stdout]   = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]   = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]   = note: this error originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]  --> src/model_def.rs:1:10
[INFO] [stdout]   |
[INFO] [stdout] 1 | #[derive(Serialize, Deserialize)]
[INFO] [stdout]   |          ^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = help: move this `impl` block outside the of the current constant `_IMPL_SERIALIZE_FOR_ModelDef`
[INFO] [stdout]   = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]   = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]   = note: this error originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]  --> src/model_def.rs:1:21
[INFO] [stdout]   |
[INFO] [stdout] 1 | #[derive(Serialize, Deserialize)]
[INFO] [stdout]   |                     ^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = help: move this `impl` block outside the of the current constant `_IMPL_DESERIALIZE_FOR_ModelDef`
[INFO] [stdout]   = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]   = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]   = note: this error originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 4 previous errors; 13 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 4 previous errors; 13 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `dict_walker` (bin "dict_walker") due to 5 previous errors; 13 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stderr] error: could not compile `dict_walker` (bin "dict_walker" test) due to 5 previous errors; 13 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "2075c037a2d7ed22385eb5bdde87f1c63f0e24aa9560768c982e9caf9ec10286", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "2075c037a2d7ed22385eb5bdde87f1c63f0e24aa9560768c982e9caf9ec10286", kill_on_drop: false }`
[INFO] [stdout] 2075c037a2d7ed22385eb5bdde87f1c63f0e24aa9560768c982e9caf9ec10286
