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