Closed
Description
When compiling a project in a folder on my Mac, if I have already built the same project inside a linux VM at the same location, the compiler ICEs.
Example project https://github.com/octplane/kiosque.
Stack:
error: internal compiler error: unexpected panic
note: the compiler unexpectedly panicked. this is a bug.
note: we would appreciate a bug report: https://github.com/rust-lang/rust/blob/master/CONTRIBUTING.md#bug-reports
note: run with `RUST_BACKTRACE=1` for a backtrace
thread 'rustc' panicked at 'called `Option::unwrap()` on a `None` value', ../src/libcore/option.rs:325
stack backtrace:
1: 0x1059a10ab - std::sys::backtrace::tracing::imp::write::h6528da8103c51ab9
2: 0x1059ada5a - std::panicking::default_hook::_$u7b$$u7b$closure$u7d$$u7d$::hbe741a5cc3c49508
3: 0x1059ad58b - std::panicking::default_hook::he0146e6a74621cb4
4: 0x105973368 - std::panicking::rust_panic_with_hook::h983af77c1a2e581b
5: 0x1059ae036 - std::panicking::begin_panic::he426e15a3766089a
6: 0x1059752c8 - std::panicking::begin_panic_fmt::hdddb415186c241e7
7: 0x1059adc8f - rust_begin_unwind
8: 0x1059e9a00 - core::panicking::panic_fmt::hf4e16cb7f0d41a25
9: 0x1059ea5fc - core::panicking::panic::h907815f47e914305
10: 0x1015f63d0 - rustc_trans::back::archive::ArchiveBuilder::build::hbf040541f88b4f1d
11: 0x101605e0e - rustc_trans::back::link::link_binary::h7f64f35ef052ea75
12: 0x100ec3c13 - rustc_driver::driver::phase_6_link_output::h14f454b63796352c
13: 0x100e7fdf5 - rustc_driver::driver::compile_input::hfd60b020f6d0208d
14: 0x100e6c0b4 - rustc_driver::run_compiler::h884d01d12eb76bbb
15: 0x100e690bf - std::panicking::try::call::hd72cf79141f67e60
16: 0x1059b4b3b - __rust_try
17: 0x1059b4ad5 - __rust_maybe_catch_panic
18: 0x100e69bcb - _<F as alloc..boxed..FnBox<A>>::call_box::h589d2091babf223a
19: 0x1059ac4d8 - std::sys::thread::Thread::new::thread_start::h9c883b6d445ece46
20: 0x7fff9ccd099c - _pthread_body
21: 0x7fff9ccd0919 - _pthread_start
error: Could not compile `openssl-sys-extras`.