[INFO] cloning repository https://github.com/alshdavid/ipc-channel-adapter [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/alshdavid/ipc-channel-adapter" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Falshdavid%2Fipc-channel-adapter", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Falshdavid%2Fipc-channel-adapter'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 0ab2c09d5293845661175b489bac19b981419212 [INFO] linting alshdavid/ipc-channel-adapter against nightly for clippy-nonminimal_bool-denied [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Falshdavid%2Fipc-channel-adapter" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] removed /workspace/builds/worker-3-tc1/source/rust-toolchain [INFO] started tweaking git repo https://github.com/alshdavid/ipc-channel-adapter [INFO] finished tweaking git repo https://github.com/alshdavid/ipc-channel-adapter [INFO] tweaked toml for git repo https://github.com/alshdavid/ipc-channel-adapter written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/alshdavid/ipc-channel-adapter on toolchain nightly [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+nightly" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/alshdavid/ipc-channel-adapter 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" "+nightly" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded sc v0.2.7 [INFO] [stderr] Downloaded ipc-channel v0.18.3 [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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+nightly" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 38033a8bce1ac2394d82c3dca61f23c5d19efad6ee1d849a43742d72bb353993 [INFO] running `Command { std: "docker" "start" "-a" "38033a8bce1ac2394d82c3dca61f23c5d19efad6ee1d849a43742d72bb353993", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "38033a8bce1ac2394d82c3dca61f23c5d19efad6ee1d849a43742d72bb353993", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "38033a8bce1ac2394d82c3dca61f23c5d19efad6ee1d849a43742d72bb353993", kill_on_drop: false }` [INFO] [stdout] 38033a8bce1ac2394d82c3dca61f23c5d19efad6ee1d849a43742d72bb353993 [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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+nightly" "clippy" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4e3ff8567dc20c2e95d8a068bc93ffe98a7c088afdc6d8efdbd8ad61c36b3fea [INFO] running `Command { std: "docker" "start" "-a" "4e3ff8567dc20c2e95d8a068bc93ffe98a7c088afdc6d8efdbd8ad61c36b3fea", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.162 [INFO] [stderr] Compiling serde v1.0.215 [INFO] [stderr] Compiling rustix v0.38.40 [INFO] [stderr] Checking once_cell v1.20.2 [INFO] [stderr] Checking sc v0.2.7 [INFO] [stderr] Checking clap_lex v0.7.2 [INFO] [stderr] Compiling syn v2.0.87 [INFO] [stderr] Checking clap_builder v4.5.20 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Checking mio v1.0.2 [INFO] [stderr] Checking parking_lot_core v0.9.10 [INFO] [stderr] Checking socket2 v0.5.7 [INFO] [stderr] Checking signal-hook-registry v1.4.2 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking uuid v1.11.0 [INFO] [stderr] Checking tempfile v3.14.0 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling serde_derive v1.0.215 [INFO] [stderr] Compiling tokio-macros v2.4.0 [INFO] [stderr] Compiling clap_derive v4.5.18 [INFO] [stderr] Checking zerocopy v0.7.35 [INFO] [stderr] Checking tokio v1.41.1 [INFO] [stderr] Checking clap v4.5.20 [INFO] [stderr] Checking ppv-lite86 v0.2.20 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking bincode v1.3.3 [INFO] [stderr] Checking ipc-channel v0.18.3 [INFO] [stderr] Checking ipc_channel_adapter v0.1.2 (/opt/rustwide/workdir/ipc_channel_adapter) [INFO] [stdout] warning: this returns a `Result<_, ()>` [INFO] [stdout] --> ipc_channel_adapter/src/child/asynch/host_receiver.rs:28:3 [INFO] [stdout] | [INFO] [stdout] 28 | / pub fn new( [INFO] [stdout] 29 | | channel_name: &str, [INFO] [stdout] 30 | | ) -> Result< [INFO] [stdout] ... | [INFO] [stdout] 35 | | (), [INFO] [stdout] 36 | | > { [INFO] [stdout] | |___^ [INFO] [stdout] | [INFO] [stdout] = help: use a custom `Error` type instead [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#result_unit_err [INFO] [stdout] = note: `#[warn(clippy::result_unit_err)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: very complex type used. Consider factoring parts into `type` definitions [INFO] [stdout] --> ipc_channel_adapter/src/child/asynch/host_receiver.rs:30:8 [INFO] [stdout] | [INFO] [stdout] 30 | ) -> Result< [INFO] [stdout] | ________^ [INFO] [stdout] 31 | | ( [INFO] [stdout] 32 | | Self, [INFO] [stdout] 33 | | UnboundedReceiver<(Request, UnboundedSender)>, [INFO] [stdout] 34 | | ), [INFO] [stdout] 35 | | (), [INFO] [stdout] 36 | | > { [INFO] [stdout] | |___^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#type_complexity [INFO] [stdout] = note: `#[warn(clippy::type_complexity)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this returns a `Result<_, ()>` [INFO] [stdout] --> ipc_channel_adapter/src/child/asynch/host_receiver.rs:28:3 [INFO] [stdout] | [INFO] [stdout] 28 | / pub fn new( [INFO] [stdout] 29 | | channel_name: &str, [INFO] [stdout] 30 | | ) -> Result< [INFO] [stdout] ... | [INFO] [stdout] 35 | | (), [INFO] [stdout] 36 | | > { [INFO] [stdout] | |___^ [INFO] [stdout] | [INFO] [stdout] = help: use a custom `Error` type instead [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#result_unit_err [INFO] [stdout] = note: `#[warn(clippy::result_unit_err)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: very complex type used. Consider factoring parts into `type` definitions [INFO] [stdout] --> ipc_channel_adapter/src/child/asynch/host_receiver.rs:30:8 [INFO] [stdout] | [INFO] [stdout] 30 | ) -> Result< [INFO] [stdout] | ________^ [INFO] [stdout] 31 | | ( [INFO] [stdout] 32 | | Self, [INFO] [stdout] 33 | | UnboundedReceiver<(Request, UnboundedSender)>, [INFO] [stdout] 34 | | ), [INFO] [stdout] 35 | | (), [INFO] [stdout] 36 | | > { [INFO] [stdout] | |___^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#type_complexity [INFO] [stdout] = note: `#[warn(clippy::type_complexity)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this returns a `Result<_, ()>` [INFO] [stdout] --> ipc_channel_adapter/src/child/asynch/host_sender.rs:34:3 [INFO] [stdout] | [INFO] [stdout] 34 | pub fn new(channel_name: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: use a custom `Error` type instead [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#result_unit_err [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `clone` on type `usize` which implements the `Copy` trait [INFO] [stdout] --> ipc_channel_adapter/src/child/asynch/host_sender.rs:73:39 [INFO] [stdout] | [INFO] [stdout] 73 | self.messages.lock().await.insert(count.clone(), tx); [INFO] [stdout] | ^^^^^^^^^^^^^ help: try removing the `clone` call: `count` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stdout] = note: `#[warn(clippy::clone_on_copy)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `clone` on type `usize` which implements the `Copy` trait [INFO] [stdout] --> ipc_channel_adapter/src/child/asynch/host_sender.rs:76:48 [INFO] [stdout] | [INFO] [stdout] 76 | .send(IpcClientRequestContext::(count.clone(), req)) [INFO] [stdout] | ^^^^^^^^^^^^^ help: try removing the `clone` call: `count` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this returns a `Result<_, ()>` [INFO] [stdout] --> ipc_channel_adapter/src/child/asynch/host_sender.rs:34:3 [INFO] [stdout] | [INFO] [stdout] 34 | pub fn new(channel_name: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: use a custom `Error` type instead [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#result_unit_err [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: very complex type used. Consider factoring parts into `type` definitions [INFO] [stdout] --> ipc_channel_adapter/src/child/sync/host_receiver.rs:29:37 [INFO] [stdout] | [INFO] [stdout] 29 | pub fn new(channel_name: &str) -> Result<(Self, Receiver<(Request, Sender)>), String> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#type_complexity [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this returns a `Result<_, ()>` [INFO] [stdout] --> ipc_channel_adapter/src/child/sync/host_sender.rs:34:3 [INFO] [stdout] | [INFO] [stdout] 34 | pub fn new(channel_name: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: use a custom `Error` type instead [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#result_unit_err [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `clone` on type `usize` which implements the `Copy` trait [INFO] [stdout] --> ipc_channel_adapter/src/child/sync/host_sender.rs:73:42 [INFO] [stdout] | [INFO] [stdout] 73 | self.messages.lock().unwrap().insert(count.clone(), tx); [INFO] [stdout] | ^^^^^^^^^^^^^ help: try removing the `clone` call: `count` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `clone` on type `usize` which implements the `Copy` trait [INFO] [stdout] --> ipc_channel_adapter/src/child/sync/host_sender.rs:76:48 [INFO] [stdout] | [INFO] [stdout] 76 | .send(IpcClientRequestContext::(count.clone(), req)) [INFO] [stdout] | ^^^^^^^^^^^^^ help: try removing the `clone` call: `count` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `clone` on type `usize` which implements the `Copy` trait [INFO] [stdout] --> ipc_channel_adapter/src/child/asynch/host_sender.rs:73:39 [INFO] [stdout] | [INFO] [stdout] 73 | self.messages.lock().await.insert(count.clone(), tx); [INFO] [stdout] | ^^^^^^^^^^^^^ help: try removing the `clone` call: `count` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stdout] = note: `#[warn(clippy::clone_on_copy)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `clone` on type `usize` which implements the `Copy` trait [INFO] [stdout] --> ipc_channel_adapter/src/child/asynch/host_sender.rs:76:48 [INFO] [stdout] | [INFO] [stdout] 76 | .send(IpcClientRequestContext::(count.clone(), req)) [INFO] [stdout] | ^^^^^^^^^^^^^ help: try removing the `clone` call: `count` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: very complex type used. Consider factoring parts into `type` definitions [INFO] [stdout] --> ipc_channel_adapter/src/child/sync/host_receiver.rs:29:37 [INFO] [stdout] | [INFO] [stdout] 29 | pub fn new(channel_name: &str) -> Result<(Self, Receiver<(Request, Sender)>), String> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#type_complexity [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this returns a `Result<_, ()>` [INFO] [stdout] --> ipc_channel_adapter/src/host/asynch/child_receiver.rs:30:3 [INFO] [stdout] | [INFO] [stdout] 30 | pub fn new() -> Result<(Self, UnboundedReceiver<(Request, OneshotSender)>), ()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: use a custom `Error` type instead [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#result_unit_err [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: very complex type used. Consider factoring parts into `type` definitions [INFO] [stdout] --> ipc_channel_adapter/src/host/asynch/child_receiver.rs:30:19 [INFO] [stdout] | [INFO] [stdout] 30 | pub fn new() -> Result<(Self, UnboundedReceiver<(Request, OneshotSender)>), ()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#type_complexity [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: you should consider adding a `Default` implementation for `ChildSender` [INFO] [stdout] --> ipc_channel_adapter/src/host/asynch/child_sender.rs:35:3 [INFO] [stdout] | [INFO] [stdout] 35 | / pub fn new() -> Self { [INFO] [stdout] 36 | | let (server_name, tx_ipc, mut rx_ipc) = [INFO] [stdout] 37 | | create_ipc_host::, IpcClientResponseContext>() [INFO] [stdout] 38 | | .unwrap(); [INFO] [stdout] ... | [INFO] [stdout] 61 | | } [INFO] [stdout] | |___^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#new_without_default [INFO] [stdout] = note: `#[warn(clippy::new_without_default)]` on by default [INFO] [stdout] help: try adding this [INFO] [stdout] | [INFO] [stdout] 30 + impl Default for ChildSender [INFO] [stdout] 31 + where [INFO] [stdout] 32 + Request: Clone + Send + Serialize + DeserializeOwned + Debug + 'static, [INFO] [stdout] 33 + Response: Clone + Send + Serialize + DeserializeOwned + Debug + 'static, [INFO] [stdout] 34 + { [INFO] [stdout] 35 + fn default() -> Self { [INFO] [stdout] 36 + Self::new() [INFO] [stdout] 37 + } [INFO] [stdout] 38 + } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this returns a `Result<_, ()>` [INFO] [stdout] --> ipc_channel_adapter/src/child/sync/host_sender.rs:34:3 [INFO] [stdout] | [INFO] [stdout] 34 | pub fn new(channel_name: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: use a custom `Error` type instead [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#result_unit_err [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `clone` on type `usize` which implements the `Copy` trait [INFO] [stdout] --> ipc_channel_adapter/src/child/sync/host_sender.rs:73:42 [INFO] [stdout] | [INFO] [stdout] 73 | self.messages.lock().unwrap().insert(count.clone(), tx); [INFO] [stdout] | ^^^^^^^^^^^^^ help: try removing the `clone` call: `count` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `clone` on type `usize` which implements the `Copy` trait [INFO] [stdout] --> ipc_channel_adapter/src/child/sync/host_sender.rs:76:48 [INFO] [stdout] | [INFO] [stdout] 76 | .send(IpcClientRequestContext::(count.clone(), req)) [INFO] [stdout] | ^^^^^^^^^^^^^ help: try removing the `clone` call: `count` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `clone` on type `usize` which implements the `Copy` trait [INFO] [stdout] --> ipc_channel_adapter/src/host/asynch/child_sender.rs:71:41 [INFO] [stdout] | [INFO] [stdout] 71 | self.messages.lock().await.insert(count.clone(), tx); [INFO] [stdout] | ^^^^^^^^^^^^^ help: try removing the `clone` call: `count` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `clone` on type `usize` which implements the `Copy` trait [INFO] [stdout] --> ipc_channel_adapter/src/host/asynch/child_sender.rs:76:48 [INFO] [stdout] | [INFO] [stdout] 76 | .send(IpcClientRequestContext::(count.clone(), req)) [INFO] [stdout] | ^^^^^^^^^^^^^ help: try removing the `clone` call: `count` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: very complex type used. Consider factoring parts into `type` definitions [INFO] [stdout] --> ipc_channel_adapter/src/host/sync/child_receiver.rs:30:19 [INFO] [stdout] | [INFO] [stdout] 30 | pub fn new() -> Result<(Self, Receiver<(Request, Sender)>), String> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#type_complexity [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unneeded `return` statement [INFO] [stdout] --> ipc_channel_adapter/src/host/sync/child_sender.rs:70:5 [INFO] [stdout] | [INFO] [stdout] 70 | return Ok(response) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_return [INFO] [stdout] = note: `#[warn(clippy::needless_return)]` on by default [INFO] [stdout] help: remove `return` [INFO] [stdout] | [INFO] [stdout] 70 - return Ok(response) [INFO] [stdout] 70 + Ok(response) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: useless use of `format!` [INFO] [stdout] --> ipc_channel_adapter/src/host/sync/child_sender.rs:65:18 [INFO] [stdout] | [INFO] [stdout] 65 | return Err(format!("IPC Host: Unable to send request")) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: consider using `.to_string()`: `"IPC Host: Unable to send request".to_string()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_format [INFO] [stdout] = note: `#[warn(clippy::useless_format)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: useless use of `format!` [INFO] [stdout] --> ipc_channel_adapter/src/host/sync/child_sender.rs:68:18 [INFO] [stdout] | [INFO] [stdout] 68 | return Err(format!("IPC Host: Unable to get response")) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: consider using `.to_string()`: `"IPC Host: Unable to get response".to_string()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_format [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `clone` on type `usize` which implements the `Copy` trait [INFO] [stdout] --> ipc_channel_adapter/src/host/sync/child_sender.rs:76:42 [INFO] [stdout] | [INFO] [stdout] 76 | self.messages.lock().unwrap().insert(count.clone(), tx); [INFO] [stdout] | ^^^^^^^^^^^^^ help: try removing the `clone` call: `count` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `clone` on type `usize` which implements the `Copy` trait [INFO] [stdout] --> ipc_channel_adapter/src/host/sync/child_sender.rs:79:48 [INFO] [stdout] | [INFO] [stdout] 79 | .send(IpcClientRequestContext::(count.clone(), req)) { [INFO] [stdout] | ^^^^^^^^^^^^^ help: try removing the `clone` call: `count` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this returns a `Result<_, ()>` [INFO] [stdout] --> ipc_channel_adapter/src/ipc/asynch/create_ipc_child.rs:12:1 [INFO] [stdout] | [INFO] [stdout] 12 | / pub fn create_ipc_child( [INFO] [stdout] 13 | | host_server_name: &str, [INFO] [stdout] 14 | | ) -> Result<(UnboundedSender, UnboundedReceiver), ()> [INFO] [stdout] | |____________________________________________________________________^ [INFO] [stdout] | [INFO] [stdout] = help: use a custom `Error` type instead [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#result_unit_err [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this returns a `Result<_, ()>` [INFO] [stdout] --> ipc_channel_adapter/src/ipc/asynch/create_ipc_host.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | / pub fn create_ipc_host( [INFO] [stdout] 14 | | ) -> Result<(String, UnboundedSender, UnboundedReceiver), ()> [INFO] [stdout] | |____________________________________________________________________________^ [INFO] [stdout] | [INFO] [stdout] = help: use a custom `Error` type instead [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#result_unit_err [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this boolean expression can be simplified [INFO] [stdout] --> ipc_channel_adapter/src/ipc/asynch/create_ipc_host.rs:46:8 [INFO] [stdout] | [INFO] [stdout] 46 | if !itx2.send(itx_child_outgoing).is_ok() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `itx2.send(itx_child_outgoing).is_err()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#nonminimal_bool [INFO] [stdout] = note: `#[warn(clippy::nonminimal_bool)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: useless use of `format!` [INFO] [stdout] --> ipc_channel_adapter/src/ipc/sync/create_ipc_child.rs:25:16 [INFO] [stdout] | [INFO] [stdout] 25 | return Err(format!("IPC Child: Unable to create channel")); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: consider using `.to_string()`: `"IPC Child: Unable to create channel".to_string()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_format [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: useless use of `format!` [INFO] [stdout] --> ipc_channel_adapter/src/ipc/sync/create_ipc_child.rs:29:16 [INFO] [stdout] | [INFO] [stdout] 29 | return Err(format!("IPC Child: Unable to connect to create channel")); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: consider using `.to_string()`: `"IPC Child: Unable to connect to create channel".to_string()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_format [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: useless use of `format!` [INFO] [stdout] --> ipc_channel_adapter/src/ipc/sync/create_ipc_child.rs:34:16 [INFO] [stdout] | [INFO] [stdout] 34 | return Err(format!("IPC Child: Unable to connect to host receiver")); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: consider using `.to_string()`: `"IPC Child: Unable to connect to host receiver".to_string()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_format [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this returns a `Result<_, ()>` [INFO] [stdout] --> ipc_channel_adapter/src/host/asynch/child_receiver.rs:30:3 [INFO] [stdout] | [INFO] [stdout] 30 | pub fn new() -> Result<(Self, UnboundedReceiver<(Request, OneshotSender)>), ()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: use a custom `Error` type instead [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#result_unit_err [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: very complex type used. Consider factoring parts into `type` definitions [INFO] [stdout] --> ipc_channel_adapter/src/host/asynch/child_receiver.rs:30:19 [INFO] [stdout] | [INFO] [stdout] 30 | pub fn new() -> Result<(Self, UnboundedReceiver<(Request, OneshotSender)>), ()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#type_complexity [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: useless use of `format!` [INFO] [stdout] --> ipc_channel_adapter/src/ipc/sync/create_ipc_child.rs:60:16 [INFO] [stdout] | [INFO] [stdout] 60 | return Err(format!("IPC Child: Unable to establish handshake")); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: consider using `.to_string()`: `"IPC Child: Unable to establish handshake".to_string()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_format [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: useless use of `format!` [INFO] [stdout] --> ipc_channel_adapter/src/ipc/sync/create_ipc_host.rs:25:18 [INFO] [stdout] | [INFO] [stdout] 25 | return Err(format!("IPC Host: Unable to create handshake server")); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: consider using `.to_string()`: `"IPC Host: Unable to create handshake server".to_string()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_format [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: you should consider adding a `Default` implementation for `ChildSender` [INFO] [stdout] --> ipc_channel_adapter/src/host/asynch/child_sender.rs:35:3 [INFO] [stdout] | [INFO] [stdout] 35 | / pub fn new() -> Self { [INFO] [stdout] 36 | | let (server_name, tx_ipc, mut rx_ipc) = [INFO] [stdout] 37 | | create_ipc_host::, IpcClientResponseContext>() [INFO] [stdout] 38 | | .unwrap(); [INFO] [stdout] ... | [INFO] [stdout] 61 | | } [INFO] [stdout] | |___^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#new_without_default [INFO] [stdout] = note: `#[warn(clippy::new_without_default)]` on by default [INFO] [stdout] help: try adding this [INFO] [stdout] | [INFO] [stdout] 30 + impl Default for ChildSender [INFO] [stdout] 31 + where [INFO] [stdout] 32 + Request: Clone + Send + Serialize + DeserializeOwned + Debug + 'static, [INFO] [stdout] 33 + Response: Clone + Send + Serialize + DeserializeOwned + Debug + 'static, [INFO] [stdout] 34 + { [INFO] [stdout] 35 + fn default() -> Self { [INFO] [stdout] 36 + Self::new() [INFO] [stdout] 37 + } [INFO] [stdout] 38 + } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `clone` on type `usize` which implements the `Copy` trait [INFO] [stdout] --> ipc_channel_adapter/src/host/asynch/child_sender.rs:71:41 [INFO] [stdout] | [INFO] [stdout] 71 | self.messages.lock().await.insert(count.clone(), tx); [INFO] [stdout] | ^^^^^^^^^^^^^ help: try removing the `clone` call: `count` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `clone` on type `usize` which implements the `Copy` trait [INFO] [stdout] --> ipc_channel_adapter/src/host/asynch/child_sender.rs:76:48 [INFO] [stdout] | [INFO] [stdout] 76 | .send(IpcClientRequestContext::(count.clone(), req)) [INFO] [stdout] | ^^^^^^^^^^^^^ help: try removing the `clone` call: `count` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: very complex type used. Consider factoring parts into `type` definitions [INFO] [stdout] --> ipc_channel_adapter/src/host/sync/child_receiver.rs:30:19 [INFO] [stdout] | [INFO] [stdout] 30 | pub fn new() -> Result<(Self, Receiver<(Request, Sender)>), String> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#type_complexity [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unneeded `return` statement [INFO] [stdout] --> ipc_channel_adapter/src/host/sync/child_sender.rs:70:5 [INFO] [stdout] | [INFO] [stdout] 70 | return Ok(response) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_return [INFO] [stdout] = note: `#[warn(clippy::needless_return)]` on by default [INFO] [stdout] help: remove `return` [INFO] [stdout] | [INFO] [stdout] 70 - return Ok(response) [INFO] [stdout] 70 + Ok(response) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: useless use of `format!` [INFO] [stdout] --> ipc_channel_adapter/src/host/sync/child_sender.rs:65:18 [INFO] [stdout] | [INFO] [stdout] 65 | return Err(format!("IPC Host: Unable to send request")) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: consider using `.to_string()`: `"IPC Host: Unable to send request".to_string()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_format [INFO] [stdout] = note: `#[warn(clippy::useless_format)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: useless use of `format!` [INFO] [stdout] --> ipc_channel_adapter/src/host/sync/child_sender.rs:68:18 [INFO] [stdout] | [INFO] [stdout] 68 | return Err(format!("IPC Host: Unable to get response")) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: consider using `.to_string()`: `"IPC Host: Unable to get response".to_string()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_format [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `clone` on type `usize` which implements the `Copy` trait [INFO] [stdout] --> ipc_channel_adapter/src/host/sync/child_sender.rs:76:42 [INFO] [stdout] | [INFO] [stdout] 76 | self.messages.lock().unwrap().insert(count.clone(), tx); [INFO] [stdout] | ^^^^^^^^^^^^^ help: try removing the `clone` call: `count` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `clone` on type `usize` which implements the `Copy` trait [INFO] [stdout] --> ipc_channel_adapter/src/host/sync/child_sender.rs:79:48 [INFO] [stdout] | [INFO] [stdout] 79 | .send(IpcClientRequestContext::(count.clone(), req)) { [INFO] [stdout] | ^^^^^^^^^^^^^ help: try removing the `clone` call: `count` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this returns a `Result<_, ()>` [INFO] [stdout] --> ipc_channel_adapter/src/ipc/asynch/create_ipc_child.rs:12:1 [INFO] [stdout] | [INFO] [stdout] 12 | / pub fn create_ipc_child( [INFO] [stdout] 13 | | host_server_name: &str, [INFO] [stdout] 14 | | ) -> Result<(UnboundedSender, UnboundedReceiver), ()> [INFO] [stdout] | |____________________________________________________________________^ [INFO] [stdout] | [INFO] [stdout] = help: use a custom `Error` type instead [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#result_unit_err [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this returns a `Result<_, ()>` [INFO] [stdout] --> ipc_channel_adapter/src/ipc/asynch/create_ipc_host.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | / pub fn create_ipc_host( [INFO] [stdout] 14 | | ) -> Result<(String, UnboundedSender, UnboundedReceiver), ()> [INFO] [stdout] | |____________________________________________________________________________^ [INFO] [stdout] | [INFO] [stdout] = help: use a custom `Error` type instead [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#result_unit_err [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this boolean expression can be simplified [INFO] [stdout] --> ipc_channel_adapter/src/ipc/asynch/create_ipc_host.rs:46:8 [INFO] [stdout] | [INFO] [stdout] 46 | if !itx2.send(itx_child_outgoing).is_ok() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `itx2.send(itx_child_outgoing).is_err()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#nonminimal_bool [INFO] [stdout] = note: `#[warn(clippy::nonminimal_bool)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: useless use of `format!` [INFO] [stdout] --> ipc_channel_adapter/src/ipc/sync/create_ipc_child.rs:25:16 [INFO] [stdout] | [INFO] [stdout] 25 | return Err(format!("IPC Child: Unable to create channel")); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: consider using `.to_string()`: `"IPC Child: Unable to create channel".to_string()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_format [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: useless use of `format!` [INFO] [stdout] --> ipc_channel_adapter/src/ipc/sync/create_ipc_child.rs:29:16 [INFO] [stdout] | [INFO] [stdout] 29 | return Err(format!("IPC Child: Unable to connect to create channel")); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: consider using `.to_string()`: `"IPC Child: Unable to connect to create channel".to_string()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_format [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: useless use of `format!` [INFO] [stdout] --> ipc_channel_adapter/src/ipc/sync/create_ipc_child.rs:34:16 [INFO] [stdout] | [INFO] [stdout] 34 | return Err(format!("IPC Child: Unable to connect to host receiver")); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: consider using `.to_string()`: `"IPC Child: Unable to connect to host receiver".to_string()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_format [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: useless use of `format!` [INFO] [stdout] --> ipc_channel_adapter/src/ipc/sync/create_ipc_child.rs:60:16 [INFO] [stdout] | [INFO] [stdout] 60 | return Err(format!("IPC Child: Unable to establish handshake")); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: consider using `.to_string()`: `"IPC Child: Unable to establish handshake".to_string()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_format [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: useless use of `format!` [INFO] [stdout] --> ipc_channel_adapter/src/ipc/sync/create_ipc_host.rs:25:18 [INFO] [stdout] | [INFO] [stdout] 25 | return Err(format!("IPC Host: Unable to create handshake server")); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: consider using `.to_string()`: `"IPC Host: Unable to create handshake server".to_string()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_format [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking ipc_host_asynch v0.1.0 (/opt/rustwide/workdir/examples/asynch/ipc_host) [INFO] [stderr] Checking ipc_child_asynch v0.1.0 (/opt/rustwide/workdir/examples/asynch/ipc_child) [INFO] [stderr] Checking ipc_child_sync v0.1.0 (/opt/rustwide/workdir/examples/sync/ipc_child) [INFO] [stderr] Checking ipc_host_sync v0.1.0 (/opt/rustwide/workdir/examples/sync/ipc_host) [INFO] [stdout] warning: the borrowed expression implements the required traits [INFO] [stdout] --> examples/asynch/ipc_host/src/main.rs:51:32 [INFO] [stdout] | [INFO] [stdout] 51 | command.env("IPC_BENCHMARK", &config.benchmark.to_string()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: change this to: `config.benchmark.to_string()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args [INFO] [stdout] = note: `#[warn(clippy::needless_borrows_for_generic_args)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: spawned process is never `wait()`ed on [INFO] [stdout] --> examples/asynch/ipc_host/src/main.rs:57:3 [INFO] [stdout] | [INFO] [stdout] 57 | command.spawn().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^- help: try: `.wait()` [INFO] [stdout] | [INFO] [stdout] = note: not doing so might leave behind zombie processes [INFO] [stdout] = note: see https://doc.rust-lang.org/stable/std/process/struct.Child.html#warning [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#zombie_processes [INFO] [stdout] = note: `#[warn(clippy::zombie_processes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this operation has no effect [INFO] [stdout] --> examples/asynch/ipc_host/src/main.rs:79:16 [INFO] [stdout] | [INFO] [stdout] 79 | let expect = 1 * config.benchmark_message_count; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: consider reducing it to: `config.benchmark_message_count` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#identity_op [INFO] [stdout] = note: `#[warn(clippy::identity_op)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: casting integer literal to `f64` is unnecessary [INFO] [stdout] --> examples/asynch/ipc_host/src/main.rs:100:34 [INFO] [stdout] | [INFO] [stdout] 100 | end_time.as_nanos() as f64 / 1_000_000 as f64 / 1000 as f64 [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: try: `1_000_000_f64` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_cast [INFO] [stdout] = note: `#[warn(clippy::unnecessary_cast)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: casting integer literal to `f64` is unnecessary [INFO] [stdout] --> examples/asynch/ipc_host/src/main.rs:100:53 [INFO] [stdout] | [INFO] [stdout] 100 | end_time.as_nanos() as f64 / 1_000_000 as f64 / 1000 as f64 [INFO] [stdout] | ^^^^^^^^^^^ help: try: `1000_f64` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_cast [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the borrowed expression implements the required traits [INFO] [stdout] --> examples/sync/ipc_host/src/main.rs:49:32 [INFO] [stdout] | [INFO] [stdout] 49 | command.env("IPC_BENCHMARK", &config.benchmark.to_string()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: change this to: `config.benchmark.to_string()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args [INFO] [stdout] = note: `#[warn(clippy::needless_borrows_for_generic_args)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: spawned process is never `wait()`ed on [INFO] [stdout] --> examples/sync/ipc_host/src/main.rs:55:3 [INFO] [stdout] | [INFO] [stdout] 55 | command.spawn().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^- help: try: `.wait()` [INFO] [stdout] | [INFO] [stdout] = note: not doing so might leave behind zombie processes [INFO] [stdout] = note: see https://doc.rust-lang.org/stable/std/process/struct.Child.html#warning [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#zombie_processes [INFO] [stdout] = note: `#[warn(clippy::zombie_processes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this operation has no effect [INFO] [stdout] --> examples/sync/ipc_host/src/main.rs:77:16 [INFO] [stdout] | [INFO] [stdout] 77 | let expect = 1 * config.benchmark_message_count; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: consider reducing it to: `config.benchmark_message_count` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#identity_op [INFO] [stdout] = note: `#[warn(clippy::identity_op)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: casting integer literal to `f64` is unnecessary [INFO] [stdout] --> examples/sync/ipc_host/src/main.rs:91:34 [INFO] [stdout] | [INFO] [stdout] 91 | end_time.as_nanos() as f64 / 1_000_000 as f64 / 1000 as f64 [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: try: `1_000_000_f64` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_cast [INFO] [stdout] = note: `#[warn(clippy::unnecessary_cast)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: casting integer literal to `f64` is unnecessary [INFO] [stdout] --> examples/sync/ipc_host/src/main.rs:91:53 [INFO] [stdout] | [INFO] [stdout] 91 | end_time.as_nanos() as f64 / 1_000_000 as f64 / 1000 as f64 [INFO] [stdout] | ^^^^^^^^^^^ help: try: `1000_f64` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_cast [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the borrowed expression implements the required traits [INFO] [stdout] --> examples/asynch/ipc_host/src/main.rs:51:32 [INFO] [stdout] | [INFO] [stdout] 51 | command.env("IPC_BENCHMARK", &config.benchmark.to_string()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: change this to: `config.benchmark.to_string()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args [INFO] [stdout] = note: `#[warn(clippy::needless_borrows_for_generic_args)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: spawned process is never `wait()`ed on [INFO] [stdout] --> examples/asynch/ipc_host/src/main.rs:57:3 [INFO] [stdout] | [INFO] [stdout] 57 | command.spawn().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^- help: try: `.wait()` [INFO] [stdout] | [INFO] [stdout] = note: not doing so might leave behind zombie processes [INFO] [stdout] = note: see https://doc.rust-lang.org/stable/std/process/struct.Child.html#warning [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#zombie_processes [INFO] [stdout] = note: `#[warn(clippy::zombie_processes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this operation has no effect [INFO] [stdout] --> examples/asynch/ipc_host/src/main.rs:79:16 [INFO] [stdout] | [INFO] [stdout] 79 | let expect = 1 * config.benchmark_message_count; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: consider reducing it to: `config.benchmark_message_count` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#identity_op [INFO] [stdout] = note: `#[warn(clippy::identity_op)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: casting integer literal to `f64` is unnecessary [INFO] [stdout] --> examples/asynch/ipc_host/src/main.rs:100:34 [INFO] [stdout] | [INFO] [stdout] 100 | end_time.as_nanos() as f64 / 1_000_000 as f64 / 1000 as f64 [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: try: `1_000_000_f64` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_cast [INFO] [stdout] = note: `#[warn(clippy::unnecessary_cast)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: casting integer literal to `f64` is unnecessary [INFO] [stdout] --> examples/asynch/ipc_host/src/main.rs:100:53 [INFO] [stdout] | [INFO] [stdout] 100 | end_time.as_nanos() as f64 / 1_000_000 as f64 / 1000 as f64 [INFO] [stdout] | ^^^^^^^^^^^ help: try: `1000_f64` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_cast [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the borrowed expression implements the required traits [INFO] [stdout] --> examples/sync/ipc_host/src/main.rs:49:32 [INFO] [stdout] | [INFO] [stdout] 49 | command.env("IPC_BENCHMARK", &config.benchmark.to_string()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: change this to: `config.benchmark.to_string()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args [INFO] [stdout] = note: `#[warn(clippy::needless_borrows_for_generic_args)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: spawned process is never `wait()`ed on [INFO] [stdout] --> examples/sync/ipc_host/src/main.rs:55:3 [INFO] [stdout] | [INFO] [stdout] 55 | command.spawn().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^- help: try: `.wait()` [INFO] [stdout] | [INFO] [stdout] = note: not doing so might leave behind zombie processes [INFO] [stdout] = note: see https://doc.rust-lang.org/stable/std/process/struct.Child.html#warning [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#zombie_processes [INFO] [stdout] = note: `#[warn(clippy::zombie_processes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this operation has no effect [INFO] [stdout] --> examples/sync/ipc_host/src/main.rs:77:16 [INFO] [stdout] | [INFO] [stdout] 77 | let expect = 1 * config.benchmark_message_count; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: consider reducing it to: `config.benchmark_message_count` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#identity_op [INFO] [stdout] = note: `#[warn(clippy::identity_op)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: casting integer literal to `f64` is unnecessary [INFO] [stdout] --> examples/sync/ipc_host/src/main.rs:91:34 [INFO] [stdout] | [INFO] [stdout] 91 | end_time.as_nanos() as f64 / 1_000_000 as f64 / 1000 as f64 [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: try: `1_000_000_f64` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_cast [INFO] [stdout] = note: `#[warn(clippy::unnecessary_cast)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: casting integer literal to `f64` is unnecessary [INFO] [stdout] --> examples/sync/ipc_host/src/main.rs:91:53 [INFO] [stdout] | [INFO] [stdout] 91 | end_time.as_nanos() as f64 / 1_000_000 as f64 / 1000 as f64 [INFO] [stdout] | ^^^^^^^^^^^ help: try: `1000_f64` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_cast [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 15.45s [INFO] running `Command { std: "docker" "inspect" "4e3ff8567dc20c2e95d8a068bc93ffe98a7c088afdc6d8efdbd8ad61c36b3fea", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4e3ff8567dc20c2e95d8a068bc93ffe98a7c088afdc6d8efdbd8ad61c36b3fea", kill_on_drop: false }` [INFO] [stdout] 4e3ff8567dc20c2e95d8a068bc93ffe98a7c088afdc6d8efdbd8ad61c36b3fea