[INFO] fetching crate tgv 0.1.0... [INFO] checking tgv-0.1.0 against try#342ed2e8608ee307743c341962b427652cdb06e9 for pr-146562-1 [INFO] extracting crate tgv 0.1.0 into /workspace/builds/worker-2-tc2/source [INFO] started tweaking crates.io crate tgv 0.1.0 [INFO] finished tweaking crates.io crate tgv 0.1.0 [INFO] tweaked toml for crates.io crate tgv 0.1.0 written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate tgv 0.1.0 on toolchain 342ed2e8608ee307743c341962b427652cdb06e9 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+342ed2e8608ee307743c341962b427652cdb06e9" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate tgv 0.1.0 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" "+342ed2e8608ee307743c341962b427652cdb06e9" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+342ed2e8608ee307743c341962b427652cdb06e9" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7f5f082cdd91d82ad8ea5dd4a342de3e32ef4a3c299e9a109252c23938cbce7b [INFO] running `Command { std: "docker" "start" "-a" "7f5f082cdd91d82ad8ea5dd4a342de3e32ef4a3c299e9a109252c23938cbce7b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7f5f082cdd91d82ad8ea5dd4a342de3e32ef4a3c299e9a109252c23938cbce7b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7f5f082cdd91d82ad8ea5dd4a342de3e32ef4a3c299e9a109252c23938cbce7b", kill_on_drop: false }` [INFO] [stdout] 7f5f082cdd91d82ad8ea5dd4a342de3e32ef4a3c299e9a109252c23938cbce7b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+342ed2e8608ee307743c341962b427652cdb06e9" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9e45ec87c65cedf9c4adf4ed32f00d95374e5c47fa1624d05ed907db70f30235 [INFO] running `Command { std: "docker" "start" "-a" "9e45ec87c65cedf9c4adf4ed32f00d95374e5c47fa1624d05ed907db70f30235", kill_on_drop: false }` [INFO] [stderr] warning: tgv v0.1.0 (/opt/rustwide/workdir) ignoring invalid dependency `cargo-insta` which is missing a lib target [INFO] [stderr] Compiling proc-macro2 v1.0.93 [INFO] [stderr] Compiling unicode-ident v1.0.16 [INFO] [stderr] Compiling libc v0.2.169 [INFO] [stderr] Compiling serde v1.0.217 [INFO] [stderr] Compiling typenum v1.18.0 [INFO] [stderr] Checking smallvec v1.14.0 [INFO] [stderr] Checking bytes v1.10.0 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking log v0.4.25 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Checking once_cell v1.20.3 [INFO] [stderr] Checking foldhash v0.1.4 [INFO] [stderr] Compiling const-oid v0.9.6 [INFO] [stderr] Compiling openssl v0.10.71 [INFO] [stderr] Checking hashbrown v0.15.2 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling quote v1.0.38 [INFO] [stderr] Checking indexmap v2.7.1 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling syn v2.0.98 [INFO] [stderr] Compiling jobserver v0.1.32 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Checking signal-hook-registry v1.4.2 [INFO] [stderr] Checking parking_lot_core v0.9.10 [INFO] [stderr] Checking mio v1.0.3 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Checking socket2 v0.5.8 [INFO] [stderr] Compiling litemap v0.7.4 [INFO] [stderr] Compiling subtle v2.6.1 [INFO] [stderr] Compiling cc v1.2.15 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling libm v0.2.11 [INFO] [stderr] Compiling icu_locid_transform_data v1.5.0 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Compiling glob v0.3.2 [INFO] [stderr] Checking ryu v1.0.19 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling icu_properties_data v1.5.0 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Checking tracing-core v0.1.33 [INFO] [stderr] Compiling base64ct v1.6.0 [INFO] [stderr] Compiling openssl-src v300.4.2+3.4.1 [INFO] [stderr] Compiling zeroize v1.8.1 [INFO] [stderr] Compiling num-bigint-dig v0.8.4 [INFO] [stderr] Compiling icu_normalizer_data v1.5.0 [INFO] [stderr] Compiling pem-rfc7468 v0.7.0 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling getrandom v0.3.1 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling der v0.7.9 [INFO] [stderr] Compiling cmake v0.1.54 [INFO] [stderr] Compiling openssl-sys v0.9.106 [INFO] [stderr] Compiling ring v0.17.11 [INFO] [stderr] Compiling libsqlite3-sys v0.27.0 [INFO] [stderr] Compiling clang-sys v1.8.1 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling synstructure v0.13.1 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking zlib-rs v0.5.1 [INFO] [stderr] Compiling serde_json v1.0.139 [INFO] [stderr] Compiling form_urlencoded v1.2.1 [INFO] [stderr] Compiling tokio v1.43.0 [INFO] [stderr] Compiling spki v0.7.3 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Compiling libz-sys v1.1.22 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Checking libz-rs-sys v0.5.1 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Checking crc32fast v1.5.0 [INFO] [stderr] Checking lexical-util v1.0.6 [INFO] [stderr] Compiling serde_derive v1.0.217 [INFO] [stderr] Compiling zerofrom-derive v0.1.5 [INFO] [stderr] Compiling yoke-derive v0.7.5 [INFO] [stderr] Compiling zerovec-derive v0.10.3 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling icu_provider_macros v1.5.0 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Checking zerofrom v0.1.5 [INFO] [stderr] Checking yoke v0.7.5 [INFO] [stderr] Compiling tracing-attributes v0.1.28 [INFO] [stderr] Checking zerovec v0.10.4 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Checking tinystr v0.7.6 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Checking icu_locid v1.5.0 [INFO] [stderr] Checking icu_provider v1.5.0 [INFO] [stderr] Compiling zerocopy v0.7.35 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Checking icu_locid_transform v1.5.0 [INFO] [stderr] Checking icu_collections v1.5.0 [INFO] [stderr] Checking icu_properties v1.5.1 [INFO] [stderr] Checking bitflags v2.8.0 [INFO] [stderr] Compiling either v1.13.0 [INFO] [stderr] Checking tracing v0.1.41 [INFO] [stderr] Compiling thiserror-impl v2.0.12 [INFO] [stderr] Compiling ppv-lite86 v0.2.20 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Checking thiserror v1.0.69 [INFO] [stderr] Checking http v1.2.0 [INFO] [stderr] Checking icu_normalizer v1.5.0 [INFO] [stderr] Checking crossbeam-channel v0.5.15 [INFO] [stderr] Checking idna_adapter v1.2.0 [INFO] [stderr] Checking idna v1.0.3 [INFO] [stderr] Compiling itoa v1.0.14 [INFO] [stderr] Compiling tinyvec_macros v0.1.1 [INFO] [stderr] Compiling unicode_categories v0.1.1 [INFO] [stderr] Compiling tinyvec v1.8.1 [INFO] [stderr] Checking url v2.5.4 [INFO] [stderr] Compiling sqlformat v0.2.6 [INFO] [stderr] Compiling hashlink v0.8.4 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling tokio-stream v0.1.17 [INFO] [stderr] Checking flate2 v1.1.2 [INFO] [stderr] Compiling num-iter v0.1.45 [INFO] [stderr] Compiling pkcs8 v0.10.2 [INFO] [stderr] Compiling futures-intrusive v0.5.0 [INFO] [stderr] Compiling sha2 v0.10.8 [INFO] [stderr] Compiling atoi v2.0.0 [INFO] [stderr] Compiling libloading v0.8.6 [INFO] [stderr] Checking bstr v1.12.0 [INFO] [stderr] Compiling event-listener v2.5.3 [INFO] [stderr] Compiling rustix v0.38.44 [INFO] [stderr] Compiling httparse v1.10.0 [INFO] [stderr] Compiling bindgen v0.69.5 [INFO] [stderr] Compiling sqlx-core v0.7.4 [INFO] [stderr] Checking noodles-core v0.17.0 [INFO] [stderr] Compiling pkcs1 v0.7.5 [INFO] [stderr] Checking noodles-bgzf v0.41.0 [INFO] [stderr] Compiling unicode-normalization v0.1.24 [INFO] [stderr] Checking http-body v1.0.1 [INFO] [stderr] Checking tokio-util v0.7.13 [INFO] [stderr] Compiling itertools v0.12.1 [INFO] [stderr] Compiling cexpr v0.6.0 [INFO] [stderr] Compiling bzip2-sys v0.1.13+1.0.8 [INFO] [stderr] Compiling curl-sys v0.4.80+curl-8.12.1 [INFO] [stderr] Compiling lzma-sys v0.1.20 [INFO] [stderr] Compiling signature v2.2.0 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Checking num_cpus v1.17.0 [INFO] [stderr] Compiling unicode-properties v0.1.3 [INFO] [stderr] Compiling lazycell v1.3.0 [INFO] [stderr] Compiling semver v0.1.20 [INFO] [stderr] Compiling unicode-bidi v0.3.18 [INFO] [stderr] Compiling linux-raw-sys v0.4.15 [INFO] [stderr] Compiling quick-error v1.2.3 [INFO] [stderr] Checking bit-vec v0.8.0 [INFO] [stderr] Compiling rustc-hash v1.1.0 [INFO] [stderr] Compiling darling_core v0.20.11 [INFO] [stderr] Checking noodles-csi v0.49.0 [INFO] [stderr] Compiling stringprep v0.1.5 [INFO] [stderr] Compiling fs-utils v1.1.4 [INFO] [stderr] Compiling rustc_version v0.1.7 [INFO] [stderr] Checking futures-executor v0.3.31 [INFO] [stderr] Compiling hkdf v0.12.4 [INFO] [stderr] Checking h2 v0.4.8 [INFO] [stderr] Compiling rsa v0.9.7 [INFO] [stderr] Compiling thiserror v2.0.12 [INFO] [stderr] Checking lexical-parse-integer v1.0.5 [INFO] [stderr] Checking lexical-write-integer v1.0.5 [INFO] [stderr] Compiling strum_macros v0.26.4 [INFO] [stderr] Compiling sha1 v0.10.6 [INFO] [stderr] Compiling libdeflate-sys v0.13.0 [INFO] [stderr] Compiling md-5 v0.10.6 [INFO] [stderr] Compiling urlencoding v2.1.3 [INFO] [stderr] Compiling ucd-trie v0.1.7 [INFO] [stderr] Compiling base64 v0.21.7 [INFO] [stderr] Compiling whoami v1.5.2 [INFO] [stderr] Compiling unicode-segmentation v1.12.0 [INFO] [stderr] Compiling sqlx-mysql v0.7.4 [INFO] [stderr] Compiling rustls v0.21.12 [INFO] [stderr] Compiling pest v2.8.0 [INFO] [stderr] Checking hyper v1.6.0 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Checking clap_builder v4.5.30 [INFO] [stderr] Compiling tempfile v3.17.1 [INFO] [stderr] Compiling sqlx-sqlite v0.7.4 [INFO] [stderr] Compiling hts-sys v2.2.0 [INFO] [stderr] Checking lexical-write-float v1.0.5 [INFO] [stderr] Checking lexical-parse-float v1.0.5 [INFO] [stderr] Compiling darling_macro v0.20.11 [INFO] [stderr] Compiling newtype_derive v0.1.6 [INFO] [stderr] Checking signal-hook v0.3.17 [INFO] [stderr] Checking noodles-tabix v0.55.0 [INFO] [stderr] Checking sct v0.7.1 [INFO] [stderr] Checking rustls-webpki v0.101.7 [INFO] [stderr] Compiling clap_derive v4.5.28 [INFO] [stderr] Compiling toml_datetime v0.6.8 [INFO] [stderr] Compiling winnow v0.7.7 [INFO] [stderr] Checking dirs-sys v0.5.0 [INFO] [stderr] Checking rustls-native-certs v0.6.3 [INFO] [stderr] Compiling sqlx-macros-core v0.7.4 [INFO] [stderr] Checking signal-hook-mio v0.2.4 [INFO] [stderr] Compiling darling v0.20.11 [INFO] [stderr] Compiling rstest_macros v0.25.0 [INFO] [stderr] Checking lexical-core v1.0.5 [INFO] [stderr] Compiling pest_meta v2.8.0 [INFO] [stderr] Checking clap v4.5.30 [INFO] [stderr] Compiling toml_edit v0.22.24 [INFO] [stderr] Checking hyper-util v0.1.10 [INFO] [stderr] Compiling ufmt-macros v0.3.0 [INFO] [stderr] Checking http-body-util v0.1.2 [INFO] [stderr] Checking webpki v0.22.4 [INFO] [stderr] Checking itertools v0.13.0 [INFO] [stderr] Compiling derive-new v0.6.0 [INFO] [stderr] Checking castaway v0.2.3 [INFO] [stderr] Checking http v0.2.12 [INFO] [stderr] Checking ufmt-write v0.1.0 [INFO] [stderr] Checking dotenvy v0.15.7 [INFO] [stderr] Checking tower v0.5.2 [INFO] [stderr] Checking bio-types v1.0.4 [INFO] [stderr] Checking ufmt v0.2.0 [INFO] [stderr] Compiling instability v0.3.7 [INFO] [stderr] Checking attohttpc v0.25.0 [INFO] [stderr] Compiling proc-macro-crate v3.3.0 [INFO] [stderr] Checking compact_str v0.8.1 [INFO] [stderr] Compiling sqlx-macros v0.7.4 [INFO] [stderr] Checking unicode-truncate v1.1.0 [INFO] [stderr] Compiling pest_generator v2.8.0 [INFO] [stderr] Checking libdeflater v0.13.0 [INFO] [stderr] Checking noodles-bed v0.26.0 [INFO] [stderr] Checking crossterm v0.28.1 [INFO] [stderr] Checking dirs v6.0.0 [INFO] [stderr] Checking noodles-vcf v0.79.0 [INFO] [stderr] Checking strum v0.26.3 [INFO] [stderr] Checking futures v0.3.31 [INFO] [stderr] Checking itertools v0.10.5 [INFO] [stderr] Checking serde_bytes v0.11.17 [INFO] [stderr] Checking bincode v1.3.3 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Compiling strum_macros v0.27.1 [INFO] [stderr] Compiling pin-project-internal v1.1.10 [INFO] [stderr] Compiling derive-new v0.7.0 [INFO] [stderr] Checking lru v0.12.5 [INFO] [stderr] Checking byteordered v0.6.0 [INFO] [stderr] Checking csv-core v0.1.12 [INFO] [stderr] Checking ieee754 v0.2.6 [INFO] [stderr] Checking index_list v0.2.16 [INFO] [stderr] Checking linear-map v1.2.0 [INFO] [stderr] Checking custom_derive v0.1.7 [INFO] [stderr] Compiling relative-path v1.9.3 [INFO] [stderr] Checking console v0.15.11 [INFO] [stderr] Checking bigtools v0.5.6 [INFO] [stderr] Checking ratatui v0.28.1 [INFO] [stderr] Checking csv v1.3.1 [INFO] [stderr] Checking noodles v0.99.0 [INFO] [stderr] Checking pin-project v1.1.10 [INFO] [stderr] Checking chrono v0.4.41 [INFO] [stderr] Compiling pest_derive v2.8.0 [INFO] [stderr] Checking shellexpand v3.1.1 [INFO] [stderr] Checking itertools v0.14.0 [INFO] [stderr] Checking strum v0.27.1 [INFO] [stderr] Compiling async-trait v0.1.88 [INFO] [stderr] Checking nom v8.0.0 [INFO] [stderr] Checking linked-hash-map v0.5.6 [INFO] [stderr] Checking twobit v0.2.1 [INFO] [stderr] Checking similar v2.7.0 [INFO] [stderr] Checking futures-timer v3.0.3 [INFO] [stderr] Checking shlex v1.3.0 [INFO] [stderr] Checking insta v1.42.2 [INFO] [stderr] Checking rstest v0.25.0 [INFO] [stderr] Checking tokio-native-tls v0.3.1 [INFO] [stderr] Checking hyper-tls v0.6.0 [INFO] [stderr] Checking reqwest v0.12.12 [INFO] [stderr] Checking sqlx v0.7.4 [INFO] [stderr] Checking rust-htslib v0.49.0 [INFO] [stderr] Checking tgv v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/repository.rs:79:21 [INFO] [stdout] | [INFO] [stdout] 79 | _ => { [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/repository.rs:79:21 [INFO] [stdout] | [INFO] [stdout] 53 | (BackendType::Ucsc, Reference::UcscAccession(_)) => { [INFO] [stdout] | ------------------------------------------------ matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 56 | (BackendType::Ucsc, _) => TrackServiceEnum::Db( [INFO] [stdout] | ---------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 59 | (BackendType::Local, _) => TrackServiceEnum::LocalDb( [INFO] [stdout] | ----------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 62 | (BackendType::Default, reference) => { [INFO] [stdout] | --------------------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 79 | _ => { [INFO] [stdout] | ^ collectively making this unreachable [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/repository.rs:67:51 [INFO] [stdout] | [INFO] [stdout] 67 | ... Err(TGVError::IOError(e)) => match reference { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `loaded_data` is assigned to, but never used [INFO] [stdout] --> src/states.rs:204:17 [INFO] [stdout] | [INFO] [stdout] 204 | let mut loaded_data = false; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_loaded_data` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `loaded_data` is never read [INFO] [stdout] --> src/states.rs:206:13 [INFO] [stdout] | [INFO] [stdout] 206 | loaded_data = Self::handle_data_message(state, repository, data_message).await?; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `options` [INFO] [stdout] --> src/states.rs:372:46 [INFO] [stdout] | [INFO] [stdout] 372 | StateMessage::AddAlignmentChange(options) => {} [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_options` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cache_dir` [INFO] [stdout] --> src/tracks/downloader.rs:107:9 [INFO] [stdout] | [INFO] [stdout] 107 | cache_dir: &PathBuf, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_cache_dir` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/repository.rs:79:21 [INFO] [stdout] | [INFO] [stdout] 79 | _ => { [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/repository.rs:79:21 [INFO] [stdout] | [INFO] [stdout] 53 | (BackendType::Ucsc, Reference::UcscAccession(_)) => { [INFO] [stdout] | ------------------------------------------------ matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 56 | (BackendType::Ucsc, _) => TrackServiceEnum::Db( [INFO] [stdout] | ---------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 59 | (BackendType::Local, _) => TrackServiceEnum::LocalDb( [INFO] [stdout] | ----------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 62 | (BackendType::Default, reference) => { [INFO] [stdout] | --------------------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 79 | _ => { [INFO] [stdout] | ^ collectively making this unreachable [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/repository.rs:67:51 [INFO] [stdout] | [INFO] [stdout] 67 | ... Err(TGVError::IOError(e)) => match reference { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `loaded_data` is assigned to, but never used [INFO] [stdout] --> src/states.rs:204:17 [INFO] [stdout] | [INFO] [stdout] 204 | let mut loaded_data = false; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_loaded_data` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `loaded_data` is never read [INFO] [stdout] --> src/states.rs:206:13 [INFO] [stdout] | [INFO] [stdout] 206 | loaded_data = Self::handle_data_message(state, repository, data_message).await?; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `options` [INFO] [stdout] --> src/states.rs:372:46 [INFO] [stdout] | [INFO] [stdout] 372 | StateMessage::AddAlignmentChange(options) => {} [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_options` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `reference` [INFO] [stdout] --> src/tracks/local_db.rs:89:9 [INFO] [stdout] | [INFO] [stdout] 89 | reference: &Reference, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_reference` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cache_dir` [INFO] [stdout] --> src/tracks/downloader.rs:107:9 [INFO] [stdout] | [INFO] [stdout] 107 | cache_dir: &PathBuf, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_cache_dir` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `reference` [INFO] [stdout] --> src/tracks/ucsc_db.rs:122:9 [INFO] [stdout] | [INFO] [stdout] 122 | reference: &Reference, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_reference` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `reference` [INFO] [stdout] --> src/tracks/local_db.rs:89:9 [INFO] [stdout] | [INFO] [stdout] 89 | reference: &Reference, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_reference` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `reference` [INFO] [stdout] --> src/tracks/ucsc_db.rs:122:9 [INFO] [stdout] | [INFO] [stdout] 122 | reference: &Reference, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_reference` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Read` [INFO] [stdout] --> src/alignment/read.rs:6:37 [INFO] [stdout] | [INFO] [stdout] 6 | use rust_htslib::bam::{record::Seq, Read, Record}; [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: `widgets::Widget` [INFO] [stdout] --> src/app.rs:4:33 [INFO] [stdout] | [INFO] [stdout] 4 | use ratatui::{prelude::Backend, widgets::Widget, Terminal}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `SequenceRepository` [INFO] [stdout] --> src/states.rs:20:41 [INFO] [stdout] | [INFO] [stdout] 20 | sequence::{Sequence, SequenceCache, SequenceRepository}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Filters` [INFO] [stdout] --> src/variant.rs:6:52 [INFO] [stdout] | [INFO] [stdout] 6 | use noodles_vcf::variant::record::{AlternateBases, Filters}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `TrackService` [INFO] [stdout] --> src/tracks/downloader.rs:1:21 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::tracks::{TrackService, UcscApiTrackService, UcscDbTrackService, TRACK_PREFERENCES}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `intervals::GenomeInterval` [INFO] [stdout] --> src/tracks/downloader.rs:2:30 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::{error::TGVError, intervals::GenomeInterval, reference::Reference, tracks::UcscHost}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Column` [INFO] [stdout] --> src/tracks/downloader.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | Column, MySqlPool, Pool, Row, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `intervals::GenomeInterval` [INFO] [stdout] --> src/tracks/mod.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | intervals::GenomeInterval, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Column` [INFO] [stdout] --> src/tracks/local_db.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | Column, Row, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Column` [INFO] [stdout] --> src/tracks/ucsc_db.rs:14:37 [INFO] [stdout] | [INFO] [stdout] 14 | use sqlx::{mysql::MySqlPoolOptions, Column, MySqlPool, Row}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `alignment` [INFO] [stdout] --> src/alignment/alignment.rs:221:23 [INFO] [stdout] | [INFO] [stdout] 221 | pub fn sort_alignment(alignment: &mut Alignment, option: AlignmentSort) -> Result<(), TGVError> { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_alignment` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `option` [INFO] [stdout] --> src/alignment/alignment.rs:221:50 [INFO] [stdout] | [INFO] [stdout] 221 | pub fn sort_alignment(alignment: &mut Alignment, option: AlignmentSort) -> Result<(), TGVError> { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_option` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i_op` [INFO] [stdout] --> src/alignment/coverage.rs:27:10 [INFO] [stdout] | [INFO] [stdout] 27 | for (i_op, op) in cigars.iter().enumerate() { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 27 | for (_i_op, op) in cigars.iter().enumerate() { [INFO] [stdout] | + [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `MIN_GENE_ON_SCREEN_LENGTH_TO_SHOW_EXONS` [INFO] [stdout] | [INFO] [stdout] 27 - for (i_op, op) in cigars.iter().enumerate() { [INFO] [stdout] 27 + for (rendering::track::MIN_GENE_ON_SCREEN_LENGTH_TO_SHOW_EXONS, op) in cigars.iter().enumerate() { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `l` [INFO] [stdout] --> src/alignment/coverage.rs:86:24 [INFO] [stdout] | [INFO] [stdout] 86 | Cigar::Ins(l) => {} [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_l` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `l` [INFO] [stdout] --> src/alignment/coverage.rs:88:24 [INFO] [stdout] | [INFO] [stdout] 88 | Cigar::Del(l) | Cigar::RefSkip(l) => {} [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 88 | Cigar::Del(_l) | Cigar::RefSkip(_l) => {} [INFO] [stdout] | + + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `l` [INFO] [stdout] --> src/alignment/coverage.rs:103:29 [INFO] [stdout] | [INFO] [stdout] 103 | Cigar::HardClip(l) | Cigar::Pad(l) => {} [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 103 | Cigar::HardClip(_l) | Cigar::Pad(_l) => {} [INFO] [stdout] | + + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `base` [INFO] [stdout] --> src/alignment/coverage.rs:161:39 [INFO] [stdout] | [INFO] [stdout] 161 | pub fn update_softclip(&mut self, base: u8) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_base` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `l` [INFO] [stdout] --> src/alignment/read.rs:189:33 [INFO] [stdout] | [INFO] [stdout] 189 | Cigar::SoftClip(l) | Cigar::Ins(l) | Cigar::HardClip(l) | Cigar::Pad(l) => { [INFO] [stdout] | ^ ^ ^ ^ [INFO] [stdout] | [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 189 | Cigar::SoftClip(_l) | Cigar::Ins(_l) | Cigar::HardClip(_l) | Cigar::Pad(_l) => { [INFO] [stdout] | + + + + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `l` [INFO] [stdout] --> src/alignment/read.rs:195:28 [INFO] [stdout] | [INFO] [stdout] 195 | Cigar::Del(l) | Cigar::RefSkip(l) => { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 195 | Cigar::Del(_l) | Cigar::RefSkip(_l) => { [INFO] [stdout] | + + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `l` [INFO] [stdout] --> src/alignment/read.rs:250:33 [INFO] [stdout] | [INFO] [stdout] 250 | Cigar::SoftClip(l) | Cigar::Ins(l) | Cigar::HardClip(l) | Cigar::Pad(l) => { [INFO] [stdout] | ^ ^ ^ ^ [INFO] [stdout] | [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 250 | Cigar::SoftClip(_l) | Cigar::Ins(_l) | Cigar::HardClip(_l) | Cigar::Pad(_l) => { [INFO] [stdout] | + + + + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `l` [INFO] [stdout] --> src/alignment/read.rs:256:28 [INFO] [stdout] | [INFO] [stdout] 256 | Cigar::Del(l) | Cigar::RefSkip(l) => { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 256 | Cigar::Del(_l) | Cigar::RefSkip(_l) => { [INFO] [stdout] | + + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i_op` [INFO] [stdout] --> src/alignment/read.rs:347:10 [INFO] [stdout] | [INFO] [stdout] 347 | for (i_op, op) in cigars.iter().enumerate() { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 347 | for (_i_op, op) in cigars.iter().enumerate() { [INFO] [stdout] | + [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `MIN_GENE_ON_SCREEN_LENGTH_TO_SHOW_EXONS` [INFO] [stdout] | [INFO] [stdout] 347 - for (i_op, op) in cigars.iter().enumerate() { [INFO] [stdout] 347 + for (rendering::track::MIN_GENE_ON_SCREEN_LENGTH_TO_SHOW_EXONS, op) in cigars.iter().enumerate() { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `l` [INFO] [stdout] --> src/alignment/read.rs:413:24 [INFO] [stdout] | [INFO] [stdout] 413 | Cigar::Del(l) | Cigar::RefSkip(l) => { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 413 | Cigar::Del(_l) | Cigar::RefSkip(_l) => { [INFO] [stdout] | + + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `l` [INFO] [stdout] --> src/alignment/read.rs:425:25 [INFO] [stdout] | [INFO] [stdout] 425 | Cigar::Diff(l) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_l` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `l` [INFO] [stdout] --> src/alignment/read.rs:439:26 [INFO] [stdout] | [INFO] [stdout] 439 | Cigar::Equal(l) => new_contexts.push(RenderingContext { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_l` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `l` [INFO] [stdout] --> src/alignment/read.rs:489:29 [INFO] [stdout] | [INFO] [stdout] 489 | Cigar::HardClip(l) | Cigar::Pad(l) => { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 489 | Cigar::HardClip(_l) | Cigar::Pad(_l) => { [INFO] [stdout] | + + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `reference` [INFO] [stdout] --> src/contig_header.rs:277:9 [INFO] [stdout] | [INFO] [stdout] 277 | reference: Option<&Reference>, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_reference` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `state` [INFO] [stdout] --> src/register/command.rs:79:9 [INFO] [stdout] | [INFO] [stdout] 79 | state: &State, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_state` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `state` [INFO] [stdout] --> src/register/help.rs:25:9 [INFO] [stdout] | [INFO] [stdout] 25 | state: &State, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_state` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/register/mouse.rs:229:13 [INFO] [stdout] | [INFO] [stdout] 229 | _ => {} [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/register/mouse.rs:229:13 [INFO] [stdout] | [INFO] [stdout] 46 | event::MouseEventKind::Down(_) => { [INFO] [stdout] | ------------------------------ matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 66 | event::MouseEventKind::Drag(_) => { [INFO] [stdout] | ------------------------------ matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 101 | event::MouseEventKind::Up(_) => { [INFO] [stdout] | ---------------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 105 | event::MouseEventKind::Moved => { [INFO] [stdout] | ---------------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 229 | _ => {} [INFO] [stdout] | ^ ...and 4 other patterns collectively make this unreachable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `state` [INFO] [stdout] --> src/register/normal.rs:151:9 [INFO] [stdout] | [INFO] [stdout] 151 | state: &State, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_state` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `l` [INFO] [stdout] --> src/rendering/alignment.rs:145:49 [INFO] [stdout] | [INFO] [stdout] 145 | RenderingContextModifier::Insertion(l) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_l` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pallete` [INFO] [stdout] --> src/rendering/contig_list.rs:126:5 [INFO] [stdout] | [INFO] [stdout] 126 | pallete: &Palette, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_pallete` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `constraint` [INFO] [stdout] --> src/rendering/layout.rs:103:17 [INFO] [stdout] | [INFO] [stdout] 103 | constraint, [INFO] [stdout] | ^^^^^^^^^^ help: try ignoring the field: `constraint: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `direction` [INFO] [stdout] --> src/rendering/layout.rs:107:17 [INFO] [stdout] | [INFO] [stdout] 107 | direction, [INFO] [stdout] | ^^^^^^^^^ help: try ignoring the field: `direction: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `constraint` [INFO] [stdout] --> src/rendering/layout.rs:108:17 [INFO] [stdout] | [INFO] [stdout] 108 | constraint, [INFO] [stdout] | ^^^^^^^^^^ help: try ignoring the field: `constraint: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `children` [INFO] [stdout] --> src/rendering/layout.rs:109:17 [INFO] [stdout] | [INFO] [stdout] 109 | children, [INFO] [stdout] | ^^^^^^^^ help: try ignoring the field: `children: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `constraint` [INFO] [stdout] --> src/rendering/layout.rs:118:17 [INFO] [stdout] | [INFO] [stdout] 118 | constraint, [INFO] [stdout] | ^^^^^^^^^^ help: try ignoring the field: `constraint: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `constraint` [INFO] [stdout] --> src/rendering/layout.rs:131:17 [INFO] [stdout] | [INFO] [stdout] 131 | constraint, [INFO] [stdout] | ^^^^^^^^^^ help: try ignoring the field: `constraint: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `area_type` [INFO] [stdout] --> src/rendering/layout.rs:253:34 [INFO] [stdout] | [INFO] [stdout] 253 | self.areas.iter().find(|(area_type, area)| { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_area_type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/rendering/layout.rs:269:14 [INFO] [stdout] | [INFO] [stdout] 269 | for (i, (area_type, rect)) in self.areas.iter().enumerate() { [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 269 | for (_i, (area_type, rect)) in self.areas.iter().enumerate() { [INFO] [stdout] | + [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `MIN_GENE_ON_SCREEN_LENGTH_TO_SHOW_EXONS` [INFO] [stdout] | [INFO] [stdout] 269 - for (i, (area_type, rect)) in self.areas.iter().enumerate() { [INFO] [stdout] 269 + for (rendering::track::MIN_GENE_ON_SCREEN_LENGTH_TO_SHOW_EXONS, (area_type, rect)) in self.areas.iter().enumerate() { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `constraint` [INFO] [stdout] --> src/rendering/layout.rs:367:13 [INFO] [stdout] | [INFO] [stdout] 367 | constraint, [INFO] [stdout] | ^^^^^^^^^^ help: try ignoring the field: `constraint: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `constraint` [INFO] [stdout] --> src/rendering/layout.rs:549:13 [INFO] [stdout] | [INFO] [stdout] 549 | constraint, [INFO] [stdout] | ^^^^^^^^^^ help: try ignoring the field: `constraint: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `area_type` [INFO] [stdout] --> src/rendering/layout.rs:550:13 [INFO] [stdout] | [INFO] [stdout] 550 | area_type, [INFO] [stdout] | ^^^^^^^^^ help: try ignoring the field: `area_type: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Read` [INFO] [stdout] --> src/alignment/read.rs:6:37 [INFO] [stdout] | [INFO] [stdout] 6 | use rust_htslib::bam::{record::Seq, Read, Record}; [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: `widgets::Widget` [INFO] [stdout] --> src/app.rs:4:33 [INFO] [stdout] | [INFO] [stdout] 4 | use ratatui::{prelude::Backend, widgets::Widget, Terminal}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `intervals::GenomeInterval` [INFO] [stdout] --> src/tracks/mod.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | intervals::GenomeInterval, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Column` [INFO] [stdout] --> src/tracks/ucsc_db.rs:14:37 [INFO] [stdout] | [INFO] [stdout] 14 | use sqlx::{mysql::MySqlPoolOptions, Column, MySqlPool, Row}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Column` [INFO] [stdout] --> src/tracks/local_db.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | Column, Row, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Column` [INFO] [stdout] --> src/tracks/downloader.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | Column, MySqlPool, Pool, Row, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `intervals::GenomeInterval` [INFO] [stdout] --> src/tracks/downloader.rs:2:30 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::{error::TGVError, intervals::GenomeInterval, reference::Reference, tracks::UcscHost}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `TrackService` [INFO] [stdout] --> src/tracks/downloader.rs:1:21 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::tracks::{TrackService, UcscApiTrackService, UcscDbTrackService, TRACK_PREFERENCES}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Filters` [INFO] [stdout] --> src/variant.rs:6:52 [INFO] [stdout] | [INFO] [stdout] 6 | use noodles_vcf::variant::record::{AlternateBases, Filters}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `SequenceRepository` [INFO] [stdout] --> src/states.rs:20:41 [INFO] [stdout] | [INFO] [stdout] 20 | sequence::{Sequence, SequenceCache, SequenceRepository}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `alignment` [INFO] [stdout] --> src/alignment/alignment.rs:221:23 [INFO] [stdout] | [INFO] [stdout] 221 | pub fn sort_alignment(alignment: &mut Alignment, option: AlignmentSort) -> Result<(), TGVError> { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_alignment` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `option` [INFO] [stdout] --> src/alignment/alignment.rs:221:50 [INFO] [stdout] | [INFO] [stdout] 221 | pub fn sort_alignment(alignment: &mut Alignment, option: AlignmentSort) -> Result<(), TGVError> { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_option` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i_op` [INFO] [stdout] --> src/alignment/coverage.rs:27:10 [INFO] [stdout] | [INFO] [stdout] 27 | for (i_op, op) in cigars.iter().enumerate() { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 27 | for (_i_op, op) in cigars.iter().enumerate() { [INFO] [stdout] | + [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `MIN_GENE_ON_SCREEN_LENGTH_TO_SHOW_EXONS` [INFO] [stdout] | [INFO] [stdout] 27 - for (i_op, op) in cigars.iter().enumerate() { [INFO] [stdout] 27 + for (rendering::track::MIN_GENE_ON_SCREEN_LENGTH_TO_SHOW_EXONS, op) in cigars.iter().enumerate() { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `l` [INFO] [stdout] --> src/alignment/coverage.rs:86:24 [INFO] [stdout] | [INFO] [stdout] 86 | Cigar::Ins(l) => {} [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_l` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `l` [INFO] [stdout] --> src/alignment/coverage.rs:88:24 [INFO] [stdout] | [INFO] [stdout] 88 | Cigar::Del(l) | Cigar::RefSkip(l) => {} [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 88 | Cigar::Del(_l) | Cigar::RefSkip(_l) => {} [INFO] [stdout] | + + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `l` [INFO] [stdout] --> src/alignment/coverage.rs:103:29 [INFO] [stdout] | [INFO] [stdout] 103 | Cigar::HardClip(l) | Cigar::Pad(l) => {} [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 103 | Cigar::HardClip(_l) | Cigar::Pad(_l) => {} [INFO] [stdout] | + + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `base` [INFO] [stdout] --> src/alignment/coverage.rs:161:39 [INFO] [stdout] | [INFO] [stdout] 161 | pub fn update_softclip(&mut self, base: u8) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_base` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `l` [INFO] [stdout] --> src/alignment/read.rs:189:33 [INFO] [stdout] | [INFO] [stdout] 189 | Cigar::SoftClip(l) | Cigar::Ins(l) | Cigar::HardClip(l) | Cigar::Pad(l) => { [INFO] [stdout] | ^ ^ ^ ^ [INFO] [stdout] | [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 189 | Cigar::SoftClip(_l) | Cigar::Ins(_l) | Cigar::HardClip(_l) | Cigar::Pad(_l) => { [INFO] [stdout] | + + + + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `l` [INFO] [stdout] --> src/alignment/read.rs:195:28 [INFO] [stdout] | [INFO] [stdout] 195 | Cigar::Del(l) | Cigar::RefSkip(l) => { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 195 | Cigar::Del(_l) | Cigar::RefSkip(_l) => { [INFO] [stdout] | + + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `l` [INFO] [stdout] --> src/alignment/read.rs:250:33 [INFO] [stdout] | [INFO] [stdout] 250 | Cigar::SoftClip(l) | Cigar::Ins(l) | Cigar::HardClip(l) | Cigar::Pad(l) => { [INFO] [stdout] | ^ ^ ^ ^ [INFO] [stdout] | [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 250 | Cigar::SoftClip(_l) | Cigar::Ins(_l) | Cigar::HardClip(_l) | Cigar::Pad(_l) => { [INFO] [stdout] | + + + + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `l` [INFO] [stdout] --> src/alignment/read.rs:256:28 [INFO] [stdout] | [INFO] [stdout] 256 | Cigar::Del(l) | Cigar::RefSkip(l) => { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 256 | Cigar::Del(_l) | Cigar::RefSkip(_l) => { [INFO] [stdout] | + + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i_op` [INFO] [stdout] --> src/alignment/read.rs:347:10 [INFO] [stdout] | [INFO] [stdout] 347 | for (i_op, op) in cigars.iter().enumerate() { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 347 | for (_i_op, op) in cigars.iter().enumerate() { [INFO] [stdout] | + [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `MIN_GENE_ON_SCREEN_LENGTH_TO_SHOW_EXONS` [INFO] [stdout] | [INFO] [stdout] 347 - for (i_op, op) in cigars.iter().enumerate() { [INFO] [stdout] 347 + for (rendering::track::MIN_GENE_ON_SCREEN_LENGTH_TO_SHOW_EXONS, op) in cigars.iter().enumerate() { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `l` [INFO] [stdout] --> src/alignment/read.rs:413:24 [INFO] [stdout] | [INFO] [stdout] 413 | Cigar::Del(l) | Cigar::RefSkip(l) => { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 413 | Cigar::Del(_l) | Cigar::RefSkip(_l) => { [INFO] [stdout] | + + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `l` [INFO] [stdout] --> src/alignment/read.rs:425:25 [INFO] [stdout] | [INFO] [stdout] 425 | Cigar::Diff(l) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_l` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `l` [INFO] [stdout] --> src/alignment/read.rs:439:26 [INFO] [stdout] | [INFO] [stdout] 439 | Cigar::Equal(l) => new_contexts.push(RenderingContext { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_l` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `l` [INFO] [stdout] --> src/alignment/read.rs:489:29 [INFO] [stdout] | [INFO] [stdout] 489 | Cigar::HardClip(l) | Cigar::Pad(l) => { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 489 | Cigar::HardClip(_l) | Cigar::Pad(_l) => { [INFO] [stdout] | + + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `area` [INFO] [stdout] --> src/window.rs:173:38 [INFO] [stdout] | [INFO] [stdout] 173 | pub fn self_correct_y(&mut self, area: &Rect, depth: Option) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_area` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `reference` [INFO] [stdout] --> src/contig_header.rs:277:9 [INFO] [stdout] | [INFO] [stdout] 277 | reference: Option<&Reference>, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_reference` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `state` [INFO] [stdout] --> src/register/command.rs:79:9 [INFO] [stdout] | [INFO] [stdout] 79 | state: &State, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_state` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `reference` [INFO] [stdout] --> src/tracks/local_db.rs:133:9 [INFO] [stdout] | [INFO] [stdout] 133 | reference: &Reference, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_reference` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cache` [INFO] [stdout] --> src/tracks/local_db.rs:134:9 [INFO] [stdout] | [INFO] [stdout] 134 | cache: &mut TrackCache, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_cache` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sort` [INFO] [stdout] --> src/register/command.rs:399:24 [INFO] [stdout] | [INFO] [stdout] 399 | Ok((input, sort)) => { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_sort` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sort` [INFO] [stdout] --> src/register/command.rs:425:24 [INFO] [stdout] | [INFO] [stdout] 425 | Ok((input, sort)) => { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_sort` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/register/command.rs:458:18 [INFO] [stdout] | [INFO] [stdout] 458 | (Err(e), Err(expected)) => {} // OK [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `expected` [INFO] [stdout] --> src/register/command.rs:458:26 [INFO] [stdout] | [INFO] [stdout] 458 | (Err(e), Err(expected)) => {} // OK [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_expected` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cache` [INFO] [stdout] --> src/tracks/local_db.rs:183:9 [INFO] [stdout] | [INFO] [stdout] 183 | cache: &mut TrackCache, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_cache` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `state` [INFO] [stdout] --> src/register/help.rs:25:9 [INFO] [stdout] | [INFO] [stdout] 25 | state: &State, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_state` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/register/mouse.rs:229:13 [INFO] [stdout] | [INFO] [stdout] 229 | _ => {} [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/register/mouse.rs:229:13 [INFO] [stdout] | [INFO] [stdout] 46 | event::MouseEventKind::Down(_) => { [INFO] [stdout] | ------------------------------ matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 66 | event::MouseEventKind::Drag(_) => { [INFO] [stdout] | ------------------------------ matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 101 | event::MouseEventKind::Up(_) => { [INFO] [stdout] | ---------------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 105 | event::MouseEventKind::Moved => { [INFO] [stdout] | ---------------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 229 | _ => {} [INFO] [stdout] | ^ ...and 4 other patterns collectively make this unreachable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `state` [INFO] [stdout] --> src/register/normal.rs:151:9 [INFO] [stdout] | [INFO] [stdout] 151 | state: &State, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_state` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/register/normal.rs:218:18 [INFO] [stdout] | [INFO] [stdout] 218 | (Err(e), Err(expected)) => {} // OK [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `expected` [INFO] [stdout] --> src/register/normal.rs:218:26 [INFO] [stdout] | [INFO] [stdout] 218 | (Err(e), Err(expected)) => {} // OK [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_expected` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `l` [INFO] [stdout] --> src/rendering/alignment.rs:145:49 [INFO] [stdout] | [INFO] [stdout] 145 | RenderingContextModifier::Insertion(l) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_l` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pallete` [INFO] [stdout] --> src/rendering/contig_list.rs:126:5 [INFO] [stdout] | [INFO] [stdout] 126 | pallete: &Palette, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_pallete` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/rendering/coverage.rs:401:18 [INFO] [stdout] | [INFO] [stdout] 401 | (Err(e), Err(expected)) => {} // OK [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `expected` [INFO] [stdout] --> src/rendering/coverage.rs:401:26 [INFO] [stdout] | [INFO] [stdout] 401 | (Err(e), Err(expected)) => {} // OK [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_expected` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cache` [INFO] [stdout] --> src/tracks/local_db.rs:212:9 [INFO] [stdout] | [INFO] [stdout] 212 | cache: &mut TrackCache, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_cache` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `constraint` [INFO] [stdout] --> src/rendering/layout.rs:103:17 [INFO] [stdout] | [INFO] [stdout] 103 | constraint, [INFO] [stdout] | ^^^^^^^^^^ help: try ignoring the field: `constraint: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `direction` [INFO] [stdout] --> src/rendering/layout.rs:107:17 [INFO] [stdout] | [INFO] [stdout] 107 | direction, [INFO] [stdout] | ^^^^^^^^^ help: try ignoring the field: `direction: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `constraint` [INFO] [stdout] --> src/rendering/layout.rs:108:17 [INFO] [stdout] | [INFO] [stdout] 108 | constraint, [INFO] [stdout] | ^^^^^^^^^^ help: try ignoring the field: `constraint: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `children` [INFO] [stdout] --> src/rendering/layout.rs:109:17 [INFO] [stdout] | [INFO] [stdout] 109 | children, [INFO] [stdout] | ^^^^^^^^ help: try ignoring the field: `children: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `constraint` [INFO] [stdout] --> src/rendering/layout.rs:118:17 [INFO] [stdout] | [INFO] [stdout] 118 | constraint, [INFO] [stdout] | ^^^^^^^^^^ help: try ignoring the field: `constraint: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `constraint` [INFO] [stdout] --> src/rendering/layout.rs:131:17 [INFO] [stdout] | [INFO] [stdout] 131 | constraint, [INFO] [stdout] | ^^^^^^^^^^ help: try ignoring the field: `constraint: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `area_type` [INFO] [stdout] --> src/rendering/layout.rs:253:34 [INFO] [stdout] | [INFO] [stdout] 253 | self.areas.iter().find(|(area_type, area)| { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_area_type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/rendering/layout.rs:269:14 [INFO] [stdout] | [INFO] [stdout] 269 | for (i, (area_type, rect)) in self.areas.iter().enumerate() { [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 269 | for (_i, (area_type, rect)) in self.areas.iter().enumerate() { [INFO] [stdout] | + [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `MIN_GENE_ON_SCREEN_LENGTH_TO_SHOW_EXONS` [INFO] [stdout] | [INFO] [stdout] 269 - for (i, (area_type, rect)) in self.areas.iter().enumerate() { [INFO] [stdout] 269 + for (rendering::track::MIN_GENE_ON_SCREEN_LENGTH_TO_SHOW_EXONS, (area_type, rect)) in self.areas.iter().enumerate() { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `constraint` [INFO] [stdout] --> src/rendering/layout.rs:367:13 [INFO] [stdout] | [INFO] [stdout] 367 | constraint, [INFO] [stdout] | ^^^^^^^^^^ help: try ignoring the field: `constraint: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `constraint` [INFO] [stdout] --> src/rendering/layout.rs:549:13 [INFO] [stdout] | [INFO] [stdout] 549 | constraint, [INFO] [stdout] | ^^^^^^^^^^ help: try ignoring the field: `constraint: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `area_type` [INFO] [stdout] --> src/rendering/layout.rs:550:13 [INFO] [stdout] | [INFO] [stdout] 550 | area_type, [INFO] [stdout] | ^^^^^^^^^ help: try ignoring the field: `area_type: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/settings.rs:399:18 [INFO] [stdout] | [INFO] [stdout] 399 | (Err(e), Err(expected)) => {} // OK [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `expected` [INFO] [stdout] --> src/settings.rs:399:26 [INFO] [stdout] | [INFO] [stdout] 399 | (Err(e), Err(expected)) => {} // OK [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_expected` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `area` [INFO] [stdout] --> src/window.rs:173:38 [INFO] [stdout] | [INFO] [stdout] 173 | pub fn self_correct_y(&mut self, area: &Rect, depth: Option) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_area` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `reference` [INFO] [stdout] --> src/tracks/local_db.rs:133:9 [INFO] [stdout] | [INFO] [stdout] 133 | reference: &Reference, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_reference` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cache` [INFO] [stdout] --> src/tracks/local_db.rs:134:9 [INFO] [stdout] | [INFO] [stdout] 134 | cache: &mut TrackCache, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_cache` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cache` [INFO] [stdout] --> src/tracks/local_db.rs:183:9 [INFO] [stdout] | [INFO] [stdout] 183 | cache: &mut TrackCache, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_cache` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cache` [INFO] [stdout] --> src/tracks/local_db.rs:212:9 [INFO] [stdout] | [INFO] [stdout] 212 | cache: &mut TrackCache, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_cache` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `reference` [INFO] [stdout] --> src/tracks/ucsc_db.rs:165:9 [INFO] [stdout] | [INFO] [stdout] 165 | reference: &Reference, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_reference` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cache` [INFO] [stdout] --> src/tracks/ucsc_db.rs:166:9 [INFO] [stdout] | [INFO] [stdout] 166 | cache: &mut TrackCache, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_cache` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cache` [INFO] [stdout] --> src/tracks/ucsc_db.rs:216:9 [INFO] [stdout] | [INFO] [stdout] 216 | cache: &mut TrackCache, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_cache` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cache` [INFO] [stdout] --> src/tracks/ucsc_db.rs:245:9 [INFO] [stdout] | [INFO] [stdout] 245 | cache: &mut TrackCache, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_cache` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `reference` [INFO] [stdout] --> src/tracks/ucsc_db.rs:165:9 [INFO] [stdout] | [INFO] [stdout] 165 | reference: &Reference, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_reference` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cache` [INFO] [stdout] --> src/tracks/ucsc_db.rs:166:9 [INFO] [stdout] | [INFO] [stdout] 166 | cache: &mut TrackCache, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_cache` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cache` [INFO] [stdout] --> src/tracks/ucsc_db.rs:216:9 [INFO] [stdout] | [INFO] [stdout] 216 | cache: &mut TrackCache, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_cache` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cache` [INFO] [stdout] --> src/tracks/ucsc_db.rs:245:9 [INFO] [stdout] | [INFO] [stdout] 245 | cache: &mut TrackCache, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_cache` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `all` [INFO] [stdout] --> src/main.rs:47:37 [INFO] [stdout] | [INFO] [stdout] 47 | Some(Commands::List { more, all }) => { [INFO] [stdout] | ^^^ help: try ignoring the field: `all: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `read_at` and `y_of` are never used [INFO] [stdout] --> src/alignment/alignment.rs:68:12 [INFO] [stdout] | [INFO] [stdout] 44 | impl Alignment { [INFO] [stdout] | -------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 68 | pub fn read_at(&self, x_coordinate: usize, y: usize) -> Option<&AlignedRead> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 98 | pub fn y_of(&self, read: &AlignedRead) -> Option { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `sort_alignment` is never used [INFO] [stdout] --> src/alignment/alignment.rs:221:8 [INFO] [stdout] | [INFO] [stdout] 221 | pub fn sort_alignment(alignment: &mut Alignment, option: AlignmentSort) -> Result<(), TGVError> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `index` is never read [INFO] [stdout] --> src/alignment/read.rs:76:9 [INFO] [stdout] | [INFO] [stdout] 55 | pub struct AlignedRead { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 76 | pub index: usize, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AlignedRead` 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: methods `range`, `covers`, `full_read_covers`, `overlaps`, and `is_deletion_at` are never used [INFO] [stdout] --> src/alignment/read.rs:84:12 [INFO] [stdout] | [INFO] [stdout] 82 | impl AlignedRead { [INFO] [stdout] | ---------------- methods in this implementation [INFO] [stdout] 83 | /// Return an 1-based range iterator that includes all bases of the alignment. [INFO] [stdout] 84 | pub fn range(&self) -> impl Iterator { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 134 | pub fn covers(&self, x_coordinate: usize) -> bool { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 138 | pub fn full_read_covers(&self, x_coordinate: usize) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 143 | pub fn overlaps(&self, x_left_coordinate: usize, x_right_coordinate: usize) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 217 | pub fn is_deletion_at(&self, coordinate: usize) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `name` and `contigs_sort` are never used [INFO] [stdout] --> src/contig_header.rs:29:12 [INFO] [stdout] | [INFO] [stdout] 23 | impl Contig { [INFO] [stdout] | ----------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 29 | pub fn name(&self) -> &str { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 76 | pub fn contigs_sort(contigs: Vec) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `reference` is never read [INFO] [stdout] --> src/contig_header.rs:173:5 [INFO] [stdout] | [INFO] [stdout] 172 | pub struct ContigHeader { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] 173 | reference: Option, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ContigHeader` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `last`, `get_contig_by_str`, `contains`, and `length` are never used [INFO] [stdout] --> src/contig_header.rs:196:12 [INFO] [stdout] | [INFO] [stdout] 180 | impl ContigHeader { [INFO] [stdout] | ----------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 196 | pub fn last(&self) -> Result { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 238 | pub fn get_contig_by_str(&self, contig_name: &str) -> Option<&Contig> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 289 | pub fn contains(&self, contig: &Contig) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 293 | pub fn length(&self, contig: &Contig) -> Option { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `contig_index` and `name` are never read [INFO] [stdout] --> src/cytoband.rs:69:9 [INFO] [stdout] | [INFO] [stdout] 68 | pub struct CytobandSegment { [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] 69 | pub contig_index: usize, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 72 | pub name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CytobandSegment` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `reference` and `contig_index` are never read [INFO] [stdout] --> src/cytoband.rs:78:9 [INFO] [stdout] | [INFO] [stdout] 77 | pub struct Cytoband { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 78 | pub reference: Option, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 79 | pub contig_index: usize, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Cytoband` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `default` and `start` are never used [INFO] [stdout] --> src/cytoband.rs:84:12 [INFO] [stdout] | [INFO] [stdout] 83 | impl Cytoband { [INFO] [stdout] | ------------- associated items in this implementation [INFO] [stdout] 84 | pub fn default( [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 103 | pub fn start(&self) -> usize { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `InvalidRange` is never constructed [INFO] [stdout] --> src/error.rs:56:5 [INFO] [stdout] | [INFO] [stdout] 6 | pub enum TGVError { [INFO] [stdout] | -------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 56 | InvalidRange, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TGVError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `feature_type` is never read [INFO] [stdout] --> src/feature.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct SubGeneFeature { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 18 | pub feature_type: SubGeneFeatureType, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SubGeneFeature` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `id` is never read [INFO] [stdout] --> src/feature.rs:74:9 [INFO] [stdout] | [INFO] [stdout] 73 | pub struct Gene { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] 74 | pub id: String, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `Gene` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `is_properly_bounded` and `middle` are never used [INFO] [stdout] --> src/intervals.rs:29:8 [INFO] [stdout] | [INFO] [stdout] 4 | pub trait GenomeInterval { [INFO] [stdout] | -------------- methods in this trait [INFO] [stdout] ... [INFO] [stdout] 29 | fn is_properly_bounded(&self, end: Option) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 36 | fn middle(&self) -> usize { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `GotoNextContig`, `GotoPreviousContig`, `ResizeTrack`, and `AddAlignmentChange` are never constructed [INFO] [stdout] --> src/message.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 7 | pub enum StateMessage { [INFO] [stdout] | ------------ variants in this enum [INFO] [stdout] ... [INFO] [stdout] 29 | GotoNextContig(usize), [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 30 | GotoPreviousContig(usize), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 44 | ResizeTrack { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 52 | AddAlignmentChange(Vec), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `StateMessage` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `requires_reference` is never used [INFO] [stdout] --> src/message.rs:60:12 [INFO] [stdout] | [INFO] [stdout] 58 | impl StateMessage { [INFO] [stdout] | ----------------- method in this implementation [INFO] [stdout] 59 | /// Whether the message requires a reference genome. [INFO] [stdout] 60 | pub fn requires_reference(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple variants are never constructed [INFO] [stdout] --> src/message.rs:98:5 [INFO] [stdout] | [INFO] [stdout] 97 | pub enum AlignmentFilter { [INFO] [stdout] | --------------- variants in this enum [INFO] [stdout] 98 | Default, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 101 | False, [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 105 | StartsIn(usize, usize), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 108 | EndsIn(usize, usize), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 111 | Overlaps(usize, usize), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 115 | Strand(Strand), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 130 | MappingQualityGE(u16), [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 133 | MappingQualityLE(u16), [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 136 | FlagsAll(u32), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 139 | FlagsAny(u32), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 142 | FlagsEqual(u32), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 145 | Tag(String, String), [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 148 | Not(Box), [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 151 | And(Box, Box), [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 154 | Or(Box, Box), [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `AlignmentFilter` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `and`, `or`, and `not` are never used [INFO] [stdout] --> src/message.rs:158:12 [INFO] [stdout] | [INFO] [stdout] 157 | impl AlignmentFilter { [INFO] [stdout] | -------------------- methods in this implementation [INFO] [stdout] 158 | pub fn and(self, other: AlignmentFilter) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 171 | pub fn or(self, other: AlignmentFilter) -> Self { [INFO] [stdout] | ^^ [INFO] [stdout] ... [INFO] [stdout] 182 | pub fn not(self) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constant `SUPPORTED_REFERENCES` is never used [INFO] [stdout] --> src/reference.rs:18:15 [INFO] [stdout] | [INFO] [stdout] 15 | impl Reference { [INFO] [stdout] | -------------- associated constant in this implementation [INFO] [stdout] ... [INFO] [stdout] 18 | pub const SUPPORTED_REFERENCES: [&str; 2] = [Self::HG19, Self::HG38]; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MAX_ZOOM_TO_DISPLAY_ALIGNMENTS` is never used [INFO] [stdout] --> src/rendering/mod.rs:48:7 [INFO] [stdout] | [INFO] [stdout] 48 | const MAX_ZOOM_TO_DISPLAY_ALIGNMENTS: u32 = 2; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `MousePosition` is never used [INFO] [stdout] --> src/rendering/layout.rs:141:6 [INFO] [stdout] | [INFO] [stdout] 141 | enum MousePosition { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `has_alignment`, `has_track`, and `has_sequence` are never used [INFO] [stdout] --> src/repository.rs:180:12 [INFO] [stdout] | [INFO] [stdout] 39 | impl Repository { [INFO] [stdout] | --------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 180 | pub fn has_alignment(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 184 | pub fn has_track(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 188 | pub fn has_sequence(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `source` is never read [INFO] [stdout] --> src/repository.rs:325:5 [INFO] [stdout] | [INFO] [stdout] 323 | pub struct RemoteBamRepository { [INFO] [stdout] | ------------------- field in this struct [INFO] [stdout] 324 | bam_path: String, [INFO] [stdout] 325 | source: RemoteSource, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RemoteBamRepository` 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 `has_alignment` is never used [INFO] [stdout] --> src/repository.rs:472:12 [INFO] [stdout] | [INFO] [stdout] 452 | impl AlignmentRepositoryEnum { [INFO] [stdout] | ---------------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 472 | pub fn has_alignment(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `len` are never used [INFO] [stdout] --> src/sequence.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 24 | impl Sequence { [INFO] [stdout] | ------------- associated items in this implementation [INFO] [stdout] 25 | pub fn new(start: usize, sequence: Vec, contig_index: usize) -> Result { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 43 | pub fn len(&self) -> usize { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `reference`, `contig_to_file_name`, and `cache_dir` are never read [INFO] [stdout] --> src/sequence.rs:264:5 [INFO] [stdout] | [INFO] [stdout] 262 | pub struct TwoBitSequenceRepository { [INFO] [stdout] | ------------------------ fields in this struct [INFO] [stdout] 263 | /// Reference genome. [INFO] [stdout] 264 | reference: Reference, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 267 | contig_to_file_name: HashMap, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 270 | cache_dir: String, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `test_mode` is never used [INFO] [stdout] --> src/settings.rs:248:12 [INFO] [stdout] | [INFO] [stdout] 147 | impl Settings { [INFO] [stdout] | ------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 248 | pub fn test_mode(mut self) -> Self { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `cytoband_renderable` is never used [INFO] [stdout] --> src/states.rs:180:12 [INFO] [stdout] | [INFO] [stdout] 157 | impl State { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 180 | pub fn cytoband_renderable(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `reverse` is never used [INFO] [stdout] --> src/strand.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 13 | impl Strand { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 22 | pub fn reverse(self) -> Self { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `from_features` and `is_empty` are never used [INFO] [stdout] --> src/track.rs:40:12 [INFO] [stdout] | [INFO] [stdout] 37 | impl Track { [INFO] [stdout] | -------------------------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 40 | pub fn from_features(features: Vec, contig_index: usize) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 77 | pub fn is_empty(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_features_between` is never used [INFO] [stdout] --> src/track.rs:229:12 [INFO] [stdout] | [INFO] [stdout] 104 | impl Track { [INFO] [stdout] | -------------------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 229 | pub fn get_features_between(&self, start: usize, end: usize) -> Vec<&T> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_gene_at` and `get_genes_between` are never used [INFO] [stdout] --> src/track.rs:294:12 [INFO] [stdout] | [INFO] [stdout] 238 | impl Track { [INFO] [stdout] | ---------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 294 | pub fn get_gene_at(&self, position: usize) -> Option<&Gene> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 319 | pub fn get_genes_between(&self, start: usize, end: usize) -> Vec<&Gene> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `new_basewise_window` and `new_zoom_out_window` are never used [INFO] [stdout] --> src/window.rs:32:12 [INFO] [stdout] | [INFO] [stdout] 31 | impl ViewingWindow { [INFO] [stdout] | ------------------ associated functions in this implementation [INFO] [stdout] 32 | pub fn new_basewise_window(contig: usize, left: usize, top: usize) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 41 | pub fn new_zoom_out_window(contig: usize, left: usize, top: usize, zoom: usize) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get` is never used [INFO] [stdout] --> src/window.rs:93:12 [INFO] [stdout] | [INFO] [stdout] 65 | impl OnScreenCoordinate { [INFO] [stdout] | ----------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 93 | pub fn get(&self) -> usize { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `overlaps_x_interval` is never used [INFO] [stdout] --> src/window.rs:215:12 [INFO] [stdout] | [INFO] [stdout] 137 | impl ViewingWindow { [INFO] [stdout] | ------------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 215 | pub fn overlaps_x_interval(&self, left: usize, right: usize, area: &Rect) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `overlaps_y` is never used [INFO] [stdout] --> src/window.rs:284:12 [INFO] [stdout] | [INFO] [stdout] 264 | impl ViewingWindow { [INFO] [stdout] | ------------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 284 | pub fn overlaps_y(&self, y: usize, area: &Rect) -> bool { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `query_gene_covering` is never used [INFO] [stdout] --> src/tracks/mod.rs:171:14 [INFO] [stdout] | [INFO] [stdout] 118 | pub trait TrackService { [INFO] [stdout] | ------------ method in this trait [INFO] [stdout] ... [INFO] [stdout] 171 | async fn query_gene_covering( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `hub_url` is never read [INFO] [stdout] --> src/tracks/downloader.rs:831:5 [INFO] [stdout] | [INFO] [stdout] 830 | struct UcscHub { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] 831 | hub_url: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `UcscHub` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `parse_blob_to_coords` is never used [INFO] [stdout] --> src/tracks/local_db.rs:60:8 [INFO] [stdout] | [INFO] [stdout] 27 | impl LocalDbTrackService { [INFO] [stdout] | ------------------------ associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 60 | fn parse_blob_to_coords(blob: &[u8]) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `list_accessions` is never used [INFO] [stdout] --> src/tracks/ucsc_db.rs:77:18 [INFO] [stdout] | [INFO] [stdout] 24 | impl UcscDbTrackService { [INFO] [stdout] | ----------------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 77 | pub async fn list_accessions( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `collect` that must be used [INFO] [stdout] --> src/rendering/coverage.rs:153:9 [INFO] [stdout] | [INFO] [stdout] 153 | / (left..right + 1) [INFO] [stdout] 154 | | .enumerate() [INFO] [stdout] 155 | | .map(|(i, x)| { [INFO] [stdout] 156 | | let coverage = alignment.coverage_at(x); [INFO] [stdout] ... | [INFO] [stdout] 168 | | }) [INFO] [stdout] 169 | | .collect::<()>(); [INFO] [stdout] | |____________________________^ [INFO] [stdout] | [INFO] [stdout] = note: if you really need to exhaust the iterator, consider `.for_each(drop)` instead [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] 153 | let _ = (left..right + 1) [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `collect` that must be used [INFO] [stdout] --> src/rendering/coverage.rs:176:5 [INFO] [stdout] | [INFO] [stdout] 176 | / linear_space [INFO] [stdout] 177 | | .into_iter() [INFO] [stdout] 178 | | .enumerate() [INFO] [stdout] 179 | | .map(|(i, (bin_left, bin_right))| { [INFO] [stdout] ... | [INFO] [stdout] 183 | | }) [INFO] [stdout] 184 | | .collect::<()>(); [INFO] [stdout] | |________________________^ [INFO] [stdout] | [INFO] [stdout] = note: if you really need to exhaust the iterator, consider `.for_each(drop)` instead [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 176 | let _ = linear_space [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/rendering/layout.rs:239:9 [INFO] [stdout] | [INFO] [stdout] 239 | layout.set_area(initial_area); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 239 | let _ = layout.set_area(initial_area); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `txStart` should have a snake case name [INFO] [stdout] --> src/tracks/schema.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 21 | pub txStart: u64, [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `tx_start` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `txEnd` should have a snake case name [INFO] [stdout] --> src/tracks/schema.rs:22:9 [INFO] [stdout] | [INFO] [stdout] 22 | pub txEnd: u64, [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case: `tx_end` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `cdsStart` should have a snake case name [INFO] [stdout] --> src/tracks/schema.rs:23:9 [INFO] [stdout] | [INFO] [stdout] 23 | pub cdsStart: u64, [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `cds_start` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `cdsEnd` should have a snake case name [INFO] [stdout] --> src/tracks/schema.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 24 | pub cdsEnd: u64, [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `cds_end` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `exonStarts` should have a snake case name [INFO] [stdout] --> src/tracks/schema.rs:26:9 [INFO] [stdout] | [INFO] [stdout] 26 | pub exonStarts: Vec, [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `exon_starts` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `exonEnds` should have a snake case name [INFO] [stdout] --> src/tracks/schema.rs:27:9 [INFO] [stdout] | [INFO] [stdout] 27 | pub exonEnds: Vec, [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `exon_ends` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `txStart` should have a snake case name [INFO] [stdout] --> src/tracks/schema.rs:32:13 [INFO] [stdout] | [INFO] [stdout] 32 | let txStart: i64 = row.try_get("txStart")?; [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `tx_start` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `txEnd` should have a snake case name [INFO] [stdout] --> src/tracks/schema.rs:33:13 [INFO] [stdout] | [INFO] [stdout] 33 | let txEnd: i64 = row.try_get("txEnd")?; [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case: `tx_end` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `cdsStart` should have a snake case name [INFO] [stdout] --> src/tracks/schema.rs:34:13 [INFO] [stdout] | [INFO] [stdout] 34 | let cdsStart: i64 = row.try_get("cdsStart")?; [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `cds_start` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `cdsEnd` should have a snake case name [INFO] [stdout] --> src/tracks/schema.rs:35:13 [INFO] [stdout] | [INFO] [stdout] 35 | let cdsEnd: i64 = row.try_get("cdsEnd")?; [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `cds_end` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `chromStart` should have a snake case name [INFO] [stdout] --> src/tracks/schema.rs:122:5 [INFO] [stdout] | [INFO] [stdout] 122 | chromStart: u64, // sqlite doesn't support unsigned int [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `chrom_start` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `chromEnd` should have a snake case name [INFO] [stdout] --> src/tracks/schema.rs:123:5 [INFO] [stdout] | [INFO] [stdout] 123 | chromEnd: u64, [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `chrom_end` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `gieStain` should have a snake case name [INFO] [stdout] --> src/tracks/schema.rs:125:5 [INFO] [stdout] | [INFO] [stdout] 125 | gieStain: String, [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `gie_stain` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `chromStart` should have a snake case name [INFO] [stdout] --> src/tracks/schema.rs:130:13 [INFO] [stdout] | [INFO] [stdout] 130 | let chromStart: i64 = row.try_get("chromStart")?; [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `chrom_start` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `chromEnd` should have a snake case name [INFO] [stdout] --> src/tracks/schema.rs:131:13 [INFO] [stdout] | [INFO] [stdout] 131 | let chromEnd: i64 = row.try_get("chromEnd")?; [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `chrom_end` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `cytoBandIdeo` should have a snake case name [INFO] [stdout] --> src/tracks/schema.rs:423:5 [INFO] [stdout] | [INFO] [stdout] 423 | cytoBandIdeo: Vec, [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `cyto_band_ideo` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `all` [INFO] [stdout] --> src/main.rs:47:37 [INFO] [stdout] | [INFO] [stdout] 47 | Some(Commands::List { more, all }) => { [INFO] [stdout] | ^^^ help: try ignoring the field: `all: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `read_at` and `y_of` are never used [INFO] [stdout] --> src/alignment/alignment.rs:68:12 [INFO] [stdout] | [INFO] [stdout] 44 | impl Alignment { [INFO] [stdout] | -------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 68 | pub fn read_at(&self, x_coordinate: usize, y: usize) -> Option<&AlignedRead> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 98 | pub fn y_of(&self, read: &AlignedRead) -> Option { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `sort_alignment` is never used [INFO] [stdout] --> src/alignment/alignment.rs:221:8 [INFO] [stdout] | [INFO] [stdout] 221 | pub fn sort_alignment(alignment: &mut Alignment, option: AlignmentSort) -> Result<(), TGVError> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `index` is never read [INFO] [stdout] --> src/alignment/read.rs:76:9 [INFO] [stdout] | [INFO] [stdout] 55 | pub struct AlignedRead { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 76 | pub index: usize, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AlignedRead` 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: methods `range`, `covers`, `full_read_covers`, `overlaps`, and `is_deletion_at` are never used [INFO] [stdout] --> src/alignment/read.rs:84:12 [INFO] [stdout] | [INFO] [stdout] 82 | impl AlignedRead { [INFO] [stdout] | ---------------- methods in this implementation [INFO] [stdout] 83 | /// Return an 1-based range iterator that includes all bases of the alignment. [INFO] [stdout] 84 | pub fn range(&self) -> impl Iterator { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 134 | pub fn covers(&self, x_coordinate: usize) -> bool { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 138 | pub fn full_read_covers(&self, x_coordinate: usize) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 143 | pub fn overlaps(&self, x_left_coordinate: usize, x_right_coordinate: usize) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 217 | pub fn is_deletion_at(&self, coordinate: usize) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `name` and `contigs_sort` are never used [INFO] [stdout] --> src/contig_header.rs:29:12 [INFO] [stdout] | [INFO] [stdout] 23 | impl Contig { [INFO] [stdout] | ----------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 29 | pub fn name(&self) -> &str { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 76 | pub fn contigs_sort(contigs: Vec) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `reference` is never read [INFO] [stdout] --> src/contig_header.rs:173:5 [INFO] [stdout] | [INFO] [stdout] 172 | pub struct ContigHeader { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] 173 | reference: Option, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ContigHeader` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `last`, `get_contig_by_str`, `contains`, and `length` are never used [INFO] [stdout] --> src/contig_header.rs:196:12 [INFO] [stdout] | [INFO] [stdout] 180 | impl ContigHeader { [INFO] [stdout] | ----------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 196 | pub fn last(&self) -> Result { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 238 | pub fn get_contig_by_str(&self, contig_name: &str) -> Option<&Contig> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 289 | pub fn contains(&self, contig: &Contig) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 293 | pub fn length(&self, contig: &Contig) -> Option { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `contig_index` and `name` are never read [INFO] [stdout] --> src/cytoband.rs:69:9 [INFO] [stdout] | [INFO] [stdout] 68 | pub struct CytobandSegment { [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] 69 | pub contig_index: usize, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 72 | pub name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CytobandSegment` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `reference` and `contig_index` are never read [INFO] [stdout] --> src/cytoband.rs:78:9 [INFO] [stdout] | [INFO] [stdout] 77 | pub struct Cytoband { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 78 | pub reference: Option, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 79 | pub contig_index: usize, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Cytoband` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `default` and `start` are never used [INFO] [stdout] --> src/cytoband.rs:84:12 [INFO] [stdout] | [INFO] [stdout] 83 | impl Cytoband { [INFO] [stdout] | ------------- associated items in this implementation [INFO] [stdout] 84 | pub fn default( [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 103 | pub fn start(&self) -> usize { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `InvalidRange` is never constructed [INFO] [stdout] --> src/error.rs:56:5 [INFO] [stdout] | [INFO] [stdout] 6 | pub enum TGVError { [INFO] [stdout] | -------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 56 | InvalidRange, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TGVError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `feature_type` is never read [INFO] [stdout] --> src/feature.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct SubGeneFeature { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 18 | pub feature_type: SubGeneFeatureType, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SubGeneFeature` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `id` is never read [INFO] [stdout] --> src/feature.rs:74:9 [INFO] [stdout] | [INFO] [stdout] 73 | pub struct Gene { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] 74 | pub id: String, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `Gene` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `is_properly_bounded` and `middle` are never used [INFO] [stdout] --> src/intervals.rs:29:8 [INFO] [stdout] | [INFO] [stdout] 4 | pub trait GenomeInterval { [INFO] [stdout] | -------------- methods in this trait [INFO] [stdout] ... [INFO] [stdout] 29 | fn is_properly_bounded(&self, end: Option) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 36 | fn middle(&self) -> usize { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `GotoNextContig`, `GotoPreviousContig`, `ResizeTrack`, and `AddAlignmentChange` are never constructed [INFO] [stdout] --> src/message.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 7 | pub enum StateMessage { [INFO] [stdout] | ------------ variants in this enum [INFO] [stdout] ... [INFO] [stdout] 29 | GotoNextContig(usize), [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 30 | GotoPreviousContig(usize), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 44 | ResizeTrack { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 52 | AddAlignmentChange(Vec), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `StateMessage` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `requires_reference` is never used [INFO] [stdout] --> src/message.rs:60:12 [INFO] [stdout] | [INFO] [stdout] 58 | impl StateMessage { [INFO] [stdout] | ----------------- method in this implementation [INFO] [stdout] 59 | /// Whether the message requires a reference genome. [INFO] [stdout] 60 | pub fn requires_reference(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple variants are never constructed [INFO] [stdout] --> src/message.rs:98:5 [INFO] [stdout] | [INFO] [stdout] 97 | pub enum AlignmentFilter { [INFO] [stdout] | --------------- variants in this enum [INFO] [stdout] 98 | Default, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 101 | False, [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 105 | StartsIn(usize, usize), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 108 | EndsIn(usize, usize), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 111 | Overlaps(usize, usize), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 115 | Strand(Strand), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 130 | MappingQualityGE(u16), [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 133 | MappingQualityLE(u16), [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 136 | FlagsAll(u32), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 139 | FlagsAny(u32), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 142 | FlagsEqual(u32), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 145 | Tag(String, String), [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 148 | Not(Box), [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 151 | And(Box, Box), [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 154 | Or(Box, Box), [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `AlignmentFilter` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `and`, `or`, and `not` are never used [INFO] [stdout] --> src/message.rs:158:12 [INFO] [stdout] | [INFO] [stdout] 157 | impl AlignmentFilter { [INFO] [stdout] | -------------------- methods in this implementation [INFO] [stdout] 158 | pub fn and(self, other: AlignmentFilter) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 171 | pub fn or(self, other: AlignmentFilter) -> Self { [INFO] [stdout] | ^^ [INFO] [stdout] ... [INFO] [stdout] 182 | pub fn not(self) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constant `SUPPORTED_REFERENCES` is never used [INFO] [stdout] --> src/reference.rs:18:15 [INFO] [stdout] | [INFO] [stdout] 15 | impl Reference { [INFO] [stdout] | -------------- associated constant in this implementation [INFO] [stdout] ... [INFO] [stdout] 18 | pub const SUPPORTED_REFERENCES: [&str; 2] = [Self::HG19, Self::HG38]; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MAX_ZOOM_TO_DISPLAY_ALIGNMENTS` is never used [INFO] [stdout] --> src/rendering/mod.rs:48:7 [INFO] [stdout] | [INFO] [stdout] 48 | const MAX_ZOOM_TO_DISPLAY_ALIGNMENTS: u32 = 2; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `MousePosition` is never used [INFO] [stdout] --> src/rendering/layout.rs:141:6 [INFO] [stdout] | [INFO] [stdout] 141 | enum MousePosition { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `has_alignment`, `has_track`, and `has_sequence` are never used [INFO] [stdout] --> src/repository.rs:180:12 [INFO] [stdout] | [INFO] [stdout] 39 | impl Repository { [INFO] [stdout] | --------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 180 | pub fn has_alignment(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 184 | pub fn has_track(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 188 | pub fn has_sequence(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `source` is never read [INFO] [stdout] --> src/repository.rs:325:5 [INFO] [stdout] | [INFO] [stdout] 323 | pub struct RemoteBamRepository { [INFO] [stdout] | ------------------- field in this struct [INFO] [stdout] 324 | bam_path: String, [INFO] [stdout] 325 | source: RemoteSource, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RemoteBamRepository` 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 `has_alignment` is never used [INFO] [stdout] --> src/repository.rs:472:12 [INFO] [stdout] | [INFO] [stdout] 452 | impl AlignmentRepositoryEnum { [INFO] [stdout] | ---------------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 472 | pub fn has_alignment(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `len` is never used [INFO] [stdout] --> src/sequence.rs:43:12 [INFO] [stdout] | [INFO] [stdout] 24 | impl Sequence { [INFO] [stdout] | ------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 43 | pub fn len(&self) -> usize { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `reference`, `contig_to_file_name`, and `cache_dir` are never read [INFO] [stdout] --> src/sequence.rs:264:5 [INFO] [stdout] | [INFO] [stdout] 262 | pub struct TwoBitSequenceRepository { [INFO] [stdout] | ------------------------ fields in this struct [INFO] [stdout] 263 | /// Reference genome. [INFO] [stdout] 264 | reference: Reference, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 267 | contig_to_file_name: HashMap, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 270 | cache_dir: String, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `cytoband_renderable` is never used [INFO] [stdout] --> src/states.rs:180:12 [INFO] [stdout] | [INFO] [stdout] 157 | impl State { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 180 | pub fn cytoband_renderable(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `reverse` is never used [INFO] [stdout] --> src/strand.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 13 | impl Strand { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 22 | pub fn reverse(self) -> Self { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `from_features` and `is_empty` are never used [INFO] [stdout] --> src/track.rs:40:12 [INFO] [stdout] | [INFO] [stdout] 37 | impl Track { [INFO] [stdout] | -------------------------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 40 | pub fn from_features(features: Vec, contig_index: usize) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 77 | pub fn is_empty(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_features_between` is never used [INFO] [stdout] --> src/track.rs:229:12 [INFO] [stdout] | [INFO] [stdout] 104 | impl Track { [INFO] [stdout] | -------------------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 229 | pub fn get_features_between(&self, start: usize, end: usize) -> Vec<&T> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_gene_at` and `get_genes_between` are never used [INFO] [stdout] --> src/track.rs:294:12 [INFO] [stdout] | [INFO] [stdout] 238 | impl Track { [INFO] [stdout] | ---------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 294 | pub fn get_gene_at(&self, position: usize) -> Option<&Gene> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 319 | pub fn get_genes_between(&self, start: usize, end: usize) -> Vec<&Gene> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `new_basewise_window` and `new_zoom_out_window` are never used [INFO] [stdout] --> src/window.rs:32:12 [INFO] [stdout] | [INFO] [stdout] 31 | impl ViewingWindow { [INFO] [stdout] | ------------------ associated functions in this implementation [INFO] [stdout] 32 | pub fn new_basewise_window(contig: usize, left: usize, top: usize) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 41 | pub fn new_zoom_out_window(contig: usize, left: usize, top: usize, zoom: usize) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get` is never used [INFO] [stdout] --> src/window.rs:93:12 [INFO] [stdout] | [INFO] [stdout] 65 | impl OnScreenCoordinate { [INFO] [stdout] | ----------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 93 | pub fn get(&self) -> usize { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `overlaps_x_interval` is never used [INFO] [stdout] --> src/window.rs:215:12 [INFO] [stdout] | [INFO] [stdout] 137 | impl ViewingWindow { [INFO] [stdout] | ------------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 215 | pub fn overlaps_x_interval(&self, left: usize, right: usize, area: &Rect) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `overlaps_y` is never used [INFO] [stdout] --> src/window.rs:284:12 [INFO] [stdout] | [INFO] [stdout] 264 | impl ViewingWindow { [INFO] [stdout] | ------------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 284 | pub fn overlaps_y(&self, y: usize, area: &Rect) -> bool { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `query_gene_covering` is never used [INFO] [stdout] --> src/tracks/mod.rs:171:14 [INFO] [stdout] | [INFO] [stdout] 118 | pub trait TrackService { [INFO] [stdout] | ------------ method in this trait [INFO] [stdout] ... [INFO] [stdout] 171 | async fn query_gene_covering( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `hub_url` is never read [INFO] [stdout] --> src/tracks/downloader.rs:831:5 [INFO] [stdout] | [INFO] [stdout] 830 | struct UcscHub { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] 831 | hub_url: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `UcscHub` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `parse_blob_to_coords` is never used [INFO] [stdout] --> src/tracks/local_db.rs:60:8 [INFO] [stdout] | [INFO] [stdout] 27 | impl LocalDbTrackService { [INFO] [stdout] | ------------------------ associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 60 | fn parse_blob_to_coords(blob: &[u8]) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `list_accessions` is never used [INFO] [stdout] --> src/tracks/ucsc_db.rs:77:18 [INFO] [stdout] | [INFO] [stdout] 24 | impl UcscDbTrackService { [INFO] [stdout] | ----------------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 77 | pub async fn list_accessions( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `collect` that must be used [INFO] [stdout] --> src/rendering/coverage.rs:153:9 [INFO] [stdout] | [INFO] [stdout] 153 | / (left..right + 1) [INFO] [stdout] 154 | | .enumerate() [INFO] [stdout] 155 | | .map(|(i, x)| { [INFO] [stdout] 156 | | let coverage = alignment.coverage_at(x); [INFO] [stdout] ... | [INFO] [stdout] 168 | | }) [INFO] [stdout] 169 | | .collect::<()>(); [INFO] [stdout] | |____________________________^ [INFO] [stdout] | [INFO] [stdout] = note: if you really need to exhaust the iterator, consider `.for_each(drop)` instead [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] 153 | let _ = (left..right + 1) [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `collect` that must be used [INFO] [stdout] --> src/rendering/coverage.rs:176:5 [INFO] [stdout] | [INFO] [stdout] 176 | / linear_space [INFO] [stdout] 177 | | .into_iter() [INFO] [stdout] 178 | | .enumerate() [INFO] [stdout] 179 | | .map(|(i, (bin_left, bin_right))| { [INFO] [stdout] ... | [INFO] [stdout] 183 | | }) [INFO] [stdout] 184 | | .collect::<()>(); [INFO] [stdout] | |________________________^ [INFO] [stdout] | [INFO] [stdout] = note: if you really need to exhaust the iterator, consider `.for_each(drop)` instead [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 176 | let _ = linear_space [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/rendering/layout.rs:239:9 [INFO] [stdout] | [INFO] [stdout] 239 | layout.set_area(initial_area); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 239 | let _ = layout.set_area(initial_area); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `txStart` should have a snake case name [INFO] [stdout] --> src/tracks/schema.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 21 | pub txStart: u64, [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `tx_start` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `txEnd` should have a snake case name [INFO] [stdout] --> src/tracks/schema.rs:22:9 [INFO] [stdout] | [INFO] [stdout] 22 | pub txEnd: u64, [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case: `tx_end` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `cdsStart` should have a snake case name [INFO] [stdout] --> src/tracks/schema.rs:23:9 [INFO] [stdout] | [INFO] [stdout] 23 | pub cdsStart: u64, [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `cds_start` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `cdsEnd` should have a snake case name [INFO] [stdout] --> src/tracks/schema.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 24 | pub cdsEnd: u64, [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `cds_end` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `exonStarts` should have a snake case name [INFO] [stdout] --> src/tracks/schema.rs:26:9 [INFO] [stdout] | [INFO] [stdout] 26 | pub exonStarts: Vec, [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `exon_starts` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `exonEnds` should have a snake case name [INFO] [stdout] --> src/tracks/schema.rs:27:9 [INFO] [stdout] | [INFO] [stdout] 27 | pub exonEnds: Vec, [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `exon_ends` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `txStart` should have a snake case name [INFO] [stdout] --> src/tracks/schema.rs:32:13 [INFO] [stdout] | [INFO] [stdout] 32 | let txStart: i64 = row.try_get("txStart")?; [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `tx_start` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `txEnd` should have a snake case name [INFO] [stdout] --> src/tracks/schema.rs:33:13 [INFO] [stdout] | [INFO] [stdout] 33 | let txEnd: i64 = row.try_get("txEnd")?; [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case: `tx_end` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `cdsStart` should have a snake case name [INFO] [stdout] --> src/tracks/schema.rs:34:13 [INFO] [stdout] | [INFO] [stdout] 34 | let cdsStart: i64 = row.try_get("cdsStart")?; [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `cds_start` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `cdsEnd` should have a snake case name [INFO] [stdout] --> src/tracks/schema.rs:35:13 [INFO] [stdout] | [INFO] [stdout] 35 | let cdsEnd: i64 = row.try_get("cdsEnd")?; [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `cds_end` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `chromStart` should have a snake case name [INFO] [stdout] --> src/tracks/schema.rs:122:5 [INFO] [stdout] | [INFO] [stdout] 122 | chromStart: u64, // sqlite doesn't support unsigned int [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `chrom_start` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `chromEnd` should have a snake case name [INFO] [stdout] --> src/tracks/schema.rs:123:5 [INFO] [stdout] | [INFO] [stdout] 123 | chromEnd: u64, [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `chrom_end` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `gieStain` should have a snake case name [INFO] [stdout] --> src/tracks/schema.rs:125:5 [INFO] [stdout] | [INFO] [stdout] 125 | gieStain: String, [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `gie_stain` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `chromStart` should have a snake case name [INFO] [stdout] --> src/tracks/schema.rs:130:13 [INFO] [stdout] | [INFO] [stdout] 130 | let chromStart: i64 = row.try_get("chromStart")?; [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `chrom_start` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `chromEnd` should have a snake case name [INFO] [stdout] --> src/tracks/schema.rs:131:13 [INFO] [stdout] | [INFO] [stdout] 131 | let chromEnd: i64 = row.try_get("chromEnd")?; [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `chrom_end` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `cytoBandIdeo` should have a snake case name [INFO] [stdout] --> src/tracks/schema.rs:423:5 [INFO] [stdout] | [INFO] [stdout] 423 | cytoBandIdeo: Vec, [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `cyto_band_ideo` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 26s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: num-bigint-dig v0.8.4 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "9e45ec87c65cedf9c4adf4ed32f00d95374e5c47fa1624d05ed907db70f30235", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9e45ec87c65cedf9c4adf4ed32f00d95374e5c47fa1624d05ed907db70f30235", kill_on_drop: false }` [INFO] [stdout] 9e45ec87c65cedf9c4adf4ed32f00d95374e5c47fa1624d05ed907db70f30235