feat: add main/subprocess mode to test harness #35
clippy
8 errors
Details
Results
Message level | Amount |
---|---|
Internal compiler error | 0 |
Error | 8 |
Warning | 0 |
Note | 0 |
Help | 0 |
Versions
- rustc 1.79.0 (129f3b996 2024-06-10)
- cargo 1.79.0 (ffa9cf99a 2024-06-03)
- clippy 0.1.79 (129f3b9 2024-06-10)
Annotations
Check failure on line 132 in src/harness/run.rs
github-actions / clippy
function `run_dylib_test` is never used
error: function `run_dylib_test` is never used
--> src/harness/run.rs:132:4
|
132 | fn run_dylib_test(test_dylib: &LinkOutput) -> Result<RunOutput, RunError> {
| ^^^^^^^^^^^^^^
Check failure on line 90 in src/harness/run.rs
github-actions / clippy
function `write_val` is never used
error: function `write_val` is never used
--> src/harness/run.rs:90:26
|
90 | pub unsafe extern "C" fn write_val(
| ^^^^^^^^^
Check failure on line 78 in src/harness/run.rs
github-actions / clippy
type alias `TestInit` is never used
error: type alias `TestInit` is never used
--> src/harness/run.rs:78:10
|
78 | pub type TestInit =
| ^^^^^^^^
Check failure on line 77 in src/harness/run.rs
github-actions / clippy
type alias `WriteValCallback` is never used
error: type alias `WriteValCallback` is never used
--> src/harness/run.rs:77:10
|
77 | pub type WriteValCallback = unsafe extern "C" fn(&mut TestBuffer, u32, *const u8, u32) -> ();
| ^^^^^^^^^^^^^^^^
Check failure on line 76 in src/harness/run.rs
github-actions / clippy
type alias `SetFuncCallback` is never used
error: type alias `SetFuncCallback` is never used
--> src/harness/run.rs:76:10
|
76 | pub type SetFuncCallback = unsafe extern "C" fn(&mut TestBuffer, u32) -> ();
| ^^^^^^^^^^^^^^^
Check failure on line 13 in src/harness/run.rs
github-actions / clippy
method `run_dylib_test` is never used
error: method `run_dylib_test` is never used
--> src/harness/run.rs:13:18
|
12 | impl TestHarness {
| ---------------- method in this implementation
13 | pub async fn run_dylib_test(
| ^^^^^^^^^^^^^^
Check failure on line 133 in src/harness/build.rs
github-actions / clippy
function `build_harness_dylib` is never used
error: function `build_harness_dylib` is never used
--> src/harness/build.rs:133:4
|
133 | fn build_harness_dylib(
| ^^^^^^^^^^^^^^^^^^^
Check failure on line 63 in src/harness/build.rs
github-actions / clippy
methods `link_dylib` and `dynamic_lib_name` are never used
error: methods `link_dylib` and `dynamic_lib_name` are never used
--> src/harness/build.rs:63:18
|
12 | impl TestHarness {
| ---------------- methods in this implementation
...
63 | pub async fn link_dylib(
| ^^^^^^^^^^
...
102 | fn dynamic_lib_name(&self, key: &TestKey) -> String {
| ^^^^^^^^^^^^^^^^
|
= note: `-D dead-code` implied by `-D warnings`
= help: to override `-D warnings` add `#[allow(dead_code)]`