Skip to content

Instantly share code, notes, and snippets.

@davehorner
Created April 30, 2025 01:50
Show Gist options
  • Save davehorner/d914d09bf2626d636cbc7f3477af826e to your computer and use it in GitHub Desktop.
Save davehorner/d914d09bf2626d636cbc7f3477af826e to your computer and use it in GitHub Desktop.
run_report.md
+-----------------+---------------------------------------------------------+
| Run Report | cargo-e (git@github.com:davehorner/cargo-e.git 19e82b5) |
|-----------------+---------------------------------------------------------|
| generated on | 2025-04-29 21:50:54 |
|-----------------+---------------------------------------------------------|
| cargo-e version | 0.2.19 |
|-----------------+---------------------------------------------------------|
| rustc version | rustc 1.86.0 (05f9846f8 2025-03-31) |
|-----------------+---------------------------------------------------------|
| system info | Windows - 11 (26100) - Windows 11 Home |
+-----------------+---------------------------------------------------------+
## 1. funny_example
cargo run --message-format=json --color always --example funny_example --manifest-path C:\w\cargo-e\Cargo.toml
+---------------+----------+
| funny_example | |
|---------------+----------|
| Start Time | 21:50:50 |
|---------------+----------|
| End Time | 21:50:54 |
|---------------+----------|
| Duration | 4.13s |
|---------------+----------|
| Exit Code | 0 |
|---------------+----------|
| Success | Yes |
+---------------+----------+
+-------+---------------------------------------------+------------+-----------------------+
| Level | Lineref | Error Code | Message |
|-------+---------------------------------------------+------------+-----------------------|
| W1 | C:\w\cargo-e\cargo-e\src\e_reports.rs:223:5 | - | unreachable statement |
+-------+---------------------------------------------+------------+-----------------------+
+-----------------------------------------------------------------------------------------------+
| W01: C:\w\cargo-e\cargo-e\src\e_reports.rs:223:5 unreachable statement: |
| C:\w\cargo-e\cargo-e\src\e_reports.rs:222 | return generate_comfy_report(results); |
| | ------------------------------------- any code following this expression is unreachable |
| let mut system = sysinfo::System::new_all(); |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable statement |
| note: `#[warn(unreachable_code)]` on by default |
+-----------------------------------------------------------------------------------------------+
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment