Remove str_count as non-reliable benchmark #266
Annotations
11 warnings
Running clippy:
tango-bench/src/cli.rs#L749
warning: unused variable: `path`
--> tango-bench/src/cli.rs:749:23
|
749 | fn generate_plots(path: &Path, sample_dumps: &[PathBuf]) -> Result<()> {
| ^^^^ help: if this is intentional, prefix it with an underscore: `_path`
|
= note: `#[warn(unused_variables)]` on by default
|
Running clippy:
tango-bench/src/cli.rs#L749
warning: unused variable: `path`
--> tango-bench/src/cli.rs:749:23
|
749 | fn generate_plots(path: &Path, sample_dumps: &[PathBuf]) -> Result<()> {
| ^^^^ help: if this is intentional, prefix it with an underscore: `_path`
|
= note: `#[warn(unused_variables)]` on by default
|
Running clippy:
tango-bench/src/lib.rs#L741
warning: struct `PlatformTimer` is never constructed
--> tango-bench/src/lib.rs:741:23
|
741 | pub(super) struct PlatformTimer;
| ^^^^^^^^^^^^^
|
= note: `#[warn(dead_code)]` on by default
|
Running clippy:
tango-bench/src/lib.rs#L741
warning: struct `PlatformTimer` is never constructed
--> tango-bench/src/lib.rs:741:23
|
741 | pub(super) struct PlatformTimer;
| ^^^^^^^^^^^^^
|
= note: `#[warn(dead_code)]` on by default
|
Running clippy:
tango-bench/src/dylib.rs#L66
warning: creating a mutable reference to mutable static is discouraged
--> tango-bench/src/dylib.rs:66:18
|
66 | unsafe { SELF_VTABLE.take() }.map(|vt| spi_handle_for_vtable(vt, mode))
| ^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
|
= note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2024/static-mut-references.html>
= note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
= note: `#[warn(static_mut_refs)]` on by default
|
Running clippy:
tango-bench/src/dylib.rs#L299
warning: creating a shared reference to mutable static is discouraged
--> tango-bench/src/dylib.rs:299:12
|
299 | if STATE.is_none() {
| ^^^^^^^^^^^^^^^ shared reference to mutable static
|
= note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2024/static-mut-references.html>
= note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
|
Running clippy:
tango-bench/src/dylib.rs#L349
warning: creating a shared reference to mutable static is discouraged
--> tango-bench/src/dylib.rs:349:9
|
349 | / STATE
350 | | .as_ref()
| |_____________________^ shared reference to mutable static
|
= note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2024/static-mut-references.html>
= note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
|
Running clippy:
tango-bench/src/dylib.rs#L357
warning: creating a mutable reference to mutable static is discouraged
--> tango-bench/src/dylib.rs:357:26
|
357 | if let Some(s) = STATE.as_mut() {
| ^^^^^^^^^^^^^^ mutable reference to mutable static
|
= note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2024/static-mut-references.html>
= note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
|
Running clippy:
tango-bench/src/dylib.rs#L371
warning: creating a shared reference to mutable static is discouraged
--> tango-bench/src/dylib.rs:371:26
|
371 | if let Some(s) = STATE.as_ref() {
| ^^^^^^^^^^^^^^ shared reference to mutable static
|
= note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2024/static-mut-references.html>
= note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
|
Running clippy:
tango-bench/src/dylib.rs#L383
warning: creating a mutable reference to mutable static is discouraged
--> tango-bench/src/dylib.rs:383:26
|
383 | if let Some(s) = STATE.as_mut() {
| ^^^^^^^^^^^^^^ mutable reference to mutable static
|
= note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2024/static-mut-references.html>
= note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
|
The following artifacts were uploaded using a version of actions/upload-artifact that is scheduled for deprecation: "benchmark.txt".
Please update your workflow to use v4 of the artifact actions.
Learn more: https://github.blog/changelog/2024-04-16-deprecation-notice-v3-of-the-artifact-actions/
|
Loading