[INFO] updating cached repository weaming/telebox [INFO] running `"git" "fetch" "--all"` [INFO] [stdout] Fetching origin [INFO] [stderr] From git://github.com/weaming/telebox [INFO] [stderr] * branch HEAD -> FETCH_HEAD [INFO] running `"git" "clone" "work/cache/sources/gh/weaming/telebox" "work/ex/clippy-test-run/sources/stable/gh/weaming/telebox"` [INFO] [stderr] Cloning into 'work/ex/clippy-test-run/sources/stable/gh/weaming/telebox'... [INFO] [stderr] done. [INFO] running `"git" "clone" "work/cache/sources/gh/weaming/telebox" "work/ex/clippy-test-run/sources/stable+rustflags=-Dclippy%3A%3Ainto_iter_on_array/gh/weaming/telebox"` [INFO] [stderr] Cloning into 'work/ex/clippy-test-run/sources/stable+rustflags=-Dclippy%3A%3Ainto_iter_on_array/gh/weaming/telebox'... [INFO] [stderr] done. [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] ad17e60fefd7be1fb7de6f300b705097f8291101 [INFO] sha for GitHub repo weaming/telebox: ad17e60fefd7be1fb7de6f300b705097f8291101 [INFO] validating manifest of weaming/telebox 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 weaming/telebox 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 weaming/telebox [INFO] finished frobbing weaming/telebox [INFO] frobbed toml for weaming/telebox written to work/ex/clippy-test-run/sources/stable/gh/weaming/telebox/Cargo.toml [INFO] started frobbing weaming/telebox [INFO] finished frobbing weaming/telebox [INFO] frobbed toml for weaming/telebox written to work/ex/clippy-test-run/sources/stable+rustflags=-Dclippy%3A%3Ainto_iter_on_array/gh/weaming/telebox/Cargo.toml [INFO] crate weaming/telebox 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 weaming/telebox against stable for clippy-test-run [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/clippy-test-run/worker-6/stable:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/clippy-test-run/sources/stable/gh/weaming/telebox:/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] df18fbac0645a536389e314185f04652e9c72a8877f04fccee488f81fae96701 [INFO] running `"docker" "start" "-a" "df18fbac0645a536389e314185f04652e9c72a8877f04fccee488f81fae96701"` [INFO] [stderr] Checking libc v0.2.39 [INFO] [stderr] Checking futures v0.1.19 [INFO] [stderr] Compiling cc v1.0.9 [INFO] [stderr] Compiling openssl v0.9.24 [INFO] [stderr] Compiling build_const v0.2.0 [INFO] [stderr] Checking scoped-tls v0.1.1 [INFO] [stderr] Checking serde v1.0.35 [INFO] [stderr] Checking num-traits v0.2.2 [INFO] [stderr] Checking crossbeam-utils v0.3.2 [INFO] [stderr] Checking crossbeam-utils v0.2.2 [INFO] [stderr] Checking encoding_rs v0.7.2 [INFO] [stderr] Checking base64 v0.9.0 [INFO] [stderr] Compiling crc v1.7.0 [INFO] [stderr] Checking crossbeam-epoch v0.4.1 [INFO] [stderr] Compiling rand v0.4.2 [INFO] [stderr] Checking iovec v0.1.2 [INFO] [stderr] Checking net2 v0.2.32 [INFO] [stderr] Checking num_cpus v1.8.0 [INFO] [stderr] Checking time v0.1.39 [INFO] [stderr] Compiling openssl-sys v0.9.27 [INFO] [stderr] Compiling backtrace-sys v0.1.16 [INFO] [stderr] Checking bytes v0.4.6 [INFO] [stderr] Checking crossbeam-deque v0.3.0 [INFO] [stderr] Checking mio v0.6.14 [INFO] [stderr] Compiling phf_shared v0.7.21 [INFO] [stderr] Checking mime v0.3.5 [INFO] [stderr] Compiling serde_derive_internals v0.22.1 [INFO] [stderr] Checking hyper v0.10.13 [INFO] [stderr] Compiling rand v0.3.22 [INFO] [stderr] Checking phf v0.7.21 [INFO] [stderr] Compiling phf_generator v0.7.21 [INFO] [stderr] Checking tokio-io v0.1.6 [INFO] [stderr] Checking tokio-executor v0.1.1 [INFO] [stderr] Checking tokio-service v0.1.0 [INFO] [stderr] Checking relay v0.1.1 [INFO] [stderr] Checking futures-cpupool v0.1.8 [INFO] [stderr] Checking uuid v0.5.1 [INFO] [stderr] Checking libflate v0.1.14 [INFO] [stderr] Compiling phf_codegen v0.7.21 [INFO] [stderr] Checking tokio-threadpool v0.1.1 [INFO] [stderr] Compiling serde_derive v1.0.35 [INFO] [stderr] Checking tokio-reactor v0.1.1 [INFO] [stderr] Compiling mime_guess v2.0.0-alpha.4 [INFO] [stderr] Checking tokio-udp v0.1.0 [INFO] [stderr] Checking tokio-tcp v0.1.0 [INFO] [stderr] Checking tokio v0.1.4 [INFO] [stderr] Checking tokio-core v0.1.16 [INFO] [stderr] Checking native-tls v0.1.5 [INFO] [stderr] Checking backtrace v0.3.5 [INFO] [stderr] Checking tokio-proto v0.1.1 [INFO] [stderr] Checking tokio-tls v0.1.4 [INFO] [stderr] Checking serde_json v1.0.13 [INFO] [stderr] Checking serde_urlencoded v0.5.1 [INFO] [stderr] Checking error-chain v0.11.0 [INFO] [stderr] Checking hyper v0.11.24 [INFO] [stderr] Checking telegram-bot-raw v0.6.1 [INFO] [stderr] Checking hyper-tls v0.1.3 [INFO] [stderr] Checking reqwest v0.8.5 [INFO] [stderr] Checking telegram-bot v0.6.1 [INFO] [stderr] Checking telebox v0.1.0 (/opt/crater/workdir) [INFO] [stderr] warning: useless use of `format!` [INFO] [stderr] --> src/echo.rs:28:21 [INFO] [stderr] | [INFO] [stderr] 28 | format!("{}", data) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ help: consider using .to_string(): `data.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: use of `unwrap_or` followed by a function call [INFO] [stderr] --> src/main.rs:29:33 [INFO] [stderr] | [INFO] [stderr] 29 | let port = env::var("PORT").unwrap_or("12345".to_string()); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try this: `unwrap_or_else(|_| "12345".to_string())` [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: useless use of `format!` [INFO] [stderr] --> src/echo.rs:28:21 [INFO] [stderr] | [INFO] [stderr] 28 | format!("{}", data) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ help: consider using .to_string(): `data.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: use of `unwrap_or` followed by a function call [INFO] [stderr] --> src/main.rs:29:33 [INFO] [stderr] | [INFO] [stderr] 29 | let port = env::var("PORT").unwrap_or("12345".to_string()); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try this: `unwrap_or_else(|_| "12345".to_string())` [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 1m 21s [INFO] running `"docker" "inspect" "df18fbac0645a536389e314185f04652e9c72a8877f04fccee488f81fae96701"` [INFO] running `"docker" "rm" "-f" "df18fbac0645a536389e314185f04652e9c72a8877f04fccee488f81fae96701"` [INFO] [stdout] df18fbac0645a536389e314185f04652e9c72a8877f04fccee488f81fae96701