panic on /_matrix/client/v3/keys/query #1052

Closed
opened 2025-09-20 16:41:46 +00:00 by nex · 2 comments
Owner

I keep getting the following, even on a fresh database. Element Web (nightly) is sending a POST request with the body {"device_keys":{"@nex:v12.desktop.infra.srv.timedout.uk":[]}}.

Panic:

thread 'conduwuit:worker' panicked at /home/nex/RustroverProjects/continuwuity/src/database/de.rs:418:3:
assertion `left == right` failed: deserialize_any: type not expected
  left: "serde_json::value::de::<impl serde_core::de::Deserialize for serde_json::value::Value>::deserialize::ValueVisitor"
 right: "serde_json::value::de::<impl serde::de::Deserialize for serde_json::value::Value>::deserialize::ValueVisitor"
stack backtrace:
   0: __rustc::rust_begin_unwind
             at /rustc/29483883eed69d5fb4db01964cdf2af4d86e9cb2/library/std/src/panicking.rs:697:5
   1: core::panicking::panic_fmt
             at /rustc/29483883eed69d5fb4db01964cdf2af4d86e9cb2/library/core/src/panicking.rs:75:14
   2: core::panicking::assert_failed_inner
             at /rustc/29483883eed69d5fb4db01964cdf2af4d86e9cb2/library/core/src/panicking.rs:427:23
   3: core::panicking::assert_failed
             at /home/nex/.rustup/toolchains/1.89.0-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/panicking.rs:387:5
   4: <&mut conduwuit_database::de::Deserializer as serde_core::de::Deserializer>::deserialize_any
             at ./src/database/de.rs:418:3
   5: serde_json::value::de::<impl serde_core::de::Deserialize for serde_json::value::Value>::deserialize
             at /home/nex/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/serde_json-1.0.145/src/value/de.rs:151:22
   6: conduwuit_database::de::from_slice
             at ./src/database/de.rs:27:2
   7: conduwuit_database::keyval::deserialize_val
             at ./src/database/keyval.rs:96:2
   8: <&conduwuit_database::handle::Handle as conduwuit_database::deserialized::Deserialized>::map_de
             at ./src/database/handle.rs:63:3
   9: conduwuit_database::handle::<impl conduwuit_database::deserialized::Deserialized for core::result::Result<conduwuit_database::handle::Handle,conduwuit_core::error::Error>>::map_de
             at ./src/database/handle.rs:41:9
  10: conduwuit_database::deserialized::Deserialized::deserialized
             at ./src/database/deserialized.rs:18:8
  11: conduwuit_service::users::Service::get_key::{{closure}}
             at ./src/service/users/mod.rs:845:68
  12: conduwuit_service::users::Service::get_master_key::{{closure}}
             at ./src/service/users/mod.rs:864:5
  13: conduwuit_api::client::keys::get_keys_helper::{{closure}}
             at ./src/api/client/keys.rs:495:5
  14: conduwuit_api::client::keys::get_keys_route::{{closure}}
             at ./src/api/client/keys.rs:138:3
  15: <F as futures_core::future::TryFuture>::try_poll
             at /home/nex/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/futures-core-0.3.31/src/future.rs:92:14
  16: <futures_util::future::try_future::into_future::IntoFuture<Fut> as core::future::future::Future>::poll
             at /home/nex/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/futures-util-0.3.31/src/future/try_future/into_future.rs:34:31
  17: <futures_util::future::future::map::Map<Fut,F> as core::future::future::Future>::poll
             at /home/nex/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/futures-util-0.3.31/src/future/future/map.rs:55:44
  18: <futures_util::future::future::Map<Fut,F> as core::future::future::Future>::poll
             at /home/nex/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/futures-util-0.3.31/src/lib.rs:86:35
  19: <futures_util::future::try_future::MapOk<Fut,F> as core::future::future::Future>::poll
             at /home/nex/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/futures-util-0.3.31/src/lib.rs:86:35
  20: <F as axum::handler::Handler<(M,T1,T2),S>>::call::{{closure}}
             at /home/nex/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/axum-0.7.9/src/handler/mod.rs:241:53
  21: <core::pin::Pin<P> as core::future::future::Future>::poll
             at /home/nex/.rustup/toolchains/1.89.0-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/future/future.rs:124:9
  22: <futures_util::future::future::map::Map<Fut,F> as core::future::future::Future>::poll
             at /home/nex/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/futures-util-0.3.31/src/future/future/map.rs:55:44
  23: <futures_util::future::future::Map<Fut,F> as core::future::future::Future>::poll
             at /home/nex/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/futures-util-0.3.31/src/lib.rs:86:35
  24: <axum::handler::future::IntoServiceFuture<F> as core::future::future::Future>::poll
             at /home/nex/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/axum-0.7.9/src/macros.rs:42:39
  25: <F as futures_core::future::TryFuture>::try_poll
             at /home/nex/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/futures-core-0.3.31/src/future.rs:92:14
  26: <futures_util::future::try_future::into_future::IntoFuture<Fut> as core::future::future::Future>::poll
             at /home/nex/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/futures-util-0.3.31/src/future/try_future/into_future.rs:34:31
  27: <futures_util::future::future::map::Map<Fut,F> as core::future::future::Future>::poll
             at /home/nex/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/futures-util-0.3.31/src/future/future/map.rs:55:44
  28: <futures_util::future::future::Map<Fut,F> as core::future::future::Future>::poll
             at /home/nex/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/futures-util-0.3.31/src/lib.rs:86:35
  29: <futures_util::future::try_future::MapOk<Fut,F> as core::future::future::Future>::poll
             at /home/nex/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/futures-util-0.3.31/src/lib.rs:86:35
  30: <tower::util::map_response::MapResponseFuture<F,N> as core::future::future::Future>::poll
             at /home/nex/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tower-0.5.2/src/macros.rs:38:38
  31: <core::pin::Pin<P> as core::future::future::Future>::poll
             at /home/nex/.rustup/toolchains/1.89.0-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/future/future.rs:124:9
  32: <tower::util::oneshot::Oneshot<S,Req> as core::future::future::Future>::poll
             at /home/nex/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tower-0.5.2/src/util/oneshot.rs:97:42
  33: <axum::routing::route::RouteFuture<E> as core::future::future::Future>::poll
             at /home/nex/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/axum-0.7.9/src/routing/route.rs:182:68
  34: <core::panic::unwind_safe::AssertUnwindSafe<F> as core::future::future::Future>::poll
             at /home/nex/.rustup/toolchains/1.89.0-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/panic/unwind_safe.rs:297:9
  35: <futures_util::future::future::catch_unwind::CatchUnwind<Fut> as core::future::future::Future>::poll::{{closure}}
             at /home/nex/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/futures-util-0.3.31/src/future/future/catch_unwind.rs:37:44
  36: <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once
             at /home/nex/.rustup/toolchains/1.89.0-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/panic/unwind_safe.rs:272:9
  37: std::panicking::catch_unwind::do_call
             at /home/nex/.rustup/toolchains/1.89.0-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/panicking.rs:589:40
  38: __rust_try
  39: std::panicking::catch_unwind
             at /home/nex/.rustup/toolchains/1.89.0-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/panicking.rs:552:19
  40: std::panic::catch_unwind
             at /home/nex/.rustup/toolchains/1.89.0-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/panic.rs:359:14
  41: <futures_util::future::future::catch_unwind::CatchUnwind<Fut> as core::future::future::Future>::poll
             at /home/nex/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/futures-util-0.3.31/src/future/future/catch_unwind.rs:37:9
  42: <tower_http::catch_panic::ResponseFuture<F,T> as core::future::future::Future>::poll
             at /home/nex/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tower-http-0.6.6/src/catch_panic.rs:269:38
  43: <tower_http::cors::ResponseFuture<F> as core::future::future::Future>::poll
             at /home/nex/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tower-http-0.6.6/src/cors/mod.rs:755:63
  44: <tower_http::set_header::response::ResponseFuture<F,M> as core::future::future::Future>::poll
             at /home/nex/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tower-http-0.6.6/src/set_header/response.rs:294:42
  45: <tower_http::set_header::response::ResponseFuture<F,M> as core::future::future::Future>::poll
             at /home/nex/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tower-http-0.6.6/src/set_header/response.rs:294:42
  46: <tower_http::set_header::response::ResponseFuture<F,M> as core::future::future::Future>::poll
             at /home/nex/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tower-http-0.6.6/src/set_header/response.rs:294:42
  47: <tower_http::set_header::response::ResponseFuture<F,M> as core::future::future::Future>::poll
             at /home/nex/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tower-http-0.6.6/src/set_header/response.rs:294:42
  48: <tower_http::set_header::response::ResponseFuture<F,M> as core::future::future::Future>::poll
             at /home/nex/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tower-http-0.6.6/src/set_header/response.rs:294:42
  49: <tower_http::set_header::response::ResponseFuture<F,M> as core::future::future::Future>::poll
             at /home/nex/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tower-http-0.6.6/src/set_header/response.rs:294:42
  50: <tower_http::timeout::service::ResponseFuture<F> as core::future::future::Future>::poll
             at /home/nex/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tower-http-0.6.6/src/timeout/service.rs:114:20
  51: <tower_http::timeout::service::ResponseBodyTimeoutFuture<Fut> as core::future::future::Future>::poll
             at /home/nex/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tower-http-0.6.6/src/timeout/service.rs:268:37
  52: <F as futures_core::future::TryFuture>::try_poll
             at /home/nex/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/futures-core-0.3.31/src/future.rs:92:14
  53: <futures_util::future::try_future::into_future::IntoFuture<Fut> as core::future::future::Future>::poll
             at /home/nex/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/futures-util-0.3.31/src/future/try_future/into_future.rs:34:31
  54: <futures_util::future::future::map::Map<Fut,F> as core::future::future::Future>::poll
             at /home/nex/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/futures-util-0.3.31/src/future/future/map.rs:55:44
  55: <futures_util::future::future::Map<Fut,F> as core::future::future::Future>::poll
             at /home/nex/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/futures-util-0.3.31/src/lib.rs:86:35
  56: <futures_util::future::try_future::MapOk<Fut,F> as core::future::future::Future>::poll
             at /home/nex/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/futures-util-0.3.31/src/lib.rs:86:35
  57: <tower::util::map_response::MapResponseFuture<F,N> as core::future::future::Future>::poll
             at /home/nex/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tower-0.5.2/src/macros.rs:38:38
  58: <core::pin::Pin<P> as core::future::future::Future>::poll
             at /home/nex/.rustup/toolchains/1.89.0-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/future/future.rs:124:9
  59: axum::middleware::from_fn::Next::run::{{closure}}
             at /home/nex/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/axum-0.7.9/src/middleware/from_fn.rs:342:36
  60: conduwuit_router::request::execute::{{closure}}::{{closure}}
             at ./src/router/request.rs:96:16
  61: <tracing::instrument::Instrumented<T> as core::future::future::Future>::poll
             at /home/nex/.cargo/git/checkouts/tracing-6f9516a190fc2e8c/1e64095/tracing/src/instrument.rs:321:15
  62: conduwuit_router::request::execute::{{closure}}
             at ./src/router/request.rs:57:1
  63: conduwuit_router::request::handle::{{closure}}::{{closure}}::{{closure}}::{{closure}}
             at /home/nex/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.47.1/src/macros/select.rs:708:49
  64: <core::future::poll_fn::PollFn<F> as core::future::future::Future>::poll
             at /home/nex/.rustup/toolchains/1.89.0-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/future/poll_fn.rs:151:9
  65: conduwuit_router::request::handle::{{closure}}::{{closure}}::{{closure}}
             at ./src/router/request.rs:39:3
  66: tokio::runtime::task::core::Core<T,S>::poll::{{closure}}
             at /home/nex/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.47.1/src/runtime/task/core.rs:365:24
  67: tokio::loom::std::unsafe_cell::UnsafeCell<T>::with_mut
             at /home/nex/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.47.1/src/loom/std/unsafe_cell.rs:16:9
  68: tokio::runtime::task::core::Core<T,S>::poll
             at /home/nex/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.47.1/src/runtime/task/core.rs:354:30
  69: tokio::runtime::task::harness::poll_future::{{closure}}
             at /home/nex/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.47.1/src/runtime/task/harness.rs:535:30
  70: <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once
             at /home/nex/.rustup/toolchains/1.89.0-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/panic/unwind_safe.rs:272:9
  71: std::panicking::catch_unwind::do_call
             at /home/nex/.rustup/toolchains/1.89.0-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/panicking.rs:589:40
  72: __rust_try
  73: std::panicking::catch_unwind
             at /home/nex/.rustup/toolchains/1.89.0-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/panicking.rs:552:19
  74: std::panic::catch_unwind
             at /home/nex/.rustup/toolchains/1.89.0-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/panic.rs:359:14
  75: tokio::runtime::task::harness::poll_future
             at /home/nex/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.47.1/src/runtime/task/harness.rs:523:18
  76: tokio::runtime::task::harness::Harness<T,S>::poll_inner
             at /home/nex/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.47.1/src/runtime/task/harness.rs:210:27
  77: tokio::runtime::task::harness::Harness<T,S>::poll
             at /home/nex/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.47.1/src/runtime/task/harness.rs:155:20
  78: tokio::runtime::task::raw::poll
             at /home/nex/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.47.1/src/runtime/task/raw.rs:325:13
  79: tokio::runtime::task::raw::RawTask::poll
             at /home/nex/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.47.1/src/runtime/task/raw.rs:255:18
  80: tokio::runtime::task::LocalNotified<S>::run
             at /home/nex/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.47.1/src/runtime/task/mod.rs:509:13
  81: tokio::runtime::scheduler::multi_thread::worker::Context::run_task::{{closure}}
             at /home/nex/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.47.1/src/runtime/scheduler/multi_thread/worker.rs:677:22
  82: tokio::task::coop::with_budget
             at /home/nex/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.47.1/src/task/coop/mod.rs:167:5
  83: tokio::task::coop::budget
             at /home/nex/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.47.1/src/task/coop/mod.rs:133:5
  84: tokio::runtime::scheduler::multi_thread::worker::Context::run_task
             at /home/nex/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.47.1/src/runtime/scheduler/multi_thread/worker.rs:591:9
  85: tokio::runtime::scheduler::multi_thread::worker::Context::run
             at /home/nex/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.47.1/src/runtime/scheduler/multi_thread/worker.rs:539:29
  86: tokio::runtime::scheduler::multi_thread::worker::run::{{closure}}::{{closure}}
             at /home/nex/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.47.1/src/runtime/scheduler/multi_thread/worker.rs:504:24
  87: tokio::runtime::context::scoped::Scoped<T>::set
             at /home/nex/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.47.1/src/runtime/context/scoped.rs:40:9
  88: tokio::runtime::context::set_scheduler
             at /home/nex/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.47.1/src/runtime/context.rs:176:17
  89: tokio::runtime::scheduler::multi_thread::worker::run::{{closure}}
             at /home/nex/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.47.1/src/runtime/scheduler/multi_thread/worker.rs:499:9
  90: tokio::runtime::context::runtime::enter_runtime
             at /home/nex/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.47.1/src/runtime/context/runtime.rs:65:16
  91: tokio::runtime::scheduler::multi_thread::worker::run
             at /home/nex/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.47.1/src/runtime/scheduler/multi_thread/worker.rs:491:5
  92: tokio::runtime::scheduler::multi_thread::worker::Launch::launch::{{closure}}
             at /home/nex/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.47.1/src/runtime/scheduler/multi_thread/worker.rs:457:45
  93: <tokio::runtime::blocking::task::BlockingTask<T> as core::future::future::Future>::poll
             at /home/nex/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.47.1/src/runtime/blocking/task.rs:42:21
  94: tokio::runtime::task::core::Core<T,S>::poll::{{closure}}
             at /home/nex/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.47.1/src/runtime/task/core.rs:365:24
  95: tokio::loom::std::unsafe_cell::UnsafeCell<T>::with_mut
             at /home/nex/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.47.1/src/loom/std/unsafe_cell.rs:16:9
  96: tokio::runtime::task::core::Core<T,S>::poll
             at /home/nex/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.47.1/src/runtime/task/core.rs:354:30
  97: tokio::runtime::task::harness::poll_future::{{closure}}
             at /home/nex/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.47.1/src/runtime/task/harness.rs:535:30
  98: <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once
             at /home/nex/.rustup/toolchains/1.89.0-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/panic/unwind_safe.rs:272:9
  99: std::panicking::catch_unwind::do_call
             at /home/nex/.rustup/toolchains/1.89.0-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/panicking.rs:589:40
 100: std::panicking::catch_unwind
             at /home/nex/.rustup/toolchains/1.89.0-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/panicking.rs:552:19
 101: std::panic::catch_unwind
             at /home/nex/.rustup/toolchains/1.89.0-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/panic.rs:359:14
 102: tokio::runtime::task::harness::poll_future
             at /home/nex/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.47.1/src/runtime/task/harness.rs:523:18
 103: tokio::runtime::task::harness::Harness<T,S>::poll_inner
             at /home/nex/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.47.1/src/runtime/task/harness.rs:210:27
 104: tokio::runtime::task::harness::Harness<T,S>::poll
             at /home/nex/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.47.1/src/runtime/task/harness.rs:155:20
 105: tokio::runtime::task::raw::RawTask::poll
             at /home/nex/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.47.1/src/runtime/task/raw.rs:255:18
 106: tokio::runtime::task::UnownedTask<S>::run
             at /home/nex/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.47.1/src/runtime/task/mod.rs:546:13
 107: tokio::runtime::blocking::pool::Task::run
             at /home/nex/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.47.1/src/runtime/blocking/pool.rs:161:19
 108: tokio::runtime::blocking::pool::Inner::run
             at /home/nex/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.47.1/src/runtime/blocking/pool.rs:516:22
 109: tokio::runtime::blocking::pool::Spawner::spawn_thread::{{closure}}
             at /home/nex/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.47.1/src/runtime/blocking/pool.rs:474:47
note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace.
  2025-09-20T16:39:42.178027Z ERROR conduwuit_router::layers: assertion `left == right` failed: deserialize_any: type not expected
  left: "serde_json::value::de::<impl serde_core::de::Deserialize for serde_json::value::Value>::deserialize::ValueVisitor"                                                                                                                           
 right: "serde_json::value::de::<impl serde::de::Deserialize for serde_json::value::Value>::deserialize::ValueVisitor"                                                                                                                                
    at src/router/layers.rs:190 on conduwuit:worker ThreadId(7)
    in conduwuit_router::layers::panic
    in conduwuit_router::layers::router with method=POST path=/_matrix/client/v3/keys/query

  2025-09-20T16:39:42.178138Z ERROR conduwuit_router::request: 500 Internal Server Error, method: POST, uri: /_matrix/client/v3/keys/query
    at src/router/request.rs:105 on conduwuit:worker ThreadId(7)
    in conduwuit_router::layers::router with method=POST path=/_matrix/client/v3/keys/query

  2025-09-20T16:39:42.178182Z ERROR tower_http::trace::on_failure: response failed, classification: Status code: 500 Internal Server Error, latency: 6 ms
    at /home/nex/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tower-http-0.6.6/src/trace/on_failure.rs:93 on conduwuit:worker ThreadId(7)
    in conduwuit_router::layers::router with method=POST path=/_matrix/client/v3/keys/query
I keep getting the following, even on a fresh database. Element Web (nightly) is sending a POST request with the body `{"device_keys":{"@nex:v12.desktop.infra.srv.timedout.uk":[]}}`. Panic: ``` thread 'conduwuit:worker' panicked at /home/nex/RustroverProjects/continuwuity/src/database/de.rs:418:3: assertion `left == right` failed: deserialize_any: type not expected left: "serde_json::value::de::<impl serde_core::de::Deserialize for serde_json::value::Value>::deserialize::ValueVisitor" right: "serde_json::value::de::<impl serde::de::Deserialize for serde_json::value::Value>::deserialize::ValueVisitor" stack backtrace: 0: __rustc::rust_begin_unwind at /rustc/29483883eed69d5fb4db01964cdf2af4d86e9cb2/library/std/src/panicking.rs:697:5 1: core::panicking::panic_fmt at /rustc/29483883eed69d5fb4db01964cdf2af4d86e9cb2/library/core/src/panicking.rs:75:14 2: core::panicking::assert_failed_inner at /rustc/29483883eed69d5fb4db01964cdf2af4d86e9cb2/library/core/src/panicking.rs:427:23 3: core::panicking::assert_failed at /home/nex/.rustup/toolchains/1.89.0-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/panicking.rs:387:5 4: <&mut conduwuit_database::de::Deserializer as serde_core::de::Deserializer>::deserialize_any at ./src/database/de.rs:418:3 5: serde_json::value::de::<impl serde_core::de::Deserialize for serde_json::value::Value>::deserialize at /home/nex/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/serde_json-1.0.145/src/value/de.rs:151:22 6: conduwuit_database::de::from_slice at ./src/database/de.rs:27:2 7: conduwuit_database::keyval::deserialize_val at ./src/database/keyval.rs:96:2 8: <&conduwuit_database::handle::Handle as conduwuit_database::deserialized::Deserialized>::map_de at ./src/database/handle.rs:63:3 9: conduwuit_database::handle::<impl conduwuit_database::deserialized::Deserialized for core::result::Result<conduwuit_database::handle::Handle,conduwuit_core::error::Error>>::map_de at ./src/database/handle.rs:41:9 10: conduwuit_database::deserialized::Deserialized::deserialized at ./src/database/deserialized.rs:18:8 11: conduwuit_service::users::Service::get_key::{{closure}} at ./src/service/users/mod.rs:845:68 12: conduwuit_service::users::Service::get_master_key::{{closure}} at ./src/service/users/mod.rs:864:5 13: conduwuit_api::client::keys::get_keys_helper::{{closure}} at ./src/api/client/keys.rs:495:5 14: conduwuit_api::client::keys::get_keys_route::{{closure}} at ./src/api/client/keys.rs:138:3 15: <F as futures_core::future::TryFuture>::try_poll at /home/nex/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/futures-core-0.3.31/src/future.rs:92:14 16: <futures_util::future::try_future::into_future::IntoFuture<Fut> as core::future::future::Future>::poll at /home/nex/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/futures-util-0.3.31/src/future/try_future/into_future.rs:34:31 17: <futures_util::future::future::map::Map<Fut,F> as core::future::future::Future>::poll at /home/nex/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/futures-util-0.3.31/src/future/future/map.rs:55:44 18: <futures_util::future::future::Map<Fut,F> as core::future::future::Future>::poll at /home/nex/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/futures-util-0.3.31/src/lib.rs:86:35 19: <futures_util::future::try_future::MapOk<Fut,F> as core::future::future::Future>::poll at /home/nex/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/futures-util-0.3.31/src/lib.rs:86:35 20: <F as axum::handler::Handler<(M,T1,T2),S>>::call::{{closure}} at /home/nex/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/axum-0.7.9/src/handler/mod.rs:241:53 21: <core::pin::Pin<P> as core::future::future::Future>::poll at /home/nex/.rustup/toolchains/1.89.0-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/future/future.rs:124:9 22: <futures_util::future::future::map::Map<Fut,F> as core::future::future::Future>::poll at /home/nex/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/futures-util-0.3.31/src/future/future/map.rs:55:44 23: <futures_util::future::future::Map<Fut,F> as core::future::future::Future>::poll at /home/nex/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/futures-util-0.3.31/src/lib.rs:86:35 24: <axum::handler::future::IntoServiceFuture<F> as core::future::future::Future>::poll at /home/nex/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/axum-0.7.9/src/macros.rs:42:39 25: <F as futures_core::future::TryFuture>::try_poll at /home/nex/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/futures-core-0.3.31/src/future.rs:92:14 26: <futures_util::future::try_future::into_future::IntoFuture<Fut> as core::future::future::Future>::poll at /home/nex/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/futures-util-0.3.31/src/future/try_future/into_future.rs:34:31 27: <futures_util::future::future::map::Map<Fut,F> as core::future::future::Future>::poll at /home/nex/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/futures-util-0.3.31/src/future/future/map.rs:55:44 28: <futures_util::future::future::Map<Fut,F> as core::future::future::Future>::poll at /home/nex/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/futures-util-0.3.31/src/lib.rs:86:35 29: <futures_util::future::try_future::MapOk<Fut,F> as core::future::future::Future>::poll at /home/nex/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/futures-util-0.3.31/src/lib.rs:86:35 30: <tower::util::map_response::MapResponseFuture<F,N> as core::future::future::Future>::poll at /home/nex/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tower-0.5.2/src/macros.rs:38:38 31: <core::pin::Pin<P> as core::future::future::Future>::poll at /home/nex/.rustup/toolchains/1.89.0-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/future/future.rs:124:9 32: <tower::util::oneshot::Oneshot<S,Req> as core::future::future::Future>::poll at /home/nex/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tower-0.5.2/src/util/oneshot.rs:97:42 33: <axum::routing::route::RouteFuture<E> as core::future::future::Future>::poll at /home/nex/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/axum-0.7.9/src/routing/route.rs:182:68 34: <core::panic::unwind_safe::AssertUnwindSafe<F> as core::future::future::Future>::poll at /home/nex/.rustup/toolchains/1.89.0-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/panic/unwind_safe.rs:297:9 35: <futures_util::future::future::catch_unwind::CatchUnwind<Fut> as core::future::future::Future>::poll::{{closure}} at /home/nex/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/futures-util-0.3.31/src/future/future/catch_unwind.rs:37:44 36: <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once at /home/nex/.rustup/toolchains/1.89.0-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/panic/unwind_safe.rs:272:9 37: std::panicking::catch_unwind::do_call at /home/nex/.rustup/toolchains/1.89.0-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/panicking.rs:589:40 38: __rust_try 39: std::panicking::catch_unwind at /home/nex/.rustup/toolchains/1.89.0-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/panicking.rs:552:19 40: std::panic::catch_unwind at /home/nex/.rustup/toolchains/1.89.0-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/panic.rs:359:14 41: <futures_util::future::future::catch_unwind::CatchUnwind<Fut> as core::future::future::Future>::poll at /home/nex/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/futures-util-0.3.31/src/future/future/catch_unwind.rs:37:9 42: <tower_http::catch_panic::ResponseFuture<F,T> as core::future::future::Future>::poll at /home/nex/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tower-http-0.6.6/src/catch_panic.rs:269:38 43: <tower_http::cors::ResponseFuture<F> as core::future::future::Future>::poll at /home/nex/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tower-http-0.6.6/src/cors/mod.rs:755:63 44: <tower_http::set_header::response::ResponseFuture<F,M> as core::future::future::Future>::poll at /home/nex/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tower-http-0.6.6/src/set_header/response.rs:294:42 45: <tower_http::set_header::response::ResponseFuture<F,M> as core::future::future::Future>::poll at /home/nex/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tower-http-0.6.6/src/set_header/response.rs:294:42 46: <tower_http::set_header::response::ResponseFuture<F,M> as core::future::future::Future>::poll at /home/nex/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tower-http-0.6.6/src/set_header/response.rs:294:42 47: <tower_http::set_header::response::ResponseFuture<F,M> as core::future::future::Future>::poll at /home/nex/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tower-http-0.6.6/src/set_header/response.rs:294:42 48: <tower_http::set_header::response::ResponseFuture<F,M> as core::future::future::Future>::poll at /home/nex/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tower-http-0.6.6/src/set_header/response.rs:294:42 49: <tower_http::set_header::response::ResponseFuture<F,M> as core::future::future::Future>::poll at /home/nex/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tower-http-0.6.6/src/set_header/response.rs:294:42 50: <tower_http::timeout::service::ResponseFuture<F> as core::future::future::Future>::poll at /home/nex/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tower-http-0.6.6/src/timeout/service.rs:114:20 51: <tower_http::timeout::service::ResponseBodyTimeoutFuture<Fut> as core::future::future::Future>::poll at /home/nex/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tower-http-0.6.6/src/timeout/service.rs:268:37 52: <F as futures_core::future::TryFuture>::try_poll at /home/nex/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/futures-core-0.3.31/src/future.rs:92:14 53: <futures_util::future::try_future::into_future::IntoFuture<Fut> as core::future::future::Future>::poll at /home/nex/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/futures-util-0.3.31/src/future/try_future/into_future.rs:34:31 54: <futures_util::future::future::map::Map<Fut,F> as core::future::future::Future>::poll at /home/nex/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/futures-util-0.3.31/src/future/future/map.rs:55:44 55: <futures_util::future::future::Map<Fut,F> as core::future::future::Future>::poll at /home/nex/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/futures-util-0.3.31/src/lib.rs:86:35 56: <futures_util::future::try_future::MapOk<Fut,F> as core::future::future::Future>::poll at /home/nex/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/futures-util-0.3.31/src/lib.rs:86:35 57: <tower::util::map_response::MapResponseFuture<F,N> as core::future::future::Future>::poll at /home/nex/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tower-0.5.2/src/macros.rs:38:38 58: <core::pin::Pin<P> as core::future::future::Future>::poll at /home/nex/.rustup/toolchains/1.89.0-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/future/future.rs:124:9 59: axum::middleware::from_fn::Next::run::{{closure}} at /home/nex/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/axum-0.7.9/src/middleware/from_fn.rs:342:36 60: conduwuit_router::request::execute::{{closure}}::{{closure}} at ./src/router/request.rs:96:16 61: <tracing::instrument::Instrumented<T> as core::future::future::Future>::poll at /home/nex/.cargo/git/checkouts/tracing-6f9516a190fc2e8c/1e64095/tracing/src/instrument.rs:321:15 62: conduwuit_router::request::execute::{{closure}} at ./src/router/request.rs:57:1 63: conduwuit_router::request::handle::{{closure}}::{{closure}}::{{closure}}::{{closure}} at /home/nex/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.47.1/src/macros/select.rs:708:49 64: <core::future::poll_fn::PollFn<F> as core::future::future::Future>::poll at /home/nex/.rustup/toolchains/1.89.0-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/future/poll_fn.rs:151:9 65: conduwuit_router::request::handle::{{closure}}::{{closure}}::{{closure}} at ./src/router/request.rs:39:3 66: tokio::runtime::task::core::Core<T,S>::poll::{{closure}} at /home/nex/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.47.1/src/runtime/task/core.rs:365:24 67: tokio::loom::std::unsafe_cell::UnsafeCell<T>::with_mut at /home/nex/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.47.1/src/loom/std/unsafe_cell.rs:16:9 68: tokio::runtime::task::core::Core<T,S>::poll at /home/nex/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.47.1/src/runtime/task/core.rs:354:30 69: tokio::runtime::task::harness::poll_future::{{closure}} at /home/nex/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.47.1/src/runtime/task/harness.rs:535:30 70: <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once at /home/nex/.rustup/toolchains/1.89.0-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/panic/unwind_safe.rs:272:9 71: std::panicking::catch_unwind::do_call at /home/nex/.rustup/toolchains/1.89.0-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/panicking.rs:589:40 72: __rust_try 73: std::panicking::catch_unwind at /home/nex/.rustup/toolchains/1.89.0-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/panicking.rs:552:19 74: std::panic::catch_unwind at /home/nex/.rustup/toolchains/1.89.0-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/panic.rs:359:14 75: tokio::runtime::task::harness::poll_future at /home/nex/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.47.1/src/runtime/task/harness.rs:523:18 76: tokio::runtime::task::harness::Harness<T,S>::poll_inner at /home/nex/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.47.1/src/runtime/task/harness.rs:210:27 77: tokio::runtime::task::harness::Harness<T,S>::poll at /home/nex/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.47.1/src/runtime/task/harness.rs:155:20 78: tokio::runtime::task::raw::poll at /home/nex/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.47.1/src/runtime/task/raw.rs:325:13 79: tokio::runtime::task::raw::RawTask::poll at /home/nex/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.47.1/src/runtime/task/raw.rs:255:18 80: tokio::runtime::task::LocalNotified<S>::run at /home/nex/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.47.1/src/runtime/task/mod.rs:509:13 81: tokio::runtime::scheduler::multi_thread::worker::Context::run_task::{{closure}} at /home/nex/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.47.1/src/runtime/scheduler/multi_thread/worker.rs:677:22 82: tokio::task::coop::with_budget at /home/nex/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.47.1/src/task/coop/mod.rs:167:5 83: tokio::task::coop::budget at /home/nex/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.47.1/src/task/coop/mod.rs:133:5 84: tokio::runtime::scheduler::multi_thread::worker::Context::run_task at /home/nex/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.47.1/src/runtime/scheduler/multi_thread/worker.rs:591:9 85: tokio::runtime::scheduler::multi_thread::worker::Context::run at /home/nex/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.47.1/src/runtime/scheduler/multi_thread/worker.rs:539:29 86: tokio::runtime::scheduler::multi_thread::worker::run::{{closure}}::{{closure}} at /home/nex/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.47.1/src/runtime/scheduler/multi_thread/worker.rs:504:24 87: tokio::runtime::context::scoped::Scoped<T>::set at /home/nex/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.47.1/src/runtime/context/scoped.rs:40:9 88: tokio::runtime::context::set_scheduler at /home/nex/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.47.1/src/runtime/context.rs:176:17 89: tokio::runtime::scheduler::multi_thread::worker::run::{{closure}} at /home/nex/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.47.1/src/runtime/scheduler/multi_thread/worker.rs:499:9 90: tokio::runtime::context::runtime::enter_runtime at /home/nex/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.47.1/src/runtime/context/runtime.rs:65:16 91: tokio::runtime::scheduler::multi_thread::worker::run at /home/nex/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.47.1/src/runtime/scheduler/multi_thread/worker.rs:491:5 92: tokio::runtime::scheduler::multi_thread::worker::Launch::launch::{{closure}} at /home/nex/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.47.1/src/runtime/scheduler/multi_thread/worker.rs:457:45 93: <tokio::runtime::blocking::task::BlockingTask<T> as core::future::future::Future>::poll at /home/nex/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.47.1/src/runtime/blocking/task.rs:42:21 94: tokio::runtime::task::core::Core<T,S>::poll::{{closure}} at /home/nex/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.47.1/src/runtime/task/core.rs:365:24 95: tokio::loom::std::unsafe_cell::UnsafeCell<T>::with_mut at /home/nex/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.47.1/src/loom/std/unsafe_cell.rs:16:9 96: tokio::runtime::task::core::Core<T,S>::poll at /home/nex/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.47.1/src/runtime/task/core.rs:354:30 97: tokio::runtime::task::harness::poll_future::{{closure}} at /home/nex/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.47.1/src/runtime/task/harness.rs:535:30 98: <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once at /home/nex/.rustup/toolchains/1.89.0-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/panic/unwind_safe.rs:272:9 99: std::panicking::catch_unwind::do_call at /home/nex/.rustup/toolchains/1.89.0-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/panicking.rs:589:40 100: std::panicking::catch_unwind at /home/nex/.rustup/toolchains/1.89.0-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/panicking.rs:552:19 101: std::panic::catch_unwind at /home/nex/.rustup/toolchains/1.89.0-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/panic.rs:359:14 102: tokio::runtime::task::harness::poll_future at /home/nex/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.47.1/src/runtime/task/harness.rs:523:18 103: tokio::runtime::task::harness::Harness<T,S>::poll_inner at /home/nex/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.47.1/src/runtime/task/harness.rs:210:27 104: tokio::runtime::task::harness::Harness<T,S>::poll at /home/nex/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.47.1/src/runtime/task/harness.rs:155:20 105: tokio::runtime::task::raw::RawTask::poll at /home/nex/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.47.1/src/runtime/task/raw.rs:255:18 106: tokio::runtime::task::UnownedTask<S>::run at /home/nex/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.47.1/src/runtime/task/mod.rs:546:13 107: tokio::runtime::blocking::pool::Task::run at /home/nex/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.47.1/src/runtime/blocking/pool.rs:161:19 108: tokio::runtime::blocking::pool::Inner::run at /home/nex/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.47.1/src/runtime/blocking/pool.rs:516:22 109: tokio::runtime::blocking::pool::Spawner::spawn_thread::{{closure}} at /home/nex/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.47.1/src/runtime/blocking/pool.rs:474:47 note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace. 2025-09-20T16:39:42.178027Z ERROR conduwuit_router::layers: assertion `left == right` failed: deserialize_any: type not expected left: "serde_json::value::de::<impl serde_core::de::Deserialize for serde_json::value::Value>::deserialize::ValueVisitor" right: "serde_json::value::de::<impl serde::de::Deserialize for serde_json::value::Value>::deserialize::ValueVisitor" at src/router/layers.rs:190 on conduwuit:worker ThreadId(7) in conduwuit_router::layers::panic in conduwuit_router::layers::router with method=POST path=/_matrix/client/v3/keys/query 2025-09-20T16:39:42.178138Z ERROR conduwuit_router::request: 500 Internal Server Error, method: POST, uri: /_matrix/client/v3/keys/query at src/router/request.rs:105 on conduwuit:worker ThreadId(7) in conduwuit_router::layers::router with method=POST path=/_matrix/client/v3/keys/query 2025-09-20T16:39:42.178182Z ERROR tower_http::trace::on_failure: response failed, classification: Status code: 500 Internal Server Error, latency: 6 ms at /home/nex/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tower-http-0.6.6/src/trace/on_failure.rs:93 on conduwuit:worker ThreadId(7) in conduwuit_router::layers::router with method=POST path=/_matrix/client/v3/keys/query ```
Author
Owner

Looks like this is only a debug assertation so won't affect most deployments, but it's kicking my ass while I'm trying to debug other issues and the console is just being flooded with this lmao

Looks like this is only a debug assertation so won't affect most deployments, but it's kicking my ass while I'm trying to debug other issues and the console is just being flooded with this lmao
Owner

Looking at this the assert can just be updated from serde to serde_core, it's just the assert relying on implemetation details

Looking at this the assert can just be updated from serde to serde_core, it's just the assert relying on implemetation details
Jade closed this issue 2025-09-20 18:04:18 +00:00
nex added this to the v0.5.0-rc.8 milestone 2025-09-21 17:16:00 +00:00
Sign in to join this conversation.
No milestone
No project
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
continuwuation/continuwuity#1052
No description provided.