[INFO] cloning repository https://github.com/pansarshrek/csv-query [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/pansarshrek/csv-query" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpansarshrek%2Fcsv-query", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpansarshrek%2Fcsv-query'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 5dec4fcfcc3cb5fb9ab00f92556a4df912ac52da [INFO] building pansarshrek/csv-query against master#11663cd3bfefef7d34e8f0892c250bf698049392+rustflags=-Dtail-expr-drop-order for pr-134523 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpansarshrek%2Fcsv-query" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/pansarshrek/csv-query on toolchain 11663cd3bfefef7d34e8f0892c250bf698049392 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/pansarshrek/csv-query [INFO] finished tweaking git repo https://github.com/pansarshrek/csv-query [INFO] tweaked toml for git repo https://github.com/pansarshrek/csv-query written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/pansarshrek/csv-query 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" "+11663cd3bfefef7d34e8f0892c250bf698049392" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 93df342c48b19887b0ccc6cd54fe74cc486d01e4c7d9e4256640c915d8972e55 [INFO] running `Command { std: "docker" "start" "-a" "93df342c48b19887b0ccc6cd54fe74cc486d01e4c7d9e4256640c915d8972e55", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "93df342c48b19887b0ccc6cd54fe74cc486d01e4c7d9e4256640c915d8972e55", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "93df342c48b19887b0ccc6cd54fe74cc486d01e4c7d9e4256640c915d8972e55", kill_on_drop: false }` [INFO] [stdout] 93df342c48b19887b0ccc6cd54fe74cc486d01e4c7d9e4256640c915d8972e55 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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 -Dtail-expr-drop-order" "-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 963d3f9a51c01c27a72edb235f4998caab4c554222498b34d30cc53156b07a6f [INFO] running `Command { std: "docker" "start" "-a" "963d3f9a51c01c27a72edb235f4998caab4c554222498b34d30cc53156b07a6f", kill_on_drop: false }` [INFO] [stderr] Compiling data_types v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::collections::HashSet` [INFO] [stdout] --> src/model.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::collections::HashSet; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/model.rs:443:41 [INFO] [stdout] | [INFO] [stdout] 443 | pub fn new<'a>(model: &'a Model) -> ModelContext { [INFO] [stdout] | -- ^^^^^^^^^^^^ this elided lifetime gets resolved as `'a` [INFO] [stdout] | | [INFO] [stdout] | lifetime `'a` declared here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(elided_named_lifetimes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `t` [INFO] [stdout] --> src/model.rs:391:23 [INFO] [stdout] | [INFO] [stdout] 391 | .filter(|(t, index)| *index != None) [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_t` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `col` [INFO] [stdout] --> src/model.rs:421:30 [INFO] [stdout] | [INFO] [stdout] 421 | pub fn get_values(&self, col: &str) -> Vec<()> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_col` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `col` [INFO] [stdout] --> src/model.rs:463:32 [INFO] [stdout] | [INFO] [stdout] 463 | pub fn get_selected(&self, col: &str) -> Vec<&DataType> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_col` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `selected_values` [INFO] [stdout] --> src/model.rs:483:31 [INFO] [stdout] | [INFO] [stdout] 483 | for (selected_column, selected_values) in by_col { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_selected_values` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `col_index` [INFO] [stdout] --> src/model.rs:485:25 [INFO] [stdout] | [INFO] [stdout] 485 | for (table, col_index) in &ts { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_col_index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `col` [INFO] [stdout] --> src/model.rs:510:32 [INFO] [stdout] | [INFO] [stdout] 510 | pub fn get_excluded(&self, col: &str) -> Vec<&DataType> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_col` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `start_fetch` [INFO] [stdout] --> src/main.rs:148:9 [INFO] [stdout] | [INFO] [stdout] 148 | let start_fetch = std::time::Instant::now(); [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_start_fetch` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `message` is never read [INFO] [stdout] --> src/main.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 11 | struct ReadColumnError { [INFO] [stdout] | --------------- field in this struct [INFO] [stdout] 12 | message: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ReadColumnError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ExpressionTokenizer` is never constructed [INFO] [stdout] --> src/ast.rs:154:8 [INFO] [stdout] | [INFO] [stdout] 154 | struct ExpressionTokenizer { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `new` and `is_token_separator` are never used [INFO] [stdout] --> src/ast.rs:160:8 [INFO] [stdout] | [INFO] [stdout] 159 | impl ExpressionTokenizer { [INFO] [stdout] | ------------------------ associated functions in this implementation [INFO] [stdout] 160 | fn new(s: String) -> ExpressionTokenizer { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 163 | fn is_token_separator(c: char) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `from_string` and `from_iter` are never used [INFO] [stdout] --> src/ast.rs:210:12 [INFO] [stdout] | [INFO] [stdout] 209 | impl Expression { [INFO] [stdout] | --------------- associated functions in this implementation [INFO] [stdout] 210 | pub fn from_string<'a>(s: &str) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 225 | fn from_iter<'a>( [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple variants are never constructed [INFO] [stdout] --> src/ast.rs:370:5 [INFO] [stdout] | [INFO] [stdout] 368 | pub enum Expression { [INFO] [stdout] | ---------- variants in this enum [INFO] [stdout] 369 | // StrConst(String), [INFO] [stdout] 370 | IntConst(i64), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 371 | DecConst(i64, u8), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 372 | Variable(ColReference), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 373 | Add(Box, Box), [INFO] [stdout] | ^^^ [INFO] [stdout] 374 | // Minus(BinOp<'a>), [INFO] [stdout] 375 | Sum(Box), [INFO] [stdout] | ^^^ [INFO] [stdout] 376 | Count, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 377 | Values(ColReference), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Expression` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `count` is never used [INFO] [stdout] --> src/model.rs:201:12 [INFO] [stdout] | [INFO] [stdout] 167 | impl DataContext<'_> { [INFO] [stdout] | -------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 201 | pub fn count(&self) -> usize { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `name` is never read [INFO] [stdout] --> src/model.rs:264:9 [INFO] [stdout] | [INFO] [stdout] 263 | pub struct Table { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 264 | pub name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_columns` is never used [INFO] [stdout] --> src/model.rs:297:12 [INFO] [stdout] | [INFO] [stdout] 271 | impl Table { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 297 | pub fn get_columns(&self) -> &Columns { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Model` is never constructed [INFO] [stdout] --> src/model.rs:357:12 [INFO] [stdout] | [INFO] [stdout] 357 | pub struct Model { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/model.rs:364:12 [INFO] [stdout] | [INFO] [stdout] 362 | impl Model { [INFO] [stdout] | ---------- associated items in this implementation [INFO] [stdout] 363 | /// creates a new model [INFO] [stdout] 364 | pub fn new() -> Model { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 372 | pub fn add_table(&mut self, table: Table) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 381 | pub fn get_table(&self, table_name: &str) -> Option<&Table> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 386 | fn get_tables_and_col_indices(&self, col: &str) -> Vec<(&Table, usize)> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 398 | pub fn get_all_values(&self, col: &str) -> Vec<&DataType> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 415 | pub fn new_data_context(&self) -> ModelContext { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 421 | pub fn get_values(&self, col: &str) -> Vec<()> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ModelContext` is never constructed [INFO] [stdout] --> src/model.rs:437:12 [INFO] [stdout] | [INFO] [stdout] 437 | pub struct ModelContext<'a> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `select`, `deselect`, `get_selected`, `get_possible`, and `get_excluded` are never used [INFO] [stdout] --> src/model.rs:443:12 [INFO] [stdout] | [INFO] [stdout] 442 | impl ModelContext<'_> { [INFO] [stdout] | --------------------- associated items in this implementation [INFO] [stdout] 443 | pub fn new<'a>(model: &'a Model) -> ModelContext { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 449 | pub fn select(&mut self, select: &Selection) -> &ModelContext { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 454 | pub fn deselect(&mut self, select: &Selection) -> &ModelContext { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 463 | pub fn get_selected(&self, col: &str) -> Vec<&DataType> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 467 | pub fn get_possible(&self, col: &str) -> Vec<&DataType> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 510 | pub fn get_excluded(&self, col: &str) -> Vec<&DataType> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `BetterSelection` is never constructed [INFO] [stdout] --> src/model.rs:515:12 [INFO] [stdout] | [INFO] [stdout] 515 | pub struct BetterSelection<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/model.rs:520:12 [INFO] [stdout] | [INFO] [stdout] 519 | impl BetterSelection<'_> { [INFO] [stdout] | ------------------------ associated function in this implementation [INFO] [stdout] 520 | pub fn new<'a>(vals: Vec<(&'a str, Vec<&'a str>)>) -> BetterSelection<'a> { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Table` is never used [INFO] [stdout] --> src/join.rs:2:6 [INFO] [stdout] | [INFO] [stdout] 2 | type Table<'a> = Vec>; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `JoinError` is never constructed [INFO] [stdout] --> src/join.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct JoinError {} [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `JoinError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `join` is never used [INFO] [stdout] --> src/join.rs:8:4 [INFO] [stdout] | [INFO] [stdout] 8 | fn join<'a, T1, T2>(t1: &'a Vec, t2: &'a Vec, predicate: impl Fn(&T1, &T2) -> bool) -> Vec<(&'a T1, &'a T2)> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `join_tables` is never used [INFO] [stdout] --> src/join.rs:22:8 [INFO] [stdout] | [INFO] [stdout] 22 | pub fn join_tables<'a>(t1: &'a Table, t2: &'a Table) -> Result, JoinError> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.50s [INFO] running `Command { std: "docker" "inspect" "963d3f9a51c01c27a72edb235f4998caab4c554222498b34d30cc53156b07a6f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "963d3f9a51c01c27a72edb235f4998caab4c554222498b34d30cc53156b07a6f", kill_on_drop: false }` [INFO] [stdout] 963d3f9a51c01c27a72edb235f4998caab4c554222498b34d30cc53156b07a6f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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 -Dtail-expr-drop-order" "-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 70af9728d694323457f1d85419cb863225e5a3a63935c714398231653e29cbd6 [INFO] running `Command { std: "docker" "start" "-a" "70af9728d694323457f1d85419cb863225e5a3a63935c714398231653e29cbd6", kill_on_drop: false }` [INFO] [stderr] Compiling data_types v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::collections::HashSet` [INFO] [stdout] --> src/model.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::collections::HashSet; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/model.rs:443:41 [INFO] [stdout] | [INFO] [stdout] 443 | pub fn new<'a>(model: &'a Model) -> ModelContext { [INFO] [stdout] | -- ^^^^^^^^^^^^ this elided lifetime gets resolved as `'a` [INFO] [stdout] | | [INFO] [stdout] | lifetime `'a` declared here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(elided_named_lifetimes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `t` [INFO] [stdout] --> src/model.rs:391:23 [INFO] [stdout] | [INFO] [stdout] 391 | .filter(|(t, index)| *index != None) [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_t` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `col` [INFO] [stdout] --> src/model.rs:421:30 [INFO] [stdout] | [INFO] [stdout] 421 | pub fn get_values(&self, col: &str) -> Vec<()> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_col` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `col` [INFO] [stdout] --> src/model.rs:463:32 [INFO] [stdout] | [INFO] [stdout] 463 | pub fn get_selected(&self, col: &str) -> Vec<&DataType> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_col` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `selected_values` [INFO] [stdout] --> src/model.rs:483:31 [INFO] [stdout] | [INFO] [stdout] 483 | for (selected_column, selected_values) in by_col { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_selected_values` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `col_index` [INFO] [stdout] --> src/model.rs:485:25 [INFO] [stdout] | [INFO] [stdout] 485 | for (table, col_index) in &ts { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_col_index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `col` [INFO] [stdout] --> src/model.rs:510:32 [INFO] [stdout] | [INFO] [stdout] 510 | pub fn get_excluded(&self, col: &str) -> Vec<&DataType> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_col` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `bs` is assigned to, but never used [INFO] [stdout] --> src/model.rs:539:17 [INFO] [stdout] | [INFO] [stdout] 539 | let mut bs = BetterSelection{ selected_values: HashMap::new() }; [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_bs` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `bs` is never read [INFO] [stdout] --> src/model.rs:541:9 [INFO] [stdout] | [INFO] [stdout] 541 | bs = BetterSelection::new(vec![("name", vec!["ni", "ai"]), ("country", vec!["swe"])]); [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `start_fetch` [INFO] [stdout] --> src/main.rs:148:9 [INFO] [stdout] | [INFO] [stdout] 148 | let start_fetch = std::time::Instant::now(); [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_start_fetch` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `message` is never read [INFO] [stdout] --> src/main.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 11 | struct ReadColumnError { [INFO] [stdout] | --------------- field in this struct [INFO] [stdout] 12 | message: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ReadColumnError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `count` is never used [INFO] [stdout] --> src/model.rs:201:12 [INFO] [stdout] | [INFO] [stdout] 167 | impl DataContext<'_> { [INFO] [stdout] | -------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 201 | pub fn count(&self) -> usize { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `name` is never read [INFO] [stdout] --> src/model.rs:264:9 [INFO] [stdout] | [INFO] [stdout] 263 | pub struct Table { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 264 | pub name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_table` and `get_values` are never used [INFO] [stdout] --> src/model.rs:381:12 [INFO] [stdout] | [INFO] [stdout] 362 | impl Model { [INFO] [stdout] | ---------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 381 | pub fn get_table(&self, table_name: &str) -> Option<&Table> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 421 | pub fn get_values(&self, col: &str) -> Vec<()> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `deselect`, `get_selected`, and `get_excluded` are never used [INFO] [stdout] --> src/model.rs:454:12 [INFO] [stdout] | [INFO] [stdout] 442 | impl ModelContext<'_> { [INFO] [stdout] | --------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 454 | pub fn deselect(&mut self, select: &Selection) -> &ModelContext { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 463 | pub fn get_selected(&self, col: &str) -> Vec<&DataType> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 510 | pub fn get_excluded(&self, col: &str) -> Vec<&DataType> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.63s [INFO] running `Command { std: "docker" "inspect" "70af9728d694323457f1d85419cb863225e5a3a63935c714398231653e29cbd6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "70af9728d694323457f1d85419cb863225e5a3a63935c714398231653e29cbd6", kill_on_drop: false }` [INFO] [stdout] 70af9728d694323457f1d85419cb863225e5a3a63935c714398231653e29cbd6