diem / move

Home of the Move programming language
Apache License 2.0
341 stars 129 forks source link

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

Open raman1383 opened 1 year ago

raman1383 commented 1 year ago

🐛 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...

fredericomba commented 1 year ago

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.

turvec commented 1 month ago

Hi, any update on this?