[INFO] cloning repository https://github.com/icnawi/finamaton [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/icnawi/finamaton" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ficnawi%2Ffinamaton", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ficnawi%2Ffinamaton'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 0de2ff690e7d85d6170a8bc60da53bd6477e50e5 [INFO] checking icnawi/finamaton against try#c0a9760914bada211f4924ee16d41ae1a366d2ba for pr-148545 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ficnawi%2Ffinamaton" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/icnawi/finamaton [INFO] finished tweaking git repo https://github.com/icnawi/finamaton [INFO] tweaked toml for git repo https://github.com/icnawi/finamaton written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/icnawi/finamaton on toolchain c0a9760914bada211f4924ee16d41ae1a366d2ba [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c0a9760914bada211f4924ee16d41ae1a366d2ba" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/icnawi/finamaton 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" "+c0a9760914bada211f4924ee16d41ae1a366d2ba" "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 [ERROR] error running command: no output for 300 seconds [INFO] checking icnawi/finamaton against try#c0a9760914bada211f4924ee16d41ae1a366d2ba for pr-148545 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ficnawi%2Ffinamaton" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/icnawi/finamaton [INFO] finished tweaking git repo https://github.com/icnawi/finamaton [INFO] tweaked toml for git repo https://github.com/icnawi/finamaton written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/icnawi/finamaton on toolchain c0a9760914bada211f4924ee16d41ae1a366d2ba [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c0a9760914bada211f4924ee16d41ae1a366d2ba" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/icnawi/finamaton 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" "+c0a9760914bada211f4924ee16d41ae1a366d2ba" "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] [stderr] Downloading crates ... [INFO] [stderr] Downloaded uuid-macro-internal v1.10.0 [INFO] [stderr] Downloaded teloxide-macros v0.7.1 [INFO] [stderr] Downloaded teloxide v0.12.2 [INFO] [stderr] Downloaded aquamarine v0.1.12 [INFO] [stderr] Downloaded teloxide-core v0.9.1 [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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+c0a9760914bada211f4924ee16d41ae1a366d2ba" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1633eda06c8006c4d9f2b6e893f86516ab05cf08a6601c62c7b2ce7e10780322 [INFO] running `Command { std: "docker" "start" "-a" "1633eda06c8006c4d9f2b6e893f86516ab05cf08a6601c62c7b2ce7e10780322", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1633eda06c8006c4d9f2b6e893f86516ab05cf08a6601c62c7b2ce7e10780322", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1633eda06c8006c4d9f2b6e893f86516ab05cf08a6601c62c7b2ce7e10780322", kill_on_drop: false }` [INFO] [stdout] 1633eda06c8006c4d9f2b6e893f86516ab05cf08a6601c62c7b2ce7e10780322 [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=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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+c0a9760914bada211f4924ee16d41ae1a366d2ba" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 59367469be735c8ad8facb3cb5365004f8a6c80b8d44bd834a7ff0cc41849721 [INFO] running `Command { std: "docker" "start" "-a" "59367469be735c8ad8facb3cb5365004f8a6c80b8d44bd834a7ff0cc41849721", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Checking bytes v1.7.1 [INFO] [stderr] Compiling cc v1.1.7 [INFO] [stderr] Checking hashbrown v0.14.5 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Compiling serde v1.0.204 [INFO] [stderr] Compiling unicase v2.7.0 [INFO] [stderr] Compiling siphasher v0.3.11 [INFO] [stderr] Checking unicode-bidi v0.3.15 [INFO] [stderr] Compiling regex-syntax v0.8.4 [INFO] [stderr] Checking unicode-normalization v0.1.23 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling serde_json v1.0.122 [INFO] [stderr] Compiling erasable v1.2.1 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Checking quick-error v1.2.3 [INFO] [stderr] Compiling either v1.13.0 [INFO] [stderr] Compiling phf_shared v0.11.2 [INFO] [stderr] Checking humantime v1.3.0 [INFO] [stderr] Checking regex v1.10.6 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Compiling phf_generator v0.11.2 [INFO] [stderr] Compiling phf v0.11.2 [INFO] [stderr] Compiling mime_guess v2.0.5 [INFO] [stderr] Checking idna v0.5.0 [INFO] [stderr] Compiling phf_codegen v0.11.2 [INFO] [stderr] Checking never v0.1.0 [INFO] [stderr] Checking http v0.2.12 [INFO] [stderr] Checking http v1.1.0 [INFO] [stderr] Checking takecell v0.1.1 [INFO] [stderr] Checking rc-box v1.2.0 [INFO] [stderr] Compiling itertools v0.9.0 [INFO] [stderr] Checking take_mut v0.2.2 [INFO] [stderr] Checking rustls-pemfile v2.1.3 [INFO] [stderr] Checking combine v4.6.7 [INFO] [stderr] Checking chrono v0.4.38 [INFO] [stderr] Checking indexmap v2.3.0 [INFO] [stderr] Checking socket2 v0.4.10 [INFO] [stderr] Checking sha1_smol v1.0.1 [INFO] [stderr] Checking env_logger v0.7.1 [INFO] [stderr] Checking http-body v0.4.6 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling openssl-sys v0.9.103 [INFO] [stderr] Checking pretty_env_logger v0.4.0 [INFO] [stderr] Checking http-body v1.0.1 [INFO] [stderr] Compiling syn v2.0.72 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling openssl v0.10.66 [INFO] [stderr] Compiling native-tls v0.2.12 [INFO] [stderr] Compiling regex-automata v0.4.7 [INFO] [stderr] Compiling parse-zoneinfo v0.3.1 [INFO] [stderr] Compiling chrono-tz-build v0.3.0 [INFO] [stderr] Compiling darling_core v0.13.4 [INFO] [stderr] Compiling chrono-tz v0.9.0 [INFO] [stderr] Compiling aquamarine v0.1.12 [INFO] [stderr] Compiling teloxide-macros v0.7.1 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Compiling tokio-macros v2.4.0 [INFO] [stderr] Compiling serde_derive v1.0.204 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling pin-project-internal v1.1.5 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling uuid-macro-internal v1.10.0 [INFO] [stderr] Compiling thiserror-impl v1.0.63 [INFO] [stderr] Compiling derive_more v0.99.18 [INFO] [stderr] Checking tokio v1.39.2 [INFO] [stderr] Checking zerocopy v0.7.35 [INFO] [stderr] Compiling darling_macro v0.13.4 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Checking thiserror v1.0.63 [INFO] [stderr] Checking pin-project v1.1.5 [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 uuid v1.10.0 [INFO] [stderr] Checking futures-executor v0.3.30 [INFO] [stderr] Checking http-body-util v0.1.2 [INFO] [stderr] Checking futures v0.3.30 [INFO] [stderr] Checking dptree v0.3.0 [INFO] [stderr] Checking tokio-util v0.7.11 [INFO] [stderr] Checking tokio-native-tls v0.3.1 [INFO] [stderr] Checking tower v0.4.13 [INFO] [stderr] Checking tokio-stream v0.1.15 [INFO] [stderr] Checking h2 v0.3.26 [INFO] [stderr] Checking h2 v0.4.5 [INFO] [stderr] Checking url v2.5.2 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking redis v0.23.3 [INFO] [stderr] Checking hyper v0.14.30 [INFO] [stderr] Checking hyper v1.4.1 [INFO] [stderr] Checking hyper-util v0.1.6 [INFO] [stderr] Checking hyper-tls v0.5.0 [INFO] [stderr] Checking hyper-tls v0.6.0 [INFO] [stderr] Checking reqwest v0.11.27 [INFO] [stderr] Checking reqwest v0.12.5 [INFO] [stderr] Checking teloxide-core v0.9.1 [INFO] [stderr] Checking teloxide v0.12.2 [INFO] [stderr] Checking finamaton v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: this function depends on never type fallback being `()` [INFO] [stdout] --> src/bot/redis/chat.rs:53:1 [INFO] [stdout] | [INFO] [stdout] 53 | / pub fn add_chat_user_multiple( [INFO] [stdout] 54 | | con: &mut Connection, [INFO] [stdout] 55 | | chat_id: &str, [INFO] [stdout] 56 | | users: Vec, [INFO] [stdout] 57 | | ) -> RedisResult<()> { [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/bot/redis/chat.rs:61:17 [INFO] [stdout] | [INFO] [stdout] 61 | con.rpush(format!("{CHAT_KEY}:{chat_id}"), user)?; [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: `#[deny(dependency_on_unit_never_type_fallback)]` (part of `#[deny(rust_2024_compatibility)]`) on by default [INFO] [stdout] help: use `()` annotations to avoid fallback changes [INFO] [stdout] | [INFO] [stdout] 61 | con.rpush::<_, _, ()>(format!("{CHAT_KEY}:{chat_id}"), user)?; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this function depends on never type fallback being `()` [INFO] [stdout] --> src/bot/redis/connect.rs:41:1 [INFO] [stdout] | [INFO] [stdout] 41 | pub fn test_redis_connection() -> RedisResult { [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/bot/redis/connect.rs:43:9 [INFO] [stdout] | [INFO] [stdout] 43 | con.set("my_key", 42)?; [INFO] [stdout] | ^^^ [INFO] [stdout] help: use `()` annotations to avoid fallback changes [INFO] [stdout] | [INFO] [stdout] 43 ~ con.set::<_, _, ()>("my_key", 42)?; [INFO] [stdout] 44 | let res: i32 = con.get("my_key")?; [INFO] [stdout] 45 ~ con.del::<_, ()>("my_key")?; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this function depends on never type fallback being `()` [INFO] [stdout] --> src/bot/redis/payment.rs:28:1 [INFO] [stdout] | [INFO] [stdout] 28 | pub fn add_payment(con: &mut Connection, payment: &Payment) -> RedisResult { [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/bot/redis/payment.rs:31:9 [INFO] [stdout] | [INFO] [stdout] 31 | con.hset(&main_key, "description", &payment.description)?; [INFO] [stdout] | ^^^^ [INFO] [stdout] help: use `()` annotations to avoid fallback changes [INFO] [stdout] | [INFO] [stdout] 31 ~ con.hset::<_, _, _, ()>(&main_key, "description", &payment.description)?; [INFO] [stdout] 32 ~ con.hset::<_, _, _, ()>(&main_key, "datetime", &payment.datetime)?; [INFO] [stdout] 33 ~ con.hset::<_, _, _, ()>(&main_key, "creditor", &payment.creditor)?; [INFO] [stdout] 34 ~ con.hset::<_, _, _, ()>(&main_key, "currency", &payment.currency)?; [INFO] [stdout] 35 ~ con.hset::<_, _, _, ()>(&main_key, "total", &payment.total)?; [INFO] [stdout] 36 | [INFO] [stdout] 37 | let debt_key = format!("{PAYMENT_DEBT_KEY}:{id}"); [INFO] [stdout] 38 | for debt in &payment.debts { [INFO] [stdout] 39 ~ con.rpush::<_, _, ()>(&debt_key, debt)?; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this function depends on never type fallback being `()` [INFO] [stdout] --> src/bot/redis/payment.rs:70:1 [INFO] [stdout] | [INFO] [stdout] 70 | / pub fn update_payment( [INFO] [stdout] 71 | | con: &mut Connection, [INFO] [stdout] 72 | | payment_id: &str, [INFO] [stdout] 73 | | description: Option<&str>, [INFO] [stdout] ... | [INFO] [stdout] 77 | | debts: Option>, [INFO] [stdout] 78 | | ) -> RedisResult<()> { [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/bot/redis/payment.rs:81:13 [INFO] [stdout] | [INFO] [stdout] 81 | con.hset(&main_key, "description", desc)?; [INFO] [stdout] | ^^^^ [INFO] [stdout] help: use `()` annotations to avoid fallback changes [INFO] [stdout] | [INFO] [stdout] 81 ~ con.hset::<_, _, _, ()>(&main_key, "description", desc)?; [INFO] [stdout] 82 | } [INFO] [stdout] 83 | if let Some(cred) = creditor { [INFO] [stdout] 84 ~ con.hset::<_, _, _, ()>(&main_key, "creditor", cred)?; [INFO] [stdout] 85 | } [INFO] [stdout] 86 | if let Some(curr) = currency { [INFO] [stdout] 87 ~ con.hset::<_, _, _, ()>(&main_key, "currency", curr)?; [INFO] [stdout] 88 | } [INFO] [stdout] 89 | if let Some(tot) = total { [INFO] [stdout] 90 ~ con.hset::<_, _, _, ()>(&main_key, "total", tot)?; [INFO] [stdout] 91 | } [INFO] [stdout] 92 | if let Some(debt) = debts { [INFO] [stdout] 93 | let debt_key = format!("{PAYMENT_DEBT_KEY}:{payment_id}"); [INFO] [stdout] 94 ~ con.del::<_, ()>(&debt_key)?; [INFO] [stdout] 95 | for d in debt { [INFO] [stdout] 96 ~ con.rpush::<_, _, ()>(&debt_key, d)?; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this function depends on never type fallback being `()` [INFO] [stdout] --> src/bot/redis/payment.rs:104:1 [INFO] [stdout] | [INFO] [stdout] 104 | pub fn delete_payment(con: &mut Connection, payment_id: &str) -> RedisResult<()> { [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/bot/redis/payment.rs:107:9 [INFO] [stdout] | [INFO] [stdout] 107 | con.del(&main_key)?; [INFO] [stdout] | ^^^ [INFO] [stdout] help: use `()` annotations to avoid fallback changes [INFO] [stdout] | [INFO] [stdout] 107 ~ con.del::<_, ()>(&main_key)?; [INFO] [stdout] 108 ~ con.del::<_, ()>(&debt_key)?; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this function depends on never type fallback being `()` [INFO] [stdout] --> src/bot/redis/chat.rs:53:1 [INFO] [stdout] | [INFO] [stdout] 53 | / pub fn add_chat_user_multiple( [INFO] [stdout] 54 | | con: &mut Connection, [INFO] [stdout] 55 | | chat_id: &str, [INFO] [stdout] 56 | | users: Vec, [INFO] [stdout] 57 | | ) -> RedisResult<()> { [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/bot/redis/chat.rs:61:17 [INFO] [stdout] | [INFO] [stdout] 61 | con.rpush(format!("{CHAT_KEY}:{chat_id}"), user)?; [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: `#[deny(dependency_on_unit_never_type_fallback)]` (part of `#[deny(rust_2024_compatibility)]`) on by default [INFO] [stdout] help: use `()` annotations to avoid fallback changes [INFO] [stdout] | [INFO] [stdout] 61 | con.rpush::<_, _, ()>(format!("{CHAT_KEY}:{chat_id}"), user)?; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this function depends on never type fallback being `()` [INFO] [stdout] --> src/bot/redis/connect.rs:41:1 [INFO] [stdout] | [INFO] [stdout] 41 | pub fn test_redis_connection() -> RedisResult { [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/bot/redis/connect.rs:43:9 [INFO] [stdout] | [INFO] [stdout] 43 | con.set("my_key", 42)?; [INFO] [stdout] | ^^^ [INFO] [stdout] help: use `()` annotations to avoid fallback changes [INFO] [stdout] | [INFO] [stdout] 43 ~ con.set::<_, _, ()>("my_key", 42)?; [INFO] [stdout] 44 | let res: i32 = con.get("my_key")?; [INFO] [stdout] 45 ~ con.del::<_, ()>("my_key")?; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this function depends on never type fallback being `()` [INFO] [stdout] --> src/bot/redis/payment.rs:28:1 [INFO] [stdout] | [INFO] [stdout] 28 | pub fn add_payment(con: &mut Connection, payment: &Payment) -> RedisResult { [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/bot/redis/payment.rs:31:9 [INFO] [stdout] | [INFO] [stdout] 31 | con.hset(&main_key, "description", &payment.description)?; [INFO] [stdout] | ^^^^ [INFO] [stdout] help: use `()` annotations to avoid fallback changes [INFO] [stdout] | [INFO] [stdout] 31 ~ con.hset::<_, _, _, ()>(&main_key, "description", &payment.description)?; [INFO] [stdout] 32 ~ con.hset::<_, _, _, ()>(&main_key, "datetime", &payment.datetime)?; [INFO] [stdout] 33 ~ con.hset::<_, _, _, ()>(&main_key, "creditor", &payment.creditor)?; [INFO] [stdout] 34 ~ con.hset::<_, _, _, ()>(&main_key, "currency", &payment.currency)?; [INFO] [stdout] 35 ~ con.hset::<_, _, _, ()>(&main_key, "total", &payment.total)?; [INFO] [stdout] 36 | [INFO] [stdout] 37 | let debt_key = format!("{PAYMENT_DEBT_KEY}:{id}"); [INFO] [stdout] 38 | for debt in &payment.debts { [INFO] [stdout] 39 ~ con.rpush::<_, _, ()>(&debt_key, debt)?; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this function depends on never type fallback being `()` [INFO] [stdout] --> src/bot/redis/payment.rs:70:1 [INFO] [stdout] | [INFO] [stdout] 70 | / pub fn update_payment( [INFO] [stdout] 71 | | con: &mut Connection, [INFO] [stdout] 72 | | payment_id: &str, [INFO] [stdout] 73 | | description: Option<&str>, [INFO] [stdout] ... | [INFO] [stdout] 77 | | debts: Option>, [INFO] [stdout] 78 | | ) -> RedisResult<()> { [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/bot/redis/payment.rs:81:13 [INFO] [stdout] | [INFO] [stdout] 81 | con.hset(&main_key, "description", desc)?; [INFO] [stdout] | ^^^^ [INFO] [stdout] help: use `()` annotations to avoid fallback changes [INFO] [stdout] | [INFO] [stdout] 81 ~ con.hset::<_, _, _, ()>(&main_key, "description", desc)?; [INFO] [stdout] 82 | } [INFO] [stdout] 83 | if let Some(cred) = creditor { [INFO] [stdout] 84 ~ con.hset::<_, _, _, ()>(&main_key, "creditor", cred)?; [INFO] [stdout] 85 | } [INFO] [stdout] 86 | if let Some(curr) = currency { [INFO] [stdout] 87 ~ con.hset::<_, _, _, ()>(&main_key, "currency", curr)?; [INFO] [stdout] 88 | } [INFO] [stdout] 89 | if let Some(tot) = total { [INFO] [stdout] 90 ~ con.hset::<_, _, _, ()>(&main_key, "total", tot)?; [INFO] [stdout] 91 | } [INFO] [stdout] 92 | if let Some(debt) = debts { [INFO] [stdout] 93 | let debt_key = format!("{PAYMENT_DEBT_KEY}:{payment_id}"); [INFO] [stdout] 94 ~ con.del::<_, ()>(&debt_key)?; [INFO] [stdout] 95 | for d in debt { [INFO] [stdout] 96 ~ con.rpush::<_, _, ()>(&debt_key, d)?; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this function depends on never type fallback being `()` [INFO] [stdout] --> src/bot/redis/payment.rs:104:1 [INFO] [stdout] | [INFO] [stdout] 104 | pub fn delete_payment(con: &mut Connection, payment_id: &str) -> RedisResult<()> { [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/bot/redis/payment.rs:107:9 [INFO] [stdout] | [INFO] [stdout] 107 | con.del(&main_key)?; [INFO] [stdout] | ^^^ [INFO] [stdout] help: use `()` annotations to avoid fallback changes [INFO] [stdout] | [INFO] [stdout] 107 ~ con.del::<_, ()>(&main_key)?; [INFO] [stdout] 108 ~ con.del::<_, ()>(&debt_key)?; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `USER_GUIDE_URL` is never used [INFO] [stdout] --> src/bot/constants/urls.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | pub const USER_GUIDE_URL: &str = "https://finamaton.super.site/user-guide"; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `FEEDBACK_URL` is never used [INFO] [stdout] --> src/bot/constants/urls.rs:2:11 [INFO] [stdout] | [INFO] [stdout] 2 | pub const FEEDBACK_URL: &str = "https://finamaton.super.site/feedback"; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `finamaton` (lib) due to 10 previous errors; 2 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: constant `USER_GUIDE_URL` is never used [INFO] [stdout] --> src/bot/constants/urls.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | pub const USER_GUIDE_URL: &str = "https://finamaton.super.site/user-guide"; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `FEEDBACK_URL` is never used [INFO] [stdout] --> src/bot/constants/urls.rs:2:11 [INFO] [stdout] | [INFO] [stdout] 2 | pub const FEEDBACK_URL: &str = "https://finamaton.super.site/feedback"; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `finamaton` (lib test) due to 10 previous errors; 2 warnings emitted [INFO] running `Command { std: "docker" "inspect" "59367469be735c8ad8facb3cb5365004f8a6c80b8d44bd834a7ff0cc41849721", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "59367469be735c8ad8facb3cb5365004f8a6c80b8d44bd834a7ff0cc41849721", kill_on_drop: false }` [INFO] [stdout] 59367469be735c8ad8facb3cb5365004f8a6c80b8d44bd834a7ff0cc41849721