[INFO] cloning repository https://github.com/frost1990/cproxy [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/frost1990/cproxy" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffrost1990%2Fcproxy", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffrost1990%2Fcproxy'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 0867b044e2901d6f5bfccb92634f7946a169837e [INFO] checking frost1990/cproxy against master#a609fb45efad59dfd459c76e50899be9f0583b5a for pr-80579 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffrost1990%2Fcproxy" "/workspace/builds/worker-4/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/frost1990/cproxy on toolchain a609fb45efad59dfd459c76e50899be9f0583b5a [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/frost1990/cproxy [INFO] finished tweaking git repo https://github.com/frost1990/cproxy [INFO] tweaked toml for git repo https://github.com/frost1990/cproxy written to /workspace/builds/worker-4/source/Cargo.toml [INFO] crate git repo https://github.com/frost1990/cproxy already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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" "rustops/crates-build-env@sha256:c8ac004eab7d63a0ad09a2dde3d3353ba464f767bee4de425dc8f74c46a1905e" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] d6a5d31caa7c18ab74af6cd79a5f9ab10feccf51bc5828d0e5418a9234907623 [INFO] running `Command { std: "docker" "start" "-a" "d6a5d31caa7c18ab74af6cd79a5f9ab10feccf51bc5828d0e5418a9234907623", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d6a5d31caa7c18ab74af6cd79a5f9ab10feccf51bc5828d0e5418a9234907623", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d6a5d31caa7c18ab74af6cd79a5f9ab10feccf51bc5828d0e5418a9234907623", kill_on_drop: false }` [INFO] [stdout] d6a5d31caa7c18ab74af6cd79a5f9ab10feccf51bc5828d0e5418a9234907623 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:c8ac004eab7d63a0ad09a2dde3d3353ba464f767bee4de425dc8f74c46a1905e" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] bbe336071764184db1560637a9dd84dcb1636275a13e0930e4187e7c33a3864c [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "bbe336071764184db1560637a9dd84dcb1636275a13e0930e4187e7c33a3864c", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Checking bytes v0.5.6 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Checking itoa v0.4.6 [INFO] [stderr] Compiling regex-syntax v0.6.20 [INFO] [stderr] Checking adler v0.2.3 [INFO] [stderr] Compiling glob v0.3.0 [INFO] [stderr] Compiling unicode-width v0.1.8 [INFO] [stderr] Compiling native-tls v0.2.4 [INFO] [stderr] Compiling getrandom v0.2.0 [INFO] [stderr] Compiling vec_map v0.8.2 [INFO] [stderr] Compiling bindgen v0.55.1 [INFO] [stderr] Compiling termcolor v1.1.0 [INFO] [stderr] Compiling ansi_term v0.11.0 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling encoding_rs v0.8.24 [INFO] [stderr] Compiling const_fn v0.4.2 [INFO] [stderr] Compiling rustc-hash v1.1.0 [INFO] [stderr] Checking base64 v0.12.3 [INFO] [stderr] Compiling peeking_take_while v0.1.2 [INFO] [stderr] Compiling shlex v0.1.1 [INFO] [stderr] Compiling lazycell v1.3.0 [INFO] [stderr] Compiling k8s-openapi v0.9.0 [INFO] [stderr] Checking linked-hash-map v0.5.3 [INFO] [stderr] Checking gimli v0.23.0 [INFO] [stderr] Checking smallvec v1.4.2 [INFO] [stderr] Checking object v0.22.0 [INFO] [stderr] Checking zero v0.1.2 [INFO] [stderr] Checking rustc-demangle v0.1.18 [INFO] [stderr] Checking static_assertions v1.1.0 [INFO] [stderr] Checking log-mdc v0.1.0 [INFO] [stderr] Compiling unicase v2.6.0 [INFO] [stderr] Compiling standback v0.2.11 [INFO] [stderr] Compiling nom v5.1.2 [INFO] [stderr] Checking tracing-core v0.1.17 [INFO] [stderr] Checking thread_local v1.0.1 [INFO] [stderr] Compiling time v0.2.22 [INFO] [stderr] Compiling error-chain v0.12.4 [INFO] [stderr] Compiling gperftools v0.2.0 [INFO] [stderr] Checking futures-channel v0.3.7 [INFO] [stderr] Checking futures-task v0.3.7 [INFO] [stderr] Compiling libloading v0.6.5 [INFO] [stderr] Compiling humantime v1.3.0 [INFO] [stderr] Checking instant v0.1.8 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Checking http v0.2.1 [INFO] [stderr] Checking yaml-rust v0.4.4 [INFO] [stderr] Checking lock_api v0.4.1 [INFO] [stderr] Checking unsafe-any v0.4.2 [INFO] [stderr] Compiling libc v0.2.80 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Checking xmas-elf v0.6.2 [INFO] [stderr] Compiling num-traits v0.2.12 [INFO] [stderr] Compiling num-integer v0.1.43 [INFO] [stderr] Compiling openssl-sys v0.9.58 [INFO] [stderr] Compiling miniz_oxide v0.4.3 [INFO] [stderr] Compiling indexmap v1.6.0 [INFO] [stderr] Compiling num-bigint v0.3.0 [INFO] [stderr] Compiling num-iter v0.1.42 [INFO] [stderr] Compiling num-rational v0.3.1 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Checking crc32fast v1.2.1 [INFO] [stderr] Compiling clang-sys v1.0.1 [INFO] [stderr] Checking net2 v0.2.35 [INFO] [stderr] Checking signal-hook-registry v1.2.1 [INFO] [stderr] Checking time v0.1.44 [INFO] [stderr] Checking socket2 v0.3.15 [INFO] [stderr] Checking dirs-sys v0.3.5 [INFO] [stderr] Checking parking_lot_core v0.8.0 [INFO] [stderr] Checking thread-id v3.3.0 [INFO] [stderr] Checking errno v0.2.7 [INFO] [stderr] Checking typemap v0.3.3 [INFO] [stderr] Checking url v2.1.1 [INFO] [stderr] Checking aho-corasick v0.7.14 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling which v3.1.1 [INFO] [stderr] Checking addr2line v0.14.0 [INFO] [stderr] Checking dirs v3.0.1 [INFO] [stderr] Checking ebpf v0.0.4 [INFO] [stderr] Checking parking_lot v0.11.0 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Compiling clap v2.33.3 [INFO] [stderr] Compiling mime_guess v2.0.3 [INFO] [stderr] Compiling const-random-macro v0.1.11 [INFO] [stderr] Compiling openssl v0.10.30 [INFO] [stderr] Checking http-body v0.3.1 [INFO] [stderr] Compiling syn v1.0.48 [INFO] [stderr] Checking regex v1.4.1 [INFO] [stderr] Checking flate2 v1.0.18 [INFO] [stderr] Checking backtrace v0.3.55 [INFO] [stderr] Checking async-compression v0.3.5 [INFO] [stderr] Checking ordered-float v2.0.0 [INFO] [stderr] Checking num-complex v0.3.1 [INFO] [stderr] Checking ordered-float v1.1.0 [INFO] [stderr] Checking const-random v0.1.11 [INFO] [stderr] Checking ahash v0.3.8 [INFO] [stderr] Checking dashmap v3.11.10 [INFO] [stderr] Checking pem v0.8.1 [INFO] [stderr] Checking Inflector v0.11.4 [INFO] [stderr] Compiling cexpr v0.4.0 [INFO] [stderr] Checking num v0.3.0 [INFO] [stderr] Checking socket v0.0.7 [INFO] [stderr] Compiling serde_derive v1.0.117 [INFO] [stderr] Compiling pin-project-internal v1.0.1 [INFO] [stderr] Compiling pin-project-internal v0.4.27 [INFO] [stderr] Compiling tokio-macros v0.2.6 [INFO] [stderr] Compiling futures-macro v0.3.7 [INFO] [stderr] Compiling time-macros-impl v0.1.1 [INFO] [stderr] Compiling thiserror-impl v1.0.21 [INFO] [stderr] Compiling snafu-derive v0.6.9 [INFO] [stderr] Compiling derivative v2.1.1 [INFO] [stderr] Checking time-macros v0.1.1 [INFO] [stderr] Checking thiserror v1.0.21 [INFO] [stderr] Checking pin-project v1.0.1 [INFO] [stderr] Checking futures-util v0.3.7 [INFO] [stderr] Checking pin-project v0.4.27 [INFO] [stderr] Checking snafu v0.6.9 [INFO] [stderr] Checking serde v1.0.117 [INFO] [stderr] Checking futures-executor v0.3.7 [INFO] [stderr] Checking futures v0.3.7 [INFO] [stderr] Checking serde_json v1.0.59 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Checking serde-value v0.7.0 [INFO] [stderr] Checking serde_urlencoded v0.6.1 [INFO] [stderr] Checking serde_yaml v0.8.13 [INFO] [stderr] Checking serde-value v0.6.0 [INFO] [stderr] Checking mio v0.6.22 [INFO] [stderr] Checking tracing v0.1.21 [INFO] [stderr] Checking want v0.3.0 [INFO] [stderr] Checking tracing-futures v0.2.4 [INFO] [stderr] Compiling env_logger v0.7.1 [INFO] [stderr] Checking mio-uds v0.6.8 [INFO] [stderr] Checking tokio v0.2.22 [INFO] [stderr] Checking log4rs v0.13.0 [INFO] [stderr] Compiling vergen v3.1.0 [INFO] [stderr] Compiling kube-derive v0.42.0 [INFO] [stderr] Compiling cproxy v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Checking tokio-util v0.3.1 [INFO] [stderr] Checking tokio-tls v0.3.1 [INFO] [stderr] Checking h2 v0.2.7 [INFO] [stderr] Compiling bpf-sys v1.2.0 [INFO] [stderr] Checking hyper v0.13.8 [INFO] [stderr] Checking hyper-tls v0.4.3 [INFO] [stderr] Checking reqwest v0.10.8 [INFO] [stderr] Checking kube v0.42.0 [INFO] [stderr] Checking kube-runtime v0.42.0 [INFO] [stdout] warning: unused import: `log4rs::append::file::FileAppender` [INFO] [stdout] --> src/main.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use log4rs::append::file::FileAppender; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Logger` [INFO] [stdout] --> src/main.rs:15:40 [INFO] [stdout] | [INFO] [stdout] 15 | use log4rs::config::{Appender, Config, Logger, Root}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `log4rs::append::file::FileAppender` [INFO] [stdout] --> src/main.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use log4rs::append::file::FileAppender; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Logger` [INFO] [stdout] --> src/main.rs:15:40 [INFO] [stdout] | [INFO] [stdout] 15 | use log4rs::config::{Appender, Config, Logger, Root}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: cannot borrow `*self` as mutable because it is also borrowed as immutable [INFO] [stdout] --> src/dp.rs:86:5 [INFO] [stdout] | [INFO] [stdout] 84 | let ep = self.g_ep_cache.get(skey); [INFO] [stdout] | --------------- immutable borrow occurs here [INFO] [stdout] 85 | if let Some(x) = ep { [INFO] [stdout] 86 | self.sync_all(nsvc, &x.clone()); [INFO] [stdout] | ^^^^ - immutable borrow later used here [INFO] [stdout] | | [INFO] [stdout] | mutable borrow occurs here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mutable_borrow_reservation_conflict)]` on by default [INFO] [stdout] = warning: this borrowing pattern was not meant to be accepted, and may become a hard error in the future [INFO] [stdout] = note: for more information, see issue #59159 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: cannot borrow `*self` as mutable because it is also borrowed as immutable [INFO] [stdout] --> src/dp.rs:101:5 [INFO] [stdout] | [INFO] [stdout] 99 | let svc = self.g_svc_cache.get(ekey); [INFO] [stdout] | ---------------- immutable borrow occurs here [INFO] [stdout] 100 | if let Some(x) = svc { [INFO] [stdout] 101 | self.sync_all(&x.clone(), nep); [INFO] [stdout] | ^^^^ - immutable borrow later used here [INFO] [stdout] | | [INFO] [stdout] | mutable borrow occurs here [INFO] [stdout] | [INFO] [stdout] = warning: this borrowing pattern was not meant to be accepted, and may become a hard error in the future [INFO] [stdout] = note: for more information, see issue #59159 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: cannot borrow `*self` as mutable because it is also borrowed as immutable [INFO] [stdout] --> src/dp.rs:109:4 [INFO] [stdout] | [INFO] [stdout] 107 | let svc = self.g_svc_cache.get(ekey); [INFO] [stdout] | ---------------- immutable borrow occurs here [INFO] [stdout] 108 | if let Some(x) = svc { [INFO] [stdout] 109 | self.reconcile_service_event(ekey, &x.clone()).await; [INFO] [stdout] | ^^^^ mutable borrow occurs here - immutable borrow later used here [INFO] [stdout] | [INFO] [stdout] = warning: this borrowing pattern was not meant to be accepted, and may become a hard error in the future [INFO] [stdout] = note: for more information, see issue #59159 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: cannot borrow `*self` as mutable because it is also borrowed as immutable [INFO] [stdout] --> src/dp.rs:86:5 [INFO] [stdout] | [INFO] [stdout] 84 | let ep = self.g_ep_cache.get(skey); [INFO] [stdout] | --------------- immutable borrow occurs here [INFO] [stdout] 85 | if let Some(x) = ep { [INFO] [stdout] 86 | self.sync_all(nsvc, &x.clone()); [INFO] [stdout] | ^^^^ - immutable borrow later used here [INFO] [stdout] | | [INFO] [stdout] | mutable borrow occurs here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mutable_borrow_reservation_conflict)]` on by default [INFO] [stdout] = warning: this borrowing pattern was not meant to be accepted, and may become a hard error in the future [INFO] [stdout] = note: for more information, see issue #59159 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: cannot borrow `*self` as mutable because it is also borrowed as immutable [INFO] [stdout] --> src/dp.rs:101:5 [INFO] [stdout] | [INFO] [stdout] 99 | let svc = self.g_svc_cache.get(ekey); [INFO] [stdout] | ---------------- immutable borrow occurs here [INFO] [stdout] 100 | if let Some(x) = svc { [INFO] [stdout] 101 | self.sync_all(&x.clone(), nep); [INFO] [stdout] | ^^^^ - immutable borrow later used here [INFO] [stdout] | | [INFO] [stdout] | mutable borrow occurs here [INFO] [stdout] | [INFO] [stdout] = warning: this borrowing pattern was not meant to be accepted, and may become a hard error in the future [INFO] [stdout] = note: for more information, see issue #59159 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: cannot borrow `*self` as mutable because it is also borrowed as immutable [INFO] [stdout] --> src/dp.rs:109:4 [INFO] [stdout] | [INFO] [stdout] 107 | let svc = self.g_svc_cache.get(ekey); [INFO] [stdout] | ---------------- immutable borrow occurs here [INFO] [stdout] 108 | if let Some(x) = svc { [INFO] [stdout] 109 | self.reconcile_service_event(ekey, &x.clone()).await; [INFO] [stdout] | ^^^^ mutable borrow occurs here - immutable borrow later used here [INFO] [stdout] | [INFO] [stdout] = warning: this borrowing pattern was not meant to be accepted, and may become a hard error in the future [INFO] [stdout] = note: for more information, see issue #59159 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `k` [INFO] [stdout] --> src/dp.rs:58:8 [INFO] [stdout] | [INFO] [stdout] 58 | for (k, v) in &self.g_frontend_addr_cache{ [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_k` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ep` [INFO] [stdout] --> src/dp.rs:106:63 [INFO] [stdout] | [INFO] [stdout] 106 | pub async fn on_endpoints_delete(& mut self, ekey : &String, ep : &Endpoints) { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_ep` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `add` [INFO] [stdout] --> src/dp.rs:245:8 [INFO] [stdout] | [INFO] [stdout] 245 | let (add, del) = track_l4_addr_change(backends.to_vec(), prevs); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_add` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `val` is never read [INFO] [stdout] --> src/dp/mbpf.rs:103:13 [INFO] [stdout] | [INFO] [stdout] 103 | val = &mut (*bval); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `err` [INFO] [stdout] --> src/dp/mbpf.rs:120:24 [INFO] [stdout] | [INFO] [stdout] 120 | if let Err(err) = ret { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_err` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `c_int` [INFO] [stdout] --> src/dp/mbpf.rs:143:20 [INFO] [stdout] | [INFO] [stdout] 143 | Ok(c_int) => { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_c_int` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `c_int` [INFO] [stdout] --> src/dp/mbpf.rs:185:20 [INFO] [stdout] | [INFO] [stdout] 185 | Ok(c_int) => { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_c_int` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `c_int` [INFO] [stdout] --> src/dp/mbpf.rs:196:31 [INFO] [stdout] | [INFO] [stdout] 196 | if let Ok(c_int) = _lookup { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_c_int` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `c_int` [INFO] [stdout] --> src/dp/mbpf.rs:197:35 [INFO] [stdout] | [INFO] [stdout] 197 | if let Ok(c_int) = _lookup { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_c_int` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `val` is never read [INFO] [stdout] --> src/dp/mbpf.rs:277:13 [INFO] [stdout] | [INFO] [stdout] 277 | val = &mut (*bval); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `c_int` [INFO] [stdout] --> src/dp/mbpf.rs:304:20 [INFO] [stdout] | [INFO] [stdout] 304 | Ok(c_int) => { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_c_int` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `k` [INFO] [stdout] --> src/dp.rs:58:8 [INFO] [stdout] | [INFO] [stdout] 58 | for (k, v) in &self.g_frontend_addr_cache{ [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_k` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ep` [INFO] [stdout] --> src/dp.rs:106:63 [INFO] [stdout] | [INFO] [stdout] 106 | pub async fn on_endpoints_delete(& mut self, ekey : &String, ep : &Endpoints) { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_ep` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `add` [INFO] [stdout] --> src/dp.rs:245:8 [INFO] [stdout] | [INFO] [stdout] 245 | let (add, del) = track_l4_addr_change(backends.to_vec(), prevs); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_add` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `val` is never read [INFO] [stdout] --> src/dp/mbpf.rs:103:13 [INFO] [stdout] | [INFO] [stdout] 103 | val = &mut (*bval); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `err` [INFO] [stdout] --> src/dp/mbpf.rs:120:24 [INFO] [stdout] | [INFO] [stdout] 120 | if let Err(err) = ret { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_err` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `c_int` [INFO] [stdout] --> src/dp/mbpf.rs:143:20 [INFO] [stdout] | [INFO] [stdout] 143 | Ok(c_int) => { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_c_int` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `c_int` [INFO] [stdout] --> src/dp/mbpf.rs:185:20 [INFO] [stdout] | [INFO] [stdout] 185 | Ok(c_int) => { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_c_int` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `c_int` [INFO] [stdout] --> src/dp/mbpf.rs:196:31 [INFO] [stdout] | [INFO] [stdout] 196 | if let Ok(c_int) = _lookup { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_c_int` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `c_int` [INFO] [stdout] --> src/dp/mbpf.rs:197:35 [INFO] [stdout] | [INFO] [stdout] 197 | if let Ok(c_int) = _lookup { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_c_int` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `val` is never read [INFO] [stdout] --> src/dp/mbpf.rs:277:13 [INFO] [stdout] | [INFO] [stdout] 277 | val = &mut (*bval); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `c_int` [INFO] [stdout] --> src/dp/mbpf.rs:304:20 [INFO] [stdout] | [INFO] [stdout] 304 | Ok(c_int) => { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_c_int` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: cannot borrow `*self` as mutable because it is also borrowed as immutable [INFO] [stdout] --> src/dp.rs:151:6 [INFO] [stdout] | [INFO] [stdout] 149 | let prev_backends = self.g_datapath_cache.get(&frontend); [INFO] [stdout] | --------------------- immutable borrow occurs here [INFO] [stdout] 150 | if let Some(y) = prev_backends { [INFO] [stdout] 151 | self.lb4_datapath_to_ebpf_map(frontend, backends.clone(), y.clone()); [INFO] [stdout] | ^^^^ mutable borrow occurs here - immutable borrow later used here [INFO] [stdout] | [INFO] [stdout] = warning: this borrowing pattern was not meant to be accepted, and may become a hard error in the future [INFO] [stdout] = note: for more information, see issue #59159 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: cannot borrow `*self` as mutable because it is also borrowed as immutable [INFO] [stdout] --> src/dp.rs:151:6 [INFO] [stdout] | [INFO] [stdout] 149 | let prev_backends = self.g_datapath_cache.get(&frontend); [INFO] [stdout] | --------------------- immutable borrow occurs here [INFO] [stdout] 150 | if let Some(y) = prev_backends { [INFO] [stdout] 151 | self.lb4_datapath_to_ebpf_map(frontend, backends.clone(), y.clone()); [INFO] [stdout] | ^^^^ mutable borrow occurs here - immutable borrow later used here [INFO] [stdout] | [INFO] [stdout] = warning: this borrowing pattern was not meant to be accepted, and may become a hard error in the future [INFO] [stdout] = note: for more information, see issue #59159 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `release_id` [INFO] [stdout] --> src/dp/ipv4.rs:151:12 [INFO] [stdout] | [INFO] [stdout] 151 | pub fn release_id(&mut self, l4addr: L4Address) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `lookup` [INFO] [stdout] --> src/dp/mbpf.rs:97:12 [INFO] [stdout] | [INFO] [stdout] 97 | pub fn lookup(&self, key: &lb4_key, mut val: &mut lb4_service) -> Result<(), errno::Errno> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `clear` [INFO] [stdout] --> src/dp/mbpf.rs:107:12 [INFO] [stdout] | [INFO] [stdout] 107 | pub fn clear(&self) -> Result<(), errno::Errno> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `clear` [INFO] [stdout] --> src/dp/mbpf.rs:282:12 [INFO] [stdout] | [INFO] [stdout] 282 | pub fn clear(&self) -> Result<(), errno::Errno> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `track_ep_addr_change` [INFO] [stdout] --> src/dp.rs:306:5 [INFO] [stdout] | [INFO] [stdout] 306 | fn track_ep_addr_change(&mut self, ekey :&String, new_ep:&Endpoints) -> (Vec, Vec ) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `get_endpoints_backend_addrs` [INFO] [stdout] --> src/dp.rs:324:4 [INFO] [stdout] | [INFO] [stdout] 324 | fn get_endpoints_backend_addrs(ep: &Endpoints) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `ip_addr_be32_from_str` [INFO] [stdout] --> src/dp.rs:441:8 [INFO] [stdout] | [INFO] [stdout] 441 | pub fn ip_addr_be32_from_str(ipstr: &str) -> u32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `get_address_from_endpoint_port` [INFO] [stdout] --> src/dp.rs:470:4 [INFO] [stdout] | [INFO] [stdout] 470 | fn get_address_from_endpoint_port(l3addr : &String, ep : &EndpointPort) -> ipv4::L4Address{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `release_id` [INFO] [stdout] --> src/dp/ipv4.rs:151:12 [INFO] [stdout] | [INFO] [stdout] 151 | pub fn release_id(&mut self, l4addr: L4Address) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `lookup` [INFO] [stdout] --> src/dp/mbpf.rs:97:12 [INFO] [stdout] | [INFO] [stdout] 97 | pub fn lookup(&self, key: &lb4_key, mut val: &mut lb4_service) -> Result<(), errno::Errno> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `clear` [INFO] [stdout] --> src/dp/mbpf.rs:107:12 [INFO] [stdout] | [INFO] [stdout] 107 | pub fn clear(&self) -> Result<(), errno::Errno> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `clear` [INFO] [stdout] --> src/dp/mbpf.rs:282:12 [INFO] [stdout] | [INFO] [stdout] 282 | pub fn clear(&self) -> Result<(), errno::Errno> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `track_ep_addr_change` [INFO] [stdout] --> src/dp.rs:306:5 [INFO] [stdout] | [INFO] [stdout] 306 | fn track_ep_addr_change(&mut self, ekey :&String, new_ep:&Endpoints) -> (Vec, Vec ) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `get_endpoints_backend_addrs` [INFO] [stdout] --> src/dp.rs:324:4 [INFO] [stdout] | [INFO] [stdout] 324 | fn get_endpoints_backend_addrs(ep: &Endpoints) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `ip_addr_be32_from_str` [INFO] [stdout] --> src/dp.rs:441:8 [INFO] [stdout] | [INFO] [stdout] 441 | pub fn ip_addr_be32_from_str(ipstr: &str) -> u32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `get_address_from_endpoint_port` [INFO] [stdout] --> src/dp.rs:470:4 [INFO] [stdout] | [INFO] [stdout] 470 | fn get_address_from_endpoint_port(l3addr : &String, ep : &EndpointPort) -> ipv4::L4Address{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/dp.rs:201:4 [INFO] [stdout] | [INFO] [stdout] 201 | self.m1.delete(&svckey); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/dp.rs:201:4 [INFO] [stdout] | [INFO] [stdout] 201 | self.m1.delete(&svckey); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/dp.rs:235:4 [INFO] [stdout] | [INFO] [stdout] 235 | self.m1.upsert(&svckey, &svcval); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/dp.rs:235:4 [INFO] [stdout] | [INFO] [stdout] 235 | self.m1.upsert(&svckey, &svcval); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/dp.rs:242:4 [INFO] [stdout] | [INFO] [stdout] 242 | self.m1.delete(&svckey); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/dp.rs:242:4 [INFO] [stdout] | [INFO] [stdout] 242 | self.m1.delete(&svckey); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/dp.rs:256:4 [INFO] [stdout] | [INFO] [stdout] 256 | self.m2.upsert(&id, &bk); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/dp.rs:256:4 [INFO] [stdout] | [INFO] [stdout] 256 | self.m2.upsert(&id, &bk); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/dp.rs:299:6 [INFO] [stdout] | [INFO] [stdout] 299 | self.m2.delete(&bkid); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/dp.rs:299:6 [INFO] [stdout] | [INFO] [stdout] 299 | self.m2.delete(&bkid); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/dp/mbpf.rs:207:33 [INFO] [stdout] | [INFO] [stdout] 207 | ... m2.lookup(&bkid, &val); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/dp/mbpf.rs:207:33 [INFO] [stdout] | [INFO] [stdout] 207 | ... m2.lookup(&bkid, &val); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/dp/mbpf.rs:312:21 [INFO] [stdout] | [INFO] [stdout] 312 | self.lookup(&(*pid), &val); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/dp/mbpf.rs:312:21 [INFO] [stdout] | [INFO] [stdout] 312 | self.lookup(&(*pid), &val); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 32 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 32 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 3m 02s [INFO] running `Command { std: "docker" "inspect" "bbe336071764184db1560637a9dd84dcb1636275a13e0930e4187e7c33a3864c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bbe336071764184db1560637a9dd84dcb1636275a13e0930e4187e7c33a3864c", kill_on_drop: false }` [INFO] [stdout] bbe336071764184db1560637a9dd84dcb1636275a13e0930e4187e7c33a3864c