We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I am getting the following error when trying to compile a crate that depends on actix-utils:
error[E0658]: use of unstable library feature 'matches_macro' --> /home/jared/.cargo/registry/src/github.com-1ecc6299db9ec823/actix-utils-2.0.0/src/timeout.rs:61:38 | 61 | TimeoutError::Timeout => matches!(other, TimeoutError::Timeout), | ^^^^^^^ | = note: for more information, see https://github.com/rust-lang/rust/issues/65721 error: aborting due to previous error
The error in question was closed in October of 2019, but the compiler is complaining about line 61 in timeout.rs.
I am on Ubuntu on WSL(Windows Subsystem for Linux), and have the following versions of Rust tooling:
My rustup toolchain is: stable-x86_64-unknown-linux-gnu (default).
stable-x86_64-unknown-linux-gnu (default)
I have the following Actix related dependencies in the project:
actix = { version="0.9.0", features=["http"] } actix-multipart = "0.2.0" actix-web = "2.0.0" actix-rt = "1.0.0" async-std = "1.4.0" actix-cors = "0.2.0" actix-web-httpauth = "0.4.1"
What could be causing this issue? I have successfully compiled this project within the last month and have never seen this problem before.
The text was updated successfully, but these errors were encountered:
Running cargo tree -i actix-utils:2.0.0 will show the dependency path though I suspect it's coming from actix-server v1.0.4.
cargo tree -i actix-utils:2.0.0
actix-server v1.0.4
All actix crates have a minimum supported version of rust v1.42 now, which is when the matches macro was stabilized.
To remedy this, either pin to actix-server = "=1.0.3" or update to rust v1.42.
actix-server = "=1.0.3"
Sorry, something went wrong.
@robjtede Thanks!
I updated to v1.46 and it's working now.
No branches or pull requests
I am getting the following error when trying to compile a crate that depends on actix-utils:
The error in question was closed in October of 2019, but the compiler is complaining about line 61 in timeout.rs.
I am on Ubuntu on WSL(Windows Subsystem for Linux), and have the following versions of Rust tooling:
My rustup toolchain is:
stable-x86_64-unknown-linux-gnu (default)
.I have the following Actix related dependencies in the project:
What could be causing this issue? I have successfully compiled this project within the last month and have never seen this problem before.
The text was updated successfully, but these errors were encountered: