Skip to content

Instantly share code, notes, and snippets.

@bendavies
Created July 11, 2025 10:18
Show Gist options
  • Save bendavies/29c9774586e71b50ccdeb235c2aa1d3d to your computer and use it in GitHub Desktop.
Save bendavies/29c9774586e71b50ccdeb235c2aa1d3d to your computer and use it in GitHub Desktop.
⠐ Analyzing sources▕█████████████████████████████░ ▏ 1395/10343▕ 13%▕ ETA: 00:02:40▕ Elapsed: 00:00:29
thread 'main' panicked at crates/codex/src/ttype/atomic/array/keyed.rs:168:13:
Keyed array without known items or parameters should not be non-empty
stack backtrace:
0: 0x1025d2918 - <std::sys::backtrace::BacktraceLock::print::DisplayBacktrace as core::fmt::Display>::fmt::he0bc6252a1f66f9c
1: 0x1025f14ac - core::fmt::write::hf8d889d4c7f939b8
2: 0x1025cf344 - std::io::Write::write_fmt::hbf28d6c55e142a53
3: 0x1025d27cc - std::sys::backtrace::BacktraceLock::print::hfeb1090738b103c6
4: 0x1025d4720 - std::panicking::default_hook::{{closure}}::h65c2824a2670db3e
5: 0x1025d4570 - std::panicking::default_hook::hd7cc1ff1d0bc4c56
6: 0x1025d51a8 - std::panicking::rust_panic_with_hook::h78abe91de796f946
7: 0x1025d4db4 - std::panicking::begin_panic_handler::{{closure}}::h03ef7a416f675617
8: 0x1025d2dd0 - std::sys::backtrace::__rust_end_short_backtrace::hd11e97f9ca6ca876
9: 0x1025d4ab8 - __rustc[2cd638af7d045686]::rust_begin_unwind
10: 0x102662668 - core::panicking::panic_fmt::h01f4b35a8fbe7741
11: 0x102120aa4 - <mago_codex::ttype::atomic::array::keyed::TKeyedArray as mago_codex::ttype::TType>::get_id::h61256ed5db919e42
12: 0x1020e3ef8 - <mago_codex::ttype::atomic::array::TArray as mago_codex::ttype::TType>::get_id::h6c08e1a852b49d07
13: 0x1020b0df4 - <mago_codex::ttype::atomic::TAtomic as mago_codex::ttype::TType>::get_id::hb4b24074cd1a2ef8
14: 0x1020d9e04 - <mago_codex::ttype::union::TUnion as mago_codex::ttype::TType>::get_id::{{closure}}::h5c65c15354dee67c
15: 0x1020a7714 - <core::iter::adapters::map::Map<I,F> as core::iter::traits::iterator::Iterator>::next::h0e1217a39bf081a6
16: 0x1020aac08 - itertools::Itertools::join::h9ce213d4573e3fa0
17: 0x102070ff0 - <mago_codex::ttype::union::TUnion as mago_codex::ttype::TType>::get_id::hc4c25fbabd1b0b74
18: 0x101ce06e4 - mago_analyzer::utils::expression::array::get_array_target_type_given_index::h7314ac03bd3f2953
19: 0x101d02e6c - mago_analyzer::expression::array_access::<impl mago_analyzer::analyzable::Analyzable for mago_syntax::ast::ast::array::ArrayAccess>::analyze::h39361e1b38b60d32
20: 0x101caf11c - mago_analyzer::expression::<impl mago_analyzer::analyzable::Analyzable for mago_syntax::ast::ast::expression::Expression>::analyze::h366398b7550abe0e
21: 0x101d98f1c - mago_analyzer::expression::assignment::analyze_assignment::h5ac9229b87c51cba
22: 0x101d00804 - mago_analyzer::expression::assignment::<impl mago_analyzer::analyzable::Analyzable for mago_syntax::ast::ast::assignment::Assignment>::analyze::h3c8833460ad3e92a
23: 0x101caf028 - mago_analyzer::expression::<impl mago_analyzer::analyzable::Analyzable for mago_syntax::ast::ast::expression::Expression>::analyze::h366398b7550abe0e
24: 0x101b9e070 - <alloc::boxed::Box<T> as mago_analyzer::analyzable::Analyzable>::analyze::hb72afcbd8a107055
25: 0x101e10c80 - mago_analyzer::statement::<impl mago_analyzer::analyzable::Analyzable for mago_syntax::ast::ast::statement::Statement>::analyze::h97124801444dcd1c
26: 0x101d5d540 - mago_analyzer::statement::analyze_statements::h1c9b569b6e701d6e
27: 0x101e109dc - mago_analyzer::statement::<impl mago_analyzer::analyzable::Analyzable for mago_syntax::ast::ast::statement::Statement>::analyze::h97124801444dcd1c
28: 0x101d5d540 - mago_analyzer::statement::analyze_statements::h1c9b569b6e701d6e
29: 0x101bdf9fc - mago_analyzer::statement::loop::analyze::{{closure}}::h19cf3d887b9a6b11
30: 0x101e39b0c - mago_analyzer::context::Context::record::hdf94ef8853a454f5
31: 0x101ca4098 - mago_analyzer::statement::loop::analyze::he0ef53afcf0e8efa
32: 0x101c7141c - mago_analyzer::statement::loop::foreach::<impl mago_analyzer::analyzable::Analyzable for mago_syntax::ast::ast::loop::foreach::Foreach>::analyze::h2de568905cb00e6b
33: 0x101e10aec - mago_analyzer::statement::<impl mago_analyzer::analyzable::Analyzable for mago_syntax::ast::ast::statement::Statement>::analyze::h97124801444dcd1c
34: 0x101d5d540 - mago_analyzer::statement::analyze_statements::h1c9b569b6e701d6e
35: 0x101e33944 - mago_analyzer::statement::function_like::analyze_function_like::h81075a8afc9b266d
36: 0x101c02428 - mago_analyzer::statement::class_like::method::<impl mago_analyzer::analyzable::Analyzable for mago_syntax::ast::ast::class_like::method::Method>::analyze::h022d7a07f7037695
37: 0x101db48c4 - mago_analyzer::statement::class_like::analyze_class_like::h094c225319b662e3
38: 0x101c7d3a8 - mago_analyzer::statement::class_like::<impl mago_analyzer::analyzable::Analyzable for mago_syntax::ast::ast::class_like::Class>::analyze::hd76c6f39b55a0d7d
39: 0x101e10818 - mago_analyzer::statement::<impl mago_analyzer::analyzable::Analyzable for mago_syntax::ast::ast::statement::Statement>::analyze::h97124801444dcd1c
40: 0x101d5d540 - mago_analyzer::statement::analyze_statements::h1c9b569b6e701d6e
41: 0x101e10df0 - mago_analyzer::statement::<impl mago_analyzer::analyzable::Analyzable for mago_syntax::ast::ast::statement::Statement>::analyze::h97124801444dcd1c
42: 0x101d5d540 - mago_analyzer::statement::analyze_statements::h1c9b569b6e701d6e
43: 0x101c61e94 - mago_analyzer::Analyzer::analyze::hd7e3311317618971
44: 0x101007bc0 - mago::commands::analyze::perform_single_source_analysis::h61655303a008649f
45: 0x100fa29c4 - mago::commands::analyze::analyze_user_sources::{{closure}}::{{closure}}::hc1be7b69dd3b80a8
46: 0x100f9196c - tokio::runtime::task::core::Core<T,S>::poll::{{closure}}::h09d6b6a72dc6cebe
47: 0x100f901bc - tokio::runtime::task::core::Core<T,S>::poll::h50d7c23b3f43f254
48: 0x100fb4a70 - tokio::runtime::task::harness::poll_future::{{closure}}::hde153c607f6ed9f0
49: 0x101002278 - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::h0d347b7adccd82dc
50: 0x100efe320 - std::panicking::catch_unwind::do_call::h30d888021cd900c8
51: 0x100e5d040 - ___rust_try
52: 0x100e5c520 - std::panic::catch_unwind::he0139d7c90e7a970
53: 0x100fb204c - tokio::runtime::task::harness::poll_future::hd1a0f66e1655e366
54: 0x100fb6278 - tokio::runtime::task::harness::Harness<T,S>::poll_inner::h5b6d1cec5ecb83bd
55: 0x100fbc6c4 - tokio::runtime::task::harness::Harness<T,S>::poll::hdd22fcdd9209cdd0
56: 0x100de5fe0 - tokio::runtime::task::raw::poll::h419b61934111a8e5
57: 0x1024acecc - tokio::runtime::task::raw::RawTask::poll::hd86d2ab34cab2f94
58: 0x1013d5270 - tokio::runtime::task::LocalNotified<S>::run::hbe2673ba7eaf8a53
59: 0x100f2a8e8 - tokio::runtime::scheduler::current_thread::CoreGuard::block_on::{{closure}}::{{closure}}::h88a959cae8f20d69
60: 0x100f208d4 - tokio::runtime::scheduler::current_thread::Context::run_task::{{closure}}::he10035ecf115a3ee
61: 0x100f1d348 - tokio::runtime::scheduler::current_thread::Context::enter::h638a5b9891b2a9a2
62: 0x100f1f0f4 - tokio::runtime::scheduler::current_thread::Context::run_task::h55679b8c9a079acf
63: 0x100f240c0 - tokio::runtime::scheduler::current_thread::CoreGuard::block_on::{{closure}}::h18fe1c49fd597b82
64: 0x100f23218 - tokio::runtime::scheduler::current_thread::CoreGuard::enter::{{closure}}::h753055c82e87a94a
65: 0x101053ec4 - tokio::runtime::context::scoped::Scoped<T>::set::h6438dbae3639e6e7
66: 0x10109676c - tokio::runtime::context::set_scheduler::{{closure}}::h503400debd800c9d
67: 0x10108adb4 - std::thread::local::LocalKey<T>::try_with::hfe7a462585d14a34
68: 0x101084a18 - std::thread::local::LocalKey<T>::with::hbf8ccbcf5fa2fccc
69: 0x10109655c - tokio::runtime::context::set_scheduler::ha4ad797e807aa56d
70: 0x100f21690 - tokio::runtime::scheduler::current_thread::CoreGuard::enter::h4416fddc5348f1b2
71: 0x100f23640 - tokio::runtime::scheduler::current_thread::CoreGuard::block_on::h8424ee70cb088704
72: 0x100f156d8 - tokio::runtime::scheduler::current_thread::CurrentThread::block_on::{{closure}}::h02bb53f883fb0460
73: 0x10106bbf4 - tokio::runtime::context::runtime::enter_runtime::hc1cf51dbb01b46cd
74: 0x100f14fd8 - tokio::runtime::scheduler::current_thread::CurrentThread::block_on::h3f5c6fd278ce1748
75: 0x100df82e0 - tokio::runtime::runtime::Runtime::block_on_inner::hfaf03c1ed4603a25
76: 0x100df90c8 - tokio::runtime::runtime::Runtime::block_on::hd4679e437ccde0ba
77: 0x10104a108 - mago::main::h8c13365df1aecb5f
78: 0x100fdf530 - core::ops::function::FnOnce::call_once::h0051ab9716f70127
79: 0x10105a5d0 - std::sys::backtrace::__rust_begin_short_backtrace::h65afbf0af1225f3f
80: 0x100e456dc - std::rt::lang_start::{{closure}}::h68f7403d2dc763d4
81: 0x1025c79c0 - std::rt::lang_start_internal::he07baf3b7218955d
82: 0x100e456b4 - std::rt::lang_start::h48179e452b54abc8
83: 0x10104a6c0 - _main
TRACE mago::commands::analyze: Analyzing source: src/BindHQ/Bundle/AbacusBundle/Form/Handler/AgingSummaryHandler.php
TRACE mago::commands::analyze: Analyzing source: tests/unit/BindHQ/Bundle/WebAppBundle/Form/DTO/Model/TemplateFillablePreviewDTOTest.php
TRACE mago::commands::analyze: Analyzing source: migrations/Version20210127151927.php
TRACE mago::commands::analyze: Analyzing source: migrations/Version20210610153003.php
TRACE mago::commands::analyze: Analyzing source: src/BindHQ/Bundle/TestsBundle/Doctrine/DBAL/Platforms/PostgreSQLPlatform.php
TRACE mago::commands::analyze: Analyzing source: migrations/Version20230421123928.php
TRACE mago::commands::analyze: Analyzing source: src/BindHQ/Portal/Form/Type/FileUploadType.php
TRACE mago::commands::analyze: Analyzing source: src/BindHQ/Bundle/WebAppBundle/Controller/TemplateHtmlController.php
ERROR mago::commands::analyze: Task failed: task 67058 panicked with message "Keyed array without known items or parameters should not be non-empty"
ERROR mago: Failed to join tasks: task 67058 panicked with message "Keyed array without known items or parameters should not be non-empty"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment