Skip to content
This repository has been archived by the owner on Oct 13, 2023. It is now read-only.

miri seems to hang #34

Closed
Ralith opened this issue Dec 14, 2019 · 4 comments
Closed

miri seems to hang #34

Ralith opened this issue Dec 14, 2019 · 4 comments

Comments

@Ralith
Copy link

Ralith commented Dec 14, 2019

For example, see Ralith/hecs#4; as of this writing various attempts at this have spun for upwards of twenty minutes before being cancelled, while a local run completes in seconds. Not sure how to get any feedback from the action while it's running, so it's unclear what might be happening here.

@Ralith
Copy link
Author

Ralith commented Dec 14, 2019

Finally timed out after six hours:

 /usr/share/rust/.cargo/bin/cargo miri test --all-features
I will run `"/usr/share/rust/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/bin/cargo" "/usr/share/rust/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/bin/cargo" "install" "xargo" "-f"` to install a recent enough xargo. Proceed? [Y/n] 
##[error]The operation was canceled.

@Ralith
Copy link
Author

Ralith commented Dec 14, 2019

Adding a step to run cargo install miri seems to do the trick. Takes a while to build, though; would be cool to have caching!

@Ralith Ralith closed this as completed Dec 14, 2019
@svartalf
Copy link
Member

I guess, it hungs awaiting for the user input?

For clarity, I'm going to link the related issue in case anyone would want to do the same: actions-rs/meta#24

@Ralith
Copy link
Author

Ralith commented Dec 15, 2019

Yeah, pretty easy fix in the end.

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

No branches or pull requests

2 participants