[INFO] fetching crate mz_rusoto_autoscaling 0.46.0... [INFO] linting mz_rusoto_autoscaling-0.46.0 against nightly for clippy-nonminimal_bool-denied [INFO] extracting crate mz_rusoto_autoscaling 0.46.0 into /workspace/builds/worker-5-tc1/source [INFO] started tweaking crates.io crate mz_rusoto_autoscaling 0.46.0 [INFO] finished tweaking crates.io crate mz_rusoto_autoscaling 0.46.0 [INFO] tweaked toml for crates.io crate mz_rusoto_autoscaling 0.46.0 written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate mz_rusoto_autoscaling 0.46.0 on toolchain nightly [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+nightly" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+nightly" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 246 packages to latest compatible versions [INFO] [stderr] Adding bytes v0.5.6 (available: v1.11.1) [INFO] [stderr] Adding serde_urlencoded v0.6.1 (available: v0.7.1) [INFO] [stderr] Adding subtle v2.4.1 (available: v2.6.1) [INFO] [stderr] Adding tokio v0.2.25 (available: v1.50.0) [INFO] [stderr] Adding xml-rs v0.8.28 (available: v1.0.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+nightly" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded mz_rusoto_signature v0.46.0 [INFO] [stderr] Downloaded crypto-mac v0.10.1 [INFO] [stderr] Downloaded mz_rusoto_mock v0.46.0 [INFO] [stderr] Downloaded hyper-rustls v0.20.0 [INFO] [stderr] Downloaded ct-logs v0.6.0 [INFO] [stderr] Downloaded rustls-native-certs v0.3.0 [INFO] [stderr] Downloaded mz_rusoto_credential v0.46.0 [INFO] [stderr] Downloaded tokio-rustls v0.13.1 [INFO] [stderr] Downloaded hmac v0.10.1 [INFO] [stderr] Downloaded mz_rusoto_core v0.46.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+nightly" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b72c9285c13ffaf820b8179b0451f328db0782f10e660494aa91fc41eb6b068d [INFO] running `Command { std: "docker" "start" "-a" "b72c9285c13ffaf820b8179b0451f328db0782f10e660494aa91fc41eb6b068d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b72c9285c13ffaf820b8179b0451f328db0782f10e660494aa91fc41eb6b068d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b72c9285c13ffaf820b8179b0451f328db0782f10e660494aa91fc41eb6b068d", kill_on_drop: false }` [INFO] [stdout] b72c9285c13ffaf820b8179b0451f328db0782f10e660494aa91fc41eb6b068d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+nightly" "clippy" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5ac6736088c96441b7a026e9f86950c56e920a4318f8bdcc6c89910e3380d23a [INFO] running `Command { std: "docker" "start" "-a" "5ac6736088c96441b7a026e9f86950c56e920a4318f8bdcc6c89910e3380d23a", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.183 [INFO] [stderr] Compiling generic-array v0.14.9 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling pin-project-internal v1.1.11 [INFO] [stderr] Compiling standback v0.2.17 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Checking futures-util v0.3.32 [INFO] [stderr] Checking tracing v0.1.44 [INFO] [stderr] Checking itoa v0.4.8 [INFO] [stderr] Checking http-body v0.3.1 [INFO] [stderr] Checking httpdate v0.3.2 [INFO] [stderr] Compiling const_fn v0.4.12 [INFO] [stderr] Compiling time v0.2.27 [INFO] [stderr] Checking subtle v2.4.1 [INFO] [stderr] Checking chrono v0.4.44 [INFO] [stderr] Checking serde_json v1.0.149 [INFO] [stderr] Checking shlex v0.1.1 [INFO] [stderr] Compiling mz_rusoto_core v0.46.0 [INFO] [stderr] Checking xml-rs v0.8.28 [INFO] [stderr] Checking url v2.5.8 [INFO] [stderr] Checking dtoa v0.4.8 [INFO] [stderr] Checking digest v0.9.0 [INFO] [stderr] Checking block-buffer v0.9.0 [INFO] [stderr] Checking crypto-mac v0.10.1 [INFO] [stderr] Checking sha2 v0.9.9 [INFO] [stderr] Checking hmac v0.10.1 [INFO] [stderr] Checking serde_urlencoded v0.6.1 [INFO] [stderr] Checking pin-project v1.1.11 [INFO] [stderr] Checking tracing-futures v0.2.5 [INFO] [stderr] Checking net2 v0.2.39 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Checking errno v0.3.14 [INFO] [stderr] Checking socket2 v0.3.19 [INFO] [stderr] Checking openssl-sys v0.9.112 [INFO] [stderr] Checking dirs-sys-next v0.1.2 [INFO] [stderr] Checking dirs-next v2.0.0 [INFO] [stderr] Checking signal-hook-registry v1.4.8 [INFO] [stderr] Checking mio v0.6.23 [INFO] [stderr] Checking mio-uds v0.6.8 [INFO] [stderr] Checking openssl v0.10.76 [INFO] [stderr] Checking futures-executor v0.3.32 [INFO] [stderr] Compiling tokio-macros v0.2.6 [INFO] [stderr] Compiling time-macros-impl v0.1.2 [INFO] [stderr] Checking futures v0.3.32 [INFO] [stderr] Checking tokio v0.2.25 [INFO] [stderr] Checking time-macros v0.1.1 [INFO] [stderr] Checking native-tls v0.2.18 [INFO] [stderr] Checking tokio-util v0.3.1 [INFO] [stderr] Checking tokio-tls v0.3.1 [INFO] [stderr] Checking h2 v0.2.7 [INFO] [stderr] Checking hyper v0.13.10 [INFO] [stderr] Checking mz_rusoto_credential v0.46.0 [INFO] [stderr] Checking hyper-tls v0.4.3 [INFO] [stderr] Checking mz_rusoto_signature v0.46.0 [INFO] [stderr] Checking mz_rusoto_mock v0.46.0 [INFO] [stderr] Checking mz_rusoto_autoscaling v0.46.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: this import is redundant [INFO] [stdout] --> src/generated.rs:34:1 [INFO] [stdout] | [INFO] [stdout] 34 | use serde_urlencoded; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: remove it entirely [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#single_component_path_imports [INFO] [stdout] = note: `#[warn(clippy::single_component_path_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `custom::*` [INFO] [stdout] --> src/lib.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 21 | pub use custom::*; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this import is redundant [INFO] [stdout] --> src/generated.rs:34:1 [INFO] [stdout] | [INFO] [stdout] 34 | use serde_urlencoded; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: remove it entirely [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#single_component_path_imports [INFO] [stdout] = note: `#[warn(clippy::single_component_path_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `custom::*` [INFO] [stdout] --> src/lib.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 21 | pub use custom::*; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: writing `&Vec` instead of `&[_]` involves a new object where a slice will do [INFO] [stdout] --> src/generated.rs:195:56 [INFO] [stdout] | [INFO] [stdout] 195 | fn serialize(params: &mut Params, name: &str, obj: &Vec) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#ptr_arg [INFO] [stdout] = note: `#[warn(clippy::ptr_arg)]` on by default [INFO] [stdout] help: change this to [INFO] [stdout] | [INFO] [stdout] 195 - fn serialize(params: &mut Params, name: &str, obj: &Vec) { [INFO] [stdout] 195 + fn serialize(params: &mut Params, name: &str, obj: &[String]) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the borrowed expression implements the required traits [INFO] [stdout] --> src/generated.rs:198:30 [INFO] [stdout] | [INFO] [stdout] 198 | params.put(&key, &obj); [INFO] [stdout] | ^^^^ help: change this to: `obj` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args [INFO] [stdout] = note: `#[warn(clippy::needless_borrows_for_generic_args)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: comparison to empty slice [INFO] [stdout] --> src/generated.rs:357:12 [INFO] [stdout] | [INFO] [stdout] 357 | if prefix != "" { [INFO] [stdout] | ^^^^^^^^^^^^ help: using `!is_empty` is clearer and more explicit: `!prefix.is_empty()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#comparison_to_empty [INFO] [stdout] = note: `#[warn(clippy::comparison_to_empty)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calling `push_str()` using a single-character string literal [INFO] [stdout] --> src/generated.rs:358:13 [INFO] [stdout] | [INFO] [stdout] 358 | prefix.push_str("."); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: consider using `push` with a character literal: `prefix.push('.')` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#single_char_add_str [INFO] [stdout] = note: `#[warn(clippy::single_char_add_str)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: comparison to empty slice [INFO] [stdout] --> src/generated.rs:410:12 [INFO] [stdout] | [INFO] [stdout] 410 | if prefix != "" { [INFO] [stdout] | ^^^^^^^^^^^^ help: using `!is_empty` is clearer and more explicit: `!prefix.is_empty()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#comparison_to_empty [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calling `push_str()` using a single-character string literal [INFO] [stdout] --> src/generated.rs:411:13 [INFO] [stdout] | [INFO] [stdout] 411 | prefix.push_str("."); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: consider using `push` with a character literal: `prefix.push('.')` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#single_char_add_str [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: comparison to empty slice [INFO] [stdout] --> src/generated.rs:461:12 [INFO] [stdout] | [INFO] [stdout] 461 | if prefix != "" { [INFO] [stdout] | ^^^^^^^^^^^^ help: using `!is_empty` is clearer and more explicit: `!prefix.is_empty()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#comparison_to_empty [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calling `push_str()` using a single-character string literal [INFO] [stdout] --> src/generated.rs:462:13 [INFO] [stdout] | [INFO] [stdout] 462 | prefix.push_str("."); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: consider using `push` with a character literal: `prefix.push('.')` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#single_char_add_str [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: writing `&Vec` instead of `&[_]` involves a new object where a slice will do [INFO] [stdout] --> src/generated.rs:722:56 [INFO] [stdout] | [INFO] [stdout] 722 | fn serialize(params: &mut Params, name: &str, obj: &Vec) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#ptr_arg [INFO] [stdout] help: change this to [INFO] [stdout] | [INFO] [stdout] 722 - fn serialize(params: &mut Params, name: &str, obj: &Vec) { [INFO] [stdout] 722 + fn serialize(params: &mut Params, name: &str, obj: &[String]) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the borrowed expression implements the required traits [INFO] [stdout] --> src/generated.rs:725:30 [INFO] [stdout] | [INFO] [stdout] 725 | params.put(&key, &obj); [INFO] [stdout] | ^^^^ help: change this to: `obj` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: comparison to empty slice [INFO] [stdout] --> src/generated.rs:746:12 [INFO] [stdout] | [INFO] [stdout] 746 | if prefix != "" { [INFO] [stdout] | ^^^^^^^^^^^^ help: using `!is_empty` is clearer and more explicit: `!prefix.is_empty()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#comparison_to_empty [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calling `push_str()` using a single-character string literal [INFO] [stdout] --> src/generated.rs:747:13 [INFO] [stdout] | [INFO] [stdout] 747 | prefix.push_str("."); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: consider using `push` with a character literal: `prefix.push('.')` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#single_char_add_str [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the borrowed expression implements the required traits [INFO] [stdout] --> src/generated.rs:758:64 [INFO] [stdout] | [INFO] [stdout] 758 | params.put(&format!("{}{}", prefix, "MaxRecords"), &field_value); [INFO] [stdout] | ^^^^^^^^^^^^ help: change this to: `field_value` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the borrowed expression implements the required traits [INFO] [stdout] --> src/generated.rs:761:63 [INFO] [stdout] | [INFO] [stdout] 761 | params.put(&format!("{}{}", prefix, "NextToken"), &field_value); [INFO] [stdout] | ^^^^^^^^^^^^ help: change this to: `field_value` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: writing `&Vec` instead of `&[_]` involves a new object where a slice will do [INFO] [stdout] --> src/generated.rs:1004:56 [INFO] [stdout] | [INFO] [stdout] 1004 | fn serialize(params: &mut Params, name: &str, obj: &Vec) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#ptr_arg [INFO] [stdout] help: change this to [INFO] [stdout] | [INFO] [stdout] 1004 - fn serialize(params: &mut Params, name: &str, obj: &Vec) { [INFO] [stdout] 1004 + fn serialize(params: &mut Params, name: &str, obj: &[String]) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the borrowed expression implements the required traits [INFO] [stdout] --> src/generated.rs:1007:30 [INFO] [stdout] | [INFO] [stdout] 1007 | params.put(&key, &obj); [INFO] [stdout] | ^^^^ help: change this to: `obj` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: writing `&Vec` instead of `&[_]` involves a new object where a slice will do [INFO] [stdout] --> src/generated.rs:1036:56 [INFO] [stdout] | [INFO] [stdout] 1036 | fn serialize(params: &mut Params, name: &str, obj: &Vec) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#ptr_arg [INFO] [stdout] help: change this to [INFO] [stdout] | [INFO] [stdout] 1036 - fn serialize(params: &mut Params, name: &str, obj: &Vec) { [INFO] [stdout] 1036 + fn serialize(params: &mut Params, name: &str, obj: &[String]) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the borrowed expression implements the required traits [INFO] [stdout] --> src/generated.rs:1039:30 [INFO] [stdout] | [INFO] [stdout] 1039 | params.put(&key, &obj); [INFO] [stdout] | ^^^^ help: change this to: `obj` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: comparison to empty slice [INFO] [stdout] --> src/generated.rs:1093:12 [INFO] [stdout] | [INFO] [stdout] 1093 | if prefix != "" { [INFO] [stdout] | ^^^^^^^^^^^^ help: using `!is_empty` is clearer and more explicit: `!prefix.is_empty()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#comparison_to_empty [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calling `push_str()` using a single-character string literal [INFO] [stdout] --> src/generated.rs:1094:13 [INFO] [stdout] | [INFO] [stdout] 1094 | prefix.push_str("."); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: consider using `push` with a character literal: `prefix.push('.')` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#single_char_add_str [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: comparison to empty slice [INFO] [stdout] --> src/generated.rs:1160:12 [INFO] [stdout] | [INFO] [stdout] 1160 | if prefix != "" { [INFO] [stdout] | ^^^^^^^^^^^^ help: using `!is_empty` is clearer and more explicit: `!prefix.is_empty()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#comparison_to_empty [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calling `push_str()` using a single-character string literal [INFO] [stdout] --> src/generated.rs:1161:13 [INFO] [stdout] | [INFO] [stdout] 1161 | prefix.push_str("."); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: consider using `push` with a character literal: `prefix.push('.')` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#single_char_add_str [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: comparison to empty slice [INFO] [stdout] --> src/generated.rs:1269:12 [INFO] [stdout] | [INFO] [stdout] 1269 | if prefix != "" { [INFO] [stdout] | ^^^^^^^^^^^^ help: using `!is_empty` is clearer and more explicit: `!prefix.is_empty()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#comparison_to_empty [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calling `push_str()` using a single-character string literal [INFO] [stdout] --> src/generated.rs:1270:13 [INFO] [stdout] | [INFO] [stdout] 1270 | prefix.push_str("."); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: consider using `push` with a character literal: `prefix.push('.')` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#single_char_add_str [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the borrowed expression implements the required traits [INFO] [stdout] --> src/generated.rs:1278:62 [INFO] [stdout] | [INFO] [stdout] 1278 | params.put(&format!("{}{}", prefix, "NoDevice"), &field_value); [INFO] [stdout] | ^^^^^^^^^^^^ help: change this to: `field_value` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the borrowed expression implements the required traits [INFO] [stdout] --> src/generated.rs:1281:65 [INFO] [stdout] | [INFO] [stdout] 1281 | params.put(&format!("{}{}", prefix, "VirtualName"), &field_value); [INFO] [stdout] | ^^^^^^^^^^^^ help: change this to: `field_value` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: writing `&Vec` instead of `&[_]` involves a new object where a slice will do [INFO] [stdout] --> src/generated.rs:1310:56 [INFO] [stdout] | [INFO] [stdout] 1310 | fn serialize(params: &mut Params, name: &str, obj: &Vec) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#ptr_arg [INFO] [stdout] help: change this to [INFO] [stdout] | [INFO] [stdout] 1310 - fn serialize(params: &mut Params, name: &str, obj: &Vec) { [INFO] [stdout] 1310 + fn serialize(params: &mut Params, name: &str, obj: &[BlockDeviceMapping]) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: comparison to empty slice [INFO] [stdout] --> src/generated.rs:1364:12 [INFO] [stdout] | [INFO] [stdout] 1364 | if prefix != "" { [INFO] [stdout] | ^^^^^^^^^^^^ help: using `!is_empty` is clearer and more explicit: `!prefix.is_empty()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#comparison_to_empty [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calling `push_str()` using a single-character string literal [INFO] [stdout] --> src/generated.rs:1365:13 [INFO] [stdout] | [INFO] [stdout] 1365 | prefix.push_str("."); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: consider using `push` with a character literal: `prefix.push('.')` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#single_char_add_str [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: writing `&Vec` instead of `&[_]` involves a new object where a slice will do [INFO] [stdout] --> src/generated.rs:1399:56 [INFO] [stdout] | [INFO] [stdout] 1399 | fn serialize(params: &mut Params, name: &str, obj: &Vec) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#ptr_arg [INFO] [stdout] help: change this to [INFO] [stdout] | [INFO] [stdout] 1399 - fn serialize(params: &mut Params, name: &str, obj: &Vec) { [INFO] [stdout] 1399 + fn serialize(params: &mut Params, name: &str, obj: &[String]) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the borrowed expression implements the required traits [INFO] [stdout] --> src/generated.rs:1402:30 [INFO] [stdout] | [INFO] [stdout] 1402 | params.put(&key, &obj); [INFO] [stdout] | ^^^^ help: change this to: `obj` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: comparison to empty slice [INFO] [stdout] --> src/generated.rs:1448:12 [INFO] [stdout] | [INFO] [stdout] 1448 | if prefix != "" { [INFO] [stdout] | ^^^^^^^^^^^^ help: using `!is_empty` is clearer and more explicit: `!prefix.is_empty()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#comparison_to_empty [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calling `push_str()` using a single-character string literal [INFO] [stdout] --> src/generated.rs:1449:13 [INFO] [stdout] | [INFO] [stdout] 1449 | prefix.push_str("."); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: consider using `push` with a character literal: `prefix.push('.')` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#single_char_add_str [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the borrowed expression implements the required traits [INFO] [stdout] --> src/generated.rs:1457:64 [INFO] [stdout] | [INFO] [stdout] 1457 | params.put(&format!("{}{}", prefix, "InstanceId"), &field_value); [INFO] [stdout] | ^^^^^^^^^^^^ help: change this to: `field_value` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the borrowed expression implements the required traits [INFO] [stdout] --> src/generated.rs:1466:17 [INFO] [stdout] | [INFO] [stdout] 1466 | &field_value, [INFO] [stdout] | ^^^^^^^^^^^^ help: change this to: `field_value` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: comparison to empty slice [INFO] [stdout] --> src/generated.rs:1538:12 [INFO] [stdout] | [INFO] [stdout] 1538 | if prefix != "" { [INFO] [stdout] | ^^^^^^^^^^^^ help: using `!is_empty` is clearer and more explicit: `!prefix.is_empty()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#comparison_to_empty [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calling `push_str()` using a single-character string literal [INFO] [stdout] --> src/generated.rs:1539:13 [INFO] [stdout] | [INFO] [stdout] 1539 | prefix.push_str("."); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: consider using `push` with a character literal: `prefix.push('.')` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#single_char_add_str [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the borrowed expression implements the required traits [INFO] [stdout] --> src/generated.rs:1554:69 [INFO] [stdout] | [INFO] [stdout] 1554 | params.put(&format!("{}{}", prefix, "DefaultCooldown"), &field_value); [INFO] [stdout] | ^^^^^^^^^^^^ help: change this to: `field_value` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the borrowed expression implements the required traits [INFO] [stdout] --> src/generated.rs:1557:69 [INFO] [stdout] | [INFO] [stdout] 1557 | params.put(&format!("{}{}", prefix, "DesiredCapacity"), &field_value); [INFO] [stdout] | ^^^^^^^^^^^^ help: change this to: `field_value` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the borrowed expression implements the required traits [INFO] [stdout] --> src/generated.rs:1562:17 [INFO] [stdout] | [INFO] [stdout] 1562 | &field_value, [INFO] [stdout] | ^^^^^^^^^^^^ help: change this to: `field_value` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the borrowed expression implements the required traits [INFO] [stdout] --> src/generated.rs:1566:69 [INFO] [stdout] | [INFO] [stdout] 1566 | params.put(&format!("{}{}", prefix, "HealthCheckType"), &field_value); [INFO] [stdout] | ^^^^^^^^^^^^ help: change this to: `field_value` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the borrowed expression implements the required traits [INFO] [stdout] --> src/generated.rs:1569:64 [INFO] [stdout] | [INFO] [stdout] 1569 | params.put(&format!("{}{}", prefix, "InstanceId"), &field_value); [INFO] [stdout] | ^^^^^^^^^^^^ help: change this to: `field_value` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the borrowed expression implements the required traits [INFO] [stdout] --> src/generated.rs:1574:17 [INFO] [stdout] | [INFO] [stdout] 1574 | &field_value, [INFO] [stdout] | ^^^^^^^^^^^^ help: change this to: `field_value` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the borrowed expression implements the required traits [INFO] [stdout] --> src/generated.rs:1601:17 [INFO] [stdout] | [INFO] [stdout] 1601 | &field_value, [INFO] [stdout] | ^^^^^^^^^^^^ help: change this to: `field_value` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the borrowed expression implements the required traits [INFO] [stdout] --> src/generated.rs:1604:57 [INFO] [stdout] | [INFO] [stdout] 1604 | params.put(&format!("{}{}", prefix, "MaxSize"), &obj.max_size); [INFO] [stdout] | ^^^^^^^^^^^^^ help: change this to: `obj.max_size` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the borrowed expression implements the required traits [INFO] [stdout] --> src/generated.rs:1605:57 [INFO] [stdout] | [INFO] [stdout] 1605 | params.put(&format!("{}{}", prefix, "MinSize"), &obj.min_size); [INFO] [stdout] | ^^^^^^^^^^^^^ help: change this to: `obj.min_size` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the borrowed expression implements the required traits [INFO] [stdout] --> src/generated.rs:1616:17 [INFO] [stdout] | [INFO] [stdout] 1616 | &field_value, [INFO] [stdout] | ^^^^^^^^^^^^ help: change this to: `field_value` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the borrowed expression implements the required traits [INFO] [stdout] --> src/generated.rs:1620:68 [INFO] [stdout] | [INFO] [stdout] 1620 | params.put(&format!("{}{}", prefix, "PlacementGroup"), &field_value); [INFO] [stdout] | ^^^^^^^^^^^^ help: change this to: `field_value` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the borrowed expression implements the required traits [INFO] [stdout] --> src/generated.rs:1625:17 [INFO] [stdout] | [INFO] [stdout] 1625 | &field_value, [INFO] [stdout] | ^^^^^^^^^^^^ help: change this to: `field_value` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the borrowed expression implements the required traits [INFO] [stdout] --> src/generated.rs:1646:71 [INFO] [stdout] | [INFO] [stdout] 1646 | params.put(&format!("{}{}", prefix, "VPCZoneIdentifier"), &field_value); [INFO] [stdout] | ^^^^^^^^^^^^ help: change this to: `field_value` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: comparison to empty slice [INFO] [stdout] --> src/generated.rs:1697:12 [INFO] [stdout] | [INFO] [stdout] 1697 | if prefix != "" { [INFO] [stdout] | ^^^^^^^^^^^^ help: using `!is_empty` is clearer and more explicit: `!prefix.is_empty()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#comparison_to_empty [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calling `push_str()` using a single-character string literal [INFO] [stdout] --> src/generated.rs:1698:13 [INFO] [stdout] | [INFO] [stdout] 1698 | prefix.push_str("."); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: consider using `push` with a character literal: `prefix.push('.')` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#single_char_add_str [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the borrowed expression implements the required traits [INFO] [stdout] --> src/generated.rs:1704:17 [INFO] [stdout] | [INFO] [stdout] 1704 | &field_value, [INFO] [stdout] | ^^^^^^^^^^^^ help: change this to: `field_value` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the borrowed expression implements the required traits [INFO] [stdout] --> src/generated.rs:1715:70 [INFO] [stdout] | [INFO] [stdout] 1715 | params.put(&format!("{}{}", prefix, "ClassicLinkVPCId"), &field_value); [INFO] [stdout] | ^^^^^^^^^^^^ help: change this to: `field_value` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the borrowed expression implements the required traits [INFO] [stdout] --> src/generated.rs:1725:66 [INFO] [stdout] | [INFO] [stdout] 1725 | params.put(&format!("{}{}", prefix, "EbsOptimized"), &field_value); [INFO] [stdout] | ^^^^^^^^^^^^ help: change this to: `field_value` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the borrowed expression implements the required traits [INFO] [stdout] --> src/generated.rs:1728:72 [INFO] [stdout] | [INFO] [stdout] 1728 | params.put(&format!("{}{}", prefix, "IamInstanceProfile"), &field_value); [INFO] [stdout] | ^^^^^^^^^^^^ help: change this to: `field_value` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the borrowed expression implements the required traits [INFO] [stdout] --> src/generated.rs:1731:61 [INFO] [stdout] | [INFO] [stdout] 1731 | params.put(&format!("{}{}", prefix, "ImageId"), &field_value); [INFO] [stdout] | ^^^^^^^^^^^^ help: change this to: `field_value` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the borrowed expression implements the required traits [INFO] [stdout] --> src/generated.rs:1734:64 [INFO] [stdout] | [INFO] [stdout] 1734 | params.put(&format!("{}{}", prefix, "InstanceId"), &field_value); [INFO] [stdout] | ^^^^^^^^^^^^ help: change this to: `field_value` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the borrowed expression implements the required traits [INFO] [stdout] --> src/generated.rs:1744:66 [INFO] [stdout] | [INFO] [stdout] 1744 | params.put(&format!("{}{}", prefix, "InstanceType"), &field_value); [INFO] [stdout] | ^^^^^^^^^^^^ help: change this to: `field_value` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the borrowed expression implements the required traits [INFO] [stdout] --> src/generated.rs:1747:62 [INFO] [stdout] | [INFO] [stdout] 1747 | params.put(&format!("{}{}", prefix, "KernelId"), &field_value); [INFO] [stdout] | ^^^^^^^^^^^^ help: change this to: `field_value` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the borrowed expression implements the required traits [INFO] [stdout] --> src/generated.rs:1750:61 [INFO] [stdout] | [INFO] [stdout] 1750 | params.put(&format!("{}{}", prefix, "KeyName"), &field_value); [INFO] [stdout] | ^^^^^^^^^^^^ help: change this to: `field_value` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the borrowed expression implements the required traits [INFO] [stdout] --> src/generated.rs:1757:70 [INFO] [stdout] | [INFO] [stdout] 1757 | params.put(&format!("{}{}", prefix, "PlacementTenancy"), &field_value); [INFO] [stdout] | ^^^^^^^^^^^^ help: change this to: `field_value` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the borrowed expression implements the required traits [INFO] [stdout] --> src/generated.rs:1760:63 [INFO] [stdout] | [INFO] [stdout] 1760 | params.put(&format!("{}{}", prefix, "RamdiskId"), &field_value); [INFO] [stdout] | ^^^^^^^^^^^^ help: change this to: `field_value` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the borrowed expression implements the required traits [INFO] [stdout] --> src/generated.rs:1770:63 [INFO] [stdout] | [INFO] [stdout] 1770 | params.put(&format!("{}{}", prefix, "SpotPrice"), &field_value); [INFO] [stdout] | ^^^^^^^^^^^^ help: change this to: `field_value` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the borrowed expression implements the required traits [INFO] [stdout] --> src/generated.rs:1773:62 [INFO] [stdout] | [INFO] [stdout] 1773 | params.put(&format!("{}{}", prefix, "UserData"), &field_value); [INFO] [stdout] | ^^^^^^^^^^^^ help: change this to: `field_value` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: comparison to empty slice [INFO] [stdout] --> src/generated.rs:1790:12 [INFO] [stdout] | [INFO] [stdout] 1790 | if prefix != "" { [INFO] [stdout] | ^^^^^^^^^^^^ help: using `!is_empty` is clearer and more explicit: `!prefix.is_empty()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#comparison_to_empty [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calling `push_str()` using a single-character string literal [INFO] [stdout] --> src/generated.rs:1791:13 [INFO] [stdout] | [INFO] [stdout] 1791 | prefix.push_str("."); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: consider using `push` with a character literal: `prefix.push('.')` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#single_char_add_str [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: comparison to empty slice [INFO] [stdout] --> src/generated.rs:1860:12 [INFO] [stdout] | [INFO] [stdout] 1860 | if prefix != "" { [INFO] [stdout] | ^^^^^^^^^^^^ help: using `!is_empty` is clearer and more explicit: `!prefix.is_empty()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#comparison_to_empty [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calling `push_str()` using a single-character string literal [INFO] [stdout] --> src/generated.rs:1861:13 [INFO] [stdout] | [INFO] [stdout] 1861 | prefix.push_str("."); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: consider using `push` with a character literal: `prefix.push('.')` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#single_char_add_str [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the borrowed expression implements the required traits [INFO] [stdout] --> src/generated.rs:1875:58 [INFO] [stdout] | [INFO] [stdout] 1875 | params.put(&format!("{}{}", prefix, "Unit"), &field_value); [INFO] [stdout] | ^^^^^^^^^^^^ help: change this to: `field_value` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: comparison to empty slice [INFO] [stdout] --> src/generated.rs:1894:12 [INFO] [stdout] | [INFO] [stdout] 1894 | if prefix != "" { [INFO] [stdout] | ^^^^^^^^^^^^ help: using `!is_empty` is clearer and more explicit: `!prefix.is_empty()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#comparison_to_empty [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calling `push_str()` using a single-character string literal [INFO] [stdout] --> src/generated.rs:1895:13 [INFO] [stdout] | [INFO] [stdout] 1895 | prefix.push_str("."); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: consider using `push` with a character literal: `prefix.push('.')` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#single_char_add_str [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the borrowed expression implements the required traits [INFO] [stdout] --> src/generated.rs:1903:65 [INFO] [stdout] | [INFO] [stdout] 1903 | params.put(&format!("{}{}", prefix, "ForceDelete"), &field_value); [INFO] [stdout] | ^^^^^^^^^^^^ help: change this to: `field_value` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: comparison to empty slice [INFO] [stdout] --> src/generated.rs:1943:12 [INFO] [stdout] | [INFO] [stdout] 1943 | if prefix != "" { [INFO] [stdout] | ^^^^^^^^^^^^ help: using `!is_empty` is clearer and more explicit: `!prefix.is_empty()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#comparison_to_empty [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calling `push_str()` using a single-character string literal [INFO] [stdout] --> src/generated.rs:1944:13 [INFO] [stdout] | [INFO] [stdout] 1944 | prefix.push_str("."); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: consider using `push` with a character literal: `prefix.push('.')` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#single_char_add_str [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: comparison to empty slice [INFO] [stdout] --> src/generated.rs:1972:12 [INFO] [stdout] | [INFO] [stdout] 1972 | if prefix != "" { [INFO] [stdout] | ^^^^^^^^^^^^ help: using `!is_empty` is clearer and more explicit: `!prefix.is_empty()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#comparison_to_empty [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calling `push_str()` using a single-character string literal [INFO] [stdout] --> src/generated.rs:1973:13 [INFO] [stdout] | [INFO] [stdout] 1973 | prefix.push_str("."); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: consider using `push` with a character literal: `prefix.push('.')` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#single_char_add_str [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: comparison to empty slice [INFO] [stdout] --> src/generated.rs:1998:12 [INFO] [stdout] | [INFO] [stdout] 1998 | if prefix != "" { [INFO] [stdout] | ^^^^^^^^^^^^ help: using `!is_empty` is clearer and more explicit: `!prefix.is_empty()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#comparison_to_empty [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calling `push_str()` using a single-character string literal [INFO] [stdout] --> src/generated.rs:1999:13 [INFO] [stdout] | [INFO] [stdout] 1999 | prefix.push_str("."); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: consider using `push` with a character literal: `prefix.push('.')` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#single_char_add_str [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the borrowed expression implements the required traits [INFO] [stdout] --> src/generated.rs:2005:17 [INFO] [stdout] | [INFO] [stdout] 2005 | &field_value, [INFO] [stdout] | ^^^^^^^^^^^^ help: change this to: `field_value` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: comparison to empty slice [INFO] [stdout] --> src/generated.rs:2026:12 [INFO] [stdout] | [INFO] [stdout] 2026 | if prefix != "" { [INFO] [stdout] | ^^^^^^^^^^^^ help: using `!is_empty` is clearer and more explicit: `!prefix.is_empty()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#comparison_to_empty [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calling `push_str()` using a single-character string literal [INFO] [stdout] --> src/generated.rs:2027:13 [INFO] [stdout] | [INFO] [stdout] 2027 | prefix.push_str("."); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: consider using `push` with a character literal: `prefix.push('.')` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#single_char_add_str [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: comparison to empty slice [INFO] [stdout] --> src/generated.rs:2053:12 [INFO] [stdout] | [INFO] [stdout] 2053 | if prefix != "" { [INFO] [stdout] | ^^^^^^^^^^^^ help: using `!is_empty` is clearer and more explicit: `!prefix.is_empty()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#comparison_to_empty [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calling `push_str()` using a single-character string literal [INFO] [stdout] --> src/generated.rs:2054:13 [INFO] [stdout] | [INFO] [stdout] 2054 | prefix.push_str("."); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: consider using `push` with a character literal: `prefix.push('.')` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#single_char_add_str [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: comparison to empty slice [INFO] [stdout] --> src/generated.rs:2170:12 [INFO] [stdout] | [INFO] [stdout] 2170 | if prefix != "" { [INFO] [stdout] | ^^^^^^^^^^^^ help: using `!is_empty` is clearer and more explicit: `!prefix.is_empty()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#comparison_to_empty [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calling `push_str()` using a single-character string literal [INFO] [stdout] --> src/generated.rs:2171:13 [INFO] [stdout] | [INFO] [stdout] 2171 | prefix.push_str("."); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: consider using `push` with a character literal: `prefix.push('.')` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#single_char_add_str [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the borrowed expression implements the required traits [INFO] [stdout] --> src/generated.rs:2182:64 [INFO] [stdout] | [INFO] [stdout] 2182 | params.put(&format!("{}{}", prefix, "MaxRecords"), &field_value); [INFO] [stdout] | ^^^^^^^^^^^^ help: change this to: `field_value` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the borrowed expression implements the required traits [INFO] [stdout] --> src/generated.rs:2185:63 [INFO] [stdout] | [INFO] [stdout] 2185 | params.put(&format!("{}{}", prefix, "NextToken"), &field_value); [INFO] [stdout] | ^^^^^^^^^^^^ help: change this to: `field_value` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: comparison to empty slice [INFO] [stdout] --> src/generated.rs:2281:12 [INFO] [stdout] | [INFO] [stdout] 2281 | if prefix != "" { [INFO] [stdout] | ^^^^^^^^^^^^ help: using `!is_empty` is clearer and more explicit: `!prefix.is_empty()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#comparison_to_empty [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calling `push_str()` using a single-character string literal [INFO] [stdout] --> src/generated.rs:2282:13 [INFO] [stdout] | [INFO] [stdout] 2282 | prefix.push_str("."); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: consider using `push` with a character literal: `prefix.push('.')` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#single_char_add_str [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the borrowed expression implements the required traits [INFO] [stdout] --> src/generated.rs:2297:64 [INFO] [stdout] | [INFO] [stdout] 2297 | params.put(&format!("{}{}", prefix, "MaxRecords"), &field_value); [INFO] [stdout] | ^^^^^^^^^^^^ help: change this to: `field_value` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the borrowed expression implements the required traits [INFO] [stdout] --> src/generated.rs:2300:63 [INFO] [stdout] | [INFO] [stdout] 2300 | params.put(&format!("{}{}", prefix, "NextToken"), &field_value); [INFO] [stdout] | ^^^^^^^^^^^^ help: change this to: `field_value` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: comparison to empty slice [INFO] [stdout] --> src/generated.rs:2386:12 [INFO] [stdout] | [INFO] [stdout] 2386 | if prefix != "" { [INFO] [stdout] | ^^^^^^^^^^^^ help: using `!is_empty` is clearer and more explicit: `!prefix.is_empty()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#comparison_to_empty [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calling `push_str()` using a single-character string literal [INFO] [stdout] --> src/generated.rs:2387:13 [INFO] [stdout] | [INFO] [stdout] 2387 | prefix.push_str("."); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: consider using `push` with a character literal: `prefix.push('.')` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#single_char_add_str [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: comparison to empty slice [INFO] [stdout] --> src/generated.rs:2420:12 [INFO] [stdout] | [INFO] [stdout] 2420 | if prefix != "" { [INFO] [stdout] | ^^^^^^^^^^^^ help: using `!is_empty` is clearer and more explicit: `!prefix.is_empty()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#comparison_to_empty [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calling `push_str()` using a single-character string literal [INFO] [stdout] --> src/generated.rs:2421:13 [INFO] [stdout] | [INFO] [stdout] 2421 | prefix.push_str("."); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: consider using `push` with a character literal: `prefix.push('.')` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#single_char_add_str [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the borrowed expression implements the required traits [INFO] [stdout] --> src/generated.rs:2429:64 [INFO] [stdout] | [INFO] [stdout] 2429 | params.put(&format!("{}{}", prefix, "MaxRecords"), &field_value); [INFO] [stdout] | ^^^^^^^^^^^^ help: change this to: `field_value` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the borrowed expression implements the required traits [INFO] [stdout] --> src/generated.rs:2432:63 [INFO] [stdout] | [INFO] [stdout] 2432 | params.put(&format!("{}{}", prefix, "NextToken"), &field_value); [INFO] [stdout] | ^^^^^^^^^^^^ help: change this to: `field_value` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: comparison to empty slice [INFO] [stdout] --> src/generated.rs:2494:12 [INFO] [stdout] | [INFO] [stdout] 2494 | if prefix != "" { [INFO] [stdout] | ^^^^^^^^^^^^ help: using `!is_empty` is clearer and more explicit: `!prefix.is_empty()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#comparison_to_empty [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calling `push_str()` using a single-character string literal [INFO] [stdout] --> src/generated.rs:2495:13 [INFO] [stdout] | [INFO] [stdout] 2495 | prefix.push_str("."); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: consider using `push` with a character literal: `prefix.push('.')` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#single_char_add_str [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the borrowed expression implements the required traits [INFO] [stdout] --> src/generated.rs:2503:64 [INFO] [stdout] | [INFO] [stdout] 2503 | params.put(&format!("{}{}", prefix, "MaxRecords"), &field_value); [INFO] [stdout] | ^^^^^^^^^^^^ help: change this to: `field_value` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the borrowed expression implements the required traits [INFO] [stdout] --> src/generated.rs:2506:63 [INFO] [stdout] | [INFO] [stdout] 2506 | params.put(&format!("{}{}", prefix, "NextToken"), &field_value); [INFO] [stdout] | ^^^^^^^^^^^^ help: change this to: `field_value` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: comparison to empty slice [INFO] [stdout] --> src/generated.rs:2648:12 [INFO] [stdout] | [INFO] [stdout] 2648 | if prefix != "" { [INFO] [stdout] | ^^^^^^^^^^^^ help: using `!is_empty` is clearer and more explicit: `!prefix.is_empty()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#comparison_to_empty [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calling `push_str()` using a single-character string literal [INFO] [stdout] --> src/generated.rs:2649:13 [INFO] [stdout] | [INFO] [stdout] 2649 | prefix.push_str("."); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: consider using `push` with a character literal: `prefix.push('.')` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#single_char_add_str [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the borrowed expression implements the required traits [INFO] [stdout] --> src/generated.rs:2660:64 [INFO] [stdout] | [INFO] [stdout] 2660 | params.put(&format!("{}{}", prefix, "MaxRecords"), &field_value); [INFO] [stdout] | ^^^^^^^^^^^^ help: change this to: `field_value` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the borrowed expression implements the required traits [INFO] [stdout] --> src/generated.rs:2663:63 [INFO] [stdout] | [INFO] [stdout] 2663 | params.put(&format!("{}{}", prefix, "NextToken"), &field_value); [INFO] [stdout] | ^^^^^^^^^^^^ help: change this to: `field_value` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: comparison to empty slice [INFO] [stdout] --> src/generated.rs:2688:12 [INFO] [stdout] | [INFO] [stdout] 2688 | if prefix != "" { [INFO] [stdout] | ^^^^^^^^^^^^ help: using `!is_empty` is clearer and more explicit: `!prefix.is_empty()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#comparison_to_empty [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calling `push_str()` using a single-character string literal [INFO] [stdout] --> src/generated.rs:2689:13 [INFO] [stdout] | [INFO] [stdout] 2689 | prefix.push_str("."); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: consider using `push` with a character literal: `prefix.push('.')` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#single_char_add_str [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the borrowed expression implements the required traits [INFO] [stdout] --> src/generated.rs:2695:17 [INFO] [stdout] | [INFO] [stdout] 2695 | &field_value, [INFO] [stdout] | ^^^^^^^^^^^^ help: change this to: `field_value` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the borrowed expression implements the required traits [INFO] [stdout] --> src/generated.rs:2699:64 [INFO] [stdout] | [INFO] [stdout] 2699 | params.put(&format!("{}{}", prefix, "MaxRecords"), &field_value); [INFO] [stdout] | ^^^^^^^^^^^^ help: change this to: `field_value` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the borrowed expression implements the required traits [INFO] [stdout] --> src/generated.rs:2702:63 [INFO] [stdout] | [INFO] [stdout] 2702 | params.put(&format!("{}{}", prefix, "NextToken"), &field_value); [INFO] [stdout] | ^^^^^^^^^^^^ help: change this to: `field_value` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: comparison to empty slice [INFO] [stdout] --> src/generated.rs:2739:12 [INFO] [stdout] | [INFO] [stdout] 2739 | if prefix != "" { [INFO] [stdout] | ^^^^^^^^^^^^ help: using `!is_empty` is clearer and more explicit: `!prefix.is_empty()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#comparison_to_empty [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calling `push_str()` using a single-character string literal [INFO] [stdout] --> src/generated.rs:2740:13 [INFO] [stdout] | [INFO] [stdout] 2740 | prefix.push_str("."); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: consider using `push` with a character literal: `prefix.push('.')` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#single_char_add_str [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the borrowed expression implements the required traits [INFO] [stdout] --> src/generated.rs:2753:17 [INFO] [stdout] | [INFO] [stdout] 2753 | &field_value, [INFO] [stdout] | ^^^^^^^^^^^^ help: change this to: `field_value` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the borrowed expression implements the required traits [INFO] [stdout] --> src/generated.rs:2757:64 [INFO] [stdout] | [INFO] [stdout] 2757 | params.put(&format!("{}{}", prefix, "MaxRecords"), &field_value); [INFO] [stdout] | ^^^^^^^^^^^^ help: change this to: `field_value` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the borrowed expression implements the required traits [INFO] [stdout] --> src/generated.rs:2760:63 [INFO] [stdout] | [INFO] [stdout] 2760 | params.put(&format!("{}{}", prefix, "NextToken"), &field_value); [INFO] [stdout] | ^^^^^^^^^^^^ help: change this to: `field_value` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: comparison to empty slice [INFO] [stdout] --> src/generated.rs:2787:12 [INFO] [stdout] | [INFO] [stdout] 2787 | if prefix != "" { [INFO] [stdout] | ^^^^^^^^^^^^ help: using `!is_empty` is clearer and more explicit: `!prefix.is_empty()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#comparison_to_empty [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calling `push_str()` using a single-character string literal [INFO] [stdout] --> src/generated.rs:2788:13 [INFO] [stdout] | [INFO] [stdout] 2788 | prefix.push_str("."); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: consider using `push` with a character literal: `prefix.push('.')` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#single_char_add_str [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the borrowed expression implements the required traits [INFO] [stdout] --> src/generated.rs:2794:17 [INFO] [stdout] | [INFO] [stdout] 2794 | &field_value, [INFO] [stdout] | ^^^^^^^^^^^^ help: change this to: `field_value` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the borrowed expression implements the required traits [INFO] [stdout] --> src/generated.rs:2798:61 [INFO] [stdout] | [INFO] [stdout] 2798 | params.put(&format!("{}{}", prefix, "EndTime"), &field_value); [INFO] [stdout] | ^^^^^^^^^^^^ help: change this to: `field_value` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the borrowed expression implements the required traits [INFO] [stdout] --> src/generated.rs:2801:64 [INFO] [stdout] | [INFO] [stdout] 2801 | params.put(&format!("{}{}", prefix, "MaxRecords"), &field_value); [INFO] [stdout] | ^^^^^^^^^^^^ help: change this to: `field_value` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the borrowed expression implements the required traits [INFO] [stdout] --> src/generated.rs:2804:63 [INFO] [stdout] | [INFO] [stdout] 2804 | params.put(&format!("{}{}", prefix, "NextToken"), &field_value); [INFO] [stdout] | ^^^^^^^^^^^^ help: change this to: `field_value` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the borrowed expression implements the required traits [INFO] [stdout] --> src/generated.rs:2814:63 [INFO] [stdout] | [INFO] [stdout] 2814 | params.put(&format!("{}{}", prefix, "StartTime"), &field_value); [INFO] [stdout] | ^^^^^^^^^^^^ help: change this to: `field_value` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: comparison to empty slice [INFO] [stdout] --> src/generated.rs:2835:12 [INFO] [stdout] | [INFO] [stdout] 2835 | if prefix != "" { [INFO] [stdout] | ^^^^^^^^^^^^ help: using `!is_empty` is clearer and more explicit: `!prefix.is_empty()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#comparison_to_empty [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calling `push_str()` using a single-character string literal [INFO] [stdout] --> src/generated.rs:2836:13 [INFO] [stdout] | [INFO] [stdout] 2836 | prefix.push_str("."); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: consider using `push` with a character literal: `prefix.push('.')` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#single_char_add_str [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the borrowed expression implements the required traits [INFO] [stdout] --> src/generated.rs:2843:64 [INFO] [stdout] | [INFO] [stdout] 2843 | params.put(&format!("{}{}", prefix, "MaxRecords"), &field_value); [INFO] [stdout] | ^^^^^^^^^^^^ help: change this to: `field_value` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the borrowed expression implements the required traits [INFO] [stdout] --> src/generated.rs:2846:63 [INFO] [stdout] | [INFO] [stdout] 2846 | params.put(&format!("{}{}", prefix, "NextToken"), &field_value); [INFO] [stdout] | ^^^^^^^^^^^^ help: change this to: `field_value` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: comparison to empty slice [INFO] [stdout] --> src/generated.rs:2930:12 [INFO] [stdout] | [INFO] [stdout] 2930 | if prefix != "" { [INFO] [stdout] | ^^^^^^^^^^^^ help: using `!is_empty` is clearer and more explicit: `!prefix.is_empty()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#comparison_to_empty [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calling `push_str()` using a single-character string literal [INFO] [stdout] --> src/generated.rs:2931:13 [INFO] [stdout] | [INFO] [stdout] 2931 | prefix.push_str("."); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: consider using `push` with a character literal: `prefix.push('.')` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#single_char_add_str [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the borrowed expression implements the required traits [INFO] [stdout] --> src/generated.rs:2947:13 [INFO] [stdout] | [INFO] [stdout] 2947 | &obj.should_decrement_desired_capacity, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: change this to: `obj.should_decrement_desired_capacity` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: comparison to empty slice [INFO] [stdout] --> src/generated.rs:2987:12 [INFO] [stdout] | [INFO] [stdout] 2987 | if prefix != "" { [INFO] [stdout] | ^^^^^^^^^^^^ help: using `!is_empty` is clearer and more explicit: `!prefix.is_empty()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#comparison_to_empty [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calling `push_str()` using a single-character string literal [INFO] [stdout] --> src/generated.rs:2988:13 [INFO] [stdout] | [INFO] [stdout] 2988 | prefix.push_str("."); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: consider using `push` with a character literal: `prefix.push('.')` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#single_char_add_str [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: comparison to empty slice [INFO] [stdout] --> src/generated.rs:3038:12 [INFO] [stdout] | [INFO] [stdout] 3038 | if prefix != "" { [INFO] [stdout] | ^^^^^^^^^^^^ help: using `!is_empty` is clearer and more explicit: `!prefix.is_empty()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#comparison_to_empty [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calling `push_str()` using a single-character string literal [INFO] [stdout] --> src/generated.rs:3039:13 [INFO] [stdout] | [INFO] [stdout] 3039 | prefix.push_str("."); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: consider using `push` with a character literal: `prefix.push('.')` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#single_char_add_str [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: comparison to empty slice [INFO] [stdout] --> src/generated.rs:3068:12 [INFO] [stdout] | [INFO] [stdout] 3068 | if prefix != "" { [INFO] [stdout] | ^^^^^^^^^^^^ help: using `!is_empty` is clearer and more explicit: `!prefix.is_empty()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#comparison_to_empty [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calling `push_str()` using a single-character string literal [INFO] [stdout] --> src/generated.rs:3069:13 [INFO] [stdout] | [INFO] [stdout] 3069 | prefix.push_str("."); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: consider using `push` with a character literal: `prefix.push('.')` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#single_char_add_str [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: comparison to empty slice [INFO] [stdout] --> src/generated.rs:3162:12 [INFO] [stdout] | [INFO] [stdout] 3162 | if prefix != "" { [INFO] [stdout] | ^^^^^^^^^^^^ help: using `!is_empty` is clearer and more explicit: `!prefix.is_empty()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#comparison_to_empty [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calling `push_str()` using a single-character string literal [INFO] [stdout] --> src/generated.rs:3163:13 [INFO] [stdout] | [INFO] [stdout] 3163 | prefix.push_str("."); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: consider using `push` with a character literal: `prefix.push('.')` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#single_char_add_str [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the borrowed expression implements the required traits [INFO] [stdout] --> src/generated.rs:3169:17 [INFO] [stdout] | [INFO] [stdout] 3169 | &field_value, [INFO] [stdout] | ^^^^^^^^^^^^ help: change this to: `field_value` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the borrowed expression implements the required traits [INFO] [stdout] --> src/generated.rs:3173:63 [INFO] [stdout] | [INFO] [stdout] 3173 | params.put(&format!("{}{}", prefix, "Encrypted"), &field_value); [INFO] [stdout] | ^^^^^^^^^^^^ help: change this to: `field_value` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the borrowed expression implements the required traits [INFO] [stdout] --> src/generated.rs:3176:58 [INFO] [stdout] | [INFO] [stdout] 3176 | params.put(&format!("{}{}", prefix, "Iops"), &field_value); [INFO] [stdout] | ^^^^^^^^^^^^ help: change this to: `field_value` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the borrowed expression implements the required traits [INFO] [stdout] --> src/generated.rs:3179:64 [INFO] [stdout] | [INFO] [stdout] 3179 | params.put(&format!("{}{}", prefix, "SnapshotId"), &field_value); [INFO] [stdout] | ^^^^^^^^^^^^ help: change this to: `field_value` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the borrowed expression implements the required traits [INFO] [stdout] --> src/generated.rs:3182:64 [INFO] [stdout] | [INFO] [stdout] 3182 | params.put(&format!("{}{}", prefix, "VolumeSize"), &field_value); [INFO] [stdout] | ^^^^^^^^^^^^ help: change this to: `field_value` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the borrowed expression implements the required traits [INFO] [stdout] --> src/generated.rs:3185:64 [INFO] [stdout] | [INFO] [stdout] 3185 | params.put(&format!("{}{}", prefix, "VolumeType"), &field_value); [INFO] [stdout] | ^^^^^^^^^^^^ help: change this to: `field_value` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: comparison to empty slice [INFO] [stdout] --> src/generated.rs:3214:12 [INFO] [stdout] | [INFO] [stdout] 3214 | if prefix != "" { [INFO] [stdout] | ^^^^^^^^^^^^ help: using `!is_empty` is clearer and more explicit: `!prefix.is_empty()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#comparison_to_empty [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calling `push_str()` using a single-character string literal [INFO] [stdout] --> src/generated.rs:3215:13 [INFO] [stdout] | [INFO] [stdout] 3215 | prefix.push_str("."); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: consider using `push` with a character literal: `prefix.push('.')` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#single_char_add_str [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: comparison to empty slice [INFO] [stdout] --> src/generated.rs:3328:12 [INFO] [stdout] | [INFO] [stdout] 3328 | if prefix != "" { [INFO] [stdout] | ^^^^^^^^^^^^ help: using `!is_empty` is clearer and more explicit: `!prefix.is_empty()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#comparison_to_empty [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calling `push_str()` using a single-character string literal [INFO] [stdout] --> src/generated.rs:3329:13 [INFO] [stdout] | [INFO] [stdout] 3329 | prefix.push_str("."); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: consider using `push` with a character literal: `prefix.push('.')` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#single_char_add_str [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the borrowed expression implements the required traits [INFO] [stdout] --> src/generated.rs:3345:13 [INFO] [stdout] | [INFO] [stdout] 3345 | &obj.should_decrement_desired_capacity, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: change this to: `obj.should_decrement_desired_capacity` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: comparison to empty slice [INFO] [stdout] --> src/generated.rs:3378:12 [INFO] [stdout] | [INFO] [stdout] 3378 | if prefix != "" { [INFO] [stdout] | ^^^^^^^^^^^^ help: using `!is_empty` is clearer and more explicit: `!prefix.is_empty()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#comparison_to_empty [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calling `push_str()` using a single-character string literal [INFO] [stdout] --> src/generated.rs:3379:13 [INFO] [stdout] | [INFO] [stdout] 3379 | prefix.push_str("."); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: consider using `push` with a character literal: `prefix.push('.')` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#single_char_add_str [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the borrowed expression implements the required traits [INFO] [stdout] --> src/generated.rs:3385:17 [INFO] [stdout] | [INFO] [stdout] 3385 | &field_value, [INFO] [stdout] | ^^^^^^^^^^^^ help: change this to: `field_value` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the borrowed expression implements the required traits [INFO] [stdout] --> src/generated.rs:3389:69 [INFO] [stdout] | [INFO] [stdout] 3389 | params.put(&format!("{}{}", prefix, "BreachThreshold"), &field_value); [INFO] [stdout] | ^^^^^^^^^^^^ help: change this to: `field_value` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the borrowed expression implements the required traits [INFO] [stdout] --> src/generated.rs:3392:67 [INFO] [stdout] | [INFO] [stdout] 3392 | params.put(&format!("{}{}", prefix, "HonorCooldown"), &field_value); [INFO] [stdout] | ^^^^^^^^^^^^ help: change this to: `field_value` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the borrowed expression implements the required traits [INFO] [stdout] --> src/generated.rs:3395:65 [INFO] [stdout] | [INFO] [stdout] 3395 | params.put(&format!("{}{}", prefix, "MetricValue"), &field_value); [INFO] [stdout] | ^^^^^^^^^^^^ help: change this to: `field_value` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: comparison to empty slice [INFO] [stdout] --> src/generated.rs:3443:12 [INFO] [stdout] | [INFO] [stdout] 3443 | if prefix != "" { [INFO] [stdout] | ^^^^^^^^^^^^ help: using `!is_empty` is clearer and more explicit: `!prefix.is_empty()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#comparison_to_empty [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calling `push_str()` using a single-character string literal [INFO] [stdout] --> src/generated.rs:3444:13 [INFO] [stdout] | [INFO] [stdout] 3444 | prefix.push_str("."); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: consider using `push` with a character literal: `prefix.push('.')` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#single_char_add_str [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: comparison to empty slice [INFO] [stdout] --> src/generated.rs:3546:12 [INFO] [stdout] | [INFO] [stdout] 3546 | if prefix != "" { [INFO] [stdout] | ^^^^^^^^^^^^ help: using `!is_empty` is clearer and more explicit: `!prefix.is_empty()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#comparison_to_empty [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calling `push_str()` using a single-character string literal [INFO] [stdout] --> src/generated.rs:3547:13 [INFO] [stdout] | [INFO] [stdout] 3547 | prefix.push_str("."); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: consider using `push` with a character literal: `prefix.push('.')` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#single_char_add_str [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the borrowed expression implements the required traits [INFO] [stdout] --> src/generated.rs:3551:58 [INFO] [stdout] | [INFO] [stdout] 3551 | params.put(&format!("{}{}", prefix, "Name"), &field_value); [INFO] [stdout] | ^^^^^^^^^^^^ help: change this to: `field_value` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: writing `&Vec` instead of `&[_]` involves a new object where a slice will do [INFO] [stdout] --> src/generated.rs:3562:56 [INFO] [stdout] | [INFO] [stdout] 3562 | fn serialize(params: &mut Params, name: &str, obj: &Vec) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#ptr_arg [INFO] [stdout] help: change this to [INFO] [stdout] | [INFO] [stdout] 3562 - fn serialize(params: &mut Params, name: &str, obj: &Vec) { [INFO] [stdout] 3562 + fn serialize(params: &mut Params, name: &str, obj: &[Filter]) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: writing `&Vec` instead of `&[_]` involves a new object where a slice will do [INFO] [stdout] --> src/generated.rs:3684:56 [INFO] [stdout] | [INFO] [stdout] 3684 | fn serialize(params: &mut Params, name: &str, obj: &Vec) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#ptr_arg [INFO] [stdout] help: change this to [INFO] [stdout] | [INFO] [stdout] 3684 - fn serialize(params: &mut Params, name: &str, obj: &Vec) { [INFO] [stdout] 3684 + fn serialize(params: &mut Params, name: &str, obj: &[String]) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the borrowed expression implements the required traits [INFO] [stdout] --> src/generated.rs:3687:30 [INFO] [stdout] | [INFO] [stdout] 3687 | params.put(&key, &obj); [INFO] [stdout] | ^^^^ help: change this to: `obj` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: comparison to empty slice [INFO] [stdout] --> src/generated.rs:3728:12 [INFO] [stdout] | [INFO] [stdout] 3728 | if prefix != "" { [INFO] [stdout] | ^^^^^^^^^^^^ help: using `!is_empty` is clearer and more explicit: `!prefix.is_empty()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#comparison_to_empty [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calling `push_str()` using a single-character string literal [INFO] [stdout] --> src/generated.rs:3729:13 [INFO] [stdout] | [INFO] [stdout] 3729 | prefix.push_str("."); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: consider using `push` with a character literal: `prefix.push('.')` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#single_char_add_str [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the borrowed expression implements the required traits [INFO] [stdout] --> src/generated.rs:3733:61 [INFO] [stdout] | [INFO] [stdout] 3733 | params.put(&format!("{}{}", prefix, "Enabled"), &field_value); [INFO] [stdout] | ^^^^^^^^^^^^ help: change this to: `field_value` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: writing `&Vec` instead of `&[_]` involves a new object where a slice will do [INFO] [stdout] --> src/generated.rs:3829:56 [INFO] [stdout] | [INFO] [stdout] 3829 | fn serialize(params: &mut Params, name: &str, obj: &Vec) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#ptr_arg [INFO] [stdout] help: change this to [INFO] [stdout] | [INFO] [stdout] 3829 - fn serialize(params: &mut Params, name: &str, obj: &Vec) { [INFO] [stdout] 3829 + fn serialize(params: &mut Params, name: &str, obj: &[String]) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the borrowed expression implements the required traits [INFO] [stdout] --> src/generated.rs:3832:30 [INFO] [stdout] | [INFO] [stdout] 3832 | params.put(&key, &obj); [INFO] [stdout] | ^^^^ help: change this to: `obj` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: comparison to empty slice [INFO] [stdout] --> src/generated.rs:3961:12 [INFO] [stdout] | [INFO] [stdout] 3961 | if prefix != "" { [INFO] [stdout] | ^^^^^^^^^^^^ help: using `!is_empty` is clearer and more explicit: `!prefix.is_empty()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#comparison_to_empty [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calling `push_str()` using a single-character string literal [INFO] [stdout] --> src/generated.rs:3962:13 [INFO] [stdout] | [INFO] [stdout] 3962 | prefix.push_str("."); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: consider using `push` with a character literal: `prefix.push('.')` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#single_char_add_str [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the borrowed expression implements the required traits [INFO] [stdout] --> src/generated.rs:3968:17 [INFO] [stdout] | [INFO] [stdout] 3968 | &field_value, [INFO] [stdout] | ^^^^^^^^^^^^ help: change this to: `field_value` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the borrowed expression implements the required traits [INFO] [stdout] --> src/generated.rs:3974:17 [INFO] [stdout] | [INFO] [stdout] 3974 | &field_value, [INFO] [stdout] | ^^^^^^^^^^^^ help: change this to: `field_value` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the borrowed expression implements the required traits [INFO] [stdout] --> src/generated.rs:3980:17 [INFO] [stdout] | [INFO] [stdout] 3980 | &field_value, [INFO] [stdout] | ^^^^^^^^^^^^ help: change this to: `field_value` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the borrowed expression implements the required traits [INFO] [stdout] --> src/generated.rs:3986:17 [INFO] [stdout] | [INFO] [stdout] 3986 | &field_value, [INFO] [stdout] | ^^^^^^^^^^^^ help: change this to: `field_value` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the borrowed expression implements the required traits [INFO] [stdout] --> src/generated.rs:3990:71 [INFO] [stdout] | [INFO] [stdout] 3990 | params.put(&format!("{}{}", prefix, "SpotInstancePools"), &field_value); [INFO] [stdout] | ^^^^^^^^^^^^ help: change this to: `field_value` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the borrowed expression implements the required traits [INFO] [stdout] --> src/generated.rs:3993:66 [INFO] [stdout] | [INFO] [stdout] 3993 | params.put(&format!("{}{}", prefix, "SpotMaxPrice"), &field_value); [INFO] [stdout] | ^^^^^^^^^^^^ help: change this to: `field_value` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: comparison to empty slice [INFO] [stdout] --> src/generated.rs:4188:12 [INFO] [stdout] | [INFO] [stdout] 4188 | if prefix != "" { [INFO] [stdout] | ^^^^^^^^^^^^ help: using `!is_empty` is clearer and more explicit: `!prefix.is_empty()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#comparison_to_empty [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calling `push_str()` using a single-character string literal [INFO] [stdout] --> src/generated.rs:4189:13 [INFO] [stdout] | [INFO] [stdout] 4189 | prefix.push_str("."); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: consider using `push` with a character literal: `prefix.push('.')` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#single_char_add_str [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: writing `&Vec` instead of `&[_]` involves a new object where a slice will do [INFO] [stdout] --> src/generated.rs:4202:56 [INFO] [stdout] | [INFO] [stdout] 4202 | fn serialize(params: &mut Params, name: &str, obj: &Vec) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#ptr_arg [INFO] [stdout] help: change this to [INFO] [stdout] | [INFO] [stdout] 4202 - fn serialize(params: &mut Params, name: &str, obj: &Vec) { [INFO] [stdout] 4202 + fn serialize(params: &mut Params, name: &str, obj: &[String]) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the borrowed expression implements the required traits [INFO] [stdout] --> src/generated.rs:4205:30 [INFO] [stdout] | [INFO] [stdout] 4205 | params.put(&key, &obj); [INFO] [stdout] | ^^^^ help: change this to: `obj` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: comparison to empty slice [INFO] [stdout] --> src/generated.rs:4226:12 [INFO] [stdout] | [INFO] [stdout] 4226 | if prefix != "" { [INFO] [stdout] | ^^^^^^^^^^^^ help: using `!is_empty` is clearer and more explicit: `!prefix.is_empty()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#comparison_to_empty [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calling `push_str()` using a single-character string literal [INFO] [stdout] --> src/generated.rs:4227:13 [INFO] [stdout] | [INFO] [stdout] 4227 | prefix.push_str("."); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: consider using `push` with a character literal: `prefix.push('.')` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#single_char_add_str [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the borrowed expression implements the required traits [INFO] [stdout] --> src/generated.rs:4238:64 [INFO] [stdout] | [INFO] [stdout] 4238 | params.put(&format!("{}{}", prefix, "MaxRecords"), &field_value); [INFO] [stdout] | ^^^^^^^^^^^^ help: change this to: `field_value` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the borrowed expression implements the required traits [INFO] [stdout] --> src/generated.rs:4241:63 [INFO] [stdout] | [INFO] [stdout] 4241 | params.put(&format!("{}{}", prefix, "NextToken"), &field_value); [INFO] [stdout] | ^^^^^^^^^^^^ help: change this to: `field_value` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: comparison to empty slice [INFO] [stdout] --> src/generated.rs:4352:12 [INFO] [stdout] | [INFO] [stdout] 4352 | if prefix != "" { [INFO] [stdout] | ^^^^^^^^^^^^ help: using `!is_empty` is clearer and more explicit: `!prefix.is_empty()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#comparison_to_empty [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calling `push_str()` using a single-character string literal [INFO] [stdout] --> src/generated.rs:4353:13 [INFO] [stdout] | [INFO] [stdout] 4353 | prefix.push_str("."); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: consider using `push` with a character literal: `prefix.push('.')` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#single_char_add_str [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: comparison to empty slice [INFO] [stdout] --> src/generated.rs:4430:12 [INFO] [stdout] | [INFO] [stdout] 4430 | if prefix != "" { [INFO] [stdout] | ^^^^^^^^^^^^ help: using `!is_empty` is clearer and more explicit: `!prefix.is_empty()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#comparison_to_empty [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calling `push_str()` using a single-character string literal [INFO] [stdout] --> src/generated.rs:4431:13 [INFO] [stdout] | [INFO] [stdout] 4431 | prefix.push_str("."); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: consider using `push` with a character literal: `prefix.push('.')` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#single_char_add_str [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the borrowed expression implements the required traits [INFO] [stdout] --> src/generated.rs:4435:66 [INFO] [stdout] | [INFO] [stdout] 4435 | params.put(&format!("{}{}", prefix, "InstanceType"), &field_value); [INFO] [stdout] | ^^^^^^^^^^^^ help: change this to: `field_value` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the borrowed expression implements the required traits [INFO] [stdout] --> src/generated.rs:4438:70 [INFO] [stdout] | [INFO] [stdout] 4438 | params.put(&format!("{}{}", prefix, "WeightedCapacity"), &field_value); [INFO] [stdout] | ^^^^^^^^^^^^ help: change this to: `field_value` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: comparison to empty slice [INFO] [stdout] --> src/generated.rs:4500:12 [INFO] [stdout] | [INFO] [stdout] 4500 | if prefix != "" { [INFO] [stdout] | ^^^^^^^^^^^^ help: using `!is_empty` is clearer and more explicit: `!prefix.is_empty()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#comparison_to_empty [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calling `push_str()` using a single-character string literal [INFO] [stdout] --> src/generated.rs:4501:13 [INFO] [stdout] | [INFO] [stdout] 4501 | prefix.push_str("."); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: consider using `push` with a character literal: `prefix.push('.')` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#single_char_add_str [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the borrowed expression implements the required traits [INFO] [stdout] --> src/generated.rs:4505:70 [INFO] [stdout] | [INFO] [stdout] 4505 | params.put(&format!("{}{}", prefix, "LaunchTemplateId"), &field_value); [INFO] [stdout] | ^^^^^^^^^^^^ help: change this to: `field_value` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the borrowed expression implements the required traits [INFO] [stdout] --> src/generated.rs:4508:72 [INFO] [stdout] | [INFO] [stdout] 4508 | params.put(&format!("{}{}", prefix, "LaunchTemplateName"), &field_value); [INFO] [stdout] | ^^^^^^^^^^^^ help: change this to: `field_value` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the borrowed expression implements the required traits [INFO] [stdout] --> src/generated.rs:4511:61 [INFO] [stdout] | [INFO] [stdout] 4511 | params.put(&format!("{}{}", prefix, "Version"), &field_value); [INFO] [stdout] | ^^^^^^^^^^^^ help: change this to: `field_value` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: writing `&Vec` instead of `&[_]` involves a new object where a slice will do [INFO] [stdout] --> src/generated.rs:4619:56 [INFO] [stdout] | [INFO] [stdout] 4619 | fn serialize(params: &mut Params, name: &str, obj: &Vec) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#ptr_arg [INFO] [stdout] help: change this to [INFO] [stdout] | [INFO] [stdout] 4619 - fn serialize(params: &mut Params, name: &str, obj: &Vec) { [INFO] [stdout] 4619 + fn serialize(params: &mut Params, name: &str, obj: &[String]) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the borrowed expression implements the required traits [INFO] [stdout] --> src/generated.rs:4622:30 [INFO] [stdout] | [INFO] [stdout] 4622 | params.put(&key, &obj); [INFO] [stdout] | ^^^^ help: change this to: `obj` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: comparison to empty slice [INFO] [stdout] --> src/generated.rs:4652:12 [INFO] [stdout] | [INFO] [stdout] 4652 | if prefix != "" { [INFO] [stdout] | ^^^^^^^^^^^^ help: using `!is_empty` is clearer and more explicit: `!prefix.is_empty()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#comparison_to_empty [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calling `push_str()` using a single-character string literal [INFO] [stdout] --> src/generated.rs:4653:13 [INFO] [stdout] | [INFO] [stdout] 4653 | prefix.push_str("."); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: consider using `push` with a character literal: `prefix.push('.')` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#single_char_add_str [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the borrowed expression implements the required traits [INFO] [stdout] --> src/generated.rs:4657:67 [INFO] [stdout] | [INFO] [stdout] 4657 | params.put(&format!("{}{}", prefix, "DefaultResult"), &field_value); [INFO] [stdout] | ^^^^^^^^^^^^ help: change this to: `field_value` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the borrowed expression implements the required traits [INFO] [stdout] --> src/generated.rs:4660:70 [INFO] [stdout] | [INFO] [stdout] 4660 | params.put(&format!("{}{}", prefix, "HeartbeatTimeout"), &field_value); [INFO] [stdout] | ^^^^^^^^^^^^ help: change this to: `field_value` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the borrowed expression implements the required traits [INFO] [stdout] --> src/generated.rs:4673:17 [INFO] [stdout] | [INFO] [stdout] 4673 | &field_value, [INFO] [stdout] | ^^^^^^^^^^^^ help: change this to: `field_value` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the borrowed expression implements the required traits [INFO] [stdout] --> src/generated.rs:4679:17 [INFO] [stdout] | [INFO] [stdout] 4679 | &field_value, [INFO] [stdout] | ^^^^^^^^^^^^ help: change this to: `field_value` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the borrowed expression implements the required traits [INFO] [stdout] --> src/generated.rs:4683:61 [INFO] [stdout] | [INFO] [stdout] 4683 | params.put(&format!("{}{}", prefix, "RoleARN"), &field_value); [INFO] [stdout] | ^^^^^^^^^^^^ help: change this to: `field_value` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: writing `&Vec` instead of `&[_]` involves a new object where a slice will do [INFO] [stdout] --> src/generated.rs:4691:56 [INFO] [stdout] | [INFO] [stdout] 4691 | fn serialize(params: &mut Params, name: &str, obj: &Vec) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#ptr_arg [INFO] [stdout] help: change this to [INFO] [stdout] | [INFO] [stdout] 4691 - fn serialize(params: &mut Params, name: &str, obj: &Vec) { [INFO] [stdout] 4691 + fn serialize(params: &mut Params, name: &str, obj: &[LifecycleHookSpecification]) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: writing `&Vec` instead of `&[_]` involves a new object where a slice will do [INFO] [stdout] --> src/generated.rs:4757:56 [INFO] [stdout] | [INFO] [stdout] 4757 | fn serialize(params: &mut Params, name: &str, obj: &Vec) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#ptr_arg [INFO] [stdout] help: change this to [INFO] [stdout] | [INFO] [stdout] 4757 - fn serialize(params: &mut Params, name: &str, obj: &Vec) { [INFO] [stdout] 4757 + fn serialize(params: &mut Params, name: &str, obj: &[String]) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the borrowed expression implements the required traits [INFO] [stdout] --> src/generated.rs:4760:30 [INFO] [stdout] | [INFO] [stdout] 4760 | params.put(&key, &obj); [INFO] [stdout] | ^^^^ help: change this to: `obj` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: comparison to empty slice [INFO] [stdout] --> src/generated.rs:4991:12 [INFO] [stdout] | [INFO] [stdout] 4991 | if prefix != "" { [INFO] [stdout] | ^^^^^^^^^^^^ help: using `!is_empty` is clearer and more explicit: `!prefix.is_empty()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#comparison_to_empty [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calling `push_str()` using a single-character string literal [INFO] [stdout] --> src/generated.rs:4992:13 [INFO] [stdout] | [INFO] [stdout] 4992 | prefix.push_str("."); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: consider using `push` with a character literal: `prefix.push('.')` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#single_char_add_str [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: writing `&Vec` instead of `&[_]` involves a new object where a slice will do [INFO] [stdout] --> src/generated.rs:5038:56 [INFO] [stdout] | [INFO] [stdout] 5038 | fn serialize(params: &mut Params, name: &str, obj: &Vec) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#ptr_arg [INFO] [stdout] help: change this to [INFO] [stdout] | [INFO] [stdout] 5038 - fn serialize(params: &mut Params, name: &str, obj: &Vec) { [INFO] [stdout] 5038 + fn serialize(params: &mut Params, name: &str, obj: &[MetricDimension]) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: writing `&Vec` instead of `&[_]` involves a new object where a slice will do [INFO] [stdout] --> src/generated.rs:5148:56 [INFO] [stdout] | [INFO] [stdout] 5148 | fn serialize(params: &mut Params, name: &str, obj: &Vec) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#ptr_arg [INFO] [stdout] help: change this to [INFO] [stdout] | [INFO] [stdout] 5148 - fn serialize(params: &mut Params, name: &str, obj: &Vec) { [INFO] [stdout] 5148 + fn serialize(params: &mut Params, name: &str, obj: &[String]) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the borrowed expression implements the required traits [INFO] [stdout] --> src/generated.rs:5151:30 [INFO] [stdout] | [INFO] [stdout] 5151 | params.put(&key, &obj); [INFO] [stdout] | ^^^^ help: change this to: `obj` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: comparison to empty slice [INFO] [stdout] --> src/generated.rs:5226:12 [INFO] [stdout] | [INFO] [stdout] 5226 | if prefix != "" { [INFO] [stdout] | ^^^^^^^^^^^^ help: using `!is_empty` is clearer and more explicit: `!prefix.is_empty()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#comparison_to_empty [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calling `push_str()` using a single-character string literal [INFO] [stdout] --> src/generated.rs:5227:13 [INFO] [stdout] | [INFO] [stdout] 5227 | prefix.push_str("."); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: consider using `push` with a character literal: `prefix.push('.')` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#single_char_add_str [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: writing `&Vec` instead of `&[_]` involves a new object where a slice will do [INFO] [stdout] --> src/generated.rs:5387:56 [INFO] [stdout] | [INFO] [stdout] 5387 | fn serialize(params: &mut Params, name: &str, obj: &Vec) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#ptr_arg [INFO] [stdout] help: change this to [INFO] [stdout] | [INFO] [stdout] 5387 - fn serialize(params: &mut Params, name: &str, obj: &Vec) { [INFO] [stdout] 5387 + fn serialize(params: &mut Params, name: &str, obj: &[LaunchTemplateOverrides]) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: writing `&Vec` instead of `&[_]` involves a new object where a slice will do [INFO] [stdout] --> src/generated.rs:5475:56 [INFO] [stdout] | [INFO] [stdout] 5475 | fn serialize(params: &mut Params, name: &str, obj: &Vec) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#ptr_arg [INFO] [stdout] help: change this to [INFO] [stdout] | [INFO] [stdout] 5475 - fn serialize(params: &mut Params, name: &str, obj: &Vec) { [INFO] [stdout] 5475 + fn serialize(params: &mut Params, name: &str, obj: &[String]) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the borrowed expression implements the required traits [INFO] [stdout] --> src/generated.rs:5478:30 [INFO] [stdout] | [INFO] [stdout] 5478 | params.put(&key, &obj); [INFO] [stdout] | ^^^^ help: change this to: `obj` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: writing `&Vec` instead of `&[_]` involves a new object where a slice will do [INFO] [stdout] --> src/generated.rs:5486:56 [INFO] [stdout] | [INFO] [stdout] 5486 | fn serialize(params: &mut Params, name: &str, obj: &Vec) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#ptr_arg [INFO] [stdout] help: change this to [INFO] [stdout] | [INFO] [stdout] 5486 - fn serialize(params: &mut Params, name: &str, obj: &Vec) { [INFO] [stdout] 5486 + fn serialize(params: &mut Params, name: &str, obj: &[String]) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the borrowed expression implements the required traits [INFO] [stdout] --> src/generated.rs:5489:30 [INFO] [stdout] | [INFO] [stdout] 5489 | params.put(&key, &obj); [INFO] [stdout] | ^^^^ help: change this to: `obj` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: comparison to empty slice [INFO] [stdout] --> src/generated.rs:5541:12 [INFO] [stdout] | [INFO] [stdout] 5541 | if prefix != "" { [INFO] [stdout] | ^^^^^^^^^^^^ help: using `!is_empty` is clearer and more explicit: `!prefix.is_empty()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#comparison_to_empty [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calling `push_str()` using a single-character string literal [INFO] [stdout] --> src/generated.rs:5542:13 [INFO] [stdout] | [INFO] [stdout] 5542 | prefix.push_str("."); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: consider using `push` with a character literal: `prefix.push('.')` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#single_char_add_str [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the borrowed expression implements the required traits [INFO] [stdout] --> src/generated.rs:5550:67 [INFO] [stdout] | [INFO] [stdout] 5550 | params.put(&format!("{}{}", prefix, "ResourceLabel"), &field_value); [INFO] [stdout] | ^^^^^^^^^^^^ help: change this to: `field_value` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: writing `&Vec` instead of `&[_]` involves a new object where a slice will do [INFO] [stdout] --> src/generated.rs:5558:56 [INFO] [stdout] | [INFO] [stdout] 5558 | fn serialize(params: &mut Params, name: &str, obj: &Vec) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#ptr_arg [INFO] [stdout] help: change this to [INFO] [stdout] | [INFO] [stdout] 5558 - fn serialize(params: &mut Params, name: &str, obj: &Vec) { [INFO] [stdout] 5558 + fn serialize(params: &mut Params, name: &str, obj: &[String]) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the borrowed expression implements the required traits [INFO] [stdout] --> src/generated.rs:5561:30 [INFO] [stdout] | [INFO] [stdout] 5561 | params.put(&key, &obj); [INFO] [stdout] | ^^^^ help: change this to: `obj` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: comparison to empty slice [INFO] [stdout] --> src/generated.rs:5703:12 [INFO] [stdout] | [INFO] [stdout] 5703 | if prefix != "" { [INFO] [stdout] | ^^^^^^^^^^^^ help: using `!is_empty` is clearer and more explicit: `!prefix.is_empty()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#comparison_to_empty [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calling `push_str()` using a single-character string literal [INFO] [stdout] --> src/generated.rs:5704:13 [INFO] [stdout] | [INFO] [stdout] 5704 | prefix.push_str("."); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: consider using `push` with a character literal: `prefix.push('.')` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#single_char_add_str [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the borrowed expression implements the required traits [INFO] [stdout] --> src/generated.rs:5712:67 [INFO] [stdout] | [INFO] [stdout] 5712 | params.put(&format!("{}{}", prefix, "DefaultResult"), &field_value); [INFO] [stdout] | ^^^^^^^^^^^^ help: change this to: `field_value` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the borrowed expression implements the required traits [INFO] [stdout] --> src/generated.rs:5715:70 [INFO] [stdout] | [INFO] [stdout] 5715 | params.put(&format!("{}{}", prefix, "HeartbeatTimeout"), &field_value); [INFO] [stdout] | ^^^^^^^^^^^^ help: change this to: `field_value` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the borrowed expression implements the required traits [INFO] [stdout] --> src/generated.rs:5724:17 [INFO] [stdout] | [INFO] [stdout] 5724 | &field_value, [INFO] [stdout] | ^^^^^^^^^^^^ help: change this to: `field_value` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the borrowed expression implements the required traits [INFO] [stdout] --> src/generated.rs:5730:17 [INFO] [stdout] | [INFO] [stdout] 5730 | &field_value, [INFO] [stdout] | ^^^^^^^^^^^^ help: change this to: `field_value` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the borrowed expression implements the required traits [INFO] [stdout] --> src/generated.rs:5736:17 [INFO] [stdout] | [INFO] [stdout] 5736 | &field_value, [INFO] [stdout] | ^^^^^^^^^^^^ help: change this to: `field_value` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the borrowed expression implements the required traits [INFO] [stdout] --> src/generated.rs:5740:61 [INFO] [stdout] | [INFO] [stdout] 5740 | params.put(&format!("{}{}", prefix, "RoleARN"), &field_value); [INFO] [stdout] | ^^^^^^^^^^^^ help: change this to: `field_value` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: comparison to empty slice [INFO] [stdout] --> src/generated.rs:5761:12 [INFO] [stdout] | [INFO] [stdout] 5761 | if prefix != "" { [INFO] [stdout] | ^^^^^^^^^^^^ help: using `!is_empty` is clearer and more explicit: `!prefix.is_empty()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#comparison_to_empty [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calling `push_str()` using a single-character string literal [INFO] [stdout] --> src/generated.rs:5762:13 [INFO] [stdout] | [INFO] [stdout] 5762 | prefix.push_str("."); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: consider using `push` with a character literal: `prefix.push('.')` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#single_char_add_str [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: comparison to empty slice [INFO] [stdout] --> src/generated.rs:5814:12 [INFO] [stdout] | [INFO] [stdout] 5814 | if prefix != "" { [INFO] [stdout] | ^^^^^^^^^^^^ help: using `!is_empty` is clearer and more explicit: `!prefix.is_empty()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#comparison_to_empty [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calling `push_str()` using a single-character string literal [INFO] [stdout] --> src/generated.rs:5815:13 [INFO] [stdout] | [INFO] [stdout] 5815 | prefix.push_str("."); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: consider using `push` with a character literal: `prefix.push('.')` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#single_char_add_str [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the borrowed expression implements the required traits [INFO] [stdout] --> src/generated.rs:5819:68 [INFO] [stdout] | [INFO] [stdout] 5819 | params.put(&format!("{}{}", prefix, "AdjustmentType"), &field_value); [INFO] [stdout] | ^^^^^^^^^^^^ help: change this to: `field_value` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the borrowed expression implements the required traits [INFO] [stdout] --> src/generated.rs:5826:62 [INFO] [stdout] | [INFO] [stdout] 5826 | params.put(&format!("{}{}", prefix, "Cooldown"), &field_value); [INFO] [stdout] | ^^^^^^^^^^^^ help: change this to: `field_value` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the borrowed expression implements the required traits [INFO] [stdout] --> src/generated.rs:5829:61 [INFO] [stdout] | [INFO] [stdout] 5829 | params.put(&format!("{}{}", prefix, "Enabled"), &field_value); [INFO] [stdout] | ^^^^^^^^^^^^ help: change this to: `field_value` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the borrowed expression implements the required traits [INFO] [stdout] --> src/generated.rs:5834:17 [INFO] [stdout] | [INFO] [stdout] 5834 | &field_value, [INFO] [stdout] | ^^^^^^^^^^^^ help: change this to: `field_value` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the borrowed expression implements the required traits [INFO] [stdout] --> src/generated.rs:5840:17 [INFO] [stdout] | [INFO] [stdout] 5840 | &field_value, [INFO] [stdout] | ^^^^^^^^^^^^ help: change this to: `field_value` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the borrowed expression implements the required traits [INFO] [stdout] --> src/generated.rs:5846:17 [INFO] [stdout] | [INFO] [stdout] 5846 | &field_value, [INFO] [stdout] | ^^^^^^^^^^^^ help: change this to: `field_value` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the borrowed expression implements the required traits [INFO] [stdout] --> src/generated.rs:5850:71 [INFO] [stdout] | [INFO] [stdout] 5850 | params.put(&format!("{}{}", prefix, "MinAdjustmentStep"), &field_value); [INFO] [stdout] | ^^^^^^^^^^^^ help: change this to: `field_value` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the borrowed expression implements the required traits [INFO] [stdout] --> src/generated.rs:5854:64 [INFO] [stdout] | [INFO] [stdout] 5854 | params.put(&format!("{}{}", prefix, "PolicyType"), &field_value); [INFO] [stdout] | ^^^^^^^^^^^^ help: change this to: `field_value` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the borrowed expression implements the required traits [INFO] [stdout] --> src/generated.rs:5857:71 [INFO] [stdout] | [INFO] [stdout] 5857 | params.put(&format!("{}{}", prefix, "ScalingAdjustment"), &field_value); [INFO] [stdout] | ^^^^^^^^^^^^ help: change this to: `field_value` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: comparison to empty slice [INFO] [stdout] --> src/generated.rs:5904:12 [INFO] [stdout] | [INFO] [stdout] 5904 | if prefix != "" { [INFO] [stdout] | ^^^^^^^^^^^^ help: using `!is_empty` is clearer and more explicit: `!prefix.is_empty()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#comparison_to_empty [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calling `push_str()` using a single-character string literal [INFO] [stdout] --> src/generated.rs:5905:13 [INFO] [stdout] | [INFO] [stdout] 5905 | prefix.push_str("."); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: consider using `push` with a character literal: `prefix.push('.')` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#single_char_add_str [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the borrowed expression implements the required traits [INFO] [stdout] --> src/generated.rs:5913:69 [INFO] [stdout] | [INFO] [stdout] 5913 | params.put(&format!("{}{}", prefix, "DesiredCapacity"), &field_value); [INFO] [stdout] | ^^^^^^^^^^^^ help: change this to: `field_value` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the borrowed expression implements the required traits [INFO] [stdout] --> src/generated.rs:5916:61 [INFO] [stdout] | [INFO] [stdout] 5916 | params.put(&format!("{}{}", prefix, "EndTime"), &field_value); [INFO] [stdout] | ^^^^^^^^^^^^ help: change this to: `field_value` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the borrowed expression implements the required traits [INFO] [stdout] --> src/generated.rs:5919:61 [INFO] [stdout] | [INFO] [stdout] 5919 | params.put(&format!("{}{}", prefix, "MaxSize"), &field_value); [INFO] [stdout] | ^^^^^^^^^^^^ help: change this to: `field_value` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the borrowed expression implements the required traits [INFO] [stdout] --> src/generated.rs:5922:61 [INFO] [stdout] | [INFO] [stdout] 5922 | params.put(&format!("{}{}", prefix, "MinSize"), &field_value); [INFO] [stdout] | ^^^^^^^^^^^^ help: change this to: `field_value` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the borrowed expression implements the required traits [INFO] [stdout] --> src/generated.rs:5925:64 [INFO] [stdout] | [INFO] [stdout] 5925 | params.put(&format!("{}{}", prefix, "Recurrence"), &field_value); [INFO] [stdout] | ^^^^^^^^^^^^ help: change this to: `field_value` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the borrowed expression implements the required traits [INFO] [stdout] --> src/generated.rs:5932:63 [INFO] [stdout] | [INFO] [stdout] 5932 | params.put(&format!("{}{}", prefix, "StartTime"), &field_value); [INFO] [stdout] | ^^^^^^^^^^^^ help: change this to: `field_value` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the borrowed expression implements the required traits [INFO] [stdout] --> src/generated.rs:5935:58 [INFO] [stdout] | [INFO] [stdout] 5935 | params.put(&format!("{}{}", prefix, "Time"), &field_value); [INFO] [stdout] | ^^^^^^^^^^^^ help: change this to: `field_value` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: comparison to empty slice [INFO] [stdout] --> src/generated.rs:5979:12 [INFO] [stdout] | [INFO] [stdout] 5979 | if prefix != "" { [INFO] [stdout] | ^^^^^^^^^^^^ help: using `!is_empty` is clearer and more explicit: `!prefix.is_empty()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#comparison_to_empty [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calling `push_str()` using a single-character string literal [INFO] [stdout] --> src/generated.rs:5980:13 [INFO] [stdout] | [INFO] [stdout] 5980 | prefix.push_str("."); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: consider using `push` with a character literal: `prefix.push('.')` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#single_char_add_str [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: writing `&Vec` instead of `&[_]` involves a new object where a slice will do [INFO] [stdout] --> src/generated.rs:195:56 [INFO] [stdout] | [INFO] [stdout] 195 | fn serialize(params: &mut Params, name: &str, obj: &Vec) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#ptr_arg [INFO] [stdout] = note: `#[warn(clippy::ptr_arg)]` on by default [INFO] [stdout] help: change this to [INFO] [stdout] | [INFO] [stdout] 195 - fn serialize(params: &mut Params, name: &str, obj: &Vec) { [INFO] [stdout] 195 + fn serialize(params: &mut Params, name: &str, obj: &[String]) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the borrowed expression implements the required traits [INFO] [stdout] --> src/generated.rs:198:30 [INFO] [stdout] | [INFO] [stdout] 198 | params.put(&key, &obj); [INFO] [stdout] | ^^^^ help: change this to: `obj` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args [INFO] [stdout] = note: `#[warn(clippy::needless_borrows_for_generic_args)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the borrowed expression implements the required traits [INFO] [stdout] --> src/generated.rs:5988:64 [INFO] [stdout] | [INFO] [stdout] 5988 | params.put(&format!("{}{}", prefix, "InstanceId"), &field_value); [INFO] [stdout] | ^^^^^^^^^^^^ help: change this to: `field_value` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the borrowed expression implements the required traits [INFO] [stdout] --> src/generated.rs:5993:17 [INFO] [stdout] | [INFO] [stdout] 5993 | &field_value, [INFO] [stdout] | ^^^^^^^^^^^^ help: change this to: `field_value` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: comparison to empty slice [INFO] [stdout] --> src/generated.rs:6018:12 [INFO] [stdout] | [INFO] [stdout] 6018 | if prefix != "" { [INFO] [stdout] | ^^^^^^^^^^^^ help: using `!is_empty` is clearer and more explicit: `!prefix.is_empty()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#comparison_to_empty [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calling `push_str()` using a single-character string literal [INFO] [stdout] --> src/generated.rs:6019:13 [INFO] [stdout] | [INFO] [stdout] 6019 | prefix.push_str("."); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: consider using `push` with a character literal: `prefix.push('.')` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#single_char_add_str [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the borrowed expression implements the required traits [INFO] [stdout] --> src/generated.rs:6023:68 [INFO] [stdout] | [INFO] [stdout] 6023 | params.put(&format!("{}{}", prefix, "InstanceWarmup"), &field_value); [INFO] [stdout] | ^^^^^^^^^^^^ help: change this to: `field_value` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the borrowed expression implements the required traits [INFO] [stdout] --> src/generated.rs:6028:17 [INFO] [stdout] | [INFO] [stdout] 6028 | &field_value, [INFO] [stdout] | ^^^^^^^^^^^^ help: change this to: `field_value` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: comparison to empty slice [INFO] [stdout] --> src/generated.rs:357:12 [INFO] [stdout] | [INFO] [stdout] 357 | if prefix != "" { [INFO] [stdout] | ^^^^^^^^^^^^ help: using `!is_empty` is clearer and more explicit: `!prefix.is_empty()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#comparison_to_empty [INFO] [stdout] = note: `#[warn(clippy::comparison_to_empty)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calling `push_str()` using a single-character string literal [INFO] [stdout] --> src/generated.rs:358:13 [INFO] [stdout] | [INFO] [stdout] 358 | prefix.push_str("."); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: consider using `push` with a character literal: `prefix.push('.')` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#single_char_add_str [INFO] [stdout] = note: `#[warn(clippy::single_char_add_str)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: comparison to empty slice [INFO] [stdout] --> src/generated.rs:410:12 [INFO] [stdout] | [INFO] [stdout] 410 | if prefix != "" { [INFO] [stdout] | ^^^^^^^^^^^^ help: using `!is_empty` is clearer and more explicit: `!prefix.is_empty()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#comparison_to_empty [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calling `push_str()` using a single-character string literal [INFO] [stdout] --> src/generated.rs:411:13 [INFO] [stdout] | [INFO] [stdout] 411 | prefix.push_str("."); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: consider using `push` with a character literal: `prefix.push('.')` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#single_char_add_str [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: comparison to empty slice [INFO] [stdout] --> src/generated.rs:6226:12 [INFO] [stdout] | [INFO] [stdout] 6226 | if prefix != "" { [INFO] [stdout] | ^^^^^^^^^^^^ help: using `!is_empty` is clearer and more explicit: `!prefix.is_empty()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#comparison_to_empty [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calling `push_str()` using a single-character string literal [INFO] [stdout] --> src/generated.rs:6227:13 [INFO] [stdout] | [INFO] [stdout] 6227 | prefix.push_str("."); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: consider using `push` with a character literal: `prefix.push('.')` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#single_char_add_str [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: writing `&Vec` instead of `&[_]` involves a new object where a slice will do [INFO] [stdout] --> src/generated.rs:6247:56 [INFO] [stdout] | [INFO] [stdout] 6247 | fn serialize(params: &mut Params, name: &str, obj: &Vec) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#ptr_arg [INFO] [stdout] help: change this to [INFO] [stdout] | [INFO] [stdout] 6247 - fn serialize(params: &mut Params, name: &str, obj: &Vec) { [INFO] [stdout] 6247 + fn serialize(params: &mut Params, name: &str, obj: &[String]) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: comparison to empty slice [INFO] [stdout] --> src/generated.rs:461:12 [INFO] [stdout] | [INFO] [stdout] 461 | if prefix != "" { [INFO] [stdout] | ^^^^^^^^^^^^ help: using `!is_empty` is clearer and more explicit: `!prefix.is_empty()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#comparison_to_empty [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calling `push_str()` using a single-character string literal [INFO] [stdout] --> src/generated.rs:462:13 [INFO] [stdout] | [INFO] [stdout] 462 | prefix.push_str("."); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: consider using `push` with a character literal: `prefix.push('.')` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#single_char_add_str [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the borrowed expression implements the required traits [INFO] [stdout] --> src/generated.rs:6250:30 [INFO] [stdout] | [INFO] [stdout] 6250 | params.put(&key, &obj); [INFO] [stdout] | ^^^^ help: change this to: `obj` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: comparison to empty slice [INFO] [stdout] --> src/generated.rs:6416:12 [INFO] [stdout] | [INFO] [stdout] 6416 | if prefix != "" { [INFO] [stdout] | ^^^^^^^^^^^^ help: using `!is_empty` is clearer and more explicit: `!prefix.is_empty()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#comparison_to_empty [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calling `push_str()` using a single-character string literal [INFO] [stdout] --> src/generated.rs:6417:13 [INFO] [stdout] | [INFO] [stdout] 6417 | prefix.push_str("."); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: consider using `push` with a character literal: `prefix.push('.')` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#single_char_add_str [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the borrowed expression implements the required traits [INFO] [stdout] --> src/generated.rs:6421:69 [INFO] [stdout] | [INFO] [stdout] 6421 | params.put(&format!("{}{}", prefix, "DesiredCapacity"), &field_value); [INFO] [stdout] | ^^^^^^^^^^^^ help: change this to: `field_value` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the borrowed expression implements the required traits [INFO] [stdout] --> src/generated.rs:6424:61 [INFO] [stdout] | [INFO] [stdout] 6424 | params.put(&format!("{}{}", prefix, "EndTime"), &field_value); [INFO] [stdout] | ^^^^^^^^^^^^ help: change this to: `field_value` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the borrowed expression implements the required traits [INFO] [stdout] --> src/generated.rs:6427:61 [INFO] [stdout] | [INFO] [stdout] 6427 | params.put(&format!("{}{}", prefix, "MaxSize"), &field_value); [INFO] [stdout] | ^^^^^^^^^^^^ help: change this to: `field_value` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the borrowed expression implements the required traits [INFO] [stdout] --> src/generated.rs:6430:61 [INFO] [stdout] | [INFO] [stdout] 6430 | params.put(&format!("{}{}", prefix, "MinSize"), &field_value); [INFO] [stdout] | ^^^^^^^^^^^^ help: change this to: `field_value` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the borrowed expression implements the required traits [INFO] [stdout] --> src/generated.rs:6433:64 [INFO] [stdout] | [INFO] [stdout] 6433 | params.put(&format!("{}{}", prefix, "Recurrence"), &field_value); [INFO] [stdout] | ^^^^^^^^^^^^ help: change this to: `field_value` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the borrowed expression implements the required traits [INFO] [stdout] --> src/generated.rs:6440:63 [INFO] [stdout] | [INFO] [stdout] 6440 | params.put(&format!("{}{}", prefix, "StartTime"), &field_value); [INFO] [stdout] | ^^^^^^^^^^^^ help: change this to: `field_value` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: writing `&Vec` instead of `&[_]` involves a new object where a slice will do [INFO] [stdout] --> src/generated.rs:6448:56 [INFO] [stdout] | [INFO] [stdout] 6448 | fn serialize(params: &mut Params, name: &str, obj: &Vec) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#ptr_arg [INFO] [stdout] help: change this to [INFO] [stdout] | [INFO] [stdout] 6448 - fn serialize(params: &mut Params, name: &str, obj: &Vec) { [INFO] [stdout] 6448 + fn serialize(params: &mut Params, name: &str, obj: &[ScheduledUpdateGroupActionRequest]) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: writing `&Vec` instead of `&[_]` involves a new object where a slice will do [INFO] [stdout] --> src/generated.rs:722:56 [INFO] [stdout] | [INFO] [stdout] 722 | fn serialize(params: &mut Params, name: &str, obj: &Vec) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#ptr_arg [INFO] [stdout] help: change this to [INFO] [stdout] | [INFO] [stdout] 722 - fn serialize(params: &mut Params, name: &str, obj: &Vec) { [INFO] [stdout] 722 + fn serialize(params: &mut Params, name: &str, obj: &[String]) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the borrowed expression implements the required traits [INFO] [stdout] --> src/generated.rs:725:30 [INFO] [stdout] | [INFO] [stdout] 725 | params.put(&key, &obj); [INFO] [stdout] | ^^^^ help: change this to: `obj` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: writing `&Vec` instead of `&[_]` involves a new object where a slice will do [INFO] [stdout] --> src/generated.rs:6498:56 [INFO] [stdout] | [INFO] [stdout] 6498 | fn serialize(params: &mut Params, name: &str, obj: &Vec) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#ptr_arg [INFO] [stdout] help: change this to [INFO] [stdout] | [INFO] [stdout] 6498 - fn serialize(params: &mut Params, name: &str, obj: &Vec) { [INFO] [stdout] 6498 + fn serialize(params: &mut Params, name: &str, obj: &[String]) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the borrowed expression implements the required traits [INFO] [stdout] --> src/generated.rs:6501:30 [INFO] [stdout] | [INFO] [stdout] 6501 | params.put(&key, &obj); [INFO] [stdout] | ^^^^ help: change this to: `obj` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: comparison to empty slice [INFO] [stdout] --> src/generated.rs:746:12 [INFO] [stdout] | [INFO] [stdout] 746 | if prefix != "" { [INFO] [stdout] | ^^^^^^^^^^^^ help: using `!is_empty` is clearer and more explicit: `!prefix.is_empty()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#comparison_to_empty [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calling `push_str()` using a single-character string literal [INFO] [stdout] --> src/generated.rs:747:13 [INFO] [stdout] | [INFO] [stdout] 747 | prefix.push_str("."); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: consider using `push` with a character literal: `prefix.push('.')` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#single_char_add_str [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: comparison to empty slice [INFO] [stdout] --> src/generated.rs:6522:12 [INFO] [stdout] | [INFO] [stdout] 6522 | if prefix != "" { [INFO] [stdout] | ^^^^^^^^^^^^ help: using `!is_empty` is clearer and more explicit: `!prefix.is_empty()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#comparison_to_empty [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calling `push_str()` using a single-character string literal [INFO] [stdout] --> src/generated.rs:6523:13 [INFO] [stdout] | [INFO] [stdout] 6523 | prefix.push_str("."); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: consider using `push` with a character literal: `prefix.push('.')` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#single_char_add_str [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the borrowed expression implements the required traits [INFO] [stdout] --> src/generated.rs:758:64 [INFO] [stdout] | [INFO] [stdout] 758 | params.put(&format!("{}{}", prefix, "MaxRecords"), &field_value); [INFO] [stdout] | ^^^^^^^^^^^^ help: change this to: `field_value` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the borrowed expression implements the required traits [INFO] [stdout] --> src/generated.rs:761:63 [INFO] [stdout] | [INFO] [stdout] 761 | params.put(&format!("{}{}", prefix, "NextToken"), &field_value); [INFO] [stdout] | ^^^^^^^^^^^^ help: change this to: `field_value` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the borrowed expression implements the required traits [INFO] [stdout] --> src/generated.rs:6532:13 [INFO] [stdout] | [INFO] [stdout] 6532 | &obj.desired_capacity, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: change this to: `obj.desired_capacity` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the borrowed expression implements the required traits [INFO] [stdout] --> src/generated.rs:6535:67 [INFO] [stdout] | [INFO] [stdout] 6535 | params.put(&format!("{}{}", prefix, "HonorCooldown"), &field_value); [INFO] [stdout] | ^^^^^^^^^^^^ help: change this to: `field_value` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: comparison to empty slice [INFO] [stdout] --> src/generated.rs:6556:12 [INFO] [stdout] | [INFO] [stdout] 6556 | if prefix != "" { [INFO] [stdout] | ^^^^^^^^^^^^ help: using `!is_empty` is clearer and more explicit: `!prefix.is_empty()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#comparison_to_empty [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calling `push_str()` using a single-character string literal [INFO] [stdout] --> src/generated.rs:6557:13 [INFO] [stdout] | [INFO] [stdout] 6557 | prefix.push_str("."); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: consider using `push` with a character literal: `prefix.push('.')` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#single_char_add_str [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the borrowed expression implements the required traits [INFO] [stdout] --> src/generated.rs:6565:17 [INFO] [stdout] | [INFO] [stdout] 6565 | &field_value, [INFO] [stdout] | ^^^^^^^^^^^^ help: change this to: `field_value` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: comparison to empty slice [INFO] [stdout] --> src/generated.rs:6608:12 [INFO] [stdout] | [INFO] [stdout] 6608 | if prefix != "" { [INFO] [stdout] | ^^^^^^^^^^^^ help: using `!is_empty` is clearer and more explicit: `!prefix.is_empty()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#comparison_to_empty [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calling `push_str()` using a single-character string literal [INFO] [stdout] --> src/generated.rs:6609:13 [INFO] [stdout] | [INFO] [stdout] 6609 | prefix.push_str("."); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: consider using `push` with a character literal: `prefix.push('.')` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#single_char_add_str [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the borrowed expression implements the required traits [INFO] [stdout] --> src/generated.rs:6623:13 [INFO] [stdout] | [INFO] [stdout] 6623 | &obj.protected_from_scale_in, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: change this to: `obj.protected_from_scale_in` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: comparison to empty slice [INFO] [stdout] --> src/generated.rs:6694:12 [INFO] [stdout] | [INFO] [stdout] 6694 | if prefix != "" { [INFO] [stdout] | ^^^^^^^^^^^^ help: using `!is_empty` is clearer and more explicit: `!prefix.is_empty()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#comparison_to_empty [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calling `push_str()` using a single-character string literal [INFO] [stdout] --> src/generated.rs:6695:13 [INFO] [stdout] | [INFO] [stdout] 6695 | prefix.push_str("."); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: consider using `push` with a character literal: `prefix.push('.')` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#single_char_add_str [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: writing `&Vec` instead of `&[_]` involves a new object where a slice will do [INFO] [stdout] --> src/generated.rs:1004:56 [INFO] [stdout] | [INFO] [stdout] 1004 | fn serialize(params: &mut Params, name: &str, obj: &Vec) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#ptr_arg [INFO] [stdout] help: change this to [INFO] [stdout] | [INFO] [stdout] 1004 - fn serialize(params: &mut Params, name: &str, obj: &Vec) { [INFO] [stdout] 1004 + fn serialize(params: &mut Params, name: &str, obj: &[String]) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the borrowed expression implements the required traits [INFO] [stdout] --> src/generated.rs:1007:30 [INFO] [stdout] | [INFO] [stdout] 1007 | params.put(&key, &obj); [INFO] [stdout] | ^^^^ help: change this to: `obj` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the borrowed expression implements the required traits [INFO] [stdout] --> src/generated.rs:6710:62 [INFO] [stdout] | [INFO] [stdout] 6710 | params.put(&format!("{}{}", prefix, "Strategy"), &field_value); [INFO] [stdout] | ^^^^^^^^^^^^ help: change this to: `field_value` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: writing `&Vec` instead of `&[_]` involves a new object where a slice will do [INFO] [stdout] --> src/generated.rs:1036:56 [INFO] [stdout] | [INFO] [stdout] 1036 | fn serialize(params: &mut Params, name: &str, obj: &Vec) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#ptr_arg [INFO] [stdout] help: change this to [INFO] [stdout] | [INFO] [stdout] 1036 - fn serialize(params: &mut Params, name: &str, obj: &Vec) { [INFO] [stdout] 1036 + fn serialize(params: &mut Params, name: &str, obj: &[String]) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the borrowed expression implements the required traits [INFO] [stdout] --> src/generated.rs:1039:30 [INFO] [stdout] | [INFO] [stdout] 1039 | params.put(&key, &obj); [INFO] [stdout] | ^^^^ help: change this to: `obj` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: comparison to empty slice [INFO] [stdout] --> src/generated.rs:6766:12 [INFO] [stdout] | [INFO] [stdout] 6766 | if prefix != "" { [INFO] [stdout] | ^^^^^^^^^^^^ help: using `!is_empty` is clearer and more explicit: `!prefix.is_empty()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#comparison_to_empty [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: comparison to empty slice [INFO] [stdout] --> src/generated.rs:1093:12 [INFO] [stdout] | [INFO] [stdout] 1093 | if prefix != "" { [INFO] [stdout] | ^^^^^^^^^^^^ help: using `!is_empty` is clearer and more explicit: `!prefix.is_empty()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#comparison_to_empty [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calling `push_str()` using a single-character string literal [INFO] [stdout] --> src/generated.rs:6767:13 [INFO] [stdout] | [INFO] [stdout] 6767 | prefix.push_str("."); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: consider using `push` with a character literal: `prefix.push('.')` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#single_char_add_str [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the borrowed expression implements the required traits [INFO] [stdout] --> src/generated.rs:6773:17 [INFO] [stdout] | [INFO] [stdout] 6773 | &field_value, [INFO] [stdout] | ^^^^^^^^^^^^ help: change this to: `field_value` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calling `push_str()` using a single-character string literal [INFO] [stdout] --> src/generated.rs:1094:13 [INFO] [stdout] | [INFO] [stdout] 1094 | prefix.push_str("."); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: consider using `push` with a character literal: `prefix.push('.')` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#single_char_add_str [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the borrowed expression implements the required traits [INFO] [stdout] --> src/generated.rs:6779:17 [INFO] [stdout] | [INFO] [stdout] 6779 | &field_value, [INFO] [stdout] | ^^^^^^^^^^^^ help: change this to: `field_value` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the borrowed expression implements the required traits [INFO] [stdout] --> src/generated.rs:6784:13 [INFO] [stdout] | [INFO] [stdout] 6784 | &obj.scaling_adjustment, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ help: change this to: `obj.scaling_adjustment` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: comparison to empty slice [INFO] [stdout] --> src/generated.rs:1160:12 [INFO] [stdout] | [INFO] [stdout] 1160 | if prefix != "" { [INFO] [stdout] | ^^^^^^^^^^^^ help: using `!is_empty` is clearer and more explicit: `!prefix.is_empty()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#comparison_to_empty [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: writing `&Vec` instead of `&[_]` involves a new object where a slice will do [INFO] [stdout] --> src/generated.rs:6811:56 [INFO] [stdout] | [INFO] [stdout] 6811 | fn serialize(params: &mut Params, name: &str, obj: &Vec) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#ptr_arg [INFO] [stdout] help: change this to [INFO] [stdout] | [INFO] [stdout] 6811 - fn serialize(params: &mut Params, name: &str, obj: &Vec) { [INFO] [stdout] 6811 + fn serialize(params: &mut Params, name: &str, obj: &[StepAdjustment]) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calling `push_str()` using a single-character string literal [INFO] [stdout] --> src/generated.rs:1161:13 [INFO] [stdout] | [INFO] [stdout] 1161 | prefix.push_str("."); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: consider using `push` with a character literal: `prefix.push('.')` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#single_char_add_str [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: comparison to empty slice [INFO] [stdout] --> src/generated.rs:6896:12 [INFO] [stdout] | [INFO] [stdout] 6896 | if prefix != "" { [INFO] [stdout] | ^^^^^^^^^^^^ help: using `!is_empty` is clearer and more explicit: `!prefix.is_empty()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#comparison_to_empty [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: comparison to empty slice [INFO] [stdout] --> src/generated.rs:1269:12 [INFO] [stdout] | [INFO] [stdout] 1269 | if prefix != "" { [INFO] [stdout] | ^^^^^^^^^^^^ help: using `!is_empty` is clearer and more explicit: `!prefix.is_empty()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#comparison_to_empty [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calling `push_str()` using a single-character string literal [INFO] [stdout] --> src/generated.rs:6897:13 [INFO] [stdout] | [INFO] [stdout] 6897 | prefix.push_str("."); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: consider using `push` with a character literal: `prefix.push('.')` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#single_char_add_str [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calling `push_str()` using a single-character string literal [INFO] [stdout] --> src/generated.rs:1270:13 [INFO] [stdout] | [INFO] [stdout] 1270 | prefix.push_str("."); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: consider using `push` with a character literal: `prefix.push('.')` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#single_char_add_str [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the borrowed expression implements the required traits [INFO] [stdout] --> src/generated.rs:6902:71 [INFO] [stdout] | [INFO] [stdout] 6902 | params.put(&format!("{}{}", prefix, "PropagateAtLaunch"), &field_value); [INFO] [stdout] | ^^^^^^^^^^^^ help: change this to: `field_value` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the borrowed expression implements the required traits [INFO] [stdout] --> src/generated.rs:1278:62 [INFO] [stdout] | [INFO] [stdout] 1278 | params.put(&format!("{}{}", prefix, "NoDevice"), &field_value); [INFO] [stdout] | ^^^^^^^^^^^^ help: change this to: `field_value` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the borrowed expression implements the required traits [INFO] [stdout] --> src/generated.rs:6905:64 [INFO] [stdout] | [INFO] [stdout] 6905 | params.put(&format!("{}{}", prefix, "ResourceId"), &field_value); [INFO] [stdout] | ^^^^^^^^^^^^ help: change this to: `field_value` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the borrowed expression implements the required traits [INFO] [stdout] --> src/generated.rs:1281:65 [INFO] [stdout] | [INFO] [stdout] 1281 | params.put(&format!("{}{}", prefix, "VirtualName"), &field_value); [INFO] [stdout] | ^^^^^^^^^^^^ help: change this to: `field_value` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the borrowed expression implements the required traits [INFO] [stdout] --> src/generated.rs:6908:66 [INFO] [stdout] | [INFO] [stdout] 6908 | params.put(&format!("{}{}", prefix, "ResourceType"), &field_value); [INFO] [stdout] | ^^^^^^^^^^^^ help: change this to: `field_value` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the borrowed expression implements the required traits [INFO] [stdout] --> src/generated.rs:6911:59 [INFO] [stdout] | [INFO] [stdout] 6911 | params.put(&format!("{}{}", prefix, "Value"), &field_value); [INFO] [stdout] | ^^^^^^^^^^^^ help: change this to: `field_value` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: writing `&Vec` instead of `&[_]` involves a new object where a slice will do [INFO] [stdout] --> src/generated.rs:1310:56 [INFO] [stdout] | [INFO] [stdout] 1310 | fn serialize(params: &mut Params, name: &str, obj: &Vec) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#ptr_arg [INFO] [stdout] help: change this to [INFO] [stdout] | [INFO] [stdout] 1310 - fn serialize(params: &mut Params, name: &str, obj: &Vec) { [INFO] [stdout] 1310 + fn serialize(params: &mut Params, name: &str, obj: &[BlockDeviceMapping]) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: writing `&Vec` instead of `&[_]` involves a new object where a slice will do [INFO] [stdout] --> src/generated.rs:7006:56 [INFO] [stdout] | [INFO] [stdout] 7006 | fn serialize(params: &mut Params, name: &str, obj: &Vec) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#ptr_arg [INFO] [stdout] help: change this to [INFO] [stdout] | [INFO] [stdout] 7006 - fn serialize(params: &mut Params, name: &str, obj: &Vec) { [INFO] [stdout] 7006 + fn serialize(params: &mut Params, name: &str, obj: &[Tag]) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: writing `&Vec` instead of `&[_]` involves a new object where a slice will do [INFO] [stdout] --> src/generated.rs:7071:56 [INFO] [stdout] | [INFO] [stdout] 7071 | fn serialize(params: &mut Params, name: &str, obj: &Vec) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#ptr_arg [INFO] [stdout] help: change this to [INFO] [stdout] | [INFO] [stdout] 7071 - fn serialize(params: &mut Params, name: &str, obj: &Vec) { [INFO] [stdout] 7071 + fn serialize(params: &mut Params, name: &str, obj: &[String]) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: comparison to empty slice [INFO] [stdout] --> src/generated.rs:1364:12 [INFO] [stdout] | [INFO] [stdout] 1364 | if prefix != "" { [INFO] [stdout] | ^^^^^^^^^^^^ help: using `!is_empty` is clearer and more explicit: `!prefix.is_empty()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#comparison_to_empty [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the borrowed expression implements the required traits [INFO] [stdout] --> src/generated.rs:7074:30 [INFO] [stdout] | [INFO] [stdout] 7074 | params.put(&key, &obj); [INFO] [stdout] | ^^^^ help: change this to: `obj` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calling `push_str()` using a single-character string literal [INFO] [stdout] --> src/generated.rs:1365:13 [INFO] [stdout] | [INFO] [stdout] 1365 | prefix.push_str("."); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: consider using `push` with a character literal: `prefix.push('.')` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#single_char_add_str [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: comparison to empty slice [INFO] [stdout] --> src/generated.rs:7144:12 [INFO] [stdout] | [INFO] [stdout] 7144 | if prefix != "" { [INFO] [stdout] | ^^^^^^^^^^^^ help: using `!is_empty` is clearer and more explicit: `!prefix.is_empty()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#comparison_to_empty [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calling `push_str()` using a single-character string literal [INFO] [stdout] --> src/generated.rs:7145:13 [INFO] [stdout] | [INFO] [stdout] 7145 | prefix.push_str("."); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: consider using `push` with a character literal: `prefix.push('.')` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#single_char_add_str [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: writing `&Vec` instead of `&[_]` involves a new object where a slice will do [INFO] [stdout] --> src/generated.rs:1399:56 [INFO] [stdout] | [INFO] [stdout] 1399 | fn serialize(params: &mut Params, name: &str, obj: &Vec) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#ptr_arg [INFO] [stdout] help: change this to [INFO] [stdout] | [INFO] [stdout] 1399 - fn serialize(params: &mut Params, name: &str, obj: &Vec) { [INFO] [stdout] 1399 + fn serialize(params: &mut Params, name: &str, obj: &[String]) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the borrowed expression implements the required traits [INFO] [stdout] --> src/generated.rs:7156:68 [INFO] [stdout] | [INFO] [stdout] 7156 | params.put(&format!("{}{}", prefix, "DisableScaleIn"), &field_value); [INFO] [stdout] | ^^^^^^^^^^^^ help: change this to: `field_value` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the borrowed expression implements the required traits [INFO] [stdout] --> src/generated.rs:1402:30 [INFO] [stdout] | [INFO] [stdout] 1402 | params.put(&key, &obj); [INFO] [stdout] | ^^^^ help: change this to: `obj` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the borrowed expression implements the required traits [INFO] [stdout] --> src/generated.rs:7165:61 [INFO] [stdout] | [INFO] [stdout] 7165 | params.put(&format!("{}{}", prefix, "TargetValue"), &obj.target_value); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: change this to: `obj.target_value` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: comparison to empty slice [INFO] [stdout] --> src/generated.rs:1448:12 [INFO] [stdout] | [INFO] [stdout] 1448 | if prefix != "" { [INFO] [stdout] | ^^^^^^^^^^^^ help: using `!is_empty` is clearer and more explicit: `!prefix.is_empty()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#comparison_to_empty [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: comparison to empty slice [INFO] [stdout] --> src/generated.rs:7183:12 [INFO] [stdout] | [INFO] [stdout] 7183 | if prefix != "" { [INFO] [stdout] | ^^^^^^^^^^^^ help: using `!is_empty` is clearer and more explicit: `!prefix.is_empty()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#comparison_to_empty [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calling `push_str()` using a single-character string literal [INFO] [stdout] --> src/generated.rs:1449:13 [INFO] [stdout] | [INFO] [stdout] 1449 | prefix.push_str("."); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: consider using `push` with a character literal: `prefix.push('.')` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#single_char_add_str [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calling `push_str()` using a single-character string literal [INFO] [stdout] --> src/generated.rs:7184:13 [INFO] [stdout] | [INFO] [stdout] 7184 | prefix.push_str("."); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: consider using `push` with a character literal: `prefix.push('.')` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#single_char_add_str [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the borrowed expression implements the required traits [INFO] [stdout] --> src/generated.rs:7190:13 [INFO] [stdout] | [INFO] [stdout] 7190 | &obj.should_decrement_desired_capacity, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: change this to: `obj.should_decrement_desired_capacity` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the borrowed expression implements the required traits [INFO] [stdout] --> src/generated.rs:1457:64 [INFO] [stdout] | [INFO] [stdout] 1457 | params.put(&format!("{}{}", prefix, "InstanceId"), &field_value); [INFO] [stdout] | ^^^^^^^^^^^^ help: change this to: `field_value` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: writing `&Vec` instead of `&[_]` involves a new object where a slice will do [INFO] [stdout] --> src/generated.rs:7219:56 [INFO] [stdout] | [INFO] [stdout] 7219 | fn serialize(params: &mut Params, name: &str, obj: &Vec) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#ptr_arg [INFO] [stdout] help: change this to [INFO] [stdout] | [INFO] [stdout] 7219 - fn serialize(params: &mut Params, name: &str, obj: &Vec) { [INFO] [stdout] 7219 + fn serialize(params: &mut Params, name: &str, obj: &[String]) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the borrowed expression implements the required traits [INFO] [stdout] --> src/generated.rs:1466:17 [INFO] [stdout] | [INFO] [stdout] 1466 | &field_value, [INFO] [stdout] | ^^^^^^^^^^^^ help: change this to: `field_value` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: comparison to empty slice [INFO] [stdout] --> src/generated.rs:1538:12 [INFO] [stdout] | [INFO] [stdout] 1538 | if prefix != "" { [INFO] [stdout] | ^^^^^^^^^^^^ help: using `!is_empty` is clearer and more explicit: `!prefix.is_empty()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#comparison_to_empty [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calling `push_str()` using a single-character string literal [INFO] [stdout] --> src/generated.rs:1539:13 [INFO] [stdout] | [INFO] [stdout] 1539 | prefix.push_str("."); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: consider using `push` with a character literal: `prefix.push('.')` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#single_char_add_str [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the borrowed expression implements the required traits [INFO] [stdout] --> src/generated.rs:7222:30 [INFO] [stdout] | [INFO] [stdout] 7222 | params.put(&key, &obj); [INFO] [stdout] | ^^^^ help: change this to: `obj` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the borrowed expression implements the required traits [INFO] [stdout] --> src/generated.rs:1554:69 [INFO] [stdout] | [INFO] [stdout] 1554 | params.put(&format!("{}{}", prefix, "DefaultCooldown"), &field_value); [INFO] [stdout] | ^^^^^^^^^^^^ help: change this to: `field_value` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the borrowed expression implements the required traits [INFO] [stdout] --> src/generated.rs:1557:69 [INFO] [stdout] | [INFO] [stdout] 1557 | params.put(&format!("{}{}", prefix, "DesiredCapacity"), &field_value); [INFO] [stdout] | ^^^^^^^^^^^^ help: change this to: `field_value` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: comparison to empty slice [INFO] [stdout] --> src/generated.rs:7279:12 [INFO] [stdout] | [INFO] [stdout] 7279 | if prefix != "" { [INFO] [stdout] | ^^^^^^^^^^^^ help: using `!is_empty` is clearer and more explicit: `!prefix.is_empty()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#comparison_to_empty [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the borrowed expression implements the required traits [INFO] [stdout] --> src/generated.rs:1562:17 [INFO] [stdout] | [INFO] [stdout] 1562 | &field_value, [INFO] [stdout] | ^^^^^^^^^^^^ help: change this to: `field_value` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calling `push_str()` using a single-character string literal [INFO] [stdout] --> src/generated.rs:7280:13 [INFO] [stdout] | [INFO] [stdout] 7280 | prefix.push_str("."); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: consider using `push` with a character literal: `prefix.push('.')` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#single_char_add_str [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the borrowed expression implements the required traits [INFO] [stdout] --> src/generated.rs:1566:69 [INFO] [stdout] | [INFO] [stdout] 1566 | params.put(&format!("{}{}", prefix, "HealthCheckType"), &field_value); [INFO] [stdout] | ^^^^^^^^^^^^ help: change this to: `field_value` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the borrowed expression implements the required traits [INFO] [stdout] --> src/generated.rs:1569:64 [INFO] [stdout] | [INFO] [stdout] 1569 | params.put(&format!("{}{}", prefix, "InstanceId"), &field_value); [INFO] [stdout] | ^^^^^^^^^^^^ help: change this to: `field_value` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the borrowed expression implements the required traits [INFO] [stdout] --> src/generated.rs:7295:69 [INFO] [stdout] | [INFO] [stdout] 7295 | params.put(&format!("{}{}", prefix, "DefaultCooldown"), &field_value); [INFO] [stdout] | ^^^^^^^^^^^^ help: change this to: `field_value` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the borrowed expression implements the required traits [INFO] [stdout] --> src/generated.rs:1574:17 [INFO] [stdout] | [INFO] [stdout] 1574 | &field_value, [INFO] [stdout] | ^^^^^^^^^^^^ help: change this to: `field_value` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the borrowed expression implements the required traits [INFO] [stdout] --> src/generated.rs:7298:69 [INFO] [stdout] | [INFO] [stdout] 7298 | params.put(&format!("{}{}", prefix, "DesiredCapacity"), &field_value); [INFO] [stdout] | ^^^^^^^^^^^^ help: change this to: `field_value` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the borrowed expression implements the required traits [INFO] [stdout] --> src/generated.rs:7303:17 [INFO] [stdout] | [INFO] [stdout] 7303 | &field_value, [INFO] [stdout] | ^^^^^^^^^^^^ help: change this to: `field_value` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the borrowed expression implements the required traits [INFO] [stdout] --> src/generated.rs:7307:69 [INFO] [stdout] | [INFO] [stdout] 7307 | params.put(&format!("{}{}", prefix, "HealthCheckType"), &field_value); [INFO] [stdout] | ^^^^^^^^^^^^ help: change this to: `field_value` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the borrowed expression implements the required traits [INFO] [stdout] --> src/generated.rs:1601:17 [INFO] [stdout] | [INFO] [stdout] 1601 | &field_value, [INFO] [stdout] | ^^^^^^^^^^^^ help: change this to: `field_value` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the borrowed expression implements the required traits [INFO] [stdout] --> src/generated.rs:7312:17 [INFO] [stdout] | [INFO] [stdout] 7312 | &field_value, [INFO] [stdout] | ^^^^^^^^^^^^ help: change this to: `field_value` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the borrowed expression implements the required traits [INFO] [stdout] --> src/generated.rs:1604:57 [INFO] [stdout] | [INFO] [stdout] 1604 | params.put(&format!("{}{}", prefix, "MaxSize"), &obj.max_size); [INFO] [stdout] | ^^^^^^^^^^^^^ help: change this to: `obj.max_size` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the borrowed expression implements the required traits [INFO] [stdout] --> src/generated.rs:7325:17 [INFO] [stdout] | [INFO] [stdout] 7325 | &field_value, [INFO] [stdout] | ^^^^^^^^^^^^ help: change this to: `field_value` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the borrowed expression implements the required traits [INFO] [stdout] --> src/generated.rs:1605:57 [INFO] [stdout] | [INFO] [stdout] 1605 | params.put(&format!("{}{}", prefix, "MinSize"), &obj.min_size); [INFO] [stdout] | ^^^^^^^^^^^^^ help: change this to: `obj.min_size` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the borrowed expression implements the required traits [INFO] [stdout] --> src/generated.rs:7329:61 [INFO] [stdout] | [INFO] [stdout] 7329 | params.put(&format!("{}{}", prefix, "MaxSize"), &field_value); [INFO] [stdout] | ^^^^^^^^^^^^ help: change this to: `field_value` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the borrowed expression implements the required traits [INFO] [stdout] --> src/generated.rs:7332:61 [INFO] [stdout] | [INFO] [stdout] 7332 | params.put(&format!("{}{}", prefix, "MinSize"), &field_value); [INFO] [stdout] | ^^^^^^^^^^^^ help: change this to: `field_value` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the borrowed expression implements the required traits [INFO] [stdout] --> src/generated.rs:1616:17 [INFO] [stdout] | [INFO] [stdout] 1616 | &field_value, [INFO] [stdout] | ^^^^^^^^^^^^ help: change this to: `field_value` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the borrowed expression implements the required traits [INFO] [stdout] --> src/generated.rs:1620:68 [INFO] [stdout] | [INFO] [stdout] 1620 | params.put(&format!("{}{}", prefix, "PlacementGroup"), &field_value); [INFO] [stdout] | ^^^^^^^^^^^^ help: change this to: `field_value` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the borrowed expression implements the required traits [INFO] [stdout] --> src/generated.rs:7344:17 [INFO] [stdout] | [INFO] [stdout] 7344 | &field_value, [INFO] [stdout] | ^^^^^^^^^^^^ help: change this to: `field_value` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the borrowed expression implements the required traits [INFO] [stdout] --> src/generated.rs:1625:17 [INFO] [stdout] | [INFO] [stdout] 1625 | &field_value, [INFO] [stdout] | ^^^^^^^^^^^^ help: change this to: `field_value` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the borrowed expression implements the required traits [INFO] [stdout] --> src/generated.rs:7348:68 [INFO] [stdout] | [INFO] [stdout] 7348 | params.put(&format!("{}{}", prefix, "PlacementGroup"), &field_value); [INFO] [stdout] | ^^^^^^^^^^^^ help: change this to: `field_value` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the borrowed expression implements the required traits [INFO] [stdout] --> src/generated.rs:7353:17 [INFO] [stdout] | [INFO] [stdout] 7353 | &field_value, [INFO] [stdout] | ^^^^^^^^^^^^ help: change this to: `field_value` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the borrowed expression implements the required traits [INFO] [stdout] --> src/generated.rs:7364:71 [INFO] [stdout] | [INFO] [stdout] 7364 | params.put(&format!("{}{}", prefix, "VPCZoneIdentifier"), &field_value); [INFO] [stdout] | ^^^^^^^^^^^^ help: change this to: `field_value` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the borrowed expression implements the required traits [INFO] [stdout] --> src/generated.rs:1646:71 [INFO] [stdout] | [INFO] [stdout] 1646 | params.put(&format!("{}{}", prefix, "VPCZoneIdentifier"), &field_value); [INFO] [stdout] | ^^^^^^^^^^^^ help: change this to: `field_value` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: writing `&Vec` instead of `&[_]` involves a new object where a slice will do [INFO] [stdout] --> src/generated.rs:7372:56 [INFO] [stdout] | [INFO] [stdout] 7372 | fn serialize(params: &mut Params, name: &str, obj: &Vec) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#ptr_arg [INFO] [stdout] help: change this to [INFO] [stdout] | [INFO] [stdout] 7372 - fn serialize(params: &mut Params, name: &str, obj: &Vec) { [INFO] [stdout] 7372 + fn serialize(params: &mut Params, name: &str, obj: &[String]) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the borrowed expression implements the required traits [INFO] [stdout] --> src/generated.rs:7375:30 [INFO] [stdout] | [INFO] [stdout] 7375 | params.put(&key, &obj); [INFO] [stdout] | ^^^^ help: change this to: `obj` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: comparison to empty slice [INFO] [stdout] --> src/generated.rs:1697:12 [INFO] [stdout] | [INFO] [stdout] 1697 | if prefix != "" { [INFO] [stdout] | ^^^^^^^^^^^^ help: using `!is_empty` is clearer and more explicit: `!prefix.is_empty()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#comparison_to_empty [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calling `push_str()` using a single-character string literal [INFO] [stdout] --> src/generated.rs:1698:13 [INFO] [stdout] | [INFO] [stdout] 1698 | prefix.push_str("."); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: consider using `push` with a character literal: `prefix.push('.')` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#single_char_add_str [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the borrowed expression implements the required traits [INFO] [stdout] --> src/generated.rs:1704:17 [INFO] [stdout] | [INFO] [stdout] 1704 | &field_value, [INFO] [stdout] | ^^^^^^^^^^^^ help: change this to: `field_value` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the borrowed expression implements the required traits [INFO] [stdout] --> src/generated.rs:1715:70 [INFO] [stdout] | [INFO] [stdout] 1715 | params.put(&format!("{}{}", prefix, "ClassicLinkVPCId"), &field_value); [INFO] [stdout] | ^^^^^^^^^^^^ help: change this to: `field_value` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the borrowed expression implements the required traits [INFO] [stdout] --> src/generated.rs:1725:66 [INFO] [stdout] | [INFO] [stdout] 1725 | params.put(&format!("{}{}", prefix, "EbsOptimized"), &field_value); [INFO] [stdout] | ^^^^^^^^^^^^ help: change this to: `field_value` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the borrowed expression implements the required traits [INFO] [stdout] --> src/generated.rs:1728:72 [INFO] [stdout] | [INFO] [stdout] 1728 | params.put(&format!("{}{}", prefix, "IamInstanceProfile"), &field_value); [INFO] [stdout] | ^^^^^^^^^^^^ help: change this to: `field_value` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the borrowed expression implements the required traits [INFO] [stdout] --> src/generated.rs:1731:61 [INFO] [stdout] | [INFO] [stdout] 1731 | params.put(&format!("{}{}", prefix, "ImageId"), &field_value); [INFO] [stdout] | ^^^^^^^^^^^^ help: change this to: `field_value` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the borrowed expression implements the required traits [INFO] [stdout] --> src/generated.rs:1734:64 [INFO] [stdout] | [INFO] [stdout] 1734 | params.put(&format!("{}{}", prefix, "InstanceId"), &field_value); [INFO] [stdout] | ^^^^^^^^^^^^ help: change this to: `field_value` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the borrowed expression implements the required traits [INFO] [stdout] --> src/generated.rs:1744:66 [INFO] [stdout] | [INFO] [stdout] 1744 | params.put(&format!("{}{}", prefix, "InstanceType"), &field_value); [INFO] [stdout] | ^^^^^^^^^^^^ help: change this to: `field_value` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the borrowed expression implements the required traits [INFO] [stdout] --> src/generated.rs:1747:62 [INFO] [stdout] | [INFO] [stdout] 1747 | params.put(&format!("{}{}", prefix, "KernelId"), &field_value); [INFO] [stdout] | ^^^^^^^^^^^^ help: change this to: `field_value` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: you seem to be trying to use `match` for an equality check. Consider using `if` [INFO] [stdout] --> src/generated.rs:7644:17 [INFO] [stdout] | [INFO] [stdout] 7644 | / match &parsed_error.code[..] { [INFO] [stdout] 7645 | | "ResourceContention" => { [INFO] [stdout] 7646 | | return RusotoError::Service( [INFO] [stdout] 7647 | | BatchDeleteScheduledActionError::ResourceContentionFault( [INFO] [stdout] ... | [INFO] [stdout] 7652 | | _ => {} [INFO] [stdout] 7653 | | } [INFO] [stdout] | |_________________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#single_match [INFO] [stdout] = note: `#[warn(clippy::single_match)]` on by default [INFO] [stdout] help: try [INFO] [stdout] | [INFO] [stdout] 7644 ~ if &parsed_error.code[..] == "ResourceContention" { [INFO] [stdout] 7645 + return RusotoError::Service( [INFO] [stdout] 7646 + BatchDeleteScheduledActionError::ResourceContentionFault( [INFO] [stdout] 7647 + parsed_error.message, [INFO] [stdout] 7648 + ), [INFO] [stdout] 7649 + ) [INFO] [stdout] 7650 + } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the borrowed expression implements the required traits [INFO] [stdout] --> src/generated.rs:1750:61 [INFO] [stdout] | [INFO] [stdout] 1750 | params.put(&format!("{}{}", prefix, "KeyName"), &field_value); [INFO] [stdout] | ^^^^^^^^^^^^ help: change this to: `field_value` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the borrowed expression implements the required traits [INFO] [stdout] --> src/generated.rs:1757:70 [INFO] [stdout] | [INFO] [stdout] 1757 | params.put(&format!("{}{}", prefix, "PlacementTenancy"), &field_value); [INFO] [stdout] | ^^^^^^^^^^^^ help: change this to: `field_value` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the borrowed expression implements the required traits [INFO] [stdout] --> src/generated.rs:1760:63 [INFO] [stdout] | [INFO] [stdout] 1760 | params.put(&format!("{}{}", prefix, "RamdiskId"), &field_value); [INFO] [stdout] | ^^^^^^^^^^^^ help: change this to: `field_value` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the borrowed expression implements the required traits [INFO] [stdout] --> src/generated.rs:1770:63 [INFO] [stdout] | [INFO] [stdout] 1770 | params.put(&format!("{}{}", prefix, "SpotPrice"), &field_value); [INFO] [stdout] | ^^^^^^^^^^^^ help: change this to: `field_value` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the borrowed expression implements the required traits [INFO] [stdout] --> src/generated.rs:1773:62 [INFO] [stdout] | [INFO] [stdout] 1773 | params.put(&format!("{}{}", prefix, "UserData"), &field_value); [INFO] [stdout] | ^^^^^^^^^^^^ help: change this to: `field_value` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: comparison to empty slice [INFO] [stdout] --> src/generated.rs:1790:12 [INFO] [stdout] | [INFO] [stdout] 1790 | if prefix != "" { [INFO] [stdout] | ^^^^^^^^^^^^ help: using `!is_empty` is clearer and more explicit: `!prefix.is_empty()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#comparison_to_empty [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calling `push_str()` using a single-character string literal [INFO] [stdout] --> src/generated.rs:1791:13 [INFO] [stdout] | [INFO] [stdout] 1791 | prefix.push_str("."); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: consider using `push` with a character literal: `prefix.push('.')` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#single_char_add_str [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: you seem to be trying to use `match` for an equality check. Consider using `if` [INFO] [stdout] --> src/generated.rs:7834:17 [INFO] [stdout] | [INFO] [stdout] 7834 | / match &parsed_error.code[..] { [INFO] [stdout] 7835 | | "ResourceContention" => { [INFO] [stdout] 7836 | | return RusotoError::Service( [INFO] [stdout] 7837 | | CompleteLifecycleActionError::ResourceContentionFault( [INFO] [stdout] ... | [INFO] [stdout] 7842 | | _ => {} [INFO] [stdout] 7843 | | } [INFO] [stdout] | |_________________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#single_match [INFO] [stdout] help: try [INFO] [stdout] | [INFO] [stdout] 7834 ~ if &parsed_error.code[..] == "ResourceContention" { [INFO] [stdout] 7835 + return RusotoError::Service( [INFO] [stdout] 7836 + CompleteLifecycleActionError::ResourceContentionFault( [INFO] [stdout] 7837 + parsed_error.message, [INFO] [stdout] 7838 + ), [INFO] [stdout] 7839 + ) [INFO] [stdout] 7840 + } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: comparison to empty slice [INFO] [stdout] --> src/generated.rs:1860:12 [INFO] [stdout] | [INFO] [stdout] 1860 | if prefix != "" { [INFO] [stdout] | ^^^^^^^^^^^^ help: using `!is_empty` is clearer and more explicit: `!prefix.is_empty()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#comparison_to_empty [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calling `push_str()` using a single-character string literal [INFO] [stdout] --> src/generated.rs:1861:13 [INFO] [stdout] | [INFO] [stdout] 1861 | prefix.push_str("."); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: consider using `push` with a character literal: `prefix.push('.')` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#single_char_add_str [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the borrowed expression implements the required traits [INFO] [stdout] --> src/generated.rs:1875:58 [INFO] [stdout] | [INFO] [stdout] 1875 | params.put(&format!("{}{}", prefix, "Unit"), &field_value); [INFO] [stdout] | ^^^^^^^^^^^^ help: change this to: `field_value` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: comparison to empty slice [INFO] [stdout] --> src/generated.rs:1894:12 [INFO] [stdout] | [INFO] [stdout] 1894 | if prefix != "" { [INFO] [stdout] | ^^^^^^^^^^^^ help: using `!is_empty` is clearer and more explicit: `!prefix.is_empty()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#comparison_to_empty [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calling `push_str()` using a single-character string literal [INFO] [stdout] --> src/generated.rs:1895:13 [INFO] [stdout] | [INFO] [stdout] 1895 | prefix.push_str("."); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: consider using `push` with a character literal: `prefix.push('.')` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#single_char_add_str [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the borrowed expression implements the required traits [INFO] [stdout] --> src/generated.rs:1903:65 [INFO] [stdout] | [INFO] [stdout] 1903 | params.put(&format!("{}{}", prefix, "ForceDelete"), &field_value); [INFO] [stdout] | ^^^^^^^^^^^^ help: change this to: `field_value` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: comparison to empty slice [INFO] [stdout] --> src/generated.rs:1943:12 [INFO] [stdout] | [INFO] [stdout] 1943 | if prefix != "" { [INFO] [stdout] | ^^^^^^^^^^^^ help: using `!is_empty` is clearer and more explicit: `!prefix.is_empty()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#comparison_to_empty [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calling `push_str()` using a single-character string literal [INFO] [stdout] --> src/generated.rs:1944:13 [INFO] [stdout] | [INFO] [stdout] 1944 | prefix.push_str("."); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: consider using `push` with a character literal: `prefix.push('.')` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#single_char_add_str [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: comparison to empty slice [INFO] [stdout] --> src/generated.rs:1972:12 [INFO] [stdout] | [INFO] [stdout] 1972 | if prefix != "" { [INFO] [stdout] | ^^^^^^^^^^^^ help: using `!is_empty` is clearer and more explicit: `!prefix.is_empty()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#comparison_to_empty [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calling `push_str()` using a single-character string literal [INFO] [stdout] --> src/generated.rs:1973:13 [INFO] [stdout] | [INFO] [stdout] 1973 | prefix.push_str("."); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: consider using `push` with a character literal: `prefix.push('.')` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#single_char_add_str [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: you seem to be trying to use `match` for an equality check. Consider using `if` [INFO] [stdout] --> src/generated.rs:8220:17 [INFO] [stdout] | [INFO] [stdout] 8220 | / match &parsed_error.code[..] { [INFO] [stdout] 8221 | | "ResourceContention" => { [INFO] [stdout] 8222 | | return RusotoError::Service( [INFO] [stdout] 8223 | | DeleteLifecycleHookError::ResourceContentionFault(parsed_error.message), [INFO] [stdout] ... | [INFO] [stdout] 8226 | | _ => {} [INFO] [stdout] 8227 | | } [INFO] [stdout] | |_________________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#single_match [INFO] [stdout] help: try [INFO] [stdout] | [INFO] [stdout] 8220 ~ if &parsed_error.code[..] == "ResourceContention" { [INFO] [stdout] 8221 + return RusotoError::Service( [INFO] [stdout] 8222 + DeleteLifecycleHookError::ResourceContentionFault(parsed_error.message), [INFO] [stdout] 8223 + ) [INFO] [stdout] 8224 + } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: you seem to be trying to use `match` for an equality check. Consider using `if` [INFO] [stdout] --> src/generated.rs:8266:17 [INFO] [stdout] | [INFO] [stdout] 8266 | / match &parsed_error.code[..] { [INFO] [stdout] 8267 | | "ResourceContention" => { [INFO] [stdout] 8268 | | return RusotoError::Service( [INFO] [stdout] 8269 | | DeleteNotificationConfigurationError::ResourceContentionFault( [INFO] [stdout] ... | [INFO] [stdout] 8274 | | _ => {} [INFO] [stdout] 8275 | | } [INFO] [stdout] | |_________________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#single_match [INFO] [stdout] help: try [INFO] [stdout] | [INFO] [stdout] 8266 ~ if &parsed_error.code[..] == "ResourceContention" { [INFO] [stdout] 8267 + return RusotoError::Service( [INFO] [stdout] 8268 + DeleteNotificationConfigurationError::ResourceContentionFault( [INFO] [stdout] 8269 + parsed_error.message, [INFO] [stdout] 8270 + ), [INFO] [stdout] 8271 + ) [INFO] [stdout] 8272 + } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: you seem to be trying to use `match` for an equality check. Consider using `if` [INFO] [stdout] --> src/generated.rs:8366:17 [INFO] [stdout] | [INFO] [stdout] 8366 | / match &parsed_error.code[..] { [INFO] [stdout] 8367 | | "ResourceContention" => { [INFO] [stdout] 8368 | | return RusotoError::Service( [INFO] [stdout] 8369 | | DeleteScheduledActionError::ResourceContentionFault( [INFO] [stdout] ... | [INFO] [stdout] 8374 | | _ => {} [INFO] [stdout] 8375 | | } [INFO] [stdout] | |_________________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#single_match [INFO] [stdout] help: try [INFO] [stdout] | [INFO] [stdout] 8366 ~ if &parsed_error.code[..] == "ResourceContention" { [INFO] [stdout] 8367 + return RusotoError::Service( [INFO] [stdout] 8368 + DeleteScheduledActionError::ResourceContentionFault( [INFO] [stdout] 8369 + parsed_error.message, [INFO] [stdout] 8370 + ), [INFO] [stdout] 8371 + ) [INFO] [stdout] 8372 + } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: you seem to be trying to use `match` for an equality check. Consider using `if` [INFO] [stdout] --> src/generated.rs:8466:17 [INFO] [stdout] | [INFO] [stdout] 8466 | / match &parsed_error.code[..] { [INFO] [stdout] 8467 | | "ResourceContention" => { [INFO] [stdout] 8468 | | return RusotoError::Service( [INFO] [stdout] 8469 | | DescribeAccountLimitsError::ResourceContentionFault( [INFO] [stdout] ... | [INFO] [stdout] 8474 | | _ => {} [INFO] [stdout] 8475 | | } [INFO] [stdout] | |_________________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#single_match [INFO] [stdout] help: try [INFO] [stdout] | [INFO] [stdout] 8466 ~ if &parsed_error.code[..] == "ResourceContention" { [INFO] [stdout] 8467 + return RusotoError::Service( [INFO] [stdout] 8468 + DescribeAccountLimitsError::ResourceContentionFault( [INFO] [stdout] 8469 + parsed_error.message, [INFO] [stdout] 8470 + ), [INFO] [stdout] 8471 + ) [INFO] [stdout] 8472 + } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: you seem to be trying to use `match` for an equality check. Consider using `if` [INFO] [stdout] --> src/generated.rs:8514:17 [INFO] [stdout] | [INFO] [stdout] 8514 | / match &parsed_error.code[..] { [INFO] [stdout] 8515 | | "ResourceContention" => { [INFO] [stdout] 8516 | | return RusotoError::Service( [INFO] [stdout] 8517 | | DescribeAdjustmentTypesError::ResourceContentionFault( [INFO] [stdout] ... | [INFO] [stdout] 8522 | | _ => {} [INFO] [stdout] 8523 | | } [INFO] [stdout] | |_________________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#single_match [INFO] [stdout] help: try [INFO] [stdout] | [INFO] [stdout] 8514 ~ if &parsed_error.code[..] == "ResourceContention" { [INFO] [stdout] 8515 + return RusotoError::Service( [INFO] [stdout] 8516 + DescribeAdjustmentTypesError::ResourceContentionFault( [INFO] [stdout] 8517 + parsed_error.message, [INFO] [stdout] 8518 + ), [INFO] [stdout] 8519 + ) [INFO] [stdout] 8520 + } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: you seem to be trying to use `match` for an equality check. Consider using `if` [INFO] [stdout] --> src/generated.rs:8682:17 [INFO] [stdout] | [INFO] [stdout] 8682 | / match &parsed_error.code[..] { [INFO] [stdout] 8683 | | "ResourceContention" => { [INFO] [stdout] 8684 | | return RusotoError::Service( [INFO] [stdout] 8685 | | DescribeAutoScalingNotificationTypesError::ResourceContentionFault( [INFO] [stdout] ... | [INFO] [stdout] 8690 | | _ => {} [INFO] [stdout] 8691 | | } [INFO] [stdout] | |_________________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#single_match [INFO] [stdout] help: try [INFO] [stdout] | [INFO] [stdout] 8682 ~ if &parsed_error.code[..] == "ResourceContention" { [INFO] [stdout] 8683 + return RusotoError::Service( [INFO] [stdout] 8684 + DescribeAutoScalingNotificationTypesError::ResourceContentionFault( [INFO] [stdout] 8685 + parsed_error.message, [INFO] [stdout] 8686 + ), [INFO] [stdout] 8687 + ) [INFO] [stdout] 8688 + } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: you seem to be trying to use `match` for an equality check. Consider using `if` [INFO] [stdout] --> src/generated.rs:8850:17 [INFO] [stdout] | [INFO] [stdout] 8850 | / match &parsed_error.code[..] { [INFO] [stdout] 8851 | | "ResourceContention" => { [INFO] [stdout] 8852 | | return RusotoError::Service( [INFO] [stdout] 8853 | | DescribeLifecycleHookTypesError::ResourceContentionFault( [INFO] [stdout] ... | [INFO] [stdout] 8858 | | _ => {} [INFO] [stdout] 8859 | | } [INFO] [stdout] | |_________________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#single_match [INFO] [stdout] help: try [INFO] [stdout] | [INFO] [stdout] 8850 ~ if &parsed_error.code[..] == "ResourceContention" { [INFO] [stdout] 8851 + return RusotoError::Service( [INFO] [stdout] 8852 + DescribeLifecycleHookTypesError::ResourceContentionFault( [INFO] [stdout] 8853 + parsed_error.message, [INFO] [stdout] 8854 + ), [INFO] [stdout] 8855 + ) [INFO] [stdout] 8856 + } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: you seem to be trying to use `match` for an equality check. Consider using `if` [INFO] [stdout] --> src/generated.rs:8898:17 [INFO] [stdout] | [INFO] [stdout] 8898 | / match &parsed_error.code[..] { [INFO] [stdout] 8899 | | "ResourceContention" => { [INFO] [stdout] 8900 | | return RusotoError::Service( [INFO] [stdout] 8901 | | DescribeLifecycleHooksError::ResourceContentionFault( [INFO] [stdout] ... | [INFO] [stdout] 8906 | | _ => {} [INFO] [stdout] 8907 | | } [INFO] [stdout] | |_________________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#single_match [INFO] [stdout] help: try [INFO] [stdout] | [INFO] [stdout] 8898 ~ if &parsed_error.code[..] == "ResourceContention" { [INFO] [stdout] 8899 + return RusotoError::Service( [INFO] [stdout] 8900 + DescribeLifecycleHooksError::ResourceContentionFault( [INFO] [stdout] 8901 + parsed_error.message, [INFO] [stdout] 8902 + ), [INFO] [stdout] 8903 + ) [INFO] [stdout] 8904 + } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: comparison to empty slice [INFO] [stdout] --> src/generated.rs:1998:12 [INFO] [stdout] | [INFO] [stdout] 1998 | if prefix != "" { [INFO] [stdout] | ^^^^^^^^^^^^ help: using `!is_empty` is clearer and more explicit: `!prefix.is_empty()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#comparison_to_empty [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calling `push_str()` using a single-character string literal [INFO] [stdout] --> src/generated.rs:1999:13 [INFO] [stdout] | [INFO] [stdout] 1999 | prefix.push_str("."); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: consider using `push` with a character literal: `prefix.push('.')` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#single_char_add_str [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the borrowed expression implements the required traits [INFO] [stdout] --> src/generated.rs:2005:17 [INFO] [stdout] | [INFO] [stdout] 2005 | &field_value, [INFO] [stdout] | ^^^^^^^^^^^^ help: change this to: `field_value` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: comparison to empty slice [INFO] [stdout] --> src/generated.rs:2026:12 [INFO] [stdout] | [INFO] [stdout] 2026 | if prefix != "" { [INFO] [stdout] | ^^^^^^^^^^^^ help: using `!is_empty` is clearer and more explicit: `!prefix.is_empty()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#comparison_to_empty [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calling `push_str()` using a single-character string literal [INFO] [stdout] --> src/generated.rs:2027:13 [INFO] [stdout] | [INFO] [stdout] 2027 | prefix.push_str("."); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: consider using `push` with a character literal: `prefix.push('.')` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#single_char_add_str [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: comparison to empty slice [INFO] [stdout] --> src/generated.rs:2053:12 [INFO] [stdout] | [INFO] [stdout] 2053 | if prefix != "" { [INFO] [stdout] | ^^^^^^^^^^^^ help: using `!is_empty` is clearer and more explicit: `!prefix.is_empty()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#comparison_to_empty [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calling `push_str()` using a single-character string literal [INFO] [stdout] --> src/generated.rs:2054:13 [INFO] [stdout] | [INFO] [stdout] 2054 | prefix.push_str("."); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: consider using `push` with a character literal: `prefix.push('.')` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#single_char_add_str [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: comparison to empty slice [INFO] [stdout] --> src/generated.rs:2170:12 [INFO] [stdout] | [INFO] [stdout] 2170 | if prefix != "" { [INFO] [stdout] | ^^^^^^^^^^^^ help: using `!is_empty` is clearer and more explicit: `!prefix.is_empty()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#comparison_to_empty [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calling `push_str()` using a single-character string literal [INFO] [stdout] --> src/generated.rs:2171:13 [INFO] [stdout] | [INFO] [stdout] 2171 | prefix.push_str("."); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: consider using `push` with a character literal: `prefix.push('.')` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#single_char_add_str [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the borrowed expression implements the required traits [INFO] [stdout] --> src/generated.rs:2182:64 [INFO] [stdout] | [INFO] [stdout] 2182 | params.put(&format!("{}{}", prefix, "MaxRecords"), &field_value); [INFO] [stdout] | ^^^^^^^^^^^^ help: change this to: `field_value` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the borrowed expression implements the required traits [INFO] [stdout] --> src/generated.rs:2185:63 [INFO] [stdout] | [INFO] [stdout] 2185 | params.put(&format!("{}{}", prefix, "NextToken"), &field_value); [INFO] [stdout] | ^^^^^^^^^^^^ help: change this to: `field_value` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: comparison to empty slice [INFO] [stdout] --> src/generated.rs:2281:12 [INFO] [stdout] | [INFO] [stdout] 2281 | if prefix != "" { [INFO] [stdout] | ^^^^^^^^^^^^ help: using `!is_empty` is clearer and more explicit: `!prefix.is_empty()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#comparison_to_empty [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calling `push_str()` using a single-character string literal [INFO] [stdout] --> src/generated.rs:2282:13 [INFO] [stdout] | [INFO] [stdout] 2282 | prefix.push_str("."); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: consider using `push` with a character literal: `prefix.push('.')` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#single_char_add_str [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the borrowed expression implements the required traits [INFO] [stdout] --> src/generated.rs:2297:64 [INFO] [stdout] | [INFO] [stdout] 2297 | params.put(&format!("{}{}", prefix, "MaxRecords"), &field_value); [INFO] [stdout] | ^^^^^^^^^^^^ help: change this to: `field_value` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the borrowed expression implements the required traits [INFO] [stdout] --> src/generated.rs:2300:63 [INFO] [stdout] | [INFO] [stdout] 2300 | params.put(&format!("{}{}", prefix, "NextToken"), &field_value); [INFO] [stdout] | ^^^^^^^^^^^^ help: change this to: `field_value` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: comparison to empty slice [INFO] [stdout] --> src/generated.rs:2386:12 [INFO] [stdout] | [INFO] [stdout] 2386 | if prefix != "" { [INFO] [stdout] | ^^^^^^^^^^^^ help: using `!is_empty` is clearer and more explicit: `!prefix.is_empty()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#comparison_to_empty [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calling `push_str()` using a single-character string literal [INFO] [stdout] --> src/generated.rs:2387:13 [INFO] [stdout] | [INFO] [stdout] 2387 | prefix.push_str("."); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: consider using `push` with a character literal: `prefix.push('.')` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#single_char_add_str [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: comparison to empty slice [INFO] [stdout] --> src/generated.rs:2420:12 [INFO] [stdout] | [INFO] [stdout] 2420 | if prefix != "" { [INFO] [stdout] | ^^^^^^^^^^^^ help: using `!is_empty` is clearer and more explicit: `!prefix.is_empty()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#comparison_to_empty [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calling `push_str()` using a single-character string literal [INFO] [stdout] --> src/generated.rs:2421:13 [INFO] [stdout] | [INFO] [stdout] 2421 | prefix.push_str("."); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: consider using `push` with a character literal: `prefix.push('.')` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#single_char_add_str [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the borrowed expression implements the required traits [INFO] [stdout] --> src/generated.rs:2429:64 [INFO] [stdout] | [INFO] [stdout] 2429 | params.put(&format!("{}{}", prefix, "MaxRecords"), &field_value); [INFO] [stdout] | ^^^^^^^^^^^^ help: change this to: `field_value` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the borrowed expression implements the required traits [INFO] [stdout] --> src/generated.rs:2432:63 [INFO] [stdout] | [INFO] [stdout] 2432 | params.put(&format!("{}{}", prefix, "NextToken"), &field_value); [INFO] [stdout] | ^^^^^^^^^^^^ help: change this to: `field_value` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: you seem to be trying to use `match` for an equality check. Consider using `if` [INFO] [stdout] --> src/generated.rs:8948:17 [INFO] [stdout] | [INFO] [stdout] 8948 | / match &parsed_error.code[..] { [INFO] [stdout] 8949 | | "ResourceContention" => { [INFO] [stdout] 8950 | | return RusotoError::Service( [INFO] [stdout] 8951 | | DescribeLoadBalancerTargetGroupsError::ResourceContentionFault( [INFO] [stdout] ... | [INFO] [stdout] 8956 | | _ => {} [INFO] [stdout] 8957 | | } [INFO] [stdout] | |_________________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#single_match [INFO] [stdout] help: try [INFO] [stdout] | [INFO] [stdout] 8948 ~ if &parsed_error.code[..] == "ResourceContention" { [INFO] [stdout] 8949 + return RusotoError::Service( [INFO] [stdout] 8950 + DescribeLoadBalancerTargetGroupsError::ResourceContentionFault( [INFO] [stdout] 8951 + parsed_error.message, [INFO] [stdout] 8952 + ), [INFO] [stdout] 8953 + ) [INFO] [stdout] 8954 + } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: you seem to be trying to use `match` for an equality check. Consider using `if` [INFO] [stdout] --> src/generated.rs:8996:17 [INFO] [stdout] | [INFO] [stdout] 8996 | / match &parsed_error.code[..] { [INFO] [stdout] 8997 | | "ResourceContention" => { [INFO] [stdout] 8998 | | return RusotoError::Service( [INFO] [stdout] 8999 | | DescribeLoadBalancersError::ResourceContentionFault( [INFO] [stdout] ... | [INFO] [stdout] 9004 | | _ => {} [INFO] [stdout] 9005 | | } [INFO] [stdout] | |_________________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#single_match [INFO] [stdout] help: try [INFO] [stdout] | [INFO] [stdout] 8996 ~ if &parsed_error.code[..] == "ResourceContention" { [INFO] [stdout] 8997 + return RusotoError::Service( [INFO] [stdout] 8998 + DescribeLoadBalancersError::ResourceContentionFault( [INFO] [stdout] 8999 + parsed_error.message, [INFO] [stdout] 9000 + ), [INFO] [stdout] 9001 + ) [INFO] [stdout] 9002 + } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: comparison to empty slice [INFO] [stdout] --> src/generated.rs:2494:12 [INFO] [stdout] | [INFO] [stdout] 2494 | if prefix != "" { [INFO] [stdout] | ^^^^^^^^^^^^ help: using `!is_empty` is clearer and more explicit: `!prefix.is_empty()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#comparison_to_empty [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calling `push_str()` using a single-character string literal [INFO] [stdout] --> src/generated.rs:2495:13 [INFO] [stdout] | [INFO] [stdout] 2495 | prefix.push_str("."); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: consider using `push` with a character literal: `prefix.push('.')` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#single_char_add_str [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the borrowed expression implements the required traits [INFO] [stdout] --> src/generated.rs:2503:64 [INFO] [stdout] | [INFO] [stdout] 2503 | params.put(&format!("{}{}", prefix, "MaxRecords"), &field_value); [INFO] [stdout] | ^^^^^^^^^^^^ help: change this to: `field_value` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the borrowed expression implements the required traits [INFO] [stdout] --> src/generated.rs:2506:63 [INFO] [stdout] | [INFO] [stdout] 2506 | params.put(&format!("{}{}", prefix, "NextToken"), &field_value); [INFO] [stdout] | ^^^^^^^^^^^^ help: change this to: `field_value` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: you seem to be trying to use `match` for an equality check. Consider using `if` [INFO] [stdout] --> src/generated.rs:9046:17 [INFO] [stdout] | [INFO] [stdout] 9046 | / match &parsed_error.code[..] { [INFO] [stdout] 9047 | | "ResourceContention" => { [INFO] [stdout] 9048 | | return RusotoError::Service( [INFO] [stdout] 9049 | | DescribeMetricCollectionTypesError::ResourceContentionFault( [INFO] [stdout] ... | [INFO] [stdout] 9054 | | _ => {} [INFO] [stdout] 9055 | | } [INFO] [stdout] | |_________________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#single_match [INFO] [stdout] help: try [INFO] [stdout] | [INFO] [stdout] 9046 ~ if &parsed_error.code[..] == "ResourceContention" { [INFO] [stdout] 9047 + return RusotoError::Service( [INFO] [stdout] 9048 + DescribeMetricCollectionTypesError::ResourceContentionFault( [INFO] [stdout] 9049 + parsed_error.message, [INFO] [stdout] 9050 + ), [INFO] [stdout] 9051 + ) [INFO] [stdout] 9052 + } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: comparison to empty slice [INFO] [stdout] --> src/generated.rs:2648:12 [INFO] [stdout] | [INFO] [stdout] 2648 | if prefix != "" { [INFO] [stdout] | ^^^^^^^^^^^^ help: using `!is_empty` is clearer and more explicit: `!prefix.is_empty()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#comparison_to_empty [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calling `push_str()` using a single-character string literal [INFO] [stdout] --> src/generated.rs:2649:13 [INFO] [stdout] | [INFO] [stdout] 2649 | prefix.push_str("."); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: consider using `push` with a character literal: `prefix.push('.')` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#single_char_add_str [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the borrowed expression implements the required traits [INFO] [stdout] --> src/generated.rs:2660:64 [INFO] [stdout] | [INFO] [stdout] 2660 | params.put(&format!("{}{}", prefix, "MaxRecords"), &field_value); [INFO] [stdout] | ^^^^^^^^^^^^ help: change this to: `field_value` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the borrowed expression implements the required traits [INFO] [stdout] --> src/generated.rs:2663:63 [INFO] [stdout] | [INFO] [stdout] 2663 | params.put(&format!("{}{}", prefix, "NextToken"), &field_value); [INFO] [stdout] | ^^^^^^^^^^^^ help: change this to: `field_value` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: you seem to be trying to use `match` for an equality check. Consider using `if` [INFO] [stdout] --> src/generated.rs:9274:17 [INFO] [stdout] | [INFO] [stdout] 9274 | / match &parsed_error.code[..] { [INFO] [stdout] 9275 | | "ResourceContention" => { [INFO] [stdout] 9276 | | return RusotoError::Service( [INFO] [stdout] 9277 | | DescribeScalingProcessTypesError::ResourceContentionFault( [INFO] [stdout] ... | [INFO] [stdout] 9282 | | _ => {} [INFO] [stdout] 9283 | | } [INFO] [stdout] | |_________________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#single_match [INFO] [stdout] help: try [INFO] [stdout] | [INFO] [stdout] 9274 ~ if &parsed_error.code[..] == "ResourceContention" { [INFO] [stdout] 9275 + return RusotoError::Service( [INFO] [stdout] 9276 + DescribeScalingProcessTypesError::ResourceContentionFault( [INFO] [stdout] 9277 + parsed_error.message, [INFO] [stdout] 9278 + ), [INFO] [stdout] 9279 + ) [INFO] [stdout] 9280 + } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: comparison to empty slice [INFO] [stdout] --> src/generated.rs:2688:12 [INFO] [stdout] | [INFO] [stdout] 2688 | if prefix != "" { [INFO] [stdout] | ^^^^^^^^^^^^ help: using `!is_empty` is clearer and more explicit: `!prefix.is_empty()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#comparison_to_empty [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calling `push_str()` using a single-character string literal [INFO] [stdout] --> src/generated.rs:2689:13 [INFO] [stdout] | [INFO] [stdout] 2689 | prefix.push_str("."); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: consider using `push` with a character literal: `prefix.push('.')` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#single_char_add_str [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the borrowed expression implements the required traits [INFO] [stdout] --> src/generated.rs:2695:17 [INFO] [stdout] | [INFO] [stdout] 2695 | &field_value, [INFO] [stdout] | ^^^^^^^^^^^^ help: change this to: `field_value` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the borrowed expression implements the required traits [INFO] [stdout] --> src/generated.rs:2699:64 [INFO] [stdout] | [INFO] [stdout] 2699 | params.put(&format!("{}{}", prefix, "MaxRecords"), &field_value); [INFO] [stdout] | ^^^^^^^^^^^^ help: change this to: `field_value` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the borrowed expression implements the required traits [INFO] [stdout] --> src/generated.rs:2702:63 [INFO] [stdout] | [INFO] [stdout] 2702 | params.put(&format!("{}{}", prefix, "NextToken"), &field_value); [INFO] [stdout] | ^^^^^^^^^^^^ help: change this to: `field_value` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: comparison to empty slice [INFO] [stdout] --> src/generated.rs:2739:12 [INFO] [stdout] | [INFO] [stdout] 2739 | if prefix != "" { [INFO] [stdout] | ^^^^^^^^^^^^ help: using `!is_empty` is clearer and more explicit: `!prefix.is_empty()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#comparison_to_empty [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calling `push_str()` using a single-character string literal [INFO] [stdout] --> src/generated.rs:2740:13 [INFO] [stdout] | [INFO] [stdout] 2740 | prefix.push_str("."); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: consider using `push` with a character literal: `prefix.push('.')` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#single_char_add_str [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: you seem to be trying to use `match` for an equality check. Consider using `if` [INFO] [stdout] --> src/generated.rs:9432:17 [INFO] [stdout] | [INFO] [stdout] 9432 | / match &parsed_error.code[..] { [INFO] [stdout] 9433 | | "ResourceContention" => { [INFO] [stdout] 9434 | | return RusotoError::Service( [INFO] [stdout] 9435 | | DescribeTerminationPolicyTypesError::ResourceContentionFault( [INFO] [stdout] ... | [INFO] [stdout] 9440 | | _ => {} [INFO] [stdout] 9441 | | } [INFO] [stdout] | |_________________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#single_match [INFO] [stdout] help: try [INFO] [stdout] | [INFO] [stdout] 9432 ~ if &parsed_error.code[..] == "ResourceContention" { [INFO] [stdout] 9433 + return RusotoError::Service( [INFO] [stdout] 9434 + DescribeTerminationPolicyTypesError::ResourceContentionFault( [INFO] [stdout] 9435 + parsed_error.message, [INFO] [stdout] 9436 + ), [INFO] [stdout] 9437 + ) [INFO] [stdout] 9438 + } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: you seem to be trying to use `match` for an equality check. Consider using `if` [INFO] [stdout] --> src/generated.rs:9480:17 [INFO] [stdout] | [INFO] [stdout] 9480 | / match &parsed_error.code[..] { [INFO] [stdout] 9481 | | "ResourceContention" => { [INFO] [stdout] 9482 | | return RusotoError::Service(DetachInstancesError::ResourceContentionFault( [INFO] [stdout] 9483 | | parsed_error.message, [INFO] [stdout] ... | [INFO] [stdout] 9486 | | _ => {} [INFO] [stdout] 9487 | | } [INFO] [stdout] | |_________________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#single_match [INFO] [stdout] help: try [INFO] [stdout] | [INFO] [stdout] 9480 ~ if &parsed_error.code[..] == "ResourceContention" { [INFO] [stdout] 9481 + return RusotoError::Service(DetachInstancesError::ResourceContentionFault( [INFO] [stdout] 9482 + parsed_error.message, [INFO] [stdout] 9483 + )) [INFO] [stdout] 9484 + } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the borrowed expression implements the required traits [INFO] [stdout] --> src/generated.rs:2753:17 [INFO] [stdout] | [INFO] [stdout] 2753 | &field_value, [INFO] [stdout] | ^^^^^^^^^^^^ help: change this to: `field_value` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the borrowed expression implements the required traits [INFO] [stdout] --> src/generated.rs:2757:64 [INFO] [stdout] | [INFO] [stdout] 2757 | params.put(&format!("{}{}", prefix, "MaxRecords"), &field_value); [INFO] [stdout] | ^^^^^^^^^^^^ help: change this to: `field_value` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the borrowed expression implements the required traits [INFO] [stdout] --> src/generated.rs:2760:63 [INFO] [stdout] | [INFO] [stdout] 2760 | params.put(&format!("{}{}", prefix, "NextToken"), &field_value); [INFO] [stdout] | ^^^^^^^^^^^^ help: change this to: `field_value` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: you seem to be trying to use `match` for an equality check. Consider using `if` [INFO] [stdout] --> src/generated.rs:9526:17 [INFO] [stdout] | [INFO] [stdout] 9526 | / match &parsed_error.code[..] { [INFO] [stdout] 9527 | | "ResourceContention" => { [INFO] [stdout] 9528 | | return RusotoError::Service( [INFO] [stdout] 9529 | | DetachLoadBalancerTargetGroupsError::ResourceContentionFault( [INFO] [stdout] ... | [INFO] [stdout] 9534 | | _ => {} [INFO] [stdout] 9535 | | } [INFO] [stdout] | |_________________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#single_match [INFO] [stdout] help: try [INFO] [stdout] | [INFO] [stdout] 9526 ~ if &parsed_error.code[..] == "ResourceContention" { [INFO] [stdout] 9527 + return RusotoError::Service( [INFO] [stdout] 9528 + DetachLoadBalancerTargetGroupsError::ResourceContentionFault( [INFO] [stdout] 9529 + parsed_error.message, [INFO] [stdout] 9530 + ), [INFO] [stdout] 9531 + ) [INFO] [stdout] 9532 + } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: comparison to empty slice [INFO] [stdout] --> src/generated.rs:2787:12 [INFO] [stdout] | [INFO] [stdout] 2787 | if prefix != "" { [INFO] [stdout] | ^^^^^^^^^^^^ help: using `!is_empty` is clearer and more explicit: `!prefix.is_empty()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#comparison_to_empty [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calling `push_str()` using a single-character string literal [INFO] [stdout] --> src/generated.rs:2788:13 [INFO] [stdout] | [INFO] [stdout] 2788 | prefix.push_str("."); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: consider using `push` with a character literal: `prefix.push('.')` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#single_char_add_str [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the borrowed expression implements the required traits [INFO] [stdout] --> src/generated.rs:2794:17 [INFO] [stdout] | [INFO] [stdout] 2794 | &field_value, [INFO] [stdout] | ^^^^^^^^^^^^ help: change this to: `field_value` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: you seem to be trying to use `match` for an equality check. Consider using `if` [INFO] [stdout] --> src/generated.rs:9574:17 [INFO] [stdout] | [INFO] [stdout] 9574 | / match &parsed_error.code[..] { [INFO] [stdout] 9575 | | "ResourceContention" => { [INFO] [stdout] 9576 | | return RusotoError::Service( [INFO] [stdout] 9577 | | DetachLoadBalancersError::ResourceContentionFault(parsed_error.message), [INFO] [stdout] ... | [INFO] [stdout] 9580 | | _ => {} [INFO] [stdout] 9581 | | } [INFO] [stdout] | |_________________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#single_match [INFO] [stdout] help: try [INFO] [stdout] | [INFO] [stdout] 9574 ~ if &parsed_error.code[..] == "ResourceContention" { [INFO] [stdout] 9575 + return RusotoError::Service( [INFO] [stdout] 9576 + DetachLoadBalancersError::ResourceContentionFault(parsed_error.message), [INFO] [stdout] 9577 + ) [INFO] [stdout] 9578 + } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the borrowed expression implements the required traits [INFO] [stdout] --> src/generated.rs:2798:61 [INFO] [stdout] | [INFO] [stdout] 2798 | params.put(&format!("{}{}", prefix, "EndTime"), &field_value); [INFO] [stdout] | ^^^^^^^^^^^^ help: change this to: `field_value` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the borrowed expression implements the required traits [INFO] [stdout] --> src/generated.rs:2801:64 [INFO] [stdout] | [INFO] [stdout] 2801 | params.put(&format!("{}{}", prefix, "MaxRecords"), &field_value); [INFO] [stdout] | ^^^^^^^^^^^^ help: change this to: `field_value` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the borrowed expression implements the required traits [INFO] [stdout] --> src/generated.rs:2804:63 [INFO] [stdout] | [INFO] [stdout] 2804 | params.put(&format!("{}{}", prefix, "NextToken"), &field_value); [INFO] [stdout] | ^^^^^^^^^^^^ help: change this to: `field_value` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: you seem to be trying to use `match` for an equality check. Consider using `if` [INFO] [stdout] --> src/generated.rs:9618:17 [INFO] [stdout] | [INFO] [stdout] 9618 | / match &parsed_error.code[..] { [INFO] [stdout] 9619 | | "ResourceContention" => { [INFO] [stdout] 9620 | | return RusotoError::Service( [INFO] [stdout] 9621 | | DisableMetricsCollectionError::ResourceContentionFault( [INFO] [stdout] ... | [INFO] [stdout] 9626 | | _ => {} [INFO] [stdout] 9627 | | } [INFO] [stdout] | |_________________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#single_match [INFO] [stdout] help: try [INFO] [stdout] | [INFO] [stdout] 9618 ~ if &parsed_error.code[..] == "ResourceContention" { [INFO] [stdout] 9619 + return RusotoError::Service( [INFO] [stdout] 9620 + DisableMetricsCollectionError::ResourceContentionFault( [INFO] [stdout] 9621 + parsed_error.message, [INFO] [stdout] 9622 + ), [INFO] [stdout] 9623 + ) [INFO] [stdout] 9624 + } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the borrowed expression implements the required traits [INFO] [stdout] --> src/generated.rs:2814:63 [INFO] [stdout] | [INFO] [stdout] 2814 | params.put(&format!("{}{}", prefix, "StartTime"), &field_value); [INFO] [stdout] | ^^^^^^^^^^^^ help: change this to: `field_value` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: comparison to empty slice [INFO] [stdout] --> src/generated.rs:2835:12 [INFO] [stdout] | [INFO] [stdout] 2835 | if prefix != "" { [INFO] [stdout] | ^^^^^^^^^^^^ help: using `!is_empty` is clearer and more explicit: `!prefix.is_empty()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#comparison_to_empty [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: you seem to be trying to use `match` for an equality check. Consider using `if` [INFO] [stdout] --> src/generated.rs:9666:17 [INFO] [stdout] | [INFO] [stdout] 9666 | / match &parsed_error.code[..] { [INFO] [stdout] 9667 | | "ResourceContention" => { [INFO] [stdout] 9668 | | return RusotoError::Service( [INFO] [stdout] 9669 | | EnableMetricsCollectionError::ResourceContentionFault( [INFO] [stdout] ... | [INFO] [stdout] 9674 | | _ => {} [INFO] [stdout] 9675 | | } [INFO] [stdout] | |_________________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#single_match [INFO] [stdout] help: try [INFO] [stdout] | [INFO] [stdout] 9666 ~ if &parsed_error.code[..] == "ResourceContention" { [INFO] [stdout] 9667 + return RusotoError::Service( [INFO] [stdout] 9668 + EnableMetricsCollectionError::ResourceContentionFault( [INFO] [stdout] 9669 + parsed_error.message, [INFO] [stdout] 9670 + ), [INFO] [stdout] 9671 + ) [INFO] [stdout] 9672 + } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calling `push_str()` using a single-character string literal [INFO] [stdout] --> src/generated.rs:2836:13 [INFO] [stdout] | [INFO] [stdout] 2836 | prefix.push_str("."); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: consider using `push` with a character literal: `prefix.push('.')` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#single_char_add_str [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the borrowed expression implements the required traits [INFO] [stdout] --> src/generated.rs:2843:64 [INFO] [stdout] | [INFO] [stdout] 2843 | params.put(&format!("{}{}", prefix, "MaxRecords"), &field_value); [INFO] [stdout] | ^^^^^^^^^^^^ help: change this to: `field_value` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: you seem to be trying to use `match` for an equality check. Consider using `if` [INFO] [stdout] --> src/generated.rs:9714:17 [INFO] [stdout] | [INFO] [stdout] 9714 | / match &parsed_error.code[..] { [INFO] [stdout] 9715 | | "ResourceContention" => { [INFO] [stdout] 9716 | | return RusotoError::Service(EnterStandbyError::ResourceContentionFault( [INFO] [stdout] 9717 | | parsed_error.message, [INFO] [stdout] ... | [INFO] [stdout] 9720 | | _ => {} [INFO] [stdout] 9721 | | } [INFO] [stdout] | |_________________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#single_match [INFO] [stdout] help: try [INFO] [stdout] | [INFO] [stdout] 9714 ~ if &parsed_error.code[..] == "ResourceContention" { [INFO] [stdout] 9715 + return RusotoError::Service(EnterStandbyError::ResourceContentionFault( [INFO] [stdout] 9716 + parsed_error.message, [INFO] [stdout] 9717 + )) [INFO] [stdout] 9718 + } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the borrowed expression implements the required traits [INFO] [stdout] --> src/generated.rs:2846:63 [INFO] [stdout] | [INFO] [stdout] 2846 | params.put(&format!("{}{}", prefix, "NextToken"), &field_value); [INFO] [stdout] | ^^^^^^^^^^^^ help: change this to: `field_value` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: you seem to be trying to use `match` for an equality check. Consider using `if` [INFO] [stdout] --> src/generated.rs:9812:17 [INFO] [stdout] | [INFO] [stdout] 9812 | / match &parsed_error.code[..] { [INFO] [stdout] 9813 | | "ResourceContention" => { [INFO] [stdout] 9814 | | return RusotoError::Service(ExitStandbyError::ResourceContentionFault( [INFO] [stdout] 9815 | | parsed_error.message, [INFO] [stdout] ... | [INFO] [stdout] 9818 | | _ => {} [INFO] [stdout] 9819 | | } [INFO] [stdout] | |_________________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#single_match [INFO] [stdout] help: try [INFO] [stdout] | [INFO] [stdout] 9812 ~ if &parsed_error.code[..] == "ResourceContention" { [INFO] [stdout] 9813 + return RusotoError::Service(ExitStandbyError::ResourceContentionFault( [INFO] [stdout] 9814 + parsed_error.message, [INFO] [stdout] 9815 + )) [INFO] [stdout] 9816 + } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: comparison to empty slice [INFO] [stdout] --> src/generated.rs:2930:12 [INFO] [stdout] | [INFO] [stdout] 2930 | if prefix != "" { [INFO] [stdout] | ^^^^^^^^^^^^ help: using `!is_empty` is clearer and more explicit: `!prefix.is_empty()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#comparison_to_empty [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calling `push_str()` using a single-character string literal [INFO] [stdout] --> src/generated.rs:2931:13 [INFO] [stdout] | [INFO] [stdout] 2931 | prefix.push_str("."); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: consider using `push` with a character literal: `prefix.push('.')` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#single_char_add_str [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the borrowed expression implements the required traits [INFO] [stdout] --> src/generated.rs:2947:13 [INFO] [stdout] | [INFO] [stdout] 2947 | &obj.should_decrement_desired_capacity, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: change this to: `obj.should_decrement_desired_capacity` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: comparison to empty slice [INFO] [stdout] --> src/generated.rs:2987:12 [INFO] [stdout] | [INFO] [stdout] 2987 | if prefix != "" { [INFO] [stdout] | ^^^^^^^^^^^^ help: using `!is_empty` is clearer and more explicit: `!prefix.is_empty()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#comparison_to_empty [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calling `push_str()` using a single-character string literal [INFO] [stdout] --> src/generated.rs:2988:13 [INFO] [stdout] | [INFO] [stdout] 2988 | prefix.push_str("."); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: consider using `push` with a character literal: `prefix.push('.')` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#single_char_add_str [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: comparison to empty slice [INFO] [stdout] --> src/generated.rs:3038:12 [INFO] [stdout] | [INFO] [stdout] 3038 | if prefix != "" { [INFO] [stdout] | ^^^^^^^^^^^^ help: using `!is_empty` is clearer and more explicit: `!prefix.is_empty()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#comparison_to_empty [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calling `push_str()` using a single-character string literal [INFO] [stdout] --> src/generated.rs:3039:13 [INFO] [stdout] | [INFO] [stdout] 3039 | prefix.push_str("."); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: consider using `push` with a character literal: `prefix.push('.')` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#single_char_add_str [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: comparison to empty slice [INFO] [stdout] --> src/generated.rs:3068:12 [INFO] [stdout] | [INFO] [stdout] 3068 | if prefix != "" { [INFO] [stdout] | ^^^^^^^^^^^^ help: using `!is_empty` is clearer and more explicit: `!prefix.is_empty()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#comparison_to_empty [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calling `push_str()` using a single-character string literal [INFO] [stdout] --> src/generated.rs:3069:13 [INFO] [stdout] | [INFO] [stdout] 3069 | prefix.push_str("."); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: consider using `push` with a character literal: `prefix.push('.')` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#single_char_add_str [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: you seem to be trying to use `match` for an equality check. Consider using `if` [INFO] [stdout] --> src/generated.rs:10118:17 [INFO] [stdout] | [INFO] [stdout] 10118 | / match &parsed_error.code[..] { [INFO] [stdout] 10119 | | "ResourceContention" => { [INFO] [stdout] 10120 | | return RusotoError::Service( [INFO] [stdout] 10121 | | RecordLifecycleActionHeartbeatError::ResourceContentionFault( [INFO] [stdout] ... | [INFO] [stdout] 10126 | | _ => {} [INFO] [stdout] 10127 | | } [INFO] [stdout] | |_________________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#single_match [INFO] [stdout] help: try [INFO] [stdout] | [INFO] [stdout] 10118 ~ if &parsed_error.code[..] == "ResourceContention" { [INFO] [stdout] 10119 + return RusotoError::Service( [INFO] [stdout] 10120 + RecordLifecycleActionHeartbeatError::ResourceContentionFault( [INFO] [stdout] 10121 + parsed_error.message, [INFO] [stdout] 10122 + ), [INFO] [stdout] 10123 + ) [INFO] [stdout] 10124 + } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: comparison to empty slice [INFO] [stdout] --> src/generated.rs:3162:12 [INFO] [stdout] | [INFO] [stdout] 3162 | if prefix != "" { [INFO] [stdout] | ^^^^^^^^^^^^ help: using `!is_empty` is clearer and more explicit: `!prefix.is_empty()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#comparison_to_empty [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calling `push_str()` using a single-character string literal [INFO] [stdout] --> src/generated.rs:3163:13 [INFO] [stdout] | [INFO] [stdout] 3163 | prefix.push_str("."); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: consider using `push` with a character literal: `prefix.push('.')` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#single_char_add_str [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the borrowed expression implements the required traits [INFO] [stdout] --> src/generated.rs:3169:17 [INFO] [stdout] | [INFO] [stdout] 3169 | &field_value, [INFO] [stdout] | ^^^^^^^^^^^^ help: change this to: `field_value` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the borrowed expression implements the required traits [INFO] [stdout] --> src/generated.rs:3173:63 [INFO] [stdout] | [INFO] [stdout] 3173 | params.put(&format!("{}{}", prefix, "Encrypted"), &field_value); [INFO] [stdout] | ^^^^^^^^^^^^ help: change this to: `field_value` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the borrowed expression implements the required traits [INFO] [stdout] --> src/generated.rs:3176:58 [INFO] [stdout] | [INFO] [stdout] 3176 | params.put(&format!("{}{}", prefix, "Iops"), &field_value); [INFO] [stdout] | ^^^^^^^^^^^^ help: change this to: `field_value` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the borrowed expression implements the required traits [INFO] [stdout] --> src/generated.rs:3179:64 [INFO] [stdout] | [INFO] [stdout] 3179 | params.put(&format!("{}{}", prefix, "SnapshotId"), &field_value); [INFO] [stdout] | ^^^^^^^^^^^^ help: change this to: `field_value` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the borrowed expression implements the required traits [INFO] [stdout] --> src/generated.rs:3182:64 [INFO] [stdout] | [INFO] [stdout] 3182 | params.put(&format!("{}{}", prefix, "VolumeSize"), &field_value); [INFO] [stdout] | ^^^^^^^^^^^^ help: change this to: `field_value` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the borrowed expression implements the required traits [INFO] [stdout] --> src/generated.rs:3185:64 [INFO] [stdout] | [INFO] [stdout] 3185 | params.put(&format!("{}{}", prefix, "VolumeType"), &field_value); [INFO] [stdout] | ^^^^^^^^^^^^ help: change this to: `field_value` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: you seem to be trying to use `match` for an equality check. Consider using `if` [INFO] [stdout] --> src/generated.rs:10274:17 [INFO] [stdout] | [INFO] [stdout] 10274 | / match &parsed_error.code[..] { [INFO] [stdout] 10275 | | "ResourceContention" => { [INFO] [stdout] 10276 | | return RusotoError::Service( [INFO] [stdout] 10277 | | SetInstanceHealthError::ResourceContentionFault(parsed_error.message), [INFO] [stdout] ... | [INFO] [stdout] 10280 | | _ => {} [INFO] [stdout] 10281 | | } [INFO] [stdout] | |_________________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#single_match [INFO] [stdout] help: try [INFO] [stdout] | [INFO] [stdout] 10274 ~ if &parsed_error.code[..] == "ResourceContention" { [INFO] [stdout] 10275 + return RusotoError::Service( [INFO] [stdout] 10276 + SetInstanceHealthError::ResourceContentionFault(parsed_error.message), [INFO] [stdout] 10277 + ) [INFO] [stdout] 10278 + } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: comparison to empty slice [INFO] [stdout] --> src/generated.rs:3214:12 [INFO] [stdout] | [INFO] [stdout] 3214 | if prefix != "" { [INFO] [stdout] | ^^^^^^^^^^^^ help: using `!is_empty` is clearer and more explicit: `!prefix.is_empty()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#comparison_to_empty [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calling `push_str()` using a single-character string literal [INFO] [stdout] --> src/generated.rs:3215:13 [INFO] [stdout] | [INFO] [stdout] 3215 | prefix.push_str("."); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: consider using `push` with a character literal: `prefix.push('.')` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#single_char_add_str [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: comparison to empty slice [INFO] [stdout] --> src/generated.rs:3328:12 [INFO] [stdout] | [INFO] [stdout] 3328 | if prefix != "" { [INFO] [stdout] | ^^^^^^^^^^^^ help: using `!is_empty` is clearer and more explicit: `!prefix.is_empty()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#comparison_to_empty [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calling `push_str()` using a single-character string literal [INFO] [stdout] --> src/generated.rs:3329:13 [INFO] [stdout] | [INFO] [stdout] 3329 | prefix.push_str("."); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: consider using `push` with a character literal: `prefix.push('.')` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#single_char_add_str [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the borrowed expression implements the required traits [INFO] [stdout] --> src/generated.rs:3345:13 [INFO] [stdout] | [INFO] [stdout] 3345 | &obj.should_decrement_desired_capacity, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: change this to: `obj.should_decrement_desired_capacity` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: comparison to empty slice [INFO] [stdout] --> src/generated.rs:3378:12 [INFO] [stdout] | [INFO] [stdout] 3378 | if prefix != "" { [INFO] [stdout] | ^^^^^^^^^^^^ help: using `!is_empty` is clearer and more explicit: `!prefix.is_empty()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#comparison_to_empty [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calling `push_str()` using a single-character string literal [INFO] [stdout] --> src/generated.rs:3379:13 [INFO] [stdout] | [INFO] [stdout] 3379 | prefix.push_str("."); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: consider using `push` with a character literal: `prefix.push('.')` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#single_char_add_str [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the borrowed expression implements the required traits [INFO] [stdout] --> src/generated.rs:3385:17 [INFO] [stdout] | [INFO] [stdout] 3385 | &field_value, [INFO] [stdout] | ^^^^^^^^^^^^ help: change this to: `field_value` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the borrowed expression implements the required traits [INFO] [stdout] --> src/generated.rs:3389:69 [INFO] [stdout] | [INFO] [stdout] 3389 | params.put(&format!("{}{}", prefix, "BreachThreshold"), &field_value); [INFO] [stdout] | ^^^^^^^^^^^^ help: change this to: `field_value` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the borrowed expression implements the required traits [INFO] [stdout] --> src/generated.rs:3392:67 [INFO] [stdout] | [INFO] [stdout] 3392 | params.put(&format!("{}{}", prefix, "HonorCooldown"), &field_value); [INFO] [stdout] | ^^^^^^^^^^^^ help: change this to: `field_value` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the borrowed expression implements the required traits [INFO] [stdout] --> src/generated.rs:3395:65 [INFO] [stdout] | [INFO] [stdout] 3395 | params.put(&format!("{}{}", prefix, "MetricValue"), &field_value); [INFO] [stdout] | ^^^^^^^^^^^^ help: change this to: `field_value` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: comparison to empty slice [INFO] [stdout] --> src/generated.rs:3443:12 [INFO] [stdout] | [INFO] [stdout] 3443 | if prefix != "" { [INFO] [stdout] | ^^^^^^^^^^^^ help: using `!is_empty` is clearer and more explicit: `!prefix.is_empty()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#comparison_to_empty [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calling `push_str()` using a single-character string literal [INFO] [stdout] --> src/generated.rs:3444:13 [INFO] [stdout] | [INFO] [stdout] 3444 | prefix.push_str("."); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: consider using `push` with a character literal: `prefix.push('.')` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#single_char_add_str [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: comparison to empty slice [INFO] [stdout] --> src/generated.rs:3546:12 [INFO] [stdout] | [INFO] [stdout] 3546 | if prefix != "" { [INFO] [stdout] | ^^^^^^^^^^^^ help: using `!is_empty` is clearer and more explicit: `!prefix.is_empty()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#comparison_to_empty [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calling `push_str()` using a single-character string literal [INFO] [stdout] --> src/generated.rs:3547:13 [INFO] [stdout] | [INFO] [stdout] 3547 | prefix.push_str("."); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: consider using `push` with a character literal: `prefix.push('.')` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#single_char_add_str [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the borrowed expression implements the required traits [INFO] [stdout] --> src/generated.rs:3551:58 [INFO] [stdout] | [INFO] [stdout] 3551 | params.put(&format!("{}{}", prefix, "Name"), &field_value); [INFO] [stdout] | ^^^^^^^^^^^^ help: change this to: `field_value` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: writing `&Vec` instead of `&[_]` involves a new object where a slice will do [INFO] [stdout] --> src/generated.rs:3562:56 [INFO] [stdout] | [INFO] [stdout] 3562 | fn serialize(params: &mut Params, name: &str, obj: &Vec) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#ptr_arg [INFO] [stdout] help: change this to [INFO] [stdout] | [INFO] [stdout] 3562 - fn serialize(params: &mut Params, name: &str, obj: &Vec) { [INFO] [stdout] 3562 + fn serialize(params: &mut Params, name: &str, obj: &[Filter]) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: writing `&Vec` instead of `&[_]` involves a new object where a slice will do [INFO] [stdout] --> src/generated.rs:3684:56 [INFO] [stdout] | [INFO] [stdout] 3684 | fn serialize(params: &mut Params, name: &str, obj: &Vec) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#ptr_arg [INFO] [stdout] help: change this to [INFO] [stdout] | [INFO] [stdout] 3684 - fn serialize(params: &mut Params, name: &str, obj: &Vec) { [INFO] [stdout] 3684 + fn serialize(params: &mut Params, name: &str, obj: &[String]) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the borrowed expression implements the required traits [INFO] [stdout] --> src/generated.rs:3687:30 [INFO] [stdout] | [INFO] [stdout] 3687 | params.put(&key, &obj); [INFO] [stdout] | ^^^^ help: change this to: `obj` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: comparison to empty slice [INFO] [stdout] --> src/generated.rs:3728:12 [INFO] [stdout] | [INFO] [stdout] 3728 | if prefix != "" { [INFO] [stdout] | ^^^^^^^^^^^^ help: using `!is_empty` is clearer and more explicit: `!prefix.is_empty()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#comparison_to_empty [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calling `push_str()` using a single-character string literal [INFO] [stdout] --> src/generated.rs:3729:13 [INFO] [stdout] | [INFO] [stdout] 3729 | prefix.push_str("."); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: consider using `push` with a character literal: `prefix.push('.')` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#single_char_add_str [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the borrowed expression implements the required traits [INFO] [stdout] --> src/generated.rs:3733:61 [INFO] [stdout] | [INFO] [stdout] 3733 | params.put(&format!("{}{}", prefix, "Enabled"), &field_value); [INFO] [stdout] | ^^^^^^^^^^^^ help: change this to: `field_value` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: writing `&Vec` instead of `&[_]` involves a new object where a slice will do [INFO] [stdout] --> src/generated.rs:3829:56 [INFO] [stdout] | [INFO] [stdout] 3829 | fn serialize(params: &mut Params, name: &str, obj: &Vec) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#ptr_arg [INFO] [stdout] help: change this to [INFO] [stdout] | [INFO] [stdout] 3829 - fn serialize(params: &mut Params, name: &str, obj: &Vec) { [INFO] [stdout] 3829 + fn serialize(params: &mut Params, name: &str, obj: &[String]) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the borrowed expression implements the required traits [INFO] [stdout] --> src/generated.rs:3832:30 [INFO] [stdout] | [INFO] [stdout] 3832 | params.put(&key, &obj); [INFO] [stdout] | ^^^^ help: change this to: `obj` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: comparison to empty slice [INFO] [stdout] --> src/generated.rs:3961:12 [INFO] [stdout] | [INFO] [stdout] 3961 | if prefix != "" { [INFO] [stdout] | ^^^^^^^^^^^^ help: using `!is_empty` is clearer and more explicit: `!prefix.is_empty()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#comparison_to_empty [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calling `push_str()` using a single-character string literal [INFO] [stdout] --> src/generated.rs:3962:13 [INFO] [stdout] | [INFO] [stdout] 3962 | prefix.push_str("."); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: consider using `push` with a character literal: `prefix.push('.')` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#single_char_add_str [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the borrowed expression implements the required traits [INFO] [stdout] --> src/generated.rs:3968:17 [INFO] [stdout] | [INFO] [stdout] 3968 | &field_value, [INFO] [stdout] | ^^^^^^^^^^^^ help: change this to: `field_value` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the borrowed expression implements the required traits [INFO] [stdout] --> src/generated.rs:3974:17 [INFO] [stdout] | [INFO] [stdout] 3974 | &field_value, [INFO] [stdout] | ^^^^^^^^^^^^ help: change this to: `field_value` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the borrowed expression implements the required traits [INFO] [stdout] --> src/generated.rs:3980:17 [INFO] [stdout] | [INFO] [stdout] 3980 | &field_value, [INFO] [stdout] | ^^^^^^^^^^^^ help: change this to: `field_value` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the borrowed expression implements the required traits [INFO] [stdout] --> src/generated.rs:3986:17 [INFO] [stdout] | [INFO] [stdout] 3986 | &field_value, [INFO] [stdout] | ^^^^^^^^^^^^ help: change this to: `field_value` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the borrowed expression implements the required traits [INFO] [stdout] --> src/generated.rs:3990:71 [INFO] [stdout] | [INFO] [stdout] 3990 | params.put(&format!("{}{}", prefix, "SpotInstancePools"), &field_value); [INFO] [stdout] | ^^^^^^^^^^^^ help: change this to: `field_value` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the borrowed expression implements the required traits [INFO] [stdout] --> src/generated.rs:3993:66 [INFO] [stdout] | [INFO] [stdout] 3993 | params.put(&format!("{}{}", prefix, "SpotMaxPrice"), &field_value); [INFO] [stdout] | ^^^^^^^^^^^^ help: change this to: `field_value` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: comparison to empty slice [INFO] [stdout] --> src/generated.rs:4188:12 [INFO] [stdout] | [INFO] [stdout] 4188 | if prefix != "" { [INFO] [stdout] | ^^^^^^^^^^^^ help: using `!is_empty` is clearer and more explicit: `!prefix.is_empty()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#comparison_to_empty [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calling `push_str()` using a single-character string literal [INFO] [stdout] --> src/generated.rs:4189:13 [INFO] [stdout] | [INFO] [stdout] 4189 | prefix.push_str("."); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: consider using `push` with a character literal: `prefix.push('.')` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#single_char_add_str [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: writing `&Vec` instead of `&[_]` involves a new object where a slice will do [INFO] [stdout] --> src/generated.rs:4202:56 [INFO] [stdout] | [INFO] [stdout] 4202 | fn serialize(params: &mut Params, name: &str, obj: &Vec) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#ptr_arg [INFO] [stdout] help: change this to [INFO] [stdout] | [INFO] [stdout] 4202 - fn serialize(params: &mut Params, name: &str, obj: &Vec) { [INFO] [stdout] 4202 + fn serialize(params: &mut Params, name: &str, obj: &[String]) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the borrowed expression implements the required traits [INFO] [stdout] --> src/generated.rs:4205:30 [INFO] [stdout] | [INFO] [stdout] 4205 | params.put(&key, &obj); [INFO] [stdout] | ^^^^ help: change this to: `obj` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: comparison to empty slice [INFO] [stdout] --> src/generated.rs:4226:12 [INFO] [stdout] | [INFO] [stdout] 4226 | if prefix != "" { [INFO] [stdout] | ^^^^^^^^^^^^ help: using `!is_empty` is clearer and more explicit: `!prefix.is_empty()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#comparison_to_empty [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calling `push_str()` using a single-character string literal [INFO] [stdout] --> src/generated.rs:4227:13 [INFO] [stdout] | [INFO] [stdout] 4227 | prefix.push_str("."); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: consider using `push` with a character literal: `prefix.push('.')` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#single_char_add_str [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the borrowed expression implements the required traits [INFO] [stdout] --> src/generated.rs:4238:64 [INFO] [stdout] | [INFO] [stdout] 4238 | params.put(&format!("{}{}", prefix, "MaxRecords"), &field_value); [INFO] [stdout] | ^^^^^^^^^^^^ help: change this to: `field_value` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the borrowed expression implements the required traits [INFO] [stdout] --> src/generated.rs:4241:63 [INFO] [stdout] | [INFO] [stdout] 4241 | params.put(&format!("{}{}", prefix, "NextToken"), &field_value); [INFO] [stdout] | ^^^^^^^^^^^^ help: change this to: `field_value` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: comparison to empty slice [INFO] [stdout] --> src/generated.rs:4352:12 [INFO] [stdout] | [INFO] [stdout] 4352 | if prefix != "" { [INFO] [stdout] | ^^^^^^^^^^^^ help: using `!is_empty` is clearer and more explicit: `!prefix.is_empty()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#comparison_to_empty [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calling `push_str()` using a single-character string literal [INFO] [stdout] --> src/generated.rs:4353:13 [INFO] [stdout] | [INFO] [stdout] 4353 | prefix.push_str("."); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: consider using `push` with a character literal: `prefix.push('.')` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#single_char_add_str [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: comparison to empty slice [INFO] [stdout] --> src/generated.rs:4430:12 [INFO] [stdout] | [INFO] [stdout] 4430 | if prefix != "" { [INFO] [stdout] | ^^^^^^^^^^^^ help: using `!is_empty` is clearer and more explicit: `!prefix.is_empty()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#comparison_to_empty [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calling `push_str()` using a single-character string literal [INFO] [stdout] --> src/generated.rs:4431:13 [INFO] [stdout] | [INFO] [stdout] 4431 | prefix.push_str("."); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: consider using `push` with a character literal: `prefix.push('.')` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#single_char_add_str [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the borrowed expression implements the required traits [INFO] [stdout] --> src/generated.rs:4435:66 [INFO] [stdout] | [INFO] [stdout] 4435 | params.put(&format!("{}{}", prefix, "InstanceType"), &field_value); [INFO] [stdout] | ^^^^^^^^^^^^ help: change this to: `field_value` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the borrowed expression implements the required traits [INFO] [stdout] --> src/generated.rs:4438:70 [INFO] [stdout] | [INFO] [stdout] 4438 | params.put(&format!("{}{}", prefix, "WeightedCapacity"), &field_value); [INFO] [stdout] | ^^^^^^^^^^^^ help: change this to: `field_value` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: comparison to empty slice [INFO] [stdout] --> src/generated.rs:4500:12 [INFO] [stdout] | [INFO] [stdout] 4500 | if prefix != "" { [INFO] [stdout] | ^^^^^^^^^^^^ help: using `!is_empty` is clearer and more explicit: `!prefix.is_empty()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#comparison_to_empty [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calling `push_str()` using a single-character string literal [INFO] [stdout] --> src/generated.rs:4501:13 [INFO] [stdout] | [INFO] [stdout] 4501 | prefix.push_str("."); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: consider using `push` with a character literal: `prefix.push('.')` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#single_char_add_str [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the borrowed expression implements the required traits [INFO] [stdout] --> src/generated.rs:4505:70 [INFO] [stdout] | [INFO] [stdout] 4505 | params.put(&format!("{}{}", prefix, "LaunchTemplateId"), &field_value); [INFO] [stdout] | ^^^^^^^^^^^^ help: change this to: `field_value` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the borrowed expression implements the required traits [INFO] [stdout] --> src/generated.rs:4508:72 [INFO] [stdout] | [INFO] [stdout] 4508 | params.put(&format!("{}{}", prefix, "LaunchTemplateName"), &field_value); [INFO] [stdout] | ^^^^^^^^^^^^ help: change this to: `field_value` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the borrowed expression implements the required traits [INFO] [stdout] --> src/generated.rs:4511:61 [INFO] [stdout] | [INFO] [stdout] 4511 | params.put(&format!("{}{}", prefix, "Version"), &field_value); [INFO] [stdout] | ^^^^^^^^^^^^ help: change this to: `field_value` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: writing `&Vec` instead of `&[_]` involves a new object where a slice will do [INFO] [stdout] --> src/generated.rs:4619:56 [INFO] [stdout] | [INFO] [stdout] 4619 | fn serialize(params: &mut Params, name: &str, obj: &Vec) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#ptr_arg [INFO] [stdout] help: change this to [INFO] [stdout] | [INFO] [stdout] 4619 - fn serialize(params: &mut Params, name: &str, obj: &Vec) { [INFO] [stdout] 4619 + fn serialize(params: &mut Params, name: &str, obj: &[String]) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the borrowed expression implements the required traits [INFO] [stdout] --> src/generated.rs:4622:30 [INFO] [stdout] | [INFO] [stdout] 4622 | params.put(&key, &obj); [INFO] [stdout] | ^^^^ help: change this to: `obj` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: comparison to empty slice [INFO] [stdout] --> src/generated.rs:4652:12 [INFO] [stdout] | [INFO] [stdout] 4652 | if prefix != "" { [INFO] [stdout] | ^^^^^^^^^^^^ help: using `!is_empty` is clearer and more explicit: `!prefix.is_empty()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#comparison_to_empty [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calling `push_str()` using a single-character string literal [INFO] [stdout] --> src/generated.rs:4653:13 [INFO] [stdout] | [INFO] [stdout] 4653 | prefix.push_str("."); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: consider using `push` with a character literal: `prefix.push('.')` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#single_char_add_str [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the borrowed expression implements the required traits [INFO] [stdout] --> src/generated.rs:4657:67 [INFO] [stdout] | [INFO] [stdout] 4657 | params.put(&format!("{}{}", prefix, "DefaultResult"), &field_value); [INFO] [stdout] | ^^^^^^^^^^^^ help: change this to: `field_value` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the borrowed expression implements the required traits [INFO] [stdout] --> src/generated.rs:4660:70 [INFO] [stdout] | [INFO] [stdout] 4660 | params.put(&format!("{}{}", prefix, "HeartbeatTimeout"), &field_value); [INFO] [stdout] | ^^^^^^^^^^^^ help: change this to: `field_value` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the borrowed expression implements the required traits [INFO] [stdout] --> src/generated.rs:4673:17 [INFO] [stdout] | [INFO] [stdout] 4673 | &field_value, [INFO] [stdout] | ^^^^^^^^^^^^ help: change this to: `field_value` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the borrowed expression implements the required traits [INFO] [stdout] --> src/generated.rs:4679:17 [INFO] [stdout] | [INFO] [stdout] 4679 | &field_value, [INFO] [stdout] | ^^^^^^^^^^^^ help: change this to: `field_value` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the borrowed expression implements the required traits [INFO] [stdout] --> src/generated.rs:4683:61 [INFO] [stdout] | [INFO] [stdout] 4683 | params.put(&format!("{}{}", prefix, "RoleARN"), &field_value); [INFO] [stdout] | ^^^^^^^^^^^^ help: change this to: `field_value` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: writing `&Vec` instead of `&[_]` involves a new object where a slice will do [INFO] [stdout] --> src/generated.rs:4691:56 [INFO] [stdout] | [INFO] [stdout] 4691 | fn serialize(params: &mut Params, name: &str, obj: &Vec) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#ptr_arg [INFO] [stdout] help: change this to [INFO] [stdout] | [INFO] [stdout] 4691 - fn serialize(params: &mut Params, name: &str, obj: &Vec) { [INFO] [stdout] 4691 + fn serialize(params: &mut Params, name: &str, obj: &[LifecycleHookSpecification]) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: writing `&Vec` instead of `&[_]` involves a new object where a slice will do [INFO] [stdout] --> src/generated.rs:4757:56 [INFO] [stdout] | [INFO] [stdout] 4757 | fn serialize(params: &mut Params, name: &str, obj: &Vec) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#ptr_arg [INFO] [stdout] help: change this to [INFO] [stdout] | [INFO] [stdout] 4757 - fn serialize(params: &mut Params, name: &str, obj: &Vec) { [INFO] [stdout] 4757 + fn serialize(params: &mut Params, name: &str, obj: &[String]) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the borrowed expression implements the required traits [INFO] [stdout] --> src/generated.rs:4760:30 [INFO] [stdout] | [INFO] [stdout] 4760 | params.put(&key, &obj); [INFO] [stdout] | ^^^^ help: change this to: `obj` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: comparison to empty slice [INFO] [stdout] --> src/generated.rs:4991:12 [INFO] [stdout] | [INFO] [stdout] 4991 | if prefix != "" { [INFO] [stdout] | ^^^^^^^^^^^^ help: using `!is_empty` is clearer and more explicit: `!prefix.is_empty()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#comparison_to_empty [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calling `push_str()` using a single-character string literal [INFO] [stdout] --> src/generated.rs:4992:13 [INFO] [stdout] | [INFO] [stdout] 4992 | prefix.push_str("."); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: consider using `push` with a character literal: `prefix.push('.')` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#single_char_add_str [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: writing `&Vec` instead of `&[_]` involves a new object where a slice will do [INFO] [stdout] --> src/generated.rs:5038:56 [INFO] [stdout] | [INFO] [stdout] 5038 | fn serialize(params: &mut Params, name: &str, obj: &Vec) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#ptr_arg [INFO] [stdout] help: change this to [INFO] [stdout] | [INFO] [stdout] 5038 - fn serialize(params: &mut Params, name: &str, obj: &Vec) { [INFO] [stdout] 5038 + fn serialize(params: &mut Params, name: &str, obj: &[MetricDimension]) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: writing `&Vec` instead of `&[_]` involves a new object where a slice will do [INFO] [stdout] --> src/generated.rs:5148:56 [INFO] [stdout] | [INFO] [stdout] 5148 | fn serialize(params: &mut Params, name: &str, obj: &Vec) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#ptr_arg [INFO] [stdout] help: change this to [INFO] [stdout] | [INFO] [stdout] 5148 - fn serialize(params: &mut Params, name: &str, obj: &Vec) { [INFO] [stdout] 5148 + fn serialize(params: &mut Params, name: &str, obj: &[String]) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the borrowed expression implements the required traits [INFO] [stdout] --> src/generated.rs:5151:30 [INFO] [stdout] | [INFO] [stdout] 5151 | params.put(&key, &obj); [INFO] [stdout] | ^^^^ help: change this to: `obj` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: comparison to empty slice [INFO] [stdout] --> src/generated.rs:5226:12 [INFO] [stdout] | [INFO] [stdout] 5226 | if prefix != "" { [INFO] [stdout] | ^^^^^^^^^^^^ help: using `!is_empty` is clearer and more explicit: `!prefix.is_empty()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#comparison_to_empty [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calling `push_str()` using a single-character string literal [INFO] [stdout] --> src/generated.rs:5227:13 [INFO] [stdout] | [INFO] [stdout] 5227 | prefix.push_str("."); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: consider using `push` with a character literal: `prefix.push('.')` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#single_char_add_str [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: writing `&Vec` instead of `&[_]` involves a new object where a slice will do [INFO] [stdout] --> src/generated.rs:5387:56 [INFO] [stdout] | [INFO] [stdout] 5387 | fn serialize(params: &mut Params, name: &str, obj: &Vec) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#ptr_arg [INFO] [stdout] help: change this to [INFO] [stdout] | [INFO] [stdout] 5387 - fn serialize(params: &mut Params, name: &str, obj: &Vec) { [INFO] [stdout] 5387 + fn serialize(params: &mut Params, name: &str, obj: &[LaunchTemplateOverrides]) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: writing `&Vec` instead of `&[_]` involves a new object where a slice will do [INFO] [stdout] --> src/generated.rs:5475:56 [INFO] [stdout] | [INFO] [stdout] 5475 | fn serialize(params: &mut Params, name: &str, obj: &Vec) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#ptr_arg [INFO] [stdout] help: change this to [INFO] [stdout] | [INFO] [stdout] 5475 - fn serialize(params: &mut Params, name: &str, obj: &Vec) { [INFO] [stdout] 5475 + fn serialize(params: &mut Params, name: &str, obj: &[String]) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the borrowed expression implements the required traits [INFO] [stdout] --> src/generated.rs:5478:30 [INFO] [stdout] | [INFO] [stdout] 5478 | params.put(&key, &obj); [INFO] [stdout] | ^^^^ help: change this to: `obj` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: writing `&Vec` instead of `&[_]` involves a new object where a slice will do [INFO] [stdout] --> src/generated.rs:5486:56 [INFO] [stdout] | [INFO] [stdout] 5486 | fn serialize(params: &mut Params, name: &str, obj: &Vec) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#ptr_arg [INFO] [stdout] help: change this to [INFO] [stdout] | [INFO] [stdout] 5486 - fn serialize(params: &mut Params, name: &str, obj: &Vec) { [INFO] [stdout] 5486 + fn serialize(params: &mut Params, name: &str, obj: &[String]) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the borrowed expression implements the required traits [INFO] [stdout] --> src/generated.rs:5489:30 [INFO] [stdout] | [INFO] [stdout] 5489 | params.put(&key, &obj); [INFO] [stdout] | ^^^^ help: change this to: `obj` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: comparison to empty slice [INFO] [stdout] --> src/generated.rs:5541:12 [INFO] [stdout] | [INFO] [stdout] 5541 | if prefix != "" { [INFO] [stdout] | ^^^^^^^^^^^^ help: using `!is_empty` is clearer and more explicit: `!prefix.is_empty()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#comparison_to_empty [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calling `push_str()` using a single-character string literal [INFO] [stdout] --> src/generated.rs:5542:13 [INFO] [stdout] | [INFO] [stdout] 5542 | prefix.push_str("."); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: consider using `push` with a character literal: `prefix.push('.')` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#single_char_add_str [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the borrowed expression implements the required traits [INFO] [stdout] --> src/generated.rs:5550:67 [INFO] [stdout] | [INFO] [stdout] 5550 | params.put(&format!("{}{}", prefix, "ResourceLabel"), &field_value); [INFO] [stdout] | ^^^^^^^^^^^^ help: change this to: `field_value` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: writing `&Vec` instead of `&[_]` involves a new object where a slice will do [INFO] [stdout] --> src/generated.rs:5558:56 [INFO] [stdout] | [INFO] [stdout] 5558 | fn serialize(params: &mut Params, name: &str, obj: &Vec) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#ptr_arg [INFO] [stdout] help: change this to [INFO] [stdout] | [INFO] [stdout] 5558 - fn serialize(params: &mut Params, name: &str, obj: &Vec) { [INFO] [stdout] 5558 + fn serialize(params: &mut Params, name: &str, obj: &[String]) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the borrowed expression implements the required traits [INFO] [stdout] --> src/generated.rs:5561:30 [INFO] [stdout] | [INFO] [stdout] 5561 | params.put(&key, &obj); [INFO] [stdout] | ^^^^ help: change this to: `obj` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: comparison to empty slice [INFO] [stdout] --> src/generated.rs:5703:12 [INFO] [stdout] | [INFO] [stdout] 5703 | if prefix != "" { [INFO] [stdout] | ^^^^^^^^^^^^ help: using `!is_empty` is clearer and more explicit: `!prefix.is_empty()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#comparison_to_empty [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calling `push_str()` using a single-character string literal [INFO] [stdout] --> src/generated.rs:5704:13 [INFO] [stdout] | [INFO] [stdout] 5704 | prefix.push_str("."); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: consider using `push` with a character literal: `prefix.push('.')` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#single_char_add_str [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the borrowed expression implements the required traits [INFO] [stdout] --> src/generated.rs:5712:67 [INFO] [stdout] | [INFO] [stdout] 5712 | params.put(&format!("{}{}", prefix, "DefaultResult"), &field_value); [INFO] [stdout] | ^^^^^^^^^^^^ help: change this to: `field_value` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the borrowed expression implements the required traits [INFO] [stdout] --> src/generated.rs:5715:70 [INFO] [stdout] | [INFO] [stdout] 5715 | params.put(&format!("{}{}", prefix, "HeartbeatTimeout"), &field_value); [INFO] [stdout] | ^^^^^^^^^^^^ help: change this to: `field_value` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the borrowed expression implements the required traits [INFO] [stdout] --> src/generated.rs:5724:17 [INFO] [stdout] | [INFO] [stdout] 5724 | &field_value, [INFO] [stdout] | ^^^^^^^^^^^^ help: change this to: `field_value` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the borrowed expression implements the required traits [INFO] [stdout] --> src/generated.rs:5730:17 [INFO] [stdout] | [INFO] [stdout] 5730 | &field_value, [INFO] [stdout] | ^^^^^^^^^^^^ help: change this to: `field_value` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the borrowed expression implements the required traits [INFO] [stdout] --> src/generated.rs:5736:17 [INFO] [stdout] | [INFO] [stdout] 5736 | &field_value, [INFO] [stdout] | ^^^^^^^^^^^^ help: change this to: `field_value` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the borrowed expression implements the required traits [INFO] [stdout] --> src/generated.rs:5740:61 [INFO] [stdout] | [INFO] [stdout] 5740 | params.put(&format!("{}{}", prefix, "RoleARN"), &field_value); [INFO] [stdout] | ^^^^^^^^^^^^ help: change this to: `field_value` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: comparison to empty slice [INFO] [stdout] --> src/generated.rs:5761:12 [INFO] [stdout] | [INFO] [stdout] 5761 | if prefix != "" { [INFO] [stdout] | ^^^^^^^^^^^^ help: using `!is_empty` is clearer and more explicit: `!prefix.is_empty()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#comparison_to_empty [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calling `push_str()` using a single-character string literal [INFO] [stdout] --> src/generated.rs:5762:13 [INFO] [stdout] | [INFO] [stdout] 5762 | prefix.push_str("."); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: consider using `push` with a character literal: `prefix.push('.')` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#single_char_add_str [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: comparison to empty slice [INFO] [stdout] --> src/generated.rs:5814:12 [INFO] [stdout] | [INFO] [stdout] 5814 | if prefix != "" { [INFO] [stdout] | ^^^^^^^^^^^^ help: using `!is_empty` is clearer and more explicit: `!prefix.is_empty()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#comparison_to_empty [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calling `push_str()` using a single-character string literal [INFO] [stdout] --> src/generated.rs:5815:13 [INFO] [stdout] | [INFO] [stdout] 5815 | prefix.push_str("."); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: consider using `push` with a character literal: `prefix.push('.')` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#single_char_add_str [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the borrowed expression implements the required traits [INFO] [stdout] --> src/generated.rs:5819:68 [INFO] [stdout] | [INFO] [stdout] 5819 | params.put(&format!("{}{}", prefix, "AdjustmentType"), &field_value); [INFO] [stdout] | ^^^^^^^^^^^^ help: change this to: `field_value` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the borrowed expression implements the required traits [INFO] [stdout] --> src/generated.rs:5826:62 [INFO] [stdout] | [INFO] [stdout] 5826 | params.put(&format!("{}{}", prefix, "Cooldown"), &field_value); [INFO] [stdout] | ^^^^^^^^^^^^ help: change this to: `field_value` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the borrowed expression implements the required traits [INFO] [stdout] --> src/generated.rs:5829:61 [INFO] [stdout] | [INFO] [stdout] 5829 | params.put(&format!("{}{}", prefix, "Enabled"), &field_value); [INFO] [stdout] | ^^^^^^^^^^^^ help: change this to: `field_value` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the borrowed expression implements the required traits [INFO] [stdout] --> src/generated.rs:5834:17 [INFO] [stdout] | [INFO] [stdout] 5834 | &field_value, [INFO] [stdout] | ^^^^^^^^^^^^ help: change this to: `field_value` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the borrowed expression implements the required traits [INFO] [stdout] --> src/generated.rs:5840:17 [INFO] [stdout] | [INFO] [stdout] 5840 | &field_value, [INFO] [stdout] | ^^^^^^^^^^^^ help: change this to: `field_value` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the borrowed expression implements the required traits [INFO] [stdout] --> src/generated.rs:5846:17 [INFO] [stdout] | [INFO] [stdout] 5846 | &field_value, [INFO] [stdout] | ^^^^^^^^^^^^ help: change this to: `field_value` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the borrowed expression implements the required traits [INFO] [stdout] --> src/generated.rs:5850:71 [INFO] [stdout] | [INFO] [stdout] 5850 | params.put(&format!("{}{}", prefix, "MinAdjustmentStep"), &field_value); [INFO] [stdout] | ^^^^^^^^^^^^ help: change this to: `field_value` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the borrowed expression implements the required traits [INFO] [stdout] --> src/generated.rs:5854:64 [INFO] [stdout] | [INFO] [stdout] 5854 | params.put(&format!("{}{}", prefix, "PolicyType"), &field_value); [INFO] [stdout] | ^^^^^^^^^^^^ help: change this to: `field_value` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the borrowed expression implements the required traits [INFO] [stdout] --> src/generated.rs:5857:71 [INFO] [stdout] | [INFO] [stdout] 5857 | params.put(&format!("{}{}", prefix, "ScalingAdjustment"), &field_value); [INFO] [stdout] | ^^^^^^^^^^^^ help: change this to: `field_value` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: comparison to empty slice [INFO] [stdout] --> src/generated.rs:5904:12 [INFO] [stdout] | [INFO] [stdout] 5904 | if prefix != "" { [INFO] [stdout] | ^^^^^^^^^^^^ help: using `!is_empty` is clearer and more explicit: `!prefix.is_empty()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#comparison_to_empty [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calling `push_str()` using a single-character string literal [INFO] [stdout] --> src/generated.rs:5905:13 [INFO] [stdout] | [INFO] [stdout] 5905 | prefix.push_str("."); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: consider using `push` with a character literal: `prefix.push('.')` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#single_char_add_str [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the borrowed expression implements the required traits [INFO] [stdout] --> src/generated.rs:5913:69 [INFO] [stdout] | [INFO] [stdout] 5913 | params.put(&format!("{}{}", prefix, "DesiredCapacity"), &field_value); [INFO] [stdout] | ^^^^^^^^^^^^ help: change this to: `field_value` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the borrowed expression implements the required traits [INFO] [stdout] --> src/generated.rs:5916:61 [INFO] [stdout] | [INFO] [stdout] 5916 | params.put(&format!("{}{}", prefix, "EndTime"), &field_value); [INFO] [stdout] | ^^^^^^^^^^^^ help: change this to: `field_value` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the borrowed expression implements the required traits [INFO] [stdout] --> src/generated.rs:5919:61 [INFO] [stdout] | [INFO] [stdout] 5919 | params.put(&format!("{}{}", prefix, "MaxSize"), &field_value); [INFO] [stdout] | ^^^^^^^^^^^^ help: change this to: `field_value` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the borrowed expression implements the required traits [INFO] [stdout] --> src/generated.rs:5922:61 [INFO] [stdout] | [INFO] [stdout] 5922 | params.put(&format!("{}{}", prefix, "MinSize"), &field_value); [INFO] [stdout] | ^^^^^^^^^^^^ help: change this to: `field_value` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the borrowed expression implements the required traits [INFO] [stdout] --> src/generated.rs:5925:64 [INFO] [stdout] | [INFO] [stdout] 5925 | params.put(&format!("{}{}", prefix, "Recurrence"), &field_value); [INFO] [stdout] | ^^^^^^^^^^^^ help: change this to: `field_value` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the borrowed expression implements the required traits [INFO] [stdout] --> src/generated.rs:5932:63 [INFO] [stdout] | [INFO] [stdout] 5932 | params.put(&format!("{}{}", prefix, "StartTime"), &field_value); [INFO] [stdout] | ^^^^^^^^^^^^ help: change this to: `field_value` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the borrowed expression implements the required traits [INFO] [stdout] --> src/generated.rs:5935:58 [INFO] [stdout] | [INFO] [stdout] 5935 | params.put(&format!("{}{}", prefix, "Time"), &field_value); [INFO] [stdout] | ^^^^^^^^^^^^ help: change this to: `field_value` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: comparison to empty slice [INFO] [stdout] --> src/generated.rs:5979:12 [INFO] [stdout] | [INFO] [stdout] 5979 | if prefix != "" { [INFO] [stdout] | ^^^^^^^^^^^^ help: using `!is_empty` is clearer and more explicit: `!prefix.is_empty()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#comparison_to_empty [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calling `push_str()` using a single-character string literal [INFO] [stdout] --> src/generated.rs:5980:13 [INFO] [stdout] | [INFO] [stdout] 5980 | prefix.push_str("."); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: consider using `push` with a character literal: `prefix.push('.')` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#single_char_add_str [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the borrowed expression implements the required traits [INFO] [stdout] --> src/generated.rs:5988:64 [INFO] [stdout] | [INFO] [stdout] 5988 | params.put(&format!("{}{}", prefix, "InstanceId"), &field_value); [INFO] [stdout] | ^^^^^^^^^^^^ help: change this to: `field_value` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the borrowed expression implements the required traits [INFO] [stdout] --> src/generated.rs:5993:17 [INFO] [stdout] | [INFO] [stdout] 5993 | &field_value, [INFO] [stdout] | ^^^^^^^^^^^^ help: change this to: `field_value` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: comparison to empty slice [INFO] [stdout] --> src/generated.rs:6018:12 [INFO] [stdout] | [INFO] [stdout] 6018 | if prefix != "" { [INFO] [stdout] | ^^^^^^^^^^^^ help: using `!is_empty` is clearer and more explicit: `!prefix.is_empty()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#comparison_to_empty [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calling `push_str()` using a single-character string literal [INFO] [stdout] --> src/generated.rs:6019:13 [INFO] [stdout] | [INFO] [stdout] 6019 | prefix.push_str("."); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: consider using `push` with a character literal: `prefix.push('.')` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#single_char_add_str [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the borrowed expression implements the required traits [INFO] [stdout] --> src/generated.rs:6023:68 [INFO] [stdout] | [INFO] [stdout] 6023 | params.put(&format!("{}{}", prefix, "InstanceWarmup"), &field_value); [INFO] [stdout] | ^^^^^^^^^^^^ help: change this to: `field_value` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the borrowed expression implements the required traits [INFO] [stdout] --> src/generated.rs:6028:17 [INFO] [stdout] | [INFO] [stdout] 6028 | &field_value, [INFO] [stdout] | ^^^^^^^^^^^^ help: change this to: `field_value` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: comparison to empty slice [INFO] [stdout] --> src/generated.rs:6226:12 [INFO] [stdout] | [INFO] [stdout] 6226 | if prefix != "" { [INFO] [stdout] | ^^^^^^^^^^^^ help: using `!is_empty` is clearer and more explicit: `!prefix.is_empty()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#comparison_to_empty [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calling `push_str()` using a single-character string literal [INFO] [stdout] --> src/generated.rs:6227:13 [INFO] [stdout] | [INFO] [stdout] 6227 | prefix.push_str("."); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: consider using `push` with a character literal: `prefix.push('.')` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#single_char_add_str [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: writing `&Vec` instead of `&[_]` involves a new object where a slice will do [INFO] [stdout] --> src/generated.rs:6247:56 [INFO] [stdout] | [INFO] [stdout] 6247 | fn serialize(params: &mut Params, name: &str, obj: &Vec) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#ptr_arg [INFO] [stdout] help: change this to [INFO] [stdout] | [INFO] [stdout] 6247 - fn serialize(params: &mut Params, name: &str, obj: &Vec) { [INFO] [stdout] 6247 + fn serialize(params: &mut Params, name: &str, obj: &[String]) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the borrowed expression implements the required traits [INFO] [stdout] --> src/generated.rs:6250:30 [INFO] [stdout] | [INFO] [stdout] 6250 | params.put(&key, &obj); [INFO] [stdout] | ^^^^ help: change this to: `obj` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: comparison to empty slice [INFO] [stdout] --> src/generated.rs:6416:12 [INFO] [stdout] | [INFO] [stdout] 6416 | if prefix != "" { [INFO] [stdout] | ^^^^^^^^^^^^ help: using `!is_empty` is clearer and more explicit: `!prefix.is_empty()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#comparison_to_empty [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calling `push_str()` using a single-character string literal [INFO] [stdout] --> src/generated.rs:6417:13 [INFO] [stdout] | [INFO] [stdout] 6417 | prefix.push_str("."); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: consider using `push` with a character literal: `prefix.push('.')` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#single_char_add_str [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the borrowed expression implements the required traits [INFO] [stdout] --> src/generated.rs:6421:69 [INFO] [stdout] | [INFO] [stdout] 6421 | params.put(&format!("{}{}", prefix, "DesiredCapacity"), &field_value); [INFO] [stdout] | ^^^^^^^^^^^^ help: change this to: `field_value` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the borrowed expression implements the required traits [INFO] [stdout] --> src/generated.rs:6424:61 [INFO] [stdout] | [INFO] [stdout] 6424 | params.put(&format!("{}{}", prefix, "EndTime"), &field_value); [INFO] [stdout] | ^^^^^^^^^^^^ help: change this to: `field_value` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the borrowed expression implements the required traits [INFO] [stdout] --> src/generated.rs:6427:61 [INFO] [stdout] | [INFO] [stdout] 6427 | params.put(&format!("{}{}", prefix, "MaxSize"), &field_value); [INFO] [stdout] | ^^^^^^^^^^^^ help: change this to: `field_value` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the borrowed expression implements the required traits [INFO] [stdout] --> src/generated.rs:6430:61 [INFO] [stdout] | [INFO] [stdout] 6430 | params.put(&format!("{}{}", prefix, "MinSize"), &field_value); [INFO] [stdout] | ^^^^^^^^^^^^ help: change this to: `field_value` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the borrowed expression implements the required traits [INFO] [stdout] --> src/generated.rs:6433:64 [INFO] [stdout] | [INFO] [stdout] 6433 | params.put(&format!("{}{}", prefix, "Recurrence"), &field_value); [INFO] [stdout] | ^^^^^^^^^^^^ help: change this to: `field_value` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the borrowed expression implements the required traits [INFO] [stdout] --> src/generated.rs:6440:63 [INFO] [stdout] | [INFO] [stdout] 6440 | params.put(&format!("{}{}", prefix, "StartTime"), &field_value); [INFO] [stdout] | ^^^^^^^^^^^^ help: change this to: `field_value` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: writing `&Vec` instead of `&[_]` involves a new object where a slice will do [INFO] [stdout] --> src/generated.rs:6448:56 [INFO] [stdout] | [INFO] [stdout] 6448 | fn serialize(params: &mut Params, name: &str, obj: &Vec) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#ptr_arg [INFO] [stdout] help: change this to [INFO] [stdout] | [INFO] [stdout] 6448 - fn serialize(params: &mut Params, name: &str, obj: &Vec) { [INFO] [stdout] 6448 + fn serialize(params: &mut Params, name: &str, obj: &[ScheduledUpdateGroupActionRequest]) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: writing `&Vec` instead of `&[_]` involves a new object where a slice will do [INFO] [stdout] --> src/generated.rs:6498:56 [INFO] [stdout] | [INFO] [stdout] 6498 | fn serialize(params: &mut Params, name: &str, obj: &Vec) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#ptr_arg [INFO] [stdout] help: change this to [INFO] [stdout] | [INFO] [stdout] 6498 - fn serialize(params: &mut Params, name: &str, obj: &Vec) { [INFO] [stdout] 6498 + fn serialize(params: &mut Params, name: &str, obj: &[String]) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the borrowed expression implements the required traits [INFO] [stdout] --> src/generated.rs:6501:30 [INFO] [stdout] | [INFO] [stdout] 6501 | params.put(&key, &obj); [INFO] [stdout] | ^^^^ help: change this to: `obj` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: comparison to empty slice [INFO] [stdout] --> src/generated.rs:6522:12 [INFO] [stdout] | [INFO] [stdout] 6522 | if prefix != "" { [INFO] [stdout] | ^^^^^^^^^^^^ help: using `!is_empty` is clearer and more explicit: `!prefix.is_empty()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#comparison_to_empty [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calling `push_str()` using a single-character string literal [INFO] [stdout] --> src/generated.rs:6523:13 [INFO] [stdout] | [INFO] [stdout] 6523 | prefix.push_str("."); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: consider using `push` with a character literal: `prefix.push('.')` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#single_char_add_str [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the borrowed expression implements the required traits [INFO] [stdout] --> src/generated.rs:6532:13 [INFO] [stdout] | [INFO] [stdout] 6532 | &obj.desired_capacity, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: change this to: `obj.desired_capacity` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the borrowed expression implements the required traits [INFO] [stdout] --> src/generated.rs:6535:67 [INFO] [stdout] | [INFO] [stdout] 6535 | params.put(&format!("{}{}", prefix, "HonorCooldown"), &field_value); [INFO] [stdout] | ^^^^^^^^^^^^ help: change this to: `field_value` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: comparison to empty slice [INFO] [stdout] --> src/generated.rs:6556:12 [INFO] [stdout] | [INFO] [stdout] 6556 | if prefix != "" { [INFO] [stdout] | ^^^^^^^^^^^^ help: using `!is_empty` is clearer and more explicit: `!prefix.is_empty()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#comparison_to_empty [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calling `push_str()` using a single-character string literal [INFO] [stdout] --> src/generated.rs:6557:13 [INFO] [stdout] | [INFO] [stdout] 6557 | prefix.push_str("."); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: consider using `push` with a character literal: `prefix.push('.')` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#single_char_add_str [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the borrowed expression implements the required traits [INFO] [stdout] --> src/generated.rs:6565:17 [INFO] [stdout] | [INFO] [stdout] 6565 | &field_value, [INFO] [stdout] | ^^^^^^^^^^^^ help: change this to: `field_value` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: comparison to empty slice [INFO] [stdout] --> src/generated.rs:6608:12 [INFO] [stdout] | [INFO] [stdout] 6608 | if prefix != "" { [INFO] [stdout] | ^^^^^^^^^^^^ help: using `!is_empty` is clearer and more explicit: `!prefix.is_empty()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#comparison_to_empty [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calling `push_str()` using a single-character string literal [INFO] [stdout] --> src/generated.rs:6609:13 [INFO] [stdout] | [INFO] [stdout] 6609 | prefix.push_str("."); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: consider using `push` with a character literal: `prefix.push('.')` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#single_char_add_str [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the borrowed expression implements the required traits [INFO] [stdout] --> src/generated.rs:6623:13 [INFO] [stdout] | [INFO] [stdout] 6623 | &obj.protected_from_scale_in, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: change this to: `obj.protected_from_scale_in` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: comparison to empty slice [INFO] [stdout] --> src/generated.rs:6694:12 [INFO] [stdout] | [INFO] [stdout] 6694 | if prefix != "" { [INFO] [stdout] | ^^^^^^^^^^^^ help: using `!is_empty` is clearer and more explicit: `!prefix.is_empty()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#comparison_to_empty [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calling `push_str()` using a single-character string literal [INFO] [stdout] --> src/generated.rs:6695:13 [INFO] [stdout] | [INFO] [stdout] 6695 | prefix.push_str("."); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: consider using `push` with a character literal: `prefix.push('.')` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#single_char_add_str [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the borrowed expression implements the required traits [INFO] [stdout] --> src/generated.rs:6710:62 [INFO] [stdout] | [INFO] [stdout] 6710 | params.put(&format!("{}{}", prefix, "Strategy"), &field_value); [INFO] [stdout] | ^^^^^^^^^^^^ help: change this to: `field_value` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: comparison to empty slice [INFO] [stdout] --> src/generated.rs:6766:12 [INFO] [stdout] | [INFO] [stdout] 6766 | if prefix != "" { [INFO] [stdout] | ^^^^^^^^^^^^ help: using `!is_empty` is clearer and more explicit: `!prefix.is_empty()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#comparison_to_empty [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calling `push_str()` using a single-character string literal [INFO] [stdout] --> src/generated.rs:6767:13 [INFO] [stdout] | [INFO] [stdout] 6767 | prefix.push_str("."); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: consider using `push` with a character literal: `prefix.push('.')` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#single_char_add_str [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the borrowed expression implements the required traits [INFO] [stdout] --> src/generated.rs:6773:17 [INFO] [stdout] | [INFO] [stdout] 6773 | &field_value, [INFO] [stdout] | ^^^^^^^^^^^^ help: change this to: `field_value` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the borrowed expression implements the required traits [INFO] [stdout] --> src/generated.rs:6779:17 [INFO] [stdout] | [INFO] [stdout] 6779 | &field_value, [INFO] [stdout] | ^^^^^^^^^^^^ help: change this to: `field_value` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the borrowed expression implements the required traits [INFO] [stdout] --> src/generated.rs:6784:13 [INFO] [stdout] | [INFO] [stdout] 6784 | &obj.scaling_adjustment, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ help: change this to: `obj.scaling_adjustment` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: writing `&Vec` instead of `&[_]` involves a new object where a slice will do [INFO] [stdout] --> src/generated.rs:6811:56 [INFO] [stdout] | [INFO] [stdout] 6811 | fn serialize(params: &mut Params, name: &str, obj: &Vec) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#ptr_arg [INFO] [stdout] help: change this to [INFO] [stdout] | [INFO] [stdout] 6811 - fn serialize(params: &mut Params, name: &str, obj: &Vec) { [INFO] [stdout] 6811 + fn serialize(params: &mut Params, name: &str, obj: &[StepAdjustment]) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: comparison to empty slice [INFO] [stdout] --> src/generated.rs:6896:12 [INFO] [stdout] | [INFO] [stdout] 6896 | if prefix != "" { [INFO] [stdout] | ^^^^^^^^^^^^ help: using `!is_empty` is clearer and more explicit: `!prefix.is_empty()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#comparison_to_empty [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calling `push_str()` using a single-character string literal [INFO] [stdout] --> src/generated.rs:6897:13 [INFO] [stdout] | [INFO] [stdout] 6897 | prefix.push_str("."); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: consider using `push` with a character literal: `prefix.push('.')` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#single_char_add_str [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the borrowed expression implements the required traits [INFO] [stdout] --> src/generated.rs:6902:71 [INFO] [stdout] | [INFO] [stdout] 6902 | params.put(&format!("{}{}", prefix, "PropagateAtLaunch"), &field_value); [INFO] [stdout] | ^^^^^^^^^^^^ help: change this to: `field_value` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the borrowed expression implements the required traits [INFO] [stdout] --> src/generated.rs:6905:64 [INFO] [stdout] | [INFO] [stdout] 6905 | params.put(&format!("{}{}", prefix, "ResourceId"), &field_value); [INFO] [stdout] | ^^^^^^^^^^^^ help: change this to: `field_value` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the borrowed expression implements the required traits [INFO] [stdout] --> src/generated.rs:6908:66 [INFO] [stdout] | [INFO] [stdout] 6908 | params.put(&format!("{}{}", prefix, "ResourceType"), &field_value); [INFO] [stdout] | ^^^^^^^^^^^^ help: change this to: `field_value` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the borrowed expression implements the required traits [INFO] [stdout] --> src/generated.rs:6911:59 [INFO] [stdout] | [INFO] [stdout] 6911 | params.put(&format!("{}{}", prefix, "Value"), &field_value); [INFO] [stdout] | ^^^^^^^^^^^^ help: change this to: `field_value` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: writing `&Vec` instead of `&[_]` involves a new object where a slice will do [INFO] [stdout] --> src/generated.rs:7006:56 [INFO] [stdout] | [INFO] [stdout] 7006 | fn serialize(params: &mut Params, name: &str, obj: &Vec) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#ptr_arg [INFO] [stdout] help: change this to [INFO] [stdout] | [INFO] [stdout] 7006 - fn serialize(params: &mut Params, name: &str, obj: &Vec) { [INFO] [stdout] 7006 + fn serialize(params: &mut Params, name: &str, obj: &[Tag]) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: writing `&Vec` instead of `&[_]` involves a new object where a slice will do [INFO] [stdout] --> src/generated.rs:7071:56 [INFO] [stdout] | [INFO] [stdout] 7071 | fn serialize(params: &mut Params, name: &str, obj: &Vec) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#ptr_arg [INFO] [stdout] help: change this to [INFO] [stdout] | [INFO] [stdout] 7071 - fn serialize(params: &mut Params, name: &str, obj: &Vec) { [INFO] [stdout] 7071 + fn serialize(params: &mut Params, name: &str, obj: &[String]) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the borrowed expression implements the required traits [INFO] [stdout] --> src/generated.rs:7074:30 [INFO] [stdout] | [INFO] [stdout] 7074 | params.put(&key, &obj); [INFO] [stdout] | ^^^^ help: change this to: `obj` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: comparison to empty slice [INFO] [stdout] --> src/generated.rs:7144:12 [INFO] [stdout] | [INFO] [stdout] 7144 | if prefix != "" { [INFO] [stdout] | ^^^^^^^^^^^^ help: using `!is_empty` is clearer and more explicit: `!prefix.is_empty()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#comparison_to_empty [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calling `push_str()` using a single-character string literal [INFO] [stdout] --> src/generated.rs:7145:13 [INFO] [stdout] | [INFO] [stdout] 7145 | prefix.push_str("."); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: consider using `push` with a character literal: `prefix.push('.')` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#single_char_add_str [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the borrowed expression implements the required traits [INFO] [stdout] --> src/generated.rs:7156:68 [INFO] [stdout] | [INFO] [stdout] 7156 | params.put(&format!("{}{}", prefix, "DisableScaleIn"), &field_value); [INFO] [stdout] | ^^^^^^^^^^^^ help: change this to: `field_value` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the borrowed expression implements the required traits [INFO] [stdout] --> src/generated.rs:7165:61 [INFO] [stdout] | [INFO] [stdout] 7165 | params.put(&format!("{}{}", prefix, "TargetValue"), &obj.target_value); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: change this to: `obj.target_value` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: comparison to empty slice [INFO] [stdout] --> src/generated.rs:7183:12 [INFO] [stdout] | [INFO] [stdout] 7183 | if prefix != "" { [INFO] [stdout] | ^^^^^^^^^^^^ help: using `!is_empty` is clearer and more explicit: `!prefix.is_empty()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#comparison_to_empty [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calling `push_str()` using a single-character string literal [INFO] [stdout] --> src/generated.rs:7184:13 [INFO] [stdout] | [INFO] [stdout] 7184 | prefix.push_str("."); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: consider using `push` with a character literal: `prefix.push('.')` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#single_char_add_str [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the borrowed expression implements the required traits [INFO] [stdout] --> src/generated.rs:7190:13 [INFO] [stdout] | [INFO] [stdout] 7190 | &obj.should_decrement_desired_capacity, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: change this to: `obj.should_decrement_desired_capacity` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: writing `&Vec` instead of `&[_]` involves a new object where a slice will do [INFO] [stdout] --> src/generated.rs:7219:56 [INFO] [stdout] | [INFO] [stdout] 7219 | fn serialize(params: &mut Params, name: &str, obj: &Vec) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#ptr_arg [INFO] [stdout] help: change this to [INFO] [stdout] | [INFO] [stdout] 7219 - fn serialize(params: &mut Params, name: &str, obj: &Vec) { [INFO] [stdout] 7219 + fn serialize(params: &mut Params, name: &str, obj: &[String]) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the borrowed expression implements the required traits [INFO] [stdout] --> src/generated.rs:7222:30 [INFO] [stdout] | [INFO] [stdout] 7222 | params.put(&key, &obj); [INFO] [stdout] | ^^^^ help: change this to: `obj` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: comparison to empty slice [INFO] [stdout] --> src/generated.rs:7279:12 [INFO] [stdout] | [INFO] [stdout] 7279 | if prefix != "" { [INFO] [stdout] | ^^^^^^^^^^^^ help: using `!is_empty` is clearer and more explicit: `!prefix.is_empty()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#comparison_to_empty [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calling `push_str()` using a single-character string literal [INFO] [stdout] --> src/generated.rs:7280:13 [INFO] [stdout] | [INFO] [stdout] 7280 | prefix.push_str("."); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: consider using `push` with a character literal: `prefix.push('.')` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#single_char_add_str [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the borrowed expression implements the required traits [INFO] [stdout] --> src/generated.rs:7295:69 [INFO] [stdout] | [INFO] [stdout] 7295 | params.put(&format!("{}{}", prefix, "DefaultCooldown"), &field_value); [INFO] [stdout] | ^^^^^^^^^^^^ help: change this to: `field_value` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the borrowed expression implements the required traits [INFO] [stdout] --> src/generated.rs:7298:69 [INFO] [stdout] | [INFO] [stdout] 7298 | params.put(&format!("{}{}", prefix, "DesiredCapacity"), &field_value); [INFO] [stdout] | ^^^^^^^^^^^^ help: change this to: `field_value` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the borrowed expression implements the required traits [INFO] [stdout] --> src/generated.rs:7303:17 [INFO] [stdout] | [INFO] [stdout] 7303 | &field_value, [INFO] [stdout] | ^^^^^^^^^^^^ help: change this to: `field_value` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the borrowed expression implements the required traits [INFO] [stdout] --> src/generated.rs:7307:69 [INFO] [stdout] | [INFO] [stdout] 7307 | params.put(&format!("{}{}", prefix, "HealthCheckType"), &field_value); [INFO] [stdout] | ^^^^^^^^^^^^ help: change this to: `field_value` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the borrowed expression implements the required traits [INFO] [stdout] --> src/generated.rs:7312:17 [INFO] [stdout] | [INFO] [stdout] 7312 | &field_value, [INFO] [stdout] | ^^^^^^^^^^^^ help: change this to: `field_value` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the borrowed expression implements the required traits [INFO] [stdout] --> src/generated.rs:7325:17 [INFO] [stdout] | [INFO] [stdout] 7325 | &field_value, [INFO] [stdout] | ^^^^^^^^^^^^ help: change this to: `field_value` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the borrowed expression implements the required traits [INFO] [stdout] --> src/generated.rs:7329:61 [INFO] [stdout] | [INFO] [stdout] 7329 | params.put(&format!("{}{}", prefix, "MaxSize"), &field_value); [INFO] [stdout] | ^^^^^^^^^^^^ help: change this to: `field_value` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the borrowed expression implements the required traits [INFO] [stdout] --> src/generated.rs:7332:61 [INFO] [stdout] | [INFO] [stdout] 7332 | params.put(&format!("{}{}", prefix, "MinSize"), &field_value); [INFO] [stdout] | ^^^^^^^^^^^^ help: change this to: `field_value` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the borrowed expression implements the required traits [INFO] [stdout] --> src/generated.rs:7344:17 [INFO] [stdout] | [INFO] [stdout] 7344 | &field_value, [INFO] [stdout] | ^^^^^^^^^^^^ help: change this to: `field_value` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the borrowed expression implements the required traits [INFO] [stdout] --> src/generated.rs:7348:68 [INFO] [stdout] | [INFO] [stdout] 7348 | params.put(&format!("{}{}", prefix, "PlacementGroup"), &field_value); [INFO] [stdout] | ^^^^^^^^^^^^ help: change this to: `field_value` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the borrowed expression implements the required traits [INFO] [stdout] --> src/generated.rs:7353:17 [INFO] [stdout] | [INFO] [stdout] 7353 | &field_value, [INFO] [stdout] | ^^^^^^^^^^^^ help: change this to: `field_value` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the borrowed expression implements the required traits [INFO] [stdout] --> src/generated.rs:7364:71 [INFO] [stdout] | [INFO] [stdout] 7364 | params.put(&format!("{}{}", prefix, "VPCZoneIdentifier"), &field_value); [INFO] [stdout] | ^^^^^^^^^^^^ help: change this to: `field_value` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: writing `&Vec` instead of `&[_]` involves a new object where a slice will do [INFO] [stdout] --> src/generated.rs:7372:56 [INFO] [stdout] | [INFO] [stdout] 7372 | fn serialize(params: &mut Params, name: &str, obj: &Vec) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#ptr_arg [INFO] [stdout] help: change this to [INFO] [stdout] | [INFO] [stdout] 7372 - fn serialize(params: &mut Params, name: &str, obj: &Vec) { [INFO] [stdout] 7372 + fn serialize(params: &mut Params, name: &str, obj: &[String]) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the borrowed expression implements the required traits [INFO] [stdout] --> src/generated.rs:7375:30 [INFO] [stdout] | [INFO] [stdout] 7375 | params.put(&key, &obj); [INFO] [stdout] | ^^^^ help: change this to: `obj` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: you seem to be trying to use `match` for an equality check. Consider using `if` [INFO] [stdout] --> src/generated.rs:7644:17 [INFO] [stdout] | [INFO] [stdout] 7644 | / match &parsed_error.code[..] { [INFO] [stdout] 7645 | | "ResourceContention" => { [INFO] [stdout] 7646 | | return RusotoError::Service( [INFO] [stdout] 7647 | | BatchDeleteScheduledActionError::ResourceContentionFault( [INFO] [stdout] ... | [INFO] [stdout] 7652 | | _ => {} [INFO] [stdout] 7653 | | } [INFO] [stdout] | |_________________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#single_match [INFO] [stdout] = note: `#[warn(clippy::single_match)]` on by default [INFO] [stdout] help: try [INFO] [stdout] | [INFO] [stdout] 7644 ~ if &parsed_error.code[..] == "ResourceContention" { [INFO] [stdout] 7645 + return RusotoError::Service( [INFO] [stdout] 7646 + BatchDeleteScheduledActionError::ResourceContentionFault( [INFO] [stdout] 7647 + parsed_error.message, [INFO] [stdout] 7648 + ), [INFO] [stdout] 7649 + ) [INFO] [stdout] 7650 + } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: you seem to be trying to use `match` for an equality check. Consider using `if` [INFO] [stdout] --> src/generated.rs:7834:17 [INFO] [stdout] | [INFO] [stdout] 7834 | / match &parsed_error.code[..] { [INFO] [stdout] 7835 | | "ResourceContention" => { [INFO] [stdout] 7836 | | return RusotoError::Service( [INFO] [stdout] 7837 | | CompleteLifecycleActionError::ResourceContentionFault( [INFO] [stdout] ... | [INFO] [stdout] 7842 | | _ => {} [INFO] [stdout] 7843 | | } [INFO] [stdout] | |_________________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#single_match [INFO] [stdout] help: try [INFO] [stdout] | [INFO] [stdout] 7834 ~ if &parsed_error.code[..] == "ResourceContention" { [INFO] [stdout] 7835 + return RusotoError::Service( [INFO] [stdout] 7836 + CompleteLifecycleActionError::ResourceContentionFault( [INFO] [stdout] 7837 + parsed_error.message, [INFO] [stdout] 7838 + ), [INFO] [stdout] 7839 + ) [INFO] [stdout] 7840 + } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: you seem to be trying to use `match` for an equality check. Consider using `if` [INFO] [stdout] --> src/generated.rs:8220:17 [INFO] [stdout] | [INFO] [stdout] 8220 | / match &parsed_error.code[..] { [INFO] [stdout] 8221 | | "ResourceContention" => { [INFO] [stdout] 8222 | | return RusotoError::Service( [INFO] [stdout] 8223 | | DeleteLifecycleHookError::ResourceContentionFault(parsed_error.message), [INFO] [stdout] ... | [INFO] [stdout] 8226 | | _ => {} [INFO] [stdout] 8227 | | } [INFO] [stdout] | |_________________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#single_match [INFO] [stdout] help: try [INFO] [stdout] | [INFO] [stdout] 8220 ~ if &parsed_error.code[..] == "ResourceContention" { [INFO] [stdout] 8221 + return RusotoError::Service( [INFO] [stdout] 8222 + DeleteLifecycleHookError::ResourceContentionFault(parsed_error.message), [INFO] [stdout] 8223 + ) [INFO] [stdout] 8224 + } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: you seem to be trying to use `match` for an equality check. Consider using `if` [INFO] [stdout] --> src/generated.rs:8266:17 [INFO] [stdout] | [INFO] [stdout] 8266 | / match &parsed_error.code[..] { [INFO] [stdout] 8267 | | "ResourceContention" => { [INFO] [stdout] 8268 | | return RusotoError::Service( [INFO] [stdout] 8269 | | DeleteNotificationConfigurationError::ResourceContentionFault( [INFO] [stdout] ... | [INFO] [stdout] 8274 | | _ => {} [INFO] [stdout] 8275 | | } [INFO] [stdout] | |_________________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#single_match [INFO] [stdout] help: try [INFO] [stdout] | [INFO] [stdout] 8266 ~ if &parsed_error.code[..] == "ResourceContention" { [INFO] [stdout] 8267 + return RusotoError::Service( [INFO] [stdout] 8268 + DeleteNotificationConfigurationError::ResourceContentionFault( [INFO] [stdout] 8269 + parsed_error.message, [INFO] [stdout] 8270 + ), [INFO] [stdout] 8271 + ) [INFO] [stdout] 8272 + } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: you seem to be trying to use `match` for an equality check. Consider using `if` [INFO] [stdout] --> src/generated.rs:8366:17 [INFO] [stdout] | [INFO] [stdout] 8366 | / match &parsed_error.code[..] { [INFO] [stdout] 8367 | | "ResourceContention" => { [INFO] [stdout] 8368 | | return RusotoError::Service( [INFO] [stdout] 8369 | | DeleteScheduledActionError::ResourceContentionFault( [INFO] [stdout] ... | [INFO] [stdout] 8374 | | _ => {} [INFO] [stdout] 8375 | | } [INFO] [stdout] | |_________________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#single_match [INFO] [stdout] help: try [INFO] [stdout] | [INFO] [stdout] 8366 ~ if &parsed_error.code[..] == "ResourceContention" { [INFO] [stdout] 8367 + return RusotoError::Service( [INFO] [stdout] 8368 + DeleteScheduledActionError::ResourceContentionFault( [INFO] [stdout] 8369 + parsed_error.message, [INFO] [stdout] 8370 + ), [INFO] [stdout] 8371 + ) [INFO] [stdout] 8372 + } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: you seem to be trying to use `match` for an equality check. Consider using `if` [INFO] [stdout] --> src/generated.rs:8466:17 [INFO] [stdout] | [INFO] [stdout] 8466 | / match &parsed_error.code[..] { [INFO] [stdout] 8467 | | "ResourceContention" => { [INFO] [stdout] 8468 | | return RusotoError::Service( [INFO] [stdout] 8469 | | DescribeAccountLimitsError::ResourceContentionFault( [INFO] [stdout] ... | [INFO] [stdout] 8474 | | _ => {} [INFO] [stdout] 8475 | | } [INFO] [stdout] | |_________________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#single_match [INFO] [stdout] help: try [INFO] [stdout] | [INFO] [stdout] 8466 ~ if &parsed_error.code[..] == "ResourceContention" { [INFO] [stdout] 8467 + return RusotoError::Service( [INFO] [stdout] 8468 + DescribeAccountLimitsError::ResourceContentionFault( [INFO] [stdout] 8469 + parsed_error.message, [INFO] [stdout] 8470 + ), [INFO] [stdout] 8471 + ) [INFO] [stdout] 8472 + } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: you seem to be trying to use `match` for an equality check. Consider using `if` [INFO] [stdout] --> src/generated.rs:8514:17 [INFO] [stdout] | [INFO] [stdout] 8514 | / match &parsed_error.code[..] { [INFO] [stdout] 8515 | | "ResourceContention" => { [INFO] [stdout] 8516 | | return RusotoError::Service( [INFO] [stdout] 8517 | | DescribeAdjustmentTypesError::ResourceContentionFault( [INFO] [stdout] ... | [INFO] [stdout] 8522 | | _ => {} [INFO] [stdout] 8523 | | } [INFO] [stdout] | |_________________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#single_match [INFO] [stdout] help: try [INFO] [stdout] | [INFO] [stdout] 8514 ~ if &parsed_error.code[..] == "ResourceContention" { [INFO] [stdout] 8515 + return RusotoError::Service( [INFO] [stdout] 8516 + DescribeAdjustmentTypesError::ResourceContentionFault( [INFO] [stdout] 8517 + parsed_error.message, [INFO] [stdout] 8518 + ), [INFO] [stdout] 8519 + ) [INFO] [stdout] 8520 + } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: you seem to be trying to use `match` for an equality check. Consider using `if` [INFO] [stdout] --> src/generated.rs:8682:17 [INFO] [stdout] | [INFO] [stdout] 8682 | / match &parsed_error.code[..] { [INFO] [stdout] 8683 | | "ResourceContention" => { [INFO] [stdout] 8684 | | return RusotoError::Service( [INFO] [stdout] 8685 | | DescribeAutoScalingNotificationTypesError::ResourceContentionFault( [INFO] [stdout] ... | [INFO] [stdout] 8690 | | _ => {} [INFO] [stdout] 8691 | | } [INFO] [stdout] | |_________________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#single_match [INFO] [stdout] help: try [INFO] [stdout] | [INFO] [stdout] 8682 ~ if &parsed_error.code[..] == "ResourceContention" { [INFO] [stdout] 8683 + return RusotoError::Service( [INFO] [stdout] 8684 + DescribeAutoScalingNotificationTypesError::ResourceContentionFault( [INFO] [stdout] 8685 + parsed_error.message, [INFO] [stdout] 8686 + ), [INFO] [stdout] 8687 + ) [INFO] [stdout] 8688 + } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: you seem to be trying to use `match` for an equality check. Consider using `if` [INFO] [stdout] --> src/generated.rs:8850:17 [INFO] [stdout] | [INFO] [stdout] 8850 | / match &parsed_error.code[..] { [INFO] [stdout] 8851 | | "ResourceContention" => { [INFO] [stdout] 8852 | | return RusotoError::Service( [INFO] [stdout] 8853 | | DescribeLifecycleHookTypesError::ResourceContentionFault( [INFO] [stdout] ... | [INFO] [stdout] 8858 | | _ => {} [INFO] [stdout] 8859 | | } [INFO] [stdout] | |_________________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#single_match [INFO] [stdout] help: try [INFO] [stdout] | [INFO] [stdout] 8850 ~ if &parsed_error.code[..] == "ResourceContention" { [INFO] [stdout] 8851 + return RusotoError::Service( [INFO] [stdout] 8852 + DescribeLifecycleHookTypesError::ResourceContentionFault( [INFO] [stdout] 8853 + parsed_error.message, [INFO] [stdout] 8854 + ), [INFO] [stdout] 8855 + ) [INFO] [stdout] 8856 + } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: you seem to be trying to use `match` for an equality check. Consider using `if` [INFO] [stdout] --> src/generated.rs:8898:17 [INFO] [stdout] | [INFO] [stdout] 8898 | / match &parsed_error.code[..] { [INFO] [stdout] 8899 | | "ResourceContention" => { [INFO] [stdout] 8900 | | return RusotoError::Service( [INFO] [stdout] 8901 | | DescribeLifecycleHooksError::ResourceContentionFault( [INFO] [stdout] ... | [INFO] [stdout] 8906 | | _ => {} [INFO] [stdout] 8907 | | } [INFO] [stdout] | |_________________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#single_match [INFO] [stdout] help: try [INFO] [stdout] | [INFO] [stdout] 8898 ~ if &parsed_error.code[..] == "ResourceContention" { [INFO] [stdout] 8899 + return RusotoError::Service( [INFO] [stdout] 8900 + DescribeLifecycleHooksError::ResourceContentionFault( [INFO] [stdout] 8901 + parsed_error.message, [INFO] [stdout] 8902 + ), [INFO] [stdout] 8903 + ) [INFO] [stdout] 8904 + } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: you seem to be trying to use `match` for an equality check. Consider using `if` [INFO] [stdout] --> src/generated.rs:8948:17 [INFO] [stdout] | [INFO] [stdout] 8948 | / match &parsed_error.code[..] { [INFO] [stdout] 8949 | | "ResourceContention" => { [INFO] [stdout] 8950 | | return RusotoError::Service( [INFO] [stdout] 8951 | | DescribeLoadBalancerTargetGroupsError::ResourceContentionFault( [INFO] [stdout] ... | [INFO] [stdout] 8956 | | _ => {} [INFO] [stdout] 8957 | | } [INFO] [stdout] | |_________________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#single_match [INFO] [stdout] help: try [INFO] [stdout] | [INFO] [stdout] 8948 ~ if &parsed_error.code[..] == "ResourceContention" { [INFO] [stdout] 8949 + return RusotoError::Service( [INFO] [stdout] 8950 + DescribeLoadBalancerTargetGroupsError::ResourceContentionFault( [INFO] [stdout] 8951 + parsed_error.message, [INFO] [stdout] 8952 + ), [INFO] [stdout] 8953 + ) [INFO] [stdout] 8954 + } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: you seem to be trying to use `match` for an equality check. Consider using `if` [INFO] [stdout] --> src/generated.rs:8996:17 [INFO] [stdout] | [INFO] [stdout] 8996 | / match &parsed_error.code[..] { [INFO] [stdout] 8997 | | "ResourceContention" => { [INFO] [stdout] 8998 | | return RusotoError::Service( [INFO] [stdout] 8999 | | DescribeLoadBalancersError::ResourceContentionFault( [INFO] [stdout] ... | [INFO] [stdout] 9004 | | _ => {} [INFO] [stdout] 9005 | | } [INFO] [stdout] | |_________________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#single_match [INFO] [stdout] help: try [INFO] [stdout] | [INFO] [stdout] 8996 ~ if &parsed_error.code[..] == "ResourceContention" { [INFO] [stdout] 8997 + return RusotoError::Service( [INFO] [stdout] 8998 + DescribeLoadBalancersError::ResourceContentionFault( [INFO] [stdout] 8999 + parsed_error.message, [INFO] [stdout] 9000 + ), [INFO] [stdout] 9001 + ) [INFO] [stdout] 9002 + } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: you seem to be trying to use `match` for an equality check. Consider using `if` [INFO] [stdout] --> src/generated.rs:9046:17 [INFO] [stdout] | [INFO] [stdout] 9046 | / match &parsed_error.code[..] { [INFO] [stdout] 9047 | | "ResourceContention" => { [INFO] [stdout] 9048 | | return RusotoError::Service( [INFO] [stdout] 9049 | | DescribeMetricCollectionTypesError::ResourceContentionFault( [INFO] [stdout] ... | [INFO] [stdout] 9054 | | _ => {} [INFO] [stdout] 9055 | | } [INFO] [stdout] | |_________________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#single_match [INFO] [stdout] help: try [INFO] [stdout] | [INFO] [stdout] 9046 ~ if &parsed_error.code[..] == "ResourceContention" { [INFO] [stdout] 9047 + return RusotoError::Service( [INFO] [stdout] 9048 + DescribeMetricCollectionTypesError::ResourceContentionFault( [INFO] [stdout] 9049 + parsed_error.message, [INFO] [stdout] 9050 + ), [INFO] [stdout] 9051 + ) [INFO] [stdout] 9052 + } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: you seem to be trying to use `match` for an equality check. Consider using `if` [INFO] [stdout] --> src/generated.rs:9274:17 [INFO] [stdout] | [INFO] [stdout] 9274 | / match &parsed_error.code[..] { [INFO] [stdout] 9275 | | "ResourceContention" => { [INFO] [stdout] 9276 | | return RusotoError::Service( [INFO] [stdout] 9277 | | DescribeScalingProcessTypesError::ResourceContentionFault( [INFO] [stdout] ... | [INFO] [stdout] 9282 | | _ => {} [INFO] [stdout] 9283 | | } [INFO] [stdout] | |_________________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#single_match [INFO] [stdout] help: try [INFO] [stdout] | [INFO] [stdout] 9274 ~ if &parsed_error.code[..] == "ResourceContention" { [INFO] [stdout] 9275 + return RusotoError::Service( [INFO] [stdout] 9276 + DescribeScalingProcessTypesError::ResourceContentionFault( [INFO] [stdout] 9277 + parsed_error.message, [INFO] [stdout] 9278 + ), [INFO] [stdout] 9279 + ) [INFO] [stdout] 9280 + } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: you seem to be trying to use `match` for an equality check. Consider using `if` [INFO] [stdout] --> src/generated.rs:9432:17 [INFO] [stdout] | [INFO] [stdout] 9432 | / match &parsed_error.code[..] { [INFO] [stdout] 9433 | | "ResourceContention" => { [INFO] [stdout] 9434 | | return RusotoError::Service( [INFO] [stdout] 9435 | | DescribeTerminationPolicyTypesError::ResourceContentionFault( [INFO] [stdout] ... | [INFO] [stdout] 9440 | | _ => {} [INFO] [stdout] 9441 | | } [INFO] [stdout] | |_________________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#single_match [INFO] [stdout] help: try [INFO] [stdout] | [INFO] [stdout] 9432 ~ if &parsed_error.code[..] == "ResourceContention" { [INFO] [stdout] 9433 + return RusotoError::Service( [INFO] [stdout] 9434 + DescribeTerminationPolicyTypesError::ResourceContentionFault( [INFO] [stdout] 9435 + parsed_error.message, [INFO] [stdout] 9436 + ), [INFO] [stdout] 9437 + ) [INFO] [stdout] 9438 + } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: you seem to be trying to use `match` for an equality check. Consider using `if` [INFO] [stdout] --> src/generated.rs:9480:17 [INFO] [stdout] | [INFO] [stdout] 9480 | / match &parsed_error.code[..] { [INFO] [stdout] 9481 | | "ResourceContention" => { [INFO] [stdout] 9482 | | return RusotoError::Service(DetachInstancesError::ResourceContentionFault( [INFO] [stdout] 9483 | | parsed_error.message, [INFO] [stdout] ... | [INFO] [stdout] 9486 | | _ => {} [INFO] [stdout] 9487 | | } [INFO] [stdout] | |_________________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#single_match [INFO] [stdout] help: try [INFO] [stdout] | [INFO] [stdout] 9480 ~ if &parsed_error.code[..] == "ResourceContention" { [INFO] [stdout] 9481 + return RusotoError::Service(DetachInstancesError::ResourceContentionFault( [INFO] [stdout] 9482 + parsed_error.message, [INFO] [stdout] 9483 + )) [INFO] [stdout] 9484 + } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: you seem to be trying to use `match` for an equality check. Consider using `if` [INFO] [stdout] --> src/generated.rs:9526:17 [INFO] [stdout] | [INFO] [stdout] 9526 | / match &parsed_error.code[..] { [INFO] [stdout] 9527 | | "ResourceContention" => { [INFO] [stdout] 9528 | | return RusotoError::Service( [INFO] [stdout] 9529 | | DetachLoadBalancerTargetGroupsError::ResourceContentionFault( [INFO] [stdout] ... | [INFO] [stdout] 9534 | | _ => {} [INFO] [stdout] 9535 | | } [INFO] [stdout] | |_________________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#single_match [INFO] [stdout] help: try [INFO] [stdout] | [INFO] [stdout] 9526 ~ if &parsed_error.code[..] == "ResourceContention" { [INFO] [stdout] 9527 + return RusotoError::Service( [INFO] [stdout] 9528 + DetachLoadBalancerTargetGroupsError::ResourceContentionFault( [INFO] [stdout] 9529 + parsed_error.message, [INFO] [stdout] 9530 + ), [INFO] [stdout] 9531 + ) [INFO] [stdout] 9532 + } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: you seem to be trying to use `match` for an equality check. Consider using `if` [INFO] [stdout] --> src/generated.rs:9574:17 [INFO] [stdout] | [INFO] [stdout] 9574 | / match &parsed_error.code[..] { [INFO] [stdout] 9575 | | "ResourceContention" => { [INFO] [stdout] 9576 | | return RusotoError::Service( [INFO] [stdout] 9577 | | DetachLoadBalancersError::ResourceContentionFault(parsed_error.message), [INFO] [stdout] ... | [INFO] [stdout] 9580 | | _ => {} [INFO] [stdout] 9581 | | } [INFO] [stdout] | |_________________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#single_match [INFO] [stdout] help: try [INFO] [stdout] | [INFO] [stdout] 9574 ~ if &parsed_error.code[..] == "ResourceContention" { [INFO] [stdout] 9575 + return RusotoError::Service( [INFO] [stdout] 9576 + DetachLoadBalancersError::ResourceContentionFault(parsed_error.message), [INFO] [stdout] 9577 + ) [INFO] [stdout] 9578 + } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: you seem to be trying to use `match` for an equality check. Consider using `if` [INFO] [stdout] --> src/generated.rs:9618:17 [INFO] [stdout] | [INFO] [stdout] 9618 | / match &parsed_error.code[..] { [INFO] [stdout] 9619 | | "ResourceContention" => { [INFO] [stdout] 9620 | | return RusotoError::Service( [INFO] [stdout] 9621 | | DisableMetricsCollectionError::ResourceContentionFault( [INFO] [stdout] ... | [INFO] [stdout] 9626 | | _ => {} [INFO] [stdout] 9627 | | } [INFO] [stdout] | |_________________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#single_match [INFO] [stdout] help: try [INFO] [stdout] | [INFO] [stdout] 9618 ~ if &parsed_error.code[..] == "ResourceContention" { [INFO] [stdout] 9619 + return RusotoError::Service( [INFO] [stdout] 9620 + DisableMetricsCollectionError::ResourceContentionFault( [INFO] [stdout] 9621 + parsed_error.message, [INFO] [stdout] 9622 + ), [INFO] [stdout] 9623 + ) [INFO] [stdout] 9624 + } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: you seem to be trying to use `match` for an equality check. Consider using `if` [INFO] [stdout] --> src/generated.rs:9666:17 [INFO] [stdout] | [INFO] [stdout] 9666 | / match &parsed_error.code[..] { [INFO] [stdout] 9667 | | "ResourceContention" => { [INFO] [stdout] 9668 | | return RusotoError::Service( [INFO] [stdout] 9669 | | EnableMetricsCollectionError::ResourceContentionFault( [INFO] [stdout] ... | [INFO] [stdout] 9674 | | _ => {} [INFO] [stdout] 9675 | | } [INFO] [stdout] | |_________________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#single_match [INFO] [stdout] help: try [INFO] [stdout] | [INFO] [stdout] 9666 ~ if &parsed_error.code[..] == "ResourceContention" { [INFO] [stdout] 9667 + return RusotoError::Service( [INFO] [stdout] 9668 + EnableMetricsCollectionError::ResourceContentionFault( [INFO] [stdout] 9669 + parsed_error.message, [INFO] [stdout] 9670 + ), [INFO] [stdout] 9671 + ) [INFO] [stdout] 9672 + } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: you seem to be trying to use `match` for an equality check. Consider using `if` [INFO] [stdout] --> src/generated.rs:9714:17 [INFO] [stdout] | [INFO] [stdout] 9714 | / match &parsed_error.code[..] { [INFO] [stdout] 9715 | | "ResourceContention" => { [INFO] [stdout] 9716 | | return RusotoError::Service(EnterStandbyError::ResourceContentionFault( [INFO] [stdout] 9717 | | parsed_error.message, [INFO] [stdout] ... | [INFO] [stdout] 9720 | | _ => {} [INFO] [stdout] 9721 | | } [INFO] [stdout] | |_________________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#single_match [INFO] [stdout] help: try [INFO] [stdout] | [INFO] [stdout] 9714 ~ if &parsed_error.code[..] == "ResourceContention" { [INFO] [stdout] 9715 + return RusotoError::Service(EnterStandbyError::ResourceContentionFault( [INFO] [stdout] 9716 + parsed_error.message, [INFO] [stdout] 9717 + )) [INFO] [stdout] 9718 + } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: you seem to be trying to use `match` for an equality check. Consider using `if` [INFO] [stdout] --> src/generated.rs:9812:17 [INFO] [stdout] | [INFO] [stdout] 9812 | / match &parsed_error.code[..] { [INFO] [stdout] 9813 | | "ResourceContention" => { [INFO] [stdout] 9814 | | return RusotoError::Service(ExitStandbyError::ResourceContentionFault( [INFO] [stdout] 9815 | | parsed_error.message, [INFO] [stdout] ... | [INFO] [stdout] 9818 | | _ => {} [INFO] [stdout] 9819 | | } [INFO] [stdout] | |_________________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#single_match [INFO] [stdout] help: try [INFO] [stdout] | [INFO] [stdout] 9812 ~ if &parsed_error.code[..] == "ResourceContention" { [INFO] [stdout] 9813 + return RusotoError::Service(ExitStandbyError::ResourceContentionFault( [INFO] [stdout] 9814 + parsed_error.message, [INFO] [stdout] 9815 + )) [INFO] [stdout] 9816 + } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: you seem to be trying to use `match` for an equality check. Consider using `if` [INFO] [stdout] --> src/generated.rs:10118:17 [INFO] [stdout] | [INFO] [stdout] 10118 | / match &parsed_error.code[..] { [INFO] [stdout] 10119 | | "ResourceContention" => { [INFO] [stdout] 10120 | | return RusotoError::Service( [INFO] [stdout] 10121 | | RecordLifecycleActionHeartbeatError::ResourceContentionFault( [INFO] [stdout] ... | [INFO] [stdout] 10126 | | _ => {} [INFO] [stdout] 10127 | | } [INFO] [stdout] | |_________________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#single_match [INFO] [stdout] help: try [INFO] [stdout] | [INFO] [stdout] 10118 ~ if &parsed_error.code[..] == "ResourceContention" { [INFO] [stdout] 10119 + return RusotoError::Service( [INFO] [stdout] 10120 + RecordLifecycleActionHeartbeatError::ResourceContentionFault( [INFO] [stdout] 10121 + parsed_error.message, [INFO] [stdout] 10122 + ), [INFO] [stdout] 10123 + ) [INFO] [stdout] 10124 + } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: you seem to be trying to use `match` for an equality check. Consider using `if` [INFO] [stdout] --> src/generated.rs:10274:17 [INFO] [stdout] | [INFO] [stdout] 10274 | / match &parsed_error.code[..] { [INFO] [stdout] 10275 | | "ResourceContention" => { [INFO] [stdout] 10276 | | return RusotoError::Service( [INFO] [stdout] 10277 | | SetInstanceHealthError::ResourceContentionFault(parsed_error.message), [INFO] [stdout] ... | [INFO] [stdout] 10280 | | _ => {} [INFO] [stdout] 10281 | | } [INFO] [stdout] | |_________________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#single_match [INFO] [stdout] help: try [INFO] [stdout] | [INFO] [stdout] 10274 ~ if &parsed_error.code[..] == "ResourceContention" { [INFO] [stdout] 10275 + return RusotoError::Service( [INFO] [stdout] 10276 + SetInstanceHealthError::ResourceContentionFault(parsed_error.message), [INFO] [stdout] 10277 + ) [INFO] [stdout] 10278 + } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this boolean expression can be simplified [INFO] [stdout] --> src/generated.rs:12556:17 [INFO] [stdout] | [INFO] [stdout] 12556 | assert!(!result.is_ok(), "parse error: {:?}", result); [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: try: `result.is_err()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#nonminimal_bool [INFO] [stdout] = note: `#[warn(clippy::nonminimal_bool)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 28.42s [INFO] running `Command { std: "docker" "inspect" "5ac6736088c96441b7a026e9f86950c56e920a4318f8bdcc6c89910e3380d23a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5ac6736088c96441b7a026e9f86950c56e920a4318f8bdcc6c89910e3380d23a", kill_on_drop: false }` [INFO] [stdout] 5ac6736088c96441b7a026e9f86950c56e920a4318f8bdcc6c89910e3380d23a