-
Notifications
You must be signed in to change notification settings - Fork 13.1k
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
Internal Compiler Error: Unexpected Panic #48650
Comments
Thanks for filing! I can't seem to reproduce this; I'm on Windows 10, but all of my Any chance you could provide the backtrace? |
sure thing I'll run it again and upload this evening. thanks for the prompt response! |
Stack Backtrace output
|
I'm having the same problem. I'm not entirely sure but it seems it might have something to do with OneDrive since when I move the code outside of OneDrive everything works fine. |
Ok I can confirm my "local" Repo is also on a onedrive path. I'll move it off and see if it runs. |
recreated the guessing game tutorial at C:\Rust works fine. The only weird thing is when you do the`` |
Could you check if this ICE is repro with a beta or nightly Rust? |
Might be related: running
|
new to this so I assume you want |
@DareDevelOps I think he wants you to check if it's reproducable with newer non-stable versions of Rust, but I am also pretty new to Rust so I don't know how to install beta or nightly Rust while still keeping stable. |
ok yeah makes sense... reading documentation now. you could probably install to a different path and not put it in your Path environment variable. |
@DareDevelOps If you installed rust via rustup, you could install and run beta and nightly simply through: rustup install beta
cargo +beta run
# ^ This executes the program using the beta Rust
rustup install nightly
cargo +nightly run
# ^ Similar, execute using nightly Rust. |
So test Beta first then Nightly? |
@kennytm When I ran |
Just tried with |
Thanks @TropicSapling. Because it works on nightly, I assume this bug is the same as issue #46484 which has been fixed by PR #47956? |
@TropicSapling did the nightly install fail to clean temp files behind itself?
Assuming a permissions thing. |
No, there were no errors more than those my own program had. |
could be the same issue with my .rustup being on onedrive. nope it's local users. |
Possibly, I have my Rust installations located outside of OneDrive. |
OK last comment on this and I'll close it as dupe. After installing the beta and nightly I went and regenerated the guessing game at C:\Users\burtd\OneDrive\Documents\Repo\Rust .. works fine no matter how I call cargo to run it cargo run = good; cargo = +beta run = good; cargo +nightly = good. Please refer to issue #46484 and PR #47956 for further information related to OneDrive symlink issues. |
For some reason it works perfectly fine when the guessing_game is cargo-ed outside of my onedrive directory |
@glazzerino Yes, it's because it's related to OneDrive in some way. |
Thanks! @TropicSapling and @glazzerino Onedrive seems to be culprit. I tried outside onedrive and everything worked fine! |
just downloaded Rust to try it out working through intro docs ran
Running cargo run on Guessing game tutorial produces compiler error panic
I tried this Code
I expected it to output
Instead recieved this output
Rust version
rustc 1.24.1 (d3ae9a9e0 2018-02-27) binary: rustc commit-hash: d3ae9a9e08edf12de0ed82af57ba2a56c26496ea commit-date: 2018-02-27 host: x86_64-pc-windows-msvc release: 1.24.1 LLVM version: 4.0
The text was updated successfully, but these errors were encountered: