[INFO] cloning repository https://github.com/simon-kollision/iannis [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/simon-kollision/iannis" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsimon-kollision%2Fiannis", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsimon-kollision%2Fiannis'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 91276f6fa86aaf36cecdf909b5e581b566335bf3 [INFO] checking simon-kollision/iannis against master#1f12b9b0fdbe735968ac002792a720f0ba4faca6 for crater-rollup-uwu [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsimon-kollision%2Fiannis" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/simon-kollision/iannis on toolchain 1f12b9b0fdbe735968ac002792a720f0ba4faca6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/simon-kollision/iannis [INFO] finished tweaking git repo https://github.com/simon-kollision/iannis [INFO] tweaked toml for git repo https://github.com/simon-kollision/iannis written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/simon-kollision/iannis 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" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded simple-websockets v0.1.4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] cf33f905dd3832ab28124295d8834c5ff31023484683cf07c6e10501335494ae [INFO] running `Command { std: "docker" "start" "-a" "cf33f905dd3832ab28124295d8834c5ff31023484683cf07c6e10501335494ae", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "cf33f905dd3832ab28124295d8834c5ff31023484683cf07c6e10501335494ae", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cf33f905dd3832ab28124295d8834c5ff31023484683cf07c6e10501335494ae", kill_on_drop: false }` [INFO] [stdout] cf33f905dd3832ab28124295d8834c5ff31023484683cf07c6e10501335494ae [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f140a7ef59cd53e12f9d2823153506b7ffe38bcf31f6153f8461086cc3a7e7b9 [INFO] running `Command { std: "docker" "start" "-a" "f140a7ef59cd53e12f9d2823153506b7ffe38bcf31f6153f8461086cc3a7e7b9", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.121 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling proc-macro2 v1.0.36 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.90 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Compiling typenum v1.15.0 [INFO] [stderr] Checking smallvec v1.8.0 [INFO] [stderr] Checking tinyvec_macros v0.1.0 [INFO] [stderr] Compiling log v0.4.16 [INFO] [stderr] Checking tinyvec v1.5.1 [INFO] [stderr] Compiling generic-array v0.14.5 [INFO] [stderr] Compiling parking_lot_core v0.9.2 [INFO] [stderr] Compiling lock_api v0.4.7 [INFO] [stderr] Checking matches v0.1.9 [INFO] [stderr] Compiling futures-core v0.3.21 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Compiling quote v1.0.17 [INFO] [stderr] Checking bytes v1.1.0 [INFO] [stderr] Checking itoa v1.0.1 [INFO] [stderr] Checking percent-encoding v2.1.0 [INFO] [stderr] Checking ppv-lite86 v0.2.16 [INFO] [stderr] Checking unicode-bidi v0.3.7 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling pkg-config v0.3.25 [INFO] [stderr] Compiling futures-task v0.3.21 [INFO] [stderr] Compiling httparse v1.6.0 [INFO] [stderr] Checking unicode-normalization v0.1.19 [INFO] [stderr] Checking form_urlencoded v1.0.1 [INFO] [stderr] Compiling serde_derive v1.0.136 [INFO] [stderr] Checking getrandom v0.2.6 [INFO] [stderr] Compiling parking_lot_core v0.8.5 [INFO] [stderr] Compiling alsa-sys v0.3.1 [INFO] [stderr] Checking rand_core v0.6.3 [INFO] [stderr] Checking digest v0.9.0 [INFO] [stderr] Checking block-buffer v0.9.0 [INFO] [stderr] Compiling futures-util v0.3.21 [INFO] [stderr] Checking pin-project-lite v0.2.8 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Checking cpufeatures v0.2.2 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking futures-sink v0.3.21 [INFO] [stderr] Checking opaque-debug v0.3.0 [INFO] [stderr] Checking http v0.2.6 [INFO] [stderr] Checking parking_lot v0.12.0 [INFO] [stderr] Checking sha-1 v0.9.8 [INFO] [stderr] Checking signal-hook-registry v1.4.0 [INFO] [stderr] Checking socket2 v0.4.4 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking num_cpus v1.13.1 [INFO] [stderr] Checking idna v0.2.3 [INFO] [stderr] Checking mio v0.8.2 [INFO] [stderr] Checking instant v0.1.12 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Compiling serde v1.0.136 [INFO] [stderr] Checking base64 v0.13.0 [INFO] [stderr] Checking once_cell v1.10.0 [INFO] [stderr] Checking url v2.2.2 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Checking slab v0.4.6 [INFO] [stderr] Checking utf-8 v0.7.6 [INFO] [stderr] Checking nix v0.23.1 [INFO] [stderr] Checking nanorand v0.7.0 [INFO] [stderr] Checking spin v0.9.2 [INFO] [stderr] Compiling cpal v0.13.5 [INFO] [stderr] Compiling serde_json v1.0.79 [INFO] [stderr] Checking parking_lot v0.11.2 [INFO] [stderr] Checking cache-padded v1.2.0 [INFO] [stderr] Checking ryu v1.0.9 [INFO] [stderr] Checking ringbuf v0.2.8 [INFO] [stderr] Compiling thiserror-impl v1.0.30 [INFO] [stderr] Compiling pin-project-internal v1.0.10 [INFO] [stderr] Compiling futures-macro v0.3.21 [INFO] [stderr] Compiling tokio-macros v1.7.0 [INFO] [stderr] Checking tokio v1.17.0 [INFO] [stderr] Checking thiserror v1.0.30 [INFO] [stderr] Checking tungstenite v0.14.0 [INFO] [stderr] Checking pin-project v1.0.10 [INFO] [stderr] Checking flume v0.10.12 [INFO] [stderr] Checking alsa v0.6.0 [INFO] [stderr] Checking tokio-tungstenite v0.15.0 [INFO] [stderr] Checking simple-websockets v0.1.4 [INFO] [stderr] Checking iannis v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Responder` [INFO] [stdout] --> src/websocket/server.rs:1:32 [INFO] [stdout] | [INFO] [stdout] 1 | use simple_websockets::{Event, Responder}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Deserialize` and `Serialize` [INFO] [stdout] --> src/websocket/server.rs:8:13 [INFO] [stdout] | [INFO] [stdout] 8 | use serde::{Deserialize, Serialize}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serde_json` [INFO] [stdout] --> src/websocket/message.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use serde_json; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Responder` [INFO] [stdout] --> src/websocket/server.rs:1:32 [INFO] [stdout] | [INFO] [stdout] 1 | use simple_websockets::{Event, Responder}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Deserialize` and `Serialize` [INFO] [stdout] --> src/websocket/server.rs:8:13 [INFO] [stdout] | [INFO] [stdout] 8 | use serde::{Deserialize, Serialize}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serde_json` [INFO] [stdout] --> src/websocket/message.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use serde_json; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/core/node_graph.rs:203:27 [INFO] [stdout] | [INFO] [stdout] 203 | if let Some(cookbook) = &mut NODE_COOKBOOK { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior [INFO] [stdout] = note: `#[warn(static_mut_refs)]` on by default [INFO] [stdout] help: use `addr_of_mut!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 203 | if let Some(cookbook) = addr_of_mut!(NODE_COOKBOOK) { [INFO] [stdout] | ~~~~~~~~~~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/core/node_graph.rs:215:27 [INFO] [stdout] | [INFO] [stdout] 215 | if let Some(cookbook) = &mut NODE_COOKBOOK { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior [INFO] [stdout] help: use `addr_of_mut!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 215 | if let Some(cookbook) = addr_of_mut!(NODE_COOKBOOK) { [INFO] [stdout] | ~~~~~~~~~~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/core/node_graph.rs:54:9 [INFO] [stdout] | [INFO] [stdout] 54 | let mut behavior = (*heaped_node.mut_ptr).destroy(); [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `from` [INFO] [stdout] --> src/core/node_graph.rs:109:31 [INFO] [stdout] | [INFO] [stdout] 109 | pub fn disconnect(&mut self, from: NodeId, from_idx: usize, to: NodeId, to_idx: usize) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_from` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `from_idx` [INFO] [stdout] --> src/core/node_graph.rs:109:45 [INFO] [stdout] | [INFO] [stdout] 109 | pub fn disconnect(&mut self, from: NodeId, from_idx: usize, to: NodeId, to_idx: usize) { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_from_idx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/core/node_graph.rs:203:27 [INFO] [stdout] | [INFO] [stdout] 203 | if let Some(cookbook) = &mut NODE_COOKBOOK { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior [INFO] [stdout] = note: `#[warn(static_mut_refs)]` on by default [INFO] [stdout] help: use `addr_of_mut!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 203 | if let Some(cookbook) = addr_of_mut!(NODE_COOKBOOK) { [INFO] [stdout] | ~~~~~~~~~~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/core/node_graph.rs:215:27 [INFO] [stdout] | [INFO] [stdout] 215 | if let Some(cookbook) = &mut NODE_COOKBOOK { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior [INFO] [stdout] help: use `addr_of_mut!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 215 | if let Some(cookbook) = addr_of_mut!(NODE_COOKBOOK) { [INFO] [stdout] | ~~~~~~~~~~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `to` [INFO] [stdout] --> src/core/node_graph.rs:109:62 [INFO] [stdout] | [INFO] [stdout] 109 | pub fn disconnect(&mut self, from: NodeId, from_idx: usize, to: NodeId, to_idx: usize) { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_to` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `to_idx` [INFO] [stdout] --> src/core/node_graph.rs:109:74 [INFO] [stdout] | [INFO] [stdout] 109 | pub fn disconnect(&mut self, from: NodeId, from_idx: usize, to: NodeId, to_idx: usize) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_to_idx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/behavior/basic.rs:84:13 [INFO] [stdout] | [INFO] [stdout] 84 | pub fn new(mut out_buffer: Heaped>) -> InterleavingOutputNode { [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `outputs` [INFO] [stdout] --> src/behavior/basic.rs:100:45 [INFO] [stdout] | [INFO] [stdout] 100 | fn update(&mut self, inputs: &Vec, outputs: &mut Vec){ [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_outputs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `inputs` [INFO] [stdout] --> src/behavior/waveform.rs:24:26 [INFO] [stdout] | [INFO] [stdout] 24 | fn update(&mut self, inputs: &Vec, outputs: &mut Vec){ [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_inputs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `client_id` [INFO] [stdout] --> src/websocket/server.rs:40:21 [INFO] [stdout] | [INFO] [stdout] 40 | Event::Message(client_id, message) => { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_client_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/websocket/server.rs:49:13 [INFO] [stdout] | [INFO] [stdout] 49 | ... Err(e) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `client_id` [INFO] [stdout] --> src/websocket/server.rs:72:14 [INFO] [stdout] | [INFO] [stdout] 72 | ... for (client_id, responder) in unlocked_clients.iter_mut() { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_client_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/websocket/server.rs:76:12 [INFO] [stdout] | [INFO] [stdout] 76 | ... Err(e) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/websocket/server.rs:81:10 [INFO] [stdout] | [INFO] [stdout] 81 | Err(e) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `add_node_message` [INFO] [stdout] --> src/main.rs:124:28 [INFO] [stdout] | [INFO] [stdout] 124 | ClientMessage::AddNode(add_node_message) => { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_add_node_message` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `remove_node_message` [INFO] [stdout] --> src/main.rs:128:31 [INFO] [stdout] | [INFO] [stdout] 128 | ClientMessage::RemoveNode(remove_node_message) => { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_remove_node_message` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `connect_nodes_message` [INFO] [stdout] --> src/main.rs:132:33 [INFO] [stdout] | [INFO] [stdout] 132 | ClientMessage::ConnectNodes(connect_nodes_message) => { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_connect_nodes_message` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `disconnect_nodes_message` [INFO] [stdout] --> src/main.rs:136:36 [INFO] [stdout] | [INFO] [stdout] 136 | ClientMessage::DisconnectNodes(disconnect_nodes_message) => { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_disconnect_nodes_message` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/core/node_graph.rs:54:9 [INFO] [stdout] | [INFO] [stdout] 54 | let mut behavior = (*heaped_node.mut_ptr).destroy(); [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `from` [INFO] [stdout] --> src/core/node_graph.rs:109:31 [INFO] [stdout] | [INFO] [stdout] 109 | pub fn disconnect(&mut self, from: NodeId, from_idx: usize, to: NodeId, to_idx: usize) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_from` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `from_idx` [INFO] [stdout] --> src/core/node_graph.rs:109:45 [INFO] [stdout] | [INFO] [stdout] 109 | pub fn disconnect(&mut self, from: NodeId, from_idx: usize, to: NodeId, to_idx: usize) { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_from_idx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `to` [INFO] [stdout] --> src/core/node_graph.rs:109:62 [INFO] [stdout] | [INFO] [stdout] 109 | pub fn disconnect(&mut self, from: NodeId, from_idx: usize, to: NodeId, to_idx: usize) { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_to` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `to_idx` [INFO] [stdout] --> src/core/node_graph.rs:109:74 [INFO] [stdout] | [INFO] [stdout] 109 | pub fn disconnect(&mut self, from: NodeId, from_idx: usize, to: NodeId, to_idx: usize) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_to_idx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:35:6 [INFO] [stdout] | [INFO] [stdout] 35 | let mut ringbuf = ringbuf::RingBuffer::::new(ringbuf_buffer_size); [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:36:25 [INFO] [stdout] | [INFO] [stdout] 36 | let (mut ringbuf_prod, mut ringbuf_cons) = ringbuf.split(); [INFO] [stdout] | ----^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:116:6 [INFO] [stdout] | [INFO] [stdout] 116 | let mut websocket_server: Server = Server::new(); [INFO] [stdout] | ----^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `dealloc` is never used [INFO] [stdout] --> src/core/heaped.rs:60:12 [INFO] [stdout] | [INFO] [stdout] 12 | impl Heaped:: { [INFO] [stdout] | ------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 60 | pub fn dealloc(&mut self){ [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `type_name` is never read [INFO] [stdout] --> src/core/node.rs:53:6 [INFO] [stdout] | [INFO] [stdout] 52 | pub struct NodeBehaviorInfo { [INFO] [stdout] | ---------------- field in this struct [INFO] [stdout] 53 | pub type_name: String, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `before_drop` is never used [INFO] [stdout] --> src/core/node.rs:61:5 [INFO] [stdout] | [INFO] [stdout] 58 | pub trait NodeBehavior { [INFO] [stdout] | ------------ method in this trait [INFO] [stdout] ... [INFO] [stdout] 61 | fn before_drop(&mut self){ [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `destroy`, `remove_input_edge`, and `remove_output_edge` are never used [INFO] [stdout] --> src/core/node.rs:109:16 [INFO] [stdout] | [INFO] [stdout] 79 | impl Node { [INFO] [stdout] | --------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 109 | pub(crate) fn destroy(&mut self) -> &mut Box{ [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 158 | pub(crate) fn remove_input_edge(&mut self, edge: &NodeEdge){ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 170 | pub(crate) fn remove_output_edge(&mut self, edge: &NodeEdge){ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `remove_node` and `disconnect` are never used [INFO] [stdout] --> src/core/node_graph.rs:51:9 [INFO] [stdout] | [INFO] [stdout] 15 | impl NodeGraph { [INFO] [stdout] | -------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 51 | pub fn remove_node(&mut self, node_id: NodeId){ [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 109 | pub fn disconnect(&mut self, from: NodeId, from_idx: usize, to: NodeId, to_idx: usize) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `NodeRecipeFn` is never used [INFO] [stdout] --> src/core/node_graph.rs:193:6 [INFO] [stdout] | [INFO] [stdout] 193 | type NodeRecipeFn = dyn FnMut() -> Box; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `NODE_COOKBOOK` is never used [INFO] [stdout] --> src/core/node_graph.rs:195:12 [INFO] [stdout] | [INFO] [stdout] 195 | static mut NODE_COOKBOOK: Option>> = None; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `register_node_recipe` is never used [INFO] [stdout] --> src/core/node_graph.rs:197:8 [INFO] [stdout] | [INFO] [stdout] 197 | pub fn register_node_recipe(name: &str, recipe: Box){ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_node_by_recipe` is never used [INFO] [stdout] --> src/core/node_graph.rs:213:8 [INFO] [stdout] | [INFO] [stdout] 213 | pub fn get_node_by_recipe(name: &str) -> Box { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `host` is never read [INFO] [stdout] --> src/core/audio.rs:8:2 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct AudioManager { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] 8 | host: cpal::Host, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:25:2 [INFO] [stdout] | [INFO] [stdout] 25 | write!(output, "{}", data); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:29:2 [INFO] [stdout] | [INFO] [stdout] 29 | Command::new("/opt/homebrew/bin/dot").arg("-Tpng").arg(dot_path).arg("-o").arg(png_path).status(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 29 | let _ = Command::new("/opt/homebrew/bin/dot").arg("-Tpng").arg(dot_path).arg("-o").arg(png_path).status(); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:126:6 [INFO] [stdout] | [INFO] [stdout] 126 | ws_in_tx.send(ServerMessage::Alright(AlrightMessage { message: "add node ok!".to_string() })); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 126 | let _ = ws_in_tx.send(ServerMessage::Alright(AlrightMessage { message: "add node ok!".to_string() })); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:130:6 [INFO] [stdout] | [INFO] [stdout] 130 | ws_in_tx.send(ServerMessage::Alright(AlrightMessage { message: "remove node ok!".to_string() })); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 130 | let _ = ws_in_tx.send(ServerMessage::Alright(AlrightMessage { message: "remove node ok!".to_string() })); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:134:6 [INFO] [stdout] | [INFO] [stdout] 134 | ws_in_tx.send(ServerMessage::Alright(AlrightMessage { message: "connect nodes ok!".to_string() })); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 134 | let _ = ws_in_tx.send(ServerMessage::Alright(AlrightMessage { message: "connect nodes ok!".to_string() })); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:138:6 [INFO] [stdout] | [INFO] [stdout] 138 | ws_in_tx.send(ServerMessage::Alright(AlrightMessage { message: "disconnect nodes ok!".to_string() })); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 138 | let _ = ws_in_tx.send(ServerMessage::Alright(AlrightMessage { message: "disconnect nodes ok!".to_string() })); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/behavior/basic.rs:84:13 [INFO] [stdout] | [INFO] [stdout] 84 | pub fn new(mut out_buffer: Heaped>) -> InterleavingOutputNode { [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `outputs` [INFO] [stdout] --> src/behavior/basic.rs:100:45 [INFO] [stdout] | [INFO] [stdout] 100 | fn update(&mut self, inputs: &Vec, outputs: &mut Vec){ [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_outputs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `inputs` [INFO] [stdout] --> src/behavior/waveform.rs:24:26 [INFO] [stdout] | [INFO] [stdout] 24 | fn update(&mut self, inputs: &Vec, outputs: &mut Vec){ [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_inputs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `client_id` [INFO] [stdout] --> src/websocket/server.rs:40:21 [INFO] [stdout] | [INFO] [stdout] 40 | Event::Message(client_id, message) => { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_client_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/websocket/server.rs:49:13 [INFO] [stdout] | [INFO] [stdout] 49 | ... Err(e) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `client_id` [INFO] [stdout] --> src/websocket/server.rs:72:14 [INFO] [stdout] | [INFO] [stdout] 72 | ... for (client_id, responder) in unlocked_clients.iter_mut() { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_client_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/websocket/server.rs:76:12 [INFO] [stdout] | [INFO] [stdout] 76 | ... Err(e) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/websocket/server.rs:81:10 [INFO] [stdout] | [INFO] [stdout] 81 | Err(e) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 41 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `add_node_message` [INFO] [stdout] --> src/main.rs:124:28 [INFO] [stdout] | [INFO] [stdout] 124 | ClientMessage::AddNode(add_node_message) => { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_add_node_message` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `remove_node_message` [INFO] [stdout] --> src/main.rs:128:31 [INFO] [stdout] | [INFO] [stdout] 128 | ClientMessage::RemoveNode(remove_node_message) => { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_remove_node_message` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `connect_nodes_message` [INFO] [stdout] --> src/main.rs:132:33 [INFO] [stdout] | [INFO] [stdout] 132 | ClientMessage::ConnectNodes(connect_nodes_message) => { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_connect_nodes_message` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `disconnect_nodes_message` [INFO] [stdout] --> src/main.rs:136:36 [INFO] [stdout] | [INFO] [stdout] 136 | ClientMessage::DisconnectNodes(disconnect_nodes_message) => { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_disconnect_nodes_message` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:35:6 [INFO] [stdout] | [INFO] [stdout] 35 | let mut ringbuf = ringbuf::RingBuffer::::new(ringbuf_buffer_size); [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:36:25 [INFO] [stdout] | [INFO] [stdout] 36 | let (mut ringbuf_prod, mut ringbuf_cons) = ringbuf.split(); [INFO] [stdout] | ----^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:116:6 [INFO] [stdout] | [INFO] [stdout] 116 | let mut websocket_server: Server = Server::new(); [INFO] [stdout] | ----^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `dealloc` is never used [INFO] [stdout] --> src/core/heaped.rs:60:12 [INFO] [stdout] | [INFO] [stdout] 12 | impl Heaped:: { [INFO] [stdout] | ------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 60 | pub fn dealloc(&mut self){ [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `type_name` is never read [INFO] [stdout] --> src/core/node.rs:53:6 [INFO] [stdout] | [INFO] [stdout] 52 | pub struct NodeBehaviorInfo { [INFO] [stdout] | ---------------- field in this struct [INFO] [stdout] 53 | pub type_name: String, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `before_drop` is never used [INFO] [stdout] --> src/core/node.rs:61:5 [INFO] [stdout] | [INFO] [stdout] 58 | pub trait NodeBehavior { [INFO] [stdout] | ------------ method in this trait [INFO] [stdout] ... [INFO] [stdout] 61 | fn before_drop(&mut self){ [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `destroy`, `remove_input_edge`, and `remove_output_edge` are never used [INFO] [stdout] --> src/core/node.rs:109:16 [INFO] [stdout] | [INFO] [stdout] 79 | impl Node { [INFO] [stdout] | --------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 109 | pub(crate) fn destroy(&mut self) -> &mut Box{ [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 158 | pub(crate) fn remove_input_edge(&mut self, edge: &NodeEdge){ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 170 | pub(crate) fn remove_output_edge(&mut self, edge: &NodeEdge){ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `remove_node` and `disconnect` are never used [INFO] [stdout] --> src/core/node_graph.rs:51:9 [INFO] [stdout] | [INFO] [stdout] 15 | impl NodeGraph { [INFO] [stdout] | -------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 51 | pub fn remove_node(&mut self, node_id: NodeId){ [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 109 | pub fn disconnect(&mut self, from: NodeId, from_idx: usize, to: NodeId, to_idx: usize) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `NodeRecipeFn` is never used [INFO] [stdout] --> src/core/node_graph.rs:193:6 [INFO] [stdout] | [INFO] [stdout] 193 | type NodeRecipeFn = dyn FnMut() -> Box; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `NODE_COOKBOOK` is never used [INFO] [stdout] --> src/core/node_graph.rs:195:12 [INFO] [stdout] | [INFO] [stdout] 195 | static mut NODE_COOKBOOK: Option>> = None; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `register_node_recipe` is never used [INFO] [stdout] --> src/core/node_graph.rs:197:8 [INFO] [stdout] | [INFO] [stdout] 197 | pub fn register_node_recipe(name: &str, recipe: Box){ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_node_by_recipe` is never used [INFO] [stdout] --> src/core/node_graph.rs:213:8 [INFO] [stdout] | [INFO] [stdout] 213 | pub fn get_node_by_recipe(name: &str) -> Box { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `host` is never read [INFO] [stdout] --> src/core/audio.rs:8:2 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct AudioManager { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] 8 | host: cpal::Host, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:25:2 [INFO] [stdout] | [INFO] [stdout] 25 | write!(output, "{}", data); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:29:2 [INFO] [stdout] | [INFO] [stdout] 29 | Command::new("/opt/homebrew/bin/dot").arg("-Tpng").arg(dot_path).arg("-o").arg(png_path).status(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 29 | let _ = Command::new("/opt/homebrew/bin/dot").arg("-Tpng").arg(dot_path).arg("-o").arg(png_path).status(); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:126:6 [INFO] [stdout] | [INFO] [stdout] 126 | ws_in_tx.send(ServerMessage::Alright(AlrightMessage { message: "add node ok!".to_string() })); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 126 | let _ = ws_in_tx.send(ServerMessage::Alright(AlrightMessage { message: "add node ok!".to_string() })); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:130:6 [INFO] [stdout] | [INFO] [stdout] 130 | ws_in_tx.send(ServerMessage::Alright(AlrightMessage { message: "remove node ok!".to_string() })); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 130 | let _ = ws_in_tx.send(ServerMessage::Alright(AlrightMessage { message: "remove node ok!".to_string() })); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:134:6 [INFO] [stdout] | [INFO] [stdout] 134 | ws_in_tx.send(ServerMessage::Alright(AlrightMessage { message: "connect nodes ok!".to_string() })); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 134 | let _ = ws_in_tx.send(ServerMessage::Alright(AlrightMessage { message: "connect nodes ok!".to_string() })); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:138:6 [INFO] [stdout] | [INFO] [stdout] 138 | ws_in_tx.send(ServerMessage::Alright(AlrightMessage { message: "disconnect nodes ok!".to_string() })); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 138 | let _ = ws_in_tx.send(ServerMessage::Alright(AlrightMessage { message: "disconnect nodes ok!".to_string() })); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 41 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 13.03s [INFO] running `Command { std: "docker" "inspect" "f140a7ef59cd53e12f9d2823153506b7ffe38bcf31f6153f8461086cc3a7e7b9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f140a7ef59cd53e12f9d2823153506b7ffe38bcf31f6153f8461086cc3a7e7b9", kill_on_drop: false }` [INFO] [stdout] f140a7ef59cd53e12f9d2823153506b7ffe38bcf31f6153f8461086cc3a7e7b9