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
I'm trying to install this project from source by using cargo install --path . which gives me the following error:
error[E0277]: the `?` operator can only be applied to values that implement `std::ops::Try`
--> src/tex.rs:54:5
|
54 | / Command::new(format.executable())55 | | .args(&["--interaction=batchmode","-shell-escape", file_name])56 | | .current_dir(&directory)57 | | .stdout(Stdio::null())58 | | .stderr(Stdio::null())59 | | .status()60 | | .map_err(|_| CompileError::LatexNotInstalled)?
| |______________________________________________________^ the `?` operator cannot be applied to type `futures_util::try_future::map_err::MapErr<impl core::future::future::Future,[closure@src/tex.rs:60:18:60:53]>`
|
= help: the trait `std::ops::Try` is not implemented for `futures_util::try_future::map_err::MapErr<impl core::future::future::Future,[closure@src/tex.rs:60:18:60:53]>`
= note: required by `std::ops::Try::into_result
This happens with a freshly installed beta (rustup update beta), nightly-2019-10-04 and the nightly version specified in the CI files here.
However, cargo build --release seems to work, which is a bit weird since I was under the impression that install just runs cargo build --release.
I tried both the current master, and the 1.6.0 tag
The text was updated successfully, but these errors were encountered:
I think the issue was caused by the fact that cargo install ignores the lockfile, see rust-lang/cargo#6983. You should use the --locked flag. However, this particular error should be fixed now by 2d5bdff.
I'm trying to install this project from source by using
cargo install --path .
which gives me the following error:This happens with a freshly installed beta (
rustup update beta
),nightly-2019-10-04
and the nightly version specified in the CI files here.However,
cargo build --release
seems to work, which is a bit weird since I was under the impression that install just runscargo build --release
.I tried both the current master, and the
1.6.0
tagThe text was updated successfully, but these errors were encountered: