rust-lang / rust

Empowering everyone to build reliable and efficient software.
https://www.rust-lang.org
Other
99.06k stars 12.8k forks source link

overflow evaluating Slot<Event> : Send #58923

Open Dylan-DPC-zz opened 5 years ago

Dylan-DPC-zz commented 5 years ago

From a crater run:

[INFO] [stderr]    Compiling ilp v0.2.1 (/opt/crater/workdir)
[INFO] [stderr] error[E0275]: overflow evaluating the requirement `h2::proto::streams::buffer::Slot<h2::proto::streams::recv::Event>: std::marker::Send`
[INFO] [stderr]    --> src/main.rs:109:5
[INFO] [stderr]     |
[INFO] [stderr] 109 |     tokio::run(run);
[INFO] [stderr]     |     ^^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = help: consider adding a `#![recursion_limit="128"]` attribute to your crate
[INFO] [stderr]     = note: required because it appears within the type `slab::Entry<h2::proto::streams::buffer::Slot<h2::proto::streams::recv::Event>>`
[INFO] [stderr]     = note: required because of the requirements on the impl of `std::marker::Send` for `std::ptr::Unique<slab::Entry<h2::proto::streams::buffer::Slot<h2::proto::streams::recv::Event>>>`
[INFO] [stderr]     = note: required because it appears within the type `alloc::raw_vec::RawVec<slab::Entry<h2::proto::streams::buffer::Slot<h2::proto::streams::recv::Event>>>`
[INFO] [stderr]     = note: required because it appears within the type `std::vec::Vec<slab::Entry<h2::proto::streams::buffer::Slot<h2::proto::streams::recv::Event>>>`
[INFO] [stderr]     = note: required because it appears within the type `slab::Slab<h2::proto::streams::buffer::Slot<h2::proto::streams::recv::Event>>`

Affected crates: ilp - crater log

cc author @emschwartz

Centril commented 5 years ago

@nagisa Is this fixed with the bump of the recursion limit?