[INFO] fetching crate mz_rusoto_s3 0.46.0... [INFO] linting mz_rusoto_s3-0.46.0 against nightly for clippy-nonminimal_bool-denied [INFO] extracting crate mz_rusoto_s3 0.46.0 into /workspace/builds/worker-4-tc1/source [INFO] started tweaking crates.io crate mz_rusoto_s3 0.46.0 [INFO] finished tweaking crates.io crate mz_rusoto_s3 0.46.0 [INFO] tweaked toml for crates.io crate mz_rusoto_s3 0.46.0 written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate mz_rusoto_s3 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 217 packages to latest compatible versions [INFO] [stderr] Adding bytes v0.5.6 (available: v1.11.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] f4196b4a9dd35f7e2e3fb732c70af849000bdbd4a1ac1d0da2a95c7755ce163b [INFO] running `Command { std: "docker" "start" "-a" "f4196b4a9dd35f7e2e3fb732c70af849000bdbd4a1ac1d0da2a95c7755ce163b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f4196b4a9dd35f7e2e3fb732c70af849000bdbd4a1ac1d0da2a95c7755ce163b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f4196b4a9dd35f7e2e3fb732c70af849000bdbd4a1ac1d0da2a95c7755ce163b", kill_on_drop: false }` [INFO] [stdout] f4196b4a9dd35f7e2e3fb732c70af849000bdbd4a1ac1d0da2a95c7755ce163b [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] 0b1832c32a691f08306da76b7c37d64d0e7a6ad7d29f6d2a98af14e39ffa0e95 [INFO] running `Command { std: "docker" "start" "-a" "0b1832c32a691f08306da76b7c37d64d0e7a6ad7d29f6d2a98af14e39ffa0e95", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.183 [INFO] [stderr] Checking slab v0.4.12 [INFO] [stderr] Compiling pkg-config v0.3.32 [INFO] [stderr] Compiling vcpkg v0.2.15 [INFO] [stderr] Checking bytes v0.5.6 [INFO] [stderr] Compiling tokio-macros v0.2.6 [INFO] [stderr] Checking futures-channel v0.3.32 [INFO] [stderr] Compiling futures-macro v0.3.32 [INFO] [stderr] Compiling generic-array v0.14.9 [INFO] [stderr] Checking pin-project-lite v0.1.12 [INFO] [stderr] Compiling pin-project-internal v1.1.11 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling standback v0.2.17 [INFO] [stderr] Checking http v0.2.12 [INFO] [stderr] Checking tracing v0.1.44 [INFO] [stderr] Compiling proc-macro-hack v0.5.20+deprecated [INFO] [stderr] Compiling openssl-sys v0.9.112 [INFO] [stderr] Checking hashbrown v0.12.3 [INFO] [stderr] Compiling pest v2.8.6 [INFO] [stderr] Checking foreign-types-shared v0.1.1 [INFO] [stderr] Checking futures-util v0.3.32 [INFO] [stderr] Compiling openssl v0.10.76 [INFO] [stderr] Checking net2 v0.2.39 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Checking errno v0.3.14 [INFO] [stderr] Checking mio v0.6.23 [INFO] [stderr] Checking http-body v0.3.1 [INFO] [stderr] Checking signal-hook-registry v1.4.8 [INFO] [stderr] Checking socket2 v0.3.19 [INFO] [stderr] Checking pin-project v1.1.11 [INFO] [stderr] Checking tracing-futures v0.2.5 [INFO] [stderr] Checking foreign-types v0.3.2 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling const_fn v0.4.12 [INFO] [stderr] Checking httpdate v0.3.2 [INFO] [stderr] Checking itoa v0.4.8 [INFO] [stderr] Checking mio-uds v0.6.8 [INFO] [stderr] Compiling native-tls v0.2.18 [INFO] [stderr] Checking regex-automata v0.4.14 [INFO] [stderr] Checking serde v1.0.228 [INFO] [stderr] Checking tokio v0.2.25 [INFO] [stderr] Checking dirs-sys-next v0.1.2 [INFO] [stderr] Checking digest v0.9.0 [INFO] [stderr] Compiling time v0.2.27 [INFO] [stderr] Checking openssl-probe v0.2.1 [INFO] [stderr] Compiling time-macros-impl v0.1.2 [INFO] [stderr] Checking subtle v2.4.1 [INFO] [stderr] Compiling semver-parser v0.10.3 [INFO] [stderr] Checking chrono v0.4.44 [INFO] [stderr] Checking crypto-mac v0.10.1 [INFO] [stderr] Checking dirs-next v2.0.0 [INFO] [stderr] Checking serde_json v1.0.149 [INFO] [stderr] Checking time-macros v0.1.1 [INFO] [stderr] Compiling semver v0.11.0 [INFO] [stderr] Checking block-buffer v0.9.0 [INFO] [stderr] Compiling rustc_version v0.3.3 [INFO] [stderr] Compiling async-trait v0.1.89 [INFO] [stderr] Checking zeroize v1.8.2 [INFO] [stderr] Checking opaque-debug v0.3.1 [INFO] [stderr] Checking shlex v0.1.1 [INFO] [stderr] Compiling crc32fast v1.5.0 [INFO] [stderr] Checking sha2 v0.9.9 [INFO] [stderr] Compiling mz_rusoto_core v0.46.0 [INFO] [stderr] Checking hmac v0.10.1 [INFO] [stderr] Checking md5 v0.7.0 [INFO] [stderr] Checking regex v1.12.3 [INFO] [stderr] Checking percent-encoding v2.3.2 [INFO] [stderr] Checking xml-rs v0.8.28 [INFO] [stderr] Checking futures-executor v0.3.32 [INFO] [stderr] Checking futures v0.3.32 [INFO] [stderr] Checking tokio-util v0.3.1 [INFO] [stderr] Checking h2 v0.2.7 [INFO] [stderr] Checking tokio-tls v0.3.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_s3 v0.46.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: this import is redundant [INFO] [stdout] --> src/generated.rs:36:1 [INFO] [stdout] | [INFO] [stdout] 36 | use xml; [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: unexpected `cfg` condition name: `nightly` [INFO] [stdout] --> src/custom/custom_tests.rs:294:7 [INFO] [stdout] | [INFO] [stdout] 294 | #[cfg(nightly)] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `docsrs`, `feature`, and `test` and 31 more [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(nightly)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(nightly)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this import is redundant [INFO] [stdout] --> src/generated.rs:36:1 [INFO] [stdout] | [INFO] [stdout] 36 | use xml; [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 expression creates a reference which is immediately dereferenced by the compiler [INFO] [stdout] --> src/custom/util.rs:94:59 [INFO] [stdout] | [INFO] [stdout] 94 | let mut request = SignedRequest::new("GET", "s3", ®ion, &request_uri); [INFO] [stdout] | ^^^^^^^ help: change this to: `region` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow [INFO] [stdout] = note: `#[warn(clippy::needless_borrow)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this expression creates a reference which is immediately dereferenced by the compiler [INFO] [stdout] --> src/custom/util.rs:135:59 [INFO] [stdout] | [INFO] [stdout] 135 | let mut request = SignedRequest::new("PUT", "s3", ®ion, &request_uri); [INFO] [stdout] | ^^^^^^^ help: change this to: `region` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this expression creates a reference which is immediately dereferenced by the compiler [INFO] [stdout] --> src/custom/util.rs:187:62 [INFO] [stdout] | [INFO] [stdout] 187 | let mut request = SignedRequest::new("DELETE", "s3", ®ion, &request_uri); [INFO] [stdout] | ^^^^^^^ help: change this to: `region` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this expression creates a reference which is immediately dereferenced by the compiler [INFO] [stdout] --> src/custom/util.rs:214:59 [INFO] [stdout] | [INFO] [stdout] 214 | let mut request = SignedRequest::new("PUT", "s3", ®ion, &request_uri); [INFO] [stdout] | ^^^^^^^ help: change this to: `region` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow [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/generated.rs:4039:15 [INFO] [stdout] | [INFO] [stdout] 4039 | ..GetBucketAnalyticsConfigurationOutput::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: struct update has no effect, all the fields in the struct have already been specified [INFO] [stdout] --> src/generated.rs:4108:15 [INFO] [stdout] | [INFO] [stdout] 4108 | ..GetBucketEncryptionOutput::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] [INFO] [stdout] [INFO] [stdout] warning: struct update has no effect, all the fields in the struct have already been specified [INFO] [stdout] --> src/generated.rs:4139:15 [INFO] [stdout] | [INFO] [stdout] 4139 | ..GetBucketInventoryConfigurationOutput::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] [INFO] [stdout] [INFO] [stdout] warning: field assignment outside of initializer for an instance created with Default::default() [INFO] [stdout] --> src/generated.rs:4246:9 [INFO] [stdout] | [INFO] [stdout] 4246 | / obj.location_constraint = Some(BucketLocationConstraintDeserializer::deserialize( [INFO] [stdout] 4247 | | "LocationConstraint", [INFO] [stdout] 4248 | | stack, [INFO] [stdout] 4249 | | )?); [INFO] [stdout] | |____________^ [INFO] [stdout] | [INFO] [stdout] note: consider initializing the variable with `generated::GetBucketLocationOutput { location_constraint: Some(BucketLocationConstraintDeserializer::deserialize( [INFO] [stdout] "LocationConstraint", [INFO] [stdout] stack, [INFO] [stdout] )?) }` and removing relevant reassignments [INFO] [stdout] --> src/generated.rs:4245:9 [INFO] [stdout] | [INFO] [stdout] 4245 | let mut obj = GetBucketLocationOutput::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: struct update has no effect, all the fields in the struct have already been specified [INFO] [stdout] --> src/generated.rs:4315:15 [INFO] [stdout] | [INFO] [stdout] 4315 | ..GetBucketMetricsConfigurationOutput::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] [INFO] [stdout] [INFO] [stdout] warning: struct update has no effect, all the fields in the struct have already been specified [INFO] [stdout] --> src/generated.rs:4368:15 [INFO] [stdout] | [INFO] [stdout] 4368 | ..GetBucketPolicyStatusOutput::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] [INFO] [stdout] [INFO] [stdout] warning: struct update has no effect, all the fields in the struct have already been specified [INFO] [stdout] --> src/generated.rs:4398:15 [INFO] [stdout] | [INFO] [stdout] 4398 | ..GetBucketReplicationOutput::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] [INFO] [stdout] [INFO] [stdout] warning: struct update has no effect, all the fields in the struct have already been specified [INFO] [stdout] --> src/generated.rs:4653:15 [INFO] [stdout] | [INFO] [stdout] 4653 | ..GetObjectLegalHoldOutput::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] [INFO] [stdout] [INFO] [stdout] warning: struct update has no effect, all the fields in the struct have already been specified [INFO] [stdout] --> src/generated.rs:4689:15 [INFO] [stdout] | [INFO] [stdout] 4689 | ..GetObjectLockConfigurationOutput::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] [INFO] [stdout] [INFO] [stdout] warning: struct update has no effect, all the fields in the struct have already been specified [INFO] [stdout] --> src/generated.rs:4827:15 [INFO] [stdout] | [INFO] [stdout] 4827 | ..GetObjectRetentionOutput::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] [INFO] [stdout] [INFO] [stdout] warning: struct update has no effect, all the fields in the struct have already been specified [INFO] [stdout] --> src/generated.rs:4922:15 [INFO] [stdout] | [INFO] [stdout] 4922 | ..GetPublicAccessBlockOutput::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] [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:14181:17 [INFO] [stdout] | [INFO] [stdout] 14181 | / match &parsed_error.code[..] { [INFO] [stdout] 14182 | | "NoSuchUpload" => { [INFO] [stdout] 14183 | | return RusotoError::Service(AbortMultipartUploadError::NoSuchUpload( [INFO] [stdout] 14184 | | parsed_error.message, [INFO] [stdout] ... | [INFO] [stdout] 14187 | | _ => {} [INFO] [stdout] 14188 | | } [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] 14181 ~ if &parsed_error.code[..] == "NoSuchUpload" { [INFO] [stdout] 14182 + return RusotoError::Service(AbortMultipartUploadError::NoSuchUpload( [INFO] [stdout] 14183 + parsed_error.message, [INFO] [stdout] 14184 + )) [INFO] [stdout] 14185 + } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this match could be replaced by its body itself [INFO] [stdout] --> src/generated.rs:14221:17 [INFO] [stdout] | [INFO] [stdout] 14221 | / match &parsed_error.code[..] { [INFO] [stdout] 14222 | | _ => {} [INFO] [stdout] 14223 | | } [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:14257:17 [INFO] [stdout] | [INFO] [stdout] 14257 | / match &parsed_error.code[..] { [INFO] [stdout] 14258 | | "ObjectNotInActiveTierError" => { [INFO] [stdout] 14259 | | return RusotoError::Service(CopyObjectError::ObjectNotInActiveTierError( [INFO] [stdout] 14260 | | parsed_error.message, [INFO] [stdout] ... | [INFO] [stdout] 14263 | | _ => {} [INFO] [stdout] 14264 | | } [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] 14257 ~ if &parsed_error.code[..] == "ObjectNotInActiveTierError" { [INFO] [stdout] 14258 + return RusotoError::Service(CopyObjectError::ObjectNotInActiveTierError( [INFO] [stdout] 14259 + parsed_error.message, [INFO] [stdout] 14260 + )) [INFO] [stdout] 14261 + } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this match could be replaced by its body itself [INFO] [stdout] --> src/generated.rs:14348:17 [INFO] [stdout] | [INFO] [stdout] 14348 | / match &parsed_error.code[..] { [INFO] [stdout] 14349 | | _ => {} [INFO] [stdout] 14350 | | } [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:14381:17 [INFO] [stdout] | [INFO] [stdout] 14381 | / match &parsed_error.code[..] { [INFO] [stdout] 14382 | | _ => {} [INFO] [stdout] 14383 | | } [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:14416:17 [INFO] [stdout] | [INFO] [stdout] 14416 | / match &parsed_error.code[..] { [INFO] [stdout] 14417 | | _ => {} [INFO] [stdout] 14418 | | } [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:14449:17 [INFO] [stdout] | [INFO] [stdout] 14449 | / match &parsed_error.code[..] { [INFO] [stdout] 14450 | | _ => {} [INFO] [stdout] 14451 | | } [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:14482:17 [INFO] [stdout] | [INFO] [stdout] 14482 | / match &parsed_error.code[..] { [INFO] [stdout] 14483 | | _ => {} [INFO] [stdout] 14484 | | } [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:14517:17 [INFO] [stdout] | [INFO] [stdout] 14517 | / match &parsed_error.code[..] { [INFO] [stdout] 14518 | | _ => {} [INFO] [stdout] 14519 | | } [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:14550:17 [INFO] [stdout] | [INFO] [stdout] 14550 | / match &parsed_error.code[..] { [INFO] [stdout] 14551 | | _ => {} [INFO] [stdout] 14552 | | } [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:14585:17 [INFO] [stdout] | [INFO] [stdout] 14585 | / match &parsed_error.code[..] { [INFO] [stdout] 14586 | | _ => {} [INFO] [stdout] 14587 | | } [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:14618:17 [INFO] [stdout] | [INFO] [stdout] 14618 | / match &parsed_error.code[..] { [INFO] [stdout] 14619 | | _ => {} [INFO] [stdout] 14620 | | } [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:14651:17 [INFO] [stdout] | [INFO] [stdout] 14651 | / match &parsed_error.code[..] { [INFO] [stdout] 14652 | | _ => {} [INFO] [stdout] 14653 | | } [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:14684:17 [INFO] [stdout] | [INFO] [stdout] 14684 | / match &parsed_error.code[..] { [INFO] [stdout] 14685 | | _ => {} [INFO] [stdout] 14686 | | } [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:14717:17 [INFO] [stdout] | [INFO] [stdout] 14717 | / match &parsed_error.code[..] { [INFO] [stdout] 14718 | | _ => {} [INFO] [stdout] 14719 | | } [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:14750:17 [INFO] [stdout] | [INFO] [stdout] 14750 | / match &parsed_error.code[..] { [INFO] [stdout] 14751 | | _ => {} [INFO] [stdout] 14752 | | } [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:14783:17 [INFO] [stdout] | [INFO] [stdout] 14783 | / match &parsed_error.code[..] { [INFO] [stdout] 14784 | | _ => {} [INFO] [stdout] 14785 | | } [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:14816:17 [INFO] [stdout] | [INFO] [stdout] 14816 | / match &parsed_error.code[..] { [INFO] [stdout] 14817 | | _ => {} [INFO] [stdout] 14818 | | } [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:14849:17 [INFO] [stdout] | [INFO] [stdout] 14849 | / match &parsed_error.code[..] { [INFO] [stdout] 14850 | | _ => {} [INFO] [stdout] 14851 | | } [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:14884:17 [INFO] [stdout] | [INFO] [stdout] 14884 | / match &parsed_error.code[..] { [INFO] [stdout] 14885 | | _ => {} [INFO] [stdout] 14886 | | } [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:14917:17 [INFO] [stdout] | [INFO] [stdout] 14917 | / match &parsed_error.code[..] { [INFO] [stdout] 14918 | | _ => {} [INFO] [stdout] 14919 | | } [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:14952:17 [INFO] [stdout] | [INFO] [stdout] 14952 | / match &parsed_error.code[..] { [INFO] [stdout] 14953 | | _ => {} [INFO] [stdout] 14954 | | } [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:14985:17 [INFO] [stdout] | [INFO] [stdout] 14985 | / match &parsed_error.code[..] { [INFO] [stdout] 14986 | | _ => {} [INFO] [stdout] 14987 | | } [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:15018:17 [INFO] [stdout] | [INFO] [stdout] 15018 | / match &parsed_error.code[..] { [INFO] [stdout] 15019 | | _ => {} [INFO] [stdout] 15020 | | } [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:15053:17 [INFO] [stdout] | [INFO] [stdout] 15053 | / match &parsed_error.code[..] { [INFO] [stdout] 15054 | | _ => {} [INFO] [stdout] 15055 | | } [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:15086:17 [INFO] [stdout] | [INFO] [stdout] 15086 | / match &parsed_error.code[..] { [INFO] [stdout] 15087 | | _ => {} [INFO] [stdout] 15088 | | } [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:15121:17 [INFO] [stdout] | [INFO] [stdout] 15121 | / match &parsed_error.code[..] { [INFO] [stdout] 15122 | | _ => {} [INFO] [stdout] 15123 | | } [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:15154:17 [INFO] [stdout] | [INFO] [stdout] 15154 | / match &parsed_error.code[..] { [INFO] [stdout] 15155 | | _ => {} [INFO] [stdout] 15156 | | } [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:15187:17 [INFO] [stdout] | [INFO] [stdout] 15187 | / match &parsed_error.code[..] { [INFO] [stdout] 15188 | | _ => {} [INFO] [stdout] 15189 | | } [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:15222:17 [INFO] [stdout] | [INFO] [stdout] 15222 | / match &parsed_error.code[..] { [INFO] [stdout] 15223 | | _ => {} [INFO] [stdout] 15224 | | } [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:15255:17 [INFO] [stdout] | [INFO] [stdout] 15255 | / match &parsed_error.code[..] { [INFO] [stdout] 15256 | | _ => {} [INFO] [stdout] 15257 | | } [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:15290:17 [INFO] [stdout] | [INFO] [stdout] 15290 | / match &parsed_error.code[..] { [INFO] [stdout] 15291 | | _ => {} [INFO] [stdout] 15292 | | } [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:15323:17 [INFO] [stdout] | [INFO] [stdout] 15323 | / match &parsed_error.code[..] { [INFO] [stdout] 15324 | | _ => {} [INFO] [stdout] 15325 | | } [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:15356:17 [INFO] [stdout] | [INFO] [stdout] 15356 | / match &parsed_error.code[..] { [INFO] [stdout] 15357 | | _ => {} [INFO] [stdout] 15358 | | } [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:15389:17 [INFO] [stdout] | [INFO] [stdout] 15389 | / match &parsed_error.code[..] { [INFO] [stdout] 15390 | | _ => {} [INFO] [stdout] 15391 | | } [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:15422:17 [INFO] [stdout] | [INFO] [stdout] 15422 | / match &parsed_error.code[..] { [INFO] [stdout] 15423 | | _ => {} [INFO] [stdout] 15424 | | } [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:15455:17 [INFO] [stdout] | [INFO] [stdout] 15455 | / match &parsed_error.code[..] { [INFO] [stdout] 15456 | | _ => {} [INFO] [stdout] 15457 | | } [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:15488:17 [INFO] [stdout] | [INFO] [stdout] 15488 | / match &parsed_error.code[..] { [INFO] [stdout] 15489 | | _ => {} [INFO] [stdout] 15490 | | } [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:15521:17 [INFO] [stdout] | [INFO] [stdout] 15521 | / match &parsed_error.code[..] { [INFO] [stdout] 15522 | | _ => {} [INFO] [stdout] 15523 | | } [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:15557:17 [INFO] [stdout] | [INFO] [stdout] 15557 | / match &parsed_error.code[..] { [INFO] [stdout] 15558 | | "NoSuchKey" => { [INFO] [stdout] 15559 | | return RusotoError::Service(GetObjectError::NoSuchKey( [INFO] [stdout] 15560 | | parsed_error.message, [INFO] [stdout] ... | [INFO] [stdout] 15563 | | _ => {} [INFO] [stdout] 15564 | | } [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] 15557 ~ if &parsed_error.code[..] == "NoSuchKey" { [INFO] [stdout] 15558 + return RusotoError::Service(GetObjectError::NoSuchKey( [INFO] [stdout] 15559 + parsed_error.message, [INFO] [stdout] 15560 + )) [INFO] [stdout] 15561 + } [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:15600:17 [INFO] [stdout] | [INFO] [stdout] 15600 | / match &parsed_error.code[..] { [INFO] [stdout] 15601 | | "NoSuchKey" => { [INFO] [stdout] 15602 | | return RusotoError::Service(GetObjectAclError::NoSuchKey( [INFO] [stdout] 15603 | | parsed_error.message, [INFO] [stdout] ... | [INFO] [stdout] 15606 | | _ => {} [INFO] [stdout] 15607 | | } [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] 15600 ~ if &parsed_error.code[..] == "NoSuchKey" { [INFO] [stdout] 15601 + return RusotoError::Service(GetObjectAclError::NoSuchKey( [INFO] [stdout] 15602 + parsed_error.message, [INFO] [stdout] 15603 + )) [INFO] [stdout] 15604 + } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this match could be replaced by its body itself [INFO] [stdout] --> src/generated.rs:15640:17 [INFO] [stdout] | [INFO] [stdout] 15640 | / match &parsed_error.code[..] { [INFO] [stdout] 15641 | | _ => {} [INFO] [stdout] 15642 | | } [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:15675:17 [INFO] [stdout] | [INFO] [stdout] 15675 | / match &parsed_error.code[..] { [INFO] [stdout] 15676 | | _ => {} [INFO] [stdout] 15677 | | } [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:15708:17 [INFO] [stdout] | [INFO] [stdout] 15708 | / match &parsed_error.code[..] { [INFO] [stdout] 15709 | | _ => {} [INFO] [stdout] 15710 | | } [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:15741:17 [INFO] [stdout] | [INFO] [stdout] 15741 | / match &parsed_error.code[..] { [INFO] [stdout] 15742 | | _ => {} [INFO] [stdout] 15743 | | } [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:15774:17 [INFO] [stdout] | [INFO] [stdout] 15774 | / match &parsed_error.code[..] { [INFO] [stdout] 15775 | | _ => {} [INFO] [stdout] 15776 | | } [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:15807:17 [INFO] [stdout] | [INFO] [stdout] 15807 | / match &parsed_error.code[..] { [INFO] [stdout] 15808 | | _ => {} [INFO] [stdout] 15809 | | } [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:15843:17 [INFO] [stdout] | [INFO] [stdout] 15843 | / match &parsed_error.code[..] { [INFO] [stdout] 15844 | | "NoSuchBucket" => { [INFO] [stdout] 15845 | | return RusotoError::Service(HeadBucketError::NoSuchBucket( [INFO] [stdout] 15846 | | parsed_error.message, [INFO] [stdout] ... | [INFO] [stdout] 15849 | | _ => {} [INFO] [stdout] 15850 | | } [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] 15843 ~ if &parsed_error.code[..] == "NoSuchBucket" { [INFO] [stdout] 15844 + return RusotoError::Service(HeadBucketError::NoSuchBucket( [INFO] [stdout] 15845 + parsed_error.message, [INFO] [stdout] 15846 + )) [INFO] [stdout] 15847 + } [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:15886:17 [INFO] [stdout] | [INFO] [stdout] 15886 | / match &parsed_error.code[..] { [INFO] [stdout] 15887 | | "NoSuchKey" => { [INFO] [stdout] 15888 | | return RusotoError::Service(HeadObjectError::NoSuchKey( [INFO] [stdout] 15889 | | parsed_error.message, [INFO] [stdout] ... | [INFO] [stdout] 15892 | | _ => {} [INFO] [stdout] 15893 | | } [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] 15886 ~ if &parsed_error.code[..] == "NoSuchKey" { [INFO] [stdout] 15887 + return RusotoError::Service(HeadObjectError::NoSuchKey( [INFO] [stdout] 15888 + parsed_error.message, [INFO] [stdout] 15889 + )) [INFO] [stdout] 15890 + } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this match could be replaced by its body itself [INFO] [stdout] --> src/generated.rs:15928:17 [INFO] [stdout] | [INFO] [stdout] 15928 | / match &parsed_error.code[..] { [INFO] [stdout] 15929 | | _ => {} [INFO] [stdout] 15930 | | } [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:15963:17 [INFO] [stdout] | [INFO] [stdout] 15963 | / match &parsed_error.code[..] { [INFO] [stdout] 15964 | | _ => {} [INFO] [stdout] 15965 | | } [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:15998:17 [INFO] [stdout] | [INFO] [stdout] 15998 | / match &parsed_error.code[..] { [INFO] [stdout] 15999 | | _ => {} [INFO] [stdout] 16000 | | } [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:16031:17 [INFO] [stdout] | [INFO] [stdout] 16031 | / match &parsed_error.code[..] { [INFO] [stdout] 16032 | | _ => {} [INFO] [stdout] 16033 | | } [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:16064:17 [INFO] [stdout] | [INFO] [stdout] 16064 | / match &parsed_error.code[..] { [INFO] [stdout] 16065 | | _ => {} [INFO] [stdout] 16066 | | } [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:16097:17 [INFO] [stdout] | [INFO] [stdout] 16097 | / match &parsed_error.code[..] { [INFO] [stdout] 16098 | | _ => {} [INFO] [stdout] 16099 | | } [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:16133:17 [INFO] [stdout] | [INFO] [stdout] 16133 | / match &parsed_error.code[..] { [INFO] [stdout] 16134 | | "NoSuchBucket" => { [INFO] [stdout] 16135 | | return RusotoError::Service(ListObjectsError::NoSuchBucket( [INFO] [stdout] 16136 | | parsed_error.message, [INFO] [stdout] ... | [INFO] [stdout] 16139 | | _ => {} [INFO] [stdout] 16140 | | } [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] 16133 ~ if &parsed_error.code[..] == "NoSuchBucket" { [INFO] [stdout] 16134 + return RusotoError::Service(ListObjectsError::NoSuchBucket( [INFO] [stdout] 16135 + parsed_error.message, [INFO] [stdout] 16136 + )) [INFO] [stdout] 16137 + } [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:16176:17 [INFO] [stdout] | [INFO] [stdout] 16176 | / match &parsed_error.code[..] { [INFO] [stdout] 16177 | | "NoSuchBucket" => { [INFO] [stdout] 16178 | | return RusotoError::Service(ListObjectsV2Error::NoSuchBucket( [INFO] [stdout] 16179 | | parsed_error.message, [INFO] [stdout] ... | [INFO] [stdout] 16182 | | _ => {} [INFO] [stdout] 16183 | | } [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] 16176 ~ if &parsed_error.code[..] == "NoSuchBucket" { [INFO] [stdout] 16177 + return RusotoError::Service(ListObjectsV2Error::NoSuchBucket( [INFO] [stdout] 16178 + parsed_error.message, [INFO] [stdout] 16179 + )) [INFO] [stdout] 16180 + } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this match could be replaced by its body itself [INFO] [stdout] --> src/generated.rs:16216:17 [INFO] [stdout] | [INFO] [stdout] 16216 | / match &parsed_error.code[..] { [INFO] [stdout] 16217 | | _ => {} [INFO] [stdout] 16218 | | } [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:16251:17 [INFO] [stdout] | [INFO] [stdout] 16251 | / match &parsed_error.code[..] { [INFO] [stdout] 16252 | | _ => {} [INFO] [stdout] 16253 | | } [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:16284:17 [INFO] [stdout] | [INFO] [stdout] 16284 | / match &parsed_error.code[..] { [INFO] [stdout] 16285 | | _ => {} [INFO] [stdout] 16286 | | } [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:16319:17 [INFO] [stdout] | [INFO] [stdout] 16319 | / match &parsed_error.code[..] { [INFO] [stdout] 16320 | | _ => {} [INFO] [stdout] 16321 | | } [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:16352:17 [INFO] [stdout] | [INFO] [stdout] 16352 | / match &parsed_error.code[..] { [INFO] [stdout] 16353 | | _ => {} [INFO] [stdout] 16354 | | } [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:16385:17 [INFO] [stdout] | [INFO] [stdout] 16385 | / match &parsed_error.code[..] { [INFO] [stdout] 16386 | | _ => {} [INFO] [stdout] 16387 | | } [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:16420:17 [INFO] [stdout] | [INFO] [stdout] 16420 | / match &parsed_error.code[..] { [INFO] [stdout] 16421 | | _ => {} [INFO] [stdout] 16422 | | } [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:16453:17 [INFO] [stdout] | [INFO] [stdout] 16453 | / match &parsed_error.code[..] { [INFO] [stdout] 16454 | | _ => {} [INFO] [stdout] 16455 | | } [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:16488:17 [INFO] [stdout] | [INFO] [stdout] 16488 | / match &parsed_error.code[..] { [INFO] [stdout] 16489 | | _ => {} [INFO] [stdout] 16490 | | } [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:16521:17 [INFO] [stdout] | [INFO] [stdout] 16521 | / match &parsed_error.code[..] { [INFO] [stdout] 16522 | | _ => {} [INFO] [stdout] 16523 | | } [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:16556:17 [INFO] [stdout] | [INFO] [stdout] 16556 | / match &parsed_error.code[..] { [INFO] [stdout] 16557 | | _ => {} [INFO] [stdout] 16558 | | } [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:16589:17 [INFO] [stdout] | [INFO] [stdout] 16589 | / match &parsed_error.code[..] { [INFO] [stdout] 16590 | | _ => {} [INFO] [stdout] 16591 | | } [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:16624:17 [INFO] [stdout] | [INFO] [stdout] 16624 | / match &parsed_error.code[..] { [INFO] [stdout] 16625 | | _ => {} [INFO] [stdout] 16626 | | } [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:16657:17 [INFO] [stdout] | [INFO] [stdout] 16657 | / match &parsed_error.code[..] { [INFO] [stdout] 16658 | | _ => {} [INFO] [stdout] 16659 | | } [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:16690:17 [INFO] [stdout] | [INFO] [stdout] 16690 | / match &parsed_error.code[..] { [INFO] [stdout] 16691 | | _ => {} [INFO] [stdout] 16692 | | } [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:16723:17 [INFO] [stdout] | [INFO] [stdout] 16723 | / match &parsed_error.code[..] { [INFO] [stdout] 16724 | | _ => {} [INFO] [stdout] 16725 | | } [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:16756:17 [INFO] [stdout] | [INFO] [stdout] 16756 | / match &parsed_error.code[..] { [INFO] [stdout] 16757 | | _ => {} [INFO] [stdout] 16758 | | } [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:16789:17 [INFO] [stdout] | [INFO] [stdout] 16789 | / match &parsed_error.code[..] { [INFO] [stdout] 16790 | | _ => {} [INFO] [stdout] 16791 | | } [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:16822:17 [INFO] [stdout] | [INFO] [stdout] 16822 | / match &parsed_error.code[..] { [INFO] [stdout] 16823 | | _ => {} [INFO] [stdout] 16824 | | } [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:16855:17 [INFO] [stdout] | [INFO] [stdout] 16855 | / match &parsed_error.code[..] { [INFO] [stdout] 16856 | | _ => {} [INFO] [stdout] 16857 | | } [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:16891:17 [INFO] [stdout] | [INFO] [stdout] 16891 | / match &parsed_error.code[..] { [INFO] [stdout] 16892 | | "NoSuchKey" => { [INFO] [stdout] 16893 | | return RusotoError::Service(PutObjectAclError::NoSuchKey( [INFO] [stdout] 16894 | | parsed_error.message, [INFO] [stdout] ... | [INFO] [stdout] 16897 | | _ => {} [INFO] [stdout] 16898 | | } [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] 16891 ~ if &parsed_error.code[..] == "NoSuchKey" { [INFO] [stdout] 16892 + return RusotoError::Service(PutObjectAclError::NoSuchKey( [INFO] [stdout] 16893 + parsed_error.message, [INFO] [stdout] 16894 + )) [INFO] [stdout] 16895 + } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this match could be replaced by its body itself [INFO] [stdout] --> src/generated.rs:16931:17 [INFO] [stdout] | [INFO] [stdout] 16931 | / match &parsed_error.code[..] { [INFO] [stdout] 16932 | | _ => {} [INFO] [stdout] 16933 | | } [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:16966:17 [INFO] [stdout] | [INFO] [stdout] 16966 | / match &parsed_error.code[..] { [INFO] [stdout] 16967 | | _ => {} [INFO] [stdout] 16968 | | } [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:16999:17 [INFO] [stdout] | [INFO] [stdout] 16999 | / match &parsed_error.code[..] { [INFO] [stdout] 17000 | | _ => {} [INFO] [stdout] 17001 | | } [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:17032:17 [INFO] [stdout] | [INFO] [stdout] 17032 | / match &parsed_error.code[..] { [INFO] [stdout] 17033 | | _ => {} [INFO] [stdout] 17034 | | } [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:17065:17 [INFO] [stdout] | [INFO] [stdout] 17065 | / match &parsed_error.code[..] { [INFO] [stdout] 17066 | | _ => {} [INFO] [stdout] 17067 | | } [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:17101:17 [INFO] [stdout] | [INFO] [stdout] 17101 | / match &parsed_error.code[..] { [INFO] [stdout] 17102 | | "ObjectAlreadyInActiveTierError" => { [INFO] [stdout] 17103 | | return RusotoError::Service( [INFO] [stdout] 17104 | | RestoreObjectError::ObjectAlreadyInActiveTierError( [INFO] [stdout] ... | [INFO] [stdout] 17109 | | _ => {} [INFO] [stdout] 17110 | | } [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] 17101 ~ if &parsed_error.code[..] == "ObjectAlreadyInActiveTierError" { [INFO] [stdout] 17102 + return RusotoError::Service( [INFO] [stdout] 17103 + RestoreObjectError::ObjectAlreadyInActiveTierError( [INFO] [stdout] 17104 + parsed_error.message, [INFO] [stdout] 17105 + ), [INFO] [stdout] 17106 + ) [INFO] [stdout] 17107 + } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this match could be replaced by its body itself [INFO] [stdout] --> src/generated.rs:17143:17 [INFO] [stdout] | [INFO] [stdout] 17143 | / match &parsed_error.code[..] { [INFO] [stdout] 17144 | | _ => {} [INFO] [stdout] 17145 | | } [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:17176:17 [INFO] [stdout] | [INFO] [stdout] 17176 | / match &parsed_error.code[..] { [INFO] [stdout] 17177 | | _ => {} [INFO] [stdout] 17178 | | } [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:17209:17 [INFO] [stdout] | [INFO] [stdout] 17209 | / match &parsed_error.code[..] { [INFO] [stdout] 17210 | | _ => {} [INFO] [stdout] 17211 | | } [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 expression creates a reference which is immediately dereferenced by the compiler [INFO] [stdout] --> src/custom/util.rs:94:59 [INFO] [stdout] | [INFO] [stdout] 94 | let mut request = SignedRequest::new("GET", "s3", ®ion, &request_uri); [INFO] [stdout] | ^^^^^^^ help: change this to: `region` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow [INFO] [stdout] = note: `#[warn(clippy::needless_borrow)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this expression creates a reference which is immediately dereferenced by the compiler [INFO] [stdout] --> src/custom/util.rs:135:59 [INFO] [stdout] | [INFO] [stdout] 135 | let mut request = SignedRequest::new("PUT", "s3", ®ion, &request_uri); [INFO] [stdout] | ^^^^^^^ help: change this to: `region` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this expression creates a reference which is immediately dereferenced by the compiler [INFO] [stdout] --> src/custom/util.rs:187:62 [INFO] [stdout] | [INFO] [stdout] 187 | let mut request = SignedRequest::new("DELETE", "s3", ®ion, &request_uri); [INFO] [stdout] | ^^^^^^^ help: change this to: `region` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this expression creates a reference which is immediately dereferenced by the compiler [INFO] [stdout] --> src/custom/util.rs:214:59 [INFO] [stdout] | [INFO] [stdout] 214 | let mut request = SignedRequest::new("PUT", "s3", ®ion, &request_uri); [INFO] [stdout] | ^^^^^^^ help: change this to: `region` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field assignment outside of initializer for an instance created with Default::default() [INFO] [stdout] --> src/custom/custom_tests.rs:222:5 [INFO] [stdout] | [INFO] [stdout] 222 | req.bucket = "rusoto1440826511".to_owned(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: consider initializing the variable with `generated::ListPartsRequest { bucket: "rusoto1440826511".to_owned(), key: "testfile.zip".to_owned(), ..Default::default() }` and removing relevant reassignments [INFO] [stdout] --> src/custom/custom_tests.rs:221:5 [INFO] [stdout] | [INFO] [stdout] 221 | let mut req = ListPartsRequest::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/custom_tests.rs:285:5 [INFO] [stdout] | [INFO] [stdout] 285 | req.bucket = "test-bucket".to_owned(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: consider initializing the variable with `generated::ListMultipartUploadsRequest { bucket: "test-bucket".to_owned(), ..Default::default() }` and removing relevant reassignments [INFO] [stdout] --> src/custom/custom_tests.rs:284:5 [INFO] [stdout] | [INFO] [stdout] 284 | let mut req = ListMultipartUploadsRequest::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] [INFO] [stdout] [INFO] [stdout] warning: accessing first element with `buckets.get(0)` [INFO] [stdout] --> src/custom/custom_tests.rs:374:19 [INFO] [stdout] | [INFO] [stdout] 374 | let bucket1 = buckets.get(0).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^ help: try: `buckets.first()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#get_first [INFO] [stdout] = note: `#[warn(clippy::get_first)]` 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/generated.rs:4039:15 [INFO] [stdout] | [INFO] [stdout] 4039 | ..GetBucketAnalyticsConfigurationOutput::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: struct update has no effect, all the fields in the struct have already been specified [INFO] [stdout] --> src/generated.rs:4108:15 [INFO] [stdout] | [INFO] [stdout] 4108 | ..GetBucketEncryptionOutput::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] [INFO] [stdout] [INFO] [stdout] warning: struct update has no effect, all the fields in the struct have already been specified [INFO] [stdout] --> src/generated.rs:4139:15 [INFO] [stdout] | [INFO] [stdout] 4139 | ..GetBucketInventoryConfigurationOutput::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] [INFO] [stdout] [INFO] [stdout] warning: field assignment outside of initializer for an instance created with Default::default() [INFO] [stdout] --> src/generated.rs:4246:9 [INFO] [stdout] | [INFO] [stdout] 4246 | / obj.location_constraint = Some(BucketLocationConstraintDeserializer::deserialize( [INFO] [stdout] 4247 | | "LocationConstraint", [INFO] [stdout] 4248 | | stack, [INFO] [stdout] 4249 | | )?); [INFO] [stdout] | |____________^ [INFO] [stdout] | [INFO] [stdout] note: consider initializing the variable with `generated::GetBucketLocationOutput { location_constraint: Some(BucketLocationConstraintDeserializer::deserialize( [INFO] [stdout] "LocationConstraint", [INFO] [stdout] stack, [INFO] [stdout] )?) }` and removing relevant reassignments [INFO] [stdout] --> src/generated.rs:4245:9 [INFO] [stdout] | [INFO] [stdout] 4245 | let mut obj = GetBucketLocationOutput::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] [INFO] [stdout] [INFO] [stdout] warning: struct update has no effect, all the fields in the struct have already been specified [INFO] [stdout] --> src/generated.rs:4315:15 [INFO] [stdout] | [INFO] [stdout] 4315 | ..GetBucketMetricsConfigurationOutput::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] [INFO] [stdout] [INFO] [stdout] warning: struct update has no effect, all the fields in the struct have already been specified [INFO] [stdout] --> src/generated.rs:4368:15 [INFO] [stdout] | [INFO] [stdout] 4368 | ..GetBucketPolicyStatusOutput::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] [INFO] [stdout] [INFO] [stdout] warning: struct update has no effect, all the fields in the struct have already been specified [INFO] [stdout] --> src/generated.rs:4398:15 [INFO] [stdout] | [INFO] [stdout] 4398 | ..GetBucketReplicationOutput::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] [INFO] [stdout] [INFO] [stdout] warning: struct update has no effect, all the fields in the struct have already been specified [INFO] [stdout] --> src/generated.rs:4653:15 [INFO] [stdout] | [INFO] [stdout] 4653 | ..GetObjectLegalHoldOutput::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] [INFO] [stdout] [INFO] [stdout] warning: struct update has no effect, all the fields in the struct have already been specified [INFO] [stdout] --> src/generated.rs:4689:15 [INFO] [stdout] | [INFO] [stdout] 4689 | ..GetObjectLockConfigurationOutput::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] [INFO] [stdout] [INFO] [stdout] warning: struct update has no effect, all the fields in the struct have already been specified [INFO] [stdout] --> src/generated.rs:4827:15 [INFO] [stdout] | [INFO] [stdout] 4827 | ..GetObjectRetentionOutput::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] [INFO] [stdout] [INFO] [stdout] warning: struct update has no effect, all the fields in the struct have already been specified [INFO] [stdout] --> src/generated.rs:4922:15 [INFO] [stdout] | [INFO] [stdout] 4922 | ..GetPublicAccessBlockOutput::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] [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:14181:17 [INFO] [stdout] | [INFO] [stdout] 14181 | / match &parsed_error.code[..] { [INFO] [stdout] 14182 | | "NoSuchUpload" => { [INFO] [stdout] 14183 | | return RusotoError::Service(AbortMultipartUploadError::NoSuchUpload( [INFO] [stdout] 14184 | | parsed_error.message, [INFO] [stdout] ... | [INFO] [stdout] 14187 | | _ => {} [INFO] [stdout] 14188 | | } [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] 14181 ~ if &parsed_error.code[..] == "NoSuchUpload" { [INFO] [stdout] 14182 + return RusotoError::Service(AbortMultipartUploadError::NoSuchUpload( [INFO] [stdout] 14183 + parsed_error.message, [INFO] [stdout] 14184 + )) [INFO] [stdout] 14185 + } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this match could be replaced by its body itself [INFO] [stdout] --> src/generated.rs:14221:17 [INFO] [stdout] | [INFO] [stdout] 14221 | / match &parsed_error.code[..] { [INFO] [stdout] 14222 | | _ => {} [INFO] [stdout] 14223 | | } [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:14257:17 [INFO] [stdout] | [INFO] [stdout] 14257 | / match &parsed_error.code[..] { [INFO] [stdout] 14258 | | "ObjectNotInActiveTierError" => { [INFO] [stdout] 14259 | | return RusotoError::Service(CopyObjectError::ObjectNotInActiveTierError( [INFO] [stdout] 14260 | | parsed_error.message, [INFO] [stdout] ... | [INFO] [stdout] 14263 | | _ => {} [INFO] [stdout] 14264 | | } [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] 14257 ~ if &parsed_error.code[..] == "ObjectNotInActiveTierError" { [INFO] [stdout] 14258 + return RusotoError::Service(CopyObjectError::ObjectNotInActiveTierError( [INFO] [stdout] 14259 + parsed_error.message, [INFO] [stdout] 14260 + )) [INFO] [stdout] 14261 + } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this match could be replaced by its body itself [INFO] [stdout] --> src/generated.rs:14348:17 [INFO] [stdout] | [INFO] [stdout] 14348 | / match &parsed_error.code[..] { [INFO] [stdout] 14349 | | _ => {} [INFO] [stdout] 14350 | | } [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:14381:17 [INFO] [stdout] | [INFO] [stdout] 14381 | / match &parsed_error.code[..] { [INFO] [stdout] 14382 | | _ => {} [INFO] [stdout] 14383 | | } [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:14416:17 [INFO] [stdout] | [INFO] [stdout] 14416 | / match &parsed_error.code[..] { [INFO] [stdout] 14417 | | _ => {} [INFO] [stdout] 14418 | | } [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:14449:17 [INFO] [stdout] | [INFO] [stdout] 14449 | / match &parsed_error.code[..] { [INFO] [stdout] 14450 | | _ => {} [INFO] [stdout] 14451 | | } [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:14482:17 [INFO] [stdout] | [INFO] [stdout] 14482 | / match &parsed_error.code[..] { [INFO] [stdout] 14483 | | _ => {} [INFO] [stdout] 14484 | | } [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:14517:17 [INFO] [stdout] | [INFO] [stdout] 14517 | / match &parsed_error.code[..] { [INFO] [stdout] 14518 | | _ => {} [INFO] [stdout] 14519 | | } [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:14550:17 [INFO] [stdout] | [INFO] [stdout] 14550 | / match &parsed_error.code[..] { [INFO] [stdout] 14551 | | _ => {} [INFO] [stdout] 14552 | | } [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:14585:17 [INFO] [stdout] | [INFO] [stdout] 14585 | / match &parsed_error.code[..] { [INFO] [stdout] 14586 | | _ => {} [INFO] [stdout] 14587 | | } [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:14618:17 [INFO] [stdout] | [INFO] [stdout] 14618 | / match &parsed_error.code[..] { [INFO] [stdout] 14619 | | _ => {} [INFO] [stdout] 14620 | | } [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:14651:17 [INFO] [stdout] | [INFO] [stdout] 14651 | / match &parsed_error.code[..] { [INFO] [stdout] 14652 | | _ => {} [INFO] [stdout] 14653 | | } [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:14684:17 [INFO] [stdout] | [INFO] [stdout] 14684 | / match &parsed_error.code[..] { [INFO] [stdout] 14685 | | _ => {} [INFO] [stdout] 14686 | | } [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:14717:17 [INFO] [stdout] | [INFO] [stdout] 14717 | / match &parsed_error.code[..] { [INFO] [stdout] 14718 | | _ => {} [INFO] [stdout] 14719 | | } [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:14750:17 [INFO] [stdout] | [INFO] [stdout] 14750 | / match &parsed_error.code[..] { [INFO] [stdout] 14751 | | _ => {} [INFO] [stdout] 14752 | | } [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:14783:17 [INFO] [stdout] | [INFO] [stdout] 14783 | / match &parsed_error.code[..] { [INFO] [stdout] 14784 | | _ => {} [INFO] [stdout] 14785 | | } [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:14816:17 [INFO] [stdout] | [INFO] [stdout] 14816 | / match &parsed_error.code[..] { [INFO] [stdout] 14817 | | _ => {} [INFO] [stdout] 14818 | | } [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:14849:17 [INFO] [stdout] | [INFO] [stdout] 14849 | / match &parsed_error.code[..] { [INFO] [stdout] 14850 | | _ => {} [INFO] [stdout] 14851 | | } [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:14884:17 [INFO] [stdout] | [INFO] [stdout] 14884 | / match &parsed_error.code[..] { [INFO] [stdout] 14885 | | _ => {} [INFO] [stdout] 14886 | | } [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:14917:17 [INFO] [stdout] | [INFO] [stdout] 14917 | / match &parsed_error.code[..] { [INFO] [stdout] 14918 | | _ => {} [INFO] [stdout] 14919 | | } [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:14952:17 [INFO] [stdout] | [INFO] [stdout] 14952 | / match &parsed_error.code[..] { [INFO] [stdout] 14953 | | _ => {} [INFO] [stdout] 14954 | | } [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:14985:17 [INFO] [stdout] | [INFO] [stdout] 14985 | / match &parsed_error.code[..] { [INFO] [stdout] 14986 | | _ => {} [INFO] [stdout] 14987 | | } [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:15018:17 [INFO] [stdout] | [INFO] [stdout] 15018 | / match &parsed_error.code[..] { [INFO] [stdout] 15019 | | _ => {} [INFO] [stdout] 15020 | | } [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:15053:17 [INFO] [stdout] | [INFO] [stdout] 15053 | / match &parsed_error.code[..] { [INFO] [stdout] 15054 | | _ => {} [INFO] [stdout] 15055 | | } [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:15086:17 [INFO] [stdout] | [INFO] [stdout] 15086 | / match &parsed_error.code[..] { [INFO] [stdout] 15087 | | _ => {} [INFO] [stdout] 15088 | | } [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:15121:17 [INFO] [stdout] | [INFO] [stdout] 15121 | / match &parsed_error.code[..] { [INFO] [stdout] 15122 | | _ => {} [INFO] [stdout] 15123 | | } [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:15154:17 [INFO] [stdout] | [INFO] [stdout] 15154 | / match &parsed_error.code[..] { [INFO] [stdout] 15155 | | _ => {} [INFO] [stdout] 15156 | | } [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:15187:17 [INFO] [stdout] | [INFO] [stdout] 15187 | / match &parsed_error.code[..] { [INFO] [stdout] 15188 | | _ => {} [INFO] [stdout] 15189 | | } [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:15222:17 [INFO] [stdout] | [INFO] [stdout] 15222 | / match &parsed_error.code[..] { [INFO] [stdout] 15223 | | _ => {} [INFO] [stdout] 15224 | | } [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:15255:17 [INFO] [stdout] | [INFO] [stdout] 15255 | / match &parsed_error.code[..] { [INFO] [stdout] 15256 | | _ => {} [INFO] [stdout] 15257 | | } [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:15290:17 [INFO] [stdout] | [INFO] [stdout] 15290 | / match &parsed_error.code[..] { [INFO] [stdout] 15291 | | _ => {} [INFO] [stdout] 15292 | | } [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:15323:17 [INFO] [stdout] | [INFO] [stdout] 15323 | / match &parsed_error.code[..] { [INFO] [stdout] 15324 | | _ => {} [INFO] [stdout] 15325 | | } [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:15356:17 [INFO] [stdout] | [INFO] [stdout] 15356 | / match &parsed_error.code[..] { [INFO] [stdout] 15357 | | _ => {} [INFO] [stdout] 15358 | | } [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:15389:17 [INFO] [stdout] | [INFO] [stdout] 15389 | / match &parsed_error.code[..] { [INFO] [stdout] 15390 | | _ => {} [INFO] [stdout] 15391 | | } [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:15422:17 [INFO] [stdout] | [INFO] [stdout] 15422 | / match &parsed_error.code[..] { [INFO] [stdout] 15423 | | _ => {} [INFO] [stdout] 15424 | | } [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:15455:17 [INFO] [stdout] | [INFO] [stdout] 15455 | / match &parsed_error.code[..] { [INFO] [stdout] 15456 | | _ => {} [INFO] [stdout] 15457 | | } [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:15488:17 [INFO] [stdout] | [INFO] [stdout] 15488 | / match &parsed_error.code[..] { [INFO] [stdout] 15489 | | _ => {} [INFO] [stdout] 15490 | | } [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:15521:17 [INFO] [stdout] | [INFO] [stdout] 15521 | / match &parsed_error.code[..] { [INFO] [stdout] 15522 | | _ => {} [INFO] [stdout] 15523 | | } [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:15557:17 [INFO] [stdout] | [INFO] [stdout] 15557 | / match &parsed_error.code[..] { [INFO] [stdout] 15558 | | "NoSuchKey" => { [INFO] [stdout] 15559 | | return RusotoError::Service(GetObjectError::NoSuchKey( [INFO] [stdout] 15560 | | parsed_error.message, [INFO] [stdout] ... | [INFO] [stdout] 15563 | | _ => {} [INFO] [stdout] 15564 | | } [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] 15557 ~ if &parsed_error.code[..] == "NoSuchKey" { [INFO] [stdout] 15558 + return RusotoError::Service(GetObjectError::NoSuchKey( [INFO] [stdout] 15559 + parsed_error.message, [INFO] [stdout] 15560 + )) [INFO] [stdout] 15561 + } [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:15600:17 [INFO] [stdout] | [INFO] [stdout] 15600 | / match &parsed_error.code[..] { [INFO] [stdout] 15601 | | "NoSuchKey" => { [INFO] [stdout] 15602 | | return RusotoError::Service(GetObjectAclError::NoSuchKey( [INFO] [stdout] 15603 | | parsed_error.message, [INFO] [stdout] ... | [INFO] [stdout] 15606 | | _ => {} [INFO] [stdout] 15607 | | } [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] 15600 ~ if &parsed_error.code[..] == "NoSuchKey" { [INFO] [stdout] 15601 + return RusotoError::Service(GetObjectAclError::NoSuchKey( [INFO] [stdout] 15602 + parsed_error.message, [INFO] [stdout] 15603 + )) [INFO] [stdout] 15604 + } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this match could be replaced by its body itself [INFO] [stdout] --> src/generated.rs:15640:17 [INFO] [stdout] | [INFO] [stdout] 15640 | / match &parsed_error.code[..] { [INFO] [stdout] 15641 | | _ => {} [INFO] [stdout] 15642 | | } [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:15675:17 [INFO] [stdout] | [INFO] [stdout] 15675 | / match &parsed_error.code[..] { [INFO] [stdout] 15676 | | _ => {} [INFO] [stdout] 15677 | | } [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:15708:17 [INFO] [stdout] | [INFO] [stdout] 15708 | / match &parsed_error.code[..] { [INFO] [stdout] 15709 | | _ => {} [INFO] [stdout] 15710 | | } [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:15741:17 [INFO] [stdout] | [INFO] [stdout] 15741 | / match &parsed_error.code[..] { [INFO] [stdout] 15742 | | _ => {} [INFO] [stdout] 15743 | | } [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:15774:17 [INFO] [stdout] | [INFO] [stdout] 15774 | / match &parsed_error.code[..] { [INFO] [stdout] 15775 | | _ => {} [INFO] [stdout] 15776 | | } [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:15807:17 [INFO] [stdout] | [INFO] [stdout] 15807 | / match &parsed_error.code[..] { [INFO] [stdout] 15808 | | _ => {} [INFO] [stdout] 15809 | | } [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:15843:17 [INFO] [stdout] | [INFO] [stdout] 15843 | / match &parsed_error.code[..] { [INFO] [stdout] 15844 | | "NoSuchBucket" => { [INFO] [stdout] 15845 | | return RusotoError::Service(HeadBucketError::NoSuchBucket( [INFO] [stdout] 15846 | | parsed_error.message, [INFO] [stdout] ... | [INFO] [stdout] 15849 | | _ => {} [INFO] [stdout] 15850 | | } [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] 15843 ~ if &parsed_error.code[..] == "NoSuchBucket" { [INFO] [stdout] 15844 + return RusotoError::Service(HeadBucketError::NoSuchBucket( [INFO] [stdout] 15845 + parsed_error.message, [INFO] [stdout] 15846 + )) [INFO] [stdout] 15847 + } [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:15886:17 [INFO] [stdout] | [INFO] [stdout] 15886 | / match &parsed_error.code[..] { [INFO] [stdout] 15887 | | "NoSuchKey" => { [INFO] [stdout] 15888 | | return RusotoError::Service(HeadObjectError::NoSuchKey( [INFO] [stdout] 15889 | | parsed_error.message, [INFO] [stdout] ... | [INFO] [stdout] 15892 | | _ => {} [INFO] [stdout] 15893 | | } [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] 15886 ~ if &parsed_error.code[..] == "NoSuchKey" { [INFO] [stdout] 15887 + return RusotoError::Service(HeadObjectError::NoSuchKey( [INFO] [stdout] 15888 + parsed_error.message, [INFO] [stdout] 15889 + )) [INFO] [stdout] 15890 + } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this match could be replaced by its body itself [INFO] [stdout] --> src/generated.rs:15928:17 [INFO] [stdout] | [INFO] [stdout] 15928 | / match &parsed_error.code[..] { [INFO] [stdout] 15929 | | _ => {} [INFO] [stdout] 15930 | | } [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:15963:17 [INFO] [stdout] | [INFO] [stdout] 15963 | / match &parsed_error.code[..] { [INFO] [stdout] 15964 | | _ => {} [INFO] [stdout] 15965 | | } [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:15998:17 [INFO] [stdout] | [INFO] [stdout] 15998 | / match &parsed_error.code[..] { [INFO] [stdout] 15999 | | _ => {} [INFO] [stdout] 16000 | | } [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:16031:17 [INFO] [stdout] | [INFO] [stdout] 16031 | / match &parsed_error.code[..] { [INFO] [stdout] 16032 | | _ => {} [INFO] [stdout] 16033 | | } [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:16064:17 [INFO] [stdout] | [INFO] [stdout] 16064 | / match &parsed_error.code[..] { [INFO] [stdout] 16065 | | _ => {} [INFO] [stdout] 16066 | | } [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:16097:17 [INFO] [stdout] | [INFO] [stdout] 16097 | / match &parsed_error.code[..] { [INFO] [stdout] 16098 | | _ => {} [INFO] [stdout] 16099 | | } [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:16133:17 [INFO] [stdout] | [INFO] [stdout] 16133 | / match &parsed_error.code[..] { [INFO] [stdout] 16134 | | "NoSuchBucket" => { [INFO] [stdout] 16135 | | return RusotoError::Service(ListObjectsError::NoSuchBucket( [INFO] [stdout] 16136 | | parsed_error.message, [INFO] [stdout] ... | [INFO] [stdout] 16139 | | _ => {} [INFO] [stdout] 16140 | | } [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] 16133 ~ if &parsed_error.code[..] == "NoSuchBucket" { [INFO] [stdout] 16134 + return RusotoError::Service(ListObjectsError::NoSuchBucket( [INFO] [stdout] 16135 + parsed_error.message, [INFO] [stdout] 16136 + )) [INFO] [stdout] 16137 + } [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:16176:17 [INFO] [stdout] | [INFO] [stdout] 16176 | / match &parsed_error.code[..] { [INFO] [stdout] 16177 | | "NoSuchBucket" => { [INFO] [stdout] 16178 | | return RusotoError::Service(ListObjectsV2Error::NoSuchBucket( [INFO] [stdout] 16179 | | parsed_error.message, [INFO] [stdout] ... | [INFO] [stdout] 16182 | | _ => {} [INFO] [stdout] 16183 | | } [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] 16176 ~ if &parsed_error.code[..] == "NoSuchBucket" { [INFO] [stdout] 16177 + return RusotoError::Service(ListObjectsV2Error::NoSuchBucket( [INFO] [stdout] 16178 + parsed_error.message, [INFO] [stdout] 16179 + )) [INFO] [stdout] 16180 + } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this match could be replaced by its body itself [INFO] [stdout] --> src/generated.rs:16216:17 [INFO] [stdout] | [INFO] [stdout] 16216 | / match &parsed_error.code[..] { [INFO] [stdout] 16217 | | _ => {} [INFO] [stdout] 16218 | | } [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:16251:17 [INFO] [stdout] | [INFO] [stdout] 16251 | / match &parsed_error.code[..] { [INFO] [stdout] 16252 | | _ => {} [INFO] [stdout] 16253 | | } [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:16284:17 [INFO] [stdout] | [INFO] [stdout] 16284 | / match &parsed_error.code[..] { [INFO] [stdout] 16285 | | _ => {} [INFO] [stdout] 16286 | | } [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:16319:17 [INFO] [stdout] | [INFO] [stdout] 16319 | / match &parsed_error.code[..] { [INFO] [stdout] 16320 | | _ => {} [INFO] [stdout] 16321 | | } [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:16352:17 [INFO] [stdout] | [INFO] [stdout] 16352 | / match &parsed_error.code[..] { [INFO] [stdout] 16353 | | _ => {} [INFO] [stdout] 16354 | | } [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:16385:17 [INFO] [stdout] | [INFO] [stdout] 16385 | / match &parsed_error.code[..] { [INFO] [stdout] 16386 | | _ => {} [INFO] [stdout] 16387 | | } [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:16420:17 [INFO] [stdout] | [INFO] [stdout] 16420 | / match &parsed_error.code[..] { [INFO] [stdout] 16421 | | _ => {} [INFO] [stdout] 16422 | | } [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:16453:17 [INFO] [stdout] | [INFO] [stdout] 16453 | / match &parsed_error.code[..] { [INFO] [stdout] 16454 | | _ => {} [INFO] [stdout] 16455 | | } [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:16488:17 [INFO] [stdout] | [INFO] [stdout] 16488 | / match &parsed_error.code[..] { [INFO] [stdout] 16489 | | _ => {} [INFO] [stdout] 16490 | | } [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:16521:17 [INFO] [stdout] | [INFO] [stdout] 16521 | / match &parsed_error.code[..] { [INFO] [stdout] 16522 | | _ => {} [INFO] [stdout] 16523 | | } [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:16556:17 [INFO] [stdout] | [INFO] [stdout] 16556 | / match &parsed_error.code[..] { [INFO] [stdout] 16557 | | _ => {} [INFO] [stdout] 16558 | | } [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:16589:17 [INFO] [stdout] | [INFO] [stdout] 16589 | / match &parsed_error.code[..] { [INFO] [stdout] 16590 | | _ => {} [INFO] [stdout] 16591 | | } [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:16624:17 [INFO] [stdout] | [INFO] [stdout] 16624 | / match &parsed_error.code[..] { [INFO] [stdout] 16625 | | _ => {} [INFO] [stdout] 16626 | | } [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:16657:17 [INFO] [stdout] | [INFO] [stdout] 16657 | / match &parsed_error.code[..] { [INFO] [stdout] 16658 | | _ => {} [INFO] [stdout] 16659 | | } [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:16690:17 [INFO] [stdout] | [INFO] [stdout] 16690 | / match &parsed_error.code[..] { [INFO] [stdout] 16691 | | _ => {} [INFO] [stdout] 16692 | | } [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:16723:17 [INFO] [stdout] | [INFO] [stdout] 16723 | / match &parsed_error.code[..] { [INFO] [stdout] 16724 | | _ => {} [INFO] [stdout] 16725 | | } [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:16756:17 [INFO] [stdout] | [INFO] [stdout] 16756 | / match &parsed_error.code[..] { [INFO] [stdout] 16757 | | _ => {} [INFO] [stdout] 16758 | | } [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:16789:17 [INFO] [stdout] | [INFO] [stdout] 16789 | / match &parsed_error.code[..] { [INFO] [stdout] 16790 | | _ => {} [INFO] [stdout] 16791 | | } [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:16822:17 [INFO] [stdout] | [INFO] [stdout] 16822 | / match &parsed_error.code[..] { [INFO] [stdout] 16823 | | _ => {} [INFO] [stdout] 16824 | | } [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:16855:17 [INFO] [stdout] | [INFO] [stdout] 16855 | / match &parsed_error.code[..] { [INFO] [stdout] 16856 | | _ => {} [INFO] [stdout] 16857 | | } [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:16891:17 [INFO] [stdout] | [INFO] [stdout] 16891 | / match &parsed_error.code[..] { [INFO] [stdout] 16892 | | "NoSuchKey" => { [INFO] [stdout] 16893 | | return RusotoError::Service(PutObjectAclError::NoSuchKey( [INFO] [stdout] 16894 | | parsed_error.message, [INFO] [stdout] ... | [INFO] [stdout] 16897 | | _ => {} [INFO] [stdout] 16898 | | } [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] 16891 ~ if &parsed_error.code[..] == "NoSuchKey" { [INFO] [stdout] 16892 + return RusotoError::Service(PutObjectAclError::NoSuchKey( [INFO] [stdout] 16893 + parsed_error.message, [INFO] [stdout] 16894 + )) [INFO] [stdout] 16895 + } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this match could be replaced by its body itself [INFO] [stdout] --> src/generated.rs:16931:17 [INFO] [stdout] | [INFO] [stdout] 16931 | / match &parsed_error.code[..] { [INFO] [stdout] 16932 | | _ => {} [INFO] [stdout] 16933 | | } [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:16966:17 [INFO] [stdout] | [INFO] [stdout] 16966 | / match &parsed_error.code[..] { [INFO] [stdout] 16967 | | _ => {} [INFO] [stdout] 16968 | | } [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:16999:17 [INFO] [stdout] | [INFO] [stdout] 16999 | / match &parsed_error.code[..] { [INFO] [stdout] 17000 | | _ => {} [INFO] [stdout] 17001 | | } [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:17032:17 [INFO] [stdout] | [INFO] [stdout] 17032 | / match &parsed_error.code[..] { [INFO] [stdout] 17033 | | _ => {} [INFO] [stdout] 17034 | | } [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:17065:17 [INFO] [stdout] | [INFO] [stdout] 17065 | / match &parsed_error.code[..] { [INFO] [stdout] 17066 | | _ => {} [INFO] [stdout] 17067 | | } [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:17101:17 [INFO] [stdout] | [INFO] [stdout] 17101 | / match &parsed_error.code[..] { [INFO] [stdout] 17102 | | "ObjectAlreadyInActiveTierError" => { [INFO] [stdout] 17103 | | return RusotoError::Service( [INFO] [stdout] 17104 | | RestoreObjectError::ObjectAlreadyInActiveTierError( [INFO] [stdout] ... | [INFO] [stdout] 17109 | | _ => {} [INFO] [stdout] 17110 | | } [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] 17101 ~ if &parsed_error.code[..] == "ObjectAlreadyInActiveTierError" { [INFO] [stdout] 17102 + return RusotoError::Service( [INFO] [stdout] 17103 + RestoreObjectError::ObjectAlreadyInActiveTierError( [INFO] [stdout] 17104 + parsed_error.message, [INFO] [stdout] 17105 + ), [INFO] [stdout] 17106 + ) [INFO] [stdout] 17107 + } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this match could be replaced by its body itself [INFO] [stdout] --> src/generated.rs:17143:17 [INFO] [stdout] | [INFO] [stdout] 17143 | / match &parsed_error.code[..] { [INFO] [stdout] 17144 | | _ => {} [INFO] [stdout] 17145 | | } [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:17176:17 [INFO] [stdout] | [INFO] [stdout] 17176 | / match &parsed_error.code[..] { [INFO] [stdout] 17177 | | _ => {} [INFO] [stdout] 17178 | | } [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:17209:17 [INFO] [stdout] | [INFO] [stdout] 17209 | / match &parsed_error.code[..] { [INFO] [stdout] 17210 | | _ => {} [INFO] [stdout] 17211 | | } [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 boolean expression can be simplified [INFO] [stdout] --> src/generated.rs:21080:17 [INFO] [stdout] | [INFO] [stdout] 21080 | 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] [stdout] warning: this boolean expression can be simplified [INFO] [stdout] --> src/generated.rs:21093:17 [INFO] [stdout] | [INFO] [stdout] 21093 | 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] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 49.51s [INFO] running `Command { std: "docker" "inspect" "0b1832c32a691f08306da76b7c37d64d0e7a6ad7d29f6d2a98af14e39ffa0e95", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0b1832c32a691f08306da76b7c37d64d0e7a6ad7d29f6d2a98af14e39ffa0e95", kill_on_drop: false }` [INFO] [stdout] 0b1832c32a691f08306da76b7c37d64d0e7a6ad7d29f6d2a98af14e39ffa0e95