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
Describe the bug
Running cargo install pylyzer --locked results in an error.
Reproducible Code
Compiling molc v0.3.0
Compiling py2erg v0.0.69
Compiling els v0.1.60-nightly.0
error[E0005]: refutable pattern in local binding
--> /home/christian/.cargo/registry/src/index.crates.io-6f17d22bba15001f/py2erg-0.0.69/convert.rs:450:13
|
450 | let Ok(py_program) = locator.fold(py_program);
| ^^^^^^^^^^^^^^ pattern `Err(_)` not covered
|
= note: `let` bindings require an "irrefutable pattern", like a `struct` or an `enum` with only one variant
= note: for more information, visit https://doc.rust-lang.org/book/ch18-02-refutability.html
= note: the matched value is of type `Result<ModModule<SourceRange>, Infallible>`
help: you might want to use `let else` to handle the variant that isn't matched
|
450 | let Ok(py_program) = locator.fold(py_program) else { todo!() };
| ++++++++++++++++
For more information about this error, try `rustc --explain E0005`.
error: could not compile `py2erg` (lib) due to 1 previous error
warning: build failed, waiting for other jobs to finish...
error: failed to compile `pylyzer v0.0.69`, intermediate artifacts can be found at `/tmp/cargo-install99Qp5y`.
To reuse those artifacts with a future compilation, set the environment variable `CARGO_TARGET_DIR` to that path.
Expected behavior
Complete installation
Screenshots
Environment
christian@christian-desktop:/projects/core$ lsb_release -a
No LSB modules are available.
Distributor ID: Linuxmint
Description: Linux Mint 21.3
Release: 21.3
Codename: virginia
The text was updated successfully, but these errors were encountered:
I was able to do a rustup update and it finally did complete but I don't think it is working. When I run pylyzer with no arguments it just sits there - no progress, no indication of any work being done - nothing.
Describe the bug
Running
cargo install pylyzer --locked
results in an error.Reproducible Code
Expected behavior
Complete installation
Screenshots
Environment
The text was updated successfully, but these errors were encountered: