[INFO] fetching crate matchbox-cli 0.2.0... [INFO] checking matchbox-cli-0.2.0 against master#f5711a55f5d5e2f942057d0f6d648dd2d8b2c37b for pr-148329 [INFO] extracting crate matchbox-cli 0.2.0 into /workspace/builds/worker-4-tc1/source [INFO] started tweaking crates.io crate matchbox-cli 0.2.0 [INFO] finished tweaking crates.io crate matchbox-cli 0.2.0 [INFO] tweaked toml for crates.io crate matchbox-cli 0.2.0 written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate matchbox-cli 0.2.0 on toolchain f5711a55f5d5e2f942057d0f6d648dd2d8b2c37b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f5711a55f5d5e2f942057d0f6d648dd2d8b2c37b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate matchbox-cli 0.2.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" "+f5711a55f5d5e2f942057d0f6d648dd2d8b2c37b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded noodles v0.101.0 [INFO] [stderr] Downloaded noodles-csi v0.51.0 [INFO] [stderr] Downloaded derefable v0.1.0 [INFO] [stderr] Downloaded noodles-core v0.18.0 [INFO] [stderr] Downloaded bio-types v1.0.4 [INFO] [stderr] Downloaded codespan v0.13.1 [INFO] [stderr] Downloaded noodles-fasta v0.56.0 [INFO] [stderr] Downloaded noodles-bgzf v0.43.0 [INFO] [stderr] Downloaded anyhow v1.0.94 [INFO] [stderr] Downloaded indicatif v0.18.1 [INFO] [stderr] Downloaded wide v0.7.30 [INFO] [stderr] Downloaded noodles-bam v0.83.0 [INFO] [stderr] Downloaded noodles-cram v0.86.0 [INFO] [stderr] Downloaded statrs v0.17.1 [INFO] [stderr] Downloaded noodles-sam v0.79.0 [INFO] [stderr] Downloaded insta v1.42.2 [INFO] [stderr] Downloaded color-spantrace v0.2.2 [INFO] [stderr] Downloaded bio v3.0.0 [INFO] [stderr] Downloaded codespan-reporting v0.13.1 [INFO] [stderr] Downloaded owo-colors v4.2.0 [INFO] [stderr] Downloaded noodles-util v0.70.0 [INFO] [stderr] Downloaded color-eyre v0.6.4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+f5711a55f5d5e2f942057d0f6d648dd2d8b2c37b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1b128643894902f3dbd29b1790e2861ecebea73f48ef1ff55294ffe1120e5f8c [INFO] running `Command { std: "docker" "start" "-a" "1b128643894902f3dbd29b1790e2861ecebea73f48ef1ff55294ffe1120e5f8c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1b128643894902f3dbd29b1790e2861ecebea73f48ef1ff55294ffe1120e5f8c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1b128643894902f3dbd29b1790e2861ecebea73f48ef1ff55294ffe1120e5f8c", kill_on_drop: false }` [INFO] [stdout] 1b128643894902f3dbd29b1790e2861ecebea73f48ef1ff55294ffe1120e5f8c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+f5711a55f5d5e2f942057d0f6d648dd2d8b2c37b" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d1817a67530ab337428525e22670cc48d9a6e300f5c41423e5d81f4563a48310 [INFO] running `Command { std: "docker" "start" "-a" "d1817a67530ab337428525e22670cc48d9a6e300f5c41423e5d81f4563a48310", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.92 [INFO] [stderr] Checking adler2 v2.0.0 [INFO] [stderr] Compiling cc v1.2.16 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking lexical-util v1.0.6 [INFO] [stderr] Checking zlib-rs v0.4.2 [INFO] [stderr] Checking bitflags v2.9.0 [INFO] [stderr] Checking hashbrown v0.15.2 [INFO] [stderr] Checking crc32fast v1.4.2 [INFO] [stderr] Compiling rustversion v1.0.18 [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Checking crossbeam-channel v0.5.15 [INFO] [stderr] Checking bstr v1.12.0 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Compiling matrixmultiply v0.3.9 [INFO] [stderr] Checking bytemuck v1.20.0 [INFO] [stderr] Checking miniz_oxide v0.8.5 [INFO] [stderr] Checking signal-hook-registry v1.4.5 [INFO] [stderr] Checking tracing-core v0.1.33 [INFO] [stderr] Compiling semver v0.1.20 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking safe_arch v0.7.2 [INFO] [stderr] Checking smallvec v1.15.0 [INFO] [stderr] Checking mio v1.0.3 [INFO] [stderr] Checking parking_lot_core v0.9.10 [INFO] [stderr] Checking noodles-core v0.18.0 [INFO] [stderr] Compiling rustc_version v0.1.7 [INFO] [stderr] Checking indexmap v2.7.0 [INFO] [stderr] Checking signal-hook v0.3.18 [INFO] [stderr] Checking thread_local v1.1.8 [INFO] [stderr] Checking num-complex v0.4.6 [INFO] [stderr] Checking lexical-parse-integer v1.0.5 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Checking lexical-write-integer v1.0.5 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Checking wide v0.7.30 [INFO] [stderr] Checking approx v0.5.1 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Compiling owo-colors v4.2.0 [INFO] [stderr] Compiling syn v2.0.90 [INFO] [stderr] Compiling object v0.36.7 [INFO] [stderr] Checking lexical-parse-float v1.0.5 [INFO] [stderr] Checking signal-hook-mio v0.2.4 [INFO] [stderr] Checking anstyle-parse v0.2.6 [INFO] [stderr] Compiling proc-macro-error-attr2 v2.0.0 [INFO] [stderr] Checking tracing v0.1.41 [INFO] [stderr] Checking tracing-subscriber v0.3.19 [INFO] [stderr] Compiling newtype_derive v0.1.6 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Compiling eyre v0.6.12 [INFO] [stderr] Checking lexical-write-float v1.0.5 [INFO] [stderr] Checking num-rational v0.4.2 [INFO] [stderr] Checking anstyle-query v1.1.2 [INFO] [stderr] Checking colorchoice v1.0.3 [INFO] [stderr] Checking libbz2-rs-sys v0.2.2 [INFO] [stderr] Checking gimli v0.31.1 [INFO] [stderr] Compiling portable-atomic v1.10.0 [INFO] [stderr] Compiling anyhow v1.0.94 [INFO] [stderr] Compiling color-spantrace v0.2.2 [INFO] [stderr] Compiling cmake v0.1.54 [INFO] [stderr] Checking anstream v0.6.18 [INFO] [stderr] Checking lexical-core v1.0.5 [INFO] [stderr] Checking libz-rs-sys v0.4.2 [INFO] [stderr] Checking rustix v0.38.44 [INFO] [stderr] Checking md-5 v0.10.6 [INFO] [stderr] Checking castaway v0.2.3 [INFO] [stderr] Checking itertools v0.13.0 [INFO] [stderr] Checking csv-core v0.1.11 [INFO] [stderr] Compiling indoc v2.0.6 [INFO] [stderr] Checking simba v0.8.1 [INFO] [stderr] Compiling peg-runtime v0.8.5 [INFO] [stderr] Compiling litrs v1.0.0 [INFO] [stderr] Checking petgraph v0.6.5 [INFO] [stderr] Checking regex-automata v0.4.9 [INFO] [stderr] Checking bzip2 v0.6.0 [INFO] [stderr] Checking crossterm v0.28.1 [INFO] [stderr] Checking clap_builder v4.5.32 [INFO] [stderr] Checking codespan-reporting v0.13.1 [INFO] [stderr] Compiling libz-ng-sys v1.1.22 [INFO] [stderr] Compiling lzma-sys v0.1.20 [INFO] [stderr] Compiling document-features v0.2.12 [INFO] [stderr] Checking tracing-error v0.2.1 [INFO] [stderr] Compiling peg-macros v0.8.5 [INFO] [stderr] Checking csv v1.4.0 [INFO] [stderr] Checking xz2 v0.1.7 [INFO] [stderr] Checking rustix v1.1.2 [INFO] [stderr] Checking compact_str v0.8.1 [INFO] [stderr] Compiling derefable v0.1.0 [INFO] [stderr] Checking rayon-core v1.13.0 [INFO] [stderr] Checking ndarray v0.16.1 [INFO] [stderr] Checking ordered-float v5.1.0 [INFO] [stderr] Checking itertools-num v0.1.3 [INFO] [stderr] Checking lru v0.12.5 [INFO] [stderr] Checking console v0.16.1 [INFO] [stderr] Checking itertools v0.14.0 [INFO] [stderr] Checking custom_derive v0.1.7 [INFO] [stderr] Checking editdistancek v1.0.2 [INFO] [stderr] Checking unit-prefix v0.5.1 [INFO] [stderr] Checking bytecount v0.6.8 [INFO] [stderr] Checking addr2line v0.24.2 [INFO] [stderr] Checking triple_accel v0.4.0 [INFO] [stderr] Checking unicode-truncate v1.1.0 [INFO] [stderr] Checking rayon v1.11.0 [INFO] [stderr] Checking codespan v0.13.1 [INFO] [stderr] Checking console v0.15.11 [INFO] [stderr] Checking similar v2.7.0 [INFO] [stderr] Checking bumpalo v3.19.0 [INFO] [stderr] Checking peg v0.8.5 [INFO] [stderr] Checking indicatif v0.18.1 [INFO] [stderr] Checking regex v1.11.1 [INFO] [stderr] Checking backtrace v0.3.75 [INFO] [stderr] Checking color-eyre v0.6.4 [INFO] [stderr] Compiling darling_core v0.20.11 [INFO] [stderr] Compiling proc-macro-error2 v2.0.1 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling strum_macros v0.26.4 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling nalgebra-macros v0.2.2 [INFO] [stderr] Compiling thiserror-impl v2.0.17 [INFO] [stderr] Compiling derive_more-impl v2.0.1 [INFO] [stderr] Compiling enum-map-derive v0.17.0 [INFO] [stderr] Compiling derive-new v0.6.0 [INFO] [stderr] Compiling getset v0.1.6 [INFO] [stderr] Compiling clap_derive v4.5.32 [INFO] [stderr] Compiling pin-project-internal v1.1.9 [INFO] [stderr] Checking enum-map v2.7.3 [INFO] [stderr] Checking derive_more v2.0.1 [INFO] [stderr] Checking crossterm v0.29.0 [INFO] [stderr] Checking zerocopy v0.7.35 [INFO] [stderr] Checking thiserror v2.0.17 [INFO] [stderr] Checking pin-project v1.1.9 [INFO] [stderr] Checking thiserror v1.0.69 [INFO] [stderr] Checking ppv-lite86 v0.2.20 [INFO] [stderr] Compiling darling_macro v0.20.11 [INFO] [stderr] Checking clap v4.5.32 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking strum v0.26.3 [INFO] [stderr] Checking bio-types v1.0.4 [INFO] [stderr] Compiling darling v0.20.11 [INFO] [stderr] Compiling instability v0.3.7 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking ratatui v0.29.0 [INFO] [stderr] Checking rand_distr v0.4.3 [INFO] [stderr] Checking serde v1.0.228 [INFO] [stderr] Checking nalgebra v0.32.6 [INFO] [stderr] Checking bv v0.11.1 [INFO] [stderr] Checking vec_map v0.8.2 [INFO] [stderr] Checking multimap v0.10.0 [INFO] [stderr] Checking insta v1.42.2 [INFO] [stderr] Checking flate2 v1.1.0 [INFO] [stderr] Checking noodles-bgzf v0.43.0 [INFO] [stderr] Checking noodles-csi v0.51.0 [INFO] [stderr] Checking noodles-fasta v0.56.0 [INFO] [stderr] Checking noodles-sam v0.79.0 [INFO] [stderr] Checking noodles-bam v0.83.0 [INFO] [stderr] Checking noodles-cram v0.86.0 [INFO] [stderr] Checking noodles v0.101.0 [INFO] [stderr] Checking statrs v0.17.1 [INFO] [stderr] Checking bio v3.0.0 [INFO] [stderr] Checking noodles-util v0.70.0 [INFO] [stderr] Checking matchbox-cli v0.2.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `make_portable` [INFO] [stdout] --> src/main.rs:13:39 [INFO] [stdout] | [INFO] [stdout] 13 | use core::{library::standard_library, make_portable, EvalError}; [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: `path::Path` [INFO] [stdout] --> src/main.rs:14:43 [INFO] [stdout] | [INFO] [stdout] 14 | use std::{fmt::Debug, fs::File, io::Read, path::Path, process::exit}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Error` [INFO] [stdout] --> src/main.rs:18:13 [INFO] [stdout] | [INFO] [stdout] 18 | files::{Error, SimpleFile}, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `get_filetype_and_buffer` [INFO] [stdout] --> src/main.rs:22:21 [INFO] [stdout] | [INFO] [stdout] 22 | get_extensions, get_filetype_and_buffer, FileType, FileTypeError, InputError, ReaderWithBar, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `IntoParallelRefIterator` [INFO] [stdout] --> src/main.rs:26:19 [INFO] [stdout] | [INFO] [stdout] 26 | use rayon::iter::{IntoParallelRefIterator, ParallelIterator}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Context` [INFO] [stdout] --> src/main.rs:27:45 [INFO] [stdout] | [INFO] [stdout] 27 | use surface::{elab_prog, elab_prog_for_ctx, Context, ElabError}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Cache` and `Env` [INFO] [stdout] --> src/main.rs:28:19 [INFO] [stdout] | [INFO] [stdout] 28 | use util::{Arena, Cache, Env, Location}; [INFO] [stdout] | ^^^^^ ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `bio::stats::probs` [INFO] [stdout] --> src/core.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use bio::stats::probs; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `IntoParallelIterator` [INFO] [stdout] --> src/core.rs:8:44 [INFO] [stdout] | [INFO] [stdout] 8 | use rayon::iter::{IndexedParallelIterator, IntoParallelIterator, ParallelIterator}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ConcreteRec` and `FastaRead` [INFO] [stdout] --> src/core.rs:9:11 [INFO] [stdout] | [INFO] [stdout] 9 | use rec::{ConcreteRec, FastaRead, FullyConcreteRec, Rec}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `RecField` [INFO] [stdout] --> src/core.rs:12:80 [INFO] [stdout] | [INFO] [stdout] 12 | self, bytes_to_string, Arena, Cache, CoreRecField, Env, Located, Location, RecField, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `PortableVal` and `self` [INFO] [stdout] --> src/core/library.rs:14:11 [INFO] [stdout] | [INFO] [stdout] 14 | rec::{self, ConcreteRec}, [INFO] [stdout] | ^^^^ [INFO] [stdout] 15 | Effect, EvalError, PortableVal, Val, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `bio::data_structures::qgram_index::Match` [INFO] [stdout] --> src/core/matcher.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use bio::data_structures::qgram_index::Match; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `matcher` [INFO] [stdout] --> src/core/matcher/read_matcher.rs:6:18 [INFO] [stdout] | [INFO] [stdout] 6 | core::{self, matcher, EvalError, InternalError, Val}, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Ran`, `myers::VarMyers`, and `surface::Context` [INFO] [stdout] --> src/core/matcher.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | myers::VarMyers, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 7 | surface::Context, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 8 | util::{Arena, Env, Ran}, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `collections::HashMap` [INFO] [stdout] --> src/core/matcher.rs:12:11 [INFO] [stdout] | [INFO] [stdout] 12 | use std::{collections::HashMap, fmt::Display, sync::Arc}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Data`, `Sequence`, and `io::writer::record::write_cigar` [INFO] [stdout] --> src/core/rec.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | io::writer::record::write_cigar, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 4 | record::{Data, Sequence}, [INFO] [stdout] | ^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Arena`, `CoreRecField`, `InputError`, `Input`, and `Location` [INFO] [stdout] --> src/core/rec.rs:8:13 [INFO] [stdout] | [INFO] [stdout] 8 | input::{Input, InputError}, [INFO] [stdout] | ^^^^^ ^^^^^^^^^^ [INFO] [stdout] 9 | util::{self, bytes_to_string, Arena, CoreRecField, Location}, [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rc::Rc` [INFO] [stdout] --> src/core/rec.rs:11:57 [INFO] [stdout] | [INFO] [stdout] 11 | use std::{collections::HashMap, fmt::Display, io::Read, rc::Rc, sync::Arc}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `EvalError` [INFO] [stdout] --> src/core/rec.rs:13:13 [INFO] [stdout] | [INFO] [stdout] 13 | use super::{EvalError, InternalError, Val}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `sync::Arc` [INFO] [stdout] --> src/input.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | sync::Arc, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `fmt::Pointer` [INFO] [stdout] --> src/input/bam.rs:3:33 [INFO] [stdout] | [INFO] [stdout] 3 | use std::{collections::HashMap, fmt::Pointer, io::BufRead, sync::Arc}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Input` and `InternalError` [INFO] [stdout] --> src/input/bam.rs:13:17 [INFO] [stdout] | [INFO] [stdout] 13 | Effect, InternalError, Val, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 14 | }, [INFO] [stdout] 15 | input::{AuxiliaryInputData, ExecError, Input, InputError, Progress, ProgressSummary, Reader}, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `collections::HashMap` [INFO] [stdout] --> src/input/dsv.rs:3:11 [INFO] [stdout] | [INFO] [stdout] 3 | use std::{collections::HashMap, io::BufRead, sync::Arc}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `FullyConcreteRec` [INFO] [stdout] --> src/input/dsv.rs:11:32 [INFO] [stdout] | [INFO] [stdout] 11 | rec::{self, CSVHeader, FullyConcreteRec}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Input` [INFO] [stdout] --> src/input/sam.rs:14:44 [INFO] [stdout] | [INFO] [stdout] 14 | input::{AuxiliaryInputData, ExecError, Input, InputError, Progress, ProgressSummary, Reader}, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `itertools::Itertools` [INFO] [stdout] --> src/output.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use itertools::Itertools; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BufWriter`, `HashMap`, `StdoutLock`, `Stdout`, `Write`, `fs::File`, `hash_set::Intersection`, `os::unix::ffi::OsStrExt`, and `process::Output` [INFO] [stdout] --> src/output.rs:6:19 [INFO] [stdout] | [INFO] [stdout] 6 | collections::{hash_set::Intersection, HashMap}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^ [INFO] [stdout] 7 | fmt::Display, [INFO] [stdout] 8 | fs::File, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 9 | io::{stdout, BufWriter, Stdout, StdoutLock, Write}, [INFO] [stdout] | ^^^^^^^^^ ^^^^^^ ^^^^^^^^^^ ^^^^^ [INFO] [stdout] 10 | os::unix::ffi::OsStrExt, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 11 | path::Path, [INFO] [stdout] 12 | process::Output, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `core::Val` and `util::bytes_to_string` [INFO] [stdout] --> src/output.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | core::Val, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 23 | util::bytes_to_string, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `InternalError` [INFO] [stdout] --> src/output.rs:26:20 [INFO] [stdout] | [INFO] [stdout] 26 | core::{Effect, InternalError, PortableVal}, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `core::PortableVal` [INFO] [stdout] --> src/output/average.rs:7:13 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::{core::PortableVal, output::OutputError, util::bytes_to_string}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `collections::HashMap` and `ops::Deref` [INFO] [stdout] --> src/surface.rs:3:11 [INFO] [stdout] | [INFO] [stdout] 3 | use std::{collections::HashMap, fmt::Display, io::Read, ops::Deref, rc::Rc, sync::Arc}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `FileType`, `InputError`, `LocTm`, `OpTm`, `Ran`, `parse`, and `self` [INFO] [stdout] --> src/surface.rs:10:33 [INFO] [stdout] | [INFO] [stdout] 10 | matcher::read_matcher::{self, LocTm, OpTm}, [INFO] [stdout] | ^^^^ ^^^^^ ^^^^ [INFO] [stdout] ... [INFO] [stdout] 13 | input::{FileType, InputError, Reader}, [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] 14 | parse, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 15 | util::{bytes_to_string, Arena, Cache, CoreRecField, Env, Located, Location, Ran, RecField}, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/test.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is a test module, consider adding a `#[cfg(test)]` to the containing module [INFO] [stdout] --> src/main.rs:36:1 [INFO] [stdout] | [INFO] [stdout] 36 | mod test; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Val` and `rec::ConcreteRec` [INFO] [stdout] --> src/test.rs:7:18 [INFO] [stdout] | [INFO] [stdout] 7 | core::{self, rec::ConcreteRec, Val}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ ^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is a test module, consider adding a `#[cfg(test)]` to the containing module [INFO] [stdout] --> src/main.rs:36:1 [INFO] [stdout] | [INFO] [stdout] 36 | mod test; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::sync::Arc` [INFO] [stdout] --> src/test.rs:147:9 [INFO] [stdout] | [INFO] [stdout] 147 | use std::sync::Arc; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is a test module, consider adding a `#[cfg(test)]` to the containing module [INFO] [stdout] --> src/main.rs:36:1 [INFO] [stdout] | [INFO] [stdout] 36 | mod test; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ProgressDrawTarget` [INFO] [stdout] --> src/ui.rs:3:30 [INFO] [stdout] | [INFO] [stdout] 3 | use indicatif::{ProgressBar, ProgressDrawTarget}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Terminal` [INFO] [stdout] --> src/ui.rs:6:29 [INFO] [stdout] | [INFO] [stdout] 6 | DefaultTerminal, Frame, Terminal, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BarProgress`, `open`, and `reader_from_input` [INFO] [stdout] --> src/main.rs:43:13 [INFO] [stdout] | [INFO] [stdout] 43 | input::{open, reader_from_input, BarProgress, CLIFileType, ExecError}, [INFO] [stdout] | ^^^^ ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `make_portable` [INFO] [stdout] --> src/main.rs:13:39 [INFO] [stdout] | [INFO] [stdout] 13 | use core::{library::standard_library, make_portable, EvalError}; [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: `path::Path` [INFO] [stdout] --> src/main.rs:14:43 [INFO] [stdout] | [INFO] [stdout] 14 | use std::{fmt::Debug, fs::File, io::Read, path::Path, process::exit}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Error` [INFO] [stdout] --> src/main.rs:18:13 [INFO] [stdout] | [INFO] [stdout] 18 | files::{Error, SimpleFile}, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `get_filetype_and_buffer` [INFO] [stdout] --> src/main.rs:22:21 [INFO] [stdout] | [INFO] [stdout] 22 | get_extensions, get_filetype_and_buffer, FileType, FileTypeError, InputError, ReaderWithBar, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `IntoParallelRefIterator` [INFO] [stdout] --> src/main.rs:26:19 [INFO] [stdout] | [INFO] [stdout] 26 | use rayon::iter::{IntoParallelRefIterator, ParallelIterator}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Context` [INFO] [stdout] --> src/main.rs:27:45 [INFO] [stdout] | [INFO] [stdout] 27 | use surface::{elab_prog, elab_prog_for_ctx, Context, ElabError}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Cache` and `Env` [INFO] [stdout] --> src/main.rs:28:19 [INFO] [stdout] | [INFO] [stdout] 28 | use util::{Arena, Cache, Env, Location}; [INFO] [stdout] | ^^^^^ ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `bio::stats::probs` [INFO] [stdout] --> src/core.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use bio::stats::probs; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `IntoParallelIterator` [INFO] [stdout] --> src/core.rs:8:44 [INFO] [stdout] | [INFO] [stdout] 8 | use rayon::iter::{IndexedParallelIterator, IntoParallelIterator, ParallelIterator}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ConcreteRec` and `FastaRead` [INFO] [stdout] --> src/core.rs:9:11 [INFO] [stdout] | [INFO] [stdout] 9 | use rec::{ConcreteRec, FastaRead, FullyConcreteRec, Rec}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `RecField` [INFO] [stdout] --> src/core.rs:12:80 [INFO] [stdout] | [INFO] [stdout] 12 | self, bytes_to_string, Arena, Cache, CoreRecField, Env, Located, Location, RecField, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `PortableVal` and `self` [INFO] [stdout] --> src/core/library.rs:14:11 [INFO] [stdout] | [INFO] [stdout] 14 | rec::{self, ConcreteRec}, [INFO] [stdout] | ^^^^ [INFO] [stdout] 15 | Effect, EvalError, PortableVal, Val, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `bio::data_structures::qgram_index::Match` [INFO] [stdout] --> src/core/matcher.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use bio::data_structures::qgram_index::Match; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `matcher` [INFO] [stdout] --> src/core/matcher/read_matcher.rs:6:18 [INFO] [stdout] | [INFO] [stdout] 6 | core::{self, matcher, EvalError, InternalError, Val}, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Ran`, `myers::VarMyers`, and `surface::Context` [INFO] [stdout] --> src/core/matcher.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | myers::VarMyers, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 7 | surface::Context, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 8 | util::{Arena, Env, Ran}, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `collections::HashMap` [INFO] [stdout] --> src/core/matcher.rs:12:11 [INFO] [stdout] | [INFO] [stdout] 12 | use std::{collections::HashMap, fmt::Display, sync::Arc}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Data`, `Sequence`, and `io::writer::record::write_cigar` [INFO] [stdout] --> src/core/rec.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | io::writer::record::write_cigar, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 4 | record::{Data, Sequence}, [INFO] [stdout] | ^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Arena`, `CoreRecField`, `InputError`, `Input`, and `Location` [INFO] [stdout] --> src/core/rec.rs:8:13 [INFO] [stdout] | [INFO] [stdout] 8 | input::{Input, InputError}, [INFO] [stdout] | ^^^^^ ^^^^^^^^^^ [INFO] [stdout] 9 | util::{self, bytes_to_string, Arena, CoreRecField, Location}, [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rc::Rc` [INFO] [stdout] --> src/core/rec.rs:11:57 [INFO] [stdout] | [INFO] [stdout] 11 | use std::{collections::HashMap, fmt::Display, io::Read, rc::Rc, sync::Arc}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `EvalError` [INFO] [stdout] --> src/core/rec.rs:13:13 [INFO] [stdout] | [INFO] [stdout] 13 | use super::{EvalError, InternalError, Val}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `sync::Arc` [INFO] [stdout] --> src/input.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | sync::Arc, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `fmt::Pointer` [INFO] [stdout] --> src/input/bam.rs:3:33 [INFO] [stdout] | [INFO] [stdout] 3 | use std::{collections::HashMap, fmt::Pointer, io::BufRead, sync::Arc}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Input` and `InternalError` [INFO] [stdout] --> src/input/bam.rs:13:17 [INFO] [stdout] | [INFO] [stdout] 13 | Effect, InternalError, Val, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 14 | }, [INFO] [stdout] 15 | input::{AuxiliaryInputData, ExecError, Input, InputError, Progress, ProgressSummary, Reader}, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `collections::HashMap` [INFO] [stdout] --> src/input/dsv.rs:3:11 [INFO] [stdout] | [INFO] [stdout] 3 | use std::{collections::HashMap, io::BufRead, sync::Arc}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `FullyConcreteRec` [INFO] [stdout] --> src/input/dsv.rs:11:32 [INFO] [stdout] | [INFO] [stdout] 11 | rec::{self, CSVHeader, FullyConcreteRec}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Input` [INFO] [stdout] --> src/input/sam.rs:14:44 [INFO] [stdout] | [INFO] [stdout] 14 | input::{AuxiliaryInputData, ExecError, Input, InputError, Progress, ProgressSummary, Reader}, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `itertools::Itertools` [INFO] [stdout] --> src/output.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use itertools::Itertools; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BufWriter`, `HashMap`, `StdoutLock`, `Stdout`, `Write`, `fs::File`, `hash_set::Intersection`, `os::unix::ffi::OsStrExt`, and `process::Output` [INFO] [stdout] --> src/output.rs:6:19 [INFO] [stdout] | [INFO] [stdout] 6 | collections::{hash_set::Intersection, HashMap}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^ [INFO] [stdout] 7 | fmt::Display, [INFO] [stdout] 8 | fs::File, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 9 | io::{stdout, BufWriter, Stdout, StdoutLock, Write}, [INFO] [stdout] | ^^^^^^^^^ ^^^^^^ ^^^^^^^^^^ ^^^^^ [INFO] [stdout] 10 | os::unix::ffi::OsStrExt, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 11 | path::Path, [INFO] [stdout] 12 | process::Output, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `core::Val` and `util::bytes_to_string` [INFO] [stdout] --> src/output.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | core::Val, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 23 | util::bytes_to_string, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `InternalError` [INFO] [stdout] --> src/output.rs:26:20 [INFO] [stdout] | [INFO] [stdout] 26 | core::{Effect, InternalError, PortableVal}, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `core::PortableVal` [INFO] [stdout] --> src/output/average.rs:7:13 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::{core::PortableVal, output::OutputError, util::bytes_to_string}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `collections::HashMap` and `ops::Deref` [INFO] [stdout] --> src/surface.rs:3:11 [INFO] [stdout] | [INFO] [stdout] 3 | use std::{collections::HashMap, fmt::Display, io::Read, ops::Deref, rc::Rc, sync::Arc}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `FileType`, `InputError`, `LocTm`, `OpTm`, `Ran`, `parse`, and `self` [INFO] [stdout] --> src/surface.rs:10:33 [INFO] [stdout] | [INFO] [stdout] 10 | matcher::read_matcher::{self, LocTm, OpTm}, [INFO] [stdout] | ^^^^ ^^^^^ ^^^^ [INFO] [stdout] ... [INFO] [stdout] 13 | input::{FileType, InputError, Reader}, [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] 14 | parse, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 15 | util::{bytes_to_string, Arena, Cache, CoreRecField, Env, Located, Location, Ran, RecField}, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/test.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rec::ConcreteRec` [INFO] [stdout] --> src/test.rs:7:18 [INFO] [stdout] | [INFO] [stdout] 7 | core::{self, rec::ConcreteRec, Val}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `read_code_from_script` [INFO] [stdout] --> src/test.rs:31:42 [INFO] [stdout] | [INFO] [stdout] 31 | core::library::standard_library, read_code_from_script, surface::elab_prog_for_ctx, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::sync::Arc` [INFO] [stdout] --> src/test.rs:147:9 [INFO] [stdout] | [INFO] [stdout] 147 | use std::sync::Arc; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ProgressDrawTarget` [INFO] [stdout] --> src/ui.rs:3:30 [INFO] [stdout] | [INFO] [stdout] 3 | use indicatif::{ProgressBar, ProgressDrawTarget}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Terminal` [INFO] [stdout] --> src/ui.rs:6:29 [INFO] [stdout] | [INFO] [stdout] 6 | DefaultTerminal, Frame, Terminal, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BarProgress`, `open`, and `reader_from_input` [INFO] [stdout] --> src/main.rs:43:13 [INFO] [stdout] | [INFO] [stdout] 43 | input::{open, reader_from_input, BarProgress, CLIFileType, ExecError}, [INFO] [stdout] | ^^^^ ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `codespan_reporting::term::emit`: Use `emit_to_write_style` instead or depending on the writer use `emit_to_io_write` or `emit_to_string` [INFO] [stdout] --> src/main.rs:365:15 [INFO] [stdout] | [INFO] [stdout] 365 | term::emit(&mut writer, &config, &file, &diagnostic); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `codespan_reporting::term::emit`: Use `emit_to_write_style` instead or depending on the writer use `emit_to_io_write` or `emit_to_string` [INFO] [stdout] --> src/main.rs:365:15 [INFO] [stdout] | [INFO] [stdout] 365 | term::emit(&mut writer, &config, &file, &diagnostic); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/core/library.rs:1589:13 [INFO] [stdout] | [INFO] [stdout] 1587 | let a = todo!(); [INFO] [stdout] | ------- any code following this expression is unreachable [INFO] [stdout] 1588 | [INFO] [stdout] 1589 | todo!() [INFO] [stdout] | ^^^^^^^ unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] = note: this warning originates in the macro `todo` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/core/library.rs:1589:13 [INFO] [stdout] | [INFO] [stdout] 1587 | let a = todo!(); [INFO] [stdout] | ------- any code following this expression is unreachable [INFO] [stdout] 1588 | [INFO] [stdout] 1589 | todo!() [INFO] [stdout] | ^^^^^^^ unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] = note: this warning originates in the macro `todo` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable statement [INFO] [stdout] --> src/core.rs:416:9 [INFO] [stdout] | [INFO] [stdout] 414 | return Ok((self.clone(), cache.clone())); [INFO] [stdout] | ---------------------------------------- any code following this expression is unreachable [INFO] [stdout] 415 | [INFO] [stdout] 416 | let (stmt, cache) = self.data.stmt.cache(arena, global_env, cache, env)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable statement [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable statement [INFO] [stdout] --> src/core.rs:416:9 [INFO] [stdout] | [INFO] [stdout] 414 | return Ok((self.clone(), cache.clone())); [INFO] [stdout] | ---------------------------------------- any code following this expression is unreachable [INFO] [stdout] 415 | [INFO] [stdout] 416 | let (stmt, cache) = self.data.stmt.cache(arena, global_env, cache, env)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable statement [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: a method with this name may be added to the standard library in the future [INFO] [stdout] --> src/input/bam.rs:740:22 [INFO] [stdout] | [INFO] [stdout] 740 | let c = v.iter().intersperse(&vec![b'\t']).cloned().concat(); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: once this associated item is added to the standard library, the ambiguity may cause an error or change in behavior! [INFO] [stdout] = note: for more information, see issue #48919 [INFO] [stdout] = help: call with fully qualified syntax `itertools::Itertools::intersperse(...)` to keep using the current method [INFO] [stdout] = note: `#[warn(unstable_name_collisions)]` (part of `#[warn(future_incompatible)]`) on by default [INFO] [stdout] help: add `#![feature(iter_intersperse)]` to the crate attributes to enable `std::iter::Iterator::intersperse` [INFO] [stdout] --> src/main.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 + #![feature(iter_intersperse)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: a method with this name may be added to the standard library in the future [INFO] [stdout] --> src/input/bam.rs:740:22 [INFO] [stdout] | [INFO] [stdout] 740 | let c = v.iter().intersperse(&vec![b'\t']).cloned().concat(); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: once this associated item is added to the standard library, the ambiguity may cause an error or change in behavior! [INFO] [stdout] = note: for more information, see issue #48919 [INFO] [stdout] = help: call with fully qualified syntax `itertools::Itertools::intersperse(...)` to keep using the current method [INFO] [stdout] = note: `#[warn(unstable_name_collisions)]` (part of `#[warn(future_incompatible)]`) on by default [INFO] [stdout] help: add `#![feature(iter_intersperse)]` to the crate attributes to enable `std::iter::Iterator::intersperse` [INFO] [stdout] --> src/main.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 + #![feature(iter_intersperse)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `io::Read` [INFO] [stdout] --> src/core/library.rs:10:33 [INFO] [stdout] | [INFO] [stdout] 10 | use std::{collections::HashMap, io::Read, path::Path, sync::Arc}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `itertools::Itertools` [INFO] [stdout] --> src/core/matcher.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use itertools::Itertools; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `itertools::Itertools` [INFO] [stdout] --> src/core/rec.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use itertools::Itertools; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `io::Read` [INFO] [stdout] --> src/core/rec.rs:11:47 [INFO] [stdout] | [INFO] [stdout] 11 | use std::{collections::HashMap, fmt::Display, io::Read, rc::Rc, sync::Arc}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ParallelIterator` [INFO] [stdout] --> src/core.rs:8:66 [INFO] [stdout] | [INFO] [stdout] 8 | use rayon::iter::{IndexedParallelIterator, IntoParallelIterator, ParallelIterator}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ParallelIterator` [INFO] [stdout] --> src/main.rs:26:44 [INFO] [stdout] | [INFO] [stdout] 26 | use rayon::iter::{IntoParallelRefIterator, ParallelIterator}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `IndexedParallelIterator` [INFO] [stdout] --> src/core.rs:8:19 [INFO] [stdout] | [INFO] [stdout] 8 | use rayon::iter::{IndexedParallelIterator, IntoParallelIterator, ParallelIterator}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Reader` [INFO] [stdout] --> src/surface.rs:13:35 [INFO] [stdout] | [INFO] [stdout] 13 | input::{FileType, InputError, Reader}, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `io::Read` [INFO] [stdout] --> src/surface.rs:3:47 [INFO] [stdout] | [INFO] [stdout] 3 | use std::{collections::HashMap, fmt::Display, io::Read, ops::Deref, rc::Rc, sync::Arc}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `arena` [INFO] [stdout] --> src/core/library.rs:144:5 [INFO] [stdout] | [INFO] [stdout] 144 | arena: &'a Arena, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_arena` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `arena` [INFO] [stdout] --> src/core/library.rs:159:5 [INFO] [stdout] | [INFO] [stdout] 159 | arena: &'a Arena, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_arena` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `arena` [INFO] [stdout] --> src/core/library.rs:174:5 [INFO] [stdout] | [INFO] [stdout] 174 | arena: &'a Arena, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_arena` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `arena` [INFO] [stdout] --> src/core/library.rs:189:5 [INFO] [stdout] | [INFO] [stdout] 189 | arena: &'a Arena, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_arena` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `arena` [INFO] [stdout] --> src/core/library.rs:204:5 [INFO] [stdout] | [INFO] [stdout] 204 | arena: &'a Arena, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_arena` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `arena` [INFO] [stdout] --> src/core/library.rs:219:5 [INFO] [stdout] | [INFO] [stdout] 219 | arena: &'a Arena, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_arena` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `arena` [INFO] [stdout] --> src/core/library.rs:234:5 [INFO] [stdout] | [INFO] [stdout] 234 | arena: &'a Arena, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_arena` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `arena` [INFO] [stdout] --> src/core/library.rs:249:5 [INFO] [stdout] | [INFO] [stdout] 249 | arena: &'a Arena, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_arena` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `arena` [INFO] [stdout] --> src/core/library.rs:264:5 [INFO] [stdout] | [INFO] [stdout] 264 | arena: &'a Arena, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_arena` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `arena` [INFO] [stdout] --> src/core/library.rs:279:5 [INFO] [stdout] | [INFO] [stdout] 279 | arena: &'a Arena, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_arena` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `arena` [INFO] [stdout] --> src/core/library.rs:294:5 [INFO] [stdout] | [INFO] [stdout] 294 | arena: &'a Arena, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_arena` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `arena` [INFO] [stdout] --> src/core/library.rs:309:5 [INFO] [stdout] | [INFO] [stdout] 309 | arena: &'a Arena, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_arena` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `arena` [INFO] [stdout] --> src/core/library.rs:324:5 [INFO] [stdout] | [INFO] [stdout] 324 | arena: &'a Arena, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_arena` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `arena` [INFO] [stdout] --> src/core/library.rs:339:5 [INFO] [stdout] | [INFO] [stdout] 339 | arena: &'a Arena, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_arena` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `arena` [INFO] [stdout] --> src/core/library.rs:354:5 [INFO] [stdout] | [INFO] [stdout] 354 | arena: &'a Arena, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_arena` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `arena` [INFO] [stdout] --> src/core/library.rs:445:5 [INFO] [stdout] | [INFO] [stdout] 445 | arena: &'a Arena, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_arena` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/core/library.rs:497:23 [INFO] [stdout] | [INFO] [stdout] 497 | .map_err(|e| EvalError::new(location, "reads were of an unfamiliar file type!"))?; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `arena` [INFO] [stdout] --> src/core/library.rs:639:5 [INFO] [stdout] | [INFO] [stdout] 639 | arena: &'a Arena, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_arena` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `arena` [INFO] [stdout] --> src/core/library.rs:653:5 [INFO] [stdout] | [INFO] [stdout] 653 | arena: &'a Arena, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_arena` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `arena` [INFO] [stdout] --> src/core/library.rs:723:5 [INFO] [stdout] | [INFO] [stdout] 723 | arena: &'a Arena, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_arena` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/core/library.rs:799:27 [INFO] [stdout] | [INFO] [stdout] 799 | .map_err(|e| EvalError::new(location, "read did not have a sequence field"))? [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/core/library.rs:789:27 [INFO] [stdout] | [INFO] [stdout] 789 | .map_err(|e| EvalError::new(location, "read did not have a sequence field"))? [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `io::Read` [INFO] [stdout] --> src/core/library.rs:10:33 [INFO] [stdout] | [INFO] [stdout] 10 | use std::{collections::HashMap, io::Read, path::Path, sync::Arc}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `itertools::Itertools` [INFO] [stdout] --> src/core/matcher.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use itertools::Itertools; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `itertools::Itertools` [INFO] [stdout] --> src/core/rec.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use itertools::Itertools; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `io::Read` [INFO] [stdout] --> src/core/rec.rs:11:47 [INFO] [stdout] | [INFO] [stdout] 11 | use std::{collections::HashMap, fmt::Display, io::Read, rc::Rc, sync::Arc}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ParallelIterator` [INFO] [stdout] --> src/core.rs:8:66 [INFO] [stdout] | [INFO] [stdout] 8 | use rayon::iter::{IndexedParallelIterator, IntoParallelIterator, ParallelIterator}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ParallelIterator` [INFO] [stdout] --> src/main.rs:26:44 [INFO] [stdout] | [INFO] [stdout] 26 | use rayon::iter::{IntoParallelRefIterator, ParallelIterator}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `IndexedParallelIterator` [INFO] [stdout] --> src/core.rs:8:19 [INFO] [stdout] | [INFO] [stdout] 8 | use rayon::iter::{IndexedParallelIterator, IntoParallelIterator, ParallelIterator}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Reader` [INFO] [stdout] --> src/surface.rs:13:35 [INFO] [stdout] | [INFO] [stdout] 13 | input::{FileType, InputError, Reader}, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `io::Read` [INFO] [stdout] --> src/surface.rs:3:47 [INFO] [stdout] | [INFO] [stdout] 3 | use std::{collections::HashMap, fmt::Display, io::Read, ops::Deref, rc::Rc, sync::Arc}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `arena` [INFO] [stdout] --> src/core/library.rs:1147:5 [INFO] [stdout] | [INFO] [stdout] 1147 | arena: &'a Arena, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_arena` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `arena` [INFO] [stdout] --> src/core/library.rs:1170:5 [INFO] [stdout] | [INFO] [stdout] 1170 | arena: &'a Arena, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_arena` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `arena` [INFO] [stdout] --> src/core/library.rs:1193:5 [INFO] [stdout] | [INFO] [stdout] 1193 | arena: &'a Arena, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_arena` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `arena` [INFO] [stdout] --> src/core/library.rs:1223:5 [INFO] [stdout] | [INFO] [stdout] 1223 | arena: &'a Arena, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_arena` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `arena` [INFO] [stdout] --> src/core/library.rs:144:5 [INFO] [stdout] | [INFO] [stdout] 144 | arena: &'a Arena, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_arena` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `arena` [INFO] [stdout] --> src/core/library.rs:159:5 [INFO] [stdout] | [INFO] [stdout] 159 | arena: &'a Arena, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_arena` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `arena` [INFO] [stdout] --> src/core/library.rs:1375:5 [INFO] [stdout] | [INFO] [stdout] 1375 | arena: &'a Arena, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_arena` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `arena` [INFO] [stdout] --> src/core/library.rs:174:5 [INFO] [stdout] | [INFO] [stdout] 174 | arena: &'a Arena, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_arena` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `arena` [INFO] [stdout] --> src/core/library.rs:189:5 [INFO] [stdout] | [INFO] [stdout] 189 | arena: &'a Arena, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_arena` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `arena` [INFO] [stdout] --> src/core/library.rs:204:5 [INFO] [stdout] | [INFO] [stdout] 204 | arena: &'a Arena, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_arena` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `arena` [INFO] [stdout] --> src/core/library.rs:219:5 [INFO] [stdout] | [INFO] [stdout] 219 | arena: &'a Arena, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_arena` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `arena` [INFO] [stdout] --> src/core/library.rs:234:5 [INFO] [stdout] | [INFO] [stdout] 234 | arena: &'a Arena, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_arena` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `arena` [INFO] [stdout] --> src/core/library.rs:249:5 [INFO] [stdout] | [INFO] [stdout] 249 | arena: &'a Arena, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_arena` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `arena` [INFO] [stdout] --> src/core/library.rs:264:5 [INFO] [stdout] | [INFO] [stdout] 264 | arena: &'a Arena, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_arena` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `arena` [INFO] [stdout] --> src/core/library.rs:279:5 [INFO] [stdout] | [INFO] [stdout] 279 | arena: &'a Arena, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_arena` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `arena` [INFO] [stdout] --> src/core/library.rs:294:5 [INFO] [stdout] | [INFO] [stdout] 294 | arena: &'a Arena, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_arena` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `arena` [INFO] [stdout] --> src/core/library.rs:309:5 [INFO] [stdout] | [INFO] [stdout] 309 | arena: &'a Arena, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_arena` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `arena` [INFO] [stdout] --> src/core/library.rs:324:5 [INFO] [stdout] | [INFO] [stdout] 324 | arena: &'a Arena, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_arena` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `arena` [INFO] [stdout] --> src/core/library.rs:339:5 [INFO] [stdout] | [INFO] [stdout] 339 | arena: &'a Arena, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_arena` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `arena` [INFO] [stdout] --> src/core/library.rs:354:5 [INFO] [stdout] | [INFO] [stdout] 354 | arena: &'a Arena, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_arena` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `arena` [INFO] [stdout] --> src/core/library.rs:1407:5 [INFO] [stdout] | [INFO] [stdout] 1407 | arena: &'a Arena, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_arena` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `arena` [INFO] [stdout] --> src/core/library.rs:1434:5 [INFO] [stdout] | [INFO] [stdout] 1434 | arena: &'a Arena, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_arena` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `arena` [INFO] [stdout] --> src/core/library.rs:1472:5 [INFO] [stdout] | [INFO] [stdout] 1472 | arena: &'a Arena, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_arena` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `arena` [INFO] [stdout] --> src/core/library.rs:1561:5 [INFO] [stdout] | [INFO] [stdout] 1561 | arena: &'a Arena, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_arena` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `arena` [INFO] [stdout] --> src/core/library.rs:1581:5 [INFO] [stdout] | [INFO] [stdout] 1581 | arena: &'a Arena, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_arena` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rec` [INFO] [stdout] --> src/core/library.rs:1586:21 [INFO] [stdout] | [INFO] [stdout] 1586 | [Val::Rec { rec }] => { [INFO] [stdout] | ^^^ help: try ignoring the field: `rec: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `a` [INFO] [stdout] --> src/core/library.rs:1587:17 [INFO] [stdout] | [INFO] [stdout] 1587 | let a = todo!(); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `arena` [INFO] [stdout] --> src/core/library.rs:1600:5 [INFO] [stdout] | [INFO] [stdout] 1600 | arena: &'a Arena, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_arena` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `arena` [INFO] [stdout] --> src/core/library.rs:1631:5 [INFO] [stdout] | [INFO] [stdout] 1631 | arena: &'a Arena, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_arena` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `arena` [INFO] [stdout] --> src/core/library.rs:1662:5 [INFO] [stdout] | [INFO] [stdout] 1662 | arena: &'a Arena, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_arena` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `arena` [INFO] [stdout] --> src/core/library.rs:445:5 [INFO] [stdout] | [INFO] [stdout] 445 | arena: &'a Arena, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_arena` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `arena` [INFO] [stdout] --> src/core/library.rs:1695:5 [INFO] [stdout] | [INFO] [stdout] 1695 | arena: &'a Arena, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_arena` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `arena` [INFO] [stdout] --> src/core/library.rs:1727:5 [INFO] [stdout] | [INFO] [stdout] 1727 | arena: &'a Arena, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_arena` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `arena` [INFO] [stdout] --> src/core/library.rs:1744:5 [INFO] [stdout] | [INFO] [stdout] 1744 | arena: &'a Arena, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_arena` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `arena` [INFO] [stdout] --> src/core/library.rs:1761:5 [INFO] [stdout] | [INFO] [stdout] 1761 | arena: &'a Arena, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_arena` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `arena` [INFO] [stdout] --> src/core/library.rs:1778:5 [INFO] [stdout] | [INFO] [stdout] 1778 | arena: &'a Arena, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_arena` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `arena` [INFO] [stdout] --> src/core/library.rs:1795:5 [INFO] [stdout] | [INFO] [stdout] 1795 | arena: &'a Arena, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_arena` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `arena` [INFO] [stdout] --> src/core/library.rs:1812:5 [INFO] [stdout] | [INFO] [stdout] 1812 | arena: &'a Arena, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_arena` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `arena` [INFO] [stdout] --> src/core/library.rs:1829:5 [INFO] [stdout] | [INFO] [stdout] 1829 | arena: &'a Arena, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_arena` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `arena` [INFO] [stdout] --> src/core/library.rs:1846:5 [INFO] [stdout] | [INFO] [stdout] 1846 | arena: &'a Arena, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_arena` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `arena` [INFO] [stdout] --> src/core/library.rs:1863:5 [INFO] [stdout] | [INFO] [stdout] 1863 | arena: &'a Arena, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_arena` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `arena` [INFO] [stdout] --> src/core/library.rs:1880:5 [INFO] [stdout] | [INFO] [stdout] 1880 | arena: &'a Arena, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_arena` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `arena` [INFO] [stdout] --> src/core/library.rs:1897:5 [INFO] [stdout] | [INFO] [stdout] 1897 | arena: &'a Arena, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_arena` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `arena` [INFO] [stdout] --> src/core/library.rs:1914:5 [INFO] [stdout] | [INFO] [stdout] 1914 | arena: &'a Arena, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_arena` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `arena` [INFO] [stdout] --> src/core/library.rs:1931:5 [INFO] [stdout] | [INFO] [stdout] 1931 | arena: &'a Arena, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_arena` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `arena` [INFO] [stdout] --> src/core/library.rs:1946:5 [INFO] [stdout] | [INFO] [stdout] 1946 | arena: &'a Arena, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_arena` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `arena` [INFO] [stdout] --> src/core/library.rs:1961:5 [INFO] [stdout] | [INFO] [stdout] 1961 | arena: &'a Arena, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_arena` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/core/library.rs:497:23 [INFO] [stdout] | [INFO] [stdout] 497 | .map_err(|e| EvalError::new(location, "reads were of an unfamiliar file type!"))?; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `arena` [INFO] [stdout] --> src/core/library.rs:639:5 [INFO] [stdout] | [INFO] [stdout] 639 | arena: &'a Arena, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_arena` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `arena` [INFO] [stdout] --> src/core/library.rs:653:5 [INFO] [stdout] | [INFO] [stdout] 653 | arena: &'a Arena, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_arena` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `arena` [INFO] [stdout] --> src/core/library.rs:723:5 [INFO] [stdout] | [INFO] [stdout] 723 | arena: &'a Arena, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_arena` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/core/library.rs:799:27 [INFO] [stdout] | [INFO] [stdout] 799 | .map_err(|e| EvalError::new(location, "read did not have a sequence field"))? [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/core/library.rs:789:27 [INFO] [stdout] | [INFO] [stdout] 789 | .map_err(|e| EvalError::new(location, "read did not have a sequence field"))? [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `arena` [INFO] [stdout] --> src/core/library.rs:1147:5 [INFO] [stdout] | [INFO] [stdout] 1147 | arena: &'a Arena, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_arena` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `arena` [INFO] [stdout] --> src/core/library.rs:1170:5 [INFO] [stdout] | [INFO] [stdout] 1170 | arena: &'a Arena, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_arena` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `arena` [INFO] [stdout] --> src/core/library.rs:1193:5 [INFO] [stdout] | [INFO] [stdout] 1193 | arena: &'a Arena, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_arena` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `arena` [INFO] [stdout] --> src/core/library.rs:1223:5 [INFO] [stdout] | [INFO] [stdout] 1223 | arena: &'a Arena, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_arena` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `arena` [INFO] [stdout] --> src/core/library.rs:1375:5 [INFO] [stdout] | [INFO] [stdout] 1375 | arena: &'a Arena, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_arena` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `arena` [INFO] [stdout] --> src/core/library.rs:1407:5 [INFO] [stdout] | [INFO] [stdout] 1407 | arena: &'a Arena, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_arena` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `arena` [INFO] [stdout] --> src/core/library.rs:1434:5 [INFO] [stdout] | [INFO] [stdout] 1434 | arena: &'a Arena, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_arena` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `arena` [INFO] [stdout] --> src/core/library.rs:1472:5 [INFO] [stdout] | [INFO] [stdout] 1472 | arena: &'a Arena, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_arena` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `arena` [INFO] [stdout] --> src/core/matcher/read_matcher.rs:386:13 [INFO] [stdout] | [INFO] [stdout] 386 | arena: &'aa Arena, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_arena` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `arena` [INFO] [stdout] --> src/core/library.rs:1561:5 [INFO] [stdout] | [INFO] [stdout] 1561 | arena: &'a Arena, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_arena` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `arena` [INFO] [stdout] --> src/core/library.rs:1581:5 [INFO] [stdout] | [INFO] [stdout] 1581 | arena: &'a Arena, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_arena` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rec` [INFO] [stdout] --> src/core/library.rs:1586:21 [INFO] [stdout] | [INFO] [stdout] 1586 | [Val::Rec { rec }] => { [INFO] [stdout] | ^^^ help: try ignoring the field: `rec: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `a` [INFO] [stdout] --> src/core/library.rs:1587:17 [INFO] [stdout] | [INFO] [stdout] 1587 | let a = todo!(); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `arena` [INFO] [stdout] --> src/core/library.rs:1600:5 [INFO] [stdout] | [INFO] [stdout] 1600 | arena: &'a Arena, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_arena` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `arena` [INFO] [stdout] --> src/core/library.rs:1631:5 [INFO] [stdout] | [INFO] [stdout] 1631 | arena: &'a Arena, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_arena` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `arena` [INFO] [stdout] --> src/core/library.rs:1662:5 [INFO] [stdout] | [INFO] [stdout] 1662 | arena: &'a Arena, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_arena` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `arena` [INFO] [stdout] --> src/core/library.rs:1695:5 [INFO] [stdout] | [INFO] [stdout] 1695 | arena: &'a Arena, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_arena` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `arena` [INFO] [stdout] --> src/core/library.rs:1727:5 [INFO] [stdout] | [INFO] [stdout] 1727 | arena: &'a Arena, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_arena` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `arena` [INFO] [stdout] --> src/core/library.rs:1744:5 [INFO] [stdout] | [INFO] [stdout] 1744 | arena: &'a Arena, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_arena` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `arena` [INFO] [stdout] --> src/core/library.rs:1761:5 [INFO] [stdout] | [INFO] [stdout] 1761 | arena: &'a Arena, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_arena` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `arena` [INFO] [stdout] --> src/core/library.rs:1778:5 [INFO] [stdout] | [INFO] [stdout] 1778 | arena: &'a Arena, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_arena` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `arena` [INFO] [stdout] --> src/core/library.rs:1795:5 [INFO] [stdout] | [INFO] [stdout] 1795 | arena: &'a Arena, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_arena` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `arena` [INFO] [stdout] --> src/core/library.rs:1812:5 [INFO] [stdout] | [INFO] [stdout] 1812 | arena: &'a Arena, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_arena` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `arena` [INFO] [stdout] --> src/core/library.rs:1829:5 [INFO] [stdout] | [INFO] [stdout] 1829 | arena: &'a Arena, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_arena` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `arena` [INFO] [stdout] --> src/core/library.rs:1846:5 [INFO] [stdout] | [INFO] [stdout] 1846 | arena: &'a Arena, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_arena` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `arena` [INFO] [stdout] --> src/core/library.rs:1863:5 [INFO] [stdout] | [INFO] [stdout] 1863 | arena: &'a Arena, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_arena` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `arena` [INFO] [stdout] --> src/core/library.rs:1880:5 [INFO] [stdout] | [INFO] [stdout] 1880 | arena: &'a Arena, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_arena` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `arena` [INFO] [stdout] --> src/core/library.rs:1897:5 [INFO] [stdout] | [INFO] [stdout] 1897 | arena: &'a Arena, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_arena` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `arena` [INFO] [stdout] --> src/core/library.rs:1914:5 [INFO] [stdout] | [INFO] [stdout] 1914 | arena: &'a Arena, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_arena` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `arena` [INFO] [stdout] --> src/core/library.rs:1931:5 [INFO] [stdout] | [INFO] [stdout] 1931 | arena: &'a Arena, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_arena` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `arena` [INFO] [stdout] --> src/core/library.rs:1946:5 [INFO] [stdout] | [INFO] [stdout] 1946 | arena: &'a Arena, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_arena` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `arena` [INFO] [stdout] --> src/core/library.rs:1961:5 [INFO] [stdout] | [INFO] [stdout] 1961 | arena: &'a Arena, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_arena` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `vals` [INFO] [stdout] --> src/core/matcher/read_matcher.rs:601:39 [INFO] [stdout] | [INFO] [stdout] 601 | .filter(|(id, vals)| ids.contains(id)) [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_vals` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `save` [INFO] [stdout] --> src/core/matcher/read_matcher.rs:1053:17 [INFO] [stdout] | [INFO] [stdout] 1053 | save, [INFO] [stdout] | ^^^^ help: try ignoring the field: `save: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `r1` [INFO] [stdout] --> src/core/matcher.rs:39:13 [INFO] [stdout] | [INFO] [stdout] 39 | let r1 = self.m1.evaluate(arena, env, val)?; [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_r1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `r2` [INFO] [stdout] --> src/core/matcher.rs:40:13 [INFO] [stdout] | [INFO] [stdout] 40 | let r2 = self.m2.evaluate(arena, env, val)?; [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_r2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `arena` [INFO] [stdout] --> src/core/matcher.rs:88:9 [INFO] [stdout] | [INFO] [stdout] 88 | arena: &'a Arena, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_arena` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `env` [INFO] [stdout] --> src/core/matcher.rs:89:9 [INFO] [stdout] | [INFO] [stdout] 89 | env: &Env>, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_env` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `val` [INFO] [stdout] --> src/core/matcher.rs:90:9 [INFO] [stdout] | [INFO] [stdout] 90 | val: &Val<'a>, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_val` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `arena` [INFO] [stdout] --> src/core/matcher.rs:110:9 [INFO] [stdout] | [INFO] [stdout] 110 | arena: &'a Arena, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_arena` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `env` [INFO] [stdout] --> src/core/matcher.rs:111:9 [INFO] [stdout] | [INFO] [stdout] 111 | env: &Env>, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_env` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `arena` [INFO] [stdout] --> src/core/matcher.rs:140:9 [INFO] [stdout] | [INFO] [stdout] 140 | arena: &'a Arena, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_arena` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `env` [INFO] [stdout] --> src/core/matcher.rs:141:9 [INFO] [stdout] | [INFO] [stdout] 141 | env: &Env>, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_env` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s2` [INFO] [stdout] --> src/core/rec.rs:73:17 [INFO] [stdout] | [INFO] [stdout] 73 | let s2 = seq as &'a [u8]; [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_s2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `key` [INFO] [stdout] --> src/core/rec.rs:112:23 [INFO] [stdout] | [INFO] [stdout] 112 | fn get<'a>(&self, key: &[u8]) -> Result, InternalError> [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_key` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `arena` [INFO] [stdout] --> src/core/matcher/read_matcher.rs:386:13 [INFO] [stdout] | [INFO] [stdout] 386 | arena: &'aa Arena, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_arena` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `key` [INFO] [stdout] --> src/core/rec.rs:598:23 [INFO] [stdout] | [INFO] [stdout] 598 | fn get<'a>(&self, key: &[u8]) -> Result, InternalError> [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_key` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `f` [INFO] [stdout] --> src/core/rec.rs:635:19 [INFO] [stdout] | [INFO] [stdout] 635 | fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_f` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `vals` [INFO] [stdout] --> src/core/matcher/read_matcher.rs:601:39 [INFO] [stdout] | [INFO] [stdout] 601 | .filter(|(id, vals)| ids.contains(id)) [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_vals` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `save` [INFO] [stdout] --> src/core/matcher/read_matcher.rs:1053:17 [INFO] [stdout] | [INFO] [stdout] 1053 | save, [INFO] [stdout] | ^^^^ help: try ignoring the field: `save: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `r1` [INFO] [stdout] --> src/core/matcher.rs:39:13 [INFO] [stdout] | [INFO] [stdout] 39 | let r1 = self.m1.evaluate(arena, env, val)?; [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_r1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `arena` [INFO] [stdout] --> src/core.rs:402:9 [INFO] [stdout] | [INFO] [stdout] 402 | arena: &'a Arena, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_arena` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `global_env` [INFO] [stdout] --> src/core.rs:403:9 [INFO] [stdout] | [INFO] [stdout] 403 | global_env: &Env>, [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_global_env` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `r2` [INFO] [stdout] --> src/core/matcher.rs:40:13 [INFO] [stdout] | [INFO] [stdout] 40 | let r2 = self.m2.evaluate(arena, env, val)?; [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_r2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `env` [INFO] [stdout] --> src/core.rs:405:9 [INFO] [stdout] | [INFO] [stdout] 405 | env: &Env>, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_env` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `stmt` [INFO] [stdout] --> src/core.rs:416:14 [INFO] [stdout] | [INFO] [stdout] 416 | let (stmt, cache) = self.data.stmt.cache(arena, global_env, cache, env)?; [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_stmt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cache` [INFO] [stdout] --> src/core.rs:416:20 [INFO] [stdout] | [INFO] [stdout] 416 | let (stmt, cache) = self.data.stmt.cache(arena, global_env, cache, env)?; [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_cache` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `val` [INFO] [stdout] --> src/core.rs:416:29 [INFO] [stdout] | [INFO] [stdout] 416 | let (stmt, cache) = self.data.stmt.cache(arena, global_env, cache, env)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_val` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `arena` [INFO] [stdout] --> src/core/matcher.rs:88:9 [INFO] [stdout] | [INFO] [stdout] 88 | arena: &'a Arena, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_arena` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `env` [INFO] [stdout] --> src/core/matcher.rs:89:9 [INFO] [stdout] | [INFO] [stdout] 89 | env: &Env>, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_env` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `val` [INFO] [stdout] --> src/core/matcher.rs:90:9 [INFO] [stdout] | [INFO] [stdout] 90 | val: &Val<'a>, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_val` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `arena` [INFO] [stdout] --> src/core/matcher.rs:110:9 [INFO] [stdout] | [INFO] [stdout] 110 | arena: &'a Arena, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_arena` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `env` [INFO] [stdout] --> src/core/matcher.rs:111:9 [INFO] [stdout] | [INFO] [stdout] 111 | env: &Env>, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_env` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `arena` [INFO] [stdout] --> src/core/matcher.rs:140:9 [INFO] [stdout] | [INFO] [stdout] 140 | arena: &'a Arena, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_arena` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `env` [INFO] [stdout] --> src/core/matcher.rs:141:9 [INFO] [stdout] | [INFO] [stdout] 141 | env: &Env>, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_env` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s2` [INFO] [stdout] --> src/core/rec.rs:73:17 [INFO] [stdout] | [INFO] [stdout] 73 | let s2 = seq as &'a [u8]; [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_s2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `key` [INFO] [stdout] --> src/core/rec.rs:112:23 [INFO] [stdout] | [INFO] [stdout] 112 | fn get<'a>(&self, key: &[u8]) -> Result, InternalError> [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_key` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `val` [INFO] [stdout] --> src/core.rs:575:49 [INFO] [stdout] | [INFO] [stdout] 575 | || opts.iter().any(|(_, ty, val)| ty.is_neutral()) [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_val` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `key` [INFO] [stdout] --> src/core/rec.rs:598:23 [INFO] [stdout] | [INFO] [stdout] 598 | fn get<'a>(&self, key: &[u8]) -> Result, InternalError> [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_key` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `f` [INFO] [stdout] --> src/core/rec.rs:635:19 [INFO] [stdout] | [INFO] [stdout] 635 | fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_f` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `arena` [INFO] [stdout] --> src/core.rs:402:9 [INFO] [stdout] | [INFO] [stdout] 402 | arena: &'a Arena, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_arena` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `global_env` [INFO] [stdout] --> src/core.rs:403:9 [INFO] [stdout] | [INFO] [stdout] 403 | global_env: &Env>, [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_global_env` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `env` [INFO] [stdout] --> src/core.rs:405:9 [INFO] [stdout] | [INFO] [stdout] 405 | env: &Env>, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_env` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `stmt` [INFO] [stdout] --> src/core.rs:416:14 [INFO] [stdout] | [INFO] [stdout] 416 | let (stmt, cache) = self.data.stmt.cache(arena, global_env, cache, env)?; [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_stmt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cache` [INFO] [stdout] --> src/core.rs:416:20 [INFO] [stdout] | [INFO] [stdout] 416 | let (stmt, cache) = self.data.stmt.cache(arena, global_env, cache, env)?; [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_cache` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `val1` [INFO] [stdout] --> src/core.rs:1056:37 [INFO] [stdout] | [INFO] [stdout] 1056 | (Some((ty1, val1)), Some((ty2, val2))) => ty1.equiv(&ty2), [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_val1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `val2` [INFO] [stdout] --> src/core.rs:1056:56 [INFO] [stdout] | [INFO] [stdout] 1056 | (Some((ty1, val1)), Some((ty2, val2))) => ty1.equiv(&ty2), [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_val2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `val` [INFO] [stdout] --> src/core.rs:416:29 [INFO] [stdout] | [INFO] [stdout] 416 | let (stmt, cache) = self.data.stmt.cache(arena, global_env, cache, env)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_val` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data` [INFO] [stdout] --> src/core.rs:1264:40 [INFO] [stdout] | [INFO] [stdout] 1264 | Val::FunReturnTyAwaiting { data } => todo!(), [INFO] [stdout] | ^^^^ help: try ignoring the field: `data: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `neutral` [INFO] [stdout] --> src/core.rs:1278:28 [INFO] [stdout] | [INFO] [stdout] 1278 | Val::Neutral { neutral } => true, [INFO] [stdout] | ^^^^^^^ help: try ignoring the field: `neutral: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `opts` [INFO] [stdout] --> src/core.rs:1285:32 [INFO] [stdout] | [INFO] [stdout] 1285 | Val::FunTy { args, opts, body } => { [INFO] [stdout] | ^^^^ help: try ignoring the field: `opts: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `val` [INFO] [stdout] --> src/core.rs:575:49 [INFO] [stdout] | [INFO] [stdout] 575 | || opts.iter().any(|(_, ty, val)| ty.is_neutral()) [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_val` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `f` [INFO] [stdout] --> src/core.rs:1491:33 [INFO] [stdout] | [INFO] [stdout] 1491 | Val::FunForeign { body: f, .. } => PortableVal::Fun { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_f` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `body` [INFO] [stdout] --> src/core.rs:1649:37 [INFO] [stdout] | [INFO] [stdout] 1649 | TmData::FunForeignLit { body } => "#fun-foreign".fmt(f), [INFO] [stdout] | ^^^^ help: try ignoring the field: `body: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `val1` [INFO] [stdout] --> src/core.rs:1056:37 [INFO] [stdout] | [INFO] [stdout] 1056 | (Some((ty1, val1)), Some((ty2, val2))) => ty1.equiv(&ty2), [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_val1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `val2` [INFO] [stdout] --> src/core.rs:1056:56 [INFO] [stdout] | [INFO] [stdout] 1056 | (Some((ty1, val1)), Some((ty2, val2))) => ty1.equiv(&ty2), [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_val2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `body` [INFO] [stdout] --> src/core.rs:1752:31 [INFO] [stdout] | [INFO] [stdout] 1752 | Val::FunForeign { body } => format!("#fun-foreign",).fmt(f), [INFO] [stdout] | ^^^^ help: try ignoring the field: `body: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `body` [INFO] [stdout] --> src/core.rs:1826:38 [INFO] [stdout] | [INFO] [stdout] 1826 | Neutral::FunForeignLit { body } => format!("#fun-foreign",).fmt(f), [INFO] [stdout] | ^^^^ help: try ignoring the field: `body: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data` [INFO] [stdout] --> src/core.rs:1264:40 [INFO] [stdout] | [INFO] [stdout] 1264 | Val::FunReturnTyAwaiting { data } => todo!(), [INFO] [stdout] | ^^^^ help: try ignoring the field: `data: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `neutral` [INFO] [stdout] --> src/core.rs:1278:28 [INFO] [stdout] | [INFO] [stdout] 1278 | Val::Neutral { neutral } => true, [INFO] [stdout] | ^^^^^^^ help: try ignoring the field: `neutral: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `opts` [INFO] [stdout] --> src/core.rs:1285:32 [INFO] [stdout] | [INFO] [stdout] 1285 | Val::FunTy { args, opts, body } => { [INFO] [stdout] | ^^^^ help: try ignoring the field: `opts: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/input/bam.rs:29:52 [INFO] [stdout] | [INFO] [stdout] 29 | let header = reader.read_header().map_err(|e| InputError::Header)?; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `f` [INFO] [stdout] --> src/core.rs:1491:33 [INFO] [stdout] | [INFO] [stdout] 1491 | Val::FunForeign { body: f, .. } => PortableVal::Fun { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_f` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/input/bam.rs:166:54 [INFO] [stdout] | [INFO] [stdout] 166 | ... .get(id.map_err(|e| ExecError::Input(InputError::Read))?) [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/input/bam.rs:155:54 [INFO] [stdout] | [INFO] [stdout] 155 | ... .get(id.map_err(|e| ExecError::Input(InputError::Read))?) [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `arena` [INFO] [stdout] --> src/input/bam.rs:214:26 [INFO] [stdout] | [INFO] [stdout] 214 | fn get_ty<'a>(&self, arena: &'a Arena) -> Val<'a> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_arena` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/input/bam.rs:242:13 [INFO] [stdout] | [INFO] [stdout] 242 | let mut paired_reader = noodles::bam::io::Reader::new(paired_buffer); [INFO] [stdout] | ----^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/input/bam.rs:243:59 [INFO] [stdout] | [INFO] [stdout] 243 | let paired_header = reader.read_header().map_err(|e| InputError::Header)?; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/input/bam.rs:240:52 [INFO] [stdout] | [INFO] [stdout] 240 | let header = reader.read_header().map_err(|e| InputError::Header)?; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `body` [INFO] [stdout] --> src/core.rs:1649:37 [INFO] [stdout] | [INFO] [stdout] 1649 | TmData::FunForeignLit { body } => "#fun-foreign".fmt(f), [INFO] [stdout] | ^^^^ help: try ignoring the field: `body: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/input/bam.rs:517:54 [INFO] [stdout] | [INFO] [stdout] 517 | ... .get(id.map_err(|e| ExecError::Input(InputError::Read))?) [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/input/bam.rs:506:54 [INFO] [stdout] | [INFO] [stdout] 506 | ... .get(id.map_err(|e| ExecError::Input(InputError::Read))?) [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/input/bam.rs:495:54 [INFO] [stdout] | [INFO] [stdout] 495 | ... .get(id.map_err(|e| ExecError::Input(InputError::Read))?) [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/input/bam.rs:484:54 [INFO] [stdout] | [INFO] [stdout] 484 | ... .get(id.map_err(|e| ExecError::Input(InputError::Read))?) [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `arena` [INFO] [stdout] --> src/input/bam.rs:586:26 [INFO] [stdout] | [INFO] [stdout] 586 | fn get_ty<'a>(&self, arena: &'a Arena) -> Val<'a> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_arena` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `body` [INFO] [stdout] --> src/core.rs:1752:31 [INFO] [stdout] | [INFO] [stdout] 1752 | Val::FunForeign { body } => format!("#fun-foreign",).fmt(f), [INFO] [stdout] | ^^^^ help: try ignoring the field: `body: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/input/bam.rs:754:52 [INFO] [stdout] | [INFO] [stdout] 754 | let header = reader.read_header().map_err(|e| InputError::Header)?; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `body` [INFO] [stdout] --> src/core.rs:1826:38 [INFO] [stdout] | [INFO] [stdout] 1826 | Neutral::FunForeignLit { body } => format!("#fun-foreign",).fmt(f), [INFO] [stdout] | ^^^^ help: try ignoring the field: `body: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/input/bam.rs:891:54 [INFO] [stdout] | [INFO] [stdout] 891 | ... .get(id.map_err(|e| ExecError::Input(InputError::Read))?) [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/input/bam.rs:880:54 [INFO] [stdout] | [INFO] [stdout] 880 | ... .get(id.map_err(|e| ExecError::Input(InputError::Read))?) [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `arena` [INFO] [stdout] --> src/input/bam.rs:955:26 [INFO] [stdout] | [INFO] [stdout] 955 | fn get_ty<'a>(&self, arena: &'a Arena) -> Val<'a> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_arena` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/input/bam.rs:29:52 [INFO] [stdout] | [INFO] [stdout] 29 | let header = reader.read_header().map_err(|e| InputError::Header)?; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `arena` [INFO] [stdout] --> src/input/fasta.rs:101:26 [INFO] [stdout] | [INFO] [stdout] 101 | fn get_ty<'a>(&self, arena: &'a Arena) -> Val<'a> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_arena` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/input/bam.rs:166:54 [INFO] [stdout] | [INFO] [stdout] 166 | ... .get(id.map_err(|e| ExecError::Input(InputError::Read))?) [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/input/bam.rs:155:54 [INFO] [stdout] | [INFO] [stdout] 155 | ... .get(id.map_err(|e| ExecError::Input(InputError::Read))?) [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `arena` [INFO] [stdout] --> src/input/bam.rs:214:26 [INFO] [stdout] | [INFO] [stdout] 214 | fn get_ty<'a>(&self, arena: &'a Arena) -> Val<'a> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_arena` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/input/bam.rs:242:13 [INFO] [stdout] | [INFO] [stdout] 242 | let mut paired_reader = noodles::bam::io::Reader::new(paired_buffer); [INFO] [stdout] | ----^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/input/bam.rs:243:59 [INFO] [stdout] | [INFO] [stdout] 243 | let paired_header = reader.read_header().map_err(|e| InputError::Header)?; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/input/bam.rs:240:52 [INFO] [stdout] | [INFO] [stdout] 240 | let header = reader.read_header().map_err(|e| InputError::Header)?; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `arena` [INFO] [stdout] --> src/input/fasta.rs:237:26 [INFO] [stdout] | [INFO] [stdout] 237 | fn get_ty<'a>(&self, arena: &'a Arena) -> Val<'a> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_arena` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `arena` [INFO] [stdout] --> src/input/fasta.rs:340:26 [INFO] [stdout] | [INFO] [stdout] 340 | fn get_ty<'a>(&self, arena: &'a Arena) -> Val<'a> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_arena` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/input/bam.rs:517:54 [INFO] [stdout] | [INFO] [stdout] 517 | ... .get(id.map_err(|e| ExecError::Input(InputError::Read))?) [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/input/bam.rs:506:54 [INFO] [stdout] | [INFO] [stdout] 506 | ... .get(id.map_err(|e| ExecError::Input(InputError::Read))?) [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/input/bam.rs:495:54 [INFO] [stdout] | [INFO] [stdout] 495 | ... .get(id.map_err(|e| ExecError::Input(InputError::Read))?) [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/input/bam.rs:484:54 [INFO] [stdout] | [INFO] [stdout] 484 | ... .get(id.map_err(|e| ExecError::Input(InputError::Read))?) [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `arena` [INFO] [stdout] --> src/input/bam.rs:586:26 [INFO] [stdout] | [INFO] [stdout] 586 | fn get_ty<'a>(&self, arena: &'a Arena) -> Val<'a> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_arena` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `arena` [INFO] [stdout] --> src/input/fastq.rs:105:26 [INFO] [stdout] | [INFO] [stdout] 105 | fn get_ty<'a>(&self, arena: &'a Arena) -> Val<'a> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_arena` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/input/bam.rs:754:52 [INFO] [stdout] | [INFO] [stdout] 754 | let header = reader.read_header().map_err(|e| InputError::Header)?; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `arena` [INFO] [stdout] --> src/input/fastq.rs:249:26 [INFO] [stdout] | [INFO] [stdout] 249 | fn get_ty<'a>(&self, arena: &'a Arena) -> Val<'a> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_arena` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/input/bam.rs:891:54 [INFO] [stdout] | [INFO] [stdout] 891 | ... .get(id.map_err(|e| ExecError::Input(InputError::Read))?) [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/input/bam.rs:880:54 [INFO] [stdout] | [INFO] [stdout] 880 | ... .get(id.map_err(|e| ExecError::Input(InputError::Read))?) [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `arena` [INFO] [stdout] --> src/input/bam.rs:955:26 [INFO] [stdout] | [INFO] [stdout] 955 | fn get_ty<'a>(&self, arena: &'a Arena) -> Val<'a> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_arena` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `arena` [INFO] [stdout] --> src/input/fastq.rs:356:26 [INFO] [stdout] | [INFO] [stdout] 356 | fn get_ty<'a>(&self, arena: &'a Arena) -> Val<'a> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_arena` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/input/sam.rs:28:52 [INFO] [stdout] | [INFO] [stdout] 28 | let header = reader.read_header().map_err(|e| InputError::Header)?; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `arena` [INFO] [stdout] --> src/input/sam.rs:177:26 [INFO] [stdout] | [INFO] [stdout] 177 | fn get_ty<'a>(&self, arena: &'a Arena) -> Val<'a> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_arena` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `arena` [INFO] [stdout] --> src/input/fasta.rs:101:26 [INFO] [stdout] | [INFO] [stdout] 101 | fn get_ty<'a>(&self, arena: &'a Arena) -> Val<'a> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_arena` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/input/sam.rs:206:13 [INFO] [stdout] | [INFO] [stdout] 206 | let mut paired_reader = noodles::sam::io::Reader::new(paired_buffer); [INFO] [stdout] | ----^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/input/sam.rs:207:59 [INFO] [stdout] | [INFO] [stdout] 207 | let paired_header = reader.read_header().map_err(|e| InputError::Header)?; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/input/sam.rs:204:52 [INFO] [stdout] | [INFO] [stdout] 204 | let header = reader.read_header().map_err(|e| InputError::Header)?; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `arena` [INFO] [stdout] --> src/input/sam.rs:476:26 [INFO] [stdout] | [INFO] [stdout] 476 | fn get_ty<'a>(&self, arena: &'a Arena) -> Val<'a> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_arena` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/input/sam.rs:497:52 [INFO] [stdout] | [INFO] [stdout] 497 | let header = reader.read_header().map_err(|e| InputError::Header)?; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `arena` [INFO] [stdout] --> src/input/fasta.rs:237:26 [INFO] [stdout] | [INFO] [stdout] 237 | fn get_ty<'a>(&self, arena: &'a Arena) -> Val<'a> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_arena` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `arena` [INFO] [stdout] --> src/input/fasta.rs:340:26 [INFO] [stdout] | [INFO] [stdout] 340 | fn get_ty<'a>(&self, arena: &'a Arena) -> Val<'a> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_arena` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `arena` [INFO] [stdout] --> src/input/sam.rs:661:26 [INFO] [stdout] | [INFO] [stdout] 661 | fn get_ty<'a>(&self, arena: &'a Arena) -> Val<'a> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_arena` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `arena` [INFO] [stdout] --> src/input/fastq.rs:105:26 [INFO] [stdout] | [INFO] [stdout] 105 | fn get_ty<'a>(&self, arena: &'a Arena) -> Val<'a> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_arena` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `r2` [INFO] [stdout] --> src/input.rs:465:33 [INFO] [stdout] | [INFO] [stdout] 465 | Input::Paired { r1, r2 } => &r1.name, [INFO] [stdout] | ^^ help: try ignoring the field: `r2: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `filetype` [INFO] [stdout] --> src/input.rs:472:17 [INFO] [stdout] | [INFO] [stdout] 472 | if let Some(filetype) = &input_reads.stdin_format { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_filetype` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `arena` [INFO] [stdout] --> src/input/fastq.rs:249:26 [INFO] [stdout] | [INFO] [stdout] 249 | fn get_ty<'a>(&self, arena: &'a Arena) -> Val<'a> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_arena` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `arena` [INFO] [stdout] --> src/input/fastq.rs:356:26 [INFO] [stdout] | [INFO] [stdout] 356 | fn get_ty<'a>(&self, arena: &'a Arena) -> Val<'a> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_arena` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/input/sam.rs:28:52 [INFO] [stdout] | [INFO] [stdout] 28 | let header = reader.read_header().map_err(|e| InputError::Header)?; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `arena` [INFO] [stdout] --> src/input/sam.rs:177:26 [INFO] [stdout] | [INFO] [stdout] 177 | fn get_ty<'a>(&self, arena: &'a Arena) -> Val<'a> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_arena` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/input/sam.rs:206:13 [INFO] [stdout] | [INFO] [stdout] 206 | let mut paired_reader = noodles::sam::io::Reader::new(paired_buffer); [INFO] [stdout] | ----^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/input/sam.rs:207:59 [INFO] [stdout] | [INFO] [stdout] 207 | let paired_header = reader.read_header().map_err(|e| InputError::Header)?; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/input/sam.rs:204:52 [INFO] [stdout] | [INFO] [stdout] 204 | let header = reader.read_header().map_err(|e| InputError::Header)?; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `arena` [INFO] [stdout] --> src/input/sam.rs:476:26 [INFO] [stdout] | [INFO] [stdout] 476 | fn get_ty<'a>(&self, arena: &'a Arena) -> Val<'a> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_arena` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/input/sam.rs:497:52 [INFO] [stdout] | [INFO] [stdout] 497 | let header = reader.read_header().map_err(|e| InputError::Header)?; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `arena` [INFO] [stdout] --> src/input/sam.rs:661:26 [INFO] [stdout] | [INFO] [stdout] 661 | fn get_ty<'a>(&self, arena: &'a Arena) -> Val<'a> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_arena` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `r2` [INFO] [stdout] --> src/input.rs:465:33 [INFO] [stdout] | [INFO] [stdout] 465 | Input::Paired { r1, r2 } => &r1.name, [INFO] [stdout] | ^^ help: try ignoring the field: `r2: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `filetype` [INFO] [stdout] --> src/input.rs:472:17 [INFO] [stdout] | [INFO] [stdout] 472 | if let Some(filetype) = &input_reads.stdin_format { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_filetype` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `arena` [INFO] [stdout] --> src/surface.rs:342:28 [INFO] [stdout] | [INFO] [stdout] 342 | pub fn next_var(&self, arena: &'a Arena) -> core::Val<'a> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_arena` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `first` [INFO] [stdout] --> src/surface.rs:520:18 [INFO] [stdout] | [INFO] [stdout] 520 | [first, rest @ ..] => todo!(), [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_first` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rest` [INFO] [stdout] --> src/surface.rs:520:25 [INFO] [stdout] | [INFO] [stdout] 520 | [first, rest @ ..] => todo!(), [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_rest` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `arena` [INFO] [stdout] --> src/surface.rs:342:28 [INFO] [stdout] | [INFO] [stdout] 342 | pub fn next_var(&self, arena: &'a Arena) -> core::Val<'a> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_arena` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `first` [INFO] [stdout] --> src/surface.rs:520:18 [INFO] [stdout] | [INFO] [stdout] 520 | [first, rest @ ..] => todo!(), [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_first` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rest` [INFO] [stdout] --> src/surface.rs:520:25 [INFO] [stdout] | [INFO] [stdout] 520 | [first, rest @ ..] => todo!(), [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_rest` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `core_tm` [INFO] [stdout] --> src/surface.rs:1256:58 [INFO] [stdout] | [INFO] [stdout] 1256 | .fold(new_ctx.clone(), |ctx0, (name, ty, core_tm)| { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_core_tm` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `core_tm` [INFO] [stdout] --> src/surface.rs:1178:58 [INFO] [stdout] | [INFO] [stdout] 1178 | .fold(new_ctx.clone(), |ctx0, (name, ty, core_tm)| { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_core_tm` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `all_arg_tms` [INFO] [stdout] --> src/surface.rs:1151:17 [INFO] [stdout] | [INFO] [stdout] 1151 | let all_arg_tms = arg_tms.iter().chain(opt_tms).cloned().collect::>(); [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_all_arg_tms` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `args` [INFO] [stdout] --> src/surface.rs:1448:36 [INFO] [stdout] | [INFO] [stdout] 1448 | core::Val::FunTy { args, body, opts } => Ok(( [INFO] [stdout] | ^^^^ help: try ignoring the field: `args: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `opts` [INFO] [stdout] --> src/surface.rs:1448:48 [INFO] [stdout] | [INFO] [stdout] 1448 | core::Val::FunTy { args, body, opts } => Ok(( [INFO] [stdout] | ^^^^ help: try ignoring the field: `opts: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `args` [INFO] [stdout] --> src/surface.rs:1528:40 [INFO] [stdout] | [INFO] [stdout] 1528 | core::Val::FunTy { args, body, opts } => Ok(( [INFO] [stdout] | ^^^^ help: try ignoring the field: `args: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `opts` [INFO] [stdout] --> src/surface.rs:1528:52 [INFO] [stdout] | [INFO] [stdout] 1528 | core::Val::FunTy { args, body, opts } => Ok(( [INFO] [stdout] | ^^^^ help: try ignoring the field: `opts: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `args` [INFO] [stdout] --> src/surface.rs:1554:44 [INFO] [stdout] | [INFO] [stdout] 1554 | core::Val::FunTy { args, body, opts } => Ok(( [INFO] [stdout] | ^^^^ help: try ignoring the field: `args: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `opts` [INFO] [stdout] --> src/surface.rs:1554:56 [INFO] [stdout] | [INFO] [stdout] 1554 | core::Val::FunTy { args, body, opts } => Ok(( [INFO] [stdout] | ^^^^ help: try ignoring the field: `opts: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s` [INFO] [stdout] --> src/surface.rs:1730:57 [INFO] [stdout] | [INFO] [stdout] 1730 | crate::surface::StrLitRegionData::Str { s } => vec![], [INFO] [stdout] | ^ help: try ignoring the field: `s: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `b` [INFO] [stdout] --> src/surface.rs:1725:43 [INFO] [stdout] | [INFO] [stdout] 1725 | crate::surface::TmData::BoolLit { b } => vec![], [INFO] [stdout] | ^ help: try ignoring the field: `b: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `n` [INFO] [stdout] --> src/surface.rs:1726:42 [INFO] [stdout] | [INFO] [stdout] 1726 | crate::surface::TmData::NumLit { n } => vec![], [INFO] [stdout] | ^ help: try ignoring the field: `n: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/surface.rs:1746:47 [INFO] [stdout] | [INFO] [stdout] 1746 | crate::surface::TmData::RecProj { tm, name } => get_ids(tm), [INFO] [stdout] | ^^^^ help: try ignoring the field: `name: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/surface.rs:1780:13 [INFO] [stdout] | [INFO] [stdout] 1780 | name, [INFO] [stdout] | ^^^^ help: try ignoring the field: `name: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `op` [INFO] [stdout] --> src/surface.rs:1806:51 [INFO] [stdout] | [INFO] [stdout] 1806 | crate::surface::TmData::BinOp { tm0, tm1, op } => { [INFO] [stdout] | ^^ help: try ignoring the field: `op: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `op` [INFO] [stdout] --> src/surface.rs:1809:44 [INFO] [stdout] | [INFO] [stdout] 1809 | crate::surface::TmData::UnOp { tm, op } => get_ids(tm), [INFO] [stdout] | ^^ help: try ignoring the field: `op: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `prog` [INFO] [stdout] --> src/test.rs:156:9 [INFO] [stdout] | [INFO] [stdout] 156 | let prog = parse(code, &global_config).map_err(GenericError::from)?; [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_prog` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `bar` [INFO] [stdout] --> src/ui.rs:20:16 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn new(bar: ProgressBar) -> Interface { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_bar` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `state` [INFO] [stdout] --> src/ui.rs:44:30 [INFO] [stdout] | [INFO] [stdout] 44 | fn render(frame: &mut Frame, state: &RenderState) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_state` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `area_0` [INFO] [stdout] --> src/ui.rs:52:10 [INFO] [stdout] | [INFO] [stdout] 52 | let [area_0, area_1, area_2, area_3] = vertical.areas(frame.area()); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_area_0` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `area_1` [INFO] [stdout] --> src/ui.rs:52:18 [INFO] [stdout] | [INFO] [stdout] 52 | let [area_0, area_1, area_2, area_3] = vertical.areas(frame.area()); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_area_1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `area_2` [INFO] [stdout] --> src/ui.rs:52:26 [INFO] [stdout] | [INFO] [stdout] 52 | let [area_0, area_1, area_2, area_3] = vertical.areas(frame.area()); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_area_2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `area_3` [INFO] [stdout] --> src/ui.rs:52:34 [INFO] [stdout] | [INFO] [stdout] 52 | let [area_0, area_1, area_2, area_3] = vertical.areas(frame.area()); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_area_3` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `run` [INFO] [stdout] --> src/main.rs:139:28 [INFO] [stdout] | [INFO] [stdout] 139 | } else if let Some(run) = &self.run { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_run` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `core_tm` [INFO] [stdout] --> src/surface.rs:1256:58 [INFO] [stdout] | [INFO] [stdout] 1256 | .fold(new_ctx.clone(), |ctx0, (name, ty, core_tm)| { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_core_tm` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `core_tm` [INFO] [stdout] --> src/surface.rs:1178:58 [INFO] [stdout] | [INFO] [stdout] 1178 | .fold(new_ctx.clone(), |ctx0, (name, ty, core_tm)| { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_core_tm` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `all_arg_tms` [INFO] [stdout] --> src/surface.rs:1151:17 [INFO] [stdout] | [INFO] [stdout] 1151 | let all_arg_tms = arg_tms.iter().chain(opt_tms).cloned().collect::>(); [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_all_arg_tms` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `args` [INFO] [stdout] --> src/surface.rs:1448:36 [INFO] [stdout] | [INFO] [stdout] 1448 | core::Val::FunTy { args, body, opts } => Ok(( [INFO] [stdout] | ^^^^ help: try ignoring the field: `args: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `opts` [INFO] [stdout] --> src/surface.rs:1448:48 [INFO] [stdout] | [INFO] [stdout] 1448 | core::Val::FunTy { args, body, opts } => Ok(( [INFO] [stdout] | ^^^^ help: try ignoring the field: `opts: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `ReadSource` is more private than the item `input::Input::Single::source` [INFO] [stdout] --> src/input.rs:452:9 [INFO] [stdout] | [INFO] [stdout] 452 | source: ReadSource, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ field `input::Input::Single::source` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `ReadSource` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/input.rs:443:1 [INFO] [stdout] | [INFO] [stdout] 443 | struct ReadSource { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(private_interfaces)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `ReadSource` is more private than the item `input::Input::Paired::r1` [INFO] [stdout] --> src/input.rs:456:9 [INFO] [stdout] | [INFO] [stdout] 456 | r1: ReadSource, [INFO] [stdout] | ^^^^^^^^^^^^^^ field `input::Input::Paired::r1` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `ReadSource` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/input.rs:443:1 [INFO] [stdout] | [INFO] [stdout] 443 | struct ReadSource { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `ReadSource` is more private than the item `input::Input::Paired::r2` [INFO] [stdout] --> src/input.rs:457:9 [INFO] [stdout] | [INFO] [stdout] 457 | r2: ReadSource, [INFO] [stdout] | ^^^^^^^^^^^^^^ field `input::Input::Paired::r2` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `ReadSource` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/input.rs:443:1 [INFO] [stdout] | [INFO] [stdout] 443 | struct ReadSource { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `args` [INFO] [stdout] --> src/surface.rs:1528:40 [INFO] [stdout] | [INFO] [stdout] 1528 | core::Val::FunTy { args, body, opts } => Ok(( [INFO] [stdout] | ^^^^ help: try ignoring the field: `args: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `opts` [INFO] [stdout] --> src/surface.rs:1528:52 [INFO] [stdout] | [INFO] [stdout] 1528 | core::Val::FunTy { args, body, opts } => Ok(( [INFO] [stdout] | ^^^^ help: try ignoring the field: `opts: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `args` [INFO] [stdout] --> src/surface.rs:1554:44 [INFO] [stdout] | [INFO] [stdout] 1554 | core::Val::FunTy { args, body, opts } => Ok(( [INFO] [stdout] | ^^^^ help: try ignoring the field: `args: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `opts` [INFO] [stdout] --> src/surface.rs:1554:56 [INFO] [stdout] | [INFO] [stdout] 1554 | core::Val::FunTy { args, body, opts } => Ok(( [INFO] [stdout] | ^^^^ help: try ignoring the field: `opts: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `default` is never used [INFO] [stdout] --> src/main.rs:159:8 [INFO] [stdout] | [INFO] [stdout] 158 | impl GlobalConfig { [INFO] [stdout] | ----------------- associated function in this implementation [INFO] [stdout] 159 | fn default() -> GlobalConfig { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `FunSig` is never constructed [INFO] [stdout] --> src/core.rs:510:8 [INFO] [stdout] | [INFO] [stdout] 510 | struct FunSig<'a> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `FunLit` and `FunForeignLit` are never constructed [INFO] [stdout] --> src/core.rs:1313:5 [INFO] [stdout] | [INFO] [stdout] 1296 | pub enum Neutral<'a> { [INFO] [stdout] | ------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 1313 | FunLit { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1316 | FunForeignLit { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Neutral` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Any` is never constructed [INFO] [stdout] --> src/core.rs:1526:5 [INFO] [stdout] | [INFO] [stdout] 1523 | pub enum PortableVal { [INFO] [stdout] | ----------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 1526 | Any, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PortableVal` 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: function `paired_read_ty` is never used [INFO] [stdout] --> src/core/library.rs:459:8 [INFO] [stdout] | [INFO] [stdout] 459 | pub fn paired_read_ty<'a>( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `find_matches` is never used [INFO] [stdout] --> src/core/library.rs:1192:8 [INFO] [stdout] | [INFO] [stdout] 1192 | pub fn find_matches<'a>( [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `slice_read` is never used [INFO] [stdout] --> src/core/library.rs:1580:8 [INFO] [stdout] | [INFO] [stdout] 1580 | pub fn slice_read<'a>( [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Bind` is never constructed [INFO] [stdout] --> src/core/matcher.rs:106:12 [INFO] [stdout] | [INFO] [stdout] 106 | pub struct Bind {} [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `RecError` is never used [INFO] [stdout] --> src/core/rec.rs:16:10 [INFO] [stdout] | [INFO] [stdout] 16 | pub enum RecError { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SamFlags` is never constructed [INFO] [stdout] --> src/core/rec.rs:593:12 [INFO] [stdout] | [INFO] [stdout] 593 | pub struct SamFlags { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `all` is never used [INFO] [stdout] --> src/core/rec.rs:664:8 [INFO] [stdout] | [INFO] [stdout] 644 | impl CSVHeader { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 664 | fn all(&self) -> std::collections::hash_map::Keys<'_, Vec, usize> { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `output_handler_summary` is never read [INFO] [stdout] --> src/input.rs:247:5 [INFO] [stdout] | [INFO] [stdout] 245 | pub struct ProgressSummary { [INFO] [stdout] | --------------- field in this struct [INFO] [stdout] 246 | read_increment: usize, [INFO] [stdout] 247 | output_handler_summary: OutputHandlerSummary, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `UIProgress` is never constructed [INFO] [stdout] --> src/input.rs:266:12 [INFO] [stdout] | [INFO] [stdout] 266 | pub struct UIProgress { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/input.rs:271:8 [INFO] [stdout] | [INFO] [stdout] 270 | impl UIProgress { [INFO] [stdout] | --------------- associated function in this implementation [INFO] [stdout] 271 | fn new(interface: Interface) -> UIProgress { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `paired_header` is never read [INFO] [stdout] --> src/input/sam.rs:193:5 [INFO] [stdout] | [INFO] [stdout] 188 | pub struct PairedSamReader { [INFO] [stdout] | --------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 193 | paired_header: noodles::sam::Header, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `stdout_handler`, `multi_counts_handler`, `multi_average_handler`, and `file_handler` are never read [INFO] [stdout] --> src/output.rs:47:9 [INFO] [stdout] | [INFO] [stdout] 46 | pub struct OutputHandlerSummary { [INFO] [stdout] | -------------------- fields in this struct [INFO] [stdout] 47 | pub stdout_handler: StdoutHandlerSummary, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 48 | pub multi_counts_handler: MultiCountsHandlerSummary, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 49 | pub multi_average_handler: MultiAverageHandlerSummary, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 50 | pub file_handler: FileHandlerSummary, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `OutputHandlerSummary` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `TypeCounts`, `Flush`, and `UnrecognizedOutputType` are never constructed [INFO] [stdout] --> src/output.rs:66:5 [INFO] [stdout] | [INFO] [stdout] 56 | pub enum OutputError { [INFO] [stdout] | ----------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 66 | TypeCounts { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 74 | Flush, [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 81 | UnrecognizedOutputType, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `OutputError` 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 `all` is never read [INFO] [stdout] --> src/output/average.rs:78:5 [INFO] [stdout] | [INFO] [stdout] 77 | pub struct MultiAverageHandlerSummary { [INFO] [stdout] | -------------------------- field in this struct [INFO] [stdout] 78 | all: Vec<(String, AverageHandlerSummary)>, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MultiAverageHandlerSummary` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `mean` and `variance` are never read [INFO] [stdout] --> src/output/average.rs:119:9 [INFO] [stdout] | [INFO] [stdout] 118 | pub struct AverageHandlerSummary { [INFO] [stdout] | --------------------- fields in this struct [INFO] [stdout] 119 | pub mean: f32, [INFO] [stdout] | ^^^^ [INFO] [stdout] 120 | pub variance: f32, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AverageHandlerSummary` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `all` is never read [INFO] [stdout] --> src/output/counts.rs:71:5 [INFO] [stdout] | [INFO] [stdout] 70 | pub struct MultiCountsHandlerSummary { [INFO] [stdout] | ------------------------- field in this struct [INFO] [stdout] 71 | all: Vec<(String, CountsHandlerSummary)>, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MultiCountsHandlerSummary` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `top` is never read [INFO] [stdout] --> src/output/counts.rs:118:5 [INFO] [stdout] | [INFO] [stdout] 117 | pub struct CountsHandlerSummary { [INFO] [stdout] | -------------------- field in this struct [INFO] [stdout] 118 | top: Vec<(String, i32)>, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CountsHandlerSummary` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `files` is never read [INFO] [stdout] --> src/output/file.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 35 | pub struct FileHandler { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] 36 | files: HashMap, BufWriter>, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `finish` is never used [INFO] [stdout] --> src/output/file.rs:118:8 [INFO] [stdout] | [INFO] [stdout] 115 | pub trait FileWriter { [INFO] [stdout] | ---------- method in this trait [INFO] [stdout] ... [INFO] [stdout] 118 | fn finish(&mut self) -> Result<(), OutputError>; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `files` is never read [INFO] [stdout] --> src/output/file.rs:123:5 [INFO] [stdout] | [INFO] [stdout] 122 | pub struct FileHandlerSummary { [INFO] [stdout] | ------------------ field in this struct [INFO] [stdout] 123 | files: Vec>, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `FileHandlerSummary` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `StdoutHandler` is never constructed [INFO] [stdout] --> src/output/stdout.rs:54:8 [INFO] [stdout] | [INFO] [stdout] 54 | struct StdoutHandler {} [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `handle`, `finish`, and `summarize` are never used [INFO] [stdout] --> src/output/stdout.rs:56:12 [INFO] [stdout] | [INFO] [stdout] 55 | impl StdoutHandler { [INFO] [stdout] | ------------------ associated items in this implementation [INFO] [stdout] 56 | pub fn new() -> StdoutHandler { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 60 | pub fn handle(&mut self, val: &PortableVal) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 64 | pub fn finish(&mut self) {} [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 65 | [INFO] [stdout] 66 | fn summarize(&self) -> StdoutHandlerSummary { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `lines` is never read [INFO] [stdout] --> src/output/stdout.rs:74:5 [INFO] [stdout] | [INFO] [stdout] 73 | pub struct StdoutHandlerSummary { [INFO] [stdout] | -------------------- field in this struct [INFO] [stdout] 74 | lines: Vec, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `StdoutHandlerSummary` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_tm` is never used [INFO] [stdout] --> src/parse.rs:32:8 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn parse_tm(string: &str, global_config: &GlobalConfig) -> Result { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `StrLit` is never constructed [INFO] [stdout] --> src/surface.rs:151:5 [INFO] [stdout] | [INFO] [stdout] 134 | pub enum PatternData { [INFO] [stdout] | ----------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 151 | StrLit { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PatternData` 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 `unbind_def`, `bind_read`, and `bind_read_paired` are never used [INFO] [stdout] --> src/surface.rs:358:12 [INFO] [stdout] | [INFO] [stdout] 339 | impl<'a> Context<'a> { [INFO] [stdout] | -------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 358 | pub fn unbind_def(&self, name: &str) -> Context<'a> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 395 | pub fn bind_read(&self, arena: &'a Arena, filename: String) -> Context<'a> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 413 | pub fn bind_read_paired( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `eval_one_read_test` is never used [INFO] [stdout] --> src/test.rs:146:4 [INFO] [stdout] | [INFO] [stdout] 146 | fn eval_one_read_test(code: &str, read: &core::Val, arena: &Arena) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Interface` is never constructed [INFO] [stdout] --> src/ui.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct Interface { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `RenderState` is never constructed [INFO] [stdout] --> src/ui.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct RenderState { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `update`, `render`, and `finish` are never used [INFO] [stdout] --> src/ui.rs:20:12 [INFO] [stdout] | [INFO] [stdout] 19 | impl Interface { [INFO] [stdout] | -------------- associated items in this implementation [INFO] [stdout] 20 | pub fn new(bar: ProgressBar) -> Interface { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 29 | pub fn update(&mut self, output_handler_summary: &OutputHandlerSummary) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 35 | fn render(&mut self, state: &RenderState) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 39 | pub fn finish(&self) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `render` is never used [INFO] [stdout] --> src/ui.rs:44:4 [INFO] [stdout] | [INFO] [stdout] 44 | fn render(frame: &mut Frame, state: &RenderState) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_level` is never used [INFO] [stdout] --> src/util.rs:97:12 [INFO] [stdout] | [INFO] [stdout] 91 | impl Env { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 97 | pub fn get_level(&self, i: usize) -> &A { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `find_first` is never used [INFO] [stdout] --> src/util.rs:176:12 [INFO] [stdout] | [INFO] [stdout] 175 | impl Env { [INFO] [stdout] | ------------------ method in this implementation [INFO] [stdout] 176 | pub fn find_first(&self, a: &A) -> Option { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `without` is never used [INFO] [stdout] --> src/util.rs:203:12 [INFO] [stdout] | [INFO] [stdout] 195 | impl Env { [INFO] [stdout] | --------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 203 | pub fn without(&self, index: usize) -> Env { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `disjoint` is never used [INFO] [stdout] --> src/util.rs:256:12 [INFO] [stdout] | [INFO] [stdout] 254 | impl Ran { [INFO] [stdout] | ------------------- method in this implementation [INFO] [stdout] 255 | /// Checks if two Rans are disjoint. [INFO] [stdout] 256 | pub fn disjoint(&self, other: &Self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s` [INFO] [stdout] --> src/surface.rs:1730:57 [INFO] [stdout] | [INFO] [stdout] 1730 | crate::surface::StrLitRegionData::Str { s } => vec![], [INFO] [stdout] | ^ help: try ignoring the field: `s: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `b` [INFO] [stdout] --> src/surface.rs:1725:43 [INFO] [stdout] | [INFO] [stdout] 1725 | crate::surface::TmData::BoolLit { b } => vec![], [INFO] [stdout] | ^ help: try ignoring the field: `b: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `n` [INFO] [stdout] --> src/surface.rs:1726:42 [INFO] [stdout] | [INFO] [stdout] 1726 | crate::surface::TmData::NumLit { n } => vec![], [INFO] [stdout] | ^ help: try ignoring the field: `n: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:365:9 [INFO] [stdout] | [INFO] [stdout] 365 | term::emit(&mut writer, &config, &file, &diagnostic); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [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] 365 | let _ = term::emit(&mut writer, &config, &file, &diagnostic); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/surface.rs:1746:47 [INFO] [stdout] | [INFO] [stdout] 1746 | crate::surface::TmData::RecProj { tm, name } => get_ids(tm), [INFO] [stdout] | ^^^^ help: try ignoring the field: `name: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/surface.rs:1780:13 [INFO] [stdout] | [INFO] [stdout] 1780 | name, [INFO] [stdout] | ^^^^ help: try ignoring the field: `name: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `op` [INFO] [stdout] --> src/surface.rs:1806:51 [INFO] [stdout] | [INFO] [stdout] 1806 | crate::surface::TmData::BinOp { tm0, tm1, op } => { [INFO] [stdout] | ^^ help: try ignoring the field: `op: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `op` [INFO] [stdout] --> src/surface.rs:1809:44 [INFO] [stdout] | [INFO] [stdout] 1809 | crate::surface::TmData::UnOp { tm, op } => get_ids(tm), [INFO] [stdout] | ^^ help: try ignoring the field: `op: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.clone()` on a double reference, which returns `&[u8]` instead of cloning the inner type [INFO] [stdout] --> src/core.rs:1048:45 [INFO] [stdout] | [INFO] [stdout] 1048 | .map(|(name, _, _)| name.clone()) [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(suspicious_double_ref_op)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/core.rs:1068:36 [INFO] [stdout] | [INFO] [stdout] 1068 | .map(|a| a.name.clone()) [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `[u8]` does not implement `Clone`, so calling `clone` on `&[u8]` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.clone()` on a double reference, which returns `&[u8]` instead of cloning the inner type [INFO] [stdout] --> src/core.rs:1356:27 [INFO] [stdout] | [INFO] [stdout] 1356 | name: name.clone(), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/input/bam.rs:143:29 [INFO] [stdout] | [INFO] [stdout] 143 | ... write_cigar(&mut cigar, &read.cigar()); [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] 143 | let _ = write_cigar(&mut cigar, &read.cigar()); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/input/bam.rs:458:29 [INFO] [stdout] | [INFO] [stdout] 458 | ... write_cigar(&mut cigar, &read.cigar()); [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] 458 | let _ = write_cigar(&mut cigar, &read.cigar()); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/input/bam.rs:460:29 [INFO] [stdout] | [INFO] [stdout] 460 | ... write_cigar(&mut paired_cigar, &paired_read.cigar()); [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] 460 | let _ = write_cigar(&mut paired_cigar, &paired_read.cigar()); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/input/bam.rs:868:29 [INFO] [stdout] | [INFO] [stdout] 868 | ... write_cigar(&mut cigar, &read.cigar()); [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] 868 | let _ = write_cigar(&mut cigar, &read.cigar()); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/output/average.rs:45:9 [INFO] [stdout] | [INFO] [stdout] 45 | file.write_all(b"name,mean,variance\n"); [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] 45 | let _ = file.write_all(b"name,mean,variance\n"); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `prog` [INFO] [stdout] --> src/test.rs:156:9 [INFO] [stdout] | [INFO] [stdout] 156 | let prog = parse(code, &global_config).map_err(GenericError::from)?; [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_prog` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/output/average.rs:48:13 [INFO] [stdout] | [INFO] [stdout] 48 | / file.write_all( [INFO] [stdout] 49 | | format!( [INFO] [stdout] 50 | | "{},{},{}\n", [INFO] [stdout] 51 | | bytes_to_string(name).unwrap(), [INFO] [stdout] ... | [INFO] [stdout] 55 | | .as_bytes(), [INFO] [stdout] 56 | | ); [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] 48 | let _ = file.write_all( [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/output/counts.rs:102:9 [INFO] [stdout] | [INFO] [stdout] 102 | file.write_all(b"value,count\n"); [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] 102 | let _ = file.write_all(b"value,count\n"); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/output/counts.rs:105:13 [INFO] [stdout] | [INFO] [stdout] 105 | file.write_all(format!("{},{}\n", name, value).as_bytes()); [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] 105 | let _ = file.write_all(format!("{},{}\n", name, value).as_bytes()); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/output/file/txt.rs:31:17 [INFO] [stdout] | [INFO] [stdout] 31 | self.writer.write_all(s); [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] 31 | let _ = self.writer.write_all(s); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/output/file/txt.rs:32:17 [INFO] [stdout] | [INFO] [stdout] 32 | self.writer.write_all(b"\n"); [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] 32 | let _ = self.writer.write_all(b"\n"); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/output/stdout.rs:28:13 [INFO] [stdout] | [INFO] [stdout] 28 | self.stdout.write_all(self.vec.join("\n").as_bytes()); [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] 28 | let _ = self.stdout.write_all(self.vec.join("\n").as_bytes()); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/output/stdout.rs:31:13 [INFO] [stdout] | [INFO] [stdout] 31 | self.stdout.write_all(b"\n"); [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] 31 | let _ = self.stdout.write_all(b"\n"); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/output/stdout.rs:39:9 [INFO] [stdout] | [INFO] [stdout] 39 | self.stdout.write_all(self.vec.join("\n").as_bytes()); [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] 39 | let _ = self.stdout.write_all(self.vec.join("\n").as_bytes()); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/output/stdout.rs:43:9 [INFO] [stdout] | [INFO] [stdout] 43 | self.stdout.write_all(b"\n"); [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] 43 | let _ = self.stdout.write_all(b"\n"); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/ui.rs:36:9 [INFO] [stdout] | [INFO] [stdout] 36 | self.terminal.draw(|frame| render(frame, state)); [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] 36 | let _ = self.terminal.draw(|frame| render(frame, state)); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `bar` [INFO] [stdout] --> src/ui.rs:20:16 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn new(bar: ProgressBar) -> Interface { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_bar` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `state` [INFO] [stdout] --> src/ui.rs:44:30 [INFO] [stdout] | [INFO] [stdout] 44 | fn render(frame: &mut Frame, state: &RenderState) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_state` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `area_0` [INFO] [stdout] --> src/ui.rs:52:10 [INFO] [stdout] | [INFO] [stdout] 52 | let [area_0, area_1, area_2, area_3] = vertical.areas(frame.area()); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_area_0` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `area_1` [INFO] [stdout] --> src/ui.rs:52:18 [INFO] [stdout] | [INFO] [stdout] 52 | let [area_0, area_1, area_2, area_3] = vertical.areas(frame.area()); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_area_1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `area_2` [INFO] [stdout] --> src/ui.rs:52:26 [INFO] [stdout] | [INFO] [stdout] 52 | let [area_0, area_1, area_2, area_3] = vertical.areas(frame.area()); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_area_2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `area_3` [INFO] [stdout] --> src/ui.rs:52:34 [INFO] [stdout] | [INFO] [stdout] 52 | let [area_0, area_1, area_2, area_3] = vertical.areas(frame.area()); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_area_3` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `run` [INFO] [stdout] --> src/main.rs:139:28 [INFO] [stdout] | [INFO] [stdout] 139 | } else if let Some(run) = &self.run { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_run` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `ReadSource` is more private than the item `input::Input::Single::source` [INFO] [stdout] --> src/input.rs:452:9 [INFO] [stdout] | [INFO] [stdout] 452 | source: ReadSource, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ field `input::Input::Single::source` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `ReadSource` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/input.rs:443:1 [INFO] [stdout] | [INFO] [stdout] 443 | struct ReadSource { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(private_interfaces)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `ReadSource` is more private than the item `input::Input::Paired::r1` [INFO] [stdout] --> src/input.rs:456:9 [INFO] [stdout] | [INFO] [stdout] 456 | r1: ReadSource, [INFO] [stdout] | ^^^^^^^^^^^^^^ field `input::Input::Paired::r1` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `ReadSource` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/input.rs:443:1 [INFO] [stdout] | [INFO] [stdout] 443 | struct ReadSource { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `ReadSource` is more private than the item `input::Input::Paired::r2` [INFO] [stdout] --> src/input.rs:457:9 [INFO] [stdout] | [INFO] [stdout] 457 | r2: ReadSource, [INFO] [stdout] | ^^^^^^^^^^^^^^ field `input::Input::Paired::r2` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `ReadSource` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/input.rs:443:1 [INFO] [stdout] | [INFO] [stdout] 443 | struct ReadSource { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `FunSig` is never constructed [INFO] [stdout] --> src/core.rs:510:8 [INFO] [stdout] | [INFO] [stdout] 510 | struct FunSig<'a> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `FunLit` and `FunForeignLit` are never constructed [INFO] [stdout] --> src/core.rs:1313:5 [INFO] [stdout] | [INFO] [stdout] 1296 | pub enum Neutral<'a> { [INFO] [stdout] | ------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 1313 | FunLit { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1316 | FunForeignLit { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Neutral` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Any` is never constructed [INFO] [stdout] --> src/core.rs:1526:5 [INFO] [stdout] | [INFO] [stdout] 1523 | pub enum PortableVal { [INFO] [stdout] | ----------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 1526 | Any, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PortableVal` 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: function `paired_read_ty` is never used [INFO] [stdout] --> src/core/library.rs:459:8 [INFO] [stdout] | [INFO] [stdout] 459 | pub fn paired_read_ty<'a>( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `find_matches` is never used [INFO] [stdout] --> src/core/library.rs:1192:8 [INFO] [stdout] | [INFO] [stdout] 1192 | pub fn find_matches<'a>( [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `slice_read` is never used [INFO] [stdout] --> src/core/library.rs:1580:8 [INFO] [stdout] | [INFO] [stdout] 1580 | pub fn slice_read<'a>( [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Bind` is never constructed [INFO] [stdout] --> src/core/matcher.rs:106:12 [INFO] [stdout] | [INFO] [stdout] 106 | pub struct Bind {} [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `RecError` is never used [INFO] [stdout] --> src/core/rec.rs:16:10 [INFO] [stdout] | [INFO] [stdout] 16 | pub enum RecError { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SamFlags` is never constructed [INFO] [stdout] --> src/core/rec.rs:593:12 [INFO] [stdout] | [INFO] [stdout] 593 | pub struct SamFlags { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `all` is never used [INFO] [stdout] --> src/core/rec.rs:664:8 [INFO] [stdout] | [INFO] [stdout] 644 | impl CSVHeader { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 664 | fn all(&self) -> std::collections::hash_map::Keys<'_, Vec, usize> { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `output_handler_summary` is never read [INFO] [stdout] --> src/input.rs:247:5 [INFO] [stdout] | [INFO] [stdout] 245 | pub struct ProgressSummary { [INFO] [stdout] | --------------- field in this struct [INFO] [stdout] 246 | read_increment: usize, [INFO] [stdout] 247 | output_handler_summary: OutputHandlerSummary, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `UIProgress` is never constructed [INFO] [stdout] --> src/input.rs:266:12 [INFO] [stdout] | [INFO] [stdout] 266 | pub struct UIProgress { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/input.rs:271:8 [INFO] [stdout] | [INFO] [stdout] 270 | impl UIProgress { [INFO] [stdout] | --------------- associated function in this implementation [INFO] [stdout] 271 | fn new(interface: Interface) -> UIProgress { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `paired_header` is never read [INFO] [stdout] --> src/input/sam.rs:193:5 [INFO] [stdout] | [INFO] [stdout] 188 | pub struct PairedSamReader { [INFO] [stdout] | --------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 193 | paired_header: noodles::sam::Header, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `stdout_handler`, `multi_counts_handler`, `multi_average_handler`, and `file_handler` are never read [INFO] [stdout] --> src/output.rs:47:9 [INFO] [stdout] | [INFO] [stdout] 46 | pub struct OutputHandlerSummary { [INFO] [stdout] | -------------------- fields in this struct [INFO] [stdout] 47 | pub stdout_handler: StdoutHandlerSummary, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 48 | pub multi_counts_handler: MultiCountsHandlerSummary, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 49 | pub multi_average_handler: MultiAverageHandlerSummary, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 50 | pub file_handler: FileHandlerSummary, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `OutputHandlerSummary` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `TypeCounts`, `Flush`, and `UnrecognizedOutputType` are never constructed [INFO] [stdout] --> src/output.rs:66:5 [INFO] [stdout] | [INFO] [stdout] 56 | pub enum OutputError { [INFO] [stdout] | ----------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 66 | TypeCounts { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 74 | Flush, [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 81 | UnrecognizedOutputType, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `OutputError` 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 `all` is never read [INFO] [stdout] --> src/output/average.rs:78:5 [INFO] [stdout] | [INFO] [stdout] 77 | pub struct MultiAverageHandlerSummary { [INFO] [stdout] | -------------------------- field in this struct [INFO] [stdout] 78 | all: Vec<(String, AverageHandlerSummary)>, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MultiAverageHandlerSummary` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `mean` and `variance` are never read [INFO] [stdout] --> src/output/average.rs:119:9 [INFO] [stdout] | [INFO] [stdout] 118 | pub struct AverageHandlerSummary { [INFO] [stdout] | --------------------- fields in this struct [INFO] [stdout] 119 | pub mean: f32, [INFO] [stdout] | ^^^^ [INFO] [stdout] 120 | pub variance: f32, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AverageHandlerSummary` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `all` is never read [INFO] [stdout] --> src/output/counts.rs:71:5 [INFO] [stdout] | [INFO] [stdout] 70 | pub struct MultiCountsHandlerSummary { [INFO] [stdout] | ------------------------- field in this struct [INFO] [stdout] 71 | all: Vec<(String, CountsHandlerSummary)>, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MultiCountsHandlerSummary` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `top` is never read [INFO] [stdout] --> src/output/counts.rs:118:5 [INFO] [stdout] | [INFO] [stdout] 117 | pub struct CountsHandlerSummary { [INFO] [stdout] | -------------------- field in this struct [INFO] [stdout] 118 | top: Vec<(String, i32)>, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CountsHandlerSummary` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `files` is never read [INFO] [stdout] --> src/output/file.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 35 | pub struct FileHandler { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] 36 | files: HashMap, BufWriter>, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `finish` is never used [INFO] [stdout] --> src/output/file.rs:118:8 [INFO] [stdout] | [INFO] [stdout] 115 | pub trait FileWriter { [INFO] [stdout] | ---------- method in this trait [INFO] [stdout] ... [INFO] [stdout] 118 | fn finish(&mut self) -> Result<(), OutputError>; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `files` is never read [INFO] [stdout] --> src/output/file.rs:123:5 [INFO] [stdout] | [INFO] [stdout] 122 | pub struct FileHandlerSummary { [INFO] [stdout] | ------------------ field in this struct [INFO] [stdout] 123 | files: Vec>, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `FileHandlerSummary` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `StdoutHandler` is never constructed [INFO] [stdout] --> src/output/stdout.rs:54:8 [INFO] [stdout] | [INFO] [stdout] 54 | struct StdoutHandler {} [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `handle`, `finish`, and `summarize` are never used [INFO] [stdout] --> src/output/stdout.rs:56:12 [INFO] [stdout] | [INFO] [stdout] 55 | impl StdoutHandler { [INFO] [stdout] | ------------------ associated items in this implementation [INFO] [stdout] 56 | pub fn new() -> StdoutHandler { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 60 | pub fn handle(&mut self, val: &PortableVal) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 64 | pub fn finish(&mut self) {} [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 65 | [INFO] [stdout] 66 | fn summarize(&self) -> StdoutHandlerSummary { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `lines` is never read [INFO] [stdout] --> src/output/stdout.rs:74:5 [INFO] [stdout] | [INFO] [stdout] 73 | pub struct StdoutHandlerSummary { [INFO] [stdout] | -------------------- field in this struct [INFO] [stdout] 74 | lines: Vec, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `StdoutHandlerSummary` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_tm` is never used [INFO] [stdout] --> src/parse.rs:32:8 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn parse_tm(string: &str, global_config: &GlobalConfig) -> Result { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `StrLit` is never constructed [INFO] [stdout] --> src/surface.rs:151:5 [INFO] [stdout] | [INFO] [stdout] 134 | pub enum PatternData { [INFO] [stdout] | ----------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 151 | StrLit { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PatternData` 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 `unbind_def`, `bind_read`, and `bind_read_paired` are never used [INFO] [stdout] --> src/surface.rs:358:12 [INFO] [stdout] | [INFO] [stdout] 339 | impl<'a> Context<'a> { [INFO] [stdout] | -------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 358 | pub fn unbind_def(&self, name: &str) -> Context<'a> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 395 | pub fn bind_read(&self, arena: &'a Arena, filename: String) -> Context<'a> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 413 | pub fn bind_read_paired( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Interface` is never constructed [INFO] [stdout] --> src/ui.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct Interface { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `RenderState` is never constructed [INFO] [stdout] --> src/ui.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct RenderState { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `update`, `render`, and `finish` are never used [INFO] [stdout] --> src/ui.rs:20:12 [INFO] [stdout] | [INFO] [stdout] 19 | impl Interface { [INFO] [stdout] | -------------- associated items in this implementation [INFO] [stdout] 20 | pub fn new(bar: ProgressBar) -> Interface { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 29 | pub fn update(&mut self, output_handler_summary: &OutputHandlerSummary) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 35 | fn render(&mut self, state: &RenderState) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 39 | pub fn finish(&self) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `render` is never used [INFO] [stdout] --> src/ui.rs:44:4 [INFO] [stdout] | [INFO] [stdout] 44 | fn render(frame: &mut Frame, state: &RenderState) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_level` is never used [INFO] [stdout] --> src/util.rs:97:12 [INFO] [stdout] | [INFO] [stdout] 91 | impl Env { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 97 | pub fn get_level(&self, i: usize) -> &A { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `find_first` is never used [INFO] [stdout] --> src/util.rs:176:12 [INFO] [stdout] | [INFO] [stdout] 175 | impl Env { [INFO] [stdout] | ------------------ method in this implementation [INFO] [stdout] 176 | pub fn find_first(&self, a: &A) -> Option { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `without` is never used [INFO] [stdout] --> src/util.rs:203:12 [INFO] [stdout] | [INFO] [stdout] 195 | impl Env { [INFO] [stdout] | --------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 203 | pub fn without(&self, index: usize) -> Env { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `disjoint` is never used [INFO] [stdout] --> src/util.rs:256:12 [INFO] [stdout] | [INFO] [stdout] 254 | impl Ran { [INFO] [stdout] | ------------------- method in this implementation [INFO] [stdout] 255 | /// Checks if two Rans are disjoint. [INFO] [stdout] 256 | pub fn disjoint(&self, other: &Self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:365:9 [INFO] [stdout] | [INFO] [stdout] 365 | term::emit(&mut writer, &config, &file, &diagnostic); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [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] 365 | let _ = term::emit(&mut writer, &config, &file, &diagnostic); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.clone()` on a double reference, which returns `&[u8]` instead of cloning the inner type [INFO] [stdout] --> src/core.rs:1048:45 [INFO] [stdout] | [INFO] [stdout] 1048 | .map(|(name, _, _)| name.clone()) [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(suspicious_double_ref_op)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/core.rs:1068:36 [INFO] [stdout] | [INFO] [stdout] 1068 | .map(|a| a.name.clone()) [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `[u8]` does not implement `Clone`, so calling `clone` on `&[u8]` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.clone()` on a double reference, which returns `&[u8]` instead of cloning the inner type [INFO] [stdout] --> src/core.rs:1356:27 [INFO] [stdout] | [INFO] [stdout] 1356 | name: name.clone(), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/input/bam.rs:143:29 [INFO] [stdout] | [INFO] [stdout] 143 | ... write_cigar(&mut cigar, &read.cigar()); [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] 143 | let _ = write_cigar(&mut cigar, &read.cigar()); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/input/bam.rs:458:29 [INFO] [stdout] | [INFO] [stdout] 458 | ... write_cigar(&mut cigar, &read.cigar()); [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] 458 | let _ = write_cigar(&mut cigar, &read.cigar()); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/input/bam.rs:460:29 [INFO] [stdout] | [INFO] [stdout] 460 | ... write_cigar(&mut paired_cigar, &paired_read.cigar()); [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] 460 | let _ = write_cigar(&mut paired_cigar, &paired_read.cigar()); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/input/bam.rs:868:29 [INFO] [stdout] | [INFO] [stdout] 868 | ... write_cigar(&mut cigar, &read.cigar()); [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] 868 | let _ = write_cigar(&mut cigar, &read.cigar()); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/output/average.rs:45:9 [INFO] [stdout] | [INFO] [stdout] 45 | file.write_all(b"name,mean,variance\n"); [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] 45 | let _ = file.write_all(b"name,mean,variance\n"); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/output/average.rs:48:13 [INFO] [stdout] | [INFO] [stdout] 48 | / file.write_all( [INFO] [stdout] 49 | | format!( [INFO] [stdout] 50 | | "{},{},{}\n", [INFO] [stdout] 51 | | bytes_to_string(name).unwrap(), [INFO] [stdout] ... | [INFO] [stdout] 55 | | .as_bytes(), [INFO] [stdout] 56 | | ); [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] 48 | let _ = file.write_all( [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/output/counts.rs:102:9 [INFO] [stdout] | [INFO] [stdout] 102 | file.write_all(b"value,count\n"); [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] 102 | let _ = file.write_all(b"value,count\n"); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/output/counts.rs:105:13 [INFO] [stdout] | [INFO] [stdout] 105 | file.write_all(format!("{},{}\n", name, value).as_bytes()); [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] 105 | let _ = file.write_all(format!("{},{}\n", name, value).as_bytes()); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/output/file/txt.rs:31:17 [INFO] [stdout] | [INFO] [stdout] 31 | self.writer.write_all(s); [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] 31 | let _ = self.writer.write_all(s); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/output/file/txt.rs:32:17 [INFO] [stdout] | [INFO] [stdout] 32 | self.writer.write_all(b"\n"); [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] 32 | let _ = self.writer.write_all(b"\n"); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/output/stdout.rs:28:13 [INFO] [stdout] | [INFO] [stdout] 28 | self.stdout.write_all(self.vec.join("\n").as_bytes()); [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] 28 | let _ = self.stdout.write_all(self.vec.join("\n").as_bytes()); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/output/stdout.rs:31:13 [INFO] [stdout] | [INFO] [stdout] 31 | self.stdout.write_all(b"\n"); [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] 31 | let _ = self.stdout.write_all(b"\n"); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/output/stdout.rs:39:9 [INFO] [stdout] | [INFO] [stdout] 39 | self.stdout.write_all(self.vec.join("\n").as_bytes()); [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] 39 | let _ = self.stdout.write_all(self.vec.join("\n").as_bytes()); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/output/stdout.rs:43:9 [INFO] [stdout] | [INFO] [stdout] 43 | self.stdout.write_all(b"\n"); [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] 43 | let _ = self.stdout.write_all(b"\n"); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/ui.rs:36:9 [INFO] [stdout] | [INFO] [stdout] 36 | self.terminal.draw(|frame| render(frame, state)); [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] 36 | let _ = self.terminal.draw(|frame| render(frame, state)); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 07s [INFO] running `Command { std: "docker" "inspect" "d1817a67530ab337428525e22670cc48d9a6e300f5c41423e5d81f4563a48310", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d1817a67530ab337428525e22670cc48d9a6e300f5c41423e5d81f4563a48310", kill_on_drop: false }` [INFO] [stdout] d1817a67530ab337428525e22670cc48d9a6e300f5c41423e5d81f4563a48310