[INFO] cloning repository https://github.com/84634E1A607A/quicap [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/84634E1A607A/quicap" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2F84634E1A607A%2Fquicap", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2F84634E1A607A%2Fquicap'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] a53f6d97911d972b32f9a475bb553206b84aeafe [INFO] building 84634E1A607A/quicap against master#c7f6aa2869acdbf014d094c6e427e554e160b6db for pr-146237-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2F84634E1A607A%2Fquicap" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] removed /workspace/builds/worker-4-tc1/source/.cargo/config.toml [INFO] started tweaking git repo https://github.com/84634E1A607A/quicap [INFO] finished tweaking git repo https://github.com/84634E1A607A/quicap [INFO] tweaked toml for git repo https://github.com/84634E1A607A/quicap written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/84634E1A607A/quicap on toolchain c7f6aa2869acdbf014d094c6e427e554e160b6db [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/84634E1A607A/quicap 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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded getifaddrs v0.2.0 [INFO] [stderr] Downloaded mac_address v1.1.8 [INFO] [stderr] Downloaded prettyplease v0.2.36 [INFO] [stderr] Downloaded c2rust-bitfields-derive v0.20.0 [INFO] [stderr] Downloaded netlink-packet-core v0.7.0 [INFO] [stderr] Downloaded os_pipe v1.2.2 [INFO] [stderr] Downloaded compio-tls v0.6.0 [INFO] [stderr] Downloaded clap v4.5.42 [INFO] [stderr] Downloaded route_manager v0.2.6 [INFO] [stderr] Downloaded polling v3.10.0 [INFO] [stderr] Downloaded netlink-packet-route v0.24.0 [INFO] [stderr] Downloaded bindgen v0.72.0 [INFO] [stderr] Downloaded netlink-sys v0.8.7 [INFO] [stderr] Downloaded c2rust-bitfields v0.20.0 [INFO] [stderr] Downloaded clap_builder v4.5.42 [INFO] [stderr] Downloaded tun-rs v2.5.7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 362681ceaac3de22b0e530b656ecb6ab4014bc75c0f612596750c90280e076c7 [INFO] running `Command { std: "docker" "start" "-a" "362681ceaac3de22b0e530b656ecb6ab4014bc75c0f612596750c90280e076c7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "362681ceaac3de22b0e530b656ecb6ab4014bc75c0f612596750c90280e076c7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "362681ceaac3de22b0e530b656ecb6ab4014bc75c0f612596750c90280e076c7", kill_on_drop: false }` [INFO] [stdout] 362681ceaac3de22b0e530b656ecb6ab4014bc75c0f612596750c90280e076c7 [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0be75d3942ece3cbf8b4f07927a2e012a8ea7e4b5dc69c2f938db2fe03dab597 [INFO] running `Command { std: "docker" "start" "-a" "0be75d3942ece3cbf8b4f07927a2e012a8ea7e4b5dc69c2f938db2fe03dab597", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.174 [INFO] [stderr] Compiling bitflags v2.9.1 [INFO] [stderr] Compiling futures-core v0.3.31 [INFO] [stderr] Compiling cc v1.2.31 [INFO] [stderr] Compiling rustix v1.0.8 [INFO] [stderr] Compiling io-uring v0.7.9 [INFO] [stderr] Compiling linux-raw-sys v0.9.4 [INFO] [stderr] Compiling glob v0.3.2 [INFO] [stderr] Compiling compio-driver v0.8.2 [INFO] [stderr] Compiling rustc-hash v2.1.1 [INFO] [stderr] Compiling prettyplease v0.2.36 [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Compiling rustls-pki-types v1.12.0 [INFO] [stderr] Compiling crossbeam-channel v0.5.15 [INFO] [stderr] Compiling crossbeam-queue v0.3.12 [INFO] [stderr] Compiling compio-log v0.1.0 [INFO] [stderr] Compiling rustls v0.23.31 [INFO] [stderr] Compiling memchr v2.7.5 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling libloading v0.8.8 [INFO] [stderr] Compiling bindgen v0.72.0 [INFO] [stderr] Compiling clang-sys v1.8.1 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling scoped-tls v1.0.1 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling nix v0.29.0 [INFO] [stderr] Compiling itertools v0.13.0 [INFO] [stderr] Compiling anstyle v1.0.11 [INFO] [stderr] Compiling winnow v0.7.12 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Compiling nix v0.30.1 [INFO] [stderr] Compiling compio-fs v0.8.0 [INFO] [stderr] Compiling compio-quic v0.4.0 [INFO] [stderr] Compiling lru-slab v0.1.2 [INFO] [stderr] Compiling anstyle-parse v0.2.7 [INFO] [stderr] Compiling clap_lex v0.7.5 [INFO] [stderr] Compiling anstyle-query v1.1.4 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling colorchoice v1.0.4 [INFO] [stderr] Compiling anstream v0.6.20 [INFO] [stderr] Compiling env_filter v0.1.3 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling clap_builder v4.5.42 [INFO] [stderr] Compiling jiff v0.2.15 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling cexpr v0.6.0 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling compio-buf v0.6.0 [INFO] [stderr] Compiling socket2 v0.5.10 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling os_pipe v1.2.2 [INFO] [stderr] Compiling nanorand v0.7.0 [INFO] [stderr] Compiling getifaddrs v0.2.0 [INFO] [stderr] Compiling rand_core v0.9.3 [INFO] [stderr] Compiling flume v0.11.1 [INFO] [stderr] Compiling rand_chacha v0.9.0 [INFO] [stderr] Compiling toml_edit v0.22.27 [INFO] [stderr] Compiling io_uring_buf_ring v0.2.1 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Compiling dashmap v6.1.0 [INFO] [stderr] Compiling rand v0.9.2 [INFO] [stderr] Compiling toml_parser v1.0.2 [INFO] [stderr] Compiling mac_address v1.1.8 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling thiserror-impl v2.0.12 [INFO] [stderr] Compiling clap_derive v4.5.41 [INFO] [stderr] Compiling proc-macro-crate v3.3.0 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling compio-macros v0.1.2 [INFO] [stderr] Compiling thiserror v2.0.12 [INFO] [stderr] Compiling clap v4.5.42 [INFO] [stderr] Compiling env_logger v0.11.8 [INFO] [stderr] Compiling rustls-webpki v0.103.4 [INFO] [stderr] Compiling compio-io v0.7.0 [INFO] [stderr] Compiling compio-runtime v0.8.1 [INFO] [stderr] Compiling compio-net v0.8.0 [INFO] [stderr] Compiling tun-rs v2.5.7 [INFO] [stderr] Compiling serde_spanned v1.0.0 [INFO] [stderr] Compiling toml_datetime v0.7.0 [INFO] [stderr] Compiling toml v0.9.5 [INFO] [stderr] Compiling quinn-proto v0.11.12 [INFO] [stderr] Compiling compio-tls v0.6.0 [INFO] [stderr] Compiling compio v0.15.0 [INFO] [stderr] Compiling quicap v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `BytesMut`, `Bytes`, `Task`, and `self` [INFO] [stdout] --> src/switch.rs:5:18 [INFO] [stdout] | [INFO] [stdout] 5 | buf::bytes::{Bytes, BytesMut}, [INFO] [stdout] | ^^^^^ ^^^^^^^^ [INFO] [stdout] 6 | runtime::{self, Task}, [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 variable: `server` [INFO] [stdout] --> src/switch.rs:41:13 [INFO] [stdout] | [INFO] [stdout] 41 | let server = self.server.clone(); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_server` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `client` [INFO] [stdout] --> src/switch.rs:42:13 [INFO] [stdout] | [INFO] [stdout] 42 | let client = self.client.clone(); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_client` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dashmap` [INFO] [stdout] --> src/switch.rs:43:13 [INFO] [stdout] | [INFO] [stdout] 43 | let dashmap = self.arp.clone(); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_dashmap` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `switch` [INFO] [stdout] --> src/main.rs:36:9 [INFO] [stdout] | [INFO] [stdout] 36 | let switch = Switch::from(tap, server, client); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_switch` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Interface` is never used [INFO] [stdout] --> src/interface.rs:3:7 [INFO] [stdout] | [INFO] [stdout] 3 | trait Interface { [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 `conn` is never read [INFO] [stdout] --> src/interface.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct QuicTunnel { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 10 | conn: Connection, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/quic.rs:92:23 [INFO] [stdout] | [INFO] [stdout] 92 | pub struct QuicServer(Endpoint); [INFO] [stdout] | ---------- ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `listen` is never used [INFO] [stdout] --> src/quic.rs:95:18 [INFO] [stdout] | [INFO] [stdout] 94 | impl QuicServer { [INFO] [stdout] | --------------- method in this implementation [INFO] [stdout] 95 | pub async fn listen(&self) -> Option { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `connect` is never used [INFO] [stdout] --> src/quic.rs:125:18 [INFO] [stdout] | [INFO] [stdout] 124 | impl QuicClient { [INFO] [stdout] | --------------- method in this implementation [INFO] [stdout] 125 | pub async fn connect(&self) -> Result> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `end`, `peer`, and `san` are never read [INFO] [stdout] --> src/quic.rs:135:5 [INFO] [stdout] | [INFO] [stdout] 134 | pub struct QuicClient { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 135 | end: Endpoint, [INFO] [stdout] | ^^^ [INFO] [stdout] 136 | peer: SocketAddr, [INFO] [stdout] | ^^^^ [INFO] [stdout] 137 | san: String, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `ClientToServer` and `ServerToClient` are never constructed [INFO] [stdout] --> src/switch.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 11 | enum Direction { [INFO] [stdout] | --------- variants in this enum [INFO] [stdout] 12 | ClientToServer, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 13 | ServerToClient, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `tap`, `server`, `client`, and `arp` are never read [INFO] [stdout] --> src/switch.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 21 | pub struct Switch { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 22 | tap: Tap, [INFO] [stdout] | ^^^ [INFO] [stdout] 23 | server: Arc, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 24 | client: Arc, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 25 | arp: Arc>, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `switch` is never used [INFO] [stdout] --> src/switch.rs:40:14 [INFO] [stdout] | [INFO] [stdout] 28 | impl Switch { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 40 | async fn switch(&mut self) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `enable`, `disable`, `set_mtu`, `recv`, and `send` are never used [INFO] [stdout] --> src/tap.rs:71:12 [INFO] [stdout] | [INFO] [stdout] 67 | impl Tap { [INFO] [stdout] | -------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 71 | pub fn enable(&mut self) -> Result<(), Box> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 74 | pub fn disable(&mut self) -> Result<(), Box> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 77 | pub fn set_mtu(&mut self, mtu: u16) -> Result<(), Box> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 80 | pub async fn recv(&mut self, buf: BytesMut) -> BufResult { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 83 | pub async fn send(&mut self, buf: Bytes) -> BufResult { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 05s [INFO] running `Command { std: "docker" "inspect" "0be75d3942ece3cbf8b4f07927a2e012a8ea7e4b5dc69c2f938db2fe03dab597", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0be75d3942ece3cbf8b4f07927a2e012a8ea7e4b5dc69c2f938db2fe03dab597", kill_on_drop: false }` [INFO] [stdout] 0be75d3942ece3cbf8b4f07927a2e012a8ea7e4b5dc69c2f938db2fe03dab597 [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e10f515dd88630fd04ea665c6c0f91f7fd276499a662a0c4d6cf22d1f9aa3cb3 [INFO] running `Command { std: "docker" "start" "-a" "e10f515dd88630fd04ea665c6c0f91f7fd276499a662a0c4d6cf22d1f9aa3cb3", kill_on_drop: false }` [INFO] [stderr] Compiling quicap v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `BytesMut`, `Bytes`, `Task`, and `self` [INFO] [stdout] --> src/switch.rs:5:18 [INFO] [stdout] | [INFO] [stdout] 5 | buf::bytes::{Bytes, BytesMut}, [INFO] [stdout] | ^^^^^ ^^^^^^^^ [INFO] [stdout] 6 | runtime::{self, Task}, [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 variable: `server` [INFO] [stdout] --> src/switch.rs:41:13 [INFO] [stdout] | [INFO] [stdout] 41 | let server = self.server.clone(); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_server` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `client` [INFO] [stdout] --> src/switch.rs:42:13 [INFO] [stdout] | [INFO] [stdout] 42 | let client = self.client.clone(); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_client` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dashmap` [INFO] [stdout] --> src/switch.rs:43:13 [INFO] [stdout] | [INFO] [stdout] 43 | let dashmap = self.arp.clone(); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_dashmap` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `switch` [INFO] [stdout] --> src/main.rs:36:9 [INFO] [stdout] | [INFO] [stdout] 36 | let switch = Switch::from(tap, server, client); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_switch` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Interface` is never used [INFO] [stdout] --> src/interface.rs:3:7 [INFO] [stdout] | [INFO] [stdout] 3 | trait Interface { [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 `conn` is never read [INFO] [stdout] --> src/interface.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct QuicTunnel { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 10 | conn: Connection, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `ClientToServer` and `ServerToClient` are never constructed [INFO] [stdout] --> src/switch.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 11 | enum Direction { [INFO] [stdout] | --------- variants in this enum [INFO] [stdout] 12 | ClientToServer, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 13 | ServerToClient, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `tap`, `server`, `client`, and `arp` are never read [INFO] [stdout] --> src/switch.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 21 | pub struct Switch { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 22 | tap: Tap, [INFO] [stdout] | ^^^ [INFO] [stdout] 23 | server: Arc, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 24 | client: Arc, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 25 | arp: Arc>, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `switch` is never used [INFO] [stdout] --> src/switch.rs:40:14 [INFO] [stdout] | [INFO] [stdout] 28 | impl Switch { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 40 | async fn switch(&mut self) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `disable` is never used [INFO] [stdout] --> src/tap.rs:74:12 [INFO] [stdout] | [INFO] [stdout] 67 | impl Tap { [INFO] [stdout] | -------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 74 | pub fn disable(&mut self) -> Result<(), Box> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 2.51s [INFO] running `Command { std: "docker" "inspect" "e10f515dd88630fd04ea665c6c0f91f7fd276499a662a0c4d6cf22d1f9aa3cb3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e10f515dd88630fd04ea665c6c0f91f7fd276499a662a0c4d6cf22d1f9aa3cb3", kill_on_drop: false }` [INFO] [stdout] e10f515dd88630fd04ea665c6c0f91f7fd276499a662a0c4d6cf22d1f9aa3cb3