[INFO] updating cached repository russmack/voices [INFO] running `"git" "fetch" "--all"` [INFO] [stdout] Fetching origin [INFO] [stderr] From git://github.com/russmack/voices [INFO] [stderr] * branch HEAD -> FETCH_HEAD [INFO] running `"git" "clone" "work/cache/sources/gh/russmack/voices" "work/ex/clippy-test-run/sources/stable/gh/russmack/voices"` [INFO] [stderr] Cloning into 'work/ex/clippy-test-run/sources/stable/gh/russmack/voices'... [INFO] [stderr] done. [INFO] running `"git" "clone" "work/cache/sources/gh/russmack/voices" "work/ex/clippy-test-run/sources/stable+rustflags=-Dclippy%3A%3Ainto_iter_on_array/gh/russmack/voices"` [INFO] [stderr] Cloning into 'work/ex/clippy-test-run/sources/stable+rustflags=-Dclippy%3A%3Ainto_iter_on_array/gh/russmack/voices'... [INFO] [stderr] done. [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] 68ee0ce9d1d41b189b68524ec968e2415c78d39a [INFO] sha for GitHub repo russmack/voices: 68ee0ce9d1d41b189b68524ec968e2415c78d39a [INFO] validating manifest of russmack/voices on toolchain stable [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+stable" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] validating manifest of russmack/voices on toolchain stable+rustflags=-Dclippy::into_iter_on_array [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+stable" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started frobbing russmack/voices [INFO] finished frobbing russmack/voices [INFO] frobbed toml for russmack/voices written to work/ex/clippy-test-run/sources/stable/gh/russmack/voices/Cargo.toml [INFO] started frobbing russmack/voices [INFO] finished frobbing russmack/voices [INFO] frobbed toml for russmack/voices written to work/ex/clippy-test-run/sources/stable+rustflags=-Dclippy%3A%3Ainto_iter_on_array/gh/russmack/voices/Cargo.toml [INFO] crate russmack/voices has a lockfile. skipping [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+stable" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+stable" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] linting russmack/voices against stable for clippy-test-run [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/clippy-test-run/worker-5/stable:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/clippy-test-run/sources/stable/gh/russmack/voices:/opt/crater/workdir:ro,Z" "-v" "/mnt/big/crater/work/local/cargo-home:/opt/crater/cargo-home:ro,Z" "-v" "/mnt/big/crater/work/local/rustup-home:/opt/crater/rustup-home:ro,Z" "-e" "USER_ID=1000" "-e" "SOURCE_DIR=/opt/crater/workdir" "-e" "MAP_USER_ID=1000" "-e" "CARGO_TARGET_DIR=/opt/crater/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/crater/cargo-home" "-e" "RUSTUP_HOME=/opt/crater/rustup-home" "-w" "/opt/crater/workdir" "-m" "1536M" "--network" "none" "rustops/crates-build-env" "/opt/crater/cargo-home/bin/cargo" "+stable" "clippy" "--frozen" "--all" "--all-targets"` [INFO] [stdout] 7d98c063db6a0f4002926c61c7e4a5ea51c64ab82757673cad93bdd8d048ac22 [INFO] running `"docker" "start" "-a" "7d98c063db6a0f4002926c61c7e4a5ea51c64ab82757673cad93bdd8d048ac22"` [INFO] [stderr] Compiling lazy_static v1.0.2 [INFO] [stderr] Checking pnet_base v0.21.0 [INFO] [stderr] Compiling pnet v0.21.0 [INFO] [stderr] Checking ipnetwork v0.12.8 [INFO] [stderr] Checking termcolor v1.0.1 [INFO] [stderr] Checking ticker v0.1.1 [INFO] [stderr] Checking ransidsole v0.1.0 [INFO] [stderr] Compiling log v0.4.3 [INFO] [stderr] Compiling memchr v2.0.1 [INFO] [stderr] Compiling regex-syntax v0.5.6 [INFO] [stderr] Checking pnet_sys v0.21.0 [INFO] [stderr] Compiling thread_local v0.3.5 [INFO] [stderr] Checking aho-corasick v0.6.6 [INFO] [stderr] Checking pnet_macros_support v0.21.0 [INFO] [stderr] Compiling syn v0.14.5 [INFO] [stderr] Compiling log v0.3.9 [INFO] [stderr] Checking pnet_datalink v0.21.0 [INFO] [stderr] Checking chan v0.1.21 [INFO] [stderr] Checking chrono v0.4.4 [INFO] [stderr] Compiling syntex_errors v0.42.0 [INFO] [stderr] Checking regex v1.0.2 [INFO] [stderr] Compiling syntex_syntax v0.42.0 [INFO] [stderr] Checking env_logger v0.5.11 [INFO] [stderr] Compiling regex v0.2.11 [INFO] [stderr] Compiling serde_derive v1.0.70 [INFO] [stderr] Checking ipnetwork v0.13.0 [INFO] [stderr] Compiling syntex v0.42.2 [INFO] [stderr] Compiling pnet_macros v0.21.0 [INFO] [stderr] Compiling pnet_packet v0.21.0 [INFO] [stderr] Checking pnet_transport v0.21.0 [INFO] [stderr] Checking voices v0.1.0 (/opt/crater/workdir) [INFO] [stderr] warning: unneeded return statement [INFO] [stderr] --> src/main.rs:464:5 [INFO] [stderr] | [INFO] [stderr] 464 | return ipaddr; [INFO] [stderr] | ^^^^^^^^^^^^^^ help: remove `return` as shown: `ipaddr` [INFO] [stderr] | [INFO] [stderr] = note: #[warn(clippy::needless_return)] on by default [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_return [INFO] [stderr] [INFO] [stderr] warning: unneeded return statement [INFO] [stderr] --> src/main.rs:574:9 [INFO] [stderr] | [INFO] [stderr] 574 | return "true".to_owned().green(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove `return` as shown: `"true".to_owned().green()` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_return [INFO] [stderr] [INFO] [stderr] warning: unneeded return statement [INFO] [stderr] --> src/main.rs:576:9 [INFO] [stderr] | [INFO] [stderr] 576 | return "false".to_owned().red(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove `return` as shown: `"false".to_owned().red()` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_return [INFO] [stderr] [INFO] [stderr] warning: unneeded return statement [INFO] [stderr] --> src/main.rs:464:5 [INFO] [stderr] | [INFO] [stderr] 464 | return ipaddr; [INFO] [stderr] | ^^^^^^^^^^^^^^ help: remove `return` as shown: `ipaddr` [INFO] [stderr] | [INFO] [stderr] = note: #[warn(clippy::needless_return)] on by default [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_return [INFO] [stderr] [INFO] [stderr] warning: unneeded return statement [INFO] [stderr] --> src/main.rs:574:9 [INFO] [stderr] | [INFO] [stderr] 574 | return "true".to_owned().green(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove `return` as shown: `"true".to_owned().green()` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_return [INFO] [stderr] [INFO] [stderr] warning: unneeded return statement [INFO] [stderr] --> src/main.rs:576:9 [INFO] [stderr] | [INFO] [stderr] 576 | return "false".to_owned().red(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove `return` as shown: `"false".to_owned().red()` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_return [INFO] [stderr] [INFO] [stderr] warning: function is never used: `log_node_str` [INFO] [stderr] --> src/manifest.rs:263:1 [INFO] [stderr] | [INFO] [stderr] 263 | fn log_node_str(s: &str) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: #[warn(dead_code)] on by default [INFO] [stderr] [INFO] [stderr] warning: function is never used: `from_slice` [INFO] [stderr] --> src/main.rs:467:1 [INFO] [stderr] | [INFO] [stderr] 467 | fn from_slice(bytes: &[u8]) -> [u8; 32] { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `log_writes_str` [INFO] [stderr] --> src/main.rs:517:1 [INFO] [stderr] | [INFO] [stderr] 517 | fn log_writes_str(s: &str) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: useless use of `format!` [INFO] [stderr] --> src/announcer.rs:106:17 [INFO] [stderr] | [INFO] [stderr] 106 | info!("{}", format!("{}", s.to_owned().blue())) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: consider using .to_string(): `s.to_owned().blue().to_string()` [INFO] [stderr] | [INFO] [stderr] = note: #[warn(clippy::useless_format)] on by default [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_format [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: useless use of `format!` [INFO] [stderr] --> src/announcer.rs:110:17 [INFO] [stderr] | [INFO] [stderr] 110 | info!("{}", format!("{}", s.blue())) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ help: consider using .to_string(): `s.blue().to_string()` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_format [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: you seem to be trying to use match for destructuring a single pattern. Consider using `if let` [INFO] [stderr] --> src/announcementreceiver.rs:33:9 [INFO] [stderr] | [INFO] [stderr] 33 | / match recv_broadcast() { [INFO] [stderr] 34 | | Some(v) => { [INFO] [stderr] 35 | | match v { [INFO] [stderr] 36 | | Ok(d) => { [INFO] [stderr] ... | [INFO] [stderr] 72 | | None => {}, [INFO] [stderr] 73 | | } [INFO] [stderr] | |_________^ [INFO] [stderr] | [INFO] [stderr] = note: #[warn(clippy::single_match)] on by default [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#single_match [INFO] [stderr] help: try this [INFO] [stderr] | [INFO] [stderr] 33 | if let Some(v) = recv_broadcast() { [INFO] [stderr] 34 | match v { [INFO] [stderr] 35 | Ok(d) => { [INFO] [stderr] 36 | log_rx(format!("received broadcast from uuid: {} - ip: {:?}", [INFO] [stderr] 37 | d.node.uuid, [INFO] [stderr] 38 | d.node.ip)); [INFO] [stderr] ... [INFO] [stderr] [INFO] [stderr] warning: useless use of `format!` [INFO] [stderr] --> src/announcementreceiver.rs:136:17 [INFO] [stderr] | [INFO] [stderr] 136 | info!("{}", format!("{}", s.to_owned().magenta())) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: consider using .to_string(): `s.to_owned().magenta().to_string()` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_format [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: useless use of `format!` [INFO] [stderr] --> src/announcementreceiver.rs:140:17 [INFO] [stderr] | [INFO] [stderr] 140 | info!("{}", format!("{}", s.magenta())) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: consider using .to_string(): `s.magenta().to_string()` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_format [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: useless use of `format!` [INFO] [stderr] --> src/announcementreceiver.rs:144:17 [INFO] [stderr] | [INFO] [stderr] 144 | info!("{}", format!("{}", s.to_owned().green())) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: consider using .to_string(): `s.to_owned().green().to_string()` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_format [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: useless use of `format!` [INFO] [stderr] --> src/announcementreceiver.rs:148:17 [INFO] [stderr] | [INFO] [stderr] 148 | info!("{}", format!("{}", s.green())) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: consider using .to_string(): `s.green().to_string()` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_format [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: casting u8 to u64 may become silently lossy if types change [INFO] [stderr] --> src/heartbeat.rs:31:47 [INFO] [stderr] | [INFO] [stderr] 31 | thread::sleep(Duration::from_secs(me.heartbeatinterval as u64)); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `u64::from(me.heartbeatinterval)` [INFO] [stderr] | [INFO] [stderr] = note: #[warn(clippy::cast_lossless)] on by default [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#cast_lossless [INFO] [stderr] [INFO] [stderr] warning: useless use of `format!` [INFO] [stderr] --> src/heartbeat.rs:44:17 [INFO] [stderr] | [INFO] [stderr] 44 | info!("{}", format!("{}", s.to_owned().magenta())) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: consider using .to_string(): `s.to_owned().magenta().to_string()` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_format [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: useless use of `format!` [INFO] [stderr] --> src/heartbeat.rs:48:17 [INFO] [stderr] | [INFO] [stderr] 48 | info!("{}", format!("{}", s.magenta())) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: consider using .to_string(): `s.magenta().to_string()` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_format [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: function is never used: `log_node_str` [INFO] [stderr] --> src/manifest.rs:263:1 [INFO] [stderr] | [INFO] [stderr] 263 | fn log_node_str(s: &str) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: #[warn(dead_code)] on by default [INFO] [stderr] [INFO] [stderr] warning: function is never used: `from_slice` [INFO] [stderr] --> src/main.rs:467:1 [INFO] [stderr] | [INFO] [stderr] 467 | fn from_slice(bytes: &[u8]) -> [u8; 32] { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `log_writes_str` [INFO] [stderr] --> src/main.rs:517:1 [INFO] [stderr] | [INFO] [stderr] 517 | fn log_writes_str(s: &str) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: useless use of `format!` [INFO] [stderr] --> src/announcer.rs:106:17 [INFO] [stderr] | [INFO] [stderr] 106 | info!("{}", format!("{}", s.to_owned().blue())) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: consider using .to_string(): `s.to_owned().blue().to_string()` [INFO] [stderr] | [INFO] [stderr] = note: #[warn(clippy::useless_format)] on by default [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_format [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: useless use of `format!` [INFO] [stderr] --> src/announcer.rs:110:17 [INFO] [stderr] | [INFO] [stderr] 110 | info!("{}", format!("{}", s.blue())) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ help: consider using .to_string(): `s.blue().to_string()` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_format [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: useless use of `format!` [INFO] [stderr] --> src/manifest.rs:248:17 [INFO] [stderr] | [INFO] [stderr] 248 | info!("{}", format!("{}", s.to_owned().yellow())) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: consider using .to_string(): `s.to_owned().yellow().to_string()` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_format [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: useless use of `format!` [INFO] [stderr] --> src/manifest.rs:252:17 [INFO] [stderr] | [INFO] [stderr] 252 | info!("{}", format!("{}", s.yellow())) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: consider using .to_string(): `s.yellow().to_string()` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_format [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] warning: you seem to be trying to use match for destructuring a single pattern. Consider using `if let` [INFO] [stderr] --> src/announcementreceiver.rs:33:9 [INFO] [stderr] | [INFO] [stderr] 33 | / match recv_broadcast() { [INFO] [stderr] 34 | | Some(v) => { [INFO] [stderr] 35 | | match v { [INFO] [stderr] 36 | | Ok(d) => { [INFO] [stderr] ... | [INFO] [stderr] 72 | | None => {}, [INFO] [stderr] [INFO] [stderr] 73 | | } [INFO] [stderr] | |_________^ [INFO] [stderr] | [INFO] [stderr] = note: #[warn(clippy::single_match)] on by default [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#single_match [INFO] [stderr] help: try this [INFO] [stderr] | [INFO] [stderr] 33 | if let Some(v) = recv_broadcast() { [INFO] [stderr] 34 | match v { [INFO] [stderr] 35 | Ok(d) => { [INFO] [stderr] 36 | log_rx(format!("received broadcast from uuid: {} - ip: {:?}", [INFO] [stderr] 37 | d.node.uuid, [INFO] [stderr] 38 | d.node.ip)); [INFO] [stderr] ... [INFO] [stderr] [INFO] [stderr] warning: useless use of `format!` [INFO] [stderr] --> src/manifest.rs:256:17 [INFO] [stderr] | [INFO] [stderr] 256 | info!("{}", format!("{}", s.to_owned().green())) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: consider using .to_string(): `s.to_owned().green().to_string()` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_format [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: useless use of `format!` [INFO] [stderr] --> src/manifest.rs:260:17 [INFO] [stderr] | [INFO] [stderr] 260 | info!("{}", format!("{}", s.green())) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: consider using .to_string(): `s.green().to_string()` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_format [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: useless use of `format!` [INFO] [stderr] --> src/announcementreceiver.rs:136:17 [INFO] [stderr] | [INFO] [stderr] 136 | info!("{}", format!("{}", s.to_owned().magenta())) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: consider using .to_string(): `s.to_owned().magenta().to_string()` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_format [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: useless use of `format!` [INFO] [stderr] --> src/announcementreceiver.rs:140:17 [INFO] [stderr] | [INFO] [stderr] 140 | info!("{}", format!("{}", s.magenta())) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: consider using .to_string(): `s.magenta().to_string()` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_format [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: useless use of `format!` [INFO] [stderr] --> src/manifest.rs:264:17 [INFO] [stderr] | [INFO] [stderr] 264 | info!("{}", format!("{}", s.to_owned().magenta())) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: consider using .to_string(): `s.to_owned().magenta().to_string()` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_format [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: useless use of `format!` [INFO] [stderr] --> src/announcementreceiver.rs:144:17 [INFO] [stderr] | [INFO] [stderr] 144 | info!("{}", format!("{}", s.to_owned().green())) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: consider using .to_string(): `s.to_owned().green().to_string()` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_format [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: useless use of `format!` [INFO] [stderr] --> src/manifest.rs:268:17 [INFO] [stderr] | [INFO] [stderr] 268 | info!("{}", format!("{}", s.magenta())) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: consider using .to_string(): `s.magenta().to_string()` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_format [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: useless use of `format!` [INFO] [stderr] --> src/announcementreceiver.rs:148:17 [INFO] [stderr] | [INFO] [stderr] 148 | info!("{}", format!("{}", s.green())) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: consider using .to_string(): `s.green().to_string()` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_format [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: casting u8 to u64 may become silently lossy if types change [INFO] [stderr] --> src/heartbeat.rs:31:47 [INFO] [stderr] | [INFO] [stderr] 31 | thread::sleep(Duration::from_secs(me.heartbeatinterval as u64)); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `u64::from(me.heartbeatinterval)` [INFO] [stderr] | [INFO] [stderr] = note: #[warn(clippy::cast_lossless)] on by default [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#cast_lossless [INFO] [stderr] [INFO] [stderr] warning: useless use of `format!` [INFO] [stderr] --> src/heartbeat.rs:44:17 [INFO] [stderr] | [INFO] [stderr] 44 | info!("{}", format!("{}", s.to_owned().magenta())) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: consider using .to_string(): `s.to_owned().magenta().to_string()` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_format [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: useless use of `format!` [INFO] [stderr] --> src/heartbeat.rs:48:17 [INFO] [stderr] | [INFO] [stderr] 48 | info!("{}", format!("{}", s.magenta())) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: consider using .to_string(): `s.magenta().to_string()` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_format [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: useless use of `format!` [INFO] [stderr] --> src/manifest.rs:248:17 [INFO] [stderr] | [INFO] [stderr] 248 | info!("{}", format!("{}", s.to_owned().yellow())) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: consider using .to_string(): `s.to_owned().yellow().to_string()` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_format [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: useless use of `format!` [INFO] [stderr] --> src/manifest.rs:252:17 [INFO] [stderr] | [INFO] [stderr] 252 | info!("{}", format!("{}", s.yellow())) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: consider using .to_string(): `s.yellow().to_string()` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_format [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: useless use of `format!` [INFO] [stderr] --> src/manifest.rs:256:17 [INFO] [stderr] | [INFO] [stderr] 256 | info!("{}", format!("{}", s.to_owned().green())) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: consider using .to_string(): `s.to_owned().green().to_string()` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_format [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: useless use of `format!` [INFO] [stderr] --> src/manifest.rs:260:17 [INFO] [stderr] | [INFO] [stderr] 260 | info!("{}", format!("{}", s.green())) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: consider using .to_string(): `s.green().to_string()` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_format [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: useless use of `format!` [INFO] [stderr] --> src/manifest.rs:264:17 [INFO] [stderr] | [INFO] [stderr] 264 | info!("{}", format!("{}", s.to_owned().magenta())) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: consider using .to_string(): `s.to_owned().magenta().to_string()` [INFO] [stderr] warning: this let-binding has unit value. Consider omitting `let fn_gossip_hb =` [INFO] [stderr] --> src/main.rs:163:9 [INFO] [stderr] | [INFO] [stderr] 163 | let fn_gossip_hb = self.gossip_heartbeat(&manifest.reader, &me_hb); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: #[warn(clippy::let_unit_value)] on by default [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#let_unit_value [INFO] [stderr] [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_format [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: useless use of `format!` [INFO] [stderr] --> src/manifest.rs:268:17 [INFO] [stderr] | [INFO] [stderr] 268 | info!("{}", format!("{}", s.magenta())) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: consider using .to_string(): `s.magenta().to_string()` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_format [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: you seem to be trying to use match for destructuring a single pattern. Consider using `if let` [INFO] [stderr] --> src/main.rs:213:9 [INFO] [stderr] | [INFO] [stderr] 213 | / match stream { [INFO] [stderr] 214 | | Ok(stream) => { [INFO] [stderr] 215 | | log_rx_str("handling stream"); [INFO] [stderr] 216 | | log_rx(format!("stream [INFO] [stderr] ... | [INFO] [stderr] 227 | | } [INFO] [stderr] 228 | | } [INFO] [stderr] | |_________^ [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#single_match [INFO] [stderr] help: try this [INFO] [stderr] | [INFO] [stderr] 213 | if let Ok(stream) = stream { [INFO] [stderr] 214 | log_rx_str("handling stream"); [INFO] [stderr] 215 | log_rx(format!("stream [INFO] [stderr] 216 | \t- to local ip {:?} [INFO] [stderr] 217 | \t- from remote ip {:?}", [INFO] [stderr] 218 | stream.local_addr(), [INFO] [stderr] ... [INFO] [stderr] [INFO] [stderr] warning: called `filter(p).next()` on an `Iterator`. This is more succinctly expressed by calling `.find(p)` instead. [INFO] [stderr] --> src/main.rs:455:21 [INFO] [stderr] | [INFO] [stderr] 455 | let interface = interfaces.into_iter() [INFO] [stderr] | _____________________^ [INFO] [stderr] 456 | | .filter(interface_names_match) [INFO] [stderr] 457 | | .next(); [INFO] [stderr] | |_______________^ [INFO] [stderr] | [INFO] [stderr] = note: #[warn(clippy::filter_next)] on by default [INFO] [stderr] = note: replace `filter(interface_names_match).next()` with `find(interface_names_match)` [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#filter_next [INFO] [stderr] [INFO] [stderr] warning: it looks like you're manually copying between slices [INFO] [stderr] --> src/main.rs:469:14 [INFO] [stderr] | [INFO] [stderr] 469 | for i in 0..a.len() { [INFO] [stderr] | ^^^^^^^^^^ help: try replacing the loop by: `a.clone_from_slice(&bytes[..a.len()])` [INFO] [stderr] | [INFO] [stderr] = note: #[warn(clippy::manual_memcpy)] on by default [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_memcpy [INFO] [stderr] [INFO] [stderr] warning: useless use of `format!` [INFO] [stderr] --> src/main.rs:510:17 [INFO] [stderr] | [INFO] [stderr] 510 | info!("{}", format!("{}", s.to_owned().blue())) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: consider using .to_string(): `s.to_owned().blue().to_string()` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_format [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: useless use of `format!` [INFO] [stderr] --> src/main.rs:514:17 [INFO] [stderr] | [INFO] [stderr] 514 | info!("{}", format!("{}", s.blue())) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ help: consider using .to_string(): `s.blue().to_string()` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_format [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: useless use of `format!` [INFO] [stderr] --> src/main.rs:518:17 [INFO] [stderr] | [INFO] [stderr] 518 | info!("{}", format!("{}", s.to_owned().yellow())) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: consider using .to_string(): `s.to_owned().yellow().to_string()` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_format [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: useless use of `format!` [INFO] [stderr] --> src/main.rs:522:17 [INFO] [stderr] | [INFO] [stderr] 522 | info!("{}", format!("{}", s.yellow())) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: consider using .to_string(): `s.yellow().to_string()` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_format [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: useless use of `format!` [INFO] [stderr] --> src/main.rs:526:17 [INFO] [stderr] | [INFO] [stderr] 526 | info!("{}", format!("{}", s.to_owned().green())) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: consider using .to_string(): `s.to_owned().green().to_string()` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_format [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: useless use of `format!` [INFO] [stderr] --> src/main.rs:530:17 [INFO] [stderr] | [INFO] [stderr] 530 | info!("{}", format!("{}", s.green())) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: consider using .to_string(): `s.green().to_string()` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_format [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: useless use of `format!` [INFO] [stderr] --> src/main.rs:534:17 [INFO] [stderr] | [INFO] [stderr] 534 | info!("{}", format!("{}", s.to_owned().magenta())) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: consider using .to_string(): `s.to_owned().magenta().to_string()` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_format [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: useless use of `format!` [INFO] [stderr] --> src/main.rs:538:17 [INFO] [stderr] | [INFO] [stderr] 538 | info!("{}", format!("{}", s.magenta())) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: consider using .to_string(): `s.magenta().to_string()` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_format [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: this let-binding has unit value. Consider omitting `let fn_gossip_hb =` [INFO] [stderr] --> src/main.rs:163:9 [INFO] [stderr] | [INFO] [stderr] 163 | let fn_gossip_hb = self.gossip_heartbeat(&manifest.reader, &me_hb); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: #[warn(clippy::let_unit_value)] on by default [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#let_unit_value [INFO] [stderr] [INFO] [stderr] warning: you seem to be trying to use match for destructuring a single pattern. Consider using `if let` [INFO] [stderr] --> src/main.rs:213:9 [INFO] [stderr] | [INFO] [stderr] 213 | / match stream { [INFO] [stderr] 214 | | Ok(stream) => { [INFO] [stderr] 215 | | log_rx_str("handling stream"); [INFO] [stderr] 216 | | log_rx(format!("stream [INFO] [stderr] ... | [INFO] [stderr] 227 | | } [INFO] [stderr] 228 | | } [INFO] [stderr] | |_________^ [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#single_match [INFO] [stderr] help: try this [INFO] [stderr] | [INFO] [stderr] 213 | if let Ok(stream) = stream { [INFO] [stderr] 214 | log_rx_str("handling stream"); [INFO] [stderr] 215 | log_rx(format!("stream [INFO] [stderr] 216 | \t- to local ip {:?} [INFO] [stderr] 217 | \t- from remote ip {:?}", [INFO] [stderr] 218 | stream.local_addr(), [INFO] [stderr] ... [INFO] [stderr] [INFO] [stderr] warning: called `filter(p).next()` on an `Iterator`. This is more succinctly expressed by calling `.find(p)` instead. [INFO] [stderr] --> src/main.rs:455:21 [INFO] [stderr] | [INFO] [stderr] 455 | let interface = interfaces.into_iter() [INFO] [stderr] | _____________________^ [INFO] [stderr] 456 | | .filter(interface_names_match) [INFO] [stderr] 457 | | .next(); [INFO] [stderr] | |_______________^ [INFO] [stderr] | [INFO] [stderr] = note: #[warn(clippy::filter_next)] on by default [INFO] [stderr] = note: replace `filter(interface_names_match).next()` with `find(interface_names_match)` [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#filter_next [INFO] [stderr] [INFO] [stderr] warning: it looks like you're manually copying between slices [INFO] [stderr] --> src/main.rs:469:14 [INFO] [stderr] | [INFO] [stderr] 469 | for i in 0..a.len() { [INFO] [stderr] | ^^^^^^^^^^ help: try replacing the loop by: `a.clone_from_slice(&bytes[..a.len()])` [INFO] [stderr] | [INFO] [stderr] = note: #[warn(clippy::manual_memcpy)] on by default [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_memcpy [INFO] [stderr] [INFO] [stderr] warning: useless use of `format!` [INFO] [stderr] --> src/main.rs:510:17 [INFO] [stderr] | [INFO] [stderr] 510 | info!("{}", format!("{}", s.to_owned().blue())) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: consider using .to_string(): `s.to_owned().blue().to_string()` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_format [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: useless use of `format!` [INFO] [stderr] --> src/main.rs:514:17 [INFO] [stderr] | [INFO] [stderr] 514 | info!("{}", format!("{}", s.blue())) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ help: consider using .to_string(): `s.blue().to_string()` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_format [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: useless use of `format!` [INFO] [stderr] --> src/main.rs:518:17 [INFO] [stderr] | [INFO] [stderr] 518 | info!("{}", format!("{}", s.to_owned().yellow())) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: consider using .to_string(): `s.to_owned().yellow().to_string()` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_format [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: useless use of `format!` [INFO] [stderr] --> src/main.rs:522:17 [INFO] [stderr] | [INFO] [stderr] 522 | info!("{}", format!("{}", s.yellow())) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: consider using .to_string(): `s.yellow().to_string()` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_format [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: useless use of `format!` [INFO] [stderr] --> src/main.rs:526:17 [INFO] [stderr] | [INFO] [stderr] 526 | info!("{}", format!("{}", s.to_owned().green())) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: consider using .to_string(): `s.to_owned().green().to_string()` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_format [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: useless use of `format!` [INFO] [stderr] --> src/main.rs:530:17 [INFO] [stderr] | [INFO] [stderr] 530 | info!("{}", format!("{}", s.green())) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: consider using .to_string(): `s.green().to_string()` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_format [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: useless use of `format!` [INFO] [stderr] --> src/main.rs:534:17 [INFO] [stderr] | [INFO] [stderr] 534 | info!("{}", format!("{}", s.to_owned().magenta())) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: consider using .to_string(): `s.to_owned().magenta().to_string()` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_format [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: useless use of `format!` [INFO] [stderr] --> src/main.rs:538:17 [INFO] [stderr] | [INFO] [stderr] 538 | info!("{}", format!("{}", s.magenta())) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: consider using .to_string(): `s.magenta().to_string()` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_format [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1m 29s [INFO] running `"docker" "inspect" "7d98c063db6a0f4002926c61c7e4a5ea51c64ab82757673cad93bdd8d048ac22"` [INFO] running `"docker" "rm" "-f" "7d98c063db6a0f4002926c61c7e4a5ea51c64ab82757673cad93bdd8d048ac22"` [INFO] [stdout] 7d98c063db6a0f4002926c61c7e4a5ea51c64ab82757673cad93bdd8d048ac22