Skip to content

chore(server-policy)!: feature-gate LocalRateLimit constructor #849

chore(server-policy)!: feature-gate LocalRateLimit constructor

chore(server-policy)!: feature-gate LocalRateLimit constructor #849

Triggered via pull request November 6, 2024 02:01
Status Failure
Total duration 8m 45s
Artifacts

pr.yml

on: pull_request
Matrix: rust-crates
ship-it
6s
ship-it
Fit to window
Zoom out
Zoom in

Annotations

12 errors
rust-crates (linkerd-proxy-server-policy): linkerd/proxy/server-policy/src/local_rate_limit.rs#L91
error: associated function `new` is never used --> linkerd/proxy/server-policy/src/local_rate_limit.rs:92:8 | 91 | impl RateLimit<Direct, DefaultClock> { | ------------------------------------ associated function in this implementation 92 | fn new(rps: u32) -> Option<Self> { | ^^^ | = note: `-D dead-code` implied by `-D warnings` = help: to override `-D warnings` add `#[allow(dead_code)]`
rust-crates (linkerd-proxy-server-policy): linkerd/proxy/server-policy/src/local_rate_limit.rs#L92
error: associated function `new` is never used --> linkerd/proxy/server-policy/src/local_rate_limit.rs:92:8 | 91 | impl RateLimit<Direct, DefaultClock> { | ------------------------------------ associated function in this implementation 92 | fn new(rps: u32) -> Option<Self> { | ^^^ | = note: `-D dead-code` implied by `-D warnings` = help: to override `-D warnings` add `#[allow(dead_code)]`
rust-crates (linkerd-proxy-server-policy): linkerd/proxy/server-policy/src/local_rate_limit.rs#L100
error: associated function `new` is never used --> linkerd/proxy/server-policy/src/local_rate_limit.rs:101:8 | 100 | impl RateLimit<Keyed, DefaultClock> { | ----------------------------------- associated function in this implementation 101 | fn new(rps: u32) -> Option<Self> { | ^^^
rust-crates (linkerd-proxy-server-policy): linkerd/proxy/server-policy/src/local_rate_limit.rs#L101
error: associated function `new` is never used --> linkerd/proxy/server-policy/src/local_rate_limit.rs:101:8 | 100 | impl RateLimit<Keyed, DefaultClock> { | ----------------------------------- associated function in this implementation 101 | fn new(rps: u32) -> Option<Self> { | ^^^
rust-crates (linkerd-proxy-server-policy): linkerd/proxy/server-policy/src/local_rate_limit.rs#L91
error: associated function `new` is never used --> linkerd/proxy/server-policy/src/local_rate_limit.rs:92:8 | 91 | impl RateLimit<Direct, DefaultClock> { | ------------------------------------ associated function in this implementation 92 | fn new(rps: u32) -> Option<Self> { | ^^^ | = note: `-D dead-code` implied by `-D warnings` = help: to override `-D warnings` add `#[allow(dead_code)]`
rust-crates (linkerd-proxy-server-policy): linkerd/proxy/server-policy/src/local_rate_limit.rs#L92
error: associated function `new` is never used --> linkerd/proxy/server-policy/src/local_rate_limit.rs:92:8 | 91 | impl RateLimit<Direct, DefaultClock> { | ------------------------------------ associated function in this implementation 92 | fn new(rps: u32) -> Option<Self> { | ^^^ | = note: `-D dead-code` implied by `-D warnings` = help: to override `-D warnings` add `#[allow(dead_code)]`
rust-crates (linkerd-proxy-server-policy): linkerd/proxy/server-policy/src/local_rate_limit.rs#L100
error: associated function `new` is never used --> linkerd/proxy/server-policy/src/local_rate_limit.rs:101:8 | 100 | impl RateLimit<Keyed, DefaultClock> { | ----------------------------------- associated function in this implementation 101 | fn new(rps: u32) -> Option<Self> { | ^^^
rust-crates (linkerd-proxy-server-policy): linkerd/proxy/server-policy/src/local_rate_limit.rs#L101
error: associated function `new` is never used --> linkerd/proxy/server-policy/src/local_rate_limit.rs:101:8 | 100 | impl RateLimit<Keyed, DefaultClock> { | ----------------------------------- associated function in this implementation 101 | fn new(rps: u32) -> Option<Self> { | ^^^
rust-crates (linkerd-proxy-server-policy)
Process completed with exit code 1.
rust-crates (linkerd-app-inbound)
The job was canceled because "linkerd-proxy-server-poli" failed.
rust-crates (linkerd-app-inbound)
The operation was canceled.
ship-it
Process completed with exit code 1.