Created
July 7, 2012 04:51
-
-
Save killerswan/3064760 to your computer and use it in GitHub Desktop.
unhelpful debug messages on a crash
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| $ rustc shootout-chameneos-redux.rs | |
| shootout-chameneos-redux.rs:225:11: 225:26 warning: value assigned to `second_creature` is never read | |
| shootout-chameneos-redux.rs:225 let mut second_creature = { name: 0, color: Red }; // of initializing to junk? | |
| ^~~~~~~~~~~~~~~ | |
| $ | |
| $ | |
| $ RUST_LOG=shootout-chameneos-redux ./shootout-chameneos-redux 50 | |
| blue + blue -> blue | |
| blue + red -> yellow | |
| blue + yellow -> red | |
| red + blue -> yellow | |
| red + red -> red | |
| red + yellow -> blue | |
| yellow + blue -> red | |
| yellow + red -> blue | |
| yellow + yellow -> yellow | |
| rust: ~"0" | |
| rust: ~"1" | |
| rust: ~"0" | |
| rust: task failed at 'option none', shootout-chameneos-redux.rs:1 | |
| rust: ~"no data available on 140141160079328, going to sleep." | |
| rust: ~"no data available on 140141160049824, going to sleep." | |
| rust: domain main @0x1163bd0 root task failed | |
| rust: ~"3" | |
| rust: task failed at 'option none', shootout-chameneos-redux.rs:1 | |
| rust: task failed at 'killed', /code/rust/src/libcore/task.rs:513 | |
| rust: ~"woke up, p.state = 3" | |
| rust: ~"woke up, p.state = 3" | |
| rust: ~"3" | |
| rust: ~"3" | |
| rust: task failed at 'option none', shootout-chameneos-redux.rs:1 | |
| rust: task failed at 'option none', shootout-chameneos-redux.rs:1 |
Author
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
That's with this source code: https://github.com/killerswan/chameneos-redux/blob/877eadea98a4698a512bf8325c8222ad400d4bac/shootout-chameneos-redux.rs
And the 4bb13c6 version of rustc (incoming).