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
use polars::prelude::*;
fn main() {
println!("Hello, world!");
}
Running the following commands in teststuff:
cargo run
Resulting in the following error:
Compiling polars-row v0.34.2
Compiling sqlx-exasol v0.7.1-alpha-3
Compiling polars-core v0.34.2
error[E0004]: non-exhaustive patterns: async_tungstenite::tungstenite::Error::AttackAttempt not covered
--> C:\Users\XXX.cargo\registry\src\index.crates.io-6f17d22bba15001f\sqlx-exasol-0.7.1-alpha-3\src\error.rs:54:23
|
54 | let e = match e {
| ^ pattern async_tungstenite::tungstenite::Error::AttackAttempt not covered
|
note: async_tungstenite::tungstenite::Error defined here
--> C:\Users\XXX.cargo\registry\src\index.crates.io-6f17d22bba15001f\tungstenite-0.20.1\src\error.rs:64:5
|
15 | pub enum Error {
| --------------
...
64 | AttackAttempt,
| ^^^^^^^^^^^^^ not covered
= note: the matched value is of type async_tungstenite::tungstenite::Error
help: ensure that all possible cases are being handled by adding a match arm with a wildcard pattern or an explicit pattern as shown
|
65 ~ WsError::HttpFormat(e) => SqlxError::Protocol(e.to_string()),
66 ~ async_tungstenite::tungstenite::Error::AttackAttempt => todo!(),
|
For more information about this error, try rustc --explain E0004.
error: could not compile sqlx-exasol (lib) due to previous error
warning: build failed, waiting for other jobs to finish...
The text was updated successfully, but these errors were encountered:
@Marmeladenbrot My initial assumptions were wrong, but I enhanced the CI nevertheless. The build was failing due to a vulnerability fix in tungstenite that was propagating upwards (and was done as a patch version, not a minor version). I fixed the issue and published version 0.7.1-alpha-4. Please try that instead.
Additionally, #18 has more details regarding the issue itself, if you are interested. Thank you for reporting this!
@Marmeladenbrot If you find the time, it'd be great to confirm that things are working now. If you still encounter issues, feel free to re-open this issue or create a new one, as applicable.
Hi, I'm trying to use your package but I can't compile it.
Dependencies in Cargo.toml:
Steps to reproduce:
Creating a file
/src/main.rs
with:Running the following commands in
teststuff
:Resulting in the following error:
The text was updated successfully, but these errors were encountered: