[INFO] fetching crate mz_rusoto_sts 0.46.0... [INFO] linting mz_rusoto_sts-0.46.0 against nightly for clippy-nonminimal_bool-denied [INFO] extracting crate mz_rusoto_sts 0.46.0 into /workspace/builds/worker-1-tc1/source [INFO] started tweaking crates.io crate mz_rusoto_sts 0.46.0 [INFO] finished tweaking crates.io crate mz_rusoto_sts 0.46.0 [INFO] tweaked toml for crates.io crate mz_rusoto_sts 0.46.0 written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate mz_rusoto_sts 0.46.0 on toolchain nightly [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+nightly" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+nightly" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 246 packages to latest compatible versions [INFO] [stderr] Adding bytes v0.5.6 (available: v1.11.1) [INFO] [stderr] Adding serde_urlencoded v0.6.1 (available: v0.7.1) [INFO] [stderr] Adding subtle v2.4.1 (available: v2.6.1) [INFO] [stderr] Adding tokio v0.2.25 (available: v1.50.0) [INFO] [stderr] Adding xml-rs v0.8.28 (available: v1.0.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+nightly" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded serde_urlencoded v0.6.1 [INFO] [stderr] Downloaded dtoa v0.4.8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] 561af578df830cf01b544348256227f78bfb8d5f02561532037c2cb9a1a5e05f [INFO] running `Command { std: "docker" "start" "-a" "561af578df830cf01b544348256227f78bfb8d5f02561532037c2cb9a1a5e05f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "561af578df830cf01b544348256227f78bfb8d5f02561532037c2cb9a1a5e05f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "561af578df830cf01b544348256227f78bfb8d5f02561532037c2cb9a1a5e05f", kill_on_drop: false }` [INFO] [stdout] 561af578df830cf01b544348256227f78bfb8d5f02561532037c2cb9a1a5e05f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] 9542d606e6c911a8370e875b1d53978b86964f729f3df1e87d8438e16fcebc2c [INFO] running `Command { std: "docker" "start" "-a" "9542d606e6c911a8370e875b1d53978b86964f729f3df1e87d8438e16fcebc2c", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.183 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling openssl-sys v0.9.112 [INFO] [stderr] Checking futures-util v0.3.32 [INFO] [stderr] Compiling standback v0.2.17 [INFO] [stderr] Compiling memchr v2.8.0 [INFO] [stderr] Compiling ucd-trie v0.1.7 [INFO] [stderr] Compiling proc-macro-hack v0.5.20+deprecated [INFO] [stderr] Compiling openssl v0.10.76 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Checking aho-corasick v1.1.4 [INFO] [stderr] Compiling native-tls v0.2.18 [INFO] [stderr] Checking regex-syntax v0.8.10 [INFO] [stderr] Compiling serde_json v1.0.149 [INFO] [stderr] Compiling const_fn v0.4.12 [INFO] [stderr] Compiling pest v2.8.6 [INFO] [stderr] Compiling time v0.2.27 [INFO] [stderr] Checking openssl-probe v0.2.1 [INFO] [stderr] Checking chrono v0.4.44 [INFO] [stderr] Checking crypto-mac v0.10.1 [INFO] [stderr] Checking zeroize v1.8.2 [INFO] [stderr] Checking shlex v0.1.1 [INFO] [stderr] Checking hmac v0.10.1 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Checking net2 v0.2.39 [INFO] [stderr] Checking errno v0.3.14 [INFO] [stderr] Checking signal-hook-registry v1.4.8 [INFO] [stderr] Checking mio v0.6.23 [INFO] [stderr] Compiling semver-parser v0.10.3 [INFO] [stderr] Checking socket2 v0.3.19 [INFO] [stderr] Checking dirs-sys-next v0.1.2 [INFO] [stderr] Checking mio-uds v0.6.8 [INFO] [stderr] Checking dirs-next v2.0.0 [INFO] [stderr] Compiling getrandom v0.4.2 [INFO] [stderr] Compiling rustix v1.1.4 [INFO] [stderr] Checking md5 v0.7.0 [INFO] [stderr] Checking regex-automata v0.4.14 [INFO] [stderr] Checking crc32fast v1.5.0 [INFO] [stderr] Checking form_urlencoded v1.2.2 [INFO] [stderr] Checking linux-raw-sys v0.12.1 [INFO] [stderr] Checking xml-rs v0.8.28 [INFO] [stderr] Compiling semver v0.11.0 [INFO] [stderr] Compiling rustc_version v0.3.3 [INFO] [stderr] Checking url v2.5.8 [INFO] [stderr] Checking futures-executor v0.3.32 [INFO] [stderr] Checking futures v0.3.32 [INFO] [stderr] Checking dtoa v0.4.8 [INFO] [stderr] Compiling mz_rusoto_core v0.46.0 [INFO] [stderr] Checking serde_urlencoded v0.6.1 [INFO] [stderr] Compiling tokio-macros v0.2.6 [INFO] [stderr] Compiling time-macros-impl v0.1.2 [INFO] [stderr] Checking time-macros v0.1.1 [INFO] [stderr] Checking tokio v0.2.25 [INFO] [stderr] Checking regex v1.12.3 [INFO] [stderr] Checking tempfile v3.27.0 [INFO] [stderr] Checking tokio-util v0.3.1 [INFO] [stderr] Checking tokio-tls v0.3.1 [INFO] [stderr] Checking h2 v0.2.7 [INFO] [stderr] Checking hyper v0.13.10 [INFO] [stderr] Checking mz_rusoto_credential v0.46.0 [INFO] [stderr] Checking hyper-tls v0.4.3 [INFO] [stderr] Checking mz_rusoto_signature v0.46.0 [INFO] [stderr] Checking mz_rusoto_mock v0.46.0 [INFO] [stderr] Checking mz_rusoto_sts v0.46.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: this import is redundant [INFO] [stdout] --> src/custom/credential.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | use rusoto_core; [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: 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: this import is redundant [INFO] [stdout] --> src/custom/credential.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | use rusoto_core; [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: 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: methods `assume_role_with_saml`, `decode_authorization_message`, `get_caller_identity`, and `get_federation_token` are never used [INFO] [stdout] --> src/custom/credential.rs:61:14 [INFO] [stdout] | [INFO] [stdout] 55 | pub trait StsSessionCredentialsClient { [INFO] [stdout] | --------------------------- methods in this trait [INFO] [stdout] ... [INFO] [stdout] 61 | async fn assume_role_with_saml( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 71 | async fn decode_authorization_message( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 76 | async fn get_caller_identity( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 81 | async fn get_federation_token( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `assume_role_with_saml`, `decode_authorization_message`, `get_caller_identity`, and `get_federation_token` are never used [INFO] [stdout] --> src/custom/credential.rs:61:14 [INFO] [stdout] | [INFO] [stdout] 55 | pub trait StsSessionCredentialsClient { [INFO] [stdout] | --------------------------- methods in this trait [INFO] [stdout] ... [INFO] [stdout] 61 | async fn assume_role_with_saml( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 71 | async fn decode_authorization_message( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 76 | async fn get_caller_identity( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 81 | async fn get_federation_token( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct update has no effect, all the fields in the struct have already been specified [INFO] [stdout] --> src/custom/credential.rs:204:15 [INFO] [stdout] | [INFO] [stdout] 204 | ..Default::default() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_update [INFO] [stdout] = note: `#[warn(clippy::needless_update)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: casting to the same type is unnecessary (`i64` -> `i64`) [INFO] [stdout] --> src/custom/credential.rs:203:36 [INFO] [stdout] | [INFO] [stdout] 203 | duration_seconds: Some(self.session_duration.num_seconds() as i64), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `self.session_duration.num_seconds()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_cast [INFO] [stdout] = note: `#[warn(clippy::unnecessary_cast)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: casting to the same type is unnecessary (`i64` -> `i64`) [INFO] [stdout] --> src/custom/credential.rs:292:36 [INFO] [stdout] | [INFO] [stdout] 292 | duration_seconds: Some(self.session_duration.num_seconds() as i64), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `self.session_duration.num_seconds()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_cast [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct update has no effect, all the fields in the struct have already been specified [INFO] [stdout] --> src/custom/credential.rs:204:15 [INFO] [stdout] | [INFO] [stdout] 204 | ..Default::default() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_update [INFO] [stdout] = note: `#[warn(clippy::needless_update)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: casting to the same type is unnecessary (`i64` -> `i64`) [INFO] [stdout] --> src/custom/credential.rs:203:36 [INFO] [stdout] | [INFO] [stdout] 203 | duration_seconds: Some(self.session_duration.num_seconds() as i64), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `self.session_duration.num_seconds()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_cast [INFO] [stdout] = note: `#[warn(clippy::unnecessary_cast)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: casting to the same type is unnecessary (`i64` -> `i64`) [INFO] [stdout] --> src/custom/credential.rs:292:36 [INFO] [stdout] | [INFO] [stdout] 292 | duration_seconds: Some(self.session_duration.num_seconds() as i64), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `self.session_duration.num_seconds()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_cast [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: casting to the same type is unnecessary (`i64` -> `i64`) [INFO] [stdout] --> src/custom/credential.rs:371:36 [INFO] [stdout] | [INFO] [stdout] 371 | duration_seconds: Some(self.session_duration.num_seconds() as i64), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `self.session_duration.num_seconds()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_cast [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: casting to the same type is unnecessary (`i64` -> `i64`) [INFO] [stdout] --> src/custom/credential.rs:371:36 [INFO] [stdout] | [INFO] [stdout] 371 | duration_seconds: Some(self.session_duration.num_seconds() as i64), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `self.session_duration.num_seconds()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_cast [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field assignment outside of initializer for an instance created with Default::default() [INFO] [stdout] --> src/custom/web_identity.rs:119:9 [INFO] [stdout] | [INFO] [stdout] 119 | req.role_arn = self.role_arn.resolve()?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: consider initializing the variable with `generated::AssumeRoleWithWebIdentityRequest { role_arn: self.role_arn.resolve()?, web_identity_token: self.web_identity_token.resolve()?.as_ref().to_string(), policy: self.policy.to_owned(), duration_seconds: self.duration_seconds.to_owned(), policy_arns: self.policy_arns.to_owned(), role_session_name: match self.role_session_name { [INFO] [stdout] Some(ref role_session_name) => match role_session_name.resolve()? { [INFO] [stdout] Some(session_name) => session_name, [INFO] [stdout] None => Self::create_session_name(), [INFO] [stdout] }, [INFO] [stdout] None => Self::create_session_name(), [INFO] [stdout] }, ..Default::default() }` and removing relevant reassignments [INFO] [stdout] --> src/custom/web_identity.rs:117:9 [INFO] [stdout] | [INFO] [stdout] 117 | let mut req = AssumeRoleWithWebIdentityRequest::default(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#field_reassign_with_default [INFO] [stdout] = note: `#[warn(clippy::field_reassign_with_default)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field assignment outside of initializer for an instance created with Default::default() [INFO] [stdout] --> src/custom/web_identity.rs:119:9 [INFO] [stdout] | [INFO] [stdout] 119 | req.role_arn = self.role_arn.resolve()?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: consider initializing the variable with `generated::AssumeRoleWithWebIdentityRequest { role_arn: self.role_arn.resolve()?, web_identity_token: self.web_identity_token.resolve()?.as_ref().to_string(), policy: self.policy.to_owned(), duration_seconds: self.duration_seconds.to_owned(), policy_arns: self.policy_arns.to_owned(), role_session_name: match self.role_session_name { [INFO] [stdout] Some(ref role_session_name) => match role_session_name.resolve()? { [INFO] [stdout] Some(session_name) => session_name, [INFO] [stdout] None => Self::create_session_name(), [INFO] [stdout] }, [INFO] [stdout] None => Self::create_session_name(), [INFO] [stdout] }, ..Default::default() }` and removing relevant reassignments [INFO] [stdout] --> src/custom/web_identity.rs:117:9 [INFO] [stdout] | [INFO] [stdout] 117 | let mut req = AssumeRoleWithWebIdentityRequest::default(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#field_reassign_with_default [INFO] [stdout] = note: `#[warn(clippy::field_reassign_with_default)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: comparison to empty slice [INFO] [stdout] --> src/generated.rs:125:12 [INFO] [stdout] | [INFO] [stdout] 125 | if prefix != "" { [INFO] [stdout] | ^^^^^^^^^^^^ help: using `!is_empty` is clearer and more explicit: `!prefix.is_empty()` [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:126:13 [INFO] [stdout] | [INFO] [stdout] 126 | prefix.push_str("."); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: consider using `push` with a character literal: `prefix.push('.')` [INFO] [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:130:69 [INFO] [stdout] | [INFO] [stdout] 130 | params.put(&format!("{}{}", prefix, "DurationSeconds"), &field_value); [INFO] [stdout] | ^^^^^^^^^^^^ help: change this to: `field_value` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args [INFO] [stdout] = note: `#[warn(clippy::needless_borrows_for_generic_args)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: comparison to empty slice [INFO] [stdout] --> src/generated.rs:125:12 [INFO] [stdout] | [INFO] [stdout] 125 | if prefix != "" { [INFO] [stdout] | ^^^^^^^^^^^^ help: using `!is_empty` is clearer and more explicit: `!prefix.is_empty()` [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: the borrowed expression implements the required traits [INFO] [stdout] --> src/generated.rs:133:64 [INFO] [stdout] | [INFO] [stdout] 133 | params.put(&format!("{}{}", prefix, "ExternalId"), &field_value); [INFO] [stdout] | ^^^^^^^^^^^^ help: change this to: `field_value` [INFO] [stdout] | [INFO] [stdout] = help: for further 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:126:13 [INFO] [stdout] | [INFO] [stdout] 126 | prefix.push_str("."); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: consider using `push` with a character literal: `prefix.push('.')` [INFO] [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:130:69 [INFO] [stdout] | [INFO] [stdout] 130 | params.put(&format!("{}{}", prefix, "DurationSeconds"), &field_value); [INFO] [stdout] | ^^^^^^^^^^^^ help: change this to: `field_value` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args [INFO] [stdout] = note: `#[warn(clippy::needless_borrows_for_generic_args)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the borrowed expression implements the required traits [INFO] [stdout] --> src/generated.rs:136:60 [INFO] [stdout] | [INFO] [stdout] 136 | params.put(&format!("{}{}", prefix, "Policy"), &field_value); [INFO] [stdout] | ^^^^^^^^^^^^ help: change this to: `field_value` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the borrowed expression implements the required traits [INFO] [stdout] --> src/generated.rs:133:64 [INFO] [stdout] | [INFO] [stdout] 133 | params.put(&format!("{}{}", prefix, "ExternalId"), &field_value); [INFO] [stdout] | ^^^^^^^^^^^^ help: change this to: `field_value` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the borrowed expression implements the required traits [INFO] [stdout] --> src/generated.rs:136:60 [INFO] [stdout] | [INFO] [stdout] 136 | params.put(&format!("{}{}", prefix, "Policy"), &field_value); [INFO] [stdout] | ^^^^^^^^^^^^ help: change this to: `field_value` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the borrowed expression implements the required traits [INFO] [stdout] --> src/generated.rs:151:66 [INFO] [stdout] | [INFO] [stdout] 151 | params.put(&format!("{}{}", prefix, "SerialNumber"), &field_value); [INFO] [stdout] | ^^^^^^^^^^^^ help: change this to: `field_value` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the borrowed expression implements the required traits [INFO] [stdout] --> src/generated.rs:157:63 [INFO] [stdout] | [INFO] [stdout] 157 | params.put(&format!("{}{}", prefix, "TokenCode"), &field_value); [INFO] [stdout] | ^^^^^^^^^^^^ help: change this to: `field_value` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the borrowed expression implements the required traits [INFO] [stdout] --> src/generated.rs:151:66 [INFO] [stdout] | [INFO] [stdout] 151 | params.put(&format!("{}{}", prefix, "SerialNumber"), &field_value); [INFO] [stdout] | ^^^^^^^^^^^^ help: change this to: `field_value` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the borrowed expression implements the required traits [INFO] [stdout] --> src/generated.rs:157:63 [INFO] [stdout] | [INFO] [stdout] 157 | params.put(&format!("{}{}", prefix, "TokenCode"), &field_value); [INFO] [stdout] | ^^^^^^^^^^^^ help: change this to: `field_value` [INFO] [stdout] | [INFO] [stdout] = help: for further 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:235:12 [INFO] [stdout] | [INFO] [stdout] 235 | if prefix != "" { [INFO] [stdout] | ^^^^^^^^^^^^ help: using `!is_empty` is clearer and more explicit: `!prefix.is_empty()` [INFO] [stdout] | [INFO] [stdout] = help: 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:235:12 [INFO] [stdout] | [INFO] [stdout] 235 | if prefix != "" { [INFO] [stdout] | ^^^^^^^^^^^^ help: using `!is_empty` is clearer and more explicit: `!prefix.is_empty()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#comparison_to_empty [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calling `push_str()` using a single-character string literal [INFO] [stdout] --> src/generated.rs:236:13 [INFO] [stdout] | [INFO] [stdout] 236 | prefix.push_str("."); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: consider using `push` with a character literal: `prefix.push('.')` [INFO] [stdout] | [INFO] [stdout] = help: for 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:240:69 [INFO] [stdout] | [INFO] [stdout] 240 | params.put(&format!("{}{}", prefix, "DurationSeconds"), &field_value); [INFO] [stdout] | ^^^^^^^^^^^^ help: change this to: `field_value` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the borrowed expression implements the required traits [INFO] [stdout] --> src/generated.rs:243:60 [INFO] [stdout] | [INFO] [stdout] 243 | params.put(&format!("{}{}", prefix, "Policy"), &field_value); [INFO] [stdout] | ^^^^^^^^^^^^ help: change this to: `field_value` [INFO] [stdout] | [INFO] [stdout] = help: for further 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:236:13 [INFO] [stdout] | [INFO] [stdout] 236 | prefix.push_str("."); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: consider using `push` with a character literal: `prefix.push('.')` [INFO] [stdout] | [INFO] [stdout] = help: for 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:240:69 [INFO] [stdout] | [INFO] [stdout] 240 | params.put(&format!("{}{}", prefix, "DurationSeconds"), &field_value); [INFO] [stdout] | ^^^^^^^^^^^^ help: change this to: `field_value` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the borrowed expression implements the required traits [INFO] [stdout] --> src/generated.rs:243:60 [INFO] [stdout] | [INFO] [stdout] 243 | params.put(&format!("{}{}", prefix, "Policy"), &field_value); [INFO] [stdout] | ^^^^^^^^^^^^ help: change this to: `field_value` [INFO] [stdout] | [INFO] [stdout] = help: for further 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:363:12 [INFO] [stdout] | [INFO] [stdout] 363 | if prefix != "" { [INFO] [stdout] | ^^^^^^^^^^^^ help: using `!is_empty` is clearer and more explicit: `!prefix.is_empty()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#comparison_to_empty [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calling `push_str()` using a single-character string literal [INFO] [stdout] --> src/generated.rs:364:13 [INFO] [stdout] | [INFO] [stdout] 364 | prefix.push_str("."); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: consider using `push` with a character literal: `prefix.push('.')` [INFO] [stdout] | [INFO] [stdout] = help: for 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:368:69 [INFO] [stdout] | [INFO] [stdout] 368 | params.put(&format!("{}{}", prefix, "DurationSeconds"), &field_value); [INFO] [stdout] | ^^^^^^^^^^^^ help: change this to: `field_value` [INFO] [stdout] | [INFO] [stdout] = help: for further 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:363:12 [INFO] [stdout] | [INFO] [stdout] 363 | if prefix != "" { [INFO] [stdout] | ^^^^^^^^^^^^ help: using `!is_empty` is clearer and more explicit: `!prefix.is_empty()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#comparison_to_empty [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calling `push_str()` using a single-character string literal [INFO] [stdout] --> src/generated.rs:364:13 [INFO] [stdout] | [INFO] [stdout] 364 | prefix.push_str("."); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: consider using `push` with a character literal: `prefix.push('.')` [INFO] [stdout] | [INFO] [stdout] = help: for 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:368:69 [INFO] [stdout] | [INFO] [stdout] 368 | params.put(&format!("{}{}", prefix, "DurationSeconds"), &field_value); [INFO] [stdout] | ^^^^^^^^^^^^ help: change this to: `field_value` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the borrowed expression implements the required traits [INFO] [stdout] --> src/generated.rs:371:60 [INFO] [stdout] | [INFO] [stdout] 371 | params.put(&format!("{}{}", prefix, "Policy"), &field_value); [INFO] [stdout] | ^^^^^^^^^^^^ help: change this to: `field_value` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the borrowed expression implements the required traits [INFO] [stdout] --> src/generated.rs:381:64 [INFO] [stdout] | [INFO] [stdout] 381 | params.put(&format!("{}{}", prefix, "ProviderId"), &field_value); [INFO] [stdout] | ^^^^^^^^^^^^ help: change this to: `field_value` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the borrowed expression implements the required traits [INFO] [stdout] --> src/generated.rs:371:60 [INFO] [stdout] | [INFO] [stdout] 371 | params.put(&format!("{}{}", prefix, "Policy"), &field_value); [INFO] [stdout] | ^^^^^^^^^^^^ help: change this to: `field_value` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the borrowed expression implements the required traits [INFO] [stdout] --> src/generated.rs:381:64 [INFO] [stdout] | [INFO] [stdout] 381 | params.put(&format!("{}{}", prefix, "ProviderId"), &field_value); [INFO] [stdout] | ^^^^^^^^^^^^ help: change this to: `field_value` [INFO] [stdout] | [INFO] [stdout] = help: for further 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:576:12 [INFO] [stdout] | [INFO] [stdout] 576 | if prefix != "" { [INFO] [stdout] | ^^^^^^^^^^^^ help: using `!is_empty` is clearer and more explicit: `!prefix.is_empty()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#comparison_to_empty [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calling `push_str()` using a single-character string literal [INFO] [stdout] --> src/generated.rs:577:13 [INFO] [stdout] | [INFO] [stdout] 577 | prefix.push_str("."); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: consider using `push` with a character literal: `prefix.push('.')` [INFO] [stdout] | [INFO] [stdout] = help: for 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:576:12 [INFO] [stdout] | [INFO] [stdout] 576 | if prefix != "" { [INFO] [stdout] | ^^^^^^^^^^^^ help: using `!is_empty` is clearer and more explicit: `!prefix.is_empty()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#comparison_to_empty [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calling `push_str()` using a single-character string literal [INFO] [stdout] --> src/generated.rs:577:13 [INFO] [stdout] | [INFO] [stdout] 577 | prefix.push_str("."); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: consider using `push` with a character literal: `prefix.push('.')` [INFO] [stdout] | [INFO] [stdout] = help: for 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:682:12 [INFO] [stdout] | [INFO] [stdout] 682 | if prefix != "" { [INFO] [stdout] | ^^^^^^^^^^^^ help: using `!is_empty` is clearer and more explicit: `!prefix.is_empty()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#comparison_to_empty [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calling `push_str()` using a single-character string literal [INFO] [stdout] --> src/generated.rs:683:13 [INFO] [stdout] | [INFO] [stdout] 683 | prefix.push_str("."); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: consider using `push` with a character literal: `prefix.push('.')` [INFO] [stdout] | [INFO] [stdout] = help: for 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:682:12 [INFO] [stdout] | [INFO] [stdout] 682 | if prefix != "" { [INFO] [stdout] | ^^^^^^^^^^^^ help: using `!is_empty` is clearer and more explicit: `!prefix.is_empty()` [INFO] [stdout] | [INFO] [stdout] = help: 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:729:12 [INFO] [stdout] | [INFO] [stdout] 729 | if prefix != "" { [INFO] [stdout] | ^^^^^^^^^^^^ help: using `!is_empty` is clearer and more explicit: `!prefix.is_empty()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#comparison_to_empty [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calling `push_str()` using a single-character string literal [INFO] [stdout] --> src/generated.rs:683:13 [INFO] [stdout] | [INFO] [stdout] 683 | prefix.push_str("."); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: consider using `push` with a character literal: `prefix.push('.')` [INFO] [stdout] | [INFO] [stdout] = help: for 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:730:13 [INFO] [stdout] | [INFO] [stdout] 730 | prefix.push_str("."); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: consider using `push` with a character literal: `prefix.push('.')` [INFO] [stdout] | [INFO] [stdout] = help: for 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:729:12 [INFO] [stdout] | [INFO] [stdout] 729 | if prefix != "" { [INFO] [stdout] | ^^^^^^^^^^^^ help: using `!is_empty` is clearer and more explicit: `!prefix.is_empty()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#comparison_to_empty [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calling `push_str()` using a single-character string literal [INFO] [stdout] --> src/generated.rs:730:13 [INFO] [stdout] | [INFO] [stdout] 730 | prefix.push_str("."); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: consider using `push` with a character literal: `prefix.push('.')` [INFO] [stdout] | [INFO] [stdout] = help: for 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:796:12 [INFO] [stdout] | [INFO] [stdout] 796 | if prefix != "" { [INFO] [stdout] | ^^^^^^^^^^^^ help: using `!is_empty` is clearer and more explicit: `!prefix.is_empty()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#comparison_to_empty [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calling `push_str()` using a single-character string literal [INFO] [stdout] --> src/generated.rs:797:13 [INFO] [stdout] | [INFO] [stdout] 797 | prefix.push_str("."); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: consider using `push` with a character literal: `prefix.push('.')` [INFO] [stdout] | [INFO] [stdout] = help: for 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:801:69 [INFO] [stdout] | [INFO] [stdout] 801 | params.put(&format!("{}{}", prefix, "DurationSeconds"), &field_value); [INFO] [stdout] | ^^^^^^^^^^^^ help: change this to: `field_value` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the borrowed expression implements the required traits [INFO] [stdout] --> src/generated.rs:805:60 [INFO] [stdout] | [INFO] [stdout] 805 | params.put(&format!("{}{}", prefix, "Policy"), &field_value); [INFO] [stdout] | ^^^^^^^^^^^^ help: change this to: `field_value` [INFO] [stdout] | [INFO] [stdout] = help: for further 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:796:12 [INFO] [stdout] | [INFO] [stdout] 796 | if prefix != "" { [INFO] [stdout] | ^^^^^^^^^^^^ help: using `!is_empty` is clearer and more explicit: `!prefix.is_empty()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#comparison_to_empty [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calling `push_str()` using a single-character string literal [INFO] [stdout] --> src/generated.rs:797:13 [INFO] [stdout] | [INFO] [stdout] 797 | prefix.push_str("."); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: consider using `push` with a character literal: `prefix.push('.')` [INFO] [stdout] | [INFO] [stdout] = help: for 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:801:69 [INFO] [stdout] | [INFO] [stdout] 801 | params.put(&format!("{}{}", prefix, "DurationSeconds"), &field_value); [INFO] [stdout] | ^^^^^^^^^^^^ help: change this to: `field_value` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the borrowed expression implements the required traits [INFO] [stdout] --> src/generated.rs:805:60 [INFO] [stdout] | [INFO] [stdout] 805 | params.put(&format!("{}{}", prefix, "Policy"), &field_value); [INFO] [stdout] | ^^^^^^^^^^^^ help: change this to: `field_value` [INFO] [stdout] | [INFO] [stdout] = help: for further 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:885:12 [INFO] [stdout] | [INFO] [stdout] 885 | if prefix != "" { [INFO] [stdout] | ^^^^^^^^^^^^ help: using `!is_empty` is clearer and more explicit: `!prefix.is_empty()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#comparison_to_empty [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calling `push_str()` using a single-character string literal [INFO] [stdout] --> src/generated.rs:886:13 [INFO] [stdout] | [INFO] [stdout] 886 | prefix.push_str("."); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: consider using `push` with a character literal: `prefix.push('.')` [INFO] [stdout] | [INFO] [stdout] = help: for 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:890:69 [INFO] [stdout] | [INFO] [stdout] 890 | params.put(&format!("{}{}", prefix, "DurationSeconds"), &field_value); [INFO] [stdout] | ^^^^^^^^^^^^ help: change this to: `field_value` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the borrowed expression implements the required traits [INFO] [stdout] --> src/generated.rs:893:66 [INFO] [stdout] | [INFO] [stdout] 893 | params.put(&format!("{}{}", prefix, "SerialNumber"), &field_value); [INFO] [stdout] | ^^^^^^^^^^^^ help: change this to: `field_value` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the borrowed expression implements the required traits [INFO] [stdout] --> src/generated.rs:896:63 [INFO] [stdout] | [INFO] [stdout] 896 | params.put(&format!("{}{}", prefix, "TokenCode"), &field_value); [INFO] [stdout] | ^^^^^^^^^^^^ help: change this to: `field_value` [INFO] [stdout] | [INFO] [stdout] = help: for further 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:885:12 [INFO] [stdout] | [INFO] [stdout] 885 | if prefix != "" { [INFO] [stdout] | ^^^^^^^^^^^^ help: using `!is_empty` is clearer and more explicit: `!prefix.is_empty()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#comparison_to_empty [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calling `push_str()` using a single-character string literal [INFO] [stdout] --> src/generated.rs:886:13 [INFO] [stdout] | [INFO] [stdout] 886 | prefix.push_str("."); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: consider using `push` with a character literal: `prefix.push('.')` [INFO] [stdout] | [INFO] [stdout] = help: for 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:890:69 [INFO] [stdout] | [INFO] [stdout] 890 | params.put(&format!("{}{}", prefix, "DurationSeconds"), &field_value); [INFO] [stdout] | ^^^^^^^^^^^^ help: change this to: `field_value` [INFO] [stdout] | [INFO] [stdout] = help: for further 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:961:56 [INFO] [stdout] | [INFO] [stdout] 961 | 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] 961 - fn serialize(params: &mut Params, name: &str, obj: &Vec) { [INFO] [stdout] 961 + fn serialize(params: &mut Params, name: &str, obj: &[PolicyDescriptorType]) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the borrowed expression implements the required traits [INFO] [stdout] --> src/generated.rs:893:66 [INFO] [stdout] | [INFO] [stdout] 893 | params.put(&format!("{}{}", prefix, "SerialNumber"), &field_value); [INFO] [stdout] | ^^^^^^^^^^^^ help: change this to: `field_value` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the borrowed expression implements the required traits [INFO] [stdout] --> src/generated.rs:896:63 [INFO] [stdout] | [INFO] [stdout] 896 | params.put(&format!("{}{}", prefix, "TokenCode"), &field_value); [INFO] [stdout] | ^^^^^^^^^^^^ help: change this to: `field_value` [INFO] [stdout] | [INFO] [stdout] = help: for further 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:961:56 [INFO] [stdout] | [INFO] [stdout] 961 | 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] 961 - fn serialize(params: &mut Params, name: &str, obj: &Vec) { [INFO] [stdout] 961 + fn serialize(params: &mut Params, name: &str, obj: &[PolicyDescriptorType]) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: comparison to empty slice [INFO] [stdout] --> src/generated.rs:982:12 [INFO] [stdout] | [INFO] [stdout] 982 | if prefix != "" { [INFO] [stdout] | ^^^^^^^^^^^^ help: using `!is_empty` is clearer and more explicit: `!prefix.is_empty()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#comparison_to_empty [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calling `push_str()` using a single-character string literal [INFO] [stdout] --> src/generated.rs:983:13 [INFO] [stdout] | [INFO] [stdout] 983 | prefix.push_str("."); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: consider using `push` with a character literal: `prefix.push('.')` [INFO] [stdout] | [INFO] [stdout] = help: for 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:987:57 [INFO] [stdout] | [INFO] [stdout] 987 | params.put(&format!("{}{}", prefix, "arn"), &field_value); [INFO] [stdout] | ^^^^^^^^^^^^ help: change this to: `field_value` [INFO] [stdout] | [INFO] [stdout] = help: for further 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:1023:12 [INFO] [stdout] | [INFO] [stdout] 1023 | if prefix != "" { [INFO] [stdout] | ^^^^^^^^^^^^ help: using `!is_empty` is clearer and more explicit: `!prefix.is_empty()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#comparison_to_empty [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calling `push_str()` using a single-character string literal [INFO] [stdout] --> src/generated.rs:1024:13 [INFO] [stdout] | [INFO] [stdout] 1024 | prefix.push_str("."); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: consider using `push` with a character literal: `prefix.push('.')` [INFO] [stdout] | [INFO] [stdout] = help: for 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:982:12 [INFO] [stdout] | [INFO] [stdout] 982 | if prefix != "" { [INFO] [stdout] | ^^^^^^^^^^^^ help: using `!is_empty` is clearer and more explicit: `!prefix.is_empty()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#comparison_to_empty [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calling `push_str()` using a single-character string literal [INFO] [stdout] --> src/generated.rs:983:13 [INFO] [stdout] | [INFO] [stdout] 983 | prefix.push_str("."); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: consider using `push` with a character literal: `prefix.push('.')` [INFO] [stdout] | [INFO] [stdout] = help: for 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:987:57 [INFO] [stdout] | [INFO] [stdout] 987 | params.put(&format!("{}{}", prefix, "arn"), &field_value); [INFO] [stdout] | ^^^^^^^^^^^^ help: change this to: `field_value` [INFO] [stdout] | [INFO] [stdout] = help: for further 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:1023:12 [INFO] [stdout] | [INFO] [stdout] 1023 | if prefix != "" { [INFO] [stdout] | ^^^^^^^^^^^^ help: using `!is_empty` is clearer and more explicit: `!prefix.is_empty()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#comparison_to_empty [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calling `push_str()` using a single-character string literal [INFO] [stdout] --> src/generated.rs:1024:13 [INFO] [stdout] | [INFO] [stdout] 1024 | prefix.push_str("."); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: consider using `push` with a character literal: `prefix.push('.')` [INFO] [stdout] | [INFO] [stdout] = help: for 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:1035:56 [INFO] [stdout] | [INFO] [stdout] 1035 | 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] 1035 - fn serialize(params: &mut Params, name: &str, obj: &Vec) { [INFO] [stdout] 1035 + 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:1038:30 [INFO] [stdout] | [INFO] [stdout] 1038 | 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:1035:56 [INFO] [stdout] | [INFO] [stdout] 1035 | 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] 1035 - fn serialize(params: &mut Params, name: &str, obj: &Vec) { [INFO] [stdout] 1035 + 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:1038:30 [INFO] [stdout] | [INFO] [stdout] 1038 | 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:1046:56 [INFO] [stdout] | [INFO] [stdout] 1046 | 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] 1046 - fn serialize(params: &mut Params, name: &str, obj: &Vec) { [INFO] [stdout] 1046 + fn serialize(params: &mut Params, name: &str, obj: &[Tag]) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: writing `&Vec` instead of `&[_]` involves a new object where a slice will do [INFO] [stdout] --> src/generated.rs:1046:56 [INFO] [stdout] | [INFO] [stdout] 1046 | 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] 1046 - fn serialize(params: &mut Params, name: &str, obj: &Vec) { [INFO] [stdout] 1046 + fn serialize(params: &mut Params, name: &str, obj: &[Tag]) { [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:1346:17 [INFO] [stdout] | [INFO] [stdout] 1346 | / match &parsed_error.code[..] { [INFO] [stdout] 1347 | | "InvalidAuthorizationMessageException" => { [INFO] [stdout] 1348 | | return RusotoError::Service( [INFO] [stdout] 1349 | | DecodeAuthorizationMessageError::InvalidAuthorizationMessage( [INFO] [stdout] ... | [INFO] [stdout] 1354 | | _ => {} [INFO] [stdout] 1355 | | } [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] 1346 ~ if &parsed_error.code[..] == "InvalidAuthorizationMessageException" { [INFO] [stdout] 1347 + return RusotoError::Service( [INFO] [stdout] 1348 + DecodeAuthorizationMessageError::InvalidAuthorizationMessage( [INFO] [stdout] 1349 + parsed_error.message, [INFO] [stdout] 1350 + ), [INFO] [stdout] 1351 + ) [INFO] [stdout] 1352 + } [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:1346:17 [INFO] [stdout] | [INFO] [stdout] 1346 | / match &parsed_error.code[..] { [INFO] [stdout] 1347 | | "InvalidAuthorizationMessageException" => { [INFO] [stdout] 1348 | | return RusotoError::Service( [INFO] [stdout] 1349 | | DecodeAuthorizationMessageError::InvalidAuthorizationMessage( [INFO] [stdout] ... | [INFO] [stdout] 1354 | | _ => {} [INFO] [stdout] 1355 | | } [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] 1346 ~ if &parsed_error.code[..] == "InvalidAuthorizationMessageException" { [INFO] [stdout] 1347 + return RusotoError::Service( [INFO] [stdout] 1348 + DecodeAuthorizationMessageError::InvalidAuthorizationMessage( [INFO] [stdout] 1349 + parsed_error.message, [INFO] [stdout] 1350 + ), [INFO] [stdout] 1351 + ) [INFO] [stdout] 1352 + } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this match could be replaced by its body itself [INFO] [stdout] --> src/generated.rs:1391:17 [INFO] [stdout] | [INFO] [stdout] 1391 | / match &parsed_error.code[..] { [INFO] [stdout] 1392 | | _ => {} [INFO] [stdout] 1393 | | } [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: this match could be replaced by its body itself [INFO] [stdout] --> src/generated.rs:1391:17 [INFO] [stdout] | [INFO] [stdout] 1391 | / match &parsed_error.code[..] { [INFO] [stdout] 1392 | | _ => {} [INFO] [stdout] 1393 | | } [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: this match could be replaced by its body itself [INFO] [stdout] --> src/generated.rs:1425:17 [INFO] [stdout] | [INFO] [stdout] 1425 | / match &parsed_error.code[..] { [INFO] [stdout] 1426 | | _ => {} [INFO] [stdout] 1427 | | } [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:1425:17 [INFO] [stdout] | [INFO] [stdout] 1425 | / match &parsed_error.code[..] { [INFO] [stdout] 1426 | | _ => {} [INFO] [stdout] 1427 | | } [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:1522:17 [INFO] [stdout] | [INFO] [stdout] 1522 | / match &parsed_error.code[..] { [INFO] [stdout] 1523 | | "RegionDisabledException" => { [INFO] [stdout] 1524 | | return RusotoError::Service(GetSessionTokenError::RegionDisabled( [INFO] [stdout] 1525 | | parsed_error.message, [INFO] [stdout] ... | [INFO] [stdout] 1528 | | _ => {} [INFO] [stdout] 1529 | | } [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] 1522 ~ if &parsed_error.code[..] == "RegionDisabledException" { [INFO] [stdout] 1523 + return RusotoError::Service(GetSessionTokenError::RegionDisabled( [INFO] [stdout] 1524 + parsed_error.message, [INFO] [stdout] 1525 + )) [INFO] [stdout] 1526 + } [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:1522:17 [INFO] [stdout] | [INFO] [stdout] 1522 | / match &parsed_error.code[..] { [INFO] [stdout] 1523 | | "RegionDisabledException" => { [INFO] [stdout] 1524 | | return RusotoError::Service(GetSessionTokenError::RegionDisabled( [INFO] [stdout] 1525 | | parsed_error.message, [INFO] [stdout] ... | [INFO] [stdout] 1528 | | _ => {} [INFO] [stdout] 1529 | | } [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] 1522 ~ if &parsed_error.code[..] == "RegionDisabledException" { [INFO] [stdout] 1523 + return RusotoError::Service(GetSessionTokenError::RegionDisabled( [INFO] [stdout] 1524 + parsed_error.message, [INFO] [stdout] 1525 + )) [INFO] [stdout] 1526 + } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this boolean expression can be simplified [INFO] [stdout] --> src/generated.rs:1922:17 [INFO] [stdout] | [INFO] [stdout] 1922 | 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 45.31s [INFO] running `Command { std: "docker" "inspect" "9542d606e6c911a8370e875b1d53978b86964f729f3df1e87d8438e16fcebc2c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9542d606e6c911a8370e875b1d53978b86964f729f3df1e87d8438e16fcebc2c", kill_on_drop: false }` [INFO] [stdout] 9542d606e6c911a8370e875b1d53978b86964f729f3df1e87d8438e16fcebc2c