Skip to content

Instantly share code, notes, and snippets.

@lnicola

lnicola/miri.md Secret

Created April 16, 2019 17:24
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save lnicola/b037765b02d0d573d73c4302d14ea03e to your computer and use it in GitHub Desktop.
Save lnicola/b037765b02d0d573d73c4302d14ea03e to your computer and use it in GitHub Desktop.
   Compiling ra_syntax v0.1.0 (/home/grayshade/rust-analyzer/crates/ra_syntax)

running 62 tests
error[E0080]: constant evaluation error: stopping looking for borrow being accessed (Alias(None)) because of barrier (88219)
    --> /home/grayshade/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/src/libcore/slice/mod.rs:5108:5
     |
5108 |     Repr { raw: FatPtr { data, len } }.rust_mut
     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ stopping looking for borrow being accessed (Alias(None)) because of barrier (88219)
     |
     = note: inside call to `std::slice::from_raw_parts_mut::<rowan::swap_cell::SwapCell<(text_unit::TextUnit, rowan::green::GreenIndex), rowan::imp::SyntaxNode<syntax_node::RaTypes>>>` at /home/grayshade/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/src/liballoc/vec.rs:1712:13
     = note: inside call to `<std::vec::Vec<rowan::swap_cell::SwapCell<(text_unit::TextUnit, rowan::green::GreenIndex), rowan::imp::SyntaxNode<syntax_node::RaTypes>>> as std::ops::DerefMut>::deref_mut` at /home/grayshade/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/src/liballoc/vec.rs:1026:23
     = note: inside call to `std::vec::Vec::<rowan::swap_cell::SwapCell<(text_unit::TextUnit, rowan::green::GreenIndex), rowan::imp::SyntaxNode<syntax_node::RaTypes>>>::push` at /home/grayshade/.cargo/registry/src/github.com-1ecc6299db9ec823/colosseum-0.2.2/src/chunk_list.rs:79:21
     = note: inside call to `colosseum::chunk_list::ChunkList::<rowan::swap_cell::SwapCell<(text_unit::TextUnit, rowan::green::GreenIndex), rowan::imp::SyntaxNode<syntax_node::RaTypes>>>::alloc_extend::<std::iter::FilterMap<std::iter::Enumerate<std::slice::Iter<rowan::green::GreenElement<syntax_node::RaTypes>>>, [closure@DefId(11/1:69 ~ rowan[1e4c]::imp[0]::{{impl}}[16]::new_impl[0]::{{closure}}[1]) 0:&mut text_unit::TextUnit]>>` at /home/grayshade/.cargo/registry/src/github.com-1ecc6299db9ec823/colosseum-0.2.2/src/sync.rs:40:50
     = note: inside call to `colosseum::sync::Arena::<rowan::swap_cell::SwapCell<(text_unit::TextUnit, rowan::green::GreenIndex), rowan::imp::SyntaxNode<syntax_node::RaTypes>>>::alloc_extend::<std::iter::FilterMap<std::iter::Enumerate<std::slice::Iter<rowan::green::GreenElement<syntax_node::RaTypes>>>, [closure@DefId(11/1:69 ~ rowan[1e4c]::imp[0]::{{impl}}[16]::new_impl[0]::{{closure}}[1]) 0:&mut text_unit::TextUnit]>>` at /home/grayshade/.cargo/registry/src/github.com-1ecc6299db9ec823/rowan-0.4.0/src/imp.rs:317:24
     = note: inside call to `rowan::imp::SyntaxNode::<syntax_node::RaTypes>::new_impl` at /home/grayshade/.cargo/registry/src/github.com-1ecc6299db9ec823/rowan-0.4.0/src/imp.rs:307:9
     = note: inside call to `rowan::imp::SyntaxNode::<syntax_node::RaTypes>::new_child` at /home/grayshade/.cargo/registry/src/github.com-1ecc6299db9ec823/rowan-0.4.0/src/imp.rs:361:13
     = note: inside call to closure at /home/grayshade/.cargo/registry/src/github.com-1ecc6299db9ec823/rowan-0.4.0/src/swap_cell.rs:45:25
     = note: inside call to closure at /home/grayshade/.cargo/registry/src/github.com-1ecc6299db9ec823/parking_lot-0.7.1/src/once.rs:186:54
     = note: inside call to closure at /home/grayshade/.cargo/registry/src/github.com-1ecc6299db9ec823/parking_lot-0.7.1/src/once.rs:325:9
     = note: inside call to `parking_lot::once::Once::call_once_slow` at /home/grayshade/.cargo/registry/src/github.com-1ecc6299db9ec823/parking_lot-0.7.1/src/once.rs:186:9
     = note: inside call to `parking_lot::once::Once::call_once::<[closure@DefId(11/1:12 ~ rowan[1e4c]::swap_cell[0]::{{impl}}[0]::get_or_init[0]::{{closure}}[0]) 0:&&rowan::swap_cell::SwapCell<(text_unit::TextUnit, rowan::green::GreenIndex), rowan::imp::SyntaxNode<syntax_node::RaTypes>>, 1:[closure@DefId(11/1:70 ~ rowan[1e4c]::imp[0]::{{impl}}[16]::get_child[0]::{{closure}}[0]) 0:&&rowan::imp::SyntaxNode<syntax_node::RaTypes>, 1:&rowan::imp::SyntaxIndex]]>` at /home/grayshade/.cargo/registry/src/github.com-1ecc6299db9ec823/rowan-0.4.0/src/swap_cell.rs:40:9
     = note: inside call to `rowan::swap_cell::SwapCell::<(text_unit::TextUnit, rowan::green::GreenIndex), rowan::imp::SyntaxNode<syntax_node::RaTypes>>::get_or_init::<[closure@DefId(11/1:70 ~ rowan[1e4c]::imp[0]::{{impl}}[16]::get_child[0]::{{closure}}[0]) 0:&&rowan::imp::SyntaxNode<syntax_node::RaTypes>, 1:&rowan::imp::SyntaxIndex]>` at /home/grayshade/.cargo/registry/src/github.com-1ecc6299db9ec823/rowan-0.4.0/src/imp.rs:360:21
     = note: inside call to `rowan::imp::SyntaxNode::<syntax_node::RaTypes>::get_child` at /home/grayshade/.cargo/registry/src/github.com-1ecc6299db9ec823/rowan-0.4.0/src/syntax_node.rs:77:9
     = note: inside call to `rowan::syntax_node::<impl rowan::imp::SyntaxNode<syntax_node::RaTypes>>::first_child` at /home/grayshade/.cargo/registry/src/github.com-1ecc6299db9ec823/rowan-0.4.0/src/algo.rs:114:49
     = note: inside call to closure at /home/grayshade/.cargo/registry/src/github.com-1ecc6299db9ec823/rowan-0.4.0/src/lib.rs:85:22
     = note: inside call to closure at /home/grayshade/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/src/libcore/option.rs:414:29
     = note: inside call to `std::option::Option::<rowan::algo::WalkEvent<&rowan::imp::SyntaxNode<syntax_node::RaTypes>>>::map::<rowan::algo::WalkEvent<&rowan::imp::SyntaxNode<syntax_node::RaTypes>>, [closure@DefId(11/1:162 ~ rowan[1e4c]::generate[0]::{{closure}}[0]::{{closure}}[0]) 0:&mut &mut std::option::Option<rowan::algo::WalkEvent<&rowan::imp::SyntaxNode<syntax_node::RaTypes>>>, 1:&[closure@DefId(11/1:142 ~ rowan[1e4c]::algo[0]::{{impl}}[4]::preorder[0]::{{closure}}[0]) 0:&rowan::imp::SyntaxNode<syntax_node::RaTypes>]]>` at /home/grayshade/.cargo/registry/src/github.com-1ecc6299db9ec823/rowan-0.4.0/src/lib.rs:84:9
     = note: inside call to closure at /home/grayshade/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/src/libcore/iter/adapters/mod.rs:1669:19
     = note: inside call to closure at /home/grayshade/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/src/libcore/iter/traits/iterator.rs:1572:21
     = note: inside call to `<std::iter::Repeat<()> as std::iter::Iterator>::try_fold::<(), [closure@DefId(2/1:1507 ~ core[c18a]::iter[0]::adapters[0]::{{impl}}[77]::try_fold[0]::{{closure}}[0]) 0:&mut [closure@DefId(11/1:161 ~ rowan[1e4c]::generate[0]::{{closure}}[0]) 0:[closure@DefId(11/1:142 ~ rowan[1e4c]::algo[0]::{{impl}}[4]::preorder[0]::{{closure}}[0]) 0:&rowan::imp::SyntaxNode<syntax_node::RaTypes>]], 1:&mut std::option::Option<rowan::algo::WalkEvent<&rowan::imp::SyntaxNode<syntax_node::RaTypes>>>, 2:[closure@DefId(2/1:1326 ~ core[c18a]::iter[0]::adapters[0]::{{impl}}[29]::try_fold[0]::{{closure}}[0]) 0:[closure@DefId(2/1:1388 ~ core[c18a]::iter[0]::adapters[0]::{{impl}}[42]::try_fold[0]::{{closure}}[0]) 0:&mut [closure@crates/ra_syntax/src/syntax_node.rs:210:36: 213:10], 1:[closure@DefId(2/1:991 ~ core[c18a]::iter[0]::traits[0]::iterator[0]::Iterator[0]::try_for_each[0]::{{closure}}[0]) 0:fn(&syntax_node::SyntaxNode) -> std::result::Result<(), &syntax_node::SyntaxNode> {std::result::Result::<(), &syntax_node::SyntaxNode>::Err}]], 1:&mut [closure@crates/ra_syntax/src/syntax_node.rs:242:31: 245:10]]], std::iter::LoopState<(), std::result::Result<(), &syntax_node::SyntaxNode>>>` at /home/grayshade/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/src/libcore/iter/adapters/mod.rs:1668:9
     = note: inside call to `<std::iter::Scan<std::iter::Repeat<()>, std::option::Option<rowan::algo::WalkEvent<&rowan::imp::SyntaxNode<syntax_node::RaTypes>>>, [closure@DefId(11/1:161 ~ rowan[1e4c]::generate[0]::{{closure}}[0]) 0:[closure@DefId(11/1:142 ~ rowan[1e4c]::algo[0]::{{impl}}[4]::preorder[0]::{{closure}}[0]) 0:&rowan::imp::SyntaxNode<syntax_node::RaTypes>]]> as std::iter::Iterator>::try_fold::<(), [closure@DefId(2/1:1326 ~ core[c18a]::iter[0]::adapters[0]::{{impl}}[29]::try_fold[0]::{{closure}}[0]) 0:[closure@DefId(2/1:1388 ~ core[c18a]::iter[0]::adapters[0]::{{impl}}[42]::try_fold[0]::{{closure}}[0]) 0:&mut [closure@crates/ra_syntax/src/syntax_node.rs:210:36: 213:10], 1:[closure@DefId(2/1:991 ~ core[c18a]::iter[0]::traits[0]::iterator[0]::Iterator[0]::try_for_each[0]::{{closure}}[0]) 0:fn(&syntax_node::SyntaxNode) -> std::result::Result<(), &syntax_node::SyntaxNode> {std::result::Result::<(), &syntax_node::SyntaxNode>::Err}]], 1:&mut [closure@crates/ra_syntax/src/syntax_node.rs:242:31: 245:10]], std::result::Result<(), &syntax_node::SyntaxNode>>` at /home/grayshade/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/src/libcore/iter/adapters/mod.rs:580:9
     = note: inside call to `<std::iter::Map<std::iter::Scan<std::iter::Repeat<()>, std::option::Option<rowan::algo::WalkEvent<&rowan::imp::SyntaxNode<syntax_node::RaTypes>>>, [closure@DefId(11/1:161 ~ rowan[1e4c]::generate[0]::{{closure}}[0]) 0:[closure@DefId(11/1:142 ~ rowan[1e4c]::algo[0]::{{impl}}[4]::preorder[0]::{{closure}}[0]) 0:&rowan::imp::SyntaxNode<syntax_node::RaTypes>]]>, [closure@crates/ra_syntax/src/syntax_node.rs:242:31: 245:10]> as std::iter::Iterator>::try_fold::<(), [closure@DefId(2/1:1388 ~ core[c18a]::iter[0]::adapters[0]::{{impl}}[42]::try_fold[0]::{{closure}}[0]) 0:&mut [closure@crates/ra_syntax/src/syntax_node.rs:210:36: 213:10], 1:[closure@DefId(2/1:991 ~ core[c18a]::iter[0]::traits[0]::iterator[0]::Iterator[0]::try_for_each[0]::{{closure}}[0]) 0:fn(&syntax_node::SyntaxNode) -> std::result::Result<(), &syntax_node::SyntaxNode> {std::result::Result::<(), &syntax_node::SyntaxNode>::Err}]], std::result::Result<(), &syntax_node::SyntaxNode>>` at /home/grayshade/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/src/libcore/iter/adapters/mod.rs:824:9
     = note: inside call to `<std::iter::FilterMap<std::iter::Map<std::iter::Scan<std::iter::Repeat<()>, std::option::Option<rowan::algo::WalkEvent<&rowan::imp::SyntaxNode<syntax_node::RaTypes>>>, [closure@DefId(11/1:161 ~ rowan[1e4c]::generate[0]::{{closure}}[0]) 0:[closure@DefId(11/1:142 ~ rowan[1e4c]::algo[0]::{{impl}}[4]::preorder[0]::{{closure}}[0]) 0:&rowan::imp::SyntaxNode<syntax_node::RaTypes>]]>, [closure@crates/ra_syntax/src/syntax_node.rs:242:31: 245:10]>, [closure@crates/ra_syntax/src/syntax_node.rs:210:36: 213:10]> as std::iter::Iterator>::try_fold::<(), [closure@DefId(2/1:991 ~ core[c18a]::iter[0]::traits[0]::iterator[0]::Iterator[0]::try_for_each[0]::{{closure}}[0]) 0:fn(&syntax_node::SyntaxNode) -> std::result::Result<(), &syntax_node::SyntaxNode> {std::result::Result::<(), &syntax_node::SyntaxNode>::Err}], std::result::Result<(), &syntax_node::SyntaxNode>>` at /home/grayshade/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/src/libcore/iter/traits/iterator.rs:1609:9
     = note: inside call to `<std::iter::FilterMap<std::iter::Map<std::iter::Scan<std::iter::Repeat<()>, std::option::Option<rowan::algo::WalkEvent<&rowan::imp::SyntaxNode<syntax_node::RaTypes>>>, [closure@DefId(11/1:161 ~ rowan[1e4c]::generate[0]::{{closure}}[0]) 0:[closure@DefId(11/1:142 ~ rowan[1e4c]::algo[0]::{{impl}}[4]::preorder[0]::{{closure}}[0]) 0:&rowan::imp::SyntaxNode<syntax_node::RaTypes>]]>, [closure@crates/ra_syntax/src/syntax_node.rs:242:31: 245:10]>, [closure@crates/ra_syntax/src/syntax_node.rs:210:36: 213:10]> as std::iter::Iterator>::try_for_each::<fn(&syntax_node::SyntaxNode) -> std::result::Result<(), &syntax_node::SyntaxNode> {std::result::Result::<(), &syntax_node::SyntaxNode>::Err}, std::result::Result<(), &syntax_node::SyntaxNode>>` at /home/grayshade/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/src/libcore/iter/adapters/mod.rs:810:9
note: inside call to `<std::iter::FilterMap<std::iter::Map<std::iter::Scan<std::iter::Repeat<()>, std::option::Option<rowan::algo::WalkEvent<&rowan::imp::SyntaxNode<syntax_node::RaTypes>>>, [closure@DefId(11/1:161 ~ rowan[1e4c]::generate[0]::{{closure}}[0]) 0:[closure@DefId(11/1:142 ~ rowan[1e4c]::algo[0]::{{impl}}[4]::preorder[0]::{{closure}}[0]) 0:&rowan::imp::SyntaxNode<syntax_node::RaTypes>]]>, [closure@crates/ra_syntax/src/syntax_node.rs:242:31: 245:10]>, [closure@crates/ra_syntax/src/syntax_node.rs:210:36: 213:10]> as std::iter::Iterator>::next` at crates/ra_syntax/src/validation.rs:40:17
    --> crates/ra_syntax/src/validation.rs:40:17
     |
40   |     for node in root.descendants() {
     |                 ^^^^^^^^^^^^^^^^^^
note: inside call to `validation::validate_block_structure` at crates/ra_syntax/src/lib.rs:56:13
    --> crates/ra_syntax/src/lib.rs:56:13
     |
56   |             validation::validate_block_structure(&root);
     |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
note: inside call to `<impl ast::generated::SourceFile>::new` at crates/ra_syntax/src/lib.rs:64:9
    --> crates/ra_syntax/src/lib.rs:64:9
     |
64   |         SourceFile::new(green, errors)
     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
note: inside call to `<impl ast::generated::SourceFile>::parse` at crates/ra_syntax/src/lib.rs:103:16
    --> crates/ra_syntax/src/lib.rs:103:16
     |
103  |     let file = SourceFile::parse(source_code);
     |                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
note: inside call to `api_walkthrough` at crates/ra_syntax/src/lib.rs:91:1
    --> crates/ra_syntax/src/lib.rs:91:1
     |
91   | / fn api_walkthrough() {
92   | |     use ast::{ModuleItemOwner, NameOwner};
93   | |
94   | |     let source_code = "
...    |
262  | |     assert_eq!(exprs_cast, exprs_visit);
263  | | }
     | |_^
     = note: inside call to closure at /home/grayshade/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/src/libcore/ops/function.rs:231:5
     = note: inside call to `<[closure@crates/ra_syntax/src/lib.rs:91:1: 263:2] as std::ops::FnOnce<()>>::call_once - shim` at /home/grayshade/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/src/libcore/ops/function.rs:231:5
     = note: inside call to `<fn() as std::ops::FnOnce<()>>::call_once - shim(fn())` at /home/grayshade/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/src/libtest/lib.rs:1522:5
     = note: inside call to `test::__rust_begin_short_backtrace::<fn()>` at /home/grayshade/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/src/libtest/lib.rs:1513:30
     = note: inside call to closure at /home/grayshade/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/src/libcore/ops/function.rs:231:5
     = note: inside call to `<[closure@DefId(53/1:109 ~ test[9a16]::run_test[0]::{{closure}}[3]) 0:fn()] as std::ops::FnOnce<()>>::call_once - shim` at /home/grayshade/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/src/libcore/ops/function.rs:231:5
     = note: inside call to `<[closure@DefId(53/1:109 ~ test[9a16]::run_test[0]::{{closure}}[3]) 0:fn()] as std::ops::FnOnce<()>>::call_once - shim(vtable)` at /home/grayshade/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/src/liballoc/boxed.rs:704:9
     = note: inside call to `<std::boxed::Box<dyn std::boxed::FnBox<(), Output = ()> + std::marker::Send> as std::ops::FnOnce<()>>::call_once` at /home/grayshade/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/src/libstd/panic.rs:309:9
     = note: inside call to `<std::panic::AssertUnwindSafe<std::boxed::Box<dyn std::boxed::FnBox<(), Output = ()> + std::marker::Send>> as std::ops::FnOnce<()>>::call_once` at /home/grayshade/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/src/libstd/panicking.rs:293:40
     = note: inside call to `std::panicking::try::do_call::<std::panic::AssertUnwindSafe<std::boxed::Box<dyn std::boxed::FnBox<(), Output = ()> + std::marker::Send>>, ()>` at /home/grayshade/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/src/libstd/panicking.rs:289:5
     = note: inside call to `std::panicking::try::<(), std::panic::AssertUnwindSafe<std::boxed::Box<dyn std::boxed::FnBox<(), Output = ()> + std::marker::Send>>>` at /home/grayshade/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/src/libstd/panic.rs:388:9
     = note: inside call to `std::panic::catch_unwind::<std::panic::AssertUnwindSafe<std::boxed::Box<dyn std::boxed::FnBox<(), Output = ()> + std::marker::Send>>, ()>` at /home/grayshade/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/src/libtest/lib.rs:1468:26
     = note: inside call to closure at /home/grayshade/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/src/libtest/lib.rs:1490:13
     = note: inside call to `test::run_test::run_test_inner` at /home/grayshade/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/src/libtest/lib.rs:1509:28
     = note: inside call to `test::run_test` at /home/grayshade/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/src/libtest/lib.rs:1167:13
     = note: inside call to `test::run_tests::<[closure@DefId(53/1:80 ~ test[9a16]::run_tests_console[0]::{{closure}}[2]) 0:&mut test::ConsoleTestState, 1:&mut std::boxed::Box<dyn test::formatters::OutputFormatter>]>` at /home/grayshade/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/src/libtest/lib.rs:972:5
     = note: inside call to `test::run_tests_console` at /home/grayshade/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/src/libtest/lib.rs:293:15
     = note: inside call to `test::test_main` at /home/grayshade/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/src/libtest/lib.rs:327:5
     = note: inside call to `test::test_main_static`
     = note: inside call to `main` at /home/grayshade/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/src/libstd/rt.rs:64:34
     = note: inside call to closure at /home/grayshade/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/src/libstd/rt.rs:52:53
     = note: inside call to closure at /home/grayshade/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/src/libstd/panicking.rs:293:40
     = note: inside call to `std::panicking::try::do_call::<[closure@DefId(1/1:1833 ~ std[6cef]::rt[0]::lang_start_internal[0]::{{closure}}[0]) 0:&dyn std::ops::Fn() -> i32 + std::marker::Sync + std::panic::RefUnwindSafe], i32>` at /home/grayshade/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/src/libstd/panicking.rs:289:5
     = note: inside call to `std::panicking::try::<i32, [closure@DefId(1/1:1833 ~ std[6cef]::rt[0]::lang_start_internal[0]::{{closure}}[0]) 0:&dyn std::ops::Fn() -> i32 + std::marker::Sync + std::panic::RefUnwindSafe]>` at /home/grayshade/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/src/libstd/panic.rs:388:9
     = note: inside call to `std::panic::catch_unwind::<[closure@DefId(1/1:1833 ~ std[6cef]::rt[0]::lang_start_internal[0]::{{closure}}[0]) 0:&dyn std::ops::Fn() -> i32 + std::marker::Sync + std::panic::RefUnwindSafe], i32>` at /home/grayshade/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/src/libstd/rt.rs:52:25
     = note: inside call to `std::rt::lang_start_internal` at /home/grayshade/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/src/libstd/rt.rs:64:5
     = note: inside call to `std::rt::lang_start::<()>`

error: aborting due to previous error

For more information about this error, try `rustc --explain E0080`.
test api_walkthrough ... 
error: Could not compile `ra_syntax`.

To learn more, run the command again with --verbose.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment