[INFO] fetching crate zel_core 0.5.0... [INFO] linting zel_core-0.5.0 against nightly for clippy-nonminimal_bool-denied [INFO] extracting crate zel_core 0.5.0 into /workspace/builds/worker-4-tc1/source [INFO] started tweaking crates.io crate zel_core 0.5.0 [INFO] removed 0 missing examples [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate zel_core 0.5.0 [INFO] tweaked toml for crates.io crate zel_core 0.5.0 written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate zel_core 0.5.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] crate crates.io crate zel_core 0.5.0 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 zel_types v0.5.0 [INFO] [stderr] Downloaded postcard-derive v0.2.2 [INFO] [stderr] Downloaded iroh-quinn-udp v0.5.7 [INFO] [stderr] Downloaded spez v0.1.2 [INFO] [stderr] Downloaded pkcs8 v0.11.0-rc.8 [INFO] [stderr] Downloaded chacha20 v0.10.0-rc.2 [INFO] [stderr] Downloaded netwatch v0.12.0 [INFO] [stderr] Downloaded circuitbreaker-rs v0.1.1 [INFO] [stderr] Downloaded hickory-proto v0.25.2 [INFO] [stderr] Downloaded universal-hash v0.6.0-rc.2 [INFO] [stderr] Downloaded serdect v0.4.1 [INFO] [stderr] Downloaded cipher v0.5.0-rc.1 [INFO] [stderr] Downloaded iroh-relay v0.95.1 [INFO] [stderr] Downloaded curve25519-dalek v5.0.0-pre.1 [INFO] [stderr] Downloaded ed25519-dalek v3.0.0-pre.1 [INFO] [stderr] Downloaded derive_more-impl v2.1.0 [INFO] [stderr] Downloaded moka v0.12.11 [INFO] [stderr] Downloaded netlink-packet-route v0.25.1 [INFO] [stderr] Downloaded inout v0.2.1 [INFO] [stderr] Downloaded iroh-metrics v0.37.0 [INFO] [stderr] Downloaded zel_macros v0.5.0 [INFO] [stderr] Downloaded tokio-websockets v0.12.3 [INFO] [stderr] Downloaded der v0.8.0-rc.10 [INFO] [stderr] Downloaded n0-future v0.3.1 [INFO] [stderr] Downloaded cordyceps v0.3.4 [INFO] [stderr] Downloaded spki v0.8.0-rc.4 [INFO] [stderr] Downloaded netdev v0.38.2 [INFO] [stderr] Downloaded base16ct v0.3.0 [INFO] [stderr] Downloaded netlink-proto v0.12.0 [INFO] [stderr] Downloaded n0-error v0.1.2 [INFO] [stderr] Downloaded hickory-resolver v0.25.2 [INFO] [stderr] Downloaded sha1 v0.11.0-rc.2 [INFO] [stderr] Downloaded block-buffer v0.11.0 [INFO] [stderr] Downloaded digest v0.11.0-rc.3 [INFO] [stderr] Downloaded signature v3.0.0-rc.5 [INFO] [stderr] Downloaded igd-next v0.16.2 [INFO] [stderr] Downloaded futures-buffered v0.2.12 [INFO] [stderr] Downloaded netlink-packet-core v0.8.1 [INFO] [stderr] Downloaded portmapper v0.12.0 [INFO] [stderr] Downloaded iroh-metrics-derive v0.4.0 [INFO] [stderr] Downloaded crypto_secretbox v0.2.0-pre.0 [INFO] [stderr] Downloaded crypto_box v0.10.0-pre.0 [INFO] [stderr] Downloaded resolv-conf v0.7.6 [INFO] [stderr] Downloaded iroh-base v0.95.1 [INFO] [stderr] Downloaded lru v0.16.2 [INFO] [stderr] Downloaded crypto-common v0.2.0-rc.4 [INFO] [stderr] Downloaded base32 v0.5.1 [INFO] [stderr] Downloaded pem-rfc7468 v1.0.0 [INFO] [stderr] Downloaded wmi v0.17.3 [INFO] [stderr] Downloaded n0-error-macros v0.1.2 [INFO] [stderr] Downloaded rng v0.1.0 [INFO] [stderr] Downloaded derive_more v2.1.0 [INFO] [stderr] Downloaded diatomic-waker v0.2.3 [INFO] [stderr] Downloaded iroh v0.95.1 [INFO] [stderr] Downloaded rustls-native-certs v0.8.2 [INFO] [stderr] Downloaded iroh-quinn-proto v0.13.0 [INFO] [stderr] Downloaded iroh-quinn v0.14.0 [INFO] [stderr] Downloaded aead v0.6.0-rc.2 [INFO] [stderr] Downloaded salsa20 v0.11.0-rc.1 [INFO] [stderr] Downloaded ntimestamp v1.0.0 [INFO] [stderr] Downloaded self_cell v1.2.1 [INFO] [stderr] Downloaded simple-dns v0.9.3 [INFO] [stderr] Downloaded pkarr v5.0.0 [INFO] [stderr] Downloaded attohttpc v0.30.1 [INFO] [stderr] Downloaded poly1305 v0.9.0-rc.2 [INFO] [stderr] Downloaded ed25519 v3.0.0-rc.2 [INFO] [stderr] Downloaded sha2 v0.11.0-rc.2 [INFO] [stderr] Downloaded n0-watcher v0.5.0 [INFO] [stderr] Downloaded z32 v1.3.0 [INFO] [stderr] Downloaded netlink-sys v0.8.7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+nightly" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7bfdb62de63462ca64cc2a88e00fffcaf696bb6558cdec6ab0a1af8012eb2a7e [INFO] running `Command { std: "docker" "start" "-a" "7bfdb62de63462ca64cc2a88e00fffcaf696bb6558cdec6ab0a1af8012eb2a7e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7bfdb62de63462ca64cc2a88e00fffcaf696bb6558cdec6ab0a1af8012eb2a7e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7bfdb62de63462ca64cc2a88e00fffcaf696bb6558cdec6ab0a1af8012eb2a7e", kill_on_drop: false }` [INFO] [stdout] 7bfdb62de63462ca64cc2a88e00fffcaf696bb6558cdec6ab0a1af8012eb2a7e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+nightly" "clippy" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 563852468db980b3771b4aed3da49b4e507b64f5cb4584d60855b17266c646fb [INFO] running `Command { std: "docker" "start" "-a" "563852468db980b3771b4aed3da49b4e507b64f5cb4584d60855b17266c646fb", kill_on_drop: false }` [INFO] [stderr] Compiling portable-atomic v1.11.1 [INFO] [stderr] Compiling syn v2.0.111 [INFO] [stderr] Checking signal-hook-registry v1.4.7 [INFO] [stderr] Compiling cc v1.2.49 [INFO] [stderr] Checking critical-section v1.2.0 [INFO] [stderr] Compiling typenum v1.19.0 [INFO] [stderr] Checking getrandom v0.3.4 [INFO] [stderr] Compiling icu_properties_data v2.1.1 [INFO] [stderr] Checking subtle v2.6.1 [INFO] [stderr] Checking getrandom v0.2.16 [INFO] [stderr] Checking rand_core v0.9.3 [INFO] [stderr] Checking indexmap v2.12.1 [INFO] [stderr] Compiling rustls v0.23.35 [INFO] [stderr] Checking const-oid v0.10.1 [INFO] [stderr] Checking ppv-lite86 v0.2.21 [INFO] [stderr] Checking serde_json v1.0.145 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking pem-rfc7468 v1.0.0 [INFO] [stderr] Checking spin v0.9.8 [INFO] [stderr] Compiling ryu v1.0.20 [INFO] [stderr] Checking fastrand v2.3.0 [INFO] [stderr] Checking once_cell v1.21.3 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Compiling convert_case v0.10.0 [INFO] [stderr] Checking tracing-core v0.1.35 [INFO] [stderr] Checking rand_chacha v0.9.0 [INFO] [stderr] Compiling curve25519-dalek v5.0.0-pre.1 [INFO] [stderr] Checking diatomic-waker v0.2.3 [INFO] [stderr] Compiling futures-sink v0.3.31 [INFO] [stderr] Checking cordyceps v0.3.4 [INFO] [stderr] Checking spin v0.10.0 [INFO] [stderr] Compiling toml_parser v1.0.4 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Checking rand v0.9.2 [INFO] [stderr] Checking futures-lite v2.6.1 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Compiling libsqlite3-sys v0.30.1 [INFO] [stderr] Checking futures-buffered v0.2.12 [INFO] [stderr] Compiling heapless v0.7.17 [INFO] [stderr] Compiling n0-future v0.3.1 [INFO] [stderr] Compiling iroh-quinn-udp v0.5.7 [INFO] [stderr] Checking iri-string v0.7.9 [INFO] [stderr] Compiling toml_datetime v0.7.3 [INFO] [stderr] Checking hash32 v0.2.1 [INFO] [stderr] Compiling crypto-common v0.1.7 [INFO] [stderr] Compiling toml_edit v0.23.9 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Checking netlink-packet-core v0.8.1 [INFO] [stderr] Compiling parking_lot_core v0.9.12 [INFO] [stderr] Compiling mio v1.1.1 [INFO] [stderr] Compiling socket2 v0.6.1 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking socket2 v0.5.10 [INFO] [stderr] Checking signature v3.0.0-rc.5 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Compiling proc-macro-crate v3.4.0 [INFO] [stderr] Compiling parking_lot v0.12.5 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling concurrent-queue v2.5.0 [INFO] [stderr] Compiling crc-catalog v2.4.0 [INFO] [stderr] Compiling moka v0.12.11 [INFO] [stderr] Compiling litrs v1.0.0 [INFO] [stderr] Compiling event-listener v5.4.1 [INFO] [stderr] Compiling crc v3.4.0 [INFO] [stderr] Compiling sha2 v0.10.9 [INFO] [stderr] Compiling futures-intrusive v0.5.0 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Compiling document-features v0.2.12 [INFO] [stderr] Compiling hashlink v0.10.0 [INFO] [stderr] Checking netlink-packet-route v0.25.1 [INFO] [stderr] Compiling crossbeam-queue v0.3.12 [INFO] [stderr] Compiling blake3 v1.8.2 [INFO] [stderr] Checking uuid v1.19.0 [INFO] [stderr] Compiling iroh-quinn v0.14.0 [INFO] [stderr] Compiling netwatch v0.12.0 [INFO] [stderr] Compiling pkarr v5.0.0 [INFO] [stderr] Checking base32 v0.5.1 [INFO] [stderr] Checking xml-rs v0.8.28 [INFO] [stderr] Checking tagptr v0.2.0 [INFO] [stderr] Checking rustc-hash v2.1.1 [INFO] [stderr] Compiling base64 v0.22.1 [INFO] [stderr] Checking time v0.3.44 [INFO] [stderr] Checking xmltree v0.10.3 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.1 [INFO] [stderr] Compiling zeroize_derive v1.4.2 [INFO] [stderr] Compiling zerovec-derive v0.11.2 [INFO] [stderr] Checking zeroize v1.8.2 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling tokio-macros v2.6.0 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling tracing-attributes v0.1.31 [INFO] [stderr] Compiling thiserror-impl v2.0.17 [INFO] [stderr] Checking hybrid-array v0.4.5 [INFO] [stderr] Checking zerofrom v0.1.6 [INFO] [stderr] Checking yoke v0.8.1 [INFO] [stderr] Checking zerovec v0.11.5 [INFO] [stderr] Checking zerotrie v0.2.3 [INFO] [stderr] Checking tracing v0.1.43 [INFO] [stderr] Checking rustls-pki-types v1.13.1 [INFO] [stderr] Checking tinystr v0.8.2 [INFO] [stderr] Checking icu_locale_core v2.1.1 [INFO] [stderr] Checking potential_utf v0.1.4 [INFO] [stderr] Checking crypto-common v0.2.0-rc.4 [INFO] [stderr] Checking icu_collections v2.1.1 [INFO] [stderr] Checking thiserror v2.0.17 [INFO] [stderr] Checking rustls-webpki v0.103.8 [INFO] [stderr] Checking icu_provider v2.1.1 [INFO] [stderr] Checking block-buffer v0.11.0 [INFO] [stderr] Checking icu_properties v2.1.1 [INFO] [stderr] Checking icu_normalizer v2.1.1 [INFO] [stderr] Checking digest v0.11.0-rc.3 [INFO] [stderr] Checking der v0.8.0-rc.10 [INFO] [stderr] Checking serde v1.0.228 [INFO] [stderr] Checking idna_adapter v1.2.1 [INFO] [stderr] Checking idna v1.1.0 [INFO] [stderr] Checking futures-executor v0.3.31 [INFO] [stderr] Checking bytes v1.11.0 [INFO] [stderr] Checking futures v0.3.31 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking url v2.5.7 [INFO] [stderr] Compiling spez v0.1.2 [INFO] [stderr] Compiling n0-error-macros v0.1.2 [INFO] [stderr] Checking spki v0.8.0-rc.4 [INFO] [stderr] Checking webpki-roots v1.0.4 [INFO] [stderr] Checking inout v0.2.1 [INFO] [stderr] Compiling derive_more-impl v1.0.0 [INFO] [stderr] Compiling pin-project-internal v1.1.10 [INFO] [stderr] Checking tokio v1.48.0 [INFO] [stderr] Checking http v1.4.0 [INFO] [stderr] Checking n0-error v0.1.2 [INFO] [stderr] Compiling derive_more-impl v2.1.0 [INFO] [stderr] Compiling async-trait v0.1.89 [INFO] [stderr] Checking http-body v1.0.1 [INFO] [stderr] Checking http-body-util v0.1.3 [INFO] [stderr] Compiling curve25519-dalek-derive v0.1.1 [INFO] [stderr] Checking pin-project v1.1.10 [INFO] [stderr] Checking pkcs8 v0.11.0-rc.8 [INFO] [stderr] Checking ed25519 v3.0.0-rc.2 [INFO] [stderr] Checking cipher v0.5.0-rc.1 [INFO] [stderr] Checking derive_more v1.0.0 [INFO] [stderr] Checking sha2 v0.11.0-rc.2 [INFO] [stderr] Checking cobs v0.3.0 [INFO] [stderr] Checking rustls-native-certs v0.8.2 [INFO] [stderr] Compiling postcard-derive v0.2.2 [INFO] [stderr] Checking rustls-platform-verifier v0.5.3 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Checking universal-hash v0.6.0-rc.2 [INFO] [stderr] Checking postcard v1.1.3 [INFO] [stderr] Compiling enum-as-inner v0.6.1 [INFO] [stderr] Checking ed25519-dalek v3.0.0-pre.1 [INFO] [stderr] Compiling num_enum_derive v0.7.5 [INFO] [stderr] Compiling iroh-metrics-derive v0.4.0 [INFO] [stderr] Checking poly1305 v0.9.0-rc.2 [INFO] [stderr] Checking iroh-quinn-proto v0.13.0 [INFO] [stderr] Checking chacha20 v0.10.0-rc.2 [INFO] [stderr] Checking salsa20 v0.11.0-rc.1 [INFO] [stderr] Checking attohttpc v0.30.1 [INFO] [stderr] Checking aead v0.6.0-rc.2 [INFO] [stderr] Checking ntimestamp v1.0.0 [INFO] [stderr] Compiling atoi v2.0.0 [INFO] [stderr] Checking num_enum v0.7.5 [INFO] [stderr] Compiling strum_macros v0.27.2 [INFO] [stderr] Compiling flume v0.11.1 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Checking tokio-util v0.7.17 [INFO] [stderr] Checking tokio-rustls v0.26.4 [INFO] [stderr] Checking tower v0.5.2 [INFO] [stderr] Checking derive_more v2.1.0 [INFO] [stderr] Checking netlink-sys v0.8.7 [INFO] [stderr] Checking async-compat v0.2.5 [INFO] [stderr] Checking simple-dns v0.9.3 [INFO] [stderr] Checking netdev v0.38.2 [INFO] [stderr] Checking netlink-proto v0.12.0 [INFO] [stderr] Checking tower-http v0.6.7 [INFO] [stderr] Compiling iroh-relay v0.95.1 [INFO] [stderr] Checking self_cell v1.2.1 [INFO] [stderr] Checking base16ct v0.3.0 [INFO] [stderr] Checking constant_time_eq v0.3.1 [INFO] [stderr] Checking dyn-clone v1.0.20 [INFO] [stderr] Checking lru v0.13.0 [INFO] [stderr] Checking simdutf8 v0.1.5 [INFO] [stderr] Checking h2 v0.4.12 [INFO] [stderr] Checking tokio-stream v0.1.17 [INFO] [stderr] Checking resolv-conf v0.7.6 [INFO] [stderr] Checking n0-watcher v0.5.0 [INFO] [stderr] Checking tokio-websockets v0.12.3 [INFO] [stderr] Checking serdect v0.4.1 [INFO] [stderr] Checking iroh-base v0.95.1 [INFO] [stderr] Checking strum v0.27.2 [INFO] [stderr] Checking crypto_secretbox v0.2.0-pre.0 [INFO] [stderr] Checking sha1 v0.11.0-rc.2 [INFO] [stderr] Checking lru v0.16.2 [INFO] [stderr] Compiling iroh v0.95.1 [INFO] [stderr] Checking serde_bytes v0.11.19 [INFO] [stderr] Checking rand v0.4.6 [INFO] [stderr] Checking z32 v1.3.0 [INFO] [stderr] Compiling dotenvy v0.15.7 [INFO] [stderr] Checking crypto_box v0.10.0-pre.0 [INFO] [stderr] Checking sqlx-core v0.8.6 [INFO] [stderr] Checking env_filter v0.1.4 [INFO] [stderr] Checking rand v0.3.23 [INFO] [stderr] Checking ahash v0.8.12 [INFO] [stderr] Checking backon v1.6.0 [INFO] [stderr] Compiling zel_types v0.5.0 [INFO] [stderr] Checking atomic v0.5.3 [INFO] [stderr] Checking env_logger v0.11.8 [INFO] [stderr] Checking circuitbreaker-rs v0.1.1 [INFO] [stderr] Checking rng v0.1.0 [INFO] [stderr] Compiling zel_macros v0.5.0 [INFO] [stderr] Checking hyper v1.8.1 [INFO] [stderr] Checking hickory-proto v0.25.2 [INFO] [stderr] Checking sqlx-sqlite v0.8.6 [INFO] [stderr] Checking hyper-util v0.1.19 [INFO] [stderr] Checking hyper-rustls v0.27.7 [INFO] [stderr] Checking igd-next v0.16.2 [INFO] [stderr] Checking reqwest v0.12.24 [INFO] [stderr] Checking hickory-resolver v0.25.2 [INFO] [stderr] Compiling sqlx-macros-core v0.8.6 [INFO] [stderr] Checking iroh-metrics v0.37.0 [INFO] [stderr] Checking portmapper v0.12.0 [INFO] [stderr] Compiling sqlx-macros v0.8.6 [INFO] [stderr] Checking sqlx v0.8.6 [INFO] [stderr] Checking zel_core v0.5.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: returning the result of a `let` binding from a block [INFO] [stdout] --> src/protocol/circuit_breaker.rs:328:9 [INFO] [stdout] | [INFO] [stdout] 322 | / let result = match result { [INFO] [stdout] 323 | | Ok(Ok(value)) => Ok(value), [INFO] [stdout] 324 | | Ok(Err(app_error)) => Err(BreakerError::Operation(app_error)), [INFO] [stdout] 325 | | Err(severe_error) => Err(severe_error), [INFO] [stdout] 326 | | }; [INFO] [stdout] | |__________- unnecessary `let` binding [INFO] [stdout] 327 | [INFO] [stdout] 328 | result [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#let_and_return [INFO] [stdout] = note: `#[warn(clippy::let_and_return)]` on by default [INFO] [stdout] help: return the expression directly [INFO] [stdout] | [INFO] [stdout] 322 ~ [INFO] [stdout] 323 | [INFO] [stdout] 324 ~ match result { [INFO] [stdout] 325 + Ok(Ok(value)) => Ok(value), [INFO] [stdout] 326 + Ok(Err(app_error)) => Err(BreakerError::Operation(app_error)), [INFO] [stdout] 327 + Err(severe_error) => Err(severe_error), [INFO] [stdout] 328 + } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this `impl` can be derived [INFO] [stdout] --> src/protocol/circuit_breaker.rs:494:1 [INFO] [stdout] | [INFO] [stdout] 494 | / impl Default for CircuitBreakerConfigBuilder { [INFO] [stdout] 495 | | fn default() -> Self { [INFO] [stdout] 496 | | Self { [INFO] [stdout] 497 | | config: CircuitBreakerConfig::default(), [INFO] [stdout] ... | [INFO] [stdout] 500 | | } [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] 490 + #[derive(Default)] [INFO] [stdout] 491 | pub struct CircuitBreakerConfigBuilder { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this `impl` can be derived [INFO] [stdout] --> src/protocol/error_classification.rs:155:1 [INFO] [stdout] | [INFO] [stdout] 155 | / impl Default for ErrorClassifier { [INFO] [stdout] 156 | | fn default() -> Self { [INFO] [stdout] 157 | | Self::Default [INFO] [stdout] 158 | | } [INFO] [stdout] 159 | | } [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] help: replace the manual implementation with a derive attribute and mark the default variant [INFO] [stdout] | [INFO] [stdout] 144 + #[derive(Default)] [INFO] [stdout] 145 | pub enum ErrorClassifier { [INFO] [stdout] 146 | /// Default: Only infrastructure and marked system failures count [INFO] [stdout] 147 ~ #[default] [INFO] [stdout] 148 ~ Default, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods called `as_*` usually take `self` by reference or `self` by mutable reference [INFO] [stdout] --> src/protocol/error_classification.rs:248:26 [INFO] [stdout] | [INFO] [stdout] 248 | fn as_system_failure(self) -> Error; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider choosing a less ambiguous name [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#wrong_self_convention [INFO] [stdout] = note: `#[warn(clippy::wrong_self_convention)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods called `as_*` usually take `self` by reference or `self` by mutable reference [INFO] [stdout] --> src/protocol/error_classification.rs:254:29 [INFO] [stdout] | [INFO] [stdout] 254 | fn as_application_error(self) -> Error; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider choosing a less ambiguous name [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#wrong_self_convention [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods called `as_*` usually take `self` by reference or `self` by mutable reference [INFO] [stdout] --> src/protocol/error_classification.rs:257:23 [INFO] [stdout] | [INFO] [stdout] 257 | fn as_application(self) -> Error; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider choosing a less ambiguous name [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#wrong_self_convention [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods called `as_*` usually take `self` by reference or `self` by mutable reference [INFO] [stdout] --> src/protocol/error_classification.rs:262:26 [INFO] [stdout] | [INFO] [stdout] 262 | fn as_infrastructure(self) -> Error; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider choosing a less ambiguous name [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#wrong_self_convention [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this can be `std::io::Error::other(_)` [INFO] [stdout] --> src/protocol/error_classification.rs:285:21 [INFO] [stdout] | [INFO] [stdout] 285 | Error::from(std::io::Error::new(std::io::ErrorKind::Other, msg)) [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] 285 - Error::from(std::io::Error::new(std::io::ErrorKind::Other, msg)) [INFO] [stdout] 285 + Error::from(std::io::Error::other(msg)) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this function has too many arguments (10/7) [INFO] [stdout] --> src/protocol/handlers/rpc.rs:16:1 [INFO] [stdout] | [INFO] [stdout] 16 | / pub async fn handle_rpc( [INFO] [stdout] 17 | | callback: Rpc, [INFO] [stdout] 18 | | request: Request, [INFO] [stdout] 19 | | tx: &mut FramedWrite, [INFO] [stdout] ... | [INFO] [stdout] 26 | | circuit_breakers: Option>, [INFO] [stdout] 27 | | ) -> Result<()> { [INFO] [stdout] | |_______________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#too_many_arguments [INFO] [stdout] = note: `#[warn(clippy::too_many_arguments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this function has too many arguments (9/7) [INFO] [stdout] --> src/protocol/handlers/subscription.rs:17:1 [INFO] [stdout] | [INFO] [stdout] 17 | / pub async fn handle_subscription( [INFO] [stdout] 18 | | callback: Subscription, [INFO] [stdout] 19 | | request: Request, [INFO] [stdout] 20 | | tx: &mut FramedWrite, [INFO] [stdout] ... | [INFO] [stdout] 26 | | shutdown_signal: Arc, [INFO] [stdout] 27 | | ) -> Result<()> { [INFO] [stdout] | |_______________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#too_many_arguments [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this function has too many arguments (9/7) [INFO] [stdout] --> src/protocol/handlers/subscription.rs:108:1 [INFO] [stdout] | [INFO] [stdout] 108 | / pub fn spawn_subscription_task( [INFO] [stdout] 109 | | callback: Subscription, [INFO] [stdout] 110 | | request: Request, [INFO] [stdout] 111 | | sub_tx: FramedWrite, [INFO] [stdout] ... | [INFO] [stdout] 117 | | shutdown_signal: Arc, [INFO] [stdout] 118 | | ) { [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#too_many_arguments [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this function has too many arguments (9/7) [INFO] [stdout] --> src/protocol/handlers/notification.rs:17:1 [INFO] [stdout] | [INFO] [stdout] 17 | / pub async fn handle_notification( [INFO] [stdout] 18 | | callback: NotificationHandler, [INFO] [stdout] 19 | | request: Request, [INFO] [stdout] 20 | | tx: &mut FramedWrite, [INFO] [stdout] ... | [INFO] [stdout] 26 | | shutdown_signal: Arc, [INFO] [stdout] 27 | | ) -> Result<()> { [INFO] [stdout] | |_______________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#too_many_arguments [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this function has too many arguments (10/7) [INFO] [stdout] --> src/protocol/handlers/notification.rs:109:1 [INFO] [stdout] | [INFO] [stdout] 109 | / pub fn spawn_notification_task( [INFO] [stdout] 110 | | callback: NotificationHandler, [INFO] [stdout] 111 | | request: Request, [INFO] [stdout] 112 | | notif_rx: FramedRead, [INFO] [stdout] ... | [INFO] [stdout] 119 | | shutdown_signal: Arc, [INFO] [stdout] 120 | | ) { [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#too_many_arguments [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this function has too many arguments (9/7) [INFO] [stdout] --> src/protocol/handlers/stream.rs:17:1 [INFO] [stdout] | [INFO] [stdout] 17 | / pub async fn handle_stream_handler( [INFO] [stdout] 18 | | callback: StreamHandler, [INFO] [stdout] 19 | | request: Request, [INFO] [stdout] 20 | | tx: &mut FramedWrite, [INFO] [stdout] ... | [INFO] [stdout] 26 | | shutdown_signal: Arc, [INFO] [stdout] 27 | | ) -> Result<()> { [INFO] [stdout] | |_______________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#too_many_arguments [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this function has too many arguments (10/7) [INFO] [stdout] --> src/protocol/handlers/stream.rs:90:1 [INFO] [stdout] | [INFO] [stdout] 90 | / pub fn spawn_stream_handler_task( [INFO] [stdout] 91 | | callback: StreamHandler, [INFO] [stdout] 92 | | request: Request, [INFO] [stdout] 93 | | stream_tx: SendStream, [INFO] [stdout] ... | [INFO] [stdout] 100 | | shutdown_signal: Arc, [INFO] [stdout] 101 | | ) { [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#too_many_arguments [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this `impl` can be derived [INFO] [stdout] --> src/protocol/retry.rs:341:1 [INFO] [stdout] | [INFO] [stdout] 341 | / impl Default for RetryConfigBuilder { [INFO] [stdout] 342 | | fn default() -> Self { [INFO] [stdout] 343 | | Self { [INFO] [stdout] 344 | | config: RetryConfig::default(), [INFO] [stdout] ... | [INFO] [stdout] 347 | | } [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] help: replace the manual implementation with a derive attribute [INFO] [stdout] | [INFO] [stdout] 337 + #[derive(Default)] [INFO] [stdout] 338 | pub struct RetryConfigBuilder { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this function has too many arguments (10/7) [INFO] [stdout] --> src/protocol/server.rs:56:1 [INFO] [stdout] | [INFO] [stdout] 56 | / async fn connection_handler( [INFO] [stdout] 57 | | service_map: ServiceMap<'static>, [INFO] [stdout] 58 | | server_extensions: Extensions, [INFO] [stdout] 59 | | connection_hook: Option, [INFO] [stdout] ... | [INFO] [stdout] 66 | | circuit_breakers: Option>, [INFO] [stdout] 67 | | ) -> anyhow::Result<()> { [INFO] [stdout] | |_______________________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#too_many_arguments [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this function has too many arguments (10/7) [INFO] [stdout] --> src/protocol/server.rs:159:1 [INFO] [stdout] | [INFO] [stdout] 159 | / async fn handle_stream( [INFO] [stdout] 160 | | tx: SendStream, [INFO] [stdout] 161 | | rx: RecvStream, [INFO] [stdout] 162 | | service_map: ServiceMap<'static>, [INFO] [stdout] ... | [INFO] [stdout] 169 | | circuit_breakers: Option>, [INFO] [stdout] 170 | | ) -> anyhow::Result<()> { [INFO] [stdout] | |_______________________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#too_many_arguments [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: returning the result of a `let` binding from a block [INFO] [stdout] --> src/protocol/circuit_breaker.rs:328:9 [INFO] [stdout] | [INFO] [stdout] 322 | / let result = match result { [INFO] [stdout] 323 | | Ok(Ok(value)) => Ok(value), [INFO] [stdout] 324 | | Ok(Err(app_error)) => Err(BreakerError::Operation(app_error)), [INFO] [stdout] 325 | | Err(severe_error) => Err(severe_error), [INFO] [stdout] 326 | | }; [INFO] [stdout] | |__________- unnecessary `let` binding [INFO] [stdout] 327 | [INFO] [stdout] 328 | result [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#let_and_return [INFO] [stdout] = note: `#[warn(clippy::let_and_return)]` on by default [INFO] [stdout] help: return the expression directly [INFO] [stdout] | [INFO] [stdout] 322 ~ [INFO] [stdout] 323 | [INFO] [stdout] 324 ~ match result { [INFO] [stdout] 325 + Ok(Ok(value)) => Ok(value), [INFO] [stdout] 326 + Ok(Err(app_error)) => Err(BreakerError::Operation(app_error)), [INFO] [stdout] 327 + Err(severe_error) => Err(severe_error), [INFO] [stdout] 328 + } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this `impl` can be derived [INFO] [stdout] --> src/protocol/circuit_breaker.rs:494:1 [INFO] [stdout] | [INFO] [stdout] 494 | / impl Default for CircuitBreakerConfigBuilder { [INFO] [stdout] 495 | | fn default() -> Self { [INFO] [stdout] 496 | | Self { [INFO] [stdout] 497 | | config: CircuitBreakerConfig::default(), [INFO] [stdout] ... | [INFO] [stdout] 500 | | } [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] 490 + #[derive(Default)] [INFO] [stdout] 491 | pub struct CircuitBreakerConfigBuilder { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this `impl` can be derived [INFO] [stdout] --> src/protocol/error_classification.rs:155:1 [INFO] [stdout] | [INFO] [stdout] 155 | / impl Default for ErrorClassifier { [INFO] [stdout] 156 | | fn default() -> Self { [INFO] [stdout] 157 | | Self::Default [INFO] [stdout] 158 | | } [INFO] [stdout] 159 | | } [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] help: replace the manual implementation with a derive attribute and mark the default variant [INFO] [stdout] | [INFO] [stdout] 144 + #[derive(Default)] [INFO] [stdout] 145 | pub enum ErrorClassifier { [INFO] [stdout] 146 | /// Default: Only infrastructure and marked system failures count [INFO] [stdout] 147 ~ #[default] [INFO] [stdout] 148 ~ Default, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods called `as_*` usually take `self` by reference or `self` by mutable reference [INFO] [stdout] --> src/protocol/error_classification.rs:248:26 [INFO] [stdout] | [INFO] [stdout] 248 | fn as_system_failure(self) -> Error; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider choosing a less ambiguous name [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#wrong_self_convention [INFO] [stdout] = note: `#[warn(clippy::wrong_self_convention)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods called `as_*` usually take `self` by reference or `self` by mutable reference [INFO] [stdout] --> src/protocol/error_classification.rs:254:29 [INFO] [stdout] | [INFO] [stdout] 254 | fn as_application_error(self) -> Error; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider choosing a less ambiguous name [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#wrong_self_convention [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods called `as_*` usually take `self` by reference or `self` by mutable reference [INFO] [stdout] --> src/protocol/error_classification.rs:257:23 [INFO] [stdout] | [INFO] [stdout] 257 | fn as_application(self) -> Error; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider choosing a less ambiguous name [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#wrong_self_convention [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods called `as_*` usually take `self` by reference or `self` by mutable reference [INFO] [stdout] --> src/protocol/error_classification.rs:262:26 [INFO] [stdout] | [INFO] [stdout] 262 | fn as_infrastructure(self) -> Error; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider choosing a less ambiguous name [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#wrong_self_convention [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this can be `std::io::Error::other(_)` [INFO] [stdout] --> src/protocol/error_classification.rs:285:21 [INFO] [stdout] | [INFO] [stdout] 285 | Error::from(std::io::Error::new(std::io::ErrorKind::Other, msg)) [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] 285 - Error::from(std::io::Error::new(std::io::ErrorKind::Other, msg)) [INFO] [stdout] 285 + Error::from(std::io::Error::other(msg)) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this function has too many arguments (10/7) [INFO] [stdout] --> src/protocol/handlers/rpc.rs:16:1 [INFO] [stdout] | [INFO] [stdout] 16 | / pub async fn handle_rpc( [INFO] [stdout] 17 | | callback: Rpc, [INFO] [stdout] 18 | | request: Request, [INFO] [stdout] 19 | | tx: &mut FramedWrite, [INFO] [stdout] ... | [INFO] [stdout] 26 | | circuit_breakers: Option>, [INFO] [stdout] 27 | | ) -> Result<()> { [INFO] [stdout] | |_______________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#too_many_arguments [INFO] [stdout] = note: `#[warn(clippy::too_many_arguments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this function has too many arguments (9/7) [INFO] [stdout] --> src/protocol/handlers/subscription.rs:17:1 [INFO] [stdout] | [INFO] [stdout] 17 | / pub async fn handle_subscription( [INFO] [stdout] 18 | | callback: Subscription, [INFO] [stdout] 19 | | request: Request, [INFO] [stdout] 20 | | tx: &mut FramedWrite, [INFO] [stdout] ... | [INFO] [stdout] 26 | | shutdown_signal: Arc, [INFO] [stdout] 27 | | ) -> Result<()> { [INFO] [stdout] | |_______________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#too_many_arguments [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this function has too many arguments (9/7) [INFO] [stdout] --> src/protocol/handlers/subscription.rs:108:1 [INFO] [stdout] | [INFO] [stdout] 108 | / pub fn spawn_subscription_task( [INFO] [stdout] 109 | | callback: Subscription, [INFO] [stdout] 110 | | request: Request, [INFO] [stdout] 111 | | sub_tx: FramedWrite, [INFO] [stdout] ... | [INFO] [stdout] 117 | | shutdown_signal: Arc, [INFO] [stdout] 118 | | ) { [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#too_many_arguments [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this function has too many arguments (9/7) [INFO] [stdout] --> src/protocol/handlers/notification.rs:17:1 [INFO] [stdout] | [INFO] [stdout] 17 | / pub async fn handle_notification( [INFO] [stdout] 18 | | callback: NotificationHandler, [INFO] [stdout] 19 | | request: Request, [INFO] [stdout] 20 | | tx: &mut FramedWrite, [INFO] [stdout] ... | [INFO] [stdout] 26 | | shutdown_signal: Arc, [INFO] [stdout] 27 | | ) -> Result<()> { [INFO] [stdout] | |_______________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#too_many_arguments [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this function has too many arguments (10/7) [INFO] [stdout] --> src/protocol/handlers/notification.rs:109:1 [INFO] [stdout] | [INFO] [stdout] 109 | / pub fn spawn_notification_task( [INFO] [stdout] 110 | | callback: NotificationHandler, [INFO] [stdout] 111 | | request: Request, [INFO] [stdout] 112 | | notif_rx: FramedRead, [INFO] [stdout] ... | [INFO] [stdout] 119 | | shutdown_signal: Arc, [INFO] [stdout] 120 | | ) { [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#too_many_arguments [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this function has too many arguments (9/7) [INFO] [stdout] --> src/protocol/handlers/stream.rs:17:1 [INFO] [stdout] | [INFO] [stdout] 17 | / pub async fn handle_stream_handler( [INFO] [stdout] 18 | | callback: StreamHandler, [INFO] [stdout] 19 | | request: Request, [INFO] [stdout] 20 | | tx: &mut FramedWrite, [INFO] [stdout] ... | [INFO] [stdout] 26 | | shutdown_signal: Arc, [INFO] [stdout] 27 | | ) -> Result<()> { [INFO] [stdout] | |_______________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#too_many_arguments [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this function has too many arguments (10/7) [INFO] [stdout] --> src/protocol/handlers/stream.rs:90:1 [INFO] [stdout] | [INFO] [stdout] 90 | / pub fn spawn_stream_handler_task( [INFO] [stdout] 91 | | callback: StreamHandler, [INFO] [stdout] 92 | | request: Request, [INFO] [stdout] 93 | | stream_tx: SendStream, [INFO] [stdout] ... | [INFO] [stdout] 100 | | shutdown_signal: Arc, [INFO] [stdout] 101 | | ) { [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#too_many_arguments [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this `impl` can be derived [INFO] [stdout] --> src/protocol/retry.rs:341:1 [INFO] [stdout] | [INFO] [stdout] 341 | / impl Default for RetryConfigBuilder { [INFO] [stdout] 342 | | fn default() -> Self { [INFO] [stdout] 343 | | Self { [INFO] [stdout] 344 | | config: RetryConfig::default(), [INFO] [stdout] ... | [INFO] [stdout] 347 | | } [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] help: replace the manual implementation with a derive attribute [INFO] [stdout] | [INFO] [stdout] 337 + #[derive(Default)] [INFO] [stdout] 338 | pub struct RetryConfigBuilder { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this function has too many arguments (10/7) [INFO] [stdout] --> src/protocol/server.rs:56:1 [INFO] [stdout] | [INFO] [stdout] 56 | / async fn connection_handler( [INFO] [stdout] 57 | | service_map: ServiceMap<'static>, [INFO] [stdout] 58 | | server_extensions: Extensions, [INFO] [stdout] 59 | | connection_hook: Option, [INFO] [stdout] ... | [INFO] [stdout] 66 | | circuit_breakers: Option>, [INFO] [stdout] 67 | | ) -> anyhow::Result<()> { [INFO] [stdout] | |_______________________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#too_many_arguments [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this function has too many arguments (10/7) [INFO] [stdout] --> src/protocol/server.rs:159:1 [INFO] [stdout] | [INFO] [stdout] 159 | / async fn handle_stream( [INFO] [stdout] 160 | | tx: SendStream, [INFO] [stdout] 161 | | rx: RecvStream, [INFO] [stdout] 162 | | service_map: ServiceMap<'static>, [INFO] [stdout] ... | [INFO] [stdout] 169 | | circuit_breakers: Option>, [INFO] [stdout] 170 | | ) -> anyhow::Result<()> { [INFO] [stdout] | |_______________________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#too_many_arguments [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual absolute difference pattern without using `abs_diff` [INFO] [stdout] --> tests/retry_tests.rs:562:20 [INFO] [stdout] | [INFO] [stdout] 562 | let diff = if w[0] > w[1] { [INFO] [stdout] | ____________________^ [INFO] [stdout] 563 | | w[0] - w[1] [INFO] [stdout] 564 | | } else { [INFO] [stdout] 565 | | w[1] - w[0] [INFO] [stdout] 566 | | }; [INFO] [stdout] | |_________^ help: replace with `abs_diff`: `w[0].abs_diff(w[1])` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_abs_diff [INFO] [stdout] = note: `#[warn(clippy::manual_abs_diff)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant redefinition of a binding `peer_id` [INFO] [stdout] --> tests/circuit_breaker_tests.rs:600:13 [INFO] [stdout] | [INFO] [stdout] 600 | let peer_id = peer_id; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: `peer_id` is initially defined here [INFO] [stdout] --> tests/circuit_breaker_tests.rs:594:9 [INFO] [stdout] | [INFO] [stdout] 594 | let peer_id = create_test_peer(); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_locals [INFO] [stdout] = note: `#[warn(clippy::redundant_locals)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this can be `std::io::Error::other(_)` [INFO] [stdout] --> tests/error_classification_tests.rs:317:18 [INFO] [stdout] | [INFO] [stdout] 317 | let io_err = io::Error::new(io::ErrorKind::Other, "test"); [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] 317 - let io_err = io::Error::new(io::ErrorKind::Other, "test"); [INFO] [stdout] 317 + let io_err = io::Error::other("test"); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this can be `std::io::Error::other(_)` [INFO] [stdout] --> tests/error_classification_tests.rs:340:18 [INFO] [stdout] | [INFO] [stdout] 340 | let io_err = io::Error::new(io::ErrorKind::Other, "infrastructure error"); [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] help: use `std::io::Error::other` [INFO] [stdout] | [INFO] [stdout] 340 - let io_err = io::Error::new(io::ErrorKind::Other, "infrastructure error"); [INFO] [stdout] 340 + let io_err = io::Error::other("infrastructure error"); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `futures::StreamExt` [INFO] [stdout] --> examples/metrics_prometheus.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use futures::StreamExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `iroh::Watcher` [INFO] [stdout] --> examples/metrics_prometheus.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | use iroh::Watcher; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Arc` and `RwLock` [INFO] [stdout] --> examples/metrics_prometheus.rs:19:17 [INFO] [stdout] | [INFO] [stdout] 19 | use std::sync::{Arc, RwLock}; [INFO] [stdout] | ^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::time::Duration` [INFO] [stdout] --> examples/metrics_prometheus.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | use std::time::Duration; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `zel_core::prelude::*` [INFO] [stdout] --> examples/metrics_prometheus.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | use zel_core::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `zel_core::IrohBundle` [INFO] [stdout] --> examples/metrics_prometheus.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | use zel_core::IrohBundle; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> examples/metrics_prometheus.rs:172:5 [INFO] [stdout] | [INFO] [stdout] 35 | std::process::exit(1); [INFO] [stdout] | --------------------- any code following this expression is unreachable [INFO] [stdout] ... [INFO] [stdout] 172 | Ok(()) [INFO] [stdout] | ^^^^^^ unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the variable `count` is used as a loop counter [INFO] [stdout] --> examples/macro_service_example.rs:71:9 [INFO] [stdout] | [INFO] [stdout] 71 | for _ in 0..5 { [INFO] [stdout] | ^^^^^^^^^^^^^ help: consider using: `for (count, _) in (0..5).enumerate()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_counter_loop [INFO] [stdout] = note: `#[warn(clippy::explicit_counter_loop)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `max_request_size` is never read [INFO] [stdout] --> examples/context_extensions_demo.rs:55:5 [INFO] [stdout] | [INFO] [stdout] 54 | struct ServerConfig { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] 55 | max_request_size: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ServerConfig` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `name` is never read [INFO] [stdout] --> tests/protocol_integration.rs:508:9 [INFO] [stdout] | [INFO] [stdout] 507 | struct DbPool { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 508 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DbPool` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 3m 35s [INFO] running `Command { std: "docker" "inspect" "563852468db980b3771b4aed3da49b4e507b64f5cb4584d60855b17266c646fb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "563852468db980b3771b4aed3da49b4e507b64f5cb4584d60855b17266c646fb", kill_on_drop: false }` [INFO] [stdout] 563852468db980b3771b4aed3da49b4e507b64f5cb4584d60855b17266c646fb