[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/81ebbf52a0e124172b7697a1f8ee0748f98ed60e against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [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 4d98531622e1718ae0bc3c7a1ab9cd8938428452 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "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" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1a24f7567f262f9bf3a3ccbdfdf79f3ddaecfb262f1b80a7a89ee3e5b12742f4 [INFO] running `Command { std: "docker" "start" "-a" "1a24f7567f262f9bf3a3ccbdfdf79f3ddaecfb262f1b80a7a89ee3e5b12742f4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1a24f7567f262f9bf3a3ccbdfdf79f3ddaecfb262f1b80a7a89ee3e5b12742f4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1a24f7567f262f9bf3a3ccbdfdf79f3ddaecfb262f1b80a7a89ee3e5b12742f4", kill_on_drop: false }` [INFO] [stdout] 1a24f7567f262f9bf3a3ccbdfdf79f3ddaecfb262f1b80a7a89ee3e5b12742f4 [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 -Dtail_expr_drop_order" "-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6f3362219413f80d2870a0c52776bc0bf128f50984ec06b42edfea361b741485 [INFO] running `Command { std: "docker" "start" "-a" "6f3362219413f80d2870a0c52776bc0bf128f50984ec06b42edfea361b741485", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [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] Checking cfg-if v0.1.6 [INFO] [stderr] Compiling version_check v0.1.5 [INFO] [stderr] Compiling num-traits v0.2.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 num-integer v0.1.39 [INFO] [stderr] Compiling regex v1.0.6 [INFO] [stderr] Checking unicode-width v0.1.5 [INFO] [stderr] Checking ucd-util v0.1.2 [INFO] [stderr] Checking strsim v0.7.0 [INFO] [stderr] Checking bitflags v1.0.4 [INFO] [stderr] Checking itoa v0.4.3 [INFO] [stderr] Checking log v0.4.6 [INFO] [stderr] Checking textwrap v0.10.0 [INFO] [stderr] Checking encoding-index-simpchinese v1.20141219.5 [INFO] [stderr] Checking encoding-index-tradchinese v1.20141219.5 [INFO] [stderr] Checking thread_local v0.3.6 [INFO] [stderr] Checking regex-syntax v0.6.3 [INFO] [stderr] Checking colored v1.6.1 [INFO] [stderr] Checking encoding-index-korean v1.20141219.5 [INFO] [stderr] Checking encoding-index-japanese v1.20141219.5 [INFO] [stderr] Checking encoding-index-singlebyte v1.20141219.5 [INFO] [stderr] Checking utf8-ranges v1.0.2 [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] Compiling quote v0.6.9 [INFO] [stderr] Compiling syn v0.15.18 [INFO] [stderr] Checking aho-corasick v0.6.9 [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>) -> 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: if this is an object-safe trait, 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: if this is an object-safe trait, 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: if this is an object-safe trait, 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: if this is an object-safe trait, 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: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: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: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: if this is an object-safe trait, 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: if this is an object-safe trait, 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 `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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/phoneme_resolvers.rs:138:12 [INFO] [stdout] | [INFO] [stdout] 137 | let path: CString = CString::new(model_folder_path.as_os_str().to_str().unwrap())?; [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 138 | Ok(TensorflowPhonemeResolver { [INFO] [stdout] | ____________^ [INFO] [stdout] 139 | | ptr: unsafe { model_runner::getModelRunnerInstance(path.as_ptr()) }, [INFO] [stdout] 140 | | allowed_tokens: HashSet::from_iter(model_def.in_tokens) [INFO] [stdout] 141 | | }) [INFO] [stdout] | | ^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [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: aborting due to 1 previous error; 13 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `dict_walker` (bin "dict_walker") due to 2 previous errors; 13 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [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/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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/phoneme_resolvers.rs:138:12 [INFO] [stdout] | [INFO] [stdout] 137 | let path: CString = CString::new(model_folder_path.as_os_str().to_str().unwrap())?; [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 138 | Ok(TensorflowPhonemeResolver { [INFO] [stdout] | ____________^ [INFO] [stdout] 139 | | ptr: unsafe { model_runner::getModelRunnerInstance(path.as_ptr()) }, [INFO] [stdout] 140 | | allowed_tokens: HashSet::from_iter(model_def.in_tokens) [INFO] [stdout] 141 | | }) [INFO] [stdout] | | ^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [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: aborting due to 1 previous error; 13 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `dict_walker` (bin "dict_walker" test) due to 2 previous errors; 13 warnings emitted [INFO] running `Command { std: "docker" "inspect" "6f3362219413f80d2870a0c52776bc0bf128f50984ec06b42edfea361b741485", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6f3362219413f80d2870a0c52776bc0bf128f50984ec06b42edfea361b741485", kill_on_drop: false }` [INFO] [stdout] 6f3362219413f80d2870a0c52776bc0bf128f50984ec06b42edfea361b741485