[INFO] fetching crate tuige 0.1.0... [INFO] checking tuige-0.1.0 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] extracting crate tuige 0.1.0 into /workspace/builds/worker-6-tc2/source [INFO] validating manifest of crates.io crate tuige 0.1.0 on toolchain 4d98531622e1718ae0bc3c7a1ab9cd8938428452 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate tuige 0.1.0 [INFO] finished tweaking crates.io crate tuige 0.1.0 [INFO] tweaked toml for crates.io crate tuige 0.1.0 written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] crate crates.io crate tuige 0.1.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" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9eda066b7121e1b1bd11a598cd715d814fb307bee526985295d57610c5f87ae6 [INFO] running `Command { std: "docker" "start" "-a" "9eda066b7121e1b1bd11a598cd715d814fb307bee526985295d57610c5f87ae6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9eda066b7121e1b1bd11a598cd715d814fb307bee526985295d57610c5f87ae6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9eda066b7121e1b1bd11a598cd715d814fb307bee526985295d57610c5f87ae6", kill_on_drop: false }` [INFO] [stdout] 9eda066b7121e1b1bd11a598cd715d814fb307bee526985295d57610c5f87ae6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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 -Dtail_expr_drop_order" "-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5a09f2317fa188292c0468826e1670989614f944855ee1e567718e18fd18c8da [INFO] running `Command { std: "docker" "start" "-a" "5a09f2317fa188292c0468826e1670989614f944855ee1e567718e18fd18c8da", kill_on_drop: false }` [INFO] [stderr] Compiling cc v1.1.8 [INFO] [stderr] Checking log v0.4.22 [INFO] [stderr] Compiling libc v0.2.155 [INFO] [stderr] Checking allocator-api2 v0.2.18 [INFO] [stderr] Compiling serde v1.0.205 [INFO] [stderr] Checking simd-adler32 v0.3.7 [INFO] [stderr] Compiling syn v2.0.72 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking spin v0.9.8 [INFO] [stderr] Compiling rustix v0.38.34 [INFO] [stderr] Checking http v1.1.0 [INFO] [stderr] Checking arrayvec v0.7.4 [INFO] [stderr] Checking num-bigint v0.4.6 [INFO] [stderr] Checking aligned-vec v0.5.0 [INFO] [stderr] Compiling built v0.7.4 [INFO] [stderr] Checking nom v7.1.3 [INFO] [stderr] Checking v_frame v0.3.8 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking bytemuck v1.16.3 [INFO] [stderr] Checking miniz_oxide v0.7.4 [INFO] [stderr] Checking sharded-slab v0.1.7 [INFO] [stderr] Checking castaway v0.2.3 [INFO] [stderr] Checking itertools v0.12.1 [INFO] [stderr] Compiling simd_helpers v0.1.0 [INFO] [stderr] Checking itertools v0.13.0 [INFO] [stderr] Checking maybe-rayon v0.1.1 [INFO] [stderr] Compiling rustls v0.21.12 [INFO] [stderr] Checking quick-error v2.0.1 [INFO] [stderr] Compiling rav1e v0.7.1 [INFO] [stderr] Checking weezl v0.1.8 [INFO] [stderr] Compiling bytecheck v0.6.12 [INFO] [stderr] Checking new_debug_unreachable v1.0.6 [INFO] [stderr] Checking bitstream-io v2.5.0 [INFO] [stderr] Compiling serde_json v1.0.124 [INFO] [stderr] Checking signal-hook-registry v1.4.2 [INFO] [stderr] Checking parking_lot_core v0.9.10 [INFO] [stderr] Checking mio v1.0.1 [INFO] [stderr] Checking socket2 v0.5.7 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Checking http-body v1.0.1 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking flate2 v1.0.31 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Checking signal-hook v0.3.17 [INFO] [stderr] Checking tower-layer v0.3.3 [INFO] [stderr] Compiling noop_proc_macro v0.3.0 [INFO] [stderr] Checking imgref v1.10.1 [INFO] [stderr] Checking tracing-subscriber v0.3.18 [INFO] [stderr] Checking compact_str v0.8.0 [INFO] [stderr] Checking rgb v0.8.48 [INFO] [stderr] Checking avif-serialize v0.8.1 [INFO] [stderr] Checking loop9 v0.1.5 [INFO] [stderr] Checking signal-hook-mio v0.2.4 [INFO] [stderr] Checking fdeflate v0.3.4 [INFO] [stderr] Checking zune-inflate v0.2.54 [INFO] [stderr] Checking flume v0.11.0 [INFO] [stderr] Checking half v2.4.1 [INFO] [stderr] Checking num-rational v0.4.2 [INFO] [stderr] Checking bit_field v0.10.2 [INFO] [stderr] Checking color_quant v1.1.0 [INFO] [stderr] Checking zune-core v0.4.12 [INFO] [stderr] Checking cassowary v0.3.0 [INFO] [stderr] Checking lebe v0.5.2 [INFO] [stderr] Checking simdutf8 v0.1.4 [INFO] [stderr] Checking jpeg-decoder v0.3.1 [INFO] [stderr] Compiling rend v0.4.2 [INFO] [stderr] Checking byteorder-lite v0.1.0 [INFO] [stderr] Checking gif v0.13.1 [INFO] [stderr] Checking zune-jpeg v0.4.13 [INFO] [stderr] Checking exr v1.72.0 [INFO] [stderr] Checking unicode-truncate v1.1.0 [INFO] [stderr] Checking av1-grain v0.2.3 [INFO] [stderr] Checking png v0.17.13 [INFO] [stderr] Checking ahash v0.7.8 [INFO] [stderr] Checking qoi v0.4.1 [INFO] [stderr] Checking sha2 v0.10.8 [INFO] [stderr] Checking sha-1 v0.10.1 [INFO] [stderr] Checking object v0.32.2 [INFO] [stderr] Checking image-webp v0.1.3 [INFO] [stderr] Compiling openssl-sys v0.9.103 [INFO] [stderr] Compiling ring v0.17.8 [INFO] [stderr] Compiling backtrace v0.3.71 [INFO] [stderr] Compiling blake3 v1.5.3 [INFO] [stderr] Checking rustls-pki-types v1.8.0 [INFO] [stderr] Checking winnow v0.6.18 [INFO] [stderr] Compiling rkyv v0.7.44 [INFO] [stderr] Checking tiff v0.9.1 [INFO] [stderr] Checking crossterm v0.28.1 [INFO] [stderr] Checking option-ext v0.2.0 [INFO] [stderr] Checking xxhash-rust v0.8.12 [INFO] [stderr] Checking tempfile v3.12.0 [INFO] [stderr] Checking dirs-sys v0.4.1 [INFO] [stderr] Checking rustls-pemfile v2.1.3 [INFO] [stderr] Checking reflink-copy v0.1.19 [INFO] [stderr] Checking chrono v0.4.38 [INFO] [stderr] Compiling openssl v0.10.66 [INFO] [stderr] Compiling native-tls v0.2.12 [INFO] [stderr] Checking hashbrown v0.12.3 [INFO] [stderr] Checking rustls-native-certs v0.6.3 [INFO] [stderr] Checking memmap2 v0.5.10 [INFO] [stderr] Checking sha1 v0.10.6 [INFO] [stderr] Checking seahash v4.1.0 [INFO] [stderr] Checking icy_sixel v0.1.2 [INFO] [stderr] Checking constant_time_eq v0.3.0 [INFO] [stderr] Checking dirs v5.0.1 [INFO] [stderr] Compiling ptr_meta_derive v0.1.4 [INFO] [stderr] Compiling bytecheck_derive v0.6.12 [INFO] [stderr] Compiling rkyv_derive v0.7.44 [INFO] [stderr] Checking ptr_meta v0.1.4 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling tokio-macros v2.4.0 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Compiling serde_derive v1.0.205 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling thiserror-impl v1.0.63 [INFO] [stderr] Compiling profiling-procmacros v1.0.15 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling pin-project-internal v1.1.5 [INFO] [stderr] Compiling num-derive v0.4.2 [INFO] [stderr] Compiling arg_enum_proc_macro v0.3.4 [INFO] [stderr] Compiling strum_macros v0.26.4 [INFO] [stderr] Compiling miette-derive v5.10.0 [INFO] [stderr] Compiling instability v0.3.2 [INFO] [stderr] Checking profiling v1.0.15 [INFO] [stderr] Checking tokio v1.39.2 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Checking zerocopy v0.7.35 [INFO] [stderr] Checking thiserror v1.0.63 [INFO] [stderr] Checking miette v5.10.0 [INFO] [stderr] Checking pin-project v1.1.5 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Checking ahash v0.8.11 [INFO] [stderr] Checking ppv-lite86 v0.2.20 [INFO] [stderr] Checking strum v0.26.3 [INFO] [stderr] Checking tracing-error v0.2.0 [INFO] [stderr] Checking hashbrown v0.14.5 [INFO] [stderr] Checking color-spantrace v0.2.1 [INFO] [stderr] Checking color-eyre v0.6.3 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking sct v0.7.1 [INFO] [stderr] Checking rustls-webpki v0.101.7 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking indexmap v2.3.0 [INFO] [stderr] Checking lru v0.12.4 [INFO] [stderr] Checking ratatui v0.28.0 [INFO] [stderr] Checking futures-executor v0.3.30 [INFO] [stderr] Checking http-body-util v0.1.2 [INFO] [stderr] Checking futures v0.3.30 [INFO] [stderr] Checking tui-textarea v0.6.1 [INFO] [stderr] Checking toml_datetime v0.6.8 [INFO] [stderr] Checking serde_spanned v0.6.7 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking ssri v9.2.0 [INFO] [stderr] Checking triomphe v0.1.13 [INFO] [stderr] Checking tokio-util v0.7.11 [INFO] [stderr] Checking tower v0.4.13 [INFO] [stderr] Checking tokio-stream v0.1.15 [INFO] [stderr] Checking tokio-native-tls v0.3.1 [INFO] [stderr] Checking tokio-rustls v0.24.1 [INFO] [stderr] Checking toml_edit v0.22.20 [INFO] [stderr] Checking tmi v0.7.2 [INFO] [stderr] Checking cacache v13.0.0 [INFO] [stderr] Checking ravif v0.11.10 [INFO] [stderr] Checking h2 v0.4.5 [INFO] [stderr] Checking image v0.25.2 [INFO] [stderr] Checking toml v0.8.19 [INFO] [stderr] Checking hyper v1.4.1 [INFO] [stderr] Checking ratatui-image v1.0.5 [INFO] [stderr] Checking hyper-util v0.1.7 [INFO] [stderr] Checking hyper-tls v0.6.0 [INFO] [stderr] Checking reqwest v0.12.5 [INFO] [stderr] Checking tuige v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Value` [INFO] [stdout] --> src/event.rs:13:22 [INFO] [stdout] | [INFO] [stdout] 13 | request::{Cache, Value}, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Value` [INFO] [stdout] --> src/event.rs:13:22 [INFO] [stdout] | [INFO] [stdout] 13 | request::{Cache, Value}, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `cache` is never read [INFO] [stdout] --> src/event.rs:46:5 [INFO] [stdout] | [INFO] [stdout] 42 | pub struct EventHandler { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 46 | cache: Cache, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `http`, `disk_cache_dir`, and `lru` are never read [INFO] [stdout] --> src/request.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct Cache { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 10 | http: reqwest::Client, [INFO] [stdout] | ^^^^ [INFO] [stdout] 11 | disk_cache_dir: String, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 12 | lru: lru::LruCache, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/request.rs:24:14 [INFO] [stdout] | [INFO] [stdout] 15 | impl Cache { [INFO] [stdout] | ---------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 24 | async fn read_cache( [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 46 | async fn write_cache( [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 60 | async fn write_disk_cache(&mut self, key: &str, val: &RawCacheValue) -> eyre::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 66 | async fn read_disk_cache_bytes>>(dir: &str, key: &str) -> eyre::Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 71 | async fn write_disk_cache_bytes>( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 80 | async fn cache< [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 109 | pub async fn get_client_id(&mut self, token: &str) -> eyre::Result<&Value> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 136 | pub async fn get_user_id( [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 170 | pub async fn get_global_emotes( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CacheValueDescriptor` is never constructed [INFO] [stdout] --> src/request.rs:240:8 [INFO] [stdout] | [INFO] [stdout] 240 | struct CacheValueDescriptor<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/request.rs:247:14 [INFO] [stdout] | [INFO] [stdout] 247 | ClientId(String), [INFO] [stdout] | -------- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Value` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 247 | ClientId(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/request.rs:248:12 [INFO] [stdout] | [INFO] [stdout] 248 | UserId(String), [INFO] [stdout] | ------ ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Value` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 248 | UserId(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/request.rs:249:14 [INFO] [stdout] | [INFO] [stdout] 249 | EmoteSet(Vec), [INFO] [stdout] | -------- ^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Value` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 249 | EmoteSet(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `name` and `image` are never read [INFO] [stdout] --> src/request.rs:266:5 [INFO] [stdout] | [INFO] [stdout] 265 | pub struct Emote { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 266 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 267 | image: DynamicImage, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Emote` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `transcode_from_bytes` is never used [INFO] [stdout] --> src/request.rs:284:8 [INFO] [stdout] | [INFO] [stdout] 282 | impl Emote { [INFO] [stdout] | ---------- associated function in this implementation [INFO] [stdout] 283 | /// Returns both RawEmote and Emote for caching [INFO] [stdout] 284 | fn transcode_from_bytes(name: String, bytes: &[u8]) -> eyre::Result<(RawEmote, Emote)> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `from_image` is never used [INFO] [stdout] --> src/request.rs:310:8 [INFO] [stdout] | [INFO] [stdout] 309 | impl RawEmote { [INFO] [stdout] | ------------- associated function in this implementation [INFO] [stdout] 310 | fn from_image(name: String, image: &image::DynamicImage) -> eyre::Result { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `client_id` is never read [INFO] [stdout] --> src/request.rs:327:17 [INFO] [stdout] | [INFO] [stdout] 326 | pub struct Validate { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] 327 | pub client_id: String, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `data` is never read [INFO] [stdout] --> src/request.rs:332:17 [INFO] [stdout] | [INFO] [stdout] 331 | pub struct User { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] 332 | pub data: Vec, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `id` is never read [INFO] [stdout] --> src/request.rs:337:17 [INFO] [stdout] | [INFO] [stdout] 336 | pub struct UserData { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] 337 | pub id: String, [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `data` is never read [INFO] [stdout] --> src/request.rs:342:17 [INFO] [stdout] | [INFO] [stdout] 341 | pub struct GlobalEmotes { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] 342 | pub data: Vec, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `name`, `id`, and `images` are never read [INFO] [stdout] --> src/request.rs:347:17 [INFO] [stdout] | [INFO] [stdout] 346 | pub struct GlobalEmoteData { [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] 347 | pub name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 348 | pub id: String, [INFO] [stdout] | ^^ [INFO] [stdout] 349 | pub images: HashMap, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/main.rs:17:54 [INFO] [stdout] | [INFO] [stdout] 12 | let cfg = config::from_config_dir()?; [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 17 | Tui.run(cfg, cache_dir.to_str().unwrap().into()).await [INFO] [stdout] | ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/config.rs:23:8 [INFO] [stdout] | [INFO] [stdout] 23 | Ok(Arc::new( [INFO] [stdout] | ________^ [INFO] [stdout] 24 | | std::fs::read_to_string(&dir).map(|s| toml::from_str::(&s))??, [INFO] [stdout] 25 | | )) [INFO] [stdout] | | ^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_____| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/event.rs:60:20 [INFO] [stdout] | [INFO] [stdout] 51 | cfg: Config, [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 52 | disk_cache_dir: String, [INFO] [stdout] 53 | event_tx: UnboundedSender, [INFO] [stdout] | --------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 54 | handler_rx: UnboundedReceiver, [INFO] [stdout] | --------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 60 | cache: Cache::new(disk_cache_dir), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/request.rs:204:38 [INFO] [stdout] | [INFO] [stdout] 202 | let http = http.clone(); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 203 | let token = token.clone(); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 204 | tokio::spawn(async move { [INFO] [stdout] | ______________________________________^ [INFO] [stdout] 205 | | let image_1x = emote.images.get("url_1x").unwrap(); [INFO] [stdout] 206 | | [INFO] [stdout] 207 | | // download emote [INFO] [stdout] ... | [INFO] [stdout] 212 | | Emote::transcode_from_bytes(emote.name, &resp) [INFO] [stdout] 213 | | }) [INFO] [stdout] | |_________________________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/tui.rs:101:19 [INFO] [stdout] | [INFO] [stdout] 92 | mention_finder: memchr::memmem::Finder<'a>, [INFO] [stdout] | ------------------------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 93 | handler_tx: UnboundedSender, [INFO] [stdout] | ------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 94 | cfg: Config, [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 101 | tabs: IndexMap::default(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors; 16 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `cache` is never read [INFO] [stdout] --> src/event.rs:46:5 [INFO] [stdout] | [INFO] [stdout] 42 | pub struct EventHandler { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 46 | cache: Cache, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `http`, `disk_cache_dir`, and `lru` are never read [INFO] [stdout] --> src/request.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct Cache { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 10 | http: reqwest::Client, [INFO] [stdout] | ^^^^ [INFO] [stdout] 11 | disk_cache_dir: String, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 12 | lru: lru::LruCache, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/request.rs:24:14 [INFO] [stdout] | [INFO] [stdout] 15 | impl Cache { [INFO] [stdout] | ---------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 24 | async fn read_cache( [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 46 | async fn write_cache( [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 60 | async fn write_disk_cache(&mut self, key: &str, val: &RawCacheValue) -> eyre::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 66 | async fn read_disk_cache_bytes>>(dir: &str, key: &str) -> eyre::Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 71 | async fn write_disk_cache_bytes>( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 80 | async fn cache< [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 109 | pub async fn get_client_id(&mut self, token: &str) -> eyre::Result<&Value> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 136 | pub async fn get_user_id( [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 170 | pub async fn get_global_emotes( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CacheValueDescriptor` is never constructed [INFO] [stdout] --> src/request.rs:240:8 [INFO] [stdout] | [INFO] [stdout] 240 | struct CacheValueDescriptor<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/request.rs:247:14 [INFO] [stdout] | [INFO] [stdout] 247 | ClientId(String), [INFO] [stdout] | -------- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Value` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 247 | ClientId(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/request.rs:248:12 [INFO] [stdout] | [INFO] [stdout] 248 | UserId(String), [INFO] [stdout] | ------ ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Value` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 248 | UserId(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/request.rs:249:14 [INFO] [stdout] | [INFO] [stdout] 249 | EmoteSet(Vec), [INFO] [stdout] | -------- ^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Value` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 249 | EmoteSet(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `name` and `image` are never read [INFO] [stdout] --> src/request.rs:266:5 [INFO] [stdout] | [INFO] [stdout] 265 | pub struct Emote { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 266 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 267 | image: DynamicImage, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Emote` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `transcode_from_bytes` is never used [INFO] [stdout] --> src/request.rs:284:8 [INFO] [stdout] | [INFO] [stdout] 282 | impl Emote { [INFO] [stdout] | ---------- associated function in this implementation [INFO] [stdout] 283 | /// Returns both RawEmote and Emote for caching [INFO] [stdout] 284 | fn transcode_from_bytes(name: String, bytes: &[u8]) -> eyre::Result<(RawEmote, Emote)> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `from_image` is never used [INFO] [stdout] --> src/request.rs:310:8 [INFO] [stdout] | [INFO] [stdout] 309 | impl RawEmote { [INFO] [stdout] | ------------- associated function in this implementation [INFO] [stdout] 310 | fn from_image(name: String, image: &image::DynamicImage) -> eyre::Result { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `client_id` is never read [INFO] [stdout] --> src/request.rs:327:17 [INFO] [stdout] | [INFO] [stdout] 326 | pub struct Validate { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] 327 | pub client_id: String, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `data` is never read [INFO] [stdout] --> src/request.rs:332:17 [INFO] [stdout] | [INFO] [stdout] 331 | pub struct User { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] 332 | pub data: Vec, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `id` is never read [INFO] [stdout] --> src/request.rs:337:17 [INFO] [stdout] | [INFO] [stdout] 336 | pub struct UserData { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] 337 | pub id: String, [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `data` is never read [INFO] [stdout] --> src/request.rs:342:17 [INFO] [stdout] | [INFO] [stdout] 341 | pub struct GlobalEmotes { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] 342 | pub data: Vec, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `name`, `id`, and `images` are never read [INFO] [stdout] --> src/request.rs:347:17 [INFO] [stdout] | [INFO] [stdout] 346 | pub struct GlobalEmoteData { [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] 347 | pub name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 348 | pub id: String, [INFO] [stdout] | ^^ [INFO] [stdout] 349 | pub images: HashMap, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/main.rs:17:54 [INFO] [stdout] | [INFO] [stdout] 12 | let cfg = config::from_config_dir()?; [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 17 | Tui.run(cfg, cache_dir.to_str().unwrap().into()).await [INFO] [stdout] | ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/config.rs:23:8 [INFO] [stdout] | [INFO] [stdout] 23 | Ok(Arc::new( [INFO] [stdout] | ________^ [INFO] [stdout] 24 | | std::fs::read_to_string(&dir).map(|s| toml::from_str::(&s))??, [INFO] [stdout] 25 | | )) [INFO] [stdout] | | ^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_____| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/event.rs:60:20 [INFO] [stdout] | [INFO] [stdout] 51 | cfg: Config, [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 52 | disk_cache_dir: String, [INFO] [stdout] 53 | event_tx: UnboundedSender, [INFO] [stdout] | --------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 54 | handler_rx: UnboundedReceiver, [INFO] [stdout] | --------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 60 | cache: Cache::new(disk_cache_dir), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/request.rs:204:38 [INFO] [stdout] | [INFO] [stdout] 202 | let http = http.clone(); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 203 | let token = token.clone(); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 204 | tokio::spawn(async move { [INFO] [stdout] | ______________________________________^ [INFO] [stdout] 205 | | let image_1x = emote.images.get("url_1x").unwrap(); [INFO] [stdout] 206 | | [INFO] [stdout] 207 | | // download emote [INFO] [stdout] ... | [INFO] [stdout] 212 | | Emote::transcode_from_bytes(emote.name, &resp) [INFO] [stdout] 213 | | }) [INFO] [stdout] | |_________________________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/tui.rs:101:19 [INFO] [stdout] | [INFO] [stdout] 92 | mention_finder: memchr::memmem::Finder<'a>, [INFO] [stdout] | ------------------------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 93 | handler_tx: UnboundedSender, [INFO] [stdout] | ------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 94 | cfg: Config, [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 101 | tabs: IndexMap::default(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `tuige` (bin "tuige" test) due to 6 previous errors; 16 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 5 previous errors; 16 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `tuige` (bin "tuige") due to 6 previous errors; 16 warnings emitted [INFO] running `Command { std: "docker" "inspect" "5a09f2317fa188292c0468826e1670989614f944855ee1e567718e18fd18c8da", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5a09f2317fa188292c0468826e1670989614f944855ee1e567718e18fd18c8da", kill_on_drop: false }` [INFO] [stdout] 5a09f2317fa188292c0468826e1670989614f944855ee1e567718e18fd18c8da