Skip to content
New issue

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

Unable to open socket to connect to Criterion.rs #45

Open
rileyshahar opened this issue Nov 9, 2021 · 2 comments
Open

Unable to open socket to connect to Criterion.rs #45

rileyshahar opened this issue Nov 9, 2021 · 2 comments

Comments

@rileyshahar
Copy link

I get the following error when running cargo criterion:

Error: Unable to open socket to connect to Criterion.rs

Caused by:
    Cannot assign requested address (os error 99)

cargo bench works as expected. I'm on cargo-criterion 1.1.0, rustc 1.56, criterion 0.3.5, running on arch linux.

@Kixiron
Copy link

Kixiron commented Nov 15, 2021

I'm having nearly the same issue running on Windows 10 with criterion 0.3.5

Error: Failed to receive message from Criterion.rs benchmark target disjoint_indices

Caused by:
    An existing connection was forcibly closed by the remote host. (os error 10054)
 λ  rustc -vV
rustc 1.56.1 (59eed8a2a 2021-11-01)
binary: rustc
commit-hash: 59eed8a2aac0230a8b53e89d4e99d55912ba6b35
commit-date: 2021-11-01
host: x86_64-pc-windows-msvc
release: 1.56.1
LLVM version: 13.0.0

 λ  cargo -vV
cargo 1.56.0 (4ed5d137b 2021-10-04)
release: 1.56.0
commit-hash: 4ed5d137baff5eccf1bae5a7b2ae4b57efad4a7d
commit-date: 2021-10-04

 λ  cargo criterion -vV
cargo-criterion 1.1.0

@Zerowalker
Copy link

same here

 λ  rustc -vV
rustc 1.63.0 (4b91a6ea7 2022-08-08)
binary: rustc
commit-hash: 4b91a6ea7258a947e59c6522cd5898e7c0a6a88f
commit-date: 2022-08-08
host: x86_64-pc-windows-msvc
release: 1.63.0
LLVM version: 14.0.5

 λ  cargo -vV
cargo 1.63.0 (fd9c4297c 2022-07-01)
release: 1.63.0
commit-hash: fd9c4297ccbee36d39e9a79067edab0b614edb5a
commit-date: 2022-07-01
host: x86_64-pc-windows-msvc
libgit2: 1.4.2 (sys:0.14.2 vendored)
libcurl: 7.83.1-DEV (sys:0.4.55+curl-7.83.1 vendored ssl:Schannel)
os: Windows 10.0.19044 (Windows 10 Pro) [64-bit]

 λ  cargo criterion -vV
cargo-criterion 1.1.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants