Open h2lsoft opened 1 year ago
I'm facing the same problem.
Just for future reference for people who might encounter this problem, This is due to old cargo version. Upgrading the cargo solves the problem, if you can't (e.g. old OS that doesn't support new tooling) you better try another option (run in docker, upgrade your OS, ...)
cargo install htmlq
Updating crates.io index Installing htmlq v0.4.0 error: failed to compilehtmlq v0.4.0
, intermediate artifacts can be found at/tmp/cargo-installcw2l6s
Caused by: failed to download
once_cell v1.17.0
Caused by: unable to get packages from source
Caused by: failed to parse manifest at
/root/.cargo/registry/src/github.com-1ecc6299db9ec823/once_cell-1.17.0/Cargo.toml
Caused by: failed to parse the
edition
keyCaused by: supported edition values are
2015
or2018
, but2021
is unknownThanks