[INFO] cloning repository https://github.com/dimasmoore/bottelegram_anonymouschat [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/dimasmoore/bottelegram_anonymouschat" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdimasmoore%2Fbottelegram_anonymouschat", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdimasmoore%2Fbottelegram_anonymouschat'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 5f9c3fe05feaa7d722b7dae3da10e4b4880da5ff [INFO] checking dimasmoore/bottelegram_anonymouschat against try#b32fc44666c052e7cf07ab471bfb6f9ec571902f for pr-138676 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdimasmoore%2Fbottelegram_anonymouschat" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/dimasmoore/bottelegram_anonymouschat on toolchain b32fc44666c052e7cf07ab471bfb6f9ec571902f [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b32fc44666c052e7cf07ab471bfb6f9ec571902f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/dimasmoore/bottelegram_anonymouschat [INFO] finished tweaking git repo https://github.com/dimasmoore/bottelegram_anonymouschat [INFO] tweaked toml for git repo https://github.com/dimasmoore/bottelegram_anonymouschat written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/dimasmoore/bottelegram_anonymouschat 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" "+b32fc44666c052e7cf07ab471bfb6f9ec571902f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [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:1680c8fbd8dfb46fcd6d22e546df16ab0e007457dc29fcd9e987cdd5077fd1af" "/opt/rustwide/cargo-home/bin/cargo" "+b32fc44666c052e7cf07ab471bfb6f9ec571902f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] bdce42801bb45771cfbeb49ba6a1e272b82743411d15f54b6da7831ba7ee0e1e [INFO] running `Command { std: "docker" "start" "-a" "bdce42801bb45771cfbeb49ba6a1e272b82743411d15f54b6da7831ba7ee0e1e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "bdce42801bb45771cfbeb49ba6a1e272b82743411d15f54b6da7831ba7ee0e1e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bdce42801bb45771cfbeb49ba6a1e272b82743411d15f54b6da7831ba7ee0e1e", kill_on_drop: false }` [INFO] [stdout] bdce42801bb45771cfbeb49ba6a1e272b82743411d15f54b6da7831ba7ee0e1e [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" "-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:1680c8fbd8dfb46fcd6d22e546df16ab0e007457dc29fcd9e987cdd5077fd1af" "/opt/rustwide/cargo-home/bin/cargo" "+b32fc44666c052e7cf07ab471bfb6f9ec571902f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 823dacebac5d2d08072abc2543a1f56c6da2ec8f734de86dfba04bf7568f02bf [INFO] running `Command { std: "docker" "start" "-a" "823dacebac5d2d08072abc2543a1f56c6da2ec8f734de86dfba04bf7568f02bf", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.92 [INFO] [stderr] Compiling unicode-ident v1.0.14 [INFO] [stderr] Compiling libc v0.2.169 [INFO] [stderr] Compiling autocfg v1.4.0 [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Checking memchr v2.7.4 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Checking pin-project-lite v0.2.15 [INFO] [stderr] Checking stable_deref_trait v1.2.0 [INFO] [stderr] Checking bytes v1.9.0 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking futures-core v0.3.31 [INFO] [stderr] Compiling serde v1.0.217 [INFO] [stderr] Checking futures-sink v0.3.31 [INFO] [stderr] Checking futures-io v0.3.31 [INFO] [stderr] Checking writeable v0.5.5 [INFO] [stderr] Checking litemap v0.7.4 [INFO] [stderr] Checking futures-task v0.3.31 [INFO] [stderr] Checking once_cell v1.20.2 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Checking itoa v1.0.14 [INFO] [stderr] Checking icu_locid_transform_data v1.5.0 [INFO] [stderr] Checking smallvec v1.13.2 [INFO] [stderr] Checking log v0.4.22 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Checking icu_properties_data v1.5.0 [INFO] [stderr] Compiling vcpkg v0.2.15 [INFO] [stderr] Checking futures-channel v0.3.31 [INFO] [stderr] Compiling cc v1.2.6 [INFO] [stderr] Compiling pkg-config v0.3.31 [INFO] [stderr] Checking utf8_iter v1.0.4 [INFO] [stderr] Checking icu_normalizer_data v1.5.0 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Checking write16 v1.0.0 [INFO] [stderr] Checking utf16_iter v1.0.5 [INFO] [stderr] Checking hashbrown v0.15.2 [INFO] [stderr] Checking equivalent v1.0.1 [INFO] [stderr] Checking percent-encoding v2.3.1 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling openssl v0.10.68 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Checking ryu v1.0.18 [INFO] [stderr] Checking foreign-types-shared v0.1.1 [INFO] [stderr] Checking form_urlencoded v1.2.1 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Checking http v0.2.12 [INFO] [stderr] Checking foreign-types v0.3.2 [INFO] [stderr] Checking tracing-core v0.1.33 [INFO] [stderr] Compiling httparse v1.9.5 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling serde_json v1.0.134 [INFO] [stderr] Checking tinyvec_macros v0.1.1 [INFO] [stderr] Checking bitflags v2.6.0 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling native-tls v0.2.12 [INFO] [stderr] Checking subtle v2.6.1 [INFO] [stderr] Checking tinyvec v1.8.1 [INFO] [stderr] Checking openssl-probe v0.1.5 [INFO] [stderr] Compiling quote v1.0.38 [INFO] [stderr] Checking spin v0.9.8 [INFO] [stderr] Checking untrusted v0.9.0 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Checking try-lock v0.2.5 [INFO] [stderr] Checking tracing v0.1.41 [INFO] [stderr] Checking ipnet v2.10.1 [INFO] [stderr] Compiling unicase v2.8.1 [INFO] [stderr] Checking want v0.3.1 [INFO] [stderr] Compiling syn v2.0.94 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling erasable v1.2.1 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Checking indexmap v2.7.0 [INFO] [stderr] Checking tower-service v0.3.3 [INFO] [stderr] Compiling mime_guess v2.0.5 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling radium v0.7.0 [INFO] [stderr] Checking httpdate v1.0.3 [INFO] [stderr] Checking iana-time-zone v0.1.61 [INFO] [stderr] Checking http-body v0.4.6 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Checking unicode-bidi v0.3.18 [INFO] [stderr] Checking base64 v0.21.7 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Checking mime v0.3.17 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Checking socket2 v0.5.8 [INFO] [stderr] Checking mio v1.0.3 [INFO] [stderr] Checking signal-hook-registry v1.4.2 [INFO] [stderr] Checking rustls-pemfile v1.0.4 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking regex-syntax v0.8.5 [INFO] [stderr] Checking match_cfg v0.1.0 [INFO] [stderr] Compiling convert_case v0.4.0 [INFO] [stderr] Compiling num-conv v0.1.0 [INFO] [stderr] Checking tap v1.0.1 [INFO] [stderr] Compiling rustls v0.21.12 [INFO] [stderr] Compiling time-core v0.1.2 [INFO] [stderr] Checking powerfmt v0.2.0 [INFO] [stderr] Checking matches v0.1.10 [INFO] [stderr] Compiling time-macros v0.2.19 [INFO] [stderr] Checking wyz v0.5.1 [INFO] [stderr] Checking hostname v0.3.1 [INFO] [stderr] Checking deranged v0.3.11 [INFO] [stderr] Compiling rustc_version_runtime v0.2.1 [INFO] [stderr] Checking unicode-normalization v0.1.24 [INFO] [stderr] Checking encoding_rs v0.8.35 [INFO] [stderr] Checking funty v2.0.0 [INFO] [stderr] Checking cpufeatures v0.2.16 [INFO] [stderr] Compiling openssl-sys v0.9.104 [INFO] [stderr] Compiling ring v0.17.8 [INFO] [stderr] Checking take_mut v0.2.2 [INFO] [stderr] Compiling either v1.13.0 [INFO] [stderr] Checking regex-automata v0.4.9 [INFO] [stderr] Checking sync_wrapper v0.1.2 [INFO] [stderr] Checking quick-error v1.2.3 [INFO] [stderr] Checking linked-hash-map v0.5.6 [INFO] [stderr] Checking lazy_static v1.5.0 [INFO] [stderr] Checking idna v0.2.3 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Checking data-encoding v2.6.0 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Checking bitvec v1.0.1 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Checking lru-cache v0.1.2 [INFO] [stderr] Compiling itertools v0.9.0 [INFO] [stderr] Checking resolv-conf v0.7.0 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking rc-box v1.2.0 [INFO] [stderr] Checking socket2 v0.4.10 [INFO] [stderr] Checking is-terminal v0.4.13 [INFO] [stderr] Compiling anyhow v1.0.95 [INFO] [stderr] Checking humantime v2.1.0 [INFO] [stderr] Checking termcolor v1.4.1 [INFO] [stderr] Checking hex v0.4.3 [INFO] [stderr] Checking never v0.1.0 [INFO] [stderr] Checking base64 v0.13.1 [INFO] [stderr] Checking unicode-properties v0.1.3 [INFO] [stderr] Checking takecell v0.1.1 [INFO] [stderr] Checking md-5 v0.10.6 [INFO] [stderr] Checking hmac v0.12.1 [INFO] [stderr] Checking sha2 v0.10.8 [INFO] [stderr] Checking sha-1 v0.10.1 [INFO] [stderr] Checking pbkdf2 v0.11.0 [INFO] [stderr] Checking webpki-roots v0.25.4 [INFO] [stderr] Checking sha1_smol v1.0.1 [INFO] [stderr] Checking dotenvy v0.15.7 [INFO] [stderr] Checking stringprep v0.1.5 [INFO] [stderr] Checking time v0.3.37 [INFO] [stderr] Checking regex v1.11.1 [INFO] [stderr] Checking env_logger v0.10.2 [INFO] [stderr] Checking pretty_env_logger v0.5.0 [INFO] [stderr] Compiling darling_core v0.13.4 [INFO] [stderr] Checking sct v0.7.1 [INFO] [stderr] Checking rustls-webpki v0.101.7 [INFO] [stderr] Compiling enum-as-inner v0.4.0 [INFO] [stderr] Compiling derivative v2.2.0 [INFO] [stderr] Compiling typed-builder v0.10.0 [INFO] [stderr] Compiling teloxide-macros v0.7.1 [INFO] [stderr] Compiling aquamarine v0.1.12 [INFO] [stderr] Compiling synstructure v0.13.1 [INFO] [stderr] Compiling zerofrom-derive v0.1.5 [INFO] [stderr] Compiling yoke-derive v0.7.5 [INFO] [stderr] Compiling zerovec-derive v0.10.3 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling serde_derive v1.0.217 [INFO] [stderr] Compiling tokio-macros v2.4.0 [INFO] [stderr] Compiling icu_provider_macros v1.5.0 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling async-trait v0.1.83 [INFO] [stderr] Compiling pin-project-internal v1.1.7 [INFO] [stderr] Compiling derive_more v0.99.18 [INFO] [stderr] Checking tokio v1.42.0 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Checking zerocopy v0.7.35 [INFO] [stderr] Checking zerofrom v0.1.5 [INFO] [stderr] Checking pin-project v1.1.7 [INFO] [stderr] Compiling darling_macro v0.13.4 [INFO] [stderr] Checking yoke v0.7.5 [INFO] [stderr] Checking zerovec v0.10.4 [INFO] [stderr] Checking ppv-lite86 v0.2.20 [INFO] [stderr] Compiling darling v0.13.4 [INFO] [stderr] Compiling serde_with_macros v1.5.2 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking tinystr v0.7.6 [INFO] [stderr] Checking icu_collections v1.5.0 [INFO] [stderr] Checking icu_locid v1.5.0 [INFO] [stderr] Checking icu_provider v1.5.0 [INFO] [stderr] Checking icu_locid_transform v1.5.0 [INFO] [stderr] Checking futures-executor v0.3.31 [INFO] [stderr] Checking futures v0.3.31 [INFO] [stderr] Checking dptree v0.3.0 [INFO] [stderr] Checking icu_properties v1.5.1 [INFO] [stderr] Checking tokio-util v0.7.13 [INFO] [stderr] Checking tokio-native-tls v0.3.1 [INFO] [stderr] Checking tokio-stream v0.1.17 [INFO] [stderr] Checking tokio-rustls v0.24.1 [INFO] [stderr] Checking uuid v1.11.0 [INFO] [stderr] Checking chrono v0.4.39 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking serde_bytes v0.11.15 [INFO] [stderr] Checking serde_with v1.14.0 [INFO] [stderr] Checking h2 v0.3.26 [INFO] [stderr] Checking combine v4.6.7 [INFO] [stderr] Checking icu_normalizer v1.5.0 [INFO] [stderr] Checking idna_adapter v1.2.0 [INFO] [stderr] Checking idna v1.0.3 [INFO] [stderr] Checking bson v2.13.0 [INFO] [stderr] Checking url v2.5.4 [INFO] [stderr] Checking trust-dns-proto v0.21.2 [INFO] [stderr] Checking hyper v0.14.32 [INFO] [stderr] Checking trust-dns-resolver v0.21.2 [INFO] [stderr] Checking mongodb v2.8.2 [INFO] [stderr] Checking redis v0.23.3 [INFO] [stderr] Checking hyper-tls v0.5.0 [INFO] [stderr] Checking reqwest v0.11.27 [INFO] [stderr] Checking teloxide-core v0.9.1 [INFO] [stderr] Checking teloxide v0.12.2 [INFO] [stderr] Checking telegram_bot v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: this function depends on never type fallback being `()` [INFO] [stdout] --> src/services/redis_service.rs:29:1 [INFO] [stdout] | [INFO] [stdout] 29 | / pub async fn set_user_state( [INFO] [stdout] 30 | | redis: &mut redis::aio::Connection, [INFO] [stdout] 31 | | state: &UserState, [INFO] [stdout] 32 | | ) -> Result<()> { [INFO] [stdout] | |_______________^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in Rust 2024 and in a future release in all editions! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = help: specify the types explicitly [INFO] [stdout] note: in edition 2024, the requirement `!: FromRedisValue` will fail [INFO] [stdout] --> src/services/redis_service.rs:35:11 [INFO] [stdout] | [INFO] [stdout] 35 | redis.set(&key, data).await?; [INFO] [stdout] | ^^^ [INFO] [stdout] = note: `#[warn(dependency_on_unit_never_type_fallback)]` on by default [INFO] [stdout] help: use `()` annotations to avoid fallback changes [INFO] [stdout] | [INFO] [stdout] 35 | redis.set::<_, _, ()>(&key, data).await?; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this function depends on never type fallback being `()` [INFO] [stdout] --> src/services/redis_service.rs:88:1 [INFO] [stdout] | [INFO] [stdout] 88 | / pub async fn cleanup_user_state( [INFO] [stdout] 89 | | redis: &mut redis::aio::Connection, [INFO] [stdout] 90 | | chat_id: i64, [INFO] [stdout] 91 | | ) -> Result<()> { [INFO] [stdout] | |_______________^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in Rust 2024 and in a future release in all editions! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = help: specify the types explicitly [INFO] [stdout] note: in edition 2024, the requirement `!: FromRedisValue` will fail [INFO] [stdout] --> src/services/redis_service.rs:93:11 [INFO] [stdout] | [INFO] [stdout] 93 | redis.del(&key).await?; [INFO] [stdout] | ^^^ [INFO] [stdout] help: use `()` annotations to avoid fallback changes [INFO] [stdout] | [INFO] [stdout] 93 | redis.del::<_, ()>(&key).await?; [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this function depends on never type fallback being `()` [INFO] [stdout] --> src/services/chat_room.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | / pub async fn create_room( [INFO] [stdout] 11 | | redis: &mut redis::aio::Connection, [INFO] [stdout] 12 | | name: String, [INFO] [stdout] 13 | | max_members: usize, [INFO] [stdout] 14 | | ) -> Result { [INFO] [stdout] | |_____________________^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in Rust 2024 and in a future release in all editions! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = help: specify the types explicitly [INFO] [stdout] note: in edition 2024, the requirement `!: FromRedisValue` will fail [INFO] [stdout] --> src/services/chat_room.rs:19:11 [INFO] [stdout] | [INFO] [stdout] 19 | redis.set(format!("{}{}", ROOM_PREFIX, room_id), data).await?; [INFO] [stdout] | ^^^ [INFO] [stdout] help: use `()` annotations to avoid fallback changes [INFO] [stdout] | [INFO] [stdout] 19 ~ redis.set::<_, _, ()>(format!("{}{}", ROOM_PREFIX, room_id), data).await?; [INFO] [stdout] 20 ~ redis.sadd::<_, _, ()>(ROOM_LIST_KEY, room_id).await?; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this function depends on never type fallback being `()` [INFO] [stdout] --> src/services/chat_room.rs:33:1 [INFO] [stdout] | [INFO] [stdout] 33 | / pub async fn update_room( [INFO] [stdout] 34 | | redis: &mut redis::aio::Connection, [INFO] [stdout] 35 | | room: &ChatRoom, [INFO] [stdout] 36 | | ) -> Result<()> { [INFO] [stdout] | |_______________^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in Rust 2024 and in a future release in all editions! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = help: specify the types explicitly [INFO] [stdout] note: in edition 2024, the requirement `!: FromRedisValue` will fail [INFO] [stdout] --> src/services/chat_room.rs:38:11 [INFO] [stdout] | [INFO] [stdout] 38 | redis.set(format!("{}{}", ROOM_PREFIX, room.room_id), data).await?; [INFO] [stdout] | ^^^ [INFO] [stdout] help: use `()` annotations to avoid fallback changes [INFO] [stdout] | [INFO] [stdout] 38 | redis.set::<_, _, ()>(format!("{}{}", ROOM_PREFIX, room.room_id), data).await?; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this function depends on never type fallback being `()` [INFO] [stdout] --> src/services/chat_room.rs:72:1 [INFO] [stdout] | [INFO] [stdout] 72 | / pub async fn leave_room( [INFO] [stdout] 73 | | redis: &mut redis::aio::Connection, [INFO] [stdout] 74 | | room_id: &str, [INFO] [stdout] 75 | | user_state: &mut UserState, [INFO] [stdout] 76 | | ) -> Result<()> { [INFO] [stdout] | |_______________^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in Rust 2024 and in a future release in all editions! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = help: specify the types explicitly [INFO] [stdout] note: in edition 2024, the requirement `!: FromRedisValue` will fail [INFO] [stdout] --> src/services/chat_room.rs:83:19 [INFO] [stdout] | [INFO] [stdout] 83 | redis.del(format!("{}{}", ROOM_PREFIX, room_id)).await?; [INFO] [stdout] | ^^^ [INFO] [stdout] help: use `()` annotations to avoid fallback changes [INFO] [stdout] | [INFO] [stdout] 83 ~ redis.del::<_, ()>(format!("{}{}", ROOM_PREFIX, room_id)).await?; [INFO] [stdout] 84 ~ redis.srem::<_, _, ()>(ROOM_LIST_KEY, room_id).await?; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this function depends on never type fallback being `()` [INFO] [stdout] --> src/services/profile_service.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | / pub async fn save_mood_history( [INFO] [stdout] 11 | | redis: &mut redis::aio::Connection, [INFO] [stdout] 12 | | chat_id: i64, [INFO] [stdout] 13 | | mood: &MoodEntry, [INFO] [stdout] 14 | | ) -> Result<()> { [INFO] [stdout] | |_______________^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in Rust 2024 and in a future release in all editions! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = help: specify the types explicitly [INFO] [stdout] note: in edition 2024, the requirement `!: FromRedisValue` will fail [INFO] [stdout] --> src/services/profile_service.rs:17:11 [INFO] [stdout] | [INFO] [stdout] 17 | redis.lpush(&key, data).await?; [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: use `()` annotations to avoid fallback changes [INFO] [stdout] | [INFO] [stdout] 17 ~ redis.lpush::<_, _, ()>(&key, data).await?; [INFO] [stdout] 18 | // Keep only last 30 days [INFO] [stdout] 19 ~ redis.ltrim::<_, ()>(&key, 0, 29).await?; [INFO] [stdout] 20 | [INFO] [stdout] ... [INFO] [stdout] 29 | *new_stats.entry(mood.mood.clone()).or_insert(0) += 1; [INFO] [stdout] 30 ~ redis.set::<_, _, ()>(stats_key, serde_json::to_string(&new_stats)?).await?; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this function depends on never type fallback being `()` [INFO] [stdout] --> src/services/redis_service.rs:29:1 [INFO] [stdout] | [INFO] [stdout] 29 | / pub async fn set_user_state( [INFO] [stdout] 30 | | redis: &mut redis::aio::Connection, [INFO] [stdout] 31 | | state: &UserState, [INFO] [stdout] 32 | | ) -> Result<()> { [INFO] [stdout] | |_______________^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in Rust 2024 and in a future release in all editions! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = help: specify the types explicitly [INFO] [stdout] note: in edition 2024, the requirement `!: FromRedisValue` will fail [INFO] [stdout] --> src/services/redis_service.rs:35:11 [INFO] [stdout] | [INFO] [stdout] 35 | redis.set(&key, data).await?; [INFO] [stdout] | ^^^ [INFO] [stdout] = note: `#[warn(dependency_on_unit_never_type_fallback)]` on by default [INFO] [stdout] help: use `()` annotations to avoid fallback changes [INFO] [stdout] | [INFO] [stdout] 35 | redis.set::<_, _, ()>(&key, data).await?; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this function depends on never type fallback being `()` [INFO] [stdout] --> src/services/redis_service.rs:88:1 [INFO] [stdout] | [INFO] [stdout] 88 | / pub async fn cleanup_user_state( [INFO] [stdout] 89 | | redis: &mut redis::aio::Connection, [INFO] [stdout] 90 | | chat_id: i64, [INFO] [stdout] 91 | | ) -> Result<()> { [INFO] [stdout] | |_______________^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in Rust 2024 and in a future release in all editions! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = help: specify the types explicitly [INFO] [stdout] note: in edition 2024, the requirement `!: FromRedisValue` will fail [INFO] [stdout] --> src/services/redis_service.rs:93:11 [INFO] [stdout] | [INFO] [stdout] 93 | redis.del(&key).await?; [INFO] [stdout] | ^^^ [INFO] [stdout] help: use `()` annotations to avoid fallback changes [INFO] [stdout] | [INFO] [stdout] 93 | redis.del::<_, ()>(&key).await?; [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this function depends on never type fallback being `()` [INFO] [stdout] --> src/services/chat_room.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | / pub async fn create_room( [INFO] [stdout] 11 | | redis: &mut redis::aio::Connection, [INFO] [stdout] 12 | | name: String, [INFO] [stdout] 13 | | max_members: usize, [INFO] [stdout] 14 | | ) -> Result { [INFO] [stdout] | |_____________________^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in Rust 2024 and in a future release in all editions! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = help: specify the types explicitly [INFO] [stdout] note: in edition 2024, the requirement `!: FromRedisValue` will fail [INFO] [stdout] --> src/services/chat_room.rs:19:11 [INFO] [stdout] | [INFO] [stdout] 19 | redis.set(format!("{}{}", ROOM_PREFIX, room_id), data).await?; [INFO] [stdout] | ^^^ [INFO] [stdout] help: use `()` annotations to avoid fallback changes [INFO] [stdout] | [INFO] [stdout] 19 ~ redis.set::<_, _, ()>(format!("{}{}", ROOM_PREFIX, room_id), data).await?; [INFO] [stdout] 20 ~ redis.sadd::<_, _, ()>(ROOM_LIST_KEY, room_id).await?; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this function depends on never type fallback being `()` [INFO] [stdout] --> src/services/chat_room.rs:33:1 [INFO] [stdout] | [INFO] [stdout] 33 | / pub async fn update_room( [INFO] [stdout] 34 | | redis: &mut redis::aio::Connection, [INFO] [stdout] 35 | | room: &ChatRoom, [INFO] [stdout] 36 | | ) -> Result<()> { [INFO] [stdout] | |_______________^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in Rust 2024 and in a future release in all editions! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = help: specify the types explicitly [INFO] [stdout] note: in edition 2024, the requirement `!: FromRedisValue` will fail [INFO] [stdout] --> src/services/chat_room.rs:38:11 [INFO] [stdout] | [INFO] [stdout] 38 | redis.set(format!("{}{}", ROOM_PREFIX, room.room_id), data).await?; [INFO] [stdout] | ^^^ [INFO] [stdout] help: use `()` annotations to avoid fallback changes [INFO] [stdout] | [INFO] [stdout] 38 | redis.set::<_, _, ()>(format!("{}{}", ROOM_PREFIX, room.room_id), data).await?; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this function depends on never type fallback being `()` [INFO] [stdout] --> src/services/chat_room.rs:72:1 [INFO] [stdout] | [INFO] [stdout] 72 | / pub async fn leave_room( [INFO] [stdout] 73 | | redis: &mut redis::aio::Connection, [INFO] [stdout] 74 | | room_id: &str, [INFO] [stdout] 75 | | user_state: &mut UserState, [INFO] [stdout] 76 | | ) -> Result<()> { [INFO] [stdout] | |_______________^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in Rust 2024 and in a future release in all editions! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = help: specify the types explicitly [INFO] [stdout] note: in edition 2024, the requirement `!: FromRedisValue` will fail [INFO] [stdout] --> src/services/chat_room.rs:83:19 [INFO] [stdout] | [INFO] [stdout] 83 | redis.del(format!("{}{}", ROOM_PREFIX, room_id)).await?; [INFO] [stdout] | ^^^ [INFO] [stdout] help: use `()` annotations to avoid fallback changes [INFO] [stdout] | [INFO] [stdout] 83 ~ redis.del::<_, ()>(format!("{}{}", ROOM_PREFIX, room_id)).await?; [INFO] [stdout] 84 ~ redis.srem::<_, _, ()>(ROOM_LIST_KEY, room_id).await?; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this function depends on never type fallback being `()` [INFO] [stdout] --> src/services/profile_service.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | / pub async fn save_mood_history( [INFO] [stdout] 11 | | redis: &mut redis::aio::Connection, [INFO] [stdout] 12 | | chat_id: i64, [INFO] [stdout] 13 | | mood: &MoodEntry, [INFO] [stdout] 14 | | ) -> Result<()> { [INFO] [stdout] | |_______________^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in Rust 2024 and in a future release in all editions! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = help: specify the types explicitly [INFO] [stdout] note: in edition 2024, the requirement `!: FromRedisValue` will fail [INFO] [stdout] --> src/services/profile_service.rs:17:11 [INFO] [stdout] | [INFO] [stdout] 17 | redis.lpush(&key, data).await?; [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: use `()` annotations to avoid fallback changes [INFO] [stdout] | [INFO] [stdout] 17 ~ redis.lpush::<_, _, ()>(&key, data).await?; [INFO] [stdout] 18 | // Keep only last 30 days [INFO] [stdout] 19 ~ redis.ltrim::<_, ()>(&key, 0, 29).await?; [INFO] [stdout] 20 | [INFO] [stdout] ... [INFO] [stdout] 29 | *new_stats.entry(mood.mood.clone()).or_insert(0) += 1; [INFO] [stdout] 30 ~ redis.set::<_, _, ()>(stats_key, serde_json::to_string(&new_stats)?).await?; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `save_mood`, `get_moods`, and `get_mood_stats` are never used [INFO] [stdout] --> src/services/mongodb_service.rs:121:18 [INFO] [stdout] | [INFO] [stdout] 24 | impl MongoDB { [INFO] [stdout] | ------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 121 | pub async fn save_mood(&self, chat_id: i64, mood: MoodEntry) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 142 | pub async fn get_moods(&self, chat_id: i64) -> Result> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 154 | pub async fn get_mood_stats(&self) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `save_mood`, `get_moods`, and `get_mood_stats` are never used [INFO] [stdout] --> src/services/mongodb_service.rs:121:18 [INFO] [stdout] | [INFO] [stdout] 24 | impl MongoDB { [INFO] [stdout] | ------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 121 | pub async fn save_mood(&self, chat_id: i64, mood: MoodEntry) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 142 | pub async fn get_moods(&self, chat_id: i64) -> Result> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 154 | pub async fn get_mood_stats(&self) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 01s [INFO] running `Command { std: "docker" "inspect" "823dacebac5d2d08072abc2543a1f56c6da2ec8f734de86dfba04bf7568f02bf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "823dacebac5d2d08072abc2543a1f56c6da2ec8f734de86dfba04bf7568f02bf", kill_on_drop: false }` [INFO] [stdout] 823dacebac5d2d08072abc2543a1f56c6da2ec8f734de86dfba04bf7568f02bf