[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] building evanc577/twitter-archiver against try#8b8eff55bd72abbb57167bc42222a7f91d41cb0d for pr-142134-abi-ast-error [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fevanc577%2Ftwitter-archiver" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/evanc577/twitter-archiver on toolchain 8b8eff55bd72abbb57167bc42222a7f91d41cb0d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8b8eff55bd72abbb57167bc42222a7f91d41cb0d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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-2-tc2/source/Cargo.toml [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" "+8b8eff55bd72abbb57167bc42222a7f91d41cb0d" "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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+8b8eff55bd72abbb57167bc42222a7f91d41cb0d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] db86f173efb34866d5a3be29b4c30374d6d515c3c317c9014e5262d1e7aaa0e8 [INFO] running `Command { std: "docker" "start" "-a" "db86f173efb34866d5a3be29b4c30374d6d515c3c317c9014e5262d1e7aaa0e8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "db86f173efb34866d5a3be29b4c30374d6d515c3c317c9014e5262d1e7aaa0e8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "db86f173efb34866d5a3be29b4c30374d6d515c3c317c9014e5262d1e7aaa0e8", kill_on_drop: false }` [INFO] [stdout] db86f173efb34866d5a3be29b4c30374d6d515c3c317c9014e5262d1e7aaa0e8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+8b8eff55bd72abbb57167bc42222a7f91d41cb0d" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 806e85bd13a57ebb5e6a38425426c4affb2f6f4a91f648f6be340a87ec7d831c [INFO] running `Command { std: "docker" "start" "-a" "806e85bd13a57ebb5e6a38425426c4affb2f6f4a91f648f6be340a87ec7d831c", 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 autocfg v1.0.1 [INFO] [stderr] Compiling proc-macro2 v1.0.28 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.74 [INFO] [stderr] Compiling memchr v2.4.0 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling pin-project-lite v0.2.7 [INFO] [stderr] Compiling futures-core v0.3.16 [INFO] [stderr] Compiling cc v1.0.69 [INFO] [stderr] Compiling proc-macro-hack v0.5.19 [INFO] [stderr] Compiling futures-sink v0.3.16 [INFO] [stderr] Compiling bytes v1.0.1 [INFO] [stderr] Compiling futures-channel v0.3.16 [INFO] [stderr] Compiling proc-macro-nested v0.1.7 [INFO] [stderr] Compiling futures-task v0.3.16 [INFO] [stderr] Compiling once_cell v1.8.0 [INFO] [stderr] Compiling spin v0.5.2 [INFO] [stderr] Compiling itoa v0.4.7 [INFO] [stderr] Compiling untrusted v0.7.1 [INFO] [stderr] Compiling futures-io v0.3.16 [INFO] [stderr] Compiling slab v0.4.4 [INFO] [stderr] Compiling serde_derive v1.0.127 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling matches v0.1.8 [INFO] [stderr] Compiling serde v1.0.127 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Compiling http v0.2.4 [INFO] [stderr] Compiling tinyvec_macros v0.1.0 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling futures-macro v0.3.16 [INFO] [stderr] Compiling futures-util v0.3.16 [INFO] [stderr] Compiling tokio v1.9.0 [INFO] [stderr] Compiling indexmap v1.7.0 [INFO] [stderr] Compiling tracing-core v0.1.18 [INFO] [stderr] Compiling httparse v1.4.1 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling tinyvec v1.3.1 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling mio v0.7.13 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling getrandom v0.2.3 [INFO] [stderr] Compiling try-lock v0.2.3 [INFO] [stderr] Compiling base64 v0.13.0 [INFO] [stderr] Compiling tracing v0.1.26 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling form_urlencoded v1.0.1 [INFO] [stderr] Compiling socket2 v0.4.1 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling unicode-bidi v0.3.5 [INFO] [stderr] Compiling serde_json v1.0.66 [INFO] [stderr] Compiling httpdate v1.0.1 [INFO] [stderr] Compiling encoding_rs v0.8.28 [INFO] [stderr] Compiling ppv-lite86 v0.2.10 [INFO] [stderr] Compiling tower-service v0.3.1 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling dirs-sys-next v0.1.2 [INFO] [stderr] Compiling unicode-normalization v0.1.19 [INFO] [stderr] Compiling unicode-width v0.1.8 [INFO] [stderr] Compiling anyhow v1.0.42 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling dirs-next v2.0.0 [INFO] [stderr] Compiling time v0.1.43 [INFO] [stderr] Compiling ipnet v2.3.1 [INFO] [stderr] Compiling vec_map v0.8.2 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling ansi_term v0.11.0 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling remove_dir_all v0.5.3 [INFO] [stderr] Compiling mime v0.3.16 [INFO] [stderr] Compiling itertools v0.10.1 [INFO] [stderr] Compiling shellexpand v2.1.0 [INFO] [stderr] Compiling exitcode v1.1.2 [INFO] [stderr] Compiling clap v2.33.3 [INFO] [stderr] Compiling fs_extra v1.2.0 [INFO] [stderr] Compiling rand v0.8.4 [INFO] [stderr] Compiling http-body v0.4.3 [INFO] [stderr] Compiling idna v0.2.3 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Compiling url v2.2.2 [INFO] [stderr] Compiling tempfile v3.2.0 [INFO] [stderr] Compiling tokio-macros v1.3.0 [INFO] [stderr] Compiling webpki v0.21.4 [INFO] [stderr] Compiling sct v0.6.1 [INFO] [stderr] Compiling rustls v0.19.1 [INFO] [stderr] Compiling webpki-roots v0.21.1 [INFO] [stderr] Compiling futures-executor v0.3.16 [INFO] [stderr] Compiling futures v0.3.16 [INFO] [stderr] Compiling tokio-util v0.6.7 [INFO] [stderr] Compiling tokio-rustls v0.22.0 [INFO] [stderr] Compiling h2 v0.3.3 [INFO] [stderr] Compiling serde_urlencoded v0.7.0 [INFO] [stderr] Compiling toml v0.5.8 [INFO] [stderr] Compiling hyper v0.14.11 [INFO] [stderr] Compiling hyper-rustls v0.22.1 [INFO] [stderr] Compiling reqwest v0.11.4 [INFO] [stderr] Compiling 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)]` 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: 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)]` 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: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/downloader.rs:44:25 [INFO] [stdout] | [INFO] [stdout] 44 | pub fn new(config: &'a Config) -> DownloadClient { [INFO] [stdout] | ^^ -------------- the lifetime gets resolved as `'a` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to 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: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/twitter_client.rs:42:25 [INFO] [stdout] | [INFO] [stdout] 42 | pub fn new(config: &'a Config) -> TwitterClient { [INFO] [stdout] | ^^ ------------- the lifetime gets resolved as `'a` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to 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 32.07s [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 1` [INFO] running `Command { std: "docker" "inspect" "806e85bd13a57ebb5e6a38425426c4affb2f6f4a91f648f6be340a87ec7d831c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "806e85bd13a57ebb5e6a38425426c4affb2f6f4a91f648f6be340a87ec7d831c", kill_on_drop: false }` [INFO] [stdout] 806e85bd13a57ebb5e6a38425426c4affb2f6f4a91f648f6be340a87ec7d831c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+8b8eff55bd72abbb57167bc42222a7f91d41cb0d" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1277223dc8cb140cb1d849ea425dafdcb38b65af53a9cd124cc4b37ad632e6a8 [INFO] running `Command { std: "docker" "start" "-a" "1277223dc8cb140cb1d849ea425dafdcb38b65af53a9cd124cc4b37ad632e6a8", 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 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)]` 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: 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)]` 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: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/downloader.rs:44:25 [INFO] [stdout] | [INFO] [stdout] 44 | pub fn new(config: &'a Config) -> DownloadClient { [INFO] [stdout] | ^^ -------------- the lifetime gets resolved as `'a` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to 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: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/twitter_client.rs:42:25 [INFO] [stdout] | [INFO] [stdout] 42 | pub fn new(config: &'a Config) -> TwitterClient { [INFO] [stdout] | ^^ ------------- the lifetime gets resolved as `'a` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to 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 `test` profile [unoptimized + debuginfo] target(s) in 1.10s [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 1` [INFO] running `Command { std: "docker" "inspect" "1277223dc8cb140cb1d849ea425dafdcb38b65af53a9cd124cc4b37ad632e6a8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1277223dc8cb140cb1d849ea425dafdcb38b65af53a9cd124cc4b37ad632e6a8", kill_on_drop: false }` [INFO] [stdout] 1277223dc8cb140cb1d849ea425dafdcb38b65af53a9cd124cc4b37ad632e6a8