chore(examples): set max oversample to 64x for saturators #32
Annotations
10 errors and 27 warnings
clippy
could not compile `abrasive` (lib) due to 6 previous errors; 5 warnings emitted
|
clippy
could not compile `ts404` (lib) due to 9 previous errors; 1 warning emitted
|
mismatched types:
plugins/abrasive/src/editor/mod.rs#L42
error[E0308]: mismatched types
--> plugins/abrasive/src/editor/mod.rs:42:5
|
41 | pub(crate) fn create(data: Data, state: Arc<ViziaState>) -> Option<Box<dyn Editor>> {
| ----------------------- expected `std::option::Option<std::boxed::Box<(dyn nih_plug::prelude::Editor + 'static)>>` because of return type
42 | / create_vizia_editor(state, ViziaTheming::Custom, move |cx, _| {
43 | | cx.emit(EnvironmentEvent::SetThemeMode(AppTheme::BuiltIn(
44 | | ThemeMode::DarkMode,
45 | | )));
... |
73 | | .id("ui");
74 | | })
| |______^ expected trait `nih_plug::prelude::Editor`, found trait `nih_plug::editor::Editor`
|
= note: expected enum `std::option::Option<std::boxed::Box<(dyn nih_plug::prelude::Editor + 'static)>>`
found enum `std::option::Option<std::boxed::Box<(dyn nih_plug::editor::Editor + 'static)>>`
= note: perhaps two different versions of crate `nih_plug` are being used?
|
the trait bound `nih_plug::prelude::EnumParam<E>: nih_plug::params::Param` is not satisfied:
plugins/abrasive/src/editor/band.rs#L30
error[E0277]: the trait bound `nih_plug::prelude::EnumParam<E>: nih_plug::params::Param` is not satisfied
--> plugins/abrasive/src/editor/band.rs:30:19
|
30 | ctrl: ParamWidgetBase::new(cx, Data::params, move |p: &Arc<AbrasiveParams>| {
| ___________________^
31 | | get_param(&p.dsp_params.filters[selected])
32 | | }),
| |______________^ the trait `nih_plug::params::Param` is not implemented for `nih_plug::prelude::EnumParam<E>`
|
= help: the following other types implement trait `nih_plug::params::Param`:
nih_plug::params::boolean::BoolParam
nih_plug::params::enums::EnumParam<T>
nih_plug::params::enums::EnumParamInner
nih_plug::params::float::FloatParam
nih_plug::params::integer::IntParam
note: required by a bound in `nih_plug_vizia::widgets::param_base::ParamWidgetBase::new`
--> /home/runner/.cargo/git/checkouts/nih-plug-a2d2dc277b128e13/dfafe90/nih_plug_vizia/src/widgets/param_base.rs:110:12
|
106 | pub fn new<L, Params, P, FMap>(cx: &Context, params: L, params_to_param: FMap) -> Self
| --- required by a bound in this associated function
...
110 | P: Param,
| ^^^^^ required by this bound in `ParamWidgetBase::new`
|
the trait bound `P: nih_plug::params::Param` is not satisfied:
plugins/abrasive/src/editor/components/knob.rs#L29
error[E0277]: the trait bound `P: nih_plug::params::Param` is not satisfied
--> plugins/abrasive/src/editor/components/knob.rs:29:26
|
29 | widget_base: ParamWidgetBase::new(cx, params, get_param),
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `nih_plug::params::Param` is not implemented for `P`
|
note: required by a bound in `nih_plug_vizia::widgets::param_base::ParamWidgetBase::new`
--> /home/runner/.cargo/git/checkouts/nih-plug-a2d2dc277b128e13/dfafe90/nih_plug_vizia/src/widgets/param_base.rs:110:12
|
106 | pub fn new<L, Params, P, FMap>(cx: &Context, params: L, params_to_param: FMap) -> Self
| --- required by a bound in this associated function
...
110 | P: Param,
| ^^^^^ required by this bound in `ParamWidgetBase::new`
help: consider further restricting this bound
|
21 | pub fn new<Params: 'static, P: Param + nih_plug::params::Param>(
| +++++++++++++++++++++++++
|
the trait bound `P: nih_plug::params::Param` is not satisfied:
plugins/abrasive/src/editor/components/knob.rs#L92
error[E0277]: the trait bound `P: nih_plug::params::Param` is not satisfied
--> plugins/abrasive/src/editor/components/knob.rs:92:26
|
92 | widget_base: ParamWidgetBase::new(cx, params, get_param),
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `nih_plug::params::Param` is not implemented for `P`
|
note: required by a bound in `nih_plug_vizia::widgets::param_base::ParamWidgetBase::new`
--> /home/runner/.cargo/git/checkouts/nih-plug-a2d2dc277b128e13/dfafe90/nih_plug_vizia/src/widgets/param_base.rs:110:12
|
106 | pub fn new<L, Params, P, FMap>(cx: &Context, params: L, params_to_param: FMap) -> Self
| --- required by a bound in this associated function
...
110 | P: Param,
| ^^^^^ required by this bound in `ParamWidgetBase::new`
help: consider further restricting this bound
|
86 | pub fn new<Params: 'static, P: Param + nih_plug::params::Param>(
| +++++++++++++++++++++++++
|
the trait bound `P: nih_plug::params::Param` is not satisfied:
plugins/abrasive/src/editor/components/knob.rs#L161
error[E0277]: the trait bound `P: nih_plug::params::Param` is not satisfied
--> plugins/abrasive/src/editor/components/knob.rs:161:26
|
161 | widget_base: ParamWidgetBase::new(cx, params, get_param),
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `nih_plug::params::Param` is not implemented for `P`
|
note: required by a bound in `nih_plug_vizia::widgets::param_base::ParamWidgetBase::new`
--> /home/runner/.cargo/git/checkouts/nih-plug-a2d2dc277b128e13/dfafe90/nih_plug_vizia/src/widgets/param_base.rs:110:12
|
106 | pub fn new<L, Params, P, FMap>(cx: &Context, params: L, params_to_param: FMap) -> Self
| --- required by a bound in this associated function
...
110 | P: Param,
| ^^^^^ required by this bound in `ParamWidgetBase::new`
help: consider further restricting this bound
|
154 | pub fn new<Params: 'static, P: Param + nih_plug::params::Param>(
| +++++++++++++++++++++++++
|
the trait bound `nih_plug::prelude::BoolParam: nih_plug::params::Param` is not satisfied:
plugins/ts404/src/editor/mod.rs#L78
error[E0277]: the trait bound `nih_plug::prelude::BoolParam: nih_plug::params::Param` is not satisfied
--> plugins/ts404/src/editor/mod.rs:78:26
|
78 | let param_base = ParamWidgetBase::new(cx, params, get_param);
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `nih_plug::params::Param` is not implemented for `nih_plug::prelude::BoolParam`
|
= help: the following other types implement trait `nih_plug::params::Param`:
nih_plug::params::boolean::BoolParam
nih_plug::params::enums::EnumParam<T>
nih_plug::params::enums::EnumParamInner
nih_plug::params::float::FloatParam
nih_plug::params::integer::IntParam
note: required by a bound in `nih_plug_vizia::widgets::param_base::ParamWidgetBase::new`
--> /home/runner/.cargo/git/checkouts/nih-plug-a2d2dc277b128e13/dfafe90/nih_plug_vizia/src/widgets/param_base.rs:110:12
|
106 | pub fn new<L, Params, P, FMap>(cx: &Context, params: L, params_to_param: FMap) -> Self
| --- required by a bound in this associated function
...
110 | P: Param,
| ^^^^^ required by this bound in `ParamWidgetBase::new`
|
the trait bound `P: nih_plug::params::Param` is not satisfied:
plugins/ts404/src/editor/mod.rs#L104
error[E0277]: the trait bound `P: nih_plug::params::Param` is not satisfied
--> plugins/ts404/src/editor/mod.rs:104:26
|
104 | let param_base = ParamWidgetBase::new(cx, params, get_param);
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `nih_plug::params::Param` is not implemented for `P`
|
note: required by a bound in `nih_plug_vizia::widgets::param_base::ParamWidgetBase::new`
--> /home/runner/.cargo/git/checkouts/nih-plug-a2d2dc277b128e13/dfafe90/nih_plug_vizia/src/widgets/param_base.rs:110:12
|
106 | pub fn new<L, Params, P, FMap>(cx: &Context, params: L, params_to_param: FMap) -> Self
| --- required by a bound in this associated function
...
110 | P: Param,
| ^^^^^ required by this bound in `ParamWidgetBase::new`
help: consider further restricting this bound
|
88 | fn labelled_node_float<P: 'static + Param + nih_plug::params::Param>(
| +++++++++++++++++++++++++
|
mismatched types:
plugins/ts404/src/editor/mod.rs#L22
error[E0308]: mismatched types
--> plugins/ts404/src/editor/mod.rs:22:5
|
21 | ) -> Option<Box<dyn Editor>> {
| ----------------------- expected `std::option::Option<std::boxed::Box<(dyn nih_plug::prelude::Editor + 'static)>>` because of return type
22 | / create_vizia_editor(
23 | | params.editor_state.clone(),
24 | | ViziaTheming::Builtin,
25 | | move |cx, _gui_cx| {
... |
59 | | },
60 | | )
| |_____^ expected trait `nih_plug::prelude::Editor`, found trait `nih_plug::editor::Editor`
|
= note: expected enum `std::option::Option<std::boxed::Box<(dyn nih_plug::prelude::Editor + 'static)>>`
found enum `std::option::Option<std::boxed::Box<(dyn nih_plug::editor::Editor + 'static)>>`
= note: perhaps two different versions of crate `nih_plug` are being used?
|
clippy
Your workflow is using a version of actions/cache that is scheduled for deprecation, actions/cache@v2. Please update your workflow to use either v3 or v4 of actions/cache to avoid interruptions. Learn more: https://github.blog/changelog/2024-12-05-notice-of-upcoming-releases-and-breaking-changes-for-github-actions/#actions-cache-v1-v2-and-actions-toolkit-cache-package-closing-down
|
clippy
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
clippy
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
clippy
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
clippy
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
clippy
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
clippy
`/home/runner/work/valib/valib/.cargo/config` is deprecated in favor of `config.toml`
|
clippy
`/home/runner/work/valib/valib/.cargo/config` is deprecated in favor of `config.toml`
|
the feature `generic_const_exprs` is incomplete and may not be safe to use and/or cause compiler crashes:
crates/valib-core/src/lib.rs#L6
warning: the feature `generic_const_exprs` is incomplete and may not be safe to use and/or cause compiler crashes
--> crates/valib-core/src/lib.rs:6:12
|
6 | #![feature(generic_const_exprs)]
| ^^^^^^^^^^^^^^^^^^^
|
= note: see issue #76560 <https://github.com/rust-lang/rust/issues/76560> for more information
= note: `#[warn(incomplete_features)]` on by default
|
unexpected `cfg` condition value: `math-polynom`:
crates/valib-core/src/math/mod.rs#L14
warning: unexpected `cfg` condition value: `math-polynom`
--> crates/valib-core/src/math/mod.rs:14:7
|
14 | #[cfg(feature = "math-polynom")]
| ^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: expected values for `feature` are: `test-utils`
= help: consider adding `math-polynom` as a feature in `Cargo.toml`
= note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
= note: `#[warn(unexpected_cfgs)]` on by default
|
unexpected `cfg` condition name: `never`:
crates/valib-filters/src/biquad/mod.rs#L22
warning: unexpected `cfg` condition name: `never`
--> crates/valib-filters/src/biquad/mod.rs:22:7
|
22 | #[cfg(never)]
| ^^^^^
|
= help: expected names are: `clippy`, `debug_assertions`, `doc`, `docsrs`, `doctest`, `feature`, `miri`, `overflow_checks`, `panic`, `proc_macro`, `relocation_model`, `rustfmt`, `sanitize`, `sanitizer_cfi_generalize_pointers`, `sanitizer_cfi_normalize_integers`, `target_abi`, `target_arch`, `target_endian`, `target_env`, `target_family`, `target_feature`, `target_has_atomic`, `target_has_atomic_equal_alignment`, `target_has_atomic_load_store`, `target_os`, `target_pointer_width`, `target_thread_local`, `target_vendor`, `test`, `ub_checks`, `unix`, and `windows`
= help: consider using a Cargo feature instead
= help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint:
[lints.rust]
unexpected_cfgs = { level = "warn", check-cfg = ['cfg(never)'] }
= help: or consider adding `println!("cargo::rustc-check-cfg=cfg(never)");` to the top of the `build.rs`
= note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
= note: `#[warn(unexpected_cfgs)]` on by default
|
the feature `generic_const_exprs` is incomplete and may not be safe to use and/or cause compiler crashes:
crates/valib-fundsp/src/lib.rs#L2
warning: the feature `generic_const_exprs` is incomplete and may not be safe to use and/or cause compiler crashes
--> crates/valib-fundsp/src/lib.rs:2:12
|
2 | #![feature(generic_const_exprs)]
| ^^^^^^^^^^^^^^^^^^^
|
= note: see issue #76560 <https://github.com/rust-lang/rust/issues/76560> for more information
= note: `#[warn(incomplete_features)]` on by default
|
unused import: `resource::resource`:
plugins/abrasive/src/editor/mod.rs#L8
warning: unused import: `resource::resource`
--> plugins/abrasive/src/editor/mod.rs:8:5
|
8 | use resource::resource;
| ^^^^^^^^^^^^^^^^^^
|
= note: `#[warn(unused_imports)]` on by default
|
unused import: `ErrorKind`:
plugins/abrasive/src/editor/background.rs#L6
warning: unused import: `ErrorKind`
--> plugins/abrasive/src/editor/background.rs:6:33
|
6 | use nih_plug_vizia::vizia::vg::{ErrorKind, FontId, Paint};
| ^^^^^^^^^
|
unused import: `std::hint`:
plugins/abrasive/src/editor/background.rs#L8
warning: unused import: `std::hint`
--> plugins/abrasive/src/editor/background.rs:8:5
|
8 | use std::hint;
| ^^^^^^^^^
|
unexpected `cfg` condition name: `never`:
plugins/abrasive/src/spectrum.rs#L93
warning: unexpected `cfg` condition name: `never`
--> plugins/abrasive/src/spectrum.rs:93:11
|
93 | #[cfg(never)]
| ^^^^^
|
= help: expected names are: `clippy`, `debug_assertions`, `doc`, `docsrs`, `doctest`, `feature`, `miri`, `overflow_checks`, `panic`, `proc_macro`, `relocation_model`, `rustfmt`, `sanitize`, `sanitizer_cfi_generalize_pointers`, `sanitizer_cfi_normalize_integers`, `target_abi`, `target_arch`, `target_endian`, `target_env`, `target_family`, `target_feature`, `target_has_atomic`, `target_has_atomic_equal_alignment`, `target_has_atomic_load_store`, `target_os`, `target_pointer_width`, `target_thread_local`, `target_vendor`, `test`, `ub_checks`, `unix`, and `windows`
= help: consider using a Cargo feature instead
= help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint:
[lints.rust]
unexpected_cfgs = { level = "warn", check-cfg = ['cfg(never)'] }
= help: or consider adding `println!("cargo::rustc-check-cfg=cfg(never)");` to the top of the `build.rs`
= note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
= note: `#[warn(unexpected_cfgs)]` on by default
|
clippy
`/home/runner/work/valib/valib/.cargo/config` is deprecated in favor of `config.toml`
|
clippy
`/home/runner/work/valib/valib/.cargo/config` is deprecated in favor of `config.toml`
|
clippy
`/home/runner/work/valib/valib/.cargo/config` is deprecated in favor of `config.toml`
|
clippy
`/home/runner/work/valib/valib/.cargo/config` is deprecated in favor of `config.toml`
|
clippy
`/home/runner/work/valib/valib/.cargo/config` is deprecated in favor of `config.toml`
|
clippy
`/home/runner/work/valib/valib/.cargo/config` is deprecated in favor of `config.toml`
|
clippy
`/home/runner/work/valib/valib/.cargo/config` is deprecated in favor of `config.toml`
|
clippy
`/home/runner/work/valib/valib/.cargo/config` is deprecated in favor of `config.toml`
|
clippy
`/home/runner/work/valib/valib/.cargo/config` is deprecated in favor of `config.toml`
|
clippy
`/home/runner/work/valib/valib/.cargo/config` is deprecated in favor of `config.toml`
|
clippy
`/home/runner/work/valib/valib/.cargo/config` is deprecated in favor of `config.toml`
|