[INFO] cloning repository https://github.com/naotiki/tun-playground [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/naotiki/tun-playground" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnaotiki%2Ftun-playground", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnaotiki%2Ftun-playground'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 876aeb35d03d6fa27e9b58e9fe4b5a0f785c4992 [INFO] checking naotiki/tun-playground against master#613bdd49978298648ed05ace086bd1ecad54b44a for pr-136458 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnaotiki%2Ftun-playground" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/naotiki/tun-playground 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/naotiki/tun-playground [INFO] finished tweaking git repo https://github.com/naotiki/tun-playground [INFO] tweaked toml for git repo https://github.com/naotiki/tun-playground written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/naotiki/tun-playground 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] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded c2rust-bitfields v0.19.0 [INFO] [stderr] Downloaded netns-rs v0.1.0 [INFO] [stderr] Downloaded tun v0.7.10 [INFO] [stderr] Downloaded tappers v0.4.2 [INFO] [stderr] Downloaded c2rust-bitfields-derive v0.19.0 [INFO] [stderr] Downloaded wintun-bindings v0.7.29 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] 008149b2d7e476ee1e1c79309376551d6da44fa88d0cf7d3dd0471b937d83622 [INFO] running `Command { std: "docker" "start" "-a" "008149b2d7e476ee1e1c79309376551d6da44fa88d0cf7d3dd0471b937d83622", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "008149b2d7e476ee1e1c79309376551d6da44fa88d0cf7d3dd0471b937d83622", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "008149b2d7e476ee1e1c79309376551d6da44fa88d0cf7d3dd0471b937d83622", kill_on_drop: false }` [INFO] [stdout] 008149b2d7e476ee1e1c79309376551d6da44fa88d0cf7d3dd0471b937d83622 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] df70341535750fe5b7b2e934770bb92781836e0b60be7a3a9de80910a99037a2 [INFO] running `Command { std: "docker" "start" "-a" "df70341535750fe5b7b2e934770bb92781836e0b60be7a3a9de80910a99037a2", 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] Compiling proc-macro2 v1.0.93 [INFO] [stderr] Compiling unicode-ident v1.0.14 [INFO] [stderr] Compiling libc v0.2.169 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling autocfg v1.4.0 [INFO] [stderr] Checking pin-project-lite v0.2.16 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Compiling cfg_aliases v0.2.1 [INFO] [stderr] Checking smallvec v1.13.2 [INFO] [stderr] Checking log v0.4.25 [INFO] [stderr] Checking bytes v1.9.0 [INFO] [stderr] Checking futures-core v0.3.31 [INFO] [stderr] Checking once_cell v1.20.2 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Checking rustls-pki-types v1.10.1 [INFO] [stderr] Checking futures-sink v0.3.31 [INFO] [stderr] Compiling serde v1.0.217 [INFO] [stderr] Checking untrusted v0.9.0 [INFO] [stderr] Checking spin v0.9.8 [INFO] [stderr] Compiling thiserror v2.0.11 [INFO] [stderr] Checking utf8parse v0.2.2 [INFO] [stderr] Compiling nix v0.29.0 [INFO] [stderr] Checking is_terminal_polyfill v1.70.1 [INFO] [stderr] Compiling rustls v0.23.21 [INFO] [stderr] Compiling cc v1.2.10 [INFO] [stderr] Checking anstyle-query v1.1.2 [INFO] [stderr] Checking anstyle-parse v0.2.6 [INFO] [stderr] Checking colorchoice v1.0.3 [INFO] [stderr] Checking anstyle v1.0.10 [INFO] [stderr] Checking tracing-core v0.1.33 [INFO] [stderr] Checking siphasher v0.3.11 [INFO] [stderr] Checking subtle v2.6.1 [INFO] [stderr] Checking clap_lex v0.7.4 [INFO] [stderr] Checking strsim v0.11.1 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Checking zeroize v1.8.1 [INFO] [stderr] Checking anstream v0.6.18 [INFO] [stderr] Checking openssl-probe v0.1.5 [INFO] [stderr] Checking bitflags v2.8.0 [INFO] [stderr] Checking phf_shared v0.8.0 [INFO] [stderr] Checking futures-channel v0.3.31 [INFO] [stderr] Compiling quinn-udp v0.5.9 [INFO] [stderr] Checking futures-task v0.3.31 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Checking rustls-pemfile v2.2.0 [INFO] [stderr] Checking clap_builder v4.5.26 [INFO] [stderr] Checking tracing v0.1.41 [INFO] [stderr] Compiling windows_x86_64_gnu v0.52.6 [INFO] [stderr] Checking half v1.8.3 [INFO] [stderr] Checking tinyvec_macros v0.1.1 [INFO] [stderr] Checking memchr v2.7.4 [INFO] [stderr] Checking futures-io v0.3.31 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Compiling hwaddr v0.1.7 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Checking tinyvec v1.8.1 [INFO] [stderr] Checking phf v0.8.0 [INFO] [stderr] Compiling quote v1.0.38 [INFO] [stderr] Checking rustls-native-certs v0.7.3 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Checking powerfmt v0.2.0 [INFO] [stderr] Checking rustc-hash v2.1.0 [INFO] [stderr] Checking num-conv v0.1.0 [INFO] [stderr] Checking time-core v0.1.2 [INFO] [stderr] Compiling syn v2.0.96 [INFO] [stderr] Checking windows-targets v0.52.6 [INFO] [stderr] Checking base64 v0.22.1 [INFO] [stderr] Checking windows-sys v0.59.0 [INFO] [stderr] Checking deranged v0.3.11 [INFO] [stderr] Checking pem v3.0.4 [INFO] [stderr] Checking time v0.3.37 [INFO] [stderr] Compiling ring v0.17.8 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Checking socket2 v0.5.8 [INFO] [stderr] Checking mio v1.0.3 [INFO] [stderr] Checking signal-hook-registry v1.4.2 [INFO] [stderr] Checking nix v0.23.2 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Checking yasna v0.5.2 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling thiserror-impl v2.0.11 [INFO] [stderr] Compiling clap_derive v4.5.24 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling serde_derive v1.0.217 [INFO] [stderr] Compiling async-trait v0.1.85 [INFO] [stderr] Checking serde_cbor v0.11.2 [INFO] [stderr] Checking bincode v1.3.3 [INFO] [stderr] Checking serde_bytes v0.11.15 [INFO] [stderr] Checking tokio v1.43.0 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Checking zerocopy v0.7.35 [INFO] [stderr] Checking ppv-lite86 v0.2.20 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking packet v0.1.4 [INFO] [stderr] Checking netns-rs v0.1.0 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking rustls-webpki v0.102.8 [INFO] [stderr] Checking rcgen v0.13.2 [INFO] [stderr] Checking ulid v1.1.4 [INFO] [stderr] Checking clap v4.5.26 [INFO] [stderr] Checking futures-executor v0.3.31 [INFO] [stderr] Checking futures v0.3.31 [INFO] [stderr] Checking rustls-platform-verifier v0.4.0 [INFO] [stderr] Checking quinn-proto v0.11.9 [INFO] [stderr] Checking tokio-util v0.7.13 [INFO] [stderr] Checking tokio-stream v0.1.17 [INFO] [stderr] Checking tun v0.7.10 [INFO] [stderr] Checking common v0.1.0 (/opt/rustwide/workdir/common) [INFO] [stdout] warning: unused import: `IpAddr` [INFO] [stdout] --> common/src/protocol.rs:4:16 [INFO] [stdout] | [INFO] [stdout] 4 | use std::net::{IpAddr, SocketAddr}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tokio_util::codec::Framed` [INFO] [stdout] --> common/src/tun.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use tokio_util::codec::Framed; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `TunPacketCodec` [INFO] [stdout] --> common/src/tun.rs:3:39 [INFO] [stdout] | [INFO] [stdout] 3 | use tun::{AsyncDevice, Configuration, TunPacketCodec}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `AsyncRead` and `AsyncWrite` [INFO] [stdout] --> common/src/tunnel_backend.rs:2:17 [INFO] [stdout] | [INFO] [stdout] 2 | use tokio::io::{AsyncRead, AsyncWrite}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pipe` [INFO] [stdout] --> common/src/argument_parser.rs:54:21 [INFO] [stdout] | [INFO] [stdout] 54 | let pipe = tokio::spawn(async move { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_pipe` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `addr` [INFO] [stdout] --> common/src/argument_parser.rs:80:21 [INFO] [stdout] | [INFO] [stdout] 80 | let addr = server_addrs.to_address().unwrap(); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_addr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pipe` [INFO] [stdout] --> common/src/argument_parser.rs:92:21 [INFO] [stdout] | [INFO] [stdout] 92 | let pipe = tokio::spawn(async move { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_pipe` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `IpAddr` [INFO] [stdout] --> common/src/protocol.rs:4:16 [INFO] [stdout] | [INFO] [stdout] 4 | use std::net::{IpAddr, SocketAddr}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tokio_util::codec::Framed` [INFO] [stdout] --> common/src/tun.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use tokio_util::codec::Framed; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `TunPacketCodec` [INFO] [stdout] --> common/src/tun.rs:3:39 [INFO] [stdout] | [INFO] [stdout] 3 | use tun::{AsyncDevice, Configuration, TunPacketCodec}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `AsyncRead` and `AsyncWrite` [INFO] [stdout] --> common/src/tunnel_backend.rs:2:17 [INFO] [stdout] | [INFO] [stdout] 2 | use tokio::io::{AsyncRead, AsyncWrite}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dest` [INFO] [stdout] --> common/src/tun.rs:12:30 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn new(addr: IpAddr, dest: IpAddr) -> TunInterface { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_dest` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified [INFO] [stdout] --> common/src/tunnel_backend.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | async fn connect(connect_config: ClientConnectionConfig) -> Self; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future` [INFO] [stdout] = note: `#[warn(async_fn_in_trait)]` on by default [INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change [INFO] [stdout] | [INFO] [stdout] 6 - async fn connect(connect_config: ClientConnectionConfig) -> Self; [INFO] [stdout] 6 + fn connect(connect_config: ClientConnectionConfig) -> impl std::future::Future + Send; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified [INFO] [stdout] --> common/src/tunnel_backend.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | async fn close_session(self); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future` [INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change [INFO] [stdout] | [INFO] [stdout] 7 - async fn close_session(self); [INFO] [stdout] 7 + fn close_session(self) -> impl std::future::Future + Send; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified [INFO] [stdout] --> common/src/tunnel_backend.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | async fn serve(listen_addr: SocketAddr) -> Self; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future` [INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change [INFO] [stdout] | [INFO] [stdout] 17 - async fn serve(listen_addr: SocketAddr) -> Self; [INFO] [stdout] 17 + fn serve(listen_addr: SocketAddr) -> impl std::future::Future + Send; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified [INFO] [stdout] --> common/src/tunnel_backend.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | async fn accept(&self) -> Result; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future` [INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change [INFO] [stdout] | [INFO] [stdout] 18 - async fn accept(&self) -> Result; [INFO] [stdout] 18 + fn accept(&self) -> impl std::future::Future> + Send; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified [INFO] [stdout] --> common/src/tunnel_backend.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | async fn shutdown(self); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future` [INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change [INFO] [stdout] | [INFO] [stdout] 19 - async fn shutdown(self); [INFO] [stdout] 19 + fn shutdown(self) -> impl std::future::Future + Send; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified [INFO] [stdout] --> common/src/tunnel_backend.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | async fn close_session(self); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future` [INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change [INFO] [stdout] | [INFO] [stdout] 23 - async fn close_session(self); [INFO] [stdout] 23 + fn close_session(self) -> impl std::future::Future + Send; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pipe` [INFO] [stdout] --> common/src/argument_parser.rs:54:21 [INFO] [stdout] | [INFO] [stdout] 54 | let pipe = tokio::spawn(async move { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_pipe` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `addr` [INFO] [stdout] --> common/src/argument_parser.rs:80:21 [INFO] [stdout] | [INFO] [stdout] 80 | let addr = server_addrs.to_address().unwrap(); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_addr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pipe` [INFO] [stdout] --> common/src/argument_parser.rs:92:21 [INFO] [stdout] | [INFO] [stdout] 92 | let pipe = tokio::spawn(async move { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_pipe` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dest` [INFO] [stdout] --> common/src/tun.rs:12:30 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn new(addr: IpAddr, dest: IpAddr) -> TunInterface { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_dest` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified [INFO] [stdout] --> common/src/tunnel_backend.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | async fn connect(connect_config: ClientConnectionConfig) -> Self; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future` [INFO] [stdout] = note: `#[warn(async_fn_in_trait)]` on by default [INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change [INFO] [stdout] | [INFO] [stdout] 6 - async fn connect(connect_config: ClientConnectionConfig) -> Self; [INFO] [stdout] 6 + fn connect(connect_config: ClientConnectionConfig) -> impl std::future::Future + Send; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified [INFO] [stdout] --> common/src/tunnel_backend.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | async fn close_session(self); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future` [INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change [INFO] [stdout] | [INFO] [stdout] 7 - async fn close_session(self); [INFO] [stdout] 7 + fn close_session(self) -> impl std::future::Future + Send; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified [INFO] [stdout] --> common/src/tunnel_backend.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | async fn serve(listen_addr: SocketAddr) -> Self; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future` [INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change [INFO] [stdout] | [INFO] [stdout] 17 - async fn serve(listen_addr: SocketAddr) -> Self; [INFO] [stdout] 17 + fn serve(listen_addr: SocketAddr) -> impl std::future::Future + Send; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified [INFO] [stdout] --> common/src/tunnel_backend.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | async fn accept(&self) -> Result; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future` [INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change [INFO] [stdout] | [INFO] [stdout] 18 - async fn accept(&self) -> Result; [INFO] [stdout] 18 + fn accept(&self) -> impl std::future::Future> + Send; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified [INFO] [stdout] --> common/src/tunnel_backend.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | async fn shutdown(self); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future` [INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change [INFO] [stdout] | [INFO] [stdout] 19 - async fn shutdown(self); [INFO] [stdout] 19 + fn shutdown(self) -> impl std::future::Future + Send; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified [INFO] [stdout] --> common/src/tunnel_backend.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | async fn close_session(self); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future` [INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change [INFO] [stdout] | [INFO] [stdout] 23 - async fn close_session(self); [INFO] [stdout] 23 + fn close_session(self) -> impl std::future::Future + Send; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking tappers v0.4.2 [INFO] [stderr] Checking quinn v0.11.6 [INFO] [stderr] Checking client v0.1.0 (/opt/rustwide/workdir/client) [INFO] [stderr] Checking server v0.1.0 (/opt/rustwide/workdir/server) [INFO] [stdout] warning: unused import: `crypto::Session` [INFO] [stdout] --> server/src/quic.rs:2:13 [INFO] [stdout] | [INFO] [stdout] 2 | use quinn::{crypto::Session, Endpoint, ServerConfig}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `AsyncReadExt` and `AsyncWriteExt` [INFO] [stdout] --> server/src/tcp.rs:3:17 [INFO] [stdout] | [INFO] [stdout] 3 | use tokio::io::{AsyncReadExt, AsyncWriteExt}; [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `TcpStream` [INFO] [stdout] --> server/src/tcp.rs:4:31 [INFO] [stdout] | [INFO] [stdout] 4 | use tokio::net::{TcpListener, TcpStream}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `asynctap::AsyncTap` [INFO] [stdout] --> server/src/main.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use asynctap::AsyncTap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ip` [INFO] [stdout] --> server/src/main.rs:12:21 [INFO] [stdout] | [INFO] [stdout] 12 | use packet::{ether, ip, Builder}; [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tokio_util::io::ReaderStream` [INFO] [stdout] --> server/src/main.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | use tokio_util::io::ReaderStream; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tun::Tun` [INFO] [stdout] --> server/src/main.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | use tun::Tun; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> server/src/main.rs:66:21 [INFO] [stdout] | [INFO] [stdout] 66 | Err(e) => {} [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `AsPacket` [INFO] [stdout] --> client/src/main.rs:10:18 [INFO] [stdout] | [INFO] [stdout] 10 | use packet::{ip, AsPacket, Packet}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> client/src/main.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `AsyncReadExt` and `AsyncWriteExt` [INFO] [stdout] --> client/src/main.rs:16:17 [INFO] [stdout] | [INFO] [stdout] 16 | use tokio::io::{AsyncReadExt, AsyncWriteExt}; [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tokio_util::bytes::BytesMut` [INFO] [stdout] --> client/src/main.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use tokio_util::bytes::BytesMut; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Decoder` and `Encoder` [INFO] [stdout] --> client/src/main.rs:18:25 [INFO] [stdout] | [INFO] [stdout] 18 | use tokio_util::codec::{Decoder, Encoder, FramedRead, FramedWrite}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `AsPacket` [INFO] [stdout] --> client/src/main.rs:10:18 [INFO] [stdout] | [INFO] [stdout] 10 | use packet::{ip, AsPacket, Packet}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> client/src/main.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `AsyncReadExt` and `AsyncWriteExt` [INFO] [stdout] --> client/src/main.rs:16:17 [INFO] [stdout] | [INFO] [stdout] 16 | use tokio::io::{AsyncReadExt, AsyncWriteExt}; [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tokio_util::bytes::BytesMut` [INFO] [stdout] --> client/src/main.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use tokio_util::bytes::BytesMut; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Decoder` and `Encoder` [INFO] [stdout] --> client/src/main.rs:18:25 [INFO] [stdout] | [INFO] [stdout] 18 | use tokio_util::codec::{Decoder, Encoder, FramedRead, FramedWrite}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crypto::Session` [INFO] [stdout] --> server/src/quic.rs:2:13 [INFO] [stdout] | [INFO] [stdout] 2 | use quinn::{crypto::Session, Endpoint, ServerConfig}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `AsyncReadExt` and `AsyncWriteExt` [INFO] [stdout] --> server/src/tcp.rs:3:17 [INFO] [stdout] | [INFO] [stdout] 3 | use tokio::io::{AsyncReadExt, AsyncWriteExt}; [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `TcpStream` [INFO] [stdout] --> server/src/tcp.rs:4:31 [INFO] [stdout] | [INFO] [stdout] 4 | use tokio::net::{TcpListener, TcpStream}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `asynctap::AsyncTap` [INFO] [stdout] --> server/src/main.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use asynctap::AsyncTap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ip` [INFO] [stdout] --> server/src/main.rs:12:21 [INFO] [stdout] | [INFO] [stdout] 12 | use packet::{ether, ip, Builder}; [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tokio_util::io::ReaderStream` [INFO] [stdout] --> server/src/main.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | use tokio_util::io::ReaderStream; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tun::Tun` [INFO] [stdout] --> server/src/main.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | use tun::Tun; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> server/src/main.rs:66:21 [INFO] [stdout] | [INFO] [stdout] 66 | Err(e) => {} [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Builder` [INFO] [stdout] --> server/src/main.rs:12:25 [INFO] [stdout] | [INFO] [stdout] 12 | use packet::{ether, ip, Builder}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tokio::io::AsyncWriteExt` [INFO] [stdout] --> server/src/main.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use tokio::io::AsyncWriteExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `iface` [INFO] [stdout] --> server/src/asynctap.rs:17:13 [INFO] [stdout] | [INFO] [stdout] 17 | let iface = Interface::from_cstr(unsafe { CStr::from_bytes_with_nul_unchecked(b"tap0\0") }) [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_iface` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cx` [INFO] [stdout] --> server/src/asynctap.rs:66:41 [INFO] [stdout] | [INFO] [stdout] 66 | fn poll_flush(self: Pin<&mut Self>, cx: &mut Context<'_>) -> Poll> { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_cx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cx` [INFO] [stdout] --> server/src/asynctap.rs:70:48 [INFO] [stdout] | [INFO] [stdout] 70 | fn poll_shutdown(mut self: Pin<&mut Self>, cx: &mut Context<'_>) -> Poll> { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_cx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> server/src/asynctap.rs:70:22 [INFO] [stdout] | [INFO] [stdout] 70 | fn poll_shutdown(mut self: Pin<&mut Self>, cx: &mut Context<'_>) -> Poll> { [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Builder` [INFO] [stdout] --> server/src/main.rs:12:25 [INFO] [stdout] | [INFO] [stdout] 12 | use packet::{ether, ip, Builder}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tokio::io::AsyncWriteExt` [INFO] [stdout] --> server/src/main.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use tokio::io::AsyncWriteExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `iface` [INFO] [stdout] --> server/src/asynctap.rs:17:13 [INFO] [stdout] | [INFO] [stdout] 17 | let iface = Interface::from_cstr(unsafe { CStr::from_bytes_with_nul_unchecked(b"tap0\0") }) [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_iface` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Packet` [INFO] [stdout] --> client/src/main.rs:10:28 [INFO] [stdout] | [INFO] [stdout] 10 | use packet::{ip, AsPacket, Packet}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cx` [INFO] [stdout] --> server/src/asynctap.rs:66:41 [INFO] [stdout] | [INFO] [stdout] 66 | fn poll_flush(self: Pin<&mut Self>, cx: &mut Context<'_>) -> Poll> { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_cx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cx` [INFO] [stdout] --> server/src/asynctap.rs:70:48 [INFO] [stdout] | [INFO] [stdout] 70 | fn poll_shutdown(mut self: Pin<&mut Self>, cx: &mut Context<'_>) -> Poll> { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_cx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> server/src/asynctap.rs:70:22 [INFO] [stdout] | [INFO] [stdout] 70 | fn poll_shutdown(mut self: Pin<&mut Self>, cx: &mut Context<'_>) -> Poll> { [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Packet` [INFO] [stdout] --> client/src/main.rs:10:28 [INFO] [stdout] | [INFO] [stdout] 10 | use packet::{ip, AsPacket, Packet}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Network` is never constructed [INFO] [stdout] --> server/src/network.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | struct Network {} [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new_bridge` is never used [INFO] [stdout] --> server/src/network.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 3 | impl Network { [INFO] [stdout] | ------------ associated function in this implementation [INFO] [stdout] 4 | pub fn new_bridge() -> Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `connection` is never read [INFO] [stdout] --> client/src/quic.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct QuicTransport { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] 10 | connection: quinn::Connection, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Network` is never constructed [INFO] [stdout] --> server/src/network.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | struct Network {} [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new_bridge` is never used [INFO] [stdout] --> server/src/network.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 3 | impl Network { [INFO] [stdout] | ------------ associated function in this implementation [INFO] [stdout] 4 | pub fn new_bridge() -> Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `connection` is never read [INFO] [stdout] --> client/src/quic.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct QuicTransport { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] 10 | connection: quinn::Connection, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 44.63s [INFO] running `Command { std: "docker" "inspect" "df70341535750fe5b7b2e934770bb92781836e0b60be7a3a9de80910a99037a2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "df70341535750fe5b7b2e934770bb92781836e0b60be7a3a9de80910a99037a2", kill_on_drop: false }` [INFO] [stdout] df70341535750fe5b7b2e934770bb92781836e0b60be7a3a9de80910a99037a2