https://bugs.winehq.org/show_bug.cgi?id=52757
Bug ID: 52757 Summary: Reqwest tests fails with "Bad device type" error Product: Wine Version: 7.5 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown Assignee: wine-bugs@winehq.org Reporter: mikrutrafal@protonmail.com Distribution: ---
Running tests inside Reqwest repository, shows 5 failed tests like
``` ---- connect::tests::test_tunnel stdout ---- thread 'connect::tests::test_tunnel' panicked at 'failed to park: Os { code: 66, kind: Uncategorized, message: "Bad device type." }', C:\users\rafal.cargo\re gistry\src\github.com-1ecc6299db9ec823\tokio-1.17.0\src\runtime\basic_scheduler.rs:315:31 note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace thread '<unnamed>' panicked at 'assertion failed: `(left == right)` left: `[]`, right: `[67, 79, 78, 78, 69, 67, 84, 32, 49, 50, 55, 46, 48, 46, 48, 46, 49, 58, 51, 53, 52, 51, 53, 32, 72, 84, 84, 80, 47, 49, 46, 49, 13, 10, 72, 111, 115 , 116, 58, 32, 49, 50, 55, 46, 48, 46, 48, 46, 49, 58, 51, 53, 52, 51, 53, 13, 10, 85, 115, 101, 114, 45, 65, 103, 101, 110, 116, 58, 32, 116, 117, 110, 110, 101, 108, 45, 116, 101, 115, 116, 47, 120, 46, 121, 13, 10, 13, 10]`', src\connect.rs:1248:20
``` which points at https://github.com/tokio-rs/tokio/blob/702d6dccc948b6a460caa52da4e4c03b252c5...
Reproduce steps
- Install - https://static.rust-lang.org/dist/rust-1.59.0-x86_64-pc-windows-gnu.msi ``` git clone https://github.com/seanmonstar/reqwest cd reqwest git checkout 798df70fb0a4cd786ecc8cf770b33f1d56528524 wine cargo test ```