[INFO] cloning repository https://github.com/krchiper/dawa-autocomplete [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/krchiper/dawa-autocomplete" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkrchiper%2Fdawa-autocomplete", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkrchiper%2Fdawa-autocomplete'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] a3b3cc7e5c922bab8b4b682bfaffbbff089f0096 [INFO] checking krchiper/dawa-autocomplete against master#092a284ba0421695f2032c947765429fd7095796 for pr-139763 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkrchiper%2Fdawa-autocomplete" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/krchiper/dawa-autocomplete on toolchain 092a284ba0421695f2032c947765429fd7095796 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+092a284ba0421695f2032c947765429fd7095796" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/krchiper/dawa-autocomplete [INFO] finished tweaking git repo https://github.com/krchiper/dawa-autocomplete [INFO] tweaked toml for git repo https://github.com/krchiper/dawa-autocomplete written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/krchiper/dawa-autocomplete 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" "+092a284ba0421695f2032c947765429fd7095796" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+092a284ba0421695f2032c947765429fd7095796" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6c6fdce5e4b4fc0bfe8c8a0c09d7e5a13edee1ebc2b6523ad9a928315e4c6527 [INFO] running `Command { std: "docker" "start" "-a" "6c6fdce5e4b4fc0bfe8c8a0c09d7e5a13edee1ebc2b6523ad9a928315e4c6527", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6c6fdce5e4b4fc0bfe8c8a0c09d7e5a13edee1ebc2b6523ad9a928315e4c6527", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6c6fdce5e4b4fc0bfe8c8a0c09d7e5a13edee1ebc2b6523ad9a928315e4c6527", kill_on_drop: false }` [INFO] [stdout] 6c6fdce5e4b4fc0bfe8c8a0c09d7e5a13edee1ebc2b6523ad9a928315e4c6527 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+092a284ba0421695f2032c947765429fd7095796" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4b842f1f3c21b7d6e6fea8beb32659609923cb15a0a0adf75d65ead8b2521a23 [INFO] running `Command { std: "docker" "start" "-a" "4b842f1f3c21b7d6e6fea8beb32659609923cb15a0a0adf75d65ead8b2521a23", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.92 [INFO] [stderr] Compiling serde v1.0.217 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling pin-project-lite v0.2.15 [INFO] [stderr] Compiling bytes v1.9.0 [INFO] [stderr] Compiling futures-core v0.3.31 [INFO] [stderr] Compiling futures-sink v0.3.31 [INFO] [stderr] Compiling proc-macro2-diagnostics v0.10.1 [INFO] [stderr] Compiling uncased v0.9.10 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling libc v0.2.169 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling futures-task v0.3.31 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling once_cell v1.20.2 [INFO] [stderr] Compiling futures-io v0.3.31 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling bitflags v2.6.0 [INFO] [stderr] Compiling ref-cast v1.0.23 [INFO] [stderr] Compiling rustix v0.38.42 [INFO] [stderr] Compiling powerfmt v0.2.0 [INFO] [stderr] Compiling httparse v1.9.5 [INFO] [stderr] Compiling tracing-core v0.1.33 [INFO] [stderr] Compiling inlinable_string v0.1.15 [INFO] [stderr] Compiling log v0.4.22 [INFO] [stderr] Compiling smallvec v1.13.2 [INFO] [stderr] Compiling try-lock v0.2.5 [INFO] [stderr] Compiling deranged v0.3.11 [INFO] [stderr] Compiling want v0.3.1 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Compiling multer v3.1.0 [INFO] [stderr] Compiling figment v0.10.19 [INFO] [stderr] Compiling tower-service v0.3.3 [INFO] [stderr] Compiling percent-encoding v2.3.1 [INFO] [stderr] Compiling http v0.2.12 [INFO] [stderr] Compiling httpdate v1.0.3 [INFO] [stderr] Compiling stable-pattern v0.1.0 [INFO] [stderr] Checking is-terminal v0.4.13 [INFO] [stderr] Compiling state v0.6.0 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling quote v1.0.38 [INFO] [stderr] Compiling either v1.13.0 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Checking yansi v1.0.1 [INFO] [stderr] Compiling syn v2.0.95 [INFO] [stderr] Compiling rocket v0.5.1 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Compiling glob v0.3.2 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking winnow v0.6.22 [INFO] [stderr] Checking regex-syntax v0.8.5 [INFO] [stderr] Checking http-body v0.4.6 [INFO] [stderr] Checking linux-raw-sys v0.4.14 [INFO] [stderr] Checking unicode-ident v1.0.14 [INFO] [stderr] Compiling signal-hook-registry v1.4.2 [INFO] [stderr] Compiling socket2 v0.5.8 [INFO] [stderr] Compiling mio v1.0.3 [INFO] [stderr] Compiling time v0.3.37 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Checking anstyle-parse v0.2.6 [INFO] [stderr] Compiling utf8parse v0.2.2 [INFO] [stderr] Checking spin v0.9.8 [INFO] [stderr] Checking colorchoice v1.0.3 [INFO] [stderr] Checking anstyle-query v1.1.2 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Checking fastrand v2.3.0 [INFO] [stderr] Checking anstyle v1.0.10 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Checking anstream v0.6.18 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling http v1.2.0 [INFO] [stderr] Compiling encoding_rs v0.8.35 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking csv-core v0.1.11 [INFO] [stderr] Checking regex-automata v0.4.9 [INFO] [stderr] Compiling is_terminal_polyfill v1.70.1 [INFO] [stderr] Checking atomic v0.5.3 [INFO] [stderr] Compiling mime v0.3.17 [INFO] [stderr] Checking binascii v0.1.4 [INFO] [stderr] Checking humantime v2.1.0 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling cookie v0.18.1 [INFO] [stderr] Checking tempfile v3.15.0 [INFO] [stderr] Checking uuid v1.11.0 [INFO] [stderr] Checking regex v1.11.1 [INFO] [stderr] Checking futures v0.3.31 [INFO] [stderr] Checking env_filter v0.1.3 [INFO] [stderr] Checking env_logger v0.11.6 [INFO] [stderr] Compiling devise_core v0.4.2 [INFO] [stderr] Compiling serde_derive v1.0.217 [INFO] [stderr] Compiling tokio-macros v2.4.0 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling pear_codegen v0.2.9 [INFO] [stderr] Compiling ref-cast-impl v1.0.23 [INFO] [stderr] Compiling async-stream-impl v0.3.6 [INFO] [stderr] Compiling async-trait v0.1.84 [INFO] [stderr] Compiling devise_codegen v0.4.2 [INFO] [stderr] Compiling tokio v1.42.0 [INFO] [stderr] Checking async-stream v0.3.6 [INFO] [stderr] Compiling devise v0.4.2 [INFO] [stderr] Checking zerocopy v0.7.35 [INFO] [stderr] Compiling pear v0.2.9 [INFO] [stderr] Checking ppv-lite86 v0.2.20 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Compiling tokio-util v0.7.13 [INFO] [stderr] Compiling tokio-stream v0.1.17 [INFO] [stderr] Checking indexmap v2.7.0 [INFO] [stderr] Checking serde_spanned v0.6.8 [INFO] [stderr] Checking toml_datetime v0.6.8 [INFO] [stderr] Checking ubyte v0.10.4 [INFO] [stderr] Checking serde_json v1.0.134 [INFO] [stderr] Checking csv v1.3.1 [INFO] [stderr] Checking h2 v0.3.26 [INFO] [stderr] Checking toml_edit v0.22.22 [INFO] [stderr] Checking toml v0.8.19 [INFO] [stderr] Compiling hyper v0.14.32 [INFO] [stderr] Checking rocket_http v0.5.1 [INFO] [stderr] Compiling rocket_codegen v0.5.1 [INFO] [stderr] Checking dawa-autocomplete v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::fmt::Display` [INFO] [stdout] --> src/address.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::fmt::Display; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BTreeSet`, `BinaryHeap`, and `HashMap` [INFO] [stdout] --> src/address_completer.rs:2:29 [INFO] [stdout] | [INFO] [stdout] 2 | collections::{BTreeMap, BTreeSet, BinaryHeap, HashMap}, [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fmt::Display` [INFO] [stdout] --> src/address.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::fmt::Display; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BTreeSet`, `BinaryHeap`, and `HashMap` [INFO] [stdout] --> src/address_completer.rs:2:29 [INFO] [stdout] | [INFO] [stdout] 2 | collections::{BTreeMap, BTreeSet, BinaryHeap, HashMap}, [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dawa_uuid` [INFO] [stdout] --> src/address_completer.rs:277:17 [INFO] [stdout] | [INFO] [stdout] 277 | let dawa_uuid = DawaUuid::new(record.get(0).unwrap().parse().unwrap()); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_dawa_uuid` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `display_name` [INFO] [stdout] --> src/address_completer.rs:343:9 [INFO] [stdout] | [INFO] [stdout] 343 | display_name: &String, [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_display_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `count` [INFO] [stdout] --> src/address_completer.rs:345:9 [INFO] [stdout] | [INFO] [stdout] 345 | count: i32, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_count` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `q` [INFO] [stdout] --> src/backends/static.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | q: Option, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_q` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `type` [INFO] [stdout] --> src/backends/static.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | r#type: Option, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `fuzzy` [INFO] [stdout] --> src/backends/static.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | fuzzy: Option, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_fuzzy` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `caretpos` [INFO] [stdout] --> src/backends/static.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | caretpos: Option, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_caretpos` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `per_side` [INFO] [stdout] --> src/backends/static.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | per_side: Option, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_per_side` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `type` [INFO] [stdout] --> src/main.rs:51:5 [INFO] [stdout] | [INFO] [stdout] 51 | r#type: Option, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `fuzzy` [INFO] [stdout] --> src/main.rs:52:5 [INFO] [stdout] | [INFO] [stdout] 52 | fuzzy: Option, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_fuzzy` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `caretpos` [INFO] [stdout] --> src/main.rs:53:5 [INFO] [stdout] | [INFO] [stdout] 53 | caretpos: Option, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_caretpos` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `code`, `name`, and `zip` are never read [INFO] [stdout] --> src/address_completer.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 17 | pub struct Municipality { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 18 | pub code: i32, [INFO] [stdout] | ^^^^ [INFO] [stdout] 19 | pub name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 20 | pub zip: String, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Query` is never constructed [INFO] [stdout] --> src/address_completer.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 23 | pub struct Query { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `None` is never constructed [INFO] [stdout] --> src/address_completer.rs:35:5 [INFO] [stdout] | [INFO] [stdout] 31 | pub enum SearchMode { [INFO] [stdout] | ---------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 35 | None, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `city` is never read [INFO] [stdout] --> src/address_completer.rs:45:5 [INFO] [stdout] | [INFO] [stdout] 39 | pub struct QueryElement { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 45 | city: Option, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `QueryElement` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `save` is never used [INFO] [stdout] --> src/address_completer.rs:226:12 [INFO] [stdout] | [INFO] [stdout] 145 | impl AddressCompleter { [INFO] [stdout] | --------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 226 | pub fn save(&mut self, path: &str) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `autocomplete` is never used [INFO] [stdout] --> src/backends/static.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn autocomplete( [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `insert` and `search` are never used [INFO] [stdout] --> src/token_index.rs:55:12 [INFO] [stdout] | [INFO] [stdout] 48 | impl TokenIndex { [INFO] [stdout] | --------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 55 | pub fn insert(&mut self, string: String, address: &Arc
) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 67 | pub fn search(&self, query: &str) -> Option>> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dawa_uuid` [INFO] [stdout] --> src/address_completer.rs:277:17 [INFO] [stdout] | [INFO] [stdout] 277 | let dawa_uuid = DawaUuid::new(record.get(0).unwrap().parse().unwrap()); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_dawa_uuid` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `display_name` [INFO] [stdout] --> src/address_completer.rs:343:9 [INFO] [stdout] | [INFO] [stdout] 343 | display_name: &String, [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_display_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `count` [INFO] [stdout] --> src/address_completer.rs:345:9 [INFO] [stdout] | [INFO] [stdout] 345 | count: i32, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_count` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `address_completer` [INFO] [stdout] --> src/address_completer.rs:449:17 [INFO] [stdout] | [INFO] [stdout] 449 | let mut address_completer = AddressCompleter::new(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_address_completer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/address_completer.rs:449:13 [INFO] [stdout] | [INFO] [stdout] 449 | let mut address_completer = AddressCompleter::new(); [INFO] [stdout] | ----^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `q` [INFO] [stdout] --> src/backends/static.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | q: Option, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_q` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `type` [INFO] [stdout] --> src/backends/static.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | r#type: Option, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `fuzzy` [INFO] [stdout] --> src/backends/static.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | fuzzy: Option, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_fuzzy` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `caretpos` [INFO] [stdout] --> src/backends/static.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | caretpos: Option, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_caretpos` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `per_side` [INFO] [stdout] --> src/backends/static.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | per_side: Option, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_per_side` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `type` [INFO] [stdout] --> src/main.rs:51:5 [INFO] [stdout] | [INFO] [stdout] 51 | r#type: Option, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `fuzzy` [INFO] [stdout] --> src/main.rs:52:5 [INFO] [stdout] | [INFO] [stdout] 52 | fuzzy: Option, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_fuzzy` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `caretpos` [INFO] [stdout] --> src/main.rs:53:5 [INFO] [stdout] | [INFO] [stdout] 53 | caretpos: Option, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_caretpos` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `code`, `name`, and `zip` are never read [INFO] [stdout] --> src/address_completer.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 17 | pub struct Municipality { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 18 | pub code: i32, [INFO] [stdout] | ^^^^ [INFO] [stdout] 19 | pub name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 20 | pub zip: String, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Query` is never constructed [INFO] [stdout] --> src/address_completer.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 23 | pub struct Query { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `None` is never constructed [INFO] [stdout] --> src/address_completer.rs:35:5 [INFO] [stdout] | [INFO] [stdout] 31 | pub enum SearchMode { [INFO] [stdout] | ---------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 35 | None, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `city` is never read [INFO] [stdout] --> src/address_completer.rs:45:5 [INFO] [stdout] | [INFO] [stdout] 39 | pub struct QueryElement { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 45 | city: Option, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `QueryElement` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `save` is never used [INFO] [stdout] --> src/address_completer.rs:226:12 [INFO] [stdout] | [INFO] [stdout] 145 | impl AddressCompleter { [INFO] [stdout] | --------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 226 | pub fn save(&mut self, path: &str) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `ADDRESS_COMPLETER` is never used [INFO] [stdout] --> src/address_completer.rs:442:12 [INFO] [stdout] | [INFO] [stdout] 442 | static ADDRESS_COMPLETER: Lazy = Lazy::new(AddressCompleter::init); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `autocomplete` is never used [INFO] [stdout] --> src/backends/static.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn autocomplete( [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 09s [INFO] running `Command { std: "docker" "inspect" "4b842f1f3c21b7d6e6fea8beb32659609923cb15a0a0adf75d65ead8b2521a23", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4b842f1f3c21b7d6e6fea8beb32659609923cb15a0a0adf75d65ead8b2521a23", kill_on_drop: false }` [INFO] [stdout] 4b842f1f3c21b7d6e6fea8beb32659609923cb15a0a0adf75d65ead8b2521a23