[INFO] fetching crate nervemq 0.1.0-alpha.1... [INFO] linting nervemq-0.1.0-alpha.1 against nightly for clippy-nonminimal_bool-denied [INFO] extracting crate nervemq 0.1.0-alpha.1 into /workspace/builds/worker-2-tc1/source [INFO] started tweaking crates.io crate nervemq 0.1.0-alpha.1 [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate nervemq 0.1.0-alpha.1 [INFO] tweaked toml for crates.io crate nervemq 0.1.0-alpha.1 written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate nervemq 0.1.0-alpha.1 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] crate crates.io crate nervemq 0.1.0-alpha.1 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+nightly" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded cpufeatures v0.2.15 [INFO] [stderr] Downloaded sha2-asm v0.6.4 [INFO] [stderr] Downloaded mutually_exclusive_features v0.1.0 [INFO] [stderr] Downloaded bytestring v1.3.1 [INFO] [stderr] Downloaded impl-more v0.1.8 [INFO] [stderr] Downloaded tracing-actix-web v0.7.15 [INFO] [stderr] Downloaded serde-email v3.1.0 [INFO] [stderr] Downloaded outref v0.5.1 [INFO] [stderr] Downloaded envy v0.4.2 [INFO] [stderr] Downloaded actix-cors v0.7.0 [INFO] [stderr] Downloaded aws-smithy-json v0.61.1 [INFO] [stderr] Downloaded aws-smithy-http v0.60.11 [INFO] [stderr] Downloaded aws-runtime v1.4.4 [INFO] [stderr] Downloaded aws-smithy-types v1.2.9 [INFO] [stderr] Downloaded bon-macros v3.2.0 [INFO] [stderr] Downloaded aws-smithy-runtime-api v1.7.3 [INFO] [stderr] Downloaded aws-smithy-runtime v1.7.4 [INFO] [stderr] Downloaded sqlx-postgres v0.8.2 [INFO] [stderr] Downloaded sqlx-core v0.8.2 [INFO] [stderr] Downloaded sqlx v0.8.2 [INFO] [stderr] Downloaded actix-web v4.9.0 [INFO] [stderr] Downloaded pom v3.4.0 [INFO] [stderr] Downloaded actix-http v3.9.0 [INFO] [stderr] Downloaded aws-sdk-sqs v1.50.0 [INFO] [stderr] Downloaded snafu v0.8.5 [INFO] [stderr] Downloaded sqlx-mysql v0.8.2 [INFO] [stderr] Downloaded sqlx-sqlite v0.8.2 [INFO] [stderr] Downloaded nervemq-actix-session v0.10.2 [INFO] [stderr] Downloaded bstr v1.11.0 [INFO] [stderr] Downloaded papaya v0.1.6 [INFO] [stderr] Downloaded aws-sigv4 v1.2.6 [INFO] [stderr] Downloaded tokio-stream v0.1.16 [INFO] [stderr] Downloaded actix-server v2.5.0 [INFO] [stderr] Downloaded bon v3.2.0 [INFO] [stderr] Downloaded sqlx-macros-core v0.8.2 [INFO] [stderr] Downloaded sqlformat v0.2.6 [INFO] [stderr] Downloaded actix-tls v3.4.0 [INFO] [stderr] Downloaded base64 v0.20.0 [INFO] [stderr] Downloaded cc v1.2.1 [INFO] [stderr] Downloaded aws-credential-types v1.2.1 [INFO] [stderr] Downloaded aws-smithy-async v1.2.1 [INFO] [stderr] Downloaded nervemq-actix-identity v0.8.1 [INFO] [stderr] Downloaded seize v0.4.9 [INFO] [stderr] Downloaded whoami v1.5.2 [INFO] [stderr] Downloaded aws-sdk-kms v1.51.0 [INFO] [stderr] Downloaded actix-service v2.0.2 [INFO] [stderr] Downloaded aws-types v1.3.3 [INFO] [stderr] Downloaded snafu-derive v0.8.5 [INFO] [stderr] Downloaded sqlx-macros v0.8.2 [INFO] [stderr] Downloaded brotli v6.0.0 [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] 4655e918190bde380c1c2c39505aa43e894d73aade48d5d099f13bd92c2fc016 [INFO] running `Command { std: "docker" "start" "-a" "4655e918190bde380c1c2c39505aa43e894d73aade48d5d099f13bd92c2fc016", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4655e918190bde380c1c2c39505aa43e894d73aade48d5d099f13bd92c2fc016", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4655e918190bde380c1c2c39505aa43e894d73aade48d5d099f13bd92c2fc016", kill_on_drop: false }` [INFO] [stdout] 4655e918190bde380c1c2c39505aa43e894d73aade48d5d099f13bd92c2fc016 [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] 67ff30e996672288554d350ec23dc941ca5c5dd2f6a5c13ded8f40ec2a904815 [INFO] running `Command { std: "docker" "start" "-a" "67ff30e996672288554d350ec23dc941ca5c5dd2f6a5c13ded8f40ec2a904815", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.89 [INFO] [stderr] Compiling unicode-ident v1.0.13 [INFO] [stderr] Compiling libc v0.2.164 [INFO] [stderr] Compiling serde v1.0.215 [INFO] [stderr] Checking log v0.4.22 [INFO] [stderr] Checking futures v0.1.31 [INFO] [stderr] Checking cpufeatures v0.2.15 [INFO] [stderr] Compiling time-macros v0.2.18 [INFO] [stderr] Compiling once_cell v1.20.2 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling pin-project-lite v0.2.15 [INFO] [stderr] Compiling stable_deref_trait v1.2.0 [INFO] [stderr] Compiling serde_json v1.0.133 [INFO] [stderr] Checking hashbrown v0.15.1 [INFO] [stderr] Compiling crossbeam-utils v0.8.20 [INFO] [stderr] Compiling bytes v1.9.0 [INFO] [stderr] Checking bitflags v2.6.0 [INFO] [stderr] Checking spin v0.9.8 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling litemap v0.7.3 [INFO] [stderr] Compiling tracing-core v0.1.33 [INFO] [stderr] Compiling writeable v0.5.5 [INFO] [stderr] Checking outref v0.5.1 [INFO] [stderr] Checking vsimd v0.8.0 [INFO] [stderr] Compiling smallvec v1.13.2 [INFO] [stderr] Checking inout v0.1.3 [INFO] [stderr] Compiling icu_locid_transform_data v1.5.0 [INFO] [stderr] Compiling futures-core v0.3.31 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Compiling icu_properties_data v1.5.0 [INFO] [stderr] Checking local-waker v0.1.4 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling zstd-safe v7.2.1 [INFO] [stderr] Checking indexmap v2.6.0 [INFO] [stderr] Compiling icu_normalizer_data v1.5.0 [INFO] [stderr] Compiling utf16_iter v1.0.5 [INFO] [stderr] Compiling futures-sink v0.3.31 [INFO] [stderr] Compiling write16 v1.0.0 [INFO] [stderr] Compiling utf8_iter v1.0.4 [INFO] [stderr] Checking alloc-no-stdlib v2.0.4 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Checking alloc-stdlib v0.2.2 [INFO] [stderr] Checking base64-simd v0.8.0 [INFO] [stderr] Checking actix-utils v3.0.1 [INFO] [stderr] Compiling jobserver v0.1.32 [INFO] [stderr] Checking actix-service v2.0.2 [INFO] [stderr] Compiling itoa v1.0.11 [INFO] [stderr] Compiling rustix v0.38.41 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Compiling syn v2.0.87 [INFO] [stderr] Compiling percent-encoding v2.3.1 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Checking regex-lite v0.1.6 [INFO] [stderr] Compiling cc v1.2.1 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling rustls v0.21.12 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Checking parking_lot_core v0.9.10 [INFO] [stderr] Checking bytes v0.4.12 [INFO] [stderr] Checking mio v1.0.2 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking socket2 v0.5.7 [INFO] [stderr] Checking signal-hook-registry v1.4.2 [INFO] [stderr] Checking uuid v1.11.0 [INFO] [stderr] Compiling form_urlencoded v1.2.1 [INFO] [stderr] Checking time v0.3.36 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Checking brotli-decompressor v4.0.1 [INFO] [stderr] Checking tokio-io v0.1.13 [INFO] [stderr] Checking miniz_oxide v0.8.0 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking cipher v0.4.4 [INFO] [stderr] Checking universal-hash v0.5.1 [INFO] [stderr] Checking polyval v0.6.2 [INFO] [stderr] Checking aead v0.5.2 [INFO] [stderr] Checking hmac v0.12.1 [INFO] [stderr] Checking ghash v0.5.1 [INFO] [stderr] Compiling bytestring v1.3.1 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling cookie v0.16.2 [INFO] [stderr] Checking aes v0.8.4 [INFO] [stderr] Checking ctr v0.9.2 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling futures-task v0.3.31 [INFO] [stderr] Compiling powerfmt v0.2.0 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling futures-io v0.3.31 [INFO] [stderr] Compiling ryu v1.0.18 [INFO] [stderr] Compiling convert_case v0.4.0 [INFO] [stderr] Compiling allocator-api2 v0.2.20 [INFO] [stderr] Compiling deranged v0.3.11 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Checking brotli v6.0.0 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Checking flate2 v1.0.35 [INFO] [stderr] Compiling tokio v1.42.0 [INFO] [stderr] Checking aes-gcm v0.10.3 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Checking hkdf v0.12.4 [INFO] [stderr] Compiling rustc_version v0.4.1 [INFO] [stderr] Checking sha1 v0.10.6 [INFO] [stderr] Compiling concurrent-queue v2.5.0 [INFO] [stderr] Checking local-channel v0.1.5 [INFO] [stderr] Compiling iana-time-zone v0.1.61 [INFO] [stderr] Compiling crc-catalog v2.4.0 [INFO] [stderr] Compiling rustversion v1.0.18 [INFO] [stderr] Compiling parking v2.2.1 [INFO] [stderr] Compiling openssl-probe v0.1.5 [INFO] [stderr] Checking base64 v0.20.0 [INFO] [stderr] Compiling unicode_categories v0.1.1 [INFO] [stderr] Checking language-tags v0.3.2 [INFO] [stderr] Checking impl-more v0.1.8 [INFO] [stderr] Compiling hashlink v0.9.1 [INFO] [stderr] Compiling sha2 v0.10.8 [INFO] [stderr] Compiling event-listener v5.3.1 [INFO] [stderr] Compiling crc v3.2.1 [INFO] [stderr] Compiling chrono v0.4.38 [INFO] [stderr] Compiling futures-intrusive v0.5.0 [INFO] [stderr] Compiling aws-types v1.3.3 [INFO] [stderr] Compiling atoi v2.0.0 [INFO] [stderr] Checking rustls-native-certs v0.6.3 [INFO] [stderr] Compiling crossbeam-queue v0.3.11 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling sha2-asm v0.6.4 [INFO] [stderr] Compiling openssl-sys v0.9.104 [INFO] [stderr] Compiling ring v0.17.8 [INFO] [stderr] Compiling zstd-sys v2.0.13+zstd.1.5.6 [INFO] [stderr] Compiling libsqlite3-sys v0.30.1 [INFO] [stderr] Compiling openssl v0.10.68 [INFO] [stderr] Compiling native-tls v0.2.12 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Checking fastrand v2.2.0 [INFO] [stderr] Checking minimal-lexical v0.2.1 [INFO] [stderr] Compiling linux-raw-sys v0.4.14 [INFO] [stderr] Compiling flume v0.11.1 [INFO] [stderr] Compiling anyhow v1.0.93 [INFO] [stderr] Compiling sqlformat v0.2.6 [INFO] [stderr] Compiling prettyplease v0.2.25 [INFO] [stderr] Compiling dotenvy v0.15.7 [INFO] [stderr] Checking base64ct v1.6.0 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Checking blake2 v0.10.6 [INFO] [stderr] Checking seize v0.4.9 [INFO] [stderr] Checking bstr v1.11.0 [INFO] [stderr] Checking tracing-log v0.2.0 [INFO] [stderr] Checking mutually_exclusive_features v0.1.0 [INFO] [stderr] Checking password-hash v0.5.0 [INFO] [stderr] Compiling nervemq v0.1.0-alpha.1 (/opt/rustwide/workdir) [INFO] [stderr] Checking eyre v0.6.12 [INFO] [stderr] Checking bs58 v0.5.1 [INFO] [stderr] Checking papaya v0.1.6 [INFO] [stderr] Checking urlencoding v2.1.3 [INFO] [stderr] Checking pom v3.4.0 [INFO] [stderr] Compiling tempfile v3.14.0 [INFO] [stderr] Compiling synstructure v0.13.1 [INFO] [stderr] Compiling darling_core v0.20.10 [INFO] [stderr] Compiling tokio-stream v0.1.16 [INFO] [stderr] Compiling serde_derive v1.0.215 [INFO] [stderr] Compiling zerofrom-derive v0.1.4 [INFO] [stderr] Compiling yoke-derive v0.7.4 [INFO] [stderr] Compiling zerovec-derive v0.10.3 [INFO] [stderr] Compiling tracing-attributes v0.1.28 [INFO] [stderr] Compiling tokio-macros v2.4.0 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling icu_provider_macros v1.5.0 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling zeroize_derive v1.4.2 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Checking rustls-webpki v0.101.7 [INFO] [stderr] Checking sct v0.7.1 [INFO] [stderr] Compiling derive_more v0.99.18 [INFO] [stderr] Checking zerofrom v0.1.4 [INFO] [stderr] Checking yoke v0.7.4 [INFO] [stderr] Checking zerocopy v0.7.35 [INFO] [stderr] Checking zerovec v0.10.4 [INFO] [stderr] Checking tracing v0.1.41 [INFO] [stderr] Checking ppv-lite86 v0.2.20 [INFO] [stderr] Compiling actix-macros v0.2.4 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking zstd v0.13.2 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking tinystr v0.7.6 [INFO] [stderr] Checking icu_collections v1.5.0 [INFO] [stderr] Compiling darling_macro v0.20.10 [INFO] [stderr] Compiling enum-ordinalize-derive v4.3.1 [INFO] [stderr] Checking icu_locid v1.5.0 [INFO] [stderr] Compiling pin-project-internal v1.1.7 [INFO] [stderr] Compiling derive_more-impl v1.0.0 [INFO] [stderr] Compiling enum-ordinalize v4.3.0 [INFO] [stderr] Compiling darling v0.20.10 [INFO] [stderr] Compiling bon-macros v3.2.0 [INFO] [stderr] Compiling educe v0.5.11 [INFO] [stderr] Checking icu_provider v1.5.0 [INFO] [stderr] Compiling strum_macros v0.26.4 [INFO] [stderr] Compiling snafu-derive v0.8.5 [INFO] [stderr] Checking icu_locid_transform v1.5.0 [INFO] [stderr] Checking pin-project v1.1.7 [INFO] [stderr] Checking icu_properties v1.5.1 [INFO] [stderr] Checking strum v0.26.3 [INFO] [stderr] Checking derive_more v1.0.0 [INFO] [stderr] Checking snafu v0.8.5 [INFO] [stderr] Compiling actix-router v0.5.3 [INFO] [stderr] Compiling either v1.13.0 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Checking icu_normalizer v1.5.0 [INFO] [stderr] Checking zeroize v1.8.1 [INFO] [stderr] Checking bincode v1.3.3 [INFO] [stderr] Checking tracing-serde v0.2.0 [INFO] [stderr] Checking email_address v0.2.9 [INFO] [stderr] Checking argon2 v0.5.3 [INFO] [stderr] Checking aes-gcm-siv v0.11.1 [INFO] [stderr] Checking secrecy v0.10.3 [INFO] [stderr] Checking itertools v0.13.0 [INFO] [stderr] Checking idna_adapter v1.2.0 [INFO] [stderr] Checking serde-email v3.1.0 [INFO] [stderr] Checking bon v3.2.0 [INFO] [stderr] Checking idna v1.0.3 [INFO] [stderr] Checking envy v0.4.2 [INFO] [stderr] Compiling actix-web-codegen v4.3.0 [INFO] [stderr] Checking http v0.2.12 [INFO] [stderr] Checking http v1.2.0 [INFO] [stderr] Checking bytes-utils v0.1.4 [INFO] [stderr] Checking url v2.5.4 [INFO] [stderr] Checking tokio-serde v0.9.0 [INFO] [stderr] Checking tracing-subscriber v0.3.19 [INFO] [stderr] Checking http-body v1.0.1 [INFO] [stderr] Checking http-body-util v0.1.2 [INFO] [stderr] Checking http-body v0.4.6 [INFO] [stderr] Compiling sqlx-core v0.8.2 [INFO] [stderr] Compiling sqlx-sqlite v0.8.2 [INFO] [stderr] Checking tokio-util v0.7.12 [INFO] [stderr] Checking aws-smithy-async v1.2.1 [INFO] [stderr] Checking actix-rt v2.10.0 [INFO] [stderr] Checking tokio-rustls v0.24.1 [INFO] [stderr] Checking actix-server v2.5.0 [INFO] [stderr] Checking h2 v0.3.26 [INFO] [stderr] Checking aws-smithy-types v1.2.9 [INFO] [stderr] Checking actix-codec v0.5.2 [INFO] [stderr] Checking actix-tls v3.4.0 [INFO] [stderr] Checking aws-smithy-runtime-api v1.7.3 [INFO] [stderr] Checking aws-smithy-json v0.61.1 [INFO] [stderr] Compiling sqlx-macros-core v0.8.2 [INFO] [stderr] Checking aws-smithy-http v0.60.11 [INFO] [stderr] Checking aws-credential-types v1.2.1 [INFO] [stderr] Checking aws-sigv4 v1.2.6 [INFO] [stderr] Compiling sqlx-macros v0.8.2 [INFO] [stderr] Checking actix-http v3.9.0 [INFO] [stderr] Checking hyper v0.14.31 [INFO] [stderr] Checking sqlx v0.8.2 [INFO] [stderr] Checking actix-web v4.9.0 [INFO] [stderr] Checking hyper-rustls v0.24.2 [INFO] [stderr] Checking aws-smithy-runtime v1.7.4 [INFO] [stderr] Checking nervemq-actix-session v0.10.2 [INFO] [stderr] Checking tracing-actix-web v0.7.15 [INFO] [stderr] Checking actix-cors v0.7.0 [INFO] [stderr] Checking nervemq-actix-identity v0.8.1 [INFO] [stderr] Checking aws-runtime v1.4.4 [INFO] [stderr] Checking aws-sdk-kms v1.51.0 [INFO] [stderr] Checking aws-sdk-sqs v1.50.0 [INFO] [stdout] warning: struct `QueueStats` is never constructed [INFO] [stdout] --> src/api/queue.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 24 | pub struct QueueStats { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ApiKeyRequest` is never constructed [INFO] [stdout] --> src/auth/credential.rs:30:12 [INFO] [stdout] | [INFO] [stdout] 30 | pub struct ApiKeyRequest { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant closure [INFO] [stdout] --> src/api/admin.rs:32:54 [INFO] [stdout] | [INFO] [stdout] 32 | let email = Email::from_str(&data.email).map_err(|e| ErrorBadRequest(e))?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: replace the closure with the function itself: `ErrorBadRequest` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_closure [INFO] [stdout] = note: `#[warn(clippy::redundant_closure)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant closure [INFO] [stdout] --> src/api/admin.rs:37:18 [INFO] [stdout] | [INFO] [stdout] 37 | .map_err(|e| ErrorInternalServerError(e))?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: replace the closure with the function itself: `ErrorInternalServerError` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_closure [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant closure [INFO] [stdout] --> src/api/admin.rs:70:59 [INFO] [stdout] | [INFO] [stdout] 70 | .delete_user(Email::from_str(&data.email).map_err(|e| ErrorBadRequest(e))?) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: replace the closure with the function itself: `ErrorBadRequest` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_closure [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant name ends with the enum's name [INFO] [stdout] --> src/api/auth.rs:59:5 [INFO] [stdout] | [INFO] [stdout] 59 | InternalError { source: eyre::Report }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#enum_variant_names [INFO] [stdout] = note: `#[warn(clippy::enum_variant_names)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant closure [INFO] [stdout] --> src/api/auth.rs:167:26 [INFO] [stdout] | [INFO] [stdout] 167 | .map_err(|e| ErrorInternalServerError(e))? [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: replace the closure with the function itself: `ErrorInternalServerError` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_closure [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: deref which would be done by auto-deref [INFO] [stdout] --> src/api/namespace.rs:29:45 [INFO] [stdout] | [INFO] [stdout] 29 | let id = match service.create_namespace(&*path, identity).await { [INFO] [stdout] | ^^^^^^ help: try: `&path` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_auto_deref [INFO] [stdout] = note: `#[warn(clippy::explicit_auto_deref)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: deref which would be done by auto-deref [INFO] [stdout] --> src/api/namespace.rs:42:46 [INFO] [stdout] | [INFO] [stdout] 42 | if let Err(e) = service.delete_namespace(&*path, identity).await { [INFO] [stdout] | ^^^^^^ help: try: `&path` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_auto_deref [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: deref which would be done by auto-deref [INFO] [stdout] --> src/api/queue.rs:48:58 [INFO] [stdout] | [INFO] [stdout] 48 | let queues = match service.list_queues_for_namespace(&*path).await { [INFO] [stdout] | ^^^^^^ help: try: `&path` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_auto_deref [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant closure [INFO] [stdout] --> src/api/tokens.rs:66:14 [INFO] [stdout] | [INFO] [stdout] 66 | .map_err(|e| ErrorInternalServerError(e))?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: replace the closure with the function itself: `ErrorInternalServerError` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_closure [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant closure [INFO] [stdout] --> src/auth/middleware/authentication.rs:109:26 [INFO] [stdout] | [INFO] [stdout] 109 | .map_err(|e| ErrorInternalServerError(e))?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: replace the closure with the function itself: `ErrorInternalServerError` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_closure [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unneeded `return` statement [INFO] [stdout] --> src/auth/protocols/nervemq.rs:63:5 [INFO] [stdout] | [INFO] [stdout] 63 | return Ok((user, AuthorizedNamespace(namespace))); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_return [INFO] [stdout] = note: `#[warn(clippy::needless_return)]` on by default [INFO] [stdout] help: remove `return` [INFO] [stdout] | [INFO] [stdout] 63 - return Ok((user, AuthorizedNamespace(namespace))); [INFO] [stdout] 63 + Ok((user, AuthorizedNamespace(namespace))) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the borrowed expression implements the required traits [INFO] [stdout] --> src/auth/protocols/sigv4.rs:127:15 [INFO] [stdout] | [INFO] [stdout] 127 | .bind(&header.key_id) [INFO] [stdout] | ^^^^^^^^^^^^^^ help: change this to: `header.key_id` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args [INFO] [stdout] = note: `#[warn(clippy::needless_borrows_for_generic_args)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: useless conversion to the same type: `error::Error` [INFO] [stdout] --> src/auth/protocols/sigv4.rs:131:20 [INFO] [stdout] | [INFO] [stdout] 131 | return Err(Error::IdentityNotFound { [INFO] [stdout] | ____________________^ [INFO] [stdout] 132 | | key_id: header.key_id.to_string(), [INFO] [stdout] 133 | | } [INFO] [stdout] 134 | | .into()); [INFO] [stdout] | |_______________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_conversion [INFO] [stdout] = note: `#[warn(clippy::useless_conversion)]` on by default [INFO] [stdout] help: consider removing `.into()` [INFO] [stdout] | [INFO] [stdout] 131 ~ return Err(Error::IdentityNotFound { [INFO] [stdout] 132 + key_id: header.key_id.to_string(), [INFO] [stdout] 133 ~ }); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: found call to `str::trim` before `str::split_whitespace` [INFO] [stdout] --> src/auth/protocols/sigv4.rs:207:41 [INFO] [stdout] | [INFO] [stdout] 207 | let canonical_value = value.trim().split_whitespace().join(" "); [INFO] [stdout] | ^^^^^^^ help: remove `trim()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#trim_split_whitespace [INFO] [stdout] = note: `#[warn(clippy::trim_split_whitespace)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary use of `to_string` [INFO] [stdout] --> src/auth/protocols/sigv4.rs:218:9 [INFO] [stdout] | [INFO] [stdout] 218 | &req.method().to_string(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `req.method().as_ref()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_to_owned [INFO] [stdout] = note: `#[warn(clippy::unnecessary_to_owned)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: deref on an immutable reference [INFO] [stdout] --> src/auth/protocols/sigv4.rs:219:9 [INFO] [stdout] | [INFO] [stdout] 219 | &*canonical_uri, [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if you would like to reborrow, try removing `&*`: `canonical_uri` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#borrow_deref_ref [INFO] [stdout] = note: `#[warn(clippy::borrow_deref_ref)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant closure [INFO] [stdout] --> src/auth/protocols/sigv4.rs:242:22 [INFO] [stdout] | [INFO] [stdout] 242 | .map_err(|e| Error::internal(e))?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: replace the closure with the associated function itself: `Error::internal` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_closure [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the borrowed expression implements the required traits [INFO] [stdout] --> src/auth/protocols/sigv4.rs:283:11 [INFO] [stdout] | [INFO] [stdout] 283 | .bind(&header.key_id) [INFO] [stdout] | ^^^^^^^^^^^^^^ help: change this to: `header.key_id` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: length comparison to zero [INFO] [stdout] --> src/auth/session.rs:217:28 [INFO] [stdout] | [INFO] [stdout] 217 | if s.len() == 0 { [INFO] [stdout] | ^^^^^^^^^^^^ help: using `is_empty` is clearer and more explicit: `s.is_empty()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#len_zero [INFO] [stdout] = note: `#[warn(clippy::len_zero)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant closure [INFO] [stdout] --> src/auth/session.rs:274:53 [INFO] [stdout] | [INFO] [stdout] 274 | let mut db = db.acquire().await.map_err(|e| anyhow::Error::new(e))?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: replace the closure with the associated function itself: `anyhow::Error::new` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_closure [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant closure [INFO] [stdout] --> src/auth/session.rs:281:26 [INFO] [stdout] | [INFO] [stdout] 281 | .map_err(|e| anyhow::Error::new(e))?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: replace the closure with the associated function itself: `anyhow::Error::new` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_closure [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this `impl` can be derived [INFO] [stdout] --> src/config.rs:50:1 [INFO] [stdout] | [INFO] [stdout] 50 | / impl Default for Config { [INFO] [stdout] 51 | | fn default() -> Self { [INFO] [stdout] 52 | | Self { [INFO] [stdout] 53 | | db_path: None, [INFO] [stdout] ... | [INFO] [stdout] 60 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#derivable_impls [INFO] [stdout] = note: `#[warn(clippy::derivable_impls)]` on by default [INFO] [stdout] help: replace the manual implementation with a derive attribute [INFO] [stdout] | [INFO] [stdout] 40 + #[derive(Default)] [INFO] [stdout] 41 | pub struct Config { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: called `.as_ref().map(|s| s.as_str())` on an `Option` value [INFO] [stdout] --> src/config.rs:100:9 [INFO] [stdout] | [INFO] [stdout] 100 | / self.db_path [INFO] [stdout] 101 | | .as_ref() [INFO] [stdout] 102 | | .map(|s| s.as_str()) [INFO] [stdout] | |________________________________^ help: consider using as_deref: `self.db_path.as_deref()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#option_as_ref_deref [INFO] [stdout] = note: `#[warn(clippy::option_as_ref_deref)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: called `.as_ref().map(|s| s.as_str())` on an `Option` value [INFO] [stdout] --> src/config.rs:119:9 [INFO] [stdout] | [INFO] [stdout] 119 | / self.root_email [INFO] [stdout] 120 | | .as_ref() [INFO] [stdout] 121 | | .map(|s| s.as_str()) [INFO] [stdout] | |________________________________^ help: consider using as_deref: `self.root_email.as_deref()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#option_as_ref_deref [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: you should consider adding a `Default` implementation for `InMemoryKeyManager` [INFO] [stdout] --> src/kms/memory.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | / pub fn new() -> Self { [INFO] [stdout] 25 | | Self { [INFO] [stdout] 26 | | keys: Arc::new(papaya::HashMap::new()), [INFO] [stdout] 27 | | } [INFO] [stdout] 28 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#new_without_default [INFO] [stdout] = note: `#[warn(clippy::new_without_default)]` on by default [INFO] [stdout] help: try adding this [INFO] [stdout] | [INFO] [stdout] 22 + impl Default for InMemoryKeyManager { [INFO] [stdout] 23 + fn default() -> Self { [INFO] [stdout] 24 + Self::new() [INFO] [stdout] 25 + } [INFO] [stdout] 26 + } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: useless conversion to the same type: `std::vec::Vec` [INFO] [stdout] --> src/kms/memory.rs:65:16 [INFO] [stdout] | [INFO] [stdout] 65 | Ok(encrypted.into()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: consider removing `.into()`: `encrypted` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_conversion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: useless conversion to the same type: `std::vec::Vec` [INFO] [stdout] --> src/kms/memory.rs:99:16 [INFO] [stdout] | [INFO] [stdout] 99 | Ok(decrypted.into()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: consider removing `.into()`: `decrypted` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_conversion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: useless conversion to the same type: `std::vec::Vec` [INFO] [stdout] --> src/kms/sqlite.rs:149:16 [INFO] [stdout] | [INFO] [stdout] 149 | Ok(encrypted.into()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: consider removing `.into()`: `encrypted` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_conversion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `QueueStats` is never constructed [INFO] [stdout] --> src/api/queue.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 24 | pub struct QueueStats { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ApiKeyRequest` is never constructed [INFO] [stdout] --> src/auth/credential.rs:30:12 [INFO] [stdout] | [INFO] [stdout] 30 | pub struct ApiKeyRequest { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: useless conversion to the same type: `std::vec::Vec` [INFO] [stdout] --> src/kms/sqlite.rs:187:16 [INFO] [stdout] | [INFO] [stdout] 187 | Ok(decrypted.into()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: consider removing `.into()`: `decrypted` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_conversion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the borrowed expression implements the required traits [INFO] [stdout] --> src/kms/sqlite.rs:225:19 [INFO] [stdout] | [INFO] [stdout] 225 | .bind(&key.as_slice()) [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: change this to: `key.as_slice()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: writing `&String` instead of `&str` involves a new object where a slice will do [INFO] [stdout] --> src/kms/mod.rs:70:17 [INFO] [stdout] | [INFO] [stdout] 70 | key_id: &String, [INFO] [stdout] | ^^^^^^^ help: change this to: `&str` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#ptr_arg [INFO] [stdout] = note: `#[warn(clippy::ptr_arg)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: writing `&String` instead of `&str` involves a new object where a slice will do [INFO] [stdout] --> src/kms/mod.rs:84:17 [INFO] [stdout] | [INFO] [stdout] 84 | key_id: &String, [INFO] [stdout] | ^^^^^^^ help: change this to: `&str` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#ptr_arg [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: writing `&String` instead of `&str` involves a new object where a slice will do [INFO] [stdout] --> src/kms/mod.rs:98:34 [INFO] [stdout] | [INFO] [stdout] 98 | fn delete_key(&self, key_id: &String) -> Pin>>>; [INFO] [stdout] | ^^^^^^^ help: change this to: `&str` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#ptr_arg [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: writing `&String` instead of `&str` involves a new object where a slice will do [INFO] [stdout] --> src/kms/mod.rs:115:17 [INFO] [stdout] | [INFO] [stdout] 115 | key_id: &String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#ptr_arg [INFO] [stdout] help: change this to [INFO] [stdout] | [INFO] [stdout] 115 ~ key_id: &str, [INFO] [stdout] 116 | ) -> Pin> + 'a>> { [INFO] [stdout] 117 ~ let key_id = key_id.to_owned(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant closure [INFO] [stdout] --> src/api/admin.rs:32:54 [INFO] [stdout] | [INFO] [stdout] 32 | let email = Email::from_str(&data.email).map_err(|e| ErrorBadRequest(e))?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: replace the closure with the function itself: `ErrorBadRequest` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_closure [INFO] [stdout] = note: `#[warn(clippy::redundant_closure)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant closure [INFO] [stdout] --> src/api/admin.rs:37:18 [INFO] [stdout] | [INFO] [stdout] 37 | .map_err(|e| ErrorInternalServerError(e))?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: replace the closure with the function itself: `ErrorInternalServerError` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_closure [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant closure [INFO] [stdout] --> src/api/admin.rs:70:59 [INFO] [stdout] | [INFO] [stdout] 70 | .delete_user(Email::from_str(&data.email).map_err(|e| ErrorBadRequest(e))?) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: replace the closure with the function itself: `ErrorBadRequest` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_closure [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant name ends with the enum's name [INFO] [stdout] --> src/api/auth.rs:59:5 [INFO] [stdout] | [INFO] [stdout] 59 | InternalError { source: eyre::Report }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#enum_variant_names [INFO] [stdout] = note: `#[warn(clippy::enum_variant_names)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant closure [INFO] [stdout] --> src/api/auth.rs:167:26 [INFO] [stdout] | [INFO] [stdout] 167 | .map_err(|e| ErrorInternalServerError(e))? [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: replace the closure with the function itself: `ErrorInternalServerError` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_closure [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unneeded `return` statement [INFO] [stdout] --> src/service.rs:533:9 [INFO] [stdout] | [INFO] [stdout] 533 | return Ok(()); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_return [INFO] [stdout] help: remove `return` [INFO] [stdout] | [INFO] [stdout] 533 - return Ok(()); [INFO] [stdout] 533 + Ok(()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: deref which would be done by auto-deref [INFO] [stdout] --> src/api/namespace.rs:29:45 [INFO] [stdout] | [INFO] [stdout] 29 | let id = match service.create_namespace(&*path, identity).await { [INFO] [stdout] | ^^^^^^ help: try: `&path` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_auto_deref [INFO] [stdout] = note: `#[warn(clippy::explicit_auto_deref)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: deref which would be done by auto-deref [INFO] [stdout] --> src/api/namespace.rs:42:46 [INFO] [stdout] | [INFO] [stdout] 42 | if let Err(e) = service.delete_namespace(&*path, identity).await { [INFO] [stdout] | ^^^^^^ help: try: `&path` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_auto_deref [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: deref which would be done by auto-deref [INFO] [stdout] --> src/api/queue.rs:48:58 [INFO] [stdout] | [INFO] [stdout] 48 | let queues = match service.list_queues_for_namespace(&*path).await { [INFO] [stdout] | ^^^^^^ help: try: `&path` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_auto_deref [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant closure [INFO] [stdout] --> src/service.rs:1223:24 [INFO] [stdout] | [INFO] [stdout] 1223 | } = web::block(|| generate_api_key()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: replace the closure with the function itself: `generate_api_key` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_closure [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant closure [INFO] [stdout] --> src/api/tokens.rs:66:14 [INFO] [stdout] | [INFO] [stdout] 66 | .map_err(|e| ErrorInternalServerError(e))?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: replace the closure with the function itself: `ErrorInternalServerError` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_closure [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant closure [INFO] [stdout] --> src/service.rs:1289:22 [INFO] [stdout] | [INFO] [stdout] 1289 | .map_err(|e| Error::internal(e))??; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: replace the closure with the associated function itself: `Error::internal` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_closure [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the borrowed expression implements the required traits [INFO] [stdout] --> src/service.rs:1642:55 [INFO] [stdout] | [INFO] [stdout] 1642 | md5_of_body: hex::encode(md5::compute(&message.body.as_bytes()).as_slice()), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: change this to: `message.body.as_bytes()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant closure [INFO] [stdout] --> src/auth/middleware/authentication.rs:109:26 [INFO] [stdout] | [INFO] [stdout] 109 | .map_err(|e| ErrorInternalServerError(e))?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: replace the closure with the function itself: `ErrorInternalServerError` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_closure [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unneeded `return` statement [INFO] [stdout] --> src/auth/protocols/nervemq.rs:63:5 [INFO] [stdout] | [INFO] [stdout] 63 | return Ok((user, AuthorizedNamespace(namespace))); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_return [INFO] [stdout] = note: `#[warn(clippy::needless_return)]` on by default [INFO] [stdout] help: remove `return` [INFO] [stdout] | [INFO] [stdout] 63 - return Ok((user, AuthorizedNamespace(namespace))); [INFO] [stdout] 63 + Ok((user, AuthorizedNamespace(namespace))) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the borrowed expression implements the required traits [INFO] [stdout] --> src/auth/protocols/sigv4.rs:127:15 [INFO] [stdout] | [INFO] [stdout] 127 | .bind(&header.key_id) [INFO] [stdout] | ^^^^^^^^^^^^^^ help: change this to: `header.key_id` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args [INFO] [stdout] = note: `#[warn(clippy::needless_borrows_for_generic_args)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: useless conversion to the same type: `error::Error` [INFO] [stdout] --> src/auth/protocols/sigv4.rs:131:20 [INFO] [stdout] | [INFO] [stdout] 131 | return Err(Error::IdentityNotFound { [INFO] [stdout] | ____________________^ [INFO] [stdout] 132 | | key_id: header.key_id.to_string(), [INFO] [stdout] 133 | | } [INFO] [stdout] 134 | | .into()); [INFO] [stdout] | |_______________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_conversion [INFO] [stdout] = note: `#[warn(clippy::useless_conversion)]` on by default [INFO] [stdout] help: consider removing `.into()` [INFO] [stdout] | [INFO] [stdout] 131 ~ return Err(Error::IdentityNotFound { [INFO] [stdout] 132 + key_id: header.key_id.to_string(), [INFO] [stdout] 133 ~ }); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: found call to `str::trim` before `str::split_whitespace` [INFO] [stdout] --> src/auth/protocols/sigv4.rs:207:41 [INFO] [stdout] | [INFO] [stdout] 207 | let canonical_value = value.trim().split_whitespace().join(" "); [INFO] [stdout] | ^^^^^^^ help: remove `trim()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#trim_split_whitespace [INFO] [stdout] = note: `#[warn(clippy::trim_split_whitespace)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary use of `to_string` [INFO] [stdout] --> src/auth/protocols/sigv4.rs:218:9 [INFO] [stdout] | [INFO] [stdout] 218 | &req.method().to_string(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `req.method().as_ref()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_to_owned [INFO] [stdout] = note: `#[warn(clippy::unnecessary_to_owned)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: deref on an immutable reference [INFO] [stdout] --> src/auth/protocols/sigv4.rs:219:9 [INFO] [stdout] | [INFO] [stdout] 219 | &*canonical_uri, [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if you would like to reborrow, try removing `&*`: `canonical_uri` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#borrow_deref_ref [INFO] [stdout] = note: `#[warn(clippy::borrow_deref_ref)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant closure [INFO] [stdout] --> src/auth/protocols/sigv4.rs:242:22 [INFO] [stdout] | [INFO] [stdout] 242 | .map_err(|e| Error::internal(e))?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: replace the closure with the associated function itself: `Error::internal` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_closure [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: items after a test module [INFO] [stdout] --> src/sqs/method.rs:83:1 [INFO] [stdout] | [INFO] [stdout] 83 | mod tests { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 144 | impl FromRequest for Method { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#items_after_test_module [INFO] [stdout] = note: `#[warn(clippy::items_after_test_module)]` on by default [INFO] [stdout] = help: move the items to before the test module was defined [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the borrowed expression implements the required traits [INFO] [stdout] --> src/auth/protocols/sigv4.rs:283:11 [INFO] [stdout] | [INFO] [stdout] 283 | .bind(&header.key_id) [INFO] [stdout] | ^^^^^^^^^^^^^^ help: change this to: `header.key_id` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant closure [INFO] [stdout] --> src/sqs/service.rs:64:60 [INFO] [stdout] | [INFO] [stdout] 64 | .and_then(|header| header.to_str().map_err(|e| Error::internal(e))) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: replace the closure with the associated function itself: `Error::internal` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_closure [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: length comparison to zero [INFO] [stdout] --> src/auth/session.rs:217:28 [INFO] [stdout] | [INFO] [stdout] 217 | if s.len() == 0 { [INFO] [stdout] | ^^^^^^^^^^^^ help: using `is_empty` is clearer and more explicit: `s.is_empty()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#len_zero [INFO] [stdout] = note: `#[warn(clippy::len_zero)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant closure [INFO] [stdout] --> src/auth/session.rs:274:53 [INFO] [stdout] | [INFO] [stdout] 274 | let mut db = db.acquire().await.map_err(|e| anyhow::Error::new(e))?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: replace the closure with the associated function itself: `anyhow::Error::new` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_closure [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant closure [INFO] [stdout] --> src/auth/session.rs:281:26 [INFO] [stdout] | [INFO] [stdout] 281 | .map_err(|e| anyhow::Error::new(e))?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: replace the closure with the associated function itself: `anyhow::Error::new` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_closure [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this `impl` can be derived [INFO] [stdout] --> src/config.rs:50:1 [INFO] [stdout] | [INFO] [stdout] 50 | / impl Default for Config { [INFO] [stdout] 51 | | fn default() -> Self { [INFO] [stdout] 52 | | Self { [INFO] [stdout] 53 | | db_path: None, [INFO] [stdout] ... | [INFO] [stdout] 60 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#derivable_impls [INFO] [stdout] = note: `#[warn(clippy::derivable_impls)]` on by default [INFO] [stdout] help: replace the manual implementation with a derive attribute [INFO] [stdout] | [INFO] [stdout] 40 + #[derive(Default)] [INFO] [stdout] 41 | pub struct Config { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: called `.as_ref().map(|s| s.as_str())` on an `Option` value [INFO] [stdout] --> src/config.rs:100:9 [INFO] [stdout] | [INFO] [stdout] 100 | / self.db_path [INFO] [stdout] 101 | | .as_ref() [INFO] [stdout] 102 | | .map(|s| s.as_str()) [INFO] [stdout] | |________________________________^ help: consider using as_deref: `self.db_path.as_deref()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#option_as_ref_deref [INFO] [stdout] = note: `#[warn(clippy::option_as_ref_deref)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: called `.as_ref().map(|s| s.as_str())` on an `Option` value [INFO] [stdout] --> src/config.rs:119:9 [INFO] [stdout] | [INFO] [stdout] 119 | / self.root_email [INFO] [stdout] 120 | | .as_ref() [INFO] [stdout] 121 | | .map(|s| s.as_str()) [INFO] [stdout] | |________________________________^ help: consider using as_deref: `self.root_email.as_deref()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#option_as_ref_deref [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: you should consider adding a `Default` implementation for `InMemoryKeyManager` [INFO] [stdout] --> src/kms/memory.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | / pub fn new() -> Self { [INFO] [stdout] 25 | | Self { [INFO] [stdout] 26 | | keys: Arc::new(papaya::HashMap::new()), [INFO] [stdout] 27 | | } [INFO] [stdout] 28 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#new_without_default [INFO] [stdout] = note: `#[warn(clippy::new_without_default)]` on by default [INFO] [stdout] help: try adding this [INFO] [stdout] | [INFO] [stdout] 22 + impl Default for InMemoryKeyManager { [INFO] [stdout] 23 + fn default() -> Self { [INFO] [stdout] 24 + Self::new() [INFO] [stdout] 25 + } [INFO] [stdout] 26 + } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: useless conversion to the same type: `std::vec::Vec` [INFO] [stdout] --> src/kms/memory.rs:65:16 [INFO] [stdout] | [INFO] [stdout] 65 | Ok(encrypted.into()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: consider removing `.into()`: `encrypted` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_conversion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: useless conversion to the same type: `std::vec::Vec` [INFO] [stdout] --> src/kms/memory.rs:99:16 [INFO] [stdout] | [INFO] [stdout] 99 | Ok(decrypted.into()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: consider removing `.into()`: `decrypted` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_conversion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: useless conversion to the same type: `std::vec::Vec` [INFO] [stdout] --> src/kms/sqlite.rs:149:16 [INFO] [stdout] | [INFO] [stdout] 149 | Ok(encrypted.into()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: consider removing `.into()`: `encrypted` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_conversion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: useless conversion to the same type: `std::vec::Vec` [INFO] [stdout] --> src/kms/sqlite.rs:187:16 [INFO] [stdout] | [INFO] [stdout] 187 | Ok(decrypted.into()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: consider removing `.into()`: `decrypted` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_conversion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the borrowed expression implements the required traits [INFO] [stdout] --> src/kms/sqlite.rs:225:19 [INFO] [stdout] | [INFO] [stdout] 225 | .bind(&key.as_slice()) [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: change this to: `key.as_slice()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: writing `&String` instead of `&str` involves a new object where a slice will do [INFO] [stdout] --> src/kms/mod.rs:70:17 [INFO] [stdout] | [INFO] [stdout] 70 | key_id: &String, [INFO] [stdout] | ^^^^^^^ help: change this to: `&str` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#ptr_arg [INFO] [stdout] = note: `#[warn(clippy::ptr_arg)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: writing `&String` instead of `&str` involves a new object where a slice will do [INFO] [stdout] --> src/kms/mod.rs:84:17 [INFO] [stdout] | [INFO] [stdout] 84 | key_id: &String, [INFO] [stdout] | ^^^^^^^ help: change this to: `&str` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#ptr_arg [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: writing `&String` instead of `&str` involves a new object where a slice will do [INFO] [stdout] --> src/kms/mod.rs:98:34 [INFO] [stdout] | [INFO] [stdout] 98 | fn delete_key(&self, key_id: &String) -> Pin>>>; [INFO] [stdout] | ^^^^^^^ help: change this to: `&str` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#ptr_arg [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: writing `&String` instead of `&str` involves a new object where a slice will do [INFO] [stdout] --> src/kms/mod.rs:115:17 [INFO] [stdout] | [INFO] [stdout] 115 | key_id: &String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#ptr_arg [INFO] [stdout] help: change this to [INFO] [stdout] | [INFO] [stdout] 115 ~ key_id: &str, [INFO] [stdout] 116 | ) -> Pin> + 'a>> { [INFO] [stdout] 117 ~ let key_id = key_id.to_owned(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: casting to the same type is unnecessary (`u64` -> `u64`) [INFO] [stdout] --> src/sqs/mod.rs:157:13 [INFO] [stdout] | [INFO] [stdout] 157 | request.max_number_of_messages.unwrap_or(1) as u64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `request.max_number_of_messages.unwrap_or(1)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_cast [INFO] [stdout] = note: `#[warn(clippy::unnecessary_cast)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unneeded `return` statement [INFO] [stdout] --> src/service.rs:533:9 [INFO] [stdout] | [INFO] [stdout] 533 | return Ok(()); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_return [INFO] [stdout] help: remove `return` [INFO] [stdout] | [INFO] [stdout] 533 - return Ok(()); [INFO] [stdout] 533 + Ok(()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this can be `std::io::Error::other(_)` [INFO] [stdout] --> src/sqs/mod.rs:637:9 [INFO] [stdout] | [INFO] [stdout] 637 | std::io::Error::new(std::io::ErrorKind::Other, e) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#io_other_error [INFO] [stdout] = note: `#[warn(clippy::io_other_error)]` on by default [INFO] [stdout] help: use `std::io::Error::other` [INFO] [stdout] | [INFO] [stdout] 637 - std::io::Error::new(std::io::ErrorKind::Other, e) [INFO] [stdout] 637 + std::io::Error::other(e) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant closure [INFO] [stdout] --> src/sqs/mod.rs:653:30 [INFO] [stdout] | [INFO] [stdout] 653 | .map_err(|e| Error::internal(e))? [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: replace the closure with the associated function itself: `Error::internal` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_closure [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant closure [INFO] [stdout] --> src/sqs/mod.rs:667:30 [INFO] [stdout] | [INFO] [stdout] 667 | .map_err(|e| Error::internal(e))? [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: replace the closure with the associated function itself: `Error::internal` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_closure [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant closure [INFO] [stdout] --> src/sqs/mod.rs:681:30 [INFO] [stdout] | [INFO] [stdout] 681 | .map_err(|e| Error::internal(e))? [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: replace the closure with the associated function itself: `Error::internal` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_closure [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant closure [INFO] [stdout] --> src/sqs/mod.rs:695:30 [INFO] [stdout] | [INFO] [stdout] 695 | .map_err(|e| Error::internal(e))? [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: replace the closure with the associated function itself: `Error::internal` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_closure [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant closure [INFO] [stdout] --> src/sqs/mod.rs:709:30 [INFO] [stdout] | [INFO] [stdout] 709 | .map_err(|e| Error::internal(e))? [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: replace the closure with the associated function itself: `Error::internal` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_closure [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant closure [INFO] [stdout] --> src/sqs/mod.rs:723:30 [INFO] [stdout] | [INFO] [stdout] 723 | .map_err(|e| Error::internal(e))? [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: replace the closure with the associated function itself: `Error::internal` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_closure [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant closure [INFO] [stdout] --> src/sqs/mod.rs:737:30 [INFO] [stdout] | [INFO] [stdout] 737 | .map_err(|e| Error::internal(e))? [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: replace the closure with the associated function itself: `Error::internal` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_closure [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant closure [INFO] [stdout] --> src/sqs/mod.rs:751:30 [INFO] [stdout] | [INFO] [stdout] 751 | .map_err(|e| Error::internal(e))? [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: replace the closure with the associated function itself: `Error::internal` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_closure [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant closure [INFO] [stdout] --> src/sqs/mod.rs:765:30 [INFO] [stdout] | [INFO] [stdout] 765 | .map_err(|e| Error::internal(e))? [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: replace the closure with the associated function itself: `Error::internal` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_closure [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant closure [INFO] [stdout] --> src/sqs/mod.rs:779:30 [INFO] [stdout] | [INFO] [stdout] 779 | .map_err(|e| Error::internal(e))? [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: replace the closure with the associated function itself: `Error::internal` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_closure [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant closure [INFO] [stdout] --> src/sqs/mod.rs:793:30 [INFO] [stdout] | [INFO] [stdout] 793 | .map_err(|e| Error::internal(e))? [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: replace the closure with the associated function itself: `Error::internal` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_closure [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant closure [INFO] [stdout] --> src/sqs/mod.rs:807:30 [INFO] [stdout] | [INFO] [stdout] 807 | .map_err(|e| Error::internal(e))? [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: replace the closure with the associated function itself: `Error::internal` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_closure [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant closure [INFO] [stdout] --> src/sqs/mod.rs:821:30 [INFO] [stdout] | [INFO] [stdout] 821 | .map_err(|e| Error::internal(e))? [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: replace the closure with the associated function itself: `Error::internal` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_closure [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant closure [INFO] [stdout] --> src/sqs/mod.rs:835:30 [INFO] [stdout] | [INFO] [stdout] 835 | .map_err(|e| Error::internal(e))? [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: replace the closure with the associated function itself: `Error::internal` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_closure [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: useless use of `vec!` [INFO] [stdout] --> src/auth/header.rs:165:17 [INFO] [stdout] | [INFO] [stdout] 165 | / vec![ [INFO] [stdout] 166 | | creds.map(|_| "creds ok").unwrap_or("creds"), [INFO] [stdout] 167 | | signed_headers.map(|_| "headers ok").unwrap_or("headers"), [INFO] [stdout] 168 | | signature.map(|_| "signature ok").unwrap_or("signature"), [INFO] [stdout] 169 | | ] [INFO] [stdout] | |_________________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_vec [INFO] [stdout] = note: `#[warn(clippy::useless_vec)]` on by default [INFO] [stdout] help: you can use an array directly [INFO] [stdout] | [INFO] [stdout] 165 ~ [creds.map(|_| "creds ok").unwrap_or("creds"), [INFO] [stdout] 166 + signed_headers.map(|_| "headers ok").unwrap_or("headers"), [INFO] [stdout] 167 + signature.map(|_| "signature ok").unwrap_or("signature")] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant closure [INFO] [stdout] --> src/service.rs:1223:24 [INFO] [stdout] | [INFO] [stdout] 1223 | } = web::block(|| generate_api_key()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: replace the closure with the function itself: `generate_api_key` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_closure [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant closure [INFO] [stdout] --> src/service.rs:1289:22 [INFO] [stdout] | [INFO] [stdout] 1289 | .map_err(|e| Error::internal(e))??; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: replace the closure with the associated function itself: `Error::internal` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_closure [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the borrowed expression implements the required traits [INFO] [stdout] --> src/service.rs:1642:55 [INFO] [stdout] | [INFO] [stdout] 1642 | md5_of_body: hex::encode(md5::compute(&message.body.as_bytes()).as_slice()), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: change this to: `message.body.as_bytes()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant closure [INFO] [stdout] --> src/sqs/service.rs:64:60 [INFO] [stdout] | [INFO] [stdout] 64 | .and_then(|header| header.to_str().map_err(|e| Error::internal(e))) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: replace the closure with the associated function itself: `Error::internal` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_closure [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: casting to the same type is unnecessary (`u64` -> `u64`) [INFO] [stdout] --> src/sqs/mod.rs:157:13 [INFO] [stdout] | [INFO] [stdout] 157 | request.max_number_of_messages.unwrap_or(1) as u64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `request.max_number_of_messages.unwrap_or(1)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_cast [INFO] [stdout] = note: `#[warn(clippy::unnecessary_cast)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this can be `std::io::Error::other(_)` [INFO] [stdout] --> src/sqs/mod.rs:637:9 [INFO] [stdout] | [INFO] [stdout] 637 | std::io::Error::new(std::io::ErrorKind::Other, e) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#io_other_error [INFO] [stdout] = note: `#[warn(clippy::io_other_error)]` on by default [INFO] [stdout] help: use `std::io::Error::other` [INFO] [stdout] | [INFO] [stdout] 637 - std::io::Error::new(std::io::ErrorKind::Other, e) [INFO] [stdout] 637 + std::io::Error::other(e) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant closure [INFO] [stdout] --> src/sqs/mod.rs:653:30 [INFO] [stdout] | [INFO] [stdout] 653 | .map_err(|e| Error::internal(e))? [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: replace the closure with the associated function itself: `Error::internal` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_closure [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant closure [INFO] [stdout] --> src/sqs/mod.rs:667:30 [INFO] [stdout] | [INFO] [stdout] 667 | .map_err(|e| Error::internal(e))? [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: replace the closure with the associated function itself: `Error::internal` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_closure [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant closure [INFO] [stdout] --> src/sqs/mod.rs:681:30 [INFO] [stdout] | [INFO] [stdout] 681 | .map_err(|e| Error::internal(e))? [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: replace the closure with the associated function itself: `Error::internal` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_closure [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant closure [INFO] [stdout] --> src/sqs/mod.rs:695:30 [INFO] [stdout] | [INFO] [stdout] 695 | .map_err(|e| Error::internal(e))? [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: replace the closure with the associated function itself: `Error::internal` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_closure [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant closure [INFO] [stdout] --> src/sqs/mod.rs:709:30 [INFO] [stdout] | [INFO] [stdout] 709 | .map_err(|e| Error::internal(e))? [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: replace the closure with the associated function itself: `Error::internal` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_closure [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant closure [INFO] [stdout] --> src/sqs/mod.rs:723:30 [INFO] [stdout] | [INFO] [stdout] 723 | .map_err(|e| Error::internal(e))? [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: replace the closure with the associated function itself: `Error::internal` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_closure [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant closure [INFO] [stdout] --> src/sqs/mod.rs:737:30 [INFO] [stdout] | [INFO] [stdout] 737 | .map_err(|e| Error::internal(e))? [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: replace the closure with the associated function itself: `Error::internal` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_closure [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant closure [INFO] [stdout] --> src/sqs/mod.rs:751:30 [INFO] [stdout] | [INFO] [stdout] 751 | .map_err(|e| Error::internal(e))? [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: replace the closure with the associated function itself: `Error::internal` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_closure [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant closure [INFO] [stdout] --> src/sqs/mod.rs:765:30 [INFO] [stdout] | [INFO] [stdout] 765 | .map_err(|e| Error::internal(e))? [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: replace the closure with the associated function itself: `Error::internal` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_closure [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant closure [INFO] [stdout] --> src/sqs/mod.rs:779:30 [INFO] [stdout] | [INFO] [stdout] 779 | .map_err(|e| Error::internal(e))? [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: replace the closure with the associated function itself: `Error::internal` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_closure [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant closure [INFO] [stdout] --> src/sqs/mod.rs:793:30 [INFO] [stdout] | [INFO] [stdout] 793 | .map_err(|e| Error::internal(e))? [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: replace the closure with the associated function itself: `Error::internal` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_closure [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant closure [INFO] [stdout] --> src/sqs/mod.rs:807:30 [INFO] [stdout] | [INFO] [stdout] 807 | .map_err(|e| Error::internal(e))? [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: replace the closure with the associated function itself: `Error::internal` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_closure [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant closure [INFO] [stdout] --> src/sqs/mod.rs:821:30 [INFO] [stdout] | [INFO] [stdout] 821 | .map_err(|e| Error::internal(e))? [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: replace the closure with the associated function itself: `Error::internal` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_closure [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant closure [INFO] [stdout] --> src/sqs/mod.rs:835:30 [INFO] [stdout] | [INFO] [stdout] 835 | .map_err(|e| Error::internal(e))? [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: replace the closure with the associated function itself: `Error::internal` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_closure [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: useless use of `vec!` [INFO] [stdout] --> src/auth/header.rs:165:17 [INFO] [stdout] | [INFO] [stdout] 165 | / vec![ [INFO] [stdout] 166 | | creds.map(|_| "creds ok").unwrap_or("creds"), [INFO] [stdout] 167 | | signed_headers.map(|_| "headers ok").unwrap_or("headers"), [INFO] [stdout] 168 | | signature.map(|_| "signature ok").unwrap_or("signature"), [INFO] [stdout] 169 | | ] [INFO] [stdout] | |_________________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_vec [INFO] [stdout] = note: `#[warn(clippy::useless_vec)]` on by default [INFO] [stdout] help: you can use an array directly [INFO] [stdout] | [INFO] [stdout] 165 ~ [creds.map(|_| "creds ok").unwrap_or("creds"), [INFO] [stdout] 166 + signed_headers.map(|_| "headers ok").unwrap_or("headers"), [INFO] [stdout] 167 + signature.map(|_| "signature ok").unwrap_or("signature")] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant closure [INFO] [stdout] --> src/main.rs:6:22 [INFO] [stdout] | [INFO] [stdout] 6 | .kms_factory(|db| SqliteKeyManager::new(db)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: replace the closure with the associated function itself: `SqliteKeyManager::new` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_closure [INFO] [stdout] = note: `#[warn(clippy::redundant_closure)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant closure [INFO] [stdout] --> src/main.rs:6:22 [INFO] [stdout] | [INFO] [stdout] 6 | .kms_factory(|db| SqliteKeyManager::new(db)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: replace the closure with the associated function itself: `SqliteKeyManager::new` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_closure [INFO] [stdout] = note: `#[warn(clippy::redundant_closure)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2m 07s [INFO] running `Command { std: "docker" "inspect" "67ff30e996672288554d350ec23dc941ca5c5dd2f6a5c13ded8f40ec2a904815", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "67ff30e996672288554d350ec23dc941ca5c5dd2f6a5c13ded8f40ec2a904815", kill_on_drop: false }` [INFO] [stdout] 67ff30e996672288554d350ec23dc941ca5c5dd2f6a5c13ded8f40ec2a904815