[INFO] fetching crate nlpo3 1.3.2... [INFO] testing nlpo3-1.3.2 against beta-2022-04-10 for beta-1.61-1 [INFO] extracting crate nlpo3 1.3.2 into /workspace/builds/worker-1/source [INFO] validating manifest of crates.io crate nlpo3 1.3.2 on toolchain beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-1/source/.cargo/config [INFO] started tweaking crates.io crate nlpo3 1.3.2 [INFO] removed 1 missing tests [INFO] finished tweaking crates.io crate nlpo3 1.3.2 [INFO] tweaked toml for crates.io crate nlpo3 1.3.2 written to /workspace/builds/worker-1/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ca8c38a91787e9e7118edc35cb775841b7c05765d3f19fd450168424c2966297 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "ca8c38a91787e9e7118edc35cb775841b7c05765d3f19fd450168424c2966297", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ca8c38a91787e9e7118edc35cb775841b7c05765d3f19fd450168424c2966297", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ca8c38a91787e9e7118edc35cb775841b7c05765d3f19fd450168424c2966297", kill_on_drop: false }` [INFO] [stdout] ca8c38a91787e9e7118edc35cb775841b7c05765d3f19fd450168424c2966297 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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=warn" "-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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 0ac2b3b71edab46f6d5e1e49a55a19cb23cce5ff2a7a2c3fe5802da2da5d643e [INFO] running `Command { std: "docker" "start" "-a" "0ac2b3b71edab46f6d5e1e49a55a19cb23cce5ff2a7a2c3fe5802da2da5d643e", kill_on_drop: false }` [INFO] [stderr] Compiling compare v0.1.0 [INFO] [stderr] Compiling bytecount v0.6.2 [INFO] [stderr] Compiling binary-heap-plus v0.4.1 [INFO] [stderr] Compiling nlpo3 v1.3.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: associated function is never used: `is_full_string` [INFO] [stdout] --> src/fixed_bytes_str/four_bytes.rs:306:12 [INFO] [stdout] | [INFO] [stdout] 306 | pub fn is_full_string(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `full_string_bytes_len` [INFO] [stdout] --> src/fixed_bytes_str/four_bytes.rs:316:12 [INFO] [stdout] | [INFO] [stdout] 316 | pub fn full_string_bytes_len(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `convert_raw_bytes_to_utf8_bytes` [INFO] [stdout] --> src/fixed_bytes_str/four_bytes.rs:396:12 [INFO] [stdout] | [INFO] [stdout] 396 | pub fn convert_raw_bytes_to_utf8_bytes(input: &[u8]) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `graph` [INFO] [stdout] --> src/tokenizer/newmm.rs:72:5 [INFO] [stdout] | [INFO] [stdout] 72 | graph: HashMap>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `BFSSearchError` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/tokenizer/newmm.rs:70:10 [INFO] [stdout] | [INFO] [stdout] 70 | #[derive(Clone, Debug)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `children` [INFO] [stdout] --> src/tokenizer/trie.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | children: HashMap, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `TrieNode` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/tokenizer/trie.rs:18:10 [INFO] [stdout] | [INFO] [stdout] 18 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `end` [INFO] [stdout] --> src/tokenizer/trie.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | end: bool, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `TrieNode` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/tokenizer/trie.rs:18:10 [INFO] [stdout] | [INFO] [stdout] 18 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `find_child` [INFO] [stdout] --> src/tokenizer/trie.rs:39:8 [INFO] [stdout] | [INFO] [stdout] 39 | fn find_child(&self, word: &CustomStringBytesSlice) -> Option<&Self> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `remove_child` [INFO] [stdout] --> src/tokenizer/trie.rs:43:8 [INFO] [stdout] | [INFO] [stdout] 43 | fn remove_child(&mut self, word: &CustomStringBytesSlice) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `find_mut_child` [INFO] [stdout] --> src/tokenizer/trie.rs:47:8 [INFO] [stdout] | [INFO] [stdout] 47 | fn find_mut_child(&mut self, word: &CustomStringBytesSlice) -> Option<&mut Self> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_not_end` [INFO] [stdout] --> src/tokenizer/trie.rs:51:8 [INFO] [stdout] | [INFO] [stdout] 51 | fn set_not_end(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `add_word` [INFO] [stdout] --> src/tokenizer/trie.rs:55:8 [INFO] [stdout] | [INFO] [stdout] 55 | fn add_word(&mut self, input_word: &CustomStringBytesSlice) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `remove_word` [INFO] [stdout] --> src/tokenizer/trie.rs:67:8 [INFO] [stdout] | [INFO] [stdout] 67 | fn remove_word(&mut self, input_word: &CustomStringBytesSlice) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `list_prefix` [INFO] [stdout] --> src/tokenizer/trie.rs:88:12 [INFO] [stdout] | [INFO] [stdout] 88 | pub fn list_prefix<'d, 'p>( [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `words` [INFO] [stdout] --> src/tokenizer/trie.rs:118:5 [INFO] [stdout] | [INFO] [stdout] 118 | words: HashSet, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Trie` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/tokenizer/trie.rs:116:10 [INFO] [stdout] | [INFO] [stdout] 116 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `root` [INFO] [stdout] --> src/tokenizer/trie.rs:119:5 [INFO] [stdout] | [INFO] [stdout] 119 | root: TrieNode, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Trie` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/tokenizer/trie.rs:116:10 [INFO] [stdout] | [INFO] [stdout] 116 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/tokenizer/trie.rs:123:12 [INFO] [stdout] | [INFO] [stdout] 123 | pub fn new(words: &[CustomString]) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `remove_word_from_set` [INFO] [stdout] --> src/tokenizer/trie.rs:134:8 [INFO] [stdout] | [INFO] [stdout] 134 | fn remove_word_from_set(&mut self, word: &CustomStringBytesSlice) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `add` [INFO] [stdout] --> src/tokenizer/trie.rs:138:12 [INFO] [stdout] | [INFO] [stdout] 138 | pub fn add(&mut self, word: &CustomString) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `remove` [INFO] [stdout] --> src/tokenizer/trie.rs:147:12 [INFO] [stdout] | [INFO] [stdout] 147 | pub fn remove(&mut self, word: &CustomString) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `contain` [INFO] [stdout] --> src/tokenizer/trie.rs:158:12 [INFO] [stdout] | [INFO] [stdout] 158 | pub fn contain(&self, word: &CustomStringBytesSlice) -> bool { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `iterate` [INFO] [stdout] --> src/tokenizer/trie.rs:162:12 [INFO] [stdout] | [INFO] [stdout] 162 | pub fn iterate(&self) -> std::collections::hash_set::Iter<'_, Vec> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `amount_of_words` [INFO] [stdout] --> src/tokenizer/trie.rs:166:12 [INFO] [stdout] | [INFO] [stdout] 166 | pub fn amount_of_words(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `prefix` [INFO] [stdout] --> src/tokenizer/trie.rs:170:12 [INFO] [stdout] | [INFO] [stdout] 170 | pub fn prefix<'d, 'p>( [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `prefix_ref` [INFO] [stdout] --> src/tokenizer/trie.rs:184:12 [INFO] [stdout] | [INFO] [stdout] 184 | pub fn prefix_ref<'p, 't>( [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `contain` [INFO] [stdout] --> src/tokenizer/trie_char.rs:134:12 [INFO] [stdout] | [INFO] [stdout] 134 | pub fn contain(&self, word: &CustomString) -> bool { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `iterate` [INFO] [stdout] --> src/tokenizer/trie_char.rs:138:12 [INFO] [stdout] | [INFO] [stdout] 138 | pub fn iterate(&self) -> std::collections::hash_set::Iter<'_, Vec> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `amount_of_words` [INFO] [stdout] --> src/tokenizer/trie_char.rs:142:12 [INFO] [stdout] | [INFO] [stdout] 142 | pub fn amount_of_words(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 27 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 6.26s [INFO] running `Command { std: "docker" "inspect" "0ac2b3b71edab46f6d5e1e49a55a19cb23cce5ff2a7a2c3fe5802da2da5d643e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0ac2b3b71edab46f6d5e1e49a55a19cb23cce5ff2a7a2c3fe5802da2da5d643e", kill_on_drop: false }` [INFO] [stdout] 0ac2b3b71edab46f6d5e1e49a55a19cb23cce5ff2a7a2c3fe5802da2da5d643e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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=warn" "-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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6bc776869b658e2e68cdc9a1e3024a7ca3cd5542ff803a77212783cc9ba2c17e [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "6bc776869b658e2e68cdc9a1e3024a7ca3cd5542ff803a77212783cc9ba2c17e", kill_on_drop: false }` [INFO] [stdout] warning: associated function is never used: `is_full_string` [INFO] [stdout] --> src/fixed_bytes_str/four_bytes.rs:306:12 [INFO] [stdout] | [INFO] [stdout] 306 | pub fn is_full_string(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `full_string_bytes_len` [INFO] [stdout] --> src/fixed_bytes_str/four_bytes.rs:316:12 [INFO] [stdout] | [INFO] [stdout] 316 | pub fn full_string_bytes_len(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `convert_raw_bytes_to_utf8_bytes` [INFO] [stdout] --> src/fixed_bytes_str/four_bytes.rs:396:12 [INFO] [stdout] | [INFO] [stdout] 396 | pub fn convert_raw_bytes_to_utf8_bytes(input: &[u8]) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `graph` [INFO] [stdout] --> src/tokenizer/newmm.rs:72:5 [INFO] [stdout] | [INFO] [stdout] 72 | graph: HashMap>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `BFSSearchError` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/tokenizer/newmm.rs:70:10 [INFO] [stdout] | [INFO] [stdout] 70 | #[derive(Clone, Debug)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `children` [INFO] [stdout] --> src/tokenizer/trie.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | children: HashMap, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `TrieNode` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/tokenizer/trie.rs:18:10 [INFO] [stdout] | [INFO] [stdout] 18 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `end` [INFO] [stdout] --> src/tokenizer/trie.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | end: bool, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `TrieNode` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/tokenizer/trie.rs:18:10 [INFO] [stdout] | [INFO] [stdout] 18 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `find_child` [INFO] [stdout] --> src/tokenizer/trie.rs:39:8 [INFO] [stdout] | [INFO] [stdout] 39 | fn find_child(&self, word: &CustomStringBytesSlice) -> Option<&Self> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `remove_child` [INFO] [stdout] --> src/tokenizer/trie.rs:43:8 [INFO] [stdout] | [INFO] [stdout] 43 | fn remove_child(&mut self, word: &CustomStringBytesSlice) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `find_mut_child` [INFO] [stdout] --> src/tokenizer/trie.rs:47:8 [INFO] [stdout] | [INFO] [stdout] 47 | fn find_mut_child(&mut self, word: &CustomStringBytesSlice) -> Option<&mut Self> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_not_end` [INFO] [stdout] --> src/tokenizer/trie.rs:51:8 [INFO] [stdout] | [INFO] [stdout] 51 | fn set_not_end(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `add_word` [INFO] [stdout] --> src/tokenizer/trie.rs:55:8 [INFO] [stdout] | [INFO] [stdout] 55 | fn add_word(&mut self, input_word: &CustomStringBytesSlice) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `remove_word` [INFO] [stdout] --> src/tokenizer/trie.rs:67:8 [INFO] [stdout] | [INFO] [stdout] 67 | fn remove_word(&mut self, input_word: &CustomStringBytesSlice) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `list_prefix` [INFO] [stdout] --> src/tokenizer/trie.rs:88:12 [INFO] [stdout] | [INFO] [stdout] 88 | pub fn list_prefix<'d, 'p>( [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `words` [INFO] [stdout] --> src/tokenizer/trie.rs:118:5 [INFO] [stdout] | [INFO] [stdout] 118 | words: HashSet, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Trie` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/tokenizer/trie.rs:116:10 [INFO] [stdout] | [INFO] [stdout] 116 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `root` [INFO] [stdout] --> src/tokenizer/trie.rs:119:5 [INFO] [stdout] | [INFO] [stdout] 119 | root: TrieNode, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Trie` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/tokenizer/trie.rs:116:10 [INFO] [stdout] | [INFO] [stdout] 116 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/tokenizer/trie.rs:123:12 [INFO] [stdout] | [INFO] [stdout] 123 | pub fn new(words: &[CustomString]) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `remove_word_from_set` [INFO] [stdout] --> src/tokenizer/trie.rs:134:8 [INFO] [stdout] | [INFO] [stdout] 134 | fn remove_word_from_set(&mut self, word: &CustomStringBytesSlice) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `add` [INFO] [stdout] --> src/tokenizer/trie.rs:138:12 [INFO] [stdout] | [INFO] [stdout] 138 | pub fn add(&mut self, word: &CustomString) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `remove` [INFO] [stdout] --> src/tokenizer/trie.rs:147:12 [INFO] [stdout] | [INFO] [stdout] 147 | pub fn remove(&mut self, word: &CustomString) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `contain` [INFO] [stdout] --> src/tokenizer/trie.rs:158:12 [INFO] [stdout] | [INFO] [stdout] 158 | pub fn contain(&self, word: &CustomStringBytesSlice) -> bool { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `iterate` [INFO] [stdout] --> src/tokenizer/trie.rs:162:12 [INFO] [stdout] | [INFO] [stdout] 162 | pub fn iterate(&self) -> std::collections::hash_set::Iter<'_, Vec> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `amount_of_words` [INFO] [stdout] --> src/tokenizer/trie.rs:166:12 [INFO] [stdout] | [INFO] [stdout] 166 | pub fn amount_of_words(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `prefix` [INFO] [stdout] --> src/tokenizer/trie.rs:170:12 [INFO] [stdout] | [INFO] [stdout] 170 | pub fn prefix<'d, 'p>( [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `prefix_ref` [INFO] [stdout] --> src/tokenizer/trie.rs:184:12 [INFO] [stdout] | [INFO] [stdout] 184 | pub fn prefix_ref<'p, 't>( [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling nlpo3 v1.3.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: associated function is never used: `contain` [INFO] [stdout] --> src/tokenizer/trie_char.rs:134:12 [INFO] [stdout] | [INFO] [stdout] 134 | pub fn contain(&self, word: &CustomString) -> bool { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `iterate` [INFO] [stdout] --> src/tokenizer/trie_char.rs:138:12 [INFO] [stdout] | [INFO] [stdout] 138 | pub fn iterate(&self) -> std::collections::hash_set::Iter<'_, Vec> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `amount_of_words` [INFO] [stdout] --> src/tokenizer/trie_char.rs:142:12 [INFO] [stdout] | [INFO] [stdout] 142 | pub fn amount_of_words(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 27 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `is_full_string` [INFO] [stdout] --> src/fixed_bytes_str/four_bytes.rs:306:12 [INFO] [stdout] | [INFO] [stdout] 306 | pub fn is_full_string(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `convert_raw_bytes_to_utf8_bytes` [INFO] [stdout] --> src/fixed_bytes_str/four_bytes.rs:396:12 [INFO] [stdout] | [INFO] [stdout] 396 | pub fn convert_raw_bytes_to_utf8_bytes(input: &[u8]) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `graph` [INFO] [stdout] --> src/tokenizer/newmm.rs:72:5 [INFO] [stdout] | [INFO] [stdout] 72 | graph: HashMap>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `BFSSearchError` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/tokenizer/newmm.rs:70:10 [INFO] [stdout] | [INFO] [stdout] 70 | #[derive(Clone, Debug)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `children` [INFO] [stdout] --> src/tokenizer/trie.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | children: HashMap, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `TrieNode` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/tokenizer/trie.rs:18:10 [INFO] [stdout] | [INFO] [stdout] 18 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `end` [INFO] [stdout] --> src/tokenizer/trie.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | end: bool, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `TrieNode` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/tokenizer/trie.rs:18:10 [INFO] [stdout] | [INFO] [stdout] 18 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `find_child` [INFO] [stdout] --> src/tokenizer/trie.rs:39:8 [INFO] [stdout] | [INFO] [stdout] 39 | fn find_child(&self, word: &CustomStringBytesSlice) -> Option<&Self> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `remove_child` [INFO] [stdout] --> src/tokenizer/trie.rs:43:8 [INFO] [stdout] | [INFO] [stdout] 43 | fn remove_child(&mut self, word: &CustomStringBytesSlice) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `find_mut_child` [INFO] [stdout] --> src/tokenizer/trie.rs:47:8 [INFO] [stdout] | [INFO] [stdout] 47 | fn find_mut_child(&mut self, word: &CustomStringBytesSlice) -> Option<&mut Self> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_not_end` [INFO] [stdout] --> src/tokenizer/trie.rs:51:8 [INFO] [stdout] | [INFO] [stdout] 51 | fn set_not_end(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `add_word` [INFO] [stdout] --> src/tokenizer/trie.rs:55:8 [INFO] [stdout] | [INFO] [stdout] 55 | fn add_word(&mut self, input_word: &CustomStringBytesSlice) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `remove_word` [INFO] [stdout] --> src/tokenizer/trie.rs:67:8 [INFO] [stdout] | [INFO] [stdout] 67 | fn remove_word(&mut self, input_word: &CustomStringBytesSlice) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `list_prefix` [INFO] [stdout] --> src/tokenizer/trie.rs:88:12 [INFO] [stdout] | [INFO] [stdout] 88 | pub fn list_prefix<'d, 'p>( [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `words` [INFO] [stdout] --> src/tokenizer/trie.rs:118:5 [INFO] [stdout] | [INFO] [stdout] 118 | words: HashSet, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Trie` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/tokenizer/trie.rs:116:10 [INFO] [stdout] | [INFO] [stdout] 116 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `root` [INFO] [stdout] --> src/tokenizer/trie.rs:119:5 [INFO] [stdout] | [INFO] [stdout] 119 | root: TrieNode, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Trie` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/tokenizer/trie.rs:116:10 [INFO] [stdout] | [INFO] [stdout] 116 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/tokenizer/trie.rs:123:12 [INFO] [stdout] | [INFO] [stdout] 123 | pub fn new(words: &[CustomString]) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `remove_word_from_set` [INFO] [stdout] --> src/tokenizer/trie.rs:134:8 [INFO] [stdout] | [INFO] [stdout] 134 | fn remove_word_from_set(&mut self, word: &CustomStringBytesSlice) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `add` [INFO] [stdout] --> src/tokenizer/trie.rs:138:12 [INFO] [stdout] | [INFO] [stdout] 138 | pub fn add(&mut self, word: &CustomString) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `remove` [INFO] [stdout] --> src/tokenizer/trie.rs:147:12 [INFO] [stdout] | [INFO] [stdout] 147 | pub fn remove(&mut self, word: &CustomString) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `contain` [INFO] [stdout] --> src/tokenizer/trie.rs:158:12 [INFO] [stdout] | [INFO] [stdout] 158 | pub fn contain(&self, word: &CustomStringBytesSlice) -> bool { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `iterate` [INFO] [stdout] --> src/tokenizer/trie.rs:162:12 [INFO] [stdout] | [INFO] [stdout] 162 | pub fn iterate(&self) -> std::collections::hash_set::Iter<'_, Vec> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `amount_of_words` [INFO] [stdout] --> src/tokenizer/trie.rs:166:12 [INFO] [stdout] | [INFO] [stdout] 166 | pub fn amount_of_words(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `prefix` [INFO] [stdout] --> src/tokenizer/trie.rs:170:12 [INFO] [stdout] | [INFO] [stdout] 170 | pub fn prefix<'d, 'p>( [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `prefix_ref` [INFO] [stdout] --> src/tokenizer/trie.rs:184:12 [INFO] [stdout] | [INFO] [stdout] 184 | pub fn prefix_ref<'p, 't>( [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `iterate` [INFO] [stdout] --> src/tokenizer/trie_char.rs:138:12 [INFO] [stdout] | [INFO] [stdout] 138 | pub fn iterate(&self) -> std::collections::hash_set::Iter<'_, Vec> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 24 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 2.55s [INFO] [stderr] Executable unittests src/lib.rs (/opt/rustwide/target/debug/deps/nlpo3-869ff3bef9d6e3d5) [INFO] running `Command { std: "docker" "inspect" "6bc776869b658e2e68cdc9a1e3024a7ca3cd5542ff803a77212783cc9ba2c17e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6bc776869b658e2e68cdc9a1e3024a7ca3cd5542ff803a77212783cc9ba2c17e", kill_on_drop: false }` [INFO] [stdout] 6bc776869b658e2e68cdc9a1e3024a7ca3cd5542ff803a77212783cc9ba2c17e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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=warn" "-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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] babceb94101ca385ba9f4307e49d4110955dc0852f45f16001135cd8ea3398b3 [INFO] running `Command { std: "docker" "start" "-a" "babceb94101ca385ba9f4307e49d4110955dc0852f45f16001135cd8ea3398b3", kill_on_drop: false }` [INFO] [stderr] warning: associated function is never used: `is_full_string` [INFO] [stderr] --> src/fixed_bytes_str/four_bytes.rs:306:12 [INFO] [stderr] | [INFO] [stderr] 306 | pub fn is_full_string(&self) -> bool { [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `full_string_bytes_len` [INFO] [stderr] --> src/fixed_bytes_str/four_bytes.rs:316:12 [INFO] [stderr] | [INFO] [stderr] 316 | pub fn full_string_bytes_len(&self) -> usize { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `convert_raw_bytes_to_utf8_bytes` [INFO] [stderr] --> src/fixed_bytes_str/four_bytes.rs:396:12 [INFO] [stderr] | [INFO] [stderr] 396 | pub fn convert_raw_bytes_to_utf8_bytes(input: &[u8]) -> Vec { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field is never read: `graph` [INFO] [stderr] --> src/tokenizer/newmm.rs:72:5 [INFO] [stderr] | [INFO] [stderr] 72 | graph: HashMap>, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `BFSSearchError` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/tokenizer/newmm.rs:70:10 [INFO] [stderr] | [INFO] [stderr] 70 | #[derive(Clone, Debug)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `children` [INFO] [stderr] --> src/tokenizer/trie.rs:20:5 [INFO] [stderr] | [INFO] [stderr] 20 | children: HashMap, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `TrieNode` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/tokenizer/trie.rs:18:10 [INFO] [stderr] | [INFO] [stderr] 18 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `end` [INFO] [stderr] --> src/tokenizer/trie.rs:21:5 [INFO] [stderr] | [INFO] [stderr] 21 | end: bool, [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `TrieNode` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/tokenizer/trie.rs:18:10 [INFO] [stderr] | [INFO] [stderr] 18 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `find_child` [INFO] [stderr] --> src/tokenizer/trie.rs:39:8 [INFO] [stderr] | [INFO] [stderr] 39 | fn find_child(&self, word: &CustomStringBytesSlice) -> Option<&Self> { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `remove_child` [INFO] [stderr] --> src/tokenizer/trie.rs:43:8 [INFO] [stderr] | [INFO] [stderr] 43 | fn remove_child(&mut self, word: &CustomStringBytesSlice) { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `find_mut_child` [INFO] [stderr] --> src/tokenizer/trie.rs:47:8 [INFO] [stderr] | [INFO] [stderr] 47 | fn find_mut_child(&mut self, word: &CustomStringBytesSlice) -> Option<&mut Self> { [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `set_not_end` [INFO] [stderr] --> src/tokenizer/trie.rs:51:8 [INFO] [stderr] | [INFO] [stderr] 51 | fn set_not_end(&mut self) { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `add_word` [INFO] [stderr] --> src/tokenizer/trie.rs:55:8 [INFO] [stderr] | [INFO] [stderr] 55 | fn add_word(&mut self, input_word: &CustomStringBytesSlice) { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `remove_word` [INFO] [stderr] --> src/tokenizer/trie.rs:67:8 [INFO] [stderr] | [INFO] [stderr] 67 | fn remove_word(&mut self, input_word: &CustomStringBytesSlice) { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `list_prefix` [INFO] [stderr] --> src/tokenizer/trie.rs:88:12 [INFO] [stderr] | [INFO] [stderr] 88 | pub fn list_prefix<'d, 'p>( [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field is never read: `words` [INFO] [stderr] --> src/tokenizer/trie.rs:118:5 [INFO] [stderr] | [INFO] [stderr] 118 | words: HashSet, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Trie` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/tokenizer/trie.rs:116:10 [INFO] [stderr] | [INFO] [stderr] 116 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `root` [INFO] [stderr] --> src/tokenizer/trie.rs:119:5 [INFO] [stderr] | [INFO] [stderr] 119 | root: TrieNode, [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Trie` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/tokenizer/trie.rs:116:10 [INFO] [stderr] | [INFO] [stderr] 116 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `new` [INFO] [stderr] --> src/tokenizer/trie.rs:123:12 [INFO] [stderr] | [INFO] [stderr] 123 | pub fn new(words: &[CustomString]) -> Self { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `remove_word_from_set` [INFO] [stderr] --> src/tokenizer/trie.rs:134:8 [INFO] [stderr] | [INFO] [stderr] 134 | fn remove_word_from_set(&mut self, word: &CustomStringBytesSlice) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `add` [INFO] [stderr] --> src/tokenizer/trie.rs:138:12 [INFO] [stderr] | [INFO] [stderr] 138 | pub fn add(&mut self, word: &CustomString) { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `remove` [INFO] [stderr] --> src/tokenizer/trie.rs:147:12 [INFO] [stderr] | [INFO] [stderr] 147 | pub fn remove(&mut self, word: &CustomString) { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `contain` [INFO] [stderr] --> src/tokenizer/trie.rs:158:12 [INFO] [stderr] | [INFO] [stderr] 158 | pub fn contain(&self, word: &CustomStringBytesSlice) -> bool { [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `iterate` [INFO] [stderr] --> src/tokenizer/trie.rs:162:12 [INFO] [stderr] | [INFO] [stderr] 162 | pub fn iterate(&self) -> std::collections::hash_set::Iter<'_, Vec> { [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `amount_of_words` [INFO] [stderr] --> src/tokenizer/trie.rs:166:12 [INFO] [stderr] | [INFO] [stderr] 166 | pub fn amount_of_words(&self) -> usize { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `prefix` [INFO] [stderr] --> src/tokenizer/trie.rs:170:12 [INFO] [stderr] | [INFO] [stderr] 170 | pub fn prefix<'d, 'p>( [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `prefix_ref` [INFO] [stderr] --> src/tokenizer/trie.rs:184:12 [INFO] [stderr] | [INFO] [stderr] 184 | pub fn prefix_ref<'p, 't>( [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `contain` [INFO] [stderr] --> src/tokenizer/trie_char.rs:134:12 [INFO] [stderr] | [INFO] [stderr] 134 | pub fn contain(&self, word: &CustomString) -> bool { [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `iterate` [INFO] [stderr] --> src/tokenizer/trie_char.rs:138:12 [INFO] [stderr] | [INFO] [stderr] 138 | pub fn iterate(&self) -> std::collections::hash_set::Iter<'_, Vec> { [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `amount_of_words` [INFO] [stderr] --> src/tokenizer/trie_char.rs:142:12 [INFO] [stderr] | [INFO] [stderr] 142 | pub fn amount_of_words(&self) -> usize { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `nlpo3` (lib) generated 27 warnings [INFO] [stderr] warning: `nlpo3` (lib test) generated 24 warnings (24 duplicates) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.14s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/nlpo3-869ff3bef9d6e3d5) [INFO] [stdout] [INFO] [stdout] running 5 tests [INFO] [stdout] test fixed_bytes_str::four_bytes::check_slice ... ok [INFO] [stdout] test tokenizer::dict_reader::test_trie ... ok [INFO] [stdout] test tokenizer::trie_char::test_add_and_remove_word ... ok [INFO] [stderr] Doc-tests nlpo3 [INFO] [stdout] test fixed_bytes_str::four_bytes::test_trim ... ok [INFO] [stdout] test fixed_bytes_str::four_bytes::test_bytes ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 5 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "babceb94101ca385ba9f4307e49d4110955dc0852f45f16001135cd8ea3398b3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "babceb94101ca385ba9f4307e49d4110955dc0852f45f16001135cd8ea3398b3", kill_on_drop: false }` [INFO] [stdout] babceb94101ca385ba9f4307e49d4110955dc0852f45f16001135cd8ea3398b3