[INFO] fetching crate e6dl 0.4.0... [INFO] checking e6dl-0.4.0 against master#385fa9d845dd326c6bbfd58c22244215e431948a for never-type-fallback-to-never [INFO] extracting crate e6dl 0.4.0 into /workspace/builds/worker-4-tc1/source [INFO] validating manifest of crates.io crate e6dl 0.4.0 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 e6dl 0.4.0 [INFO] finished tweaking crates.io crate e6dl 0.4.0 [INFO] tweaked toml for crates.io crate e6dl 0.4.0 written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] crate crates.io crate e6dl 0.4.0 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded unicode-segmentation v1.9.0 [INFO] [stderr] Downloaded wasm-bindgen-shared v0.2.80 [INFO] [stderr] Downloaded pretty_env_logger v0.4.0 [INFO] [stderr] Downloaded wasm-bindgen-futures v0.4.30 [INFO] [stderr] Downloaded futures-executor v0.3.21 [INFO] [stderr] Downloaded futures v0.3.21 [INFO] [stderr] Downloaded tokio-util v0.7.2 [INFO] [stderr] Downloaded http v0.2.7 [INFO] [stderr] Downloaded tracing v0.1.34 [INFO] [stderr] Downloaded tokio v1.18.2 [INFO] [stderr] Downloaded web-sys v0.3.57 [INFO] [stderr] Downloaded openssl-sys v0.9.73 [INFO] [stderr] Downloaded js-sys v0.3.57 [INFO] [stderr] Downloaded wasm-bindgen v0.2.80 [INFO] [stderr] Downloaded mio v0.8.3 [INFO] [stderr] Downloaded syn v1.0.95 [INFO] [stderr] Downloaded tracing-attributes v0.1.21 [INFO] [stderr] Downloaded tracing-core v0.1.26 [INFO] [stderr] Downloaded wasm-bindgen-backend v0.2.80 [INFO] [stderr] Downloaded serde_derive v1.0.137 [INFO] [stderr] Downloaded proc-macro2 v1.0.39 [INFO] [stderr] Downloaded quote v1.0.18 [INFO] [stderr] Downloaded wasm-bindgen-macro-support v0.2.80 [INFO] [stderr] Downloaded parking_lot v0.12.0 [INFO] [stderr] Downloaded unicode-ident v1.0.0 [INFO] [stderr] Downloaded wasm-bindgen-macro v0.2.80 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e6a2166dfc59639dacbc26230da1959d01bc769d9a5eaffec94f6eb916596736 [INFO] running `Command { std: "docker" "start" "-a" "e6a2166dfc59639dacbc26230da1959d01bc769d9a5eaffec94f6eb916596736", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e6a2166dfc59639dacbc26230da1959d01bc769d9a5eaffec94f6eb916596736", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e6a2166dfc59639dacbc26230da1959d01bc769d9a5eaffec94f6eb916596736", kill_on_drop: false }` [INFO] [stdout] e6a2166dfc59639dacbc26230da1959d01bc769d9a5eaffec94f6eb916596736 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-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] 3c340b2417bb3f946a65fed30a9d7a4fb12cf379aff26728c0b49c8a60e1a12f [INFO] running `Command { std: "docker" "start" "-a" "3c340b2417bb3f946a65fed30a9d7a4fb12cf379aff26728c0b49c8a60e1a12f", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.39 [INFO] [stderr] Compiling unicode-ident v1.0.0 [INFO] [stderr] Compiling syn v1.0.95 [INFO] [stderr] Compiling libc v0.2.126 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Checking pin-project-lite v0.2.9 [INFO] [stderr] Compiling futures-core v0.3.21 [INFO] [stderr] Compiling parking_lot_core v0.9.3 [INFO] [stderr] Checking smallvec v1.8.0 [INFO] [stderr] Compiling lock_api v0.4.7 [INFO] [stderr] Compiling pkg-config v0.3.25 [INFO] [stderr] Compiling cc v1.0.73 [INFO] [stderr] Checking once_cell v1.12.0 [INFO] [stderr] Checking futures-sink v0.3.21 [INFO] [stderr] Compiling futures-task v0.3.21 [INFO] [stderr] Compiling futures-channel v0.3.21 [INFO] [stderr] Checking itoa v1.0.2 [INFO] [stderr] Compiling quote v1.0.18 [INFO] [stderr] Checking signal-hook-registry v1.4.0 [INFO] [stderr] Checking socket2 v0.4.4 [INFO] [stderr] Checking num_cpus v1.13.1 [INFO] [stderr] Checking parking_lot v0.12.0 [INFO] [stderr] Checking mio v0.8.3 [INFO] [stderr] Compiling futures-util v0.3.21 [INFO] [stderr] Checking slab v0.4.6 [INFO] [stderr] Checking futures-io v0.3.21 [INFO] [stderr] Checking tracing-core v0.1.26 [INFO] [stderr] Compiling indexmap v1.8.1 [INFO] [stderr] Compiling openssl v0.10.40 [INFO] [stderr] Compiling serde_derive v1.0.137 [INFO] [stderr] Checking http v0.2.7 [INFO] [stderr] Compiling serde v1.0.137 [INFO] [stderr] Compiling httparse v1.7.1 [INFO] [stderr] Compiling native-tls v0.2.10 [INFO] [stderr] Checking tinyvec v1.6.0 [INFO] [stderr] Compiling openssl-sys v0.9.73 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking want v0.3.0 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Checking aho-corasick v0.7.18 [INFO] [stderr] Checking unicode-width v0.1.9 [INFO] [stderr] Compiling serde_json v1.0.81 [INFO] [stderr] Checking unicode-bidi v0.3.8 [INFO] [stderr] Checking ryu v1.0.10 [INFO] [stderr] Checking regex-syntax v0.6.26 [INFO] [stderr] Compiling unicode-segmentation v1.9.0 [INFO] [stderr] Compiling encoding_rs v0.8.31 [INFO] [stderr] Checking http-body v0.4.5 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking humantime v1.3.0 [INFO] [stderr] Checking strsim v0.8.0 [INFO] [stderr] Checking termcolor v1.1.3 [INFO] [stderr] Checking vec_map v0.8.2 [INFO] [stderr] Checking unicode-normalization v0.1.19 [INFO] [stderr] Checking ipnet v2.5.0 [INFO] [stderr] Checking clap v2.34.0 [INFO] [stderr] Checking idna v0.2.3 [INFO] [stderr] Checking regex v1.5.6 [INFO] [stderr] Checking url v2.2.2 [INFO] [stderr] Checking env_logger v0.7.1 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Checking pretty_env_logger v0.4.0 [INFO] [stderr] Compiling tokio-macros v1.7.0 [INFO] [stderr] Compiling futures-macro v0.3.21 [INFO] [stderr] Compiling tracing-attributes v0.1.21 [INFO] [stderr] Compiling openssl-macros v0.1.0 [INFO] [stderr] Compiling structopt-derive v0.4.18 [INFO] [stderr] Checking tokio v1.18.2 [INFO] [stderr] Checking structopt v0.3.26 [INFO] [stderr] Checking tracing v0.1.34 [INFO] [stderr] Checking futures-executor v0.3.21 [INFO] [stderr] Checking futures v0.3.21 [INFO] [stderr] Checking tokio-util v0.7.2 [INFO] [stderr] Checking tokio-native-tls v0.3.0 [INFO] [stderr] Checking tokio-util v0.6.10 [INFO] [stderr] Checking h2 v0.3.13 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking hyper v0.14.18 [INFO] [stderr] Checking hyper-tls v0.5.0 [INFO] [stderr] Checking reqwest v0.11.10 [INFO] [stderr] Checking e6dl v0.4.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: the item `reqwest` is imported redundantly [INFO] [stdout] --> src/api.rs:3:15 [INFO] [stdout] | [INFO] [stdout] 3 | use reqwest::{self, Client}; [INFO] [stdout] | ^^^^ the item `reqwest` is already defined by prelude [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `ToString` is imported redundantly [INFO] [stdout] --> src/api.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use std::string::ToString; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/385fa9d845dd326c6bbfd58c22244215e431948a/library/std/src/prelude/mod.rs:144:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `ToString` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `reqwest` is imported redundantly [INFO] [stdout] --> src/api.rs:3:15 [INFO] [stdout] | [INFO] [stdout] 3 | use reqwest::{self, Client}; [INFO] [stdout] | ^^^^ the item `reqwest` is already defined by prelude [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `ToString` is imported redundantly [INFO] [stdout] --> src/api.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use std::string::ToString; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/385fa9d845dd326c6bbfd58c22244215e431948a/library/std/src/prelude/mod.rs:144:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `ToString` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `width`, `height`, `size`, and `md5` are never read [INFO] [stdout] --> src/api.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct PostFile { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 14 | pub width: u32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 15 | pub height: u32, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 16 | pub ext: String, [INFO] [stdout] 17 | pub size: u32, [INFO] [stdout] | ^^^^ [INFO] [stdout] 18 | pub md5: String, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PostFile` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `width`, `height`, and `url` are never read [INFO] [stdout] --> src/api.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 23 | pub struct PostPreview { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 24 | pub width: u32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 25 | pub height: u32, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 26 | pub url: Option, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PostPreview` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `has`, `width`, `height`, and `url` are never read [INFO] [stdout] --> src/api.rs:31:9 [INFO] [stdout] | [INFO] [stdout] 30 | pub struct PostSample { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 31 | pub has: bool, [INFO] [stdout] | ^^^ [INFO] [stdout] 32 | pub width: u32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 33 | pub height: u32, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 34 | pub url: Option, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PostSample` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `up`, `down`, and `total` are never read [INFO] [stdout] --> src/api.rs:39:9 [INFO] [stdout] | [INFO] [stdout] 38 | pub struct PostScore { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 39 | pub up: u32, [INFO] [stdout] | ^^ [INFO] [stdout] 40 | pub down: i32, [INFO] [stdout] | ^^^^ [INFO] [stdout] 41 | pub total: i32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PostScore` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `pending`, `flagged`, `note_locked`, `status_locked`, `rating_locked`, and `deleted` are never read [INFO] [stdout] --> src/api.rs:71:9 [INFO] [stdout] | [INFO] [stdout] 70 | pub struct PostFlags { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 71 | pub pending: bool, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 72 | pub flagged: bool, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 73 | pub note_locked: bool, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 74 | pub status_locked: bool, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 75 | pub rating_locked: bool, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 76 | pub deleted: bool, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PostFlags` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `parent_id`, `has_children`, `has_active_children`, and `children` are never read [INFO] [stdout] --> src/api.rs:81:9 [INFO] [stdout] | [INFO] [stdout] 80 | pub struct PostRelationships { [INFO] [stdout] | ----------------- fields in this struct [INFO] [stdout] 81 | pub parent_id: Option, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 82 | pub has_children: bool, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 83 | pub has_active_children: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 84 | pub children: Vec, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PostRelationships` 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/api.rs:90:9 [INFO] [stdout] | [INFO] [stdout] 88 | pub struct Post { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 89 | pub id: u32, [INFO] [stdout] 90 | pub description: String, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 91 | pub created_at: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 92 | pub updated_at: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 95 | pub preview: PostPreview, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 96 | pub sample: PostSample, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 97 | pub score: PostScore, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 98 | pub locked_tags: Vec, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 99 | pub change_seq: u32, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 100 | pub flags: PostFlags, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 101 | pub rating: PostRating, [INFO] [stdout] 102 | pub fav_count: u32, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 103 | pub sources: Vec, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 104 | pub pools: Vec, [INFO] [stdout] 105 | pub relationships: PostRelationships, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 106 | pub approver_id: Option, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 107 | pub uploader_id: u32, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 108 | pub comment_count: u32, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 109 | pub is_favorited: bool, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 110 | pub has_notes: bool, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 111 | pub duration: Option, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Post` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `width`, `height`, `size`, and `md5` are never read [INFO] [stdout] --> src/api.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct PostFile { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 14 | pub width: u32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 15 | pub height: u32, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 16 | pub ext: String, [INFO] [stdout] 17 | pub size: u32, [INFO] [stdout] | ^^^^ [INFO] [stdout] 18 | pub md5: String, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PostFile` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `width`, `height`, and `url` are never read [INFO] [stdout] --> src/api.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 23 | pub struct PostPreview { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 24 | pub width: u32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 25 | pub height: u32, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 26 | pub url: Option, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PostPreview` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `has`, `width`, `height`, and `url` are never read [INFO] [stdout] --> src/api.rs:31:9 [INFO] [stdout] | [INFO] [stdout] 30 | pub struct PostSample { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 31 | pub has: bool, [INFO] [stdout] | ^^^ [INFO] [stdout] 32 | pub width: u32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 33 | pub height: u32, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 34 | pub url: Option, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PostSample` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `up`, `down`, and `total` are never read [INFO] [stdout] --> src/api.rs:39:9 [INFO] [stdout] | [INFO] [stdout] 38 | pub struct PostScore { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 39 | pub up: u32, [INFO] [stdout] | ^^ [INFO] [stdout] 40 | pub down: i32, [INFO] [stdout] | ^^^^ [INFO] [stdout] 41 | pub total: i32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PostScore` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `pending`, `flagged`, `note_locked`, `status_locked`, `rating_locked`, and `deleted` are never read [INFO] [stdout] --> src/api.rs:71:9 [INFO] [stdout] | [INFO] [stdout] 70 | pub struct PostFlags { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 71 | pub pending: bool, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 72 | pub flagged: bool, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 73 | pub note_locked: bool, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 74 | pub status_locked: bool, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 75 | pub rating_locked: bool, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 76 | pub deleted: bool, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PostFlags` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `parent_id`, `has_children`, `has_active_children`, and `children` are never read [INFO] [stdout] --> src/api.rs:81:9 [INFO] [stdout] | [INFO] [stdout] 80 | pub struct PostRelationships { [INFO] [stdout] | ----------------- fields in this struct [INFO] [stdout] 81 | pub parent_id: Option, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 82 | pub has_children: bool, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 83 | pub has_active_children: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 84 | pub children: Vec, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PostRelationships` 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/api.rs:90:9 [INFO] [stdout] | [INFO] [stdout] 88 | pub struct Post { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 89 | pub id: u32, [INFO] [stdout] 90 | pub description: String, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 91 | pub created_at: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 92 | pub updated_at: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 95 | pub preview: PostPreview, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 96 | pub sample: PostSample, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 97 | pub score: PostScore, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 98 | pub locked_tags: Vec, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 99 | pub change_seq: u32, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 100 | pub flags: PostFlags, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 101 | pub rating: PostRating, [INFO] [stdout] 102 | pub fav_count: u32, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 103 | pub sources: Vec, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 104 | pub pools: Vec, [INFO] [stdout] 105 | pub relationships: PostRelationships, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 106 | pub approver_id: Option, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 107 | pub uploader_id: u32, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 108 | pub comment_count: u32, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 109 | pub is_favorited: bool, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 110 | pub has_notes: bool, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 111 | pub duration: Option, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Post` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 50.22s [INFO] running `Command { std: "docker" "inspect" "3c340b2417bb3f946a65fed30a9d7a4fb12cf379aff26728c0b49c8a60e1a12f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3c340b2417bb3f946a65fed30a9d7a4fb12cf379aff26728c0b49c8a60e1a12f", kill_on_drop: false }` [INFO] [stdout] 3c340b2417bb3f946a65fed30a9d7a4fb12cf379aff26728c0b49c8a60e1a12f [INFO] checking e6dl-0.4.0 against try#2d84f2737f3bd9ebfcb07f75aa198d6cf7c715d2 for never-type-fallback-to-never [INFO] extracting crate e6dl 0.4.0 into /workspace/builds/worker-4-tc2/source [INFO] validating manifest of crates.io crate e6dl 0.4.0 on toolchain 2d84f2737f3bd9ebfcb07f75aa198d6cf7c715d2 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2d84f2737f3bd9ebfcb07f75aa198d6cf7c715d2" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate e6dl 0.4.0 [INFO] finished tweaking crates.io crate e6dl 0.4.0 [INFO] tweaked toml for crates.io crate e6dl 0.4.0 written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] crate crates.io crate e6dl 0.4.0 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2d84f2737f3bd9ebfcb07f75aa198d6cf7c715d2" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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" "+2d84f2737f3bd9ebfcb07f75aa198d6cf7c715d2" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1b867bb34847426cfa85b7af38e4999ee41e6fc2d7c8055172c9e4afdbaae782 [INFO] running `Command { std: "docker" "start" "-a" "1b867bb34847426cfa85b7af38e4999ee41e6fc2d7c8055172c9e4afdbaae782", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1b867bb34847426cfa85b7af38e4999ee41e6fc2d7c8055172c9e4afdbaae782", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1b867bb34847426cfa85b7af38e4999ee41e6fc2d7c8055172c9e4afdbaae782", kill_on_drop: false }` [INFO] [stdout] 1b867bb34847426cfa85b7af38e4999ee41e6fc2d7c8055172c9e4afdbaae782 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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" "+2d84f2737f3bd9ebfcb07f75aa198d6cf7c715d2" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 972290d60d0c818aa48eebc9684e712cbd21d2485bc147132efa34656955afda [INFO] running `Command { std: "docker" "start" "-a" "972290d60d0c818aa48eebc9684e712cbd21d2485bc147132efa34656955afda", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.39 [INFO] [stderr] Compiling unicode-ident v1.0.0 [INFO] [stderr] Compiling syn v1.0.95 [INFO] [stderr] Compiling libc v0.2.126 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Checking pin-project-lite v0.2.9 [INFO] [stderr] Compiling futures-core v0.3.21 [INFO] [stderr] Compiling parking_lot_core v0.9.3 [INFO] [stderr] Compiling cc v1.0.73 [INFO] [stderr] Checking smallvec v1.8.0 [INFO] [stderr] Compiling lock_api v0.4.7 [INFO] [stderr] Compiling pkg-config v0.3.25 [INFO] [stderr] Checking once_cell v1.12.0 [INFO] [stderr] Checking futures-sink v0.3.21 [INFO] [stderr] Compiling futures-channel v0.3.21 [INFO] [stderr] Compiling futures-task v0.3.21 [INFO] [stderr] Compiling futures-util v0.3.21 [INFO] [stderr] Checking itoa v1.0.2 [INFO] [stderr] Compiling quote v1.0.18 [INFO] [stderr] Checking futures-io v0.3.21 [INFO] [stderr] Checking slab v0.4.6 [INFO] [stderr] Checking tracing-core v0.1.26 [INFO] [stderr] Checking socket2 v0.4.4 [INFO] [stderr] Checking signal-hook-registry v1.4.0 [INFO] [stderr] Checking mio v0.8.3 [INFO] [stderr] Checking num_cpus v1.13.1 [INFO] [stderr] Compiling indexmap v1.8.1 [INFO] [stderr] Compiling openssl v0.10.40 [INFO] [stderr] Checking parking_lot v0.12.0 [INFO] [stderr] Compiling serde_derive v1.0.137 [INFO] [stderr] Checking http v0.2.7 [INFO] [stderr] Compiling serde v1.0.137 [INFO] [stderr] Compiling native-tls v0.2.10 [INFO] [stderr] Compiling httparse v1.7.1 [INFO] [stderr] Checking tinyvec v1.6.0 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking want v0.3.0 [INFO] [stderr] Compiling openssl-sys v0.9.73 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Checking aho-corasick v0.7.18 [INFO] [stderr] Checking ryu v1.0.10 [INFO] [stderr] Checking unicode-width v0.1.9 [INFO] [stderr] Checking regex-syntax v0.6.26 [INFO] [stderr] Compiling unicode-segmentation v1.9.0 [INFO] [stderr] Checking http-body v0.4.5 [INFO] [stderr] Compiling serde_json v1.0.81 [INFO] [stderr] Checking unicode-bidi v0.3.8 [INFO] [stderr] Checking unicode-normalization v0.1.19 [INFO] [stderr] Compiling encoding_rs v0.8.31 [INFO] [stderr] Checking humantime v1.3.0 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking strsim v0.8.0 [INFO] [stderr] Checking vec_map v0.8.2 [INFO] [stderr] Checking termcolor v1.1.3 [INFO] [stderr] Checking ipnet v2.5.0 [INFO] [stderr] Checking clap v2.34.0 [INFO] [stderr] Checking idna v0.2.3 [INFO] [stderr] Checking url v2.2.2 [INFO] [stderr] Checking regex v1.5.6 [INFO] [stderr] Checking env_logger v0.7.1 [INFO] [stderr] Checking pretty_env_logger v0.4.0 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling tokio-macros v1.7.0 [INFO] [stderr] Compiling futures-macro v0.3.21 [INFO] [stderr] Compiling tracing-attributes v0.1.21 [INFO] [stderr] Compiling openssl-macros v0.1.0 [INFO] [stderr] Compiling structopt-derive v0.4.18 [INFO] [stderr] Checking tokio v1.18.2 [INFO] [stderr] Checking tracing v0.1.34 [INFO] [stderr] Checking structopt v0.3.26 [INFO] [stderr] Checking futures-executor v0.3.21 [INFO] [stderr] Checking futures v0.3.21 [INFO] [stderr] Checking tokio-util v0.7.2 [INFO] [stderr] Checking tokio-native-tls v0.3.0 [INFO] [stderr] Checking tokio-util v0.6.10 [INFO] [stderr] Checking h2 v0.3.13 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking hyper v0.14.18 [INFO] [stderr] Checking hyper-tls v0.5.0 [INFO] [stderr] Checking reqwest v0.11.10 [INFO] [stderr] Checking e6dl v0.4.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: the item `reqwest` is imported redundantly [INFO] [stdout] --> src/api.rs:3:15 [INFO] [stdout] | [INFO] [stdout] 3 | use reqwest::{self, Client}; [INFO] [stdout] | ^^^^ the item `reqwest` is already defined by prelude [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `ToString` is imported redundantly [INFO] [stdout] --> src/api.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use std::string::ToString; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/2d84f2737f3bd9ebfcb07f75aa198d6cf7c715d2/library/std/src/prelude/mod.rs:144:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `ToString` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `reqwest` is imported redundantly [INFO] [stdout] --> src/api.rs:3:15 [INFO] [stdout] | [INFO] [stdout] 3 | use reqwest::{self, Client}; [INFO] [stdout] | ^^^^ the item `reqwest` is already defined by prelude [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `ToString` is imported redundantly [INFO] [stdout] --> src/api.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use std::string::ToString; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/2d84f2737f3bd9ebfcb07f75aa198d6cf7c715d2/library/std/src/prelude/mod.rs:144:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `ToString` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `width`, `height`, `size`, and `md5` are never read [INFO] [stdout] --> src/api.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct PostFile { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 14 | pub width: u32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 15 | pub height: u32, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 16 | pub ext: String, [INFO] [stdout] 17 | pub size: u32, [INFO] [stdout] | ^^^^ [INFO] [stdout] 18 | pub md5: String, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PostFile` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `width`, `height`, and `url` are never read [INFO] [stdout] --> src/api.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 23 | pub struct PostPreview { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 24 | pub width: u32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 25 | pub height: u32, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 26 | pub url: Option, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PostPreview` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `has`, `width`, `height`, and `url` are never read [INFO] [stdout] --> src/api.rs:31:9 [INFO] [stdout] | [INFO] [stdout] 30 | pub struct PostSample { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 31 | pub has: bool, [INFO] [stdout] | ^^^ [INFO] [stdout] 32 | pub width: u32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 33 | pub height: u32, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 34 | pub url: Option, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PostSample` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `up`, `down`, and `total` are never read [INFO] [stdout] --> src/api.rs:39:9 [INFO] [stdout] | [INFO] [stdout] 38 | pub struct PostScore { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 39 | pub up: u32, [INFO] [stdout] | ^^ [INFO] [stdout] 40 | pub down: i32, [INFO] [stdout] | ^^^^ [INFO] [stdout] 41 | pub total: i32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PostScore` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `pending`, `flagged`, `note_locked`, `status_locked`, `rating_locked`, and `deleted` are never read [INFO] [stdout] --> src/api.rs:71:9 [INFO] [stdout] | [INFO] [stdout] 70 | pub struct PostFlags { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 71 | pub pending: bool, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 72 | pub flagged: bool, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 73 | pub note_locked: bool, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 74 | pub status_locked: bool, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 75 | pub rating_locked: bool, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 76 | pub deleted: bool, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PostFlags` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `parent_id`, `has_children`, `has_active_children`, and `children` are never read [INFO] [stdout] --> src/api.rs:81:9 [INFO] [stdout] | [INFO] [stdout] 80 | pub struct PostRelationships { [INFO] [stdout] | ----------------- fields in this struct [INFO] [stdout] 81 | pub parent_id: Option, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 82 | pub has_children: bool, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 83 | pub has_active_children: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 84 | pub children: Vec, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PostRelationships` 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/api.rs:90:9 [INFO] [stdout] | [INFO] [stdout] 88 | pub struct Post { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 89 | pub id: u32, [INFO] [stdout] 90 | pub description: String, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 91 | pub created_at: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 92 | pub updated_at: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 95 | pub preview: PostPreview, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 96 | pub sample: PostSample, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 97 | pub score: PostScore, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 98 | pub locked_tags: Vec, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 99 | pub change_seq: u32, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 100 | pub flags: PostFlags, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 101 | pub rating: PostRating, [INFO] [stdout] 102 | pub fav_count: u32, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 103 | pub sources: Vec, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 104 | pub pools: Vec, [INFO] [stdout] 105 | pub relationships: PostRelationships, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 106 | pub approver_id: Option, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 107 | pub uploader_id: u32, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 108 | pub comment_count: u32, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 109 | pub is_favorited: bool, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 110 | pub has_notes: bool, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 111 | pub duration: Option, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Post` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `width`, `height`, `size`, and `md5` are never read [INFO] [stdout] --> src/api.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct PostFile { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 14 | pub width: u32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 15 | pub height: u32, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 16 | pub ext: String, [INFO] [stdout] 17 | pub size: u32, [INFO] [stdout] | ^^^^ [INFO] [stdout] 18 | pub md5: String, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PostFile` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `width`, `height`, and `url` are never read [INFO] [stdout] --> src/api.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 23 | pub struct PostPreview { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 24 | pub width: u32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 25 | pub height: u32, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 26 | pub url: Option, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PostPreview` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `has`, `width`, `height`, and `url` are never read [INFO] [stdout] --> src/api.rs:31:9 [INFO] [stdout] | [INFO] [stdout] 30 | pub struct PostSample { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 31 | pub has: bool, [INFO] [stdout] | ^^^ [INFO] [stdout] 32 | pub width: u32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 33 | pub height: u32, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 34 | pub url: Option, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PostSample` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `up`, `down`, and `total` are never read [INFO] [stdout] --> src/api.rs:39:9 [INFO] [stdout] | [INFO] [stdout] 38 | pub struct PostScore { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 39 | pub up: u32, [INFO] [stdout] | ^^ [INFO] [stdout] 40 | pub down: i32, [INFO] [stdout] | ^^^^ [INFO] [stdout] 41 | pub total: i32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PostScore` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `pending`, `flagged`, `note_locked`, `status_locked`, `rating_locked`, and `deleted` are never read [INFO] [stdout] --> src/api.rs:71:9 [INFO] [stdout] | [INFO] [stdout] 70 | pub struct PostFlags { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 71 | pub pending: bool, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 72 | pub flagged: bool, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 73 | pub note_locked: bool, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 74 | pub status_locked: bool, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 75 | pub rating_locked: bool, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 76 | pub deleted: bool, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PostFlags` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `parent_id`, `has_children`, `has_active_children`, and `children` are never read [INFO] [stdout] --> src/api.rs:81:9 [INFO] [stdout] | [INFO] [stdout] 80 | pub struct PostRelationships { [INFO] [stdout] | ----------------- fields in this struct [INFO] [stdout] 81 | pub parent_id: Option, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 82 | pub has_children: bool, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 83 | pub has_active_children: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 84 | pub children: Vec, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PostRelationships` 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/api.rs:90:9 [INFO] [stdout] | [INFO] [stdout] 88 | pub struct Post { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 89 | pub id: u32, [INFO] [stdout] 90 | pub description: String, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 91 | pub created_at: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 92 | pub updated_at: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 95 | pub preview: PostPreview, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 96 | pub sample: PostSample, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 97 | pub score: PostScore, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 98 | pub locked_tags: Vec, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 99 | pub change_seq: u32, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 100 | pub flags: PostFlags, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 101 | pub rating: PostRating, [INFO] [stdout] 102 | pub fav_count: u32, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 103 | pub sources: Vec, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 104 | pub pools: Vec, [INFO] [stdout] 105 | pub relationships: PostRelationships, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 106 | pub approver_id: Option, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 107 | pub uploader_id: u32, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 108 | pub comment_count: u32, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 109 | pub is_favorited: bool, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 110 | pub has_notes: bool, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 111 | pub duration: Option, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Post` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 46.24s [INFO] running `Command { std: "docker" "inspect" "972290d60d0c818aa48eebc9684e712cbd21d2485bc147132efa34656955afda", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "972290d60d0c818aa48eebc9684e712cbd21d2485bc147132efa34656955afda", kill_on_drop: false }` [INFO] [stdout] 972290d60d0c818aa48eebc9684e712cbd21d2485bc147132efa34656955afda