[INFO] cloning repository https://github.com/aashan10/fts
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/aashan10/fts" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Faashan10%2Ffts", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Faashan10%2Ffts'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] a87894897b1ed7ac386a4b8b141b04d3c9e7f73f
[INFO] checking aashan10/fts against 011c518242557d21690f7936b5812318dc2fec47 for pr-159877
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Faashan10%2Ffts" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/aashan10/fts
[INFO] finished tweaking git repo https://github.com/aashan10/fts
[INFO] tweaked toml for git repo https://github.com/aashan10/fts written to /workspace/builds/worker-0-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/aashan10/fts on toolchain 011c518242557d21690f7936b5812318dc2fec47
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+011c518242557d21690f7936b5812318dc2fec47" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/aashan10/fts 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" "+011c518242557d21690f7936b5812318dc2fec47" "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 unidecode v0.3.0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:1fa6594d87c8fa7b311925a7a77a16f539833322d9dfba4ce891f211db2f90b1" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] f99cc49929439679c6a1254765660966df9212eb70675842e8c07c44a893bc4f
[INFO] running `Command { std: "docker" "start" "f99cc49929439679c6a1254765660966df9212eb70675842e8c07c44a893bc4f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "f99cc49929439679c6a1254765660966df9212eb70675842e8c07c44a893bc4f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "f99cc49929439679c6a1254765660966df9212eb70675842e8c07c44a893bc4f" "/opt/rustwide/cargo-home/bin/cargo" "+011c518242557d21690f7936b5812318dc2fec47" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "f99cc49929439679c6a1254765660966df9212eb70675842e8c07c44a893bc4f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "f99cc49929439679c6a1254765660966df9212eb70675842e8c07c44a893bc4f" "/opt/rustwide/cargo-home/bin/cargo" "+011c518242557d21690f7936b5812318dc2fec47" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.70
[INFO] [stderr]    Compiling libc v0.2.150
[INFO] [stderr]    Compiling serde v1.0.193
[INFO] [stderr]    Compiling serde_json v1.0.108
[INFO] [stderr]     Checking unidecode v0.3.0
[INFO] [stderr]     Checking itertools v0.12.0
[INFO] [stderr]    Compiling quote v1.0.33
[INFO] [stderr]     Checking getrandom v0.2.11
[INFO] [stderr]     Checking uuid v1.6.1
[INFO] [stderr]    Compiling syn v2.0.39
[INFO] [stderr]    Compiling serde_derive v1.0.193
[INFO] [stderr]     Checking rust-stemmers v1.2.0
[INFO] [stderr]     Checking fts v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `std::io::Write`
[INFO] [stdout]  --> src/main.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::io::Write;
[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::collections::HashMap`
[INFO] [stdout]  --> src/movies.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::collections::HashMap;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::path::Path`
[INFO] [stdout]  --> src/movies.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use std::path::Path;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::io::Write`
[INFO] [stdout]  --> src/main.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::io::Write;
[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::collections::HashMap`
[INFO] [stdout]  --> src/movies.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::collections::HashMap;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::path::Path`
[INFO] [stdout]  --> src/movies.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use std::path::Path;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `n`
[INFO] [stdout]  --> src/semantic_analysis/n_grams/mod.rs:1:14
[INFO] [stdout]   |
[INFO] [stdout] 1 | pub fn apply(n: usize, input: &String) -> Vec<String>
[INFO] [stdout]   |              ^ help: if this is intentional, prefix it with an underscore: `_n`
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `input`
[INFO] [stdout]  --> src/semantic_analysis/n_grams/mod.rs:1:24
[INFO] [stdout]   |
[INFO] [stdout] 1 | pub fn apply(n: usize, input: &String) -> Vec<String>
[INFO] [stdout]   |                        ^^^^^ help: if this is intentional, prefix it with an underscore: `_input`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `n`
[INFO] [stdout]  --> src/semantic_analysis/n_grams/mod.rs:1:14
[INFO] [stdout]   |
[INFO] [stdout] 1 | pub fn apply(n: usize, input: &String) -> Vec<String>
[INFO] [stdout]   |              ^ help: if this is intentional, prefix it with an underscore: `_n`
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `input`
[INFO] [stdout]  --> src/semantic_analysis/n_grams/mod.rs:1:24
[INFO] [stdout]   |
[INFO] [stdout] 1 | pub fn apply(n: usize, input: &String) -> Vec<String>
[INFO] [stdout]   |                        ^^^^^ help: if this is intentional, prefix it with an underscore: `_input`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/indexing/manager.rs:64:21
[INFO] [stdout]    |
[INFO] [stdout] 64 |                 let mut json = serde_json::to_string(&self.metadata).unwrap();
[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: variable does not need to be mutable
[INFO] [stdout]   --> src/indexing/manager.rs:64:21
[INFO] [stdout]    |
[INFO] [stdout] 64 |                 let mut json = serde_json::to_string(&self.metadata).unwrap();
[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: `id`
[INFO] [stdout]   --> src/data_structures/mod.rs:14:46
[INFO] [stdout]    |
[INFO] [stdout] 14 |     pub(crate) fn delete_document(&mut self, id: String) -> &InvertedIndex
[INFO] [stdout]    |                                              ^^ help: if this is intentional, prefix it with an underscore: `_id`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `id`
[INFO] [stdout]   --> src/data_structures/mod.rs:14:46
[INFO] [stdout]    |
[INFO] [stdout] 14 |     pub(crate) fn delete_document(&mut self, id: String) -> &InvertedIndex
[INFO] [stdout]    |                                              ^^ help: if this is intentional, prefix it with an underscore: `_id`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/main.rs:57:9
[INFO] [stdout]    |
[INFO] [stdout] 57 |     let mut start_time = Instant::now();
[INFO] [stdout]    |         ----^^^^^^^^^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/main.rs:58:9
[INFO] [stdout]    |
[INFO] [stdout] 58 |     let mut movies_index = index_manager.create_index("movies".to_string(), movies_mapping).unwrap();
[INFO] [stdout]    |         ----^^^^^^^^^^^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/main.rs:71:9
[INFO] [stdout]    |
[INFO] [stdout] 71 |     let mut start_time = Instant::now();
[INFO] [stdout]    |         ----^^^^^^^^^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/main.rs:57:9
[INFO] [stdout]    |
[INFO] [stdout] 57 |     let mut start_time = Instant::now();
[INFO] [stdout]    |         ----^^^^^^^^^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `apply` is never used
[INFO] [stdout]  --> src/semantic_analysis/n_grams/mod.rs:1:8
[INFO] [stdout]   |
[INFO] [stdout] 1 | pub fn apply(n: usize, input: &String) -> Vec<String>
[INFO] [stdout]   |        ^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `index`, `delete`, and `save` are never used
[INFO] [stdout]   --> src/indexing/mod.rs:69:19
[INFO] [stdout]    |
[INFO] [stdout] 37 | impl Index {
[INFO] [stdout]    | ---------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 69 |     pub(crate) fn index(&mut self, document: HashMap<String, String>) -> Result<&Index, String>
[INFO] [stdout]    |                   ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 84 |     pub(crate) fn delete(&mut self, id: String) -> &Index
[INFO] [stdout]    |                   ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 89 |     pub(crate) fn save(&self) -> &Index
[INFO] [stdout]    |                   ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `set_alias`, and `remove_alias` are never used
[INFO] [stdout]   --> src/indexing/manager.rs:15:12
[INFO] [stdout]    |
[INFO] [stdout] 14 | impl IndexMetaData {
[INFO] [stdout]    | ------------------ associated items in this implementation
[INFO] [stdout] 15 |     pub fn new(name: String) -> IndexMetaData
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 23 |     pub fn set_alias(&mut self, alias: String) -> &IndexMetaData {
[INFO] [stdout]    |            ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 28 |     pub fn remove_alias(&mut self, alias: String) -> &IndexMetaData
[INFO] [stdout]    |            ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `indices` is never read
[INFO] [stdout]   --> src/indexing/manager.rs:44:5
[INFO] [stdout]    |
[INFO] [stdout] 42 | pub struct IndexManager {
[INFO] [stdout]    |            ------------ field in this struct
[INFO] [stdout] 43 |     pub metadata: BTreeMap<String, IndexMetaData>,
[INFO] [stdout] 44 |     indices: BTreeMap<String, Index>
[INFO] [stdout]    |     ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `get_index` and `save_index` are never used
[INFO] [stdout]    --> src/indexing/manager.rs:105:12
[INFO] [stdout]     |
[INFO] [stdout]  47 | impl IndexManager {
[INFO] [stdout]     | ----------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 105 |     pub fn get_index(&self, name: String) -> Option<&Index>
[INFO] [stdout]     |            ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 131 |     pub fn save_index(&mut self, index: Index) -> Option<bool>
[INFO] [stdout]     |            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `delete_document`, `index`, and `add_token` are never used
[INFO] [stdout]   --> src/data_structures/mod.rs:14:19
[INFO] [stdout]    |
[INFO] [stdout] 13 | impl InvertedIndex {
[INFO] [stdout]    | ------------------ methods in this implementation
[INFO] [stdout] 14 |     pub(crate) fn delete_document(&mut self, id: String) -> &InvertedIndex
[INFO] [stdout]    |                   ^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 19 |     pub(crate) fn index(&mut self, record: &HashMap<String, String>) -> &InvertedIndex
[INFO] [stdout]    |                   ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 41 |     fn add_token(&mut self, token: &String, document_id: &String) -> &InvertedIndex
[INFO] [stdout]    |        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/main.rs:58:9
[INFO] [stdout]    |
[INFO] [stdout] 58 |     let mut movies_index = index_manager.create_index("movies".to_string(), movies_mapping).unwrap();
[INFO] [stdout]    |         ----^^^^^^^^^^^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/main.rs:71:9
[INFO] [stdout]    |
[INFO] [stdout] 71 |     let mut start_time = Instant::now();
[INFO] [stdout]    |         ----^^^^^^^^^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `apply` is never used
[INFO] [stdout]  --> src/semantic_analysis/n_grams/mod.rs:1:8
[INFO] [stdout]   |
[INFO] [stdout] 1 | pub fn apply(n: usize, input: &String) -> Vec<String>
[INFO] [stdout]   |        ^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused borrow that must be used
[INFO] [stdout]    --> src/indexing/manager.rs:134:9
[INFO] [stdout]     |
[INFO] [stdout] 134 |         &index.save();
[INFO] [stdout]     |         ^^^^^^^^^^^^^ the borrow produces a value
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 134 |         let _ = &index.save();
[INFO] [stdout]     |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `index`, `delete`, and `save` are never used
[INFO] [stdout]   --> src/indexing/mod.rs:69:19
[INFO] [stdout]    |
[INFO] [stdout] 37 | impl Index {
[INFO] [stdout]    | ---------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 69 |     pub(crate) fn index(&mut self, document: HashMap<String, String>) -> Result<&Index, String>
[INFO] [stdout]    |                   ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 84 |     pub(crate) fn delete(&mut self, id: String) -> &Index
[INFO] [stdout]    |                   ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 89 |     pub(crate) fn save(&self) -> &Index
[INFO] [stdout]    |                   ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `set_alias`, and `remove_alias` are never used
[INFO] [stdout]   --> src/indexing/manager.rs:15:12
[INFO] [stdout]    |
[INFO] [stdout] 14 | impl IndexMetaData {
[INFO] [stdout]    | ------------------ associated items in this implementation
[INFO] [stdout] 15 |     pub fn new(name: String) -> IndexMetaData
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 23 |     pub fn set_alias(&mut self, alias: String) -> &IndexMetaData {
[INFO] [stdout]    |            ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 28 |     pub fn remove_alias(&mut self, alias: String) -> &IndexMetaData
[INFO] [stdout]    |            ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `indices` is never read
[INFO] [stdout]   --> src/indexing/manager.rs:44:5
[INFO] [stdout]    |
[INFO] [stdout] 42 | pub struct IndexManager {
[INFO] [stdout]    |            ------------ field in this struct
[INFO] [stdout] 43 |     pub metadata: BTreeMap<String, IndexMetaData>,
[INFO] [stdout] 44 |     indices: BTreeMap<String, Index>
[INFO] [stdout]    |     ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `get_index` and `save_index` are never used
[INFO] [stdout]    --> src/indexing/manager.rs:105:12
[INFO] [stdout]     |
[INFO] [stdout]  47 | impl IndexManager {
[INFO] [stdout]     | ----------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 105 |     pub fn get_index(&self, name: String) -> Option<&Index>
[INFO] [stdout]     |            ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 131 |     pub fn save_index(&mut self, index: Index) -> Option<bool>
[INFO] [stdout]     |            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `delete_document`, `index`, and `add_token` are never used
[INFO] [stdout]   --> src/data_structures/mod.rs:14:19
[INFO] [stdout]    |
[INFO] [stdout] 13 | impl InvertedIndex {
[INFO] [stdout]    | ------------------ methods in this implementation
[INFO] [stdout] 14 |     pub(crate) fn delete_document(&mut self, id: String) -> &InvertedIndex
[INFO] [stdout]    |                   ^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 19 |     pub(crate) fn index(&mut self, record: &HashMap<String, String>) -> &InvertedIndex
[INFO] [stdout]    |                   ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 41 |     fn add_token(&mut self, token: &String, document_id: &String) -> &InvertedIndex
[INFO] [stdout]    |        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused borrow that must be used
[INFO] [stdout]    --> src/indexing/manager.rs:134:9
[INFO] [stdout]     |
[INFO] [stdout] 134 |         &index.save();
[INFO] [stdout]     |         ^^^^^^^^^^^^^ the borrow produces a value
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 134 |         let _ = &index.save();
[INFO] [stdout]     |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 14.00s
[INFO] running `Command { std: "docker" "inspect" "f99cc49929439679c6a1254765660966df9212eb70675842e8c07c44a893bc4f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "f99cc49929439679c6a1254765660966df9212eb70675842e8c07c44a893bc4f", kill_on_drop: false }`
[INFO] [stdout] f99cc49929439679c6a1254765660966df9212eb70675842e8c07c44a893bc4f
