[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 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdetedetedetedete%2FDictWalker" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-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-4-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] Downloading crates ... [INFO] [stderr] Downloaded ucd-util v0.1.2 [INFO] [stderr] Downloaded regex-syntax v0.6.3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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] 6bb16fdb50bb029dd8f2293be5198614803a5e9b63ce9498ce7cb0e221dced0a [INFO] running `Command { std: "docker" "start" "-a" "6bb16fdb50bb029dd8f2293be5198614803a5e9b63ce9498ce7cb0e221dced0a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6bb16fdb50bb029dd8f2293be5198614803a5e9b63ce9498ce7cb0e221dced0a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6bb16fdb50bb029dd8f2293be5198614803a5e9b63ce9498ce7cb0e221dced0a", kill_on_drop: false }` [INFO] [stdout] 6bb16fdb50bb029dd8f2293be5198614803a5e9b63ce9498ce7cb0e221dced0a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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] b064eb731dcb63f7e7b8e58a4ff589cdf8cb02b1d707a263ceadb46e14d7dc5b [INFO] running `Command { std: "docker" "start" "-a" "b064eb731dcb63f7e7b8e58a4ff589cdf8cb02b1d707a263ceadb46e14d7dc5b", kill_on_drop: false }` [INFO] [stderr] Checking cfg-if v0.1.6 [INFO] [stderr] Compiling proc-macro2 v0.4.21 [INFO] [stderr] Checking lazy_static v1.2.0 [INFO] [stderr] Compiling serde v1.0.80 [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 encoding-index-japanese v1.20141219.5 [INFO] [stderr] Checking encoding-index-korean v1.20141219.5 [INFO] [stderr] Checking encoding-index-tradchinese v1.20141219.5 [INFO] [stderr] Checking encoding-index-simpchinese v1.20141219.5 [INFO] [stderr] Compiling memchr v2.1.1 [INFO] [stderr] Checking encoding-index-singlebyte v1.20141219.5 [INFO] [stderr] Checking utf8-ranges v1.0.2 [INFO] [stderr] Checking itoa v0.4.3 [INFO] [stderr] Checking log v0.4.6 [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 fern v0.5.6 [INFO] [stderr] Checking encoding v0.2.33 [INFO] [stderr] Checking aho-corasick v0.6.9 [INFO] [stderr] Compiling quote v0.6.9 [INFO] [stderr] Compiling syn v0.15.18 [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>) -> 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 [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>) -> Vec { [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>) -> 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 [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>) -> Vec { [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>) -> 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 [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 151 | pub fn construct(de: DictEntry, resolvers: &Vec>) -> 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>) -> 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 [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 151 | pub fn construct(de: DictEntry, resolvers: &Vec>) -> 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> = 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 [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 57 | let mut phoneme_resolvers: Vec> = 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> = 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 [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 57 | let mut phoneme_resolvers: Vec> = 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[^ ])(?P_[^ ]+)").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[^ ])(?P_[^ ]+)").unwrap(); [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[^ ]+) +(?P.+)$").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 `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: 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: 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[^ ]+) +(?P.+)$").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: 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 3.91s [INFO] running `Command { std: "docker" "inspect" "b064eb731dcb63f7e7b8e58a4ff589cdf8cb02b1d707a263ceadb46e14d7dc5b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b064eb731dcb63f7e7b8e58a4ff589cdf8cb02b1d707a263ceadb46e14d7dc5b", kill_on_drop: false }` [INFO] [stdout] b064eb731dcb63f7e7b8e58a4ff589cdf8cb02b1d707a263ceadb46e14d7dc5b [INFO] checking detedetedetedete/DictWalker against try#7622c0f807a4e13c4db886a1681bf343795692df+rustflags=-Dnon_local_definitions for pr-120393 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdetedetedetedete%2FDictWalker" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-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-4-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-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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] 6e46d8d72baa3ead864a0d932aebdeee50f0676696923f896a6ec954e5e5be12 [INFO] running `Command { std: "docker" "start" "-a" "6e46d8d72baa3ead864a0d932aebdeee50f0676696923f896a6ec954e5e5be12", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6e46d8d72baa3ead864a0d932aebdeee50f0676696923f896a6ec954e5e5be12", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6e46d8d72baa3ead864a0d932aebdeee50f0676696923f896a6ec954e5e5be12", kill_on_drop: false }` [INFO] [stdout] 6e46d8d72baa3ead864a0d932aebdeee50f0676696923f896a6ec954e5e5be12 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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] d0892aefe2a337b0f49850fe3c74d46ae6f10f68f36ce6278af7e96848ed5242 [INFO] running `Command { std: "docker" "start" "-a" "d0892aefe2a337b0f49850fe3c74d46ae6f10f68f36ce6278af7e96848ed5242", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v0.4.21 [INFO] [stderr] Checking cfg-if v0.1.6 [INFO] [stderr] Checking lazy_static v1.2.0 [INFO] [stderr] Compiling ryu v0.2.6 [INFO] [stderr] Compiling serde v1.0.80 [INFO] [stderr] Compiling regex v1.0.6 [INFO] [stderr] Checking ucd-util v0.1.2 [INFO] [stderr] Checking encoding-index-simpchinese v1.20141219.5 [INFO] [stderr] Checking encoding-index-singlebyte v1.20141219.5 [INFO] [stderr] Checking encoding-index-korean v1.20141219.5 [INFO] [stderr] Checking encoding-index-japanese v1.20141219.5 [INFO] [stderr] Compiling memchr v2.1.1 [INFO] [stderr] Checking encoding-index-tradchinese v1.20141219.5 [INFO] [stderr] Checking utf8-ranges v1.0.2 [INFO] [stderr] Checking itoa v0.4.3 [INFO] [stderr] Checking log v0.4.6 [INFO] [stderr] Checking thread_local v0.3.6 [INFO] [stderr] Checking colored v1.6.1 [INFO] [stderr] Checking regex-syntax v0.6.3 [INFO] [stderr] Checking fern v0.5.6 [INFO] [stderr] Checking encoding v0.2.33 [INFO] [stderr] Checking aho-corasick v0.6.9 [INFO] [stderr] Compiling quote v0.6.9 [INFO] [stderr] Compiling syn v0.15.18 [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>) -> 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 [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>) -> Vec { [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>) -> 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 [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 151 | pub fn construct(de: DictEntry, resolvers: &Vec>) -> 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>) -> 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 [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>) -> Vec { [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>) -> 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 [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 151 | pub fn construct(de: DictEntry, resolvers: &Vec>) -> 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: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: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: 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> = 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 [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 57 | let mut phoneme_resolvers: Vec> = 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> = 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 [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 57 | let mut phoneme_resolvers: Vec> = 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 [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] 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 [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[^ ])(?P_[^ ]+)").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[^ ]+) +(?P.+)$").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 [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 [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/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 [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] 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 [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[^ ])(?P_[^ ]+)").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[^ ]+) +(?P.+)$").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] error: aborting due to 4 previous errors; 13 warnings emitted [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 [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 [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] [stderr] error: could not compile `dict_walker` (bin "dict_walker" test) 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") due to 5 previous errors; 13 warnings emitted [INFO] running `Command { std: "docker" "inspect" "d0892aefe2a337b0f49850fe3c74d46ae6f10f68f36ce6278af7e96848ed5242", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d0892aefe2a337b0f49850fe3c74d46ae6f10f68f36ce6278af7e96848ed5242", kill_on_drop: false }` [INFO] [stdout] d0892aefe2a337b0f49850fe3c74d46ae6f10f68f36ce6278af7e96848ed5242