[INFO] cloning repository https://github.com/shilpi-mittal/IFT [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/shilpi-mittal/IFT" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fshilpi-mittal%2FIFT", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fshilpi-mittal%2FIFT'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 836dc525049e89ea1023c06156104833e5741601 [INFO] checking shilpi-mittal/IFT against try#6db1a6a7ebb2ad243051f3ff949f987dd70cde2b+rustflags=-Dreturn-local-variable-ptr for pr-134218 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fshilpi-mittal%2FIFT" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/shilpi-mittal/IFT on toolchain 6db1a6a7ebb2ad243051f3ff949f987dd70cde2b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+6db1a6a7ebb2ad243051f3ff949f987dd70cde2b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/shilpi-mittal/IFT [INFO] finished tweaking git repo https://github.com/shilpi-mittal/IFT [INFO] tweaked toml for git repo https://github.com/shilpi-mittal/IFT written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/shilpi-mittal/IFT 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" "+6db1a6a7ebb2ad243051f3ff949f987dd70cde2b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded os_pipe v1.1.5 [INFO] [stderr] Downloaded command-run v1.1.2 [INFO] [stderr] Downloaded restest_macros v0.1.0 [INFO] [stderr] Downloaded dep_doc v0.1.1 [INFO] [stderr] Downloaded restest v0.1.0 [INFO] [stderr] Downloaded docker-command v5.0.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+6db1a6a7ebb2ad243051f3ff949f987dd70cde2b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c2361dd919727b2b9f4f6bb86ebca2e485c774c48e2501e411de656b3948dbb4 [INFO] running `Command { std: "docker" "start" "-a" "c2361dd919727b2b9f4f6bb86ebca2e485c774c48e2501e411de656b3948dbb4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c2361dd919727b2b9f4f6bb86ebca2e485c774c48e2501e411de656b3948dbb4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c2361dd919727b2b9f4f6bb86ebca2e485c774c48e2501e411de656b3948dbb4", kill_on_drop: false }` [INFO] [stdout] c2361dd919727b2b9f4f6bb86ebca2e485c774c48e2501e411de656b3948dbb4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid -Dreturn-local-variable-ptr" "-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+6db1a6a7ebb2ad243051f3ff949f987dd70cde2b" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 994bd278a6e97f8fe174d810f7923a5249d4a1fbe76bdde70896bb767a943459 [INFO] running `Command { std: "docker" "start" "-a" "994bd278a6e97f8fe174d810f7923a5249d4a1fbe76bdde70896bb767a943459", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.82 [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Compiling cc v1.0.97 [INFO] [stderr] Compiling serde v1.0.202 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Checking log v0.4.21 [INFO] [stderr] Compiling crunchy v0.2.2 [INFO] [stderr] Checking rustc-hex v2.1.0 [INFO] [stderr] Compiling openssl v0.10.64 [INFO] [stderr] Compiling native-tls v0.2.11 [INFO] [stderr] Checking futures-task v0.3.30 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Checking bitflags v2.5.0 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Compiling tiny-keccak v2.0.2 [INFO] [stderr] Checking openssl-probe v0.1.5 [INFO] [stderr] Checking hex v0.4.3 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking memchr v2.7.2 [INFO] [stderr] Checking rlp v0.5.2 [INFO] [stderr] Checking idna v0.5.0 [INFO] [stderr] Compiling thiserror v1.0.60 [INFO] [stderr] Checking regex-syntax v0.8.3 [INFO] [stderr] Compiling execute-command-tokens v0.1.7 [INFO] [stderr] Checking rustls-pemfile v1.0.4 [INFO] [stderr] Checking encoding_rs v0.8.34 [INFO] [stderr] Checking powerfmt v0.2.0 [INFO] [stderr] Checking ipnet v2.9.0 [INFO] [stderr] Checking uint v0.9.5 [INFO] [stderr] Checking impl-rlp v0.3.0 [INFO] [stderr] Checking keccak v0.1.5 [INFO] [stderr] Checking deranged v0.3.11 [INFO] [stderr] Checking dep_doc v0.1.1 [INFO] [stderr] Checking num-conv v0.1.0 [INFO] [stderr] Checking time-core v0.1.2 [INFO] [stderr] Checking url v2.5.0 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking mio v0.8.11 [INFO] [stderr] Checking socket2 v0.5.7 [INFO] [stderr] Checking getrandom v0.2.14 [INFO] [stderr] Checking os_pipe v1.1.5 [INFO] [stderr] Checking users v0.11.0 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Checking command-run v1.1.2 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking docker-command v5.0.1 [INFO] [stderr] Compiling syn v2.0.64 [INFO] [stderr] Checking generic-array v0.14.7 [INFO] [stderr] Checking generic-array v1.0.0 [INFO] [stderr] Checking time v0.3.36 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Compiling openssl-sys v0.9.102 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Checking regex-automata v0.4.6 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking sha3 v0.10.8 [INFO] [stderr] Checking fixed-hash v0.8.0 [INFO] [stderr] Compiling serde_derive v1.0.202 [INFO] [stderr] Compiling tokio-macros v2.2.0 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling thiserror-impl v1.0.60 [INFO] [stderr] Compiling execute-command-macro-impl v0.1.10 [INFO] [stderr] Checking regex v1.10.4 [INFO] [stderr] Checking execute-command-macro v0.1.9 [INFO] [stderr] Checking tokio v1.37.0 [INFO] [stderr] Checking execute v0.2.13 [INFO] [stderr] Compiling restest_macros v0.1.0 [INFO] [stderr] Checking tokio-util v0.7.11 [INFO] [stderr] Checking tokio-native-tls v0.3.1 [INFO] [stderr] Checking h2 v0.3.26 [INFO] [stderr] Checking impl-serde v0.4.0 [INFO] [stderr] Checking serde_json v1.0.117 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking ethbloom v0.13.0 [INFO] [stderr] Checking primitive-types v0.12.2 [INFO] [stderr] Checking ethereum-types v0.14.1 [INFO] [stderr] Checking ethabi v18.0.0 [INFO] [stderr] Checking hyper v0.14.28 [INFO] [stderr] Checking hyper-tls v0.5.0 [INFO] [stderr] Checking reqwest v0.11.27 [INFO] [stderr] Checking restest v0.1.0 [INFO] [stderr] Checking IFT v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/helpers.rs:8:50 [INFO] [stdout] | [INFO] [stdout] 8 | pub(crate) async fn get_node_details() -> Result<(String), Box> { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 8 - pub(crate) async fn get_node_details() -> Result<(String), Box> { [INFO] [stdout] 8 + pub(crate) async fn get_node_details() -> Result> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around function argument [INFO] [stdout] --> src/helpers.rs:20:8 [INFO] [stdout] | [INFO] [stdout] 20 | Ok((info.enrUri)) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 20 - Ok((info.enrUri)) [INFO] [stdout] 20 + Ok(info.enrUri) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/helpers.rs:23:59 [INFO] [stdout] | [INFO] [stdout] 23 | pub(crate) async fn subscribe_topic(port: &str) -> Result<(String), Box> { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 23 - pub(crate) async fn subscribe_topic(port: &str) -> Result<(String), Box> { [INFO] [stdout] 23 + pub(crate) async fn subscribe_topic(port: &str) -> Result> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around function argument [INFO] [stdout] --> src/helpers.rs:40:8 [INFO] [stdout] | [INFO] [stdout] 40 | Ok((body)) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 40 - Ok((body)) [INFO] [stdout] 40 + Ok(body) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/helpers.rs:43:64 [INFO] [stdout] | [INFO] [stdout] 43 | pub(crate) async fn publish_message(host_port: &str) -> Result<(String), Box> { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 43 - pub(crate) async fn publish_message(host_port: &str) -> Result<(String), Box> { [INFO] [stdout] 43 + pub(crate) async fn publish_message(host_port: &str) -> Result> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around function argument [INFO] [stdout] --> src/helpers.rs:66:8 [INFO] [stdout] | [INFO] [stdout] 66 | Ok((body)) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 66 - Ok((body)) [INFO] [stdout] 66 + Ok(body) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/helpers.rs:69:64 [INFO] [stdout] | [INFO] [stdout] 69 | pub(crate) async fn confirm_message(host_port: &str) -> Result<(String), Box> { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 69 - pub(crate) async fn confirm_message(host_port: &str) -> Result<(String), Box> { [INFO] [stdout] 69 + pub(crate) async fn confirm_message(host_port: &str) -> Result> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around function argument [INFO] [stdout] --> src/helpers.rs:78:8 [INFO] [stdout] | [INFO] [stdout] 78 | Ok((body)) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 78 - Ok((body)) [INFO] [stdout] 78 + Ok(body) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/helpers.rs:81:43 [INFO] [stdout] | [INFO] [stdout] 81 | pub(crate) async fn get_peers() -> Result<(String), Box> { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 81 - pub(crate) async fn get_peers() -> Result<(String), Box> { [INFO] [stdout] 81 + pub(crate) async fn get_peers() -> Result> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around function argument [INFO] [stdout] --> src/helpers.rs:91:8 [INFO] [stdout] | [INFO] [stdout] 91 | Ok((body)) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 91 - Ok((body)) [INFO] [stdout] 91 + Ok(body) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Deserialize` [INFO] [stdout] --> src/main.rs:7:13 [INFO] [stdout] | [INFO] [stdout] 7 | use serde::{Deserialize}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `execute::Execute` [INFO] [stdout] --> src/main.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use execute::Execute; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `thread::sleep` [INFO] [stdout] --> src/test2.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use thread::sleep; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `constants` [INFO] [stdout] --> src/test2.rs:3:13 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::{constants}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `create_network`, `remove_network`, `start_docker`, and `stop_docker` [INFO] [stdout] --> src/test2.rs:4:27 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::docker_utils::{create_network, remove_network, start_docker, stop_docker}; [INFO] [stdout] | ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `get_node_details`, `get_peers`, `publish_message`, and `subscribe_topic` [INFO] [stdout] --> src/test2.rs:5:22 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::helpers::{get_node_details, subscribe_topic, get_peers, publish_message}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^^^ ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `thread::sleep` [INFO] [stdout] --> src/test1.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use thread::sleep; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `constants` [INFO] [stdout] --> src/test1.rs:3:13 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::{constants}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `start_docker` and `stop_docker` [INFO] [stdout] --> src/test1.rs:4:27 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::docker_utils::{start_docker, stop_docker}; [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `confirm_message`, `get_node_details`, `publish_message`, and `subscribe_topic` [INFO] [stdout] --> src/test1.rs:5:22 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::helpers::{confirm_message, get_node_details, publish_message, subscribe_topic}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/helpers.rs:8:50 [INFO] [stdout] | [INFO] [stdout] 8 | pub(crate) async fn get_node_details() -> Result<(String), Box> { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 8 - pub(crate) async fn get_node_details() -> Result<(String), Box> { [INFO] [stdout] 8 + pub(crate) async fn get_node_details() -> Result> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around function argument [INFO] [stdout] --> src/helpers.rs:20:8 [INFO] [stdout] | [INFO] [stdout] 20 | Ok((info.enrUri)) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 20 - Ok((info.enrUri)) [INFO] [stdout] 20 + Ok(info.enrUri) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/helpers.rs:23:59 [INFO] [stdout] | [INFO] [stdout] 23 | pub(crate) async fn subscribe_topic(port: &str) -> Result<(String), Box> { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 23 - pub(crate) async fn subscribe_topic(port: &str) -> Result<(String), Box> { [INFO] [stdout] 23 + pub(crate) async fn subscribe_topic(port: &str) -> Result> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around function argument [INFO] [stdout] --> src/helpers.rs:40:8 [INFO] [stdout] | [INFO] [stdout] 40 | Ok((body)) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 40 - Ok((body)) [INFO] [stdout] 40 + Ok(body) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/helpers.rs:43:64 [INFO] [stdout] | [INFO] [stdout] 43 | pub(crate) async fn publish_message(host_port: &str) -> Result<(String), Box> { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 43 - pub(crate) async fn publish_message(host_port: &str) -> Result<(String), Box> { [INFO] [stdout] 43 + pub(crate) async fn publish_message(host_port: &str) -> Result> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around function argument [INFO] [stdout] --> src/helpers.rs:66:8 [INFO] [stdout] | [INFO] [stdout] 66 | Ok((body)) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 66 - Ok((body)) [INFO] [stdout] 66 + Ok(body) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/helpers.rs:69:64 [INFO] [stdout] | [INFO] [stdout] 69 | pub(crate) async fn confirm_message(host_port: &str) -> Result<(String), Box> { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 69 - pub(crate) async fn confirm_message(host_port: &str) -> Result<(String), Box> { [INFO] [stdout] 69 + pub(crate) async fn confirm_message(host_port: &str) -> Result> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around function argument [INFO] [stdout] --> src/helpers.rs:78:8 [INFO] [stdout] | [INFO] [stdout] 78 | Ok((body)) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 78 - Ok((body)) [INFO] [stdout] 78 + Ok(body) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/helpers.rs:81:43 [INFO] [stdout] | [INFO] [stdout] 81 | pub(crate) async fn get_peers() -> Result<(String), Box> { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 81 - pub(crate) async fn get_peers() -> Result<(String), Box> { [INFO] [stdout] 81 + pub(crate) async fn get_peers() -> Result> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around function argument [INFO] [stdout] --> src/helpers.rs:91:8 [INFO] [stdout] | [INFO] [stdout] 91 | Ok((body)) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 91 - Ok((body)) [INFO] [stdout] 91 + Ok(body) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Deserialize` [INFO] [stdout] --> src/main.rs:7:13 [INFO] [stdout] | [INFO] [stdout] 7 | use serde::{Deserialize}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `execute::Execute` [INFO] [stdout] --> src/main.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use execute::Execute; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `output` [INFO] [stdout] --> src/docker_utils.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 7 | let output = Launcher::from(BaseCommand::Docker) [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_output` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `output` [INFO] [stdout] --> src/docker_utils.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 7 | let output = Launcher::from(BaseCommand::Docker) [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_output` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `out` [INFO] [stdout] --> src/docker_utils.rs:103:9 [INFO] [stdout] | [INFO] [stdout] 103 | let out = Launcher::from(BaseCommand::Docker) [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_out` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `out` [INFO] [stdout] --> src/docker_utils.rs:111:9 [INFO] [stdout] | [INFO] [stdout] 111 | let out = Launcher::from(BaseCommand::Docker) [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_out` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `out` [INFO] [stdout] --> src/docker_utils.rs:103:9 [INFO] [stdout] | [INFO] [stdout] 103 | let out = Launcher::from(BaseCommand::Docker) [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_out` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `out` [INFO] [stdout] --> src/docker_utils.rs:111:9 [INFO] [stdout] | [INFO] [stdout] 111 | let out = Launcher::from(BaseCommand::Docker) [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_out` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `FIVE_SECS` is never used [INFO] [stdout] --> src/constants.rs:3:18 [INFO] [stdout] | [INFO] [stdout] 3 | pub(crate) const FIVE_SECS: Duration = Duration::from_millis(5000); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `TEN_SECS` is never used [INFO] [stdout] --> src/constants.rs:4:18 [INFO] [stdout] | [INFO] [stdout] 4 | pub(crate) const TEN_SECS: Duration = Duration::from_millis(10000); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `start_docker` is never used [INFO] [stdout] --> src/docker_utils.rs:5:21 [INFO] [stdout] | [INFO] [stdout] 5 | pub(crate) async fn start_docker(name: &str, network_name: &str, ip: &str, port1: PortRange, port2: PortRange, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_network` is never used [INFO] [stdout] --> src/docker_utils.rs:93:21 [INFO] [stdout] | [INFO] [stdout] 93 | pub(crate) async fn create_network() { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `remove_network` is never used [INFO] [stdout] --> src/docker_utils.rs:102:21 [INFO] [stdout] | [INFO] [stdout] 102 | pub(crate) async fn remove_network() { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `stop_docker` is never used [INFO] [stdout] --> src/docker_utils.rs:110:21 [INFO] [stdout] | [INFO] [stdout] 110 | pub(crate) async fn stop_docker(name: &str) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `enrUri` and `listenAddresses` are never read [INFO] [stdout] --> src/helpers.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 4 | pub(crate) struct Info { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 5 | enrUri: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 6 | listenAddresses: [String; 2] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Info` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_node_details` is never used [INFO] [stdout] --> src/helpers.rs:8:21 [INFO] [stdout] | [INFO] [stdout] 8 | pub(crate) async fn get_node_details() -> Result<(String), Box> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `subscribe_topic` is never used [INFO] [stdout] --> src/helpers.rs:23:21 [INFO] [stdout] | [INFO] [stdout] 23 | pub(crate) async fn subscribe_topic(port: &str) -> Result<(String), Box> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `publish_message` is never used [INFO] [stdout] --> src/helpers.rs:43:21 [INFO] [stdout] | [INFO] [stdout] 43 | pub(crate) async fn publish_message(host_port: &str) -> Result<(String), Box> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `confirm_message` is never used [INFO] [stdout] --> src/helpers.rs:69:21 [INFO] [stdout] | [INFO] [stdout] 69 | pub(crate) async fn confirm_message(host_port: &str) -> Result<(String), Box> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_peers` is never used [INFO] [stdout] --> src/helpers.rs:81:21 [INFO] [stdout] | [INFO] [stdout] 81 | pub(crate) async fn get_peers() -> Result<(String), Box> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `enrUri` should have a snake case name [INFO] [stdout] --> src/helpers.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | enrUri: String, [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `enr_uri` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `listenAddresses` should have a snake case name [INFO] [stdout] --> src/helpers.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | listenAddresses: [String; 2] [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `listen_addresses` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `enrUri` should have a snake case name [INFO] [stdout] --> src/helpers.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | enrUri: String, [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `enr_uri` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `listenAddresses` should have a snake case name [INFO] [stdout] --> src/helpers.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | listenAddresses: [String; 2] [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `listen_addresses` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 26.50s [INFO] running `Command { std: "docker" "inspect" "994bd278a6e97f8fe174d810f7923a5249d4a1fbe76bdde70896bb767a943459", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "994bd278a6e97f8fe174d810f7923a5249d4a1fbe76bdde70896bb767a943459", kill_on_drop: false }` [INFO] [stdout] 994bd278a6e97f8fe174d810f7923a5249d4a1fbe76bdde70896bb767a943459