[INFO] fetching crate rusoto_cloudwatch 0.48.0... [INFO] linting rusoto_cloudwatch-0.48.0 against nightly for clippy-nonminimal_bool-denied [INFO] extracting crate rusoto_cloudwatch 0.48.0 into /workspace/builds/worker-6-tc1/source [INFO] started tweaking crates.io crate rusoto_cloudwatch 0.48.0 [INFO] finished tweaking crates.io crate rusoto_cloudwatch 0.48.0 [INFO] tweaked toml for crates.io crate rusoto_cloudwatch 0.48.0 written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate rusoto_cloudwatch 0.48.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] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 182 packages to latest compatible versions [INFO] [stderr] Adding subtle v2.4.1 (available: v2.6.1) [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] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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] 518136c32a6ed1617d63c3154b454e97387f8fce62cfa832d2a0dc59aa0d1954 [INFO] running `Command { std: "docker" "start" "-a" "518136c32a6ed1617d63c3154b454e97387f8fce62cfa832d2a0dc59aa0d1954", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "518136c32a6ed1617d63c3154b454e97387f8fce62cfa832d2a0dc59aa0d1954", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "518136c32a6ed1617d63c3154b454e97387f8fce62cfa832d2a0dc59aa0d1954", kill_on_drop: false }` [INFO] [stdout] 518136c32a6ed1617d63c3154b454e97387f8fce62cfa832d2a0dc59aa0d1954 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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] df8fcd30cdff6ab3bcd81be3834e6be05726d9dd4534ad7c60cd3c22d18b017a [INFO] running `Command { std: "docker" "start" "-a" "df8fcd30cdff6ab3bcd81be3834e6be05726d9dd4534ad7c60cd3c22d18b017a", kill_on_drop: false }` [INFO] [stderr] Compiling tokio-macros v2.6.1 [INFO] [stderr] Checking socket2 v0.5.10 [INFO] [stderr] Checking openssl v0.10.76 [INFO] [stderr] Checking dirs-sys-next v0.1.2 [INFO] [stderr] Checking crypto-mac v0.11.1 [INFO] [stderr] Compiling rusoto_core v0.48.0 [INFO] [stderr] Checking md-5 v0.9.1 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking dirs-next v2.0.0 [INFO] [stderr] Checking hmac v0.11.0 [INFO] [stderr] Checking tokio v1.50.0 [INFO] [stderr] Checking native-tls v0.2.18 [INFO] [stderr] Checking tokio-util v0.7.18 [INFO] [stderr] Checking tokio-native-tls v0.3.1 [INFO] [stderr] Checking h2 v0.3.27 [INFO] [stderr] Checking hyper v0.14.32 [INFO] [stderr] Checking rusoto_credential v0.48.0 [INFO] [stderr] Checking hyper-tls v0.5.0 [INFO] [stderr] Checking rusoto_signature v0.48.0 [INFO] [stderr] Checking rusoto_mock v0.48.0 [INFO] [stderr] Checking rusoto_cloudwatch v0.48.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/custom/custom_tests.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | 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: redundant field names in struct initialization [INFO] [stdout] --> src/custom/custom_tests.rs:61:9 [INFO] [stdout] | [INFO] [stdout] 61 | metric_data: metric_data, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: replace it with: `metric_data` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] = note: `#[warn(clippy::redundant_field_names)]` 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] [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:176:56 [INFO] [stdout] | [INFO] [stdout] 176 | 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] 176 - fn serialize(params: &mut Params, name: &str, obj: &Vec) { [INFO] [stdout] 176 + 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:179:30 [INFO] [stdout] | [INFO] [stdout] 179 | 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: writing `&Vec` instead of `&[_]` involves a new object where a slice will do [INFO] [stdout] --> src/generated.rs:204:56 [INFO] [stdout] | [INFO] [stdout] 204 | 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] 204 - fn serialize(params: &mut Params, name: &str, obj: &Vec) { [INFO] [stdout] 204 + 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:207:30 [INFO] [stdout] | [INFO] [stdout] 207 | 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:336:12 [INFO] [stdout] | [INFO] [stdout] 336 | 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:337:13 [INFO] [stdout] | [INFO] [stdout] 337 | 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: the borrowed expression implements the required traits [INFO] [stdout] --> src/generated.rs:348:68 [INFO] [stdout] | [INFO] [stdout] 348 | params.put(&format!("{}{}", prefix, "MetricTimezone"), &field_value); [INFO] [stdout] | ^^^^^^^^^^^^ help: change this to: `field_value` [INFO] [stdout] | [INFO] [stdout] = help: for further 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:375:56 [INFO] [stdout] | [INFO] [stdout] 375 | 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] 375 - fn serialize(params: &mut Params, name: &str, obj: &Vec) { [INFO] [stdout] 375 + fn serialize(params: &mut Params, name: &str, obj: &[Range]) { [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:584:56 [INFO] [stdout] | [INFO] [stdout] 584 | 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] 584 - fn serialize(params: &mut Params, name: &str, obj: &Vec) { [INFO] [stdout] 584 + fn serialize(params: &mut Params, name: &str, obj: &[f64]) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the borrowed expression implements the required traits [INFO] [stdout] --> src/generated.rs:587:30 [INFO] [stdout] | [INFO] [stdout] 587 | 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:689:56 [INFO] [stdout] | [INFO] [stdout] 689 | 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] 689 - fn serialize(params: &mut Params, name: &str, obj: &Vec) { [INFO] [stdout] 689 + 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:692:30 [INFO] [stdout] | [INFO] [stdout] 692 | 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:917:12 [INFO] [stdout] | [INFO] [stdout] 917 | 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:918:13 [INFO] [stdout] | [INFO] [stdout] 918 | 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:947:12 [INFO] [stdout] | [INFO] [stdout] 947 | 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:948:13 [INFO] [stdout] | [INFO] [stdout] 948 | 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:997:12 [INFO] [stdout] | [INFO] [stdout] 997 | 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:998:13 [INFO] [stdout] | [INFO] [stdout] 998 | 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:1042:12 [INFO] [stdout] | [INFO] [stdout] 1042 | 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:1043:13 [INFO] [stdout] | [INFO] [stdout] 1043 | 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:1098:12 [INFO] [stdout] | [INFO] [stdout] 1098 | 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:1099:13 [INFO] [stdout] | [INFO] [stdout] 1099 | 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:1153:12 [INFO] [stdout] | [INFO] [stdout] 1153 | 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:1154:13 [INFO] [stdout] | [INFO] [stdout] 1154 | 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:1158:63 [INFO] [stdout] | [INFO] [stdout] 1158 | params.put(&format!("{}{}", prefix, "AlarmName"), &field_value); [INFO] [stdout] | ^^^^^^^^^^^^ help: change this to: `field_value` [INFO] [stdout] | [INFO] [stdout] = help: for further 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:1168:61 [INFO] [stdout] | [INFO] [stdout] 1168 | params.put(&format!("{}{}", prefix, "EndDate"), &field_value); [INFO] [stdout] | ^^^^^^^^^^^^ help: change this to: `field_value` [INFO] [stdout] | [INFO] [stdout] = help: for further 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:1171:69 [INFO] [stdout] | [INFO] [stdout] 1171 | params.put(&format!("{}{}", prefix, "HistoryItemType"), &field_value); [INFO] [stdout] | ^^^^^^^^^^^^ help: change this to: `field_value` [INFO] [stdout] | [INFO] [stdout] = help: for further 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:1174:64 [INFO] [stdout] | [INFO] [stdout] 1174 | 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:1177:63 [INFO] [stdout] | [INFO] [stdout] 1177 | 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:1180:60 [INFO] [stdout] | [INFO] [stdout] 1180 | params.put(&format!("{}{}", prefix, "ScanBy"), &field_value); [INFO] [stdout] | ^^^^^^^^^^^^ help: change this to: `field_value` [INFO] [stdout] | [INFO] [stdout] = help: for further 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:1183:63 [INFO] [stdout] | [INFO] [stdout] 1183 | params.put(&format!("{}{}", prefix, "StartDate"), &field_value); [INFO] [stdout] | ^^^^^^^^^^^^ help: change this to: `field_value` [INFO] [stdout] | [INFO] [stdout] = help: for further 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:1250:12 [INFO] [stdout] | [INFO] [stdout] 1250 | 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:1251:13 [INFO] [stdout] | [INFO] [stdout] 1251 | 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:1262:71 [INFO] [stdout] | [INFO] [stdout] 1262 | params.put(&format!("{}{}", prefix, "ExtendedStatistic"), &field_value); [INFO] [stdout] | ^^^^^^^^^^^^ help: change this to: `field_value` [INFO] [stdout] | [INFO] [stdout] = help: for further 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:1267:60 [INFO] [stdout] | [INFO] [stdout] 1267 | params.put(&format!("{}{}", prefix, "Period"), &field_value); [INFO] [stdout] | ^^^^^^^^^^^^ help: change this to: `field_value` [INFO] [stdout] | [INFO] [stdout] = help: for further 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:1270:63 [INFO] [stdout] | [INFO] [stdout] 1270 | params.put(&format!("{}{}", prefix, "Statistic"), &field_value); [INFO] [stdout] | ^^^^^^^^^^^^ help: change this to: `field_value` [INFO] [stdout] | [INFO] [stdout] = help: for further 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:1273:58 [INFO] [stdout] | [INFO] [stdout] 1273 | 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:1338:12 [INFO] [stdout] | [INFO] [stdout] 1338 | 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:1339:13 [INFO] [stdout] | [INFO] [stdout] 1339 | 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:1343:66 [INFO] [stdout] | [INFO] [stdout] 1343 | params.put(&format!("{}{}", prefix, "ActionPrefix"), &field_value); [INFO] [stdout] | ^^^^^^^^^^^^ help: change this to: `field_value` [INFO] [stdout] | [INFO] [stdout] = help: for further 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:1346:69 [INFO] [stdout] | [INFO] [stdout] 1346 | params.put(&format!("{}{}", prefix, "AlarmNamePrefix"), &field_value); [INFO] [stdout] | ^^^^^^^^^^^^ help: change this to: `field_value` [INFO] [stdout] | [INFO] [stdout] = help: for further 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:1365:17 [INFO] [stdout] | [INFO] [stdout] 1365 | &field_value, [INFO] [stdout] | ^^^^^^^^^^^^ help: change this to: `field_value` [INFO] [stdout] | [INFO] [stdout] = help: for further 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:1369:64 [INFO] [stdout] | [INFO] [stdout] 1369 | 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:1372:63 [INFO] [stdout] | [INFO] [stdout] 1372 | 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:1375:72 [INFO] [stdout] | [INFO] [stdout] 1375 | params.put(&format!("{}{}", prefix, "ParentsOfAlarmName"), &field_value); [INFO] [stdout] | ^^^^^^^^^^^^ help: change this to: `field_value` [INFO] [stdout] | [INFO] [stdout] = help: for further 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:1378:64 [INFO] [stdout] | [INFO] [stdout] 1378 | params.put(&format!("{}{}", prefix, "StateValue"), &field_value); [INFO] [stdout] | ^^^^^^^^^^^^ help: change this to: `field_value` [INFO] [stdout] | [INFO] [stdout] = help: for further 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:1443:12 [INFO] [stdout] | [INFO] [stdout] 1443 | 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:1444:13 [INFO] [stdout] | [INFO] [stdout] 1444 | 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:1455:64 [INFO] [stdout] | [INFO] [stdout] 1455 | params.put(&format!("{}{}", prefix, "MaxResults"), &field_value); [INFO] [stdout] | ^^^^^^^^^^^^ help: change this to: `field_value` [INFO] [stdout] | [INFO] [stdout] = help: for further 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:1458:64 [INFO] [stdout] | [INFO] [stdout] 1458 | params.put(&format!("{}{}", prefix, "MetricName"), &field_value); [INFO] [stdout] | ^^^^^^^^^^^^ help: change this to: `field_value` [INFO] [stdout] | [INFO] [stdout] = help: for further 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:1461:63 [INFO] [stdout] | [INFO] [stdout] 1461 | params.put(&format!("{}{}", prefix, "Namespace"), &field_value); [INFO] [stdout] | ^^^^^^^^^^^^ help: change this to: `field_value` [INFO] [stdout] | [INFO] [stdout] = help: for further 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:1464:63 [INFO] [stdout] | [INFO] [stdout] 1464 | 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:1521:12 [INFO] [stdout] | [INFO] [stdout] 1521 | 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:1522:13 [INFO] [stdout] | [INFO] [stdout] 1522 | 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:1526:64 [INFO] [stdout] | [INFO] [stdout] 1526 | params.put(&format!("{}{}", prefix, "MaxResults"), &field_value); [INFO] [stdout] | ^^^^^^^^^^^^ help: change this to: `field_value` [INFO] [stdout] | [INFO] [stdout] = help: for further 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:1529:63 [INFO] [stdout] | [INFO] [stdout] 1529 | 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:1611:12 [INFO] [stdout] | [INFO] [stdout] 1611 | 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:1612:13 [INFO] [stdout] | [INFO] [stdout] 1612 | 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:1635:12 [INFO] [stdout] | [INFO] [stdout] 1635 | 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:1636:13 [INFO] [stdout] | [INFO] [stdout] 1636 | 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:1641:59 [INFO] [stdout] | [INFO] [stdout] 1641 | 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:1649:56 [INFO] [stdout] | [INFO] [stdout] 1649 | 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] 1649 - fn serialize(params: &mut Params, name: &str, obj: &Vec) { [INFO] [stdout] 1649 + fn serialize(params: &mut Params, name: &str, obj: &[DimensionFilter]) { [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:1695:56 [INFO] [stdout] | [INFO] [stdout] 1695 | 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] 1695 - fn serialize(params: &mut Params, name: &str, obj: &Vec) { [INFO] [stdout] 1695 + fn serialize(params: &mut Params, name: &str, obj: &[Dimension]) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: comparison to empty slice [INFO] [stdout] --> src/generated.rs:1715:12 [INFO] [stdout] | [INFO] [stdout] 1715 | 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:1716:13 [INFO] [stdout] | [INFO] [stdout] 1716 | 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:1739:12 [INFO] [stdout] | [INFO] [stdout] 1739 | 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:1740:13 [INFO] [stdout] | [INFO] [stdout] 1740 | 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:1795:12 [INFO] [stdout] | [INFO] [stdout] 1795 | 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:1796:13 [INFO] [stdout] | [INFO] [stdout] 1796 | 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:1819:12 [INFO] [stdout] | [INFO] [stdout] 1819 | 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:1820:13 [INFO] [stdout] | [INFO] [stdout] 1820 | 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:1899:56 [INFO] [stdout] | [INFO] [stdout] 1899 | 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] 1899 - fn serialize(params: &mut Params, name: &str, obj: &Vec) { [INFO] [stdout] 1899 + 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:1902:30 [INFO] [stdout] | [INFO] [stdout] 1902 | 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: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:2023:12 [INFO] [stdout] | [INFO] [stdout] 2023 | 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:2024:13 [INFO] [stdout] | [INFO] [stdout] 2024 | 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:2031:17 [INFO] [stdout] | [INFO] [stdout] 2031 | &field_value, [INFO] [stdout] | ^^^^^^^^^^^^ help: change this to: `field_value` [INFO] [stdout] | [INFO] [stdout] = help: for further 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:2042:61 [INFO] [stdout] | [INFO] [stdout] 2042 | params.put(&format!("{}{}", prefix, "OrderBy"), &field_value); [INFO] [stdout] | ^^^^^^^^^^^^ help: change this to: `field_value` [INFO] [stdout] | [INFO] [stdout] = help: for further 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:2044:56 [INFO] [stdout] | [INFO] [stdout] 2044 | params.put(&format!("{}{}", prefix, "Period"), &obj.period); [INFO] [stdout] | ^^^^^^^^^^^ help: change this to: `obj.period` [INFO] [stdout] | [INFO] [stdout] = help: for further 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:2156:12 [INFO] [stdout] | [INFO] [stdout] 2156 | 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:2157:13 [INFO] [stdout] | [INFO] [stdout] 2157 | 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:2169:67 [INFO] [stdout] | [INFO] [stdout] 2169 | params.put(&format!("{}{}", prefix, "MaxDatapoints"), &field_value); [INFO] [stdout] | ^^^^^^^^^^^^ help: change this to: `field_value` [INFO] [stdout] | [INFO] [stdout] = help: for further 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:2177:63 [INFO] [stdout] | [INFO] [stdout] 2177 | 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:2180:60 [INFO] [stdout] | [INFO] [stdout] 2180 | params.put(&format!("{}{}", prefix, "ScanBy"), &field_value); [INFO] [stdout] | ^^^^^^^^^^^^ help: change this to: `field_value` [INFO] [stdout] | [INFO] [stdout] = help: for further 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:2254:12 [INFO] [stdout] | [INFO] [stdout] 2254 | 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:2255:13 [INFO] [stdout] | [INFO] [stdout] 2255 | 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:2275:56 [INFO] [stdout] | [INFO] [stdout] 2275 | params.put(&format!("{}{}", prefix, "Period"), &obj.period); [INFO] [stdout] | ^^^^^^^^^^^ help: change this to: `obj.period` [INFO] [stdout] | [INFO] [stdout] = help: for further 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:2285:58 [INFO] [stdout] | [INFO] [stdout] 2285 | 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:2339:12 [INFO] [stdout] | [INFO] [stdout] 2339 | 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:2340:13 [INFO] [stdout] | [INFO] [stdout] 2340 | 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:2446:12 [INFO] [stdout] | [INFO] [stdout] 2446 | 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:2447:13 [INFO] [stdout] | [INFO] [stdout] 2447 | 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:2452:66 [INFO] [stdout] | [INFO] [stdout] 2452 | params.put(&format!("{}{}", prefix, "OutputFormat"), &field_value); [INFO] [stdout] | ^^^^^^^^^^^^ help: change this to: `field_value` [INFO] [stdout] | [INFO] [stdout] = help: for further 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:2866:56 [INFO] [stdout] | [INFO] [stdout] 2866 | 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] 2866 - fn serialize(params: &mut Params, name: &str, obj: &Vec) { [INFO] [stdout] 2866 + 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:2869:30 [INFO] [stdout] | [INFO] [stdout] 2869 | 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:2886:56 [INFO] [stdout] | [INFO] [stdout] 2886 | 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] 2886 - fn serialize(params: &mut Params, name: &str, obj: &Vec) { [INFO] [stdout] 2886 + 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:2889:30 [INFO] [stdout] | [INFO] [stdout] 2889 | 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:2957:12 [INFO] [stdout] | [INFO] [stdout] 2957 | 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:2958:13 [INFO] [stdout] | [INFO] [stdout] 2958 | 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:2962:62 [INFO] [stdout] | [INFO] [stdout] 2962 | params.put(&format!("{}{}", prefix, "Timezone"), &field_value); [INFO] [stdout] | ^^^^^^^^^^^^ help: change this to: `field_value` [INFO] [stdout] | [INFO] [stdout] = help: for further 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:2989:12 [INFO] [stdout] | [INFO] [stdout] 2989 | 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:2990:13 [INFO] [stdout] | [INFO] [stdout] 2990 | 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:2996:17 [INFO] [stdout] | [INFO] [stdout] 2996 | &field_value, [INFO] [stdout] | ^^^^^^^^^^^^ help: change this to: `field_value` [INFO] [stdout] | [INFO] [stdout] = help: for further 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:3000:63 [INFO] [stdout] | [INFO] [stdout] 3000 | 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:3052:12 [INFO] [stdout] | [INFO] [stdout] 3052 | 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:3053:13 [INFO] [stdout] | [INFO] [stdout] 3053 | 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:3057:64 [INFO] [stdout] | [INFO] [stdout] 3057 | params.put(&format!("{}{}", prefix, "MaxResults"), &field_value); [INFO] [stdout] | ^^^^^^^^^^^^ help: change this to: `field_value` [INFO] [stdout] | [INFO] [stdout] = help: for further 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:3060:63 [INFO] [stdout] | [INFO] [stdout] 3060 | 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:3123:12 [INFO] [stdout] | [INFO] [stdout] 3123 | 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:3124:13 [INFO] [stdout] | [INFO] [stdout] 3124 | 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:3135:64 [INFO] [stdout] | [INFO] [stdout] 3135 | params.put(&format!("{}{}", prefix, "MetricName"), &field_value); [INFO] [stdout] | ^^^^^^^^^^^^ help: change this to: `field_value` [INFO] [stdout] | [INFO] [stdout] = help: for further 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:3138:63 [INFO] [stdout] | [INFO] [stdout] 3138 | params.put(&format!("{}{}", prefix, "Namespace"), &field_value); [INFO] [stdout] | ^^^^^^^^^^^^ help: change this to: `field_value` [INFO] [stdout] | [INFO] [stdout] = help: for further 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:3141:63 [INFO] [stdout] | [INFO] [stdout] 3141 | 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:3144:68 [INFO] [stdout] | [INFO] [stdout] 3144 | params.put(&format!("{}{}", prefix, "RecentlyActive"), &field_value); [INFO] [stdout] | ^^^^^^^^^^^^ help: change this to: `field_value` [INFO] [stdout] | [INFO] [stdout] = help: for further 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:3194:12 [INFO] [stdout] | [INFO] [stdout] 3194 | 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:3195:13 [INFO] [stdout] | [INFO] [stdout] 3195 | 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:3334:12 [INFO] [stdout] | [INFO] [stdout] 3334 | 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:3335:13 [INFO] [stdout] | [INFO] [stdout] 3335 | 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:3346:64 [INFO] [stdout] | [INFO] [stdout] 3346 | params.put(&format!("{}{}", prefix, "MetricName"), &field_value); [INFO] [stdout] | ^^^^^^^^^^^^ help: change this to: `field_value` [INFO] [stdout] | [INFO] [stdout] = help: for further 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:3349:63 [INFO] [stdout] | [INFO] [stdout] 3349 | params.put(&format!("{}{}", prefix, "Namespace"), &field_value); [INFO] [stdout] | ^^^^^^^^^^^^ help: change this to: `field_value` [INFO] [stdout] | [INFO] [stdout] = help: for further 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:3584:56 [INFO] [stdout] | [INFO] [stdout] 3584 | 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] 3584 - fn serialize(params: &mut Params, name: &str, obj: &Vec) { [INFO] [stdout] 3584 + fn serialize(params: &mut Params, name: &str, obj: &[MetricDatum]) { [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:3614:56 [INFO] [stdout] | [INFO] [stdout] 3614 | 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] 3614 - fn serialize(params: &mut Params, name: &str, obj: &Vec) { [INFO] [stdout] 3614 + fn serialize(params: &mut Params, name: &str, obj: &[MetricDataQuery]) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: comparison to empty slice [INFO] [stdout] --> src/generated.rs:3686:12 [INFO] [stdout] | [INFO] [stdout] 3686 | 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:3687:13 [INFO] [stdout] | [INFO] [stdout] 3687 | 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:3691:64 [INFO] [stdout] | [INFO] [stdout] 3691 | params.put(&format!("{}{}", prefix, "Expression"), &field_value); [INFO] [stdout] | ^^^^^^^^^^^^ help: change this to: `field_value` [INFO] [stdout] | [INFO] [stdout] = help: for further 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:3695:59 [INFO] [stdout] | [INFO] [stdout] 3695 | params.put(&format!("{}{}", prefix, "Label"), &field_value); [INFO] [stdout] | ^^^^^^^^^^^^ help: change this to: `field_value` [INFO] [stdout] | [INFO] [stdout] = help: for further 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:3705:60 [INFO] [stdout] | [INFO] [stdout] 3705 | params.put(&format!("{}{}", prefix, "Period"), &field_value); [INFO] [stdout] | ^^^^^^^^^^^^ help: change this to: `field_value` [INFO] [stdout] | [INFO] [stdout] = help: for further 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:3708:64 [INFO] [stdout] | [INFO] [stdout] 3708 | params.put(&format!("{}{}", prefix, "ReturnData"), &field_value); [INFO] [stdout] | ^^^^^^^^^^^^ help: change this to: `field_value` [INFO] [stdout] | [INFO] [stdout] = help: for further 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:3837:12 [INFO] [stdout] | [INFO] [stdout] 3837 | 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:3838:13 [INFO] [stdout] | [INFO] [stdout] 3838 | 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:3860:71 [INFO] [stdout] | [INFO] [stdout] 3860 | params.put(&format!("{}{}", prefix, "StorageResolution"), &field_value); [INFO] [stdout] | ^^^^^^^^^^^^ help: change this to: `field_value` [INFO] [stdout] | [INFO] [stdout] = help: for further 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:3863:63 [INFO] [stdout] | [INFO] [stdout] 3863 | params.put(&format!("{}{}", prefix, "Timestamp"), &field_value); [INFO] [stdout] | ^^^^^^^^^^^^ help: change this to: `field_value` [INFO] [stdout] | [INFO] [stdout] = help: for further 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:3866:58 [INFO] [stdout] | [INFO] [stdout] 3866 | 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: the borrowed expression implements the required traits [INFO] [stdout] --> src/generated.rs:3869:59 [INFO] [stdout] | [INFO] [stdout] 3869 | 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: comparison to empty slice [INFO] [stdout] --> src/generated.rs:3958:12 [INFO] [stdout] | [INFO] [stdout] 3958 | 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:3959:13 [INFO] [stdout] | [INFO] [stdout] 3959 | 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:3963:56 [INFO] [stdout] | [INFO] [stdout] 3963 | params.put(&format!("{}{}", prefix, "Period"), &obj.period); [INFO] [stdout] | ^^^^^^^^^^^ help: change this to: `obj.period` [INFO] [stdout] | [INFO] [stdout] = help: for further 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:3966:58 [INFO] [stdout] | [INFO] [stdout] 3966 | 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:4088:12 [INFO] [stdout] | [INFO] [stdout] 4088 | 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:4089:13 [INFO] [stdout] | [INFO] [stdout] 4089 | 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:4093:63 [INFO] [stdout] | [INFO] [stdout] 4093 | params.put(&format!("{}{}", prefix, "Namespace"), &field_value); [INFO] [stdout] | ^^^^^^^^^^^^ help: change this to: `field_value` [INFO] [stdout] | [INFO] [stdout] = help: for further 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:4122:56 [INFO] [stdout] | [INFO] [stdout] 4122 | 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] 4122 - fn serialize(params: &mut Params, name: &str, obj: &Vec) { [INFO] [stdout] 4122 + fn serialize(params: &mut Params, name: &str, obj: &[MetricStreamFilter]) { [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:4142:56 [INFO] [stdout] | [INFO] [stdout] 4142 | 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] 4142 - fn serialize(params: &mut Params, name: &str, obj: &Vec) { [INFO] [stdout] 4142 + 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:4145:30 [INFO] [stdout] | [INFO] [stdout] 4145 | 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:4291:12 [INFO] [stdout] | [INFO] [stdout] 4291 | 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:4292:13 [INFO] [stdout] | [INFO] [stdout] 4292 | 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:4362:12 [INFO] [stdout] | [INFO] [stdout] 4362 | 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:4363:13 [INFO] [stdout] | [INFO] [stdout] 4363 | 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:4367:68 [INFO] [stdout] | [INFO] [stdout] 4367 | params.put(&format!("{}{}", prefix, "ActionsEnabled"), &field_value); [INFO] [stdout] | ^^^^^^^^^^^^ help: change this to: `field_value` [INFO] [stdout] | [INFO] [stdout] = help: for further 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:4377:70 [INFO] [stdout] | [INFO] [stdout] 4377 | params.put(&format!("{}{}", prefix, "AlarmDescription"), &field_value); [INFO] [stdout] | ^^^^^^^^^^^^ help: change this to: `field_value` [INFO] [stdout] | [INFO] [stdout] = help: for further 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:4415:12 [INFO] [stdout] | [INFO] [stdout] 4415 | 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:4416:13 [INFO] [stdout] | [INFO] [stdout] 4416 | 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:4479:12 [INFO] [stdout] | [INFO] [stdout] 4479 | 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:4480:13 [INFO] [stdout] | [INFO] [stdout] 4480 | 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:4489:63 [INFO] [stdout] | [INFO] [stdout] 4489 | params.put(&format!("{}{}", prefix, "RuleState"), &field_value); [INFO] [stdout] | ^^^^^^^^^^^^ help: change this to: `field_value` [INFO] [stdout] | [INFO] [stdout] = help: for further 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:4572:12 [INFO] [stdout] | [INFO] [stdout] 4572 | 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:4573:13 [INFO] [stdout] | [INFO] [stdout] 4573 | 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:4577:68 [INFO] [stdout] | [INFO] [stdout] 4577 | params.put(&format!("{}{}", prefix, "ActionsEnabled"), &field_value); [INFO] [stdout] | ^^^^^^^^^^^^ help: change this to: `field_value` [INFO] [stdout] | [INFO] [stdout] = help: for further 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:4587:70 [INFO] [stdout] | [INFO] [stdout] 4587 | params.put(&format!("{}{}", prefix, "AlarmDescription"), &field_value); [INFO] [stdout] | ^^^^^^^^^^^^ help: change this to: `field_value` [INFO] [stdout] | [INFO] [stdout] = help: for further 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:4595:71 [INFO] [stdout] | [INFO] [stdout] 4595 | params.put(&format!("{}{}", prefix, "DatapointsToAlarm"), &field_value); [INFO] [stdout] | ^^^^^^^^^^^^ help: change this to: `field_value` [INFO] [stdout] | [INFO] [stdout] = help: for further 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:4607:17 [INFO] [stdout] | [INFO] [stdout] 4607 | &field_value, [INFO] [stdout] | ^^^^^^^^^^^^ help: change this to: `field_value` [INFO] [stdout] | [INFO] [stdout] = help: for further 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:4612:13 [INFO] [stdout] | [INFO] [stdout] 4612 | &obj.evaluation_periods, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ help: change this to: `obj.evaluation_periods` [INFO] [stdout] | [INFO] [stdout] = help: for further 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:4615:71 [INFO] [stdout] | [INFO] [stdout] 4615 | params.put(&format!("{}{}", prefix, "ExtendedStatistic"), &field_value); [INFO] [stdout] | ^^^^^^^^^^^^ help: change this to: `field_value` [INFO] [stdout] | [INFO] [stdout] = help: for further 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:4625:64 [INFO] [stdout] | [INFO] [stdout] 4625 | params.put(&format!("{}{}", prefix, "MetricName"), &field_value); [INFO] [stdout] | ^^^^^^^^^^^^ help: change this to: `field_value` [INFO] [stdout] | [INFO] [stdout] = help: for further 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:4635:63 [INFO] [stdout] | [INFO] [stdout] 4635 | params.put(&format!("{}{}", prefix, "Namespace"), &field_value); [INFO] [stdout] | ^^^^^^^^^^^^ help: change this to: `field_value` [INFO] [stdout] | [INFO] [stdout] = help: for further 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:4645:60 [INFO] [stdout] | [INFO] [stdout] 4645 | params.put(&format!("{}{}", prefix, "Period"), &field_value); [INFO] [stdout] | ^^^^^^^^^^^^ help: change this to: `field_value` [INFO] [stdout] | [INFO] [stdout] = help: for further 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:4648:63 [INFO] [stdout] | [INFO] [stdout] 4648 | params.put(&format!("{}{}", prefix, "Statistic"), &field_value); [INFO] [stdout] | ^^^^^^^^^^^^ help: change this to: `field_value` [INFO] [stdout] | [INFO] [stdout] = help: for further 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:4654:63 [INFO] [stdout] | [INFO] [stdout] 4654 | params.put(&format!("{}{}", prefix, "Threshold"), &field_value); [INFO] [stdout] | ^^^^^^^^^^^^ help: change this to: `field_value` [INFO] [stdout] | [INFO] [stdout] = help: for further 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:4657:71 [INFO] [stdout] | [INFO] [stdout] 4657 | params.put(&format!("{}{}", prefix, "ThresholdMetricId"), &field_value); [INFO] [stdout] | ^^^^^^^^^^^^ help: change this to: `field_value` [INFO] [stdout] | [INFO] [stdout] = help: for further 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, "TreatMissingData"), &field_value); [INFO] [stdout] | ^^^^^^^^^^^^ help: change this to: `field_value` [INFO] [stdout] | [INFO] [stdout] = help: for further 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:4663:58 [INFO] [stdout] | [INFO] [stdout] 4663 | 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:4682:12 [INFO] [stdout] | [INFO] [stdout] 4682 | 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:4683:13 [INFO] [stdout] | [INFO] [stdout] 4683 | 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:4719:12 [INFO] [stdout] | [INFO] [stdout] 4719 | 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:4720:13 [INFO] [stdout] | [INFO] [stdout] 4720 | 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:4809:12 [INFO] [stdout] | [INFO] [stdout] 4809 | 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:4810:13 [INFO] [stdout] | [INFO] [stdout] 4810 | 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:4840:56 [INFO] [stdout] | [INFO] [stdout] 4840 | 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] 4840 - fn serialize(params: &mut Params, name: &str, obj: &Vec) { [INFO] [stdout] 4840 + 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:4843:30 [INFO] [stdout] | [INFO] [stdout] 4843 | 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:4882:12 [INFO] [stdout] | [INFO] [stdout] 4882 | 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:4883:13 [INFO] [stdout] | [INFO] [stdout] 4883 | 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:4889:69 [INFO] [stdout] | [INFO] [stdout] 4889 | params.put(&format!("{}{}", prefix, "StateReasonData"), &field_value); [INFO] [stdout] | ^^^^^^^^^^^^ help: change this to: `field_value` [INFO] [stdout] | [INFO] [stdout] = help: for further 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:4923:12 [INFO] [stdout] | [INFO] [stdout] 4923 | 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:4924:13 [INFO] [stdout] | [INFO] [stdout] 4924 | 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:5015:12 [INFO] [stdout] | [INFO] [stdout] 5015 | 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:5016:13 [INFO] [stdout] | [INFO] [stdout] 5016 | 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:5019:57 [INFO] [stdout] | [INFO] [stdout] 5019 | params.put(&format!("{}{}", prefix, "Maximum"), &obj.maximum); [INFO] [stdout] | ^^^^^^^^^^^^ help: change this to: `obj.maximum` [INFO] [stdout] | [INFO] [stdout] = help: for further 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:5020:57 [INFO] [stdout] | [INFO] [stdout] 5020 | params.put(&format!("{}{}", prefix, "Minimum"), &obj.minimum); [INFO] [stdout] | ^^^^^^^^^^^^ help: change this to: `obj.minimum` [INFO] [stdout] | [INFO] [stdout] = help: for further 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:5021:61 [INFO] [stdout] | [INFO] [stdout] 5021 | params.put(&format!("{}{}", prefix, "SampleCount"), &obj.sample_count); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: change this to: `obj.sample_count` [INFO] [stdout] | [INFO] [stdout] = help: for further 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:5022:53 [INFO] [stdout] | [INFO] [stdout] 5022 | params.put(&format!("{}{}", prefix, "Sum"), &obj.sum); [INFO] [stdout] | ^^^^^^^^ help: change this to: `obj.sum` [INFO] [stdout] | [INFO] [stdout] = help: for further 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:5029:56 [INFO] [stdout] | [INFO] [stdout] 5029 | 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] 5029 - fn serialize(params: &mut Params, name: &str, obj: &Vec) { [INFO] [stdout] 5029 + 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:5032:30 [INFO] [stdout] | [INFO] [stdout] 5032 | 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:5057:12 [INFO] [stdout] | [INFO] [stdout] 5057 | 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:5058:13 [INFO] [stdout] | [INFO] [stdout] 5058 | 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:5126:12 [INFO] [stdout] | [INFO] [stdout] 5126 | 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:5127:13 [INFO] [stdout] | [INFO] [stdout] 5127 | 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:5147:56 [INFO] [stdout] | [INFO] [stdout] 5147 | 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] 5147 - fn serialize(params: &mut Params, name: &str, obj: &Vec) { [INFO] [stdout] 5147 + 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:5150:30 [INFO] [stdout] | [INFO] [stdout] 5150 | 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:5177:56 [INFO] [stdout] | [INFO] [stdout] 5177 | 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] 5177 - fn serialize(params: &mut Params, name: &str, obj: &Vec) { [INFO] [stdout] 5177 + fn serialize(params: &mut Params, name: &str, obj: &[Tag]) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: comparison to empty slice [INFO] [stdout] --> src/generated.rs:5199:12 [INFO] [stdout] | [INFO] [stdout] 5199 | 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:5200:13 [INFO] [stdout] | [INFO] [stdout] 5200 | 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:5293:12 [INFO] [stdout] | [INFO] [stdout] 5293 | 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:5294:13 [INFO] [stdout] | [INFO] [stdout] 5294 | 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:5327:56 [INFO] [stdout] | [INFO] [stdout] 5327 | 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] 5327 - fn serialize(params: &mut Params, name: &str, obj: &Vec) { [INFO] [stdout] 5327 + fn serialize(params: &mut Params, name: &str, obj: &[f64]) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the borrowed expression implements the required traits [INFO] [stdout] --> src/generated.rs:5330:30 [INFO] [stdout] | [INFO] [stdout] 5330 | 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:5349:17 [INFO] [stdout] | [INFO] [stdout] 5349 | / match &parsed_error.code[..] { [INFO] [stdout] 5350 | | "ResourceNotFound" => { [INFO] [stdout] 5351 | | return RusotoError::Service(DeleteAlarmsError::ResourceNotFound( [INFO] [stdout] 5352 | | parsed_error.message, [INFO] [stdout] ... | [INFO] [stdout] 5355 | | _ => {} [INFO] [stdout] 5356 | | } [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] 5349 ~ if &parsed_error.code[..] == "ResourceNotFound" { [INFO] [stdout] 5350 + return RusotoError::Service(DeleteAlarmsError::ResourceNotFound( [INFO] [stdout] 5351 + parsed_error.message, [INFO] [stdout] 5352 + )) [INFO] [stdout] 5353 + } [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:5637:17 [INFO] [stdout] | [INFO] [stdout] 5637 | / match &parsed_error.code[..] { [INFO] [stdout] 5638 | | "InvalidNextToken" => { [INFO] [stdout] 5639 | | return RusotoError::Service(DescribeAlarmHistoryError::InvalidNextToken( [INFO] [stdout] 5640 | | parsed_error.message, [INFO] [stdout] ... | [INFO] [stdout] 5643 | | _ => {} [INFO] [stdout] 5644 | | } [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] 5637 ~ if &parsed_error.code[..] == "InvalidNextToken" { [INFO] [stdout] 5638 + return RusotoError::Service(DescribeAlarmHistoryError::InvalidNextToken( [INFO] [stdout] 5639 + parsed_error.message, [INFO] [stdout] 5640 + )) [INFO] [stdout] 5641 + } [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:5681:17 [INFO] [stdout] | [INFO] [stdout] 5681 | / match &parsed_error.code[..] { [INFO] [stdout] 5682 | | "InvalidNextToken" => { [INFO] [stdout] 5683 | | return RusotoError::Service(DescribeAlarmsError::InvalidNextToken( [INFO] [stdout] 5684 | | parsed_error.message, [INFO] [stdout] ... | [INFO] [stdout] 5687 | | _ => {} [INFO] [stdout] 5688 | | } [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] 5681 ~ if &parsed_error.code[..] == "InvalidNextToken" { [INFO] [stdout] 5682 + return RusotoError::Service(DescribeAlarmsError::InvalidNextToken( [INFO] [stdout] 5683 + parsed_error.message, [INFO] [stdout] 5684 + )) [INFO] [stdout] 5685 + } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this match could be replaced by its body itself [INFO] [stdout] --> src/generated.rs:5722:17 [INFO] [stdout] | [INFO] [stdout] 5722 | / match &parsed_error.code[..] { [INFO] [stdout] 5723 | | _ => {} [INFO] [stdout] 5724 | | } [INFO] [stdout] | |_________________^ help: consider using the match body instead: `{}` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#match_single_binding [INFO] [stdout] = note: `#[warn(clippy::match_single_binding)]` on by default [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:5827:17 [INFO] [stdout] | [INFO] [stdout] 5827 | / match &parsed_error.code[..] { [INFO] [stdout] 5828 | | "InvalidNextToken" => { [INFO] [stdout] 5829 | | return RusotoError::Service(DescribeInsightRulesError::InvalidNextToken( [INFO] [stdout] 5830 | | parsed_error.message, [INFO] [stdout] ... | [INFO] [stdout] 5833 | | _ => {} [INFO] [stdout] 5834 | | } [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] 5827 ~ if &parsed_error.code[..] == "InvalidNextToken" { [INFO] [stdout] 5828 + return RusotoError::Service(DescribeInsightRulesError::InvalidNextToken( [INFO] [stdout] 5829 + parsed_error.message, [INFO] [stdout] 5830 + )) [INFO] [stdout] 5831 + } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this match could be replaced by its body itself [INFO] [stdout] --> src/generated.rs:5868:17 [INFO] [stdout] | [INFO] [stdout] 5868 | / match &parsed_error.code[..] { [INFO] [stdout] 5869 | | _ => {} [INFO] [stdout] 5870 | | } [INFO] [stdout] | |_________________^ help: consider using the match body instead: `{}` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#match_single_binding [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this match could be replaced by its body itself [INFO] [stdout] --> src/generated.rs:5956:17 [INFO] [stdout] | [INFO] [stdout] 5956 | / match &parsed_error.code[..] { [INFO] [stdout] 5957 | | _ => {} [INFO] [stdout] 5958 | | } [INFO] [stdout] | |_________________^ help: consider using the match body instead: `{}` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#match_single_binding [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:6177:17 [INFO] [stdout] | [INFO] [stdout] 6177 | / match &parsed_error.code[..] { [INFO] [stdout] 6178 | | "InvalidNextToken" => { [INFO] [stdout] 6179 | | return RusotoError::Service(GetMetricDataError::InvalidNextToken( [INFO] [stdout] 6180 | | parsed_error.message, [INFO] [stdout] ... | [INFO] [stdout] 6183 | | _ => {} [INFO] [stdout] 6184 | | } [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] 6177 ~ if &parsed_error.code[..] == "InvalidNextToken" { [INFO] [stdout] 6178 + return RusotoError::Service(GetMetricDataError::InvalidNextToken( [INFO] [stdout] 6179 + parsed_error.message, [INFO] [stdout] 6180 + )) [INFO] [stdout] 6181 + } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this match could be replaced by its body itself [INFO] [stdout] --> src/generated.rs:6368:17 [INFO] [stdout] | [INFO] [stdout] 6368 | / match &parsed_error.code[..] { [INFO] [stdout] 6369 | | _ => {} [INFO] [stdout] 6370 | | } [INFO] [stdout] | |_________________^ help: consider using the match body instead: `{}` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#match_single_binding [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:6705:17 [INFO] [stdout] | [INFO] [stdout] 6705 | / match &parsed_error.code[..] { [INFO] [stdout] 6706 | | "LimitExceeded" => { [INFO] [stdout] 6707 | | return RusotoError::Service(PutCompositeAlarmError::LimitExceededFault( [INFO] [stdout] 6708 | | parsed_error.message, [INFO] [stdout] ... | [INFO] [stdout] 6711 | | _ => {} [INFO] [stdout] 6712 | | } [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] 6705 ~ if &parsed_error.code[..] == "LimitExceeded" { [INFO] [stdout] 6706 + return RusotoError::Service(PutCompositeAlarmError::LimitExceededFault( [INFO] [stdout] 6707 + parsed_error.message, [INFO] [stdout] 6708 + )) [INFO] [stdout] 6709 + } [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:6861:17 [INFO] [stdout] | [INFO] [stdout] 6861 | / match &parsed_error.code[..] { [INFO] [stdout] 6862 | | "LimitExceeded" => { [INFO] [stdout] 6863 | | return RusotoError::Service(PutMetricAlarmError::LimitExceededFault( [INFO] [stdout] 6864 | | parsed_error.message, [INFO] [stdout] ... | [INFO] [stdout] 6867 | | _ => {} [INFO] [stdout] 6868 | | } [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] 6861 ~ if &parsed_error.code[..] == "LimitExceeded" { [INFO] [stdout] 6862 + return RusotoError::Service(PutMetricAlarmError::LimitExceededFault( [INFO] [stdout] 6863 + parsed_error.message, [INFO] [stdout] 6864 + )) [INFO] [stdout] 6865 + } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this let-binding has unit value [INFO] [stdout] --> src/custom/custom_tests.rs:65:5 [INFO] [stdout] | [INFO] [stdout] 65 | let response = client.put_metric_data(request).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#let_unit_value [INFO] [stdout] = note: `#[warn(clippy::let_unit_value)]` on by default [INFO] [stdout] help: omit the `let` binding and replace variable usages with `()` [INFO] [stdout] | [INFO] [stdout] 65 ~ client.put_metric_data(request).await.unwrap(); [INFO] [stdout] 66 ~ println!("{:#?}", ()); [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:176:56 [INFO] [stdout] | [INFO] [stdout] 176 | 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] 176 - fn serialize(params: &mut Params, name: &str, obj: &Vec) { [INFO] [stdout] 176 + 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:179:30 [INFO] [stdout] | [INFO] [stdout] 179 | 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: writing `&Vec` instead of `&[_]` involves a new object where a slice will do [INFO] [stdout] --> src/generated.rs:204:56 [INFO] [stdout] | [INFO] [stdout] 204 | 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] 204 - fn serialize(params: &mut Params, name: &str, obj: &Vec) { [INFO] [stdout] 204 + 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:207:30 [INFO] [stdout] | [INFO] [stdout] 207 | 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:336:12 [INFO] [stdout] | [INFO] [stdout] 336 | 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:337:13 [INFO] [stdout] | [INFO] [stdout] 337 | 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: the borrowed expression implements the required traits [INFO] [stdout] --> src/generated.rs:348:68 [INFO] [stdout] | [INFO] [stdout] 348 | params.put(&format!("{}{}", prefix, "MetricTimezone"), &field_value); [INFO] [stdout] | ^^^^^^^^^^^^ help: change this to: `field_value` [INFO] [stdout] | [INFO] [stdout] = help: for further 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:375:56 [INFO] [stdout] | [INFO] [stdout] 375 | 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] 375 - fn serialize(params: &mut Params, name: &str, obj: &Vec) { [INFO] [stdout] 375 + fn serialize(params: &mut Params, name: &str, obj: &[Range]) { [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:584:56 [INFO] [stdout] | [INFO] [stdout] 584 | 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] 584 - fn serialize(params: &mut Params, name: &str, obj: &Vec) { [INFO] [stdout] 584 + fn serialize(params: &mut Params, name: &str, obj: &[f64]) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the borrowed expression implements the required traits [INFO] [stdout] --> src/generated.rs:587:30 [INFO] [stdout] | [INFO] [stdout] 587 | 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:689:56 [INFO] [stdout] | [INFO] [stdout] 689 | 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] 689 - fn serialize(params: &mut Params, name: &str, obj: &Vec) { [INFO] [stdout] 689 + 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:692:30 [INFO] [stdout] | [INFO] [stdout] 692 | 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:917:12 [INFO] [stdout] | [INFO] [stdout] 917 | 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:918:13 [INFO] [stdout] | [INFO] [stdout] 918 | 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:947:12 [INFO] [stdout] | [INFO] [stdout] 947 | 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:948:13 [INFO] [stdout] | [INFO] [stdout] 948 | 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:997:12 [INFO] [stdout] | [INFO] [stdout] 997 | 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:998:13 [INFO] [stdout] | [INFO] [stdout] 998 | 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:1042:12 [INFO] [stdout] | [INFO] [stdout] 1042 | 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:1043:13 [INFO] [stdout] | [INFO] [stdout] 1043 | 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:1098:12 [INFO] [stdout] | [INFO] [stdout] 1098 | 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:1099:13 [INFO] [stdout] | [INFO] [stdout] 1099 | 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:1153:12 [INFO] [stdout] | [INFO] [stdout] 1153 | 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:1154:13 [INFO] [stdout] | [INFO] [stdout] 1154 | 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:1158:63 [INFO] [stdout] | [INFO] [stdout] 1158 | params.put(&format!("{}{}", prefix, "AlarmName"), &field_value); [INFO] [stdout] | ^^^^^^^^^^^^ help: change this to: `field_value` [INFO] [stdout] | [INFO] [stdout] = help: for further 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:1168:61 [INFO] [stdout] | [INFO] [stdout] 1168 | params.put(&format!("{}{}", prefix, "EndDate"), &field_value); [INFO] [stdout] | ^^^^^^^^^^^^ help: change this to: `field_value` [INFO] [stdout] | [INFO] [stdout] = help: for further 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:1171:69 [INFO] [stdout] | [INFO] [stdout] 1171 | params.put(&format!("{}{}", prefix, "HistoryItemType"), &field_value); [INFO] [stdout] | ^^^^^^^^^^^^ help: change this to: `field_value` [INFO] [stdout] | [INFO] [stdout] = help: for further 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:1174:64 [INFO] [stdout] | [INFO] [stdout] 1174 | 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:1177:63 [INFO] [stdout] | [INFO] [stdout] 1177 | 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:1180:60 [INFO] [stdout] | [INFO] [stdout] 1180 | params.put(&format!("{}{}", prefix, "ScanBy"), &field_value); [INFO] [stdout] | ^^^^^^^^^^^^ help: change this to: `field_value` [INFO] [stdout] | [INFO] [stdout] = help: for further 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:1183:63 [INFO] [stdout] | [INFO] [stdout] 1183 | params.put(&format!("{}{}", prefix, "StartDate"), &field_value); [INFO] [stdout] | ^^^^^^^^^^^^ help: change this to: `field_value` [INFO] [stdout] | [INFO] [stdout] = help: for further 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:1250:12 [INFO] [stdout] | [INFO] [stdout] 1250 | 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:1251:13 [INFO] [stdout] | [INFO] [stdout] 1251 | 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:1262:71 [INFO] [stdout] | [INFO] [stdout] 1262 | params.put(&format!("{}{}", prefix, "ExtendedStatistic"), &field_value); [INFO] [stdout] | ^^^^^^^^^^^^ help: change this to: `field_value` [INFO] [stdout] | [INFO] [stdout] = help: for further 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:1267:60 [INFO] [stdout] | [INFO] [stdout] 1267 | params.put(&format!("{}{}", prefix, "Period"), &field_value); [INFO] [stdout] | ^^^^^^^^^^^^ help: change this to: `field_value` [INFO] [stdout] | [INFO] [stdout] = help: for further 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:1270:63 [INFO] [stdout] | [INFO] [stdout] 1270 | params.put(&format!("{}{}", prefix, "Statistic"), &field_value); [INFO] [stdout] | ^^^^^^^^^^^^ help: change this to: `field_value` [INFO] [stdout] | [INFO] [stdout] = help: for further 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:1273:58 [INFO] [stdout] | [INFO] [stdout] 1273 | 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:1338:12 [INFO] [stdout] | [INFO] [stdout] 1338 | 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:1339:13 [INFO] [stdout] | [INFO] [stdout] 1339 | 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:1343:66 [INFO] [stdout] | [INFO] [stdout] 1343 | params.put(&format!("{}{}", prefix, "ActionPrefix"), &field_value); [INFO] [stdout] | ^^^^^^^^^^^^ help: change this to: `field_value` [INFO] [stdout] | [INFO] [stdout] = help: for further 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:1346:69 [INFO] [stdout] | [INFO] [stdout] 1346 | params.put(&format!("{}{}", prefix, "AlarmNamePrefix"), &field_value); [INFO] [stdout] | ^^^^^^^^^^^^ help: change this to: `field_value` [INFO] [stdout] | [INFO] [stdout] = help: for further 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:1365:17 [INFO] [stdout] | [INFO] [stdout] 1365 | &field_value, [INFO] [stdout] | ^^^^^^^^^^^^ help: change this to: `field_value` [INFO] [stdout] | [INFO] [stdout] = help: for further 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:1369:64 [INFO] [stdout] | [INFO] [stdout] 1369 | 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:1372:63 [INFO] [stdout] | [INFO] [stdout] 1372 | 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:1375:72 [INFO] [stdout] | [INFO] [stdout] 1375 | params.put(&format!("{}{}", prefix, "ParentsOfAlarmName"), &field_value); [INFO] [stdout] | ^^^^^^^^^^^^ help: change this to: `field_value` [INFO] [stdout] | [INFO] [stdout] = help: for further 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:1378:64 [INFO] [stdout] | [INFO] [stdout] 1378 | params.put(&format!("{}{}", prefix, "StateValue"), &field_value); [INFO] [stdout] | ^^^^^^^^^^^^ help: change this to: `field_value` [INFO] [stdout] | [INFO] [stdout] = help: for further 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:1443:12 [INFO] [stdout] | [INFO] [stdout] 1443 | 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:1444:13 [INFO] [stdout] | [INFO] [stdout] 1444 | 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:1455:64 [INFO] [stdout] | [INFO] [stdout] 1455 | params.put(&format!("{}{}", prefix, "MaxResults"), &field_value); [INFO] [stdout] | ^^^^^^^^^^^^ help: change this to: `field_value` [INFO] [stdout] | [INFO] [stdout] = help: for further 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:1458:64 [INFO] [stdout] | [INFO] [stdout] 1458 | params.put(&format!("{}{}", prefix, "MetricName"), &field_value); [INFO] [stdout] | ^^^^^^^^^^^^ help: change this to: `field_value` [INFO] [stdout] | [INFO] [stdout] = help: for further 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:1461:63 [INFO] [stdout] | [INFO] [stdout] 1461 | params.put(&format!("{}{}", prefix, "Namespace"), &field_value); [INFO] [stdout] | ^^^^^^^^^^^^ help: change this to: `field_value` [INFO] [stdout] | [INFO] [stdout] = help: for further 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:1464:63 [INFO] [stdout] | [INFO] [stdout] 1464 | 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:1521:12 [INFO] [stdout] | [INFO] [stdout] 1521 | 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:1522:13 [INFO] [stdout] | [INFO] [stdout] 1522 | 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:1526:64 [INFO] [stdout] | [INFO] [stdout] 1526 | params.put(&format!("{}{}", prefix, "MaxResults"), &field_value); [INFO] [stdout] | ^^^^^^^^^^^^ help: change this to: `field_value` [INFO] [stdout] | [INFO] [stdout] = help: for further 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:1529:63 [INFO] [stdout] | [INFO] [stdout] 1529 | 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:1611:12 [INFO] [stdout] | [INFO] [stdout] 1611 | 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:1612:13 [INFO] [stdout] | [INFO] [stdout] 1612 | 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:1635:12 [INFO] [stdout] | [INFO] [stdout] 1635 | 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:1636:13 [INFO] [stdout] | [INFO] [stdout] 1636 | 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:1641:59 [INFO] [stdout] | [INFO] [stdout] 1641 | 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:1649:56 [INFO] [stdout] | [INFO] [stdout] 1649 | 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] 1649 - fn serialize(params: &mut Params, name: &str, obj: &Vec) { [INFO] [stdout] 1649 + fn serialize(params: &mut Params, name: &str, obj: &[DimensionFilter]) { [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:1695:56 [INFO] [stdout] | [INFO] [stdout] 1695 | 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] 1695 - fn serialize(params: &mut Params, name: &str, obj: &Vec) { [INFO] [stdout] 1695 + fn serialize(params: &mut Params, name: &str, obj: &[Dimension]) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: comparison to empty slice [INFO] [stdout] --> src/generated.rs:1715:12 [INFO] [stdout] | [INFO] [stdout] 1715 | 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:1716:13 [INFO] [stdout] | [INFO] [stdout] 1716 | 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:1739:12 [INFO] [stdout] | [INFO] [stdout] 1739 | 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:1740:13 [INFO] [stdout] | [INFO] [stdout] 1740 | 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:1795:12 [INFO] [stdout] | [INFO] [stdout] 1795 | 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:1796:13 [INFO] [stdout] | [INFO] [stdout] 1796 | 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:1819:12 [INFO] [stdout] | [INFO] [stdout] 1819 | 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:1820:13 [INFO] [stdout] | [INFO] [stdout] 1820 | 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:1899:56 [INFO] [stdout] | [INFO] [stdout] 1899 | 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] 1899 - fn serialize(params: &mut Params, name: &str, obj: &Vec) { [INFO] [stdout] 1899 + 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:1902:30 [INFO] [stdout] | [INFO] [stdout] 1902 | 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: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:2023:12 [INFO] [stdout] | [INFO] [stdout] 2023 | 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:2024:13 [INFO] [stdout] | [INFO] [stdout] 2024 | 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:2031:17 [INFO] [stdout] | [INFO] [stdout] 2031 | &field_value, [INFO] [stdout] | ^^^^^^^^^^^^ help: change this to: `field_value` [INFO] [stdout] | [INFO] [stdout] = help: for further 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:2042:61 [INFO] [stdout] | [INFO] [stdout] 2042 | params.put(&format!("{}{}", prefix, "OrderBy"), &field_value); [INFO] [stdout] | ^^^^^^^^^^^^ help: change this to: `field_value` [INFO] [stdout] | [INFO] [stdout] = help: for further 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:2044:56 [INFO] [stdout] | [INFO] [stdout] 2044 | params.put(&format!("{}{}", prefix, "Period"), &obj.period); [INFO] [stdout] | ^^^^^^^^^^^ help: change this to: `obj.period` [INFO] [stdout] | [INFO] [stdout] = help: for further 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:2156:12 [INFO] [stdout] | [INFO] [stdout] 2156 | 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:2157:13 [INFO] [stdout] | [INFO] [stdout] 2157 | 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:2169:67 [INFO] [stdout] | [INFO] [stdout] 2169 | params.put(&format!("{}{}", prefix, "MaxDatapoints"), &field_value); [INFO] [stdout] | ^^^^^^^^^^^^ help: change this to: `field_value` [INFO] [stdout] | [INFO] [stdout] = help: for further 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:2177:63 [INFO] [stdout] | [INFO] [stdout] 2177 | 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:2180:60 [INFO] [stdout] | [INFO] [stdout] 2180 | params.put(&format!("{}{}", prefix, "ScanBy"), &field_value); [INFO] [stdout] | ^^^^^^^^^^^^ help: change this to: `field_value` [INFO] [stdout] | [INFO] [stdout] = help: for further 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:2254:12 [INFO] [stdout] | [INFO] [stdout] 2254 | 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:2255:13 [INFO] [stdout] | [INFO] [stdout] 2255 | 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:2275:56 [INFO] [stdout] | [INFO] [stdout] 2275 | params.put(&format!("{}{}", prefix, "Period"), &obj.period); [INFO] [stdout] | ^^^^^^^^^^^ help: change this to: `obj.period` [INFO] [stdout] | [INFO] [stdout] = help: for further 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:2285:58 [INFO] [stdout] | [INFO] [stdout] 2285 | 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:2339:12 [INFO] [stdout] | [INFO] [stdout] 2339 | 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:2340:13 [INFO] [stdout] | [INFO] [stdout] 2340 | 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:2446:12 [INFO] [stdout] | [INFO] [stdout] 2446 | 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:2447:13 [INFO] [stdout] | [INFO] [stdout] 2447 | 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:2452:66 [INFO] [stdout] | [INFO] [stdout] 2452 | params.put(&format!("{}{}", prefix, "OutputFormat"), &field_value); [INFO] [stdout] | ^^^^^^^^^^^^ help: change this to: `field_value` [INFO] [stdout] | [INFO] [stdout] = help: for further 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:2866:56 [INFO] [stdout] | [INFO] [stdout] 2866 | 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] 2866 - fn serialize(params: &mut Params, name: &str, obj: &Vec) { [INFO] [stdout] 2866 + 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:2869:30 [INFO] [stdout] | [INFO] [stdout] 2869 | 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:2886:56 [INFO] [stdout] | [INFO] [stdout] 2886 | 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] 2886 - fn serialize(params: &mut Params, name: &str, obj: &Vec) { [INFO] [stdout] 2886 + 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:2889:30 [INFO] [stdout] | [INFO] [stdout] 2889 | 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:2957:12 [INFO] [stdout] | [INFO] [stdout] 2957 | 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:2958:13 [INFO] [stdout] | [INFO] [stdout] 2958 | 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:2962:62 [INFO] [stdout] | [INFO] [stdout] 2962 | params.put(&format!("{}{}", prefix, "Timezone"), &field_value); [INFO] [stdout] | ^^^^^^^^^^^^ help: change this to: `field_value` [INFO] [stdout] | [INFO] [stdout] = help: for further 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:2989:12 [INFO] [stdout] | [INFO] [stdout] 2989 | 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:2990:13 [INFO] [stdout] | [INFO] [stdout] 2990 | 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:2996:17 [INFO] [stdout] | [INFO] [stdout] 2996 | &field_value, [INFO] [stdout] | ^^^^^^^^^^^^ help: change this to: `field_value` [INFO] [stdout] | [INFO] [stdout] = help: for further 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:3000:63 [INFO] [stdout] | [INFO] [stdout] 3000 | 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:3052:12 [INFO] [stdout] | [INFO] [stdout] 3052 | 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:3053:13 [INFO] [stdout] | [INFO] [stdout] 3053 | 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:3057:64 [INFO] [stdout] | [INFO] [stdout] 3057 | params.put(&format!("{}{}", prefix, "MaxResults"), &field_value); [INFO] [stdout] | ^^^^^^^^^^^^ help: change this to: `field_value` [INFO] [stdout] | [INFO] [stdout] = help: for further 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:3060:63 [INFO] [stdout] | [INFO] [stdout] 3060 | 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:3123:12 [INFO] [stdout] | [INFO] [stdout] 3123 | 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:3124:13 [INFO] [stdout] | [INFO] [stdout] 3124 | 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:3135:64 [INFO] [stdout] | [INFO] [stdout] 3135 | params.put(&format!("{}{}", prefix, "MetricName"), &field_value); [INFO] [stdout] | ^^^^^^^^^^^^ help: change this to: `field_value` [INFO] [stdout] | [INFO] [stdout] = help: for further 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:3138:63 [INFO] [stdout] | [INFO] [stdout] 3138 | params.put(&format!("{}{}", prefix, "Namespace"), &field_value); [INFO] [stdout] | ^^^^^^^^^^^^ help: change this to: `field_value` [INFO] [stdout] | [INFO] [stdout] = help: for further 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:3141:63 [INFO] [stdout] | [INFO] [stdout] 3141 | 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:3144:68 [INFO] [stdout] | [INFO] [stdout] 3144 | params.put(&format!("{}{}", prefix, "RecentlyActive"), &field_value); [INFO] [stdout] | ^^^^^^^^^^^^ help: change this to: `field_value` [INFO] [stdout] | [INFO] [stdout] = help: for further 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:3194:12 [INFO] [stdout] | [INFO] [stdout] 3194 | 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:3195:13 [INFO] [stdout] | [INFO] [stdout] 3195 | 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:3334:12 [INFO] [stdout] | [INFO] [stdout] 3334 | 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:3335:13 [INFO] [stdout] | [INFO] [stdout] 3335 | 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:3346:64 [INFO] [stdout] | [INFO] [stdout] 3346 | params.put(&format!("{}{}", prefix, "MetricName"), &field_value); [INFO] [stdout] | ^^^^^^^^^^^^ help: change this to: `field_value` [INFO] [stdout] | [INFO] [stdout] = help: for further 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:3349:63 [INFO] [stdout] | [INFO] [stdout] 3349 | params.put(&format!("{}{}", prefix, "Namespace"), &field_value); [INFO] [stdout] | ^^^^^^^^^^^^ help: change this to: `field_value` [INFO] [stdout] | [INFO] [stdout] = help: for further 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:3584:56 [INFO] [stdout] | [INFO] [stdout] 3584 | 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] 3584 - fn serialize(params: &mut Params, name: &str, obj: &Vec) { [INFO] [stdout] 3584 + fn serialize(params: &mut Params, name: &str, obj: &[MetricDatum]) { [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:3614:56 [INFO] [stdout] | [INFO] [stdout] 3614 | 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] 3614 - fn serialize(params: &mut Params, name: &str, obj: &Vec) { [INFO] [stdout] 3614 + fn serialize(params: &mut Params, name: &str, obj: &[MetricDataQuery]) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: comparison to empty slice [INFO] [stdout] --> src/generated.rs:3686:12 [INFO] [stdout] | [INFO] [stdout] 3686 | 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:3687:13 [INFO] [stdout] | [INFO] [stdout] 3687 | 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:3691:64 [INFO] [stdout] | [INFO] [stdout] 3691 | params.put(&format!("{}{}", prefix, "Expression"), &field_value); [INFO] [stdout] | ^^^^^^^^^^^^ help: change this to: `field_value` [INFO] [stdout] | [INFO] [stdout] = help: for further 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:3695:59 [INFO] [stdout] | [INFO] [stdout] 3695 | params.put(&format!("{}{}", prefix, "Label"), &field_value); [INFO] [stdout] | ^^^^^^^^^^^^ help: change this to: `field_value` [INFO] [stdout] | [INFO] [stdout] = help: for further 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:3705:60 [INFO] [stdout] | [INFO] [stdout] 3705 | params.put(&format!("{}{}", prefix, "Period"), &field_value); [INFO] [stdout] | ^^^^^^^^^^^^ help: change this to: `field_value` [INFO] [stdout] | [INFO] [stdout] = help: for further 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:3708:64 [INFO] [stdout] | [INFO] [stdout] 3708 | params.put(&format!("{}{}", prefix, "ReturnData"), &field_value); [INFO] [stdout] | ^^^^^^^^^^^^ help: change this to: `field_value` [INFO] [stdout] | [INFO] [stdout] = help: for further 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:3837:12 [INFO] [stdout] | [INFO] [stdout] 3837 | 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:3838:13 [INFO] [stdout] | [INFO] [stdout] 3838 | 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:3860:71 [INFO] [stdout] | [INFO] [stdout] 3860 | params.put(&format!("{}{}", prefix, "StorageResolution"), &field_value); [INFO] [stdout] | ^^^^^^^^^^^^ help: change this to: `field_value` [INFO] [stdout] | [INFO] [stdout] = help: for further 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:3863:63 [INFO] [stdout] | [INFO] [stdout] 3863 | params.put(&format!("{}{}", prefix, "Timestamp"), &field_value); [INFO] [stdout] | ^^^^^^^^^^^^ help: change this to: `field_value` [INFO] [stdout] | [INFO] [stdout] = help: for further 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:3866:58 [INFO] [stdout] | [INFO] [stdout] 3866 | 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: the borrowed expression implements the required traits [INFO] [stdout] --> src/generated.rs:3869:59 [INFO] [stdout] | [INFO] [stdout] 3869 | 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: comparison to empty slice [INFO] [stdout] --> src/generated.rs:3958:12 [INFO] [stdout] | [INFO] [stdout] 3958 | 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:3959:13 [INFO] [stdout] | [INFO] [stdout] 3959 | 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:3963:56 [INFO] [stdout] | [INFO] [stdout] 3963 | params.put(&format!("{}{}", prefix, "Period"), &obj.period); [INFO] [stdout] | ^^^^^^^^^^^ help: change this to: `obj.period` [INFO] [stdout] | [INFO] [stdout] = help: for further 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:3966:58 [INFO] [stdout] | [INFO] [stdout] 3966 | 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:4088:12 [INFO] [stdout] | [INFO] [stdout] 4088 | 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:4089:13 [INFO] [stdout] | [INFO] [stdout] 4089 | 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:4093:63 [INFO] [stdout] | [INFO] [stdout] 4093 | params.put(&format!("{}{}", prefix, "Namespace"), &field_value); [INFO] [stdout] | ^^^^^^^^^^^^ help: change this to: `field_value` [INFO] [stdout] | [INFO] [stdout] = help: for further 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:4122:56 [INFO] [stdout] | [INFO] [stdout] 4122 | 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] 4122 - fn serialize(params: &mut Params, name: &str, obj: &Vec) { [INFO] [stdout] 4122 + fn serialize(params: &mut Params, name: &str, obj: &[MetricStreamFilter]) { [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:4142:56 [INFO] [stdout] | [INFO] [stdout] 4142 | 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] 4142 - fn serialize(params: &mut Params, name: &str, obj: &Vec) { [INFO] [stdout] 4142 + 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:4145:30 [INFO] [stdout] | [INFO] [stdout] 4145 | 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:4291:12 [INFO] [stdout] | [INFO] [stdout] 4291 | 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:4292:13 [INFO] [stdout] | [INFO] [stdout] 4292 | 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:4362:12 [INFO] [stdout] | [INFO] [stdout] 4362 | 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:4363:13 [INFO] [stdout] | [INFO] [stdout] 4363 | 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:4367:68 [INFO] [stdout] | [INFO] [stdout] 4367 | params.put(&format!("{}{}", prefix, "ActionsEnabled"), &field_value); [INFO] [stdout] | ^^^^^^^^^^^^ help: change this to: `field_value` [INFO] [stdout] | [INFO] [stdout] = help: for further 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:4377:70 [INFO] [stdout] | [INFO] [stdout] 4377 | params.put(&format!("{}{}", prefix, "AlarmDescription"), &field_value); [INFO] [stdout] | ^^^^^^^^^^^^ help: change this to: `field_value` [INFO] [stdout] | [INFO] [stdout] = help: for further 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:4415:12 [INFO] [stdout] | [INFO] [stdout] 4415 | 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:4416:13 [INFO] [stdout] | [INFO] [stdout] 4416 | 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:4479:12 [INFO] [stdout] | [INFO] [stdout] 4479 | 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:4480:13 [INFO] [stdout] | [INFO] [stdout] 4480 | 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:4489:63 [INFO] [stdout] | [INFO] [stdout] 4489 | params.put(&format!("{}{}", prefix, "RuleState"), &field_value); [INFO] [stdout] | ^^^^^^^^^^^^ help: change this to: `field_value` [INFO] [stdout] | [INFO] [stdout] = help: for further 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:4572:12 [INFO] [stdout] | [INFO] [stdout] 4572 | 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:4573:13 [INFO] [stdout] | [INFO] [stdout] 4573 | 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:4577:68 [INFO] [stdout] | [INFO] [stdout] 4577 | params.put(&format!("{}{}", prefix, "ActionsEnabled"), &field_value); [INFO] [stdout] | ^^^^^^^^^^^^ help: change this to: `field_value` [INFO] [stdout] | [INFO] [stdout] = help: for further 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:4587:70 [INFO] [stdout] | [INFO] [stdout] 4587 | params.put(&format!("{}{}", prefix, "AlarmDescription"), &field_value); [INFO] [stdout] | ^^^^^^^^^^^^ help: change this to: `field_value` [INFO] [stdout] | [INFO] [stdout] = help: for further 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:4595:71 [INFO] [stdout] | [INFO] [stdout] 4595 | params.put(&format!("{}{}", prefix, "DatapointsToAlarm"), &field_value); [INFO] [stdout] | ^^^^^^^^^^^^ help: change this to: `field_value` [INFO] [stdout] | [INFO] [stdout] = help: for further 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:4607:17 [INFO] [stdout] | [INFO] [stdout] 4607 | &field_value, [INFO] [stdout] | ^^^^^^^^^^^^ help: change this to: `field_value` [INFO] [stdout] | [INFO] [stdout] = help: for further 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:4612:13 [INFO] [stdout] | [INFO] [stdout] 4612 | &obj.evaluation_periods, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ help: change this to: `obj.evaluation_periods` [INFO] [stdout] | [INFO] [stdout] = help: for further 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:4615:71 [INFO] [stdout] | [INFO] [stdout] 4615 | params.put(&format!("{}{}", prefix, "ExtendedStatistic"), &field_value); [INFO] [stdout] | ^^^^^^^^^^^^ help: change this to: `field_value` [INFO] [stdout] | [INFO] [stdout] = help: for further 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:4625:64 [INFO] [stdout] | [INFO] [stdout] 4625 | params.put(&format!("{}{}", prefix, "MetricName"), &field_value); [INFO] [stdout] | ^^^^^^^^^^^^ help: change this to: `field_value` [INFO] [stdout] | [INFO] [stdout] = help: for further 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:4635:63 [INFO] [stdout] | [INFO] [stdout] 4635 | params.put(&format!("{}{}", prefix, "Namespace"), &field_value); [INFO] [stdout] | ^^^^^^^^^^^^ help: change this to: `field_value` [INFO] [stdout] | [INFO] [stdout] = help: for further 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:4645:60 [INFO] [stdout] | [INFO] [stdout] 4645 | params.put(&format!("{}{}", prefix, "Period"), &field_value); [INFO] [stdout] | ^^^^^^^^^^^^ help: change this to: `field_value` [INFO] [stdout] | [INFO] [stdout] = help: for further 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:4648:63 [INFO] [stdout] | [INFO] [stdout] 4648 | params.put(&format!("{}{}", prefix, "Statistic"), &field_value); [INFO] [stdout] | ^^^^^^^^^^^^ help: change this to: `field_value` [INFO] [stdout] | [INFO] [stdout] = help: for further 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:4654:63 [INFO] [stdout] | [INFO] [stdout] 4654 | params.put(&format!("{}{}", prefix, "Threshold"), &field_value); [INFO] [stdout] | ^^^^^^^^^^^^ help: change this to: `field_value` [INFO] [stdout] | [INFO] [stdout] = help: for further 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:4657:71 [INFO] [stdout] | [INFO] [stdout] 4657 | params.put(&format!("{}{}", prefix, "ThresholdMetricId"), &field_value); [INFO] [stdout] | ^^^^^^^^^^^^ help: change this to: `field_value` [INFO] [stdout] | [INFO] [stdout] = help: for further 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, "TreatMissingData"), &field_value); [INFO] [stdout] | ^^^^^^^^^^^^ help: change this to: `field_value` [INFO] [stdout] | [INFO] [stdout] = help: for further 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:4663:58 [INFO] [stdout] | [INFO] [stdout] 4663 | 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:4682:12 [INFO] [stdout] | [INFO] [stdout] 4682 | 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:4683:13 [INFO] [stdout] | [INFO] [stdout] 4683 | 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:4719:12 [INFO] [stdout] | [INFO] [stdout] 4719 | 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:4720:13 [INFO] [stdout] | [INFO] [stdout] 4720 | 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:4809:12 [INFO] [stdout] | [INFO] [stdout] 4809 | 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:4810:13 [INFO] [stdout] | [INFO] [stdout] 4810 | 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:4840:56 [INFO] [stdout] | [INFO] [stdout] 4840 | 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] 4840 - fn serialize(params: &mut Params, name: &str, obj: &Vec) { [INFO] [stdout] 4840 + 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:4843:30 [INFO] [stdout] | [INFO] [stdout] 4843 | 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:4882:12 [INFO] [stdout] | [INFO] [stdout] 4882 | 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:4883:13 [INFO] [stdout] | [INFO] [stdout] 4883 | 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:4889:69 [INFO] [stdout] | [INFO] [stdout] 4889 | params.put(&format!("{}{}", prefix, "StateReasonData"), &field_value); [INFO] [stdout] | ^^^^^^^^^^^^ help: change this to: `field_value` [INFO] [stdout] | [INFO] [stdout] = help: for further 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:4923:12 [INFO] [stdout] | [INFO] [stdout] 4923 | 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:4924:13 [INFO] [stdout] | [INFO] [stdout] 4924 | 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:5015:12 [INFO] [stdout] | [INFO] [stdout] 5015 | 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:5016:13 [INFO] [stdout] | [INFO] [stdout] 5016 | 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:5019:57 [INFO] [stdout] | [INFO] [stdout] 5019 | params.put(&format!("{}{}", prefix, "Maximum"), &obj.maximum); [INFO] [stdout] | ^^^^^^^^^^^^ help: change this to: `obj.maximum` [INFO] [stdout] | [INFO] [stdout] = help: for further 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:5020:57 [INFO] [stdout] | [INFO] [stdout] 5020 | params.put(&format!("{}{}", prefix, "Minimum"), &obj.minimum); [INFO] [stdout] | ^^^^^^^^^^^^ help: change this to: `obj.minimum` [INFO] [stdout] | [INFO] [stdout] = help: for further 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:5021:61 [INFO] [stdout] | [INFO] [stdout] 5021 | params.put(&format!("{}{}", prefix, "SampleCount"), &obj.sample_count); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: change this to: `obj.sample_count` [INFO] [stdout] | [INFO] [stdout] = help: for further 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:5022:53 [INFO] [stdout] | [INFO] [stdout] 5022 | params.put(&format!("{}{}", prefix, "Sum"), &obj.sum); [INFO] [stdout] | ^^^^^^^^ help: change this to: `obj.sum` [INFO] [stdout] | [INFO] [stdout] = help: for further 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:5029:56 [INFO] [stdout] | [INFO] [stdout] 5029 | 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] 5029 - fn serialize(params: &mut Params, name: &str, obj: &Vec) { [INFO] [stdout] 5029 + 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:5032:30 [INFO] [stdout] | [INFO] [stdout] 5032 | 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:5057:12 [INFO] [stdout] | [INFO] [stdout] 5057 | 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:5058:13 [INFO] [stdout] | [INFO] [stdout] 5058 | 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:5126:12 [INFO] [stdout] | [INFO] [stdout] 5126 | 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:5127:13 [INFO] [stdout] | [INFO] [stdout] 5127 | 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:5147:56 [INFO] [stdout] | [INFO] [stdout] 5147 | 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] 5147 - fn serialize(params: &mut Params, name: &str, obj: &Vec) { [INFO] [stdout] 5147 + 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:5150:30 [INFO] [stdout] | [INFO] [stdout] 5150 | 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:5177:56 [INFO] [stdout] | [INFO] [stdout] 5177 | 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] 5177 - fn serialize(params: &mut Params, name: &str, obj: &Vec) { [INFO] [stdout] 5177 + fn serialize(params: &mut Params, name: &str, obj: &[Tag]) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: comparison to empty slice [INFO] [stdout] --> src/generated.rs:5199:12 [INFO] [stdout] | [INFO] [stdout] 5199 | 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:5200:13 [INFO] [stdout] | [INFO] [stdout] 5200 | 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:5293:12 [INFO] [stdout] | [INFO] [stdout] 5293 | 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:5294:13 [INFO] [stdout] | [INFO] [stdout] 5294 | 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:5327:56 [INFO] [stdout] | [INFO] [stdout] 5327 | 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] 5327 - fn serialize(params: &mut Params, name: &str, obj: &Vec) { [INFO] [stdout] 5327 + fn serialize(params: &mut Params, name: &str, obj: &[f64]) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the borrowed expression implements the required traits [INFO] [stdout] --> src/generated.rs:5330:30 [INFO] [stdout] | [INFO] [stdout] 5330 | 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:5349:17 [INFO] [stdout] | [INFO] [stdout] 5349 | / match &parsed_error.code[..] { [INFO] [stdout] 5350 | | "ResourceNotFound" => { [INFO] [stdout] 5351 | | return RusotoError::Service(DeleteAlarmsError::ResourceNotFound( [INFO] [stdout] 5352 | | parsed_error.message, [INFO] [stdout] ... | [INFO] [stdout] 5355 | | _ => {} [INFO] [stdout] 5356 | | } [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] 5349 ~ if &parsed_error.code[..] == "ResourceNotFound" { [INFO] [stdout] 5350 + return RusotoError::Service(DeleteAlarmsError::ResourceNotFound( [INFO] [stdout] 5351 + parsed_error.message, [INFO] [stdout] 5352 + )) [INFO] [stdout] 5353 + } [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:5637:17 [INFO] [stdout] | [INFO] [stdout] 5637 | / match &parsed_error.code[..] { [INFO] [stdout] 5638 | | "InvalidNextToken" => { [INFO] [stdout] 5639 | | return RusotoError::Service(DescribeAlarmHistoryError::InvalidNextToken( [INFO] [stdout] 5640 | | parsed_error.message, [INFO] [stdout] ... | [INFO] [stdout] 5643 | | _ => {} [INFO] [stdout] 5644 | | } [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] 5637 ~ if &parsed_error.code[..] == "InvalidNextToken" { [INFO] [stdout] 5638 + return RusotoError::Service(DescribeAlarmHistoryError::InvalidNextToken( [INFO] [stdout] 5639 + parsed_error.message, [INFO] [stdout] 5640 + )) [INFO] [stdout] 5641 + } [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:5681:17 [INFO] [stdout] | [INFO] [stdout] 5681 | / match &parsed_error.code[..] { [INFO] [stdout] 5682 | | "InvalidNextToken" => { [INFO] [stdout] 5683 | | return RusotoError::Service(DescribeAlarmsError::InvalidNextToken( [INFO] [stdout] 5684 | | parsed_error.message, [INFO] [stdout] ... | [INFO] [stdout] 5687 | | _ => {} [INFO] [stdout] 5688 | | } [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] 5681 ~ if &parsed_error.code[..] == "InvalidNextToken" { [INFO] [stdout] 5682 + return RusotoError::Service(DescribeAlarmsError::InvalidNextToken( [INFO] [stdout] 5683 + parsed_error.message, [INFO] [stdout] 5684 + )) [INFO] [stdout] 5685 + } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this match could be replaced by its body itself [INFO] [stdout] --> src/generated.rs:5722:17 [INFO] [stdout] | [INFO] [stdout] 5722 | / match &parsed_error.code[..] { [INFO] [stdout] 5723 | | _ => {} [INFO] [stdout] 5724 | | } [INFO] [stdout] | |_________________^ help: consider using the match body instead: `{}` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#match_single_binding [INFO] [stdout] = note: `#[warn(clippy::match_single_binding)]` on by default [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:5827:17 [INFO] [stdout] | [INFO] [stdout] 5827 | / match &parsed_error.code[..] { [INFO] [stdout] 5828 | | "InvalidNextToken" => { [INFO] [stdout] 5829 | | return RusotoError::Service(DescribeInsightRulesError::InvalidNextToken( [INFO] [stdout] 5830 | | parsed_error.message, [INFO] [stdout] ... | [INFO] [stdout] 5833 | | _ => {} [INFO] [stdout] 5834 | | } [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] 5827 ~ if &parsed_error.code[..] == "InvalidNextToken" { [INFO] [stdout] 5828 + return RusotoError::Service(DescribeInsightRulesError::InvalidNextToken( [INFO] [stdout] 5829 + parsed_error.message, [INFO] [stdout] 5830 + )) [INFO] [stdout] 5831 + } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this match could be replaced by its body itself [INFO] [stdout] --> src/generated.rs:5868:17 [INFO] [stdout] | [INFO] [stdout] 5868 | / match &parsed_error.code[..] { [INFO] [stdout] 5869 | | _ => {} [INFO] [stdout] 5870 | | } [INFO] [stdout] | |_________________^ help: consider using the match body instead: `{}` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#match_single_binding [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this match could be replaced by its body itself [INFO] [stdout] --> src/generated.rs:5956:17 [INFO] [stdout] | [INFO] [stdout] 5956 | / match &parsed_error.code[..] { [INFO] [stdout] 5957 | | _ => {} [INFO] [stdout] 5958 | | } [INFO] [stdout] | |_________________^ help: consider using the match body instead: `{}` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#match_single_binding [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:6177:17 [INFO] [stdout] | [INFO] [stdout] 6177 | / match &parsed_error.code[..] { [INFO] [stdout] 6178 | | "InvalidNextToken" => { [INFO] [stdout] 6179 | | return RusotoError::Service(GetMetricDataError::InvalidNextToken( [INFO] [stdout] 6180 | | parsed_error.message, [INFO] [stdout] ... | [INFO] [stdout] 6183 | | _ => {} [INFO] [stdout] 6184 | | } [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] 6177 ~ if &parsed_error.code[..] == "InvalidNextToken" { [INFO] [stdout] 6178 + return RusotoError::Service(GetMetricDataError::InvalidNextToken( [INFO] [stdout] 6179 + parsed_error.message, [INFO] [stdout] 6180 + )) [INFO] [stdout] 6181 + } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this match could be replaced by its body itself [INFO] [stdout] --> src/generated.rs:6368:17 [INFO] [stdout] | [INFO] [stdout] 6368 | / match &parsed_error.code[..] { [INFO] [stdout] 6369 | | _ => {} [INFO] [stdout] 6370 | | } [INFO] [stdout] | |_________________^ help: consider using the match body instead: `{}` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#match_single_binding [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:6705:17 [INFO] [stdout] | [INFO] [stdout] 6705 | / match &parsed_error.code[..] { [INFO] [stdout] 6706 | | "LimitExceeded" => { [INFO] [stdout] 6707 | | return RusotoError::Service(PutCompositeAlarmError::LimitExceededFault( [INFO] [stdout] 6708 | | parsed_error.message, [INFO] [stdout] ... | [INFO] [stdout] 6711 | | _ => {} [INFO] [stdout] 6712 | | } [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] 6705 ~ if &parsed_error.code[..] == "LimitExceeded" { [INFO] [stdout] 6706 + return RusotoError::Service(PutCompositeAlarmError::LimitExceededFault( [INFO] [stdout] 6707 + parsed_error.message, [INFO] [stdout] 6708 + )) [INFO] [stdout] 6709 + } [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:6861:17 [INFO] [stdout] | [INFO] [stdout] 6861 | / match &parsed_error.code[..] { [INFO] [stdout] 6862 | | "LimitExceeded" => { [INFO] [stdout] 6863 | | return RusotoError::Service(PutMetricAlarmError::LimitExceededFault( [INFO] [stdout] 6864 | | parsed_error.message, [INFO] [stdout] ... | [INFO] [stdout] 6867 | | _ => {} [INFO] [stdout] 6868 | | } [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] 6861 ~ if &parsed_error.code[..] == "LimitExceeded" { [INFO] [stdout] 6862 + return RusotoError::Service(PutMetricAlarmError::LimitExceededFault( [INFO] [stdout] 6863 + parsed_error.message, [INFO] [stdout] 6864 + )) [INFO] [stdout] 6865 + } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this boolean expression can be simplified [INFO] [stdout] --> src/generated.rs:8600:17 [INFO] [stdout] | [INFO] [stdout] 8600 | 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 19.59s [INFO] running `Command { std: "docker" "inspect" "df8fcd30cdff6ab3bcd81be3834e6be05726d9dd4534ad7c60cd3c22d18b017a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "df8fcd30cdff6ab3bcd81be3834e6be05726d9dd4534ad7c60cd3c22d18b017a", kill_on_drop: false }` [INFO] [stdout] df8fcd30cdff6ab3bcd81be3834e6be05726d9dd4534ad7c60cd3c22d18b017a