[INFO] updating cached repository Leonqn/voices-to-text-tg-bot [INFO] running `"git" "fetch" "--all"` [INFO] [stdout] Fetching origin [INFO] [stderr] From git://github.com/Leonqn/voices-to-text-tg-bot [INFO] [stderr] * branch HEAD -> FETCH_HEAD [INFO] running `"git" "clone" "work/cache/sources/gh/Leonqn/voices-to-text-tg-bot" "work/ex/clippy-test-run/sources/stable/gh/Leonqn/voices-to-text-tg-bot"` [INFO] [stderr] Cloning into 'work/ex/clippy-test-run/sources/stable/gh/Leonqn/voices-to-text-tg-bot'... [INFO] [stderr] done. [INFO] running `"git" "clone" "work/cache/sources/gh/Leonqn/voices-to-text-tg-bot" "work/ex/clippy-test-run/sources/stable+rustflags=-Dclippy%3A%3Ainto_iter_on_array/gh/Leonqn/voices-to-text-tg-bot"` [INFO] [stderr] Cloning into 'work/ex/clippy-test-run/sources/stable+rustflags=-Dclippy%3A%3Ainto_iter_on_array/gh/Leonqn/voices-to-text-tg-bot'... [INFO] [stderr] done. [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] 2d503ccdef4fac88f21ecea8b7ab4a100b024486 [INFO] sha for GitHub repo Leonqn/voices-to-text-tg-bot: 2d503ccdef4fac88f21ecea8b7ab4a100b024486 [INFO] validating manifest of Leonqn/voices-to-text-tg-bot 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 Leonqn/voices-to-text-tg-bot 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 Leonqn/voices-to-text-tg-bot [INFO] finished frobbing Leonqn/voices-to-text-tg-bot [INFO] frobbed toml for Leonqn/voices-to-text-tg-bot written to work/ex/clippy-test-run/sources/stable/gh/Leonqn/voices-to-text-tg-bot/Cargo.toml [INFO] started frobbing Leonqn/voices-to-text-tg-bot [INFO] finished frobbing Leonqn/voices-to-text-tg-bot [INFO] frobbed toml for Leonqn/voices-to-text-tg-bot written to work/ex/clippy-test-run/sources/stable+rustflags=-Dclippy%3A%3Ainto_iter_on_array/gh/Leonqn/voices-to-text-tg-bot/Cargo.toml [INFO] crate Leonqn/voices-to-text-tg-bot 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 Leonqn/voices-to-text-tg-bot against stable for clippy-test-run [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/clippy-test-run/worker-0/stable:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/clippy-test-run/sources/stable/gh/Leonqn/voices-to-text-tg-bot:/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] 56d2a2206f150c89f1b3c6c8bba72e223ce6c737eeb9e21c8e0af0ef6fbfbca7 [INFO] running `"docker" "start" "-a" "56d2a2206f150c89f1b3c6c8bba72e223ce6c737eeb9e21c8e0af0ef6fbfbca7"` [INFO] [stderr] Compiling native-tls v0.2.0 [INFO] [stderr] Checking nom v4.0.0 [INFO] [stderr] Compiling openssl v0.10.10 [INFO] [stderr] Checking h2 v0.1.10 [INFO] [stderr] Checking tokio-threadpool v0.1.5 [INFO] [stderr] Checking pretty_env_logger v0.2.4 [INFO] [stderr] Checking tokio-fs v0.1.2 [INFO] [stderr] Checking config v0.9.0 [INFO] [stderr] Checking tokio v0.1.7 [INFO] [stderr] Checking hyper v0.12.6 [INFO] [stderr] Checking hyper-tls v0.3.0 [INFO] [stderr] Checking relegram v0.1.4 [INFO] [stderr] Checking voices-to-text v0.1.0 (/opt/crater/workdir) [INFO] [stderr] warning: redundant field names in struct initialization [INFO] [stderr] --> src/main.rs:150:13 [INFO] [stderr] | [INFO] [stderr] 150 | encoding: encoding, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ help: replace it with: `encoding` [INFO] [stderr] | [INFO] [stderr] = note: #[warn(clippy::redundant_field_names)] on by default [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stderr] [INFO] [stderr] warning: redundant field names in struct initialization [INFO] [stderr] --> src/main.rs:150:13 [INFO] [stderr] | [INFO] [stderr] 150 | encoding: encoding, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ help: replace it with: `encoding` [INFO] [stderr] | [INFO] [stderr] = note: #[warn(clippy::redundant_field_names)] on by default [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stderr] [INFO] [stderr] warning: use of `unwrap_or` followed by a function call [INFO] [stderr] --> src/main.rs:164:22 [INFO] [stderr] | [INFO] [stderr] 164 | .unwrap_or(String::from("Got empty result from speech api"))), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try this: `unwrap_or_else(|| String::from("Got empty result from speech api"))` [INFO] [stderr] | [INFO] [stderr] = note: #[warn(clippy::or_fun_call)] on by default [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#or_fun_call [INFO] [stderr] [INFO] [stderr] warning: use of `unwrap_or` followed by a function call [INFO] [stderr] --> src/main.rs:164:22 [INFO] [stderr] | [INFO] [stderr] 164 | .unwrap_or(String::from("Got empty result from speech api"))), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try this: `unwrap_or_else(|| String::from("Got empty result from speech api"))` [INFO] [stderr] | [INFO] [stderr] = note: #[warn(clippy::or_fun_call)] on by default [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#or_fun_call [INFO] [stderr] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 41.74s [INFO] running `"docker" "inspect" "56d2a2206f150c89f1b3c6c8bba72e223ce6c737eeb9e21c8e0af0ef6fbfbca7"` [INFO] running `"docker" "rm" "-f" "56d2a2206f150c89f1b3c6c8bba72e223ce6c737eeb9e21c8e0af0ef6fbfbca7"` [INFO] [stdout] 56d2a2206f150c89f1b3c6c8bba72e223ce6c737eeb9e21c8e0af0ef6fbfbca7