-
Notifications
You must be signed in to change notification settings - Fork 635
Closed
Description
When vendoring sccache in our workspace, we hit this when the server is queried
nipunn-mbp:~ nipunn$ RUST_BACKTRACE=1 SCCACHE_START_SERVER=1 SCCACHE_NO_DAEMON=1 sccache
thread 'main' panicked at 'this implementation was accidentally provided but is unfortunately unsound, it's recommended to stop using `IoVec::default` or construct a vector with a nonzero length', vendor/iovec-0.1.1/src/lib.rs:131:8
stack backtrace:
0: std::sys::imp::backtrace::tracing::imp::unwind_backtrace
1: std::sys_common::backtrace::_print
2: std::panicking::default_hook::{{closure}}
3: std::panicking::default_hook
4: std::panicking::rust_panic_with_hook
5: std::panicking::begin_panic
6: <&'a iovec::IoVec as core::default::Default>::default
7: <tokio_io::length_delimited::FramedWrite<T, B>>::do_write
8: <tokio_serde_bincode::ReadBincode<T, U> as futures::sink::Sink>::poll_complete
9: <tokio_proto::streaming::pipeline::advanced::Pipeline<T> as futures::future::Future>::poll
10: <futures::future::map_err::MapErr<A, F> as futures::future::Future>::poll
11: tokio_core::reactor::Core::poll
12: sccache::server::start_server
13: sccache::commands::run_command
14: sccache::main
15: __rust_maybe_catch_panic
16: std::rt::lang_start
Interestingly, if I build sccache separately outside of the workspace, I don't run into this issue.
Any tips on how to debug further?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels