[INFO] fetching crate wp_query_rs 0.4.1... [INFO] checking wp_query_rs-0.4.1 against master#385fa9d845dd326c6bbfd58c22244215e431948a for absurd-question-mark-desugar [INFO] extracting crate wp_query_rs 0.4.1 into /workspace/builds/worker-7-tc1/source [INFO] validating manifest of crates.io crate wp_query_rs 0.4.1 on toolchain 385fa9d845dd326c6bbfd58c22244215e431948a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "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-7-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 272 packages [INFO] [stderr] Adding ahash v0.7.8 (latest: v0.8.11) [INFO] [stderr] Adding base64 v0.21.7 (latest: v0.22.0) [INFO] [stderr] Adding bigdecimal v0.3.1 (latest: v0.4.3) [INFO] [stderr] Adding bindgen v0.68.1 (latest: v0.69.4) [INFO] [stderr] Adding bitflags v1.3.2 (latest: v2.5.0) [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 cfg_aliases v0.1.1 (latest: v0.2.0) [INFO] [stderr] Adding constant_time_eq v0.1.5 (latest: v0.3.0) [INFO] [stderr] Adding darling v0.14.4 (latest: v0.20.8) [INFO] [stderr] Adding darling_core v0.14.4 (latest: v0.20.8) [INFO] [stderr] Adding darling_macro v0.14.4 (latest: v0.20.8) [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.0.0) [INFO] [stderr] Adding hashbrown v0.12.3 (latest: v0.14.3) [INFO] [stderr] Adding hashbrown v0.13.2 (latest: v0.14.3) [INFO] [stderr] Adding heck v0.4.1 (latest: v0.5.0) [INFO] [stderr] Adding linux-raw-sys v0.4.13 (latest: v0.6.4) [INFO] [stderr] Adding lru v0.10.1 (latest: v0.12.3) [INFO] [stderr] Adding mysql v24.0.0 (latest: v25.0.0) [INFO] [stderr] Adding mysql-common-derive v0.30.2 (latest: v0.31.1) [INFO] [stderr] Adding mysql_common v0.30.6 (latest: v0.32.2) [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.3) [INFO] [stderr] Adding proc-macro-crate v1.3.1 (latest: v3.1.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.10.2) [INFO] [stderr] Adding radium v0.7.0 (latest: v1.1.0) [INFO] [stderr] Adding redox_syscall v0.4.1 (latest: v0.5.1) [INFO] [stderr] Adding ring v0.16.20 (latest: v0.17.8) [INFO] [stderr] Adding rustls v0.21.10 (latest: v0.23.4) [INFO] [stderr] Adding rustls-pemfile v1.0.4 (latest: v2.1.1) [INFO] [stderr] Adding rustls-webpki v0.100.3 (latest: v0.102.2) [INFO] [stderr] Adding rustls-webpki v0.101.7 (latest: v0.102.2) [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.58) [INFO] [stderr] Adding toml_edit v0.19.15 (latest: v0.22.9) [INFO] [stderr] Adding toml_edit v0.21.1 (latest: v0.22.9) [INFO] [stderr] Adding untrusted v0.7.1 (latest: v0.9.0) [INFO] [stderr] Adding wasi v0.11.0+wasi-snapshot-preview1 (latest: v0.13.0+wasi-0.2.0) [INFO] [stderr] Adding webpki-roots v0.23.1 (latest: v0.26.1) [INFO] [stderr] Adding which v4.4.2 (latest: v6.0.1) [INFO] [stderr] Adding windows-core v0.52.0 (latest: v0.55.0) [INFO] [stderr] Adding windows-targets v0.48.5 (latest: v0.52.4) [INFO] [stderr] Adding windows_aarch64_gnullvm v0.48.5 (latest: v0.52.4) [INFO] [stderr] Adding windows_aarch64_msvc v0.48.5 (latest: v0.52.4) [INFO] [stderr] Adding windows_i686_gnu v0.48.5 (latest: v0.52.4) [INFO] [stderr] Adding windows_i686_msvc v0.48.5 (latest: v0.52.4) [INFO] [stderr] Adding windows_x86_64_gnu v0.48.5 (latest: v0.52.4) [INFO] [stderr] Adding windows_x86_64_gnullvm v0.48.5 (latest: v0.52.4) [INFO] [stderr] Adding windows_x86_64_msvc v0.48.5 (latest: v0.52.4) [INFO] [stderr] Adding winnow v0.5.40 (latest: v0.6.5) [INFO] [stderr] Adding wyz v0.5.1 (latest: v0.6.1) [INFO] [stderr] Adding zstd v0.11.2+zstd.1.5.2 (latest: v0.13.1) [INFO] [stderr] Adding zstd-safe v5.0.2+zstd.1.5.2 (latest: v7.1.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded rustls-webpki v0.100.3 [INFO] [stderr] Downloaded ext-php-rs-derive v0.10.1 [INFO] [stderr] Downloaded bindgen v0.68.1 [INFO] [stderr] Downloaded ext-php-rs v0.10.5 [INFO] [stderr] Downloaded derive_utils v0.14.1 [INFO] [stderr] Downloaded io-enum v1.1.3 [INFO] [stderr] Downloaded named_pipe v0.4.1 [INFO] [stderr] Downloaded mysql v24.0.0 [INFO] [stderr] Downloaded sql_paginatorr v0.1.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2effb7313386b155407291a25366093b0b9fb94a3a6dfacb19947ff6dd25d0b8 [INFO] running `Command { std: "docker" "start" "-a" "2effb7313386b155407291a25366093b0b9fb94a3a6dfacb19947ff6dd25d0b8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2effb7313386b155407291a25366093b0b9fb94a3a6dfacb19947ff6dd25d0b8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2effb7313386b155407291a25366093b0b9fb94a3a6dfacb19947ff6dd25d0b8", kill_on_drop: false }` [INFO] [stdout] 2effb7313386b155407291a25366093b0b9fb94a3a6dfacb19947ff6dd25d0b8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4ae2ad89b26931822d3a2f080a46e435fcdd492928d72e79c331e6016381696a [INFO] running `Command { std: "docker" "start" "-a" "4ae2ad89b26931822d3a2f080a46e435fcdd492928d72e79c331e6016381696a", kill_on_drop: false }` [INFO] [stderr] Compiling glob v0.3.1 [INFO] [stderr] Checking lexical-util v0.8.5 [INFO] [stderr] Compiling regex-syntax v0.8.3 [INFO] [stderr] Compiling libloading v0.8.3 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling num-traits v0.2.18 [INFO] [stderr] Compiling frunk_core v0.4.2 [INFO] [stderr] Compiling either v1.10.0 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling bindgen v0.69.4 [INFO] [stderr] Compiling libz-sys v1.1.16 [INFO] [stderr] Compiling clang-sys v1.7.0 [INFO] [stderr] Compiling darling_core v0.20.8 [INFO] [stderr] Checking lexical-write-integer v0.8.5 [INFO] [stderr] Checking lexical-parse-integer v0.8.6 [INFO] [stderr] Compiling itertools v0.12.1 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling rustc-hash v1.1.0 [INFO] [stderr] Checking memchr v2.7.2 [INFO] [stderr] Compiling regex-automata v0.4.6 [INFO] [stderr] Compiling bitflags v2.5.0 [INFO] [stderr] Compiling frunk_proc_macro_helpers v0.1.2 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Compiling cexpr v0.6.0 [INFO] [stderr] Compiling lazycell v1.3.0 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Checking serde v1.0.197 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Checking lexical-parse-float v0.8.5 [INFO] [stderr] Checking lexical-write-float v0.8.5 [INFO] [stderr] Compiling regex v1.10.4 [INFO] [stderr] Compiling subprocess v0.2.9 [INFO] [stderr] Compiling cmake v0.1.50 [INFO] [stderr] Compiling darling_macro v0.20.8 [INFO] [stderr] Compiling rust_decimal v1.35.0 [INFO] [stderr] Checking deranged v0.3.11 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Checking num-bigint v0.4.4 [INFO] [stderr] Checking lexical-core v0.8.5 [INFO] [stderr] Compiling darling v0.20.8 [INFO] [stderr] Compiling frunk_derives v0.4.2 [INFO] [stderr] Compiling frunk_proc_macros v0.1.2 [INFO] [stderr] Checking crossbeam-epoch v0.9.18 [INFO] [stderr] Checking arrayvec v0.7.4 [INFO] [stderr] Checking crossbeam-deque v0.8.5 [INFO] [stderr] Checking bigdecimal v0.3.1 [INFO] [stderr] Checking serde_json v1.0.115 [INFO] [stderr] Checking time v0.3.34 [INFO] [stderr] Checking bitvec v1.0.1 [INFO] [stderr] Checking flate2 v1.0.28 [INFO] [stderr] Checking lexical v6.1.1 [INFO] [stderr] Checking hashbrown v0.13.2 [INFO] [stderr] Checking sha1 v0.10.6 [INFO] [stderr] Checking sha2 v0.10.8 [INFO] [stderr] Compiling mysql-common-derive v0.30.2 [INFO] [stderr] Checking crossbeam-channel v0.5.12 [INFO] [stderr] Checking crossbeam-queue v0.3.11 [INFO] [stderr] Compiling derive_utils v0.14.1 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Checking uuid v1.8.0 [INFO] [stderr] Compiling mysql v24.0.0 [INFO] [stderr] Checking smallvec v1.13.2 [INFO] [stderr] Checking saturating v0.1.0 [INFO] [stderr] Compiling io-enum v1.1.3 [INFO] [stderr] Checking crossbeam v0.8.4 [INFO] [stderr] Checking lru v0.10.1 [INFO] [stderr] Checking pem v2.0.1 [INFO] [stderr] Checking twox-hash v1.6.3 [INFO] [stderr] Checking socket2 v0.5.6 [INFO] [stderr] Checking frunk v0.4.2 [INFO] [stderr] Checking bufstream v0.1.4 [INFO] [stderr] Checking chrono v0.4.37 [INFO] [stderr] Checking sql_paginatorr v0.1.2 [INFO] [stderr] Compiling mysql_common v0.30.6 [INFO] [stderr] Checking wp_query_rs v0.4.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: the item `Datelike` is imported redundantly [INFO] [stdout] --> src/sql/date.rs:32:9 [INFO] [stdout] | [INFO] [stdout] 32 | use chrono::Datelike; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 36 | use super::*; [INFO] [stdout] | -------- the item `Datelike` is already imported here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [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/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: `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: `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: 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: 2 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] [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: 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: 16 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 05s [INFO] running `Command { std: "docker" "inspect" "4ae2ad89b26931822d3a2f080a46e435fcdd492928d72e79c331e6016381696a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4ae2ad89b26931822d3a2f080a46e435fcdd492928d72e79c331e6016381696a", kill_on_drop: false }` [INFO] [stdout] 4ae2ad89b26931822d3a2f080a46e435fcdd492928d72e79c331e6016381696a [INFO] checking wp_query_rs-0.4.1 against try#645bb72776a6a56a1a8f52631a44bd082b2ba509 for absurd-question-mark-desugar [INFO] extracting crate wp_query_rs 0.4.1 into /workspace/builds/worker-7-tc2/source [INFO] validating manifest of crates.io crate wp_query_rs 0.4.1 on toolchain 645bb72776a6a56a1a8f52631a44bd082b2ba509 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "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-7-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4569dc2ddda2bbe18b42023496adaf08f3e692f8f49393ff084bedb43cddec21 [INFO] running `Command { std: "docker" "start" "-a" "4569dc2ddda2bbe18b42023496adaf08f3e692f8f49393ff084bedb43cddec21", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4569dc2ddda2bbe18b42023496adaf08f3e692f8f49393ff084bedb43cddec21", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4569dc2ddda2bbe18b42023496adaf08f3e692f8f49393ff084bedb43cddec21", kill_on_drop: false }` [INFO] [stdout] 4569dc2ddda2bbe18b42023496adaf08f3e692f8f49393ff084bedb43cddec21 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] fe7f5f1dc5a6181ea02e11e1ec2a0fd9a7e874effd2240d055ae007b8b13bc3a [INFO] running `Command { std: "docker" "start" "-a" "fe7f5f1dc5a6181ea02e11e1ec2a0fd9a7e874effd2240d055ae007b8b13bc3a", kill_on_drop: false }` [INFO] [stderr] Compiling glob v0.3.1 [INFO] [stderr] Checking lexical-util v0.8.5 [INFO] [stderr] Compiling regex-syntax v0.8.3 [INFO] [stderr] Compiling libloading v0.8.3 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling num-traits v0.2.18 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling either v1.10.0 [INFO] [stderr] Compiling frunk_core v0.4.2 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling bindgen v0.69.4 [INFO] [stderr] Compiling darling_core v0.20.8 [INFO] [stderr] Compiling itertools v0.12.1 [INFO] [stderr] Compiling clang-sys v1.7.0 [INFO] [stderr] Checking lexical-parse-integer v0.8.6 [INFO] [stderr] Checking lexical-write-integer v0.8.5 [INFO] [stderr] Compiling libz-sys v1.1.16 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling regex-automata v0.4.6 [INFO] [stderr] Checking memchr v2.7.2 [INFO] [stderr] Compiling lazycell v1.3.0 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Compiling cexpr v0.6.0 [INFO] [stderr] Compiling bitflags v2.5.0 [INFO] [stderr] Compiling rustc-hash v1.1.0 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Compiling frunk_proc_macro_helpers v0.1.2 [INFO] [stderr] Checking serde v1.0.197 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Checking lexical-write-float v0.8.5 [INFO] [stderr] Checking lexical-parse-float v0.8.5 [INFO] [stderr] Compiling darling_macro v0.20.8 [INFO] [stderr] Compiling regex v1.10.4 [INFO] [stderr] Compiling subprocess v0.2.9 [INFO] [stderr] Compiling cmake v0.1.50 [INFO] [stderr] Compiling rust_decimal v1.35.0 [INFO] [stderr] Compiling darling v0.20.8 [INFO] [stderr] Checking deranged v0.3.11 [INFO] [stderr] Checking lexical-core v0.8.5 [INFO] [stderr] Checking num-bigint v0.4.4 [INFO] [stderr] Compiling frunk_proc_macros v0.1.2 [INFO] [stderr] Compiling frunk_derives v0.4.2 [INFO] [stderr] Checking crossbeam-epoch v0.9.18 [INFO] [stderr] Checking arrayvec v0.7.4 [INFO] [stderr] Compiling termcolor v1.4.1 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Checking serde_json v1.0.115 [INFO] [stderr] Checking bigdecimal v0.3.1 [INFO] [stderr] Checking time v0.3.34 [INFO] [stderr] Compiling mysql-common-derive v0.30.2 [INFO] [stderr] Checking crossbeam-deque v0.8.5 [INFO] [stderr] Checking bitvec v1.0.1 [INFO] [stderr] Checking flate2 v1.0.28 [INFO] [stderr] Checking lexical v6.1.1 [INFO] [stderr] Checking hashbrown v0.13.2 [INFO] [stderr] Checking sha1 v0.10.6 [INFO] [stderr] Checking sha2 v0.10.8 [INFO] [stderr] Checking frunk v0.4.2 [INFO] [stderr] Checking crossbeam-queue v0.3.11 [INFO] [stderr] Checking crossbeam-channel v0.5.12 [INFO] [stderr] Compiling derive_utils v0.14.1 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Checking saturating v0.1.0 [INFO] [stderr] Checking smallvec v1.13.2 [INFO] [stderr] Compiling mysql v24.0.0 [INFO] [stderr] Checking uuid v1.8.0 [INFO] [stderr] Checking crossbeam v0.8.4 [INFO] [stderr] Checking lru v0.10.1 [INFO] [stderr] Compiling io-enum v1.1.3 [INFO] [stderr] Checking pem v2.0.1 [INFO] [stderr] Checking twox-hash v1.6.3 [INFO] [stderr] Checking socket2 v0.5.6 [INFO] [stderr] Checking bufstream v0.1.4 [INFO] [stderr] Checking chrono v0.4.37 [INFO] [stderr] Checking sql_paginatorr v0.1.2 [INFO] [stderr] Compiling mysql_common v0.30.6 [INFO] [stderr] Checking wp_query_rs v0.4.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: the item `Datelike` is imported redundantly [INFO] [stdout] --> src/sql/date.rs:32:9 [INFO] [stdout] | [INFO] [stdout] 32 | use chrono::Datelike; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 36 | use super::*; [INFO] [stdout] | -------- the item `Datelike` is already imported here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [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/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/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: 2 warnings emitted [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: `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: 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] [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: 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: 16 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 05s [INFO] running `Command { std: "docker" "inspect" "fe7f5f1dc5a6181ea02e11e1ec2a0fd9a7e874effd2240d055ae007b8b13bc3a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fe7f5f1dc5a6181ea02e11e1ec2a0fd9a7e874effd2240d055ae007b8b13bc3a", kill_on_drop: false }` [INFO] [stdout] fe7f5f1dc5a6181ea02e11e1ec2a0fd9a7e874effd2240d055ae007b8b13bc3a