[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#cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c for pr-143170 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Feric-wood%2Fvst" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [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-4-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/eric-wood/vst on toolchain cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating git repository `https://github.com/wrl/baseplug` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded raw-window-handle v0.3.3 [INFO] [stderr] Downloaded itoa v0.4.6 [INFO] [stderr] Downloaded cc v1.0.65 [INFO] [stderr] Downloaded vst v0.2.1 [INFO] [stderr] Downloaded serde_derive v1.0.117 [INFO] [stderr] Downloaded serde v1.0.117 [INFO] [stderr] Downloaded serde_json v1.0.59 [INFO] [stderr] Downloaded syn v1.0.52 [INFO] [stderr] Downloaded libc v0.2.80 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] eeadd814352e85c40f0a7d37e784671b820cd7fb6694b0ec05fb1e1986880030 [INFO] running `Command { std: "docker" "start" "-a" "eeadd814352e85c40f0a7d37e784671b820cd7fb6694b0ec05fb1e1986880030", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "eeadd814352e85c40f0a7d37e784671b820cd7fb6694b0ec05fb1e1986880030", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "eeadd814352e85c40f0a7d37e784671b820cd7fb6694b0ec05fb1e1986880030", kill_on_drop: false }` [INFO] [stdout] eeadd814352e85c40f0a7d37e784671b820cd7fb6694b0ec05fb1e1986880030 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ea7d814bec3175633de9665ddc310558164f0f68043016b9ea9ab3cbfff0480c [INFO] running `Command { std: "docker" "start" "-a" "ea7d814bec3175633de9665ddc310558164f0f68043016b9ea9ab3cbfff0480c", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.52 [INFO] [stderr] Compiling libc v0.2.80 [INFO] [stderr] Compiling serde_derive v1.0.117 [INFO] [stderr] Compiling cc v1.0.65 [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling quote v1.0.7 [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: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/lib.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | baseplug::model! { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _`Parameters` is not local [INFO] [stdout] | | [INFO] [stdout] 20 | | #[derive(Debug, Serialize, Deserialize)] [INFO] [stdout] 21 | | struct DelayModel { [INFO] [stdout] | | ---------- [INFO] [stdout] | | | [INFO] [stdout] | | `DelayModelSmooth` is not local [INFO] [stdout] | | `DelayModelSmooth` is not local [INFO] [stdout] 22 | | #[model(min = -90.0, max = 3.0)] [INFO] [stdout] ... | [INFO] [stdout] 42 | | } [INFO] [stdout] | |_- move the `impl` block outside of this constant `_IMPL_PARAMETERS_FOR_DelayModel` [INFO] [stdout] | [INFO] [stdout] = note: the macro `baseplug::model` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the macro `baseplug::model` may come from an old version of the `baseplug_derive` crate, try updating your dependency with `cargo update -p baseplug_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning 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] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/lib.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | baseplug::model! { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _`Parameters` is not local [INFO] [stdout] | | [INFO] [stdout] 20 | | #[derive(Debug, Serialize, Deserialize)] [INFO] [stdout] 21 | | struct DelayModel { [INFO] [stdout] | | ---------- [INFO] [stdout] | | | [INFO] [stdout] | | `DelayModelSmooth` is not local [INFO] [stdout] | | `DelayModelSmooth` is not local [INFO] [stdout] 22 | | #[model(min = -90.0, max = 3.0)] [INFO] [stdout] ... | [INFO] [stdout] 42 | | } [INFO] [stdout] | |_- move the `impl` block outside of this constant `_IMPL_PARAMETERS_FOR_DelayModel` [INFO] [stdout] | [INFO] [stdout] = note: the macro `baseplug::model` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the macro `baseplug::model` may come from an old version of the `baseplug_derive` crate, try updating your dependency with `cargo update -p baseplug_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the macro `baseplug::model` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 16.25s [INFO] running `Command { std: "docker" "inspect" "ea7d814bec3175633de9665ddc310558164f0f68043016b9ea9ab3cbfff0480c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ea7d814bec3175633de9665ddc310558164f0f68043016b9ea9ab3cbfff0480c", kill_on_drop: false }` [INFO] [stdout] ea7d814bec3175633de9665ddc310558164f0f68043016b9ea9ab3cbfff0480c