Print full error message if cargo fails #98
Triggered via issue
April 24, 2024 15:11
Status
Failure
Total duration
2m 24s
Artifacts
–
Annotations
1 error
check
Quality analysis found the following errors:
### Problems
* The bug report is missing important information: It doesn't specify the software version affected by the bug.
* Steps to reproduce the bug are absent: The report doesn't provide the necessary steps to reproduce the bug, which are essential for developers to determine and rectify the problem.
* Expected vs Actual Results are not stated: The report fails to mention the anticipated result compared to the actual occurrence.
### Suggestions
* Specify the Software Version: Always specify the version of the software where the bug occurred. This helps to identify if the bug is version-specific.
* Include Steps to Reproduce: Always include the exact steps to reproduce the bug. This will enable the developers to see the bug in action, understand its context and ultimately to fix it.
* State Expected vs Actual Result: Clearly state what the expected outcome should have been in contrast to the actual result. This helps the developers to understand the impact of the bug and what it is preventing the software from doing.
* Use a Bug Report Template: Follow a structured template to ensure all important information is included. An example template could be:
```
Title: Incomplete Error Message When Cargo Fails to Build
Software Version: (Specify the software version)
Description: When trying to build cargo, the error message that is printed is incomplete.
Steps to Reproduce:
1. (Specify the first step)
2. (Specify the second step)
3. (Etc.)
Expected Result:
(Full error message is displayed allowing for easier troubleshooting)
Actual Result:
(Error message is incomplete, only displaying:
```
[ERROR] Failed to build cargo project with dest = /private/var/folders/xj/f4s949893tq37zzw0pdmd68h0000gn/T/junit8772813024511140751/target/eo-test/Lib/native10
[ERROR] Non-zero exit code #101 of 'cargo'
```
)
```
|