Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improved error handling #4

Merged
merged 13 commits into from
Dec 13, 2024

refactor: remove unnecessary .into()

bce2ee8
Select commit
Loading
Failed to load commit list.
Merged

Improved error handling #4

refactor: remove unnecessary .into()
bce2ee8
Select commit
Loading
Failed to load commit list.
Garnix CI / package rimi [x86_64-linux] succeeded Dec 13, 2024 in 58s

Run results

Build succeeded

Details

Last 100 lines of logs:

   Compiling tempfile v3.14.0
   Compiling num-rational v0.4.2
   Compiling av1-grain v0.2.3
   Compiling maybe-rayon v0.1.1
   Compiling thiserror-impl v1.0.69
   Compiling profiling-procmacros v1.0.16
   Compiling clap_derive v4.5.18
   Compiling arg_enum_proc_macro v0.3.4
   Compiling num-derive v0.4.2
   Compiling thiserror-impl v2.0.6
   Compiling profiling v1.0.16
   Compiling dialoguer v0.11.0
   Compiling clap v4.5.23
   Compiling clap_complete v4.5.38
   Compiling clap_complete_nushell v4.5.4
   Compiling ravif v0.11.11
   Compiling image v0.25.5
   Compiling rimi v0.1.4 (/build/pakg1nr7pc2aj8f80xdpid347bxs6754-source)
warning: field `total_errors` is never read
  --> src/backend/progress.rs:17:5
   |
14 | pub struct SingleProgress {
   |            -------------- field in this struct
...
17 |     total_errors: u32,
   |     ^^^^^^^^^^^^
   |
   = note: `SingleProgress` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
   = note: `#[warn(dead_code)]` on by default

warning: fields `total_errors` and `shared_progress_bar` are never read
  --> src/backend/progress.rs:65:5
   |
63 | pub struct BatchProgress {
   |            ------------- fields in this struct
64 |     total_progress: u32,
65 |     total_errors: u32,
   |     ^^^^^^^^^^^^
...
68 |     shared_progress_bar: MultiProgress,
   |     ^^^^^^^^^^^^^^^^^^^
   |
   = note: `BatchProgress` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis

warning: `rimi` (bin "rimi") generated 2 warnings
    Finished `release` profile [optimized] target(s) in 23.22s
Executing cargoInstallPostBuildHook
Finished cargoInstallPostBuildHook
Finished cargoBuildHook
Running phase: checkPhase
@nix {"action":"setPhase","phase":"checkPhase"}
Executing cargoCheckHook
cargoCheckHook flags: -j 28 --profile release --target x86_64-unknown-linux-gnu --offline -- --test-threads=28
   Compiling rimi v0.1.4 (/build/pakg1nr7pc2aj8f80xdpid347bxs6754-source)
warning: field `total_errors` is never read
  --> src/backend/progress.rs:17:5
   |
14 | pub struct SingleProgress {
   |            -------------- field in this struct
...
17 |     total_errors: u32,
   |     ^^^^^^^^^^^^
   |
   = note: `SingleProgress` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
   = note: `#[warn(dead_code)]` on by default

warning: fields `total_errors` and `shared_progress_bar` are never read
  --> src/backend/progress.rs:65:5
   |
63 | pub struct BatchProgress {
   |            ------------- fields in this struct
64 |     total_progress: u32,
65 |     total_errors: u32,
   |     ^^^^^^^^^^^^
...
68 |     shared_progress_bar: MultiProgress,
   |     ^^^^^^^^^^^^^^^^^^^
   |
   = note: `BatchProgress` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis

warning: `rimi` (bin "rimi" test) generated 2 warnings
    Finished `release` profile [optimized] target(s) in 0.49s
     Running unittests src/main.rs (target/x86_64-unknown-linux-gnu/release/deps/rimi-f07521332c72b2aa)

running 0 tests

test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s

Finished cargoCheckHook
Running phase: installPhase
@nix {"action":"setPhase","phase":"installPhase"}
Executing cargoInstallHook
Finished cargoInstallHook
Running phase: fixupPhase
@nix {"action":"setPhase","phase":"fixupPhase"}
shrinking RPATHs of ELF executables and libraries in /nix/store/ig7c96ld6i05acf046np9m8x2gw4xw4k-rimi-0.1.4
shrinking /nix/store/ig7c96ld6i05acf046np9m8x2gw4xw4k-rimi-0.1.4/bin/rimi
checking for references to /build/ in /nix/store/ig7c96ld6i05acf046np9m8x2gw4xw4k-rimi-0.1.4...
patching script interpreter paths in /nix/store/ig7c96ld6i05acf046np9m8x2gw4xw4k-rimi-0.1.4
stripping (with command strip and flags -S -p) in  /nix/store/ig7c96ld6i05acf046np9m8x2gw4xw4k-rimi-0.1.4/bin