tvix-castore panics instead of using Result<_,_>
thread 'tokio-runtime-worker' panicked at /source/src/import.rs:164:27:
called Result::unwrap()
on an Err
value: Error { depth: 0, inner: Io { path: Some("/deep/thought"), err: Os { code: 2, kind: NotFound, message: "No such file or directory" } } }
stack backtrace:
0: 0x559efca14b7b - <std::sys_common::backtrace::_print::DisplayBacktrace as core::fmt::Display>::fmt::h13e1a9b9ebeee924
1: 0x559efca484bc - core::fmt::write::h4241cb35c54123f4
2: 0x559efca31bfe - std::io::Write::write_fmt::hfe37cff7f3aa0e3d
3: 0x559efca14955 - std::sys_common::backtrace::print::hc19a67331b3076ff
4: 0x559efca24f23 - std::panicking::default_hook::{{closure}}::h10c691ff00f3f05c
5: 0x559efca24bb6 - std::panicking::default_hook::h726a8dc68ee97020
6: 0x559efca253c9 - std::panicking::rust_panic_with_hook::hc77a4fa6bb2ac5c4
7: 0x559efca14f97 - std::panicking::begin_panic_handler::{{closure}}::h43aaf25fc9116c32
8: 0x559efca14d86 - std::sys_common::backtrace::__rust_end_short_backtrace::hc36652d4de1d92d2
9: 0x559efca250f2 - rust_begin_unwind
10: 0x559efc708fb3 - core::panicking::panic_fmt::h208bab87ed164649
11: 0x559efc708d33 - core::result::unwrap_failed::h73e2146df9932484
12: 0x559efc790d74 - tvix_castore::import::ingest_path::{{closure}}::{{closure}}::hb9af3b13d774889e
13: 0x559efc7d7850 - tvix_glue::tvix_store_io::import_path_with_pathinfo::{{closure}}::{{closure}}::h6effdf273be0add2
14: 0x559efc7d6458 - <tvix_glue::tvix_store_io::TvixStoreIO as tvix_eval::io::EvalIO>::import_path::{{closure}}::{{closure}}::h018014cf7b400d49
15: 0x559efc7ad08c - tokio::runtime::task::raw::poll::h4d822f4ba821859f
16: 0x559efc81a56b - tokio::runtime::scheduler::multi_thread::worker::Context::run_task::h9c4e361280d7d338
17: 0x559efc818f93 - tokio::runtime::scheduler::multi_thread::worker::run::h82d0cd64f36f39b0
18: 0x559efc81f761 - tokio::runtime::task::raw::poll::hfa9fefa88728d247
19: 0x559efc80c946 - std::sys_common::backtrace::__rust_begin_short_backtrace::h95bbc72d60f2dc54
20: 0x559efc80db8a - core::ops::function::FnOnce::call_once{{vtable.shim}}::h0afa03774775620e
21: 0x559efca2cff5 - std::sys::unix::thread::Thread::new::thread_start::hd89eec8fc730285b
22: 0x7fd09afab084 - start_thread
23: 0x7fd09b02d60c - __GI___clone3
24: 0x0 -
Fixed by cl/10330 and cl/10331.
flokli at 2023-12-12T13·59+00
- flokli closed this issue at 2023-12-12T21·06+00