[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] building dajinchu/boggle against try#23647e694de8d0904848ad068b2e0ec2dd098c37+target=wasm32-wasip1 for pr-149868 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdajinchu%2Fboggle" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [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-1-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/dajinchu/boggle on toolchain 23647e694de8d0904848ad068b2e0ec2dd098c37 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+23647e694de8d0904848ad068b2e0ec2dd098c37" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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" "+23647e694de8d0904848ad068b2e0ec2dd098c37" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded typed-arena v2.0.1 [INFO] [stderr] Downloaded yada v0.5.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+23647e694de8d0904848ad068b2e0ec2dd098c37" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c46c77cbb1828b3c85e87bf0b5dcec29cc7b6b4fe739b42e0817a35529b491ba [INFO] running `Command { std: "docker" "start" "-a" "c46c77cbb1828b3c85e87bf0b5dcec29cc7b6b4fe739b42e0817a35529b491ba", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c46c77cbb1828b3c85e87bf0b5dcec29cc7b6b4fe739b42e0817a35529b491ba", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c46c77cbb1828b3c85e87bf0b5dcec29cc7b6b4fe739b42e0817a35529b491ba", kill_on_drop: false }` [INFO] [stdout] c46c77cbb1828b3c85e87bf0b5dcec29cc7b6b4fe739b42e0817a35529b491ba [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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" "-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+23647e694de8d0904848ad068b2e0ec2dd098c37" "build" "--frozen" "--message-format=json" "--target" "wasm32-wasip1", kill_on_drop: false }` [INFO] [stdout] 4224df07c316d356889f4273637405ae13314320aecc8eff4784e775758b57a5 [INFO] running `Command { std: "docker" "start" "-a" "4224df07c316d356889f4273637405ae13314320aecc8eff4784e775758b57a5", kill_on_drop: false }` [INFO] [stderr] Compiling nibble_vec v0.1.0 [INFO] [stderr] Compiling endian-type v0.1.2 [INFO] [stderr] Compiling typed-arena v2.0.1 [INFO] [stderr] Compiling yada v0.5.0 [INFO] [stderr] Compiling radix_trie v0.2.1 [INFO] [stderr] Compiling 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)]` (part of `#[warn(unused)]`) on by default [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)]` (part of `#[warn(unused)]`) 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: struct `TrieHashMap` is never constructed [INFO] [stdout] --> src/word_dict/hashmap.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct TrieHashMap { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) 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/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] [INFO] [stdout] warning: struct `TrieLinkedList` is never constructed [INFO] [stdout] --> src/word_dict/linkedlist.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct TrieLinkedList { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `print_siblings` is never used [INFO] [stdout] --> src/word_dict/linkedlist.rs:15:4 [INFO] [stdout] | [INFO] [stdout] 15 | fn print_siblings(trie: Option<&TrieLinkedList>) -> String { [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/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: struct `TrieVec` is never constructed [INFO] [stdout] --> src/word_dict/vec.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct TrieVec { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `WordDict` is never used [INFO] [stdout] --> src/word_dict/vec.rs:13:10 [INFO] [stdout] | [INFO] [stdout] 13 | pub type WordDict = [Option; 26]; [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: function `char_to_index` is never used [INFO] [stdout] --> src/word_dict/vec.rs:70:4 [INFO] [stdout] | [INFO] [stdout] 70 | fn char_to_index(c: char) -> usize { [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] [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] [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] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.66s [INFO] running `Command { std: "docker" "inspect" "4224df07c316d356889f4273637405ae13314320aecc8eff4784e775758b57a5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4224df07c316d356889f4273637405ae13314320aecc8eff4784e775758b57a5", kill_on_drop: false }` [INFO] [stdout] 4224df07c316d356889f4273637405ae13314320aecc8eff4784e775758b57a5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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" "-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+23647e694de8d0904848ad068b2e0ec2dd098c37" "test" "--frozen" "--no-run" "--message-format=json" "--target" "wasm32-wasip1", kill_on_drop: false }` [INFO] [stdout] b16e4ec268bb9fe1ab25657d3e0aa961a5b6d559b997ef0d310e8f5b3b4e918a [INFO] running `Command { std: "docker" "start" "-a" "b16e4ec268bb9fe1ab25657d3e0aa961a5b6d559b997ef0d310e8f5b3b4e918a", kill_on_drop: false }` [INFO] [stderr] Compiling boggle v0.1.0 (/opt/rustwide/workdir) [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)]` (part of `#[warn(unused)]`) 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 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)]` (part of `#[warn(unused)]`) 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: 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)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `count` [INFO] [stdout] --> src/word_dict/linkedlist.rs:161:13 [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_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: 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: `count` [INFO] [stdout] --> src/word_dict/radix_lib.rs:88:13 [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/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: `dict` [INFO] [stdout] --> src/word_dict/yada.rs:63:13 [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: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: unused variable: `count` [INFO] [stdout] --> src/word_dict/yada.rs:93:13 [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: 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: `#[warn(dead_code)]` (part of `#[warn(unused)]`) 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] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.75s [INFO] running `Command { std: "docker" "inspect" "b16e4ec268bb9fe1ab25657d3e0aa961a5b6d559b997ef0d310e8f5b3b4e918a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b16e4ec268bb9fe1ab25657d3e0aa961a5b6d559b997ef0d310e8f5b3b4e918a", kill_on_drop: false }` [INFO] [stdout] b16e4ec268bb9fe1ab25657d3e0aa961a5b6d559b997ef0d310e8f5b3b4e918a