diem/move

[Bug]: failed to compile while installing from git main branch

Opened this issue ยท 2 comments

๐Ÿ› Bug

Compiling move-stackless-bytecode v0.1.0 (C:\Users\ALL.cargo\git\checkouts\move-cd543da0a1ae83ac\725168d\language\move-prover\bytecode)
error: expected one of (, ,, ::, or =, found -
--> language\move-prover\bytecode\src\well_formed_instrumentation.rs:38:26
|
38 | #[allow(clippy::redundant-clone)]
| ^ expected one of (, ,, ::, or =

warning: unnecessary parentheses around match arm expression
--> language\move-prover\bytecode\src\access_path.rs:474:55
|
474 | (Type::Vector(t), Offset::VectorIndex) => (*t.clone()),
| ^ ^
|
= note: #[warn(unused_parens)] on by default
help: remove these parentheses
|
474 - (Type::Vector(t), Offset::VectorIndex) => (*t.clone()),
474 + (Type::Vector(t), Offset::VectorIndex) => *t.clone(),
|

warning: move-stackless-bytecode (lib) generated 1 warning
error: could not compile move-stackless-bytecode (lib) due to previous error; 1 warning emitted
warning: build failed, waiting for other jobs to finish...

I'm experiencing the exact same issue. Here is a screenshot:

image

This should be easy to fix, so I'll work around it somehow in the meanwhile.

Hi, any update on this?