[INFO] updating cached repository skade/hyper-http-proxy [INFO] running `"git" "fetch" "--all"` [INFO] [stdout] Fetching origin [INFO] [stderr] From git://github.com/skade/hyper-http-proxy [INFO] [stderr] * branch HEAD -> FETCH_HEAD [INFO] running `"git" "clone" "work/cache/sources/gh/skade/hyper-http-proxy" "work/ex/clippy-test-run/sources/stable/gh/skade/hyper-http-proxy"` [INFO] [stderr] Cloning into 'work/ex/clippy-test-run/sources/stable/gh/skade/hyper-http-proxy'... [INFO] [stderr] done. [INFO] running `"git" "clone" "work/cache/sources/gh/skade/hyper-http-proxy" "work/ex/clippy-test-run/sources/stable+rustflags=-Dclippy%3A%3Ainto_iter_on_array/gh/skade/hyper-http-proxy"` [INFO] [stderr] Cloning into 'work/ex/clippy-test-run/sources/stable+rustflags=-Dclippy%3A%3Ainto_iter_on_array/gh/skade/hyper-http-proxy'... [INFO] [stderr] done. [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] 769a704256a0ae186414d0e03a902605d5512bb6 [INFO] sha for GitHub repo skade/hyper-http-proxy: 769a704256a0ae186414d0e03a902605d5512bb6 [INFO] validating manifest of skade/hyper-http-proxy 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 skade/hyper-http-proxy 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 skade/hyper-http-proxy [INFO] finished frobbing skade/hyper-http-proxy [INFO] frobbed toml for skade/hyper-http-proxy written to work/ex/clippy-test-run/sources/stable/gh/skade/hyper-http-proxy/Cargo.toml [INFO] started frobbing skade/hyper-http-proxy [INFO] finished frobbing skade/hyper-http-proxy [INFO] frobbed toml for skade/hyper-http-proxy written to work/ex/clippy-test-run/sources/stable+rustflags=-Dclippy%3A%3Ainto_iter_on_array/gh/skade/hyper-http-proxy/Cargo.toml [INFO] crate skade/hyper-http-proxy 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 skade/hyper-http-proxy against stable for clippy-test-run [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/clippy-test-run/worker-2/stable:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/clippy-test-run/sources/stable/gh/skade/hyper-http-proxy:/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] 36e2a29db0c75db88ae96f74f7b4fc2fec49cec5ad49618b01a3ddef9374611e [INFO] running `"docker" "start" "-a" "36e2a29db0c75db88ae96f74f7b4fc2fec49cec5ad49618b01a3ddef9374611e"` [INFO] [stderr] Checking time v0.1.39 [INFO] [stderr] Checking crossbeam-utils v0.3.2 [INFO] [stderr] Checking net2 v0.2.33 [INFO] [stderr] Checking log v0.4.1 [INFO] [stderr] Checking bytes v0.4.9 [INFO] [stderr] Checking crossbeam-epoch v0.4.3 [INFO] [stderr] Checking want v0.0.6 [INFO] [stderr] Checking mio v0.6.15 [INFO] [stderr] Checking tokio-io v0.1.7 [INFO] [stderr] Checking http v0.1.10 [INFO] [stderr] Checking crossbeam-deque v0.3.1 [INFO] [stderr] Checking tokio-threadpool v0.1.5 [INFO] [stderr] Checking tokio-reactor v0.1.3 [INFO] [stderr] Checking tokio-codec v0.1.0 [INFO] [stderr] Checking tokio-udp v0.1.1 [INFO] [stderr] Checking tokio-tcp v0.1.1 [INFO] [stderr] Checking tokio-fs v0.1.3 [INFO] [stderr] Checking tokio v0.1.7 [INFO] [stderr] Checking h2 v0.1.12 [INFO] [stderr] Checking hyper v0.12.7 [INFO] [stderr] Checking hyper-http-proxy v0.2.0 (/opt/crater/workdir) [INFO] [stderr] warning: unused import: `service_fn` [INFO] [stderr] --> src/main.rs:6:22 [INFO] [stderr] | [INFO] [stderr] 6 | use hyper::service::{service_fn, Service}; [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: #[warn(unused_imports)] on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `Stream` [INFO] [stderr] --> src/main.rs:5:25 [INFO] [stderr] | [INFO] [stderr] 5 | use hyper::rt::{Future, Stream}; [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `service_fn` [INFO] [stderr] --> src/main.rs:6:22 [INFO] [stderr] | [INFO] [stderr] 6 | use hyper::service::{service_fn, Service}; [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: #[warn(unused_imports)] on by default [INFO] [stderr] [INFO] [stderr] warning: useless use of `format!` [INFO] [stderr] --> src/main.rs:46:27 [INFO] [stderr] | [INFO] [stderr] 46 | let url = format!("http://httpbin.org/post"); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: consider using .to_string(): `"http://httpbin.org/post".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] [INFO] [stderr] warning: redundant closure found [INFO] [stderr] --> src/main.rs:81:16 [INFO] [stderr] | [INFO] [stderr] 81 | .serve(|| spawn_service() ) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ help: remove closure as shown: `spawn_service` [INFO] [stderr] | [INFO] [stderr] = note: #[warn(clippy::redundant_closure)] on by default [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_closure [INFO] [stderr] [INFO] [stderr] warning: unused import: `Stream` [INFO] [stderr] --> src/main.rs:5:25 [INFO] [stderr] | [INFO] [stderr] 5 | use hyper::rt::{Future, Stream}; [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: useless use of `format!` [INFO] [stderr] --> src/main.rs:46:27 [INFO] [stderr] | [INFO] [stderr] 46 | let url = format!("http://httpbin.org/post"); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: consider using .to_string(): `"http://httpbin.org/post".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] [INFO] [stderr] warning: redundant closure found [INFO] [stderr] --> src/main.rs:81:16 [INFO] [stderr] | [INFO] [stderr] 81 | .serve(|| spawn_service() ) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ help: remove closure as shown: `spawn_service` [INFO] [stderr] | [INFO] [stderr] = note: #[warn(clippy::redundant_closure)] on by default [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_closure [INFO] [stderr] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 25.21s [INFO] running `"docker" "inspect" "36e2a29db0c75db88ae96f74f7b4fc2fec49cec5ad49618b01a3ddef9374611e"` [INFO] running `"docker" "rm" "-f" "36e2a29db0c75db88ae96f74f7b4fc2fec49cec5ad49618b01a3ddef9374611e"` [INFO] [stdout] 36e2a29db0c75db88ae96f74f7b4fc2fec49cec5ad49618b01a3ddef9374611e