You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Trying to build rust from incoming with insufficient RAM gives me (I'm pretty sure that is the problem, killing some programs got it to compile without any code changes)
$ RUST_LOG=::rt::backtrace make
cfg: build triple x86_64-unknown-linux-gnu
cfg: host triples x86_64-unknown-linux-gnu
cfg: target triples x86_64-unknown-linux-gnu
cfg: host for x86_64-unknown-linux-gnu is x86_64
cfg: os for x86_64-unknown-linux-gnu is unknown-linux-gnu
cfg: using gcc
cfg: no llnextgen found, omitting grammar-verification
compile_and_link: x86_64-unknown-linux-gnu/stage0/lib/rustc/x86_64-unknown-linux-gnu/lib/librustc.so
rust: task failed at 'explicit failure', /home/rustbuild/src/rust-buildbot/slave/snap3-linux/build/src/libcore/run.rs:343
/home/huon/rust/x86_64-unknown-linux-gnu/stage0/bin/../lib/librustrt.so(_ZN9rust_task13begin_failureEPKcS1_m+0x4f)[0x2b56c7b9652f]
/home/huon/rust/x86_64-unknown-linux-gnu/stage0/bin/../lib/librustrt.so(+0x299f1)[0x2b56c7ba69f1]
/home/huon/rust/x86_64-unknown-linux-gnu/stage0/bin/../lib/librustrt.so(upcall_fail+0x1c6)[0x2b56c7b98cb6]
/home/huon/rust/x86_64-unknown-linux-gnu/stage0/bin/../lib/libcore-c3ca5d77d81b46c1-0.6.so(+0x1059ab)[0x2b56c488d9ab]
/home/huon/rust/x86_64-unknown-linux-gnu/stage0/bin/../lib/libcore-c3ca5d77d81b46c1-0.6.so(+0x105952)[0x2b56c488d952]
/home/huon/rust/x86_64-unknown-linux-gnu/stage0/bin/../lib/libcore-c3ca5d77d81b46c1-0.6.so(_ZN3sys12begin_unwind16_701b8ec61f97ead3_06E+0x71)[0x2b56c47d5441]
/home/huon/rust/x86_64-unknown-linux-gnu/stage0/bin/../lib/libcore-c3ca5d77d81b46c1-0.6.so(_ZN3run14program_output16_3596fc6920d4f353_06E+0x2872)[0x2b56c4887aa2]
/home/huon/rust/x86_64-unknown-linux-gnu/stage0/bin/../lib/libcore-c3ca5d77d81b46c1-0.6.so(+0x14e214)[0x2b56c48d6214]
/home/huon/rust/x86_64-unknown-linux-gnu/stage0/bin/../lib/librustc-c84825241471686d-0.6.so(_ZN4back4link11link_binary17_483345abdae712883_06E+0x3a9d)[0x2b56c5f65bad]
/home/huon/rust/x86_64-unknown-linux-gnu/stage0/bin/../lib/librustc-c84825241471686d-0.6.so(+0x5db835)[0x2b56c5d2e835]
/home/huon/rust/x86_64-unknown-linux-gnu/stage0/bin/../lib/librustc-c84825241471686d-0.6.so(_ZN6driver6driver12compile_rest16_87c0f340aa21a393_06E+0x40e2)[0x2b56c5fcc2b2]
/home/huon/rust/x86_64-unknown-linux-gnu/stage0/bin/../lib/librustc-c84825241471686d-0.6.so(+0x8b9e84)[0x2b56c600ce84]
/home/huon/rust/x86_64-unknown-linux-gnu/stage0/bin/../lib/librustc-c84825241471686d-0.6.so(_ZN6driver6driver12compile_upto17_84743710faafb0af3_06E+0x108)[0x2b56c5fce738]
/home/huon/rust/x86_64-unknown-linux-gnu/stage0/bin/../lib/librustc-c84825241471686d-0.6.so(+0x8b9e84)[0x2b56c600ce84]
/home/huon/rust/x86_64-unknown-linux-gnu/stage0/bin/../lib/librustc-c84825241471686d-0.6.so(_ZN6driver6driver13compile_input15_a6b0fe22676e6b3_06E+0xca)[0x2b56c5fceb7a]
/home/huon/rust/x86_64-unknown-linux-gnu/stage0/bin/../lib/librustc-c84825241471686d-0.6.so(_ZN12run_compiler16_9de519bbeb758373_06E+0x20aa)[0x2b56c5ffe31a]
/home/huon/rust/x86_64-unknown-linux-gnu/stage0/bin/../lib/librustc-c84825241471686d-0.6.so(+0x8b7951)[0x2b56c600a951]
/home/huon/rust/x86_64-unknown-linux-gnu/stage0/bin/../lib/librustc-c84825241471686d-0.6.so(+0x8b417c)[0x2b56c600717c]
/home/huon/rust/x86_64-unknown-linux-gnu/stage0/bin/../lib/librustc-c84825241471686d-0.6.so(+0x8b9e84)[0x2b56c600ce84]
/home/huon/rust/x86_64-unknown-linux-gnu/stage0/bin/../lib/libcore-c3ca5d77d81b46c1-0.6.so(+0xce38e)[0x2b56c485638e]
/home/huon/rust/x86_64-unknown-linux-gnu/stage0/bin/../lib/libcore-c3ca5d77d81b46c1-0.6.so(+0x14e214)[0x2b56c48d6214]
/home/huon/rust/x86_64-unknown-linux-gnu/stage0/bin/../lib/librustrt.so(_Z18task_start_wrapperP10spawn_args+0x24)[0x2b56c7b97534]
error: internal compiler error: unexpected failure
note: the compiler hit an unexpected failure path. this is a bug
note: try running with RUST_LOG=rustc=1,::rt::backtrace to get further details and report the results to github.com/mozilla/rust/issues
rust: task failed at 'explicit failure', /home/rustbuild/src/rust-buildbot/slave/snap3-linux/build/src/librustc/rustc.rc:357
/home/huon/rust/x86_64-unknown-linux-gnu/stage0/bin/../lib/librustrt.so(_ZN9rust_task13begin_failureEPKcS1_m+0x4f)[0x2b56c7b9652f]
/home/huon/rust/x86_64-unknown-linux-gnu/stage0/bin/../lib/librustrt.so(+0x299f1)[0x2b56c7ba69f1]
/home/huon/rust/x86_64-unknown-linux-gnu/stage0/bin/../lib/librustrt.so(upcall_fail+0x1c6)[0x2b56c7b98cb6]
/home/huon/rust/x86_64-unknown-linux-gnu/stage0/bin/../lib/libcore-c3ca5d77d81b46c1-0.6.so(+0x1059ab)[0x2b56c488d9ab]
/home/huon/rust/x86_64-unknown-linux-gnu/stage0/bin/../lib/libcore-c3ca5d77d81b46c1-0.6.so(+0x105952)[0x2b56c488d952]
/home/huon/rust/x86_64-unknown-linux-gnu/stage0/bin/../lib/libcore-c3ca5d77d81b46c1-0.6.so(_ZN3sys12begin_unwind16_701b8ec61f97ead3_06E+0x71)[0x2b56c47d5441]
/home/huon/rust/x86_64-unknown-linux-gnu/stage0/bin/../lib/libcore-c3ca5d77d81b46c1-0.6.so(+0x14e214)[0x2b56c48d6214]
/home/huon/rust/x86_64-unknown-linux-gnu/stage0/bin/../lib/librustc-c84825241471686d-0.6.so(_ZN7monitor17_ab3b5d4d4b9efdb63_06E+0x1577)[0x2b56c6000947]
/home/huon/rust/x86_64-unknown-linux-gnu/stage0/bin/../lib/librustc-c84825241471686d-0.6.so(+0x8b9e84)[0x2b56c600ce84]
/home/huon/rust/x86_64-unknown-linux-gnu/stage0/bin/../lib/librustc-c84825241471686d-0.6.so(_ZN4main16_706f4ee7413ae583_06E+0x7e)[0x2b56c600ca9e]
/home/huon/rust/x86_64-unknown-linux-gnu/stage0/bin/../lib/librustrt.so(_Z18task_start_wrapperP10spawn_args+0x24)[0x2b56c7b97534]
rust: domain main @0xa8e3c0 root task failed
make: *** [x86_64-unknown-linux-gnu/stage0/lib/rustc/x86_64-unknown-linux-gnu/lib/librustc.so] Error 101
I guess a better error message would be helpful.
The text was updated successfully, but these errors were encountered:
We can't actually give sane error messages on out-of-memory because of segmented stacks. There's no way to reliably report an error message once there's no memory left if anything can cause an allocation.
Fix two ICEs caused by ty.is_{sized,freeze}
Fixesrust-lang#6153
Properly fixesrust-lang#6139
The test case in rust-lang#6153 is kind of weird. Even removing one of the arguments of the `foo` function prevented the ICE. I think this test case is actually minimal.
changelog: none
Trying to build rust from incoming with insufficient RAM gives me (I'm pretty sure that is the problem, killing some programs got it to compile without any code changes)
I guess a better error message would be helpful.
The text was updated successfully, but these errors were encountered: