[INFO] cloning repository https://github.com/ValgrindLLVM/no-future-bot [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ValgrindLLVM/no-future-bot" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FValgrindLLVM%2Fno-future-bot", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FValgrindLLVM%2Fno-future-bot'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 0816665cf54e34bc84d80a537500c939e434b409 [INFO] testing ValgrindLLVM/no-future-bot against beta-2025-09-21 for beta-1.91-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FValgrindLLVM%2Fno-future-bot" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/ValgrindLLVM/no-future-bot [INFO] finished tweaking git repo https://github.com/ValgrindLLVM/no-future-bot [INFO] tweaked toml for git repo https://github.com/ValgrindLLVM/no-future-bot written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/ValgrindLLVM/no-future-bot 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 git repo https://github.com/ValgrindLLVM/no-future-bot 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-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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] 8fa42a781e31a7f4d4f6e1c02c9e13bed6905b92994c2a9fc6ebe5a7c8a8c684 [INFO] running `Command { std: "docker" "start" "-a" "8fa42a781e31a7f4d4f6e1c02c9e13bed6905b92994c2a9fc6ebe5a7c8a8c684", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8fa42a781e31a7f4d4f6e1c02c9e13bed6905b92994c2a9fc6ebe5a7c8a8c684", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8fa42a781e31a7f4d4f6e1c02c9e13bed6905b92994c2a9fc6ebe5a7c8a8c684", kill_on_drop: false }` [INFO] [stdout] 8fa42a781e31a7f4d4f6e1c02c9e13bed6905b92994c2a9fc6ebe5a7c8a8c684 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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] 0e6769d53055e216ce5fd43d5a7feef6933022b8d10dcc3896a3828b46b4abe5 [INFO] running `Command { std: "docker" "start" "-a" "0e6769d53055e216ce5fd43d5a7feef6933022b8d10dcc3896a3828b46b4abe5", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.44 [INFO] [stderr] Compiling unicode-ident v1.0.4 [INFO] [stderr] Compiling syn v1.0.100 [INFO] [stderr] Compiling libc v0.2.133 [INFO] [stderr] Compiling once_cell v1.15.0 [INFO] [stderr] Compiling futures-core v0.3.24 [INFO] [stderr] Compiling serde_derive v1.0.145 [INFO] [stderr] Compiling value-bag v1.0.0-alpha.9 [INFO] [stderr] Compiling cc v1.0.73 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Compiling bytes v1.2.1 [INFO] [stderr] Compiling serde v1.0.145 [INFO] [stderr] Compiling itoa v1.0.3 [INFO] [stderr] Compiling futures-task v0.3.24 [INFO] [stderr] Compiling generic-array v0.14.6 [INFO] [stderr] Compiling futures-channel v0.3.24 [INFO] [stderr] Compiling futures-io v0.3.24 [INFO] [stderr] Compiling ahash v0.7.6 [INFO] [stderr] Compiling tokio v1.21.1 [INFO] [stderr] Compiling futures-sink v0.3.24 [INFO] [stderr] Compiling futures-util v0.3.24 [INFO] [stderr] Compiling percent-encoding v2.2.0 [INFO] [stderr] Compiling subtle v2.4.1 [INFO] [stderr] Compiling unicode-segmentation v1.10.0 [INFO] [stderr] Compiling indexmap v1.9.1 [INFO] [stderr] Compiling rustls v0.20.6 [INFO] [stderr] Compiling num_threads v0.1.6 [INFO] [stderr] Compiling cpufeatures v0.2.5 [INFO] [stderr] Compiling tracing-core v0.1.29 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling lock_api v0.4.9 [INFO] [stderr] Compiling either v1.8.0 [INFO] [stderr] Compiling serde_json v1.0.85 [INFO] [stderr] Compiling ryu v1.0.11 [INFO] [stderr] Compiling base64 v0.13.0 [INFO] [stderr] Compiling unicode-normalization v0.1.22 [INFO] [stderr] Compiling thiserror v1.0.37 [INFO] [stderr] Compiling form_urlencoded v1.1.0 [INFO] [stderr] Compiling iana-time-zone v0.1.50 [INFO] [stderr] Compiling block-buffer v0.10.3 [INFO] [stderr] Compiling rust_decimal v1.26.1 [INFO] [stderr] Compiling http v0.2.8 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Compiling parking_lot_core v0.8.5 [INFO] [stderr] Compiling spin v0.9.4 [INFO] [stderr] Compiling heck v0.4.0 [INFO] [stderr] Compiling instant v0.1.12 [INFO] [stderr] Compiling rustls-pemfile v1.0.1 [INFO] [stderr] Compiling crossbeam-queue v0.3.6 [INFO] [stderr] Compiling quote v1.0.21 [INFO] [stderr] Compiling num-bigint v0.4.3 [INFO] [stderr] Compiling idna v0.3.0 [INFO] [stderr] Compiling getrandom v0.2.7 [INFO] [stderr] Compiling socket2 v0.4.7 [INFO] [stderr] Compiling num_cpus v1.13.1 [INFO] [stderr] Compiling signal-hook-registry v1.4.0 [INFO] [stderr] Compiling mio v0.8.4 [INFO] [stderr] Compiling dirs-sys v0.3.7 [INFO] [stderr] Compiling time v0.3.14 [INFO] [stderr] Compiling proc-macro2-diagnostics v0.9.1 [INFO] [stderr] Compiling crossbeam-utils v0.8.12 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling dirs v4.0.0 [INFO] [stderr] Compiling hashbrown v0.12.3 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling openssl-sys v0.9.75 [INFO] [stderr] Compiling libsqlite3-sys v0.24.2 [INFO] [stderr] Compiling httpdate v1.0.2 [INFO] [stderr] Compiling digest v0.10.5 [INFO] [stderr] Compiling nom v7.1.1 [INFO] [stderr] Compiling parking_lot v0.11.2 [INFO] [stderr] Compiling dotenvy v0.15.5 [INFO] [stderr] Compiling sha2 v0.10.6 [INFO] [stderr] Compiling http-body v0.4.5 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling yansi v0.5.1 [INFO] [stderr] Compiling unicode_categories v0.1.1 [INFO] [stderr] Compiling crc-catalog v2.1.0 [INFO] [stderr] Compiling crc v3.0.0 [INFO] [stderr] Compiling hashlink v0.8.1 [INFO] [stderr] Compiling futures-intrusive v0.4.0 [INFO] [stderr] Compiling stringprep v0.1.2 [INFO] [stderr] Compiling inout v0.1.3 [INFO] [stderr] Compiling atoi v1.0.0 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling cipher v0.4.3 [INFO] [stderr] Compiling universal-hash v0.5.0 [INFO] [stderr] Compiling url v2.3.1 [INFO] [stderr] Compiling chrono v0.4.22 [INFO] [stderr] Compiling fastrand v1.8.0 [INFO] [stderr] Compiling uuid v1.1.2 [INFO] [stderr] Compiling rustversion v1.0.9 [INFO] [stderr] Compiling openssl v0.10.41 [INFO] [stderr] Compiling polyval v0.6.0 [INFO] [stderr] Compiling encoding_rs v0.8.31 [INFO] [stderr] Compiling cache-padded v1.2.0 [INFO] [stderr] Compiling native-tls v0.2.10 [INFO] [stderr] Compiling async-trait v0.1.57 [INFO] [stderr] Compiling concurrent-queue v1.2.4 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling ghash v0.5.0 [INFO] [stderr] Compiling aes v0.8.1 [INFO] [stderr] Compiling ctr v0.9.1 [INFO] [stderr] Compiling futures-executor v0.3.24 [INFO] [stderr] Compiling sqlformat v0.2.0 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling aead v0.5.1 [INFO] [stderr] Compiling cookie v0.16.1 [INFO] [stderr] Compiling parking v2.0.0 [INFO] [stderr] Compiling Inflector v0.11.4 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling hkdf v0.12.3 [INFO] [stderr] Compiling erasable v1.2.1 [INFO] [stderr] Compiling aes-gcm v0.10.1 [INFO] [stderr] Compiling futures-lite v1.12.0 [INFO] [stderr] Compiling polling v2.3.0 [INFO] [stderr] Compiling inlinable_string v0.1.15 [INFO] [stderr] Compiling aliasable v0.1.3 [INFO] [stderr] Compiling ref-cast v1.0.9 [INFO] [stderr] Compiling regex-automata v0.1.10 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling aho-corasick v0.7.19 [INFO] [stderr] Compiling async-io v1.9.0 [INFO] [stderr] Compiling uncased v0.9.7 [INFO] [stderr] Compiling os_str_bytes v6.3.0 [INFO] [stderr] Compiling async-task v4.3.0 [INFO] [stderr] Compiling sharded-slab v0.1.4 [INFO] [stderr] Compiling async-channel v1.7.1 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling clap_lex v0.2.4 [INFO] [stderr] Compiling tracing v0.1.36 [INFO] [stderr] Compiling matchers v0.1.0 [INFO] [stderr] Compiling thread_local v1.1.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling darling_core v0.13.4 [INFO] [stderr] Compiling webpki v0.22.0 [INFO] [stderr] Compiling sct v0.7.0 [INFO] [stderr] Compiling stable-pattern v0.1.0 [INFO] [stderr] Compiling devise_core v0.3.1 [INFO] [stderr] Compiling regex v1.6.0 [INFO] [stderr] Compiling parking_lot_core v0.9.3 [INFO] [stderr] Compiling state v0.5.3 [INFO] [stderr] Compiling atomic-waker v1.0.0 [INFO] [stderr] Compiling webpki-roots v0.22.5 [INFO] [stderr] Compiling ansi_term v0.12.1 [INFO] [stderr] Compiling textwrap v0.15.1 [INFO] [stderr] Compiling ipnet v2.5.0 [INFO] [stderr] Compiling futures v0.3.24 [INFO] [stderr] Compiling blocking v1.2.0 [INFO] [stderr] Compiling rc-box v1.2.0 [INFO] [stderr] Compiling tokio-stream v0.1.10 [INFO] [stderr] Compiling hyper v0.14.20 [INFO] [stderr] Compiling async-executor v1.4.1 [INFO] [stderr] Compiling async-lock v2.5.0 [INFO] [stderr] Compiling itertools v0.9.0 [INFO] [stderr] Compiling atomic v0.5.1 [INFO] [stderr] Compiling figment v0.10.7 [INFO] [stderr] Compiling multer v2.0.4 [INFO] [stderr] Compiling takecell v0.1.1 [INFO] [stderr] Compiling never v0.1.0 [INFO] [stderr] Compiling take_mut v0.2.2 [INFO] [stderr] Compiling rocket v0.5.0-rc.2 [INFO] [stderr] Compiling glob v0.3.0 [INFO] [stderr] Compiling unicode-xid v0.2.4 [INFO] [stderr] Compiling tempfile v3.3.0 [INFO] [stderr] Compiling binascii v0.1.4 [INFO] [stderr] Compiling urlencoding v2.1.2 [INFO] [stderr] Compiling parking_lot v0.12.1 [INFO] [stderr] Compiling ctor v0.1.23 [INFO] [stderr] Compiling tokio-macros v1.8.0 [INFO] [stderr] Compiling futures-macro v0.3.24 [INFO] [stderr] Compiling tracing-attributes v0.1.22 [INFO] [stderr] Compiling thiserror-impl v1.0.37 [INFO] [stderr] Compiling pin-project-internal v1.0.12 [INFO] [stderr] Compiling openssl-macros v0.1.0 [INFO] [stderr] Compiling async-stream-impl v0.3.3 [INFO] [stderr] Compiling bae v0.1.7 [INFO] [stderr] Compiling tokio-rustls v0.23.4 [INFO] [stderr] Compiling sqlx-rt v0.6.2 [INFO] [stderr] Compiling async-stream v0.3.3 [INFO] [stderr] Compiling sea-strum_macros v0.23.0 [INFO] [stderr] Compiling ouroboros_macro v0.15.5 [INFO] [stderr] Compiling pear_codegen v0.2.3 [INFO] [stderr] Compiling pin-project v1.0.12 [INFO] [stderr] Compiling sea-orm-macros v0.10.1 [INFO] [stderr] Compiling flume v0.10.14 [INFO] [stderr] Compiling sea-query-derive v0.2.0 [INFO] [stderr] Compiling darling_macro v0.13.4 [INFO] [stderr] Compiling pear v0.2.3 [INFO] [stderr] Compiling ref-cast-impl v1.0.9 [INFO] [stderr] Compiling tracing-log v0.1.3 [INFO] [stderr] Compiling darling v0.13.4 [INFO] [stderr] Compiling sea-schema-derive v0.1.0 [INFO] [stderr] Compiling clap_derive v3.2.18 [INFO] [stderr] Compiling ouroboros v0.15.5 [INFO] [stderr] Compiling serde_with_macros v1.5.2 [INFO] [stderr] Compiling tracing-subscriber v0.3.15 [INFO] [stderr] Compiling devise_codegen v0.3.1 [INFO] [stderr] Compiling sea-strum v0.23.0 [INFO] [stderr] Compiling derive_more v0.99.17 [INFO] [stderr] Compiling kv-log-macro v1.0.7 [INFO] [stderr] Compiling aquamarine v0.1.12 [INFO] [stderr] Compiling devise v0.3.1 [INFO] [stderr] Compiling rocket_http v0.5.0-rc.2 [INFO] [stderr] Compiling teloxide-macros v0.7.0 [INFO] [stderr] Compiling async-attributes v1.1.2 [INFO] [stderr] Compiling dptree v0.3.0 [INFO] [stderr] Compiling rocket_codegen v0.5.0-rc.2 [INFO] [stderr] Compiling tokio-util v0.7.4 [INFO] [stderr] Compiling tokio-native-tls v0.3.0 [INFO] [stderr] Compiling async-global-executor v2.3.0 [INFO] [stderr] Compiling async-std v1.12.0 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling toml v0.5.9 [INFO] [stderr] Compiling ubyte v0.10.3 [INFO] [stderr] Compiling h2 v0.3.14 [INFO] [stderr] Compiling clap v3.2.22 [INFO] [stderr] Compiling sqlx-core v0.6.2 [INFO] [stderr] Compiling sea-query v0.27.1 [INFO] [stderr] Compiling sea-schema v0.10.2 [INFO] [stderr] Compiling sea-orm-cli v0.10.1 [INFO] [stderr] Compiling sqlx-macros v0.6.2 [INFO] [stderr] Compiling sqlx v0.6.2 [INFO] [stderr] Compiling sea-query-binder v0.2.1 [INFO] [stderr] Compiling sea-orm v0.10.1 [INFO] [stderr] Compiling hyper-tls v0.5.0 [INFO] [stderr] Compiling hyper-rustls v0.23.0 [INFO] [stderr] Compiling reqwest v0.11.12 [INFO] [stderr] Compiling teloxide-core v0.8.0 [INFO] [stderr] Compiling entity v0.1.0 (/opt/rustwide/workdir/entity) [INFO] [stderr] Compiling sea-orm-migration v0.10.1 [INFO] [stderr] Compiling migration v0.1.0 (/opt/rustwide/workdir/migration) [INFO] [stderr] Compiling teloxide v0.11.0 [INFO] [stderr] Compiling telegrambot v0.1.0 (/opt/rustwide/workdir/telegrambot) [INFO] [stderr] Compiling no-future-bot v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `get_authors` [INFO] [stdout] --> src/routes/author.rs:35:10 [INFO] [stdout] | [INFO] [stdout] 35 | async fn get_authors(db: &State) -> APIResponse { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `get_by_platform_id` [INFO] [stdout] --> src/routes/author.rs:45:10 [INFO] [stdout] | [INFO] [stdout] 45 | async fn get_by_platform_id(id: i64, db: &State) -> APIResponse { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `get_by_username` [INFO] [stdout] --> src/routes/author.rs:61:10 [INFO] [stdout] | [INFO] [stdout] 61 | async fn get_by_username(id: &str, db: &State) -> APIResponse { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `put_by_platform_id` [INFO] [stdout] --> src/routes/author.rs:75:10 [INFO] [stdout] | [INFO] [stdout] 75 | async fn put_by_platform_id( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `put_by_username` [INFO] [stdout] --> src/routes/author.rs:127:10 [INFO] [stdout] | [INFO] [stdout] 127 | async fn put_by_username( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `get_posts_by_platform_id` [INFO] [stdout] --> src/routes/author.rs:175:10 [INFO] [stdout] | [INFO] [stdout] 175 | async fn get_posts_by_platform_id( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `get_posts_by_username` [INFO] [stdout] --> src/routes/author.rs:210:10 [INFO] [stdout] | [INFO] [stdout] 210 | async fn get_posts_by_username( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `get_feed` [INFO] [stdout] --> src/routes/feed.rs:54:10 [INFO] [stdout] | [INFO] [stdout] 54 | async fn get_feed(db: &State, telegram_user: TelegramUser) -> APIResponse { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `get_feed_post` [INFO] [stdout] --> src/routes/feed.rs:103:10 [INFO] [stdout] | [INFO] [stdout] 103 | async fn get_feed_post( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `patch_feed` [INFO] [stdout] --> src/routes/feed.rs:142:10 [INFO] [stdout] | [INFO] [stdout] 142 | async fn patch_feed( [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `get_scheduled_feed` [INFO] [stdout] --> src/routes/feed.rs:209:10 [INFO] [stdout] | [INFO] [stdout] 209 | async fn get_scheduled_feed( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `create_scheduled_post` [INFO] [stdout] --> src/routes/feed.rs:253:10 [INFO] [stdout] | [INFO] [stdout] 253 | async fn create_scheduled_post( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `delete_scheduled_post` [INFO] [stdout] --> src/routes/feed.rs:304:10 [INFO] [stdout] | [INFO] [stdout] 304 | async fn delete_scheduled_post( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `get_self` [INFO] [stdout] --> src/routes/user.rs:40:10 [INFO] [stdout] | [INFO] [stdout] 40 | async fn get_self(db: &State, telegram_user: TelegramUser) -> APIResponse { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `modify_channel` [INFO] [stdout] --> src/routes/user.rs:45:10 [INFO] [stdout] | [INFO] [stdout] 45 | async fn modify_channel( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `delete_self` [INFO] [stdout] --> src/routes/user.rs:61:10 [INFO] [stdout] | [INFO] [stdout] 61 | async fn delete_self(db: &State, telegram_user: TelegramUser) -> APIResponse { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `get_following_authors` [INFO] [stdout] --> src/routes/user.rs:75:10 [INFO] [stdout] | [INFO] [stdout] 75 | async fn get_following_authors( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `first_name`, `last_name`, `username`, `language_code`, `is_premium`, and `photo_url` are never read [INFO] [stdout] --> src/models/telegramauth.rs:32:9 [INFO] [stdout] | [INFO] [stdout] 28 | pub struct TelegramUser { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] ... [INFO] [stdout] 32 | pub first_name: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 33 | /// Last name of the user or bot. [INFO] [stdout] 34 | pub last_name: Option, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 35 | /// Username of the user or bot. [INFO] [stdout] 36 | pub username: Option, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 37 | /// [IETF language](https://en.wikipedia.org/wiki/IETF_language_tag) tag of the user's language. [INFO] [stdout] 38 | pub language_code: Option, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 39 | /// True, if this user is a Telegram Premium user [INFO] [stdout] 40 | pub is_premium: Option, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 43 | pub photo_url: Option, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `author_id` is never read [INFO] [stdout] --> src/models/twitterclient.rs:22:9 [INFO] [stdout] | [INFO] [stdout] 20 | pub struct TwitterTweet { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] 21 | pub id: i64, [INFO] [stdout] 22 | pub author_id: i64, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TwitterTweet` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.deref()` on a reference in this situation does nothing [INFO] [stdout] --> src/workers/posting.rs:35:20 [INFO] [stdout] | [INFO] [stdout] 35 | .all(db.deref()) [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the type `DatabaseConnection` does not implement `Deref`, so calling `deref` on `&DatabaseConnection` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] 35 - .all(db.deref()) [INFO] [stdout] 35 + .all(db) [INFO] [stdout] | [INFO] [stdout] help: if you meant to clone `DatabaseConnection`, implement `Clone` for it [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/sea-orm-0.10.1/src/database/db_connection.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 + #[derive(Clone)] [INFO] [stdout] 20 | pub enum DatabaseConnection { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.deref()` on a reference in this situation does nothing [INFO] [stdout] --> src/workers/posting.rs:68:28 [INFO] [stdout] | [INFO] [stdout] 68 | .all(db.deref()) [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the type `DatabaseConnection` does not implement `Deref`, so calling `deref` on `&DatabaseConnection` copies the reference, which does not do anything and can be removed [INFO] [stdout] help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] 68 - .all(db.deref()) [INFO] [stdout] 68 + .all(db) [INFO] [stdout] | [INFO] [stdout] help: if you meant to clone `DatabaseConnection`, implement `Clone` for it [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/sea-orm-0.10.1/src/database/db_connection.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 + #[derive(Clone)] [INFO] [stdout] 20 | pub enum DatabaseConnection { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.deref()` on a reference in this situation does nothing [INFO] [stdout] --> src/workers/posting.rs:121:21 [INFO] [stdout] | [INFO] [stdout] 121 | .exec(db.deref()) [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the type `DatabaseConnection` does not implement `Deref`, so calling `deref` on `&DatabaseConnection` copies the reference, which does not do anything and can be removed [INFO] [stdout] help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] 121 - .exec(db.deref()) [INFO] [stdout] 121 + .exec(db) [INFO] [stdout] | [INFO] [stdout] help: if you meant to clone `DatabaseConnection`, implement `Clone` for it [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/sea-orm-0.10.1/src/database/db_connection.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 + #[derive(Clone)] [INFO] [stdout] 20 | pub enum DatabaseConnection { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 56s [INFO] running `Command { std: "docker" "inspect" "0e6769d53055e216ce5fd43d5a7feef6933022b8d10dcc3896a3828b46b4abe5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0e6769d53055e216ce5fd43d5a7feef6933022b8d10dcc3896a3828b46b4abe5", kill_on_drop: false }` [INFO] [stdout] 0e6769d53055e216ce5fd43d5a7feef6933022b8d10dcc3896a3828b46b4abe5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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] 52366f6dc31a2894a58a3d99e0be00e08da05fef39f0d9f3b34f61776a5bcb25 [INFO] running `Command { std: "docker" "start" "-a" "52366f6dc31a2894a58a3d99e0be00e08da05fef39f0d9f3b34f61776a5bcb25", kill_on_drop: false }` [INFO] [stderr] Compiling no-future-bot v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `get_authors` [INFO] [stdout] --> src/routes/author.rs:35:10 [INFO] [stdout] | [INFO] [stdout] 35 | async fn get_authors(db: &State) -> APIResponse { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `get_by_platform_id` [INFO] [stdout] --> src/routes/author.rs:45:10 [INFO] [stdout] | [INFO] [stdout] 45 | async fn get_by_platform_id(id: i64, db: &State) -> APIResponse { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `get_by_username` [INFO] [stdout] --> src/routes/author.rs:61:10 [INFO] [stdout] | [INFO] [stdout] 61 | async fn get_by_username(id: &str, db: &State) -> APIResponse { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `put_by_platform_id` [INFO] [stdout] --> src/routes/author.rs:75:10 [INFO] [stdout] | [INFO] [stdout] 75 | async fn put_by_platform_id( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `put_by_username` [INFO] [stdout] --> src/routes/author.rs:127:10 [INFO] [stdout] | [INFO] [stdout] 127 | async fn put_by_username( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `get_posts_by_platform_id` [INFO] [stdout] --> src/routes/author.rs:175:10 [INFO] [stdout] | [INFO] [stdout] 175 | async fn get_posts_by_platform_id( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `get_posts_by_username` [INFO] [stdout] --> src/routes/author.rs:210:10 [INFO] [stdout] | [INFO] [stdout] 210 | async fn get_posts_by_username( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `get_feed` [INFO] [stdout] --> src/routes/feed.rs:54:10 [INFO] [stdout] | [INFO] [stdout] 54 | async fn get_feed(db: &State, telegram_user: TelegramUser) -> APIResponse { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `get_feed_post` [INFO] [stdout] --> src/routes/feed.rs:103:10 [INFO] [stdout] | [INFO] [stdout] 103 | async fn get_feed_post( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `patch_feed` [INFO] [stdout] --> src/routes/feed.rs:142:10 [INFO] [stdout] | [INFO] [stdout] 142 | async fn patch_feed( [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `get_scheduled_feed` [INFO] [stdout] --> src/routes/feed.rs:209:10 [INFO] [stdout] | [INFO] [stdout] 209 | async fn get_scheduled_feed( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `create_scheduled_post` [INFO] [stdout] --> src/routes/feed.rs:253:10 [INFO] [stdout] | [INFO] [stdout] 253 | async fn create_scheduled_post( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `delete_scheduled_post` [INFO] [stdout] --> src/routes/feed.rs:304:10 [INFO] [stdout] | [INFO] [stdout] 304 | async fn delete_scheduled_post( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `get_self` [INFO] [stdout] --> src/routes/user.rs:40:10 [INFO] [stdout] | [INFO] [stdout] 40 | async fn get_self(db: &State, telegram_user: TelegramUser) -> APIResponse { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `modify_channel` [INFO] [stdout] --> src/routes/user.rs:45:10 [INFO] [stdout] | [INFO] [stdout] 45 | async fn modify_channel( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `delete_self` [INFO] [stdout] --> src/routes/user.rs:61:10 [INFO] [stdout] | [INFO] [stdout] 61 | async fn delete_self(db: &State, telegram_user: TelegramUser) -> APIResponse { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `get_following_authors` [INFO] [stdout] --> src/routes/user.rs:75:10 [INFO] [stdout] | [INFO] [stdout] 75 | async fn get_following_authors( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `first_name`, `last_name`, `username`, `language_code`, `is_premium`, and `photo_url` are never read [INFO] [stdout] --> src/models/telegramauth.rs:32:9 [INFO] [stdout] | [INFO] [stdout] 28 | pub struct TelegramUser { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] ... [INFO] [stdout] 32 | pub first_name: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 33 | /// Last name of the user or bot. [INFO] [stdout] 34 | pub last_name: Option, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 35 | /// Username of the user or bot. [INFO] [stdout] 36 | pub username: Option, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 37 | /// [IETF language](https://en.wikipedia.org/wiki/IETF_language_tag) tag of the user's language. [INFO] [stdout] 38 | pub language_code: Option, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 39 | /// True, if this user is a Telegram Premium user [INFO] [stdout] 40 | pub is_premium: Option, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 43 | pub photo_url: Option, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `author_id` is never read [INFO] [stdout] --> src/models/twitterclient.rs:22:9 [INFO] [stdout] | [INFO] [stdout] 20 | pub struct TwitterTweet { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] 21 | pub id: i64, [INFO] [stdout] 22 | pub author_id: i64, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TwitterTweet` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.deref()` on a reference in this situation does nothing [INFO] [stdout] --> src/workers/posting.rs:35:20 [INFO] [stdout] | [INFO] [stdout] 35 | .all(db.deref()) [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the type `DatabaseConnection` does not implement `Deref`, so calling `deref` on `&DatabaseConnection` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] 35 - .all(db.deref()) [INFO] [stdout] 35 + .all(db) [INFO] [stdout] | [INFO] [stdout] help: if you meant to clone `DatabaseConnection`, implement `Clone` for it [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/sea-orm-0.10.1/src/database/db_connection.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 + #[derive(Clone)] [INFO] [stdout] 20 | pub enum DatabaseConnection { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.deref()` on a reference in this situation does nothing [INFO] [stdout] --> src/workers/posting.rs:68:28 [INFO] [stdout] | [INFO] [stdout] 68 | .all(db.deref()) [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the type `DatabaseConnection` does not implement `Deref`, so calling `deref` on `&DatabaseConnection` copies the reference, which does not do anything and can be removed [INFO] [stdout] help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] 68 - .all(db.deref()) [INFO] [stdout] 68 + .all(db) [INFO] [stdout] | [INFO] [stdout] help: if you meant to clone `DatabaseConnection`, implement `Clone` for it [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/sea-orm-0.10.1/src/database/db_connection.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 + #[derive(Clone)] [INFO] [stdout] 20 | pub enum DatabaseConnection { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.deref()` on a reference in this situation does nothing [INFO] [stdout] --> src/workers/posting.rs:121:21 [INFO] [stdout] | [INFO] [stdout] 121 | .exec(db.deref()) [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the type `DatabaseConnection` does not implement `Deref`, so calling `deref` on `&DatabaseConnection` copies the reference, which does not do anything and can be removed [INFO] [stdout] help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] 121 - .exec(db.deref()) [INFO] [stdout] 121 + .exec(db) [INFO] [stdout] | [INFO] [stdout] help: if you meant to clone `DatabaseConnection`, implement `Clone` for it [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/sea-orm-0.10.1/src/database/db_connection.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 + #[derive(Clone)] [INFO] [stdout] 20 | pub enum DatabaseConnection { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 5.70s [INFO] running `Command { std: "docker" "inspect" "52366f6dc31a2894a58a3d99e0be00e08da05fef39f0d9f3b34f61776a5bcb25", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "52366f6dc31a2894a58a3d99e0be00e08da05fef39f0d9f3b34f61776a5bcb25", kill_on_drop: false }` [INFO] [stdout] 52366f6dc31a2894a58a3d99e0be00e08da05fef39f0d9f3b34f61776a5bcb25 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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] 42b6a88ef72821e5fd0e3594ee34ac6b4f2a98d5bbe4a58ab4f25af15bcc02a6 [INFO] running `Command { std: "docker" "start" "-a" "42b6a88ef72821e5fd0e3594ee34ac6b4f2a98d5bbe4a58ab4f25af15bcc02a6", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `get_authors` [INFO] [stderr] --> src/routes/author.rs:35:10 [INFO] [stderr] | [INFO] [stderr] 35 | async fn get_authors(db: &State) -> APIResponse { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `get_by_platform_id` [INFO] [stderr] --> src/routes/author.rs:45:10 [INFO] [stderr] | [INFO] [stderr] 45 | async fn get_by_platform_id(id: i64, db: &State) -> APIResponse { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `get_by_username` [INFO] [stderr] --> src/routes/author.rs:61:10 [INFO] [stderr] | [INFO] [stderr] 61 | async fn get_by_username(id: &str, db: &State) -> APIResponse { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `put_by_platform_id` [INFO] [stderr] --> src/routes/author.rs:75:10 [INFO] [stderr] | [INFO] [stderr] 75 | async fn put_by_platform_id( [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `put_by_username` [INFO] [stderr] --> src/routes/author.rs:127:10 [INFO] [stderr] | [INFO] [stderr] 127 | async fn put_by_username( [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `get_posts_by_platform_id` [INFO] [stderr] --> src/routes/author.rs:175:10 [INFO] [stderr] | [INFO] [stderr] 175 | async fn get_posts_by_platform_id( [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `get_posts_by_username` [INFO] [stderr] --> src/routes/author.rs:210:10 [INFO] [stderr] | [INFO] [stderr] 210 | async fn get_posts_by_username( [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `get_feed` [INFO] [stderr] --> src/routes/feed.rs:54:10 [INFO] [stderr] | [INFO] [stderr] 54 | async fn get_feed(db: &State, telegram_user: TelegramUser) -> APIResponse { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `get_feed_post` [INFO] [stderr] --> src/routes/feed.rs:103:10 [INFO] [stderr] | [INFO] [stderr] 103 | async fn get_feed_post( [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `patch_feed` [INFO] [stderr] --> src/routes/feed.rs:142:10 [INFO] [stderr] | [INFO] [stderr] 142 | async fn patch_feed( [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `get_scheduled_feed` [INFO] [stderr] --> src/routes/feed.rs:209:10 [INFO] [stderr] | [INFO] [stderr] 209 | async fn get_scheduled_feed( [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `create_scheduled_post` [INFO] [stderr] --> src/routes/feed.rs:253:10 [INFO] [stderr] | [INFO] [stderr] 253 | async fn create_scheduled_post( [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `delete_scheduled_post` [INFO] [stderr] --> src/routes/feed.rs:304:10 [INFO] [stderr] | [INFO] [stderr] 304 | async fn delete_scheduled_post( [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `get_self` [INFO] [stderr] --> src/routes/user.rs:40:10 [INFO] [stderr] | [INFO] [stderr] 40 | async fn get_self(db: &State, telegram_user: TelegramUser) -> APIResponse { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `modify_channel` [INFO] [stderr] --> src/routes/user.rs:45:10 [INFO] [stderr] | [INFO] [stderr] 45 | async fn modify_channel( [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `delete_self` [INFO] [stderr] --> src/routes/user.rs:61:10 [INFO] [stderr] | [INFO] [stderr] 61 | async fn delete_self(db: &State, telegram_user: TelegramUser) -> APIResponse { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `get_following_authors` [INFO] [stderr] --> src/routes/user.rs:75:10 [INFO] [stderr] | [INFO] [stderr] 75 | async fn get_following_authors( [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: fields `first_name`, `last_name`, `username`, `language_code`, `is_premium`, and `photo_url` are never read [INFO] [stderr] --> src/models/telegramauth.rs:32:9 [INFO] [stderr] | [INFO] [stderr] 28 | pub struct TelegramUser { [INFO] [stderr] | ------------ fields in this struct [INFO] [stderr] ... [INFO] [stderr] 32 | pub first_name: String, [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] 33 | /// Last name of the user or bot. [INFO] [stderr] 34 | pub last_name: Option, [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] 35 | /// Username of the user or bot. [INFO] [stderr] 36 | pub username: Option, [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] 37 | /// [IETF language](https://en.wikipedia.org/wiki/IETF_language_tag) tag of the user's language. [INFO] [stderr] 38 | pub language_code: Option, [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] 39 | /// True, if this user is a Telegram Premium user [INFO] [stderr] 40 | pub is_premium: Option, [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 43 | pub photo_url: Option, [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: field `author_id` is never read [INFO] [stderr] --> src/models/twitterclient.rs:22:9 [INFO] [stderr] | [INFO] [stderr] 20 | pub struct TwitterTweet { [INFO] [stderr] | ------------ field in this struct [INFO] [stderr] 21 | pub id: i64, [INFO] [stderr] 22 | pub author_id: i64, [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `TwitterTweet` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: call to `.deref()` on a reference in this situation does nothing [INFO] [stderr] --> src/workers/posting.rs:35:20 [INFO] [stderr] | [INFO] [stderr] 35 | .all(db.deref()) [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: the type `DatabaseConnection` does not implement `Deref`, so calling `deref` on `&DatabaseConnection` copies the reference, which does not do anything and can be removed [INFO] [stderr] = note: `#[warn(noop_method_call)]` on by default [INFO] [stderr] help: remove this redundant call [INFO] [stderr] | [INFO] [stderr] 35 - .all(db.deref()) [INFO] [stderr] 35 + .all(db) [INFO] [stderr] | [INFO] [stderr] help: if you meant to clone `DatabaseConnection`, implement `Clone` for it [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/sea-orm-0.10.1/src/database/db_connection.rs:19:1 [INFO] [stderr] | [INFO] [stderr] 19 + #[derive(Clone)] [INFO] [stderr] 20 | pub enum DatabaseConnection { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: call to `.deref()` on a reference in this situation does nothing [INFO] [stderr] --> src/workers/posting.rs:68:28 [INFO] [stderr] | [INFO] [stderr] 68 | .all(db.deref()) [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: the type `DatabaseConnection` does not implement `Deref`, so calling `deref` on `&DatabaseConnection` copies the reference, which does not do anything and can be removed [INFO] [stderr] help: remove this redundant call [INFO] [stderr] | [INFO] [stderr] 68 - .all(db.deref()) [INFO] [stderr] 68 + .all(db) [INFO] [stderr] | [INFO] [stderr] help: if you meant to clone `DatabaseConnection`, implement `Clone` for it [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/sea-orm-0.10.1/src/database/db_connection.rs:19:1 [INFO] [stderr] | [INFO] [stderr] 19 + #[derive(Clone)] [INFO] [stderr] 20 | pub enum DatabaseConnection { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: call to `.deref()` on a reference in this situation does nothing [INFO] [stderr] --> src/workers/posting.rs:121:21 [INFO] [stderr] | [INFO] [stderr] 121 | .exec(db.deref()) [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: the type `DatabaseConnection` does not implement `Deref`, so calling `deref` on `&DatabaseConnection` copies the reference, which does not do anything and can be removed [INFO] [stderr] help: remove this redundant call [INFO] [stderr] | [INFO] [stderr] 121 - .exec(db.deref()) [INFO] [stderr] 121 + .exec(db) [INFO] [stderr] | [INFO] [stderr] help: if you meant to clone `DatabaseConnection`, implement `Clone` for it [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/sea-orm-0.10.1/src/database/db_connection.rs:19:1 [INFO] [stderr] | [INFO] [stderr] 19 + #[derive(Clone)] [INFO] [stderr] 20 | pub enum DatabaseConnection { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: `no-future-bot` (bin "no-future-bot" test) generated 22 warnings (run `cargo fix --bin "no-future-bot" --tests` to apply 20 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.32s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/no_future_bot-089c203cd46e5816) [INFO] [stdout] [INFO] [stdout] running 6 tests [INFO] [stdout] test models::telegramauth::tests::test_authorize_data_empty ... ok [INFO] [stdout] test models::telegramauth::tests::test_authorize ... ok [INFO] [stdout] test models::telegramauth::tests::test_authorize_invalid_format ... ok [INFO] [stdout] test models::telegramauth::tests::test_authorize_invalid_hash ... ok [INFO] [stdout] test models::telegramauth::tests::test_authorize_with_time ... ok [INFO] [stdout] test models::telegramauth::tests::test_authorize_data_no_hash ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 6 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "42b6a88ef72821e5fd0e3594ee34ac6b4f2a98d5bbe4a58ab4f25af15bcc02a6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "42b6a88ef72821e5fd0e3594ee34ac6b4f2a98d5bbe4a58ab4f25af15bcc02a6", kill_on_drop: false }` [INFO] [stdout] 42b6a88ef72821e5fd0e3594ee34ac6b4f2a98d5bbe4a58ab4f25af15bcc02a6