I tried running cargo run --release -- --help inside the lcli/ folder (as suggested by the readme) but I got build errors (see below). Currently on Git commit fc5e6cbbb0f5c7ef139aeb76662ff21d995eeff5.
Compiling libc v0.2.72
Compiling proc-macro2 v1.0.18
Compiling unicode-xid v0.2.1
Compiling syn v1.0.34
Compiling ppv-lite86 v0.2.8
Compiling cc v1.0.41
Compiling serde_derive v1.0.114
Compiling bytes v0.5.5
Compiling serde v1.0.114
Compiling fnv v1.0.7
Compiling proc-macro-hack v0.5.16
Compiling futures-core v0.3.5
Compiling version_check v0.9.2
Compiling remove_dir_all v0.5.3
Compiling futures-sink v0.3.5
Compiling pin-project-internal v0.4.22
Compiling proc-macro-nested v0.1.6
Compiling futures-io v0.3.5
Compiling once_cell v1.4.0
Compiling pin-utils v0.1.0
Compiling untrusted v0.7.1
Compiling smallvec v1.4.1
Compiling subtle v2.2.3
Compiling tinyvec v0.3.3
Compiling anyhow v1.0.31
Compiling unicode-segmentation v1.6.0
Compiling fixedbitset v0.2.0
Compiling multimap v0.8.1
Compiling itoa v0.4.6
Compiling arc-swap v0.4.7
Compiling tiny-keccak v2.0.2
Compiling pin-project-lite v0.1.7
Compiling pkg-config v0.3.18
Compiling constant_time_eq v0.1.5
Compiling unsigned-varint v0.3.3
Compiling ryu v1.0.5
Compiling serde_json v1.0.56
Compiling try-lock v0.2.3
Compiling data-encoding v2.2.1
Compiling dtoa v0.4.6
Compiling base64 v0.12.3
Compiling futures-timer v3.0.2
Compiling linked-hash-map v0.5.3
Compiling encoding_rs v0.8.23
Compiling rayon-core v1.7.1
Compiling tower-service v0.3.0
Compiling cpuid-bool v0.1.0
Compiling safe_arith v0.1.0 (/Users/justin/Desktop/repos/lighthouse/consensus/safe_arith)
Compiling fallible-streaming-iterator v0.1.9
Compiling opaque-debug v0.3.0
Compiling fallible-iterator v0.2.0
Compiling compare_fields v0.2.0 (/Users/justin/Desktop/repos/lighthouse/common/compare_fields)
Compiling protobuf v2.16.2
Compiling prometheus v0.9.0
Compiling openssl v0.10.30
Compiling regex-syntax v0.6.18
Compiling libflate_lz77 v1.0.0
Compiling adler32 v1.1.0
Compiling instant v0.1.6
Compiling libm v0.2.1
Compiling lru_time_cache v0.10.0
Compiling gimli v0.22.0
Compiling adler v0.2.3
Compiling nohash-hasher v0.2.0
Compiling object v0.20.0
Compiling unicode-width v0.1.8
Compiling snap v1.0.1
Compiling vec_map v0.8.2
Compiling indexmap v1.4.0
Compiling memoffset v0.5.5
Compiling num-traits v0.2.12
Compiling num-integer v0.1.43
Compiling num-bigint v0.3.0
Compiling rayon v1.3.1
Compiling num-iter v0.1.41
Compiling lazy_static v1.4.0
Compiling itertools v0.9.0
Compiling int_to_bytes v0.2.0 (/Users/justin/Desktop/repos/lighthouse/consensus/int_to_bytes)
Compiling tokio-sync v0.1.8
Compiling lock_api v0.4.1
Compiling futures-channel v0.3.5
Compiling futures-task v0.3.5
Compiling generic-array v0.14.3
Compiling unicase v2.6.0
Compiling error-chain v0.12.2
Compiling unicode-normalization v0.1.13
Compiling http v0.2.1
Compiling heck v0.3.1
Compiling quicksink v0.1.2
Compiling blake2b_simd v0.5.10
Compiling blake2s_simd v0.5.10
Compiling ring v0.16.12
Compiling clear_on_drop v0.2.4
Compiling secp256k1-sys v0.1.2
Compiling libsqlite3-sys v0.18.0
Compiling openssl-sys v0.9.58
Compiling libz-sys v1.0.25
Compiling yaml-rust v0.4.4
Compiling lru-cache v0.1.2
Compiling num-bigint-dig v0.6.0
Compiling miniz_oxide v0.4.0
Compiling textwrap v0.11.0
Compiling version v0.1.2 (/Users/justin/Desktop/repos/lighthouse/beacon_node/version)
Compiling addr2line v0.13.0
Compiling tracing-core v0.1.11
Compiling amcl v0.2.0 (https://github.com/sigp/milagro_bls?tag=v1.1.0#32c9f938)
Compiling thread_local v1.0.1
Compiling idna v0.2.0
Compiling idna v0.1.5
Compiling http-body v0.3.1
error[E0658]: non-builtin inner attributes are unstable
--> /Users/justin/.cargo/registry/src/github.com-1ecc6299db9ec823/protobuf-2.16.2/src/descriptor.rs:9:1
|
9 | #![rustfmt::skip]
| ^^^^^^^^^^^^^^^^^
|
= note: see issue #54726 <https://github.com/rust-lang/rust/issues/54726> for more information
error[E0658]: non-builtin inner attributes are unstable
--> /Users/justin/.cargo/registry/src/github.com-1ecc6299db9ec823/protobuf-2.16.2/src/plugin.rs:9:1
|
9 | #![rustfmt::skip]
| ^^^^^^^^^^^^^^^^^
|
= note: see issue #54726 <https://github.com/rust-lang/rust/issues/54726> for more information
error[E0658]: non-builtin inner attributes are unstable
--> /Users/justin/.cargo/registry/src/github.com-1ecc6299db9ec823/protobuf-2.16.2/src/rustproto.rs:9:1
|
9 | #![rustfmt::skip]
| ^^^^^^^^^^^^^^^^^
|
= note: see issue #54726 <https://github.com/rust-lang/rust/issues/54726> for more information
error[E0658]: non-builtin inner attributes are unstable
--> /Users/justin/.cargo/registry/src/github.com-1ecc6299db9ec823/protobuf-2.16.2/src/well_known_types/any.rs:9:1
|
9 | #![rustfmt::skip]
| ^^^^^^^^^^^^^^^^^
|
= note: see issue #54726 <https://github.com/rust-lang/rust/issues/54726> for more information
error[E0658]: non-builtin inner attributes are unstable
--> /Users/justin/.cargo/registry/src/github.com-1ecc6299db9ec823/protobuf-2.16.2/src/well_known_types/api.rs:9:1
|
9 | #![rustfmt::skip]
| ^^^^^^^^^^^^^^^^^
|
= note: see issue #54726 <https://github.com/rust-lang/rust/issues/54726> for more information
error[E0658]: non-builtin inner attributes are unstable
--> /Users/justin/.cargo/registry/src/github.com-1ecc6299db9ec823/protobuf-2.16.2/src/well_known_types/duration.rs:9:1
|
9 | #![rustfmt::skip]
| ^^^^^^^^^^^^^^^^^
|
= note: see issue #54726 <https://github.com/rust-lang/rust/issues/54726> for more information
error[E0658]: non-builtin inner attributes are unstable
--> /Users/justin/.cargo/registry/src/github.com-1ecc6299db9ec823/protobuf-2.16.2/src/well_known_types/empty.rs:9:1
|
9 | #![rustfmt::skip]
| ^^^^^^^^^^^^^^^^^
|
= note: see issue #54726 <https://github.com/rust-lang/rust/issues/54726> for more information
error[E0658]: non-builtin inner attributes are unstable
--> /Users/justin/.cargo/registry/src/github.com-1ecc6299db9ec823/protobuf-2.16.2/src/well_known_types/field_mask.rs:9:1
|
9 | #![rustfmt::skip]
| ^^^^^^^^^^^^^^^^^
|
= note: see issue #54726 <https://github.com/rust-lang/rust/issues/54726> for more information
error[E0658]: non-builtin inner attributes are unstable
--> /Users/justin/.cargo/registry/src/github.com-1ecc6299db9ec823/protobuf-2.16.2/src/well_known_types/source_context.rs:9:1
|
9 | #![rustfmt::skip]
| ^^^^^^^^^^^^^^^^^
|
= note: see issue #54726 <https://github.com/rust-lang/rust/issues/54726> for more information
error[E0658]: non-builtin inner attributes are unstable
--> /Users/justin/.cargo/registry/src/github.com-1ecc6299db9ec823/protobuf-2.16.2/src/well_known_types/struct_pb.rs:9:1
|
9 | #![rustfmt::skip]
| ^^^^^^^^^^^^^^^^^
|
= note: see issue #54726 <https://github.com/rust-lang/rust/issues/54726> for more information
error[E0658]: non-builtin inner attributes are unstable
--> /Users/justin/.cargo/registry/src/github.com-1ecc6299db9ec823/protobuf-2.16.2/src/well_known_types/timestamp.rs:9:1
|
9 | #![rustfmt::skip]
| ^^^^^^^^^^^^^^^^^
|
= note: see issue #54726 <https://github.com/rust-lang/rust/issues/54726> for more information
error[E0658]: non-builtin inner attributes are unstable
--> /Users/justin/.cargo/registry/src/github.com-1ecc6299db9ec823/protobuf-2.16.2/src/well_known_types/type_pb.rs:9:1
|
9 | #![rustfmt::skip]
| ^^^^^^^^^^^^^^^^^
|
= note: see issue #54726 <https://github.com/rust-lang/rust/issues/54726> for more information
error[E0658]: non-builtin inner attributes are unstable
--> /Users/justin/.cargo/registry/src/github.com-1ecc6299db9ec823/protobuf-2.16.2/src/well_known_types/wrappers.rs:9:1
|
9 | #![rustfmt::skip]
| ^^^^^^^^^^^^^^^^^
|
= note: see issue #54726 <https://github.com/rust-lang/rust/issues/54726> for more information
error: aborting due to 13 previous errors
For more information about this error, try `rustc --explain E0658`.
error: could not compile `protobuf`.
To learn more, run the command again with --verbose.
warning: build failed, waiting for other jobs to finish...
error: build failed
This particular error seems to have gone after doing rustup update. Thanks for the hint Medhi :)
rustup update didn't resolve for me, still getting the following errors:
cargo install --path lighthouse --force --locked
Installing lighthouse v0.1.2 (/home/eth/lighthouse/lighthouse)
Updating crates.io index
Compiling libc v0.2.73
Compiling cfg-if v0.1.10
Compiling proc-macro2 v1.0.19
Compiling unicode-xid v0.2.1
Compiling syn v1.0.35
Compiling autocfg v1.0.0
Compiling spin v0.5.2
Compiling byteorder v1.3.4
Compiling log v0.4.11
Compiling cc v1.0.41
Compiling typenum v1.12.0
Compiling either v1.5.3
Compiling scopeguard v1.1.0
Compiling getrandom v0.1.14
Compiling smallvec v1.4.1
Compiling ppv-lite86 v0.2.8
Compiling serde_derive v1.0.114
Compiling serde v1.0.114
Compiling futures v0.1.29
Compiling bytes v0.5.6
Compiling memchr v2.3.3
Compiling slab v0.4.2
Compiling version_check v0.9.2
Compiling proc-macro-hack v0.5.16
Compiling fnv v1.0.7
Compiling crunchy v0.2.2
Compiling arrayvec v0.5.1
Compiling static_assertions v1.1.0
Compiling futures-core v0.3.5
Compiling untrusted v0.7.1
Compiling maybe-uninit v2.0.0
Compiling futures-sink v0.3.5
Compiling pin-project-internal v0.4.22
Compiling pkg-config v0.3.18
Compiling futures-io v0.3.5
Compiling proc-macro-nested v0.1.6
Compiling remove_dir_all v0.5.3
Compiling pin-utils v0.1.0
Compiling opaque-debug v0.2.3
Compiling tinyvec v0.3.3
Compiling rustc-hex v2.1.0
Compiling subtle v2.2.3
Compiling bitflags v1.2.1
Compiling tiny-keccak v2.0.2
Compiling matches v0.1.8
Compiling radium v0.3.0
Compiling byte-tools v0.3.1
Compiling byte-slice-cast v0.3.5
Compiling anyhow v1.0.31
Compiling percent-encoding v2.1.0
Compiling hex v0.4.2
Compiling itoa v0.4.6
Compiling fake-simd v0.1.2
Compiling semver-parser v0.7.0
Compiling arc-swap v0.4.7
Compiling unicode-segmentation v1.6.0
Compiling fixedbitset v0.2.0
Compiling multimap v0.8.1
Compiling subtle v1.0.0
Compiling glob v0.3.0
Compiling slog v2.5.2
Compiling pin-project-lite v0.1.7
Compiling hex v0.3.2
Compiling httparse v1.3.4
Compiling dtoa v0.4.6
Compiling arrayref v0.3.6
Compiling linked-hash-map v0.5.3
Compiling ryu v1.0.5
Compiling serde_json v1.0.56
Compiling foreign-types-shared v0.1.1
Compiling openssl v0.10.30
Compiling constant_time_eq v0.1.5
Compiling rayon-core v1.7.1
Compiling void v1.0.2
Compiling signature v1.1.0
Compiling bs58 v0.3.1
Compiling native-tls v0.2.4
Compiling base64 v0.12.3
Compiling keccak v0.1.0
Compiling try-lock v0.2.3
Compiling openssl-probe v0.1.2
Compiling unsigned-varint v0.3.3
Compiling fallible-streaming-iterator v0.1.9
Compiling fallible-iterator v0.2.0
Compiling data-encoding v2.2.1
Compiling safe_arith v0.1.0 (/home/eth/lighthouse/consensus/safe_arith)
Compiling autocfg v0.1.7
Compiling compare_fields v0.2.0 (/home/eth/lighthouse/common/compare_fields)
Compiling futures-timer v3.0.2
Compiling tower-service v0.3.0
Compiling encoding_rs v0.8.23
Compiling mime v0.3.16
Compiling instant v0.1.6
Compiling crc32fast v1.2.0
Compiling protobuf v2.16.2
Compiling prometheus v0.9.0
Compiling cpuid-bool v0.1.2
Compiling opaque-debug v0.3.0
Compiling regex-syntax v0.6.18
Compiling nix v0.17.0
Compiling rle-decode-fast v1.0.1
Compiling libflate_lz77 v1.0.0
Compiling adler32 v1.1.0
Compiling take_mut v0.2.2
Compiling gimli v0.22.0
Compiling adler v0.2.3
Compiling lru_time_cache v0.10.0
Compiling object v0.20.0
Compiling rustc-demangle v0.1.16
Compiling integer-sqrt v0.1.3
Compiling libm v0.2.1
Compiling doc-comment v0.3.3
Compiling db-key v0.0.5
Compiling failure_derive v0.1.8
Compiling nohash-hasher v0.2.0
Compiling lazycell v1.2.1
Compiling c_linked_list v1.1.1
Compiling nom v2.2.1
Compiling snap v1.0.1
Compiling platforms v0.2.1
Compiling unescape v0.1.0
Compiling base64 v0.11.0
Compiling ipnet v2.3.0
Compiling unicode-width v0.1.8
Compiling target_info v0.1.0
Compiling version_check v0.1.5
Compiling atomic-option v0.1.2
Compiling strsim v0.8.0
Compiling vec_map v0.8.2
Compiling rustc-hash v1.1.0
Compiling ansi_term v0.11.0
Compiling scoped-tls v0.1.2
Compiling safemem v0.3.3
Compiling rand_core v0.4.2
Compiling percent-encoding v1.0.1
Compiling typeable v0.1.2
Compiling language-tags v0.2.2
Compiling traitobject v0.1.0
Compiling uhttp_sse v0.5.1
Compiling slab v0.3.0
Compiling bitflags v0.9.1
Compiling sha1 v0.6.0
Compiling quick-error v1.2.3
Compiling termcolor v1.1.0
Compiling hashbrown v0.8.1
Compiling indexmap v1.5.0
Compiling crossbeam-utils v0.7.2
Compiling memoffset v0.5.5
Compiling crossbeam-epoch v0.8.2
Compiling num-traits v0.2.12
Compiling num-integer v0.1.43
Compiling num-bigint v0.3.0
Compiling rayon v1.3.1
Compiling num-iter v0.1.41
Compiling lazy_static v1.4.0
Compiling cmake v0.1.44
Compiling ring v0.16.12
Compiling secp256k1-sys v0.1.2
Compiling itertools v0.8.2
Compiling itertools v0.9.0
Compiling lock_api v0.3.4
Compiling lock_api v0.4.1
Compiling int_to_bytes v0.2.0 (/home/eth/lighthouse/consensus/int_to_bytes)
Compiling generic-array v0.14.3
Compiling unicase v2.6.0
Compiling error-chain v0.12.2
Compiling standback v0.2.9
Compiling time v0.2.16
Compiling tokio-sync v0.1.8
Compiling futures-channel v0.3.5
Compiling openssl-sys v0.9.58
Compiling libsqlite3-sys v0.18.0
Compiling libz-sys v1.0.25
Compiling unicode-normalization v0.1.13
Compiling rlp v0.4.5
Compiling unicode-bidi v0.3.4
Compiling bitvec v0.17.4
Compiling block-padding v0.1.5
Compiling http v0.2.1
Compiling semver v0.9.0
Compiling heck v0.3.1
Compiling blst v0.1.1 (https://github.com/sigp/blst.git?rev=968c846a2dc46e836e407bbdbac1a38a597ebc46#968c846a)
Compiling quicksink v0.1.2
Compiling yaml-rust v0.4.4
Compiling lru-cache v0.1.2
Compiling foreign-types v0.3.2
Compiling blake2b_simd v0.5.10
Compiling blake2s_simd v0.5.10
Compiling ed25519 v1.0.1
Compiling hashbrown v0.6.3
Compiling num-bigint-dig v0.6.0
Compiling addr2line v0.13.0
Compiling miniz_oxide v0.4.0
Compiling textwrap v0.11.0
Compiling version v0.1.2 (/home/eth/lighthouse/beacon_node/version)
Compiling unicase v1.4.2
Compiling rand_core v0.3.1
Compiling tokio-timer v0.1.2
Compiling humantime v1.3.0
Compiling amcl v0.2.0 (https://github.com/sigp/milagro_bls?branch=paulh#76626908)
Compiling tracing-core v0.1.11
Compiling thread_local v1.0.1
Compiling impl-rlp v0.2.1
Compiling idna v0.2.0
Compiling idna v0.1.5
Compiling http-body v0.3.1
Compiling rustc_version v0.2.3
error[E0658]: non-builtin inner attributes are unstable
--> /root/.cargo/registry/src/github.com-1ecc6299db9ec823/protobuf-2.16.2/src/descriptor.rs:9:1
|
9 | #![rustfmt::skip]
| ^^^^^^^^^^^^^^^^^
|
= note: for more information, see https://github.com/rust-lang/rust/issues/54726
error[E0658]: non-builtin inner attributes are unstable
--> /root/.cargo/registry/src/github.com-1ecc6299db9ec823/protobuf-2.16.2/src/plugin.rs:9:1
|
9 | #![rustfmt::skip]
| ^^^^^^^^^^^^^^^^^
|
= note: for more information, see https://github.com/rust-lang/rust/issues/54726
error[E0658]: non-builtin inner attributes are unstable
--> /root/.cargo/registry/src/github.com-1ecc6299db9ec823/protobuf-2.16.2/src/rustproto.rs:9:1
|
9 | #![rustfmt::skip]
| ^^^^^^^^^^^^^^^^^
|
= note: for more information, see https://github.com/rust-lang/rust/issues/54726
error[E0658]: non-builtin inner attributes are unstable
--> /root/.cargo/registry/src/github.com-1ecc6299db9ec823/protobuf-2.16.2/src/well_known_types/any.rs:9:1
|
9 | #![rustfmt::skip]
| ^^^^^^^^^^^^^^^^^
|
= note: for more information, see https://github.com/rust-lang/rust/issues/54726
error[E0658]: non-builtin inner attributes are unstable
--> /root/.cargo/registry/src/github.com-1ecc6299db9ec823/protobuf-2.16.2/src/well_known_types/api.rs:9:1
|
9 | #![rustfmt::skip]
| ^^^^^^^^^^^^^^^^^
|
= note: for more information, see https://github.com/rust-lang/rust/issues/54726
error[E0658]: non-builtin inner attributes are unstable
--> /root/.cargo/registry/src/github.com-1ecc6299db9ec823/protobuf-2.16.2/src/well_known_types/duration.rs:9:1
|
9 | #![rustfmt::skip]
| ^^^^^^^^^^^^^^^^^
|
= note: for more information, see https://github.com/rust-lang/rust/issues/54726
error[E0658]: non-builtin inner attributes are unstable
--> /root/.cargo/registry/src/github.com-1ecc6299db9ec823/protobuf-2.16.2/src/well_known_types/empty.rs:9:1
|
9 | #![rustfmt::skip]
| ^^^^^^^^^^^^^^^^^
|
= note: for more information, see https://github.com/rust-lang/rust/issues/54726
error[E0658]: non-builtin inner attributes are unstable
--> /root/.cargo/registry/src/github.com-1ecc6299db9ec823/protobuf-2.16.2/src/well_known_types/field_mask.rs:9:1
|
9 | #![rustfmt::skip]
| ^^^^^^^^^^^^^^^^^
|
= note: for more information, see https://github.com/rust-lang/rust/issues/54726
error[E0658]: non-builtin inner attributes are unstable
--> /root/.cargo/registry/src/github.com-1ecc6299db9ec823/protobuf-2.16.2/src/well_known_types/source_context.rs:9:1
|
9 | #![rustfmt::skip]
| ^^^^^^^^^^^^^^^^^
|
= note: for more information, see https://github.com/rust-lang/rust/issues/54726
error[E0658]: non-builtin inner attributes are unstable
--> /root/.cargo/registry/src/github.com-1ecc6299db9ec823/protobuf-2.16.2/src/well_known_types/struct_pb.rs:9:1
|
9 | #![rustfmt::skip]
| ^^^^^^^^^^^^^^^^^
|
= note: for more information, see https://github.com/rust-lang/rust/issues/54726
error[E0658]: non-builtin inner attributes are unstable
--> /root/.cargo/registry/src/github.com-1ecc6299db9ec823/protobuf-2.16.2/src/well_known_types/timestamp.rs:9:1
|
9 | #![rustfmt::skip]
| ^^^^^^^^^^^^^^^^^
|
= note: for more information, see https://github.com/rust-lang/rust/issues/54726
error[E0658]: non-builtin inner attributes are unstable
--> /root/.cargo/registry/src/github.com-1ecc6299db9ec823/protobuf-2.16.2/src/well_known_types/type_pb.rs:9:1
|
9 | #![rustfmt::skip]
| ^^^^^^^^^^^^^^^^^
|
= note: for more information, see https://github.com/rust-lang/rust/issues/54726
error[E0658]: non-builtin inner attributes are unstable
--> /root/.cargo/registry/src/github.com-1ecc6299db9ec823/protobuf-2.16.2/src/well_known_types/wrappers.rs:9:1
|
9 | #![rustfmt::skip]
| ^^^^^^^^^^^^^^^^^
|
= note: for more information, see https://github.com/rust-lang/rust/issues/54726
error: aborting due to 13 previous errors
For more information about this error, try `rustc --explain E0658`.
error: failed to compile `lighthouse v0.1.2 (/home/eth/lighthouse/lighthouse)`, intermediate artifacts can be found at `/home/eth/lighthouse/target`
Caused by:
could not compile `protobuf`.
Most helpful comment
This particular error seems to have gone after doing
rustup update. Thanks for the hint Medhi :)