[INFO] cloning repository https://github.com/alexbegun/fts [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/alexbegun/fts" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Falexbegun%2Ffts", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Falexbegun%2Ffts'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 8ed7e931769d055353cd18ae2b7f31f795584aa4 [INFO] checking alexbegun/fts against try#a7a572ce3edd6d476191fbfe92c9c1986e009b34 for pr-87190-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Falexbegun%2Ffts" "/workspace/builds/worker-11/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-11/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/alexbegun/fts on toolchain a7a572ce3edd6d476191fbfe92c9c1986e009b34 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/alexbegun/fts [INFO] finished tweaking git repo https://github.com/alexbegun/fts [INFO] tweaked toml for git repo https://github.com/alexbegun/fts written to /workspace/builds/worker-11/source/Cargo.toml [INFO] crate git repo https://github.com/alexbegun/fts already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2263a5952a69e386076ed206267114c330c65826214f19e8c999d0542f489b55 [INFO] running `Command { std: "docker" "start" "-a" "2263a5952a69e386076ed206267114c330c65826214f19e8c999d0542f489b55", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2263a5952a69e386076ed206267114c330c65826214f19e8c999d0542f489b55", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2263a5952a69e386076ed206267114c330c65826214f19e8c999d0542f489b55", kill_on_drop: false }` [INFO] [stdout] 2263a5952a69e386076ed206267114c330c65826214f19e8c999d0542f489b55 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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" "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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3d82754e41ace93fbd95e65920b83f08248e04d996e955f9227d0ae5a13a4fb3 [INFO] running `Command { std: "docker" "start" "-a" "3d82754e41ace93fbd95e65920b83f08248e04d996e955f9227d0ae5a13a4fb3", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling syn v1.0.41 [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Checking slab v0.4.2 [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling proc-macro-nested v0.1.6 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Checking futures-core v0.3.5 [INFO] [stderr] Checking futures-sink v0.3.5 [INFO] [stderr] Compiling proc-macro-hack v0.5.18 [INFO] [stderr] Checking gimli v0.22.0 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Checking object v0.20.0 [INFO] [stderr] Checking lazycell v1.3.0 [INFO] [stderr] Checking rustc-demangle v0.1.16 [INFO] [stderr] Compiling crc32fast v1.2.0 [INFO] [stderr] Compiling serde_json v1.0.57 [INFO] [stderr] Compiling snap v1.0.1 [INFO] [stderr] Checking regex-syntax v0.4.2 [INFO] [stderr] Checking itoa v0.4.6 [INFO] [stderr] Checking regex-syntax v0.6.18 [INFO] [stderr] Checking htmlescape v0.3.1 [INFO] [stderr] Checking census v0.4.0 [INFO] [stderr] Checking levenshtein_automata v0.2.0 [INFO] [stderr] Checking metrohash v1.0.6 [INFO] [stderr] Compiling miniz_oxide v0.4.2 [INFO] [stderr] Compiling num-traits v0.2.12 [INFO] [stderr] Compiling num-integer v0.1.43 [INFO] [stderr] Checking futures-task v0.3.5 [INFO] [stderr] Checking walkdir v2.3.1 [INFO] [stderr] Checking owned-read v0.4.1 [INFO] [stderr] Checking libc v0.2.77 [INFO] [stderr] Checking crunchy v0.2.2 [INFO] [stderr] Checking futures-channel v0.3.5 [INFO] [stderr] Checking crossbeam-utils v0.7.2 [INFO] [stderr] Compiling proc-macro2 v1.0.21 [INFO] [stderr] Checking bitpacking v0.8.2 [INFO] [stderr] Checking crossbeam-epoch v0.8.2 [INFO] [stderr] Checking crossbeam-channel v0.4.4 [INFO] [stderr] Checking crossbeam-queue v0.2.3 [INFO] [stderr] Checking getrandom v0.1.15 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking net2 v0.2.35 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Checking inotify-sys v0.1.3 [INFO] [stderr] Checking rand v0.4.6 [INFO] [stderr] Checking filetime v0.2.12 [INFO] [stderr] Checking time v0.1.44 [INFO] [stderr] Checking memmap v0.7.0 [INFO] [stderr] Checking fs2 v0.4.3 [INFO] [stderr] Checking crossbeam-deque v0.7.3 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Checking nix v0.14.1 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking combine v4.3.2 [INFO] [stderr] Checking inotify v0.7.1 [INFO] [stderr] Checking rayon-core v1.8.0 [INFO] [stderr] Checking crossbeam v0.7.3 [INFO] [stderr] Checking mio v0.6.22 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking murmurhash32 v0.2.0 [INFO] [stderr] Checking tantivy-fst v0.3.0 [INFO] [stderr] Checking rayon v1.4.0 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking mio-extras v2.0.6 [INFO] [stderr] Checking tempdir v0.3.7 [INFO] [stderr] Checking regex v1.3.9 [INFO] [stderr] Checking chrono v0.4.15 [INFO] [stderr] Checking notify v4.0.15 [INFO] [stderr] Checking addr2line v0.13.0 [INFO] [stderr] Checking backtrace v0.3.50 [INFO] [stderr] Checking fail v0.4.0 [INFO] [stderr] Checking tempfile v3.1.0 [INFO] [stderr] Checking atomicwrites v0.2.5 [INFO] [stderr] Compiling synstructure v0.12.4 [INFO] [stderr] Compiling serde_derive v1.0.116 [INFO] [stderr] Compiling pin-project-internal v0.4.23 [INFO] [stderr] Compiling futures-macro v0.3.5 [INFO] [stderr] Compiling unroll v0.1.5 [INFO] [stderr] Checking tantivy-query-grammar v0.13.0 [INFO] [stderr] Checking failure v0.1.8 [INFO] [stderr] Checking pin-project v0.4.23 [INFO] [stderr] Checking futures-util v0.3.5 [INFO] [stderr] Checking serde v1.0.116 [INFO] [stderr] Checking futures-executor v0.3.5 [INFO] [stderr] Checking futures v0.3.5 [INFO] [stderr] Checking uuid v0.8.1 [INFO] [stderr] Checking rust-stemmers v1.2.0 [INFO] [stderr] Checking tantivy v0.13.0 [INFO] [stderr] Checking fts v0.1.0 (/tmp/fixit) [INFO] [stderr] Migrating src/main.rs from 2018 edition to 2021 [INFO] [stderr] Fixed src/index_writer.rs (2 fixes) [INFO] [stderr] Fixed src/tantivy_test.rs (5 fixes) [INFO] [stderr] Fixed src/indexer.rs (2 fixes) [INFO] [stderr] Fixed src/main.rs (3 fixes) [INFO] [stdout] warning: function is never used: `push_to_window` [INFO] [stdout] --> src/distance.rs:3:4 [INFO] [stdout] | [INFO] [stdout] 3 | fn push_to_window(hit_pos:u8, hit_word_index:u8, proximity_window: &mut Vec<(u8,u8)>) [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `find_smallest_distance` [INFO] [stdout] --> src/distance.rs:16:8 [INFO] [stdout] | [INFO] [stdout] 16 | pub fn find_smallest_distance(vec:& Vec) ->(u8,bool) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `test_dist` [INFO] [stdout] --> src/distance.rs:108:4 [INFO] [stdout] | [INFO] [stdout] 108 | fn test_dist() [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `write_test` [INFO] [stdout] --> src/index_writer.rs:26:8 [INFO] [stdout] | [INFO] [stdout] 26 | pub fn write_test() [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `compute_capacity` [INFO] [stdout] --> src/index_writer.rs:48:4 [INFO] [stdout] | [INFO] [stdout] 48 | fn compute_capacity(block_length: u32, fill_factor: u8) -> u32 [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `load_wad_map` [INFO] [stdout] --> src/index_writer.rs:59:4 [INFO] [stdout] | [INFO] [stdout] 59 | fn load_wad_map(wad_file: &str, main_wad_map: &mut BTreeMap)-> io::Result<()> [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `append_wad_map_and_block_file` [INFO] [stdout] --> src/index_writer.rs:93:4 [INFO] [stdout] | [INFO] [stdout] 93 | fn append_wad_map_and_block_file(wad_map: &mut BTreeMap, block_file: & str, hm:& HashMap, fill_fa... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `update_wad_map_and_block_file` [INFO] [stdout] --> src/index_writer.rs:138:4 [INFO] [stdout] | [INFO] [stdout] 138 | fn update_wad_map_and_block_file(wad_map: &mut BTreeMap, block_file: & str, hm:& HashMap, overflo... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `merge_block` [INFO] [stdout] --> src/index_writer.rs:182:4 [INFO] [stdout] | [INFO] [stdout] 182 | fn merge_block(word_key:u128, bfh:&mut std::fs::File, overflow_map: &mut HashMap>, wad_entry: &mut WadValue, new_block: & in... [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `DocPos` [INFO] [stdout] --> src/index_writer.rs:238:8 [INFO] [stdout] | [INFO] [stdout] 238 | struct DocPos { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `merge_block_data` [INFO] [stdout] --> src/index_writer.rs:246:8 [INFO] [stdout] | [INFO] [stdout] 246 | pub fn merge_block_data(left: &Vec, right: &Vec) -> Vec [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `write_doc_id_data` [INFO] [stdout] --> src/index_writer.rs:284:4 [INFO] [stdout] | [INFO] [stdout] 284 | fn write_doc_id_data(source: & Vec, dest: &mut Vec, start_pos: u32, end_pos: u32) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `read_doc_id_data` [INFO] [stdout] --> src/index_writer.rs:291:4 [INFO] [stdout] | [INFO] [stdout] 291 | fn read_doc_id_data(offset: u32, block_data: &Vec, emit: bool) -> DocPos [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `skip_block` [INFO] [stdout] --> src/index_writer.rs:457:4 [INFO] [stdout] | [INFO] [stdout] 457 | fn skip_block(word_key:u128, bfh:&mut std::fs::File, size: usize)-> io::Result<()> [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `write_existing` [INFO] [stdout] --> src/index_writer.rs:470:8 [INFO] [stdout] | [INFO] [stdout] 470 | pub fn write_existing(wad_file: &str, block_file: & str, hm:& HashMap, fill_factor: u8)-> io::Result<()> [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `unhash_word` [INFO] [stdout] --> src/word_hash.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn unhash_word(word_hash:u128) -> String [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `hash_word_to_u128` [INFO] [stdout] --> src/word_hash.rs:33:8 [INFO] [stdout] | [INFO] [stdout] 33 | pub fn hash_word_to_u128(word:&str) -> u128 [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `hash_word_to_u1282` [INFO] [stdout] --> src/word_hash.rs:62:8 [INFO] [stdout] | [INFO] [stdout] 62 | pub fn hash_word_to_u1282(word:&str) -> u128 [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `print_vec` [INFO] [stdout] --> src/indexer_diagnostics.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn print_vec(buffer: &Vec) [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `traverse_hm` [INFO] [stdout] --> src/indexer_diagnostics.rs:29:12 [INFO] [stdout] | [INFO] [stdout] 29 | pub fn traverse_hm(m: &HashMap, emit: bool) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `load_hm` [INFO] [stdout] --> src/indexer_diagnostics.rs:224:12 [INFO] [stdout] | [INFO] [stdout] 224 | pub fn load_hm(wad_file: &str, block_file: &str, hm:&mut HashMap) -> io::Result<()> [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `list_top` [INFO] [stdout] --> src/indexer_diagnostics.rs:302:12 [INFO] [stdout] | [INFO] [stdout] 302 | pub fn list_top(hm:& HashMap, count:usize ) [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `list_top_by_size` [INFO] [stdout] --> src/indexer_diagnostics.rs:329:12 [INFO] [stdout] | [INFO] [stdout] 329 | pub fn list_top_by_size(hm:& HashMap, count:usize ) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `build_freq_map` [INFO] [stdout] --> src/indexer_diagnostics.rs:359:12 [INFO] [stdout] | [INFO] [stdout] 359 | pub fn build_freq_map(hm:& HashMap, count:usize, fm:& mut HashMap) [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `get_files` [INFO] [stdout] --> src/tantivy_test.rs:14:4 [INFO] [stdout] | [INFO] [stdout] 14 | fn get_files(directory: &str, v:&mut Vec) -> io::Result<()> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `get_all_files` [INFO] [stdout] --> src/tantivy_test.rs:30:4 [INFO] [stdout] | [INFO] [stdout] 30 | fn get_all_files(directory: &str, v:&mut Vec) -> io::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `index` [INFO] [stdout] --> src/tantivy_test.rs:45:8 [INFO] [stdout] | [INFO] [stdout] 45 | pub fn index(index_path: &str, data_path: &str)-> tantivy::Result<()> [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `bloom_test` [INFO] [stdout] --> src/main.rs:16:4 [INFO] [stdout] | [INFO] [stdout] 16 | fn bloom_test() [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 28 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `push_to_window` [INFO] [stdout] --> src/distance.rs:3:4 [INFO] [stdout] | [INFO] [stdout] 3 | fn push_to_window(hit_pos:u8, hit_word_index:u8, proximity_window: &mut Vec<(u8,u8)>) [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `find_smallest_distance` [INFO] [stdout] --> src/distance.rs:16:8 [INFO] [stdout] | [INFO] [stdout] 16 | pub fn find_smallest_distance(vec:& Vec) ->(u8,bool) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `test_dist` [INFO] [stdout] --> src/distance.rs:108:4 [INFO] [stdout] | [INFO] [stdout] 108 | fn test_dist() [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `write_test` [INFO] [stdout] --> src/index_writer.rs:26:8 [INFO] [stdout] | [INFO] [stdout] 26 | pub fn write_test() [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `compute_capacity` [INFO] [stdout] --> src/index_writer.rs:48:4 [INFO] [stdout] | [INFO] [stdout] 48 | fn compute_capacity(block_length: u32, fill_factor: u8) -> u32 [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `load_wad_map` [INFO] [stdout] --> src/index_writer.rs:59:4 [INFO] [stdout] | [INFO] [stdout] 59 | fn load_wad_map(wad_file: &str, main_wad_map: &mut BTreeMap)-> io::Result<()> [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `append_wad_map_and_block_file` [INFO] [stdout] --> src/index_writer.rs:93:4 [INFO] [stdout] | [INFO] [stdout] 93 | fn append_wad_map_and_block_file(wad_map: &mut BTreeMap, block_file: & str, hm:& HashMap, fill_fa... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `update_wad_map_and_block_file` [INFO] [stdout] --> src/index_writer.rs:138:4 [INFO] [stdout] | [INFO] [stdout] 138 | fn update_wad_map_and_block_file(wad_map: &mut BTreeMap, block_file: & str, hm:& HashMap, overflo... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `merge_block` [INFO] [stdout] --> src/index_writer.rs:182:4 [INFO] [stdout] | [INFO] [stdout] 182 | fn merge_block(word_key:u128, bfh:&mut std::fs::File, overflow_map: &mut HashMap>, wad_entry: &mut WadValue, new_block: & in... [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `DocPos` [INFO] [stdout] --> src/index_writer.rs:238:8 [INFO] [stdout] | [INFO] [stdout] 238 | struct DocPos { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `merge_block_data` [INFO] [stdout] --> src/index_writer.rs:246:8 [INFO] [stdout] | [INFO] [stdout] 246 | pub fn merge_block_data(left: &Vec, right: &Vec) -> Vec [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `write_doc_id_data` [INFO] [stdout] --> src/index_writer.rs:284:4 [INFO] [stdout] | [INFO] [stdout] 284 | fn write_doc_id_data(source: & Vec, dest: &mut Vec, start_pos: u32, end_pos: u32) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `read_doc_id_data` [INFO] [stdout] --> src/index_writer.rs:291:4 [INFO] [stdout] | [INFO] [stdout] 291 | fn read_doc_id_data(offset: u32, block_data: &Vec, emit: bool) -> DocPos [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `skip_block` [INFO] [stdout] --> src/index_writer.rs:457:4 [INFO] [stdout] | [INFO] [stdout] 457 | fn skip_block(word_key:u128, bfh:&mut std::fs::File, size: usize)-> io::Result<()> [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `write_existing` [INFO] [stdout] --> src/index_writer.rs:470:8 [INFO] [stdout] | [INFO] [stdout] 470 | pub fn write_existing(wad_file: &str, block_file: & str, hm:& HashMap, fill_factor: u8)-> io::Result<()> [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `unhash_word` [INFO] [stdout] --> src/word_hash.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn unhash_word(word_hash:u128) -> String [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `hash_word_to_u128` [INFO] [stdout] --> src/word_hash.rs:33:8 [INFO] [stdout] | [INFO] [stdout] 33 | pub fn hash_word_to_u128(word:&str) -> u128 [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `hash_word_to_u1282` [INFO] [stdout] --> src/word_hash.rs:62:8 [INFO] [stdout] | [INFO] [stdout] 62 | pub fn hash_word_to_u1282(word:&str) -> u128 [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `print_vec` [INFO] [stdout] --> src/indexer_diagnostics.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn print_vec(buffer: &Vec) [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `traverse_hm` [INFO] [stdout] --> src/indexer_diagnostics.rs:29:12 [INFO] [stdout] | [INFO] [stdout] 29 | pub fn traverse_hm(m: &HashMap, emit: bool) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `load_hm` [INFO] [stdout] --> src/indexer_diagnostics.rs:224:12 [INFO] [stdout] | [INFO] [stdout] 224 | pub fn load_hm(wad_file: &str, block_file: &str, hm:&mut HashMap) -> io::Result<()> [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `list_top` [INFO] [stdout] --> src/indexer_diagnostics.rs:302:12 [INFO] [stdout] | [INFO] [stdout] 302 | pub fn list_top(hm:& HashMap, count:usize ) [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `list_top_by_size` [INFO] [stdout] --> src/indexer_diagnostics.rs:329:12 [INFO] [stdout] | [INFO] [stdout] 329 | pub fn list_top_by_size(hm:& HashMap, count:usize ) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `build_freq_map` [INFO] [stdout] --> src/indexer_diagnostics.rs:359:12 [INFO] [stdout] | [INFO] [stdout] 359 | pub fn build_freq_map(hm:& HashMap, count:usize, fm:& mut HashMap) [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `get_files` [INFO] [stdout] --> src/tantivy_test.rs:14:4 [INFO] [stdout] | [INFO] [stdout] 14 | fn get_files(directory: &str, v:&mut Vec) -> io::Result<()> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `get_all_files` [INFO] [stdout] --> src/tantivy_test.rs:30:4 [INFO] [stdout] | [INFO] [stdout] 30 | fn get_all_files(directory: &str, v:&mut Vec) -> io::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `index` [INFO] [stdout] --> src/tantivy_test.rs:45:8 [INFO] [stdout] | [INFO] [stdout] 45 | pub fn index(index_path: &str, data_path: &str)-> tantivy::Result<()> [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `bloom_test` [INFO] [stdout] --> src/main.rs:16:4 [INFO] [stdout] | [INFO] [stdout] 16 | fn bloom_test() [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 28 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 43.58s [INFO] [stderr] Running `cargo check` to verify 2021 [INFO] [stderr] Checking fts v0.1.0 (/tmp/fixit) [INFO] [stdout] warning: function is never used: `push_to_window` [INFO] [stdout] --> src/distance.rs:3:4 [INFO] [stdout] | [INFO] [stdout] 3 | fn push_to_window(hit_pos:u8, hit_word_index:u8, proximity_window: &mut Vec<(u8,u8)>) [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `find_smallest_distance` [INFO] [stdout] --> src/distance.rs:16:8 [INFO] [stdout] | [INFO] [stdout] 16 | pub fn find_smallest_distance(vec:& Vec) ->(u8,bool) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `test_dist` [INFO] [stdout] --> src/distance.rs:108:4 [INFO] [stdout] | [INFO] [stdout] 108 | fn test_dist() [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `write_test` [INFO] [stdout] --> src/index_writer.rs:26:8 [INFO] [stdout] | [INFO] [stdout] 26 | pub fn write_test() [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `compute_capacity` [INFO] [stdout] --> src/index_writer.rs:48:4 [INFO] [stdout] | [INFO] [stdout] 48 | fn compute_capacity(block_length: u32, fill_factor: u8) -> u32 [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `load_wad_map` [INFO] [stdout] --> src/index_writer.rs:59:4 [INFO] [stdout] | [INFO] [stdout] 59 | fn load_wad_map(wad_file: &str, main_wad_map: &mut BTreeMap)-> io::Result<()> [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `append_wad_map_and_block_file` [INFO] [stdout] --> src/index_writer.rs:93:4 [INFO] [stdout] | [INFO] [stdout] 93 | fn append_wad_map_and_block_file(wad_map: &mut BTreeMap, block_file: & str, hm:& HashMap, fill_fa... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `update_wad_map_and_block_file` [INFO] [stdout] --> src/index_writer.rs:138:4 [INFO] [stdout] | [INFO] [stdout] 138 | fn update_wad_map_and_block_file(wad_map: &mut BTreeMap, block_file: & str, hm:& HashMap, overflo... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `merge_block` [INFO] [stdout] --> src/index_writer.rs:182:4 [INFO] [stdout] | [INFO] [stdout] 182 | fn merge_block(word_key:u128, bfh:&mut std::fs::File, overflow_map: &mut HashMap>, wad_entry: &mut WadValue, new_block: & in... [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `DocPos` [INFO] [stdout] --> src/index_writer.rs:238:8 [INFO] [stdout] | [INFO] [stdout] 238 | struct DocPos { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `merge_block_data` [INFO] [stdout] --> src/index_writer.rs:246:8 [INFO] [stdout] | [INFO] [stdout] 246 | pub fn merge_block_data(left: &Vec, right: &Vec) -> Vec [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `write_doc_id_data` [INFO] [stdout] --> src/index_writer.rs:284:4 [INFO] [stdout] | [INFO] [stdout] 284 | fn write_doc_id_data(source: & Vec, dest: &mut Vec, start_pos: u32, end_pos: u32) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `read_doc_id_data` [INFO] [stdout] --> src/index_writer.rs:291:4 [INFO] [stdout] | [INFO] [stdout] 291 | fn read_doc_id_data(offset: u32, block_data: &Vec, emit: bool) -> DocPos [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `skip_block` [INFO] [stdout] --> src/index_writer.rs:457:4 [INFO] [stdout] | [INFO] [stdout] 457 | fn skip_block(word_key:u128, bfh:&mut std::fs::File, size: usize)-> io::Result<()> [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `write_existing` [INFO] [stdout] --> src/index_writer.rs:470:8 [INFO] [stdout] | [INFO] [stdout] 470 | pub fn write_existing(wad_file: &str, block_file: & str, hm:& HashMap, fill_factor: u8)-> io::Result<()> [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `unhash_word` [INFO] [stdout] --> src/word_hash.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn unhash_word(word_hash:u128) -> String [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `hash_word_to_u128` [INFO] [stdout] --> src/word_hash.rs:33:8 [INFO] [stdout] | [INFO] [stdout] 33 | pub fn hash_word_to_u128(word:&str) -> u128 [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `hash_word_to_u1282` [INFO] [stdout] --> src/word_hash.rs:62:8 [INFO] [stdout] | [INFO] [stdout] 62 | pub fn hash_word_to_u1282(word:&str) -> u128 [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `print_vec` [INFO] [stdout] --> src/indexer_diagnostics.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn print_vec(buffer: &Vec) [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `traverse_hm` [INFO] [stdout] --> src/indexer_diagnostics.rs:29:12 [INFO] [stdout] | [INFO] [stdout] 29 | pub fn traverse_hm(m: &HashMap, emit: bool) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `load_hm` [INFO] [stdout] --> src/indexer_diagnostics.rs:224:12 [INFO] [stdout] | [INFO] [stdout] 224 | pub fn load_hm(wad_file: &str, block_file: &str, hm:&mut HashMap) -> io::Result<()> [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `list_top` [INFO] [stdout] --> src/indexer_diagnostics.rs:302:12 [INFO] [stdout] | [INFO] [stdout] 302 | pub fn list_top(hm:& HashMap, count:usize ) [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `list_top_by_size` [INFO] [stdout] --> src/indexer_diagnostics.rs:329:12 [INFO] [stdout] | [INFO] [stdout] 329 | pub fn list_top_by_size(hm:& HashMap, count:usize ) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `build_freq_map` [INFO] [stdout] --> src/indexer_diagnostics.rs:359:12 [INFO] [stdout] | [INFO] [stdout] 359 | pub fn build_freq_map(hm:& HashMap, count:usize, fm:& mut HashMap) [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `get_files` [INFO] [stdout] --> src/tantivy_test.rs:14:4 [INFO] [stdout] | [INFO] [stdout] 14 | fn get_files(directory: &str, v:&mut Vec) -> io::Result<()> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `get_all_files` [INFO] [stdout] --> src/tantivy_test.rs:30:4 [INFO] [stdout] | [INFO] [stdout] 30 | fn get_all_files(directory: &str, v:&mut Vec) -> io::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `index` [INFO] [stdout] --> src/tantivy_test.rs:45:8 [INFO] [stdout] | [INFO] [stdout] 45 | pub fn index(index_path: &str, data_path: &str)-> tantivy::Result<()> [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `bloom_test` [INFO] [stdout] --> src/main.rs:16:4 [INFO] [stdout] | [INFO] [stdout] 16 | fn bloom_test() [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 28 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `push_to_window` [INFO] [stdout] --> src/distance.rs:3:4 [INFO] [stdout] | [INFO] [stdout] 3 | fn push_to_window(hit_pos:u8, hit_word_index:u8, proximity_window: &mut Vec<(u8,u8)>) [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `find_smallest_distance` [INFO] [stdout] --> src/distance.rs:16:8 [INFO] [stdout] | [INFO] [stdout] 16 | pub fn find_smallest_distance(vec:& Vec) ->(u8,bool) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `test_dist` [INFO] [stdout] --> src/distance.rs:108:4 [INFO] [stdout] | [INFO] [stdout] 108 | fn test_dist() [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `write_test` [INFO] [stdout] --> src/index_writer.rs:26:8 [INFO] [stdout] | [INFO] [stdout] 26 | pub fn write_test() [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `compute_capacity` [INFO] [stdout] --> src/index_writer.rs:48:4 [INFO] [stdout] | [INFO] [stdout] 48 | fn compute_capacity(block_length: u32, fill_factor: u8) -> u32 [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `load_wad_map` [INFO] [stdout] --> src/index_writer.rs:59:4 [INFO] [stdout] | [INFO] [stdout] 59 | fn load_wad_map(wad_file: &str, main_wad_map: &mut BTreeMap)-> io::Result<()> [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `append_wad_map_and_block_file` [INFO] [stdout] --> src/index_writer.rs:93:4 [INFO] [stdout] | [INFO] [stdout] 93 | fn append_wad_map_and_block_file(wad_map: &mut BTreeMap, block_file: & str, hm:& HashMap, fill_fa... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `update_wad_map_and_block_file` [INFO] [stdout] --> src/index_writer.rs:138:4 [INFO] [stdout] | [INFO] [stdout] 138 | fn update_wad_map_and_block_file(wad_map: &mut BTreeMap, block_file: & str, hm:& HashMap, overflo... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `merge_block` [INFO] [stdout] --> src/index_writer.rs:182:4 [INFO] [stdout] | [INFO] [stdout] 182 | fn merge_block(word_key:u128, bfh:&mut std::fs::File, overflow_map: &mut HashMap>, wad_entry: &mut WadValue, new_block: & in... [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `DocPos` [INFO] [stdout] --> src/index_writer.rs:238:8 [INFO] [stdout] | [INFO] [stdout] 238 | struct DocPos { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `merge_block_data` [INFO] [stdout] --> src/index_writer.rs:246:8 [INFO] [stdout] | [INFO] [stdout] 246 | pub fn merge_block_data(left: &Vec, right: &Vec) -> Vec [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `write_doc_id_data` [INFO] [stdout] --> src/index_writer.rs:284:4 [INFO] [stdout] | [INFO] [stdout] 284 | fn write_doc_id_data(source: & Vec, dest: &mut Vec, start_pos: u32, end_pos: u32) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `read_doc_id_data` [INFO] [stdout] --> src/index_writer.rs:291:4 [INFO] [stdout] | [INFO] [stdout] 291 | fn read_doc_id_data(offset: u32, block_data: &Vec, emit: bool) -> DocPos [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `skip_block` [INFO] [stdout] --> src/index_writer.rs:457:4 [INFO] [stdout] | [INFO] [stdout] 457 | fn skip_block(word_key:u128, bfh:&mut std::fs::File, size: usize)-> io::Result<()> [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `write_existing` [INFO] [stdout] --> src/index_writer.rs:470:8 [INFO] [stdout] | [INFO] [stdout] 470 | pub fn write_existing(wad_file: &str, block_file: & str, hm:& HashMap, fill_factor: u8)-> io::Result<()> [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `unhash_word` [INFO] [stdout] --> src/word_hash.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn unhash_word(word_hash:u128) -> String [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `hash_word_to_u128` [INFO] [stdout] --> src/word_hash.rs:33:8 [INFO] [stdout] | [INFO] [stdout] 33 | pub fn hash_word_to_u128(word:&str) -> u128 [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `hash_word_to_u1282` [INFO] [stdout] --> src/word_hash.rs:62:8 [INFO] [stdout] | [INFO] [stdout] 62 | pub fn hash_word_to_u1282(word:&str) -> u128 [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `print_vec` [INFO] [stdout] --> src/indexer_diagnostics.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn print_vec(buffer: &Vec) [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `traverse_hm` [INFO] [stdout] --> src/indexer_diagnostics.rs:29:12 [INFO] [stdout] | [INFO] [stdout] 29 | pub fn traverse_hm(m: &HashMap, emit: bool) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `load_hm` [INFO] [stdout] --> src/indexer_diagnostics.rs:224:12 [INFO] [stdout] | [INFO] [stdout] 224 | pub fn load_hm(wad_file: &str, block_file: &str, hm:&mut HashMap) -> io::Result<()> [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `list_top` [INFO] [stdout] --> src/indexer_diagnostics.rs:302:12 [INFO] [stdout] | [INFO] [stdout] 302 | pub fn list_top(hm:& HashMap, count:usize ) [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `list_top_by_size` [INFO] [stdout] --> src/indexer_diagnostics.rs:329:12 [INFO] [stdout] | [INFO] [stdout] 329 | pub fn list_top_by_size(hm:& HashMap, count:usize ) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `build_freq_map` [INFO] [stdout] --> src/indexer_diagnostics.rs:359:12 [INFO] [stdout] | [INFO] [stdout] 359 | pub fn build_freq_map(hm:& HashMap, count:usize, fm:& mut HashMap) [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `get_files` [INFO] [stdout] --> src/tantivy_test.rs:14:4 [INFO] [stdout] | [INFO] [stdout] 14 | fn get_files(directory: &str, v:&mut Vec) -> io::Result<()> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `get_all_files` [INFO] [stdout] --> src/tantivy_test.rs:30:4 [INFO] [stdout] | [INFO] [stdout] 30 | fn get_all_files(directory: &str, v:&mut Vec) -> io::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `index` [INFO] [stdout] --> src/tantivy_test.rs:45:8 [INFO] [stdout] | [INFO] [stdout] 45 | pub fn index(index_path: &str, data_path: &str)-> tantivy::Result<()> [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `bloom_test` [INFO] [stdout] --> src/main.rs:16:4 [INFO] [stdout] | [INFO] [stdout] 16 | fn bloom_test() [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 28 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1.19s [INFO] running `Command { std: "docker" "inspect" "3d82754e41ace93fbd95e65920b83f08248e04d996e955f9227d0ae5a13a4fb3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3d82754e41ace93fbd95e65920b83f08248e04d996e955f9227d0ae5a13a4fb3", kill_on_drop: false }` [INFO] [stdout] 3d82754e41ace93fbd95e65920b83f08248e04d996e955f9227d0ae5a13a4fb3