[INFO] fetching crate tgreddit 0.1.4... [INFO] testing tgreddit-0.1.4 against beta-2025-09-21 for beta-1.91-3 [INFO] extracting crate tgreddit 0.1.4 into /workspace/builds/worker-0-tc2/source [INFO] started tweaking crates.io crate tgreddit 0.1.4 [INFO] finished tweaking crates.io crate tgreddit 0.1.4 [INFO] tweaked toml for crates.io crate tgreddit 0.1.4 written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate tgreddit 0.1.4 on toolchain beta-2025-09-21 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2025-09-21" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate tgreddit 0.1.4 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" "+beta-2025-09-21" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-09-21" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b6e2897468cb73fce37e37d77e7a5f3e932acc106fba5fe88aae5da14989f4de [INFO] running `Command { std: "docker" "start" "-a" "b6e2897468cb73fce37e37d77e7a5f3e932acc106fba5fe88aae5da14989f4de", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b6e2897468cb73fce37e37d77e7a5f3e932acc106fba5fe88aae5da14989f4de", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b6e2897468cb73fce37e37d77e7a5f3e932acc106fba5fe88aae5da14989f4de", kill_on_drop: false }` [INFO] [stdout] b6e2897468cb73fce37e37d77e7a5f3e932acc106fba5fe88aae5da14989f4de [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-09-21" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ecf562e59471ee6708c80201ccc126217ad357470a378860d6a80eab1874cc18 [INFO] running `Command { std: "docker" "start" "-a" "ecf562e59471ee6708c80201ccc126217ad357470a378860d6a80eab1874cc18", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.66 [INFO] [stderr] Compiling unicode-ident v1.0.11 [INFO] [stderr] Compiling libc v0.2.147 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling once_cell v1.18.0 [INFO] [stderr] Compiling pkg-config v0.3.27 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling pin-project-lite v0.2.13 [INFO] [stderr] Compiling futures-core v0.3.28 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling futures-channel v0.3.28 [INFO] [stderr] Compiling futures-sink v0.3.28 [INFO] [stderr] Compiling futures-task v0.3.28 [INFO] [stderr] Compiling bytes v1.4.0 [INFO] [stderr] Compiling futures-util v0.3.28 [INFO] [stderr] Compiling serde v1.0.187 [INFO] [stderr] Compiling futures-io v0.3.28 [INFO] [stderr] Compiling itoa v1.0.9 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling tracing-core v0.1.31 [INFO] [stderr] Compiling unicase v2.7.0 [INFO] [stderr] Compiling openssl v0.10.56 [INFO] [stderr] Compiling log v0.4.20 [INFO] [stderr] Compiling httparse v1.8.0 [INFO] [stderr] Compiling http v0.2.9 [INFO] [stderr] Compiling hashbrown v0.12.3 [INFO] [stderr] Compiling native-tls v0.2.11 [INFO] [stderr] Compiling tinyvec v1.6.0 [INFO] [stderr] Compiling ahash v0.8.3 [INFO] [stderr] Compiling try-lock v0.2.4 [INFO] [stderr] Compiling tracing v0.1.37 [INFO] [stderr] Compiling percent-encoding v2.3.0 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling num-traits v0.2.16 [INFO] [stderr] Compiling openssl-probe v0.1.5 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Compiling mime_guess v2.0.4 [INFO] [stderr] Compiling unicode-normalization v0.1.22 [INFO] [stderr] Compiling form_urlencoded v1.2.0 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Compiling want v0.3.1 [INFO] [stderr] Compiling erasable v1.2.1 [INFO] [stderr] Compiling syn v2.0.29 [INFO] [stderr] Compiling cc v1.0.83 [INFO] [stderr] Compiling signal-hook-registry v1.4.1 [INFO] [stderr] Compiling socket2 v0.5.3 [INFO] [stderr] Compiling num_cpus v1.16.0 [INFO] [stderr] Compiling mio v0.8.8 [INFO] [stderr] Compiling time v0.1.45 [INFO] [stderr] Compiling socket2 v0.4.9 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling ryu v1.0.15 [INFO] [stderr] Compiling http-body v0.4.5 [INFO] [stderr] Compiling iana-time-zone v0.1.57 [INFO] [stderr] Compiling tower-service v0.3.2 [INFO] [stderr] Compiling serde_json v1.0.105 [INFO] [stderr] Compiling unicode-bidi v0.3.13 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling thiserror v1.0.47 [INFO] [stderr] Compiling allocator-api2 v0.2.16 [INFO] [stderr] Compiling getrandom v0.2.10 [INFO] [stderr] Compiling aho-corasick v1.0.4 [INFO] [stderr] Compiling idna v0.4.0 [INFO] [stderr] Compiling encoding_rs v0.8.33 [INFO] [stderr] Compiling chrono v0.4.26 [INFO] [stderr] Compiling either v1.9.0 [INFO] [stderr] Compiling ipnet v2.8.0 [INFO] [stderr] Compiling regex-syntax v0.7.4 [INFO] [stderr] Compiling base64 v0.21.2 [INFO] [stderr] Compiling hashbrown v0.14.0 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Compiling rustversion v1.0.14 [INFO] [stderr] Compiling convert_case v0.4.0 [INFO] [stderr] Compiling itertools v0.9.0 [INFO] [stderr] Compiling rc-box v1.2.0 [INFO] [stderr] Compiling uuid v1.4.1 [INFO] [stderr] Compiling fallible-iterator v0.2.0 [INFO] [stderr] Compiling fallible-streaming-iterator v0.1.9 [INFO] [stderr] Compiling anyhow v1.0.75 [INFO] [stderr] Compiling never v0.1.0 [INFO] [stderr] Compiling hashlink v0.8.3 [INFO] [stderr] Compiling take_mut v0.2.2 [INFO] [stderr] Compiling takecell v0.1.1 [INFO] [stderr] Compiling smallvec v1.11.0 [INFO] [stderr] Compiling signal-hook v0.3.17 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling shared_child v1.0.0 [INFO] [stderr] Compiling os_pipe v1.1.4 [INFO] [stderr] Compiling rand v0.4.6 [INFO] [stderr] Compiling termcolor v1.2.0 [INFO] [stderr] Compiling humantime v2.1.0 [INFO] [stderr] Compiling openssl-sys v0.9.91 [INFO] [stderr] Compiling libsqlite3-sys v0.25.2 [INFO] [stderr] Compiling remove_dir_all v0.5.3 [INFO] [stderr] Compiling unicode-width v0.1.10 [INFO] [stderr] Compiling zeroize v1.6.0 [INFO] [stderr] Compiling getopts v0.2.21 [INFO] [stderr] Compiling duct v0.13.6 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling strum v0.24.1 [INFO] [stderr] Compiling regex-automata v0.3.6 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling xdg v2.5.2 [INFO] [stderr] Compiling tempdir v0.3.7 [INFO] [stderr] Compiling futures-macro v0.3.28 [INFO] [stderr] Compiling tokio-macros v2.1.0 [INFO] [stderr] Compiling serde_derive v1.0.187 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling pin-project-internal v1.1.3 [INFO] [stderr] Compiling thiserror-impl v1.0.47 [INFO] [stderr] Compiling darling_core v0.13.4 [INFO] [stderr] Compiling tokio v1.32.0 [INFO] [stderr] Compiling derive_more v0.99.17 [INFO] [stderr] Compiling aquamarine v0.1.12 [INFO] [stderr] Compiling teloxide-macros v0.7.1 [INFO] [stderr] Compiling strum_macros v0.24.3 [INFO] [stderr] Compiling regex v1.9.3 [INFO] [stderr] Compiling pin-project v1.1.3 [INFO] [stderr] Compiling env_logger v0.9.3 [INFO] [stderr] Compiling darling_macro v0.13.4 [INFO] [stderr] Compiling darling v0.13.4 [INFO] [stderr] Compiling serde_with_macros v1.5.2 [INFO] [stderr] Compiling futures-executor v0.3.28 [INFO] [stderr] Compiling futures v0.3.28 [INFO] [stderr] Compiling dptree v0.3.0 [INFO] [stderr] Compiling tokio-util v0.7.8 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling tokio-stream v0.1.14 [INFO] [stderr] Compiling h2 v0.3.21 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling url v2.4.0 [INFO] [stderr] Compiling secrecy v0.8.0 [INFO] [stderr] Compiling toml v0.5.11 [INFO] [stderr] Compiling hyper v0.14.27 [INFO] [stderr] Compiling rusqlite v0.28.0 [INFO] [stderr] Compiling rusqlite_migration v1.0.2 [INFO] [stderr] Compiling hyper-tls v0.5.0 [INFO] [stderr] Compiling reqwest v0.11.20 [INFO] [stderr] Compiling teloxide-core v0.9.1 [INFO] [stderr] Compiling teloxide v0.12.2 [INFO] [stderr] Compiling tgreddit v0.1.4 (/opt/rustwide/workdir) [INFO] [stdout] warning: fields `caption` and `id` are never read [INFO] [stdout] --> src/reddit/types.rs:50:9 [INFO] [stdout] | [INFO] [stdout] 49 | pub struct GalleryDataItem { [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] 50 | pub caption: Option, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 51 | pub media_id: String, [INFO] [stdout] 52 | pub id: u32, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `GalleryDataItem` has derived impls for the traits `Clone` and `Debug`, but these are 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: fields `status`, `e`, and `mime` are never read [INFO] [stdout] --> src/reddit/types.rs:70:9 [INFO] [stdout] | [INFO] [stdout] 69 | pub struct MediaMetadata { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 70 | pub status: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 71 | pub e: String, [INFO] [stdout] | ^ [INFO] [stdout] 72 | #[serde(rename = "m")] [INFO] [stdout] 73 | pub mime: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MediaMetadata` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `created`, `is_video`, `ups`, `is_self`, `is_gallery`, and `crosspost_parent_list` are never read [INFO] [stdout] --> src/reddit/types.rs:80:9 [INFO] [stdout] | [INFO] [stdout] 78 | pub struct Post { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 79 | pub id: String, [INFO] [stdout] 80 | pub created: f32, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 83 | pub is_video: bool, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 84 | pub ups: u32, [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 88 | pub is_self: bool, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 89 | pub is_gallery: Option, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 90 | pub post_type: PostType, [INFO] [stdout] 91 | pub crosspost_parent_list: Option>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Post` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `display_name_prefixed` is never read [INFO] [stdout] --> src/reddit/types.rs:201:9 [INFO] [stdout] | [INFO] [stdout] 199 | pub struct SubredditAbout { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] 200 | pub display_name: String, [INFO] [stdout] 201 | pub display_name_prefixed: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SubredditAbout` 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 elided elsewhere is confusing [INFO] [stdout] --> src/db.rs:208:15 [INFO] [stdout] | [INFO] [stdout] 208 | fn to_sql(&self) -> Result { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided 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: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 208 | fn to_sql(&self) -> Result, rusqlite::Error> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/db.rs:214:15 [INFO] [stdout] | [INFO] [stdout] 214 | fn to_sql(&self) -> Result { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 214 | fn to_sql(&self) -> Result, rusqlite::Error> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 13s [INFO] running `Command { std: "docker" "inspect" "ecf562e59471ee6708c80201ccc126217ad357470a378860d6a80eab1874cc18", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ecf562e59471ee6708c80201ccc126217ad357470a378860d6a80eab1874cc18", kill_on_drop: false }` [INFO] [stdout] ecf562e59471ee6708c80201ccc126217ad357470a378860d6a80eab1874cc18 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-09-21" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 343f4bf4aa95dc45faf921c9994fbe9bd5128f903a5d818abe7c854c46c208a6 [INFO] running `Command { std: "docker" "start" "-a" "343f4bf4aa95dc45faf921c9994fbe9bd5128f903a5d818abe7c854c46c208a6", kill_on_drop: false }` [INFO] [stderr] Compiling tgreddit v0.1.4 (/opt/rustwide/workdir) [INFO] [stdout] warning: fields `caption` and `id` are never read [INFO] [stdout] --> src/reddit/types.rs:50:9 [INFO] [stdout] | [INFO] [stdout] 49 | pub struct GalleryDataItem { [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] 50 | pub caption: Option, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 51 | pub media_id: String, [INFO] [stdout] 52 | pub id: u32, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `GalleryDataItem` has derived impls for the traits `Clone` and `Debug`, but these are 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: fields `status`, `e`, and `mime` are never read [INFO] [stdout] --> src/reddit/types.rs:70:9 [INFO] [stdout] | [INFO] [stdout] 69 | pub struct MediaMetadata { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 70 | pub status: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 71 | pub e: String, [INFO] [stdout] | ^ [INFO] [stdout] 72 | #[serde(rename = "m")] [INFO] [stdout] 73 | pub mime: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MediaMetadata` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `created`, `is_video`, `ups`, `is_self`, `is_gallery`, and `crosspost_parent_list` are never read [INFO] [stdout] --> src/reddit/types.rs:80:9 [INFO] [stdout] | [INFO] [stdout] 78 | pub struct Post { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 79 | pub id: String, [INFO] [stdout] 80 | pub created: f32, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 83 | pub is_video: bool, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 84 | pub ups: u32, [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 88 | pub is_self: bool, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 89 | pub is_gallery: Option, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 90 | pub post_type: PostType, [INFO] [stdout] 91 | pub crosspost_parent_list: Option>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Post` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `display_name_prefixed` is never read [INFO] [stdout] --> src/reddit/types.rs:201:9 [INFO] [stdout] | [INFO] [stdout] 199 | pub struct SubredditAbout { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] 200 | pub display_name: String, [INFO] [stdout] 201 | pub display_name_prefixed: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SubredditAbout` 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 elided elsewhere is confusing [INFO] [stdout] --> src/db.rs:208:15 [INFO] [stdout] | [INFO] [stdout] 208 | fn to_sql(&self) -> Result { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided 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: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 208 | fn to_sql(&self) -> Result, rusqlite::Error> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/db.rs:214:15 [INFO] [stdout] | [INFO] [stdout] 214 | fn to_sql(&self) -> Result { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 214 | fn to_sql(&self) -> Result, rusqlite::Error> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 6.56s [INFO] running `Command { std: "docker" "inspect" "343f4bf4aa95dc45faf921c9994fbe9bd5128f903a5d818abe7c854c46c208a6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "343f4bf4aa95dc45faf921c9994fbe9bd5128f903a5d818abe7c854c46c208a6", kill_on_drop: false }` [INFO] [stdout] 343f4bf4aa95dc45faf921c9994fbe9bd5128f903a5d818abe7c854c46c208a6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-09-21" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] fc19a36fd27c639c09744282553b67d8256635d0a2015e4b82e9465567815fc5 [INFO] running `Command { std: "docker" "start" "-a" "fc19a36fd27c639c09744282553b67d8256635d0a2015e4b82e9465567815fc5", kill_on_drop: false }` [INFO] [stderr] warning: fields `caption` and `id` are never read [INFO] [stderr] --> src/reddit/types.rs:50:9 [INFO] [stderr] | [INFO] [stderr] 49 | pub struct GalleryDataItem { [INFO] [stderr] | --------------- fields in this struct [INFO] [stderr] 50 | pub caption: Option, [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] 51 | pub media_id: String, [INFO] [stderr] 52 | pub id: u32, [INFO] [stderr] | ^^ [INFO] [stderr] | [INFO] [stderr] = note: `GalleryDataItem` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: fields `status`, `e`, and `mime` are never read [INFO] [stderr] --> src/reddit/types.rs:70:9 [INFO] [stderr] | [INFO] [stderr] 69 | pub struct MediaMetadata { [INFO] [stderr] | ------------- fields in this struct [INFO] [stderr] 70 | pub status: String, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] 71 | pub e: String, [INFO] [stderr] | ^ [INFO] [stderr] 72 | #[serde(rename = "m")] [INFO] [stderr] 73 | pub mime: String, [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `MediaMetadata` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: fields `created`, `is_video`, `ups`, `is_self`, `is_gallery`, and `crosspost_parent_list` are never read [INFO] [stderr] --> src/reddit/types.rs:80:9 [INFO] [stderr] | [INFO] [stderr] 78 | pub struct Post { [INFO] [stderr] | ---- fields in this struct [INFO] [stderr] 79 | pub id: String, [INFO] [stderr] 80 | pub created: f32, [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 83 | pub is_video: bool, [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] 84 | pub ups: u32, [INFO] [stderr] | ^^^ [INFO] [stderr] ... [INFO] [stderr] 88 | pub is_self: bool, [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] 89 | pub is_gallery: Option, [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] 90 | pub post_type: PostType, [INFO] [stderr] 91 | pub crosspost_parent_list: Option>, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `Post` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: field `display_name_prefixed` is never read [INFO] [stderr] --> src/reddit/types.rs:201:9 [INFO] [stderr] | [INFO] [stderr] 199 | pub struct SubredditAbout { [INFO] [stderr] | -------------- field in this struct [INFO] [stderr] 200 | pub display_name: String, [INFO] [stderr] 201 | pub display_name_prefixed: String, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `SubredditAbout` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/db.rs:208:15 [INFO] [stderr] | [INFO] [stderr] 208 | fn to_sql(&self) -> Result { [INFO] [stderr] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 208 | fn to_sql(&self) -> Result, rusqlite::Error> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/db.rs:214:15 [INFO] [stderr] | [INFO] [stderr] 214 | fn to_sql(&self) -> Result { [INFO] [stderr] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 214 | fn to_sql(&self) -> Result, rusqlite::Error> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: `tgreddit` (bin "tgreddit" test) generated 6 warnings (run `cargo fix --bin "tgreddit" --tests` to apply 2 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.22s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/tgreddit-dfc51750be1125a2) [INFO] [stdout] [INFO] [stdout] running 10 tests [INFO] [stdout] test messages::tests::test_format_html_anchor ... ok [INFO] [stdout] test messages::tests::test_format_subscription_list ... ok [INFO] [stdout] test db::tests::test_db_unsubscribe_deletes_posts ... ok [INFO] [stdout] test db::tests::test_db_subscribe ... ok [INFO] [stdout] test db::tests::test_db_unsubscribe ... ok [INFO] [stdout] test bot::tests::test_parse_subscribe_message_only_subreddit ... ok [INFO] [stdout] test bot::tests::test_parse_subscribe_message ... ok [INFO] [stdout] test db::tests::test_db ... ok [INFO] [stdout] test bot::tests::test_parse_subscribe_message_strips_prefix ... ok [INFO] [stdout] test ytdlp::tests::test_parse_dimensions_from_path ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 10 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.08s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "fc19a36fd27c639c09744282553b67d8256635d0a2015e4b82e9465567815fc5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fc19a36fd27c639c09744282553b67d8256635d0a2015e4b82e9465567815fc5", kill_on_drop: false }` [INFO] [stdout] fc19a36fd27c639c09744282553b67d8256635d0a2015e4b82e9465567815fc5