You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The latest Lighthouse release v3.2.1 cannot be compiled with Rust 1.65.0.
This is due to an inconsequential yet annoying incompatibility rather than a serious issue. The incompatibility is fixed in unstable and our next releases will be compatible with Rust 1.65.0.
The Error
The compilation error indicating the incompatibility looks like this:
error[E0275]: overflow evaluating the requirement `Vec<u8>: std::marker::Send`
|
= help: consider increasing the recursion limit by adding a `#![recursion_limit = "256"]` attribute to your crate (`http_api`)
= note: required because it appears within the type `std::result::Result<Vec<u8>, ()>`
= note: required because it appears within the type `warp::reply::Json`
= note: required because it appears within the type `(warp::reply::Json,)`
= note: required for `BoxedFilter<(warp::reply::Json,)>` to implement `warp::filter::FilterBase`
= note: required for `BoxedFilter<(warp::reply::Json,)>` to implement `warp::Filter`
= note: 121 redundant requirements hidden
= note: required for `warp::cors::internal::CorsFilter<warp::filter::map::Map<log::internal::WithLog<[closure@beacon_node/http_api/src/lib.rs:183:23: 183:34], log::internal::WithLog<[closure@beacon_node/http_api/src/lib.rs:150:23: 150:34], warp::filter::recover::Recover<warp::filter::or::Or<warp::filter::and::And<warp::filter::FilterFn<[closure@warp::filters::method::method_is<[closure@warp::get::{closure#0}]>::{closure#0}]>, warp::filter::or::Or<warp::filter::or::Or<warp::filter::or::Or<warp::filter::or::Or<warp::filter::or::Or<warp::filter::or::Or<warp::filter::or::Or<warp::filter::or::Or<warp::filter::or::Or<warp::filter::or::Or<warp::filter::or::Or<warp::filter::or::Or<warp::filter::or::Or<warp::filter::or::Or<warp::filter::or::Or<warp::filter::or::Or<warp::filter::or::Or<warp::filter::or::Or<warp::filter::or::Or<warp::filter::or::Or<warp::filter::or::Or<warp::filter::or::Or<warp::filter::or::Or<warp::filter::or::Or<warp::filter::or::Or<warp::filter::or::Or<warp::filter::or::Or<warp::filter::or::Or<warp::filter::or::Or<warp::filter::or::Or<warp::filter::or::Or<warp::filter::or::Or<warp::filter::or::Or<warp::filter::or::Or<warp::filter::or::Or<warp::filter::or::Or<warp::filter::or::Or<warp::filter::or::Or<warp::filter::or::Or<warp::filter::or::Or<warp::filter::or::Or<warp::filter::or::Or<warp::filter::or::Or<warp::filter::or::Or<warp::filter::or::Or<warp::filter::or::Or<warp::filter::or::Or<warp::filter::or::Or<warp::filter::or::Or<warp::filter::or::Or<warp::filter::or::Or<warp::filter::or::Or<warp::filter::or::Or<warp::filter::or::Or<BoxedFilter<(warp::reply::Json,)>, BoxedFilter<(warp::reply::Json,)>>, BoxedFilter<(warp::reply::Json,)>>, BoxedFilter<(warp::reply::Json,)>>, BoxedFilter<(warp::reply::Json,)>>, BoxedFilter<(warp::reply::Json,)>>, BoxedFilter<(warp::reply::Json,)>>, BoxedFilter<(warp::reply::Json,)>>, BoxedFilter<(warp::reply::Json,)>>, BoxedFilter<(warp::reply::Json,)>>, BoxedFilter<(warp::reply::Json,)>>, BoxedFilter<(warp::reply::WithHeader<warp::http::Response<warp::hyper::Body>>,)>>, BoxedFilter<(warp::reply::Json,)>>, BoxedFilter<(warp::reply::Json,)>>, BoxedFilter<(warp::reply::Json,)>>, BoxedFilter<(warp::reply::Json,)>>, BoxedFilter<(warp::reply::Json,)>>, BoxedFilter<(warp::reply::Json,)>>, BoxedFilter<(warp::reply::Json,)>>, BoxedFilter<(warp::reply::Json,)>>, BoxedFilter<(warp::reply::Json,)>>, BoxedFilter<(warp::reply::WithHeader<warp::http::Response<warp::hyper::Body>>,)>>, BoxedFilter<(warp::reply::Json,)>>, BoxedFilter<(warp::reply::Json,)>>, BoxedFilter<(warp::reply::Json,)>>, BoxedFilter<(warp::reply::Json,)>>, BoxedFilter<(WithStatus<eth2::StatusCode>,)>>, BoxedFilter<(warp::reply::Json,)>>, BoxedFilter<(warp::reply::Json,)>>, BoxedFilter<(warp::reply::Json,)>>, BoxedFilter<(warp::reply::Json,)>>, BoxedFilter<(warp::reply::Json,)>>, BoxedFilter<(warp::reply::Json,)>>, BoxedFilter<(warp::reply::Json,)>>, BoxedFilter<(warp::reply::Json,)>>, BoxedFilter<(warp::reply::Json,)>>, BoxedFilter<(warp::reply::Json,)>>, BoxedFilter<(warp::reply::Json,)>>, BoxedFilter<(warp::reply::Json,)>>, BoxedFilter<(warp::reply::Json,)>>, BoxedFilter<(warp::reply::Json,)>>, BoxedFilter<(warp::reply::Json,)>>, BoxedFilter<(warp::reply::Json,)>>, BoxedFilter<(warp::reply::Json,)>>, BoxedFilter<(warp::reply::Json,)>>, BoxedFilter<(warp::reply::Json,)>>, BoxedFilter<(warp::reply::Json,)>>, BoxedFilter<(warp::http::Response<Vec<u8>>,)>>, BoxedFilter<(warp::reply::Json,)>>, BoxedFilter<(warp::reply::Json,)>>, BoxedFilter<(warp::reply::Json,)>>, BoxedFilter<(warp::reply::Json,)>>, BoxedFilter<(warp::reply::Json,)>>, BoxedFilter<(warp::reply::Json,)>>, BoxedFilter<(sse::SseReply<sse::SseKeepAlive<futures::stream::SelectAll<tokio_stream::stream_ext::map::Map<BroadcastStream<EventKind<<T as BeaconChainTypes>::EthSpec>>, [closure@beacon_node/http_api/src/lib.rs:3071:79: 3071:84]>>>>,)>>>, warp::filter::and::And<warp::filter::FilterFn<[closure@warp::filters::method::method_is<[closure@post::{closure#0}]>::{closure#0}]>, warp::filter::or::Or<warp::filter::or::Or<warp::filter::or::Or<warp::filter::or::Or<warp::filter::or::Or<warp::filter::or::Or<warp::filter::or::Or<warp::filter::or::Or<warp::filter::or::Or<warp::filter::or::Or<warp::filter::or::Or<warp::filter::or::Or<warp::filter::or::Or<warp::filter::or::Or<warp::filter::or::Or<warp::filter::or::Or<warp::filter::or::Or<warp::filter::or::Or<BoxedFilter<(eth2::StatusCode,)>, BoxedFilter<(eth2::StatusCode,)>>, BoxedFilter<(warp::reply::Json,)>>, BoxedFilter<(warp::reply::Json,)>>, BoxedFilter<(warp::reply::Json,)>>, BoxedFilter<(warp::reply::Json,)>>, BoxedFilter<(warp::reply::Json,)>>, BoxedFilter<(warp::reply::Json,)>>, BoxedFilter<(warp::reply::Json,)>>, BoxedFilter<(warp::reply::Json,)>>, BoxedFilter<(warp::reply::Json,)>>, BoxedFilter<(warp::reply::Json,)>>, BoxedFilter<(warp::reply::Json,)>>, BoxedFilter<(warp::reply::Json,)>>, BoxedFilter<(warp::reply::Json,)>>, BoxedFilter<(warp::reply::Json,)>>, BoxedFilter<(warp::reply::Json,)>>, BoxedFilter<(warp::reply::Json,)>>, BoxedFilter<(warp::reply::Json,)>>>>, fn(Rejection) -> impl futures::Future<Output = std::result::Result<impl Reply, Infallible>> {handle_rejection}>>>, [closure@beacon_node/http_api/src/lib.rs:3187:14: 3187:21]>>` to implement `warp::filter::FilterBase`
= note: required because it appears within the type `(std::net::SocketAddr, impl futures::Future<Output = ()>)`
The Workaround
From the lighthouse source directory, set an override for the 1.64 compiler then run make as normal:
rustup override set 1.64
make
The text was updated successfully, but these errors were encountered:
Description
The latest Lighthouse release v3.2.1 cannot be compiled with Rust 1.65.0.
This is due to an inconsequential yet annoying incompatibility rather than a serious issue. The incompatibility is fixed in
unstable
and our next releases will be compatible with Rust 1.65.0.The Error
The compilation error indicating the incompatibility looks like this:
The Workaround
From the
lighthouse
source directory, set an override for the 1.64 compiler then runmake
as normal:The text was updated successfully, but these errors were encountered: