[INFO] cloning repository https://github.com/dajinchu/boggle [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/dajinchu/boggle" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdajinchu%2Fboggle", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdajinchu%2Fboggle'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] d74f689c074b6440704c1958596777ba9ad7ac6c [INFO] checking dajinchu/boggle/d74f689c074b6440704c1958596777ba9ad7ac6c 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%2Fdajinchu%2Fboggle" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/dajinchu/boggle 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/dajinchu/boggle [INFO] finished tweaking git repo https://github.com/dajinchu/boggle [INFO] tweaked toml for git repo https://github.com/dajinchu/boggle written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/dajinchu/boggle 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-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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] 3cc8500fe93bf3aca2bfa6ae5e90fe0ff8b5812fa15c30491414568816603937 [INFO] running `Command { std: "docker" "start" "-a" "3cc8500fe93bf3aca2bfa6ae5e90fe0ff8b5812fa15c30491414568816603937", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3cc8500fe93bf3aca2bfa6ae5e90fe0ff8b5812fa15c30491414568816603937", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3cc8500fe93bf3aca2bfa6ae5e90fe0ff8b5812fa15c30491414568816603937", kill_on_drop: false }` [INFO] [stdout] 3cc8500fe93bf3aca2bfa6ae5e90fe0ff8b5812fa15c30491414568816603937 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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] cfa12e3d01c9dd61bb17b88da79bb3d4b43aee5dee636892cc7f6f86c50881ad [INFO] running `Command { std: "docker" "start" "-a" "cfa12e3d01c9dd61bb17b88da79bb3d4b43aee5dee636892cc7f6f86c50881ad", kill_on_drop: false }` [INFO] [stderr] Checking smallvec v1.8.0 [INFO] [stderr] Checking endian-type v0.1.2 [INFO] [stderr] Checking yada v0.5.0 [INFO] [stderr] Checking typed-arena v2.0.1 [INFO] [stderr] Checking nibble_vec v0.1.0 [INFO] [stderr] Checking radix_trie v0.2.1 [INFO] [stderr] Checking boggle v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `super::Trie` [INFO] [stdout] --> src/word_dict/radix_lib.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use super::Trie; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `linkedlist::TrieLinkedList` [INFO] [stdout] --> src/solver.rs:107:28 [INFO] [stdout] | [INFO] [stdout] 107 | use crate::word_dict::{linkedlist::TrieLinkedList, linkedlist_typedarena::TrieLinkedListArena}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::Trie` [INFO] [stdout] --> src/word_dict/radix_lib.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use super::Trie; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fmt::Debug` [INFO] [stdout] --> src/word_dict/yada.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::fmt::Debug; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::Trie` [INFO] [stdout] --> src/word_dict/yada.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use super::Trie; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::word_dict::Trie` [INFO] [stdout] --> src/main.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use crate::word_dict::Trie; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::word_dict::hashmap::TrieHashMap` [INFO] [stdout] --> src/main.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use crate::word_dict::hashmap::TrieHashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::word_dict::linkedlist::TrieLinkedList` [INFO] [stdout] --> src/main.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use crate::word_dict::linkedlist::TrieLinkedList; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fmt::Debug` [INFO] [stdout] --> src/word_dict/yada.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::fmt::Debug; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::Trie` [INFO] [stdout] --> src/word_dict/yada.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use super::Trie; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::word_dict::Trie` [INFO] [stdout] --> src/main.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use crate::word_dict::Trie; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::word_dict::hashmap::TrieHashMap` [INFO] [stdout] --> src/main.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use crate::word_dict::hashmap::TrieHashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::word_dict::linkedlist::TrieLinkedList` [INFO] [stdout] --> src/main.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use crate::word_dict::linkedlist::TrieLinkedList; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `debug` [INFO] [stdout] --> src/word_dict/linkedlist.rs:56:13 [INFO] [stdout] | [INFO] [stdout] 56 | let debug = word.starts_with("spoon"); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_debug` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/word_dict/linkedlist.rs:58:25 [INFO] [stdout] | [INFO] [stdout] 58 | while let Some((i, c)) = chars.next() { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `c` [INFO] [stdout] --> src/word_dict/radix_lib.rs:13:18 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn blank(c: char) -> TrieRadix { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_c` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `blank`, `from_file`, and `add_word` are never used [INFO] [stdout] --> src/word_dict/hashmap.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 13 | impl TrieHashMap { [INFO] [stdout] | ---------------- associated items in this implementation [INFO] [stdout] 14 | pub fn blank() -> TrieHashMap { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 21 | pub fn from_file(filename: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 30 | fn add_word(&mut self, word: &str) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `blank`, `from_file`, and `add_word` are never used [INFO] [stdout] --> src/word_dict/linkedlist.rs:35:12 [INFO] [stdout] | [INFO] [stdout] 34 | impl TrieLinkedList { [INFO] [stdout] | ------------------- associated items in this implementation [INFO] [stdout] 35 | pub fn blank<'a>(c: char) -> TrieLinkedList { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 44 | pub fn from_file(filename: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 53 | fn add_word(&mut self, word: &str) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `blank`, `from_file`, and `add_word` are never used [INFO] [stdout] --> src/word_dict/vec.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 15 | impl TrieVec { [INFO] [stdout] | ------------ associated items in this implementation [INFO] [stdout] 16 | pub fn blank() -> TrieVec { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 26 | pub fn from_file(filename: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 35 | fn add_word(&mut self, word: &str) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TrieNaive` is never constructed [INFO] [stdout] --> src/word_dict/naive.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct TrieNaive { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TrieNaive` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `blank`, `from_file`, `add_word`, `is_word`, and `is_prefix` are never used [INFO] [stdout] --> src/word_dict/naive.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 11 | impl TrieNaive { [INFO] [stdout] | -------------- associated items in this implementation [INFO] [stdout] 12 | pub fn blank() -> TrieNaive { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 16 | pub fn from_file(filename: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 27 | fn add_word(&mut self, word: &str) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 31 | pub fn is_word(&self, word: &str) -> bool { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 35 | pub fn is_prefix(&self, word: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TrieRadix` is never constructed [INFO] [stdout] --> src/word_dict/radix_lib.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct TrieRadix { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TrieRadix` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `blank`, `from_file`, and `add_word` are never used [INFO] [stdout] --> src/word_dict/radix_lib.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 12 | impl TrieRadix { [INFO] [stdout] | -------------- associated items in this implementation [INFO] [stdout] 13 | pub fn blank(c: char) -> TrieRadix { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 19 | pub fn from_file(filename: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 28 | fn add_word(&mut self, word: &str) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TrieYada` is never constructed [INFO] [stdout] --> src/word_dict/yada.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct TrieYada { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `from_file` and `from_words` are never used [INFO] [stdout] --> src/word_dict/yada.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 14 | impl TrieYada { [INFO] [stdout] | ------------- associated functions in this implementation [INFO] [stdout] 15 | pub fn from_file(filename: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 20 | fn from_words(words: Vec) -> TrieYada { [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/word_dict/yada.rs:18:33 [INFO] [stdout] | [INFO] [stdout] 16 | let file = File::open(filename)?; [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 17 | let lines = std::io::BufReader::new(file).lines(); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 18 | Ok(TrieYada::from_words(lines.flatten().collect())) [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] | [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: aborting due to 1 previous error; 18 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `boggle` (bin "boggle") due to 2 previous errors; 18 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: unused variable: `debug` [INFO] [stdout] --> src/word_dict/linkedlist.rs:56:13 [INFO] [stdout] | [INFO] [stdout] 56 | let debug = word.starts_with("spoon"); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_debug` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/word_dict/linkedlist.rs:58:25 [INFO] [stdout] | [INFO] [stdout] 58 | while let Some((i, c)) = chars.next() { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `count` [INFO] [stdout] --> src/word_dict/linkedlist.rs:161:17 [INFO] [stdout] | [INFO] [stdout] 161 | let mut count = 0; [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_count` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/word_dict/linkedlist.rs:161:13 [INFO] [stdout] | [INFO] [stdout] 161 | let mut count = 0; [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/word_dict/linkedlist_typedarena.rs:157:13 [INFO] [stdout] | [INFO] [stdout] 157 | let mut dict = TrieLinkedListArena::blank(' '); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `c` [INFO] [stdout] --> src/word_dict/radix_lib.rs:13:18 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn blank(c: char) -> TrieRadix { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_c` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `count` [INFO] [stdout] --> src/word_dict/radix_lib.rs:88:17 [INFO] [stdout] | [INFO] [stdout] 88 | let mut count = 0; [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_count` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/word_dict/radix_lib.rs:88:13 [INFO] [stdout] | [INFO] [stdout] 88 | let mut count = 0; [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dict` [INFO] [stdout] --> src/word_dict/yada.rs:63:17 [INFO] [stdout] | [INFO] [stdout] 63 | let mut dict = TrieYada::from_words( [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_dict` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/word_dict/yada.rs:63:13 [INFO] [stdout] | [INFO] [stdout] 63 | let mut dict = TrieYada::from_words( [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `count` [INFO] [stdout] --> src/word_dict/yada.rs:93:17 [INFO] [stdout] | [INFO] [stdout] 93 | let mut count = 0; [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_count` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/word_dict/yada.rs:93:13 [INFO] [stdout] | [INFO] [stdout] 93 | let mut count = 0; [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TrieNaive` is never constructed [INFO] [stdout] --> src/word_dict/naive.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct TrieNaive { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TrieNaive` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `blank`, `from_file`, `add_word`, `is_word`, and `is_prefix` are never used [INFO] [stdout] --> src/word_dict/naive.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 11 | impl TrieNaive { [INFO] [stdout] | -------------- associated items in this implementation [INFO] [stdout] 12 | pub fn blank() -> TrieNaive { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 16 | pub fn from_file(filename: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 27 | fn add_word(&mut self, word: &str) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 31 | pub fn is_word(&self, word: &str) -> bool { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 35 | pub fn is_prefix(&self, word: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `trie` is never read [INFO] [stdout] --> src/word_dict/yada.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct TrieYada { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] 11 | trie: yada::DoubleArray>, [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/word_dict/hashmap.rs:95:19 [INFO] [stdout] | [INFO] [stdout] 95 | b.iter(|| TrieHashMap::from_file("./words_alpha.txt").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] = 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/word_dict/linkedlist.rs:174:19 [INFO] [stdout] | [INFO] [stdout] 174 | b.iter(|| TrieLinkedList::from_file("./words_alpha.txt").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/word_dict/vec.rs:107:19 [INFO] [stdout] | [INFO] [stdout] 107 | b.iter(|| TrieVec::from_file("./words_alpha.txt").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/word_dict/radix_lib.rs:101:19 [INFO] [stdout] | [INFO] [stdout] 101 | b.iter(|| TrieRadix::from_file("./words_alpha.txt").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/word_dict/yada.rs:18:33 [INFO] [stdout] | [INFO] [stdout] 16 | let file = File::open(filename)?; [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 17 | let lines = std::io::BufReader::new(file).lines(); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 18 | Ok(TrieYada::from_words(lines.flatten().collect())) [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] | [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/word_dict/yada.rs:106:19 [INFO] [stdout] | [INFO] [stdout] 106 | b.iter(|| TrieYada::from_file("./words_alpha.txt").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: aborting due to 6 previous errors; 22 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `boggle` (bin "boggle" test) due to 7 previous errors; 22 warnings emitted [INFO] running `Command { std: "docker" "inspect" "cfa12e3d01c9dd61bb17b88da79bb3d4b43aee5dee636892cc7f6f86c50881ad", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cfa12e3d01c9dd61bb17b88da79bb3d4b43aee5dee636892cc7f6f86c50881ad", kill_on_drop: false }` [INFO] [stdout] cfa12e3d01c9dd61bb17b88da79bb3d4b43aee5dee636892cc7f6f86c50881ad