[INFO] fetching crate wp_query_rs 0.4.1... [INFO] checking wp_query_rs-0.4.1 against master#ab869e094a907cc5d19b4080f22eccaf347f1f95 for pr-129604 [INFO] extracting crate wp_query_rs 0.4.1 into /workspace/builds/worker-5-tc1/source [INFO] validating manifest of crates.io crate wp_query_rs 0.4.1 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 wp_query_rs 0.4.1 [INFO] finished tweaking crates.io crate wp_query_rs 0.4.1 [INFO] tweaked toml for crates.io crate wp_query_rs 0.4.1 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 268 packages to latest compatible versions [INFO] [stderr] Adding ahash v0.7.8 (latest: v0.8.11) [INFO] [stderr] Adding base64 v0.21.7 (latest: v0.22.1) [INFO] [stderr] Adding bigdecimal v0.3.1 (latest: v0.4.5) [INFO] [stderr] Adding bindgen v0.68.1 (latest: v0.70.1) [INFO] [stderr] Adding bytecheck v0.6.12 (latest: v0.7.0) [INFO] [stderr] Adding bytecheck_derive v0.6.12 (latest: v0.7.0) [INFO] [stderr] Adding cargo_metadata v0.14.2 (latest: v0.18.1) [INFO] [stderr] Adding constant_time_eq v0.1.5 (latest: v0.3.1) [INFO] [stderr] Adding core-foundation v0.9.4 (latest: v0.10.0) [INFO] [stderr] Adding darling v0.14.4 (latest: v0.20.10) [INFO] [stderr] Adding darling_core v0.14.4 (latest: v0.20.10) [INFO] [stderr] Adding darling_macro v0.14.4 (latest: v0.20.10) [INFO] [stderr] Adding ext-php-rs v0.10.5 (latest: v0.12.0) [INFO] [stderr] Adding foreign-types v0.3.2 (latest: v0.5.0) [INFO] [stderr] Adding foreign-types-shared v0.1.1 (latest: v0.3.1) [INFO] [stderr] Adding generic-array v0.14.7 (latest: v1.1.0) [INFO] [stderr] Adding hashbrown v0.12.3 (latest: v0.14.5) [INFO] [stderr] Adding hashbrown v0.13.2 (latest: v0.14.5) [INFO] [stderr] Adding heck v0.4.1 (latest: v0.5.0) [INFO] [stderr] Adding idna v0.5.0 (latest: v1.0.2) [INFO] [stderr] Adding linux-raw-sys v0.4.14 (latest: v0.6.5) [INFO] [stderr] Adding lru v0.10.1 (latest: v0.12.4) [INFO] [stderr] Adding mysql v24.0.0 (latest: v25.0.1) [INFO] [stderr] Adding mysql-common-derive v0.30.2 (latest: v0.31.1) [INFO] [stderr] Adding mysql_common v0.30.6 (latest: v0.32.4) [INFO] [stderr] Adding password-hash v0.4.2 (latest: v0.5.0) [INFO] [stderr] Adding pbkdf2 v0.11.0 (latest: v0.12.2) [INFO] [stderr] Adding peeking_take_while v0.1.2 (latest: v1.0.0) [INFO] [stderr] Adding pem v2.0.1 (latest: v3.0.4) [INFO] [stderr] Adding proc-macro-crate v1.3.1 (latest: v3.2.0) [INFO] [stderr] Adding ptr_meta v0.1.4 (latest: v0.2.0) [INFO] [stderr] Adding ptr_meta_derive v0.1.4 (latest: v0.2.0) [INFO] [stderr] Adding pulldown-cmark v0.9.6 (latest: v0.12.0) [INFO] [stderr] Adding radium v0.7.0 (latest: v1.1.0) [INFO] [stderr] Adding ring v0.16.20 (latest: v0.17.8) [INFO] [stderr] Adding rustc-hash v1.1.0 (latest: v2.0.0) [INFO] [stderr] Adding rustls v0.21.12 (latest: v0.23.12) [INFO] [stderr] Adding rustls-pemfile v1.0.4 (latest: v2.1.3) [INFO] [stderr] Adding rustls-webpki v0.100.3 (latest: v0.102.7) [INFO] [stderr] Adding rustls-webpki v0.101.7 (latest: v0.102.7) [INFO] [stderr] Adding spin v0.5.2 (latest: v0.9.8) [INFO] [stderr] Adding strsim v0.10.0 (latest: v0.11.1) [INFO] [stderr] Adding syn v1.0.109 (latest: v2.0.77) [INFO] [stderr] Adding toml_edit v0.19.15 (latest: v0.22.20) [INFO] [stderr] Adding untrusted v0.7.1 (latest: v0.9.0) [INFO] [stderr] Adding wasi v0.11.0+wasi-snapshot-preview1 (latest: v0.13.2+wasi-0.2.1) [INFO] [stderr] Adding webpki-roots v0.23.1 (latest: v0.26.5) [INFO] [stderr] Adding which v4.4.2 (latest: v6.0.3) [INFO] [stderr] Adding windows-core v0.52.0 (latest: v0.58.0) [INFO] [stderr] Adding windows-sys v0.52.0 (latest: v0.59.0) [INFO] [stderr] Adding winnow v0.5.40 (latest: v0.6.18) [INFO] [stderr] Adding wyz v0.5.1 (latest: v0.6.1) [INFO] [stderr] Adding zip v0.6.6 (latest: v2.2.0) [INFO] [stderr] Adding zstd v0.11.2+zstd.1.5.2 (latest: v0.13.2) [INFO] [stderr] Adding zstd-safe v5.0.2+zstd.1.5.2 (latest: v7.2.1) [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] Downloading crates ... [INFO] [stderr] Downloaded sql_paginatorr v0.1.2 [INFO] [stderr] Downloaded mysql v24.0.0 [INFO] [stderr] Downloaded ext-php-rs-derive v0.10.1 [INFO] [stderr] Downloaded ext-php-rs v0.10.5 [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] 4356f2d32605b6605fcb22779fd9f50a451c6ce605f74d9b517abf009a5315fb [INFO] running `Command { std: "docker" "start" "-a" "4356f2d32605b6605fcb22779fd9f50a451c6ce605f74d9b517abf009a5315fb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4356f2d32605b6605fcb22779fd9f50a451c6ce605f74d9b517abf009a5315fb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4356f2d32605b6605fcb22779fd9f50a451c6ce605f74d9b517abf009a5315fb", kill_on_drop: false }` [INFO] [stdout] 4356f2d32605b6605fcb22779fd9f50a451c6ce605f74d9b517abf009a5315fb [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] cf379db139b861fae2f184bd73be152a5c0aaaa4a18c945fda4c2ab35498cb6e [INFO] running `Command { std: "docker" "start" "-a" "cf379db139b861fae2f184bd73be152a5c0aaaa4a18c945fda4c2ab35498cb6e", kill_on_drop: false }` [INFO] [stderr] Checking static_assertions v1.1.0 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling clang-sys v1.8.1 [INFO] [stderr] Compiling crossbeam-utils v0.8.20 [INFO] [stderr] Compiling regex-syntax v0.8.4 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling libloading v0.8.5 [INFO] [stderr] Checking lexical-util v0.8.5 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling pkg-config v0.3.30 [INFO] [stderr] Compiling bindgen v0.70.1 [INFO] [stderr] Compiling either v1.13.0 [INFO] [stderr] Compiling frunk_core v0.4.3 [INFO] [stderr] Compiling vcpkg v0.2.15 [INFO] [stderr] Checking lexical-write-integer v0.8.5 [INFO] [stderr] Checking lexical-parse-integer v0.8.6 [INFO] [stderr] Compiling itertools v0.13.0 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling winnow v0.5.40 [INFO] [stderr] Compiling libz-sys v1.1.20 [INFO] [stderr] Compiling toml_datetime v0.6.8 [INFO] [stderr] Compiling regex-automata v0.4.7 [INFO] [stderr] Compiling rustc-hash v1.1.0 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Compiling cexpr v0.6.0 [INFO] [stderr] Checking lexical-parse-float v0.8.5 [INFO] [stderr] Checking lexical-write-float v0.8.5 [INFO] [stderr] Compiling frunk_proc_macro_helpers v0.1.3 [INFO] [stderr] Compiling subprocess v0.2.9 [INFO] [stderr] Compiling rust_decimal v1.36.0 [INFO] [stderr] Checking lexical-core v0.8.5 [INFO] [stderr] Checking deranged v0.3.11 [INFO] [stderr] Compiling frunk_derives v0.4.3 [INFO] [stderr] Compiling frunk_proc_macros v0.1.3 [INFO] [stderr] Checking num-bigint v0.4.6 [INFO] [stderr] Compiling toml_edit v0.19.15 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Compiling thiserror v1.0.63 [INFO] [stderr] Checking crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling regex v1.10.6 [INFO] [stderr] Checking crc32fast v1.4.2 [INFO] [stderr] Compiling termcolor v1.4.1 [INFO] [stderr] Checking serde_json v1.0.127 [INFO] [stderr] Checking time v0.3.36 [INFO] [stderr] Checking bigdecimal v0.3.1 [INFO] [stderr] Checking bitvec v1.0.1 [INFO] [stderr] Checking flate2 v1.0.33 [INFO] [stderr] Compiling proc-macro-crate v1.3.1 [INFO] [stderr] Checking crossbeam-deque v0.8.5 [INFO] [stderr] Checking hashbrown v0.13.2 [INFO] [stderr] Checking lexical v6.1.1 [INFO] [stderr] Checking sha1 v0.10.6 [INFO] [stderr] Checking sha2 v0.10.8 [INFO] [stderr] Checking crossbeam-queue v0.3.11 [INFO] [stderr] Checking crossbeam-channel v0.5.13 [INFO] [stderr] Compiling derive_utils v0.14.2 [INFO] [stderr] Checking uuid v1.10.0 [INFO] [stderr] Compiling mysql v24.0.0 [INFO] [stderr] Checking frunk v0.4.3 [INFO] [stderr] Checking saturating v0.1.0 [INFO] [stderr] Checking smallvec v1.13.2 [INFO] [stderr] Checking crossbeam v0.8.4 [INFO] [stderr] Compiling io-enum v1.1.3 [INFO] [stderr] Checking lru v0.10.1 [INFO] [stderr] Checking twox-hash v1.6.3 [INFO] [stderr] Checking socket2 v0.5.7 [INFO] [stderr] Checking bufstream v0.1.4 [INFO] [stderr] Checking chrono v0.4.38 [INFO] [stderr] Checking sql_paginatorr v0.1.2 [INFO] [stderr] Compiling mysql-common-derive v0.30.2 [INFO] [stderr] Compiling mysql_common v0.30.6 [INFO] [stderr] Checking wp_query_rs v0.4.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `tax_name` [INFO] [stdout] --> src/params/param_builder.rs:561:13 [INFO] [stdout] | [INFO] [stdout] 561 | let tax_name = String::from("custom_tax"); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_tax_name` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tax_name_two` [INFO] [stdout] --> src/params/param_builder.rs:562:13 [INFO] [stdout] | [INFO] [stdout] 562 | let tax_name_two = String::from("category"); [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_tax_name_two` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tax_name_three` [INFO] [stdout] --> src/params/param_builder.rs:563:13 [INFO] [stdout] | [INFO] [stdout] 563 | let tax_name_three = String::from("cust_2"); [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_tax_name_three` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/params/param_builder.rs:620:13 [INFO] [stdout] | [INFO] [stdout] 620 | let id = 1; [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CommentCount` is never constructed [INFO] [stdout] --> src/params.rs:148:12 [INFO] [stdout] | [INFO] [stdout] 148 | pub struct CommentCount { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CommentCount` 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: methods `page_id`, `pagename`, `comment_count`, `ignore_sticky_posts`, `m`, and `post_mime_type` are never used [INFO] [stdout] --> src/params/param_builder.rs:165:8 [INFO] [stdout] | [INFO] [stdout] 51 | impl<'a> ParamBuilder<'a> { [INFO] [stdout] | ------------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 165 | fn page_id(self) -> Self { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 169 | fn pagename(self) -> Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 173 | fn comment_count(mut self, count: u64) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 192 | fn ignore_sticky_posts(self) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 287 | fn m(mut self, m: u64) -> Self { [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 309 | fn post_mime_type(self) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Equals`, `NotEquals`, `GreaterThan`, `LessThan`, `GreaterThanOrEqualTo`, and `LessThanOrEqualTo` are never constructed [INFO] [stdout] --> src/sql.rs:57:5 [INFO] [stdout] | [INFO] [stdout] 56 | pub enum SqlCompareOperator { [INFO] [stdout] | ------------------ variants in this enum [INFO] [stdout] 57 | Equals, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 58 | NotEquals, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 59 | GreaterThan, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 60 | LessThan, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 61 | GreaterThanOrEqualTo, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 62 | LessThanOrEqualTo, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SqlCompareOperator` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple variants are never constructed [INFO] [stdout] --> src/sql/cast_type.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 2 | pub enum CastType { [INFO] [stdout] | -------- variants in this enum [INFO] [stdout] 3 | Numeric, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 4 | Binary, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 5 | Char, [INFO] [stdout] | ^^^^ [INFO] [stdout] 6 | Date, [INFO] [stdout] | ^^^^ [INFO] [stdout] 7 | Datetime, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 8 | Decimal, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 9 | Signed, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 10 | Time, [INFO] [stdout] | ^^^^ [INFO] [stdout] 11 | Unsigned, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CastType` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `WpComment` is never constructed [INFO] [stdout] --> src/wp_comment.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct WpComment { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `WpComment` 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/wp_comment.rs:35:12 [INFO] [stdout] | [INFO] [stdout] 34 | impl WpComment { [INFO] [stdout] | -------------- associated function in this implementation [INFO] [stdout] 35 | pub fn new(user_id: u64) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/wp_comment/arg_builder.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 18 | pub struct WpCommentQueryArgs { [INFO] [stdout] | ------------------ fields in this struct [INFO] [stdout] 19 | pub author_email: Option, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 20 | pub author_url: Option, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 21 | pub author__in: Option>, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 22 | pub author__not_in: Option>, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 23 | pub comment__in: Option>, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 24 | pub comment__not_in: Option>, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 25 | pub count: bool, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 26 | // TODO [INFO] [stdout] 27 | pub date_query: Option, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 28 | pub fields: Fields, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 29 | pub include_unapproved: Option>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 30 | pub karma: Option, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 31 | pub meta_key: Option>, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 32 | pub meta_value: Option>, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 33 | pub meta_compare: SqlCompareOperator, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 34 | pub meta_type: CastType, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 40 | pub meta_query: Option>>, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 41 | pub number: Option, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 42 | pub paged: Option, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 43 | pub offset: Option, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 44 | pub orderby: Orderby, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 45 | pub order: SqlOrder, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 46 | pub parent: Option, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 47 | pub parent__in: Option>, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 48 | pub parent__not_in: Option>, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 49 | pub post_author__in: Option>, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 50 | pub post_author__not_in: Option>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 51 | pub post_id: Option, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 52 | pub post__in: Option>, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 53 | pub post__not_in: Option>, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 54 | pub post_author: Option, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 55 | pub post_status: Option, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 56 | pub post_type: Option>, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 57 | pub post_name: Option, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 58 | pub post_parent: Option, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 59 | pub search: Option, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 60 | pub status: Option, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 61 | pub comment_type: Option, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 62 | pub comment_type__in: Option>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 63 | pub comment_type__not_in: Option>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 64 | pub user_id: Option, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 65 | pub hierarchical: Option, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `WpCommentQueryArgs` 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/wp_comment/arg_builder.rs:73:12 [INFO] [stdout] | [INFO] [stdout] 72 | impl WpCommentArgBuilder { [INFO] [stdout] | ------------------------ associated function in this implementation [INFO] [stdout] 73 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `All` and `Ids` are never constructed [INFO] [stdout] --> src/wp_comment/arg_builder/fields.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 3 | pub enum Fields { [INFO] [stdout] | ------ variants in this enum [INFO] [stdout] 4 | All, [INFO] [stdout] | ^^^ [INFO] [stdout] 5 | Ids, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Fields` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Threaded`, `Flat`, and `False` are never constructed [INFO] [stdout] --> src/wp_comment/arg_builder/hierarchical.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 2 | pub enum Hierarchy { [INFO] [stdout] | --------- variants in this enum [INFO] [stdout] 3 | /// Retrieves comment tree to the nth depth. [INFO] [stdout] 4 | Threaded(u8), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 5 | /// 'flat' returns a flat array of found comments plus their children. [INFO] [stdout] 6 | Flat, [INFO] [stdout] | ^^^^ [INFO] [stdout] 7 | /// leaves out descendants. [INFO] [stdout] 8 | False, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Hierarchy` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple variants are never constructed [INFO] [stdout] --> src/wp_comment/arg_builder/orderby.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 2 | pub enum Orderby { [INFO] [stdout] | ------- variants in this enum [INFO] [stdout] 3 | Agent, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 4 | Approved, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 5 | Author, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 6 | AuthorEmail, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 7 | AuthorIp, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 8 | AuthorUrl, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 9 | Content, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 10 | Date, [INFO] [stdout] | ^^^^ [INFO] [stdout] 11 | DateGmt, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 12 | Id, [INFO] [stdout] | ^^ [INFO] [stdout] 13 | Karma, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 14 | Parent, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 15 | PostId, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 16 | Type, [INFO] [stdout] | ^^^^ [INFO] [stdout] 17 | UserId, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 18 | MetaValue(String), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 19 | MetaKey(String), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 20 | None, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Orderby` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Approved`, `Hold`, `All`, and `Custom` are never constructed [INFO] [stdout] --> src/wp_comment/comment_approved.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 2 | pub enum CommentApproved { [INFO] [stdout] | --------------- variants in this enum [INFO] [stdout] 3 | Approved, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 4 | Hold, [INFO] [stdout] | ^^^^ [INFO] [stdout] 5 | All, [INFO] [stdout] | ^^^ [INFO] [stdout] 6 | Custom(String), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CommentApproved` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Comment`, `Pingback`, `Trackback`, and `Custom` are never constructed [INFO] [stdout] --> src/wp_comment/comment_type.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 2 | pub enum CommentType { [INFO] [stdout] | ----------- variants in this enum [INFO] [stdout] 3 | Comment, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 4 | Pingback, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 5 | Trackback, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 6 | Custom(String), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CommentType` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 13 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `posts` [INFO] [stdout] --> tests/category.rs:31:9 [INFO] [stdout] | [INFO] [stdout] 31 | let posts = WP_Query::new(params).expect("SqlFailed"); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_posts` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `posts` [INFO] [stdout] --> tests/category.rs:40:9 [INFO] [stdout] | [INFO] [stdout] 40 | let posts = WP_Query::new(params).expect("SqlFailed"); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_posts` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CommentCount` is never constructed [INFO] [stdout] --> src/params.rs:148:12 [INFO] [stdout] | [INFO] [stdout] 148 | pub struct CommentCount { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CommentCount` 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: methods `page_id`, `pagename`, `ignore_sticky_posts`, and `post_mime_type` are never used [INFO] [stdout] --> src/params/param_builder.rs:165:8 [INFO] [stdout] | [INFO] [stdout] 51 | impl<'a> ParamBuilder<'a> { [INFO] [stdout] | ------------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 165 | fn page_id(self) -> Self { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 169 | fn pagename(self) -> Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 192 | fn ignore_sticky_posts(self) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 309 | fn post_mime_type(self) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `NotEquals`, `GreaterThan`, `LessThan`, `GreaterThanOrEqualTo`, and `LessThanOrEqualTo` are never constructed [INFO] [stdout] --> src/sql.rs:58:5 [INFO] [stdout] | [INFO] [stdout] 56 | pub enum SqlCompareOperator { [INFO] [stdout] | ------------------ variants in this enum [INFO] [stdout] 57 | Equals, [INFO] [stdout] 58 | NotEquals, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 59 | GreaterThan, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 60 | LessThan, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 61 | GreaterThanOrEqualTo, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 62 | LessThanOrEqualTo, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SqlCompareOperator` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple variants are never constructed [INFO] [stdout] --> src/sql/cast_type.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 2 | pub enum CastType { [INFO] [stdout] | -------- variants in this enum [INFO] [stdout] 3 | Numeric, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 6 | Date, [INFO] [stdout] | ^^^^ [INFO] [stdout] 7 | Datetime, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 8 | Decimal, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 9 | Signed, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 10 | Time, [INFO] [stdout] | ^^^^ [INFO] [stdout] 11 | Unsigned, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CastType` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/wp_comment.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct WpComment { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 16 | pub comment_ID: u64, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 17 | pub comment_post_ID: u64, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 18 | pub comment_author: String, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 19 | pub comment_author_email: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 20 | pub comment_author_url: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 21 | pub comment_author_IP: net::Ipv4Addr, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 22 | pub comment_date: PrimitiveDateTime, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 23 | pub comment_date_gmt: PrimitiveDateTime, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 24 | pub comment_content: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 25 | pub comment_karma: u64, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 26 | pub comment_approved: CommentApproved, [INFO] [stdout] 27 | pub comment_agent: String, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 28 | pub comment_type: CommentType, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 29 | pub comment_parent: u64, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 30 | pub user_id: u64, [INFO] [stdout] 31 | children: Option>, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `WpComment` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/wp_comment/arg_builder.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 18 | pub struct WpCommentQueryArgs { [INFO] [stdout] | ------------------ fields in this struct [INFO] [stdout] 19 | pub author_email: Option, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 20 | pub author_url: Option, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 21 | pub author__in: Option>, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 22 | pub author__not_in: Option>, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 23 | pub comment__in: Option>, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 24 | pub comment__not_in: Option>, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 25 | pub count: bool, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 26 | // TODO [INFO] [stdout] 27 | pub date_query: Option, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 28 | pub fields: Fields, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 29 | pub include_unapproved: Option>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 30 | pub karma: Option, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 31 | pub meta_key: Option>, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 32 | pub meta_value: Option>, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 33 | pub meta_compare: SqlCompareOperator, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 34 | pub meta_type: CastType, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 40 | pub meta_query: Option>>, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 41 | pub number: Option, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 42 | pub paged: Option, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 43 | pub offset: Option, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 44 | pub orderby: Orderby, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 45 | pub order: SqlOrder, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 46 | pub parent: Option, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 47 | pub parent__in: Option>, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 48 | pub parent__not_in: Option>, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 49 | pub post_author__in: Option>, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 50 | pub post_author__not_in: Option>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 51 | pub post_id: Option, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 52 | pub post__in: Option>, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 53 | pub post__not_in: Option>, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 54 | pub post_author: Option, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 55 | pub post_status: Option, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 56 | pub post_type: Option>, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 57 | pub post_name: Option, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 58 | pub post_parent: Option, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 59 | pub search: Option, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 60 | pub status: Option, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 61 | pub comment_type: Option, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 62 | pub comment_type__in: Option>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 63 | pub comment_type__not_in: Option>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 64 | pub user_id: Option, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 65 | pub hierarchical: Option, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `WpCommentQueryArgs` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Ids` is never constructed [INFO] [stdout] --> src/wp_comment/arg_builder/fields.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 3 | pub enum Fields { [INFO] [stdout] | ------ variant in this enum [INFO] [stdout] 4 | All, [INFO] [stdout] 5 | Ids, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Fields` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Threaded`, `Flat`, and `False` are never constructed [INFO] [stdout] --> src/wp_comment/arg_builder/hierarchical.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 2 | pub enum Hierarchy { [INFO] [stdout] | --------- variants in this enum [INFO] [stdout] 3 | /// Retrieves comment tree to the nth depth. [INFO] [stdout] 4 | Threaded(u8), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 5 | /// 'flat' returns a flat array of found comments plus their children. [INFO] [stdout] 6 | Flat, [INFO] [stdout] | ^^^^ [INFO] [stdout] 7 | /// leaves out descendants. [INFO] [stdout] 8 | False, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Hierarchy` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple variants are never constructed [INFO] [stdout] --> src/wp_comment/arg_builder/orderby.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 2 | pub enum Orderby { [INFO] [stdout] | ------- variants in this enum [INFO] [stdout] 3 | Agent, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 4 | Approved, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 5 | Author, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 6 | AuthorEmail, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 7 | AuthorIp, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 8 | AuthorUrl, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 9 | Content, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 10 | Date, [INFO] [stdout] | ^^^^ [INFO] [stdout] 11 | DateGmt, [INFO] [stdout] 12 | Id, [INFO] [stdout] | ^^ [INFO] [stdout] 13 | Karma, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 14 | Parent, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 15 | PostId, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 16 | Type, [INFO] [stdout] | ^^^^ [INFO] [stdout] 17 | UserId, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 18 | MetaValue(String), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 19 | MetaKey(String), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 20 | None, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Orderby` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Hold` and `All` are never constructed [INFO] [stdout] --> src/wp_comment/comment_approved.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 2 | pub enum CommentApproved { [INFO] [stdout] | --------------- variants in this enum [INFO] [stdout] 3 | Approved, [INFO] [stdout] 4 | Hold, [INFO] [stdout] | ^^^^ [INFO] [stdout] 5 | All, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CommentApproved` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Pingback` and `Trackback` are never constructed [INFO] [stdout] --> src/wp_comment/comment_type.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 2 | pub enum CommentType { [INFO] [stdout] | ----------- variants in this enum [INFO] [stdout] 3 | Comment, [INFO] [stdout] 4 | Pingback, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 5 | Trackback, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CommentType` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 15 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `posts` [INFO] [stdout] --> tests/date.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 7 | let posts = WP_Query::new(params).expect("SqlFailed"); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_posts` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `posts` [INFO] [stdout] --> tests/date.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 14 | let posts = WP_Query::new(params).expect("SqlFailed"); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_posts` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `posts` [INFO] [stdout] --> tests/date.rs:26:9 [INFO] [stdout] | [INFO] [stdout] 26 | let posts = WP_Query::new(params).expect("SqlFailed"); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_posts` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `posts` [INFO] [stdout] --> tests/date.rs:39:9 [INFO] [stdout] | [INFO] [stdout] 39 | let posts = WP_Query::new(params).expect("SqlFailed"); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_posts` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `posts` [INFO] [stdout] --> tests/date.rs:59:9 [INFO] [stdout] | [INFO] [stdout] 59 | let posts = WP_Query::new(params).expect("SqlFailed"); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_posts` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `posts` [INFO] [stdout] --> tests/tag.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 15 | let posts = WP_Query::new(params).expect("SqlFailed"); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_posts` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `posts` [INFO] [stdout] --> tests/tag.rs:38:9 [INFO] [stdout] | [INFO] [stdout] 38 | let posts = WP_Query::new(params).expect("SqlFailed"); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_posts` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `posts` [INFO] [stdout] --> tests/tag.rs:45:9 [INFO] [stdout] | [INFO] [stdout] 45 | let posts = WP_Query::new(params).expect("SqlFailed"); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_posts` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 53.85s [INFO] running `Command { std: "docker" "inspect" "cf379db139b861fae2f184bd73be152a5c0aaaa4a18c945fda4c2ab35498cb6e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cf379db139b861fae2f184bd73be152a5c0aaaa4a18c945fda4c2ab35498cb6e", kill_on_drop: false }` [INFO] [stdout] cf379db139b861fae2f184bd73be152a5c0aaaa4a18c945fda4c2ab35498cb6e