[INFO] fetching crate rusoto_s3 0.48.0... [INFO] linting rusoto_s3-0.48.0 against nightly for clippy-nonminimal_bool-denied [INFO] extracting crate rusoto_s3 0.48.0 into /workspace/builds/worker-2-tc1/source [INFO] started tweaking crates.io crate rusoto_s3 0.48.0 [INFO] finished tweaking crates.io crate rusoto_s3 0.48.0 [INFO] tweaked toml for crates.io crate rusoto_s3 0.48.0 written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate rusoto_s3 0.48.0 on toolchain nightly [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+nightly" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+nightly" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 179 packages to latest compatible versions [INFO] [stderr] Adding subtle v2.4.1 (available: v2.6.1) [INFO] [stderr] Adding xml-rs v0.8.28 (available: v1.0.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+nightly" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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] 3a14f0ec3f9073812e5c4870abff843b47b0760d817bdc080d31f30ae6221e67 [INFO] running `Command { std: "docker" "start" "-a" "3a14f0ec3f9073812e5c4870abff843b47b0760d817bdc080d31f30ae6221e67", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3a14f0ec3f9073812e5c4870abff843b47b0760d817bdc080d31f30ae6221e67", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3a14f0ec3f9073812e5c4870abff843b47b0760d817bdc080d31f30ae6221e67", kill_on_drop: false }` [INFO] [stdout] 3a14f0ec3f9073812e5c4870abff843b47b0760d817bdc080d31f30ae6221e67 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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] 7a6bb3a3a14a6d59e48d113b3c4ae9a5a87b4143cd610b2c62e6d79b8bb33859 [INFO] running `Command { std: "docker" "start" "-a" "7a6bb3a3a14a6d59e48d113b3c4ae9a5a87b4143cd610b2c62e6d79b8bb33859", kill_on_drop: false }` [INFO] [stderr] Checking futures-core v0.3.32 [INFO] [stderr] Compiling find-msvc-tools v0.1.9 [INFO] [stderr] Checking futures-sink v0.3.32 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Compiling generic-array v0.14.9 [INFO] [stderr] Compiling syn v2.0.117 [INFO] [stderr] Checking memchr v2.8.0 [INFO] [stderr] Compiling vcpkg v0.2.15 [INFO] [stderr] Compiling cc v1.2.57 [INFO] [stderr] Compiling pkg-config v0.3.32 [INFO] [stderr] Checking futures-channel v0.3.32 [INFO] [stderr] Checking futures-task v0.3.32 [INFO] [stderr] Checking slab v0.4.12 [INFO] [stderr] Checking futures-io v0.3.32 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Checking tracing-core v0.1.36 [INFO] [stderr] Checking http v0.2.12 [INFO] [stderr] Checking hashbrown v0.16.1 [INFO] [stderr] Compiling httparse v1.10.1 [INFO] [stderr] Compiling openssl v0.10.76 [INFO] [stderr] Checking tracing v0.1.44 [INFO] [stderr] Checking try-lock v0.2.5 [INFO] [stderr] Checking foreign-types-shared v0.1.1 [INFO] [stderr] Checking want v0.3.1 [INFO] [stderr] Checking digest v0.9.0 [INFO] [stderr] Checking foreign-types v0.3.2 [INFO] [stderr] Checking socket2 v0.5.10 [INFO] [stderr] Compiling native-tls v0.2.18 [INFO] [stderr] Checking httpdate v1.0.3 [INFO] [stderr] Checking tower-service v0.3.3 [INFO] [stderr] Checking block-buffer v0.9.0 [INFO] [stderr] Checking http-body v0.4.6 [INFO] [stderr] Checking dirs-sys-next v0.1.2 [INFO] [stderr] Checking opaque-debug v0.3.1 [INFO] [stderr] Checking iana-time-zone v0.1.65 [INFO] [stderr] Compiling semver v1.0.27 [INFO] [stderr] Checking subtle v2.4.1 [INFO] [stderr] Checking openssl-probe v0.2.1 [INFO] [stderr] Checking indexmap v2.13.0 [INFO] [stderr] Checking serde_json v1.0.149 [INFO] [stderr] Checking dirs-next v2.0.0 [INFO] [stderr] Checking zeroize v1.8.2 [INFO] [stderr] Checking crypto-mac v0.11.1 [INFO] [stderr] Compiling crc32fast v1.5.0 [INFO] [stderr] Checking hmac v0.11.0 [INFO] [stderr] Checking sha2 v0.9.9 [INFO] [stderr] Checking md-5 v0.9.1 [INFO] [stderr] Compiling rustc_version v0.4.1 [INFO] [stderr] Checking base64 v0.13.1 [INFO] [stderr] Checking lazy_static v1.5.0 [INFO] [stderr] Checking xml-rs v0.8.28 [INFO] [stderr] Compiling openssl-sys v0.9.112 [INFO] [stderr] Compiling rusoto_core v0.48.0 [INFO] [stderr] Compiling futures-macro v0.3.32 [INFO] [stderr] Compiling tokio-macros v2.6.1 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling async-trait v0.1.89 [INFO] [stderr] Checking tokio v1.50.0 [INFO] [stderr] Checking futures-util v0.3.32 [INFO] [stderr] Checking serde v1.0.228 [INFO] [stderr] Checking futures-executor v0.3.32 [INFO] [stderr] Checking futures v0.3.32 [INFO] [stderr] Checking chrono v0.4.44 [INFO] [stderr] Checking tokio-util v0.7.18 [INFO] [stderr] Checking tokio-native-tls v0.3.1 [INFO] [stderr] Checking h2 v0.3.27 [INFO] [stderr] Checking hyper v0.14.32 [INFO] [stderr] Checking rusoto_credential v0.48.0 [INFO] [stderr] Checking hyper-tls v0.5.0 [INFO] [stderr] Checking rusoto_signature v0.48.0 [INFO] [stderr] Checking rusoto_mock v0.48.0 [INFO] [stderr] Checking rusoto_s3 v0.48.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: 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: struct update has no effect, all the fields in the struct have already been specified [INFO] [stdout] --> src/generated.rs:4143:15 [INFO] [stdout] | [INFO] [stdout] 4143 | ..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: 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:4216:15 [INFO] [stdout] | [INFO] [stdout] 4216 | ..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:4251:15 [INFO] [stdout] | [INFO] [stdout] 4251 | ..GetBucketIntelligentTieringConfigurationOutput::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:4284:15 [INFO] [stdout] | [INFO] [stdout] 4284 | ..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:4397:9 [INFO] [stdout] | [INFO] [stdout] 4397 | / obj.location_constraint = Some(BucketLocationConstraintDeserializer::deserialize( [INFO] [stdout] 4398 | | "LocationConstraint", [INFO] [stdout] 4399 | | stack, [INFO] [stdout] 4400 | | )?); [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:4396:9 [INFO] [stdout] | [INFO] [stdout] 4396 | 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:4470:15 [INFO] [stdout] | [INFO] [stdout] 4470 | ..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:4514:15 [INFO] [stdout] | [INFO] [stdout] 4514 | ..GetBucketOwnershipControlsOutput::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:4562:15 [INFO] [stdout] | [INFO] [stdout] 4562 | ..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:4594:15 [INFO] [stdout] | [INFO] [stdout] 4594 | ..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:4861:15 [INFO] [stdout] | [INFO] [stdout] 4861 | ..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:4899:15 [INFO] [stdout] | [INFO] [stdout] 4899 | ..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:5043:15 [INFO] [stdout] | [INFO] [stdout] 5043 | ..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:5145:15 [INFO] [stdout] | [INFO] [stdout] 5145 | ..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: struct update has no effect, all the fields in the struct have already been specified [INFO] [stdout] --> src/generated.rs:4143:15 [INFO] [stdout] | [INFO] [stdout] 4143 | ..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:4216:15 [INFO] [stdout] | [INFO] [stdout] 4216 | ..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:4251:15 [INFO] [stdout] | [INFO] [stdout] 4251 | ..GetBucketIntelligentTieringConfigurationOutput::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:4284:15 [INFO] [stdout] | [INFO] [stdout] 4284 | ..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:4397:9 [INFO] [stdout] | [INFO] [stdout] 4397 | / obj.location_constraint = Some(BucketLocationConstraintDeserializer::deserialize( [INFO] [stdout] 4398 | | "LocationConstraint", [INFO] [stdout] 4399 | | stack, [INFO] [stdout] 4400 | | )?); [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:4396:9 [INFO] [stdout] | [INFO] [stdout] 4396 | 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:4470:15 [INFO] [stdout] | [INFO] [stdout] 4470 | ..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:4514:15 [INFO] [stdout] | [INFO] [stdout] 4514 | ..GetBucketOwnershipControlsOutput::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:4562:15 [INFO] [stdout] | [INFO] [stdout] 4562 | ..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:4594:15 [INFO] [stdout] | [INFO] [stdout] 4594 | ..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:4861:15 [INFO] [stdout] | [INFO] [stdout] 4861 | ..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:4899:15 [INFO] [stdout] | [INFO] [stdout] 4899 | ..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:5043:15 [INFO] [stdout] | [INFO] [stdout] 5043 | ..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:5145:15 [INFO] [stdout] | [INFO] [stdout] 5145 | ..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:15386:17 [INFO] [stdout] | [INFO] [stdout] 15386 | / match &parsed_error.code[..] { [INFO] [stdout] 15387 | | "NoSuchUpload" => { [INFO] [stdout] 15388 | | return RusotoError::Service(AbortMultipartUploadError::NoSuchUpload( [INFO] [stdout] 15389 | | parsed_error.message, [INFO] [stdout] ... | [INFO] [stdout] 15392 | | _ => {} [INFO] [stdout] 15393 | | } [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] 15386 ~ if &parsed_error.code[..] == "NoSuchUpload" { [INFO] [stdout] 15387 + return RusotoError::Service(AbortMultipartUploadError::NoSuchUpload( [INFO] [stdout] 15388 + parsed_error.message, [INFO] [stdout] 15389 + )) [INFO] [stdout] 15390 + } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this match could be replaced by its body itself [INFO] [stdout] --> src/generated.rs:15426:17 [INFO] [stdout] | [INFO] [stdout] 15426 | / match &parsed_error.code[..] { [INFO] [stdout] 15427 | | _ => {} [INFO] [stdout] 15428 | | } [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:15462:17 [INFO] [stdout] | [INFO] [stdout] 15462 | / match &parsed_error.code[..] { [INFO] [stdout] 15463 | | "ObjectNotInActiveTierError" => { [INFO] [stdout] 15464 | | return RusotoError::Service(CopyObjectError::ObjectNotInActiveTierError( [INFO] [stdout] 15465 | | parsed_error.message, [INFO] [stdout] ... | [INFO] [stdout] 15468 | | _ => {} [INFO] [stdout] 15469 | | } [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] 15462 ~ if &parsed_error.code[..] == "ObjectNotInActiveTierError" { [INFO] [stdout] 15463 + return RusotoError::Service(CopyObjectError::ObjectNotInActiveTierError( [INFO] [stdout] 15464 + parsed_error.message, [INFO] [stdout] 15465 + )) [INFO] [stdout] 15466 + } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this match could be replaced by its body itself [INFO] [stdout] --> src/generated.rs:15553:17 [INFO] [stdout] | [INFO] [stdout] 15553 | / match &parsed_error.code[..] { [INFO] [stdout] 15554 | | _ => {} [INFO] [stdout] 15555 | | } [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:15586:17 [INFO] [stdout] | [INFO] [stdout] 15586 | / match &parsed_error.code[..] { [INFO] [stdout] 15587 | | _ => {} [INFO] [stdout] 15588 | | } [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:15621:17 [INFO] [stdout] | [INFO] [stdout] 15621 | / match &parsed_error.code[..] { [INFO] [stdout] 15622 | | _ => {} [INFO] [stdout] 15623 | | } [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:15654:17 [INFO] [stdout] | [INFO] [stdout] 15654 | / match &parsed_error.code[..] { [INFO] [stdout] 15655 | | _ => {} [INFO] [stdout] 15656 | | } [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:15687:17 [INFO] [stdout] | [INFO] [stdout] 15687 | / match &parsed_error.code[..] { [INFO] [stdout] 15688 | | _ => {} [INFO] [stdout] 15689 | | } [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:15722:17 [INFO] [stdout] | [INFO] [stdout] 15722 | / match &parsed_error.code[..] { [INFO] [stdout] 15723 | | _ => {} [INFO] [stdout] 15724 | | } [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:15757:17 [INFO] [stdout] | [INFO] [stdout] 15757 | / match &parsed_error.code[..] { [INFO] [stdout] 15758 | | _ => {} [INFO] [stdout] 15759 | | } [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:15790:17 [INFO] [stdout] | [INFO] [stdout] 15790 | / match &parsed_error.code[..] { [INFO] [stdout] 15791 | | _ => {} [INFO] [stdout] 15792 | | } [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:15825:17 [INFO] [stdout] | [INFO] [stdout] 15825 | / match &parsed_error.code[..] { [INFO] [stdout] 15826 | | _ => {} [INFO] [stdout] 15827 | | } [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:15860:17 [INFO] [stdout] | [INFO] [stdout] 15860 | / match &parsed_error.code[..] { [INFO] [stdout] 15861 | | _ => {} [INFO] [stdout] 15862 | | } [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:15893:17 [INFO] [stdout] | [INFO] [stdout] 15893 | / match &parsed_error.code[..] { [INFO] [stdout] 15894 | | _ => {} [INFO] [stdout] 15895 | | } [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:15926:17 [INFO] [stdout] | [INFO] [stdout] 15926 | / match &parsed_error.code[..] { [INFO] [stdout] 15927 | | _ => {} [INFO] [stdout] 15928 | | } [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:15959:17 [INFO] [stdout] | [INFO] [stdout] 15959 | / match &parsed_error.code[..] { [INFO] [stdout] 15960 | | _ => {} [INFO] [stdout] 15961 | | } [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:15992:17 [INFO] [stdout] | [INFO] [stdout] 15992 | / match &parsed_error.code[..] { [INFO] [stdout] 15993 | | _ => {} [INFO] [stdout] 15994 | | } [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:16025:17 [INFO] [stdout] | [INFO] [stdout] 16025 | / match &parsed_error.code[..] { [INFO] [stdout] 16026 | | _ => {} [INFO] [stdout] 16027 | | } [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:16058:17 [INFO] [stdout] | [INFO] [stdout] 16058 | / match &parsed_error.code[..] { [INFO] [stdout] 16059 | | _ => {} [INFO] [stdout] 16060 | | } [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:16091:17 [INFO] [stdout] | [INFO] [stdout] 16091 | / match &parsed_error.code[..] { [INFO] [stdout] 16092 | | _ => {} [INFO] [stdout] 16093 | | } [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:16124:17 [INFO] [stdout] | [INFO] [stdout] 16124 | / match &parsed_error.code[..] { [INFO] [stdout] 16125 | | _ => {} [INFO] [stdout] 16126 | | } [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:16159:17 [INFO] [stdout] | [INFO] [stdout] 16159 | / match &parsed_error.code[..] { [INFO] [stdout] 16160 | | _ => {} [INFO] [stdout] 16161 | | } [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:16192:17 [INFO] [stdout] | [INFO] [stdout] 16192 | / match &parsed_error.code[..] { [INFO] [stdout] 16193 | | _ => {} [INFO] [stdout] 16194 | | } [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:16227:17 [INFO] [stdout] | [INFO] [stdout] 16227 | / match &parsed_error.code[..] { [INFO] [stdout] 16228 | | _ => {} [INFO] [stdout] 16229 | | } [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:16260:17 [INFO] [stdout] | [INFO] [stdout] 16260 | / match &parsed_error.code[..] { [INFO] [stdout] 16261 | | _ => {} [INFO] [stdout] 16262 | | } [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:16293:17 [INFO] [stdout] | [INFO] [stdout] 16293 | / match &parsed_error.code[..] { [INFO] [stdout] 16294 | | _ => {} [INFO] [stdout] 16295 | | } [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:16328:17 [INFO] [stdout] | [INFO] [stdout] 16328 | / match &parsed_error.code[..] { [INFO] [stdout] 16329 | | _ => {} [INFO] [stdout] 16330 | | } [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:16363:17 [INFO] [stdout] | [INFO] [stdout] 16363 | / match &parsed_error.code[..] { [INFO] [stdout] 16364 | | _ => {} [INFO] [stdout] 16365 | | } [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:16396:17 [INFO] [stdout] | [INFO] [stdout] 16396 | / match &parsed_error.code[..] { [INFO] [stdout] 16397 | | _ => {} [INFO] [stdout] 16398 | | } [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:16431:17 [INFO] [stdout] | [INFO] [stdout] 16431 | / match &parsed_error.code[..] { [INFO] [stdout] 16432 | | _ => {} [INFO] [stdout] 16433 | | } [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:16464:17 [INFO] [stdout] | [INFO] [stdout] 16464 | / match &parsed_error.code[..] { [INFO] [stdout] 16465 | | _ => {} [INFO] [stdout] 16466 | | } [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:16497:17 [INFO] [stdout] | [INFO] [stdout] 16497 | / match &parsed_error.code[..] { [INFO] [stdout] 16498 | | _ => {} [INFO] [stdout] 16499 | | } [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:16532:17 [INFO] [stdout] | [INFO] [stdout] 16532 | / match &parsed_error.code[..] { [INFO] [stdout] 16533 | | _ => {} [INFO] [stdout] 16534 | | } [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:16565:17 [INFO] [stdout] | [INFO] [stdout] 16565 | / match &parsed_error.code[..] { [INFO] [stdout] 16566 | | _ => {} [INFO] [stdout] 16567 | | } [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:16600:17 [INFO] [stdout] | [INFO] [stdout] 16600 | / match &parsed_error.code[..] { [INFO] [stdout] 16601 | | _ => {} [INFO] [stdout] 16602 | | } [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:16635:17 [INFO] [stdout] | [INFO] [stdout] 16635 | / match &parsed_error.code[..] { [INFO] [stdout] 16636 | | _ => {} [INFO] [stdout] 16637 | | } [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:16668:17 [INFO] [stdout] | [INFO] [stdout] 16668 | / match &parsed_error.code[..] { [INFO] [stdout] 16669 | | _ => {} [INFO] [stdout] 16670 | | } [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:16701:17 [INFO] [stdout] | [INFO] [stdout] 16701 | / match &parsed_error.code[..] { [INFO] [stdout] 16702 | | _ => {} [INFO] [stdout] 16703 | | } [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:16734:17 [INFO] [stdout] | [INFO] [stdout] 16734 | / match &parsed_error.code[..] { [INFO] [stdout] 16735 | | _ => {} [INFO] [stdout] 16736 | | } [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:16767:17 [INFO] [stdout] | [INFO] [stdout] 16767 | / match &parsed_error.code[..] { [INFO] [stdout] 16768 | | _ => {} [INFO] [stdout] 16769 | | } [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:16800:17 [INFO] [stdout] | [INFO] [stdout] 16800 | / match &parsed_error.code[..] { [INFO] [stdout] 16801 | | _ => {} [INFO] [stdout] 16802 | | } [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:16833:17 [INFO] [stdout] | [INFO] [stdout] 16833 | / match &parsed_error.code[..] { [INFO] [stdout] 16834 | | _ => {} [INFO] [stdout] 16835 | | } [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:16866:17 [INFO] [stdout] | [INFO] [stdout] 16866 | / match &parsed_error.code[..] { [INFO] [stdout] 16867 | | _ => {} [INFO] [stdout] 16868 | | } [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:16953:17 [INFO] [stdout] | [INFO] [stdout] 16953 | / match &parsed_error.code[..] { [INFO] [stdout] 16954 | | "NoSuchKey" => { [INFO] [stdout] 16955 | | return RusotoError::Service(GetObjectAclError::NoSuchKey( [INFO] [stdout] 16956 | | parsed_error.message, [INFO] [stdout] ... | [INFO] [stdout] 16959 | | _ => {} [INFO] [stdout] 16960 | | } [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] 16953 ~ if &parsed_error.code[..] == "NoSuchKey" { [INFO] [stdout] 16954 + return RusotoError::Service(GetObjectAclError::NoSuchKey( [INFO] [stdout] 16955 + parsed_error.message, [INFO] [stdout] 16956 + )) [INFO] [stdout] 16957 + } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this match could be replaced by its body itself [INFO] [stdout] --> src/generated.rs:16993:17 [INFO] [stdout] | [INFO] [stdout] 16993 | / match &parsed_error.code[..] { [INFO] [stdout] 16994 | | _ => {} [INFO] [stdout] 16995 | | } [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:17028:17 [INFO] [stdout] | [INFO] [stdout] 17028 | / match &parsed_error.code[..] { [INFO] [stdout] 17029 | | _ => {} [INFO] [stdout] 17030 | | } [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:17061:17 [INFO] [stdout] | [INFO] [stdout] 17061 | / match &parsed_error.code[..] { [INFO] [stdout] 17062 | | _ => {} [INFO] [stdout] 17063 | | } [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:17094:17 [INFO] [stdout] | [INFO] [stdout] 17094 | / match &parsed_error.code[..] { [INFO] [stdout] 17095 | | _ => {} [INFO] [stdout] 17096 | | } [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:17127:17 [INFO] [stdout] | [INFO] [stdout] 17127 | / match &parsed_error.code[..] { [INFO] [stdout] 17128 | | _ => {} [INFO] [stdout] 17129 | | } [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:17160:17 [INFO] [stdout] | [INFO] [stdout] 17160 | / match &parsed_error.code[..] { [INFO] [stdout] 17161 | | _ => {} [INFO] [stdout] 17162 | | } [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:17196:17 [INFO] [stdout] | [INFO] [stdout] 17196 | / match &parsed_error.code[..] { [INFO] [stdout] 17197 | | "NoSuchBucket" => { [INFO] [stdout] 17198 | | return RusotoError::Service(HeadBucketError::NoSuchBucket( [INFO] [stdout] 17199 | | parsed_error.message, [INFO] [stdout] ... | [INFO] [stdout] 17202 | | _ => {} [INFO] [stdout] 17203 | | } [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] 17196 ~ if &parsed_error.code[..] == "NoSuchBucket" { [INFO] [stdout] 17197 + return RusotoError::Service(HeadBucketError::NoSuchBucket( [INFO] [stdout] 17198 + parsed_error.message, [INFO] [stdout] 17199 + )) [INFO] [stdout] 17200 + } [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:17239:17 [INFO] [stdout] | [INFO] [stdout] 17239 | / match &parsed_error.code[..] { [INFO] [stdout] 17240 | | "NoSuchKey" => { [INFO] [stdout] 17241 | | return RusotoError::Service(HeadObjectError::NoSuchKey( [INFO] [stdout] 17242 | | parsed_error.message, [INFO] [stdout] ... | [INFO] [stdout] 17245 | | _ => {} [INFO] [stdout] 17246 | | } [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] 17239 ~ if &parsed_error.code[..] == "NoSuchKey" { [INFO] [stdout] 17240 + return RusotoError::Service(HeadObjectError::NoSuchKey( [INFO] [stdout] 17241 + parsed_error.message, [INFO] [stdout] 17242 + )) [INFO] [stdout] 17243 + } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this match could be replaced by its body itself [INFO] [stdout] --> src/generated.rs:17281:17 [INFO] [stdout] | [INFO] [stdout] 17281 | / match &parsed_error.code[..] { [INFO] [stdout] 17282 | | _ => {} [INFO] [stdout] 17283 | | } [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:17316:17 [INFO] [stdout] | [INFO] [stdout] 17316 | / match &parsed_error.code[..] { [INFO] [stdout] 17317 | | _ => {} [INFO] [stdout] 17318 | | } [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:17351:17 [INFO] [stdout] | [INFO] [stdout] 17351 | / match &parsed_error.code[..] { [INFO] [stdout] 17352 | | _ => {} [INFO] [stdout] 17353 | | } [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:17386:17 [INFO] [stdout] | [INFO] [stdout] 17386 | / match &parsed_error.code[..] { [INFO] [stdout] 17387 | | _ => {} [INFO] [stdout] 17388 | | } [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:17419:17 [INFO] [stdout] | [INFO] [stdout] 17419 | / match &parsed_error.code[..] { [INFO] [stdout] 17420 | | _ => {} [INFO] [stdout] 17421 | | } [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:17452:17 [INFO] [stdout] | [INFO] [stdout] 17452 | / match &parsed_error.code[..] { [INFO] [stdout] 17453 | | _ => {} [INFO] [stdout] 17454 | | } [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:17485:17 [INFO] [stdout] | [INFO] [stdout] 17485 | / match &parsed_error.code[..] { [INFO] [stdout] 17486 | | _ => {} [INFO] [stdout] 17487 | | } [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:17521:17 [INFO] [stdout] | [INFO] [stdout] 17521 | / match &parsed_error.code[..] { [INFO] [stdout] 17522 | | "NoSuchBucket" => { [INFO] [stdout] 17523 | | return RusotoError::Service(ListObjectsError::NoSuchBucket( [INFO] [stdout] 17524 | | parsed_error.message, [INFO] [stdout] ... | [INFO] [stdout] 17527 | | _ => {} [INFO] [stdout] 17528 | | } [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] 17521 ~ if &parsed_error.code[..] == "NoSuchBucket" { [INFO] [stdout] 17522 + return RusotoError::Service(ListObjectsError::NoSuchBucket( [INFO] [stdout] 17523 + parsed_error.message, [INFO] [stdout] 17524 + )) [INFO] [stdout] 17525 + } [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:17564:17 [INFO] [stdout] | [INFO] [stdout] 17564 | / match &parsed_error.code[..] { [INFO] [stdout] 17565 | | "NoSuchBucket" => { [INFO] [stdout] 17566 | | return RusotoError::Service(ListObjectsV2Error::NoSuchBucket( [INFO] [stdout] 17567 | | parsed_error.message, [INFO] [stdout] ... | [INFO] [stdout] 17570 | | _ => {} [INFO] [stdout] 17571 | | } [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] 17564 ~ if &parsed_error.code[..] == "NoSuchBucket" { [INFO] [stdout] 17565 + return RusotoError::Service(ListObjectsV2Error::NoSuchBucket( [INFO] [stdout] 17566 + parsed_error.message, [INFO] [stdout] 17567 + )) [INFO] [stdout] 17568 + } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this match could be replaced by its body itself [INFO] [stdout] --> src/generated.rs:17604:17 [INFO] [stdout] | [INFO] [stdout] 17604 | / match &parsed_error.code[..] { [INFO] [stdout] 17605 | | _ => {} [INFO] [stdout] 17606 | | } [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:17639:17 [INFO] [stdout] | [INFO] [stdout] 17639 | / match &parsed_error.code[..] { [INFO] [stdout] 17640 | | _ => {} [INFO] [stdout] 17641 | | } [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:17672:17 [INFO] [stdout] | [INFO] [stdout] 17672 | / match &parsed_error.code[..] { [INFO] [stdout] 17673 | | _ => {} [INFO] [stdout] 17674 | | } [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:17707:17 [INFO] [stdout] | [INFO] [stdout] 17707 | / match &parsed_error.code[..] { [INFO] [stdout] 17708 | | _ => {} [INFO] [stdout] 17709 | | } [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:17740:17 [INFO] [stdout] | [INFO] [stdout] 17740 | / match &parsed_error.code[..] { [INFO] [stdout] 17741 | | _ => {} [INFO] [stdout] 17742 | | } [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:17773:17 [INFO] [stdout] | [INFO] [stdout] 17773 | / match &parsed_error.code[..] { [INFO] [stdout] 17774 | | _ => {} [INFO] [stdout] 17775 | | } [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:17808:17 [INFO] [stdout] | [INFO] [stdout] 17808 | / match &parsed_error.code[..] { [INFO] [stdout] 17809 | | _ => {} [INFO] [stdout] 17810 | | } [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:17843:17 [INFO] [stdout] | [INFO] [stdout] 17843 | / match &parsed_error.code[..] { [INFO] [stdout] 17844 | | _ => {} [INFO] [stdout] 17845 | | } [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:17876:17 [INFO] [stdout] | [INFO] [stdout] 17876 | / match &parsed_error.code[..] { [INFO] [stdout] 17877 | | _ => {} [INFO] [stdout] 17878 | | } [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:17911:17 [INFO] [stdout] | [INFO] [stdout] 17911 | / match &parsed_error.code[..] { [INFO] [stdout] 17912 | | _ => {} [INFO] [stdout] 17913 | | } [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:17944:17 [INFO] [stdout] | [INFO] [stdout] 17944 | / match &parsed_error.code[..] { [INFO] [stdout] 17945 | | _ => {} [INFO] [stdout] 17946 | | } [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:17979:17 [INFO] [stdout] | [INFO] [stdout] 17979 | / match &parsed_error.code[..] { [INFO] [stdout] 17980 | | _ => {} [INFO] [stdout] 17981 | | } [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:18012:17 [INFO] [stdout] | [INFO] [stdout] 18012 | / match &parsed_error.code[..] { [INFO] [stdout] 18013 | | _ => {} [INFO] [stdout] 18014 | | } [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:18047:17 [INFO] [stdout] | [INFO] [stdout] 18047 | / match &parsed_error.code[..] { [INFO] [stdout] 18048 | | _ => {} [INFO] [stdout] 18049 | | } [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:18082:17 [INFO] [stdout] | [INFO] [stdout] 18082 | / match &parsed_error.code[..] { [INFO] [stdout] 18083 | | _ => {} [INFO] [stdout] 18084 | | } [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:18115:17 [INFO] [stdout] | [INFO] [stdout] 18115 | / match &parsed_error.code[..] { [INFO] [stdout] 18116 | | _ => {} [INFO] [stdout] 18117 | | } [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:18148:17 [INFO] [stdout] | [INFO] [stdout] 18148 | / match &parsed_error.code[..] { [INFO] [stdout] 18149 | | _ => {} [INFO] [stdout] 18150 | | } [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:18181:17 [INFO] [stdout] | [INFO] [stdout] 18181 | / match &parsed_error.code[..] { [INFO] [stdout] 18182 | | _ => {} [INFO] [stdout] 18183 | | } [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:18214:17 [INFO] [stdout] | [INFO] [stdout] 18214 | / match &parsed_error.code[..] { [INFO] [stdout] 18215 | | _ => {} [INFO] [stdout] 18216 | | } [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:18247:17 [INFO] [stdout] | [INFO] [stdout] 18247 | / match &parsed_error.code[..] { [INFO] [stdout] 18248 | | _ => {} [INFO] [stdout] 18249 | | } [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:18280:17 [INFO] [stdout] | [INFO] [stdout] 18280 | / match &parsed_error.code[..] { [INFO] [stdout] 18281 | | _ => {} [INFO] [stdout] 18282 | | } [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:18313:17 [INFO] [stdout] | [INFO] [stdout] 18313 | / match &parsed_error.code[..] { [INFO] [stdout] 18314 | | _ => {} [INFO] [stdout] 18315 | | } [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:18349:17 [INFO] [stdout] | [INFO] [stdout] 18349 | / match &parsed_error.code[..] { [INFO] [stdout] 18350 | | "NoSuchKey" => { [INFO] [stdout] 18351 | | return RusotoError::Service(PutObjectAclError::NoSuchKey( [INFO] [stdout] 18352 | | parsed_error.message, [INFO] [stdout] ... | [INFO] [stdout] 18355 | | _ => {} [INFO] [stdout] 18356 | | } [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] 18349 ~ if &parsed_error.code[..] == "NoSuchKey" { [INFO] [stdout] 18350 + return RusotoError::Service(PutObjectAclError::NoSuchKey( [INFO] [stdout] 18351 + parsed_error.message, [INFO] [stdout] 18352 + )) [INFO] [stdout] 18353 + } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this match could be replaced by its body itself [INFO] [stdout] --> src/generated.rs:18389:17 [INFO] [stdout] | [INFO] [stdout] 18389 | / match &parsed_error.code[..] { [INFO] [stdout] 18390 | | _ => {} [INFO] [stdout] 18391 | | } [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:18424:17 [INFO] [stdout] | [INFO] [stdout] 18424 | / match &parsed_error.code[..] { [INFO] [stdout] 18425 | | _ => {} [INFO] [stdout] 18426 | | } [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:18457:17 [INFO] [stdout] | [INFO] [stdout] 18457 | / match &parsed_error.code[..] { [INFO] [stdout] 18458 | | _ => {} [INFO] [stdout] 18459 | | } [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:18490:17 [INFO] [stdout] | [INFO] [stdout] 18490 | / match &parsed_error.code[..] { [INFO] [stdout] 18491 | | _ => {} [INFO] [stdout] 18492 | | } [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:18523:17 [INFO] [stdout] | [INFO] [stdout] 18523 | / match &parsed_error.code[..] { [INFO] [stdout] 18524 | | _ => {} [INFO] [stdout] 18525 | | } [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:18559:17 [INFO] [stdout] | [INFO] [stdout] 18559 | / match &parsed_error.code[..] { [INFO] [stdout] 18560 | | "ObjectAlreadyInActiveTierError" => { [INFO] [stdout] 18561 | | return RusotoError::Service( [INFO] [stdout] 18562 | | RestoreObjectError::ObjectAlreadyInActiveTierError( [INFO] [stdout] ... | [INFO] [stdout] 18567 | | _ => {} [INFO] [stdout] 18568 | | } [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] 18559 ~ if &parsed_error.code[..] == "ObjectAlreadyInActiveTierError" { [INFO] [stdout] 18560 + return RusotoError::Service( [INFO] [stdout] 18561 + RestoreObjectError::ObjectAlreadyInActiveTierError( [INFO] [stdout] 18562 + parsed_error.message, [INFO] [stdout] 18563 + ), [INFO] [stdout] 18564 + ) [INFO] [stdout] 18565 + } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this match could be replaced by its body itself [INFO] [stdout] --> src/generated.rs:18601:17 [INFO] [stdout] | [INFO] [stdout] 18601 | / match &parsed_error.code[..] { [INFO] [stdout] 18602 | | _ => {} [INFO] [stdout] 18603 | | } [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:18634:17 [INFO] [stdout] | [INFO] [stdout] 18634 | / match &parsed_error.code[..] { [INFO] [stdout] 18635 | | _ => {} [INFO] [stdout] 18636 | | } [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:18667:17 [INFO] [stdout] | [INFO] [stdout] 18667 | / match &parsed_error.code[..] { [INFO] [stdout] 18668 | | _ => {} [INFO] [stdout] 18669 | | } [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:18700:17 [INFO] [stdout] | [INFO] [stdout] 18700 | / match &parsed_error.code[..] { [INFO] [stdout] 18701 | | _ => {} [INFO] [stdout] 18702 | | } [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:15386:17 [INFO] [stdout] | [INFO] [stdout] 15386 | / match &parsed_error.code[..] { [INFO] [stdout] 15387 | | "NoSuchUpload" => { [INFO] [stdout] 15388 | | return RusotoError::Service(AbortMultipartUploadError::NoSuchUpload( [INFO] [stdout] 15389 | | parsed_error.message, [INFO] [stdout] ... | [INFO] [stdout] 15392 | | _ => {} [INFO] [stdout] 15393 | | } [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] 15386 ~ if &parsed_error.code[..] == "NoSuchUpload" { [INFO] [stdout] 15387 + return RusotoError::Service(AbortMultipartUploadError::NoSuchUpload( [INFO] [stdout] 15388 + parsed_error.message, [INFO] [stdout] 15389 + )) [INFO] [stdout] 15390 + } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this match could be replaced by its body itself [INFO] [stdout] --> src/generated.rs:15426:17 [INFO] [stdout] | [INFO] [stdout] 15426 | / match &parsed_error.code[..] { [INFO] [stdout] 15427 | | _ => {} [INFO] [stdout] 15428 | | } [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:15462:17 [INFO] [stdout] | [INFO] [stdout] 15462 | / match &parsed_error.code[..] { [INFO] [stdout] 15463 | | "ObjectNotInActiveTierError" => { [INFO] [stdout] 15464 | | return RusotoError::Service(CopyObjectError::ObjectNotInActiveTierError( [INFO] [stdout] 15465 | | parsed_error.message, [INFO] [stdout] ... | [INFO] [stdout] 15468 | | _ => {} [INFO] [stdout] 15469 | | } [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] 15462 ~ if &parsed_error.code[..] == "ObjectNotInActiveTierError" { [INFO] [stdout] 15463 + return RusotoError::Service(CopyObjectError::ObjectNotInActiveTierError( [INFO] [stdout] 15464 + parsed_error.message, [INFO] [stdout] 15465 + )) [INFO] [stdout] 15466 + } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this match could be replaced by its body itself [INFO] [stdout] --> src/generated.rs:15553:17 [INFO] [stdout] | [INFO] [stdout] 15553 | / match &parsed_error.code[..] { [INFO] [stdout] 15554 | | _ => {} [INFO] [stdout] 15555 | | } [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:15586:17 [INFO] [stdout] | [INFO] [stdout] 15586 | / match &parsed_error.code[..] { [INFO] [stdout] 15587 | | _ => {} [INFO] [stdout] 15588 | | } [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:15621:17 [INFO] [stdout] | [INFO] [stdout] 15621 | / match &parsed_error.code[..] { [INFO] [stdout] 15622 | | _ => {} [INFO] [stdout] 15623 | | } [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:15654:17 [INFO] [stdout] | [INFO] [stdout] 15654 | / match &parsed_error.code[..] { [INFO] [stdout] 15655 | | _ => {} [INFO] [stdout] 15656 | | } [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:15687:17 [INFO] [stdout] | [INFO] [stdout] 15687 | / match &parsed_error.code[..] { [INFO] [stdout] 15688 | | _ => {} [INFO] [stdout] 15689 | | } [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:15722:17 [INFO] [stdout] | [INFO] [stdout] 15722 | / match &parsed_error.code[..] { [INFO] [stdout] 15723 | | _ => {} [INFO] [stdout] 15724 | | } [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:15757:17 [INFO] [stdout] | [INFO] [stdout] 15757 | / match &parsed_error.code[..] { [INFO] [stdout] 15758 | | _ => {} [INFO] [stdout] 15759 | | } [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:15790:17 [INFO] [stdout] | [INFO] [stdout] 15790 | / match &parsed_error.code[..] { [INFO] [stdout] 15791 | | _ => {} [INFO] [stdout] 15792 | | } [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:15825:17 [INFO] [stdout] | [INFO] [stdout] 15825 | / match &parsed_error.code[..] { [INFO] [stdout] 15826 | | _ => {} [INFO] [stdout] 15827 | | } [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:15860:17 [INFO] [stdout] | [INFO] [stdout] 15860 | / match &parsed_error.code[..] { [INFO] [stdout] 15861 | | _ => {} [INFO] [stdout] 15862 | | } [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:15893:17 [INFO] [stdout] | [INFO] [stdout] 15893 | / match &parsed_error.code[..] { [INFO] [stdout] 15894 | | _ => {} [INFO] [stdout] 15895 | | } [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:15926:17 [INFO] [stdout] | [INFO] [stdout] 15926 | / match &parsed_error.code[..] { [INFO] [stdout] 15927 | | _ => {} [INFO] [stdout] 15928 | | } [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:15959:17 [INFO] [stdout] | [INFO] [stdout] 15959 | / match &parsed_error.code[..] { [INFO] [stdout] 15960 | | _ => {} [INFO] [stdout] 15961 | | } [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:15992:17 [INFO] [stdout] | [INFO] [stdout] 15992 | / match &parsed_error.code[..] { [INFO] [stdout] 15993 | | _ => {} [INFO] [stdout] 15994 | | } [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:16025:17 [INFO] [stdout] | [INFO] [stdout] 16025 | / match &parsed_error.code[..] { [INFO] [stdout] 16026 | | _ => {} [INFO] [stdout] 16027 | | } [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:16058:17 [INFO] [stdout] | [INFO] [stdout] 16058 | / match &parsed_error.code[..] { [INFO] [stdout] 16059 | | _ => {} [INFO] [stdout] 16060 | | } [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:16091:17 [INFO] [stdout] | [INFO] [stdout] 16091 | / match &parsed_error.code[..] { [INFO] [stdout] 16092 | | _ => {} [INFO] [stdout] 16093 | | } [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:16124:17 [INFO] [stdout] | [INFO] [stdout] 16124 | / match &parsed_error.code[..] { [INFO] [stdout] 16125 | | _ => {} [INFO] [stdout] 16126 | | } [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:16159:17 [INFO] [stdout] | [INFO] [stdout] 16159 | / match &parsed_error.code[..] { [INFO] [stdout] 16160 | | _ => {} [INFO] [stdout] 16161 | | } [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:16192:17 [INFO] [stdout] | [INFO] [stdout] 16192 | / match &parsed_error.code[..] { [INFO] [stdout] 16193 | | _ => {} [INFO] [stdout] 16194 | | } [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:16227:17 [INFO] [stdout] | [INFO] [stdout] 16227 | / match &parsed_error.code[..] { [INFO] [stdout] 16228 | | _ => {} [INFO] [stdout] 16229 | | } [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:16260:17 [INFO] [stdout] | [INFO] [stdout] 16260 | / match &parsed_error.code[..] { [INFO] [stdout] 16261 | | _ => {} [INFO] [stdout] 16262 | | } [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:16293:17 [INFO] [stdout] | [INFO] [stdout] 16293 | / match &parsed_error.code[..] { [INFO] [stdout] 16294 | | _ => {} [INFO] [stdout] 16295 | | } [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:16328:17 [INFO] [stdout] | [INFO] [stdout] 16328 | / match &parsed_error.code[..] { [INFO] [stdout] 16329 | | _ => {} [INFO] [stdout] 16330 | | } [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:16363:17 [INFO] [stdout] | [INFO] [stdout] 16363 | / match &parsed_error.code[..] { [INFO] [stdout] 16364 | | _ => {} [INFO] [stdout] 16365 | | } [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:16396:17 [INFO] [stdout] | [INFO] [stdout] 16396 | / match &parsed_error.code[..] { [INFO] [stdout] 16397 | | _ => {} [INFO] [stdout] 16398 | | } [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:16431:17 [INFO] [stdout] | [INFO] [stdout] 16431 | / match &parsed_error.code[..] { [INFO] [stdout] 16432 | | _ => {} [INFO] [stdout] 16433 | | } [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:16464:17 [INFO] [stdout] | [INFO] [stdout] 16464 | / match &parsed_error.code[..] { [INFO] [stdout] 16465 | | _ => {} [INFO] [stdout] 16466 | | } [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:16497:17 [INFO] [stdout] | [INFO] [stdout] 16497 | / match &parsed_error.code[..] { [INFO] [stdout] 16498 | | _ => {} [INFO] [stdout] 16499 | | } [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:16532:17 [INFO] [stdout] | [INFO] [stdout] 16532 | / match &parsed_error.code[..] { [INFO] [stdout] 16533 | | _ => {} [INFO] [stdout] 16534 | | } [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:16565:17 [INFO] [stdout] | [INFO] [stdout] 16565 | / match &parsed_error.code[..] { [INFO] [stdout] 16566 | | _ => {} [INFO] [stdout] 16567 | | } [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:16600:17 [INFO] [stdout] | [INFO] [stdout] 16600 | / match &parsed_error.code[..] { [INFO] [stdout] 16601 | | _ => {} [INFO] [stdout] 16602 | | } [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:16635:17 [INFO] [stdout] | [INFO] [stdout] 16635 | / match &parsed_error.code[..] { [INFO] [stdout] 16636 | | _ => {} [INFO] [stdout] 16637 | | } [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:16668:17 [INFO] [stdout] | [INFO] [stdout] 16668 | / match &parsed_error.code[..] { [INFO] [stdout] 16669 | | _ => {} [INFO] [stdout] 16670 | | } [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:16701:17 [INFO] [stdout] | [INFO] [stdout] 16701 | / match &parsed_error.code[..] { [INFO] [stdout] 16702 | | _ => {} [INFO] [stdout] 16703 | | } [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:16734:17 [INFO] [stdout] | [INFO] [stdout] 16734 | / match &parsed_error.code[..] { [INFO] [stdout] 16735 | | _ => {} [INFO] [stdout] 16736 | | } [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:16767:17 [INFO] [stdout] | [INFO] [stdout] 16767 | / match &parsed_error.code[..] { [INFO] [stdout] 16768 | | _ => {} [INFO] [stdout] 16769 | | } [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:16800:17 [INFO] [stdout] | [INFO] [stdout] 16800 | / match &parsed_error.code[..] { [INFO] [stdout] 16801 | | _ => {} [INFO] [stdout] 16802 | | } [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:16833:17 [INFO] [stdout] | [INFO] [stdout] 16833 | / match &parsed_error.code[..] { [INFO] [stdout] 16834 | | _ => {} [INFO] [stdout] 16835 | | } [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:16866:17 [INFO] [stdout] | [INFO] [stdout] 16866 | / match &parsed_error.code[..] { [INFO] [stdout] 16867 | | _ => {} [INFO] [stdout] 16868 | | } [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:16953:17 [INFO] [stdout] | [INFO] [stdout] 16953 | / match &parsed_error.code[..] { [INFO] [stdout] 16954 | | "NoSuchKey" => { [INFO] [stdout] 16955 | | return RusotoError::Service(GetObjectAclError::NoSuchKey( [INFO] [stdout] 16956 | | parsed_error.message, [INFO] [stdout] ... | [INFO] [stdout] 16959 | | _ => {} [INFO] [stdout] 16960 | | } [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] 16953 ~ if &parsed_error.code[..] == "NoSuchKey" { [INFO] [stdout] 16954 + return RusotoError::Service(GetObjectAclError::NoSuchKey( [INFO] [stdout] 16955 + parsed_error.message, [INFO] [stdout] 16956 + )) [INFO] [stdout] 16957 + } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this match could be replaced by its body itself [INFO] [stdout] --> src/generated.rs:16993:17 [INFO] [stdout] | [INFO] [stdout] 16993 | / match &parsed_error.code[..] { [INFO] [stdout] 16994 | | _ => {} [INFO] [stdout] 16995 | | } [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:17028:17 [INFO] [stdout] | [INFO] [stdout] 17028 | / match &parsed_error.code[..] { [INFO] [stdout] 17029 | | _ => {} [INFO] [stdout] 17030 | | } [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:17061:17 [INFO] [stdout] | [INFO] [stdout] 17061 | / match &parsed_error.code[..] { [INFO] [stdout] 17062 | | _ => {} [INFO] [stdout] 17063 | | } [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:17094:17 [INFO] [stdout] | [INFO] [stdout] 17094 | / match &parsed_error.code[..] { [INFO] [stdout] 17095 | | _ => {} [INFO] [stdout] 17096 | | } [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:17127:17 [INFO] [stdout] | [INFO] [stdout] 17127 | / match &parsed_error.code[..] { [INFO] [stdout] 17128 | | _ => {} [INFO] [stdout] 17129 | | } [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:17160:17 [INFO] [stdout] | [INFO] [stdout] 17160 | / match &parsed_error.code[..] { [INFO] [stdout] 17161 | | _ => {} [INFO] [stdout] 17162 | | } [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:17196:17 [INFO] [stdout] | [INFO] [stdout] 17196 | / match &parsed_error.code[..] { [INFO] [stdout] 17197 | | "NoSuchBucket" => { [INFO] [stdout] 17198 | | return RusotoError::Service(HeadBucketError::NoSuchBucket( [INFO] [stdout] 17199 | | parsed_error.message, [INFO] [stdout] ... | [INFO] [stdout] 17202 | | _ => {} [INFO] [stdout] 17203 | | } [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] 17196 ~ if &parsed_error.code[..] == "NoSuchBucket" { [INFO] [stdout] 17197 + return RusotoError::Service(HeadBucketError::NoSuchBucket( [INFO] [stdout] 17198 + parsed_error.message, [INFO] [stdout] 17199 + )) [INFO] [stdout] 17200 + } [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:17239:17 [INFO] [stdout] | [INFO] [stdout] 17239 | / match &parsed_error.code[..] { [INFO] [stdout] 17240 | | "NoSuchKey" => { [INFO] [stdout] 17241 | | return RusotoError::Service(HeadObjectError::NoSuchKey( [INFO] [stdout] 17242 | | parsed_error.message, [INFO] [stdout] ... | [INFO] [stdout] 17245 | | _ => {} [INFO] [stdout] 17246 | | } [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] 17239 ~ if &parsed_error.code[..] == "NoSuchKey" { [INFO] [stdout] 17240 + return RusotoError::Service(HeadObjectError::NoSuchKey( [INFO] [stdout] 17241 + parsed_error.message, [INFO] [stdout] 17242 + )) [INFO] [stdout] 17243 + } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this match could be replaced by its body itself [INFO] [stdout] --> src/generated.rs:17281:17 [INFO] [stdout] | [INFO] [stdout] 17281 | / match &parsed_error.code[..] { [INFO] [stdout] 17282 | | _ => {} [INFO] [stdout] 17283 | | } [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:17316:17 [INFO] [stdout] | [INFO] [stdout] 17316 | / match &parsed_error.code[..] { [INFO] [stdout] 17317 | | _ => {} [INFO] [stdout] 17318 | | } [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:17351:17 [INFO] [stdout] | [INFO] [stdout] 17351 | / match &parsed_error.code[..] { [INFO] [stdout] 17352 | | _ => {} [INFO] [stdout] 17353 | | } [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:17386:17 [INFO] [stdout] | [INFO] [stdout] 17386 | / match &parsed_error.code[..] { [INFO] [stdout] 17387 | | _ => {} [INFO] [stdout] 17388 | | } [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:17419:17 [INFO] [stdout] | [INFO] [stdout] 17419 | / match &parsed_error.code[..] { [INFO] [stdout] 17420 | | _ => {} [INFO] [stdout] 17421 | | } [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:17452:17 [INFO] [stdout] | [INFO] [stdout] 17452 | / match &parsed_error.code[..] { [INFO] [stdout] 17453 | | _ => {} [INFO] [stdout] 17454 | | } [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:17485:17 [INFO] [stdout] | [INFO] [stdout] 17485 | / match &parsed_error.code[..] { [INFO] [stdout] 17486 | | _ => {} [INFO] [stdout] 17487 | | } [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:17521:17 [INFO] [stdout] | [INFO] [stdout] 17521 | / match &parsed_error.code[..] { [INFO] [stdout] 17522 | | "NoSuchBucket" => { [INFO] [stdout] 17523 | | return RusotoError::Service(ListObjectsError::NoSuchBucket( [INFO] [stdout] 17524 | | parsed_error.message, [INFO] [stdout] ... | [INFO] [stdout] 17527 | | _ => {} [INFO] [stdout] 17528 | | } [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] 17521 ~ if &parsed_error.code[..] == "NoSuchBucket" { [INFO] [stdout] 17522 + return RusotoError::Service(ListObjectsError::NoSuchBucket( [INFO] [stdout] 17523 + parsed_error.message, [INFO] [stdout] 17524 + )) [INFO] [stdout] 17525 + } [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:17564:17 [INFO] [stdout] | [INFO] [stdout] 17564 | / match &parsed_error.code[..] { [INFO] [stdout] 17565 | | "NoSuchBucket" => { [INFO] [stdout] 17566 | | return RusotoError::Service(ListObjectsV2Error::NoSuchBucket( [INFO] [stdout] 17567 | | parsed_error.message, [INFO] [stdout] ... | [INFO] [stdout] 17570 | | _ => {} [INFO] [stdout] 17571 | | } [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] 17564 ~ if &parsed_error.code[..] == "NoSuchBucket" { [INFO] [stdout] 17565 + return RusotoError::Service(ListObjectsV2Error::NoSuchBucket( [INFO] [stdout] 17566 + parsed_error.message, [INFO] [stdout] 17567 + )) [INFO] [stdout] 17568 + } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this match could be replaced by its body itself [INFO] [stdout] --> src/generated.rs:17604:17 [INFO] [stdout] | [INFO] [stdout] 17604 | / match &parsed_error.code[..] { [INFO] [stdout] 17605 | | _ => {} [INFO] [stdout] 17606 | | } [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:17639:17 [INFO] [stdout] | [INFO] [stdout] 17639 | / match &parsed_error.code[..] { [INFO] [stdout] 17640 | | _ => {} [INFO] [stdout] 17641 | | } [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:17672:17 [INFO] [stdout] | [INFO] [stdout] 17672 | / match &parsed_error.code[..] { [INFO] [stdout] 17673 | | _ => {} [INFO] [stdout] 17674 | | } [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:17707:17 [INFO] [stdout] | [INFO] [stdout] 17707 | / match &parsed_error.code[..] { [INFO] [stdout] 17708 | | _ => {} [INFO] [stdout] 17709 | | } [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:17740:17 [INFO] [stdout] | [INFO] [stdout] 17740 | / match &parsed_error.code[..] { [INFO] [stdout] 17741 | | _ => {} [INFO] [stdout] 17742 | | } [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:17773:17 [INFO] [stdout] | [INFO] [stdout] 17773 | / match &parsed_error.code[..] { [INFO] [stdout] 17774 | | _ => {} [INFO] [stdout] 17775 | | } [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:17808:17 [INFO] [stdout] | [INFO] [stdout] 17808 | / match &parsed_error.code[..] { [INFO] [stdout] 17809 | | _ => {} [INFO] [stdout] 17810 | | } [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:17843:17 [INFO] [stdout] | [INFO] [stdout] 17843 | / match &parsed_error.code[..] { [INFO] [stdout] 17844 | | _ => {} [INFO] [stdout] 17845 | | } [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:17876:17 [INFO] [stdout] | [INFO] [stdout] 17876 | / match &parsed_error.code[..] { [INFO] [stdout] 17877 | | _ => {} [INFO] [stdout] 17878 | | } [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:17911:17 [INFO] [stdout] | [INFO] [stdout] 17911 | / match &parsed_error.code[..] { [INFO] [stdout] 17912 | | _ => {} [INFO] [stdout] 17913 | | } [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:17944:17 [INFO] [stdout] | [INFO] [stdout] 17944 | / match &parsed_error.code[..] { [INFO] [stdout] 17945 | | _ => {} [INFO] [stdout] 17946 | | } [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:17979:17 [INFO] [stdout] | [INFO] [stdout] 17979 | / match &parsed_error.code[..] { [INFO] [stdout] 17980 | | _ => {} [INFO] [stdout] 17981 | | } [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:18012:17 [INFO] [stdout] | [INFO] [stdout] 18012 | / match &parsed_error.code[..] { [INFO] [stdout] 18013 | | _ => {} [INFO] [stdout] 18014 | | } [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:18047:17 [INFO] [stdout] | [INFO] [stdout] 18047 | / match &parsed_error.code[..] { [INFO] [stdout] 18048 | | _ => {} [INFO] [stdout] 18049 | | } [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:18082:17 [INFO] [stdout] | [INFO] [stdout] 18082 | / match &parsed_error.code[..] { [INFO] [stdout] 18083 | | _ => {} [INFO] [stdout] 18084 | | } [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:18115:17 [INFO] [stdout] | [INFO] [stdout] 18115 | / match &parsed_error.code[..] { [INFO] [stdout] 18116 | | _ => {} [INFO] [stdout] 18117 | | } [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:18148:17 [INFO] [stdout] | [INFO] [stdout] 18148 | / match &parsed_error.code[..] { [INFO] [stdout] 18149 | | _ => {} [INFO] [stdout] 18150 | | } [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:18181:17 [INFO] [stdout] | [INFO] [stdout] 18181 | / match &parsed_error.code[..] { [INFO] [stdout] 18182 | | _ => {} [INFO] [stdout] 18183 | | } [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:18214:17 [INFO] [stdout] | [INFO] [stdout] 18214 | / match &parsed_error.code[..] { [INFO] [stdout] 18215 | | _ => {} [INFO] [stdout] 18216 | | } [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:18247:17 [INFO] [stdout] | [INFO] [stdout] 18247 | / match &parsed_error.code[..] { [INFO] [stdout] 18248 | | _ => {} [INFO] [stdout] 18249 | | } [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:18280:17 [INFO] [stdout] | [INFO] [stdout] 18280 | / match &parsed_error.code[..] { [INFO] [stdout] 18281 | | _ => {} [INFO] [stdout] 18282 | | } [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:18313:17 [INFO] [stdout] | [INFO] [stdout] 18313 | / match &parsed_error.code[..] { [INFO] [stdout] 18314 | | _ => {} [INFO] [stdout] 18315 | | } [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:18349:17 [INFO] [stdout] | [INFO] [stdout] 18349 | / match &parsed_error.code[..] { [INFO] [stdout] 18350 | | "NoSuchKey" => { [INFO] [stdout] 18351 | | return RusotoError::Service(PutObjectAclError::NoSuchKey( [INFO] [stdout] 18352 | | parsed_error.message, [INFO] [stdout] ... | [INFO] [stdout] 18355 | | _ => {} [INFO] [stdout] 18356 | | } [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] 18349 ~ if &parsed_error.code[..] == "NoSuchKey" { [INFO] [stdout] 18350 + return RusotoError::Service(PutObjectAclError::NoSuchKey( [INFO] [stdout] 18351 + parsed_error.message, [INFO] [stdout] 18352 + )) [INFO] [stdout] 18353 + } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this match could be replaced by its body itself [INFO] [stdout] --> src/generated.rs:18389:17 [INFO] [stdout] | [INFO] [stdout] 18389 | / match &parsed_error.code[..] { [INFO] [stdout] 18390 | | _ => {} [INFO] [stdout] 18391 | | } [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:18424:17 [INFO] [stdout] | [INFO] [stdout] 18424 | / match &parsed_error.code[..] { [INFO] [stdout] 18425 | | _ => {} [INFO] [stdout] 18426 | | } [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:18457:17 [INFO] [stdout] | [INFO] [stdout] 18457 | / match &parsed_error.code[..] { [INFO] [stdout] 18458 | | _ => {} [INFO] [stdout] 18459 | | } [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:18490:17 [INFO] [stdout] | [INFO] [stdout] 18490 | / match &parsed_error.code[..] { [INFO] [stdout] 18491 | | _ => {} [INFO] [stdout] 18492 | | } [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:18523:17 [INFO] [stdout] | [INFO] [stdout] 18523 | / match &parsed_error.code[..] { [INFO] [stdout] 18524 | | _ => {} [INFO] [stdout] 18525 | | } [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:18559:17 [INFO] [stdout] | [INFO] [stdout] 18559 | / match &parsed_error.code[..] { [INFO] [stdout] 18560 | | "ObjectAlreadyInActiveTierError" => { [INFO] [stdout] 18561 | | return RusotoError::Service( [INFO] [stdout] 18562 | | RestoreObjectError::ObjectAlreadyInActiveTierError( [INFO] [stdout] ... | [INFO] [stdout] 18567 | | _ => {} [INFO] [stdout] 18568 | | } [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] 18559 ~ if &parsed_error.code[..] == "ObjectAlreadyInActiveTierError" { [INFO] [stdout] 18560 + return RusotoError::Service( [INFO] [stdout] 18561 + RestoreObjectError::ObjectAlreadyInActiveTierError( [INFO] [stdout] 18562 + parsed_error.message, [INFO] [stdout] 18563 + ), [INFO] [stdout] 18564 + ) [INFO] [stdout] 18565 + } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this match could be replaced by its body itself [INFO] [stdout] --> src/generated.rs:18601:17 [INFO] [stdout] | [INFO] [stdout] 18601 | / match &parsed_error.code[..] { [INFO] [stdout] 18602 | | _ => {} [INFO] [stdout] 18603 | | } [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:18634:17 [INFO] [stdout] | [INFO] [stdout] 18634 | / match &parsed_error.code[..] { [INFO] [stdout] 18635 | | _ => {} [INFO] [stdout] 18636 | | } [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:18667:17 [INFO] [stdout] | [INFO] [stdout] 18667 | / match &parsed_error.code[..] { [INFO] [stdout] 18668 | | _ => {} [INFO] [stdout] 18669 | | } [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:18700:17 [INFO] [stdout] | [INFO] [stdout] 18700 | / match &parsed_error.code[..] { [INFO] [stdout] 18701 | | _ => {} [INFO] [stdout] 18702 | | } [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:23411:17 [INFO] [stdout] | [INFO] [stdout] 23411 | 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:23424:17 [INFO] [stdout] | [INFO] [stdout] 23424 | 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 50.03s [INFO] running `Command { std: "docker" "inspect" "7a6bb3a3a14a6d59e48d113b3c4ae9a5a87b4143cd610b2c62e6d79b8bb33859", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7a6bb3a3a14a6d59e48d113b3c4ae9a5a87b4143cd610b2c62e6d79b8bb33859", kill_on_drop: false }` [INFO] [stdout] 7a6bb3a3a14a6d59e48d113b3c4ae9a5a87b4143cd610b2c62e6d79b8bb33859