[INFO] cloning repository https://github.com/hawkw/clientpolicy
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/hawkw/clientpolicy" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhawkw%2Fclientpolicy", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhawkw%2Fclientpolicy'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 26e51c725d03d697a1912039bf83cc376252012f
[INFO] testing hawkw/clientpolicy against 1.100.0-beta.1 for beta-1.100-2
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhawkw%2Fclientpolicy" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/hawkw/clientpolicy
[INFO] finished tweaking git repo https://github.com/hawkw/clientpolicy
[INFO] tweaked toml for git repo https://github.com/hawkw/clientpolicy written to /workspace/builds/worker-6-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/hawkw/clientpolicy on toolchain 1.100.0-beta.1
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.100.0-beta.1" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/hawkw/clientpolicy 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" "+1.100.0-beta.1" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3111399a4047eeb3a02b7a90e478d715f38a8c6669b5c4b49d30a17385265909" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 4e281231ca4e8eaebb54e1bc66492ca8c9206b6481cd35a705471f41537e33df
[INFO] running `Command { std: "docker" "start" "4e281231ca4e8eaebb54e1bc66492ca8c9206b6481cd35a705471f41537e33df", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "4e281231ca4e8eaebb54e1bc66492ca8c9206b6481cd35a705471f41537e33df", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "4e281231ca4e8eaebb54e1bc66492ca8c9206b6481cd35a705471f41537e33df" "/opt/rustwide/cargo-home/bin/cargo" "+1.100.0-beta.1" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "4e281231ca4e8eaebb54e1bc66492ca8c9206b6481cd35a705471f41537e33df", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "4e281231ca4e8eaebb54e1bc66492ca8c9206b6481cd35a705471f41537e33df" "/opt/rustwide/cargo-home/bin/cargo" "+1.100.0-beta.1" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.43
[INFO] [stderr]    Compiling quote v1.0.21
[INFO] [stderr]    Compiling unicode-ident v1.0.3
[INFO] [stderr]    Compiling syn v1.0.99
[INFO] [stderr]    Compiling libc v0.2.132
[INFO] [stderr]    Compiling once_cell v1.14.0
[INFO] [stderr]    Compiling bytes v1.2.1
[INFO] [stderr]    Compiling itoa v1.0.3
[INFO] [stderr]    Compiling hashbrown v0.12.3
[INFO] [stderr]    Compiling parking_lot_core v0.9.3
[INFO] [stderr]    Compiling futures-core v0.3.24
[INFO] [stderr]    Compiling indexmap v1.9.1
[INFO] [stderr]    Compiling lock_api v0.4.8
[INFO] [stderr]    Compiling serde_derive v1.0.144
[INFO] [stderr]    Compiling smallvec v1.9.0
[INFO] [stderr]    Compiling serde v1.0.144
[INFO] [stderr]    Compiling slab v0.4.7
[INFO] [stderr]    Compiling tokio v1.21.0
[INFO] [stderr]    Compiling futures-task v0.3.24
[INFO] [stderr]    Compiling futures-channel v0.3.24
[INFO] [stderr]    Compiling futures-sink v0.3.24
[INFO] [stderr]    Compiling futures-util v0.3.24
[INFO] [stderr]    Compiling futures-io v0.3.24
[INFO] [stderr]    Compiling cc v1.0.73
[INFO] [stderr]    Compiling tracing-core v0.1.29
[INFO] [stderr]    Compiling ryu v1.0.11
[INFO] [stderr]    Compiling serde_json v1.0.85
[INFO] [stderr]    Compiling tower-service v0.3.2
[INFO] [stderr]    Compiling num-traits v0.2.15
[INFO] [stderr]    Compiling httparse v1.8.0
[INFO] [stderr]    Compiling ppv-lite86 v0.2.16
[INFO] [stderr]    Compiling base64 v0.13.0
[INFO] [stderr]    Compiling schemars v0.8.10
[INFO] [stderr]    Compiling pkg-config v0.3.25
[INFO] [stderr]    Compiling http v0.2.8
[INFO] [stderr]    Compiling try-lock v0.2.3
[INFO] [stderr]    Compiling tower-layer v0.3.1
[INFO] [stderr]    Compiling httpdate v1.0.2
[INFO] [stderr]    Compiling dyn-clone v1.0.9
[INFO] [stderr]    Compiling want v0.3.0
[INFO] [stderr]    Compiling num-integer v0.1.45
[INFO] [stderr]    Compiling http-range-header v0.3.0
[INFO] [stderr]    Compiling tinyvec_macros v0.1.0
[INFO] [stderr]    Compiling iana-time-zone v0.1.47
[INFO] [stderr]    Compiling openssl v0.10.41
[INFO] [stderr]    Compiling tinyvec v1.6.0
[INFO] [stderr]    Compiling unicode-bidi v0.3.8
[INFO] [stderr]    Compiling signal-hook-registry v1.4.0
[INFO] [stderr]    Compiling mio v0.8.4
[INFO] [stderr]    Compiling socket2 v0.4.7
[INFO] [stderr]    Compiling num_cpus v1.13.1
[INFO] [stderr]    Compiling parking_lot v0.12.1
[INFO] [stderr]    Compiling getrandom v0.2.7
[INFO] [stderr]    Compiling time v0.1.44
[INFO] [stderr]    Compiling native-tls v0.2.10
[INFO] [stderr]    Compiling openssl-sys v0.9.75
[INFO] [stderr]    Compiling rand_core v0.6.3
[INFO] [stderr]    Compiling ahash v0.7.6
[INFO] [stderr]    Compiling anyhow v1.0.64
[INFO] [stderr]    Compiling k8s-openapi v0.15.0
[INFO] [stderr]    Compiling openssl-probe v0.1.5
[INFO] [stderr]    Compiling rand_chacha v0.3.1
[INFO] [stderr]    Compiling async-trait v0.1.57
[INFO] [stderr]    Compiling http-body v0.4.5
[INFO] [stderr]    Compiling linked-hash-map v0.5.6
[INFO] [stderr]    Compiling ring v0.16.20
[INFO] [stderr]    Compiling rand v0.8.5
[INFO] [stderr]    Compiling unicode-normalization v0.1.21
[INFO] [stderr]    Compiling ordered-float v2.10.0
[INFO] [stderr]    Compiling yaml-rust v0.4.5
[INFO] [stderr]    Compiling dirs-sys-next v0.1.2
[INFO] [stderr]    Compiling strsim v0.10.0
[INFO] [stderr]    Compiling either v1.8.0
[INFO] [stderr]    Compiling zeroize v1.5.7
[INFO] [stderr]    Compiling pem v1.1.0
[INFO] [stderr]    Compiling dirs-next v2.0.0
[INFO] [stderr]    Compiling regex-syntax v0.6.27
[INFO] [stderr]    Compiling idna v0.3.0
[INFO] [stderr]    Compiling itertools v0.10.3
[INFO] [stderr]    Compiling proc-macro-error-attr v1.0.4
[INFO] [stderr]    Compiling spin v0.5.2
[INFO] [stderr]    Compiling untrusted v0.7.1
[INFO] [stderr]    Compiling mime v0.3.16
[INFO] [stderr]    Compiling proc-macro-error v1.0.4
[INFO] [stderr]    Compiling aho-corasick v0.7.19
[INFO] [stderr]    Compiling sync_wrapper v0.1.1
[INFO] [stderr]    Compiling signal-hook v0.3.14
[INFO] [stderr]    Compiling heck v0.4.0
[INFO] [stderr]    Compiling matchit v0.5.0
[INFO] [stderr]    Compiling rustls v0.20.6
[INFO] [stderr]    Compiling rustversion v1.0.9
[INFO] [stderr]    Compiling os_str_bytes v6.3.0
[INFO] [stderr]    Compiling tracing-log v0.1.3
[INFO] [stderr]    Compiling url v2.3.1
[INFO] [stderr]    Compiling thread_local v1.1.4
[INFO] [stderr]    Compiling clap_lex v0.2.4
[INFO] [stderr]    Compiling textwrap v0.15.0
[INFO] [stderr]    Compiling backoff v0.4.0
[INFO] [stderr]    Compiling signal-hook-mio v0.2.3
[INFO] [stderr]    Compiling rustls-pemfile v1.0.1
[INFO] [stderr]    Compiling strum v0.24.1
[INFO] [stderr]    Compiling maplit v1.0.2
[INFO] [stderr]    Compiling crossterm v0.25.0
[INFO] [stderr]    Compiling unicode-width v0.1.9
[INFO] [stderr]    Compiling regex v1.6.0
[INFO] [stderr]    Compiling regex-automata v0.1.10
[INFO] [stderr]    Compiling matchers v0.1.0
[INFO] [stderr]    Compiling sct v0.7.0
[INFO] [stderr]    Compiling webpki v0.22.0
[INFO] [stderr]    Compiling serde_derive_internals v0.26.0
[INFO] [stderr]    Compiling darling_core v0.14.1
[INFO] [stderr]    Compiling tokio-macros v1.8.0
[INFO] [stderr]    Compiling futures-macro v0.3.24
[INFO] [stderr]    Compiling tracing-attributes v0.1.22
[INFO] [stderr]    Compiling pin-project-internal v1.0.12
[INFO] [stderr]    Compiling thiserror-impl v1.0.34
[INFO] [stderr]    Compiling openssl-macros v0.1.0
[INFO] [stderr]    Compiling prost-derive v0.11.0
[INFO] [stderr]    Compiling derivative v2.2.0
[INFO] [stderr]    Compiling async-stream-impl v0.3.3
[INFO] [stderr]    Compiling clap_derive v3.2.18
[INFO] [stderr]    Compiling strum_macros v0.24.3
[INFO] [stderr]    Compiling schemars_derive v0.8.10
[INFO] [stderr]    Compiling async-stream v0.3.3
[INFO] [stderr]    Compiling thiserror v1.0.34
[INFO] [stderr]    Compiling tracing v0.1.36
[INFO] [stderr]    Compiling pin-project v1.0.12
[INFO] [stderr]    Compiling comfy-table v6.1.0
[INFO] [stderr]    Compiling clap v3.2.20
[INFO] [stderr]    Compiling darling_macro v0.14.1
[INFO] [stderr]    Compiling prost v0.11.0
[INFO] [stderr]    Compiling darling v0.14.1
[INFO] [stderr]    Compiling kube-derive v0.74.0
[INFO] [stderr]    Compiling prost-types v0.11.1
[INFO] [stderr]    Compiling futures-executor v0.3.24
[INFO] [stderr]    Compiling axum-core v0.2.8
[INFO] [stderr]    Compiling futures v0.3.24
[INFO] [stderr]    Compiling tracing-futures v0.2.5
[INFO] [stderr]    Compiling tokio-util v0.7.4
[INFO] [stderr]    Compiling tokio-io-timeout v1.2.0
[INFO] [stderr]    Compiling tokio-native-tls v0.3.0
[INFO] [stderr]    Compiling tokio-stream v0.1.9
[INFO] [stderr]    Compiling drain v0.1.1
[INFO] [stderr]    Compiling tokio-rustls v0.23.4
[INFO] [stderr]    Compiling h2 v0.3.14
[INFO] [stderr]    Compiling tower v0.4.13
[INFO] [stderr]    Compiling chrono v0.4.22
[INFO] [stderr]    Compiling serde-value v0.7.0
[INFO] [stderr]    Compiling serde_yaml v0.8.26
[INFO] [stderr]    Compiling secrecy v0.8.0
[INFO] [stderr]    Compiling tracing-serde v0.1.3
[INFO] [stderr]    Compiling tower-http v0.3.4
[INFO] [stderr]    Compiling treediff v3.0.2
[INFO] [stderr]    Compiling tracing-subscriber v0.3.15
[INFO] [stderr]    Compiling jsonpath_lib v0.3.0
[INFO] [stderr]    Compiling json-patch v0.2.6
[INFO] [stderr]    Compiling ipnet v2.5.0
[INFO] [stderr]    Compiling linkerd-policy-controller-core v0.1.0 (https://github.com/linkerd/linkerd2.git?rev=b7387820c315bd769380267235cfaa69aeef269d#b7387820)
[INFO] [stderr]    Compiling hyper v0.14.20
[INFO] [stderr]    Compiling hyper-timeout v0.4.1
[INFO] [stderr]    Compiling hyper-tls v0.5.0
[INFO] [stderr]    Compiling axum v0.5.16
[INFO] [stderr]    Compiling tonic v0.8.1
[INFO] [stderr]    Compiling linkerd2-proxy-api v0.7.0
[INFO] [stderr]    Compiling linkerd2-proxy-api v0.7.0 (https://github.com/linkerd/linkerd2-proxy-api.git?branch=alex%2Fclient-policy#7a6faee3)
[INFO] [stderr]    Compiling linkerd-policy-controller-grpc v0.1.0 (https://github.com/linkerd/linkerd2.git?rev=b7387820c315bd769380267235cfaa69aeef269d#b7387820)
[INFO] [stderr]    Compiling kube-core v0.74.0
[INFO] [stderr]    Compiling kube-client v0.74.0
[INFO] [stderr]    Compiling kube-runtime v0.74.0
[INFO] [stderr]    Compiling kube v0.74.0
[INFO] [stderr]    Compiling kubert v0.9.1
[INFO] [stderr]    Compiling k8s-gateway-api v0.6.0
[INFO] [stderr]    Compiling linkerd-policy-controller-k8s-api v0.1.0 (https://github.com/linkerd/linkerd2.git?rev=b7387820c315bd769380267235cfaa69aeef269d#b7387820)
[INFO] [stderr]    Compiling client-policy-k8s-api v0.1.0 (/opt/rustwide/workdir/k8s/api)
[INFO] [stderr]    Compiling linkerd-client-policy v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `core`
[INFO] [stdout]  --> src/client_policy.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 |     core, index,
[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: `Metadata`
[INFO] [stdout]   --> src/index.rs:17:5
[INFO] [stdout]    |
[INFO] [stdout] 17 |     Metadata,
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `filters`
[INFO] [stdout]   --> src/route.rs:94:9
[INFO] [stdout]    |
[INFO] [stdout] 94 |         filters: Option<Vec<F>>,
[INFO] [stdout]    |         ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_filters`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `as_str` is never used
[INFO] [stdout]   --> src/defaults.rs:48:19
[INFO] [stdout]    |
[INFO] [stdout] 47 | impl DefaultPolicy {
[INFO] [stdout]    | ------------------ method in this implementation
[INFO] [stdout] 48 |     pub(crate) fn as_str(&self) -> &'static str {
[INFO] [stdout]    |                   ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `node_name` is never read
[INFO] [stdout]   --> src/grpc.rs:36:5
[INFO] [stdout]    |
[INFO] [stdout] 34 | struct ContextToken {
[INFO] [stdout]    |        ------------ field in this struct
[INFO] [stdout] 35 |     ns: String,
[INFO] [stdout] 36 |     node_name: Option<String>,
[INFO] [stdout]    |     ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `ContextToken` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `update_pod` is never used
[INFO] [stdout]    --> src/index.rs:781:8
[INFO] [stdout]     |
[INFO] [stdout] 744 | impl Namespace {
[INFO] [stdout]     | -------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 781 |     fn update_pod(&mut self, name: String, pod: pod::Meta) {
[INFO] [stdout]     |        ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing
[INFO] [stdout]    --> src/client_policy.rs:280:83
[INFO] [stdout]     |
[INFO] [stdout] 280 |     pub fn policies_for<'a>(&'a self, pod: &'a pod::Meta) -> impl Iterator<Item = &Spec> + 'a {
[INFO] [stdout]     |                              --             --                                    ^^^^^    -- the same lifetime is named here
[INFO] [stdout]     |                              |              |                                     |
[INFO] [stdout]     |                              |              the lifetime is named here            the same lifetime is elided here
[INFO] [stdout]     |                              the lifetime is named here
[INFO] [stdout]     |
[INFO] [stdout]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout]     = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stdout] help: consistently use `'a`
[INFO] [stdout]     |
[INFO] [stdout] 280 |     pub fn policies_for<'a>(&'a self, pod: &'a pod::Meta) -> impl Iterator<Item = &'a Spec> + 'a {
[INFO] [stdout]     |                                                                                    ++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] warning: unused dependency `linkerd-policy-controller-grpc`
[INFO] [stderr]   --> Cargo.toml:52:15
[INFO] [stderr]    |
[INFO] [stderr] 52 | [dependencies.linkerd-policy-controller-grpc]
[INFO] [stderr]    |               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `cargo::unused_dependencies` is set to `warn` by default
[INFO] [stderr] help: consider removing the dependency on `linkerd-policy-controller-grpc`
[INFO] [stderr] warning: `linkerd-client-policy` (manifest) generated 1 warning
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 2m 00s
[INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: openssl v0.10.41
[INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 2`
[INFO] running `Command { std: "docker" "inspect" "4e281231ca4e8eaebb54e1bc66492ca8c9206b6481cd35a705471f41537e33df", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "4e281231ca4e8eaebb54e1bc66492ca8c9206b6481cd35a705471f41537e33df" "/opt/rustwide/cargo-home/bin/cargo" "+1.100.0-beta.1" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling linkerd-client-policy v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `core`
[INFO] [stdout]  --> src/client_policy.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 |     core, index,
[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: `Metadata`
[INFO] [stdout]   --> src/index.rs:17:5
[INFO] [stdout]    |
[INFO] [stdout] 17 |     Metadata,
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `filters`
[INFO] [stdout]   --> src/route.rs:94:9
[INFO] [stdout]    |
[INFO] [stdout] 94 |         filters: Option<Vec<F>>,
[INFO] [stdout]    |         ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_filters`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `as_str` is never used
[INFO] [stdout]   --> src/defaults.rs:48:19
[INFO] [stdout]    |
[INFO] [stdout] 47 | impl DefaultPolicy {
[INFO] [stdout]    | ------------------ method in this implementation
[INFO] [stdout] 48 |     pub(crate) fn as_str(&self) -> &'static str {
[INFO] [stdout]    |                   ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `node_name` is never read
[INFO] [stdout]   --> src/grpc.rs:36:5
[INFO] [stdout]    |
[INFO] [stdout] 34 | struct ContextToken {
[INFO] [stdout]    |        ------------ field in this struct
[INFO] [stdout] 35 |     ns: String,
[INFO] [stdout] 36 |     node_name: Option<String>,
[INFO] [stdout]    |     ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `ContextToken` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `update_pod` is never used
[INFO] [stdout]    --> src/index.rs:781:8
[INFO] [stdout]     |
[INFO] [stdout] 744 | impl Namespace {
[INFO] [stdout]     | -------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 781 |     fn update_pod(&mut self, name: String, pod: pod::Meta) {
[INFO] [stdout]     |        ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing
[INFO] [stdout]    --> src/client_policy.rs:280:83
[INFO] [stdout]     |
[INFO] [stdout] 280 |     pub fn policies_for<'a>(&'a self, pod: &'a pod::Meta) -> impl Iterator<Item = &Spec> + 'a {
[INFO] [stdout]     |                              --             --                                    ^^^^^    -- the same lifetime is named here
[INFO] [stdout]     |                              |              |                                     |
[INFO] [stdout]     |                              |              the lifetime is named here            the same lifetime is elided here
[INFO] [stdout]     |                              the lifetime is named here
[INFO] [stdout]     |
[INFO] [stdout]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout]     = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stdout] help: consistently use `'a`
[INFO] [stdout]     |
[INFO] [stdout] 280 |     pub fn policies_for<'a>(&'a self, pod: &'a pod::Meta) -> impl Iterator<Item = &'a Spec> + 'a {
[INFO] [stdout]     |                                                                                    ++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] warning: unused dependency `linkerd-policy-controller-grpc`
[INFO] [stderr]   --> Cargo.toml:52:15
[INFO] [stderr]    |
[INFO] [stderr] 52 | [dependencies.linkerd-policy-controller-grpc]
[INFO] [stderr]    |               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `cargo::unused_dependencies` is set to `warn` by default
[INFO] [stderr] help: consider removing the dependency on `linkerd-policy-controller-grpc`
[INFO] [stderr] warning: `linkerd-client-policy` (manifest) generated 1 warning
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 3.37s
[INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: openssl v0.10.41
[INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 2`
[INFO] running `Command { std: "docker" "inspect" "4e281231ca4e8eaebb54e1bc66492ca8c9206b6481cd35a705471f41537e33df", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "4e281231ca4e8eaebb54e1bc66492ca8c9206b6481cd35a705471f41537e33df" "/opt/rustwide/cargo-home/bin/cargo" "+1.100.0-beta.1" "test" "--frozen", kill_on_drop: false }`
[INFO] [stderr] warning: unused import: `core`
[INFO] [stderr]  --> src/client_policy.rs:2:5
[INFO] [stderr]   |
[INFO] [stderr] 2 |     core, index,
[INFO] [stderr]   |     ^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `Metadata`
[INFO] [stderr]   --> src/index.rs:17:5
[INFO] [stderr]    |
[INFO] [stderr] 17 |     Metadata,
[INFO] [stderr]    |     ^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `filters`
[INFO] [stderr]   --> src/route.rs:94:9
[INFO] [stderr]    |
[INFO] [stderr] 94 |         filters: Option<Vec<F>>,
[INFO] [stderr]    |         ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_filters`
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: method `as_str` is never used
[INFO] [stderr]   --> src/defaults.rs:48:19
[INFO] [stderr]    |
[INFO] [stderr] 47 | impl DefaultPolicy {
[INFO] [stderr]    | ------------------ method in this implementation
[INFO] [stderr] 48 |     pub(crate) fn as_str(&self) -> &'static str {
[INFO] [stderr]    |                   ^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: field `node_name` is never read
[INFO] [stderr]   --> src/grpc.rs:36:5
[INFO] [stderr]    |
[INFO] [stderr] 34 | struct ContextToken {
[INFO] [stderr]    |        ------------ field in this struct
[INFO] [stderr] 35 |     ns: String,
[INFO] [stderr] 36 |     node_name: Option<String>,
[INFO] [stderr]    |     ^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `ContextToken` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis
[INFO] [stderr] 
[INFO] [stderr] warning: method `update_pod` is never used
[INFO] [stderr]    --> src/index.rs:781:8
[INFO] [stderr]     |
[INFO] [stderr] 744 | impl Namespace {
[INFO] [stderr]     | -------------- method in this implementation
[INFO] [stderr] ...
[INFO] [stderr] 781 |     fn update_pod(&mut self, name: String, pod: pod::Meta) {
[INFO] [stderr]     |        ^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: eliding a lifetime that's named elsewhere is confusing
[INFO] [stderr]    --> src/client_policy.rs:280:83
[INFO] [stderr]     |
[INFO] [stderr] 280 |     pub fn policies_for<'a>(&'a self, pod: &'a pod::Meta) -> impl Iterator<Item = &Spec> + 'a {
[INFO] [stderr]     |                              --             --                                    ^^^^^    -- the same lifetime is named here
[INFO] [stderr]     |                              |              |                                     |
[INFO] [stderr]     |                              |              the lifetime is named here            the same lifetime is elided here
[INFO] [stderr]     |                              the lifetime is named here
[INFO] [stderr]     |
[INFO] [stderr]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stderr]     = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stderr] help: consistently use `'a`
[INFO] [stderr]     |
[INFO] [stderr] 280 |     pub fn policies_for<'a>(&'a self, pod: &'a pod::Meta) -> impl Iterator<Item = &'a Spec> + 'a {
[INFO] [stderr]     |                                                                                    ++
[INFO] [stderr] 
[INFO] [stderr] warning: `linkerd-client-policy` (bin "linkerd-client-policy" test) generated 7 warnings (run `cargo fix --bin "linkerd-client-policy" -p linkerd-client-policy --tests` to apply 3 suggestions)
[INFO] [stderr] warning: unused dependency `linkerd-policy-controller-grpc`
[INFO] [stderr]   --> Cargo.toml:52:15
[INFO] [stderr]    |
[INFO] [stderr] 52 | [dependencies.linkerd-policy-controller-grpc]
[INFO] [stderr]    |               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `cargo::unused_dependencies` is set to `warn` by default
[INFO] [stderr] help: consider removing the dependency on `linkerd-policy-controller-grpc`
[INFO] [stderr] warning: `linkerd-client-policy` (manifest) generated 1 warning
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.24s
[INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: openssl v0.10.41
[INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 2`
[INFO] [stderr]      Running unittests src/main.rs (/opt/rustwide/target/debug/build/linkerd-client-policy/3bcf811517e7b9bb/out/linkerd_client_policy-3bcf811517e7b9bb)
[INFO] [stdout] 
[INFO] [stdout] running 0 tests
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] running `Command { std: "docker" "inspect" "4e281231ca4e8eaebb54e1bc66492ca8c9206b6481cd35a705471f41537e33df", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "4e281231ca4e8eaebb54e1bc66492ca8c9206b6481cd35a705471f41537e33df", kill_on_drop: false }`
[INFO] [stdout] 4e281231ca4e8eaebb54e1bc66492ca8c9206b6481cd35a705471f41537e33df
