[INFO] cloning repository https://github.com/evanc577/twitter-archiver [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/evanc577/twitter-archiver" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fevanc577%2Ftwitter-archiver", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fevanc577%2Ftwitter-archiver'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] ea7a78f915ade0db2c69ba2ee4e45db105408df7 [INFO] checking evanc577/twitter-archiver against master#779e19d8baa3e3625bd4fc5c85cbb2ad47b43155 for pr-147589-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fevanc577%2Ftwitter-archiver" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/evanc577/twitter-archiver [INFO] finished tweaking git repo https://github.com/evanc577/twitter-archiver [INFO] tweaked toml for git repo https://github.com/evanc577/twitter-archiver written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/evanc577/twitter-archiver on toolchain 779e19d8baa3e3625bd4fc5c85cbb2ad47b43155 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+779e19d8baa3e3625bd4fc5c85cbb2ad47b43155" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/evanc577/twitter-archiver 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" "+779e19d8baa3e3625bd4fc5c85cbb2ad47b43155" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: `default_features` is deprecated in favor of `default-features` and will not work in the 2024 edition [INFO] [stderr] (in the `reqwest` dependency) [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded shellexpand v2.1.0 [INFO] [stderr] Downloaded hyper v0.14.11 [INFO] [stderr] Downloaded tokio v1.9.0 [INFO] [stderr] Downloaded socket2 v0.4.1 [INFO] [stderr] Downloaded tokio-macros v1.3.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+779e19d8baa3e3625bd4fc5c85cbb2ad47b43155" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0f3cad9609043704c96f67e229a6d15e03f927622788ca4be5e304c472bbe0e6 [INFO] running `Command { std: "docker" "start" "-a" "0f3cad9609043704c96f67e229a6d15e03f927622788ca4be5e304c472bbe0e6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0f3cad9609043704c96f67e229a6d15e03f927622788ca4be5e304c472bbe0e6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0f3cad9609043704c96f67e229a6d15e03f927622788ca4be5e304c472bbe0e6", kill_on_drop: false }` [INFO] [stdout] 0f3cad9609043704c96f67e229a6d15e03f927622788ca4be5e304c472bbe0e6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+779e19d8baa3e3625bd4fc5c85cbb2ad47b43155" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 158a085725a8b895cbbb34179cd37e4d72397481e2bb1a6580eaead30e80c381 [INFO] running `Command { std: "docker" "start" "-a" "158a085725a8b895cbbb34179cd37e4d72397481e2bb1a6580eaead30e80c381", kill_on_drop: false }` [INFO] [stderr] warning: `default_features` is deprecated in favor of `default-features` and will not work in the 2024 edition [INFO] [stderr] (in the `reqwest` dependency) [INFO] [stderr] Compiling libc v0.2.98 [INFO] [stderr] Compiling proc-macro2 v1.0.28 [INFO] [stderr] Compiling syn v1.0.74 [INFO] [stderr] Compiling futures-core v0.3.16 [INFO] [stderr] Compiling cc v1.0.69 [INFO] [stderr] Compiling futures-macro v0.3.16 [INFO] [stderr] Compiling futures-channel v0.3.16 [INFO] [stderr] Compiling futures-task v0.3.16 [INFO] [stderr] Checking bytes v1.0.1 [INFO] [stderr] Checking futures-sink v0.3.16 [INFO] [stderr] Compiling tokio v1.9.0 [INFO] [stderr] Compiling futures-util v0.3.16 [INFO] [stderr] Checking once_cell v1.8.0 [INFO] [stderr] Compiling serde_derive v1.0.127 [INFO] [stderr] Checking futures-io v0.3.16 [INFO] [stderr] Compiling serde v1.0.127 [INFO] [stderr] Checking tracing-core v0.1.18 [INFO] [stderr] Compiling httparse v1.4.1 [INFO] [stderr] Checking tinyvec v1.3.1 [INFO] [stderr] Checking form_urlencoded v1.0.1 [INFO] [stderr] Checking http v0.2.4 [INFO] [stderr] Checking unicode-bidi v0.3.5 [INFO] [stderr] Compiling serde_json v1.0.66 [INFO] [stderr] Compiling encoding_rs v0.8.28 [INFO] [stderr] Checking httpdate v1.0.1 [INFO] [stderr] Compiling anyhow v1.0.42 [INFO] [stderr] Checking itertools v0.10.1 [INFO] [stderr] Checking tracing v0.1.26 [INFO] [stderr] Checking exitcode v1.1.2 [INFO] [stderr] Checking fs_extra v1.2.0 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking mio v0.7.13 [INFO] [stderr] Checking getrandom v0.2.3 [INFO] [stderr] Checking socket2 v0.4.1 [INFO] [stderr] Checking dirs-sys-next v0.1.2 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking time v0.1.43 [INFO] [stderr] Checking unicode-normalization v0.1.19 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Checking clap v2.33.3 [INFO] [stderr] Checking dirs-next v2.0.0 [INFO] [stderr] Checking rand_core v0.6.3 [INFO] [stderr] Checking shellexpand v2.1.0 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.4 [INFO] [stderr] Checking http-body v0.4.3 [INFO] [stderr] Checking idna v0.2.3 [INFO] [stderr] Checking tempfile v3.2.0 [INFO] [stderr] Checking url v2.2.2 [INFO] [stderr] Checking webpki v0.21.4 [INFO] [stderr] Checking sct v0.6.1 [INFO] [stderr] Checking rustls v0.19.1 [INFO] [stderr] Checking webpki-roots v0.21.1 [INFO] [stderr] Compiling tokio-macros v1.3.0 [INFO] [stderr] Checking futures-executor v0.3.16 [INFO] [stderr] Checking futures v0.3.16 [INFO] [stderr] Checking tokio-util v0.6.7 [INFO] [stderr] Checking tokio-rustls v0.22.0 [INFO] [stderr] Checking h2 v0.3.3 [INFO] [stderr] Checking serde_urlencoded v0.7.0 [INFO] [stderr] Checking toml v0.5.8 [INFO] [stderr] Checking hyper v0.14.11 [INFO] [stderr] Checking hyper-rustls v0.22.1 [INFO] [stderr] Checking reqwest v0.11.4 [INFO] [stderr] Checking twitter_archiver v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: a method with this name may be added to the standard library in the future [INFO] [stdout] --> src/downloader.rs:271:18 [INFO] [stdout] | [INFO] [stdout] 271 | .intersperse("\n".to_string()) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: once this associated item is added to the standard library, the ambiguity may cause an error or change in behavior! [INFO] [stdout] = note: for more information, see issue #48919 [INFO] [stdout] = help: call with fully qualified syntax `itertools::Itertools::intersperse(...)` to keep using the current method [INFO] [stdout] = note: `#[warn(unstable_name_collisions)]` (part of `#[warn(future_incompatible)]`) on by default [INFO] [stdout] help: add `#![feature(iter_intersperse)]` to the crate attributes to enable `std::iter::Iterator::intersperse` [INFO] [stdout] --> src/main.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 + #![feature(iter_intersperse)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: a method with this name may be added to the standard library in the future [INFO] [stdout] --> src/downloader.rs:271:18 [INFO] [stdout] | [INFO] [stdout] 271 | .intersperse("\n".to_string()) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: once this associated item is added to the standard library, the ambiguity may cause an error or change in behavior! [INFO] [stdout] = note: for more information, see issue #48919 [INFO] [stdout] = help: call with fully qualified syntax `itertools::Itertools::intersperse(...)` to keep using the current method [INFO] [stdout] = note: `#[warn(unstable_name_collisions)]` (part of `#[warn(future_incompatible)]`) on by default [INFO] [stdout] help: add `#![feature(iter_intersperse)]` to the crate attributes to enable `std::iter::Iterator::intersperse` [INFO] [stdout] --> src/main.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 + #![feature(iter_intersperse)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: a method with this name may be added to the standard library in the future [INFO] [stdout] --> src/twitter_client.rs:86:36 [INFO] [stdout] | [INFO] [stdout] 86 | let id: String = chunk.intersperse(",").collect(); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: once this associated item is added to the standard library, the ambiguity may cause an error or change in behavior! [INFO] [stdout] = note: for more information, see issue #48919 [INFO] [stdout] = help: call with fully qualified syntax `itertools::Itertools::intersperse(...)` to keep using the current method [INFO] [stdout] help: add `#![feature(iter_intersperse)]` to the crate attributes to enable `std::iter::Iterator::intersperse` [INFO] [stdout] --> src/main.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 + #![feature(iter_intersperse)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: a method with this name may be added to the standard library in the future [INFO] [stdout] --> src/twitter_client.rs:86:36 [INFO] [stdout] | [INFO] [stdout] 86 | let id: String = chunk.intersperse(",").collect(); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: once this associated item is added to the standard library, the ambiguity may cause an error or change in behavior! [INFO] [stdout] = note: for more information, see issue #48919 [INFO] [stdout] = help: call with fully qualified syntax `itertools::Itertools::intersperse(...)` to keep using the current method [INFO] [stdout] help: add `#![feature(iter_intersperse)]` to the crate attributes to enable `std::iter::Iterator::intersperse` [INFO] [stdout] --> src/main.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 + #![feature(iter_intersperse)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `id_str` and `truncated` are never read [INFO] [stdout] --> src/tweet.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Tweet { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 8 | pub id_str: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 9 | pub full_text: String, [INFO] [stdout] 10 | pub truncated: bool, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Tweet` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `hashtags` is never read [INFO] [stdout] --> src/tweet.rs:22:9 [INFO] [stdout] | [INFO] [stdout] 21 | pub struct Entities { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] 22 | pub hashtags: Vec, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Entities` 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 `indices` and `text` are never read [INFO] [stdout] --> src/tweet.rs:28:9 [INFO] [stdout] | [INFO] [stdout] 27 | pub struct HashtagEntity { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 28 | pub indices: Vec, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 29 | pub text: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `HashtagEntity` 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 `display_url` and `indices` are never read [INFO] [stdout] --> src/tweet.rs:34:9 [INFO] [stdout] | [INFO] [stdout] 33 | pub struct UrlEntity { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 34 | pub display_url: String, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 35 | pub expanded_url: String, [INFO] [stdout] 36 | pub indices: Vec, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `UrlEntity` 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 `expanded_url`, `media_url`, and `url` are never read [INFO] [stdout] --> src/tweet.rs:47:9 [INFO] [stdout] | [INFO] [stdout] 46 | pub struct Media { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 47 | pub expanded_url: String, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 48 | pub media_url: String, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 52 | pub url: String, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Media` 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 `aspect_ratio` and `duration_millis` are never read [INFO] [stdout] --> src/tweet.rs:58:9 [INFO] [stdout] | [INFO] [stdout] 57 | pub struct VideoInfo { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 58 | pub aspect_ratio: Vec, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 59 | pub duration_millis: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `VideoInfo` 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 `content_type` is never read [INFO] [stdout] --> src/tweet.rs:66:9 [INFO] [stdout] | [INFO] [stdout] 64 | pub struct VideoVariants { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] 65 | pub bitrate: Option, [INFO] [stdout] 66 | pub content_type: String, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `VideoVariants` 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/tweet.rs:72:9 [INFO] [stdout] | [INFO] [stdout] 71 | pub struct User { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 72 | pub created_at: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 73 | pub description: String, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 74 | pub favourites_count: u64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 75 | pub followers_count: u64, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 76 | pub friends_count: u64, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 77 | pub has_extended_profile: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 78 | pub id: u64, [INFO] [stdout] | ^^ [INFO] [stdout] 79 | pub id_str: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 80 | pub listed_count: u64, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 83 | pub verified: bool, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `User` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/downloader.rs:44:39 [INFO] [stdout] | [INFO] [stdout] 44 | pub fn new(config: &'a Config) -> DownloadClient { [INFO] [stdout] | -- ^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 44 | pub fn new(config: &'a Config) -> DownloadClient<'a> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/twitter_client.rs:42:39 [INFO] [stdout] | [INFO] [stdout] 42 | pub fn new(config: &'a Config) -> TwitterClient { [INFO] [stdout] | -- ^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 42 | pub fn new(config: &'a Config) -> TwitterClient<'a> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `id_str` and `truncated` are never read [INFO] [stdout] --> src/tweet.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Tweet { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 8 | pub id_str: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 9 | pub full_text: String, [INFO] [stdout] 10 | pub truncated: bool, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Tweet` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `hashtags` is never read [INFO] [stdout] --> src/tweet.rs:22:9 [INFO] [stdout] | [INFO] [stdout] 21 | pub struct Entities { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] 22 | pub hashtags: Vec, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Entities` 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 `indices` and `text` are never read [INFO] [stdout] --> src/tweet.rs:28:9 [INFO] [stdout] | [INFO] [stdout] 27 | pub struct HashtagEntity { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 28 | pub indices: Vec, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 29 | pub text: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `HashtagEntity` 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 `display_url` and `indices` are never read [INFO] [stdout] --> src/tweet.rs:34:9 [INFO] [stdout] | [INFO] [stdout] 33 | pub struct UrlEntity { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 34 | pub display_url: String, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 35 | pub expanded_url: String, [INFO] [stdout] 36 | pub indices: Vec, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `UrlEntity` 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 `expanded_url`, `media_url`, and `url` are never read [INFO] [stdout] --> src/tweet.rs:47:9 [INFO] [stdout] | [INFO] [stdout] 46 | pub struct Media { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 47 | pub expanded_url: String, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 48 | pub media_url: String, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 52 | pub url: String, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Media` 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 `aspect_ratio` and `duration_millis` are never read [INFO] [stdout] --> src/tweet.rs:58:9 [INFO] [stdout] | [INFO] [stdout] 57 | pub struct VideoInfo { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 58 | pub aspect_ratio: Vec, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 59 | pub duration_millis: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `VideoInfo` 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 `content_type` is never read [INFO] [stdout] --> src/tweet.rs:66:9 [INFO] [stdout] | [INFO] [stdout] 64 | pub struct VideoVariants { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] 65 | pub bitrate: Option, [INFO] [stdout] 66 | pub content_type: String, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `VideoVariants` 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/tweet.rs:72:9 [INFO] [stdout] | [INFO] [stdout] 71 | pub struct User { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 72 | pub created_at: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 73 | pub description: String, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 74 | pub favourites_count: u64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 75 | pub followers_count: u64, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 76 | pub friends_count: u64, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 77 | pub has_extended_profile: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 78 | pub id: u64, [INFO] [stdout] | ^^ [INFO] [stdout] 79 | pub id_str: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 80 | pub listed_count: u64, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 83 | pub verified: bool, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `User` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/downloader.rs:44:39 [INFO] [stdout] | [INFO] [stdout] 44 | pub fn new(config: &'a Config) -> DownloadClient { [INFO] [stdout] | -- ^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 44 | pub fn new(config: &'a Config) -> DownloadClient<'a> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/twitter_client.rs:42:39 [INFO] [stdout] | [INFO] [stdout] 42 | pub fn new(config: &'a Config) -> TwitterClient { [INFO] [stdout] | -- ^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 42 | pub fn new(config: &'a Config) -> TwitterClient<'a> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 27.33s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: fs_extra v1.2.0 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 5` [INFO] running `Command { std: "docker" "inspect" "158a085725a8b895cbbb34179cd37e4d72397481e2bb1a6580eaead30e80c381", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "158a085725a8b895cbbb34179cd37e4d72397481e2bb1a6580eaead30e80c381", kill_on_drop: false }` [INFO] [stdout] 158a085725a8b895cbbb34179cd37e4d72397481e2bb1a6580eaead30e80c381