[INFO] cloning repository https://github.com/mehul20081/mehul20081-Assignment-Rust-2-nebuliaq-placement-iiitd-Mehul-Singh-2024 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/mehul20081/mehul20081-Assignment-Rust-2-nebuliaq-placement-iiitd-Mehul-Singh-2024" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmehul20081%2Fmehul20081-Assignment-Rust-2-nebuliaq-placement-iiitd-Mehul-Singh-2024", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmehul20081%2Fmehul20081-Assignment-Rust-2-nebuliaq-placement-iiitd-Mehul-Singh-2024'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] ee5c597a6bfbc84af07c57a942ff0dea529e1db9 [INFO] building mehul20081/mehul20081-Assignment-Rust-2-nebuliaq-placement-iiitd-Mehul-Singh-2024 against master#ad85bc524b1ad696e42061ad8338d382dffbdbe5 for pr-146237-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmehul20081%2Fmehul20081-Assignment-Rust-2-nebuliaq-placement-iiitd-Mehul-Singh-2024" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/mehul20081/mehul20081-Assignment-Rust-2-nebuliaq-placement-iiitd-Mehul-Singh-2024 [INFO] finished tweaking git repo https://github.com/mehul20081/mehul20081-Assignment-Rust-2-nebuliaq-placement-iiitd-Mehul-Singh-2024 [INFO] tweaked toml for git repo https://github.com/mehul20081/mehul20081-Assignment-Rust-2-nebuliaq-placement-iiitd-Mehul-Singh-2024 written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/mehul20081/mehul20081-Assignment-Rust-2-nebuliaq-placement-iiitd-Mehul-Singh-2024 on toolchain ad85bc524b1ad696e42061ad8338d382dffbdbe5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/mehul20081/mehul20081-Assignment-Rust-2-nebuliaq-placement-iiitd-Mehul-Singh-2024 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" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded security-framework-sys v2.11.1 [INFO] [stderr] Downloaded serde_derive v1.0.207 [INFO] [stderr] Downloaded hyper-rustls v0.27.2 [INFO] [stderr] Downloaded tempfile v3.12.0 [INFO] [stderr] Downloaded rustls-pki-types v1.8.0 [INFO] [stderr] Downloaded flate2 v1.0.31 [INFO] [stderr] Downloaded indexmap v2.3.0 [INFO] [stderr] Downloaded async-compression v0.4.12 [INFO] [stderr] Downloaded serde_with v1.14.0 [INFO] [stderr] Downloaded hyper v1.4.1 [INFO] [stderr] Downloaded reqwest v0.12.5 [INFO] [stderr] Downloaded hyper v0.14.30 [INFO] [stderr] Downloaded rustls-webpki v0.102.6 [INFO] [stderr] Downloaded elasticsearch v8.5.0-alpha.1 [INFO] [stderr] Downloaded syn v2.0.74 [INFO] [stderr] Downloaded serde_json v1.0.124 [INFO] [stderr] Downloaded hyper-util v0.1.7 [INFO] [stderr] Downloaded openssl v0.10.66 [INFO] [stderr] Downloaded object v0.36.3 [INFO] [stderr] Downloaded openssl-sys v0.9.103 [INFO] [stderr] Downloaded serde v1.0.207 [INFO] [stderr] Downloaded bytes v1.7.1 [INFO] [stderr] Downloaded rustls-pemfile v2.1.3 [INFO] [stderr] Downloaded cc v1.1.10 [INFO] [stderr] Downloaded rustls v0.23.12 [INFO] [stderr] Downloaded tokio v1.39.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1e3e786b6ab52dd4a9aa2ec635352ee89e608373765f37bd14746fb0a9d35523 [INFO] running `Command { std: "docker" "start" "-a" "1e3e786b6ab52dd4a9aa2ec635352ee89e608373765f37bd14746fb0a9d35523", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1e3e786b6ab52dd4a9aa2ec635352ee89e608373765f37bd14746fb0a9d35523", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1e3e786b6ab52dd4a9aa2ec635352ee89e608373765f37bd14746fb0a9d35523", kill_on_drop: false }` [INFO] [stdout] 1e3e786b6ab52dd4a9aa2ec635352ee89e608373765f37bd14746fb0a9d35523 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a032b8c0298cbf6221de165f0a2681e19588adaa6fb88dd911ea3ea2fe72b608 [INFO] running `Command { std: "docker" "start" "-a" "a032b8c0298cbf6221de165f0a2681e19588adaa6fb88dd911ea3ea2fe72b608", kill_on_drop: false }` [INFO] [stderr] Compiling bytes v1.7.1 [INFO] [stderr] Compiling pin-project-lite v0.2.14 [INFO] [stderr] Compiling smallvec v1.13.2 [INFO] [stderr] Compiling futures-core v0.3.30 [INFO] [stderr] Compiling syn v2.0.74 [INFO] [stderr] Compiling mio v1.0.2 [INFO] [stderr] Compiling socket2 v0.5.7 [INFO] [stderr] Compiling cc v1.1.10 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling futures-task v0.3.30 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling futures-util v0.3.30 [INFO] [stderr] Compiling tracing-core v0.1.32 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling futures-sink v0.3.30 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling tracing v0.1.40 [INFO] [stderr] Compiling httparse v1.9.4 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Compiling openssl v0.10.66 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Compiling futures-channel v0.3.30 [INFO] [stderr] Compiling serde v1.0.207 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling native-tls v0.2.12 [INFO] [stderr] Compiling bitflags v2.6.0 [INFO] [stderr] Compiling tower-service v0.3.2 [INFO] [stderr] Compiling http v1.1.0 [INFO] [stderr] Compiling log v0.4.22 [INFO] [stderr] Compiling openssl-probe v0.1.5 [INFO] [stderr] Compiling indexmap v2.3.0 [INFO] [stderr] Compiling tinyvec v1.8.0 [INFO] [stderr] Compiling http v0.2.12 [INFO] [stderr] Compiling openssl-sys v0.9.103 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Compiling form_urlencoded v1.2.1 [INFO] [stderr] Compiling unicode-normalization v0.1.23 [INFO] [stderr] Compiling http-body v1.0.1 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling serde_json v1.0.124 [INFO] [stderr] Compiling unicode-bidi v0.3.15 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling miniz_oxide v0.7.4 [INFO] [stderr] Compiling http-body v0.4.6 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling tower-layer v0.3.2 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling encoding_rs v0.8.34 [INFO] [stderr] Compiling ipnet v2.9.0 [INFO] [stderr] Compiling base64 v0.21.7 [INFO] [stderr] Compiling idna v0.5.0 [INFO] [stderr] Compiling flate2 v1.0.31 [INFO] [stderr] Compiling rustls-pemfile v1.0.4 [INFO] [stderr] Compiling elasticsearch v8.5.0-alpha.1 [INFO] [stderr] Compiling http-body-util v0.1.2 [INFO] [stderr] Compiling rustls-pki-types v1.8.0 [INFO] [stderr] Compiling sync_wrapper v0.1.2 [INFO] [stderr] Compiling void v1.0.2 [INFO] [stderr] Compiling rustls-pemfile v2.1.3 [INFO] [stderr] Compiling url v2.5.2 [INFO] [stderr] Compiling sync_wrapper v1.0.1 [INFO] [stderr] Compiling dyn-clone v1.0.17 [INFO] [stderr] Compiling base64 v0.11.0 [INFO] [stderr] Compiling tokio-macros v2.4.0 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling serde_derive v1.0.207 [INFO] [stderr] Compiling pin-project-internal v1.1.5 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling darling_core v0.13.4 [INFO] [stderr] Compiling tokio v1.39.2 [INFO] [stderr] Compiling zerocopy v0.7.35 [INFO] [stderr] Compiling pin-project v1.1.5 [INFO] [stderr] Compiling ppv-lite86 v0.2.20 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling darling_macro v0.13.4 [INFO] [stderr] Compiling darling v0.13.4 [INFO] [stderr] Compiling serde_with_macros v1.5.2 [INFO] [stderr] Compiling tokio-util v0.7.11 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling tower v0.4.13 [INFO] [stderr] Compiling async-compression v0.4.12 [INFO] [stderr] Compiling h2 v0.4.5 [INFO] [stderr] Compiling h2 v0.3.26 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling serde_with v1.14.0 [INFO] [stderr] Compiling hyper v0.14.30 [INFO] [stderr] Compiling hyper v1.4.1 [INFO] [stderr] Compiling hyper-util v0.1.7 [INFO] [stderr] Compiling hyper-tls v0.5.0 [INFO] [stderr] Compiling reqwest v0.11.27 [INFO] [stderr] Compiling hyper-tls v0.6.0 [INFO] [stderr] Compiling reqwest v0.12.5 [INFO] [stderr] Compiling ass_2 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `rand::Rng` [INFO] [stdout] --> src/client.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use rand::Rng; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rand::thread_rng` [INFO] [stdout] --> src/client.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use rand::thread_rng; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/client.rs:37:5 [INFO] [stdout] | [INFO] [stdout] 10 | / loop{ [INFO] [stdout] 11 | | let result = TcpStream::connect("127.0.0.1:8000").await; //waiting call to connect to the server port [INFO] [stdout] 12 | | if let Ok(mut socket) = result { //using if let we destructure the connection for further processing and error handling [INFO] [stdout] 13 | | println!("Connected to the server"); //we need to make the socket mutable since we are using it to write in a loop and dont... [INFO] [stdout] ... | [INFO] [stdout] 36 | | } [INFO] [stdout] | |_____- any code following this expression is unreachable [INFO] [stdout] 37 | Ok(()) //need to return Result type [INFO] [stdout] | ^^^^^^ unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/server.rs:92:49 [INFO] [stdout] | [INFO] [stdout] 92 | let batched_messages = batch.join("\n");; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(redundant_semicolons)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/server.rs:22:9 [INFO] [stdout] | [INFO] [stdout] 22 | for i in 0..retries{ [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/server.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 21 | let mut retries = 3; //number of times, we'll try to index logs to elastiseach, configuarable [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/server.rs:112:34 [INFO] [stdout] | [INFO] [stdout] 112 | let dest_addr = dest_addr.clone(); [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 55s [INFO] running `Command { std: "docker" "inspect" "a032b8c0298cbf6221de165f0a2681e19588adaa6fb88dd911ea3ea2fe72b608", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a032b8c0298cbf6221de165f0a2681e19588adaa6fb88dd911ea3ea2fe72b608", kill_on_drop: false }` [INFO] [stdout] a032b8c0298cbf6221de165f0a2681e19588adaa6fb88dd911ea3ea2fe72b608 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 71e4d181de3f93b4cb10b3da010760f1b22fded10eb279df8fc1b2e1c51a26fa [INFO] running `Command { std: "docker" "start" "-a" "71e4d181de3f93b4cb10b3da010760f1b22fded10eb279df8fc1b2e1c51a26fa", kill_on_drop: false }` [INFO] [stderr] Compiling ass_2 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `rand::Rng` [INFO] [stdout] --> src/client.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use rand::Rng; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rand::thread_rng` [INFO] [stdout] --> src/client.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use rand::thread_rng; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/server.rs:92:49 [INFO] [stdout] | [INFO] [stdout] 92 | let batched_messages = batch.join("\n");; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(redundant_semicolons)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/client.rs:37:5 [INFO] [stdout] | [INFO] [stdout] 10 | / loop{ [INFO] [stdout] 11 | | let result = TcpStream::connect("127.0.0.1:8000").await; //waiting call to connect to the server port [INFO] [stdout] 12 | | if let Ok(mut socket) = result { //using if let we destructure the connection for further processing and error handling [INFO] [stdout] 13 | | println!("Connected to the server"); //we need to make the socket mutable since we are using it to write in a loop and dont... [INFO] [stdout] ... | [INFO] [stdout] 36 | | } [INFO] [stdout] | |_____- any code following this expression is unreachable [INFO] [stdout] 37 | Ok(()) //need to return Result type [INFO] [stdout] | ^^^^^^ unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/server.rs:22:9 [INFO] [stdout] | [INFO] [stdout] 22 | for i in 0..retries{ [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/server.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 21 | let mut retries = 3; //number of times, we'll try to index logs to elastiseach, configuarable [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/server.rs:112:34 [INFO] [stdout] | [INFO] [stdout] 112 | let dest_addr = dest_addr.clone(); [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.26s [INFO] running `Command { std: "docker" "inspect" "71e4d181de3f93b4cb10b3da010760f1b22fded10eb279df8fc1b2e1c51a26fa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "71e4d181de3f93b4cb10b3da010760f1b22fded10eb279df8fc1b2e1c51a26fa", kill_on_drop: false }` [INFO] [stdout] 71e4d181de3f93b4cb10b3da010760f1b22fded10eb279df8fc1b2e1c51a26fa