[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] building simon-kollision/iannis against master#70591dc15db32941fe3595fdbf98e58d6975f95e for pr-127731 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsimon-kollision%2Fiannis" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/simon-kollision/iannis on toolchain 70591dc15db32941fe3595fdbf98e58d6975f95e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+70591dc15db32941fe3595fdbf98e58d6975f95e" "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-5-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" "+70591dc15db32941fe3595fdbf98e58d6975f95e" "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-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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" "+70591dc15db32941fe3595fdbf98e58d6975f95e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8d7b25aa45204cf4b4bdf16bb95eff84104174019c1c653f061bad5dbdee1016 [INFO] running `Command { std: "docker" "start" "-a" "8d7b25aa45204cf4b4bdf16bb95eff84104174019c1c653f061bad5dbdee1016", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8d7b25aa45204cf4b4bdf16bb95eff84104174019c1c653f061bad5dbdee1016", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8d7b25aa45204cf4b4bdf16bb95eff84104174019c1c653f061bad5dbdee1016", kill_on_drop: false }` [INFO] [stdout] 8d7b25aa45204cf4b4bdf16bb95eff84104174019c1c653f061bad5dbdee1016 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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" "+70591dc15db32941fe3595fdbf98e58d6975f95e" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 68d724a001149680fbdccfb4b4ea95a1ca5532ece42d0277b027fe00826d36cb [INFO] running `Command { std: "docker" "start" "-a" "68d724a001149680fbdccfb4b4ea95a1ca5532ece42d0277b027fe00826d36cb", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.121 [INFO] [stderr] Compiling 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 scopeguard v1.1.0 [INFO] [stderr] Compiling typenum v1.15.0 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling smallvec v1.8.0 [INFO] [stderr] Compiling tinyvec_macros v0.1.0 [INFO] [stderr] Compiling log v0.4.16 [INFO] [stderr] Compiling tinyvec v1.5.1 [INFO] [stderr] Compiling futures-core v0.3.21 [INFO] [stderr] Compiling parking_lot_core v0.9.2 [INFO] [stderr] Compiling generic-array v0.14.5 [INFO] [stderr] Compiling lock_api v0.4.7 [INFO] [stderr] Compiling matches v0.1.9 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Compiling ppv-lite86 v0.2.16 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling quote v1.0.17 [INFO] [stderr] Compiling itoa v1.0.1 [INFO] [stderr] Compiling unicode-bidi v0.3.7 [INFO] [stderr] Compiling bytes v1.1.0 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling pkg-config v0.3.25 [INFO] [stderr] Compiling httparse v1.6.0 [INFO] [stderr] Compiling unicode-normalization v0.1.19 [INFO] [stderr] Compiling futures-task v0.3.21 [INFO] [stderr] Compiling form_urlencoded v1.0.1 [INFO] [stderr] Compiling alsa-sys v0.3.1 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling getrandom v0.2.6 [INFO] [stderr] Compiling parking_lot_core v0.8.5 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling cpufeatures v0.2.2 [INFO] [stderr] Compiling futures-sink v0.3.21 [INFO] [stderr] Compiling futures-util v0.3.21 [INFO] [stderr] Compiling opaque-debug v0.3.0 [INFO] [stderr] Compiling serde_derive v1.0.136 [INFO] [stderr] Compiling pin-project-lite v0.2.8 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling sha-1 v0.9.8 [INFO] [stderr] Compiling parking_lot v0.12.0 [INFO] [stderr] Compiling http v0.2.6 [INFO] [stderr] Compiling idna v0.2.3 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling mio v0.8.2 [INFO] [stderr] Compiling signal-hook-registry v1.4.0 [INFO] [stderr] Compiling num_cpus v1.13.1 [INFO] [stderr] Compiling url v2.2.2 [INFO] [stderr] Compiling socket2 v0.4.4 [INFO] [stderr] Compiling instant v0.1.12 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling base64 v0.13.0 [INFO] [stderr] Compiling utf-8 v0.7.6 [INFO] [stderr] Compiling slab v0.4.6 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling serde v1.0.136 [INFO] [stderr] Compiling once_cell v1.10.0 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling nix v0.23.1 [INFO] [stderr] Compiling nanorand v0.7.0 [INFO] [stderr] Compiling spin v0.9.2 [INFO] [stderr] Compiling cpal v0.13.5 [INFO] [stderr] Compiling serde_json v1.0.79 [INFO] [stderr] Compiling parking_lot v0.11.2 [INFO] [stderr] Compiling cache-padded v1.2.0 [INFO] [stderr] Compiling ryu v1.0.9 [INFO] [stderr] Compiling 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] Compiling tokio v1.17.0 [INFO] [stderr] Compiling pin-project v1.0.10 [INFO] [stderr] Compiling thiserror v1.0.30 [INFO] [stderr] Compiling flume v0.10.12 [INFO] [stderr] Compiling tungstenite v0.14.0 [INFO] [stderr] Compiling alsa v0.6.0 [INFO] [stderr] Compiling tokio-tungstenite v0.15.0 [INFO] [stderr] Compiling simple-websockets v0.1.4 [INFO] [stderr] Compiling 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: 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: 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/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: 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] = note: `#[warn(dead_code)]` on by default [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: 37 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 11.23s [INFO] running `Command { std: "docker" "inspect" "68d724a001149680fbdccfb4b4ea95a1ca5532ece42d0277b027fe00826d36cb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "68d724a001149680fbdccfb4b4ea95a1ca5532ece42d0277b027fe00826d36cb", kill_on_drop: false }` [INFO] [stdout] 68d724a001149680fbdccfb4b4ea95a1ca5532ece42d0277b027fe00826d36cb [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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" "+70591dc15db32941fe3595fdbf98e58d6975f95e" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c7bcccd3985b8c052214a9876541a4d0a6f793df4be17b2ee3722b194d9ea094 [INFO] running `Command { std: "docker" "start" "-a" "c7bcccd3985b8c052214a9876541a4d0a6f793df4be17b2ee3722b194d9ea094", kill_on_drop: false }` [INFO] [stderr] Compiling 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: 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: 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/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: 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] = note: `#[warn(dead_code)]` on by default [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: 37 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.35s [INFO] running `Command { std: "docker" "inspect" "c7bcccd3985b8c052214a9876541a4d0a6f793df4be17b2ee3722b194d9ea094", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c7bcccd3985b8c052214a9876541a4d0a6f793df4be17b2ee3722b194d9ea094", kill_on_drop: false }` [INFO] [stdout] c7bcccd3985b8c052214a9876541a4d0a6f793df4be17b2ee3722b194d9ea094