[INFO] cloning repository https://github.com/dixe/rust-search-engine [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/dixe/rust-search-engine" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdixe%2Frust-search-engine", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdixe%2Frust-search-engine'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] eacae2a2ab7baa7b98828e5ad55575d8cf7dbbf4 [INFO] checking dixe/rust-search-engine/eacae2a2ab7baa7b98828e5ad55575d8cf7dbbf4 against master#f609b7e0586f81fefb3523e3e17adf779ac416be for pr-129466-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdixe%2Frust-search-engine" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/dixe/rust-search-engine on toolchain f609b7e0586f81fefb3523e3e17adf779ac416be [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/dixe/rust-search-engine [INFO] finished tweaking git repo https://github.com/dixe/rust-search-engine [INFO] tweaked toml for git repo https://github.com/dixe/rust-search-engine written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/dixe/rust-search-engine 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" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 40afd88af98d9dc86e9873f6296f08d1fb4d5fc433f67906b0a434c69f19c970 [INFO] running `Command { std: "docker" "start" "-a" "40afd88af98d9dc86e9873f6296f08d1fb4d5fc433f67906b0a434c69f19c970", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "40afd88af98d9dc86e9873f6296f08d1fb4d5fc433f67906b0a434c69f19c970", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "40afd88af98d9dc86e9873f6296f08d1fb4d5fc433f67906b0a434c69f19c970", kill_on_drop: false }` [INFO] [stdout] 40afd88af98d9dc86e9873f6296f08d1fb4d5fc433f67906b0a434c69f19c970 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9eb5a86ce0ff3f1b19ac5952f64788e759db42be490ccdf273bbb306d3bb79a5 [INFO] running `Command { std: "docker" "start" "-a" "9eb5a86ce0ff3f1b19ac5952f64788e759db42be490ccdf273bbb306d3bb79a5", kill_on_drop: false }` [INFO] [stderr] Checking rust-search-engine v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `text` [INFO] [stdout] --> src/index/searchable_index.rs:50:40 [INFO] [stdout] | [INFO] [stdout] 50 | PropertyType::SortableText(text) => panic!("Not implemted int property"), [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_text` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `text` [INFO] [stdout] --> src/index/searchable_index.rs:50:40 [INFO] [stdout] | [INFO] [stdout] 50 | PropertyType::SortableText(text) => panic!("Not implemted int property"), [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_text` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0170]: pattern binding `And` is named the same as one of the variants of the type `query::Operation` [INFO] [stdout] --> src/query.rs:54:13 [INFO] [stdout] | [INFO] [stdout] 54 | And => smaller.intersection(bigger).copied().collect(), [INFO] [stdout] | ^^^ help: to match on the variant, qualify the path: `query::Operation::And` [INFO] [stdout] | [INFO] [stdout] = note: `#[deny(bindings_with_variant_name)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0170]: pattern binding `Or` is named the same as one of the variants of the type `query::Operation` [INFO] [stdout] --> src/query.rs:55:13 [INFO] [stdout] | [INFO] [stdout] 55 | Or => smaller.union(bigger).copied().collect() [INFO] [stdout] | ^^ help: to match on the variant, qualify the path: `query::Operation::Or` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/query.rs:55:13 [INFO] [stdout] | [INFO] [stdout] 54 | And => smaller.intersection(bigger).copied().collect(), [INFO] [stdout] | --- matches any value [INFO] [stdout] 55 | Or => smaller.union(bigger).copied().collect() [INFO] [stdout] | ^^ no value can reach this [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `And` [INFO] [stdout] --> src/query.rs:54:13 [INFO] [stdout] | [INFO] [stdout] 54 | And => smaller.intersection(bigger).copied().collect(), [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_And` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `Or` [INFO] [stdout] --> src/query.rs:55:13 [INFO] [stdout] | [INFO] [stdout] 55 | Or => smaller.union(bigger).copied().collect() [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_Or` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0170]: pattern binding `And` is named the same as one of the variants of the type `query::Operation` [INFO] [stdout] --> src/query.rs:54:13 [INFO] [stdout] | [INFO] [stdout] 54 | And => smaller.intersection(bigger).copied().collect(), [INFO] [stdout] | ^^^ help: to match on the variant, qualify the path: `query::Operation::And` [INFO] [stdout] | [INFO] [stdout] = note: `#[deny(bindings_with_variant_name)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0170]: pattern binding `Or` is named the same as one of the variants of the type `query::Operation` [INFO] [stdout] --> src/query.rs:55:13 [INFO] [stdout] | [INFO] [stdout] 55 | Or => smaller.union(bigger).copied().collect() [INFO] [stdout] | ^^ help: to match on the variant, qualify the path: `query::Operation::Or` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SearchableIndex` is never constructed [INFO] [stdout] --> src/index/searchable_index.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct SearchableIndex { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/index/searchable_index.rs:29:12 [INFO] [stdout] | [INFO] [stdout] 28 | impl SearchableIndex { [INFO] [stdout] | -------------------- associated items in this implementation [INFO] [stdout] 29 | pub fn empty() -> Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 41 | fn increment_id(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 45 | fn insert_property(&mut self, prop: &IndexProperty ) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 56 | fn process_text_data(doc_id: usize, text: &str) -> HashMap::<&str, WordFrequency> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 73 | fn insert_text_property(&mut self, name: &str, text: &str) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 88 | fn insert_integer_property(&mut self, name: &str, data: IntegerT) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 94 | pub fn from_documents(docs: &Vec::) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 117 | pub fn get_property_map_text(&self, name: &str) -> &HashMap> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 121 | pub fn get_property_map_integer(&self, name: &str) -> &HashMap> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 126 | pub fn document_count(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ProcessedDocument` is never constructed [INFO] [stdout] --> src/index/searchable_index.rs:134:12 [INFO] [stdout] | [INFO] [stdout] 134 | pub struct ProcessedDocument { // Represents a document with stopwords removed ect. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ProcessedDocument` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/index/searchable_index.rs:139:12 [INFO] [stdout] | [INFO] [stdout] 138 | impl ProcessedDocument { [INFO] [stdout] | ---------------------- associated function in this implementation [INFO] [stdout] 139 | pub fn new(properties: Vec::) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `PropertyMap` is never constructed [INFO] [stdout] --> src/index/property_map.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct PropertyMap { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `get_or_create_mut`, `get_map`, and `insert_data` are never used [INFO] [stdout] --> src/index/property_map.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 13 | impl PropertyMap { [INFO] [stdout] | ------------------------------------------------- associated items in this implementation [INFO] [stdout] 14 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 20 | fn get_or_create_mut(&mut self, key: &str) -> &mut HashMap> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 29 | pub fn get_map(&self, key: &str) -> &HashMap> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 33 | pub fn insert_data(&mut self, property: &str, data: T, freq: WordFrequency) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `PropertyName` is never used [INFO] [stdout] --> src/index/index_types.rs:1:10 [INFO] [stdout] | [INFO] [stdout] 1 | pub type PropertyName = String; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `DocId` is never used [INFO] [stdout] --> src/index/index_types.rs:3:10 [INFO] [stdout] | [INFO] [stdout] 3 | pub type DocId = usize; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `IntegerT` is never used [INFO] [stdout] --> src/index/index_types.rs:4:10 [INFO] [stdout] | [INFO] [stdout] 4 | pub type IntegerT = i32; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `TextT` is never used [INFO] [stdout] --> src/index/index_types.rs:5:10 [INFO] [stdout] | [INFO] [stdout] 5 | pub type TextT = String; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `SortableTextT` is never used [INFO] [stdout] --> src/index/index_types.rs:6:10 [INFO] [stdout] | [INFO] [stdout] 6 | pub type SortableTextT = String; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `WordFrequency` is never constructed [INFO] [stdout] --> src/index/index_types.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct WordFrequency { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `WordFrequency` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `IndexProperty` is never constructed [INFO] [stdout] --> src/index/index_types.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 16 | pub struct IndexProperty { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `IndexProperty` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `PropertyType` is never used [INFO] [stdout] --> src/index/index_types.rs:23:10 [INFO] [stdout] | [INFO] [stdout] 23 | pub enum PropertyType { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PropertyType` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `IndexQuery` is never constructed [INFO] [stdout] --> src/query.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct IndexQuery { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `PropertyQuery` is never constructed [INFO] [stdout] --> src/query.rs:19:12 [INFO] [stdout] | [INFO] [stdout] 19 | pub struct PropertyQuery { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PropertyQuery` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Criterion` is never constructed [INFO] [stdout] --> src/query.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 25 | pub struct Criterion { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Operation` is never used [INFO] [stdout] --> src/query.rs:32:10 [INFO] [stdout] | [INFO] [stdout] 32 | pub enum Operation { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Operation` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `combine` is never used [INFO] [stdout] --> src/query.rs:39:12 [INFO] [stdout] | [INFO] [stdout] 37 | impl Operation { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] 38 | [INFO] [stdout] 39 | pub fn combine(&self, set1: &HashSet, set2: &HashSet) -> HashSet { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `FacetQuery` is never constructed [INFO] [stdout] --> src/query.rs:61:12 [INFO] [stdout] | [INFO] [stdout] 61 | pub struct FacetQuery { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `query_index` is never used [INFO] [stdout] --> src/query.rs:69:8 [INFO] [stdout] | [INFO] [stdout] 69 | pub fn query_index(index: &SearchableIndex, query: &IndexQuery) -> SearchResultIds { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `query_criterion` is never used [INFO] [stdout] --> src/query.rs:102:4 [INFO] [stdout] | [INFO] [stdout] 102 | fn query_criterion(index: &SearchableIndex, criterion: &Criterion) -> HashSet:: { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `query_property` is never used [INFO] [stdout] --> src/query.rs:121:4 [INFO] [stdout] | [INFO] [stdout] 121 | fn query_property(index: &SearchableIndex, query: &PropertyQuery) -> Vec:: { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `query_text_property` is never used [INFO] [stdout] --> src/query.rs:131:4 [INFO] [stdout] | [INFO] [stdout] 131 | fn query_text_property(index: &SearchableIndex, property: &str, query_text: &str) -> Vec:: { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `query_integer_property` is never used [INFO] [stdout] --> src/query.rs:144:4 [INFO] [stdout] | [INFO] [stdout] 144 | fn query_integer_property(index: &SearchableIndex, property: &str, val: &IntegerT) -> Vec:: { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SearchResultIds` is never constructed [INFO] [stdout] --> src/search_result.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct SearchResultIds { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `And` should have a snake case name [INFO] [stdout] --> src/query.rs:54:13 [INFO] [stdout] | [INFO] [stdout] 54 | And => smaller.intersection(bigger).copied().collect(), [INFO] [stdout] | ^^^ help: convert the identifier to snake case: `and` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Or` should have a snake case name [INFO] [stdout] --> src/query.rs:55:13 [INFO] [stdout] | [INFO] [stdout] 55 | Or => smaller.union(bigger).copied().collect() [INFO] [stdout] | ^^ help: convert the identifier to snake case (notice the capitalization): `or` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/query.rs:55:13 [INFO] [stdout] | [INFO] [stdout] 54 | And => smaller.intersection(bigger).copied().collect(), [INFO] [stdout] | --- matches any value [INFO] [stdout] 55 | Or => smaller.union(bigger).copied().collect() [INFO] [stdout] | ^^ no value can reach this [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `And` [INFO] [stdout] --> src/query.rs:54:13 [INFO] [stdout] | [INFO] [stdout] 54 | And => smaller.intersection(bigger).copied().collect(), [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_And` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `Or` [INFO] [stdout] --> src/query.rs:55:13 [INFO] [stdout] | [INFO] [stdout] 55 | Or => smaller.union(bigger).copied().collect() [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_Or` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors; 32 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0170`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rust-search-engine` (bin "rust-search-engine") due to 3 previous errors; 32 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: field `properties_sortable_text_word_map` is never read [INFO] [stdout] --> src/index/searchable_index.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct SearchableIndex { [INFO] [stdout] | --------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 19 | properties_sortable_text_word_map: PropertyMap, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `SortableText` is never constructed [INFO] [stdout] --> src/index/index_types.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 23 | pub enum PropertyType { [INFO] [stdout] | ------------ variant in this enum [INFO] [stdout] ... [INFO] [stdout] 26 | SortableText(SortableTextT), // enforce some kind of size limit to ensure performant sorting [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PropertyType` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `sub_queries` is never read [INFO] [stdout] --> src/query.rs:63:5 [INFO] [stdout] | [INFO] [stdout] 61 | pub struct FacetQuery { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 62 | criterion: Option, [INFO] [stdout] 63 | sub_queries: Vec::, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `And` should have a snake case name [INFO] [stdout] --> src/query.rs:54:13 [INFO] [stdout] | [INFO] [stdout] 54 | And => smaller.intersection(bigger).copied().collect(), [INFO] [stdout] | ^^^ help: convert the identifier to snake case: `and` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Or` should have a snake case name [INFO] [stdout] --> src/query.rs:55:13 [INFO] [stdout] | [INFO] [stdout] 55 | Or => smaller.union(bigger).copied().collect() [INFO] [stdout] | ^^ help: convert the identifier to snake case (notice the capitalization): `or` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors; 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0170`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rust-search-engine` (bin "rust-search-engine" test) due to 3 previous errors; 9 warnings emitted [INFO] running `Command { std: "docker" "inspect" "9eb5a86ce0ff3f1b19ac5952f64788e759db42be490ccdf273bbb306d3bb79a5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9eb5a86ce0ff3f1b19ac5952f64788e759db42be490ccdf273bbb306d3bb79a5", kill_on_drop: false }` [INFO] [stdout] 9eb5a86ce0ff3f1b19ac5952f64788e759db42be490ccdf273bbb306d3bb79a5