[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#c43786c9b7b8d8dcc3f9c604e0e3074c16ed69d3 for pr-141352 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Feric-wood%2Fvst" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/eric-wood/vst on toolchain c43786c9b7b8d8dcc3f9c604e0e3074c16ed69d3 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c43786c9b7b8d8dcc3f9c604e0e3074c16ed69d3" "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-2-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" "+c43786c9b7b8d8dcc3f9c604e0e3074c16ed69d3" "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-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+c43786c9b7b8d8dcc3f9c604e0e3074c16ed69d3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 85eb297681184e44711afc0c592d4d6555cbe7da1362fe09e5f9d51e629058f4 [INFO] running `Command { std: "docker" "start" "-a" "85eb297681184e44711afc0c592d4d6555cbe7da1362fe09e5f9d51e629058f4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "85eb297681184e44711afc0c592d4d6555cbe7da1362fe09e5f9d51e629058f4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "85eb297681184e44711afc0c592d4d6555cbe7da1362fe09e5f9d51e629058f4", kill_on_drop: false }` [INFO] [stdout] 85eb297681184e44711afc0c592d4d6555cbe7da1362fe09e5f9d51e629058f4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+c43786c9b7b8d8dcc3f9c604e0e3074c16ed69d3" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5ff96974c0b1fdd7a35c8783228656935cf6dc924e80098fa38118b9726711a7 [INFO] running `Command { std: "docker" "start" "-a" "5ff96974c0b1fdd7a35c8783228656935cf6dc924e80098fa38118b9726711a7", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling syn v1.0.52 [INFO] [stderr] Compiling cc v1.0.65 [INFO] [stderr] Compiling serde_derive v1.0.117 [INFO] [stderr] Compiling libc v0.2.80 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling serde v1.0.117 [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Compiling serde_json v1.0.59 [INFO] [stderr] Checking itoa v0.4.6 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling quote v1.0.7 [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 11.21s [INFO] running `Command { std: "docker" "inspect" "5ff96974c0b1fdd7a35c8783228656935cf6dc924e80098fa38118b9726711a7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5ff96974c0b1fdd7a35c8783228656935cf6dc924e80098fa38118b9726711a7", kill_on_drop: false }` [INFO] [stdout] 5ff96974c0b1fdd7a35c8783228656935cf6dc924e80098fa38118b9726711a7