Teo(v0.2.15) ganerate entity and client panic
vance-liu opened this issue · 1 comments
vance-liu commented
Teo(v0.2.15) ganerate entity and client panic
teo-generator-0.2.15/src/entity/generators/rust/gen.rs:120:14:
explicit panic
stack backtrace:
0: 0x101a01b40 - std::backtrace_rs::backtrace::libunwind::trace::hadefa2fe489b32be
at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/std/src/../../backtrace/src/backtrace/libunwind.rs:104:5
1: 0x101a01b40 - std::backtrace_rs::backtrace::trace_unsynchronized::h37e8bb3c3fd9c67c
at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5
2: 0x101a01b40 - std::sys_common::backtrace::_print_fmt::h4994a90b70e9aaa7
at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/std/src/sys_common/backtrace.rs:68:5
3: 0x101a01b40 - <std::sys_common::backtrace::_print::DisplayBacktrace as core::fmt::Display>::fmt::hb478ebbfb46e27ce
at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/std/src/sys_common/backtrace.rs:44:22
4: 0x101a24cc4 - core::fmt::rt::Argument::fmt::hfe2e626e52db21d5
at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/core/src/fmt/rt.rs:142:9
5: 0x101a24cc4 - core::fmt::write::he4d5fa2daff1f531
at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/core/src/fmt/mod.rs:1120:17
6: 0x1019fe63c - std::io::Write::write_fmt::hc5a47a68eba63d9f
at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/std/src/io/mod.rs:1810:15
7: 0x101a01974 - std::sys_common::backtrace::_print::hd47355bf70e1c2da
at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/std/src/sys_common/backtrace.rs:47:5
8: 0x101a01974 - std::sys_common::backtrace::print::h79bd952cc5812e7a
at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/std/src/sys_common/backtrace.rs:34:9
9: 0x101a02f00 - std::panicking::default_hook::{{closure}}::h82301f6222887737
10: 0x101a02c48 - std::panicking::default_hook::h1e49abbb3f1d7dbf
at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/std/src/panicking.rs:292:9
11: 0x101a03348 - std::panicking::rust_panic_with_hook::h1e70c5d905e30e9d
at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/std/src/panicking.rs:779:13
12: 0x101a0323c - std::panicking::begin_panic_handler::{{closure}}::h399e32952efd26a4
at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/std/src/panicking.rs:657:13
13: 0x101a01fc4 - std::sys_common::backtrace::__rust_end_short_backtrace::h2ab87f841a2323e7
at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/std/src/sys_common/backtrace.rs:171:18
14: 0x101a02fc4 - rust_begin_unwind
at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/std/src/panicking.rs:645:5
15: 0x101a75d70 - core::panicking::panic_fmt::h33e40d2a93cab78f
at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/core/src/panicking.rs:72:14
16: 0x101a75ec0 - core::panicking::panic_display::h3147bab0bf654774
at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/core/src/panicking.rs:196:5
17: 0x101a75ec0 - core::panicking::panic_explicit::h8cbc9a9d78eb70c9
at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/core/src/panicking.rs:179:5
18: 0x101a37e58 - teo_generator::entity::generators::rust::gen::fix_path::panic_cold_explicit::he1d2df2942da2968
19: 0x1009d5ff4 - teo_generator::entity::generators::rust::gen::fix_path::h67395fca0319a153
20: 0x1009d968c - <teo_generator::entity::generators::rust::gen::RustModuleTemplate as askama::Template>::render_into::h32dc7173e8be20a0
21: 0x1009d75a4 - teo_generator::entity::generators::rust::gen::RustGenerator::generate_module_file::{{closure}}::ha3fad67817939245
22: 0x1009df690 - teo_generator::entity::generators::rust::gen::RustGenerator::generate_module_for_namespace::{{closure}}::h596ab4a2f954a28b
23: 0x1009e02f0 - <teo_generator::entity::generators::rust::gen::RustGenerator as teo_generator::entity::generator::Generator>::generate_entity_files::{{closure}}::h060a7220c0b2810a
24: 0x10074dc20 - teo_generator::entity::generate::{{closure}}::h254070df42dcdd42
25: 0x10078d16c - tokio::runtime::park::CachedParkThread::block_on::{{closure}}::hfd6702ef6c1e0538
26: 0x10078bb7c - tokio::runtime::park::CachedParkThread::block_on::h83b8fe96e738f193
27: 0x1008074c4 - tokio::runtime::context::runtime::enter_runtime::hce168625ef49dbed
28: 0x100862914 - tokio::runtime::runtime::Runtime::block_on::h9a47f25ac8f88ec6
29: 0x10091badc - cargo_teo::main::h3f6e6c228c0ab3dd
30: 0x1008fe4c4 - std::sys_common::backtrace::__rust_begin_short_backtrace::hedcae39fbf3d0e3a
31: 0x10087dc58 - std::rt::lang_start::{{closure}}::hb16fb0e40d873756
32: 0x1019f7afc - core::ops::function::impls::<impl core::ops::function::FnOnce<A> for &F>::call_once::hde2a2ae1d756c37f
at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/core/src/ops/function.rs:284:13
33: 0x1019f7afc - std::panicking::try::do_call::h96b73f4da16ee7c5
at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/std/src/panicking.rs:552:40
34: 0x1019f7afc - std::panicking::try::h2cb0c14c1266f147
at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/std/src/panicking.rs:516:19
35: 0x1019f7afc - std::panic::catch_unwind::hb8cd2580f659030d
at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/std/src/panic.rs:142:14
36: 0x1019f7afc - std::rt::lang_start_internal::{{closure}}::h00f9c2d0117ea0ef
at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/std/src/rt.rs:148:48
37: 0x1019f7afc - std::panicking::try::do_call::h134dfd8876bcc105
at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/std/src/panicking.rs:552:40
38: 0x1019f7afc - std::panicking::try::h6595e056250d6043
at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/std/src/panicking.rs:516:19
39: 0x1019f7afc - std::panic::catch_unwind::haad85d5172c9b53a
at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/std/src/panic.rs:142:14
40: 0x1019f7afc - std::rt::lang_start_internal::hf4f3eb1e51305b96
at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/std/src/rt.rs:148:20
41: 0x10091bbdc - _main
victorteokw commented
Fixed in 0.2.16