lumen_rt_full cannot be compiled because of garbage_collect with `&mut []`
KronicDeth opened this issue · 0 comments
KronicDeth commented
From https://github.com/lumen/lumen/runs/992513415
Compiling lumen_rt_full v0.1.0 (/__w/lumen/lumen/runtimes/full)
error[E0277]: the trait bound `liblumen_alloc::erts::process::gc::rootset::RootSet: std::convert::From<&mut [_; 0]>` is not satisfied
--> runtimes/full/src/scheduler.rs:141:67
|
141 | ... match arc_process.garbage_collect(0, &mut []) {
| ^^^^^^^^^^^^^^^ the trait `std::convert::From<&mut [_; 0]>` is not implemented for `liblumen_alloc::erts::process::gc::rootset::RootSet`
|
= help: the following implementations were found:
<liblumen_alloc::erts::process::gc::rootset::RootSet as std::convert::From<&mut [liblumen_alloc::erts::term::arch::arch_x86_64::RawTerm]>>
<liblumen_alloc::erts::process::gc::rootset::RootSet as std::convert::From<std::vec::Vec<liblumen_alloc::erts::term::boxed::Boxed<liblumen_alloc::erts::term::arch::arch_x86_64::RawTerm>>>>
= note: required because of the requirements on the impl of `std::convert::Into<liblumen_alloc::erts::process::gc::rootset::RootSet>` for `&mut [_; 0]`
error: aborting due to previous error