[INFO] updating cached repository matt-williams/tokio-memcache [INFO] running `"git" "fetch" "--all"` [INFO] [stdout] Fetching origin [INFO] [stderr] From git://github.com/matt-williams/tokio-memcache [INFO] [stderr] * branch HEAD -> FETCH_HEAD [INFO] running `"git" "clone" "work/cache/sources/gh/matt-williams/tokio-memcache" "work/ex/clippy-test-run/sources/stable/gh/matt-williams/tokio-memcache"` [INFO] [stderr] Cloning into 'work/ex/clippy-test-run/sources/stable/gh/matt-williams/tokio-memcache'... [INFO] [stderr] done. [INFO] running `"git" "clone" "work/cache/sources/gh/matt-williams/tokio-memcache" "work/ex/clippy-test-run/sources/stable+rustflags=-Dclippy%3A%3Ainto_iter_on_array/gh/matt-williams/tokio-memcache"` [INFO] [stderr] Cloning into 'work/ex/clippy-test-run/sources/stable+rustflags=-Dclippy%3A%3Ainto_iter_on_array/gh/matt-williams/tokio-memcache'... [INFO] [stderr] done. [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] 5c28b50593084a047861f49c9c026aaa67c222c1 [INFO] sha for GitHub repo matt-williams/tokio-memcache: 5c28b50593084a047861f49c9c026aaa67c222c1 [INFO] validating manifest of matt-williams/tokio-memcache 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 matt-williams/tokio-memcache 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 matt-williams/tokio-memcache [INFO] finished frobbing matt-williams/tokio-memcache [INFO] frobbed toml for matt-williams/tokio-memcache written to work/ex/clippy-test-run/sources/stable/gh/matt-williams/tokio-memcache/Cargo.toml [INFO] started frobbing matt-williams/tokio-memcache [INFO] finished frobbing matt-williams/tokio-memcache [INFO] frobbed toml for matt-williams/tokio-memcache written to work/ex/clippy-test-run/sources/stable+rustflags=-Dclippy%3A%3Ainto_iter_on_array/gh/matt-williams/tokio-memcache/Cargo.toml [INFO] crate matt-williams/tokio-memcache 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 matt-williams/tokio-memcache 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/matt-williams/tokio-memcache:/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] 0d39fe84ce2242a43d54efea079cbc68a51abef12cbeeb0a779d8379ee797a68 [INFO] running `"docker" "start" "-a" "0d39fe84ce2242a43d54efea079cbc68a51abef12cbeeb0a779d8379ee797a68"` [INFO] [stderr] Checking tokio-memcache v0.1.0 (/opt/crater/workdir) [INFO] [stderr] warning: redundant field names in struct initialization [INFO] [stderr] --> src/client.rs:57:32 [INFO] [stderr] | [INFO] [stderr] 57 | self.call(Request::Set{key: key, value: value, flags: flags, expiry: expiry, noreply: false}) [INFO] [stderr] | ^^^^^^^^ help: replace it with: `key` [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/client.rs:57:42 [INFO] [stderr] | [INFO] [stderr] 57 | self.call(Request::Set{key: key, value: value, flags: flags, expiry: expiry, noreply: false}) [INFO] [stderr] | ^^^^^^^^^^^^ help: replace it with: `value` [INFO] [stderr] | [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/client.rs:57:56 [INFO] [stderr] | [INFO] [stderr] 57 | self.call(Request::Set{key: key, value: value, flags: flags, expiry: expiry, noreply: false}) [INFO] [stderr] | ^^^^^^^^^^^^ help: replace it with: `flags` [INFO] [stderr] | [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/client.rs:57:70 [INFO] [stderr] | [INFO] [stderr] 57 | self.call(Request::Set{key: key, value: value, flags: flags, expiry: expiry, noreply: false}) [INFO] [stderr] | ^^^^^^^^^^^^^^ help: replace it with: `expiry` [INFO] [stderr] | [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/client.rs:68:32 [INFO] [stderr] | [INFO] [stderr] 68 | self.call(Request::Add{key: key, value: value, flags: flags, expiry: expiry, noreply: false}) [INFO] [stderr] | ^^^^^^^^ help: replace it with: `key` [INFO] [stderr] | [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/client.rs:68:42 [INFO] [stderr] | [INFO] [stderr] 68 | self.call(Request::Add{key: key, value: value, flags: flags, expiry: expiry, noreply: false}) [INFO] [stderr] | ^^^^^^^^^^^^ help: replace it with: `value` [INFO] [stderr] | [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/client.rs:68:56 [INFO] [stderr] | [INFO] [stderr] 68 | self.call(Request::Add{key: key, value: value, flags: flags, expiry: expiry, noreply: false}) [INFO] [stderr] | ^^^^^^^^^^^^ help: replace it with: `flags` [INFO] [stderr] | [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/client.rs:68:70 [INFO] [stderr] | [INFO] [stderr] 68 | self.call(Request::Add{key: key, value: value, flags: flags, expiry: expiry, noreply: false}) [INFO] [stderr] | ^^^^^^^^^^^^^^ help: replace it with: `expiry` [INFO] [stderr] | [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/client.rs:79:36 [INFO] [stderr] | [INFO] [stderr] 79 | self.call(Request::Replace{key: key, value: value, flags: flags, expiry: expiry, noreply: false}) [INFO] [stderr] | ^^^^^^^^ help: replace it with: `key` [INFO] [stderr] | [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/client.rs:79:46 [INFO] [stderr] | [INFO] [stderr] 79 | self.call(Request::Replace{key: key, value: value, flags: flags, expiry: expiry, noreply: false}) [INFO] [stderr] | ^^^^^^^^^^^^ help: replace it with: `value` [INFO] [stderr] | [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/client.rs:79:60 [INFO] [stderr] | [INFO] [stderr] 79 | self.call(Request::Replace{key: key, value: value, flags: flags, expiry: expiry, noreply: false}) [INFO] [stderr] | ^^^^^^^^^^^^ help: replace it with: `flags` [INFO] [stderr] | [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/client.rs:79:74 [INFO] [stderr] | [INFO] [stderr] 79 | self.call(Request::Replace{key: key, value: value, flags: flags, expiry: expiry, noreply: false}) [INFO] [stderr] | ^^^^^^^^^^^^^^ help: replace it with: `expiry` [INFO] [stderr] | [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/client.rs:90:35 [INFO] [stderr] | [INFO] [stderr] 90 | self.call(Request::Append{key: key, value: value, noreply: false}) [INFO] [stderr] | ^^^^^^^^ help: replace it with: `key` [INFO] [stderr] | [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/client.rs:90:45 [INFO] [stderr] | [INFO] [stderr] 90 | self.call(Request::Append{key: key, value: value, noreply: false}) [INFO] [stderr] | ^^^^^^^^^^^^ help: replace it with: `value` [INFO] [stderr] | [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/client.rs:101:36 [INFO] [stderr] | [INFO] [stderr] 101 | self.call(Request::Prepend{key: key, value: value, noreply: false}) [INFO] [stderr] | ^^^^^^^^ help: replace it with: `key` [INFO] [stderr] | [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/client.rs:101:46 [INFO] [stderr] | [INFO] [stderr] 101 | self.call(Request::Prepend{key: key, value: value, noreply: false}) [INFO] [stderr] | ^^^^^^^^^^^^ help: replace it with: `value` [INFO] [stderr] | [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/client.rs:112:32 [INFO] [stderr] | [INFO] [stderr] 112 | self.call(Request::Cas{key: key, value: value, flags: flags, expiry: expiry, cas: cas, noreply: false}) [INFO] [stderr] | ^^^^^^^^ help: replace it with: `key` [INFO] [stderr] | [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/client.rs:112:42 [INFO] [stderr] | [INFO] [stderr] 112 | self.call(Request::Cas{key: key, value: value, flags: flags, expiry: expiry, cas: cas, noreply: false}) [INFO] [stderr] | ^^^^^^^^^^^^ help: replace it with: `value` [INFO] [stderr] | [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/client.rs:112:56 [INFO] [stderr] | [INFO] [stderr] 112 | self.call(Request::Cas{key: key, value: value, flags: flags, expiry: expiry, cas: cas, noreply: false}) [INFO] [stderr] | ^^^^^^^^^^^^ help: replace it with: `flags` [INFO] [stderr] | [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/client.rs:112:70 [INFO] [stderr] | [INFO] [stderr] 112 | self.call(Request::Cas{key: key, value: value, flags: flags, expiry: expiry, cas: cas, noreply: false}) [INFO] [stderr] | ^^^^^^^^^^^^^^ help: replace it with: `expiry` [INFO] [stderr] | [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/client.rs:112:86 [INFO] [stderr] | [INFO] [stderr] 112 | self.call(Request::Cas{key: key, value: value, flags: flags, expiry: expiry, cas: cas, noreply: false}) [INFO] [stderr] | ^^^^^^^^ help: replace it with: `cas` [INFO] [stderr] | [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/client.rs:123:32 [INFO] [stderr] | [INFO] [stderr] 123 | self.call(Request::Get{keys: keys}) [INFO] [stderr] | ^^^^^^^^^^ help: replace it with: `keys` [INFO] [stderr] | [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/client.rs:134:33 [INFO] [stderr] | [INFO] [stderr] 134 | self.call(Request::Gets{keys: keys}) [INFO] [stderr] | ^^^^^^^^^^ help: replace it with: `keys` [INFO] [stderr] | [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/client.rs:145:35 [INFO] [stderr] | [INFO] [stderr] 145 | self.call(Request::Delete{key: key, noreply: false}) [INFO] [stderr] | ^^^^^^^^ help: replace it with: `key` [INFO] [stderr] | [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/client.rs:156:33 [INFO] [stderr] | [INFO] [stderr] 156 | self.call(Request::Incr{key: key, value: value, noreply: false}) [INFO] [stderr] | ^^^^^^^^ help: replace it with: `key` [INFO] [stderr] | [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/client.rs:156:43 [INFO] [stderr] | [INFO] [stderr] 156 | self.call(Request::Incr{key: key, value: value, noreply: false}) [INFO] [stderr] | ^^^^^^^^^^^^ help: replace it with: `value` [INFO] [stderr] | [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/client.rs:167:33 [INFO] [stderr] | [INFO] [stderr] 167 | self.call(Request::Incr{key: key, value: value, noreply: false}) [INFO] [stderr] | ^^^^^^^^ help: replace it with: `key` [INFO] [stderr] | [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/client.rs:167:43 [INFO] [stderr] | [INFO] [stderr] 167 | self.call(Request::Incr{key: key, value: value, noreply: false}) [INFO] [stderr] | ^^^^^^^^^^^^ help: replace it with: `value` [INFO] [stderr] | [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/client.rs:178:34 [INFO] [stderr] | [INFO] [stderr] 178 | self.call(Request::Touch{key: key, expiry: expiry, noreply: false}) [INFO] [stderr] | ^^^^^^^^ help: replace it with: `key` [INFO] [stderr] | [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/client.rs:178:44 [INFO] [stderr] | [INFO] [stderr] 178 | self.call(Request::Touch{key: key, expiry: expiry, noreply: false}) [INFO] [stderr] | ^^^^^^^^^^^^^^ help: replace it with: `expiry` [INFO] [stderr] | [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/server.rs:20:20 [INFO] [stderr] | [INFO] [stderr] 20 | ApiService{api: api} [INFO] [stderr] | ^^^^^^^^ help: replace it with: `api` [INFO] [stderr] | [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/client.rs:57:32 [INFO] [stderr] | [INFO] [stderr] 57 | self.call(Request::Set{key: key, value: value, flags: flags, expiry: expiry, noreply: false}) [INFO] [stderr] | ^^^^^^^^ help: replace it with: `key` [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/client.rs:57:42 [INFO] [stderr] | [INFO] [stderr] 57 | self.call(Request::Set{key: key, value: value, flags: flags, expiry: expiry, noreply: false}) [INFO] [stderr] | ^^^^^^^^^^^^ help: replace it with: `value` [INFO] [stderr] | [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/client.rs:57:56 [INFO] [stderr] | [INFO] [stderr] 57 | self.call(Request::Set{key: key, value: value, flags: flags, expiry: expiry, noreply: false}) [INFO] [stderr] | ^^^^^^^^^^^^ help: replace it with: `flags` [INFO] [stderr] | [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/client.rs:57:70 [INFO] [stderr] | [INFO] [stderr] 57 | self.call(Request::Set{key: key, value: value, flags: flags, expiry: expiry, noreply: false}) [INFO] [stderr] | ^^^^^^^^^^^^^^ help: replace it with: `expiry` [INFO] [stderr] | [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/client.rs:68:32 [INFO] [stderr] | [INFO] [stderr] 68 | self.call(Request::Add{key: key, value: value, flags: flags, expiry: expiry, noreply: false}) [INFO] [stderr] | ^^^^^^^^ help: replace it with: `key` [INFO] [stderr] | [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/client.rs:68:42 [INFO] [stderr] | [INFO] [stderr] 68 | self.call(Request::Add{key: key, value: value, flags: flags, expiry: expiry, noreply: false}) [INFO] [stderr] | ^^^^^^^^^^^^ help: replace it with: `value` [INFO] [stderr] | [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/client.rs:68:56 [INFO] [stderr] | [INFO] [stderr] 68 | self.call(Request::Add{key: key, value: value, flags: flags, expiry: expiry, noreply: false}) [INFO] [stderr] | ^^^^^^^^^^^^ help: replace it with: `flags` [INFO] [stderr] | [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/client.rs:68:70 [INFO] [stderr] | [INFO] [stderr] 68 | self.call(Request::Add{key: key, value: value, flags: flags, expiry: expiry, noreply: false}) [INFO] [stderr] | ^^^^^^^^^^^^^^ help: replace it with: `expiry` [INFO] [stderr] | [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/client.rs:79:36 [INFO] [stderr] | [INFO] [stderr] 79 | self.call(Request::Replace{key: key, value: value, flags: flags, expiry: expiry, noreply: false}) [INFO] [stderr] | ^^^^^^^^ help: replace it with: `key` [INFO] [stderr] | [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/client.rs:79:46 [INFO] [stderr] | [INFO] [stderr] 79 | self.call(Request::Replace{key: key, value: value, flags: flags, expiry: expiry, noreply: false}) [INFO] [stderr] | ^^^^^^^^^^^^ help: replace it with: `value` [INFO] [stderr] | [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/client.rs:79:60 [INFO] [stderr] | [INFO] [stderr] 79 | self.call(Request::Replace{key: key, value: value, flags: flags, expiry: expiry, noreply: false}) [INFO] [stderr] | ^^^^^^^^^^^^ help: replace it with: `flags` [INFO] [stderr] | [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/client.rs:79:74 [INFO] [stderr] | [INFO] [stderr] 79 | self.call(Request::Replace{key: key, value: value, flags: flags, expiry: expiry, noreply: false}) [INFO] [stderr] | ^^^^^^^^^^^^^^ help: replace it with: `expiry` [INFO] [stderr] | [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/client.rs:90:35 [INFO] [stderr] | [INFO] [stderr] 90 | self.call(Request::Append{key: key, value: value, noreply: false}) [INFO] [stderr] | ^^^^^^^^ help: replace it with: `key` [INFO] [stderr] | [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/client.rs:90:45 [INFO] [stderr] | [INFO] [stderr] 90 | self.call(Request::Append{key: key, value: value, noreply: false}) [INFO] [stderr] | ^^^^^^^^^^^^ help: replace it with: `value` [INFO] [stderr] | [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/client.rs:101:36 [INFO] [stderr] | [INFO] [stderr] 101 | self.call(Request::Prepend{key: key, value: value, noreply: false}) [INFO] [stderr] | ^^^^^^^^ help: replace it with: `key` [INFO] [stderr] | [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/client.rs:101:46 [INFO] [stderr] | [INFO] [stderr] 101 | self.call(Request::Prepend{key: key, value: value, noreply: false}) [INFO] [stderr] | ^^^^^^^^^^^^ help: replace it with: `value` [INFO] [stderr] | [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/client.rs:112:32 [INFO] [stderr] | [INFO] [stderr] 112 | self.call(Request::Cas{key: key, value: value, flags: flags, expiry: expiry, cas: cas, noreply: false}) [INFO] [stderr] | ^^^^^^^^ help: replace it with: `key` [INFO] [stderr] | [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/client.rs:112:42 [INFO] [stderr] | [INFO] [stderr] 112 | self.call(Request::Cas{key: key, value: value, flags: flags, expiry: expiry, cas: cas, noreply: false}) [INFO] [stderr] | ^^^^^^^^^^^^ help: replace it with: `value` [INFO] [stderr] | [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/client.rs:112:56 [INFO] [stderr] | [INFO] [stderr] 112 | self.call(Request::Cas{key: key, value: value, flags: flags, expiry: expiry, cas: cas, noreply: false}) [INFO] [stderr] | ^^^^^^^^^^^^ help: replace it with: `flags` [INFO] [stderr] | [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/client.rs:112:70 [INFO] [stderr] | [INFO] [stderr] 112 | self.call(Request::Cas{key: key, value: value, flags: flags, expiry: expiry, cas: cas, noreply: false}) [INFO] [stderr] | ^^^^^^^^^^^^^^ help: replace it with: `expiry` [INFO] [stderr] | [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/client.rs:112:86 [INFO] [stderr] | [INFO] [stderr] 112 | self.call(Request::Cas{key: key, value: value, flags: flags, expiry: expiry, cas: cas, noreply: false}) [INFO] [stderr] | ^^^^^^^^ help: replace it with: `cas` [INFO] [stderr] | [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/client.rs:123:32 [INFO] [stderr] | [INFO] [stderr] 123 | self.call(Request::Get{keys: keys}) [INFO] [stderr] | ^^^^^^^^^^ help: replace it with: `keys` [INFO] [stderr] | [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/client.rs:134:33 [INFO] [stderr] | [INFO] [stderr] 134 | self.call(Request::Gets{keys: keys}) [INFO] [stderr] | ^^^^^^^^^^ help: replace it with: `keys` [INFO] [stderr] | [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/client.rs:145:35 [INFO] [stderr] | [INFO] [stderr] 145 | self.call(Request::Delete{key: key, noreply: false}) [INFO] [stderr] | ^^^^^^^^ help: replace it with: `key` [INFO] [stderr] | [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/client.rs:156:33 [INFO] [stderr] | [INFO] [stderr] 156 | self.call(Request::Incr{key: key, value: value, noreply: false}) [INFO] [stderr] | ^^^^^^^^ help: replace it with: `key` [INFO] [stderr] | [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/client.rs:156:43 [INFO] [stderr] | [INFO] [stderr] 156 | self.call(Request::Incr{key: key, value: value, noreply: false}) [INFO] [stderr] | ^^^^^^^^^^^^ help: replace it with: `value` [INFO] [stderr] | [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/client.rs:167:33 [INFO] [stderr] | [INFO] [stderr] 167 | self.call(Request::Incr{key: key, value: value, noreply: false}) [INFO] [stderr] | ^^^^^^^^ help: replace it with: `key` [INFO] [stderr] | [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/client.rs:167:43 [INFO] [stderr] | [INFO] [stderr] 167 | self.call(Request::Incr{key: key, value: value, noreply: false}) [INFO] [stderr] | ^^^^^^^^^^^^ help: replace it with: `value` [INFO] [stderr] | [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/client.rs:178:34 [INFO] [stderr] | [INFO] [stderr] 178 | self.call(Request::Touch{key: key, expiry: expiry, noreply: false}) [INFO] [stderr] | ^^^^^^^^ help: replace it with: `key` [INFO] [stderr] | [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/client.rs:178:44 [INFO] [stderr] | [INFO] [stderr] 178 | self.call(Request::Touch{key: key, expiry: expiry, noreply: false}) [INFO] [stderr] | ^^^^^^^^^^^^^^ help: replace it with: `expiry` [INFO] [stderr] | [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/server.rs:20:20 [INFO] [stderr] | [INFO] [stderr] 20 | ApiService{api: api} [INFO] [stderr] | ^^^^^^^^ help: replace it with: `api` [INFO] [stderr] | [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: You matched a field with a wildcard pattern. Consider using `..` instead [INFO] [stderr] --> src/server.rs:37:53 [INFO] [stderr] | [INFO] [stderr] 37 | Request::Set{key, value, flags, expiry, noreply: _} => { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: #[warn(clippy::unneeded_field_pattern)] on by default [INFO] [stderr] = help: Try with `Set { key, value, flags, expiry, .. }` [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unneeded_field_pattern [INFO] [stderr] [INFO] [stderr] warning: You matched a field with a wildcard pattern. Consider using `..` instead [INFO] [stderr] --> src/server.rs:46:53 [INFO] [stderr] | [INFO] [stderr] 46 | Request::Add{key, value, flags, expiry, noreply: _} => { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: Try with `Add { key, value, flags, expiry, .. }` [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unneeded_field_pattern [INFO] [stderr] [INFO] [stderr] warning: You matched a field with a wildcard pattern. Consider using `..` instead [INFO] [stderr] --> src/server.rs:55:57 [INFO] [stderr] | [INFO] [stderr] 55 | Request::Replace{key, value, flags, expiry, noreply: _} => { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: Try with `Replace { key, value, flags, expiry, .. }` [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unneeded_field_pattern [INFO] [stderr] [INFO] [stderr] warning: You matched a field with a wildcard pattern. Consider using `..` instead [INFO] [stderr] --> src/server.rs:64:41 [INFO] [stderr] | [INFO] [stderr] 64 | Request::Append{key, value, noreply: _} => { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: Try with `Append { key, value, .. }` [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unneeded_field_pattern [INFO] [stderr] [INFO] [stderr] warning: You matched a field with a wildcard pattern. Consider using `..` instead [INFO] [stderr] --> src/server.rs:73:42 [INFO] [stderr] | [INFO] [stderr] 73 | Request::Prepend{key, value, noreply: _} => { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: Try with `Prepend { key, value, .. }` [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unneeded_field_pattern [INFO] [stderr] [INFO] [stderr] warning: You matched a field with a wildcard pattern. Consider using `..` instead [INFO] [stderr] --> src/server.rs:82:58 [INFO] [stderr] | [INFO] [stderr] 82 | Request::Cas{key, value, flags, expiry, cas, noreply: _} => { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: Try with `Cas { key, value, flags, expiry, cas, .. }` [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unneeded_field_pattern [INFO] [stderr] [INFO] [stderr] warning: You matched a field with a wildcard pattern. Consider using `..` instead [INFO] [stderr] --> src/server.rs:109:34 [INFO] [stderr] | [INFO] [stderr] 109 | Request::Delete{key, noreply: _} => { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: Try with `Delete { key, .. }` [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unneeded_field_pattern [INFO] [stderr] [INFO] [stderr] warning: You matched a field with a wildcard pattern. Consider using `..` instead [INFO] [stderr] --> src/server.rs:118:39 [INFO] [stderr] | [INFO] [stderr] 118 | Request::Incr{key, value, noreply: _} => { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: Try with `Incr { key, value, .. }` [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unneeded_field_pattern [INFO] [stderr] [INFO] [stderr] warning: You matched a field with a wildcard pattern. Consider using `..` instead [INFO] [stderr] --> src/server.rs:127:39 [INFO] [stderr] | [INFO] [stderr] 127 | Request::Decr{key, value, noreply: _} => { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: Try with `Decr { key, value, .. }` [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unneeded_field_pattern [INFO] [stderr] [INFO] [stderr] warning: You matched a field with a wildcard pattern. Consider using `..` instead [INFO] [stderr] --> src/server.rs:136:41 [INFO] [stderr] | [INFO] [stderr] 136 | Request::Touch{key, expiry, noreply: _} => { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: Try with `Touch { key, expiry, .. }` [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unneeded_field_pattern [INFO] [stderr] [INFO] [stderr] warning: You matched a field with a wildcard pattern. Consider using `..` instead [INFO] [stderr] --> src/server.rs:145:38 [INFO] [stderr] | [INFO] [stderr] 145 | Request::FlushAll{delay, noreply: _} => { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: Try with `FlushAll { delay, .. }` [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unneeded_field_pattern [INFO] [stderr] [INFO] [stderr] warning: You matched a field with a wildcard pattern. Consider using `..` instead [INFO] [stderr] --> src/server.rs:37:53 [INFO] [stderr] | [INFO] [stderr] 37 | Request::Set{key, value, flags, expiry, noreply: _} => { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: #[warn(clippy::unneeded_field_pattern)] on by default [INFO] [stderr] = help: Try with `Set { key, value, flags, expiry, .. }` [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unneeded_field_pattern [INFO] [stderr] [INFO] [stderr] warning: You matched a field with a wildcard pattern. Consider using `..` instead [INFO] [stderr] --> src/server.rs:46:53 [INFO] [stderr] | [INFO] [stderr] 46 | Request::Add{key, value, flags, expiry, noreply: _} => { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: Try with `Add { key, value, flags, expiry, .. }` [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unneeded_field_pattern [INFO] [stderr] [INFO] [stderr] warning: You matched a field with a wildcard pattern. Consider using `..` instead [INFO] [stderr] --> src/server.rs:55:57 [INFO] [stderr] | [INFO] [stderr] 55 | Request::Replace{key, value, flags, expiry, noreply: _} => { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: Try with `Replace { key, value, flags, expiry, .. }` [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unneeded_field_pattern [INFO] [stderr] [INFO] [stderr] warning: You matched a field with a wildcard pattern. Consider using `..` instead [INFO] [stderr] --> src/server.rs:64:41 [INFO] [stderr] | [INFO] [stderr] 64 | Request::Append{key, value, noreply: _} => { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: Try with `Append { key, value, .. }` [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unneeded_field_pattern [INFO] [stderr] [INFO] [stderr] warning: You matched a field with a wildcard pattern. Consider using `..` instead [INFO] [stderr] --> src/server.rs:73:42 [INFO] [stderr] | [INFO] [stderr] 73 | Request::Prepend{key, value, noreply: _} => { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: Try with `Prepend { key, value, .. }` [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unneeded_field_pattern [INFO] [stderr] [INFO] [stderr] warning: You matched a field with a wildcard pattern. Consider using `..` instead [INFO] [stderr] --> src/server.rs:82:58 [INFO] [stderr] | [INFO] [stderr] 82 | Request::Cas{key, value, flags, expiry, cas, noreply: _} => { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: Try with `Cas { key, value, flags, expiry, cas, .. }` [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unneeded_field_pattern [INFO] [stderr] [INFO] [stderr] warning: You matched a field with a wildcard pattern. Consider using `..` instead [INFO] [stderr] --> src/server.rs:109:34 [INFO] [stderr] | [INFO] [stderr] 109 | Request::Delete{key, noreply: _} => { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: Try with `Delete { key, .. }` [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unneeded_field_pattern [INFO] [stderr] [INFO] [stderr] warning: You matched a field with a wildcard pattern. Consider using `..` instead [INFO] [stderr] --> src/server.rs:118:39 [INFO] [stderr] | [INFO] [stderr] 118 | Request::Incr{key, value, noreply: _} => { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: Try with `Incr { key, value, .. }` [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unneeded_field_pattern [INFO] [stderr] [INFO] [stderr] warning: You matched a field with a wildcard pattern. Consider using `..` instead [INFO] [stderr] --> src/server.rs:127:39 [INFO] [stderr] | [INFO] [stderr] 127 | Request::Decr{key, value, noreply: _} => { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: Try with `Decr { key, value, .. }` [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unneeded_field_pattern [INFO] [stderr] [INFO] [stderr] warning: You matched a field with a wildcard pattern. Consider using `..` instead [INFO] [stderr] --> src/server.rs:136:41 [INFO] [stderr] | [INFO] [stderr] 136 | Request::Touch{key, expiry, noreply: _} => { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: Try with `Touch { key, expiry, .. }` [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unneeded_field_pattern [INFO] [stderr] [INFO] [stderr] warning: You matched a field with a wildcard pattern. Consider using `..` instead [INFO] [stderr] --> src/server.rs:145:38 [INFO] [stderr] | [INFO] [stderr] 145 | Request::FlushAll{delay, noreply: _} => { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: Try with `FlushAll { delay, .. }` [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unneeded_field_pattern [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/request.rs:312:17 [INFO] [stderr] | [INFO] [stderr] 312 | / match delay { [INFO] [stderr] 313 | | Some(delay) => { [INFO] [stderr] 314 | | buf.extend_from_slice(b" "); [INFO] [stderr] 315 | | buf.extend_from_slice(delay.to_string().as_bytes()); [INFO] [stderr] 316 | | }, [INFO] [stderr] 317 | | None => {} [INFO] [stderr] 318 | | } [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] 312 | if let Some(delay) = delay { [INFO] [stderr] 313 | buf.extend_from_slice(b" "); [INFO] [stderr] 314 | buf.extend_from_slice(delay.to_string().as_bytes()); [INFO] [stderr] 315 | } [INFO] [stderr] | [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/value.rs:40:9 [INFO] [stderr] | [INFO] [stderr] 40 | / match self.cas { [INFO] [stderr] 41 | | Some(cas) => { [INFO] [stderr] 42 | | buf.extend_from_slice(b" "); [INFO] [stderr] 43 | | buf.extend_from_slice(cas.to_string().as_bytes()); [INFO] [stderr] 44 | | }, [INFO] [stderr] 45 | | None => {} [INFO] [stderr] 46 | | } [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] 40 | if let Some(cas) = self.cas { [INFO] [stderr] 41 | buf.extend_from_slice(b" "); [INFO] [stderr] 42 | buf.extend_from_slice(cas.to_string().as_bytes()); [INFO] [stderr] 43 | } [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: very complex type used. Consider factoring parts into `type` definitions [INFO] [stderr] --> src/api.rs:35:24 [INFO] [stderr] | [INFO] [stderr] 35 | type FutureValue = Map) -> Value>; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: #[warn(clippy::type_complexity)] on by default [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#type_complexity [INFO] [stderr] [INFO] [stderr] warning: very complex type used. Consider factoring parts into `type` definitions [INFO] [stderr] --> src/client.rs:45:23 [INFO] [stderr] | [INFO] [stderr] 45 | type FutureUnit = Then, fn(Result) -> FutureResult<(), io::Error>>; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#type_complexity [INFO] [stderr] [INFO] [stderr] warning: very complex type used. Consider factoring parts into `type` definitions [INFO] [stderr] --> src/client.rs:46:25 [INFO] [stderr] | [INFO] [stderr] 46 | type FutureValues = Then, io::Error>, fn(Result) -> FutureResult, io::Error>>; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#type_complexity [INFO] [stderr] [INFO] [stderr] warning: very complex type used. Consider factoring parts into `type` definitions [INFO] [stderr] --> src/client.rs:47:22 [INFO] [stderr] | [INFO] [stderr] 47 | type FutureU64 = Then, fn(Result) -> FutureResult>; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#type_complexity [INFO] [stderr] [INFO] [stderr] warning: very complex type used. Consider factoring parts into `type` definitions [INFO] [stderr] --> src/client.rs:48:25 [INFO] [stderr] | [INFO] [stderr] 48 | type FutureString = Then, fn(Result) -> FutureResult>; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#type_complexity [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/request.rs:312:17 [INFO] [stderr] | [INFO] [stderr] 312 | / match delay { [INFO] [stderr] 313 | | Some(delay) => { [INFO] [stderr] 314 | | buf.extend_from_slice(b" "); [INFO] [stderr] 315 | | buf.extend_from_slice(delay.to_string().as_bytes()); [INFO] [stderr] 316 | | }, [INFO] [stderr] 317 | | None => {} [INFO] [stderr] 318 | | } [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] 312 | if let Some(delay) = delay { [INFO] [stderr] 313 | buf.extend_from_slice(b" "); [INFO] [stderr] 314 | buf.extend_from_slice(delay.to_string().as_bytes()); [INFO] [stderr] 315 | } [INFO] [stderr] | [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/value.rs:40:9 [INFO] [stderr] | [INFO] [stderr] 40 | / match self.cas { [INFO] [stderr] 41 | | Some(cas) => { [INFO] [stderr] 42 | | buf.extend_from_slice(b" "); [INFO] [stderr] 43 | | buf.extend_from_slice(cas.to_string().as_bytes()); [INFO] [stderr] 44 | | }, [INFO] [stderr] 45 | | None => {} [INFO] [stderr] 46 | | } [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] 40 | if let Some(cas) = self.cas { [INFO] [stderr] 41 | buf.extend_from_slice(b" "); [INFO] [stderr] 42 | buf.extend_from_slice(cas.to_string().as_bytes()); [INFO] [stderr] 43 | } [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: very complex type used. Consider factoring parts into `type` definitions [INFO] [stderr] --> src/api.rs:35:24 [INFO] [stderr] | [INFO] [stderr] 35 | type FutureValue = Map) -> Value>; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: #[warn(clippy::type_complexity)] on by default [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#type_complexity [INFO] [stderr] [INFO] [stderr] warning: very complex type used. Consider factoring parts into `type` definitions [INFO] [stderr] --> src/client.rs:45:23 [INFO] [stderr] | [INFO] [stderr] 45 | type FutureUnit = Then, fn(Result) -> FutureResult<(), io::Error>>; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#type_complexity [INFO] [stderr] [INFO] [stderr] warning: very complex type used. Consider factoring parts into `type` definitions [INFO] [stderr] --> src/client.rs:46:25 [INFO] [stderr] | [INFO] [stderr] 46 | type FutureValues = Then, io::Error>, fn(Result) -> FutureResult, io::Error>>; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#type_complexity [INFO] [stderr] [INFO] [stderr] warning: very complex type used. Consider factoring parts into `type` definitions [INFO] [stderr] --> src/client.rs:47:22 [INFO] [stderr] | [INFO] [stderr] 47 | type FutureU64 = Then, fn(Result) -> FutureResult>; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#type_complexity [INFO] [stderr] [INFO] [stderr] warning: very complex type used. Consider factoring parts into `type` definitions [INFO] [stderr] --> src/client.rs:48:25 [INFO] [stderr] | [INFO] [stderr] 48 | type FutureString = Then, fn(Result) -> FutureResult>; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#type_complexity [INFO] [stderr] [INFO] [stderr] warning: unused `#[macro_use]` import [INFO] [stderr] --> examples/server.rs:1:1 [INFO] [stderr] | [INFO] [stderr] 1 | #[macro_use] [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: #[warn(unused_imports)] on by default [INFO] [stderr] [INFO] [stderr] warning: unused `#[macro_use]` import [INFO] [stderr] --> examples/client.rs:1:1 [INFO] [stderr] | [INFO] [stderr] 1 | #[macro_use] [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: #[warn(unused_imports)] on by default [INFO] [stderr] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 6.69s [INFO] running `"docker" "inspect" "0d39fe84ce2242a43d54efea079cbc68a51abef12cbeeb0a779d8379ee797a68"` [INFO] running `"docker" "rm" "-f" "0d39fe84ce2242a43d54efea079cbc68a51abef12cbeeb0a779d8379ee797a68"` [INFO] [stdout] 0d39fe84ce2242a43d54efea079cbc68a51abef12cbeeb0a779d8379ee797a68