Stream: t-compiler/help

Topic: error: Tool `rls` has regressed from test-pass to test-fail


lcnr (Jun 02 2020 at 15:57, on Zulip):

error: Tool rls has regressed from test-pass to test-fail during beta week.

https://github.com/rust-lang/rust/pull/72586 failed azune with the following error.

lcnr (Jun 02 2020 at 15:57, on Zulip):

How can I test this locally?

lcnr (Jun 02 2020 at 15:57, on Zulip):

Running./x.py test check-tools results in

error: Tool `book` was not recorded in tool state.
error: Tool `nomicon` was not recorded in tool state.
error: Tool `reference` was not recorded in tool state.
error: Tool `rust-by-example` was not recorded in tool state.
error: Tool `edition-guide` was not recorded in tool state.
error: Tool `rls` was not recorded in tool state.
error: Tool `rustfmt` was not recorded in tool state.
error: Tool `miri` was not recorded in tool state.
error: Tool `embedded-book` was not recorded in tool state.
failed to run: /home/programming/rust6/build/bootstrap/debug/bootstrap test check-tools
bjorn3 (Jun 02 2020 at 15:58, on Zulip):

Does ./x.py test src/tools/rls work?.

lcnr (Jun 02 2020 at 17:41, on Zulip):

It locally compiles (and tests) without any errors :oh_no:

Any tips on how to proceed here?

lcnr (Jun 02 2020 at 17:55, on Zulip):

2020-06-02T14:27:11.9794259Z [2020-06-02T14:27:11Z ERROR rls::server] Can't read message
2020-06-02T14:27:11.9796261Z thread 'main' panicked at 'called Result::unwrap() on an Err value: Os { code: 32, kind: BrokenPipe, message: "Broken pipe" }', src/tools/rls/rls/src/server/io.rs:190:9
2020-06-02T14:27:11.9797068Z note: run with RUST_BACKTRACE=1 environment variable to display a backtrace

lcnr (Jun 02 2020 at 17:56, on Zulip):

Is this a spurious error? And if so, can someone retry https://github.com/rust-lang/rust/pull/72586

Jonas Schievink (Jun 02 2020 at 17:58, on Zulip):

Not sure how that could possibly break RLS, retrying

lcnr (Jun 03 2020 at 08:51, on Zulip):

Failed again, this time the log fairly short and seems completely unrelated

Last update: Jan 22 2021 at 13:15UTC