Skip to content

failed to write request: The pipe is being closed. (os error 232) #674

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

Closed
sciguyryan opened this issue Nov 23, 2021 · 6 comments
Closed

Comments

@sciguyryan
Copy link

Hi.

I have run into an odd error when using sixtyfps::include_modules!(). Every time I include it I get the following error: "failed to write request: The pipe is being closed. (os error 232)".

It might be related to rust-analyzer since the code actually compiles and runs perfectly well. I am reporting it here to get some feedback, before reporting it to them.

I have followed the beginners guide, and since it actually compiles and runs I don't think it is anything I have done incorrectly.

Any advice or feedback would be welcome.

Cheers!

@tronical
Copy link
Member

Hmm, I don't think I've seen this before (but I haven't seen much :). Just to double check: This is happening in a project where you're using sixtyfps_build::compile(...) in your build.rs and sixtyfps::include_modules!() in your main.rs (or something like that), and the project runs just fine but rust-analyzer produces these errors?

Are you using rust-analyzer through visual studio code? Which version of rust-analyzer are you using?

@sciguyryan
Copy link
Author

This is happening in a project where you're using sixtyfps_build::compile(...) in your build.rs and sixtyfps::include_modules!() in your main.rs (or something like that), and the project runs just fine but rust-analyzer produces these errors?

This is correct.

Are you using rust-analyzer through visual studio code? Which version of rust-analyzer are you using?

That is also correct. I am currently using the latest version, which is the one dated 2021-11-22.

@ogoffart
Copy link
Member

I did seen this error message recently.
Also seen it on other macros

Screenshot_20211124_101022

Looks like a rust-analyzer bug to me.

@ogoffart
Copy link
Member

looks like rust-lang/rust-analyzer#10766

@ogoffart
Copy link
Member

I'm going to close this issue as this is a rust-analyzer bug. Thanks for reporting anyway!

@alexjg
Copy link

alexjg commented Nov 24, 2021

Just noting that this is not the rust-analyzer bug you've posted - although I can understand why you might think that it is as the error message is the same. The issue you've linked has been fixed for the code and rustc and rust-analyzer versions posted, you'll need to open a new issue with the rustc and rust-analyzer versions you're using, as well as the code which causes the issue.

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

4 participants