[INFO] fetching crate tql_macros 0.1.0... [INFO] building tql_macros-0.1.0 against master#11663cd3bfefef7d34e8f0892c250bf698049392+rustflags=-Dtail-expr-drop-order for pr-134523 [INFO] extracting crate tql_macros 0.1.0 into /workspace/builds/worker-4-tc1/source [INFO] validating manifest of crates.io crate tql_macros 0.1.0 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 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-4-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 13 packages to latest compatible versions [INFO] [stderr] Adding proc-macro2 v0.2.3 (available: v1.0.92) [INFO] [stderr] Adding quote v0.4.2 (available: v1.0.38) [INFO] [stderr] Adding rand v0.4.6 (available: v0.8.5) [INFO] [stderr] Adding syn v0.12.15 (available: v2.0.93) [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] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 322bdc0267d050423ae337eac80fa3ccead33d71f313e95d9e37292711920b2b [INFO] running `Command { std: "docker" "start" "-a" "322bdc0267d050423ae337eac80fa3ccead33d71f313e95d9e37292711920b2b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "322bdc0267d050423ae337eac80fa3ccead33d71f313e95d9e37292711920b2b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "322bdc0267d050423ae337eac80fa3ccead33d71f313e95d9e37292711920b2b", kill_on_drop: false }` [INFO] [stdout] 322bdc0267d050423ae337eac80fa3ccead33d71f313e95d9e37292711920b2b [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 -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] 8ae4e5c909d27218c10433004db37c908824759b7f735c076e41aa95b1470c4a [INFO] running `Command { std: "docker" "start" "-a" "8ae4e5c909d27218c10433004db37c908824759b7f735c076e41aa95b1470c4a", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling libc v0.2.169 [INFO] [stderr] Compiling proc-macro2 v0.2.3 [INFO] [stderr] Compiling quote v0.4.2 [INFO] [stderr] Compiling syn v0.12.15 [INFO] [stderr] Compiling rand v0.4.6 [INFO] [stderr] Compiling 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: `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] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 3.28s [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" "8ae4e5c909d27218c10433004db37c908824759b7f735c076e41aa95b1470c4a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8ae4e5c909d27218c10433004db37c908824759b7f735c076e41aa95b1470c4a", kill_on_drop: false }` [INFO] [stdout] 8ae4e5c909d27218c10433004db37c908824759b7f735c076e41aa95b1470c4a [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 -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] bbdce5653b99b0ad7b7551fbbc9f10bd0cdf35f70e82c43333e0d6ef05fda8d1 [INFO] running `Command { std: "docker" "start" "-a" "bbdce5653b99b0ad7b7551fbbc9f10bd0cdf35f70e82c43333e0d6ef05fda8d1", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling 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] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.81s [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" "bbdce5653b99b0ad7b7551fbbc9f10bd0cdf35f70e82c43333e0d6ef05fda8d1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bbdce5653b99b0ad7b7551fbbc9f10bd0cdf35f70e82c43333e0d6ef05fda8d1", kill_on_drop: false }` [INFO] [stdout] bbdce5653b99b0ad7b7551fbbc9f10bd0cdf35f70e82c43333e0d6ef05fda8d1