[INFO] fetching crate lyris 0.0.12... [INFO] checking lyris-0.0.12 against try#a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d for pr-145342-1 [INFO] extracting crate lyris 0.0.12 into /workspace/builds/worker-0-tc2/source [INFO] started tweaking crates.io crate lyris 0.0.12 [INFO] finished tweaking crates.io crate lyris 0.0.12 [INFO] tweaked toml for crates.io crate lyris 0.0.12 written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate lyris 0.0.12 on toolchain a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate lyris 0.0.12 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" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e612bf9cf92fd834c0543d3f9ec570a9584331354aa210352becfbbcd2d7a8da [INFO] running `Command { std: "docker" "start" "-a" "e612bf9cf92fd834c0543d3f9ec570a9584331354aa210352becfbbcd2d7a8da", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e612bf9cf92fd834c0543d3f9ec570a9584331354aa210352becfbbcd2d7a8da", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e612bf9cf92fd834c0543d3f9ec570a9584331354aa210352becfbbcd2d7a8da", kill_on_drop: false }` [INFO] [stdout] e612bf9cf92fd834c0543d3f9ec570a9584331354aa210352becfbbcd2d7a8da [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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" "-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 599c0f59b26487954584c7f0c20dfe209beefcf8fec5031c28f51746bca9581c [INFO] running `Command { std: "docker" "start" "-a" "599c0f59b26487954584c7f0c20dfe209beefcf8fec5031c28f51746bca9581c", kill_on_drop: false }` [INFO] [stderr] Checking owned-alloc v0.2.0 [INFO] [stderr] Checking lockfree v0.5.1 [INFO] [stderr] Checking lyris v0.0.12 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Receiver` [INFO] [stdout] --> src/core/clerk.rs:8:39 [INFO] [stdout] | [INFO] [stdout] 8 | use lockfree::channel::spsc::{Sender, Receiver}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/core/clerk.rs:587:47 [INFO] [stdout] | [INFO] [stdout] 587 | event_tx: lockfree::channel::spsc::Sender<(E)>, [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 587 - event_tx: lockfree::channel::spsc::Sender<(E)>, [INFO] [stdout] 587 + event_tx: lockfree::channel::spsc::Sender, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/core/runtime.rs:19:49 [INFO] [stdout] | [INFO] [stdout] 19 | event_rx: lockfree::channel::spsc::Receiver<(E)>, [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 19 - event_rx: lockfree::channel::spsc::Receiver<(E)>, [INFO] [stdout] 19 + event_rx: lockfree::channel::spsc::Receiver, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around pattern [INFO] [stdout] --> src/core/runtime.rs:72:22 [INFO] [stdout] | [INFO] [stdout] 72 | while let Ok((event)) = self.event_rx.recv() { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 72 - while let Ok((event)) = self.event_rx.recv() { [INFO] [stdout] 72 + while let Ok(event) = self.event_rx.recv() { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::marker::PhantomData` [INFO] [stdout] --> src/core/types.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::marker::PhantomData; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fmt` [INFO] [stdout] --> src/core/types.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::fmt; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Receiver` [INFO] [stdout] --> src/core/clerk.rs:8:39 [INFO] [stdout] | [INFO] [stdout] 8 | use lockfree::channel::spsc::{Sender, Receiver}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/core/clerk.rs:587:47 [INFO] [stdout] | [INFO] [stdout] 587 | event_tx: lockfree::channel::spsc::Sender<(E)>, [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 587 - event_tx: lockfree::channel::spsc::Sender<(E)>, [INFO] [stdout] 587 + event_tx: lockfree::channel::spsc::Sender, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/core/runtime.rs:19:49 [INFO] [stdout] | [INFO] [stdout] 19 | event_rx: lockfree::channel::spsc::Receiver<(E)>, [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 19 - event_rx: lockfree::channel::spsc::Receiver<(E)>, [INFO] [stdout] 19 + event_rx: lockfree::channel::spsc::Receiver, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around pattern [INFO] [stdout] --> src/core/runtime.rs:72:22 [INFO] [stdout] | [INFO] [stdout] 72 | while let Ok((event)) = self.event_rx.recv() { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 72 - while let Ok((event)) = self.event_rx.recv() { [INFO] [stdout] 72 + while let Ok(event) = self.event_rx.recv() { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::marker::PhantomData` [INFO] [stdout] --> src/core/types.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::marker::PhantomData; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fmt` [INFO] [stdout] --> src/core/types.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::fmt; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/core/runtime.rs:119:13 [INFO] [stdout] | [INFO] [stdout] 117 | panic!("output buffer allocated incorrectly"); // debugging panic [INFO] [stdout] | --------------------------------------------- any code following this expression is unreachable [INFO] [stdout] 118 | // fail silently, this means that the output wasn't routed. [INFO] [stdout] 119 | return [INFO] [stdout] | ^^^^^^ unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input_key` [INFO] [stdout] --> src/core/clerk.rs:48:13 [INFO] [stdout] | [INFO] [stdout] 48 | let input_key = input(); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_input_key` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `output_key` [INFO] [stdout] --> src/core/clerk.rs:49:13 [INFO] [stdout] | [INFO] [stdout] 49 | let output_key = output(); [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_output_key` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input_info` [INFO] [stdout] --> src/core/clerk.rs:207:13 [INFO] [stdout] | [INFO] [stdout] 207 | let input_info = self.logical_buffer_map.get(&input_key) [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_input_info` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `output_info` [INFO] [stdout] --> src/core/clerk.rs:213:13 [INFO] [stdout] | [INFO] [stdout] 213 | let output_info = self.logical_buffer_map.get(&output_key) [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_output_info` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `field_count` [INFO] [stdout] --> src/core/runtime.rs:79:80 [INFO] [stdout] | [INFO] [stdout] 79 | StoredComponent::User(UserComponent{component, context_handle, field_count, instance_name, processor_type}) => { [INFO] [stdout] | ^^^^^^^^^^^ help: try ignoring the field: `field_count: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `instance_name` [INFO] [stdout] --> src/core/runtime.rs:79:93 [INFO] [stdout] | [INFO] [stdout] 79 | StoredComponent::User(UserComponent{component, context_handle, field_count, instance_name, processor_type}) => { [INFO] [stdout] | ^^^^^^^^^^^^^ help: try ignoring the field: `instance_name: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `processor_type` [INFO] [stdout] --> src/core/runtime.rs:79:108 [INFO] [stdout] | [INFO] [stdout] 79 | StoredComponent::User(UserComponent{component, context_handle, field_count, instance_name, processor_type}) => { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: try ignoring the field: `processor_type: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `component_id` [INFO] [stdout] --> src/core/runtime.rs:82:57 [INFO] [stdout] | [INFO] [stdout] 82 | StoredComponent::System(SystemComponent{component_id, instance_name, buffer_idx}) => { [INFO] [stdout] | ^^^^^^^^^^^^ help: try ignoring the field: `component_id: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `instance_name` [INFO] [stdout] --> src/core/runtime.rs:82:71 [INFO] [stdout] | [INFO] [stdout] 82 | StoredComponent::System(SystemComponent{component_id, instance_name, buffer_idx}) => { [INFO] [stdout] | ^^^^^^^^^^^^^ help: try ignoring the field: `instance_name: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `buffer_idx` [INFO] [stdout] --> src/core/runtime.rs:82:86 [INFO] [stdout] | [INFO] [stdout] 82 | StoredComponent::System(SystemComponent{component_id, instance_name, buffer_idx}) => { [INFO] [stdout] | ^^^^^^^^^^ help: try ignoring the field: `buffer_idx: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `audio_in` [INFO] [stdout] --> src/core/processor.rs:186:15 [INFO] [stdout] | [INFO] [stdout] 186 | fn filter(audio_in: Input, audio_out: Output, state: State){ [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_audio_in` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `audio_out` [INFO] [stdout] --> src/core/processor.rs:186:32 [INFO] [stdout] | [INFO] [stdout] 186 | fn filter(audio_in: Input, audio_out: Output, state: State){ [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_audio_out` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `state` [INFO] [stdout] --> src/core/processor.rs:186:51 [INFO] [stdout] | [INFO] [stdout] 186 | fn filter(audio_in: Input, audio_out: Output, state: State){ [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_state` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `processor` [INFO] [stdout] --> src/core/builder.rs:29:9 [INFO] [stdout] | [INFO] [stdout] 29 | processor: P, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_processor` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `processor` [INFO] [stdout] --> src/core/builder.rs:58:40 [INFO] [stdout] | [INFO] [stdout] 58 | pub fn add(mut self, processor: P) -> Self { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_processor` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/core/runtime.rs:119:13 [INFO] [stdout] | [INFO] [stdout] 117 | panic!("output buffer allocated incorrectly"); // debugging panic [INFO] [stdout] | --------------------------------------------- any code following this expression is unreachable [INFO] [stdout] 118 | // fail silently, this means that the output wasn't routed. [INFO] [stdout] 119 | return [INFO] [stdout] | ^^^^^^ unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `test_filter::Filter` is more private than the item `new` [INFO] [stdout] --> src/core/processor.rs:246:5 [INFO] [stdout] | [INFO] [stdout] 246 | pub fn new() -> Filter{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ function `new` is reachable at visibility `pub(in crate::core::processor)` [INFO] [stdout] | [INFO] [stdout] note: but type `test_filter::Filter` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/core/processor.rs:193:5 [INFO] [stdout] | [INFO] [stdout] 193 | struct Filter; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(private_interfaces)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `physical_buffer_map` is never read [INFO] [stdout] --> src/core/clerk.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 12 | struct Ledger { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 28 | physical_buffer_map: HashMap, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `buffer_size` is never read [INFO] [stdout] --> src/core/types.rs:69:16 [INFO] [stdout] | [INFO] [stdout] 66 | pub struct Context<'a, E: Clone + Copy + 'static> { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 69 | pub(crate) buffer_size: usize, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `FilterState` is never constructed [INFO] [stdout] --> src/core/processor.rs:181:12 [INFO] [stdout] | [INFO] [stdout] 181 | struct FilterState{ [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `filter` is never used [INFO] [stdout] --> src/core/processor.rs:186:8 [INFO] [stdout] | [INFO] [stdout] 186 | fn filter(audio_in: Input, audio_out: Output, state: State){ [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Filter` is never constructed [INFO] [stdout] --> src/core/processor.rs:193:12 [INFO] [stdout] | [INFO] [stdout] 193 | struct Filter; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `FilterHandle` is never constructed [INFO] [stdout] --> src/core/processor.rs:196:12 [INFO] [stdout] | [INFO] [stdout] 196 | struct FilterHandle { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `audio_in` is never used [INFO] [stdout] --> src/core/processor.rs:238:12 [INFO] [stdout] | [INFO] [stdout] 238 | pub fn audio_in() -> PortHandle> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `audio_out` is never used [INFO] [stdout] --> src/core/processor.rs:242:12 [INFO] [stdout] | [INFO] [stdout] 242 | pub fn audio_out() -> PortHandle> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `new` is never used [INFO] [stdout] --> src/core/processor.rs:246:12 [INFO] [stdout] | [INFO] [stdout] 246 | pub fn new() -> Filter{ [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `port_type` is never read [INFO] [stdout] --> src/core/router.rs:37:16 [INFO] [stdout] | [INFO] [stdout] 34 | pub struct PortHandle { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 37 | pub(crate) port_type: TypeId, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PortHandle` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/core/runtime.rs:57:20 [INFO] [stdout] | [INFO] [stdout] 57 | pub fn get_ctx(&self, handle: ContextHandle) -> Context { [INFO] [stdout] | ^^^^^ ---------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 57 | pub fn get_ctx(&self, handle: ContextHandle) -> Context<'_, E> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/core/processor.rs:116:54 [INFO] [stdout] | [INFO] [stdout] 116 | pub fn get_input(runtime: &Runtime, buffer_idx: BufferIdx) -> Input { [INFO] [stdout] | ^^^^^^^^^^^ ----- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 116 | pub fn get_input(runtime: &Runtime, buffer_idx: BufferIdx) -> Input<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input_key` [INFO] [stdout] --> src/core/clerk.rs:48:13 [INFO] [stdout] | [INFO] [stdout] 48 | let input_key = input(); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_input_key` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `output_key` [INFO] [stdout] --> src/core/clerk.rs:49:13 [INFO] [stdout] | [INFO] [stdout] 49 | let output_key = output(); [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_output_key` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/core/processor.rs:133:55 [INFO] [stdout] | [INFO] [stdout] 133 | pub fn get_output(runtime: &Runtime, buffer_idx: BufferIdx) -> Output { [INFO] [stdout] | ^^^^^^^^^^^ ------ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 133 | pub fn get_output(runtime: &Runtime, buffer_idx: BufferIdx) -> Output<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/core/processor.rs:147:14 [INFO] [stdout] | [INFO] [stdout] 147 | runtime: &Runtime, [INFO] [stdout] | ^^^^^^^^^^^ the lifetime is elided here [INFO] [stdout] 148 | state_idx: usize [INFO] [stdout] 149 | ) -> State { [INFO] [stdout] | -------- the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 149 | ) -> State<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input_info` [INFO] [stdout] --> src/core/clerk.rs:207:13 [INFO] [stdout] | [INFO] [stdout] 207 | let input_info = self.logical_buffer_map.get(&input_key) [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_input_info` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `output_info` [INFO] [stdout] --> src/core/clerk.rs:213:13 [INFO] [stdout] | [INFO] [stdout] 213 | let output_info = self.logical_buffer_map.get(&output_key) [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_output_info` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `field_count` [INFO] [stdout] --> src/core/runtime.rs:79:80 [INFO] [stdout] | [INFO] [stdout] 79 | StoredComponent::User(UserComponent{component, context_handle, field_count, instance_name, processor_type}) => { [INFO] [stdout] | ^^^^^^^^^^^ help: try ignoring the field: `field_count: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `instance_name` [INFO] [stdout] --> src/core/runtime.rs:79:93 [INFO] [stdout] | [INFO] [stdout] 79 | StoredComponent::User(UserComponent{component, context_handle, field_count, instance_name, processor_type}) => { [INFO] [stdout] | ^^^^^^^^^^^^^ help: try ignoring the field: `instance_name: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `processor_type` [INFO] [stdout] --> src/core/runtime.rs:79:108 [INFO] [stdout] | [INFO] [stdout] 79 | StoredComponent::User(UserComponent{component, context_handle, field_count, instance_name, processor_type}) => { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: try ignoring the field: `processor_type: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `component_id` [INFO] [stdout] --> src/core/runtime.rs:82:57 [INFO] [stdout] | [INFO] [stdout] 82 | StoredComponent::System(SystemComponent{component_id, instance_name, buffer_idx}) => { [INFO] [stdout] | ^^^^^^^^^^^^ help: try ignoring the field: `component_id: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `instance_name` [INFO] [stdout] --> src/core/runtime.rs:82:71 [INFO] [stdout] | [INFO] [stdout] 82 | StoredComponent::System(SystemComponent{component_id, instance_name, buffer_idx}) => { [INFO] [stdout] | ^^^^^^^^^^^^^ help: try ignoring the field: `instance_name: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `buffer_idx` [INFO] [stdout] --> src/core/runtime.rs:82:86 [INFO] [stdout] | [INFO] [stdout] 82 | StoredComponent::System(SystemComponent{component_id, instance_name, buffer_idx}) => { [INFO] [stdout] | ^^^^^^^^^^ help: try ignoring the field: `buffer_idx: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `test_runtime` [INFO] [stdout] --> src/core/runtime.rs:184:13 [INFO] [stdout] | [INFO] [stdout] 184 | let test_runtime = TestRuntime { states }; [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_test_runtime` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `audio_in` [INFO] [stdout] --> src/core/processor.rs:186:15 [INFO] [stdout] | [INFO] [stdout] 186 | fn filter(audio_in: Input, audio_out: Output, state: State){ [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_audio_in` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `audio_out` [INFO] [stdout] --> src/core/processor.rs:186:32 [INFO] [stdout] | [INFO] [stdout] 186 | fn filter(audio_in: Input, audio_out: Output, state: State){ [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_audio_out` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `state` [INFO] [stdout] --> src/core/processor.rs:186:51 [INFO] [stdout] | [INFO] [stdout] 186 | fn filter(audio_in: Input, audio_out: Output, state: State){ [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_state` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `processor` [INFO] [stdout] --> src/core/builder.rs:29:9 [INFO] [stdout] | [INFO] [stdout] 29 | processor: P, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_processor` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `processor` [INFO] [stdout] --> src/core/builder.rs:58:40 [INFO] [stdout] | [INFO] [stdout] 58 | pub fn add(mut self, processor: P) -> Self { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_processor` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `test_filter::Filter` is more private than the item `new` [INFO] [stdout] --> src/core/processor.rs:246:5 [INFO] [stdout] | [INFO] [stdout] 246 | pub fn new() -> Filter{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ function `new` is reachable at visibility `pub(in crate::core::processor)` [INFO] [stdout] | [INFO] [stdout] note: but type `test_filter::Filter` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/core/processor.rs:193:5 [INFO] [stdout] | [INFO] [stdout] 193 | struct Filter; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(private_interfaces)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `physical_buffer_map` is never read [INFO] [stdout] --> src/core/clerk.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 12 | struct Ledger { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 28 | physical_buffer_map: HashMap, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `states` is never read [INFO] [stdout] --> src/core/runtime.rs:181:13 [INFO] [stdout] | [INFO] [stdout] 180 | struct TestRuntime { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] 181 | states: Vec>>, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `buffer_size` is never read [INFO] [stdout] --> src/core/types.rs:69:16 [INFO] [stdout] | [INFO] [stdout] 66 | pub struct Context<'a, E: Clone + Copy + 'static> { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 69 | pub(crate) buffer_size: usize, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `FilterState` is never constructed [INFO] [stdout] --> src/core/processor.rs:181:12 [INFO] [stdout] | [INFO] [stdout] 181 | struct FilterState{ [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `filter` is never used [INFO] [stdout] --> src/core/processor.rs:186:8 [INFO] [stdout] | [INFO] [stdout] 186 | fn filter(audio_in: Input, audio_out: Output, state: State){ [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Filter` is never constructed [INFO] [stdout] --> src/core/processor.rs:193:12 [INFO] [stdout] | [INFO] [stdout] 193 | struct Filter; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `FilterHandle` is never constructed [INFO] [stdout] --> src/core/processor.rs:196:12 [INFO] [stdout] | [INFO] [stdout] 196 | struct FilterHandle { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `audio_in` is never used [INFO] [stdout] --> src/core/processor.rs:238:12 [INFO] [stdout] | [INFO] [stdout] 238 | pub fn audio_in() -> PortHandle> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `audio_out` is never used [INFO] [stdout] --> src/core/processor.rs:242:12 [INFO] [stdout] | [INFO] [stdout] 242 | pub fn audio_out() -> PortHandle> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `new` is never used [INFO] [stdout] --> src/core/processor.rs:246:12 [INFO] [stdout] | [INFO] [stdout] 246 | pub fn new() -> Filter{ [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `port_type` is never read [INFO] [stdout] --> src/core/router.rs:37:16 [INFO] [stdout] | [INFO] [stdout] 34 | pub struct PortHandle { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 37 | pub(crate) port_type: TypeId, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PortHandle` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/core/runtime.rs:57:20 [INFO] [stdout] | [INFO] [stdout] 57 | pub fn get_ctx(&self, handle: ContextHandle) -> Context { [INFO] [stdout] | ^^^^^ ---------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 57 | pub fn get_ctx(&self, handle: ContextHandle) -> Context<'_, E> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/core/processor.rs:116:54 [INFO] [stdout] | [INFO] [stdout] 116 | pub fn get_input(runtime: &Runtime, buffer_idx: BufferIdx) -> Input { [INFO] [stdout] | ^^^^^^^^^^^ ----- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 116 | pub fn get_input(runtime: &Runtime, buffer_idx: BufferIdx) -> Input<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/core/processor.rs:133:55 [INFO] [stdout] | [INFO] [stdout] 133 | pub fn get_output(runtime: &Runtime, buffer_idx: BufferIdx) -> Output { [INFO] [stdout] | ^^^^^^^^^^^ ------ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 133 | pub fn get_output(runtime: &Runtime, buffer_idx: BufferIdx) -> Output<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/core/processor.rs:147:14 [INFO] [stdout] | [INFO] [stdout] 147 | runtime: &Runtime, [INFO] [stdout] | ^^^^^^^^^^^ the lifetime is elided here [INFO] [stdout] 148 | state_idx: usize [INFO] [stdout] 149 | ) -> State { [INFO] [stdout] | -------- the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 149 | ) -> State<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1.18s [INFO] running `Command { std: "docker" "inspect" "599c0f59b26487954584c7f0c20dfe209beefcf8fec5031c28f51746bca9581c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "599c0f59b26487954584c7f0c20dfe209beefcf8fec5031c28f51746bca9581c", kill_on_drop: false }` [INFO] [stdout] 599c0f59b26487954584c7f0c20dfe209beefcf8fec5031c28f51746bca9581c