[INFO] cloning repository https://github.com/eric-wood/vst [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/eric-wood/vst" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Feric-wood%2Fvst", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Feric-wood%2Fvst'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] e18403cbe02010445036c6816f0204b702cf5673 [INFO] checking eric-wood/vst against master#5518eaa946291f00471af8b254b2a1715f234882 for pr-120393 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Feric-wood%2Fvst" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/eric-wood/vst on toolchain 5518eaa946291f00471af8b254b2a1715f234882 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+5518eaa946291f00471af8b254b2a1715f234882" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/eric-wood/vst [INFO] finished tweaking git repo https://github.com/eric-wood/vst [INFO] tweaked toml for git repo https://github.com/eric-wood/vst written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/eric-wood/vst already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+5518eaa946291f00471af8b254b2a1715f234882" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating git repository `https://github.com/wrl/baseplug` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+5518eaa946291f00471af8b254b2a1715f234882" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 907feacdcafcc5a8748d52d81f32121a41c574f25e453005cb176d13425433e7 [INFO] running `Command { std: "docker" "start" "-a" "907feacdcafcc5a8748d52d81f32121a41c574f25e453005cb176d13425433e7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "907feacdcafcc5a8748d52d81f32121a41c574f25e453005cb176d13425433e7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "907feacdcafcc5a8748d52d81f32121a41c574f25e453005cb176d13425433e7", kill_on_drop: false }` [INFO] [stdout] 907feacdcafcc5a8748d52d81f32121a41c574f25e453005cb176d13425433e7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+5518eaa946291f00471af8b254b2a1715f234882" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 378db32bbe577ca58dc698b8528a1427db0634295cd80029ffc9cf3eccfce3e6 [INFO] running `Command { std: "docker" "start" "-a" "378db32bbe577ca58dc698b8528a1427db0634295cd80029ffc9cf3eccfce3e6", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.52 [INFO] [stderr] Compiling libc v0.2.80 [INFO] [stderr] Compiling cc v1.0.65 [INFO] [stderr] Compiling serde_derive v1.0.117 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling serde v1.0.117 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling serde_json v1.0.59 [INFO] [stderr] Checking itoa v0.4.6 [INFO] [stderr] Compiling libloading v0.5.2 [INFO] [stderr] Checking raw-window-handle v0.3.3 [INFO] [stderr] Checking vst v0.2.1 [INFO] [stderr] Compiling baseplug-derive v0.1.0 (https://github.com/wrl/baseplug?branch=trunk#22d31f4b) [INFO] [stderr] Checking baseplug v0.1.0 (https://github.com/wrl/baseplug?branch=trunk#22d31f4b) [INFO] [stderr] Checking vst v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: the feature `generic_associated_types` has been stable since 1.65.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/lib.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | #![feature(generic_associated_types)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `generic_associated_types` has been stable since 1.65.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/lib.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | #![feature(generic_associated_types)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `set` is never used [INFO] [stdout] --> src/clipper.rs:10:10 [INFO] [stdout] | [INFO] [stdout] 5 | impl Clipper { [INFO] [stdout] | ------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 10 | pub fn set(&mut self, gain: f32) { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `BandPass`, `AllPass`, `Notch`, and `Peak` are never constructed [INFO] [stdout] --> src/svf.rs:7:3 [INFO] [stdout] | [INFO] [stdout] 4 | pub enum Type { [INFO] [stdout] | ---- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 7 | BandPass, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 8 | AllPass, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 9 | Notch, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 10 | Peak, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Type` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `sample_rate` is never read [INFO] [stdout] --> src/svf.rs:15:3 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct Svf { [INFO] [stdout] | --- field in this struct [INFO] [stdout] 14 | filter_type: Type, [INFO] [stdout] 15 | sample_rate: f32, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `set` is never used [INFO] [stdout] --> src/svf.rs:46:10 [INFO] [stdout] | [INFO] [stdout] 25 | impl Svf { [INFO] [stdout] | -------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 46 | pub fn set(&mut self, cutoff: f32, resonance: f32) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `set` is never used [INFO] [stdout] --> src/clipper.rs:10:10 [INFO] [stdout] | [INFO] [stdout] 5 | impl Clipper { [INFO] [stdout] | ------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 10 | pub fn set(&mut self, gain: f32) { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `BandPass`, `AllPass`, `Notch`, and `Peak` are never constructed [INFO] [stdout] --> src/svf.rs:7:3 [INFO] [stdout] | [INFO] [stdout] 4 | pub enum Type { [INFO] [stdout] | ---- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 7 | BandPass, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 8 | AllPass, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 9 | Notch, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 10 | Peak, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Type` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `sample_rate` is never read [INFO] [stdout] --> src/svf.rs:15:3 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct Svf { [INFO] [stdout] | --- field in this struct [INFO] [stdout] 14 | filter_type: Type, [INFO] [stdout] 15 | sample_rate: f32, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `set` is never used [INFO] [stdout] --> src/svf.rs:46:10 [INFO] [stdout] | [INFO] [stdout] 25 | impl Svf { [INFO] [stdout] | -------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 46 | pub fn set(&mut self, cutoff: f32, resonance: f32) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 8.22s [INFO] running `Command { std: "docker" "inspect" "378db32bbe577ca58dc698b8528a1427db0634295cd80029ffc9cf3eccfce3e6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "378db32bbe577ca58dc698b8528a1427db0634295cd80029ffc9cf3eccfce3e6", kill_on_drop: false }` [INFO] [stdout] 378db32bbe577ca58dc698b8528a1427db0634295cd80029ffc9cf3eccfce3e6 [INFO] checking eric-wood/vst against try#7622c0f807a4e13c4db886a1681bf343795692df+rustflags=-Dnon_local_definitions for pr-120393 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Feric-wood%2Fvst" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/eric-wood/vst on toolchain 7622c0f807a4e13c4db886a1681bf343795692df [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+7622c0f807a4e13c4db886a1681bf343795692df" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/eric-wood/vst [INFO] finished tweaking git repo https://github.com/eric-wood/vst [INFO] tweaked toml for git repo https://github.com/eric-wood/vst written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/eric-wood/vst already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+7622c0f807a4e13c4db886a1681bf343795692df" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+7622c0f807a4e13c4db886a1681bf343795692df" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0e72a55ba69085194553c2cfd3d1f2154523ed8721a53fe9072872f434460eb4 [INFO] running `Command { std: "docker" "start" "-a" "0e72a55ba69085194553c2cfd3d1f2154523ed8721a53fe9072872f434460eb4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0e72a55ba69085194553c2cfd3d1f2154523ed8721a53fe9072872f434460eb4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0e72a55ba69085194553c2cfd3d1f2154523ed8721a53fe9072872f434460eb4", kill_on_drop: false }` [INFO] [stdout] 0e72a55ba69085194553c2cfd3d1f2154523ed8721a53fe9072872f434460eb4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid -Dnon_local_definitions" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+7622c0f807a4e13c4db886a1681bf343795692df" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 090420de25e42e471c6fcfd0221d9afffbf78719ef63217311566840e86cfea6 [INFO] running `Command { std: "docker" "start" "-a" "090420de25e42e471c6fcfd0221d9afffbf78719ef63217311566840e86cfea6", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.52 [INFO] [stderr] Compiling libc v0.2.80 [INFO] [stderr] Compiling cc v1.0.65 [INFO] [stderr] Compiling serde_derive v1.0.117 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling serde v1.0.117 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling serde_json v1.0.59 [INFO] [stderr] Checking itoa v0.4.6 [INFO] [stderr] Compiling libloading v0.5.2 [INFO] [stderr] Checking raw-window-handle v0.3.3 [INFO] [stderr] Checking vst v0.2.1 [INFO] [stderr] Compiling baseplug-derive v0.1.0 (https://github.com/wrl/baseplug?branch=trunk#22d31f4b) [INFO] [stderr] Checking baseplug v0.1.0 (https://github.com/wrl/baseplug?branch=trunk#22d31f4b) [INFO] [stderr] Checking vst v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: the feature `generic_associated_types` has been stable since 1.65.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/lib.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | #![feature(generic_associated_types)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `generic_associated_types` has been stable since 1.65.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/lib.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | #![feature(generic_associated_types)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `set` is never used [INFO] [stdout] --> src/clipper.rs:10:10 [INFO] [stdout] | [INFO] [stdout] 5 | impl Clipper { [INFO] [stdout] | ------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 10 | pub fn set(&mut self, gain: f32) { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `BandPass`, `AllPass`, `Notch`, and `Peak` are never constructed [INFO] [stdout] --> src/svf.rs:7:3 [INFO] [stdout] | [INFO] [stdout] 4 | pub enum Type { [INFO] [stdout] | ---- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 7 | BandPass, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 8 | AllPass, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 9 | Notch, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 10 | Peak, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Type` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `sample_rate` is never read [INFO] [stdout] --> src/svf.rs:15:3 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct Svf { [INFO] [stdout] | --- field in this struct [INFO] [stdout] 14 | filter_type: Type, [INFO] [stdout] 15 | sample_rate: f32, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `set` is never used [INFO] [stdout] --> src/svf.rs:46:10 [INFO] [stdout] | [INFO] [stdout] 25 | impl Svf { [INFO] [stdout] | -------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 46 | pub fn set(&mut self, cutoff: f32, resonance: f32) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/lib.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | / baseplug::model! { [INFO] [stdout] 20 | | #[derive(Debug, Serialize, Deserialize)] [INFO] [stdout] 21 | | struct DelayModel { [INFO] [stdout] 22 | | #[model(min = -90.0, max = 3.0)] [INFO] [stdout] ... | [INFO] [stdout] 41 | | } [INFO] [stdout] 42 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current constant `_IMPL_PARAMETERS_FOR_DelayModel` [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: requested on the command line with `-D non-local-definitions` [INFO] [stdout] = note: this error originates in the macro `baseplug::model` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `set` is never used [INFO] [stdout] --> src/clipper.rs:10:10 [INFO] [stdout] | [INFO] [stdout] 5 | impl Clipper { [INFO] [stdout] | ------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 10 | pub fn set(&mut self, gain: f32) { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `BandPass`, `AllPass`, `Notch`, and `Peak` are never constructed [INFO] [stdout] --> src/svf.rs:7:3 [INFO] [stdout] | [INFO] [stdout] 4 | pub enum Type { [INFO] [stdout] | ---- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 7 | BandPass, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 8 | AllPass, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 9 | Notch, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 10 | Peak, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Type` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `sample_rate` is never read [INFO] [stdout] --> src/svf.rs:15:3 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct Svf { [INFO] [stdout] | --- field in this struct [INFO] [stdout] 14 | filter_type: Type, [INFO] [stdout] 15 | sample_rate: f32, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `set` is never used [INFO] [stdout] --> src/svf.rs:46:10 [INFO] [stdout] | [INFO] [stdout] 25 | impl Svf { [INFO] [stdout] | -------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 46 | pub fn set(&mut self, cutoff: f32, resonance: f32) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/lib.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | / baseplug::model! { [INFO] [stdout] 20 | | #[derive(Debug, Serialize, Deserialize)] [INFO] [stdout] 21 | | struct DelayModel { [INFO] [stdout] 22 | | #[model(min = -90.0, max = 3.0)] [INFO] [stdout] ... | [INFO] [stdout] 41 | | } [INFO] [stdout] 42 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current constant `_IMPL_PARAMETERS_FOR_DelayModel` [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: requested on the command line with `-D non-local-definitions` [INFO] [stdout] = note: this error originates in the macro `baseplug::model` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error; 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error; 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `vst` (lib test) due to 2 previous errors; 5 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `vst` (lib) due to 2 previous errors; 5 warnings emitted [INFO] running `Command { std: "docker" "inspect" "090420de25e42e471c6fcfd0221d9afffbf78719ef63217311566840e86cfea6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "090420de25e42e471c6fcfd0221d9afffbf78719ef63217311566840e86cfea6", kill_on_drop: false }` [INFO] [stdout] 090420de25e42e471c6fcfd0221d9afffbf78719ef63217311566840e86cfea6