[INFO] fetching crate mz_rusoto_cloudwatch 0.46.0... [INFO] linting mz_rusoto_cloudwatch-0.46.0 against nightly for clippy-nonminimal_bool-denied [INFO] extracting crate mz_rusoto_cloudwatch 0.46.0 into /workspace/builds/worker-4-tc1/source [INFO] started tweaking crates.io crate mz_rusoto_cloudwatch 0.46.0 [INFO] finished tweaking crates.io crate mz_rusoto_cloudwatch 0.46.0 [INFO] tweaked toml for crates.io crate mz_rusoto_cloudwatch 0.46.0 written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate mz_rusoto_cloudwatch 0.46.0 on toolchain nightly [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+nightly" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+nightly" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 246 packages to latest compatible versions [INFO] [stderr] Adding bytes v0.5.6 (available: v1.11.1) [INFO] [stderr] Adding serde_urlencoded v0.6.1 (available: v0.7.1) [INFO] [stderr] Adding subtle v2.4.1 (available: v2.6.1) [INFO] [stderr] Adding tokio v0.2.25 (available: v1.50.0) [INFO] [stderr] Adding xml-rs v0.8.28 (available: v1.0.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+nightly" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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] 5ce8bbd02d1b81b4c3b4103bd0d7e52098458059be32d6ddd2a9c111fed3e144 [INFO] running `Command { std: "docker" "start" "-a" "5ce8bbd02d1b81b4c3b4103bd0d7e52098458059be32d6ddd2a9c111fed3e144", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5ce8bbd02d1b81b4c3b4103bd0d7e52098458059be32d6ddd2a9c111fed3e144", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5ce8bbd02d1b81b4c3b4103bd0d7e52098458059be32d6ddd2a9c111fed3e144", kill_on_drop: false }` [INFO] [stdout] 5ce8bbd02d1b81b4c3b4103bd0d7e52098458059be32d6ddd2a9c111fed3e144 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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] 0768fa1dda8fce85e3ece005274df4689a145100999262af500d23d706b9e7f6 [INFO] running `Command { std: "docker" "start" "-a" "0768fa1dda8fce85e3ece005274df4689a145100999262af500d23d706b9e7f6", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.183 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Checking bytes v0.5.6 [INFO] [stderr] Compiling generic-array v0.14.9 [INFO] [stderr] Checking pin-project-lite v0.1.12 [INFO] [stderr] Compiling standback v0.2.17 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling syn v2.0.117 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling openssl-sys v0.9.112 [INFO] [stderr] Checking tracing v0.1.44 [INFO] [stderr] Compiling proc-macro-hack v0.5.20+deprecated [INFO] [stderr] Checking hashbrown v0.12.3 [INFO] [stderr] Compiling memchr v2.8.0 [INFO] [stderr] Checking itoa v0.4.8 [INFO] [stderr] Checking aho-corasick v1.1.4 [INFO] [stderr] Checking httpdate v0.3.2 [INFO] [stderr] Compiling const_fn v0.4.12 [INFO] [stderr] Compiling time v0.2.27 [INFO] [stderr] Checking subtle v2.4.1 [INFO] [stderr] Checking shlex v0.1.1 [INFO] [stderr] Checking md5 v0.7.0 [INFO] [stderr] Checking http-body v0.3.1 [INFO] [stderr] Checking xml-rs v0.8.28 [INFO] [stderr] Checking dtoa v0.4.8 [INFO] [stderr] Checking digest v0.9.0 [INFO] [stderr] Checking crypto-mac v0.10.1 [INFO] [stderr] Checking block-buffer v0.9.0 [INFO] [stderr] Compiling openssl v0.10.76 [INFO] [stderr] Compiling native-tls v0.2.18 [INFO] [stderr] Checking sha2 v0.9.9 [INFO] [stderr] Checking hmac v0.10.1 [INFO] [stderr] Compiling pest v2.8.6 [INFO] [stderr] Checking regex-automata v0.4.14 [INFO] [stderr] Compiling semver-parser v0.10.3 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Checking net2 v0.2.39 [INFO] [stderr] Checking errno v0.3.14 [INFO] [stderr] Checking socket2 v0.3.19 [INFO] [stderr] Checking dirs-sys-next v0.1.2 [INFO] [stderr] Checking signal-hook-registry v1.4.8 [INFO] [stderr] Checking dirs-next v2.0.0 [INFO] [stderr] Checking mio v0.6.23 [INFO] [stderr] Compiling semver v0.11.0 [INFO] [stderr] Compiling rustc_version v0.3.3 [INFO] [stderr] Compiling mz_rusoto_core v0.46.0 [INFO] [stderr] Checking mio-uds v0.6.8 [INFO] [stderr] Checking regex v1.12.3 [INFO] [stderr] Compiling tokio-macros v0.2.6 [INFO] [stderr] Compiling time-macros-impl v0.1.2 [INFO] [stderr] Checking tokio v0.2.25 [INFO] [stderr] Checking time-macros v0.1.1 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.1 [INFO] [stderr] Compiling zerovec-derive v0.11.2 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling futures-macro v0.3.32 [INFO] [stderr] Compiling pin-project-internal v1.1.11 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling async-trait v0.1.89 [INFO] [stderr] Checking futures-util v0.3.32 [INFO] [stderr] Checking zerofrom v0.1.6 [INFO] [stderr] Checking yoke v0.8.1 [INFO] [stderr] Checking zerotrie v0.2.3 [INFO] [stderr] Checking pin-project v1.1.11 [INFO] [stderr] Checking zerovec v0.11.5 [INFO] [stderr] Checking tracing-futures v0.2.5 [INFO] [stderr] Checking tokio-util v0.3.1 [INFO] [stderr] Checking tinystr v0.8.2 [INFO] [stderr] Checking potential_utf v0.1.4 [INFO] [stderr] Checking icu_collections v2.1.1 [INFO] [stderr] Checking icu_locale_core v2.1.1 [INFO] [stderr] Checking serde v1.0.228 [INFO] [stderr] Checking tokio-tls v0.3.1 [INFO] [stderr] Checking icu_provider v2.1.1 [INFO] [stderr] Checking icu_normalizer v2.1.1 [INFO] [stderr] Checking icu_properties v2.1.2 [INFO] [stderr] Checking chrono v0.4.44 [INFO] [stderr] Checking h2 v0.2.7 [INFO] [stderr] Checking futures-executor v0.3.32 [INFO] [stderr] Checking futures v0.3.32 [INFO] [stderr] Checking idna_adapter v1.2.1 [INFO] [stderr] Checking idna v1.1.0 [INFO] [stderr] Checking url v2.5.8 [INFO] [stderr] Checking serde_urlencoded v0.6.1 [INFO] [stderr] Checking hyper v0.13.10 [INFO] [stderr] Checking mz_rusoto_credential v0.46.0 [INFO] [stderr] Checking hyper-tls v0.4.3 [INFO] [stderr] Checking mz_rusoto_signature v0.46.0 [INFO] [stderr] Checking mz_rusoto_mock v0.46.0 [INFO] [stderr] Checking mz_rusoto_cloudwatch v0.46.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: this import is redundant [INFO] [stdout] --> src/generated.rs:34:1 [INFO] [stdout] | [INFO] [stdout] 34 | use serde_urlencoded; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: remove it entirely [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#single_component_path_imports [INFO] [stdout] = note: `#[warn(clippy::single_component_path_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `custom::*` [INFO] [stdout] --> src/lib.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 21 | pub use custom::*; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this import is redundant [INFO] [stdout] --> src/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:328:12 [INFO] [stdout] | [INFO] [stdout] 328 | 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:329:13 [INFO] [stdout] | [INFO] [stdout] 329 | 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:340:68 [INFO] [stdout] | [INFO] [stdout] 340 | 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:367:56 [INFO] [stdout] | [INFO] [stdout] 367 | 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] 367 - fn serialize(params: &mut Params, name: &str, obj: &Vec) { [INFO] [stdout] 367 + 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:576:56 [INFO] [stdout] | [INFO] [stdout] 576 | 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] 576 - fn serialize(params: &mut Params, name: &str, obj: &Vec) { [INFO] [stdout] 576 + 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:579:30 [INFO] [stdout] | [INFO] [stdout] 579 | 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:681:56 [INFO] [stdout] | [INFO] [stdout] 681 | 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] 681 - fn serialize(params: &mut Params, name: &str, obj: &Vec) { [INFO] [stdout] 681 + 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:684:30 [INFO] [stdout] | [INFO] [stdout] 684 | 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:909:12 [INFO] [stdout] | [INFO] [stdout] 909 | 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:910:13 [INFO] [stdout] | [INFO] [stdout] 910 | 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:939:12 [INFO] [stdout] | [INFO] [stdout] 939 | 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:940:13 [INFO] [stdout] | [INFO] [stdout] 940 | 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:989:12 [INFO] [stdout] | [INFO] [stdout] 989 | 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:990:13 [INFO] [stdout] | [INFO] [stdout] 990 | 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:1034:12 [INFO] [stdout] | [INFO] [stdout] 1034 | 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:1035:13 [INFO] [stdout] | [INFO] [stdout] 1035 | 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:1104:12 [INFO] [stdout] | [INFO] [stdout] 1104 | 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:1105:13 [INFO] [stdout] | [INFO] [stdout] 1105 | 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:1109:63 [INFO] [stdout] | [INFO] [stdout] 1109 | 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:1119:61 [INFO] [stdout] | [INFO] [stdout] 1119 | 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:1122:69 [INFO] [stdout] | [INFO] [stdout] 1122 | 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:1125:64 [INFO] [stdout] | [INFO] [stdout] 1125 | 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:1128:63 [INFO] [stdout] | [INFO] [stdout] 1128 | 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:1131:60 [INFO] [stdout] | [INFO] [stdout] 1131 | 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:1134:63 [INFO] [stdout] | [INFO] [stdout] 1134 | 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:1201:12 [INFO] [stdout] | [INFO] [stdout] 1201 | 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:1202:13 [INFO] [stdout] | [INFO] [stdout] 1202 | 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:1213:71 [INFO] [stdout] | [INFO] [stdout] 1213 | 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:1218:60 [INFO] [stdout] | [INFO] [stdout] 1218 | 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:1221:63 [INFO] [stdout] | [INFO] [stdout] 1221 | 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:1224:58 [INFO] [stdout] | [INFO] [stdout] 1224 | 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:1289:12 [INFO] [stdout] | [INFO] [stdout] 1289 | 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:1290:13 [INFO] [stdout] | [INFO] [stdout] 1290 | 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:1294:66 [INFO] [stdout] | [INFO] [stdout] 1294 | 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:1297:69 [INFO] [stdout] | [INFO] [stdout] 1297 | 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:1316:17 [INFO] [stdout] | [INFO] [stdout] 1316 | &field_value, [INFO] [stdout] | ^^^^^^^^^^^^ help: change this to: `field_value` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the borrowed expression implements the required traits [INFO] [stdout] --> src/generated.rs:1320:64 [INFO] [stdout] | [INFO] [stdout] 1320 | 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:1323:63 [INFO] [stdout] | [INFO] [stdout] 1323 | 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:1326:72 [INFO] [stdout] | [INFO] [stdout] 1326 | 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:1329:64 [INFO] [stdout] | [INFO] [stdout] 1329 | 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:1394:12 [INFO] [stdout] | [INFO] [stdout] 1394 | 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:1395:13 [INFO] [stdout] | [INFO] [stdout] 1395 | 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:1406:64 [INFO] [stdout] | [INFO] [stdout] 1406 | 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:1409:64 [INFO] [stdout] | [INFO] [stdout] 1409 | 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:1412:63 [INFO] [stdout] | [INFO] [stdout] 1412 | 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:1415:63 [INFO] [stdout] | [INFO] [stdout] 1415 | 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:1472:12 [INFO] [stdout] | [INFO] [stdout] 1472 | 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:1473:13 [INFO] [stdout] | [INFO] [stdout] 1473 | 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:1477:64 [INFO] [stdout] | [INFO] [stdout] 1477 | 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:1480:63 [INFO] [stdout] | [INFO] [stdout] 1480 | 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:1562:12 [INFO] [stdout] | [INFO] [stdout] 1562 | 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:1563:13 [INFO] [stdout] | [INFO] [stdout] 1563 | 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:1586:12 [INFO] [stdout] | [INFO] [stdout] 1586 | 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:1587:13 [INFO] [stdout] | [INFO] [stdout] 1587 | 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:1592:59 [INFO] [stdout] | [INFO] [stdout] 1592 | 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:1600:56 [INFO] [stdout] | [INFO] [stdout] 1600 | 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] 1600 - fn serialize(params: &mut Params, name: &str, obj: &Vec) { [INFO] [stdout] 1600 + 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:1646:56 [INFO] [stdout] | [INFO] [stdout] 1646 | 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] 1646 - fn serialize(params: &mut Params, name: &str, obj: &Vec) { [INFO] [stdout] 1646 + 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:1666:12 [INFO] [stdout] | [INFO] [stdout] 1666 | 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:1667:13 [INFO] [stdout] | [INFO] [stdout] 1667 | 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:1690:12 [INFO] [stdout] | [INFO] [stdout] 1690 | 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:1691:13 [INFO] [stdout] | [INFO] [stdout] 1691 | 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:1746:12 [INFO] [stdout] | [INFO] [stdout] 1746 | 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:1747:13 [INFO] [stdout] | [INFO] [stdout] 1747 | 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:1770:12 [INFO] [stdout] | [INFO] [stdout] 1770 | 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:1771:13 [INFO] [stdout] | [INFO] [stdout] 1771 | 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:1850:56 [INFO] [stdout] | [INFO] [stdout] 1850 | 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] 1850 - fn serialize(params: &mut Params, name: &str, obj: &Vec) { [INFO] [stdout] 1850 + 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:1853:30 [INFO] [stdout] | [INFO] [stdout] 1853 | 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:1894:12 [INFO] [stdout] | [INFO] [stdout] 1894 | if prefix != "" { [INFO] [stdout] | ^^^^^^^^^^^^ help: using `!is_empty` is clearer and more explicit: `!prefix.is_empty()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#comparison_to_empty [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calling `push_str()` using a single-character string literal [INFO] [stdout] --> src/generated.rs:1895:13 [INFO] [stdout] | [INFO] [stdout] 1895 | prefix.push_str("."); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: consider using `push` with a character literal: `prefix.push('.')` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#single_char_add_str [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: comparison to empty slice [INFO] [stdout] --> src/generated.rs:1974:12 [INFO] [stdout] | [INFO] [stdout] 1974 | 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:1975:13 [INFO] [stdout] | [INFO] [stdout] 1975 | 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:1982:17 [INFO] [stdout] | [INFO] [stdout] 1982 | &field_value, [INFO] [stdout] | ^^^^^^^^^^^^ help: change this to: `field_value` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the borrowed expression implements the required traits [INFO] [stdout] --> src/generated.rs:1993:61 [INFO] [stdout] | [INFO] [stdout] 1993 | 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:1995:56 [INFO] [stdout] | [INFO] [stdout] 1995 | 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: 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: comparison to empty slice [INFO] [stdout] --> src/generated.rs:2105:12 [INFO] [stdout] | [INFO] [stdout] 2105 | 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:2106:13 [INFO] [stdout] | [INFO] [stdout] 2106 | 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:2111:67 [INFO] [stdout] | [INFO] [stdout] 2111 | 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:2119:63 [INFO] [stdout] | [INFO] [stdout] 2119 | 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:2122:60 [INFO] [stdout] | [INFO] [stdout] 2122 | 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: 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:2196:12 [INFO] [stdout] | [INFO] [stdout] 2196 | 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:2197:13 [INFO] [stdout] | [INFO] [stdout] 2197 | 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:2217:56 [INFO] [stdout] | [INFO] [stdout] 2217 | 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:2227:58 [INFO] [stdout] | [INFO] [stdout] 2227 | 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:2283:12 [INFO] [stdout] | [INFO] [stdout] 2283 | 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:2284:13 [INFO] [stdout] | [INFO] [stdout] 2284 | 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:2289:66 [INFO] [stdout] | [INFO] [stdout] 2289 | 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: comparison to empty slice [INFO] [stdout] --> src/generated.rs:328:12 [INFO] [stdout] | [INFO] [stdout] 328 | 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:329:13 [INFO] [stdout] | [INFO] [stdout] 329 | 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:340:68 [INFO] [stdout] | [INFO] [stdout] 340 | 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:367:56 [INFO] [stdout] | [INFO] [stdout] 367 | 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] 367 - fn serialize(params: &mut Params, name: &str, obj: &Vec) { [INFO] [stdout] 367 + 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:576:56 [INFO] [stdout] | [INFO] [stdout] 576 | 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] 576 - fn serialize(params: &mut Params, name: &str, obj: &Vec) { [INFO] [stdout] 576 + fn serialize(params: &mut Params, name: &str, obj: &[f64]) { [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:2703:56 [INFO] [stdout] | [INFO] [stdout] 2703 | 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] 2703 - fn serialize(params: &mut Params, name: &str, obj: &Vec) { [INFO] [stdout] 2703 + 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:2706:30 [INFO] [stdout] | [INFO] [stdout] 2706 | 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:2723:56 [INFO] [stdout] | [INFO] [stdout] 2723 | 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] 2723 - fn serialize(params: &mut Params, name: &str, obj: &Vec) { [INFO] [stdout] 2723 + 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:579:30 [INFO] [stdout] | [INFO] [stdout] 579 | params.put(&key, &obj); [INFO] [stdout] | ^^^^ help: change this to: `obj` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the borrowed expression implements the required traits [INFO] [stdout] --> src/generated.rs:2726:30 [INFO] [stdout] | [INFO] [stdout] 2726 | 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:681:56 [INFO] [stdout] | [INFO] [stdout] 681 | 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] 681 - fn serialize(params: &mut Params, name: &str, obj: &Vec) { [INFO] [stdout] 681 + fn serialize(params: &mut Params, name: &str, obj: &[String]) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: comparison to empty slice [INFO] [stdout] --> src/generated.rs:2803:12 [INFO] [stdout] | [INFO] [stdout] 2803 | 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:2804:13 [INFO] [stdout] | [INFO] [stdout] 2804 | 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:684:30 [INFO] [stdout] | [INFO] [stdout] 684 | params.put(&key, &obj); [INFO] [stdout] | ^^^^ help: change this to: `obj` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the borrowed expression implements the required traits [INFO] [stdout] --> src/generated.rs:2810:17 [INFO] [stdout] | [INFO] [stdout] 2810 | &field_value, [INFO] [stdout] | ^^^^^^^^^^^^ help: change this to: `field_value` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the borrowed expression implements the required traits [INFO] [stdout] --> src/generated.rs:2814:63 [INFO] [stdout] | [INFO] [stdout] 2814 | params.put(&format!("{}{}", prefix, "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:2870:12 [INFO] [stdout] | [INFO] [stdout] 2870 | 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:2871:13 [INFO] [stdout] | [INFO] [stdout] 2871 | 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:2882:64 [INFO] [stdout] | [INFO] [stdout] 2882 | 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:2885:63 [INFO] [stdout] | [INFO] [stdout] 2885 | 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:2888:63 [INFO] [stdout] | [INFO] [stdout] 2888 | 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:909:12 [INFO] [stdout] | [INFO] [stdout] 909 | 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:910:13 [INFO] [stdout] | [INFO] [stdout] 910 | 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:2938:12 [INFO] [stdout] | [INFO] [stdout] 2938 | 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:2939:13 [INFO] [stdout] | [INFO] [stdout] 2939 | 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:939:12 [INFO] [stdout] | [INFO] [stdout] 939 | 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:940:13 [INFO] [stdout] | [INFO] [stdout] 940 | 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:989:12 [INFO] [stdout] | [INFO] [stdout] 989 | 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:990:13 [INFO] [stdout] | [INFO] [stdout] 990 | 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:3078:12 [INFO] [stdout] | [INFO] [stdout] 3078 | 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:3079:13 [INFO] [stdout] | [INFO] [stdout] 3079 | 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:1034:12 [INFO] [stdout] | [INFO] [stdout] 1034 | 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:1035:13 [INFO] [stdout] | [INFO] [stdout] 1035 | 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:3090:64 [INFO] [stdout] | [INFO] [stdout] 3090 | 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:3093:63 [INFO] [stdout] | [INFO] [stdout] 3093 | 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: comparison to empty slice [INFO] [stdout] --> src/generated.rs:1104:12 [INFO] [stdout] | [INFO] [stdout] 1104 | 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:1105:13 [INFO] [stdout] | [INFO] [stdout] 1105 | 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:1109:63 [INFO] [stdout] | [INFO] [stdout] 1109 | 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:1119:61 [INFO] [stdout] | [INFO] [stdout] 1119 | 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:1122:69 [INFO] [stdout] | [INFO] [stdout] 1122 | 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:1125:64 [INFO] [stdout] | [INFO] [stdout] 1125 | 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:1128:63 [INFO] [stdout] | [INFO] [stdout] 1128 | 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:1131:60 [INFO] [stdout] | [INFO] [stdout] 1131 | 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:1134:63 [INFO] [stdout] | [INFO] [stdout] 1134 | 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:1201:12 [INFO] [stdout] | [INFO] [stdout] 1201 | if prefix != "" { [INFO] [stdout] | ^^^^^^^^^^^^ help: using `!is_empty` is clearer and more explicit: `!prefix.is_empty()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#comparison_to_empty [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: writing `&Vec` instead of `&[_]` involves a new object where a slice will do [INFO] [stdout] --> src/generated.rs:3328:56 [INFO] [stdout] | [INFO] [stdout] 3328 | 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] 3328 - fn serialize(params: &mut Params, name: &str, obj: &Vec) { [INFO] [stdout] 3328 + fn serialize(params: &mut Params, name: &str, obj: &[MetricDatum]) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calling `push_str()` using a single-character string literal [INFO] [stdout] --> src/generated.rs:1202:13 [INFO] [stdout] | [INFO] [stdout] 1202 | 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:1213:71 [INFO] [stdout] | [INFO] [stdout] 1213 | 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: writing `&Vec` instead of `&[_]` involves a new object where a slice will do [INFO] [stdout] --> src/generated.rs:3358:56 [INFO] [stdout] | [INFO] [stdout] 3358 | 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] 3358 - fn serialize(params: &mut Params, name: &str, obj: &Vec) { [INFO] [stdout] 3358 + fn serialize(params: &mut Params, name: &str, obj: &[MetricDataQuery]) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the borrowed expression implements the required traits [INFO] [stdout] --> src/generated.rs:1218:60 [INFO] [stdout] | [INFO] [stdout] 1218 | 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:1221:63 [INFO] [stdout] | [INFO] [stdout] 1221 | 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:1224:58 [INFO] [stdout] | [INFO] [stdout] 1224 | 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:3430:12 [INFO] [stdout] | [INFO] [stdout] 3430 | 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:3431:13 [INFO] [stdout] | [INFO] [stdout] 3431 | 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:3435:64 [INFO] [stdout] | [INFO] [stdout] 3435 | 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: comparison to empty slice [INFO] [stdout] --> src/generated.rs:1289:12 [INFO] [stdout] | [INFO] [stdout] 1289 | if prefix != "" { [INFO] [stdout] | ^^^^^^^^^^^^ help: using `!is_empty` is clearer and more explicit: `!prefix.is_empty()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#comparison_to_empty [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the borrowed expression implements the required traits [INFO] [stdout] --> src/generated.rs:3439:59 [INFO] [stdout] | [INFO] [stdout] 3439 | 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:3449:60 [INFO] [stdout] | [INFO] [stdout] 3449 | 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: calling `push_str()` using a single-character string literal [INFO] [stdout] --> src/generated.rs:1290:13 [INFO] [stdout] | [INFO] [stdout] 1290 | 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:3452:64 [INFO] [stdout] | [INFO] [stdout] 3452 | 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: the borrowed expression implements the required traits [INFO] [stdout] --> src/generated.rs:1294:66 [INFO] [stdout] | [INFO] [stdout] 1294 | 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:1297:69 [INFO] [stdout] | [INFO] [stdout] 1297 | 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:1316:17 [INFO] [stdout] | [INFO] [stdout] 1316 | &field_value, [INFO] [stdout] | ^^^^^^^^^^^^ help: change this to: `field_value` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the borrowed expression implements the required traits [INFO] [stdout] --> src/generated.rs:1320:64 [INFO] [stdout] | [INFO] [stdout] 1320 | 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:1323:63 [INFO] [stdout] | [INFO] [stdout] 1323 | 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:1326:72 [INFO] [stdout] | [INFO] [stdout] 1326 | 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:1329:64 [INFO] [stdout] | [INFO] [stdout] 1329 | 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:3581:12 [INFO] [stdout] | [INFO] [stdout] 3581 | 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:3582:13 [INFO] [stdout] | [INFO] [stdout] 3582 | 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:1394:12 [INFO] [stdout] | [INFO] [stdout] 1394 | 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:1395:13 [INFO] [stdout] | [INFO] [stdout] 1395 | 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:1406:64 [INFO] [stdout] | [INFO] [stdout] 1406 | 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:3604:71 [INFO] [stdout] | [INFO] [stdout] 3604 | 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:1409:64 [INFO] [stdout] | [INFO] [stdout] 1409 | 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:3607:63 [INFO] [stdout] | [INFO] [stdout] 3607 | 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:1412:63 [INFO] [stdout] | [INFO] [stdout] 1412 | 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:3610:58 [INFO] [stdout] | [INFO] [stdout] 3610 | 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:1415:63 [INFO] [stdout] | [INFO] [stdout] 1415 | 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:3613:59 [INFO] [stdout] | [INFO] [stdout] 3613 | 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:1472:12 [INFO] [stdout] | [INFO] [stdout] 1472 | 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:1473:13 [INFO] [stdout] | [INFO] [stdout] 1473 | 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:1477:64 [INFO] [stdout] | [INFO] [stdout] 1477 | 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:1480:63 [INFO] [stdout] | [INFO] [stdout] 1480 | 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:3702:12 [INFO] [stdout] | [INFO] [stdout] 3702 | 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:3703:13 [INFO] [stdout] | [INFO] [stdout] 3703 | 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:3707:56 [INFO] [stdout] | [INFO] [stdout] 3707 | 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:3710:58 [INFO] [stdout] | [INFO] [stdout] 3710 | 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:1562:12 [INFO] [stdout] | [INFO] [stdout] 1562 | 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:1563:13 [INFO] [stdout] | [INFO] [stdout] 1563 | 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:1586:12 [INFO] [stdout] | [INFO] [stdout] 1586 | 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:1587:13 [INFO] [stdout] | [INFO] [stdout] 1587 | 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:1592:59 [INFO] [stdout] | [INFO] [stdout] 1592 | 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:1600:56 [INFO] [stdout] | [INFO] [stdout] 1600 | 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] 1600 - fn serialize(params: &mut Params, name: &str, obj: &Vec) { [INFO] [stdout] 1600 + fn serialize(params: &mut Params, name: &str, obj: &[DimensionFilter]) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: comparison to empty slice [INFO] [stdout] --> src/generated.rs:3840:12 [INFO] [stdout] | [INFO] [stdout] 3840 | if prefix != "" { [INFO] [stdout] | ^^^^^^^^^^^^ help: using `!is_empty` is clearer and more explicit: `!prefix.is_empty()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#comparison_to_empty [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: writing `&Vec` instead of `&[_]` involves a new object where a slice will do [INFO] [stdout] --> src/generated.rs:1646:56 [INFO] [stdout] | [INFO] [stdout] 1646 | 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] 1646 - fn serialize(params: &mut Params, name: &str, obj: &Vec) { [INFO] [stdout] 1646 + fn serialize(params: &mut Params, name: &str, obj: &[Dimension]) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calling `push_str()` using a single-character string literal [INFO] [stdout] --> src/generated.rs:3841:13 [INFO] [stdout] | [INFO] [stdout] 3841 | 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:1666:12 [INFO] [stdout] | [INFO] [stdout] 1666 | 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:1667:13 [INFO] [stdout] | [INFO] [stdout] 1667 | 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:1690:12 [INFO] [stdout] | [INFO] [stdout] 1690 | 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:1691:13 [INFO] [stdout] | [INFO] [stdout] 1691 | 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:3911:12 [INFO] [stdout] | [INFO] [stdout] 3911 | if prefix != "" { [INFO] [stdout] | ^^^^^^^^^^^^ help: using `!is_empty` is clearer and more explicit: `!prefix.is_empty()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#comparison_to_empty [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: comparison to empty slice [INFO] [stdout] --> src/generated.rs:1746:12 [INFO] [stdout] | [INFO] [stdout] 1746 | 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:3912:13 [INFO] [stdout] | [INFO] [stdout] 3912 | prefix.push_str("."); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: consider using `push` with a character literal: `prefix.push('.')` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#single_char_add_str [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calling `push_str()` using a single-character string literal [INFO] [stdout] --> src/generated.rs:1747:13 [INFO] [stdout] | [INFO] [stdout] 1747 | 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:3916:68 [INFO] [stdout] | [INFO] [stdout] 3916 | 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: comparison to empty slice [INFO] [stdout] --> src/generated.rs:1770:12 [INFO] [stdout] | [INFO] [stdout] 1770 | 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:1771:13 [INFO] [stdout] | [INFO] [stdout] 1771 | 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:3926:70 [INFO] [stdout] | [INFO] [stdout] 3926 | 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: writing `&Vec` instead of `&[_]` involves a new object where a slice will do [INFO] [stdout] --> src/generated.rs:1850:56 [INFO] [stdout] | [INFO] [stdout] 1850 | 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] 1850 - fn serialize(params: &mut Params, name: &str, obj: &Vec) { [INFO] [stdout] 1850 + 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:1853:30 [INFO] [stdout] | [INFO] [stdout] 1853 | 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:3964:12 [INFO] [stdout] | [INFO] [stdout] 3964 | 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:3965:13 [INFO] [stdout] | [INFO] [stdout] 3965 | 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:1894:12 [INFO] [stdout] | [INFO] [stdout] 1894 | if prefix != "" { [INFO] [stdout] | ^^^^^^^^^^^^ help: using `!is_empty` is clearer and more explicit: `!prefix.is_empty()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#comparison_to_empty [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calling `push_str()` using a single-character string literal [INFO] [stdout] --> src/generated.rs:1895:13 [INFO] [stdout] | [INFO] [stdout] 1895 | prefix.push_str("."); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: consider using `push` with a character literal: `prefix.push('.')` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#single_char_add_str [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: comparison to empty slice [INFO] [stdout] --> src/generated.rs:4028:12 [INFO] [stdout] | [INFO] [stdout] 4028 | 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:4029:13 [INFO] [stdout] | [INFO] [stdout] 4029 | 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:4038:63 [INFO] [stdout] | [INFO] [stdout] 4038 | 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:1974:12 [INFO] [stdout] | [INFO] [stdout] 1974 | 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:1975:13 [INFO] [stdout] | [INFO] [stdout] 1975 | 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:1982:17 [INFO] [stdout] | [INFO] [stdout] 1982 | &field_value, [INFO] [stdout] | ^^^^^^^^^^^^ help: change this to: `field_value` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the borrowed expression implements the required traits [INFO] [stdout] --> src/generated.rs:1993:61 [INFO] [stdout] | [INFO] [stdout] 1993 | 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:1995:56 [INFO] [stdout] | [INFO] [stdout] 1995 | 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:4121:12 [INFO] [stdout] | [INFO] [stdout] 4121 | 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:4122:13 [INFO] [stdout] | [INFO] [stdout] 4122 | 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:4126:68 [INFO] [stdout] | [INFO] [stdout] 4126 | 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:4136:70 [INFO] [stdout] | [INFO] [stdout] 4136 | 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:2105:12 [INFO] [stdout] | [INFO] [stdout] 2105 | 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:2106:13 [INFO] [stdout] | [INFO] [stdout] 2106 | 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:4144:71 [INFO] [stdout] | [INFO] [stdout] 4144 | 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:2111:67 [INFO] [stdout] | [INFO] [stdout] 2111 | 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:4156:17 [INFO] [stdout] | [INFO] [stdout] 4156 | &field_value, [INFO] [stdout] | ^^^^^^^^^^^^ help: change this to: `field_value` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the borrowed expression implements the required traits [INFO] [stdout] --> src/generated.rs:4161:13 [INFO] [stdout] | [INFO] [stdout] 4161 | &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:2119:63 [INFO] [stdout] | [INFO] [stdout] 2119 | 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:4164:71 [INFO] [stdout] | [INFO] [stdout] 4164 | 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:2122:60 [INFO] [stdout] | [INFO] [stdout] 2122 | 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:4174:64 [INFO] [stdout] | [INFO] [stdout] 4174 | 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:4184:63 [INFO] [stdout] | [INFO] [stdout] 4184 | 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:4194:60 [INFO] [stdout] | [INFO] [stdout] 4194 | 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:4197:63 [INFO] [stdout] | [INFO] [stdout] 4197 | 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:4203:63 [INFO] [stdout] | [INFO] [stdout] 4203 | 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:4206:71 [INFO] [stdout] | [INFO] [stdout] 4206 | 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:4209:70 [INFO] [stdout] | [INFO] [stdout] 4209 | 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:4212:58 [INFO] [stdout] | [INFO] [stdout] 4212 | 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:2196:12 [INFO] [stdout] | [INFO] [stdout] 2196 | 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:2197:13 [INFO] [stdout] | [INFO] [stdout] 2197 | 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:4231:12 [INFO] [stdout] | [INFO] [stdout] 4231 | 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:4232:13 [INFO] [stdout] | [INFO] [stdout] 4232 | 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:2217:56 [INFO] [stdout] | [INFO] [stdout] 2217 | 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:4280:12 [INFO] [stdout] | [INFO] [stdout] 4280 | 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:4281:13 [INFO] [stdout] | [INFO] [stdout] 4281 | 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:2227:58 [INFO] [stdout] | [INFO] [stdout] 2227 | 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: writing `&Vec` instead of `&[_]` involves a new object where a slice will do [INFO] [stdout] --> src/generated.rs:4311:56 [INFO] [stdout] | [INFO] [stdout] 4311 | 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] 4311 - fn serialize(params: &mut Params, name: &str, obj: &Vec) { [INFO] [stdout] 4311 + 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:4314:30 [INFO] [stdout] | [INFO] [stdout] 4314 | 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:2283:12 [INFO] [stdout] | [INFO] [stdout] 2283 | 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:2284:13 [INFO] [stdout] | [INFO] [stdout] 2284 | 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:2289:66 [INFO] [stdout] | [INFO] [stdout] 2289 | 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: comparison to empty slice [INFO] [stdout] --> src/generated.rs:4353:12 [INFO] [stdout] | [INFO] [stdout] 4353 | 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:4354:13 [INFO] [stdout] | [INFO] [stdout] 4354 | 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:4360:69 [INFO] [stdout] | [INFO] [stdout] 4360 | 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:4441:12 [INFO] [stdout] | [INFO] [stdout] 4441 | 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:4442:13 [INFO] [stdout] | [INFO] [stdout] 4442 | 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:4445:57 [INFO] [stdout] | [INFO] [stdout] 4445 | 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:4446:57 [INFO] [stdout] | [INFO] [stdout] 4446 | 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:4447:61 [INFO] [stdout] | [INFO] [stdout] 4447 | 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:4448:53 [INFO] [stdout] | [INFO] [stdout] 4448 | 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:4455:56 [INFO] [stdout] | [INFO] [stdout] 4455 | 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] 4455 - fn serialize(params: &mut Params, name: &str, obj: &Vec) { [INFO] [stdout] 4455 + 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:4458:30 [INFO] [stdout] | [INFO] [stdout] 4458 | 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:4507:12 [INFO] [stdout] | [INFO] [stdout] 4507 | 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:4508:13 [INFO] [stdout] | [INFO] [stdout] 4508 | 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:4528:56 [INFO] [stdout] | [INFO] [stdout] 4528 | 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] 4528 - fn serialize(params: &mut Params, name: &str, obj: &Vec) { [INFO] [stdout] 4528 + 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:4531:30 [INFO] [stdout] | [INFO] [stdout] 4531 | 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:4558:56 [INFO] [stdout] | [INFO] [stdout] 4558 | 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] 4558 - fn serialize(params: &mut Params, name: &str, obj: &Vec) { [INFO] [stdout] 4558 + 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:4580:12 [INFO] [stdout] | [INFO] [stdout] 4580 | 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:4581:13 [INFO] [stdout] | [INFO] [stdout] 4581 | 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:2703:56 [INFO] [stdout] | [INFO] [stdout] 2703 | 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] 2703 - fn serialize(params: &mut Params, name: &str, obj: &Vec) { [INFO] [stdout] 2703 + 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:2706:30 [INFO] [stdout] | [INFO] [stdout] 2706 | 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:2723:56 [INFO] [stdout] | [INFO] [stdout] 2723 | 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] 2723 - fn serialize(params: &mut Params, name: &str, obj: &Vec) { [INFO] [stdout] 2723 + 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:2726:30 [INFO] [stdout] | [INFO] [stdout] 2726 | 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:4674:12 [INFO] [stdout] | [INFO] [stdout] 4674 | 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:4675:13 [INFO] [stdout] | [INFO] [stdout] 4675 | 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:2803:12 [INFO] [stdout] | [INFO] [stdout] 2803 | 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:2804:13 [INFO] [stdout] | [INFO] [stdout] 2804 | 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:2810:17 [INFO] [stdout] | [INFO] [stdout] 2810 | &field_value, [INFO] [stdout] | ^^^^^^^^^^^^ help: change this to: `field_value` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the borrowed expression implements the required traits [INFO] [stdout] --> src/generated.rs:2814:63 [INFO] [stdout] | [INFO] [stdout] 2814 | params.put(&format!("{}{}", prefix, "NextToken"), &field_value); [INFO] [stdout] | ^^^^^^^^^^^^ help: change this to: `field_value` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: writing `&Vec` instead of `&[_]` involves a new object where a slice will do [INFO] [stdout] --> src/generated.rs:4708:56 [INFO] [stdout] | [INFO] [stdout] 4708 | 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] 4708 - fn serialize(params: &mut Params, name: &str, obj: &Vec) { [INFO] [stdout] 4708 + 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:4711:30 [INFO] [stdout] | [INFO] [stdout] 4711 | 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:4730:17 [INFO] [stdout] | [INFO] [stdout] 4730 | / match &parsed_error.code[..] { [INFO] [stdout] 4731 | | "ResourceNotFound" => { [INFO] [stdout] 4732 | | return RusotoError::Service(DeleteAlarmsError::ResourceNotFound( [INFO] [stdout] 4733 | | parsed_error.message, [INFO] [stdout] ... | [INFO] [stdout] 4736 | | _ => {} [INFO] [stdout] 4737 | | } [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] 4730 ~ if &parsed_error.code[..] == "ResourceNotFound" { [INFO] [stdout] 4731 + return RusotoError::Service(DeleteAlarmsError::ResourceNotFound( [INFO] [stdout] 4732 + parsed_error.message, [INFO] [stdout] 4733 + )) [INFO] [stdout] 4734 + } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: comparison to empty slice [INFO] [stdout] --> src/generated.rs:2870:12 [INFO] [stdout] | [INFO] [stdout] 2870 | 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:2871:13 [INFO] [stdout] | [INFO] [stdout] 2871 | 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:2882:64 [INFO] [stdout] | [INFO] [stdout] 2882 | 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:2885:63 [INFO] [stdout] | [INFO] [stdout] 2885 | 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:2888:63 [INFO] [stdout] | [INFO] [stdout] 2888 | 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:2938:12 [INFO] [stdout] | [INFO] [stdout] 2938 | 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:2939:13 [INFO] [stdout] | [INFO] [stdout] 2939 | prefix.push_str("."); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: consider using `push` with a character literal: `prefix.push('.')` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#single_char_add_str [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: you seem to be trying to use `match` for an equality check. Consider using `if` [INFO] [stdout] --> src/generated.rs:4958:17 [INFO] [stdout] | [INFO] [stdout] 4958 | / match &parsed_error.code[..] { [INFO] [stdout] 4959 | | "InvalidNextToken" => { [INFO] [stdout] 4960 | | return RusotoError::Service(DescribeAlarmHistoryError::InvalidNextToken( [INFO] [stdout] 4961 | | parsed_error.message, [INFO] [stdout] ... | [INFO] [stdout] 4964 | | _ => {} [INFO] [stdout] 4965 | | } [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] 4958 ~ if &parsed_error.code[..] == "InvalidNextToken" { [INFO] [stdout] 4959 + return RusotoError::Service(DescribeAlarmHistoryError::InvalidNextToken( [INFO] [stdout] 4960 + parsed_error.message, [INFO] [stdout] 4961 + )) [INFO] [stdout] 4962 + } [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:5002:17 [INFO] [stdout] | [INFO] [stdout] 5002 | / match &parsed_error.code[..] { [INFO] [stdout] 5003 | | "InvalidNextToken" => { [INFO] [stdout] 5004 | | return RusotoError::Service(DescribeAlarmsError::InvalidNextToken( [INFO] [stdout] 5005 | | parsed_error.message, [INFO] [stdout] ... | [INFO] [stdout] 5008 | | _ => {} [INFO] [stdout] 5009 | | } [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] 5002 ~ if &parsed_error.code[..] == "InvalidNextToken" { [INFO] [stdout] 5003 + return RusotoError::Service(DescribeAlarmsError::InvalidNextToken( [INFO] [stdout] 5004 + parsed_error.message, [INFO] [stdout] 5005 + )) [INFO] [stdout] 5006 + } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: comparison to empty slice [INFO] [stdout] --> src/generated.rs:3078:12 [INFO] [stdout] | [INFO] [stdout] 3078 | 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:3079:13 [INFO] [stdout] | [INFO] [stdout] 3079 | 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: this match could be replaced by its body itself [INFO] [stdout] --> src/generated.rs:5043:17 [INFO] [stdout] | [INFO] [stdout] 5043 | / match &parsed_error.code[..] { [INFO] [stdout] 5044 | | _ => {} [INFO] [stdout] 5045 | | } [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: the borrowed expression implements the required traits [INFO] [stdout] --> src/generated.rs:3090:64 [INFO] [stdout] | [INFO] [stdout] 3090 | 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:3093:63 [INFO] [stdout] | [INFO] [stdout] 3093 | 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: you seem to be trying to use `match` for an equality check. Consider using `if` [INFO] [stdout] --> src/generated.rs:5148:17 [INFO] [stdout] | [INFO] [stdout] 5148 | / match &parsed_error.code[..] { [INFO] [stdout] 5149 | | "InvalidNextToken" => { [INFO] [stdout] 5150 | | return RusotoError::Service(DescribeInsightRulesError::InvalidNextToken( [INFO] [stdout] 5151 | | parsed_error.message, [INFO] [stdout] ... | [INFO] [stdout] 5154 | | _ => {} [INFO] [stdout] 5155 | | } [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] 5148 ~ if &parsed_error.code[..] == "InvalidNextToken" { [INFO] [stdout] 5149 + return RusotoError::Service(DescribeInsightRulesError::InvalidNextToken( [INFO] [stdout] 5150 + parsed_error.message, [INFO] [stdout] 5151 + )) [INFO] [stdout] 5152 + } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this match could be replaced by its body itself [INFO] [stdout] --> src/generated.rs:5189:17 [INFO] [stdout] | [INFO] [stdout] 5189 | / match &parsed_error.code[..] { [INFO] [stdout] 5190 | | _ => {} [INFO] [stdout] 5191 | | } [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:5277:17 [INFO] [stdout] | [INFO] [stdout] 5277 | / match &parsed_error.code[..] { [INFO] [stdout] 5278 | | _ => {} [INFO] [stdout] 5279 | | } [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: writing `&Vec` instead of `&[_]` involves a new object where a slice will do [INFO] [stdout] --> src/generated.rs:3328:56 [INFO] [stdout] | [INFO] [stdout] 3328 | 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] 3328 - fn serialize(params: &mut Params, name: &str, obj: &Vec) { [INFO] [stdout] 3328 + 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:3358:56 [INFO] [stdout] | [INFO] [stdout] 3358 | 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] 3358 - fn serialize(params: &mut Params, name: &str, obj: &Vec) { [INFO] [stdout] 3358 + 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:3430:12 [INFO] [stdout] | [INFO] [stdout] 3430 | 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:3431:13 [INFO] [stdout] | [INFO] [stdout] 3431 | prefix.push_str("."); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: consider using `push` with a character literal: `prefix.push('.')` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#single_char_add_str [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: you seem to be trying to use `match` for an equality check. Consider using `if` [INFO] [stdout] --> src/generated.rs:5498:17 [INFO] [stdout] | [INFO] [stdout] 5498 | / match &parsed_error.code[..] { [INFO] [stdout] 5499 | | "InvalidNextToken" => { [INFO] [stdout] 5500 | | return RusotoError::Service(GetMetricDataError::InvalidNextToken( [INFO] [stdout] 5501 | | parsed_error.message, [INFO] [stdout] ... | [INFO] [stdout] 5504 | | _ => {} [INFO] [stdout] 5505 | | } [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] 5498 ~ if &parsed_error.code[..] == "InvalidNextToken" { [INFO] [stdout] 5499 + return RusotoError::Service(GetMetricDataError::InvalidNextToken( [INFO] [stdout] 5500 + parsed_error.message, [INFO] [stdout] 5501 + )) [INFO] [stdout] 5502 + } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the borrowed expression implements the required traits [INFO] [stdout] --> src/generated.rs:3435:64 [INFO] [stdout] | [INFO] [stdout] 3435 | 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:3439:59 [INFO] [stdout] | [INFO] [stdout] 3439 | 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:3449:60 [INFO] [stdout] | [INFO] [stdout] 3449 | 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:3452:64 [INFO] [stdout] | [INFO] [stdout] 3452 | 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: this match could be replaced by its body itself [INFO] [stdout] --> src/generated.rs:5613:17 [INFO] [stdout] | [INFO] [stdout] 5613 | / match &parsed_error.code[..] { [INFO] [stdout] 5614 | | _ => {} [INFO] [stdout] 5615 | | } [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: comparison to empty slice [INFO] [stdout] --> src/generated.rs:3581:12 [INFO] [stdout] | [INFO] [stdout] 3581 | 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:3582:13 [INFO] [stdout] | [INFO] [stdout] 3582 | 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:3604:71 [INFO] [stdout] | [INFO] [stdout] 3604 | 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:3607:63 [INFO] [stdout] | [INFO] [stdout] 3607 | 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:3610:58 [INFO] [stdout] | [INFO] [stdout] 3610 | 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:3613:59 [INFO] [stdout] | [INFO] [stdout] 3613 | 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: you seem to be trying to use `match` for an equality check. Consider using `if` [INFO] [stdout] --> src/generated.rs:5882:17 [INFO] [stdout] | [INFO] [stdout] 5882 | / match &parsed_error.code[..] { [INFO] [stdout] 5883 | | "LimitExceeded" => { [INFO] [stdout] 5884 | | return RusotoError::Service(PutCompositeAlarmError::LimitExceededFault( [INFO] [stdout] 5885 | | parsed_error.message, [INFO] [stdout] ... | [INFO] [stdout] 5888 | | _ => {} [INFO] [stdout] 5889 | | } [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] 5882 ~ if &parsed_error.code[..] == "LimitExceeded" { [INFO] [stdout] 5883 + return RusotoError::Service(PutCompositeAlarmError::LimitExceededFault( [INFO] [stdout] 5884 + parsed_error.message, [INFO] [stdout] 5885 + )) [INFO] [stdout] 5886 + } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: comparison to empty slice [INFO] [stdout] --> src/generated.rs:3702:12 [INFO] [stdout] | [INFO] [stdout] 3702 | 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:3703:13 [INFO] [stdout] | [INFO] [stdout] 3703 | 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:3707:56 [INFO] [stdout] | [INFO] [stdout] 3707 | 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:3710:58 [INFO] [stdout] | [INFO] [stdout] 3710 | 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: you seem to be trying to use `match` for an equality check. Consider using `if` [INFO] [stdout] --> src/generated.rs:6038:17 [INFO] [stdout] | [INFO] [stdout] 6038 | / match &parsed_error.code[..] { [INFO] [stdout] 6039 | | "LimitExceeded" => { [INFO] [stdout] 6040 | | return RusotoError::Service(PutMetricAlarmError::LimitExceededFault( [INFO] [stdout] 6041 | | parsed_error.message, [INFO] [stdout] ... | [INFO] [stdout] 6044 | | _ => {} [INFO] [stdout] 6045 | | } [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] 6038 ~ if &parsed_error.code[..] == "LimitExceeded" { [INFO] [stdout] 6039 + return RusotoError::Service(PutMetricAlarmError::LimitExceededFault( [INFO] [stdout] 6040 + parsed_error.message, [INFO] [stdout] 6041 + )) [INFO] [stdout] 6042 + } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: comparison to empty slice [INFO] [stdout] --> src/generated.rs:3840:12 [INFO] [stdout] | [INFO] [stdout] 3840 | 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:3841:13 [INFO] [stdout] | [INFO] [stdout] 3841 | 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:3911:12 [INFO] [stdout] | [INFO] [stdout] 3911 | 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:3912:13 [INFO] [stdout] | [INFO] [stdout] 3912 | 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:3916:68 [INFO] [stdout] | [INFO] [stdout] 3916 | 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:3926:70 [INFO] [stdout] | [INFO] [stdout] 3926 | 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:3964:12 [INFO] [stdout] | [INFO] [stdout] 3964 | 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:3965:13 [INFO] [stdout] | [INFO] [stdout] 3965 | 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:4028:12 [INFO] [stdout] | [INFO] [stdout] 4028 | 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:4029:13 [INFO] [stdout] | [INFO] [stdout] 4029 | 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:4038:63 [INFO] [stdout] | [INFO] [stdout] 4038 | 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:4121:12 [INFO] [stdout] | [INFO] [stdout] 4121 | 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:4122:13 [INFO] [stdout] | [INFO] [stdout] 4122 | 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:4126:68 [INFO] [stdout] | [INFO] [stdout] 4126 | 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:4136:70 [INFO] [stdout] | [INFO] [stdout] 4136 | 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:4144:71 [INFO] [stdout] | [INFO] [stdout] 4144 | 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:4156:17 [INFO] [stdout] | [INFO] [stdout] 4156 | &field_value, [INFO] [stdout] | ^^^^^^^^^^^^ help: change this to: `field_value` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the borrowed expression implements the required traits [INFO] [stdout] --> src/generated.rs:4161:13 [INFO] [stdout] | [INFO] [stdout] 4161 | &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:4164:71 [INFO] [stdout] | [INFO] [stdout] 4164 | 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:4174:64 [INFO] [stdout] | [INFO] [stdout] 4174 | 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:4184:63 [INFO] [stdout] | [INFO] [stdout] 4184 | 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:4194:60 [INFO] [stdout] | [INFO] [stdout] 4194 | 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:4197:63 [INFO] [stdout] | [INFO] [stdout] 4197 | 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:4203:63 [INFO] [stdout] | [INFO] [stdout] 4203 | 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:4206:71 [INFO] [stdout] | [INFO] [stdout] 4206 | 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:4209:70 [INFO] [stdout] | [INFO] [stdout] 4209 | 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:4212:58 [INFO] [stdout] | [INFO] [stdout] 4212 | 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:4231:12 [INFO] [stdout] | [INFO] [stdout] 4231 | 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:4232:13 [INFO] [stdout] | [INFO] [stdout] 4232 | 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:4280:12 [INFO] [stdout] | [INFO] [stdout] 4280 | 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:4281:13 [INFO] [stdout] | [INFO] [stdout] 4281 | 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:4311:56 [INFO] [stdout] | [INFO] [stdout] 4311 | 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] 4311 - fn serialize(params: &mut Params, name: &str, obj: &Vec) { [INFO] [stdout] 4311 + 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:4314:30 [INFO] [stdout] | [INFO] [stdout] 4314 | 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:4353:12 [INFO] [stdout] | [INFO] [stdout] 4353 | 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:4354:13 [INFO] [stdout] | [INFO] [stdout] 4354 | 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:4360:69 [INFO] [stdout] | [INFO] [stdout] 4360 | 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:4441:12 [INFO] [stdout] | [INFO] [stdout] 4441 | 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:4442:13 [INFO] [stdout] | [INFO] [stdout] 4442 | 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:4445:57 [INFO] [stdout] | [INFO] [stdout] 4445 | 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:4446:57 [INFO] [stdout] | [INFO] [stdout] 4446 | 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:4447:61 [INFO] [stdout] | [INFO] [stdout] 4447 | 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:4448:53 [INFO] [stdout] | [INFO] [stdout] 4448 | 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:4455:56 [INFO] [stdout] | [INFO] [stdout] 4455 | 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] 4455 - fn serialize(params: &mut Params, name: &str, obj: &Vec) { [INFO] [stdout] 4455 + 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:4458:30 [INFO] [stdout] | [INFO] [stdout] 4458 | 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:4507:12 [INFO] [stdout] | [INFO] [stdout] 4507 | 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:4508:13 [INFO] [stdout] | [INFO] [stdout] 4508 | 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:4528:56 [INFO] [stdout] | [INFO] [stdout] 4528 | 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] 4528 - fn serialize(params: &mut Params, name: &str, obj: &Vec) { [INFO] [stdout] 4528 + 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:4531:30 [INFO] [stdout] | [INFO] [stdout] 4531 | 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:4558:56 [INFO] [stdout] | [INFO] [stdout] 4558 | 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] 4558 - fn serialize(params: &mut Params, name: &str, obj: &Vec) { [INFO] [stdout] 4558 + 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:4580:12 [INFO] [stdout] | [INFO] [stdout] 4580 | 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:4581:13 [INFO] [stdout] | [INFO] [stdout] 4581 | 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:4674:12 [INFO] [stdout] | [INFO] [stdout] 4674 | 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:4675:13 [INFO] [stdout] | [INFO] [stdout] 4675 | 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:4708:56 [INFO] [stdout] | [INFO] [stdout] 4708 | 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] 4708 - fn serialize(params: &mut Params, name: &str, obj: &Vec) { [INFO] [stdout] 4708 + 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:4711:30 [INFO] [stdout] | [INFO] [stdout] 4711 | 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:4730:17 [INFO] [stdout] | [INFO] [stdout] 4730 | / match &parsed_error.code[..] { [INFO] [stdout] 4731 | | "ResourceNotFound" => { [INFO] [stdout] 4732 | | return RusotoError::Service(DeleteAlarmsError::ResourceNotFound( [INFO] [stdout] 4733 | | parsed_error.message, [INFO] [stdout] ... | [INFO] [stdout] 4736 | | _ => {} [INFO] [stdout] 4737 | | } [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] 4730 ~ if &parsed_error.code[..] == "ResourceNotFound" { [INFO] [stdout] 4731 + return RusotoError::Service(DeleteAlarmsError::ResourceNotFound( [INFO] [stdout] 4732 + parsed_error.message, [INFO] [stdout] 4733 + )) [INFO] [stdout] 4734 + } [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:4958:17 [INFO] [stdout] | [INFO] [stdout] 4958 | / match &parsed_error.code[..] { [INFO] [stdout] 4959 | | "InvalidNextToken" => { [INFO] [stdout] 4960 | | return RusotoError::Service(DescribeAlarmHistoryError::InvalidNextToken( [INFO] [stdout] 4961 | | parsed_error.message, [INFO] [stdout] ... | [INFO] [stdout] 4964 | | _ => {} [INFO] [stdout] 4965 | | } [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] 4958 ~ if &parsed_error.code[..] == "InvalidNextToken" { [INFO] [stdout] 4959 + return RusotoError::Service(DescribeAlarmHistoryError::InvalidNextToken( [INFO] [stdout] 4960 + parsed_error.message, [INFO] [stdout] 4961 + )) [INFO] [stdout] 4962 + } [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:5002:17 [INFO] [stdout] | [INFO] [stdout] 5002 | / match &parsed_error.code[..] { [INFO] [stdout] 5003 | | "InvalidNextToken" => { [INFO] [stdout] 5004 | | return RusotoError::Service(DescribeAlarmsError::InvalidNextToken( [INFO] [stdout] 5005 | | parsed_error.message, [INFO] [stdout] ... | [INFO] [stdout] 5008 | | _ => {} [INFO] [stdout] 5009 | | } [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] 5002 ~ if &parsed_error.code[..] == "InvalidNextToken" { [INFO] [stdout] 5003 + return RusotoError::Service(DescribeAlarmsError::InvalidNextToken( [INFO] [stdout] 5004 + parsed_error.message, [INFO] [stdout] 5005 + )) [INFO] [stdout] 5006 + } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this match could be replaced by its body itself [INFO] [stdout] --> src/generated.rs:5043:17 [INFO] [stdout] | [INFO] [stdout] 5043 | / match &parsed_error.code[..] { [INFO] [stdout] 5044 | | _ => {} [INFO] [stdout] 5045 | | } [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:5148:17 [INFO] [stdout] | [INFO] [stdout] 5148 | / match &parsed_error.code[..] { [INFO] [stdout] 5149 | | "InvalidNextToken" => { [INFO] [stdout] 5150 | | return RusotoError::Service(DescribeInsightRulesError::InvalidNextToken( [INFO] [stdout] 5151 | | parsed_error.message, [INFO] [stdout] ... | [INFO] [stdout] 5154 | | _ => {} [INFO] [stdout] 5155 | | } [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] 5148 ~ if &parsed_error.code[..] == "InvalidNextToken" { [INFO] [stdout] 5149 + return RusotoError::Service(DescribeInsightRulesError::InvalidNextToken( [INFO] [stdout] 5150 + parsed_error.message, [INFO] [stdout] 5151 + )) [INFO] [stdout] 5152 + } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this match could be replaced by its body itself [INFO] [stdout] --> src/generated.rs:5189:17 [INFO] [stdout] | [INFO] [stdout] 5189 | / match &parsed_error.code[..] { [INFO] [stdout] 5190 | | _ => {} [INFO] [stdout] 5191 | | } [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:5277:17 [INFO] [stdout] | [INFO] [stdout] 5277 | / match &parsed_error.code[..] { [INFO] [stdout] 5278 | | _ => {} [INFO] [stdout] 5279 | | } [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:5498:17 [INFO] [stdout] | [INFO] [stdout] 5498 | / match &parsed_error.code[..] { [INFO] [stdout] 5499 | | "InvalidNextToken" => { [INFO] [stdout] 5500 | | return RusotoError::Service(GetMetricDataError::InvalidNextToken( [INFO] [stdout] 5501 | | parsed_error.message, [INFO] [stdout] ... | [INFO] [stdout] 5504 | | _ => {} [INFO] [stdout] 5505 | | } [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] 5498 ~ if &parsed_error.code[..] == "InvalidNextToken" { [INFO] [stdout] 5499 + return RusotoError::Service(GetMetricDataError::InvalidNextToken( [INFO] [stdout] 5500 + parsed_error.message, [INFO] [stdout] 5501 + )) [INFO] [stdout] 5502 + } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this match could be replaced by its body itself [INFO] [stdout] --> src/generated.rs:5613:17 [INFO] [stdout] | [INFO] [stdout] 5613 | / match &parsed_error.code[..] { [INFO] [stdout] 5614 | | _ => {} [INFO] [stdout] 5615 | | } [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:5882:17 [INFO] [stdout] | [INFO] [stdout] 5882 | / match &parsed_error.code[..] { [INFO] [stdout] 5883 | | "LimitExceeded" => { [INFO] [stdout] 5884 | | return RusotoError::Service(PutCompositeAlarmError::LimitExceededFault( [INFO] [stdout] 5885 | | parsed_error.message, [INFO] [stdout] ... | [INFO] [stdout] 5888 | | _ => {} [INFO] [stdout] 5889 | | } [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] 5882 ~ if &parsed_error.code[..] == "LimitExceeded" { [INFO] [stdout] 5883 + return RusotoError::Service(PutCompositeAlarmError::LimitExceededFault( [INFO] [stdout] 5884 + parsed_error.message, [INFO] [stdout] 5885 + )) [INFO] [stdout] 5886 + } [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:6038:17 [INFO] [stdout] | [INFO] [stdout] 6038 | / match &parsed_error.code[..] { [INFO] [stdout] 6039 | | "LimitExceeded" => { [INFO] [stdout] 6040 | | return RusotoError::Service(PutMetricAlarmError::LimitExceededFault( [INFO] [stdout] 6041 | | parsed_error.message, [INFO] [stdout] ... | [INFO] [stdout] 6044 | | _ => {} [INFO] [stdout] 6045 | | } [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] 6038 ~ if &parsed_error.code[..] == "LimitExceeded" { [INFO] [stdout] 6039 + return RusotoError::Service(PutMetricAlarmError::LimitExceededFault( [INFO] [stdout] 6040 + parsed_error.message, [INFO] [stdout] 6041 + )) [INFO] [stdout] 6042 + } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this boolean expression can be simplified [INFO] [stdout] --> src/generated.rs:7386:17 [INFO] [stdout] | [INFO] [stdout] 7386 | 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 37.15s [INFO] running `Command { std: "docker" "inspect" "0768fa1dda8fce85e3ece005274df4689a145100999262af500d23d706b9e7f6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0768fa1dda8fce85e3ece005274df4689a145100999262af500d23d706b9e7f6", kill_on_drop: false }` [INFO] [stdout] 0768fa1dda8fce85e3ece005274df4689a145100999262af500d23d706b9e7f6