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
Found while trying to build the sigp/lcli container from the currrent stable branch that it throws this compile time error:
Compiling lighthouse_network v0.2.0 (/lighthouse/beacon_node/lighthouse_network)
Compiling environment v0.1.2 (/lighthouse/lighthouse/environment)
error[E0658]: use of unstable library feature 'map_first_last'
--> beacon_node/lighthouse_network/src/peer_manager/network_behaviour.rs:92:64
|
92 | if let Some((peer_id, maybe_enr)) = self.peers_to_dial.pop_first() {
| ^^^^^^^^^
|
= note: see issue #62924 <https://github.com/rust-lang/rust/issues/62924> for more information
Compiling operation_pool v0.2.0 (/lighthouse/beacon_node/operation_pool)
For more information about this error, try `rustc --explain E0658`.
error: could not compile `lighthouse_network` due to previous error
diff --git a/lcli/Dockerfile b/lcli/Dockerfile
index feda81d03..079e5c779 100644
--- a/lcli/Dockerfile
+++ b/lcli/Dockerfile
@@ -1,7 +1,7 @@
# `lcli` requires the full project to be in scope, so this should be built either:
# - from the `lighthouse` dir with the command: `docker build -f ./lcli/Dockerflie .`
# - from the current directory with the command: `docker build -f ./Dockerfile ../`
-FROM rust:1.65.0-bullseye AS builder
+FROM rust:1.66.0-bullseye AS builder
RUN apt-get update && apt-get -y upgrade && apt-get install -y cmake libclang-dev protobuf-compiler
COPY . lighthouse
ARG PORTABLE
The text was updated successfully, but these errors were encountered:
We've fixed this on unstable and it will be fixed on stable when the next release is published. The lcli build from unstable should be useable for everything that the stable build would be (no breaking changes, etc)
If you don't mind, I'll close this issue and the PR 🙏
Found while trying to build the
sigp/lcli
container from the currrentstable
branch that it throws this compile time error:Also noticed that this container specifies a different version of Rust vs the version used for the
sigp/lighthouse
container.And the build is fixed by using Rust 1.66:
The text was updated successfully, but these errors were encountered: