question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Test view broken if use stable rust channel

See original GitHub issue

Environment

  • IntelliJ Rust plugin version: 0.2.107.2137-192
  • Rust toolchain version: stable-x86_64-unknown-linux-gnu unchanged - rustc 1.38.0 (625451e37 2019-09-23)
  • IDE name and version: IntellJ 2019.3 Community
  • Operating system: Ubuntu 18.04

Problem description

Test view doesn’t work if stable channel is selected. When tests run the pane show just a Test Framework quit unexpectedly message.

Steps to reproduce

Create a new project with a test and create a test launcher (you can use the gutter icon). Now if your default channel is stable or if select stable channel in launcher configuration page when run your test it’ll show just a Test Framework quit unexpectedly message.

Using beta, nightly or select to show standard out and standard error (disable test tool window) fix the issue.

A file with

#[test]
fn display() {
    assert!(true)
}

is enough to trigger the problem.

Issue Analytics

  • State:open
  • Created 4 years ago
  • Comments:11 (10 by maintainers)

github_iconTop GitHub Comments

1reaction
la10736commented, Oct 14, 2019

There is something wired here. When I opened the ticket I didn’t have Idea 2019.3 installed and I downloaded the EAP one to try the other plug-in version. Maybe I wrote the wrong version when I opened this ticket. Later I’ll try again with 2019.2 and reported plug-in version.

0reactions
vjprcommented, Sep 15, 2021
Read more comments on GitHub >

github_iconTop Results From Across the Web

Troubleshoot Rust issues | Substrate_ Docs
If compiling the Substrate node template fails, the problem is most likely to be caused by how Rust is configured in your development...
Read more >
Stable Rust channel outdated - Travis CI Community
Bumping this as it's still happening - I wanted to test my project on Rust 1.36.0, beta and stable since it should work...
Read more >
The case for a new relese channel: testing - tools ... - Rust Internals
They want to know if the feature is broken, or if the API is janky, restrictive, or too hard to use, so that...
Read more >
Nixpkgs 22.11 manual - NixOS
Users of NixOS generally use one of the nixos-* channels, e.g. nixos-19.09 , which includes all ... See Installing broken packages in the...
Read more >
How Rust is tested
The Rust test suite covers rustc, std, cargo, rustdoc, and the Rust documentation, and features a number of special test harnesses to cover ......
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found