[INFO] cloning repository https://github.com/Yasu-umi/sudachiclone-rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Yasu-umi/sudachiclone-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FYasu-umi%2Fsudachiclone-rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FYasu-umi%2Fsudachiclone-rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] c0ddcfd94495f71a1b2ce0dd177e3efc45b68f8c [INFO] checking Yasu-umi/sudachiclone-rs/c0ddcfd94495f71a1b2ce0dd177e3efc45b68f8c 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%2FYasu-umi%2Fsudachiclone-rs" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Yasu-umi/sudachiclone-rs 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/Yasu-umi/sudachiclone-rs [INFO] finished tweaking git repo https://github.com/Yasu-umi/sudachiclone-rs [INFO] tweaked toml for git repo https://github.com/Yasu-umi/sudachiclone-rs written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/Yasu-umi/sudachiclone-rs already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] 86574a1ea2bb3bbd26681caddb724818e3c980b3f91366099caaa75c450a5b1b [INFO] running `Command { std: "docker" "start" "-a" "86574a1ea2bb3bbd26681caddb724818e3c980b3f91366099caaa75c450a5b1b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "86574a1ea2bb3bbd26681caddb724818e3c980b3f91366099caaa75c450a5b1b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "86574a1ea2bb3bbd26681caddb724818e3c980b3f91366099caaa75c450a5b1b", kill_on_drop: false }` [INFO] [stdout] 86574a1ea2bb3bbd26681caddb724818e3c980b3f91366099caaa75c450a5b1b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] 9b5ffef1c219275946b23fe466a2703409de82fea4b57cbdd5332b13f0048635 [INFO] running `Command { std: "docker" "start" "-a" "9b5ffef1c219275946b23fe466a2703409de82fea4b57cbdd5332b13f0048635", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.66 [INFO] [stderr] Compiling autocfg v1.0.0 [INFO] [stderr] Compiling memchr v2.3.0 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Compiling proc-macro2 v1.0.8 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Compiling serde v1.0.104 [INFO] [stderr] Compiling getrandom v0.1.14 [INFO] [stderr] Compiling ryu v1.0.2 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling syn v1.0.14 [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Checking ppv-lite86 v0.2.6 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling num-traits v0.2.12 [INFO] [stderr] Compiling num-integer v0.1.43 [INFO] [stderr] Checking unreachable v1.0.0 [INFO] [stderr] Checking regex-automata v0.1.8 [INFO] [stderr] Checking itoa v0.4.4 [INFO] [stderr] Checking unicode-width v0.1.7 [INFO] [stderr] Compiling encoding_rs v0.8.22 [INFO] [stderr] Checking c2-chacha v0.2.3 [INFO] [stderr] Checking lazy_static v0.2.11 [INFO] [stderr] Checking thread_local v0.3.4 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Compiling quote v1.0.2 [INFO] [stderr] Checking atty v0.2.11 [INFO] [stderr] Checking time v0.1.42 [INFO] [stderr] Checking thread_local v1.0.1 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking csv-core v0.1.6 [INFO] [stderr] Checking aho-corasick v0.7.6 [INFO] [stderr] Checking ansi_term v0.11.0 [INFO] [stderr] Checking rand_chacha v0.2.1 [INFO] [stderr] Checking smallvec v1.1.0 [INFO] [stderr] Checking termcolor v1.1.0 [INFO] [stderr] Checking strsim v0.8.0 [INFO] [stderr] Checking regex-syntax v0.6.13 [INFO] [stderr] Checking unicode-normalization v0.1.11 [INFO] [stderr] Checking clap v2.33.0 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking chrono v0.4.11 [INFO] [stderr] Checking stderrlog v0.4.3 [INFO] [stderr] Checking symlink v0.1.0 [INFO] [stderr] Checking regex v1.3.3 [INFO] [stderr] Checking bstr v0.2.9 [INFO] [stderr] Checking serde_json v1.0.44 [INFO] [stderr] Compiling thiserror-impl v1.0.9 [INFO] [stderr] Checking csv v1.1.2 [INFO] [stderr] Checking thiserror v1.0.9 [INFO] [stderr] Checking sudachiclone v0.2.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around index expression [INFO] [stdout] --> src/dictionary_lib/word_id_table.rs:22:20 [INFO] [stdout] | [INFO] [stdout] 22 | self.bytes[(offset + i * 4)], [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 22 - self.bytes[(offset + i * 4)], [INFO] [stdout] 22 + self.bytes[offset + i * 4], [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around index expression [INFO] [stdout] --> src/dictionary_lib/word_id_table.rs:23:20 [INFO] [stdout] | [INFO] [stdout] 23 | self.bytes[(offset + i * 4 + 1)], [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 23 - self.bytes[(offset + i * 4 + 1)], [INFO] [stdout] 23 + self.bytes[offset + i * 4 + 1], [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around index expression [INFO] [stdout] --> src/dictionary_lib/word_id_table.rs:24:20 [INFO] [stdout] | [INFO] [stdout] 24 | self.bytes[(offset + i * 4 + 2)], [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 24 - self.bytes[(offset + i * 4 + 2)], [INFO] [stdout] 24 + self.bytes[offset + i * 4 + 2], [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around index expression [INFO] [stdout] --> src/dictionary_lib/word_id_table.rs:25:20 [INFO] [stdout] | [INFO] [stdout] 25 | self.bytes[(offset + i * 4 + 3)], [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 25 - self.bytes[(offset + i * 4 + 3)], [INFO] [stdout] 25 + self.bytes[offset + i * 4 + 3], [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around index expression [INFO] [stdout] --> src/dictionary_lib/word_id_table.rs:22:20 [INFO] [stdout] | [INFO] [stdout] 22 | self.bytes[(offset + i * 4)], [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 22 - self.bytes[(offset + i * 4)], [INFO] [stdout] 22 + self.bytes[offset + i * 4], [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around index expression [INFO] [stdout] --> src/dictionary_lib/word_id_table.rs:23:20 [INFO] [stdout] | [INFO] [stdout] 23 | self.bytes[(offset + i * 4 + 1)], [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 23 - self.bytes[(offset + i * 4 + 1)], [INFO] [stdout] 23 + self.bytes[offset + i * 4 + 1], [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around index expression [INFO] [stdout] --> src/dictionary_lib/word_id_table.rs:24:20 [INFO] [stdout] | [INFO] [stdout] 24 | self.bytes[(offset + i * 4 + 2)], [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 24 - self.bytes[(offset + i * 4 + 2)], [INFO] [stdout] 24 + self.bytes[offset + i * 4 + 2], [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around index expression [INFO] [stdout] --> src/dictionary_lib/word_id_table.rs:25:20 [INFO] [stdout] | [INFO] [stdout] 25 | self.bytes[(offset + i * 4 + 3)], [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 25 - self.bytes[(offset + i * 4 + 3)], [INFO] [stdout] 25 + self.bytes[offset + i * 4 + 3], [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/config.rs:67:11 [INFO] [stdout] | [INFO] [stdout] 67 | Err(_) => None, [INFO] [stdout] | ^^^^^^ matches no values because `Infallible` is uninhabited [INFO] [stdout] | [INFO] [stdout] = note: to learn more about uninhabited types, see https://doc.rust-lang.org/nomicon/exotic-sizes.html#empty-types [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/config.rs:67:11 [INFO] [stdout] | [INFO] [stdout] 67 | Err(_) => None, [INFO] [stdout] | ^^^^^^ matches no values because `Infallible` is uninhabited [INFO] [stdout] | [INFO] [stdout] = note: to learn more about uninhabited types, see https://doc.rust-lang.org/nomicon/exotic-sizes.html#empty-types [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [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/dictionary.rs:119:8 [INFO] [stdout] | [INFO] [stdout] 79 | let mut system_dictionary = [INFO] [stdout] | ----------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 82 | let char_category = Dictionary::read_character_definition(config.char_def_path()?)?; [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 87 | let lexicon_set = Arc::new(Mutex::new(LexiconSet::new(system_dictionary.lexicon))); [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 88 | let grammar = Arc::new(Mutex::new(system_dictionary.grammar)); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 89 | [INFO] [stdout] 90 | let input_text_plugins = Arc::new(get_input_text_plugins(&config)?); [INFO] [stdout] | ------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 91 | [INFO] [stdout] 92 | let oov_provider_plugins = Arc::new(get_oov_provider_plugins(&config, Arc::clone(&grammar))?); [INFO] [stdout] | -------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 95 | let path_rewrite_plugins = Arc::new(path_rewrite_plugins); [INFO] [stdout] | -------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 119 | Ok(Dictionary::new( [INFO] [stdout] | ________^ [INFO] [stdout] 120 | | &grammar, [INFO] [stdout] 121 | | &lexicon_set, [INFO] [stdout] 122 | | &input_text_plugins, [INFO] [stdout] 123 | | &oov_provider_plugins, [INFO] [stdout] 124 | | &path_rewrite_plugins, [INFO] [stdout] 125 | | )) [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_____these values have significant drop implementation and will observe changes in drop order under Edition 2024 [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] 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/dictionary_lib/binary_dictionary.rs:68:8 [INFO] [stdout] | [INFO] [stdout] 65 | let grammar = Grammar::from_reader(reader)?; [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 68 | Ok(BinaryDictionary::new(grammar, header, lexicon)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [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/dictionary_lib/grammar.rs:49:8 [INFO] [stdout] | [INFO] [stdout] 49 | Ok(Grammar { [INFO] [stdout] | ________^ [INFO] [stdout] 50 | | bos_parameter: [0, 0, 0], [INFO] [stdout] 51 | | eos_parameter: [0, 0, 0], [INFO] [stdout] 52 | | character_category: None, [INFO] [stdout] ... | [INFO] [stdout] 55 | | matrix_view, [INFO] [stdout] 56 | | }) [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_____these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [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/lattice.rs:27:17 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn new(grammar: Arc>) -> Lattice { [INFO] [stdout] | ---------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 22 | let mut bos_node = LatticeNode::empty(bos_params[0], bos_params[1], bos_params[2] as i32); [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 27 | eos_node: None, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [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/lattice_node.rs:47:16 [INFO] [stdout] | [INFO] [stdout] 33 | let best_previous_node = None; [INFO] [stdout] | ------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 47 | lexicon: None, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [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/lattice_node.rs:160:27 [INFO] [stdout] | [INFO] [stdout] 151 | let n = node.lock().unwrap(); [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 160 | best_previous_node: n.best_previous_node.clone(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [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/lattice_node.rs:163:16 [INFO] [stdout] | [INFO] [stdout] 151 | let n = node.lock().unwrap(); [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 163 | lexicon: n.lexicon.clone(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [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/morpheme_list.rs:22:19 [INFO] [stdout] | [INFO] [stdout] 17 | input_text: UTF8InputText, [INFO] [stdout] | ------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 18 | grammar: Arc>, [INFO] [stdout] | ---------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 19 | path: Vec>>, [INFO] [stdout] | ---------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 22 | input_text: Arc::new(Mutex::new(input_text)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [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/plugin/default_input_text_plugin.rs:153:8 [INFO] [stdout] | [INFO] [stdout] 121 | let mut ignore_normalize_set = HashSet::new(); [INFO] [stdout] | -------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 153 | Ok(DefaultInputTextPlugin { [INFO] [stdout] | ________^ [INFO] [stdout] 154 | | key_lengths, [INFO] [stdout] 155 | | replace_char_map, [INFO] [stdout] 156 | | ignore_normalize_set, [INFO] [stdout] 157 | | }) [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [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/plugin/mecab_oov_plugin.rs:226:14 [INFO] [stdout] | [INFO] [stdout] 211 | let mut node = LatticeNode::empty(oov.left_id, oov.right_id, oov.cost); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 226 | Arc::new(Mutex::new(node)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.deref()` on a reference in this situation does nothing [INFO] [stdout] --> src/tokenizer.rs:99:33 [INFO] [stdout] | [INFO] [stdout] 99 | process_oov(oov_plugin.deref(), input, i, &mut has_words, &mut lattice); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the type `OovProviderPlugin` does not implement `Deref`, so calling `deref` on `&OovProviderPlugin` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] 99 - process_oov(oov_plugin.deref(), input, i, &mut has_words, &mut lattice); [INFO] [stdout] 99 + process_oov(oov_plugin, input, i, &mut has_words, &mut lattice); [INFO] [stdout] | [INFO] [stdout] help: if you meant to clone `OovProviderPlugin`, implement `Clone` for it [INFO] [stdout] --> src/plugin/oov_provider_plugin.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 + #[derive(Clone)] [INFO] [stdout] 14 | pub enum OovProviderPlugin { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.deref()` on a reference in this situation does nothing [INFO] [stdout] --> src/tokenizer.rs:104:33 [INFO] [stdout] | [INFO] [stdout] 104 | process_oov(oov_plugin.deref(), input, i, &mut has_words, &mut lattice); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the type `OovProviderPlugin` does not implement `Deref`, so calling `deref` on `&OovProviderPlugin` copies the reference, which does not do anything and can be removed [INFO] [stdout] help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] 104 - process_oov(oov_plugin.deref(), input, i, &mut has_words, &mut lattice); [INFO] [stdout] 104 + process_oov(oov_plugin, input, i, &mut has_words, &mut lattice); [INFO] [stdout] | [INFO] [stdout] help: if you meant to clone `OovProviderPlugin`, implement `Clone` for it [INFO] [stdout] --> src/plugin/oov_provider_plugin.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 + #[derive(Clone)] [INFO] [stdout] 14 | pub enum OovProviderPlugin { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/tokenizer.rs:108:16 [INFO] [stdout] | [INFO] [stdout] 108 | panic!(format!("there is no morpheme at {}", i)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `panic!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 108 - panic!(format!("there is no morpheme at {}", i)); [INFO] [stdout] 108 + panic!("there is no morpheme at {}", i); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] 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/tokenizer.rs:205:10 [INFO] [stdout] | [INFO] [stdout] 166 | text: T, [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 167 | mode: Option, [INFO] [stdout] 168 | logger: Option>, [INFO] [stdout] | ---------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 178 | let mut builder = UTF8InputTextBuilder::new(text.as_ref(), Arc::clone(&self.grammar)); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 184 | let input = builder.build(); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 187 | let mut lattice = self.build_lattice(&input); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 191 | let path = lattice.get_best_path(); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 200 | let path = self.split_path(path, mode); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 205 | Some(MorphemeList::new(input, Arc::clone(&self.grammar), path)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 11 previous errors; 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `sudachiclone` (lib) due to 12 previous errors; 8 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [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/dictionary.rs:119:8 [INFO] [stdout] | [INFO] [stdout] 79 | let mut system_dictionary = [INFO] [stdout] | ----------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 82 | let char_category = Dictionary::read_character_definition(config.char_def_path()?)?; [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 87 | let lexicon_set = Arc::new(Mutex::new(LexiconSet::new(system_dictionary.lexicon))); [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 88 | let grammar = Arc::new(Mutex::new(system_dictionary.grammar)); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 89 | [INFO] [stdout] 90 | let input_text_plugins = Arc::new(get_input_text_plugins(&config)?); [INFO] [stdout] | ------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 91 | [INFO] [stdout] 92 | let oov_provider_plugins = Arc::new(get_oov_provider_plugins(&config, Arc::clone(&grammar))?); [INFO] [stdout] | -------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 95 | let path_rewrite_plugins = Arc::new(path_rewrite_plugins); [INFO] [stdout] | -------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 119 | Ok(Dictionary::new( [INFO] [stdout] | ________^ [INFO] [stdout] 120 | | &grammar, [INFO] [stdout] 121 | | &lexicon_set, [INFO] [stdout] 122 | | &input_text_plugins, [INFO] [stdout] 123 | | &oov_provider_plugins, [INFO] [stdout] 124 | | &path_rewrite_plugins, [INFO] [stdout] 125 | | )) [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_____these values have significant drop implementation and will observe changes in drop order under Edition 2024 [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] 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/dictionary_lib/binary_dictionary.rs:68:8 [INFO] [stdout] | [INFO] [stdout] 65 | let grammar = Grammar::from_reader(reader)?; [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 68 | Ok(BinaryDictionary::new(grammar, header, lexicon)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [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/dictionary_lib/double_array_lexicon.rs:165:5 [INFO] [stdout] | [INFO] [stdout] 150 | let mut reader = BufReader::new( [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 165 | DoubleArrayLexicon::from_reader(&mut reader).unwrap() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [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/dictionary_lib/grammar.rs:49:8 [INFO] [stdout] | [INFO] [stdout] 49 | Ok(Grammar { [INFO] [stdout] | ________^ [INFO] [stdout] 50 | | bos_parameter: [0, 0, 0], [INFO] [stdout] 51 | | eos_parameter: [0, 0, 0], [INFO] [stdout] 52 | | character_category: None, [INFO] [stdout] ... | [INFO] [stdout] 55 | | matrix_view, [INFO] [stdout] 56 | | }) [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_____these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [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/lattice.rs:27:17 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn new(grammar: Arc>) -> Lattice { [INFO] [stdout] | ---------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 22 | let mut bos_node = LatticeNode::empty(bos_params[0], bos_params[1], bos_params[2] as i32); [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 27 | eos_node: None, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [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/lattice_node.rs:47:16 [INFO] [stdout] | [INFO] [stdout] 33 | let best_previous_node = None; [INFO] [stdout] | ------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 47 | lexicon: None, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [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/lattice_node.rs:160:27 [INFO] [stdout] | [INFO] [stdout] 151 | let n = node.lock().unwrap(); [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 160 | best_previous_node: n.best_previous_node.clone(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [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/lattice_node.rs:163:16 [INFO] [stdout] | [INFO] [stdout] 151 | let n = node.lock().unwrap(); [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 163 | lexicon: n.lexicon.clone(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [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/morpheme_list.rs:22:19 [INFO] [stdout] | [INFO] [stdout] 17 | input_text: UTF8InputText, [INFO] [stdout] | ------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 18 | grammar: Arc>, [INFO] [stdout] | ---------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 19 | path: Vec>>, [INFO] [stdout] | ---------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 22 | input_text: Arc::new(Mutex::new(input_text)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [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/plugin/default_input_text_plugin.rs:153:8 [INFO] [stdout] | [INFO] [stdout] 121 | let mut ignore_normalize_set = HashSet::new(); [INFO] [stdout] | -------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 153 | Ok(DefaultInputTextPlugin { [INFO] [stdout] | ________^ [INFO] [stdout] 154 | | key_lengths, [INFO] [stdout] 155 | | replace_char_map, [INFO] [stdout] 156 | | ignore_normalize_set, [INFO] [stdout] 157 | | }) [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [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/plugin/default_input_text_plugin.rs:202:29 [INFO] [stdout] | [INFO] [stdout] 197 | let character_category = CharacterCategory::read_character_definition( [INFO] [stdout] | ------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 202 | character_category: Some(character_category), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [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/plugin/mecab_oov_plugin.rs:226:14 [INFO] [stdout] | [INFO] [stdout] 211 | let mut node = LatticeNode::empty(oov.left_id, oov.right_id, oov.cost); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 226 | Arc::new(Mutex::new(node)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [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/plugin/prolonged_soundmark_input_text_plugin.rs:95:29 [INFO] [stdout] | [INFO] [stdout] 83 | let character_category = CharacterCategory::read_character_definition( [INFO] [stdout] | ------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 95 | character_category: Some(character_category), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.deref()` on a reference in this situation does nothing [INFO] [stdout] --> src/tokenizer.rs:99:33 [INFO] [stdout] | [INFO] [stdout] 99 | process_oov(oov_plugin.deref(), input, i, &mut has_words, &mut lattice); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the type `OovProviderPlugin` does not implement `Deref`, so calling `deref` on `&OovProviderPlugin` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] 99 - process_oov(oov_plugin.deref(), input, i, &mut has_words, &mut lattice); [INFO] [stdout] 99 + process_oov(oov_plugin, input, i, &mut has_words, &mut lattice); [INFO] [stdout] | [INFO] [stdout] help: if you meant to clone `OovProviderPlugin`, implement `Clone` for it [INFO] [stdout] --> src/plugin/oov_provider_plugin.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 + #[derive(Clone)] [INFO] [stdout] 14 | pub enum OovProviderPlugin { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.deref()` on a reference in this situation does nothing [INFO] [stdout] --> src/tokenizer.rs:104:33 [INFO] [stdout] | [INFO] [stdout] 104 | process_oov(oov_plugin.deref(), input, i, &mut has_words, &mut lattice); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the type `OovProviderPlugin` does not implement `Deref`, so calling `deref` on `&OovProviderPlugin` copies the reference, which does not do anything and can be removed [INFO] [stdout] help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] 104 - process_oov(oov_plugin.deref(), input, i, &mut has_words, &mut lattice); [INFO] [stdout] 104 + process_oov(oov_plugin, input, i, &mut has_words, &mut lattice); [INFO] [stdout] | [INFO] [stdout] help: if you meant to clone `OovProviderPlugin`, implement `Clone` for it [INFO] [stdout] --> src/plugin/oov_provider_plugin.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 + #[derive(Clone)] [INFO] [stdout] 14 | pub enum OovProviderPlugin { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/tokenizer.rs:108:16 [INFO] [stdout] | [INFO] [stdout] 108 | panic!(format!("there is no morpheme at {}", i)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `panic!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 108 - panic!(format!("there is no morpheme at {}", i)); [INFO] [stdout] 108 + panic!("there is no morpheme at {}", i); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] 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/tokenizer.rs:205:10 [INFO] [stdout] | [INFO] [stdout] 166 | text: T, [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 167 | mode: Option, [INFO] [stdout] 168 | logger: Option>, [INFO] [stdout] | ---------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 178 | let mut builder = UTF8InputTextBuilder::new(text.as_ref(), Arc::clone(&self.grammar)); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 184 | let input = builder.build(); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 187 | let mut lattice = self.build_lattice(&input); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 191 | let path = lattice.get_best_path(); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 200 | let path = self.split_path(path, mode); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 205 | Some(MorphemeList::new(input, Arc::clone(&self.grammar), path)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [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/tokenizer.rs:374:7 [INFO] [stdout] | [INFO] [stdout] 361 | let ms = tokenizer [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 374 | ms.get(0).unwrap().part_of_speech() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [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/utf8_input_text_builder.rs:243:37 [INFO] [stdout] | [INFO] [stdout] 233 | let character_category = CharacterCategory::read_character_definition( [INFO] [stdout] | ------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 241 | let mut grammar = MockGrammar::new(); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 242 | grammar.set_character_category(Some(character_category)); [INFO] [stdout] 243 | UTF8InputTextBuilder::new(TEXT, Arc::new(Mutex::new(grammar))) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 16 previous errors; 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `sudachiclone` (lib test) due to 17 previous errors; 8 warnings emitted [INFO] running `Command { std: "docker" "inspect" "9b5ffef1c219275946b23fe466a2703409de82fea4b57cbdd5332b13f0048635", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9b5ffef1c219275946b23fe466a2703409de82fea4b57cbdd5332b13f0048635", kill_on_drop: false }` [INFO] [stdout] 9b5ffef1c219275946b23fe466a2703409de82fea4b57cbdd5332b13f0048635