[INFO] cloning repository https://github.com/avbhandaru/csvql [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/avbhandaru/csvql" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Favbhandaru%2Fcsvql", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Favbhandaru%2Fcsvql'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 759427beb67b04c22472ace498bc590b6114ed3a [INFO] checking avbhandaru/csvql/759427beb67b04c22472ace498bc590b6114ed3a against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Favbhandaru%2Fcsvql" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/avbhandaru/csvql on toolchain 4d98531622e1718ae0bc3c7a1ab9cd8938428452 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/avbhandaru/csvql [INFO] finished tweaking git repo https://github.com/avbhandaru/csvql [INFO] tweaked toml for git repo https://github.com/avbhandaru/csvql written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/avbhandaru/csvql 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" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 79388579ca5db495e2b371ac82b2a5f3a9816e070fda97991f6532c78086c8b0 [INFO] running `Command { std: "docker" "start" "-a" "79388579ca5db495e2b371ac82b2a5f3a9816e070fda97991f6532c78086c8b0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "79388579ca5db495e2b371ac82b2a5f3a9816e070fda97991f6532c78086c8b0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "79388579ca5db495e2b371ac82b2a5f3a9816e070fda97991f6532c78086c8b0", kill_on_drop: false }` [INFO] [stdout] 79388579ca5db495e2b371ac82b2a5f3a9816e070fda97991f6532c78086c8b0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid -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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1d9fb666d08803b8d303ecacf32d20027327bd8e593fcff74478deba96ee8d62 [INFO] running `Command { std: "docker" "start" "-a" "1d9fb666d08803b8d303ecacf32d20027327bd8e593fcff74478deba96ee8d62", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.80 [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling syn v1.0.51 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling typenum v1.12.0 [INFO] [stderr] Compiling version_check v0.9.2 [INFO] [stderr] Compiling getrandom v0.1.15 [INFO] [stderr] Compiling proc-macro-hack v0.5.19 [INFO] [stderr] Checking futures-core v0.3.8 [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Checking slab v0.4.2 [INFO] [stderr] Checking futures-sink v0.3.8 [INFO] [stderr] Compiling proc-macro-nested v0.1.6 [INFO] [stderr] Checking tinyvec_macros v0.1.0 [INFO] [stderr] Checking instant v0.1.9 [INFO] [stderr] Checking tinyvec v1.1.0 [INFO] [stderr] Checking matches v0.1.8 [INFO] [stderr] Checking smallvec v1.5.0 [INFO] [stderr] Checking subtle v2.3.0 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Checking ppv-lite86 v0.2.10 [INFO] [stderr] Checking once_cell v1.5.2 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Checking unicode-bidi v0.3.4 [INFO] [stderr] Checking futures-channel v0.3.8 [INFO] [stderr] Checking futures-task v0.3.8 [INFO] [stderr] Checking futures-io v0.3.8 [INFO] [stderr] Checking cpuid-bool v0.1.2 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Checking lock_api v0.4.2 [INFO] [stderr] Checking opaque-debug v0.3.0 [INFO] [stderr] Checking bytes v0.5.6 [INFO] [stderr] Checking base64 v0.13.0 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Checking bytes v0.6.0 [INFO] [stderr] Checking md5 v0.7.0 [INFO] [stderr] Checking fallible-iterator v0.2.0 [INFO] [stderr] Compiling serde_derive v1.0.118 [INFO] [stderr] Checking siphasher v0.3.3 [INFO] [stderr] Compiling tokio v0.3.4 [INFO] [stderr] Checking unicode-width v0.1.8 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Checking pin-project-lite v0.2.0 [INFO] [stderr] Checking phf_shared v0.8.0 [INFO] [stderr] Checking pin-project-lite v0.1.11 [INFO] [stderr] Compiling serde v1.0.118 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking aho-corasick v0.7.15 [INFO] [stderr] Checking thread_local v1.0.1 [INFO] [stderr] Checking unicode-normalization v0.1.16 [INFO] [stderr] Checking strsim v0.8.0 [INFO] [stderr] Checking phf v0.8.0 [INFO] [stderr] Checking utf8parse v0.2.0 [INFO] [stderr] Checking unicode-segmentation v1.7.1 [INFO] [stderr] Checking regex-syntax v0.6.21 [INFO] [stderr] Checking vec_map v0.8.2 [INFO] [stderr] Checking ansi_term v0.11.0 [INFO] [stderr] Checking percent-encoding v2.1.0 [INFO] [stderr] Checking dotenv v0.15.0 [INFO] [stderr] Checking ansi_term v0.12.1 [INFO] [stderr] Checking parking_lot_core v0.8.0 [INFO] [stderr] Checking signal-hook-registry v1.2.2 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking mio v0.7.6 [INFO] [stderr] Checking dirs-sys-next v0.1.1 [INFO] [stderr] Checking fs2 v0.4.3 [INFO] [stderr] Checking nix v0.19.1 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking clap v2.33.3 [INFO] [stderr] Checking dirs-next v2.0.0 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking parking_lot v0.11.1 [INFO] [stderr] Checking digest v0.9.0 [INFO] [stderr] Checking crypto-mac v0.9.1 [INFO] [stderr] Checking block-buffer v0.9.0 [INFO] [stderr] Checking hmac v0.9.0 [INFO] [stderr] Checking sha2 v0.9.2 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking stringprep v0.1.2 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking regex v1.4.2 [INFO] [stderr] Checking postgres-protocol v0.5.3 [INFO] [stderr] Checking postgres-types v0.1.3 [INFO] [stderr] Checking rustyline v7.1.0 [INFO] [stderr] Compiling pin-project-internal v1.0.2 [INFO] [stderr] Compiling futures-macro v0.3.8 [INFO] [stderr] Compiling tokio-macros v0.3.1 [INFO] [stderr] Compiling async-trait v0.1.42 [INFO] [stderr] Compiling rustyline-derive v0.4.0 [INFO] [stderr] Checking pin-project v1.0.2 [INFO] [stderr] Checking futures-util v0.3.8 [INFO] [stderr] Checking futures-executor v0.3.8 [INFO] [stderr] Checking futures v0.3.8 [INFO] [stderr] Checking tokio-util v0.4.0 [INFO] [stderr] Checking tokio-postgres v0.6.0 [INFO] [stderr] Checking csvql v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Completer` [INFO] [stdout] --> src/repl.rs:11:29 [INFO] [stdout] | [INFO] [stdout] 11 | use rustyline::completion::{Completer, FilenameCompleter}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Highlighter` [INFO] [stdout] --> src/repl.rs:14:28 [INFO] [stdout] | [INFO] [stdout] 14 | use rustyline::highlight::{Highlighter, MatchingBracketHighlighter}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Hinter` [INFO] [stdout] --> src/repl.rs:15:23 [INFO] [stdout] | [INFO] [stdout] 15 | use rustyline::hint::{Hinter, HistoryHinter}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `stdin` [INFO] [stdout] --> src/repl.rs:20:15 [INFO] [stdout] | [INFO] [stdout] 20 | use std::io::{stdin, stdout, Write}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `postgres` [INFO] [stdout] --> src/main.rs:13:13 [INFO] [stdout] | [INFO] [stdout] 13 | use query::{postgres, querier}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Completer` [INFO] [stdout] --> src/repl.rs:11:29 [INFO] [stdout] | [INFO] [stdout] 11 | use rustyline::completion::{Completer, FilenameCompleter}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Highlighter` [INFO] [stdout] --> src/repl.rs:14:28 [INFO] [stdout] | [INFO] [stdout] 14 | use rustyline::highlight::{Highlighter, MatchingBracketHighlighter}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Hinter` [INFO] [stdout] --> src/repl.rs:15:23 [INFO] [stdout] | [INFO] [stdout] 15 | use rustyline::hint::{Hinter, HistoryHinter}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `stdin` [INFO] [stdout] --> src/repl.rs:20:15 [INFO] [stdout] | [INFO] [stdout] 20 | use std::io::{stdin, stdout, Write}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `postgres` [INFO] [stdout] --> src/main.rs:13:13 [INFO] [stdout] | [INFO] [stdout] 13 | use query::{postgres, querier}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/repl.rs:384:15 [INFO] [stdout] | [INFO] [stdout] 384 | Err(e) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/repl.rs:384:15 [INFO] [stdout] | [INFO] [stdout] 384 | Err(e) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/file.rs:192:3 [INFO] [stdout] | [INFO] [stdout] 191 | todo!(); [INFO] [stdout] | ------- any code following this expression is unreachable [INFO] [stdout] 192 | Ok(()) [INFO] [stdout] | ^^^^^^ unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/file.rs:192:3 [INFO] [stdout] | [INFO] [stdout] 191 | todo!(); [INFO] [stdout] | ------- any code following this expression is unreachable [INFO] [stdout] 192 | Ok(()) [INFO] [stdout] | ^^^^^^ unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `path` [INFO] [stdout] --> src/file.rs:188:20 [INFO] [stdout] | [INFO] [stdout] 188 | pub fn export_json(path: &path::Path, table: &table::Table) -> Result<(), Error> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_path` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `table` [INFO] [stdout] --> src/file.rs:188:39 [INFO] [stdout] | [INFO] [stdout] 188 | pub fn export_json(path: &path::Path, table: &table::Table) -> Result<(), Error> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_table` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `path` [INFO] [stdout] --> src/file.rs:188:20 [INFO] [stdout] | [INFO] [stdout] 188 | pub fn export_json(path: &path::Path, table: &table::Table) -> Result<(), Error> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_path` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `table` [INFO] [stdout] --> src/file.rs:188:39 [INFO] [stdout] | [INFO] [stdout] 188 | pub fn export_json(path: &path::Path, table: &table::Table) -> Result<(), Error> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_table` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `command_index` [INFO] [stdout] --> src/repl.rs:193:17 [INFO] [stdout] | [INFO] [stdout] 193 | fn into_command(command_index: usize, user_input: String) -> Command { [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_command_index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `command_index` [INFO] [stdout] --> src/repl.rs:193:17 [INFO] [stdout] | [INFO] [stdout] 193 | fn into_command(command_index: usize, user_input: String) -> Command { [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_command_index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/util/validate.rs:66:11 [INFO] [stdout] | [INFO] [stdout] 66 | Err(e) => Err(ValidatorError { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `path` and `message` are never read [INFO] [stdout] --> src/file.rs:12:7 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct Error { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 12 | pub path: path::PathBuf, [INFO] [stdout] | ^^^^ [INFO] [stdout] 13 | pub message: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Error` 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: fields `name` and `url` are never read [INFO] [stdout] --> src/query/postgres.rs:10:7 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct Querier { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 10 | pub name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 11 | pub url: String, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Querier` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `highlighter`, `hinter`, and `completer` are never read [INFO] [stdout] --> src/repl.rs:52:3 [INFO] [stdout] | [INFO] [stdout] 51 | struct InputValidator { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] 52 | highlighter: MatchingBracketHighlighter, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 53 | hinter: HistoryHinter, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 54 | completer: FilenameCompleter, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `print_error` is never used [INFO] [stdout] --> src/repl.rs:551:4 [INFO] [stdout] | [INFO] [stdout] 551 | fn print_error(err: std::io::Error) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/table.rs:19:13 [INFO] [stdout] | [INFO] [stdout] 19 | FileError(file::Error), [INFO] [stdout] | --------- ^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `SubError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 19 | FileError(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/table.rs:20:17 [INFO] [stdout] | [INFO] [stdout] 20 | PostgresError(tokio_postgres::error::Error), [INFO] [stdout] | ------------- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `SubError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 20 | PostgresError(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `BaseError` is never constructed [INFO] [stdout] --> src/table.rs:18:3 [INFO] [stdout] | [INFO] [stdout] 17 | enum SubError { [INFO] [stdout] | -------- variant in this enum [INFO] [stdout] 18 | BaseError, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SubError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `description` and `sub_error` are never read [INFO] [stdout] --> src/table.rs:25:3 [INFO] [stdout] | [INFO] [stdout] 24 | pub struct Error { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 25 | description: String, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 26 | sub_error: SubError, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/table.rs:30:6 [INFO] [stdout] | [INFO] [stdout] 29 | impl Error { [INFO] [stdout] | ---------- associated function in this implementation [INFO] [stdout] 30 | fn new(description: String, sub_error: SubError) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `evl_peek` and `evl_scoop` are never used [INFO] [stdout] --> src/util/evict.rs:12:6 [INFO] [stdout] | [INFO] [stdout] 2 | pub trait EvictingList { [INFO] [stdout] | ------------ methods in this trait [INFO] [stdout] ... [INFO] [stdout] 12 | fn evl_peek(&self) -> Option<&Self::Element>; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 15 | fn evl_scoop(&mut self) -> Option; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `file` is never used [INFO] [stdout] --> src/util/less.rs:6:8 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn file(path: &str) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `validate_bool` is never used [INFO] [stdout] --> src/util/validate.rs:23:6 [INFO] [stdout] | [INFO] [stdout] 19 | pub trait Validate { [INFO] [stdout] | -------- method in this trait [INFO] [stdout] ... [INFO] [stdout] 23 | fn validate_bool(&self) -> bool; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `extension` is never read [INFO] [stdout] --> src/util/validate.rs:32:7 [INFO] [stdout] | [INFO] [stdout] 29 | pub struct PathInfo { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 32 | pub extension: Option, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/util/validate.rs:66:11 [INFO] [stdout] | [INFO] [stdout] 66 | Err(e) => Err(ValidatorError { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/table.rs:51:18 [INFO] [stdout] | [INFO] [stdout] 48 | fn from(error: tokio_errors::Error) -> Self { [INFO] [stdout] | -------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 51 | sub_error: SubError::PostgresError(error), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `path` and `message` are never read [INFO] [stdout] --> src/file.rs:12:7 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct Error { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 12 | pub path: path::PathBuf, [INFO] [stdout] | ^^^^ [INFO] [stdout] 13 | pub message: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Error` 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: fields `name` and `url` are never read [INFO] [stdout] --> src/query/postgres.rs:10:7 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct Querier { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 10 | pub name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 11 | pub url: String, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Querier` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `highlighter`, `hinter`, and `completer` are never read [INFO] [stdout] --> src/repl.rs:52:3 [INFO] [stdout] | [INFO] [stdout] 51 | struct InputValidator { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] 52 | highlighter: MatchingBracketHighlighter, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 53 | hinter: HistoryHinter, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 54 | completer: FilenameCompleter, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `print_error` is never used [INFO] [stdout] --> src/repl.rs:551:4 [INFO] [stdout] | [INFO] [stdout] 551 | fn print_error(err: std::io::Error) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/table.rs:19:13 [INFO] [stdout] | [INFO] [stdout] 19 | FileError(file::Error), [INFO] [stdout] | --------- ^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `SubError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 19 | FileError(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/table.rs:20:17 [INFO] [stdout] | [INFO] [stdout] 20 | PostgresError(tokio_postgres::error::Error), [INFO] [stdout] | ------------- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `SubError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 20 | PostgresError(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `BaseError` is never constructed [INFO] [stdout] --> src/table.rs:18:3 [INFO] [stdout] | [INFO] [stdout] 17 | enum SubError { [INFO] [stdout] | -------- variant in this enum [INFO] [stdout] 18 | BaseError, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SubError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `description` and `sub_error` are never read [INFO] [stdout] --> src/table.rs:25:3 [INFO] [stdout] | [INFO] [stdout] 24 | pub struct Error { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 25 | description: String, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 26 | sub_error: SubError, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/table.rs:30:6 [INFO] [stdout] | [INFO] [stdout] 29 | impl Error { [INFO] [stdout] | ---------- associated function in this implementation [INFO] [stdout] 30 | fn new(description: String, sub_error: SubError) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `evl_peek` and `evl_scoop` are never used [INFO] [stdout] --> src/util/evict.rs:12:6 [INFO] [stdout] | [INFO] [stdout] 2 | pub trait EvictingList { [INFO] [stdout] | ------------ methods in this trait [INFO] [stdout] ... [INFO] [stdout] 12 | fn evl_peek(&self) -> Option<&Self::Element>; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 15 | fn evl_scoop(&mut self) -> Option; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `file` is never used [INFO] [stdout] --> src/util/less.rs:6:8 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn file(path: &str) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error; 24 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `validate_bool` is never used [INFO] [stdout] --> src/util/validate.rs:23:6 [INFO] [stdout] | [INFO] [stdout] 19 | pub trait Validate { [INFO] [stdout] | -------- method in this trait [INFO] [stdout] ... [INFO] [stdout] 23 | fn validate_bool(&self) -> bool; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `extension` is never read [INFO] [stdout] --> src/util/validate.rs:32:7 [INFO] [stdout] | [INFO] [stdout] 29 | pub struct PathInfo { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 32 | pub extension: Option, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/table.rs:51:18 [INFO] [stdout] | [INFO] [stdout] 48 | fn from(error: tokio_errors::Error) -> Self { [INFO] [stdout] | -------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 51 | sub_error: SubError::PostgresError(error), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error; 24 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `csvql` (bin "csvql") due to 2 previous errors; 24 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `csvql` (bin "csvql" test) due to 2 previous errors; 24 warnings emitted [INFO] running `Command { std: "docker" "inspect" "1d9fb666d08803b8d303ecacf32d20027327bd8e593fcff74478deba96ee8d62", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1d9fb666d08803b8d303ecacf32d20027327bd8e593fcff74478deba96ee8d62", kill_on_drop: false }` [INFO] [stdout] 1d9fb666d08803b8d303ecacf32d20027327bd8e593fcff74478deba96ee8d62