[INFO] fetching crate libyee 0.0.2... [INFO] checking libyee-0.0.2 against master#ab869e094a907cc5d19b4080f22eccaf347f1f95 for pr-129604 [INFO] extracting crate libyee 0.0.2 into /workspace/builds/worker-4-tc1/source [INFO] validating manifest of crates.io crate libyee 0.0.2 on toolchain ab869e094a907cc5d19b4080f22eccaf347f1f95 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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-4-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 25 packages to latest compatible versions [INFO] [stderr] Adding enum-iterator v0.7.0 (latest: v2.1.0) [INFO] [stderr] Adding enum-iterator-derive v0.7.0 (latest: v1.4.0) [INFO] [stderr] Adding syn v1.0.109 (latest: v2.0.77) [INFO] [stderr] Adding wasi v0.11.0+wasi-snapshot-preview1 (latest: v0.13.2+wasi-0.2.1) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 68f1b641d73f4f7bf71f78a74f14faebabebc965bdf3fc3e93f0707293d73a99 [INFO] running `Command { std: "docker" "start" "-a" "68f1b641d73f4f7bf71f78a74f14faebabebc965bdf3fc3e93f0707293d73a99", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "68f1b641d73f4f7bf71f78a74f14faebabebc965bdf3fc3e93f0707293d73a99", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "68f1b641d73f4f7bf71f78a74f14faebabebc965bdf3fc3e93f0707293d73a99", kill_on_drop: false }` [INFO] [stdout] 68f1b641d73f4f7bf71f78a74f14faebabebc965bdf3fc3e93f0707293d73a99 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f7042ad767340ea9b4788fc19da30c0bdd14eec2900be59ac37580be248151b3 [INFO] running `Command { std: "docker" "start" "-a" "f7042ad767340ea9b4788fc19da30c0bdd14eec2900be59ac37580be248151b3", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling serde_derive v1.0.209 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Compiling enum-iterator-derive v0.7.0 [INFO] [stderr] Checking enum-iterator v0.7.0 [INFO] [stderr] Checking serde v1.0.209 [INFO] [stderr] Checking serde_json v1.0.127 [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 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: 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: 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: 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: 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 `&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: 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] | ^^^^^^^^^^^^^ help: convert the identifier to upper case: `RECV_CONTENTS` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_upper_case_globals)]` on by default [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: 23 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 15 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 12.45s [INFO] running `Command { std: "docker" "inspect" "f7042ad767340ea9b4788fc19da30c0bdd14eec2900be59ac37580be248151b3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f7042ad767340ea9b4788fc19da30c0bdd14eec2900be59ac37580be248151b3", kill_on_drop: false }` [INFO] [stdout] f7042ad767340ea9b4788fc19da30c0bdd14eec2900be59ac37580be248151b3