[INFO] fetching crate reddsaver 0.4.0... [INFO] checking reddsaver-0.4.0 against master#385fa9d845dd326c6bbfd58c22244215e431948a for absurd-question-mark-desugar [INFO] extracting crate reddsaver 0.4.0 into /workspace/builds/worker-5-tc1/source [INFO] validating manifest of crates.io crate reddsaver 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] removed /workspace/builds/worker-5-tc1/source/.cargo/config [INFO] started tweaking crates.io crate reddsaver 0.4.0 [INFO] finished tweaking crates.io crate reddsaver 0.4.0 [INFO] tweaked toml for crates.io crate reddsaver 0.4.0 written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] crate crates.io crate reddsaver 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] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded futures-macro v0.3.15 [INFO] [stderr] Downloaded which v4.2.2 [INFO] [stderr] Downloaded random-names v0.1.3 [INFO] [stderr] Downloaded thiserror-impl v1.0.25 [INFO] [stderr] Downloaded thiserror v1.0.25 [INFO] [stderr] Downloaded futures-executor v0.3.15 [INFO] [stderr] Downloaded futures v0.3.15 [INFO] [stderr] Downloaded pin-project-internal v1.0.7 [INFO] [stderr] Downloaded pin-project v1.0.7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 14a215eaca9dddf1f7ef6d6a11ec85146e09f686ecaebde6fff8bb91c3bdacf6 [INFO] running `Command { std: "docker" "start" "-a" "14a215eaca9dddf1f7ef6d6a11ec85146e09f686ecaebde6fff8bb91c3bdacf6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "14a215eaca9dddf1f7ef6d6a11ec85146e09f686ecaebde6fff8bb91c3bdacf6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "14a215eaca9dddf1f7ef6d6a11ec85146e09f686ecaebde6fff8bb91c3bdacf6", kill_on_drop: false }` [INFO] [stdout] 14a215eaca9dddf1f7ef6d6a11ec85146e09f686ecaebde6fff8bb91c3bdacf6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d9a0847c822c8075b3a4bb2f3c8eef8f38bbb704e44b8379f0a93a0fa50c841f [INFO] running `Command { std: "docker" "start" "-a" "d9a0847c822c8075b3a4bb2f3c8eef8f38bbb704e44b8379f0a93a0fa50c841f", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.97 [INFO] [stderr] Compiling proc-macro2 v1.0.27 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.73 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling memchr v2.4.0 [INFO] [stderr] Compiling futures-core v0.3.15 [INFO] [stderr] Checking slab v0.4.3 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Compiling proc-macro-hack v0.5.19 [INFO] [stderr] Compiling cc v1.0.68 [INFO] [stderr] Compiling pkg-config v0.3.19 [INFO] [stderr] Checking pin-project-lite v0.2.6 [INFO] [stderr] Checking futures-sink v0.3.15 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Compiling futures-channel v0.3.15 [INFO] [stderr] Compiling proc-macro-nested v0.1.7 [INFO] [stderr] Compiling futures-task v0.3.15 [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Checking itoa v0.4.7 [INFO] [stderr] Checking bytes v0.5.6 [INFO] [stderr] Checking futures-io v0.3.15 [INFO] [stderr] Checking pin-project-lite v0.1.12 [INFO] [stderr] Compiling unicase v2.6.0 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Checking tracing-core v0.1.18 [INFO] [stderr] Compiling openssl v0.10.35 [INFO] [stderr] Checking matches v0.1.8 [INFO] [stderr] Compiling serde_derive v1.0.126 [INFO] [stderr] Compiling futures-macro v0.3.15 [INFO] [stderr] Compiling futures-util v0.3.15 [INFO] [stderr] Compiling indexmap v1.6.2 [INFO] [stderr] Checking foreign-types-shared v0.1.1 [INFO] [stderr] Checking bytes v1.0.1 [INFO] [stderr] Checking hashbrown v0.9.1 [INFO] [stderr] Checking foreign-types v0.3.2 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Checking ppv-lite86 v0.2.10 [INFO] [stderr] Checking tinyvec_macros v0.1.0 [INFO] [stderr] Checking tracing v0.1.26 [INFO] [stderr] Checking once_cell v1.8.0 [INFO] [stderr] Compiling httparse v1.4.1 [INFO] [stderr] Compiling native-tls v0.2.7 [INFO] [stderr] Compiling serde v1.0.126 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Checking tinyvec v1.2.0 [INFO] [stderr] Checking try-lock v0.2.3 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Checking openssl-probe v0.1.4 [INFO] [stderr] Checking percent-encoding v2.1.0 [INFO] [stderr] Checking want v0.3.0 [INFO] [stderr] Checking http v0.2.4 [INFO] [stderr] Compiling mime_guess v2.0.3 [INFO] [stderr] Checking form_urlencoded v1.0.1 [INFO] [stderr] Checking unicode-bidi v0.3.5 [INFO] [stderr] Checking net2 v0.2.37 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Checking signal-hook-registry v1.4.0 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking getrandom v0.2.3 [INFO] [stderr] Checking socket2 v0.3.19 [INFO] [stderr] Compiling serde_json v1.0.64 [INFO] [stderr] Compiling encoding_rs v0.8.28 [INFO] [stderr] Checking tower-service v0.3.1 [INFO] [stderr] Compiling openssl-sys v0.9.65 [INFO] [stderr] Checking mio v0.6.23 [INFO] [stderr] Checking httpdate v0.3.2 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking rand_core v0.6.3 [INFO] [stderr] Checking rand v0.4.6 [INFO] [stderr] Checking aho-corasick v0.7.18 [INFO] [stderr] Checking regex-syntax v0.6.25 [INFO] [stderr] Checking unicode-width v0.1.8 [INFO] [stderr] Checking mime v0.3.16 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking vec_map v0.8.2 [INFO] [stderr] Checking strsim v0.8.0 [INFO] [stderr] Checking ansi_term v0.11.0 [INFO] [stderr] Checking remove_dir_all v0.5.3 [INFO] [stderr] Checking humantime v2.1.0 [INFO] [stderr] Checking ipnet v2.3.1 [INFO] [stderr] Checking rand v0.8.4 [INFO] [stderr] Checking termcolor v1.1.2 [INFO] [stderr] Checking either v1.6.1 [INFO] [stderr] Checking base64 v0.13.0 [INFO] [stderr] Checking which v4.2.2 [INFO] [stderr] Checking clap v2.33.3 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking mio-uds v0.6.8 [INFO] [stderr] Checking unicode-normalization v0.1.19 [INFO] [stderr] Checking dotenv v0.15.0 [INFO] [stderr] Checking md5 v0.7.0 [INFO] [stderr] Checking rand v0.3.23 [INFO] [stderr] Checking random-names v0.1.3 [INFO] [stderr] Checking regex v1.5.4 [INFO] [stderr] Checking tempfile v3.2.0 [INFO] [stderr] Checking idna v0.2.3 [INFO] [stderr] Checking env_logger v0.8.4 [INFO] [stderr] Checking http-body v0.3.1 [INFO] [stderr] Checking url v2.2.2 [INFO] [stderr] Compiling tokio-macros v0.2.6 [INFO] [stderr] Compiling pin-project-internal v1.0.7 [INFO] [stderr] Compiling thiserror-impl v1.0.25 [INFO] [stderr] Checking tokio v0.2.25 [INFO] [stderr] Checking thiserror v1.0.25 [INFO] [stderr] Checking pin-project v1.0.7 [INFO] [stderr] Checking tracing-futures v0.2.5 [INFO] [stderr] Checking futures-executor v0.3.15 [INFO] [stderr] Checking futures v0.3.15 [INFO] [stderr] Checking tokio-util v0.3.1 [INFO] [stderr] Checking tokio-tls v0.3.1 [INFO] [stderr] Checking h2 v0.2.7 [INFO] [stderr] Checking serde_urlencoded v0.7.0 [INFO] [stderr] Checking hyper v0.13.10 [INFO] [stderr] Checking hyper-tls v0.4.3 [INFO] [stderr] Checking reqwest v0.10.10 [INFO] [stderr] Checking reddsaver v0.4.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: field `kind` is never read [INFO] [stdout] --> src/structures.rs:47:9 [INFO] [stdout] | [INFO] [stdout] 45 | pub struct Listing { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] 46 | /// The kind of object this is. eg: Comment, Account, Subreddit, etc. [INFO] [stdout] 47 | pub kind: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Listing` 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: field `kind` is never read [INFO] [stdout] --> src/structures.rs:47:9 [INFO] [stdout] | [INFO] [stdout] 45 | pub struct Listing { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] 46 | /// The kind of object this is. eg: Comment, Account, Subreddit, etc. [INFO] [stdout] 47 | pub kind: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Listing` 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 `modhash` and `before` are never read [INFO] [stdout] --> src/structures.rs:58:9 [INFO] [stdout] | [INFO] [stdout] 55 | pub struct ListingData { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 58 | pub modhash: Option, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 59 | pub before: Option, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ListingData` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `kind` is never read [INFO] [stdout] --> src/structures.rs:68:9 [INFO] [stdout] | [INFO] [stdout] 66 | pub struct Post { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] 67 | /// The kind of object this is. eg: Comment, Account, Subreddit, etc. [INFO] [stdout] 68 | pub kind: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Post` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `modhash` and `before` are never read [INFO] [stdout] --> src/structures.rs:58:9 [INFO] [stdout] | [INFO] [stdout] 55 | pub struct ListingData { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 58 | pub modhash: Option, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 59 | pub before: Option, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ListingData` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `kind` is never read [INFO] [stdout] --> src/structures.rs:68:9 [INFO] [stdout] | [INFO] [stdout] 66 | pub struct Post { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] 67 | /// The kind of object this is. eg: Comment, Account, Subreddit, etc. [INFO] [stdout] 68 | pub kind: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Post` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/structures.rs:78:9 [INFO] [stdout] | [INFO] [stdout] 75 | pub struct PostData { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 78 | pub id: String, [INFO] [stdout] | ^^ [INFO] [stdout] ... [INFO] [stdout] 82 | pub score: i64, [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 85 | pub thumbnail: Option, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 86 | /// The Reddit ID for the subreddit where this was posted, **including the leading `t5_`**. [INFO] [stdout] 87 | pub subreddit_id: String, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 88 | /// True if the logged-in user has saved this submission. [INFO] [stdout] 89 | pub saved: bool, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 90 | /// The permanent, long link for this submission. [INFO] [stdout] 91 | pub permalink: String, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 103 | pub created: Value, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 109 | pub created_utc: Value, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 113 | pub is_video: Option, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PostData` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `is_gif` is never read [INFO] [stdout] --> src/structures.rs:126:9 [INFO] [stdout] | [INFO] [stdout] 124 | pub struct RedditVideo { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] 125 | pub fallback_url: String, [INFO] [stdout] 126 | pub is_gif: bool, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RedditVideo` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `id` is never read [INFO] [stdout] --> src/structures.rs:140:9 [INFO] [stdout] | [INFO] [stdout] 136 | pub struct GalleryItem { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 140 | pub id: i64, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `GalleryItem` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/structures.rs:78:9 [INFO] [stdout] | [INFO] [stdout] 75 | pub struct PostData { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 78 | pub id: String, [INFO] [stdout] | ^^ [INFO] [stdout] ... [INFO] [stdout] 82 | pub score: i64, [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 85 | pub thumbnail: Option, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 86 | /// The Reddit ID for the subreddit where this was posted, **including the leading `t5_`**. [INFO] [stdout] 87 | pub subreddit_id: String, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 88 | /// True if the logged-in user has saved this submission. [INFO] [stdout] 89 | pub saved: bool, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 90 | /// The permanent, long link for this submission. [INFO] [stdout] 91 | pub permalink: String, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 103 | pub created: Value, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 109 | pub created_utc: Value, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 113 | pub is_video: Option, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PostData` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `gif_url` is never read [INFO] [stdout] --> src/structures.rs:152:9 [INFO] [stdout] | [INFO] [stdout] 150 | pub struct GfyItem { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] 151 | #[serde(rename = "gifUrl")] [INFO] [stdout] 152 | pub gif_url: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `GfyItem` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `is_gif` is never read [INFO] [stdout] --> src/structures.rs:126:9 [INFO] [stdout] | [INFO] [stdout] 124 | pub struct RedditVideo { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] 125 | pub fallback_url: String, [INFO] [stdout] 126 | pub is_gif: bool, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RedditVideo` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `id` is never read [INFO] [stdout] --> src/structures.rs:140:9 [INFO] [stdout] | [INFO] [stdout] 136 | pub struct GalleryItem { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 140 | pub id: i64, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `GalleryItem` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.borrow()` on a reference in this situation does nothing [INFO] [stdout] --> src/user.rs:99:34 [INFO] [stdout] | [INFO] [stdout] 99 | processed += response.borrow().data.dist; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the type `Listing` does not implement `Borrow`, so calling `borrow` on `&Listing` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] 99 - processed += response.borrow().data.dist; [INFO] [stdout] 99 + processed += response.data.dist; [INFO] [stdout] | [INFO] [stdout] help: if you meant to clone `Listing`, implement `Clone` for it [INFO] [stdout] --> src/structures.rs:45:1 [INFO] [stdout] | [INFO] [stdout] 45 + #[derive(Clone)] [INFO] [stdout] 46 | pub struct Listing { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `gif_url` is never read [INFO] [stdout] --> src/structures.rs:152:9 [INFO] [stdout] | [INFO] [stdout] 150 | pub struct GfyItem { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] 151 | #[serde(rename = "gifUrl")] [INFO] [stdout] 152 | pub gif_url: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `GfyItem` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.borrow()` on a reference in this situation does nothing [INFO] [stdout] --> src/user.rs:103:24 [INFO] [stdout] | [INFO] [stdout] 103 | if response.borrow().data.after.as_ref().is_none() { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the type `Listing` does not implement `Borrow`, so calling `borrow` on `&Listing` copies the reference, which does not do anything and can be removed [INFO] [stdout] help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] 103 - if response.borrow().data.after.as_ref().is_none() { [INFO] [stdout] 103 + if response.data.after.as_ref().is_none() { [INFO] [stdout] | [INFO] [stdout] help: if you meant to clone `Listing`, implement `Clone` for it [INFO] [stdout] --> src/structures.rs:45:1 [INFO] [stdout] | [INFO] [stdout] 45 + #[derive(Clone)] [INFO] [stdout] 46 | pub struct Listing { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.borrow()` on a reference in this situation does nothing [INFO] [stdout] --> src/user.rs:99:34 [INFO] [stdout] | [INFO] [stdout] 99 | processed += response.borrow().data.dist; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the type `Listing` does not implement `Borrow`, so calling `borrow` on `&Listing` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] 99 - processed += response.borrow().data.dist; [INFO] [stdout] 99 + processed += response.data.dist; [INFO] [stdout] | [INFO] [stdout] help: if you meant to clone `Listing`, implement `Clone` for it [INFO] [stdout] --> src/structures.rs:45:1 [INFO] [stdout] | [INFO] [stdout] 45 + #[derive(Clone)] [INFO] [stdout] 46 | pub struct Listing { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.borrow()` on a reference in this situation does nothing [INFO] [stdout] --> src/user.rs:108:55 [INFO] [stdout] | [INFO] [stdout] 108 | debug!("Processing till: {}", response.borrow().data.after.as_ref().unwrap()); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the type `Listing` does not implement `Borrow`, so calling `borrow` on `&Listing` copies the reference, which does not do anything and can be removed [INFO] [stdout] help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] 108 - debug!("Processing till: {}", response.borrow().data.after.as_ref().unwrap()); [INFO] [stdout] 108 + debug!("Processing till: {}", response.data.after.as_ref().unwrap()); [INFO] [stdout] | [INFO] [stdout] help: if you meant to clone `Listing`, implement `Clone` for it [INFO] [stdout] --> src/structures.rs:45:1 [INFO] [stdout] | [INFO] [stdout] 45 + #[derive(Clone)] [INFO] [stdout] 46 | pub struct Listing { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.borrow()` on a reference in this situation does nothing [INFO] [stdout] --> src/user.rs:103:24 [INFO] [stdout] | [INFO] [stdout] 103 | if response.borrow().data.after.as_ref().is_none() { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the type `Listing` does not implement `Borrow`, so calling `borrow` on `&Listing` copies the reference, which does not do anything and can be removed [INFO] [stdout] help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] 103 - if response.borrow().data.after.as_ref().is_none() { [INFO] [stdout] 103 + if response.data.after.as_ref().is_none() { [INFO] [stdout] | [INFO] [stdout] help: if you meant to clone `Listing`, implement `Clone` for it [INFO] [stdout] --> src/structures.rs:45:1 [INFO] [stdout] | [INFO] [stdout] 45 + #[derive(Clone)] [INFO] [stdout] 46 | pub struct Listing { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.borrow()` on a reference in this situation does nothing [INFO] [stdout] --> src/user.rs:109:33 [INFO] [stdout] | [INFO] [stdout] 109 | after = response.borrow().data.after.clone(); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the type `Listing` does not implement `Borrow`, so calling `borrow` on `&Listing` copies the reference, which does not do anything and can be removed [INFO] [stdout] help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] 109 - after = response.borrow().data.after.clone(); [INFO] [stdout] 109 + after = response.data.after.clone(); [INFO] [stdout] | [INFO] [stdout] help: if you meant to clone `Listing`, implement `Clone` for it [INFO] [stdout] --> src/structures.rs:45:1 [INFO] [stdout] | [INFO] [stdout] 45 + #[derive(Clone)] [INFO] [stdout] 46 | pub struct Listing { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.borrow()` on a reference in this situation does nothing [INFO] [stdout] --> src/user.rs:108:55 [INFO] [stdout] | [INFO] [stdout] 108 | debug!("Processing till: {}", response.borrow().data.after.as_ref().unwrap()); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the type `Listing` does not implement `Borrow`, so calling `borrow` on `&Listing` copies the reference, which does not do anything and can be removed [INFO] [stdout] help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] 108 - debug!("Processing till: {}", response.borrow().data.after.as_ref().unwrap()); [INFO] [stdout] 108 + debug!("Processing till: {}", response.data.after.as_ref().unwrap()); [INFO] [stdout] | [INFO] [stdout] help: if you meant to clone `Listing`, implement `Clone` for it [INFO] [stdout] --> src/structures.rs:45:1 [INFO] [stdout] | [INFO] [stdout] 45 + #[derive(Clone)] [INFO] [stdout] 46 | pub struct Listing { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.borrow()` on a reference in this situation does nothing [INFO] [stdout] --> src/user.rs:109:33 [INFO] [stdout] | [INFO] [stdout] 109 | after = response.borrow().data.after.clone(); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the type `Listing` does not implement `Borrow`, so calling `borrow` on `&Listing` copies the reference, which does not do anything and can be removed [INFO] [stdout] help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] 109 - after = response.borrow().data.after.clone(); [INFO] [stdout] 109 + after = response.data.after.clone(); [INFO] [stdout] | [INFO] [stdout] help: if you meant to clone `Listing`, implement `Clone` for it [INFO] [stdout] --> src/structures.rs:45:1 [INFO] [stdout] | [INFO] [stdout] 45 + #[derive(Clone)] [INFO] [stdout] 46 | pub struct Listing { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 29.76s [INFO] running `Command { std: "docker" "inspect" "d9a0847c822c8075b3a4bb2f3c8eef8f38bbb704e44b8379f0a93a0fa50c841f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d9a0847c822c8075b3a4bb2f3c8eef8f38bbb704e44b8379f0a93a0fa50c841f", kill_on_drop: false }` [INFO] [stdout] d9a0847c822c8075b3a4bb2f3c8eef8f38bbb704e44b8379f0a93a0fa50c841f