Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cargo check results in SIGSEGV: invalid memory reference #95734

Open
gabi-250 opened this issue Apr 6, 2022 · 6 comments
Open

cargo check results in SIGSEGV: invalid memory reference #95734

gabi-250 opened this issue Apr 6, 2022 · 6 comments
Labels
A-LLVM Area: Code generation parts specific to LLVM. Both correctness bugs and optimization-related issues. C-bug Category: This is a bug. I-crash Issue: The compiler crashes (SIGSEGV, SIGABRT, etc). Use I-ICE instead when the compiler panics. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue.

Comments

@gabi-250
Copy link
Contributor

gabi-250 commented Apr 6, 2022

cargo check failed with signal: 11, SIGSEGV: invalid memory reference. It's the second time I've noticed cargo check segfaulting in the last couple of weeks or so (I don't have any output from when it first happened though).

Code

I'm afraid I don't have a minimal example that reproduces the issue. Also, the project that triggered the segfault is proprietary, so I'm unable to share much more context. Hopefully this issue serves as a data point, if nothing else. Feel free to close it if it's completely unactionable.

Meta

rustc --version --verbose:

rustc 1.59.0 (9d1b2106e 2022-02-23)
binary: rustc
commit-hash: 9d1b2106e23b1abd32fce1f17267604a5102f57a
commit-date: 2022-02-23
host: x86_64-unknown-linux-gnu
release: 1.59.0
LLVM version: 13.0.0

Error output

/home/gabi/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/bin/../lib/librustc_driver-028c2c06c3edd7fd.so(+0x51c173)[0x7f61fdd1d173]
/lib/x86_64-linux-gnu/libpthread.so.0(+0x14140)[0x7f61fd45f140]
/home/gabi/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/bin/../lib/librustc_driver-028c2c06c3edd7fd.so(+0x18d7f39)[0x7f61ff0d8f39]
/home/gabi/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/bin/../lib/librustc_driver-028c2c06c3edd7fd.so(+0x18a34f4)[0x7f61ff0a44f4]
/home/gabi/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/bin/../lib/librustc_driver-028c2c06c3edd7fd.so(+0x23d8abb)[0x7f61ffbd9abb]
/home/gabi/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/bin/../lib/librustc_driver-028c2c06c3edd7fd.so(_RNvXs5_Cs13w4PsU5rpo_18rustc_codegen_llvmNtB5_18LlvmCodegenBackendNtNtNtCs4Jm2qdcUo2_17rustc_codegen_ssa6traits7backend14CodegenBackend13codegen_crate+0xc26)[0x7f61ffbebfd6]
/home/gabi/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/bin/../lib/librustc_driver-028c2c06c3edd7fd.so(+0x23a5c47)[0x7f61ffba6c47]
/home/gabi/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/bin/../lib/librustc_driver-028c2c06c3edd7fd.so(_RNvMs0_NtCs1jr7i5iwsdB_15rustc_interface7queriesNtB5_7Queries15ongoing_codegen+0x6c6)[0x7f61ffb8f276]
/home/gabi/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/bin/../lib/librustc_driver-028c2c06c3edd7fd.so(+0x2368974)[0x7f61ffb69974]
/home/gabi/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/bin/../lib/librustc_driver-028c2c06c3edd7fd.so(+0x234b97c)[0x7f61ffb4c97c]
/home/gabi/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/bin/../lib/librustc_driver-028c2c06c3edd7fd.so(+0x2367cfe)[0x7f61ffb68cfe]
/home/gabi/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/bin/../lib/librustc_driver-028c2c06c3edd7fd.so(+0x234cedb)[0x7f61ffb4dedb]
/home/gabi/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/bin/../lib/librustc_driver-028c2c06c3edd7fd.so(+0x234ccd5)[0x7f61ffb4dcd5]
/home/gabi/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/bin/../lib/librustc_driver-028c2c06c3edd7fd.so(+0x2378499)[0x7f61ffb79499]
/home/gabi/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/bin/../lib/libstd-a46a068050a12a4b.so(rust_metadata_std_c2a6a440a415d498+0xa7073)[0x7f61fd53b073]
/lib/x86_64-linux-gnu/libpthread.so.0(+0x8ea7)[0x7f61fd453ea7]
/lib/x86_64-linux-gnu/libc.so.6(clone+0x3f)[0x7f61fd376def]
    Checking <elided> v0.4.0 (ssh://git@<elided>)
    Checking sentry-core v0.25.0
   Compiling tonic-build v0.6.2
error: could not compile `<elided>`

Caused by:
  process didn't exit successfully: `rustc --crate-name <elided> --edition=2018 /home/gabi/.cargo/<elided> --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debuginfo=2 -C metadata=24f8a8c64a7095a5 -C extra-filename=-24f8a8c64a7095a5 --out-dir /home/gabi/<my project>/target/debug/deps -L dependency=/home/gabi/<my project>/target/debug/deps --extern clap=/home/gabi/<my project>/target/debug/deps/libclap-49dcd6682a829e92.rmeta --extern geohash=/home/gabi/<my project>/target/debug/deps/libgeohash-68d5d5977aa3f05d.rmeta --extern geoutils=/home/gabi/<my project>/target/debug/deps/libgeoutils-fad334edbe632cf4.rmeta --extern hostname=/home/gabi/<my project>/target/debug/deps/libhostname-84ab16c8468a2917.rmeta --extern lazy_static=/home/gabi/<my project>/target/debug/deps/liblazy_static-02ff0d0fbc57b9b4.rmeta --extern multi_reader=/home/gabi/<my project>/target/debug/deps/libmulti_reader-e093299679ff291c.rmeta --extern netlink_packet_sock_diag=/home/gabi/<my project>/target/debug/deps/libnetlink_packet_sock_diag-6753e6af94ebf913.rmeta --extern netlink_sys=/home/gabi/<my project>/target/debug/deps/libnetlink_sys-076ea19b80839692.rmeta --extern radix_trie=/home/gabi/<my project>/target/debug/deps/libradix_trie-02e3725a4f4b7fc5.rmeta --extern rand=/home/gabi/<my project>/target/debug/deps/librand-d1a3911037d50efe.rmeta --extern regex=/home/gabi/<my project>/target/debug/deps/libregex-11dccc46ec595cde.rmeta --extern serde=/home/gabi/<my project>/target/debug/deps/libserde-c5aa3c7d19611668.rmeta --extern serde_yaml=/home/gabi/<my project>/target/debug/deps/libserde_yaml-b58cfb6ebc8a53b5.rmeta --extern structopt=/home/gabi/<my project>/target/debug/deps/libstructopt-afe3617a2ce1e9eb.rmeta --cap-lints allow --cfg tokio_unstable` (signal: 11, SIGSEGV: invalid memory reference)
warning: build failed, waiting for other jobs to finish...
error: build failed

Backtrace

GNU gdb (Debian 10.1-1.7) 10.1.90.20210103-git
Copyright (C) 2021 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Type "show copying" and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<https://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
    <http://www.gnu.org/software/gdb/documentation/>.

For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from /home/gabi/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/bin/rustc...
[New LWP 1421619]
[New LWP 1421605]
[New LWP 1421732]
[New LWP 1421733]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
bCore was generated by `/home/gabi/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/bin/rustc --crate'.
Program terminated with signal SIGSEGV, Segmentation fault.
#0  0x00007f61ff0d8f39 in _RINvNtCs4Jm2qdcUo2_17rustc_codegen_ssa3mir11codegen_mirNtNtCs13w4PsU5rpo_18rustc_codegen_llvm7builder7BuilderEBV_ ()
   from /home/gabi/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/bin/../lib/librustc_driver-028c2c06c3edd7fd.so
[Current thread is 1 (Thread 0x7f61f777f700 (LWP 1421619))]
warning: Missing auto-load script at offset 0 in section .debug_gdb_scripts
of file /home/gabi/<my project>/target/debug/deps/libserde_derive-8bbca8a087a17512.so.
Use `info auto-load python-scripts [REGEXP]' to list them.
(gdb) bt
#0  0x00007f61ff0d8f39 in _RINvNtCs4Jm2qdcUo2_17rustc_codegen_ssa3mir11codegen_mirNtNtCs13w4PsU5rpo_18rustc_codegen_llvm7builder7BuilderEBV_ ()
   from /home/gabi/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/bin/../lib/librustc_driver-028c2c06c3edd7fd.so
#1  0x00007f61ff0a44f4 in _RNvNvNtCs13w4PsU5rpo_18rustc_codegen_llvm4base20compile_codegen_unit14module_codegen ()
   from /home/gabi/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/bin/../lib/librustc_driver-028c2c06c3edd7fd.so
#2  0x00007f61ffbd9abb in _RNvNtCs13w4PsU5rpo_18rustc_codegen_llvm4base20compile_codegen_unit ()
   from /home/gabi/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/bin/../lib/librustc_driver-028c2c06c3edd7fd.so
#3  0x00007f61ffbebfd6 in _RNvXs5_Cs13w4PsU5rpo_18rustc_codegen_llvmNtB5_18LlvmCodegenBackendNtNtNtCs4Jm2qdcUo2_17rustc_codegen_ssa6traits7backend14CodegenBackend13codegen_crate () from /home/gabi/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/bin/../lib/librustc_driver-028c2c06c3edd7fd.so
#4  0x00007f61ffba6c47 in _RINvMNtCs6LS5SwlmTBK_13rustc_session5utilsNtNtB5_7session7Session4timeINtNtCs6CMyLLiloLp_5alloc5boxed3BoxDNtNtCs6u8looMwBB7_4core3any3AnyEL_ENCNvNtCs1jr7i5iwsdB_15rustc_interface6passes13start_codegen0EB2l_ ()
   from /home/gabi/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/bin/../lib/librustc_driver-028c2c06c3edd7fd.so
#5  0x00007f61ffb8f276 in _RNvMs0_NtCs1jr7i5iwsdB_15rustc_interface7queriesNtB5_7Queries15ongoing_codegen ()
   from /home/gabi/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/bin/../lib/librustc_driver-028c2c06c3edd7fd.so
#6  0x00007f61ffb69974 in _RINvMs2_NtCs1jr7i5iwsdB_15rustc_interface7queriesNtNtB8_9interface8Compiler5enterNCNCNvCs8Y6Gq0vWek7_12rustc_driver12run_compilers_0s0_0INtNtCs6u8looMwBB7_4core6result6ResultINtNtB2f_6option6OptionNtB6_6LinkerENtCseq861t80vEc_12rustc_errors13ErrorReportedEEB1n_ ()
   from /home/gabi/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/bin/../lib/librustc_driver-028c2c06c3edd7fd.so
#7  0x00007f61ffb4c97c in _RINvCskeanMsDi64Z_10rustc_span15with_source_mapINtNtCs6u8looMwBB7_4core6result6ResultuNtCseq861t80vEc_12rustc_errors13ErrorReportedENCINvNtCs1jr7i5iwsdB_15rustc_interface9interface23create_compiler_and_runBJ_NCNvCs8Y6Gq0vWek7_12rustc_driver12run_compilers_0Es_0EB3o_ ()
   from /home/gabi/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/bin/../lib/librustc_driver-028c2c06c3edd7fd.so
#8  0x00007f61ffb68cfe in _RINvNtCs1jr7i5iwsdB_15rustc_interface9interface23create_compiler_and_runINtNtCs6u8looMwBB7_4core6result6ResultuNtCseq861t80vEc_12rustc_errors13ErrorReportedENCNvCs8Y6Gq0vWek7_12rustc_driver12run_compilers_0EB2z_ ()
   from /home/gabi/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/bin/../lib/librustc_driver-028c2c06c3edd7fd.so
#9  0x00007f61ffb4dedb in _RINvMs_CsaNrMuJJolLo_10scoped_tlsINtB5_9ScopedKeyNtCskeanMsDi64Z_10rustc_span14SessionGlobalsE3setNCNCINvNtCs1jr7i5iwsdB_15rustc_interface4util51setup_callbacks_and_run_in_thread_pool_with_globalsNCINvNtB1H_9interface12run_compilerINtNtCs6u8looMwBB7_4core6result6ResultuNtCseq861t80vEc_12rustc_errors13ErrorReportedENCNvCs8Y6Gq0vWek7_12rustc_driver12run_compilers_0E0B3H_E00B3H_EB58_ ()
   from /home/gabi/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/bin/../lib/librustc_driver-028c2c06c3edd7fd.so
#10 0x00007f61ffb4dcd5 in _RINvNtNtCsgI7AwR4XaQe_3std10sys_common9backtrace28___rust_begin_short_backtraceNCINvNtCs1jr7i5iwsdB_15rustc_interface4util51setup_callbacks_and_run_in_thread_pool_with_globalsNCINvNtB1m_9interface12run_compilerINtNtCs6u8looMwBB7_4core6result6ResultuNtCseq861t80vEc_12rustc_errors13ErrorReportedENCNvCs8Y6Gq0vWek7_12rustc_driver12run_compilers_0E0B3m_E0B3m_EB4N_.llvm.12386128522135127609 ()
   from /home/gabi/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/bin/../lib/librustc_driver-028c2c06c3edd7fd.so
#11 0x00007f61ffb79499 in _RNSNvYNCINvMNtCsgI7AwR4XaQe_3std6threadNtBa_7Builder15spawn_uncheckedNCINvNtCs1jr7i5iwsdB_15rustc_interface4util51setup_callbacks_and_run_in_thread_pool_with_globalsNCINvNtB1c_9interface12run_compilerINtNtCs6u8looMwBB7_4core6result6ResultuNtCseq861t80vEc_12rustc_errors13ErrorReportedENCNvCs8Y6Gq0vWek7_12rustc_driver12run_compilers_0E0B3c_E0B3c_Es_0INtNtNtB3h_3ops8function6FnOnceuE9call_once6vtableB4D_ ()
   from /home/gabi/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/bin/../lib/librustc_driver-028c2c06c3edd7fd.so
#12 0x00007f61fd53b073 in alloc::boxed::{impl#44}::call_once<(), dyn core::ops::function::FnOnce<(), Output=()>, alloc::alloc::Global> ()
    at /rustc/9d1b2106e23b1abd32fce1f17267604a5102f57a/library/alloc/src/boxed.rs:1854
#13 alloc::boxed::{impl#44}::call_once<(), alloc::boxed::Box<dyn core::ops::function::FnOnce<(), Output=()>, alloc::alloc::Global>, alloc::alloc::Global> ()
    at /rustc/9d1b2106e23b1abd32fce1f17267604a5102f57a/library/alloc/src/boxed.rs:1854
#14 std::sys::unix::thread::{impl#2}::new::thread_start () at library/std/src/sys/unix/thread.rs:108
#15 0x00007f61fd453ea7 in start_thread (arg=<optimized out>) at pthread_create.c:477
#16 0x00007f61fd376def in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

@gabi-250 gabi-250 added C-bug Category: This is a bug. I-ICE Issue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️ T-compiler Relevant to the compiler team, which will review and decide on the PR/issue. labels Apr 6, 2022
@jyn514
Copy link
Member

jyn514 commented Apr 6, 2022

Demangled backtrace:

#0  0x00007f61ff0d8f39 in rustc_codegen_ssa::mir::codegen_mir::<rustc_codegen_llvm::builder::Builder> ()
   from /home/gabi/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/bin/../lib/librustc_driver-028c2c06c3edd7fd.so
#1  0x00007f61ff0a44f4 in rustc_codegen_llvm::base::compile_codegen_unit::module_codegen ()
   from /home/gabi/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/bin/../lib/librustc_driver-028c2c06c3edd7fd.so
#2  0x00007f61ffbd9abb in rustc_codegen_llvm::base::compile_codegen_unit ()
   from /home/gabi/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/bin/../lib/librustc_driver-028c2c06c3edd7fd.so
#3  0x00007f61ffbebfd6 in <rustc_codegen_llvm::LlvmCodegenBackend as rustc_codegen_ssa::traits::backend::CodegenBackend>::codegen_crate () from /home/gabi/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/bin/../lib/librustc_driver-028c2c06c3edd7fd.so
#4  0x00007f61ffba6c47 in <rustc_session::session::Session>::time::<alloc::boxed::Box<dyn core::any::Any>, rustc_interface::passes::start_codegen::{closure#0}> ()
   from /home/gabi/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/bin/../lib/librustc_driver-028c2c06c3edd7fd.so
#5  0x00007f61ffb8f276 in <rustc_interface::queries::Queries>::ongoing_codegen ()
   from /home/gabi/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/bin/../lib/librustc_driver-028c2c06c3edd7fd.so
#6  0x00007f61ffb69974 in <rustc_interface::interface::Compiler>::enter::<rustc_driver::run_compiler::{closure#1}::{closure#2}, core::result::Result<core::option::Option<rustc_interface::queries::Linker>, rustc_errors::ErrorReported>> ()
   from /home/gabi/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/bin/../lib/librustc_driver-028c2c06c3edd7fd.so
#7  0x00007f61ffb4c97c in rustc_span::with_source_map::<core::result::Result<(), rustc_errors::ErrorReported>, rustc_interface::interface::create_compiler_and_run<core::result::Result<(), rustc_errors::ErrorReported>, rustc_driver::run_compiler::{closure#1}>::{closure#1}> ()
   from /home/gabi/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/bin/../lib/librustc_driver-028c2c06c3edd7fd.so
#8  0x00007f61ffb68cfe in rustc_interface::interface::create_compiler_and_run::<core::result::Result<(), rustc_errors::ErrorReported>, rustc_driver::run_compiler::{closure#1}> ()
   from /home/gabi/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/bin/../lib/librustc_driver-028c2c06c3edd7fd.so
#9  0x00007f61ffb4dedb in <scoped_tls::ScopedKey<rustc_span::SessionGlobals>>::set::<rustc_interface::util::setup_callbacks_and_run_in_thread_pool_with_globals<rustc_interface::interface::run_compiler<core::result::Result<(), rustc_errors::ErrorReported>, rustc_driver::run_compiler::{closure#1}>::{closure#0}, core::result::Result<(), rustc_errors::ErrorReported>>::{closure#0}::{closure#0}, core::result::Result<(), rustc_errors::ErrorReported>> ()
   from /home/gabi/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/bin/../lib/librustc_driver-028c2c06c3edd7fd.so
#10 0x00007f61ffb4dcd5 in std::sys_common::backtrace::__rust_begin_short_backtrace::<rustc_interface::util::setup_callbacks_and_run_in_thread_pool_with_globals<rustc_interface::interface::run_compiler<core::result::Result<(), rustc_errors::ErrorReported>, rustc_driver::run_compiler::{closure#1}>::{closure#0}, core::result::Result<(), rustc_errors::ErrorReported>>::{closure#0}, core::result::Result<(), rustc_errors::ErrorReported>> ()
   from /home/gabi/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/bin/../lib/librustc_driver-028c2c06c3edd7fd.so
#11 0x00007f61ffb79499 in <<std::thread::Builder>::spawn_unchecked<rustc_interface::util::setup_callbacks_and_run_in_thread_pool_with_globals<rustc_interface::interface::run_compiler<core::result::Result<(), rustc_errors::ErrorReported>, rustc_driver::run_compiler::{closure#1}>::{closure#0}, core::result::Result<(), rustc_errors::ErrorReported>>::{closure#0}, core::result::Result<(), rustc_errors::ErrorReported>>::{closure#1} as core::ops::function::FnOnce<()>>::call_once::{shim:vtable#0} ()
   from /home/gabi/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/bin/../lib/librustc_driver-028c2c06c3edd7fd.so
#12 0x00007f61fd53b073 in alloc::boxed::{impl#44}::call_once<(), dyn core::ops::function::FnOnce<(), Output=()>, alloc::alloc::Global> ()
    at /rustc/9d1b2106e23b1abd32fce1f17267604a5102f57a/library/alloc/src/boxed.rs:1854
#13 alloc::boxed::{impl#44}::call_once<(), alloc::boxed::Box<dyn core::ops::function::FnOnce<(), Output=()>, alloc::alloc::Global>, alloc::alloc::Global> ()
    at /rustc/9d1b2106e23b1abd32fce1f17267604a5102f57a/library/alloc/src/boxed.rs:1854
#14 std::sys::unix::thread::{impl#2}::new::thread_start () at library/std/src/sys/unix/thread.rs:108
#15 0x00007f61fd453ea7 in start_thread (arg=<optimized out>) at pthread_create.c:477
#16 0x00007f61fd376def in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

That last line points to rustc_codegen_ssa::mir::codegen_mir::<rustc_codegen_llvm::builder::Builder>(), so I suspect this is actually either an LLVM assertion failure or some bug in the LLVM bindings. Hard to tell without debug symbols.

@jyn514
Copy link
Member

jyn514 commented Apr 6, 2022

@rustbot label -I-ICE +I-crash +A-llvm

@rustbot rustbot added A-LLVM Area: Code generation parts specific to LLVM. Both correctness bugs and optimization-related issues. I-crash Issue: The compiler crashes (SIGSEGV, SIGABRT, etc). Use I-ICE instead when the compiler panics. and removed I-ICE Issue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️ labels Apr 6, 2022
@cuviper
Copy link
Member

cuviper commented Apr 8, 2022

Rust 1.60.0 updated to LLVM 14 -- does this problem still occur?

@gabi-250
Copy link
Contributor Author

It happened again with Rust 1.60.0, but this time I was compiling a different (but related) project.

  process didn't exit successfully: `rustc --crate-name rustls --edition=2018 /home/gabi/.cargo/registry/src/github.aaakk.us.kg-1ecc6299db9ec823/rustls-0.20.4/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no -C debuginfo=1 --cfg 'feature="dangerous_configuration"' --cfg 'feature="default"' --cfg 'feature="log"' --cfg 'feature="logging"' --cfg 'feature="tls12"'-C metadata=27473b8bfe0d184c -C extra-filename=-27473b8bfe0d184c --out-dir /home/gabi/<my project>/target/test-deps//target/release/deps -L dependency=/home/gabi/<my project>/target/test-deps//target/release/deps --extern log=/home/gabi/<my project>/target/test-deps//target/release/deps/liblog-d60335ac306b6364.rmeta --extern ring=/home/gabi/<my project>/target/test-deps//target/release/deps/libring-5700c498f0f544a3.rmeta --extern sct=/home/gabi/<my project>/target/test-deps//target/release/deps/libsct-02f2d31e2df0f569.rmeta --extern webpki=/home/gabi/<my project>/target/test-deps//target/release/deps/libwebpki-45b1af83d2c96c57.rmeta --cap-lints allow --cfg tokio_unstable -L native=/home/gabi/<my project>/target/test-deps//target/release/build/ring-3d44548f130ce44d/out` (signal: 11, SIGSEGV: invalid memory reference)
> rustc --version --verbose
rustc 1.60.0 (7737e0b5c 2022-04-04)
binary: rustc
commit-hash: 7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c
commit-date: 2022-04-04
host: x86_64-unknown-linux-gnu
release: 1.60.0
LLVM version: 14.0.0

This time it failed in llvm::MetadataTracking::track(void*, llvm::Metadata&, llvm::PointerUnion<llvm::MetadataAsValue*, llvm::Metadata*>) ():

Backtrace

Core was generated by `/home/gabi/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/bin/rustc --crate'.
Program terminated with signal SIGSEGV, Segmentation fault.
#0  0x00007efffb704097 in llvm::MetadataTracking::track(void*, llvm::Metadata&, llvm::PointerUnion<llvm::MetadataAsValue*, llvm::Metadata*>) ()
   from /home/gabi/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/bin/../lib/../lib/libLLVM-14-rust-1.60.0-stable.so
[Current thread is 1 (Thread 0x7effe59ff700 (LWP 462078))]
(gdb) bt
#0  0x00007efffb704097 in llvm::MetadataTracking::track(void*, llvm::Metadata&, llvm::PointerUnion<llvm::MetadataAsValue*, llvm::Metadata*>) ()
   from /home/gabi/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/bin/../lib/../lib/libLLVM-14-rust-1.60.0-stable.so
#1  0x00007efffb5ff4bd in llvm::InstCombinerImpl::run() ()
   from /home/gabi/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/bin/../lib/../lib/libLLVM-14-rust-1.60.0-stable.so
#2  0x00007efffb5f8a03 in combineInstructionsOverFunction(llvm::Function&, llvm::InstructionWorklist&, llvm::AAResults*, llvm::AssumptionCache&, llvm::TargetLibraryInfo&, llvm::TargetTransformInfo&, llvm::DominatorTree&, llvm::OptimizationRemarkEmitter&, llvm::BlockFrequencyInfo*, llvm::ProfileSummaryInfo*, unsigned int, llvm::LoopInfo*) [clone .llvm.4910496032904486612] ()
   from /home/gabi/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/bin/../lib/../lib/libLLVM-14-rust-1.60.0-stable.so
#3  0x00007efffdc42ba8 in llvm::detail::PassModel<llvm::Function, llvm::InstCombinePass, llvm::PreservedAnalyses, llvm::AnalysisManager<llvm::Function>>::run(llvm::Function&, llvm::AnalysisManager<llvm::Function>&) ()
   from /home/gabi/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/bin/../lib/../lib/libLLVM-14-rust-1.60.0-stable.so
#4  0x00007efffb4ec229 in llvm::detail::PassModel<llvm::Function, llvm::PassManager<llvm::Function, llvm::AnalysisManager<llvm::Function>>, llvm::PreservedAnalyses, llvm::AnalysisManager<llvm::Function>>::run(llvm::Function&, llvm::AnalysisManager<llvm::Function>&) ()
   from /home/gabi/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/bin/../lib/../lib/libLLVM-14-rust-1.60.0-stable.so
#5  0x00007efffc3f0659 in llvm::ModuleToFunctionPassAdaptor::run(llvm::Module&, llvm::AnalysisManager<llvm::Module>&) ()
   from /home/gabi/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/bin/../lib/../lib/libLLVM-14-rust-1.60.0-stable.so
#6  0x00007efffc3f031d in llvm::detail::PassModel<llvm::Module, llvm::ModuleToFunctionPassAdaptor, llvm::PreservedAnalyses, llvm::AnalysisManager<llvm::Module>>::run(llvm::Module&, llvm::AnalysisManager<llvm::Module>&) ()
   from /home/gabi/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/bin/../lib/../lib/libLLVM-14-rust-1.60.0-stable.so
#7  0x00007efffc2715c4 in llvm::PassManager<llvm::Module, llvm::AnalysisManager<llvm::Module>>::run(llvm::Module&, llvm::AnalysisManager<llvm::Module>&) ()
   from /home/gabi/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/bin/../lib/../lib/libLLVM-14-rust-1.60.0-stable.so
#8  0x00007f0000bc1ef1 in LLVMRustOptimizeWithNewPassManager ()
   from /home/gabi/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/bin/../lib/librustc_driver-75e5f32fc3580f6c.so
#9  0x00007f0000bafb54 in rustc_codegen_llvm::back::write::optimize_with_new_llvm_pass_manager ()
   from /home/gabi/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/bin/../lib/librustc_driver-75e5f32fc3580f6c.so
#10 0x00007f0000bb00a1 in rustc_codegen_llvm::back::write::optimize ()
   from /home/gabi/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/bin/../lib/librustc_driver-75e5f32fc3580f6c.so
#11 0x00007f0000b47d7d in rustc_codegen_ssa::back::write::execute_work_item::<rustc_codegen_llvm::LlvmCodegenBackend> () from /home/gabi/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/bin/../lib/librustc_driver-75e5f32fc3580f6c.so
#12 0x00007f0000b6580f in std::sys_common::backtrace::__rust_begin_short_backtrace::<<rustc_codegen_llvm::LlvmCodegenBackend as rustc_codegen_ssa::traits::backend::ExtraBackendMethods>::spawn_named_thread<rustc_codegen_ssa::back::write::spawn_work<rustc_codegen_llvm::LlvmCodegenBackend>::{closure#0}, ()>::{closure#0}, ()> () from /home/gabi/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/bin/../lib/librustc_driver-75e5f32fc3580f6c.so
#13 0x00007f0000b54bc7 in <<std::thread::Builder>::spawn_unchecked_<<rustc_codegen_llvm::LlvmCodegenBackend as rustc_codegen_ssa::traits::backend::ExtraBackendMethods>::spawn_named_thread<rustc_codegen_ssa::back::write::spawn_work<rustc_codegen_llvm::LlvmCodegenBackend>::{closure#0}, ()>::{closure#0}, ()>::{closure#1} as core::ops::function::FnOnce<()>>::call_once::{shim:vtable#0} ()
   from /home/gabi/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/bin/../lib/librustc_driver-75e5f32fc3580f6c.so
#14 0x00007efffe51bd03 in alloc::boxed::{impl#44}::call_once<(), dyn core::ops::function::FnOnce<(), Output=()>, alloc::alloc::Global> ()
    at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/alloc/src/boxed.rs:1853
#15 alloc::boxed::{impl#44}::call_once<(), alloc::boxed::Box<dyn core::ops::function::FnOnce<(), Output=()>, alloc::alloc::Global>, alloc::alloc::Global> ()
    at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/alloc/src/boxed.rs:1853
#16 std::sys::unix::thread::{impl#2}::new::thread_start () at library/std/src/sys/unix/thread.rs:108
#17 0x00007efffe431ea7 in start_thread (arg=<optimized out>) at pthread_create.c:477
#18 0x00007efffe356def in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

In both instances where the segfault happened I was running multiple builds in parallel - I wonder if this has anything to do with memory pressure?

@recatek
Copy link

recatek commented May 22, 2022

I'm also getting similar issues when building anything large with >100 dependencies (such as bevy, or cargo-audit). Happens for me both on Windows 10 and on WSL Ubuntu 18.04.

WSL/Ubuntu:

$ rustc --version --verbose
rustc 1.61.0 (fe5b13d68 2022-05-18)
binary: rustc
commit-hash: fe5b13d681f25ee6474be29d748c65adcd91f69e
commit-date: 2022-05-18
host: x86_64-unknown-linux-gnu
release: 1.61.0
LLVM version: 14.0.0

Windows:

> rustc --version --verbose
rustc 1.61.0 (fe5b13d68 2022-05-18)
binary: rustc
commit-hash: fe5b13d681f25ee6474be29d748c65adcd91f69e
commit-date: 2022-05-18
host: x86_64-pc-windows-msvc
release: 1.61.0
LLVM version: 14.0.0

The issue will happen on a seemingly different, and random, crate each time. Here's an example from building a fresh cargo new crate on WSL with the bevy 0.7 added as a dependency in Cargo.toml.

error: could not compile `png`

Caused by:
  process didn't exit successfully: `rustc --crate-name png --edition=2018 /home/build/.cargo/registry/src/github.aaakk.us.kg-1ecc6299db9ec823/png-0.16.8/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debuginfo=2 --cfg 'feature="default"' --cfg 'feature="deflate"' --cfg 'feature="png-encoding"' -C metadata=c95eabd95ff1a557 -C extra-filename=-c95eabd95ff1a557 --out-dir /home/build/test_build_crash/target/debug/deps -L dependency=/home/build/test_build_crash/target/debug/deps --extern bitflags=/home/build/test_build_crash/target/debug/deps/libbitflags-462dfa36d3305633.rmeta --extern crc32fast=/home/build/test_build_crash/target/debug/deps/libcrc32fast-88b102390994a92f.rmeta --extern deflate=/home/build/test_build_crash/target/debug/deps/libdeflate-8c45156971286026.rmeta --extern miniz_oxide=/home/build/test_build_crash/target/debug/deps/libminiz_oxide-0a8811d7c10dab74.rmeta --cap-lints allow` (signal: 11, SIGSEGV: invalid memory reference)
warning: build failed, waiting for other jobs to finish...

...

Thread 2 "cargo" received signal SIGUSR1, User defined signal 1.
[Switching to Thread 0x7ffff4720700 (LWP 14139)]
0x00007ffffedbdad3 in futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0xa10aba8) at ../sysdeps/unix/sysv/linux/futex-internal.h:88
88      ../sysdeps/unix/sysv/linux/futex-internal.h: No such file or directory.
(gdb) bt
#0  0x00007ffffedbdad3 in futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0xa10aba8) at ../sysdeps/unix/sysv/linux/futex-internal.h:88
#1  __pthread_cond_wait_common (abstime=0x0, mutex=0xa12a750, cond=0xa10ab80) at pthread_cond_wait.c:502
#2  __pthread_cond_wait (cond=0xa10ab80, mutex=0xa12a750) at pthread_cond_wait.c:655
#3  0x0000000008b556f1 in _RINvMs3_CslUXF0WaltAi_9jobserverNtB6_11HelperState16for_each_requestNCNCNvNtB6_3imp12spawn_helpers_00EB6_ ()
#4  0x0000000008b576dc in _RINvNtNtCsjGQuiWR1kc_3std10sys_common9backtrace28___rust_begin_short_backtraceNCNvNtCslUXF0WaltAi_9jobserver3imp12spawn_helpers_0uEB1k_ ()
#5  0x0000000008b56daf in _RNSNvYNCINvMNtCsjGQuiWR1kc_3std6threadNtBa_7Builder16spawn_unchecked_NCNvNtCslUXF0WaltAi_9jobserver3imp12spawn_helpers_0uEs_0INtNtNtCse1161h7eFfp_4core3ops8function6FnOnceuE9call_once6vtableB1b_ ()
#6  0x0000000008b92053 in <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once () at /rustc/fe5b13d681f25ee6474be29d748c65adcd91f69e/library/alloc/src/boxed.rs:1861
#7  <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once () at /rustc/fe5b13d681f25ee6474be29d748c65adcd91f69e/library/alloc/src/boxed.rs:1861
#8  std::sys::unix::thread::Thread::new::thread_start () at library/std/src/sys/unix/thread.rs:108
#9  0x00007ffffedb76db in start_thread (arg=0x7ffff4720700) at pthread_create.c:463
#10 0x00007ffffe52161f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95
(gdb)

I've also seen crates fail with (exit code: 0xc0000005, STATUS_ACCESS_VIOLATION) and heap corruption errors as well. I'm not an expert at this, but I'm happy to provide more information with some guidance on how to get it.

@detrumi
Copy link
Member

detrumi commented Aug 19, 2022

I ran into this as well, it's happening consistently on this commit. No debuginfo but the repro on public code should help.

rustc --version --verbose
binary: rustc
commit-hash: 4b91a6ea7258a947e59c6522cd5898e7c0a6a88f
commit-date: 2022-08-08
host: x86_64-unknown-linux-gnu
release: 1.63.0
LLVM version: 14.0.5
Output
$ cargo build
   Compiling chalk-integration v0.85.0-dev.0 (/home/wilco/p/rust/chalk/chalk-integration)
/home/wilco/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/bin/../lib/librustc_driver-d680884a73809b24.so(+0x4fa9f3)[0x7f2af12029f3]
/lib64/libpthread.so.0(+0x14a90)[0x7f2af0940a90]
/home/wilco/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/bin/../lib/libstd-8f1929c73c3f8167.so(_ZN4core3fmt5write17h21038c1382fe4264E+0x22)[0x7f2af0a84dc2]
/home/wilco/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/bin/../lib/librustc_driver-d680884a73809b24.so(+0x2ef7dc5)[0x7f2af3bffdc5]
/home/wilco/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/bin/../lib/librustc_driver-d680884a73809b24.so(+0x2ee559c)[0x7f2af3bed59c]
/home/wilco/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/bin/../lib/librustc_driver-d680884a73809b24.so(+0x2ef7dd6)[0x7f2af3bffdd6]
/home/wilco/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/bin/../lib/librustc_driver-d680884a73809b24.so(+0x2ee559c)[0x7f2af3bed59c]
/home/wilco/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/bin/../lib/librustc_driver-d680884a73809b24.so(+0x2ef7dd6)[0x7f2af3bffdd6]
/home/wilco/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/bin/../lib/librustc_driver-d680884a73809b24.so(+0x2ee559c)[0x7f2af3bed59c]
/home/wilco/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/bin/../lib/librustc_driver-d680884a73809b24.so(+0x2ef7dd6)[0x7f2af3bffdd6]
/home/wilco/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/bin/../lib/librustc_driver-d680884a73809b24.so(+0x2ee559c)[0x7f2af3bed59c]
/home/wilco/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/bin/../lib/librustc_driver-d680884a73809b24.so(+0x2ef7dd6)[0x7f2af3bffdd6]
/home/wilco/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/bin/../lib/librustc_driver-d680884a73809b24.so(+0x2ee559c)[0x7f2af3bed59c]
/home/wilco/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/bin/../lib/librustc_driver-d680884a73809b24.so(+0x2ef7dd6)[0x7f2af3bffdd6]
/home/wilco/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/bin/../lib/librustc_driver-d680884a73809b24.so(+0x2ee559c)[0x7f2af3bed59c]
/home/wilco/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/bin/../lib/librustc_driver-d680884a73809b24.so(+0x2ef7dd6)[0x7f2af3bffdd6]
/home/wilco/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/bin/../lib/librustc_driver-d680884a73809b24.so(+0x2ee559c)[0x7f2af3bed59c]
/home/wilco/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/bin/../lib/librustc_driver-d680884a73809b24.so(+0x2ef7dd6)[0x7f2af3bffdd6]
/home/wilco/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/bin/../lib/librustc_driver-d680884a73809b24.so(+0x2ee559c)[0x7f2af3bed59c]
/home/wilco/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/bin/../lib/librustc_driver-d680884a73809b24.so(+0x2ef7dd6)[0x7f2af3bffdd6]
/home/wilco/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/bin/../lib/librustc_driver-d680884a73809b24.so(+0x2ee559c)[0x7f2af3bed59c]
/home/wilco/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/bin/../lib/librustc_driver-d680884a73809b24.so(+0x2ef7dd6)[0x7f2af3bffdd6]
/home/wilco/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/bin/../lib/librustc_driver-d680884a73809b24.so(+0x2ee559c)[0x7f2af3bed59c]
/home/wilco/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/bin/../lib/librustc_driver-d680884a73809b24.so(+0x2ef7dd6)[0x7f2af3bffdd6]
/home/wilco/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/bin/../lib/librustc_driver-d680884a73809b24.so(+0x2ee559c)[0x7f2af3bed59c]
/home/wilco/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/bin/../lib/librustc_driver-d680884a73809b24.so(+0x2ef7dd6)[0x7f2af3bffdd6]
/home/wilco/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/bin/../lib/librustc_driver-d680884a73809b24.so(+0x2ee559c)[0x7f2af3bed59c]
/home/wilco/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/bin/../lib/librustc_driver-d680884a73809b24.so(+0x2ef7dd6)[0x7f2af3bffdd6]
/home/wilco/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/bin/../lib/librustc_driver-d680884a73809b24.so(+0x2ee559c)[0x7f2af3bed59c]
/home/wilco/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/bin/../lib/librustc_driver-d680884a73809b24.so(+0x2ef7dd6)[0x7f2af3bffdd6]
/home/wilco/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/bin/../lib/librustc_driver-d680884a73809b24.so(+0x2ee559c)[0x7f2af3bed59c]
/home/wilco/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/bin/../lib/librustc_driver-d680884a73809b24.so(+0x2ef7dd6)[0x7f2af3bffdd6]
/home/wilco/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/bin/../lib/librustc_driver-d680884a73809b24.so(+0x2ee559c)[0x7f2af3bed59c]
/home/wilco/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/bin/../lib/librustc_driver-d680884a73809b24.so(+0x2ef7dd6)[0x7f2af3bffdd6]
/home/wilco/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/bin/../lib/librustc_driver-d680884a73809b24.so(+0x2ee559c)[0x7f2af3bed59c]
/home/wilco/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/bin/../lib/librustc_driver-d680884a73809b24.so(+0x2ef7dd6)[0x7f2af3bffdd6]
/home/wilco/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/bin/../lib/librustc_driver-d680884a73809b24.so(+0x2ee559c)[0x7f2af3bed59c]
/home/wilco/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/bin/../lib/librustc_driver-d680884a73809b24.so(+0x2ef7dd6)[0x7f2af3bffdd6]
/home/wilco/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/bin/../lib/librustc_driver-d680884a73809b24.so(+0x2ee559c)[0x7f2af3bed59c]
/home/wilco/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/bin/../lib/librustc_driver-d680884a73809b24.so(+0x2ef7dd6)[0x7f2af3bffdd6]
/home/wilco/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/bin/../lib/librustc_driver-d680884a73809b24.so(+0x2ee559c)[0x7f2af3bed59c]
/home/wilco/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/bin/../lib/librustc_driver-d680884a73809b24.so(+0x2ef7dd6)[0x7f2af3bffdd6]
/home/wilco/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/bin/../lib/librustc_driver-d680884a73809b24.so(+0x2ee559c)[0x7f2af3bed59c]
/home/wilco/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/bin/../lib/librustc_driver-d680884a73809b24.so(+0x2ef7dd6)[0x7f2af3bffdd6]
/home/wilco/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/bin/../lib/librustc_driver-d680884a73809b24.so(+0x2ee559c)[0x7f2af3bed59c]
/home/wilco/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/bin/../lib/librustc_driver-d680884a73809b24.so(+0x2ef7dd6)[0x7f2af3bffdd6]
/home/wilco/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/bin/../lib/librustc_driver-d680884a73809b24.so(+0x2ee559c)[0x7f2af3bed59c]
/home/wilco/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/bin/../lib/librustc_driver-d680884a73809b24.so(+0x2ef7dd6)[0x7f2af3bffdd6]
/home/wilco/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/bin/../lib/librustc_driver-d680884a73809b24.so(+0x2ee559c)[0x7f2af3bed59c]
/home/wilco/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/bin/../lib/librustc_driver-d680884a73809b24.so(+0x2ef7dd6)[0x7f2af3bffdd6]
/home/wilco/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/bin/../lib/librustc_driver-d680884a73809b24.so(+0x2ee559c)[0x7f2af3bed59c]
/home/wilco/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/bin/../lib/librustc_driver-d680884a73809b24.so(+0x2ef7dd6)[0x7f2af3bffdd6]
/home/wilco/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/bin/../lib/librustc_driver-d680884a73809b24.so(+0x2ee559c)[0x7f2af3bed59c]
/home/wilco/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/bin/../lib/librustc_driver-d680884a73809b24.so(+0x2ef7dd6)[0x7f2af3bffdd6]
/home/wilco/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/bin/../lib/librustc_driver-d680884a73809b24.so(+0x2ee559c)[0x7f2af3bed59c]
/home/wilco/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/bin/../lib/librustc_driver-d680884a73809b24.so(+0x2ef7dd6)[0x7f2af3bffdd6]
/home/wilco/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/bin/../lib/librustc_driver-d680884a73809b24.so(+0x2ee559c)[0x7f2af3bed59c]
/home/wilco/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/bin/../lib/librustc_driver-d680884a73809b24.so(+0x2ef7dd6)[0x7f2af3bffdd6]
/home/wilco/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/bin/../lib/librustc_driver-d680884a73809b24.so(+0x2ee559c)[0x7f2af3bed59c]
/home/wilco/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/bin/../lib/librustc_driver-d680884a73809b24.so(+0x2ef7dd6)[0x7f2af3bffdd6]
/home/wilco/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/bin/../lib/librustc_driver-d680884a73809b24.so(+0x2ee559c)[0x7f2af3bed59c]
/home/wilco/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/bin/../lib/librustc_driver-d680884a73809b24.so(+0x2ef7dd6)[0x7f2af3bffdd6]
/home/wilco/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/bin/../lib/librustc_driver-d680884a73809b24.so(+0x2ee559c)[0x7f2af3bed59c]
/home/wilco/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/bin/../lib/librustc_driver-d680884a73809b24.so(+0x2ef7dd6)[0x7f2af3bffdd6]
/home/wilco/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/bin/../lib/librustc_driver-d680884a73809b24.so(+0x2ee559c)[0x7f2af3bed59c]
/home/wilco/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/bin/../lib/librustc_driver-d680884a73809b24.so(+0x2ef7dd6)[0x7f2af3bffdd6]
/home/wilco/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/bin/../lib/librustc_driver-d680884a73809b24.so(+0x2ee559c)[0x7f2af3bed59c]
/home/wilco/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/bin/../lib/librustc_driver-d680884a73809b24.so(+0x2ef7dd6)[0x7f2af3bffdd6]
/home/wilco/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/bin/../lib/librustc_driver-d680884a73809b24.so(+0x2ee559c)[0x7f2af3bed59c]
/home/wilco/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/bin/../lib/librustc_driver-d680884a73809b24.so(+0x2ef7dd6)[0x7f2af3bffdd6]
/home/wilco/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/bin/../lib/librustc_driver-d680884a73809b24.so(+0x2ee559c)[0x7f2af3bed59c]
/home/wilco/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/bin/../lib/librustc_driver-d680884a73809b24.so(+0x2ef7dd6)[0x7f2af3bffdd6]
/home/wilco/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/bin/../lib/librustc_driver-d680884a73809b24.so(+0x2ee559c)[0x7f2af3bed59c]
/home/wilco/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/bin/../lib/librustc_driver-d680884a73809b24.so(+0x2ef7dd6)[0x7f2af3bffdd6]
/home/wilco/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/bin/../lib/librustc_driver-d680884a73809b24.so(+0x2ee559c)[0x7f2af3bed59c]
/home/wilco/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/bin/../lib/librustc_driver-d680884a73809b24.so(+0x2ef7dd6)[0x7f2af3bffdd6]
/home/wilco/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/bin/../lib/librustc_driver-d680884a73809b24.so(+0x2ee559c)[0x7f2af3bed59c]
/home/wilco/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/bin/../lib/librustc_driver-d680884a73809b24.so(+0x2ef7dd6)[0x7f2af3bffdd6]
/home/wilco/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/bin/../lib/librustc_driver-d680884a73809b24.so(+0x2ee559c)[0x7f2af3bed59c]
/home/wilco/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/bin/../lib/librustc_driver-d680884a73809b24.so(+0x2ef7dd6)[0x7f2af3bffdd6]
/home/wilco/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/bin/../lib/librustc_driver-d680884a73809b24.so(+0x2ee559c)[0x7f2af3bed59c]
/home/wilco/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/bin/../lib/librustc_driver-d680884a73809b24.so(+0x2ef7dd6)[0x7f2af3bffdd6]
/home/wilco/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/bin/../lib/librustc_driver-d680884a73809b24.so(+0x2ee559c)[0x7f2af3bed59c]
/home/wilco/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/bin/../lib/librustc_driver-d680884a73809b24.so(+0x2ef7dd6)[0x7f2af3bffdd6]
/home/wilco/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/bin/../lib/librustc_driver-d680884a73809b24.so(+0x2ee559c)[0x7f2af3bed59c]
/home/wilco/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/bin/../lib/librustc_driver-d680884a73809b24.so(+0x2ef7dd6)[0x7f2af3bffdd6]
/home/wilco/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/bin/../lib/librustc_driver-d680884a73809b24.so(+0x2ee559c)[0x7f2af3bed59c]
/home/wilco/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/bin/../lib/librustc_driver-d680884a73809b24.so(+0x2ef7dd6)[0x7f2af3bffdd6]
/home/wilco/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/bin/../lib/librustc_driver-d680884a73809b24.so(+0x2ee559c)[0x7f2af3bed59c]
/home/wilco/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/bin/../lib/librustc_driver-d680884a73809b24.so(+0x2ef7dd6)[0x7f2af3bffdd6]
/home/wilco/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/bin/../lib/librustc_driver-d680884a73809b24.so(+0x2ee559c)[0x7f2af3bed59c]
/home/wilco/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/bin/../lib/librustc_driver-d680884a73809b24.so(+0x2ef7dd6)[0x7f2af3bffdd6]
/home/wilco/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/bin/../lib/librustc_driver-d680884a73809b24.so(+0x2ee559c)[0x7f2af3bed59c]
/home/wilco/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/bin/../lib/librustc_driver-d680884a73809b24.so(+0x2ef7dd6)[0x7f2af3bffdd6]
/home/wilco/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/bin/../lib/librustc_driver-d680884a73809b24.so(+0x2ee559c)[0x7f2af3bed59c]
/home/wilco/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/bin/../lib/librustc_driver-d680884a73809b24.so(+0x2ef7dd6)[0x7f2af3bffdd6]
/home/wilco/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/bin/../lib/librustc_driver-d680884a73809b24.so(+0x2ee559c)[0x7f2af3bed59c]
/home/wilco/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/bin/../lib/librustc_driver-d680884a73809b24.so(+0x2ef7dd6)[0x7f2af3bffdd6]
/home/wilco/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/bin/../lib/librustc_driver-d680884a73809b24.so(+0x2ee559c)[0x7f2af3bed59c]
/home/wilco/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/bin/../lib/librustc_driver-d680884a73809b24.so(+0x2ef7dd6)[0x7f2af3bffdd6]
/home/wilco/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/bin/../lib/librustc_driver-d680884a73809b24.so(+0x2ee559c)[0x7f2af3bed59c]
/home/wilco/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/bin/../lib/librustc_driver-d680884a73809b24.so(+0x2ef7dd6)[0x7f2af3bffdd6]
/home/wilco/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/bin/../lib/librustc_driver-d680884a73809b24.so(+0x2ee559c)[0x7f2af3bed59c]
/home/wilco/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/bin/../lib/librustc_driver-d680884a73809b24.so(+0x2ef7dd6)[0x7f2af3bffdd6]
/home/wilco/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/bin/../lib/librustc_driver-d680884a73809b24.so(+0x2ee559c)[0x7f2af3bed59c]
/home/wilco/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/bin/../lib/librustc_driver-d680884a73809b24.so(+0x2ef7dd6)[0x7f2af3bffdd6]
/home/wilco/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/bin/../lib/librustc_driver-d680884a73809b24.so(+0x2ee559c)[0x7f2af3bed59c]
/home/wilco/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/bin/../lib/librustc_driver-d680884a73809b24.so(+0x2ef7dd6)[0x7f2af3bffdd6]
/home/wilco/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/bin/../lib/librustc_driver-d680884a73809b24.so(+0x2ee559c)[0x7f2af3bed59c]
/home/wilco/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/bin/../lib/librustc_driver-d680884a73809b24.so(+0x2ef7dd6)[0x7f2af3bffdd6]
/home/wilco/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/bin/../lib/librustc_driver-d680884a73809b24.so(+0x2ee559c)[0x7f2af3bed59c]
/home/wilco/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/bin/../lib/librustc_driver-d680884a73809b24.so(+0x2ef7dd6)[0x7f2af3bffdd6]
/home/wilco/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/bin/../lib/librustc_driver-d680884a73809b24.so(+0x2ee559c)[0x7f2af3bed59c]
/home/wilco/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/bin/../lib/librustc_driver-d680884a73809b24.so(+0x2ef7dd6)[0x7f2af3bffdd6]
/home/wilco/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/bin/../lib/librustc_driver-d680884a73809b24.so(+0x2ee559c)[0x7f2af3bed59c]
/home/wilco/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/bin/../lib/librustc_driver-d680884a73809b24.so(+0x2ef7dd6)[0x7f2af3bffdd6]
/home/wilco/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/bin/../lib/librustc_driver-d680884a73809b24.so(+0x2ee559c)[0x7f2af3bed59c]
/home/wilco/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/bin/../lib/librustc_driver-d680884a73809b24.so(+0x2ef7dd6)[0x7f2af3bffdd6]
/home/wilco/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/bin/../lib/librustc_driver-d680884a73809b24.so(+0x2ee559c)[0x7f2af3bed59c]
/home/wilco/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/bin/../lib/librustc_driver-d680884a73809b24.so(+0x2ef7dd6)[0x7f2af3bffdd6]
/home/wilco/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/bin/../lib/librustc_driver-d680884a73809b24.so(+0x2ee559c)[0x7f2af3bed59c]
/home/wilco/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/bin/../lib/librustc_driver-d680884a73809b24.so(+0x2ef7dd6)[0x7f2af3bffdd6]
/home/wilco/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/bin/../lib/librustc_driver-d680884a73809b24.so(+0x2ee559c)[0x7f2af3bed59c]
/home/wilco/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/bin/../lib/librustc_driver-d680884a73809b24.so(+0x2ef7dd6)[0x7f2af3bffdd6]
/home/wilco/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/bin/../lib/librustc_driver-d680884a73809b24.so(+0x2ee559c)[0x7f2af3bed59c]
/home/wilco/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/bin/../lib/librustc_driver-d680884a73809b24.so(+0x2ef7dd6)[0x7f2af3bffdd6]
/home/wilco/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/bin/../lib/librustc_driver-d680884a73809b24.so(+0x2ee559c)[0x7f2af3bed59c]
/home/wilco/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/bin/../lib/librustc_driver-d680884a73809b24.so(+0x2ef7dd6)[0x7f2af3bffdd6]
/home/wilco/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/bin/../lib/librustc_driver-d680884a73809b24.so(+0x2ee559c)[0x7f2af3bed59c]
/home/wilco/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/bin/../lib/librustc_driver-d680884a73809b24.so(+0x2ef7dd6)[0x7f2af3bffdd6]
/home/wilco/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/bin/../lib/librustc_driver-d680884a73809b24.so(+0x2ee559c)[0x7f2af3bed59c]
/home/wilco/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/bin/../lib/librustc_driver-d680884a73809b24.so(+0x2ef7dd6)[0x7f2af3bffdd6]
/home/wilco/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/bin/../lib/librustc_driver-d680884a73809b24.so(+0x2ee559c)[0x7f2af3bed59c]
/home/wilco/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/bin/../lib/librustc_driver-d680884a73809b24.so(+0x2ef7dd6)[0x7f2af3bffdd6]
/home/wilco/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/bin/../lib/librustc_driver-d680884a73809b24.so(+0x2ee559c)[0x7f2af3bed59c]
/home/wilco/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/bin/../lib/librustc_driver-d680884a73809b24.so(+0x2ef7dd6)[0x7f2af3bffdd6]
/home/wilco/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/bin/../lib/librustc_driver-d680884a73809b24.so(+0x2ee559c)[0x7f2af3bed59c]
/home/wilco/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/bin/../lib/librustc_driver-d680884a73809b24.so(+0x2ef7dd6)[0x7f2af3bffdd6]
/home/wilco/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/bin/../lib/librustc_driver-d680884a73809b24.so(+0x2ee559c)[0x7f2af3bed59c]
/home/wilco/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/bin/../lib/librustc_driver-d680884a73809b24.so(+0x2ef7dd6)[0x7f2af3bffdd6]
/home/wilco/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/bin/../lib/librustc_driver-d680884a73809b24.so(+0x2ee559c)[0x7f2af3bed59c]
/home/wilco/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/bin/../lib/librustc_driver-d680884a73809b24.so(+0x2ef7dd6)[0x7f2af3bffdd6]
/home/wilco/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/bin/../lib/librustc_driver-d680884a73809b24.so(+0x2ee559c)[0x7f2af3bed59c]
/home/wilco/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/bin/../lib/librustc_driver-d680884a73809b24.so(+0x2ef7dd6)[0x7f2af3bffdd6]
/home/wilco/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/bin/../lib/librustc_driver-d680884a73809b24.so(+0x2ee559c)[0x7f2af3bed59c]
/home/wilco/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/bin/../lib/librustc_driver-d680884a73809b24.so(+0x2ef7dd6)[0x7f2af3bffdd6]
/home/wilco/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/bin/../lib/librustc_driver-d680884a73809b24.so(+0x2ee559c)[0x7f2af3bed59c]
/home/wilco/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/bin/../lib/librustc_driver-d680884a73809b24.so(+0x2ef7dd6)[0x7f2af3bffdd6]
/home/wilco/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/bin/../lib/librustc_driver-d680884a73809b24.so(+0x2ee559c)[0x7f2af3bed59c]
/home/wilco/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/bin/../lib/librustc_driver-d680884a73809b24.so(+0x2ef7dd6)[0x7f2af3bffdd6]
/home/wilco/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/bin/../lib/librustc_driver-d680884a73809b24.so(+0x2ee559c)[0x7f2af3bed59c]
/home/wilco/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/bin/../lib/librustc_driver-d680884a73809b24.so(+0x2ef7dd6)[0x7f2af3bffdd6]
/home/wilco/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/bin/../lib/librustc_driver-d680884a73809b24.so(+0x2ee559c)[0x7f2af3bed59c]
/home/wilco/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/bin/../lib/librustc_driver-d680884a73809b24.so(+0x2ef7dd6)[0x7f2af3bffdd6]
/home/wilco/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/bin/../lib/librustc_driver-d680884a73809b24.so(+0x2ee559c)[0x7f2af3bed59c]
/home/wilco/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/bin/../lib/librustc_driver-d680884a73809b24.so(+0x2ef7dd6)[0x7f2af3bffdd6]
/home/wilco/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/bin/../lib/librustc_driver-d680884a73809b24.so(+0x2ee559c)[0x7f2af3bed59c]
/home/wilco/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/bin/../lib/librustc_driver-d680884a73809b24.so(+0x2ef7dd6)[0x7f2af3bffdd6]
/home/wilco/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/bin/../lib/librustc_driver-d680884a73809b24.so(+0x2ee559c)[0x7f2af3bed59c]
/home/wilco/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/bin/../lib/librustc_driver-d680884a73809b24.so(+0x2ef7dd6)[0x7f2af3bffdd6]
/home/wilco/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/bin/../lib/librustc_driver-d680884a73809b24.so(+0x2ee559c)[0x7f2af3bed59c]
/home/wilco/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/bin/../lib/librustc_driver-d680884a73809b24.so(+0x2ef7dd6)[0x7f2af3bffdd6]
/home/wilco/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/bin/../lib/librustc_driver-d680884a73809b24.so(+0x2ee559c)[0x7f2af3bed59c]
/home/wilco/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/bin/../lib/librustc_driver-d680884a73809b24.so(+0x2ef7dd6)[0x7f2af3bffdd6]
/home/wilco/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/bin/../lib/librustc_driver-d680884a73809b24.so(+0x2ee559c)[0x7f2af3bed59c]
/home/wilco/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/bin/../lib/librustc_driver-d680884a73809b24.so(+0x2ef7dd6)[0x7f2af3bffdd6]
/home/wilco/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/bin/../lib/librustc_driver-d680884a73809b24.so(+0x2ee559c)[0x7f2af3bed59c]
/home/wilco/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/bin/../lib/librustc_driver-d680884a73809b24.so(+0x2ef7dd6)[0x7f2af3bffdd6]
/home/wilco/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/bin/../lib/librustc_driver-d680884a73809b24.so(+0x2ee559c)[0x7f2af3bed59c]
/home/wilco/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/bin/../lib/librustc_driver-d680884a73809b24.so(+0x2ef7dd6)[0x7f2af3bffdd6]
/home/wilco/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/bin/../lib/librustc_driver-d680884a73809b24.so(+0x2ee559c)[0x7f2af3bed59c]
/home/wilco/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/bin/../lib/librustc_driver-d680884a73809b24.so(+0x2ef7dd6)[0x7f2af3bffdd6]
/home/wilco/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/bin/../lib/librustc_driver-d680884a73809b24.so(+0x2ee559c)[0x7f2af3bed59c]
/home/wilco/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/bin/../lib/librustc_driver-d680884a73809b24.so(+0x2ef7dd6)[0x7f2af3bffdd6]
/home/wilco/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/bin/../lib/librustc_driver-d680884a73809b24.so(+0x2ee559c)[0x7f2af3bed59c]
/home/wilco/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/bin/../lib/librustc_driver-d680884a73809b24.so(+0x2ef7dd6)[0x7f2af3bffdd6]
/home/wilco/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/bin/../lib/librustc_driver-d680884a73809b24.so(+0x2ee559c)[0x7f2af3bed59c]
/home/wilco/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/bin/../lib/librustc_driver-d680884a73809b24.so(+0x2ef7dd6)[0x7f2af3bffdd6]
/home/wilco/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/bin/../lib/librustc_driver-d680884a73809b24.so(+0x2ee559c)[0x7f2af3bed59c]
/home/wilco/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/bin/../lib/librustc_driver-d680884a73809b24.so(+0x2ef7dd6)[0x7f2af3bffdd6]
/home/wilco/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/bin/../lib/librustc_driver-d680884a73809b24.so(+0x2ee559c)[0x7f2af3bed59c]
/home/wilco/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/bin/../lib/librustc_driver-d680884a73809b24.so(+0x2ef7dd6)[0x7f2af3bffdd6]
/home/wilco/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/bin/../lib/librustc_driver-d680884a73809b24.so(+0x2ee559c)[0x7f2af3bed59c]
/home/wilco/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/bin/../lib/librustc_driver-d680884a73809b24.so(+0x2ef7dd6)[0x7f2af3bffdd6]
/home/wilco/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/bin/../lib/librustc_driver-d680884a73809b24.so(+0x2ee559c)[0x7f2af3bed59c]
/home/wilco/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/bin/../lib/librustc_driver-d680884a73809b24.so(+0x2ef7dd6)[0x7f2af3bffdd6]
/home/wilco/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/bin/../lib/librustc_driver-d680884a73809b24.so(+0x2ee559c)[0x7f2af3bed59c]
/home/wilco/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/bin/../lib/librustc_driver-d680884a73809b24.so(+0x2ef7dd6)[0x7f2af3bffdd6]
/home/wilco/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/bin/../lib/librustc_driver-d680884a73809b24.so(+0x2ee559c)[0x7f2af3bed59c]
/home/wilco/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/bin/../lib/librustc_driver-d680884a73809b24.so(+0x2ef7dd6)[0x7f2af3bffdd6]
/home/wilco/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/bin/../lib/librustc_driver-d680884a73809b24.so(+0x2ee559c)[0x7f2af3bed59c]
/home/wilco/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/bin/../lib/librustc_driver-d680884a73809b24.so(+0x2ef7dd6)[0x7f2af3bffdd6]
/home/wilco/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/bin/../lib/librustc_driver-d680884a73809b24.so(+0x2ee559c)[0x7f2af3bed59c]
/home/wilco/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/bin/../lib/librustc_driver-d680884a73809b24.so(+0x2ef7dd6)[0x7f2af3bffdd6]
/home/wilco/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/bin/../lib/librustc_driver-d680884a73809b24.so(+0x2ee559c)[0x7f2af3bed59c]
/home/wilco/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/bin/../lib/librustc_driver-d680884a73809b24.so(+0x2ef7dd6)[0x7f2af3bffdd6]
/home/wilco/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/bin/../lib/librustc_driver-d680884a73809b24.so(+0x2ee559c)[0x7f2af3bed59c]
/home/wilco/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/bin/../lib/librustc_driver-d680884a73809b24.so(+0x2ef7dd6)[0x7f2af3bffdd6]
/home/wilco/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/bin/../lib/librustc_driver-d680884a73809b24.so(+0x2ee559c)[0x7f2af3bed59c]
/home/wilco/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/bin/../lib/librustc_driver-d680884a73809b24.so(+0x2ef7dd6)[0x7f2af3bffdd6]
/home/wilco/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/bin/../lib/librustc_driver-d680884a73809b24.so(+0x2ee559c)[0x7f2af3bed59c]
/home/wilco/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/bin/../lib/librustc_driver-d680884a73809b24.so(+0x2ef7dd6)[0x7f2af3bffdd6]
/home/wilco/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/bin/../lib/librustc_driver-d680884a73809b24.so(+0x2ee559c)[0x7f2af3bed59c]
/home/wilco/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/bin/../lib/librustc_driver-d680884a73809b24.so(+0x2ef7dd6)[0x7f2af3bffdd6]
/home/wilco/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/bin/../lib/librustc_driver-d680884a73809b24.so(+0x2ee559c)[0x7f2af3bed59c]
/home/wilco/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/bin/../lib/librustc_driver-d680884a73809b24.so(+0x2ef7dd6)[0x7f2af3bffdd6]
/home/wilco/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/bin/../lib/librustc_driver-d680884a73809b24.so(+0x2ee559c)[0x7f2af3bed59c]
/home/wilco/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/bin/../lib/librustc_driver-d680884a73809b24.so(+0x2ef7dd6)[0x7f2af3bffdd6]
/home/wilco/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/bin/../lib/librustc_driver-d680884a73809b24.so(+0x2ee559c)[0x7f2af3bed59c]
/home/wilco/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/bin/../lib/librustc_driver-d680884a73809b24.so(+0x2ef7dd6)[0x7f2af3bffdd6]
/home/wilco/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/bin/../lib/librustc_driver-d680884a73809b24.so(+0x2ee559c)[0x7f2af3bed59c]
/home/wilco/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/bin/../lib/librustc_driver-d680884a73809b24.so(+0x2ef7dd6)[0x7f2af3bffdd6]
/home/wilco/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/bin/../lib/librustc_driver-d680884a73809b24.so(+0x2ee559c)[0x7f2af3bed59c]
/home/wilco/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/bin/../lib/librustc_driver-d680884a73809b24.so(+0x2ef7dd6)[0x7f2af3bffdd6]
/home/wilco/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/bin/../lib/librustc_driver-d680884a73809b24.so(+0x2ee559c)[0x7f2af3bed59c]
/home/wilco/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/bin/../lib/librustc_driver-d680884a73809b24.so(+0x2ef7dd6)[0x7f2af3bffdd6]
/home/wilco/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/bin/../lib/librustc_driver-d680884a73809b24.so(+0x2ee559c)[0x7f2af3bed59c]
/home/wilco/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/bin/../lib/librustc_driver-d680884a73809b24.so(+0x2ef7dd6)[0x7f2af3bffdd6]
/home/wilco/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/bin/../lib/librustc_driver-d680884a73809b24.so(+0x2ee559c)[0x7f2af3bed59c]
/home/wilco/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/bin/../lib/librustc_driver-d680884a73809b24.so(+0x2ef7dd6)[0x7f2af3bffdd6]
/home/wilco/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/bin/../lib/librustc_driver-d680884a73809b24.so(+0x2ee559c)[0x7f2af3bed59c]
/home/wilco/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/bin/../lib/librustc_driver-d680884a73809b24.so(+0x2ef7dd6)[0x7f2af3bffdd6]
/home/wilco/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/bin/../lib/librustc_driver-d680884a73809b24.so(+0x2ee559c)[0x7f2af3bed59c]
/home/wilco/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/bin/../lib/librustc_driver-d680884a73809b24.so(+0x2ef7dd6)[0x7f2af3bffdd6]
/home/wilco/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/bin/../lib/librustc_driver-d680884a73809b24.so(+0x2ee559c)[0x7f2af3bed59c]
/home/wilco/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/bin/../lib/librustc_driver-d680884a73809b24.so(+0x2ef7dd6)[0x7f2af3bffdd6]
/home/wilco/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/bin/../lib/librustc_driver-d680884a73809b24.so(+0x2ee559c)[0x7f2af3bed59c]
/home/wilco/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/bin/../lib/librustc_driver-d680884a73809b24.so(+0x2ef7dd6)[0x7f2af3bffdd6]
/home/wilco/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/bin/../lib/librustc_driver-d680884a73809b24.so(+0x2ee559c)[0x7f2af3bed59c]
/home/wilco/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/bin/../lib/librustc_driver-d680884a73809b24.so(+0x2ef7dd6)[0x7f2af3bffdd6]
/home/wilco/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/bin/../lib/librustc_driver-d680884a73809b24.so(+0x2ee559c)[0x7f2af3bed59c]
/home/wilco/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/bin/../lib/librustc_driver-d680884a73809b24.so(+0x2ef7dd6)[0x7f2af3bffdd6]
/home/wilco/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/bin/../lib/librustc_driver-d680884a73809b24.so(+0x2ee559c)[0x7f2af3bed59c]
/home/wilco/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/bin/../lib/librustc_driver-d680884a73809b24.so(+0x2ef7dd6)[0x7f2af3bffdd6]
/home/wilco/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/bin/../lib/librustc_driver-d680884a73809b24.so(+0x2ee559c)[0x7f2af3bed59c]
/home/wilco/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/bin/../lib/librustc_driver-d680884a73809b24.so(+0x2ef7dd6)[0x7f2af3bffdd6]
/home/wilco/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/bin/../lib/librustc_driver-d680884a73809b24.so(+0x2ee559c)[0x7f2af3bed59c]
/home/wilco/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/bin/../lib/librustc_driver-d680884a73809b24.so(+0x2ef7dd6)[0x7f2af3bffdd6]
/home/wilco/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/bin/../lib/librustc_driver-d680884a73809b24.so(+0x2ee559c)[0x7f2af3bed59c]
/home/wilco/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/bin/../lib/librustc_driver-d680884a73809b24.so(+0x2ef7dd6)[0x7f2af3bffdd6]
/home/wilco/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/bin/../lib/librustc_driver-d680884a73809b24.so(+0x2ee559c)[0x7f2af3bed59c]
/home/wilco/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/bin/../lib/librustc_driver-d680884a73809b24.so(+0x2ef7dd6)[0x7f2af3bffdd6]
/home/wilco/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/bin/../lib/librustc_driver-d680884a73809b24.so(+0x2ee559c)[0x7f2af3bed59c]
/home/wilco/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/bin/../lib/librustc_driver-d680884a73809b24.so(+0x2ef7dd6)[0x7f2af3bffdd6]
/home/wilco/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/bin/../lib/librustc_driver-d680884a73809b24.so(+0x2ee559c)[0x7f2af3bed59c]
/home/wilco/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/bin/../lib/librustc_driver-d680884a73809b24.so(+0x2ef7dd6)[0x7f2af3bffdd6]
/home/wilco/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/bin/../lib/librustc_driver-d680884a73809b24.so(+0x2ee559c)[0x7f2af3bed59c]
/home/wilco/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/bin/../lib/librustc_driver-d680884a73809b24.so(+0x2ef7dd6)[0x7f2af3bffdd6]
/home/wilco/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/bin/../lib/librustc_driver-d680884a73809b24.so(+0x2ee559c)[0x7f2af3bed59c]
/home/wilco/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/bin/../lib/librustc_driver-d680884a73809b24.so(+0x2ef7dd6)[0x7f2af3bffdd6]
/home/wilco/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/bin/../lib/librustc_driver-d680884a73809b24.so(+0x2ee559c)[0x7f2af3bed59c]
/home/wilco/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/bin/../lib/librustc_driver-d680884a73809b24.so(+0x2ef7dd6)[0x7f2af3bffdd6]
/home/wilco/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/bin/../lib/librustc_driver-d680884a73809b24.so(+0x2ee559c)[0x7f2af3bed59c]
/home/wilco/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/bin/../lib/librustc_driver-d680884a73809b24.so(+0x2ef7dd6)[0x7f2af3bffdd6]
/home/wilco/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/bin/../lib/librustc_driver-d680884a73809b24.so(+0x2ee559c)[0x7f2af3bed59c]
/home/wilco/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/bin/../lib/librustc_driver-d680884a73809b24.so(+0x2ef7dd6)[0x7f2af3bffdd6]
error: could not compile `chalk-integration`

Caused by:
  process didn't exit successfully: `rustc --crate-name chalk_integration --edition=2018 chalk-integration/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debuginfo=2 -C metadata=af518be5af16ca16 -C extra-filename=-af518be5af16ca16 --out-dir /home/wilco/p/rust/chalk/target/debug/deps -C incremental=/home/wilco/p/rust/chalk/target/debug/incremental -L dependency=/home/wilco/p/rust/chalk/target/debug/deps --extern chalk_derive=/home/wilco/p/rust/chalk/target/debug/deps/libchalk_derive-818dfe5a7cdecb6e.so --extern chalk_engine=/home/wilco/p/rust/chalk/target/debug/deps/libchalk_engine-9e2f0a9204ace121.rmeta --extern chalk_ir=/home/wilco/p/rust/chalk/target/debug/deps/libchalk_ir-60f3c5672eb55f7a.rmeta --extern chalk_parse=/home/wilco/p/rust/chalk/target/debug/deps/libchalk_parse-9ee27b855265e5fe.rmeta --extern chalk_recursive=/home/wilco/p/rust/chalk/target/debug/deps/libchalk_recursive-e58e5c56d4cb7663.rmeta --extern chalk_solve=/home/wilco/p/rust/chalk/target/debug/deps/libchalk_solve-e864bd5ccf544a5e.rmeta --extern indexmap=/home/wilco/p/rust/chalk/target/debug/deps/libindexmap-6b427507cd620a19.rmeta --extern salsa=/home/wilco/p/rust/chalk/target/debug/deps/libsalsa-cd26d7f5bcb318b3.rmeta --extern string_cache=/home/wilco/p/rust/chalk/target/debug/deps/libstring_cache-58463e9f81039512.rmeta --extern tracing=/home/wilco/p/rust/chalk/target/debug/deps/libtracing-679b90a6fa579f71.rmeta -C link-arg=-fuse-ld=lld` (signal: 11, SIGSEGV: invalid memory reference)

bors added a commit to rust-lang/chalk that referenced this issue Nov 29, 2022
Implement should_continue in chalk-recursive

This just returns `NoSolution` if it shouldn't continue, but that should already be useful to rust-analyzer.

Note: Cloning of `should_continue` is a workaround to a rustc bug ([#95734](rust-lang/rust#95734))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-LLVM Area: Code generation parts specific to LLVM. Both correctness bugs and optimization-related issues. C-bug Category: This is a bug. I-crash Issue: The compiler crashes (SIGSEGV, SIGABRT, etc). Use I-ICE instead when the compiler panics. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue.
Projects
None yet
Development

No branches or pull requests

6 participants