Skip to content

Instantly share code, notes, and snippets.

@DoumanAsh
Created December 4, 2017 17:09
Show Gist options
  • Select an option

  • Save DoumanAsh/d0c338d4e156b29bf7858def5a38b5cf to your computer and use it in GitHub Desktop.

Select an option

Save DoumanAsh/d0c338d4e156b29bf7858def5a38b5cf to your computer and use it in GitHub Desktop.
thread 'main' panicked at 'index out of bounds: the len is 0 but the index is 0', C:\projects\rust\src\liballoc\vec.rs:1555:10
stack backtrace:
0: std::sys_common::backtrace::_print
at C:\projects\rust\src\libstd\sys_common\backtrace.rs:94
1: std::panicking::default_hook::{{closure}}
at C:\projects\rust\src\libstd\panicking.rs:380
2: std::panicking::default_hook
at C:\projects\rust\src\libstd\panicking.rs:397
3: std::panicking::rust_panic_with_hook
at C:\projects\rust\src\libstd\panicking.rs:611
4: std::panicking::begin_panic<alloc::string::String>
at C:\projects\rust\src\libstd\panicking.rs:572
5: std::panicking::begin_panic_fmt
at C:\projects\rust\src\libstd\panicking.rs:522
6: std::panicking::rust_begin_panic
at C:\projects\rust\src\libstd\panicking.rs:498
7: core::panicking::panic_fmt
at C:\projects\rust\src\libcore\panicking.rs:71
8: core::panicking::panic_bounds_check
at C:\projects\rust\src\libcore\panicking.rs:58
9: alloc::vec::{{impl}}::index<fie::utils::Image>
at C:\projects\rust\src\liballoc\vec.rs:1555
10: fie::exec::int_post
at .\src\exec.rs:101
11: fie::exec::batch
at .\src\exec.rs:29
12: fie::run
at .\src\main.rs:38
13: fie::main
at .\src\main.rs:48
14: panic_unwind::__rust_maybe_catch_panic
at C:\projects\rust\src\libpanic_unwind\lib.rs:99
15: std::rt::lang_start
at C:\projects\rust\src\libstd\rt.rs:54
16: main
17: __scrt_common_main_seh
at f:\dd\vctools\crt\vcstartup\src\startup\exe_common.inl:283
18: BaseThreadInitThunk
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment