-
Notifications
You must be signed in to change notification settings - Fork 1.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
diesel_derives
panic when executed under rust-analyzer
#13436
Comments
This doesn't seem to crash rust-analyzer. The diesel AsExpression proc macro has an error and to report it, it panics. This is the only stable way to report errors. Rustc suppresses the panic backtrace and reports the panic message as regular error. Rust-analyzer doesn't seem to suppress anything, but after the panic happened it continued just fine like it should. If rust-analyzer itself crashed, the last couple of lines showing the actual analysis stats that you requested wouldn't show. |
This comment was marked as resolved.
This comment was marked as resolved.
I've narrowed the problem to this: #[derive(FromSqlRow)]
#[cfg_attr(feature = "mysql_backend", derive(AsExpression))]
#[diesel(foreign_derive)]
#[cfg_attr(feature = "mysql_backend", diesel(sql_type = crate::sql_types::Unsigned<BigInt>))]
struct U64Proxy(u64); when using
attributes tokens are: (
Notice here But when using
And when
So the problem here I think is |
Similar error
|
Same error |
It used to be fine for us, but the bug seems to have reappeared recently on v0.4.1744 (testing for earlier versions to see where it broke):
|
diesel_derives
panic when executed under rust-analyzer
Are there any workarounds to this problem other than not using I see this very often and it does appear to crash the server for me (every time?), as opposed to what was said here: #13436 (comment). I'm using |
@luckysori personally, I only use the mysql feature. So I forked the diesel repo and modified all |
If it crashes rust-analyzer or the proc-macro server itself thats a different bug than what is being tracked here |
Hmm, that's a good idea! Although that wouldn't quite work for us because we're using
Fair enough. To be honest, I think I might be mistaken. The server crashes and Emacs' How would you go about debugging a crash like this given that the aforementioned error buffer does not seem to have the right data? |
Fixed in #16789 |
rust-analyzer will have proc macro panics when using latest
diesel
(v2.0+) as a dependency, even without any code.rust-analyzer version: rust-analyzer 0.3.1248-standalone (0531aab 2022-10-16)
rustc version: fails both on latest stable and nightly: rustc 1.64.0 (a55dd71d5 2022-09-19) / rustc 1.66.0-nightly (a24a020e6 2022-10-18)
relevant settings: no special settings
Reproducible example:
BTW diesel 1.4 works fine in rust-analyzer
now, running
cargo c
is fine:but rust-analyzer panics
rest
``` thread '' panicked at 'Box', /Users/gwy15/.cargo/registry/src/git.luolix.top-1ecc6299db9ec823/proc-macro-error-1.0.4/src/lib.rs:472:5 stack backtrace: 0: std::panicking::begin_panic at /rustc/a55dd71d5fb0ec5a6a3a9e8c27b2127ba491ce52/library/std/src/panicking.rs:616:12 1: proc_macro_error::abort_now at /Users/gwy15/.cargo/registry/src/git.luolix.top-1ecc6299db9ec823/proc-macro-error-1.0.4/src/lib.rs:472:5 2: proc_macro_error::diagnostic::Diagnostic::abort at /Users/gwy15/.cargo/registry/src/git.luolix.top-1ecc6299db9ec823/proc-macro-error-1.0.4/src/diagnostic.rs:182:9 3: diesel_derives::as_expression::derive at /Users/gwy15/.cargo/registry/src/git.luolix.top-1ecc6299db9ec823/diesel_derives-2.0.1/src/as_expression.rs:11:9 4: diesel_derives::derive_as_expression::{{closure}} at /Users/gwy15/.cargo/registry/src/git.luolix.top-1ecc6299db9ec823/diesel_derives-2.0.1/src/lib.rs:157:5 5: as core::ops::function::FnOnce<()>>::call_once at /rustc/a55dd71d5fb0ec5a6a3a9e8c27b2127ba491ce52/library/core/src/panic/unwind_safe.rs:271:9 6: std::panicking::try::do_call at /rustc/a55dd71d5fb0ec5a6a3a9e8c27b2127ba491ce52/library/std/src/panicking.rs:492:40 7: ___rust_try 8: std::panicking::try at /rustc/a55dd71d5fb0ec5a6a3a9e8c27b2127ba491ce52/library/std/src/panicking.rs:456:19 9: std::panic::catch_unwind at /rustc/a55dd71d5fb0ec5a6a3a9e8c27b2127ba491ce52/library/std/src/panic.rs:137:14 10: proc_macro_error::entry_point at /Users/gwy15/.cargo/registry/src/git.luolix.top-1ecc6299db9ec823/proc-macro-error-1.0.4/src/lib.rs:432:18 11: diesel_derives::derive_as_expression at /Users/gwy15/.cargo/registry/src/git.luolix.top-1ecc6299db9ec823/diesel_derives-2.0.1/src/lib.rs:147:1 12: core::ops::function::Fn::call at /rustc/a55dd71d5fb0ec5a6a3a9e8c27b2127ba491ce52/library/core/src/ops/function.rs:77:5 13: proc_macro::bridge::client::Client::expand1::{{closure}}::{{closure}} at /rustc/a55dd71d5fb0ec5a6a3a9e8c27b2127ba491ce52/library/proc_macro/src/bridge/client.rs:437:44 14: proc_macro::bridge::client::run_client::{{closure}}::{{closure}}::{{closure}} at /rustc/a55dd71d5fb0ec5a6a3a9e8c27b2127ba491ce52/library/proc_macro/src/bridge/client.rs:401:30 15: proc_macro::bridge::scoped_cell::ScopedCell::set::{{closure}} at /rustc/a55dd71d5fb0ec5a6a3a9e8c27b2127ba491ce52/library/proc_macro/src/bridge/scoped_cell.rs:79:33 16: proc_macro::bridge::scoped_cell::ScopedCell::replace at /rustc/a55dd71d5fb0ec5a6a3a9e8c27b2127ba491ce52/library/proc_macro/src/bridge/scoped_cell.rs:74:9 17: proc_macro::bridge::scoped_cell::ScopedCell::set at /rustc/a55dd71d5fb0ec5a6a3a9e8c27b2127ba491ce52/library/proc_macro/src/bridge/scoped_cell.rs:79:9 18: proc_macro::bridge::client::run_client::{{closure}}::{{closure}} at /rustc/a55dd71d5fb0ec5a6a3a9e8c27b2127ba491ce52/library/proc_macro/src/bridge/client.rs:400:13 19: std::thread::local::LocalKey::try_with at /rustc/a55dd71d5fb0ec5a6a3a9e8c27b2127ba491ce52/library/std/src/thread/local.rs:445:16 20: std::thread::local::LocalKey::with at /rustc/a55dd71d5fb0ec5a6a3a9e8c27b2127ba491ce52/library/std/src/thread/local.rs:421:9 21: proc_macro::bridge::client::run_client::{{closure}} at /rustc/a55dd71d5fb0ec5a6a3a9e8c27b2127ba491ce52/library/proc_macro/src/bridge/client.rs:399:9 22: as core::ops::function::FnOnce<()>>::call_once at /rustc/a55dd71d5fb0ec5a6a3a9e8c27b2127ba491ce52/library/core/src/panic/unwind_safe.rs:271:9 23: std::panicking::try::do_call at /rustc/a55dd71d5fb0ec5a6a3a9e8c27b2127ba491ce52/library/std/src/panicking.rs:492:40 24: ___rust_try 25: std::panicking::try at /rustc/a55dd71d5fb0ec5a6a3a9e8c27b2127ba491ce52/library/std/src/panicking.rs:456:19 26: std::panic::catch_unwind at /rustc/a55dd71d5fb0ec5a6a3a9e8c27b2127ba491ce52/library/std/src/panic.rs:137:14 27: proc_macro::bridge::client::run_client at /rustc/a55dd71d5fb0ec5a6a3a9e8c27b2127ba491ce52/library/proc_macro/src/bridge/client.rs:386:5 28: proc_macro::bridge::client::Client::expand1::{{closure}} at /rustc/a55dd71d5fb0ec5a6a3a9e8c27b2127ba491ce52/library/proc_macro/src/bridge/client.rs:437:17 29: proc_macro::bridge::selfless_reify::reify_to_extern_c_fn_hrt_bridge::wrapper at /rustc/a55dd71d5fb0ec5a6a3a9e8c27b2127ba491ce52/library/proc_macro/src/bridge/selfless_reify.rs:64:17 30: proc_macro::bridge::server::run_server::, core::option::Option>, proc_macro::bridge::server::SameThread> 31: ::expand 32: ::expand 33: <::spawn<::expand::{closure#2}::{closure#0}, core::result::Result>::{closure#0} as core::ops::function::FnOnce<()>>::call_once::{shim:vtable#0} note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace. thread '' panicked at 'Box', /Users/gwy15/.cargo/registry/src/git.luolix.top-1ecc6299db9ec823/proc-macro-error-1.0.4/src/lib.rs:472:5 stack backtrace: 0: std::panicking::begin_panic at /rustc/a55dd71d5fb0ec5a6a3a9e8c27b2127ba491ce52/library/std/src/panicking.rs:616:12 1: proc_macro_error::abort_now at /Users/gwy15/.cargo/registry/src/git.luolix.top-1ecc6299db9ec823/proc-macro-error-1.0.4/src/lib.rs:472:5 2: proc_macro_error::diagnostic::Diagnostic::abort at /Users/gwy15/.cargo/registry/src/git.luolix.top-1ecc6299db9ec823/proc-macro-error-1.0.4/src/diagnostic.rs:182:9 3: diesel_derives::as_expression::derive at /Users/gwy15/.cargo/registry/src/git.luolix.top-1ecc6299db9ec823/diesel_derives-2.0.1/src/as_expression.rs:11:9 4: diesel_derives::derive_as_expression::{{closure}} at /Users/gwy15/.cargo/registry/src/git.luolix.top-1ecc6299db9ec823/diesel_derives-2.0.1/src/lib.rs:157:5 5: as core::ops::function::FnOnce<()>>::call_once at /rustc/a55dd71d5fb0ec5a6a3a9e8c27b2127ba491ce52/library/core/src/panic/unwind_safe.rs:271:9 6: std::panicking::try::do_call at /rustc/a55dd71d5fb0ec5a6a3a9e8c27b2127ba491ce52/library/std/src/panicking.rs:492:40 7: ___rust_try 8: std::panicking::try at /rustc/a55dd71d5fb0ec5a6a3a9e8c27b2127ba491ce52/library/std/src/panicking.rs:456:19 9: std::panic::catch_unwind at /rustc/a55dd71d5fb0ec5a6a3a9e8c27b2127ba491ce52/library/std/src/panic.rs:137:14 10: proc_macro_error::entry_point at /Users/gwy15/.cargo/registry/src/git.luolix.top-1ecc6299db9ec823/proc-macro-error-1.0.4/src/lib.rs:432:18 11: diesel_derives::derive_as_expression at /Users/gwy15/.cargo/registry/src/git.luolix.top-1ecc6299db9ec823/diesel_derives-2.0.1/src/lib.rs:147:1 12: core::ops::function::Fn::call at /rustc/a55dd71d5fb0ec5a6a3a9e8c27b2127ba491ce52/library/core/src/ops/function.rs:77:5 13: proc_macro::bridge::client::Client::expand1::{{closure}}::{{closure}} at /rustc/a55dd71d5fb0ec5a6a3a9e8c27b2127ba491ce52/library/proc_macro/src/bridge/client.rs:437:44 14: proc_macro::bridge::client::run_client::{{closure}}::{{closure}}::{{closure}} at /rustc/a55dd71d5fb0ec5a6a3a9e8c27b2127ba491ce52/library/proc_macro/src/bridge/client.rs:401:30 15: proc_macro::bridge::scoped_cell::ScopedCell::set::{{closure}} at /rustc/a55dd71d5fb0ec5a6a3a9e8c27b2127ba491ce52/library/proc_macro/src/bridge/scoped_cell.rs:79:33 16: proc_macro::bridge::scoped_cell::ScopedCell::replace at /rustc/a55dd71d5fb0ec5a6a3a9e8c27b2127ba491ce52/library/proc_macro/src/bridge/scoped_cell.rs:74:9 17: proc_macro::bridge::scoped_cell::ScopedCell::set at /rustc/a55dd71d5fb0ec5a6a3a9e8c27b2127ba491ce52/library/proc_macro/src/bridge/scoped_cell.rs:79:9 18: proc_macro::bridge::client::run_client::{{closure}}::{{closure}} at /rustc/a55dd71d5fb0ec5a6a3a9e8c27b2127ba491ce52/library/proc_macro/src/bridge/client.rs:400:13 19: std::thread::local::LocalKey::try_with at /rustc/a55dd71d5fb0ec5a6a3a9e8c27b2127ba491ce52/library/std/src/thread/local.rs:445:16 20: std::thread::local::LocalKey::with at /rustc/a55dd71d5fb0ec5a6a3a9e8c27b2127ba491ce52/library/std/src/thread/local.rs:421:9 21: proc_macro::bridge::client::run_client::{{closure}} at /rustc/a55dd71d5fb0ec5a6a3a9e8c27b2127ba491ce52/library/proc_macro/src/bridge/client.rs:399:9 22: as core::ops::function::FnOnce<()>>::call_once at /rustc/a55dd71d5fb0ec5a6a3a9e8c27b2127ba491ce52/library/core/src/panic/unwind_safe.rs:271:9 23: std::panicking::try::do_call at /rustc/a55dd71d5fb0ec5a6a3a9e8c27b2127ba491ce52/library/std/src/panicking.rs:492:40 24: ___rust_try 25: std::panicking::try at /rustc/a55dd71d5fb0ec5a6a3a9e8c27b2127ba491ce52/library/std/src/panicking.rs:456:19 26: std::panic::catch_unwind at /rustc/a55dd71d5fb0ec5a6a3a9e8c27b2127ba491ce52/library/std/src/panic.rs:137:14 27: proc_macro::bridge::client::run_client at /rustc/a55dd71d5fb0ec5a6a3a9e8c27b2127ba491ce52/library/proc_macro/src/bridge/client.rs:386:5 28: proc_macro::bridge::client::Client::expand1::{{closure}} at /rustc/a55dd71d5fb0ec5a6a3a9e8c27b2127ba491ce52/library/proc_macro/src/bridge/client.rs:437:17 29: proc_macro::bridge::selfless_reify::reify_to_extern_c_fn_hrt_bridge::wrapper at /rustc/a55dd71d5fb0ec5a6a3a9e8c27b2127ba491ce52/library/proc_macro/src/bridge/selfless_reify.rs:64:17 30: proc_macro::bridge::server::run_server::, core::option::Option>, proc_macro::bridge::server::SameThread> 31: ::expand 32: ::expand 33: <::spawn<::expand::{closure#2}::{closure#0}, core::result::Result>::{closure#0} as core::ops::function::FnOnce<()>>::call_once::{shim:vtable#0} note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace. thread '' panicked at 'Box', /Users/gwy15/.cargo/registry/src/git.luolix.top-1ecc6299db9ec823/proc-macro-error-1.0.4/src/lib.rs:472:5 stack backtrace: 0: std::panicking::begin_panic at /rustc/a55dd71d5fb0ec5a6a3a9e8c27b2127ba491ce52/library/std/src/panicking.rs:616:12 1: proc_macro_error::abort_now at /Users/gwy15/.cargo/registry/src/git.luolix.top-1ecc6299db9ec823/proc-macro-error-1.0.4/src/lib.rs:472:5 2: proc_macro_error::diagnostic::Diagnostic::abort at /Users/gwy15/.cargo/registry/src/git.luolix.top-1ecc6299db9ec823/proc-macro-error-1.0.4/src/diagnostic.rs:182:9 3: diesel_derives::as_expression::derive at /Users/gwy15/.cargo/registry/src/git.luolix.top-1ecc6299db9ec823/diesel_derives-2.0.1/src/as_expression.rs:11:9 4: diesel_derives::derive_as_expression::{{closure}} at /Users/gwy15/.cargo/registry/src/git.luolix.top-1ecc6299db9ec823/diesel_derives-2.0.1/src/lib.rs:157:5 5: as core::ops::function::FnOnce<()>>::call_once at /rustc/a55dd71d5fb0ec5a6a3a9e8c27b2127ba491ce52/library/core/src/panic/unwind_safe.rs:271:9 6: std::panicking::try::do_call at /rustc/a55dd71d5fb0ec5a6a3a9e8c27b2127ba491ce52/library/std/src/panicking.rs:492:40 7: ___rust_try 8: std::panicking::try at /rustc/a55dd71d5fb0ec5a6a3a9e8c27b2127ba491ce52/library/std/src/panicking.rs:456:19 9: std::panic::catch_unwind at /rustc/a55dd71d5fb0ec5a6a3a9e8c27b2127ba491ce52/library/std/src/panic.rs:137:14 10: proc_macro_error::entry_point at /Users/gwy15/.cargo/registry/src/git.luolix.top-1ecc6299db9ec823/proc-macro-error-1.0.4/src/lib.rs:432:18 11: diesel_derives::derive_as_expression at /Users/gwy15/.cargo/registry/src/git.luolix.top-1ecc6299db9ec823/diesel_derives-2.0.1/src/lib.rs:147:1 12: core::ops::function::Fn::call at /rustc/a55dd71d5fb0ec5a6a3a9e8c27b2127ba491ce52/library/core/src/ops/function.rs:77:5 13: proc_macro::bridge::client::Client::expand1::{{closure}}::{{closure}} at /rustc/a55dd71d5fb0ec5a6a3a9e8c27b2127ba491ce52/library/proc_macro/src/bridge/client.rs:437:44 14: proc_macro::bridge::client::run_client::{{closure}}::{{closure}}::{{closure}} at /rustc/a55dd71d5fb0ec5a6a3a9e8c27b2127ba491ce52/library/proc_macro/src/bridge/client.rs:401:30 15: proc_macro::bridge::scoped_cell::ScopedCell::set::{{closure}} at /rustc/a55dd71d5fb0ec5a6a3a9e8c27b2127ba491ce52/library/proc_macro/src/bridge/scoped_cell.rs:79:33 16: proc_macro::bridge::scoped_cell::ScopedCell::replace at /rustc/a55dd71d5fb0ec5a6a3a9e8c27b2127ba491ce52/library/proc_macro/src/bridge/scoped_cell.rs:74:9 17: proc_macro::bridge::scoped_cell::ScopedCell::set at /rustc/a55dd71d5fb0ec5a6a3a9e8c27b2127ba491ce52/library/proc_macro/src/bridge/scoped_cell.rs:79:9 18: proc_macro::bridge::client::run_client::{{closure}}::{{closure}} at /rustc/a55dd71d5fb0ec5a6a3a9e8c27b2127ba491ce52/library/proc_macro/src/bridge/client.rs:400:13 19: std::thread::local::LocalKey::try_with at /rustc/a55dd71d5fb0ec5a6a3a9e8c27b2127ba491ce52/library/std/src/thread/local.rs:445:16 20: std::thread::local::LocalKey::with at /rustc/a55dd71d5fb0ec5a6a3a9e8c27b2127ba491ce52/library/std/src/thread/local.rs:421:9 21: proc_macro::bridge::client::run_client::{{closure}} at /rustc/a55dd71d5fb0ec5a6a3a9e8c27b2127ba491ce52/library/proc_macro/src/bridge/client.rs:399:9 22: as core::ops::function::FnOnce<()>>::call_once at /rustc/a55dd71d5fb0ec5a6a3a9e8c27b2127ba491ce52/library/core/src/panic/unwind_safe.rs:271:9 23: std::panicking::try::do_call at /rustc/a55dd71d5fb0ec5a6a3a9e8c27b2127ba491ce52/library/std/src/panicking.rs:492:40 24: ___rust_try 25: std::panicking::try at /rustc/a55dd71d5fb0ec5a6a3a9e8c27b2127ba491ce52/library/std/src/panicking.rs:456:19 26: std::panic::catch_unwind at /rustc/a55dd71d5fb0ec5a6a3a9e8c27b2127ba491ce52/library/std/src/panic.rs:137:14 27: proc_macro::bridge::client::run_client at /rustc/a55dd71d5fb0ec5a6a3a9e8c27b2127ba491ce52/library/proc_macro/src/bridge/client.rs:386:5 28: proc_macro::bridge::client::Client::expand1::{{closure}} at /rustc/a55dd71d5fb0ec5a6a3a9e8c27b2127ba491ce52/library/proc_macro/src/bridge/client.rs:437:17 29: proc_macro::bridge::selfless_reify::reify_to_extern_c_fn_hrt_bridge::wrapper at /rustc/a55dd71d5fb0ec5a6a3a9e8c27b2127ba491ce52/library/proc_macro/src/bridge/selfless_reify.rs:64:17 30: proc_macro::bridge::server::run_server::, core::option::Option>, proc_macro::bridge::server::SameThread> 31: ::expand 32: ::expand 33: <::spawn<::expand::{closure#2}::{closure#0}, core::result::Result>::{closure#0} as core::ops::function::FnOnce<()>>::call_once::{shim:vtable#0} note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace. thread '' panicked at 'Box', /Users/gwy15/.cargo/registry/src/git.luolix.top-1ecc6299db9ec823/proc-macro-error-1.0.4/src/lib.rs:472:5 stack backtrace: 0: std::panicking::begin_panic at /rustc/a55dd71d5fb0ec5a6a3a9e8c27b2127ba491ce52/library/std/src/panicking.rs:616:12 1: proc_macro_error::abort_now at /Users/gwy15/.cargo/registry/src/git.luolix.top-1ecc6299db9ec823/proc-macro-error-1.0.4/src/lib.rs:472:5 2: proc_macro_error::diagnostic::Diagnostic::abort at /Users/gwy15/.cargo/registry/src/git.luolix.top-1ecc6299db9ec823/proc-macro-error-1.0.4/src/diagnostic.rs:182:9 3: diesel_derives::as_expression::derive at /Users/gwy15/.cargo/registry/src/git.luolix.top-1ecc6299db9ec823/diesel_derives-2.0.1/src/as_expression.rs:11:9 4: diesel_derives::derive_as_expression::{{closure}} at /Users/gwy15/.cargo/registry/src/git.luolix.top-1ecc6299db9ec823/diesel_derives-2.0.1/src/lib.rs:157:5 5: as core::ops::function::FnOnce<()>>::call_once at /rustc/a55dd71d5fb0ec5a6a3a9e8c27b2127ba491ce52/library/core/src/panic/unwind_safe.rs:271:9 6: std::panicking::try::do_call at /rustc/a55dd71d5fb0ec5a6a3a9e8c27b2127ba491ce52/library/std/src/panicking.rs:492:40 7: ___rust_try 8: std::panicking::try at /rustc/a55dd71d5fb0ec5a6a3a9e8c27b2127ba491ce52/library/std/src/panicking.rs:456:19 9: std::panic::catch_unwind at /rustc/a55dd71d5fb0ec5a6a3a9e8c27b2127ba491ce52/library/std/src/panic.rs:137:14 10: proc_macro_error::entry_point at /Users/gwy15/.cargo/registry/src/git.luolix.top-1ecc6299db9ec823/proc-macro-error-1.0.4/src/lib.rs:432:18 11: diesel_derives::derive_as_expression at /Users/gwy15/.cargo/registry/src/git.luolix.top-1ecc6299db9ec823/diesel_derives-2.0.1/src/lib.rs:147:1 12: core::ops::function::Fn::call at /rustc/a55dd71d5fb0ec5a6a3a9e8c27b2127ba491ce52/library/core/src/ops/function.rs:77:5 13: proc_macro::bridge::client::Client::expand1::{{closure}}::{{closure}} at /rustc/a55dd71d5fb0ec5a6a3a9e8c27b2127ba491ce52/library/proc_macro/src/bridge/client.rs:437:44 14: proc_macro::bridge::client::run_client::{{closure}}::{{closure}}::{{closure}} at /rustc/a55dd71d5fb0ec5a6a3a9e8c27b2127ba491ce52/library/proc_macro/src/bridge/client.rs:401:30 15: proc_macro::bridge::scoped_cell::ScopedCell::set::{{closure}} at /rustc/a55dd71d5fb0ec5a6a3a9e8c27b2127ba491ce52/library/proc_macro/src/bridge/scoped_cell.rs:79:33 16: proc_macro::bridge::scoped_cell::ScopedCell::replace at /rustc/a55dd71d5fb0ec5a6a3a9e8c27b2127ba491ce52/library/proc_macro/src/bridge/scoped_cell.rs:74:9 17: proc_macro::bridge::scoped_cell::ScopedCell::set at /rustc/a55dd71d5fb0ec5a6a3a9e8c27b2127ba491ce52/library/proc_macro/src/bridge/scoped_cell.rs:79:9 18: proc_macro::bridge::client::run_client::{{closure}}::{{closure}} at /rustc/a55dd71d5fb0ec5a6a3a9e8c27b2127ba491ce52/library/proc_macro/src/bridge/client.rs:400:13 19: std::thread::local::LocalKey::try_with at /rustc/a55dd71d5fb0ec5a6a3a9e8c27b2127ba491ce52/library/std/src/thread/local.rs:445:16 20: std::thread::local::LocalKey::with at /rustc/a55dd71d5fb0ec5a6a3a9e8c27b2127ba491ce52/library/std/src/thread/local.rs:421:9 21: proc_macro::bridge::client::run_client::{{closure}} at /rustc/a55dd71d5fb0ec5a6a3a9e8c27b2127ba491ce52/library/proc_macro/src/bridge/client.rs:399:9 22: as core::ops::function::FnOnce<()>>::call_once at /rustc/a55dd71d5fb0ec5a6a3a9e8c27b2127ba491ce52/library/core/src/panic/unwind_safe.rs:271:9 23: std::panicking::try::do_call at /rustc/a55dd71d5fb0ec5a6a3a9e8c27b2127ba491ce52/library/std/src/panicking.rs:492:40 24: ___rust_try 25: std::panicking::try at /rustc/a55dd71d5fb0ec5a6a3a9e8c27b2127ba491ce52/library/std/src/panicking.rs:456:19 26: std::panic::catch_unwind at /rustc/a55dd71d5fb0ec5a6a3a9e8c27b2127ba491ce52/library/std/src/panic.rs:137:14 27: proc_macro::bridge::client::run_client at /rustc/a55dd71d5fb0ec5a6a3a9e8c27b2127ba491ce52/library/proc_macro/src/bridge/client.rs:386:5 28: proc_macro::bridge::client::Client::expand1::{{closure}} at /rustc/a55dd71d5fb0ec5a6a3a9e8c27b2127ba491ce52/library/proc_macro/src/bridge/client.rs:437:17 29: proc_macro::bridge::selfless_reify::reify_to_extern_c_fn_hrt_bridge::wrapper at /rustc/a55dd71d5fb0ec5a6a3a9e8c27b2127ba491ce52/library/proc_macro/src/bridge/selfless_reify.rs:64:17 30: proc_macro::bridge::server::run_server::, core::option::Option>, proc_macro::bridge::server::SameThread> 31: ::expand 32: ::expand 33: <::spawn<::expand::{closure#2}::{closure#0}, core::result::Result>::{closure#0} as core::ops::function::FnOnce<()>>::call_once::{shim:vtable#0} note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace. crates: 1, mods: 1, decls: 0, fns: 0 Item Collection: 4.72s exprs: 0, ??ty: 0 (100%), ?ty: 0 (100%), !ty: 0 Inference: 17.46µs Total: 4.72s ```The text was updated successfully, but these errors were encountered: