[INFO] fetching crate tql_macros 0.1.0... [INFO] checking tql_macros-0.1.0 against master#ab869e094a907cc5d19b4080f22eccaf347f1f95 for pr-129604 [INFO] extracting crate tql_macros 0.1.0 into /workspace/builds/worker-5-tc1/source [INFO] validating manifest of crates.io crate tql_macros 0.1.0 on toolchain ab869e094a907cc5d19b4080f22eccaf347f1f95 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate tql_macros 0.1.0 [INFO] finished tweaking crates.io crate tql_macros 0.1.0 [INFO] tweaked toml for crates.io crate tql_macros 0.1.0 written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 14 packages to latest compatible versions [INFO] [stderr] Adding proc-macro2 v0.2.3 (latest: v1.0.86) [INFO] [stderr] Adding quote v0.4.2 (latest: v1.0.37) [INFO] [stderr] Adding rand v0.4.6 (latest: v0.8.5) [INFO] [stderr] Adding rand_core v0.3.1 (latest: v0.6.4) [INFO] [stderr] Adding rand_core v0.4.2 (latest: v0.6.4) [INFO] [stderr] Adding rdrand v0.4.0 (latest: v0.8.3) [INFO] [stderr] Adding syn v0.12.15 (latest: v2.0.77) [INFO] [stderr] Adding unicode-xid v0.1.0 (latest: v0.2.5) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b09470e06f9cc39b468cdf6a1fb30e865a8e24e4db9f57254cd5e328328bb0cd [INFO] running `Command { std: "docker" "start" "-a" "b09470e06f9cc39b468cdf6a1fb30e865a8e24e4db9f57254cd5e328328bb0cd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b09470e06f9cc39b468cdf6a1fb30e865a8e24e4db9f57254cd5e328328bb0cd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b09470e06f9cc39b468cdf6a1fb30e865a8e24e4db9f57254cd5e328328bb0cd", kill_on_drop: false }` [INFO] [stdout] b09470e06f9cc39b468cdf6a1fb30e865a8e24e4db9f57254cd5e328328bb0cd [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3fc7c518b00d3bf405322c80db406e54eb240c56313c64577b9004b31a76a4ff [INFO] running `Command { std: "docker" "start" "-a" "3fc7c518b00d3bf405322c80db406e54eb240c56313c64577b9004b31a76a4ff", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Compiling libc v0.2.158 [INFO] [stderr] Checking unicode-xid v0.1.0 [INFO] [stderr] Checking proc-macro2 v0.2.3 [INFO] [stderr] Checking quote v0.4.2 [INFO] [stderr] Checking syn v0.12.15 [INFO] [stderr] Checking rand v0.4.6 [INFO] [stderr] Checking tql_macros v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `index` [INFO] [stdout] --> src/gen/dummy.rs:36:29 [INFO] [stdout] | [INFO] [stdout] 36 | fn convert_index(&self, index: usize) -> Tokens { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_index` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `connection_expr` [INFO] [stdout] --> src/gen/dummy.rs:44:30 [INFO] [stdout] | [INFO] [stdout] 44 | fn gen_query_expr(&self, connection_expr: Tokens, args: &SqlQueryWithArgs, args_expr: Tokens, struct_expr: Tokens, [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_connection_expr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `args` [INFO] [stdout] --> src/gen/dummy.rs:44:55 [INFO] [stdout] | [INFO] [stdout] 44 | fn gen_query_expr(&self, connection_expr: Tokens, args: &SqlQueryWithArgs, args_expr: Tokens, struct_expr: Tokens, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_args` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `args_expr` [INFO] [stdout] --> src/gen/dummy.rs:44:80 [INFO] [stdout] | [INFO] [stdout] 44 | fn gen_query_expr(&self, connection_expr: Tokens, args: &SqlQueryWithArgs, args_expr: Tokens, struct_expr: Tokens, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_args_expr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `struct_expr` [INFO] [stdout] --> src/gen/dummy.rs:44:99 [INFO] [stdout] | [INFO] [stdout] 44 | fn gen_query_expr(&self, connection_expr: Tokens, args: &SqlQueryWithArgs, args_expr: Tokens, struct_expr: Tokens, [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_struct_expr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `aggregate_struct` [INFO] [stdout] --> src/gen/dummy.rs:45:23 [INFO] [stdout] | [INFO] [stdout] 45 | aggregate_struct: Tokens, aggregate_expr: Tokens) -> Tokens [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_aggregate_struct` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `aggregate_expr` [INFO] [stdout] --> src/gen/dummy.rs:45:49 [INFO] [stdout] | [INFO] [stdout] 45 | aggregate_struct: Tokens, aggregate_expr: Tokens) -> Tokens [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_aggregate_expr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `num` [INFO] [stdout] --> src/gen/dummy.rs:50:27 [INFO] [stdout] | [INFO] [stdout] 50 | fn int_literal(&self, num: usize) -> Expr { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_num` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `table_ident` [INFO] [stdout] --> src/gen/dummy.rs:54:30 [INFO] [stdout] | [INFO] [stdout] 54 | fn row_type_ident(&self, table_ident: &Ident) -> Tokens { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_table_ident` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `primary_key_ident` [INFO] [stdout] --> src/gen/dummy.rs:58:22 [INFO] [stdout] | [INFO] [stdout] 58 | fn to_sql(&self, primary_key_ident: &Ident) -> Tokens { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_primary_key_ident` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `table_ident` [INFO] [stdout] --> src/gen/dummy.rs:62:27 [INFO] [stdout] | [INFO] [stdout] 62 | fn to_sql_impl(&self, table_ident: &Ident, to_sql_code: Tokens) -> Tokens { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_table_ident` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `to_sql_code` [INFO] [stdout] --> src/gen/dummy.rs:62:48 [INFO] [stdout] | [INFO] [stdout] 62 | fn to_sql_impl(&self, table_ident: &Ident, to_sql_code: Tokens) -> Tokens { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_to_sql_code` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `index` [INFO] [stdout] --> src/gen/dummy.rs:36:29 [INFO] [stdout] | [INFO] [stdout] 36 | fn convert_index(&self, index: usize) -> Tokens { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_index` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `connection_expr` [INFO] [stdout] --> src/gen/dummy.rs:44:30 [INFO] [stdout] | [INFO] [stdout] 44 | fn gen_query_expr(&self, connection_expr: Tokens, args: &SqlQueryWithArgs, args_expr: Tokens, struct_expr: Tokens, [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_connection_expr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `args` [INFO] [stdout] --> src/gen/dummy.rs:44:55 [INFO] [stdout] | [INFO] [stdout] 44 | fn gen_query_expr(&self, connection_expr: Tokens, args: &SqlQueryWithArgs, args_expr: Tokens, struct_expr: Tokens, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_args` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `args_expr` [INFO] [stdout] --> src/gen/dummy.rs:44:80 [INFO] [stdout] | [INFO] [stdout] 44 | fn gen_query_expr(&self, connection_expr: Tokens, args: &SqlQueryWithArgs, args_expr: Tokens, struct_expr: Tokens, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_args_expr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `struct_expr` [INFO] [stdout] --> src/gen/dummy.rs:44:99 [INFO] [stdout] | [INFO] [stdout] 44 | fn gen_query_expr(&self, connection_expr: Tokens, args: &SqlQueryWithArgs, args_expr: Tokens, struct_expr: Tokens, [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_struct_expr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `aggregate_struct` [INFO] [stdout] --> src/gen/dummy.rs:45:23 [INFO] [stdout] | [INFO] [stdout] 45 | aggregate_struct: Tokens, aggregate_expr: Tokens) -> Tokens [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_aggregate_struct` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `aggregate_expr` [INFO] [stdout] --> src/gen/dummy.rs:45:49 [INFO] [stdout] | [INFO] [stdout] 45 | aggregate_struct: Tokens, aggregate_expr: Tokens) -> Tokens [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_aggregate_expr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `num` [INFO] [stdout] --> src/gen/dummy.rs:50:27 [INFO] [stdout] | [INFO] [stdout] 50 | fn int_literal(&self, num: usize) -> Expr { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_num` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `table_ident` [INFO] [stdout] --> src/gen/dummy.rs:54:30 [INFO] [stdout] | [INFO] [stdout] 54 | fn row_type_ident(&self, table_ident: &Ident) -> Tokens { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_table_ident` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `primary_key_ident` [INFO] [stdout] --> src/gen/dummy.rs:58:22 [INFO] [stdout] | [INFO] [stdout] 58 | fn to_sql(&self, primary_key_ident: &Ident) -> Tokens { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_primary_key_ident` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `table_ident` [INFO] [stdout] --> src/gen/dummy.rs:62:27 [INFO] [stdout] | [INFO] [stdout] 62 | fn to_sql_impl(&self, table_ident: &Ident, to_sql_code: Tokens) -> Tokens { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_table_ident` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `to_sql_code` [INFO] [stdout] --> src/gen/dummy.rs:62:48 [INFO] [stdout] | [INFO] [stdout] 62 | fn to_sql_impl(&self, table_ident: &Ident, to_sql_code: Tokens) -> Tokens { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_to_sql_code` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `date_type` [INFO] [stdout] --> src/methods.rs:57:9 [INFO] [stdout] | [INFO] [stdout] 57 | for date_type in &date_types { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_date_type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `time_type` [INFO] [stdout] --> src/methods.rs:76:9 [INFO] [stdout] | [INFO] [stdout] 76 | for time_type in &time_types { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_time_type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `index` [INFO] [stdout] --> src/sql/dummy.rs:36:22 [INFO] [stdout] | [INFO] [stdout] 36 | fn to_sql(&self, index: &mut usize) -> String { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `table` [INFO] [stdout] --> src/sql/dummy.rs:42:28 [INFO] [stdout] | [INFO] [stdout] 42 | fn insert_query(&self, table: &str, fields: &[String], values: &[String]) -> Tokens { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_table` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `fields` [INFO] [stdout] --> src/sql/dummy.rs:42:41 [INFO] [stdout] | [INFO] [stdout] 42 | fn insert_query(&self, table: &str, fields: &[String], values: &[String]) -> Tokens { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_fields` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `values` [INFO] [stdout] --> src/sql/dummy.rs:42:60 [INFO] [stdout] | [INFO] [stdout] 42 | fn insert_query(&self, table: &str, fields: &[String], values: &[String]) -> Tokens { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_values` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `date_type` [INFO] [stdout] --> src/methods.rs:57:9 [INFO] [stdout] | [INFO] [stdout] 57 | for date_type in &date_types { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_date_type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `time_type` [INFO] [stdout] --> src/methods.rs:76:9 [INFO] [stdout] | [INFO] [stdout] 76 | for time_type in &time_types { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_time_type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `index` [INFO] [stdout] --> src/sql/dummy.rs:36:22 [INFO] [stdout] | [INFO] [stdout] 36 | fn to_sql(&self, index: &mut usize) -> String { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `table` [INFO] [stdout] --> src/sql/dummy.rs:42:28 [INFO] [stdout] | [INFO] [stdout] 42 | fn insert_query(&self, table: &str, fields: &[String], values: &[String]) -> Tokens { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_table` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `fields` [INFO] [stdout] --> src/sql/dummy.rs:42:41 [INFO] [stdout] | [INFO] [stdout] 42 | fn insert_query(&self, table: &str, fields: &[String], values: &[String]) -> Tokens { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_fields` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `values` [INFO] [stdout] --> src/sql/dummy.rs:42:60 [INFO] [stdout] | [INFO] [stdout] 42 | fn insert_query(&self, table: &str, fields: &[String], values: &[String]) -> Tokens { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_values` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `query_type` and `sql` are never read [INFO] [stdout] --> src/lib.rs:181:5 [INFO] [stdout] | [INFO] [stdout] 169 | struct SqlQueryWithArgs { [INFO] [stdout] | ---------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 181 | query_type: QueryType, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 182 | sql: Tokens, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `field_name_prefix` is never read [INFO] [stdout] --> src/arguments.rs:47:9 [INFO] [stdout] | [INFO] [stdout] 44 | pub struct Arg { [INFO] [stdout] | --- field in this struct [INFO] [stdout] ... [INFO] [stdout] 47 | pub field_name_prefix: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Arg` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Not` is never constructed [INFO] [stdout] --> src/ast.rs:199:5 [INFO] [stdout] | [INFO] [stdout] 197 | pub enum LogicalOperator { [INFO] [stdout] | --------------- variant in this enum [INFO] [stdout] 198 | And, [INFO] [stdout] 199 | Not, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `LogicalOperator` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `code` and `position` are never read [INFO] [stdout] --> src/error.rs:38:9 [INFO] [stdout] | [INFO] [stdout] 37 | pub struct Error { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 38 | pub code: Option, [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 42 | pub position: Span, [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: field `position` is never read [INFO] [stdout] --> src/parser.rs:37:9 [INFO] [stdout] | [INFO] [stdout] 34 | pub struct MethodCall { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 37 | pub position: Span, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MethodCall` 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 `syn_type` and `ty` are never read [INFO] [stdout] --> src/state.rs:45:9 [INFO] [stdout] | [INFO] [stdout] 44 | pub struct BothTypes { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 45 | pub syn_type: syn::Type, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 46 | pub ty: WithSpan, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `BothTypes` 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 `argument_types`, `object_type`, and `return_type` are never read [INFO] [stdout] --> src/state.rs:57:9 [INFO] [stdout] | [INFO] [stdout] 56 | pub struct SqlMethodTypes { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] 57 | pub argument_types: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 58 | pub object_type: Type, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 59 | pub return_type: Type, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `query_type` and `sql` are never read [INFO] [stdout] --> src/lib.rs:181:5 [INFO] [stdout] | [INFO] [stdout] 169 | struct SqlQueryWithArgs { [INFO] [stdout] | ---------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 181 | query_type: QueryType, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 182 | sql: Tokens, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `field_name_prefix` is never read [INFO] [stdout] --> src/arguments.rs:47:9 [INFO] [stdout] | [INFO] [stdout] 44 | pub struct Arg { [INFO] [stdout] | --- field in this struct [INFO] [stdout] ... [INFO] [stdout] 47 | pub field_name_prefix: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Arg` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Not` is never constructed [INFO] [stdout] --> src/ast.rs:199:5 [INFO] [stdout] | [INFO] [stdout] 197 | pub enum LogicalOperator { [INFO] [stdout] | --------------- variant in this enum [INFO] [stdout] 198 | And, [INFO] [stdout] 199 | Not, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `LogicalOperator` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `code` and `position` are never read [INFO] [stdout] --> src/error.rs:38:9 [INFO] [stdout] | [INFO] [stdout] 37 | pub struct Error { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 38 | pub code: Option, [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 42 | pub position: Span, [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: field `position` is never read [INFO] [stdout] --> src/parser.rs:37:9 [INFO] [stdout] | [INFO] [stdout] 34 | pub struct MethodCall { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 37 | pub position: Span, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MethodCall` 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 `syn_type` and `ty` are never read [INFO] [stdout] --> src/state.rs:45:9 [INFO] [stdout] | [INFO] [stdout] 44 | pub struct BothTypes { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 45 | pub syn_type: syn::Type, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 46 | pub ty: WithSpan, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `BothTypes` 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 `argument_types`, `object_type`, and `return_type` are never read [INFO] [stdout] --> src/state.rs:57:9 [INFO] [stdout] | [INFO] [stdout] 56 | pub struct SqlMethodTypes { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] 57 | pub argument_types: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 58 | pub object_type: Type, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 59 | pub return_type: Type, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 25 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 25 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 4.95s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: syn v0.12.15 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "3fc7c518b00d3bf405322c80db406e54eb240c56313c64577b9004b31a76a4ff", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3fc7c518b00d3bf405322c80db406e54eb240c56313c64577b9004b31a76a4ff", kill_on_drop: false }` [INFO] [stdout] 3fc7c518b00d3bf405322c80db406e54eb240c56313c64577b9004b31a76a4ff