[INFO] cloning repository https://github.com/MMADUs/ArcX [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/MMADUs/ArcX" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMMADUs%2FArcX", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMMADUs%2FArcX'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 3e05064a2d0dc6b549703acc585826bf40dd0438 [INFO] checking MMADUs/ArcX/3e05064a2d0dc6b549703acc585826bf40dd0438 against master#613bdd49978298648ed05ace086bd1ecad54b44a for pr-136458 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMMADUs%2FArcX" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/MMADUs/ArcX on toolchain 613bdd49978298648ed05ace086bd1ecad54b44a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+613bdd49978298648ed05ace086bd1ecad54b44a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/MMADUs/ArcX [INFO] finished tweaking git repo https://github.com/MMADUs/ArcX [INFO] tweaked toml for git repo https://github.com/MMADUs/ArcX written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/MMADUs/ArcX 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" "+613bdd49978298648ed05ace086bd1ecad54b44a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"` [INFO] [stderr] note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest [INFO] [stderr] note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest [INFO] [stderr] note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions [INFO] [stderr] warning: /workspace/builds/worker-4-tc1/source/glaive/Cargo.toml: version requirement `0.9.34+deprecated` for dependency `serde_yaml` includes semver metadata which will be ignored, removing the metadata is recommended to avoid confusion [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded validator_derive v0.19.0 [INFO] [stderr] Downloaded validator v0.19.0 [INFO] [stderr] Downloaded daemonize v0.5.0 [INFO] [stderr] Downloaded trackable_derive v1.0.0 [INFO] [stderr] Downloaded rustracing v0.5.1 [INFO] [stderr] Downloaded pingora-lru v0.4.0 [INFO] [stderr] Downloaded pingora-pool v0.4.0 [INFO] [stderr] Downloaded tokio-test v0.4.4 [INFO] [stderr] Downloaded pingora-load-balancing v0.4.0 [INFO] [stderr] Downloaded pingora-ketama v0.4.0 [INFO] [stderr] Downloaded pingora-cache v0.4.0 [INFO] [stderr] Downloaded rustracing_jaeger v0.7.0 [INFO] [stderr] Downloaded prometheus v0.13.4 [INFO] [stderr] Downloaded pingora-proxy v0.4.0 [INFO] [stderr] Downloaded pingora-core v0.4.0 [INFO] [stderr] Downloaded scc v2.2.4 [INFO] [stderr] Downloaded pingora-header-serde v0.4.0 [INFO] [stderr] Downloaded trackable v0.2.24 [INFO] [stderr] Downloaded pingora-runtime v0.4.0 [INFO] [stderr] Downloaded pingora v0.4.0 [INFO] [stderr] Downloaded sdd v3.0.4 [INFO] [stderr] Downloaded redis v0.27.5 [INFO] [stderr] Downloaded thrift_codec v0.1.1 [INFO] [stderr] Downloaded trackable v1.3.0 [INFO] [stderr] Downloaded sfv v0.9.4 [INFO] [stderr] Downloaded pingora-timeout v0.4.0 [INFO] [stderr] Downloaded pingora-limits v0.4.0 [INFO] [stderr] Downloaded libz-ng-sys v1.1.20 [INFO] [stderr] Downloaded pingora-error v0.4.0 [INFO] [stderr] Downloaded pingora-http v0.4.0 [INFO] [stderr] Downloaded rs-consul v0.7.0 [INFO] [stderr] Downloaded slog-scope v4.4.0 [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:c80049f3b88b82089a44e0f06d0d6029d44b96b7257e55a1cd63dbc9f4c33334" "/opt/rustwide/cargo-home/bin/cargo" "+613bdd49978298648ed05ace086bd1ecad54b44a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] dc09497879c8877d39f15803337d8182d6bc174d7535d905aa1cc20cb61b5742 [INFO] running `Command { std: "docker" "start" "-a" "dc09497879c8877d39f15803337d8182d6bc174d7535d905aa1cc20cb61b5742", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "dc09497879c8877d39f15803337d8182d6bc174d7535d905aa1cc20cb61b5742", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dc09497879c8877d39f15803337d8182d6bc174d7535d905aa1cc20cb61b5742", kill_on_drop: false }` [INFO] [stdout] dc09497879c8877d39f15803337d8182d6bc174d7535d905aa1cc20cb61b5742 [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:c80049f3b88b82089a44e0f06d0d6029d44b96b7257e55a1cd63dbc9f4c33334" "/opt/rustwide/cargo-home/bin/cargo" "+613bdd49978298648ed05ace086bd1ecad54b44a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b24bbd67b1ac320bd501b12a33fa9712331076485472a8861e2375ca3f50ff93 [INFO] running `Command { std: "docker" "start" "-a" "b24bbd67b1ac320bd501b12a33fa9712331076485472a8861e2375ca3f50ff93", kill_on_drop: false }` [INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"` [INFO] [stderr] note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest [INFO] [stderr] note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest [INFO] [stderr] note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions [INFO] [stderr] warning: /opt/rustwide/workdir/glaive/Cargo.toml: version requirement `0.9.34+deprecated` for dependency `serde_yaml` includes semver metadata which will be ignored, removing the metadata is recommended to avoid confusion [INFO] [stderr] Compiling proc-macro2 v1.0.89 [INFO] [stderr] Compiling libc v0.2.162 [INFO] [stderr] Compiling autocfg v1.4.0 [INFO] [stderr] Compiling serde v1.0.214 [INFO] [stderr] Checking smallvec v1.13.2 [INFO] [stderr] Checking memchr v2.7.4 [INFO] [stderr] Checking once_cell v1.20.2 [INFO] [stderr] Checking pin-project-lite v0.2.15 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Checking futures-core v0.3.31 [INFO] [stderr] Checking allocator-api2 v0.2.18 [INFO] [stderr] Checking foldhash v0.1.3 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking futures-sink v0.3.31 [INFO] [stderr] Checking futures-task v0.3.31 [INFO] [stderr] Checking futures-io v0.3.31 [INFO] [stderr] Checking stable_deref_trait v1.2.0 [INFO] [stderr] Checking futures-channel v0.3.31 [INFO] [stderr] Compiling httparse v1.9.5 [INFO] [stderr] Compiling crossbeam-utils v0.8.20 [INFO] [stderr] Checking regex-syntax v0.8.5 [INFO] [stderr] Checking writeable v0.5.5 [INFO] [stderr] Compiling pkg-config v0.3.31 [INFO] [stderr] Checking litemap v0.7.3 [INFO] [stderr] Compiling serde_json v1.0.132 [INFO] [stderr] Checking tracing-core v0.1.32 [INFO] [stderr] Checking thread_local v1.1.8 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Checking atomic-waker v1.1.2 [INFO] [stderr] Checking hashbrown v0.15.1 [INFO] [stderr] Checking subtle v2.6.1 [INFO] [stderr] Checking icu_locid_transform_data v1.5.0 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Compiling thiserror v1.0.68 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling zstd-safe v7.2.1 [INFO] [stderr] Compiling rustversion v1.0.18 [INFO] [stderr] Checking arc-swap v1.7.1 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Compiling syn v2.0.87 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Checking icu_properties_data v1.5.0 [INFO] [stderr] Checking write16 v1.0.0 [INFO] [stderr] Checking spin v0.9.8 [INFO] [stderr] Checking utf8_iter v1.0.4 [INFO] [stderr] Checking untrusted v0.9.0 [INFO] [stderr] Checking icu_normalizer_data v1.5.0 [INFO] [stderr] Checking alloc-no-stdlib v2.0.4 [INFO] [stderr] Checking crossbeam-queue v0.3.11 [INFO] [stderr] Checking arrayvec v0.7.6 [INFO] [stderr] Checking utf16_iter v1.0.5 [INFO] [stderr] Compiling rust_decimal v1.36.0 [INFO] [stderr] Compiling protobuf v2.28.0 [INFO] [stderr] Checking alloc-stdlib v0.2.2 [INFO] [stderr] Checking pingora-error v0.4.0 [INFO] [stderr] Compiling paste v1.0.15 [INFO] [stderr] Compiling prometheus v0.13.4 [INFO] [stderr] Checking indexmap v2.6.0 [INFO] [stderr] Checking lru v0.12.5 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Checking os_str_bytes v6.6.1 [INFO] [stderr] Checking rustls-pki-types v1.10.0 [INFO] [stderr] Checking regex-syntax v0.6.29 [INFO] [stderr] Checking linked-hash-map v0.5.6 [INFO] [stderr] Checking gimli v0.31.1 [INFO] [stderr] Checking clap_lex v0.2.4 [INFO] [stderr] Checking brotli-decompressor v2.5.1 [INFO] [stderr] Checking yaml-rust v0.4.5 [INFO] [stderr] Checking object v0.36.5 [INFO] [stderr] Checking strsim v0.10.0 [INFO] [stderr] Checking rustc-demangle v0.1.24 [INFO] [stderr] Compiling rustls v0.23.16 [INFO] [stderr] Checking textwrap v0.16.1 [INFO] [stderr] Checking termcolor v1.4.1 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Checking socket2 v0.5.7 [INFO] [stderr] Checking mio v1.0.2 [INFO] [stderr] Checking signal-hook-registry v1.4.2 [INFO] [stderr] Checking nix v0.24.3 [INFO] [stderr] Compiling jobserver v0.1.32 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking daemonize v0.5.0 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking data-encoding v2.6.0 [INFO] [stderr] Compiling cc v1.1.36 [INFO] [stderr] Checking overload v0.1.1 [INFO] [stderr] Checking brotli v3.5.0 [INFO] [stderr] Checking nu-ansi-term v0.46.0 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Checking chrono v0.4.38 [INFO] [stderr] Checking crossbeam-channel v0.5.13 [INFO] [stderr] Checking tracing-log v0.2.0 [INFO] [stderr] Checking form_urlencoded v1.2.1 [INFO] [stderr] Checking regex-automata v0.4.8 [INFO] [stderr] Checking sfv v0.9.4 [INFO] [stderr] Checking sharded-slab v0.1.7 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Checking zeroize v1.8.1 [INFO] [stderr] Checking match_cfg v0.1.0 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Checking unicase v2.8.0 [INFO] [stderr] Compiling strsim v0.11.1 [INFO] [stderr] Checking hostname v0.3.1 [INFO] [stderr] Checking rmp v0.8.14 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Checking regex-automata v0.1.10 [INFO] [stderr] Compiling cmake v0.1.51 [INFO] [stderr] Compiling slog v2.7.0 [INFO] [stderr] Checking base64 v0.22.1 [INFO] [stderr] Checking dotenv v0.15.0 [INFO] [stderr] Checking blake2 v0.10.6 [INFO] [stderr] Compiling time-macros v0.2.18 [INFO] [stderr] Checking num-bigint v0.4.6 [INFO] [stderr] Checking webpki-roots v0.26.6 [INFO] [stderr] Compiling proc-macro-error-attr2 v2.0.0 [INFO] [stderr] Checking hex v0.4.3 [INFO] [stderr] Checking tower-service v0.3.3 [INFO] [stderr] Checking pingora-ketama v0.4.0 [INFO] [stderr] Checking addr2line v0.24.2 [INFO] [stderr] Checking pem v3.0.4 [INFO] [stderr] Checking unsafe-libyaml v0.2.11 [INFO] [stderr] Checking sdd v3.0.4 [INFO] [stderr] Checking quick-error v2.0.1 [INFO] [stderr] Checking slog-scope v4.4.0 [INFO] [stderr] Checking sha1_smol v1.0.1 [INFO] [stderr] Checking matchers v0.1.0 [INFO] [stderr] Compiling zstd-sys v2.0.13+zstd.1.5.6 [INFO] [stderr] Compiling libz-ng-sys v1.1.20 [INFO] [stderr] Compiling ring v0.17.8 [INFO] [stderr] Checking time v0.3.36 [INFO] [stderr] Checking regex v1.11.1 [INFO] [stderr] Checking backtrace v0.3.74 [INFO] [stderr] Compiling trackable_derive v1.0.0 [INFO] [stderr] Compiling derivative v2.2.0 [INFO] [stderr] Compiling synstructure v0.13.1 [INFO] [stderr] Checking trackable v1.3.0 [INFO] [stderr] Compiling clap_derive v3.2.25 [INFO] [stderr] Checking trackable v0.2.24 [INFO] [stderr] Compiling darling_core v0.20.10 [INFO] [stderr] Checking thrift_codec v0.1.1 [INFO] [stderr] Compiling proc-macro-error2 v2.0.1 [INFO] [stderr] Checking rustls-webpki v0.102.8 [INFO] [stderr] Compiling serde_derive v1.0.214 [INFO] [stderr] Compiling tokio-macros v2.4.0 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling zerofrom-derive v0.1.4 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling yoke-derive v0.7.4 [INFO] [stderr] Compiling zerovec-derive v0.10.3 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling icu_provider_macros v1.5.0 [INFO] [stderr] Compiling async-trait v0.1.85 [INFO] [stderr] Compiling thiserror-impl v1.0.68 [INFO] [stderr] Compiling async-stream-impl v0.3.6 [INFO] [stderr] Compiling strum_macros v0.26.4 [INFO] [stderr] Checking zerocopy v0.7.35 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Checking async-stream v0.3.6 [INFO] [stderr] Compiling pin-project-internal v1.1.7 [INFO] [stderr] Compiling smart-default v0.7.1 [INFO] [stderr] Checking zerofrom v0.1.4 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Checking clap v3.2.25 [INFO] [stderr] Checking yoke v0.7.4 [INFO] [stderr] Checking zerovec v0.10.4 [INFO] [stderr] Checking simple_asn1 v0.6.2 [INFO] [stderr] Checking zstd v0.13.2 [INFO] [stderr] Compiling darling_macro v0.20.10 [INFO] [stderr] Checking ppv-lite86 v0.2.20 [INFO] [stderr] Checking ahash v0.8.11 [INFO] [stderr] Compiling darling v0.20.10 [INFO] [stderr] Compiling validator_derive v0.19.0 [INFO] [stderr] Checking pingora-limits v0.4.0 [INFO] [stderr] Checking pin-project v1.1.7 [INFO] [stderr] Checking tracing-futures v0.2.5 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking strum v0.26.3 [INFO] [stderr] Checking tinystr v0.7.6 [INFO] [stderr] Checking icu_collections v1.5.0 [INFO] [stderr] Checking icu_locid v1.5.0 [INFO] [stderr] Checking rustracing v0.5.1 [INFO] [stderr] Checking pingora-lru v0.4.0 [INFO] [stderr] Checking rustracing_jaeger v0.7.0 [INFO] [stderr] Checking icu_provider v1.5.0 [INFO] [stderr] Checking icu_locid_transform v1.5.0 [INFO] [stderr] Checking flate2 v1.0.34 [INFO] [stderr] Checking futures-executor v0.3.31 [INFO] [stderr] Checking futures v0.3.31 [INFO] [stderr] Checking icu_properties v1.5.1 [INFO] [stderr] Checking icu_normalizer v1.5.0 [INFO] [stderr] Checking bytes v1.8.0 [INFO] [stderr] Checking tracing-serde v0.1.3 [INFO] [stderr] Checking serde_yaml v0.8.26 [INFO] [stderr] Checking rmp-serde v1.3.0 [INFO] [stderr] Checking serde_yaml v0.9.34+deprecated [INFO] [stderr] Checking scc v2.2.4 [INFO] [stderr] Checking idna_adapter v1.2.0 [INFO] [stderr] Checking idna v1.0.3 [INFO] [stderr] Checking url v2.5.3 [INFO] [stderr] Checking tracing-subscriber v0.3.18 [INFO] [stderr] Checking jsonwebtoken v9.3.0 [INFO] [stderr] Checking tokio v1.41.0 [INFO] [stderr] Checking http v1.1.0 [INFO] [stderr] Checking combine v4.6.7 [INFO] [stderr] Checking ureq v2.10.1 [INFO] [stderr] Checking validator v0.19.0 [INFO] [stderr] Checking pingora-http v0.4.0 [INFO] [stderr] Checking http-body v1.0.1 [INFO] [stderr] Checking http-body-util v0.1.2 [INFO] [stderr] Checking pingora-header-serde v0.4.0 [INFO] [stderr] Checking redis v0.27.5 [INFO] [stderr] Checking tokio-util v0.7.12 [INFO] [stderr] Checking pingora-timeout v0.4.0 [INFO] [stderr] Checking tokio-stream v0.1.16 [INFO] [stderr] Checking pingora-runtime v0.4.0 [INFO] [stderr] Checking tokio-rustls v0.26.0 [INFO] [stderr] Checking core v0.1.0 (/opt/rustwide/workdir/core) [INFO] [stderr] Checking pingora-pool v0.4.0 [INFO] [stderr] Checking tokio-test v0.4.4 [INFO] [stderr] Checking h2 v0.4.6 [INFO] [stderr] Checking bin v0.1.0 (/opt/rustwide/workdir/bin) [INFO] [stdout] warning: field `lb` is never read [INFO] [stdout] --> bin/src/main.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 5 | struct Service1 { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] 6 | name: String, [INFO] [stdout] 7 | lb: Arc>, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `lb` is never read [INFO] [stdout] --> bin/src/main.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 5 | struct Service1 { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] 6 | name: String, [INFO] [stdout] 7 | lb: Arc>, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking pingora-core v0.4.0 [INFO] [stderr] Checking hyper v1.5.0 [INFO] [stderr] Checking hyper-util v0.1.10 [INFO] [stderr] Checking hyper-rustls v0.27.3 [INFO] [stderr] Checking rs-consul v0.7.0 [INFO] [stderr] Checking pingora-cache v0.4.0 [INFO] [stderr] Checking pingora-load-balancing v0.4.0 [INFO] [stderr] Checking pingora-proxy v0.4.0 [INFO] [stderr] Checking pingora v0.4.0 [INFO] [stderr] Checking glaive v2.0.0 (/opt/rustwide/workdir/glaive) [INFO] [stdout] warning: unused import: `RegisterEntityCheck` [INFO] [stdout] --> glaive/src/discovery.rs:36:45 [INFO] [stdout] | [INFO] [stdout] 36 | Config, Consul, GetServiceNodesRequest, RegisterEntityCheck, RegisterEntityPayload, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `pingora::http::ResponseHeader` [INFO] [stdout] --> glaive/src/limiter.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | use pingora::http::ResponseHeader; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `bytes::Bytes` [INFO] [stdout] --> glaive/src/limiter.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | use bytes::Bytes; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `pingora::http::ResponseHeader` [INFO] [stdout] --> glaive/src/path.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | use pingora::http::ResponseHeader; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serde::Serialize` [INFO] [stdout] --> glaive/src/path.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | use serde::Serialize; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `UNIX_EPOCH` [INFO] [stdout] --> glaive/src/proxy.rs:22:39 [INFO] [stdout] | [INFO] [stdout] 22 | use std::time::{Duration, SystemTime, UNIX_EPOCH}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ErrorType` [INFO] [stdout] --> glaive/src/proxy.rs:28:38 [INFO] [stdout] | [INFO] [stdout] 28 | use pingora::{Error as PingoraError, ErrorType, Result as PingoraResult}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> glaive/src/request.rs:136:72 [INFO] [stdout] | [INFO] [stdout] 136 | pub fn get_host<'a>(&'a self, header: &'a RequestHeader) -> Option<&str> { [INFO] [stdout] | -- lifetime `'a` declared here ^ this elided lifetime gets resolved as `'a` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(elided_named_lifetimes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Duration` [INFO] [stdout] --> glaive/src/redis.rs:20:17 [INFO] [stdout] | [INFO] [stdout] 20 | use std::time::{Duration, SystemTime, UNIX_EPOCH}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `RegisterEntityCheck` [INFO] [stdout] --> glaive/src/discovery.rs:36:45 [INFO] [stdout] | [INFO] [stdout] 36 | Config, Consul, GetServiceNodesRequest, RegisterEntityCheck, RegisterEntityPayload, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `pingora::http::ResponseHeader` [INFO] [stdout] --> glaive/src/limiter.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | use pingora::http::ResponseHeader; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `bytes::Bytes` [INFO] [stdout] --> glaive/src/limiter.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | use bytes::Bytes; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `pingora::http::ResponseHeader` [INFO] [stdout] --> glaive/src/path.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | use pingora::http::ResponseHeader; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serde::Serialize` [INFO] [stdout] --> glaive/src/path.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | use serde::Serialize; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `UNIX_EPOCH` [INFO] [stdout] --> glaive/src/proxy.rs:22:39 [INFO] [stdout] | [INFO] [stdout] 22 | use std::time::{Duration, SystemTime, UNIX_EPOCH}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ErrorType` [INFO] [stdout] --> glaive/src/proxy.rs:28:38 [INFO] [stdout] | [INFO] [stdout] 28 | use pingora::{Error as PingoraError, ErrorType, Result as PingoraResult}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> glaive/src/request.rs:136:72 [INFO] [stdout] | [INFO] [stdout] 136 | pub fn get_host<'a>(&'a self, header: &'a RequestHeader) -> Option<&str> { [INFO] [stdout] | -- lifetime `'a` declared here ^ this elided lifetime gets resolved as `'a` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(elided_named_lifetimes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Duration` [INFO] [stdout] --> glaive/src/redis.rs:20:17 [INFO] [stdout] | [INFO] [stdout] 20 | use std::time::{Duration, SystemTime, UNIX_EPOCH}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this function depends on never type fallback being `()` [INFO] [stdout] --> glaive/src/redis.rs:38:5 [INFO] [stdout] | [INFO] [stdout] 38 | / pub fn set_with_expiration( [INFO] [stdout] 39 | | &mut self, [INFO] [stdout] 40 | | key: &str, [INFO] [stdout] 41 | | value: &str, [INFO] [stdout] 42 | | ttl_seconds: u64, [INFO] [stdout] 43 | | ) -> Result<(), RedisError> { [INFO] [stdout] | |_______________________________^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in Rust 2024 and in a future release in all editions! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = help: specify the types explicitly [INFO] [stdout] note: in edition 2024, the requirement `!: FromRedisValue` will fail [INFO] [stdout] --> glaive/src/redis.rs:44:21 [INFO] [stdout] | [INFO] [stdout] 44 | self.client.set_ex(key, value, ttl_seconds)?; // Set key with TTL [INFO] [stdout] | ^^^^^^ [INFO] [stdout] = note: `#[warn(dependency_on_unit_never_type_fallback)]` on by default [INFO] [stdout] help: use `()` annotations to avoid fallback changes [INFO] [stdout] | [INFO] [stdout] 44 | self.client.set_ex::<_, _, ()>(key, value, ttl_seconds)?; // Set key with TTL [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this function depends on never type fallback being `()` [INFO] [stdout] --> glaive/src/redis.rs:54:5 [INFO] [stdout] | [INFO] [stdout] 54 | / pub fn fixed_window_rate_limit( [INFO] [stdout] 55 | | &mut self, [INFO] [stdout] 56 | | key: &str, [INFO] [stdout] 57 | | limit: i64, [INFO] [stdout] 58 | | period_seconds: i64, [INFO] [stdout] 59 | | ) -> Result { [INFO] [stdout] | |_________________________________^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in Rust 2024 and in a future release in all editions! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = help: specify the types explicitly [INFO] [stdout] note: in edition 2024, the requirement `!: FromRedisValue` will fail [INFO] [stdout] --> glaive/src/redis.rs:62:25 [INFO] [stdout] | [INFO] [stdout] 62 | self.client.expire(key, period_seconds)?; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] help: use `()` annotations to avoid fallback changes [INFO] [stdout] | [INFO] [stdout] 62 | self.client.expire::<_, ()>(key, period_seconds)?; [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this function depends on never type fallback being `()` [INFO] [stdout] --> glaive/src/redis.rs:38:5 [INFO] [stdout] | [INFO] [stdout] 38 | / pub fn set_with_expiration( [INFO] [stdout] 39 | | &mut self, [INFO] [stdout] 40 | | key: &str, [INFO] [stdout] 41 | | value: &str, [INFO] [stdout] 42 | | ttl_seconds: u64, [INFO] [stdout] 43 | | ) -> Result<(), RedisError> { [INFO] [stdout] | |_______________________________^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in Rust 2024 and in a future release in all editions! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = help: specify the types explicitly [INFO] [stdout] note: in edition 2024, the requirement `!: FromRedisValue` will fail [INFO] [stdout] --> glaive/src/redis.rs:44:21 [INFO] [stdout] | [INFO] [stdout] 44 | self.client.set_ex(key, value, ttl_seconds)?; // Set key with TTL [INFO] [stdout] | ^^^^^^ [INFO] [stdout] = note: `#[warn(dependency_on_unit_never_type_fallback)]` on by default [INFO] [stdout] help: use `()` annotations to avoid fallback changes [INFO] [stdout] | [INFO] [stdout] 44 | self.client.set_ex::<_, _, ()>(key, value, ttl_seconds)?; // Set key with TTL [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this function depends on never type fallback being `()` [INFO] [stdout] --> glaive/src/redis.rs:54:5 [INFO] [stdout] | [INFO] [stdout] 54 | / pub fn fixed_window_rate_limit( [INFO] [stdout] 55 | | &mut self, [INFO] [stdout] 56 | | key: &str, [INFO] [stdout] 57 | | limit: i64, [INFO] [stdout] 58 | | period_seconds: i64, [INFO] [stdout] 59 | | ) -> Result { [INFO] [stdout] | |_________________________________^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in Rust 2024 and in a future release in all editions! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = help: specify the types explicitly [INFO] [stdout] note: in edition 2024, the requirement `!: FromRedisValue` will fail [INFO] [stdout] --> glaive/src/redis.rs:62:25 [INFO] [stdout] | [INFO] [stdout] 62 | self.client.expire(key, period_seconds)?; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] help: use `()` annotations to avoid fallback changes [INFO] [stdout] | [INFO] [stdout] 62 | self.client.expire::<_, ()>(key, period_seconds)?; [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `External` is more private than the item `AuthType::External::external` [INFO] [stdout] --> glaive/src/def.rs:81:16 [INFO] [stdout] | [INFO] [stdout] 81 | External { external: External }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ field `AuthType::External::external` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `External` is only usable at visibility `pub(self)` [INFO] [stdout] --> glaive/src/def.rs:98:1 [INFO] [stdout] | [INFO] [stdout] 98 | struct External {} [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(private_interfaces)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `without_eviction`, `with_predictor`, `without_predictor`, and `without_cache_lock` are never used [INFO] [stdout] --> glaive/src/bucket.rs:55:12 [INFO] [stdout] | [INFO] [stdout] 35 | impl CacheBucket { [INFO] [stdout] | ---------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 55 | pub fn without_eviction(&self) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 61 | pub fn with_predictor(mut self, predictor: T) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 67 | pub fn without_predictor(&self) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 79 | pub fn without_cache_lock(&self) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> glaive/src/cache.rs:54:12 [INFO] [stdout] | [INFO] [stdout] 52 | impl MemoryStorage { [INFO] [stdout] | ------------------ associated function in this implementation [INFO] [stdout] 53 | // new cache instance [INFO] [stdout] 54 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `inner` is never read [INFO] [stdout] --> glaive/src/cache.rs:208:5 [INFO] [stdout] | [INFO] [stdout] 206 | pub struct CacheHitHandler { [INFO] [stdout] | --------------- field in this struct [INFO] [stdout] 207 | cache_object: SccCacheObject, [INFO] [stdout] 208 | inner: MemoryStorage, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_host`, `get_tls`, `get_timeout`, and `get_upstream` are never used [INFO] [stdout] --> glaive/src/cluster.rs:114:12 [INFO] [stdout] | [INFO] [stdout] 110 | impl ClusterMetadata { [INFO] [stdout] | -------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 114 | pub fn get_host(&self) -> &String { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 117 | pub fn get_tls(&self) -> &bool { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 132 | pub fn get_timeout(&self) -> &Option { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 153 | pub fn get_upstream(&self) -> &Arc> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> glaive/src/config.rs:134:12 [INFO] [stdout] | [INFO] [stdout] 133 | impl ClusterConfig { [INFO] [stdout] | ------------------ methods in this implementation [INFO] [stdout] 134 | pub fn get_name(&self) -> &Option { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 137 | pub fn get_prefix(&self) -> &Option { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 140 | pub fn get_host(&self) -> &Option { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 143 | pub fn get_tls(&self) -> &Option { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 146 | pub fn get_discovery(&self) -> &Option { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 149 | pub fn get_rate_limit(&self) -> &Option { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 152 | pub fn get_cache(&self) -> &Option { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 155 | pub fn get_retry(&self) -> &Option { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 158 | pub fn get_timeout(&self) -> &Option { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 161 | pub fn get_auth(&self) -> &Option { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 164 | pub fn get_consumers(&self) -> &Option> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 167 | pub fn get_upstream(&self) -> &Option> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 170 | pub fn get_routes(&self) -> &Option> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_name`, `get_methods`, `get_auth`, and `get_consumers` are never used [INFO] [stdout] --> glaive/src/config.rs:198:12 [INFO] [stdout] | [INFO] [stdout] 197 | impl RouteConfig { [INFO] [stdout] | ---------------- methods in this implementation [INFO] [stdout] 198 | pub fn get_name(&self) -> &Option { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 204 | pub fn get_methods(&self) -> &Option> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 207 | pub fn get_auth(&self) -> &Option { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 210 | pub fn get_consumers(&self) -> &Option> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_cookie_value`, `convert_query_map`, `get_query_value`, `get_host`, and `get_content_length` are never used [INFO] [stdout] --> glaive/src/request.rs:87:12 [INFO] [stdout] | [INFO] [stdout] 36 | impl RequestProvider { [INFO] [stdout] | -------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 87 | pub fn get_cookie_value<'a>( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 105 | pub fn convert_query_map(&self, query: &str) -> HashMap { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 116 | pub fn get_query_value<'a>( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 136 | pub fn get_host<'a>(&'a self, header: &'a RequestHeader) -> Option<&str> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 149 | pub fn get_content_length(&self, header: &RequestHeader) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `RedisClient` is never constructed [INFO] [stdout] --> glaive/src/redis.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 23 | pub struct RedisClient { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> glaive/src/redis.rs:28:12 [INFO] [stdout] | [INFO] [stdout] 27 | impl RedisClient { [INFO] [stdout] | ---------------- associated items in this implementation [INFO] [stdout] 28 | pub fn new(host: &str, port: &str) -> Result { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 38 | pub fn set_with_expiration( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 49 | pub fn get_cache(&mut self, key: &str) -> Result, RedisError> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 54 | pub fn fixed_window_rate_limit( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 67 | pub fn sliding_window_log_rate_limit( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 88 | pub fn token_bucket_rate_limit( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 141 | pub fn leaky_bucket_rate_limit( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 191 | pub fn semaphore_rate_limit( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 221 | pub fn release_semaphore(&mut self, key: &str) -> Result<(), RedisError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: for loop over a `&Option`. This is more readably written as an `if let` statement [INFO] [stdout] --> glaive/src/cluster.rs:64:21 [INFO] [stdout] | [INFO] [stdout] 64 | for upstream in &config.upstream { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(for_loops_over_fallibles)]` on by default [INFO] [stdout] help: to check pattern in a loop use `while let` [INFO] [stdout] | [INFO] [stdout] 64 | while let Some(upstream) = &config.upstream { [INFO] [stdout] | ~~~~~~~~~~~~~~~ ~~~ [INFO] [stdout] help: consider using `if let` to clear intent [INFO] [stdout] | [INFO] [stdout] 64 | if let Some(upstream) = &config.upstream { [INFO] [stdout] | ~~~~~~~~~~~~ ~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `External` is more private than the item `AuthType::External::external` [INFO] [stdout] --> glaive/src/def.rs:81:16 [INFO] [stdout] | [INFO] [stdout] 81 | External { external: External }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ field `AuthType::External::external` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `External` is only usable at visibility `pub(self)` [INFO] [stdout] --> glaive/src/def.rs:98:1 [INFO] [stdout] | [INFO] [stdout] 98 | struct External {} [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(private_interfaces)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `without_eviction`, `with_predictor`, `without_predictor`, and `without_cache_lock` are never used [INFO] [stdout] --> glaive/src/bucket.rs:55:12 [INFO] [stdout] | [INFO] [stdout] 35 | impl CacheBucket { [INFO] [stdout] | ---------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 55 | pub fn without_eviction(&self) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 61 | pub fn with_predictor(mut self, predictor: T) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 67 | pub fn without_predictor(&self) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 79 | pub fn without_cache_lock(&self) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> glaive/src/cache.rs:54:12 [INFO] [stdout] | [INFO] [stdout] 52 | impl MemoryStorage { [INFO] [stdout] | ------------------ associated function in this implementation [INFO] [stdout] 53 | // new cache instance [INFO] [stdout] 54 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `inner` is never read [INFO] [stdout] --> glaive/src/cache.rs:208:5 [INFO] [stdout] | [INFO] [stdout] 206 | pub struct CacheHitHandler { [INFO] [stdout] | --------------- field in this struct [INFO] [stdout] 207 | cache_object: SccCacheObject, [INFO] [stdout] 208 | inner: MemoryStorage, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_host`, `get_tls`, `get_timeout`, and `get_upstream` are never used [INFO] [stdout] --> glaive/src/cluster.rs:114:12 [INFO] [stdout] | [INFO] [stdout] 110 | impl ClusterMetadata { [INFO] [stdout] | -------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 114 | pub fn get_host(&self) -> &String { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 117 | pub fn get_tls(&self) -> &bool { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 132 | pub fn get_timeout(&self) -> &Option { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 153 | pub fn get_upstream(&self) -> &Arc> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> glaive/src/config.rs:134:12 [INFO] [stdout] | [INFO] [stdout] 133 | impl ClusterConfig { [INFO] [stdout] | ------------------ methods in this implementation [INFO] [stdout] 134 | pub fn get_name(&self) -> &Option { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 137 | pub fn get_prefix(&self) -> &Option { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 140 | pub fn get_host(&self) -> &Option { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 143 | pub fn get_tls(&self) -> &Option { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 146 | pub fn get_discovery(&self) -> &Option { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 149 | pub fn get_rate_limit(&self) -> &Option { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 152 | pub fn get_cache(&self) -> &Option { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 155 | pub fn get_retry(&self) -> &Option { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 158 | pub fn get_timeout(&self) -> &Option { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 161 | pub fn get_auth(&self) -> &Option { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 164 | pub fn get_consumers(&self) -> &Option> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 167 | pub fn get_upstream(&self) -> &Option> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 170 | pub fn get_routes(&self) -> &Option> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_name`, `get_methods`, `get_auth`, and `get_consumers` are never used [INFO] [stdout] --> glaive/src/config.rs:198:12 [INFO] [stdout] | [INFO] [stdout] 197 | impl RouteConfig { [INFO] [stdout] | ---------------- methods in this implementation [INFO] [stdout] 198 | pub fn get_name(&self) -> &Option { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 204 | pub fn get_methods(&self) -> &Option> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 207 | pub fn get_auth(&self) -> &Option { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 210 | pub fn get_consumers(&self) -> &Option> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_cookie_value`, `convert_query_map`, `get_query_value`, `get_host`, and `get_content_length` are never used [INFO] [stdout] --> glaive/src/request.rs:87:12 [INFO] [stdout] | [INFO] [stdout] 36 | impl RequestProvider { [INFO] [stdout] | -------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 87 | pub fn get_cookie_value<'a>( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 105 | pub fn convert_query_map(&self, query: &str) -> HashMap { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 116 | pub fn get_query_value<'a>( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 136 | pub fn get_host<'a>(&'a self, header: &'a RequestHeader) -> Option<&str> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 149 | pub fn get_content_length(&self, header: &RequestHeader) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `RedisClient` is never constructed [INFO] [stdout] --> glaive/src/redis.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 23 | pub struct RedisClient { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> glaive/src/redis.rs:28:12 [INFO] [stdout] | [INFO] [stdout] 27 | impl RedisClient { [INFO] [stdout] | ---------------- associated items in this implementation [INFO] [stdout] 28 | pub fn new(host: &str, port: &str) -> Result { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 38 | pub fn set_with_expiration( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 49 | pub fn get_cache(&mut self, key: &str) -> Result, RedisError> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 54 | pub fn fixed_window_rate_limit( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 67 | pub fn sliding_window_log_rate_limit( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 88 | pub fn token_bucket_rate_limit( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 141 | pub fn leaky_bucket_rate_limit( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 191 | pub fn semaphore_rate_limit( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 221 | pub fn release_semaphore(&mut self, key: &str) -> Result<(), RedisError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: for loop over a `&Option`. This is more readably written as an `if let` statement [INFO] [stdout] --> glaive/src/cluster.rs:64:21 [INFO] [stdout] | [INFO] [stdout] 64 | for upstream in &config.upstream { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(for_loops_over_fallibles)]` on by default [INFO] [stdout] help: to check pattern in a loop use `while let` [INFO] [stdout] | [INFO] [stdout] 64 | while let Some(upstream) = &config.upstream { [INFO] [stdout] | ~~~~~~~~~~~~~~~ ~~~ [INFO] [stdout] help: consider using `if let` to clear intent [INFO] [stdout] | [INFO] [stdout] 64 | if let Some(upstream) = &config.upstream { [INFO] [stdout] | ~~~~~~~~~~~~ ~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 54s [INFO] running `Command { std: "docker" "inspect" "b24bbd67b1ac320bd501b12a33fa9712331076485472a8861e2375ca3f50ff93", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b24bbd67b1ac320bd501b12a33fa9712331076485472a8861e2375ca3f50ff93", kill_on_drop: false }` [INFO] [stdout] b24bbd67b1ac320bd501b12a33fa9712331076485472a8861e2375ca3f50ff93