[INFO] fetching crate libyee 0.0.2... [INFO] checking libyee-0.0.2 against try#a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d for pr-145342-1 [INFO] extracting crate libyee 0.0.2 into /workspace/builds/worker-6-tc2/source [INFO] started tweaking crates.io crate libyee 0.0.2 [INFO] finished tweaking crates.io crate libyee 0.0.2 [INFO] tweaked toml for crates.io crate libyee 0.0.2 written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate libyee 0.0.2 on toolchain a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 23 packages to latest compatible versions [INFO] [stderr] Adding enum-iterator v0.7.0 (available: v2.1.0) [INFO] [stderr] Adding rand v0.8.5 (available: v0.9.2) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4442c4a59e923363149d4d644b6be4d82bc6d29e82cb2046372d0885a68a3d5d [INFO] running `Command { std: "docker" "start" "-a" "4442c4a59e923363149d4d644b6be4d82bc6d29e82cb2046372d0885a68a3d5d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4442c4a59e923363149d4d644b6be4d82bc6d29e82cb2046372d0885a68a3d5d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4442c4a59e923363149d4d644b6be4d82bc6d29e82cb2046372d0885a68a3d5d", kill_on_drop: false }` [INFO] [stdout] 4442c4a59e923363149d4d644b6be4d82bc6d29e82cb2046372d0885a68a3d5d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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" "-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8d52accf4f4b9e76ce96085e2bdebceb0840fa13dc5f1583085bf65c59e0701f [INFO] running `Command { std: "docker" "start" "-a" "8d52accf4f4b9e76ce96085e2bdebceb0840fa13dc5f1583085bf65c59e0701f", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.101 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Compiling zerocopy v0.8.26 [INFO] [stderr] Checking cfg-if v1.0.3 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling serde_json v1.0.143 [INFO] [stderr] Checking memchr v2.7.5 [INFO] [stderr] Checking itoa v1.0.15 [INFO] [stderr] Checking ryu v1.0.20 [INFO] [stderr] Checking getrandom v0.2.16 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Checking ppv-lite86 v0.2.21 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Compiling enum-iterator-derive v0.7.0 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking enum-iterator v0.7.0 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Checking libyee v0.0.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::io::Read` [INFO] [stdout] --> src/search.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::io::Read; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `SocketAddrV4` [INFO] [stdout] --> src/search.rs:3:46 [INFO] [stdout] | [INFO] [stdout] 3 | use std::net::{IpAddr, Ipv4Addr, SocketAddr, SocketAddrV4, ToSocketAddrs, UdpSocket}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Brightness` and `Ct` [INFO] [stdout] --> src/method_calls.rs:11:39 [INFO] [stdout] | [INFO] [stdout] 11 | AdjustAction, AdjustableProp, Brightness, BulbConnection, CfAction, ColorFlow, Cron, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 12 | CronResponse, CronType, Ct, ErrorResponse, FlowTuple, FlowTupleMode, MethodCallError, [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `result` and `time::Duration` [INFO] [stdout] --> src/method_calls.rs:694:15 [INFO] [stdout] | [INFO] [stdout] 694 | use std::{result, sync::Mutex, time::Duration}; [INFO] [stdout] | ^^^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ColorFlowTupleMode`, `ColorFlow`, `CtFlowTupleMode`, `FlowTupleMode`, `FlowTuple`, `HSV`, and `rgb::RGB` [INFO] [stdout] --> src/method_calls.rs:701:29 [INFO] [stdout] | [INFO] [stdout] 701 | BulbConnection, ColorFlow, ColorFlowTupleMode, CtFlowTupleMode, FlowTuple, [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] 702 | FlowTupleMode, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 703 | }, [INFO] [stdout] 704 | lightmode::{LightMode, HSV}, [INFO] [stdout] | ^^^ [INFO] [stdout] 705 | method::Method, [INFO] [stdout] 706 | rgb::RGB, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `CronType`, `Cron`, `MusicMode`, `Scene`, `TEST_OK_VAL`, and `TransitionMode` [INFO] [stdout] --> src/method_calls.rs:710:9 [INFO] [stdout] | [INFO] [stdout] 710 | Cron, CronType, MethodCallError, MockTcpConnection, MusicMode, Scene, StringVecResponse, [INFO] [stdout] | ^^^^ ^^^^^^^^ ^^^^^^^^^ ^^^^^ [INFO] [stdout] 711 | TransitionMode, TEST_OK_VAL, [INFO] [stdout] | ^^^^^^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::Read` [INFO] [stdout] --> src/search.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::io::Read; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `SocketAddrV4` [INFO] [stdout] --> src/search.rs:3:46 [INFO] [stdout] | [INFO] [stdout] 3 | use std::net::{IpAddr, Ipv4Addr, SocketAddr, SocketAddrV4, ToSocketAddrs, UdpSocket}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Brightness` and `Ct` [INFO] [stdout] --> src/method_calls.rs:11:39 [INFO] [stdout] | [INFO] [stdout] 11 | AdjustAction, AdjustableProp, Brightness, BulbConnection, CfAction, ColorFlow, Cron, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 12 | CronResponse, CronType, Ct, ErrorResponse, FlowTuple, FlowTupleMode, MethodCallError, [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `result` [INFO] [stdout] --> src/method_calls.rs:694:15 [INFO] [stdout] | [INFO] [stdout] 694 | use std::{result, sync::Mutex, time::Duration}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function cannot return without recursing [INFO] [stdout] --> src/search.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 29 | fn set_read_timeout(&mut self, dur: Option) -> io::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot return without recursing [INFO] [stdout] 30 | self.set_read_timeout(dur) [INFO] [stdout] | -------------------------- recursive call site [INFO] [stdout] | [INFO] [stdout] = help: a `loop` may express intention better if this is on purpose [INFO] [stdout] = note: `#[warn(unconditional_recursion)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `buf` [INFO] [stdout] --> src/search.rs:99:41 [INFO] [stdout] | [INFO] [stdout] 99 | fn send_to(&self, buf: &[u8], addr: A) -> io::Result { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_buf` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `addr` [INFO] [stdout] --> src/search.rs:99:53 [INFO] [stdout] | [INFO] [stdout] 99 | fn send_to(&self, buf: &[u8], addr: A) -> io::Result { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_addr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function cannot return without recursing [INFO] [stdout] --> src/search.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 29 | fn set_read_timeout(&mut self, dur: Option) -> io::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot return without recursing [INFO] [stdout] 30 | self.set_read_timeout(dur) [INFO] [stdout] | -------------------------- recursive call site [INFO] [stdout] | [INFO] [stdout] = help: a `loop` may express intention better if this is on purpose [INFO] [stdout] = note: `#[warn(unconditional_recursion)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `buf` [INFO] [stdout] --> src/search.rs:99:41 [INFO] [stdout] | [INFO] [stdout] 99 | fn send_to(&self, buf: &[u8], addr: A) -> io::Result { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_buf` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `addr` [INFO] [stdout] --> src/search.rs:99:53 [INFO] [stdout] | [INFO] [stdout] 99 | fn send_to(&self, buf: &[u8], addr: A) -> io::Result { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_addr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cron_type` [INFO] [stdout] --> src/method_calls.rs:380:32 [INFO] [stdout] | [INFO] [stdout] 380 | pub fn cron_get(&mut self, cron_type: &CronType) -> Result { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_cron_type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cron_type` [INFO] [stdout] --> src/method_calls.rs:384:32 [INFO] [stdout] | [INFO] [stdout] 384 | pub fn cron_del(&mut self, cron_type: &CronType) -> Result { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_cron_type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MockSendRecvable` is never constructed [INFO] [stdout] --> src/search.rs:91:8 [INFO] [stdout] | [INFO] [stdout] 91 | struct MockSendRecvable<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `id` and `error` are never read [INFO] [stdout] --> src/connection.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 35 | pub struct ErrorResponse { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 36 | id: i16, [INFO] [stdout] | ^^ [INFO] [stdout] 37 | error: BulbErrorResponse, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ErrorResponse` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `code` and `message` are never read [INFO] [stdout] --> src/connection.rs:42:5 [INFO] [stdout] | [INFO] [stdout] 41 | pub struct BulbErrorResponse { [INFO] [stdout] | ----------------- fields in this struct [INFO] [stdout] 42 | code: i32, [INFO] [stdout] | ^^^^ [INFO] [stdout] 43 | message: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `BulbErrorResponse` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MockTcpConnection` is never constructed [INFO] [stdout] --> src/method_calls.rs:634:8 [INFO] [stdout] | [INFO] [stdout] 634 | struct MockTcpConnection { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `TEST_OK_VAL` is never used [INFO] [stdout] --> src/method_calls.rs:691:7 [INFO] [stdout] | [INFO] [stdout] 691 | const TEST_OK_VAL: &str = "{\"id\":1, \"result\":[\"ok\"]}"; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `one_rng` is never used [INFO] [stdout] --> src/method_calls.rs:714:8 [INFO] [stdout] | [INFO] [stdout] 714 | fn one_rng() -> StepRng { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `make_bulb_with_method` is never used [INFO] [stdout] --> src/method_calls.rs:718:8 [INFO] [stdout] | [INFO] [stdout] 718 | fn make_bulb_with_method(method: Method) -> Bulb { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `assert_ok_result` is never used [INFO] [stdout] --> src/method_calls.rs:732:8 [INFO] [stdout] | [INFO] [stdout] 732 | fn assert_ok_result(result: Result) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `conn_with_method` is never used [INFO] [stdout] --> src/method_calls.rs:740:8 [INFO] [stdout] | [INFO] [stdout] 740 | fn conn_with_method( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.clone()` on a double reference, which returns `&str` instead of cloning the inner type [INFO] [stdout] --> src/bulb.rs:53:31 [INFO] [stdout] | [INFO] [stdout] 53 | Some((key.unwrap().clone(), val)) [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(suspicious_double_ref_op)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/search.rs:54:13 [INFO] [stdout] | [INFO] [stdout] 54 | socket.set_read_timeout(Some(*d)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 54 | let _ = socket.set_read_timeout(Some(*d)); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.clone()` on a double reference, which returns `&mut &[u8]` instead of cloning the inner type [INFO] [stdout] --> src/method_calls.rs:667:20 [INFO] [stdout] | [INFO] [stdout] 667 | let _ = buf.clone().read_to_string(&mut str); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cron_type` [INFO] [stdout] --> src/method_calls.rs:380:32 [INFO] [stdout] | [INFO] [stdout] 380 | pub fn cron_get(&mut self, cron_type: &CronType) -> Result { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_cron_type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cron_type` [INFO] [stdout] --> src/method_calls.rs:384:32 [INFO] [stdout] | [INFO] [stdout] 384 | pub fn cron_del(&mut self, cron_type: &CronType) -> Result { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_cron_type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `id` and `error` are never read [INFO] [stdout] --> src/connection.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 35 | pub struct ErrorResponse { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 36 | id: i16, [INFO] [stdout] | ^^ [INFO] [stdout] 37 | error: BulbErrorResponse, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ErrorResponse` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `code` and `message` are never read [INFO] [stdout] --> src/connection.rs:42:5 [INFO] [stdout] | [INFO] [stdout] 41 | pub struct BulbErrorResponse { [INFO] [stdout] | ----------------- fields in this struct [INFO] [stdout] 42 | code: i32, [INFO] [stdout] | ^^^^ [INFO] [stdout] 43 | message: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `BulbErrorResponse` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.clone()` on a double reference, which returns `&str` instead of cloning the inner type [INFO] [stdout] --> src/bulb.rs:53:31 [INFO] [stdout] | [INFO] [stdout] 53 | Some((key.unwrap().clone(), val)) [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(suspicious_double_ref_op)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/search.rs:54:13 [INFO] [stdout] | [INFO] [stdout] 54 | socket.set_read_timeout(Some(*d)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 54 | let _ = socket.set_read_timeout(Some(*d)); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `recv_contents` should have an upper case name [INFO] [stdout] --> src/search.rs:149:11 [INFO] [stdout] | [INFO] [stdout] 149 | const recv_contents: &str = concat!( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_upper_case_globals)]` on by default [INFO] [stdout] help: convert the identifier to upper case [INFO] [stdout] | [INFO] [stdout] 149 - const recv_contents: &str = concat!( [INFO] [stdout] 149 + const RECV_CONTENTS: &str = concat!( [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.clone()` on a double reference, which returns `&mut &[u8]` instead of cloning the inner type [INFO] [stdout] --> src/method_calls.rs:667:20 [INFO] [stdout] | [INFO] [stdout] 667 | let _ = buf.clone().read_to_string(&mut str); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 15.32s [INFO] running `Command { std: "docker" "inspect" "8d52accf4f4b9e76ce96085e2bdebceb0840fa13dc5f1583085bf65c59e0701f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8d52accf4f4b9e76ce96085e2bdebceb0840fa13dc5f1583085bf65c59e0701f", kill_on_drop: false }` [INFO] [stdout] 8d52accf4f4b9e76ce96085e2bdebceb0840fa13dc5f1583085bf65c59e0701f