[INFO] crate rusoto_cloudwatch 0.35.0 is already in cache [INFO] extracting crate rusoto_cloudwatch 0.35.0 into work/ex/clippy-test-run/sources/stable/reg/rusoto_cloudwatch/0.35.0 [INFO] extracting crate rusoto_cloudwatch 0.35.0 into work/ex/clippy-test-run/sources/stable+rustflags=-Dclippy%3A%3Ainto_iter_on_array/reg/rusoto_cloudwatch/0.35.0 [INFO] validating manifest of rusoto_cloudwatch-0.35.0 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 rusoto_cloudwatch-0.35.0 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 rusoto_cloudwatch-0.35.0 [INFO] finished frobbing rusoto_cloudwatch-0.35.0 [INFO] frobbed toml for rusoto_cloudwatch-0.35.0 written to work/ex/clippy-test-run/sources/stable/reg/rusoto_cloudwatch/0.35.0/Cargo.toml [INFO] started frobbing rusoto_cloudwatch-0.35.0 [INFO] finished frobbing rusoto_cloudwatch-0.35.0 [INFO] frobbed toml for rusoto_cloudwatch-0.35.0 written to work/ex/clippy-test-run/sources/stable+rustflags=-Dclippy%3A%3Ainto_iter_on_array/reg/rusoto_cloudwatch/0.35.0/Cargo.toml [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+stable" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+stable" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [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 rusoto_cloudwatch-0.35.0 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/reg/rusoto_cloudwatch/0.35.0:/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] 4523c96a5b307de38624e4926db69b935140aac0cb756b64ee9460aedf1d9e7e [INFO] running `"docker" "start" "-a" "4523c96a5b307de38624e4926db69b935140aac0cb756b64ee9460aedf1d9e7e"` [INFO] [stderr] Checking rusoto_mock v0.29.0 [INFO] [stderr] Checking rusoto_cloudwatch v0.35.0 (/opt/crater/workdir) [INFO] [stderr] warning: redundant field names in struct initialization [INFO] [stderr] --> src/generated.rs:4932:13 [INFO] [stderr] | [INFO] [stderr] 4932 | region: region, [INFO] [stderr] | ^^^^^^^^^^^^^^ help: replace it with: `region` [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/generated.rs:4949:13 [INFO] [stderr] | [INFO] [stderr] 4949 | region: region, [INFO] [stderr] | ^^^^^^^^^^^^^^ help: replace it with: `region` [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] error[E0308]: mismatched types [INFO] [stderr] --> /opt/crater/cargo-home/registry/src/github.com-1ecc6299db9ec823/rusoto_mock-0.29.0/src/lib.rs:134:19 [INFO] [stderr] | [INFO] [stderr] 134 | body: Box::new(once(Ok(self.body.clone()))), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected struct `rusoto_core::ByteStream`, found struct `std::boxed::Box` [INFO] [stderr] | [INFO] [stderr] = note: expected type `rusoto_core::ByteStream` [INFO] [stderr] found type `std::boxed::Box, _>>` [INFO] [stderr] [INFO] [stderr] error: aborting due to previous error [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0308`. [INFO] [stderr] error: Could not compile `rusoto_mock`. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: useless lint attribute [INFO] [stderr] --> src/generated.rs:17:1 [INFO] [stderr] | [INFO] [stderr] 17 | #[allow(warnings)] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ help: if you just forgot a `!`, use: `#![allow(warnings)]` [INFO] [stderr] | [INFO] [stderr] = note: #[deny(clippy::useless_attribute)] on by default [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_attribute [INFO] [stderr] [INFO] [stderr] warning: this lifetime isn't used in the function definition [INFO] [stderr] --> src/generated.rs:48:20 [INFO] [stderr] | [INFO] [stderr] 48 | fn deserialize<'a, T: Peek + Next>( [INFO] [stderr] | ^^ [INFO] [stderr] | [INFO] [stderr] = note: #[warn(clippy::extra_unused_lifetimes)] on by default [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#extra_unused_lifetimes [INFO] [stderr] [INFO] [stderr] warning: this lifetime isn't used in the function definition [INFO] [stderr] --> src/generated.rs:62:20 [INFO] [stderr] | [INFO] [stderr] 62 | fn deserialize<'a, T: Peek + Next>( [INFO] [stderr] | ^^ [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#extra_unused_lifetimes [INFO] [stderr] [INFO] [stderr] warning: this lifetime isn't used in the function definition [INFO] [stderr] --> src/generated.rs:76:20 [INFO] [stderr] | [INFO] [stderr] 76 | fn deserialize<'a, T: Peek + Next>( [INFO] [stderr] | ^^ [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#extra_unused_lifetimes [INFO] [stderr] [INFO] [stderr] warning: this lifetime isn't used in the function definition [INFO] [stderr] --> src/generated.rs:105:20 [INFO] [stderr] | [INFO] [stderr] 105 | fn deserialize<'a, T: Peek + Next>( [INFO] [stderr] | ^^ [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#extra_unused_lifetimes [INFO] [stderr] [INFO] [stderr] warning: this lifetime isn't used in the function definition [INFO] [stderr] --> src/generated.rs:166:20 [INFO] [stderr] | [INFO] [stderr] 166 | fn deserialize<'a, T: Peek + Next>( [INFO] [stderr] | ^^ [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#extra_unused_lifetimes [INFO] [stderr] [INFO] [stderr] warning: this lifetime isn't used in the function definition [INFO] [stderr] --> src/generated.rs:208:20 [INFO] [stderr] | [INFO] [stderr] 208 | fn deserialize<'a, T: Peek + Next>( [INFO] [stderr] | ^^ [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#extra_unused_lifetimes [INFO] [stderr] [INFO] [stderr] warning: writing `&Vec<_>` instead of `&[_]` involves one more reference and cannot be used with non-Vec-based slices. [INFO] [stderr] --> src/generated.rs:223:56 [INFO] [stderr] | [INFO] [stderr] 223 | fn serialize(params: &mut Params, name: &str, obj: &Vec) { [INFO] [stderr] | ^^^^^^^^^^^^ help: change this to: `&[String]` [INFO] [stderr] | [INFO] [stderr] = note: #[warn(clippy::ptr_arg)] on by default [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#ptr_arg [INFO] [stderr] [INFO] [stderr] warning: this lifetime isn't used in the function definition [INFO] [stderr] --> src/generated.rs:234:20 [INFO] [stderr] | [INFO] [stderr] 234 | fn deserialize<'a, T: Peek + Next>( [INFO] [stderr] | ^^ [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#extra_unused_lifetimes [INFO] [stderr] [INFO] [stderr] warning: this lifetime isn't used in the function definition [INFO] [stderr] --> src/generated.rs:248:20 [INFO] [stderr] | [INFO] [stderr] 248 | fn deserialize<'a, T: Peek + Next>( [INFO] [stderr] | ^^ [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#extra_unused_lifetimes [INFO] [stderr] [INFO] [stderr] warning: this lifetime isn't used in the function definition [INFO] [stderr] --> src/generated.rs:262:20 [INFO] [stderr] | [INFO] [stderr] 262 | fn deserialize<'a, T: Peek + Next>( [INFO] [stderr] | ^^ [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#extra_unused_lifetimes [INFO] [stderr] [INFO] [stderr] warning: this lifetime isn't used in the function definition [INFO] [stderr] --> src/generated.rs:276:20 [INFO] [stderr] | [INFO] [stderr] 276 | fn deserialize<'a, T: Peek + Next>( [INFO] [stderr] | ^^ [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#extra_unused_lifetimes [INFO] [stderr] [INFO] [stderr] warning: this lifetime isn't used in the function definition [INFO] [stderr] --> src/generated.rs:331:20 [INFO] [stderr] | [INFO] [stderr] 331 | fn deserialize<'a, T: Peek + Next>( [INFO] [stderr] | ^^ [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#extra_unused_lifetimes [INFO] [stderr] [INFO] [stderr] warning: this lifetime isn't used in the function definition [INFO] [stderr] --> src/generated.rs:388:20 [INFO] [stderr] | [INFO] [stderr] 388 | fn deserialize<'a, T: Peek + Next>( [INFO] [stderr] | ^^ [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#extra_unused_lifetimes [INFO] [stderr] [INFO] [stderr] warning: writing `&Vec<_>` instead of `&[_]` involves one more reference and cannot be used with non-Vec-based slices. [INFO] [stderr] --> src/generated.rs:403:56 [INFO] [stderr] | [INFO] [stderr] 403 | fn serialize(params: &mut Params, name: &str, obj: &Vec) { [INFO] [stderr] | ^^^^^^^^^^^^ help: change this to: `&[String]` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#ptr_arg [INFO] [stderr] [INFO] [stderr] warning: this lifetime isn't used in the function definition [INFO] [stderr] --> src/generated.rs:423:20 [INFO] [stderr] | [INFO] [stderr] 423 | fn deserialize<'a, T: Peek + Next>( [INFO] [stderr] | ^^ [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#extra_unused_lifetimes [INFO] [stderr] [INFO] [stderr] warning: this lifetime isn't used in the function definition [INFO] [stderr] --> src/generated.rs:467:20 [INFO] [stderr] | [INFO] [stderr] 467 | fn deserialize<'a, T: Peek + Next>( [INFO] [stderr] | ^^ [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#extra_unused_lifetimes [INFO] [stderr] [INFO] [stderr] warning: this lifetime isn't used in the function definition [INFO] [stderr] --> src/generated.rs:509:20 [INFO] [stderr] | [INFO] [stderr] 509 | fn deserialize<'a, T: Peek + Next>( [INFO] [stderr] | ^^ [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#extra_unused_lifetimes [INFO] [stderr] [INFO] [stderr] warning: this lifetime isn't used in the function definition [INFO] [stderr] --> src/generated.rs:544:20 [INFO] [stderr] | [INFO] [stderr] 544 | fn deserialize<'a, T: Peek + Next>( [INFO] [stderr] | ^^ [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#extra_unused_lifetimes [INFO] [stderr] [INFO] [stderr] warning: this lifetime isn't used in the function definition [INFO] [stderr] --> src/generated.rs:616:20 [INFO] [stderr] | [INFO] [stderr] 616 | fn deserialize<'a, T: Peek + Next>( [INFO] [stderr] | ^^ [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#extra_unused_lifetimes [INFO] [stderr] [INFO] [stderr] warning: this lifetime isn't used in the function definition [INFO] [stderr] --> src/generated.rs:630:20 [INFO] [stderr] | [INFO] [stderr] 630 | fn deserialize<'a, T: Peek + Next>( [INFO] [stderr] | ^^ [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#extra_unused_lifetimes [INFO] [stderr] [INFO] [stderr] warning: this lifetime isn't used in the function definition [INFO] [stderr] --> src/generated.rs:653:20 [INFO] [stderr] | [INFO] [stderr] 653 | fn deserialize<'a, T: Peek + Next>( [INFO] [stderr] | ^^ [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#extra_unused_lifetimes [INFO] [stderr] [INFO] [stderr] warning: this lifetime isn't used in the function definition [INFO] [stderr] --> src/generated.rs:695:20 [INFO] [stderr] | [INFO] [stderr] 695 | fn deserialize<'a, T: Peek + Next>( [INFO] [stderr] | ^^ [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#extra_unused_lifetimes [INFO] [stderr] [INFO] [stderr] warning: this lifetime isn't used in the function definition [INFO] [stderr] --> src/generated.rs:735:20 [INFO] [stderr] | [INFO] [stderr] 735 | fn deserialize<'a, T: Peek + Next>( [INFO] [stderr] | ^^ [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#extra_unused_lifetimes [INFO] [stderr] [INFO] [stderr] warning: this lifetime isn't used in the function definition [INFO] [stderr] --> src/generated.rs:798:20 [INFO] [stderr] | [INFO] [stderr] 798 | fn deserialize<'a, T: Peek + Next>( [INFO] [stderr] | ^^ [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#extra_unused_lifetimes [INFO] [stderr] [INFO] [stderr] warning: this lifetime isn't used in the function definition [INFO] [stderr] --> src/generated.rs:871:20 [INFO] [stderr] | [INFO] [stderr] 871 | fn deserialize<'a, T: Peek + Next>( [INFO] [stderr] | ^^ [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#extra_unused_lifetimes [INFO] [stderr] [INFO] [stderr] warning: this lifetime isn't used in the function definition [INFO] [stderr] --> src/generated.rs:973:20 [INFO] [stderr] | [INFO] [stderr] 973 | fn deserialize<'a, T: Peek + Next>( [INFO] [stderr] | ^^ [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#extra_unused_lifetimes [INFO] [stderr] [INFO] [stderr] warning: this lifetime isn't used in the function definition [INFO] [stderr] --> src/generated.rs:1076:20 [INFO] [stderr] | [INFO] [stderr] 1076 | fn deserialize<'a, T: Peek + Next>( [INFO] [stderr] | ^^ [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#extra_unused_lifetimes [INFO] [stderr] [INFO] [stderr] warning: this lifetime isn't used in the function definition [INFO] [stderr] --> src/generated.rs:1131:20 [INFO] [stderr] | [INFO] [stderr] 1131 | fn deserialize<'a, T: Peek + Next>( [INFO] [stderr] | ^^ [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#extra_unused_lifetimes [INFO] [stderr] [INFO] [stderr] warning: writing `&Vec<_>` instead of `&[_]` involves one more reference and cannot be used with non-Vec-based slices. [INFO] [stderr] --> src/generated.rs:1213:56 [INFO] [stderr] | [INFO] [stderr] 1213 | fn serialize(params: &mut Params, name: &str, obj: &Vec) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ help: change this to: `&[DimensionFilter]` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#ptr_arg [INFO] [stderr] [INFO] [stderr] warning: this lifetime isn't used in the function definition [INFO] [stderr] --> src/generated.rs:1224:20 [INFO] [stderr] | [INFO] [stderr] 1224 | fn deserialize<'a, T: Peek + Next>( [INFO] [stderr] | ^^ [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#extra_unused_lifetimes [INFO] [stderr] [INFO] [stderr] warning: this lifetime isn't used in the function definition [INFO] [stderr] --> src/generated.rs:1238:20 [INFO] [stderr] | [INFO] [stderr] 1238 | fn deserialize<'a, T: Peek + Next>( [INFO] [stderr] | ^^ [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#extra_unused_lifetimes [INFO] [stderr] [INFO] [stderr] warning: this lifetime isn't used in the function definition [INFO] [stderr] --> src/generated.rs:1252:20 [INFO] [stderr] | [INFO] [stderr] 1252 | fn deserialize<'a, T: Peek + Next>( [INFO] [stderr] | ^^ [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#extra_unused_lifetimes [INFO] [stderr] [INFO] [stderr] warning: writing `&Vec<_>` instead of `&[_]` involves one more reference and cannot be used with non-Vec-based slices. [INFO] [stderr] --> src/generated.rs:1293:56 [INFO] [stderr] | [INFO] [stderr] 1293 | fn serialize(params: &mut Params, name: &str, obj: &Vec) { [INFO] [stderr] | ^^^^^^^^^^^^^^^ help: change this to: `&[Dimension]` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#ptr_arg [INFO] [stderr] [INFO] [stderr] warning: this lifetime isn't used in the function definition [INFO] [stderr] --> src/generated.rs:1350:20 [INFO] [stderr] | [INFO] [stderr] 1350 | fn deserialize<'a, T: Peek + Next>( [INFO] [stderr] | ^^ [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#extra_unused_lifetimes [INFO] [stderr] [INFO] [stderr] warning: this lifetime isn't used in the function definition [INFO] [stderr] --> src/generated.rs:1364:20 [INFO] [stderr] | [INFO] [stderr] 1364 | fn deserialize<'a, T: Peek + Next>( [INFO] [stderr] | ^^ [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#extra_unused_lifetimes [INFO] [stderr] [INFO] [stderr] warning: this lifetime isn't used in the function definition [INFO] [stderr] --> src/generated.rs:1378:20 [INFO] [stderr] | [INFO] [stderr] 1378 | fn deserialize<'a, T: Peek + Next>( [INFO] [stderr] | ^^ [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#extra_unused_lifetimes [INFO] [stderr] [INFO] [stderr] warning: writing `&Vec<_>` instead of `&[_]` involves one more reference and cannot be used with non-Vec-based slices. [INFO] [stderr] --> src/generated.rs:1393:56 [INFO] [stderr] | [INFO] [stderr] 1393 | fn serialize(params: &mut Params, name: &str, obj: &Vec) { [INFO] [stderr] | ^^^^^^^^^^^^ help: change this to: `&[String]` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#ptr_arg [INFO] [stderr] [INFO] [stderr] warning: this lifetime isn't used in the function definition [INFO] [stderr] --> src/generated.rs:1436:20 [INFO] [stderr] | [INFO] [stderr] 1436 | fn deserialize<'a, T: Peek + Next>( [INFO] [stderr] | ^^ [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#extra_unused_lifetimes [INFO] [stderr] [INFO] [stderr] warning: this lifetime isn't used in the function definition [INFO] [stderr] --> src/generated.rs:1545:20 [INFO] [stderr] | [INFO] [stderr] 1545 | fn deserialize<'a, T: Peek + Next>( [INFO] [stderr] | ^^ [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#extra_unused_lifetimes [INFO] [stderr] [INFO] [stderr] warning: this lifetime isn't used in the function definition [INFO] [stderr] --> src/generated.rs:1661:20 [INFO] [stderr] | [INFO] [stderr] 1661 | fn deserialize<'a, T: Peek + Next>( [INFO] [stderr] | ^^ [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#extra_unused_lifetimes [INFO] [stderr] [INFO] [stderr] warning: this lifetime isn't used in the function definition [INFO] [stderr] --> src/generated.rs:1707:20 [INFO] [stderr] | [INFO] [stderr] 1707 | fn deserialize<'a, T: Peek + Next>( [INFO] [stderr] | ^^ [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#extra_unused_lifetimes [INFO] [stderr] [INFO] [stderr] warning: this lifetime isn't used in the function definition [INFO] [stderr] --> src/generated.rs:1721:20 [INFO] [stderr] | [INFO] [stderr] 1721 | fn deserialize<'a, T: Peek + Next>( [INFO] [stderr] | ^^ [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#extra_unused_lifetimes [INFO] [stderr] [INFO] [stderr] warning: this lifetime isn't used in the function definition [INFO] [stderr] --> src/generated.rs:1735:20 [INFO] [stderr] | [INFO] [stderr] 1735 | fn deserialize<'a, T: Peek + Next>( [INFO] [stderr] | ^^ [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#extra_unused_lifetimes [INFO] [stderr] [INFO] [stderr] warning: this lifetime isn't used in the function definition [INFO] [stderr] --> src/generated.rs:1749:20 [INFO] [stderr] | [INFO] [stderr] 1749 | fn deserialize<'a, T: Peek + Next>( [INFO] [stderr] | ^^ [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#extra_unused_lifetimes [INFO] [stderr] [INFO] [stderr] warning: this lifetime isn't used in the function definition [INFO] [stderr] --> src/generated.rs:1800:20 [INFO] [stderr] | [INFO] [stderr] 1800 | fn deserialize<'a, T: Peek + Next>( [INFO] [stderr] | ^^ [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#extra_unused_lifetimes [INFO] [stderr] [INFO] [stderr] warning: this lifetime isn't used in the function definition [INFO] [stderr] --> src/generated.rs:1893:20 [INFO] [stderr] | [INFO] [stderr] 1893 | fn deserialize<'a, T: Peek + Next>( [INFO] [stderr] | ^^ [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#extra_unused_lifetimes [INFO] [stderr] [INFO] [stderr] warning: this lifetime isn't used in the function definition [INFO] [stderr] --> src/generated.rs:1937:20 [INFO] [stderr] | [INFO] [stderr] 1937 | fn deserialize<'a, T: Peek + Next>( [INFO] [stderr] | ^^ [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#extra_unused_lifetimes [INFO] [stderr] [INFO] [stderr] warning: this lifetime isn't used in the function definition [INFO] [stderr] --> src/generated.rs:1960:20 [INFO] [stderr] | [INFO] [stderr] 1960 | fn deserialize<'a, T: Peek + Next>( [INFO] [stderr] | ^^ [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#extra_unused_lifetimes [INFO] [stderr] [INFO] [stderr] warning: this lifetime isn't used in the function definition [INFO] [stderr] --> src/generated.rs:2006:20 [INFO] [stderr] | [INFO] [stderr] 2006 | fn deserialize<'a, T: Peek + Next>( [INFO] [stderr] | ^^ [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#extra_unused_lifetimes [INFO] [stderr] [INFO] [stderr] warning: this lifetime isn't used in the function definition [INFO] [stderr] --> src/generated.rs:2020:20 [INFO] [stderr] | [INFO] [stderr] 2020 | fn deserialize<'a, T: Peek + Next>( [INFO] [stderr] | ^^ [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#extra_unused_lifetimes [INFO] [stderr] [INFO] [stderr] warning: this lifetime isn't used in the function definition [INFO] [stderr] --> src/generated.rs:2045:20 [INFO] [stderr] | [INFO] [stderr] 2045 | fn deserialize<'a, T: Peek + Next>( [INFO] [stderr] | ^^ [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#extra_unused_lifetimes [INFO] [stderr] [INFO] [stderr] warning: this lifetime isn't used in the function definition [INFO] [stderr] --> src/generated.rs:2178:20 [INFO] [stderr] | [INFO] [stderr] 2178 | fn deserialize<'a, T: Peek + Next>( [INFO] [stderr] | ^^ [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#extra_unused_lifetimes [INFO] [stderr] [INFO] [stderr] warning: this lifetime isn't used in the function definition [INFO] [stderr] --> src/generated.rs:2344:20 [INFO] [stderr] | [INFO] [stderr] 2344 | fn deserialize<'a, T: Peek + Next>( [INFO] [stderr] | ^^ [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#extra_unused_lifetimes [INFO] [stderr] [INFO] [stderr] warning: writing `&Vec<_>` instead of `&[_]` involves one more reference and cannot be used with non-Vec-based slices. [INFO] [stderr] --> src/generated.rs:2385:56 [INFO] [stderr] | [INFO] [stderr] 2385 | fn serialize(params: &mut Params, name: &str, obj: &Vec) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ help: change this to: `&[MetricDatum]` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#ptr_arg [INFO] [stderr] [INFO] [stderr] warning: writing `&Vec<_>` instead of `&[_]` involves one more reference and cannot be used with non-Vec-based slices. [INFO] [stderr] --> src/generated.rs:2396:56 [INFO] [stderr] | [INFO] [stderr] 2396 | fn serialize(params: &mut Params, name: &str, obj: &Vec) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ help: change this to: `&[MetricDataQuery]` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#ptr_arg [INFO] [stderr] [INFO] [stderr] warning: this lifetime isn't used in the function definition [INFO] [stderr] --> src/generated.rs:2471:20 [INFO] [stderr] | [INFO] [stderr] 2471 | fn deserialize<'a, T: Peek + Next>( [INFO] [stderr] | ^^ [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#extra_unused_lifetimes [INFO] [stderr] [INFO] [stderr] warning: this lifetime isn't used in the function definition [INFO] [stderr] --> src/generated.rs:2536:20 [INFO] [stderr] | [INFO] [stderr] 2536 | fn deserialize<'a, T: Peek + Next>( [INFO] [stderr] | ^^ [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#extra_unused_lifetimes [INFO] [stderr] [INFO] [stderr] warning: this lifetime isn't used in the function definition [INFO] [stderr] --> src/generated.rs:2576:20 [INFO] [stderr] | [INFO] [stderr] 2576 | fn deserialize<'a, T: Peek + Next>( [INFO] [stderr] | ^^ [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#extra_unused_lifetimes [INFO] [stderr] [INFO] [stderr] warning: this lifetime isn't used in the function definition [INFO] [stderr] --> src/generated.rs:2679:20 [INFO] [stderr] | [INFO] [stderr] 2679 | fn deserialize<'a, T: Peek + Next>( [INFO] [stderr] | ^^ [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#extra_unused_lifetimes [INFO] [stderr] [INFO] [stderr] warning: this lifetime isn't used in the function definition [INFO] [stderr] --> src/generated.rs:2693:20 [INFO] [stderr] | [INFO] [stderr] 2693 | fn deserialize<'a, T: Peek + Next>( [INFO] [stderr] | ^^ [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#extra_unused_lifetimes [INFO] [stderr] [INFO] [stderr] warning: this lifetime isn't used in the function definition [INFO] [stderr] --> src/generated.rs:2707:20 [INFO] [stderr] | [INFO] [stderr] 2707 | fn deserialize<'a, T: Peek + Next>( [INFO] [stderr] | ^^ [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#extra_unused_lifetimes [INFO] [stderr] [INFO] [stderr] warning: this lifetime isn't used in the function definition [INFO] [stderr] --> src/generated.rs:2752:20 [INFO] [stderr] | [INFO] [stderr] 2752 | fn deserialize<'a, T: Peek + Next>( [INFO] [stderr] | ^^ [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#extra_unused_lifetimes [INFO] [stderr] [INFO] [stderr] warning: this lifetime isn't used in the function definition [INFO] [stderr] --> src/generated.rs:2792:20 [INFO] [stderr] | [INFO] [stderr] 2792 | fn deserialize<'a, T: Peek + Next>( [INFO] [stderr] | ^^ [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#extra_unused_lifetimes [INFO] [stderr] [INFO] [stderr] warning: this lifetime isn't used in the function definition [INFO] [stderr] --> src/generated.rs:2806:20 [INFO] [stderr] | [INFO] [stderr] 2806 | fn deserialize<'a, T: Peek + Next>( [INFO] [stderr] | ^^ [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#extra_unused_lifetimes [INFO] [stderr] [INFO] [stderr] warning: this lifetime isn't used in the function definition [INFO] [stderr] --> src/generated.rs:2820:20 [INFO] [stderr] | [INFO] [stderr] 2820 | fn deserialize<'a, T: Peek + Next>( [INFO] [stderr] | ^^ [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#extra_unused_lifetimes [INFO] [stderr] [INFO] [stderr] warning: this lifetime isn't used in the function definition [INFO] [stderr] --> src/generated.rs:2868:20 [INFO] [stderr] | [INFO] [stderr] 2868 | fn deserialize<'a, T: Peek + Next>( [INFO] [stderr] | ^^ [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#extra_unused_lifetimes [INFO] [stderr] [INFO] [stderr] warning: this lifetime isn't used in the function definition [INFO] [stderr] --> src/generated.rs:3068:20 [INFO] [stderr] | [INFO] [stderr] 3068 | fn deserialize<'a, T: Peek + Next>( [INFO] [stderr] | ^^ [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#extra_unused_lifetimes [INFO] [stderr] [INFO] [stderr] warning: writing `&Vec<_>` instead of `&[_]` involves one more reference and cannot be used with non-Vec-based slices. [INFO] [stderr] --> src/generated.rs:3109:56 [INFO] [stderr] | [INFO] [stderr] 3109 | fn serialize(params: &mut Params, name: &str, obj: &Vec) { [INFO] [stderr] | ^^^^^^^^^^^^ help: change this to: `&[String]` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#ptr_arg [INFO] [stderr] [INFO] [stderr] warning: this lifetime isn't used in the function definition [INFO] [stderr] --> src/generated.rs:3120:20 [INFO] [stderr] | [INFO] [stderr] 3120 | fn deserialize<'a, T: Peek + Next>( [INFO] [stderr] | ^^ [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#extra_unused_lifetimes [INFO] [stderr] [INFO] [stderr] warning: this lifetime isn't used in the function definition [INFO] [stderr] --> src/generated.rs:3164:20 [INFO] [stderr] | [INFO] [stderr] 3164 | fn deserialize<'a, T: Peek + Next>( [INFO] [stderr] | ^^ [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#extra_unused_lifetimes [INFO] [stderr] [INFO] [stderr] warning: this lifetime isn't used in the function definition [INFO] [stderr] --> src/generated.rs:3178:20 [INFO] [stderr] | [INFO] [stderr] 3178 | fn deserialize<'a, T: Peek + Next>( [INFO] [stderr] | ^^ [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#extra_unused_lifetimes [INFO] [stderr] [INFO] [stderr] warning: this lifetime isn't used in the function definition [INFO] [stderr] --> src/generated.rs:3192:20 [INFO] [stderr] | [INFO] [stderr] 3192 | fn deserialize<'a, T: Peek + Next>( [INFO] [stderr] | ^^ [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#extra_unused_lifetimes [INFO] [stderr] [INFO] [stderr] warning: this lifetime isn't used in the function definition [INFO] [stderr] --> src/generated.rs:3206:20 [INFO] [stderr] | [INFO] [stderr] 3206 | fn deserialize<'a, T: Peek + Next>( [INFO] [stderr] | ^^ [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#extra_unused_lifetimes [INFO] [stderr] [INFO] [stderr] warning: this lifetime isn't used in the function definition [INFO] [stderr] --> src/generated.rs:3220:20 [INFO] [stderr] | [INFO] [stderr] 3220 | fn deserialize<'a, T: Peek + Next>( [INFO] [stderr] | ^^ [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#extra_unused_lifetimes [INFO] [stderr] [INFO] [stderr] warning: this lifetime isn't used in the function definition [INFO] [stderr] --> src/generated.rs:3234:20 [INFO] [stderr] | [INFO] [stderr] 3234 | fn deserialize<'a, T: Peek + Next>( [INFO] [stderr] | ^^ [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#extra_unused_lifetimes [INFO] [stderr] [INFO] [stderr] warning: writing `&Vec<_>` instead of `&[_]` involves one more reference and cannot be used with non-Vec-based slices. [INFO] [stderr] --> src/generated.rs:3286:56 [INFO] [stderr] | [INFO] [stderr] 3286 | fn serialize(params: &mut Params, name: &str, obj: &Vec) { [INFO] [stderr] | ^^^^^^^^^^^^ help: change this to: `&[String]` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#ptr_arg [INFO] [stderr] [INFO] [stderr] warning: this lifetime isn't used in the function definition [INFO] [stderr] --> src/generated.rs:3297:20 [INFO] [stderr] | [INFO] [stderr] 3297 | fn deserialize<'a, T: Peek + Next>( [INFO] [stderr] | ^^ [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#extra_unused_lifetimes [INFO] [stderr] [INFO] [stderr] warning: this lifetime isn't used in the function definition [INFO] [stderr] --> src/generated.rs:3311:20 [INFO] [stderr] | [INFO] [stderr] 3311 | fn deserialize<'a, T: Peek + Next>( [INFO] [stderr] | ^^ [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#extra_unused_lifetimes [INFO] [stderr] [INFO] [stderr] warning: this lifetime isn't used in the function definition [INFO] [stderr] --> src/generated.rs:3325:20 [INFO] [stderr] | [INFO] [stderr] 3325 | fn deserialize<'a, T: Peek + Next>( [INFO] [stderr] | ^^ [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#extra_unused_lifetimes [INFO] [stderr] [INFO] [stderr] warning: this lifetime isn't used in the function definition [INFO] [stderr] --> src/generated.rs:3339:20 [INFO] [stderr] | [INFO] [stderr] 3339 | fn deserialize<'a, T: Peek + Next>( [INFO] [stderr] | ^^ [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#extra_unused_lifetimes [INFO] [stderr] [INFO] [stderr] warning: this lifetime isn't used in the function definition [INFO] [stderr] --> src/generated.rs:3379:20 [INFO] [stderr] | [INFO] [stderr] 3379 | fn deserialize<'a, T: Peek + Next>( [INFO] [stderr] | ^^ [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#extra_unused_lifetimes [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/generated.rs:3414:17 [INFO] [stderr] | [INFO] [stderr] 3414 | / match &parsed_error.code[..] { [INFO] [stderr] 3415 | | "ResourceNotFound" => { [INFO] [stderr] 3416 | | return DeleteAlarmsError::ResourceNotFound(String::from( [INFO] [stderr] 3417 | | parsed_error.message, [INFO] [stderr] ... | [INFO] [stderr] 3420 | | _ => {} [INFO] [stderr] 3421 | | } [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] 3414 | if let "ResourceNotFound" = &parsed_error.code[..] { [INFO] [stderr] 3415 | return DeleteAlarmsError::ResourceNotFound(String::from( [INFO] [stderr] 3416 | parsed_error.message, [INFO] [stderr] 3417 | )) [INFO] [stderr] 3418 | } [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: identical conversion [INFO] [stderr] --> src/generated.rs:3416:68 [INFO] [stderr] | [INFO] [stderr] 3416 | return DeleteAlarmsError::ResourceNotFound(String::from( [INFO] [stderr] | ____________________________________________________________________^ [INFO] [stderr] 3417 | | parsed_error.message, [INFO] [stderr] 3418 | | )) [INFO] [stderr] | |_________________________^ help: consider removing `String::from()`: `parsed_error.message` [INFO] [stderr] | [INFO] [stderr] = note: #[warn(clippy::identity_conversion)] on by default [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#identity_conversion [INFO] [stderr] [INFO] [stderr] warning: identical conversion [INFO] [stderr] --> src/generated.rs:3504:78 [INFO] [stderr] | [INFO] [stderr] 3504 | return DeleteDashboardsError::DashboardNotFoundError(String::from( [INFO] [stderr] | ______________________________________________________________________________^ [INFO] [stderr] 3505 | | parsed_error.message, [INFO] [stderr] 3506 | | )) [INFO] [stderr] | |_________________________^ help: consider removing `String::from()`: `parsed_error.message` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#identity_conversion [INFO] [stderr] [INFO] [stderr] warning: identical conversion [INFO] [stderr] --> src/generated.rs:3509:76 [INFO] [stderr] | [INFO] [stderr] 3509 | return DeleteDashboardsError::InternalServiceFault(String::from( [INFO] [stderr] | ____________________________________________________________________________^ [INFO] [stderr] 3510 | | parsed_error.message, [INFO] [stderr] 3511 | | )) [INFO] [stderr] | |_________________________^ help: consider removing `String::from()`: `parsed_error.message` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#identity_conversion [INFO] [stderr] [INFO] [stderr] warning: identical conversion [INFO] [stderr] --> src/generated.rs:3514:77 [INFO] [stderr] | [INFO] [stderr] 3514 | return DeleteDashboardsError::InvalidParameterValue(String::from( [INFO] [stderr] | _____________________________________________________________________________^ [INFO] [stderr] 3515 | | parsed_error.message, [INFO] [stderr] 3516 | | )) [INFO] [stderr] | |_________________________^ help: consider removing `String::from()`: `parsed_error.message` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#identity_conversion [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/generated.rs:3598:17 [INFO] [stderr] | [INFO] [stderr] 3598 | / match &parsed_error.code[..] { [INFO] [stderr] 3599 | | "InvalidNextToken" => { [INFO] [stderr] 3600 | | return DescribeAlarmHistoryError::InvalidNextToken(String::from( [INFO] [stderr] 3601 | | parsed_error.message, [INFO] [stderr] ... | [INFO] [stderr] 3604 | | _ => {} [INFO] [stderr] 3605 | | } [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] 3598 | if let "InvalidNextToken" = &parsed_error.code[..] { [INFO] [stderr] 3599 | return DescribeAlarmHistoryError::InvalidNextToken(String::from( [INFO] [stderr] 3600 | parsed_error.message, [INFO] [stderr] 3601 | )) [INFO] [stderr] 3602 | } [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: identical conversion [INFO] [stderr] --> src/generated.rs:3600:76 [INFO] [stderr] | [INFO] [stderr] 3600 | return DescribeAlarmHistoryError::InvalidNextToken(String::from( [INFO] [stderr] | ____________________________________________________________________________^ [INFO] [stderr] 3601 | | parsed_error.message, [INFO] [stderr] 3602 | | )) [INFO] [stderr] | |_________________________^ help: consider removing `String::from()`: `parsed_error.message` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#identity_conversion [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/generated.rs:3684:17 [INFO] [stderr] | [INFO] [stderr] 3684 | / match &parsed_error.code[..] { [INFO] [stderr] 3685 | | "InvalidNextToken" => { [INFO] [stderr] 3686 | | return DescribeAlarmsError::InvalidNextToken(String::from( [INFO] [stderr] 3687 | | parsed_error.message, [INFO] [stderr] ... | [INFO] [stderr] 3690 | | _ => {} [INFO] [stderr] 3691 | | } [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] 3684 | if let "InvalidNextToken" = &parsed_error.code[..] { [INFO] [stderr] 3685 | return DescribeAlarmsError::InvalidNextToken(String::from( [INFO] [stderr] 3686 | parsed_error.message, [INFO] [stderr] 3687 | )) [INFO] [stderr] 3688 | } [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: identical conversion [INFO] [stderr] --> src/generated.rs:3686:70 [INFO] [stderr] | [INFO] [stderr] 3686 | return DescribeAlarmsError::InvalidNextToken(String::from( [INFO] [stderr] | ______________________________________________________________________^ [INFO] [stderr] 3687 | | parsed_error.message, [INFO] [stderr] 3688 | | )) [INFO] [stderr] | |_________________________^ help: consider removing `String::from()`: `parsed_error.message` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#identity_conversion [INFO] [stderr] [INFO] [stderr] warning: identical conversion [INFO] [stderr] --> src/generated.rs:4008:74 [INFO] [stderr] | [INFO] [stderr] 4008 | return GetDashboardError::DashboardNotFoundError(String::from( [INFO] [stderr] | __________________________________________________________________________^ [INFO] [stderr] 4009 | | parsed_error.message, [INFO] [stderr] 4010 | | )) [INFO] [stderr] | |_________________________^ help: consider removing `String::from()`: `parsed_error.message` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#identity_conversion [INFO] [stderr] [INFO] [stderr] warning: identical conversion [INFO] [stderr] --> src/generated.rs:4013:72 [INFO] [stderr] | [INFO] [stderr] 4013 | return GetDashboardError::InternalServiceFault(String::from( [INFO] [stderr] | ________________________________________________________________________^ [INFO] [stderr] 4014 | | parsed_error.message, [INFO] [stderr] 4015 | | )) [INFO] [stderr] | |_________________________^ help: consider removing `String::from()`: `parsed_error.message` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#identity_conversion [INFO] [stderr] [INFO] [stderr] warning: identical conversion [INFO] [stderr] --> src/generated.rs:4018:73 [INFO] [stderr] | [INFO] [stderr] 4018 | return GetDashboardError::InvalidParameterValue(String::from( [INFO] [stderr] | _________________________________________________________________________^ [INFO] [stderr] 4019 | | parsed_error.message, [INFO] [stderr] 4020 | | )) [INFO] [stderr] | |_________________________^ help: consider removing `String::from()`: `parsed_error.message` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#identity_conversion [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/generated.rs:4102:17 [INFO] [stderr] | [INFO] [stderr] 4102 | / match &parsed_error.code[..] { [INFO] [stderr] 4103 | | "InvalidNextToken" => { [INFO] [stderr] 4104 | | return GetMetricDataError::InvalidNextToken(String::from( [INFO] [stderr] 4105 | | parsed_error.message, [INFO] [stderr] ... | [INFO] [stderr] 4108 | | _ => {} [INFO] [stderr] 4109 | | } [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] 4102 | if let "InvalidNextToken" = &parsed_error.code[..] { [INFO] [stderr] 4103 | return GetMetricDataError::InvalidNextToken(String::from( [INFO] [stderr] 4104 | parsed_error.message, [INFO] [stderr] 4105 | )) [INFO] [stderr] 4106 | } [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: identical conversion [INFO] [stderr] --> src/generated.rs:4104:69 [INFO] [stderr] | [INFO] [stderr] 4104 | return GetMetricDataError::InvalidNextToken(String::from( [INFO] [stderr] | _____________________________________________________________________^ [INFO] [stderr] 4105 | | parsed_error.message, [INFO] [stderr] 4106 | | )) [INFO] [stderr] | |_________________________^ help: consider removing `String::from()`: `parsed_error.message` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#identity_conversion [INFO] [stderr] [INFO] [stderr] warning: identical conversion [INFO] [stderr] --> src/generated.rs:4194:79 [INFO] [stderr] | [INFO] [stderr] 4194 | return GetMetricStatisticsError::InternalServiceFault(String::from( [INFO] [stderr] | _______________________________________________________________________________^ [INFO] [stderr] 4195 | | parsed_error.message, [INFO] [stderr] 4196 | | )) [INFO] [stderr] | |_________________________^ help: consider removing `String::from()`: `parsed_error.message` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#identity_conversion [INFO] [stderr] [INFO] [stderr] warning: identical conversion [INFO] [stderr] --> src/generated.rs:4199:86 [INFO] [stderr] | [INFO] [stderr] 4199 | return GetMetricStatisticsError::InvalidParameterCombination(String::from( [INFO] [stderr] | ______________________________________________________________________________________^ [INFO] [stderr] 4200 | | parsed_error.message, [INFO] [stderr] 4201 | | )) [INFO] [stderr] | |_________________________^ help: consider removing `String::from()`: `parsed_error.message` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#identity_conversion [INFO] [stderr] [INFO] [stderr] warning: identical conversion [INFO] [stderr] --> src/generated.rs:4204:80 [INFO] [stderr] | [INFO] [stderr] 4204 | return GetMetricStatisticsError::InvalidParameterValue(String::from( [INFO] [stderr] | ________________________________________________________________________________^ [INFO] [stderr] 4205 | | parsed_error.message, [INFO] [stderr] 4206 | | )) [INFO] [stderr] | |_________________________^ help: consider removing `String::from()`: `parsed_error.message` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#identity_conversion [INFO] [stderr] [INFO] [stderr] warning: identical conversion [INFO] [stderr] --> src/generated.rs:4209:83 [INFO] [stderr] | [INFO] [stderr] 4209 | return GetMetricStatisticsError::MissingRequiredParameter(String::from( [INFO] [stderr] | ___________________________________________________________________________________^ [INFO] [stderr] 4210 | | parsed_error.message, [INFO] [stderr] 4211 | | )) [INFO] [stderr] | |_________________________^ help: consider removing `String::from()`: `parsed_error.message` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#identity_conversion [INFO] [stderr] [INFO] [stderr] warning: identical conversion [INFO] [stderr] --> src/generated.rs:4300:74 [INFO] [stderr] | [INFO] [stderr] 4300 | return ListDashboardsError::InternalServiceFault(String::from( [INFO] [stderr] | __________________________________________________________________________^ [INFO] [stderr] 4301 | | parsed_error.message, [INFO] [stderr] 4302 | | )) [INFO] [stderr] | |_________________________^ help: consider removing `String::from()`: `parsed_error.message` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#identity_conversion [INFO] [stderr] [INFO] [stderr] warning: identical conversion [INFO] [stderr] --> src/generated.rs:4305:75 [INFO] [stderr] | [INFO] [stderr] 4305 | return ListDashboardsError::InvalidParameterValue(String::from( [INFO] [stderr] | ___________________________________________________________________________^ [INFO] [stderr] 4306 | | parsed_error.message, [INFO] [stderr] 4307 | | )) [INFO] [stderr] | |_________________________^ help: consider removing `String::from()`: `parsed_error.message` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#identity_conversion [INFO] [stderr] [INFO] [stderr] warning: identical conversion [INFO] [stderr] --> src/generated.rs:4392:71 [INFO] [stderr] | [INFO] [stderr] 4392 | return ListMetricsError::InternalServiceFault(String::from( [INFO] [stderr] | _______________________________________________________________________^ [INFO] [stderr] 4393 | | parsed_error.message, [INFO] [stderr] 4394 | | )) [INFO] [stderr] | |_________________________^ help: consider removing `String::from()`: `parsed_error.message` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#identity_conversion [INFO] [stderr] [INFO] [stderr] warning: identical conversion [INFO] [stderr] --> src/generated.rs:4397:72 [INFO] [stderr] | [INFO] [stderr] 4397 | return ListMetricsError::InvalidParameterValue(String::from( [INFO] [stderr] | ________________________________________________________________________^ [INFO] [stderr] 4398 | | parsed_error.message, [INFO] [stderr] 4399 | | )) [INFO] [stderr] | |_________________________^ help: consider removing `String::from()`: `parsed_error.message` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#identity_conversion [INFO] [stderr] [INFO] [stderr] warning: identical conversion [INFO] [stderr] --> src/generated.rs:4484:78 [INFO] [stderr] | [INFO] [stderr] 4484 | return PutDashboardError::DashboardInvalidInputError(String::from( [INFO] [stderr] | ______________________________________________________________________________^ [INFO] [stderr] 4485 | | parsed_error.message, [INFO] [stderr] 4486 | | )) [INFO] [stderr] | |_________________________^ help: consider removing `String::from()`: `parsed_error.message` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#identity_conversion [INFO] [stderr] [INFO] [stderr] warning: identical conversion [INFO] [stderr] --> src/generated.rs:4489:72 [INFO] [stderr] | [INFO] [stderr] 4489 | return PutDashboardError::InternalServiceFault(String::from( [INFO] [stderr] | ________________________________________________________________________^ [INFO] [stderr] 4490 | | parsed_error.message, [INFO] [stderr] 4491 | | )) [INFO] [stderr] | |_________________________^ help: consider removing `String::from()`: `parsed_error.message` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#identity_conversion [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/generated.rs:4572:17 [INFO] [stderr] | [INFO] [stderr] 4572 | / match &parsed_error.code[..] { [INFO] [stderr] 4573 | | "LimitExceeded" => { [INFO] [stderr] 4574 | | return PutMetricAlarmError::LimitExceededFault(String::from( [INFO] [stderr] 4575 | | parsed_error.message, [INFO] [stderr] ... | [INFO] [stderr] 4578 | | _ => {} [INFO] [stderr] 4579 | | } [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] 4572 | if let "LimitExceeded" = &parsed_error.code[..] { [INFO] [stderr] 4573 | return PutMetricAlarmError::LimitExceededFault(String::from( [INFO] [stderr] 4574 | parsed_error.message, [INFO] [stderr] 4575 | )) [INFO] [stderr] 4576 | } [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: identical conversion [INFO] [stderr] --> src/generated.rs:4574:72 [INFO] [stderr] | [INFO] [stderr] 4574 | return PutMetricAlarmError::LimitExceededFault(String::from( [INFO] [stderr] | ________________________________________________________________________^ [INFO] [stderr] 4575 | | parsed_error.message, [INFO] [stderr] 4576 | | )) [INFO] [stderr] | |_________________________^ help: consider removing `String::from()`: `parsed_error.message` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#identity_conversion [INFO] [stderr] [INFO] [stderr] warning: identical conversion [INFO] [stderr] --> src/generated.rs:4664:73 [INFO] [stderr] | [INFO] [stderr] 4664 | return PutMetricDataError::InternalServiceFault(String::from( [INFO] [stderr] | _________________________________________________________________________^ [INFO] [stderr] 4665 | | parsed_error.message, [INFO] [stderr] 4666 | | )) [INFO] [stderr] | |_________________________^ help: consider removing `String::from()`: `parsed_error.message` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#identity_conversion [INFO] [stderr] [INFO] [stderr] warning: identical conversion [INFO] [stderr] --> src/generated.rs:4669:80 [INFO] [stderr] | [INFO] [stderr] 4669 | return PutMetricDataError::InvalidParameterCombination(String::from( [INFO] [stderr] | ________________________________________________________________________________^ [INFO] [stderr] 4670 | | parsed_error.message, [INFO] [stderr] 4671 | | )) [INFO] [stderr] | |_________________________^ help: consider removing `String::from()`: `parsed_error.message` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#identity_conversion [INFO] [stderr] [INFO] [stderr] warning: identical conversion [INFO] [stderr] --> src/generated.rs:4674:74 [INFO] [stderr] | [INFO] [stderr] 4674 | return PutMetricDataError::InvalidParameterValue(String::from( [INFO] [stderr] | __________________________________________________________________________^ [INFO] [stderr] 4675 | | parsed_error.message, [INFO] [stderr] 4676 | | )) [INFO] [stderr] | |_________________________^ help: consider removing `String::from()`: `parsed_error.message` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#identity_conversion [INFO] [stderr] [INFO] [stderr] warning: identical conversion [INFO] [stderr] --> src/generated.rs:4679:77 [INFO] [stderr] | [INFO] [stderr] 4679 | return PutMetricDataError::MissingRequiredParameter(String::from( [INFO] [stderr] | _____________________________________________________________________________^ [INFO] [stderr] 4680 | | parsed_error.message, [INFO] [stderr] 4681 | | )) [INFO] [stderr] | |_________________________^ help: consider removing `String::from()`: `parsed_error.message` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#identity_conversion [INFO] [stderr] [INFO] [stderr] warning: identical conversion [INFO] [stderr] --> src/generated.rs:4768:71 [INFO] [stderr] | [INFO] [stderr] 4768 | return SetAlarmStateError::InvalidFormatFault(String::from( [INFO] [stderr] | _______________________________________________________________________^ [INFO] [stderr] 4769 | | parsed_error.message, [INFO] [stderr] 4770 | | )) [INFO] [stderr] | |_________________________^ help: consider removing `String::from()`: `parsed_error.message` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#identity_conversion [INFO] [stderr] [INFO] [stderr] warning: identical conversion [INFO] [stderr] --> src/generated.rs:4773:69 [INFO] [stderr] | [INFO] [stderr] 4773 | return SetAlarmStateError::ResourceNotFound(String::from( [INFO] [stderr] | _____________________________________________________________________^ [INFO] [stderr] 4774 | | parsed_error.message, [INFO] [stderr] 4775 | | )) [INFO] [stderr] | |_________________________^ help: consider removing `String::from()`: `parsed_error.message` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#identity_conversion [INFO] [stderr] [INFO] [stderr] warning: passing a unit value to a function [INFO] [stderr] --> src/generated.rs:4978:33 [INFO] [stderr] | [INFO] [stderr] 4978 | Box::new(future::ok(::std::mem::drop(response))) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: #[warn(clippy::unit_arg)] on by default [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unit_arg [INFO] [stderr] help: if you intended to pass a unit value, use a unit literal instead [INFO] [stderr] | [INFO] [stderr] 4978 | Box::new(future::ok(())) [INFO] [stderr] | ^^ [INFO] [stderr] [INFO] [stderr] warning: passing a unit value to a function [INFO] [stderr] --> src/generated.rs:5215:33 [INFO] [stderr] | [INFO] [stderr] 5215 | Box::new(future::ok(::std::mem::drop(response))) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unit_arg [INFO] [stderr] help: if you intended to pass a unit value, use a unit literal instead [INFO] [stderr] | [INFO] [stderr] 5215 | Box::new(future::ok(())) [INFO] [stderr] | ^^ [INFO] [stderr] [INFO] [stderr] warning: passing a unit value to a function [INFO] [stderr] --> src/generated.rs:5245:33 [INFO] [stderr] | [INFO] [stderr] 5245 | Box::new(future::ok(::std::mem::drop(response))) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unit_arg [INFO] [stderr] help: if you intended to pass a unit value, use a unit literal instead [INFO] [stderr] | [INFO] [stderr] 5245 | Box::new(future::ok(())) [INFO] [stderr] | ^^ [INFO] [stderr] [INFO] [stderr] warning: passing a unit value to a function [INFO] [stderr] --> src/generated.rs:5592:33 [INFO] [stderr] | [INFO] [stderr] 5592 | Box::new(future::ok(::std::mem::drop(response))) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unit_arg [INFO] [stderr] help: if you intended to pass a unit value, use a unit literal instead [INFO] [stderr] | [INFO] [stderr] 5592 | Box::new(future::ok(())) [INFO] [stderr] | ^^ [INFO] [stderr] [INFO] [stderr] warning: passing a unit value to a function [INFO] [stderr] --> src/generated.rs:5619:33 [INFO] [stderr] | [INFO] [stderr] 5619 | Box::new(future::ok(::std::mem::drop(response))) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unit_arg [INFO] [stderr] help: if you intended to pass a unit value, use a unit literal instead [INFO] [stderr] | [INFO] [stderr] 5619 | Box::new(future::ok(())) [INFO] [stderr] | ^^ [INFO] [stderr] [INFO] [stderr] warning: passing a unit value to a function [INFO] [stderr] --> src/generated.rs:5646:33 [INFO] [stderr] | [INFO] [stderr] 5646 | Box::new(future::ok(::std::mem::drop(response))) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unit_arg [INFO] [stderr] help: if you intended to pass a unit value, use a unit literal instead [INFO] [stderr] | [INFO] [stderr] 5646 | Box::new(future::ok(())) [INFO] [stderr] | ^^ [INFO] [stderr] [INFO] [stderr] error: aborting due to previous error [INFO] [stderr] [INFO] [stderr] error: Could not compile `rusoto_cloudwatch`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "4523c96a5b307de38624e4926db69b935140aac0cb756b64ee9460aedf1d9e7e"` [INFO] running `"docker" "rm" "-f" "4523c96a5b307de38624e4926db69b935140aac0cb756b64ee9460aedf1d9e7e"` [INFO] [stdout] 4523c96a5b307de38624e4926db69b935140aac0cb756b64ee9460aedf1d9e7e