[INFO] updating cached repository sbditto85/actix-web-reverse-proxy-test [INFO] running `"git" "fetch" "--all"` [INFO] [stdout] Fetching origin [INFO] [stderr] From git://github.com/sbditto85/actix-web-reverse-proxy-test [INFO] [stderr] * branch HEAD -> FETCH_HEAD [INFO] running `"git" "clone" "work/cache/sources/gh/sbditto85/actix-web-reverse-proxy-test" "work/ex/clippy-test-run/sources/stable/gh/sbditto85/actix-web-reverse-proxy-test"` [INFO] [stderr] Cloning into 'work/ex/clippy-test-run/sources/stable/gh/sbditto85/actix-web-reverse-proxy-test'... [INFO] [stderr] done. [INFO] running `"git" "clone" "work/cache/sources/gh/sbditto85/actix-web-reverse-proxy-test" "work/ex/clippy-test-run/sources/stable+rustflags=-Dclippy%3A%3Ainto_iter_on_array/gh/sbditto85/actix-web-reverse-proxy-test"` [INFO] [stderr] Cloning into 'work/ex/clippy-test-run/sources/stable+rustflags=-Dclippy%3A%3Ainto_iter_on_array/gh/sbditto85/actix-web-reverse-proxy-test'... [INFO] [stderr] done. [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] 015a663fa3dba5bf761c4cf8a0d8b434381ff8db [INFO] sha for GitHub repo sbditto85/actix-web-reverse-proxy-test: 015a663fa3dba5bf761c4cf8a0d8b434381ff8db [INFO] validating manifest of sbditto85/actix-web-reverse-proxy-test 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 sbditto85/actix-web-reverse-proxy-test 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 sbditto85/actix-web-reverse-proxy-test [INFO] finished frobbing sbditto85/actix-web-reverse-proxy-test [INFO] frobbed toml for sbditto85/actix-web-reverse-proxy-test written to work/ex/clippy-test-run/sources/stable/gh/sbditto85/actix-web-reverse-proxy-test/Cargo.toml [INFO] started frobbing sbditto85/actix-web-reverse-proxy-test [INFO] finished frobbing sbditto85/actix-web-reverse-proxy-test [INFO] frobbed toml for sbditto85/actix-web-reverse-proxy-test written to work/ex/clippy-test-run/sources/stable+rustflags=-Dclippy%3A%3Ainto_iter_on_array/gh/sbditto85/actix-web-reverse-proxy-test/Cargo.toml [INFO] crate sbditto85/actix-web-reverse-proxy-test has a lockfile. skipping [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+stable" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] Blocking waiting for file lock on the registry index [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+stable" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] linting sbditto85/actix-web-reverse-proxy-test against stable for clippy-test-run [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/clippy-test-run/worker-7/stable:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/clippy-test-run/sources/stable/gh/sbditto85/actix-web-reverse-proxy-test:/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] d02a794bcba20cd770da671613ed5a870c0b35e274034a019e6e6f724e4456f0 [INFO] running `"docker" "start" "-a" "d02a794bcba20cd770da671613ed5a870c0b35e274034a019e6e6f724e4456f0"` [INFO] [stderr] Compiling cc v1.0.13 [INFO] [stderr] Compiling serde v1.0.43 [INFO] [stderr] Compiling openssl v0.10.6 [INFO] [stderr] Compiling proc-macro2 v0.3.7 [INFO] [stderr] Compiling actix-web v0.5.6 [INFO] [stderr] Checking regex-syntax v0.5.5 [INFO] [stderr] Checking serde_json v1.0.16 [INFO] [stderr] Checking parking_lot_core v0.2.14 [INFO] [stderr] Checking uuid v0.6.3 [INFO] [stderr] Compiling tempdir v0.3.7 [INFO] [stderr] Checking http v0.1.5 [INFO] [stderr] Checking mio-uds v0.6.4 [INFO] [stderr] Checking parking_lot v0.4.8 [INFO] [stderr] Checking serde_urlencoded v0.5.1 [INFO] [stderr] Compiling phf_generator v0.7.22 [INFO] [stderr] Compiling backtrace-sys v0.1.16 [INFO] [stderr] Compiling openssl-sys v0.9.28 [INFO] [stderr] Compiling brotli-sys v0.3.2 [INFO] [stderr] Compiling miniz-sys v0.1.10 [INFO] [stderr] Compiling quote v0.5.2 [INFO] [stderr] Compiling phf_codegen v0.7.22 [INFO] [stderr] Checking crossbeam-channel v0.1.2 [INFO] [stderr] Compiling mime_guess v2.0.0-alpha.4 [INFO] [stderr] Checking tokio-signal v0.1.5 [INFO] [stderr] Compiling syn v0.13.2 [INFO] [stderr] Checking regex v0.2.10 [INFO] [stderr] Checking flate2 v1.0.1 [INFO] [stderr] Checking h2 v0.1.6 [INFO] [stderr] Checking env_logger v0.5.9 [INFO] [stderr] Compiling serde_derive_internals v0.23.1 [INFO] [stderr] Compiling semver v0.8.0 [INFO] [stderr] Checking tokio-openssl v0.2.0 [INFO] [stderr] Checking brotli2 v0.3.2 [INFO] [stderr] Compiling serde_derive v1.0.43 [INFO] [stderr] Compiling backtrace v0.3.6 [INFO] [stderr] Checking backtrace v0.2.3 [INFO] [stderr] Checking error-chain v0.1.12 [INFO] [stderr] Checking failure v0.1.1 [INFO] [stderr] Compiling error-chain v0.11.0 [INFO] [stderr] Checking trust-dns-proto v0.3.3 [INFO] [stderr] Compiling cargo_metadata v0.3.3 [INFO] [stderr] Checking trust-dns-resolver v0.8.2 [INFO] [stderr] Compiling skeptic v0.13.2 [INFO] [stderr] Compiling actix v0.5.6 [INFO] [stderr] Checking async_reverse_proxy v0.1.0 (/opt/crater/workdir) [INFO] [stderr] warning: you don't need to add `&` to all patterns [INFO] [stderr] --> src/apperror.rs:35:9 [INFO] [stderr] | [INFO] [stderr] 35 | / match self { [INFO] [stderr] 36 | | &AppError::ActixWeb(ref err) => write!(f, "ActixWeb Error: {:?}", err), [INFO] [stderr] 37 | | &AppError::ActixSendError(ref err) => write!(f, "ActixSend Error: {:?}", err), [INFO] [stderr] 38 | | &AppError::HttpError(ref err) => write!(f, "Http Error: {}", err), [INFO] [stderr] 39 | | &AppError::Lazy(ref err) => write!(f, "Lazy Error: {}", err), [INFO] [stderr] 40 | | } [INFO] [stderr] | |_________^ [INFO] [stderr] | [INFO] [stderr] = note: #[warn(clippy::match_ref_pats)] on by default [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#match_ref_pats [INFO] [stderr] help: instead of prefixing all patterns with `&`, you can dereference the expression [INFO] [stderr] | [INFO] [stderr] 35 | match *self { [INFO] [stderr] 36 | AppError::ActixWeb(ref err) => write!(f, "ActixWeb Error: {:?}", err), [INFO] [stderr] 37 | AppError::ActixSendError(ref err) => write!(f, "ActixSend Error: {:?}", err), [INFO] [stderr] 38 | AppError::HttpError(ref err) => write!(f, "Http Error: {}", err), [INFO] [stderr] 39 | AppError::Lazy(ref err) => write!(f, "Lazy Error: {}", err), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: this let-binding has unit value. Consider omitting `let _ =` [INFO] [stderr] --> src/main.rs:76:5 [INFO] [stderr] | [INFO] [stderr] 76 | let _ = env_logger::init(); [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 don't need to add `&` to all patterns [INFO] [stderr] --> src/apperror.rs:35:9 [INFO] [stderr] | [INFO] [stderr] 35 | / match self { [INFO] [stderr] 36 | | &AppError::ActixWeb(ref err) => write!(f, "ActixWeb Error: {:?}", err), [INFO] [stderr] 37 | | &AppError::ActixSendError(ref err) => write!(f, "ActixSend Error: {:?}", err), [INFO] [stderr] 38 | | &AppError::HttpError(ref err) => write!(f, "Http Error: {}", err), [INFO] [stderr] 39 | | &AppError::Lazy(ref err) => write!(f, "Lazy Error: {}", err), [INFO] [stderr] 40 | | } [INFO] [stderr] | |_________^ [INFO] [stderr] | [INFO] [stderr] = note: #[warn(clippy::match_ref_pats)] on by default [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#match_ref_pats [INFO] [stderr] help: instead of prefixing all patterns with `&`, you can dereference the expression [INFO] [stderr] | [INFO] [stderr] 35 | match *self { [INFO] [stderr] 36 | AppError::ActixWeb(ref err) => write!(f, "ActixWeb Error: {:?}", err), [INFO] [stderr] 37 | AppError::ActixSendError(ref err) => write!(f, "ActixSend Error: {:?}", err), [INFO] [stderr] 38 | AppError::HttpError(ref err) => write!(f, "Http Error: {}", err), [INFO] [stderr] 39 | AppError::Lazy(ref err) => write!(f, "Lazy Error: {}", err), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: this let-binding has unit value. Consider omitting `let _ =` [INFO] [stderr] --> src/main.rs:76:5 [INFO] [stderr] | [INFO] [stderr] 76 | let _ = env_logger::init(); [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] Finished dev [unoptimized + debuginfo] target(s) in 1m 14s [INFO] running `"docker" "inspect" "d02a794bcba20cd770da671613ed5a870c0b35e274034a019e6e6f724e4456f0"` [INFO] running `"docker" "rm" "-f" "d02a794bcba20cd770da671613ed5a870c0b35e274034a019e6e6f724e4456f0"` [INFO] [stdout] d02a794bcba20cd770da671613ed5a870c0b35e274034a019e6e6f724e4456f0