[INFO] cloning repository https://github.com/giangndm/rust-client-server-benchmarks [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/giangndm/rust-client-server-benchmarks" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgiangndm%2Frust-client-server-benchmarks", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgiangndm%2Frust-client-server-benchmarks'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] e59d7d431e94bb5f60e97a7c7c615cec581e5b6d [INFO] checking giangndm/rust-client-server-benchmarks against master#1f12b9b0fdbe735968ac002792a720f0ba4faca6 for crater-rollup-uwu [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgiangndm%2Frust-client-server-benchmarks" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/giangndm/rust-client-server-benchmarks on toolchain 1f12b9b0fdbe735968ac002792a720f0ba4faca6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-4-tc1/source/rust-toolchain [INFO] started tweaking git repo https://github.com/giangndm/rust-client-server-benchmarks [INFO] finished tweaking git repo https://github.com/giangndm/rust-client-server-benchmarks [INFO] tweaked toml for git repo https://github.com/giangndm/rust-client-server-benchmarks written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/giangndm/rust-client-server-benchmarks 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" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded async-global-executor v2.4.1 [INFO] [stderr] Downloaded anstyle-wincon v1.0.2 [INFO] [stderr] Downloaded priority-queue v1.3.2 [INFO] [stderr] Downloaded polling v3.3.1 [INFO] [stderr] Downloaded async-io v2.2.2 [INFO] [stderr] Downloaded io-uring v0.6.2 [INFO] [stderr] Downloaded monoio v0.2.1 [INFO] [stderr] Downloaded rcgen v0.12.0 [INFO] [stderr] Downloaded value-bag v1.4.3 [INFO] [stderr] Downloaded proc-macro2 v1.0.75 [INFO] [stderr] Downloaded auto-const-array v0.2.1 [INFO] [stderr] Downloaded monoio-macros v0.1.0 [INFO] [stderr] Downloaded quinn-plaintext v0.2.0 [INFO] [stderr] Downloaded sfv v0.9.3 [INFO] [stderr] Downloaded tquic v0.3.0 [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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7f75c83903e8cccf6da916b7edce1d44f1696ecb4a8a3e16d30e37f803260a07 [INFO] running `Command { std: "docker" "start" "-a" "7f75c83903e8cccf6da916b7edce1d44f1696ecb4a8a3e16d30e37f803260a07", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7f75c83903e8cccf6da916b7edce1d44f1696ecb4a8a3e16d30e37f803260a07", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7f75c83903e8cccf6da916b7edce1d44f1696ecb4a8a3e16d30e37f803260a07", kill_on_drop: false }` [INFO] [stdout] 7f75c83903e8cccf6da916b7edce1d44f1696ecb4a8a3e16d30e37f803260a07 [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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 311425451ed83f1b9d4a2bb93e61e309a66d2b50e1941483abb2b736f5716e3f [INFO] running `Command { std: "docker" "start" "-a" "311425451ed83f1b9d4a2bb93e61e309a66d2b50e1941483abb2b736f5716e3f", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.75 [INFO] [stderr] Compiling libc v0.2.151 [INFO] [stderr] Checking value-bag v1.4.3 [INFO] [stderr] Compiling crossbeam-utils v0.8.18 [INFO] [stderr] Checking parking v2.2.0 [INFO] [stderr] Compiling rustix v0.38.28 [INFO] [stderr] Checking bitflags v2.4.1 [INFO] [stderr] Checking futures-io v0.3.30 [INFO] [stderr] Checking linux-raw-sys v0.4.12 [INFO] [stderr] Checking memchr v2.7.1 [INFO] [stderr] Checking fastrand v2.0.1 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Compiling serde v1.0.195 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Compiling num-traits v0.2.17 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling thiserror v1.0.56 [INFO] [stderr] Compiling io-lifetimes v1.0.11 [INFO] [stderr] Compiling rustls v0.21.10 [INFO] [stderr] Checking log v0.4.20 [INFO] [stderr] Checking futures-lite v2.2.0 [INFO] [stderr] Checking rustls-pemfile v1.0.4 [INFO] [stderr] Compiling memoffset v0.7.1 [INFO] [stderr] Checking atomic-waker v1.1.2 [INFO] [stderr] Checking async-task v4.7.0 [INFO] [stderr] Checking rustc-hash v1.1.0 [INFO] [stderr] Compiling rust_decimal v1.33.1 [INFO] [stderr] Compiling rustix v0.37.27 [INFO] [stderr] Checking tinyvec_macros v0.1.1 [INFO] [stderr] Compiling rustversion v1.0.14 [INFO] [stderr] Checking tinyvec v1.6.0 [INFO] [stderr] Checking piper v0.2.1 [INFO] [stderr] Checking aho-corasick v1.1.2 [INFO] [stderr] Checking rustls-native-certs v0.6.3 [INFO] [stderr] Checking anstyle-parse v0.2.3 [INFO] [stderr] Checking deranged v0.3.11 [INFO] [stderr] Compiling priority-queue v1.3.2 [INFO] [stderr] Checking concurrent-queue v2.4.0 [INFO] [stderr] Checking waker-fn v1.1.1 [INFO] [stderr] Compiling serde_json v1.0.111 [INFO] [stderr] Compiling io-uring v0.6.2 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Checking linux-raw-sys v0.3.8 [INFO] [stderr] Checking event-listener v4.0.3 [INFO] [stderr] Checking anstyle-query v1.0.2 [INFO] [stderr] Checking regex-syntax v0.8.2 [INFO] [stderr] Checking arrayvec v0.7.4 [INFO] [stderr] Checking indexmap v2.1.0 [INFO] [stderr] Checking futures-lite v1.13.0 [INFO] [stderr] Compiling syn v2.0.48 [INFO] [stderr] Checking event-listener-strategy v0.4.0 [INFO] [stderr] Compiling cc v1.0.83 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking async-lock v3.2.0 [INFO] [stderr] Checking async-channel v2.1.1 [INFO] [stderr] Checking async-lock v2.8.0 [INFO] [stderr] Checking data-encoding v2.5.0 [INFO] [stderr] Checking itoa v1.0.10 [INFO] [stderr] Checking clap_lex v0.4.1 [INFO] [stderr] Checking ryu v1.0.16 [INFO] [stderr] Checking time v0.3.31 [INFO] [stderr] Checking fxhash v0.2.1 [INFO] [stderr] Checking async-channel v1.9.0 [INFO] [stderr] Checking async-executor v1.8.0 [INFO] [stderr] Checking kv-log-macro v1.0.7 [INFO] [stderr] Checking pem v3.0.3 [INFO] [stderr] Checking getrandom v0.2.11 [INFO] [stderr] Checking socket2 v0.5.5 [INFO] [stderr] Compiling cmake v0.1.50 [INFO] [stderr] Checking mio v0.8.10 [INFO] [stderr] Checking polling v2.8.0 [INFO] [stderr] Checking socket2 v0.4.10 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking sfv v0.9.3 [INFO] [stderr] Checking nix v0.26.4 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking regex-automata v0.4.3 [INFO] [stderr] Checking termcolor v1.4.0 [INFO] [stderr] Checking strum v0.24.1 [INFO] [stderr] Checking seahash v4.1.0 [INFO] [stderr] Checking rustls-pki-types v1.1.0 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking yasna v0.5.2 [INFO] [stderr] Compiling ring v0.17.7 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Compiling tquic v0.3.0 [INFO] [stderr] Checking rustls-pemfile v2.0.0 [INFO] [stderr] Checking async-io v1.13.0 [INFO] [stderr] Checking regex v1.10.2 [INFO] [stderr] Checking env_logger v0.9.3 [INFO] [stderr] Compiling darling_core v0.20.3 [INFO] [stderr] Compiling async-attributes v1.1.2 [INFO] [stderr] Compiling strum_macros v0.24.3 [INFO] [stderr] Checking is-terminal v0.4.10 [INFO] [stderr] Checking anstream v0.3.2 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling serde_derive v1.0.195 [INFO] [stderr] Compiling thiserror-impl v1.0.56 [INFO] [stderr] Compiling tokio-macros v2.2.0 [INFO] [stderr] Compiling enumflags2_derive v0.7.8 [INFO] [stderr] Compiling auto-const-array v0.2.1 [INFO] [stderr] Compiling clap_derive v4.2.0 [INFO] [stderr] Compiling monoio-macros v0.1.0 [INFO] [stderr] Checking clap_builder v4.2.5 [INFO] [stderr] Checking tokio v1.35.1 [INFO] [stderr] Checking enumflags2 v0.7.8 [INFO] [stderr] Checking monoio v0.2.1 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Compiling darling_macro v0.20.3 [INFO] [stderr] Checking polling v3.3.1 [INFO] [stderr] Checking blocking v1.5.1 [INFO] [stderr] Checking quinn-udp v0.4.1 [INFO] [stderr] Checking async-io v2.2.2 [INFO] [stderr] Compiling darling v0.20.3 [INFO] [stderr] Compiling serde_with_macros v3.4.0 [INFO] [stderr] Checking async-global-executor v2.4.1 [INFO] [stderr] Checking async-std v1.12.0 [INFO] [stderr] Checking clap v4.2.5 [INFO] [stderr] Checking sct v0.7.1 [INFO] [stderr] Checking rustls-webpki v0.101.7 [INFO] [stderr] Checking rcgen v0.12.0 [INFO] [stderr] Checking quinn-proto v0.10.6 [INFO] [stderr] Checking smallvec v1.11.2 [INFO] [stderr] Checking serde_with v3.4.0 [INFO] [stderr] Checking quinn v0.10.2 [INFO] [stderr] Checking quinn-plaintext v0.2.0 [INFO] [stderr] Checking tunnel-benchmark v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `tquic::TIMER_GRANULARITY` [INFO] [stdout] --> examples/tquic_client.rs:35:5 [INFO] [stdout] | [INFO] [stdout] 35 | use tquic::TIMER_GRANULARITY; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `res` [INFO] [stdout] --> examples/udp_client_monoio.rs:18:14 [INFO] [stdout] | [INFO] [stdout] 18 | let (res, buf) = stream.send(buf).await; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_res` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> examples/tquic_server_tokio.rs:147:9 [INFO] [stdout] | [INFO] [stdout] 122 | / loop { [INFO] [stdout] 123 | | let (len, local, remote) = match self.sock.recv_from(&mut self.recv_buf) { [INFO] [stdout] 124 | | Ok(v) => v, [INFO] [stdout] 125 | | Err(e) => { [INFO] [stdout] ... | [INFO] [stdout] 144 | | }; [INFO] [stdout] 145 | | } [INFO] [stdout] | |_________- any code following this expression is unreachable [INFO] [stdout] 146 | [INFO] [stdout] 147 | Ok(()) [INFO] [stdout] | ^^^^^^ unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> examples/tquic_server_tokio.rs:125:21 [INFO] [stdout] | [INFO] [stdout] 125 | 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: unreachable expression [INFO] [stdout] --> examples/tquic_server_async_std.rs:147:9 [INFO] [stdout] | [INFO] [stdout] 122 | / loop { [INFO] [stdout] 123 | | let (len, local, remote) = match self.sock.recv_from(&mut self.recv_buf) { [INFO] [stdout] 124 | | Ok(v) => v, [INFO] [stdout] 125 | | Err(e) => { [INFO] [stdout] ... | [INFO] [stdout] 144 | | }; [INFO] [stdout] 145 | | } [INFO] [stdout] | |_________- any code following this expression is unreachable [INFO] [stdout] 146 | [INFO] [stdout] 147 | Ok(()) [INFO] [stdout] | ^^^^^^ unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> examples/tquic_server_async_std.rs:125:21 [INFO] [stdout] | [INFO] [stdout] 125 | 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: unreachable expression [INFO] [stdout] --> examples/tquic_client_tokio.rs:145:9 [INFO] [stdout] | [INFO] [stdout] 119 | / loop { [INFO] [stdout] 120 | | // Read datagram from the socket. [INFO] [stdout] 121 | | let (len, local, remote) = match self.sock.recv_from(&mut self.recv_buf) { [INFO] [stdout] 122 | | Ok(v) => v, [INFO] [stdout] ... | [INFO] [stdout] 142 | | }; [INFO] [stdout] 143 | | } [INFO] [stdout] | |_________- any code following this expression is unreachable [INFO] [stdout] 144 | [INFO] [stdout] 145 | Ok(()) [INFO] [stdout] | ^^^^^^ unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `src` [INFO] [stdout] --> examples/tquic_native_utils/mod.rs:68:39 [INFO] [stdout] | [INFO] [stdout] 68 | pub fn send_to(&self, buf: &[u8], src: SocketAddr, dst: SocketAddr) -> std::io::Result { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_src` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tquic::TIMER_GRANULARITY` [INFO] [stdout] --> examples/tquic_server.rs:35:5 [INFO] [stdout] | [INFO] [stdout] 35 | use tquic::TIMER_GRANULARITY; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `src` [INFO] [stdout] --> examples/tquic_tokio_utils/mod.rs:79:39 [INFO] [stdout] | [INFO] [stdout] 79 | pub fn send_to(&self, buf: &[u8], src: SocketAddr, dst: SocketAddr) -> std::io::Result { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_src` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> examples/tquic_client_tokio.rs:123:21 [INFO] [stdout] | [INFO] [stdout] 123 | Err(e) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> examples/tquic_client_async_std.rs:145:9 [INFO] [stdout] | [INFO] [stdout] 119 | / loop { [INFO] [stdout] 120 | | // Read datagram from the socket. [INFO] [stdout] 121 | | let (len, local, remote) = match self.sock.recv_from(&mut self.recv_buf) { [INFO] [stdout] 122 | | Ok(v) => v, [INFO] [stdout] ... | [INFO] [stdout] 142 | | }; [INFO] [stdout] 143 | | } [INFO] [stdout] | |_________- any code following this expression is unreachable [INFO] [stdout] 144 | [INFO] [stdout] 145 | Ok(()) [INFO] [stdout] | ^^^^^^ unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> examples/tquic_server_native.rs:128:17 [INFO] [stdout] | [INFO] [stdout] 128 | Err(e) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `src` [INFO] [stdout] --> examples/tquic_tokio_utils/mod.rs:79:39 [INFO] [stdout] | [INFO] [stdout] 79 | pub fn send_to(&self, buf: &[u8], src: SocketAddr, dst: SocketAddr) -> std::io::Result { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_src` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `local_addr` is never read [INFO] [stdout] --> examples/tquic_native_utils/mod.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 29 | pub struct QuicSocket { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 34 | local_addr: SocketAddr, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new_client_socket` and `local_addr` are never used [INFO] [stdout] --> examples/tquic_native_utils/mod.rs:45:12 [INFO] [stdout] | [INFO] [stdout] 37 | impl QuicSocket { [INFO] [stdout] | --------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 45 | pub fn new_client_socket(is_ipv4: bool) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 54 | pub fn local_addr(&self) -> SocketAddr { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> examples/tquic_client_tokio.rs:293:29 [INFO] [stdout] | [INFO] [stdout] 293 | ... conn.stream_want_write(stream_id, true); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 293 | let _ = conn.stream_want_write(stream_id, true); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> examples/tquic_client_tokio.rs:316:9 [INFO] [stdout] | [INFO] [stdout] 316 | conn.stream_want_write(stream_id, false); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 316 | let _ = conn.stream_want_write(stream_id, false); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `bytes::Bytes::split_to` that must be used [INFO] [stdout] --> examples/tquic_client_tokio.rs:323:29 [INFO] [stdout] | [INFO] [stdout] 323 | ... buf.split_to(written_size); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider Bytes::advance if you don't need the other half [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 323 | let _ = buf.split_to(written_size); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `src` [INFO] [stdout] --> examples/tquic_async_std_utils/mod.rs:86:39 [INFO] [stdout] | [INFO] [stdout] 86 | pub fn send_to(&self, buf: &[u8], src: SocketAddr, dst: SocketAddr) -> std::io::Result { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_src` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> examples/tquic_server_native.rs:254:29 [INFO] [stdout] | [INFO] [stdout] 254 | ... conn.stream_want_write(stream_id, true); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 254 | let _ = conn.stream_want_write(stream_id, true); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> examples/tquic_server_native.rs:277:9 [INFO] [stdout] | [INFO] [stdout] 277 | conn.stream_want_write(stream_id, false); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 277 | let _ = conn.stream_want_write(stream_id, false); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> examples/tquic_client.rs:308:29 [INFO] [stdout] | [INFO] [stdout] 308 | ... conn.stream_want_write(stream_id, true); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 308 | let _ = conn.stream_want_write(stream_id, true); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `bytes::Bytes::split_to` that must be used [INFO] [stdout] --> examples/tquic_server_native.rs:284:29 [INFO] [stdout] | [INFO] [stdout] 284 | ... buf.split_to(written_size); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider Bytes::advance if you don't need the other half [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 284 | let _ = buf.split_to(written_size); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> examples/tquic_client.rs:331:9 [INFO] [stdout] | [INFO] [stdout] 331 | conn.stream_want_write(stream_id, false); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 331 | let _ = conn.stream_want_write(stream_id, false); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `bytes::Bytes::split_to` that must be used [INFO] [stdout] --> examples/tquic_client.rs:338:29 [INFO] [stdout] | [INFO] [stdout] 338 | ... buf.split_to(written_size); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider Bytes::advance if you don't need the other half [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 338 | let _ = buf.split_to(written_size); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `src` [INFO] [stdout] --> examples/tquic_async_std_utils/mod.rs:86:39 [INFO] [stdout] | [INFO] [stdout] 86 | pub fn send_to(&self, buf: &[u8], src: SocketAddr, dst: SocketAddr) -> std::io::Result { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_src` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `local_addr` is never read [INFO] [stdout] --> examples/tquic_tokio_utils/mod.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 31 | pub struct QuicSocket { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 36 | local_addr: SocketAddr, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new_client_socket` and `local_addr` are never used [INFO] [stdout] --> examples/tquic_tokio_utils/mod.rs:47:18 [INFO] [stdout] | [INFO] [stdout] 39 | impl QuicSocket { [INFO] [stdout] | --------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 47 | pub async fn new_client_socket(is_ipv4: bool) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 56 | pub fn local_addr(&self) -> SocketAddr { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `src` [INFO] [stdout] --> examples/tquic_native_utils/mod.rs:68:39 [INFO] [stdout] | [INFO] [stdout] 68 | pub fn send_to(&self, buf: &[u8], src: SocketAddr, dst: SocketAddr) -> std::io::Result { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_src` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> examples/tquic_client_async_std.rs:123:21 [INFO] [stdout] | [INFO] [stdout] 123 | Err(e) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> examples/tquic_server_tokio.rs:251:29 [INFO] [stdout] | [INFO] [stdout] 251 | ... conn.stream_want_write(stream_id, true); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 251 | let _ = conn.stream_want_write(stream_id, true); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> examples/tquic_server_tokio.rs:274:9 [INFO] [stdout] | [INFO] [stdout] 274 | conn.stream_want_write(stream_id, false); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 274 | let _ = conn.stream_want_write(stream_id, false); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `bytes::Bytes::split_to` that must be used [INFO] [stdout] --> examples/tquic_server_tokio.rs:281:29 [INFO] [stdout] | [INFO] [stdout] 281 | ... buf.split_to(written_size); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider Bytes::advance if you don't need the other half [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 281 | let _ = buf.split_to(written_size); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> examples/tquic_server_tokio.rs:320:5 [INFO] [stdout] | [INFO] [stdout] 320 | / tokio::spawn(async move { [INFO] [stdout] 321 | | loop { [INFO] [stdout] 322 | | // Process connections. [INFO] [stdout] 323 | | if let Err(e) = server.endpoint.process_connections() { [INFO] [stdout] ... | [INFO] [stdout] 340 | | }) [INFO] [stdout] 341 | | .await; [INFO] [stdout] | |__________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 320 | let _ = tokio::spawn(async move { [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `local_addr` is never read [INFO] [stdout] --> examples/tquic_async_std_utils/mod.rs:38:5 [INFO] [stdout] | [INFO] [stdout] 31 | pub struct QuicSocket { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 38 | local_addr: SocketAddr, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new_client_socket` and `local_addr` are never used [INFO] [stdout] --> examples/tquic_async_std_utils/mod.rs:54:18 [INFO] [stdout] | [INFO] [stdout] 41 | impl QuicSocket { [INFO] [stdout] | --------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 54 | pub async fn new_client_socket(is_ipv4: bool) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 63 | pub fn local_addr(&self) -> SocketAddr { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> examples/tquic_server_async_std.rs:251:29 [INFO] [stdout] | [INFO] [stdout] 251 | ... conn.stream_want_write(stream_id, true); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 251 | let _ = conn.stream_want_write(stream_id, true); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> examples/tquic_server_async_std.rs:274:9 [INFO] [stdout] | [INFO] [stdout] 274 | conn.stream_want_write(stream_id, false); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 274 | let _ = conn.stream_want_write(stream_id, false); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `bytes::Bytes::split_to` that must be used [INFO] [stdout] --> examples/tquic_server_async_std.rs:281:29 [INFO] [stdout] | [INFO] [stdout] 281 | ... buf.split_to(written_size); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider Bytes::advance if you don't need the other half [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 281 | let _ = buf.split_to(written_size); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> examples/tquic_async_std_utils/mod.rs:44:9 [INFO] [stdout] | [INFO] [stdout] 44 | socket.set_nonblocking(true); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 44 | let _ = socket.set_nonblocking(true); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> examples/tquic_client_native.rs:125:17 [INFO] [stdout] | [INFO] [stdout] 125 | Err(e) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> examples/tquic_client_async_std.rs:293:29 [INFO] [stdout] | [INFO] [stdout] 293 | ... conn.stream_want_write(stream_id, true); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 293 | let _ = conn.stream_want_write(stream_id, true); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> examples/tquic_client_async_std.rs:316:9 [INFO] [stdout] | [INFO] [stdout] 316 | conn.stream_want_write(stream_id, false); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 316 | let _ = conn.stream_want_write(stream_id, false); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `bytes::Bytes::split_to` that must be used [INFO] [stdout] --> examples/tquic_client_async_std.rs:323:29 [INFO] [stdout] | [INFO] [stdout] 323 | ... buf.split_to(written_size); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider Bytes::advance if you don't need the other half [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 323 | let _ = buf.split_to(written_size); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> examples/tquic_async_std_utils/mod.rs:44:9 [INFO] [stdout] | [INFO] [stdout] 44 | socket.set_nonblocking(true); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 44 | let _ = socket.set_nonblocking(true); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `local_addr` is never read [INFO] [stdout] --> examples/tquic_utils/mod.rs:43:5 [INFO] [stdout] | [INFO] [stdout] 35 | pub struct QuicSocket { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 43 | local_addr: SocketAddr, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new_client_socket` and `local_addr` are never used [INFO] [stdout] --> examples/tquic_utils/mod.rs:66:12 [INFO] [stdout] | [INFO] [stdout] 46 | impl QuicSocket { [INFO] [stdout] | --------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 66 | pub fn new_client_socket(is_ipv4: bool, registry: &Registry) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 75 | pub fn local_addr(&self) -> SocketAddr { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> examples/tquic_client_native.rs:295:29 [INFO] [stdout] | [INFO] [stdout] 295 | ... conn.stream_want_write(stream_id, true); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 295 | let _ = conn.stream_want_write(stream_id, true); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> examples/tquic_client_native.rs:318:9 [INFO] [stdout] | [INFO] [stdout] 318 | conn.stream_want_write(stream_id, false); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 318 | let _ = conn.stream_want_write(stream_id, false); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `bytes::Bytes::split_to` that must be used [INFO] [stdout] --> examples/tquic_client_native.rs:325:29 [INFO] [stdout] | [INFO] [stdout] 325 | ... buf.split_to(written_size); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider Bytes::advance if you don't need the other half [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 325 | let _ = buf.split_to(written_size); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> examples/tquic_server.rs:262:29 [INFO] [stdout] | [INFO] [stdout] 262 | ... conn.stream_want_write(stream_id, true); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 262 | let _ = conn.stream_want_write(stream_id, true); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> examples/tquic_server.rs:285:9 [INFO] [stdout] | [INFO] [stdout] 285 | conn.stream_want_write(stream_id, false); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 285 | let _ = conn.stream_want_write(stream_id, false); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `bytes::Bytes::split_to` that must be used [INFO] [stdout] --> examples/tquic_server.rs:292:29 [INFO] [stdout] | [INFO] [stdout] 292 | ... buf.split_to(written_size); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider Bytes::advance if you don't need the other half [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 292 | let _ = buf.split_to(written_size); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 27.69s [INFO] running `Command { std: "docker" "inspect" "311425451ed83f1b9d4a2bb93e61e309a66d2b50e1941483abb2b736f5716e3f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "311425451ed83f1b9d4a2bb93e61e309a66d2b50e1941483abb2b736f5716e3f", kill_on_drop: false }` [INFO] [stdout] 311425451ed83f1b9d4a2bb93e61e309a66d2b50e1941483abb2b736f5716e3f [INFO] checking giangndm/rust-client-server-benchmarks against try#f9935d29d867449445ee008640ccca1bf1ae0889+rustflags=-Dtail_expr_drop_order for crater-rollup-uwu [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgiangndm%2Frust-client-server-benchmarks" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/giangndm/rust-client-server-benchmarks on toolchain f9935d29d867449445ee008640ccca1bf1ae0889 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f9935d29d867449445ee008640ccca1bf1ae0889" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-4-tc2/source/rust-toolchain [INFO] started tweaking git repo https://github.com/giangndm/rust-client-server-benchmarks [INFO] finished tweaking git repo https://github.com/giangndm/rust-client-server-benchmarks [INFO] tweaked toml for git repo https://github.com/giangndm/rust-client-server-benchmarks written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/giangndm/rust-client-server-benchmarks 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" "+f9935d29d867449445ee008640ccca1bf1ae0889" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+f9935d29d867449445ee008640ccca1bf1ae0889" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b5ba6e8b1e5cc111ef645efbad03aa9d5e40d3ad9a22636a052ea90794362a81 [INFO] running `Command { std: "docker" "start" "-a" "b5ba6e8b1e5cc111ef645efbad03aa9d5e40d3ad9a22636a052ea90794362a81", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b5ba6e8b1e5cc111ef645efbad03aa9d5e40d3ad9a22636a052ea90794362a81", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b5ba6e8b1e5cc111ef645efbad03aa9d5e40d3ad9a22636a052ea90794362a81", kill_on_drop: false }` [INFO] [stdout] b5ba6e8b1e5cc111ef645efbad03aa9d5e40d3ad9a22636a052ea90794362a81 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/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 -Dtail_expr_drop_order" "-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+f9935d29d867449445ee008640ccca1bf1ae0889" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 96358806ace05a095faf7abe4c592180563526db2d3ad61af2e9b28f7b73040b [INFO] running `Command { std: "docker" "start" "-a" "96358806ace05a095faf7abe4c592180563526db2d3ad61af2e9b28f7b73040b", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.75 [INFO] [stderr] Compiling libc v0.2.151 [INFO] [stderr] Checking value-bag v1.4.3 [INFO] [stderr] Compiling crossbeam-utils v0.8.18 [INFO] [stderr] Checking parking v2.2.0 [INFO] [stderr] Compiling rustix v0.38.28 [INFO] [stderr] Checking linux-raw-sys v0.4.12 [INFO] [stderr] Checking futures-io v0.3.30 [INFO] [stderr] Checking bitflags v2.4.1 [INFO] [stderr] Checking memchr v2.7.1 [INFO] [stderr] Checking fastrand v2.0.1 [INFO] [stderr] Compiling serde v1.0.195 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling num-traits v0.2.17 [INFO] [stderr] Compiling thiserror v1.0.56 [INFO] [stderr] Compiling io-lifetimes v1.0.11 [INFO] [stderr] Compiling rustls v0.21.10 [INFO] [stderr] Checking rustls-pemfile v1.0.4 [INFO] [stderr] Checking futures-lite v2.2.0 [INFO] [stderr] Checking log v0.4.20 [INFO] [stderr] Compiling memoffset v0.7.1 [INFO] [stderr] Compiling rustix v0.37.27 [INFO] [stderr] Compiling rustversion v1.0.14 [INFO] [stderr] Checking rustc-hash v1.1.0 [INFO] [stderr] Checking tinyvec_macros v0.1.1 [INFO] [stderr] Checking atomic-waker v1.1.2 [INFO] [stderr] Compiling rust_decimal v1.33.1 [INFO] [stderr] Checking async-task v4.7.0 [INFO] [stderr] Checking tinyvec v1.6.0 [INFO] [stderr] Checking piper v0.2.1 [INFO] [stderr] Checking aho-corasick v1.1.2 [INFO] [stderr] Checking deranged v0.3.11 [INFO] [stderr] Checking anstyle-parse v0.2.3 [INFO] [stderr] Checking rustls-native-certs v0.6.3 [INFO] [stderr] Compiling priority-queue v1.3.2 [INFO] [stderr] Compiling io-uring v0.6.2 [INFO] [stderr] Checking anstyle-query v1.0.2 [INFO] [stderr] Compiling serde_json v1.0.111 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Checking linux-raw-sys v0.3.8 [INFO] [stderr] Checking waker-fn v1.1.1 [INFO] [stderr] Checking arrayvec v0.7.4 [INFO] [stderr] Checking regex-syntax v0.8.2 [INFO] [stderr] Checking futures-lite v1.13.0 [INFO] [stderr] Checking indexmap v2.1.0 [INFO] [stderr] Checking concurrent-queue v2.4.0 [INFO] [stderr] Compiling syn v2.0.48 [INFO] [stderr] Compiling cc v1.0.83 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking async-lock v2.8.0 [INFO] [stderr] Checking itoa v1.0.10 [INFO] [stderr] Checking event-listener v4.0.3 [INFO] [stderr] Checking time v0.3.31 [INFO] [stderr] Checking data-encoding v2.5.0 [INFO] [stderr] Checking ryu v1.0.16 [INFO] [stderr] Checking event-listener-strategy v0.4.0 [INFO] [stderr] Checking clap_lex v0.4.1 [INFO] [stderr] Checking fxhash v0.2.1 [INFO] [stderr] Checking async-lock v3.2.0 [INFO] [stderr] Checking getrandom v0.2.11 [INFO] [stderr] Checking socket2 v0.5.5 [INFO] [stderr] Checking mio v0.8.10 [INFO] [stderr] Checking async-channel v2.1.1 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Compiling cmake v0.1.50 [INFO] [stderr] Checking socket2 v0.4.10 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking polling v2.8.0 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking async-executor v1.8.0 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking sfv v0.9.3 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking nix v0.26.4 [INFO] [stderr] Checking async-channel v1.9.0 [INFO] [stderr] Checking regex-automata v0.4.3 [INFO] [stderr] Checking yasna v0.5.2 [INFO] [stderr] Checking kv-log-macro v1.0.7 [INFO] [stderr] Checking pem v3.0.3 [INFO] [stderr] Checking seahash v4.1.0 [INFO] [stderr] Checking termcolor v1.4.0 [INFO] [stderr] Checking strum v0.24.1 [INFO] [stderr] Checking rustls-pki-types v1.1.0 [INFO] [stderr] Compiling ring v0.17.7 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Compiling tquic v0.3.0 [INFO] [stderr] Checking rustls-pemfile v2.0.0 [INFO] [stderr] Checking async-io v1.13.0 [INFO] [stderr] Checking regex v1.10.2 [INFO] [stderr] Checking env_logger v0.9.3 [INFO] [stderr] Checking is-terminal v0.4.10 [INFO] [stderr] Checking anstream v0.3.2 [INFO] [stderr] Compiling darling_core v0.20.3 [INFO] [stderr] Checking clap_builder v4.2.5 [INFO] [stderr] Compiling async-attributes v1.1.2 [INFO] [stderr] Compiling strum_macros v0.24.3 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling serde_derive v1.0.195 [INFO] [stderr] Compiling thiserror-impl v1.0.56 [INFO] [stderr] Compiling tokio-macros v2.2.0 [INFO] [stderr] Compiling enumflags2_derive v0.7.8 [INFO] [stderr] Compiling clap_derive v4.2.0 [INFO] [stderr] Compiling auto-const-array v0.2.1 [INFO] [stderr] Compiling monoio-macros v0.1.0 [INFO] [stderr] Checking enumflags2 v0.7.8 [INFO] [stderr] Checking monoio v0.2.1 [INFO] [stderr] Checking tokio v1.35.1 [INFO] [stderr] Compiling darling_macro v0.20.3 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Checking polling v3.3.1 [INFO] [stderr] Checking blocking v1.5.1 [INFO] [stderr] Checking quinn-udp v0.4.1 [INFO] [stderr] Compiling darling v0.20.3 [INFO] [stderr] Compiling serde_with_macros v3.4.0 [INFO] [stderr] Checking rustls-webpki v0.101.7 [INFO] [stderr] Checking sct v0.7.1 [INFO] [stderr] Checking rcgen v0.12.0 [INFO] [stderr] Checking async-io v2.2.2 [INFO] [stderr] Checking clap v4.2.5 [INFO] [stderr] Checking async-global-executor v2.4.1 [INFO] [stderr] Checking async-std v1.12.0 [INFO] [stderr] Checking quinn-proto v0.10.6 [INFO] [stderr] Checking smallvec v1.11.2 [INFO] [stderr] Checking serde_with v3.4.0 [INFO] [stderr] Checking quinn-plaintext v0.2.0 [INFO] [stderr] Checking quinn v0.10.2 [INFO] [stderr] Checking tunnel-benchmark v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `tquic::TIMER_GRANULARITY` [INFO] [stdout] --> examples/tquic_client.rs:35:5 [INFO] [stdout] | [INFO] [stdout] 35 | use tquic::TIMER_GRANULARITY; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tquic::TIMER_GRANULARITY` [INFO] [stdout] --> examples/tquic_server.rs:35:5 [INFO] [stdout] | [INFO] [stdout] 35 | use tquic::TIMER_GRANULARITY; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> examples/udp_server_monoio.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | loop { [INFO] [stdout] | _____^ - [INFO] [stdout] | |__________| [INFO] [stdout] 8 | || let buf = buf_c.take().expect(""); [INFO] [stdout] 9 | || let (res, buf) = listener.recv_from(buf).await; [INFO] [stdout] 10 | || let (_n, from) = res.unwrap(); [INFO] [stdout] 11 | || let (_res, buf2) = listener.send_to(buf, from).await; [INFO] [stdout] 12 | || buf_c.replace(buf2); [INFO] [stdout] 13 | || } [INFO] [stdout] | ||_____^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_____| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `tunnel-benchmark` (example "udp_server_monoio") due to 2 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> examples/tquic_server_tokio.rs:147:9 [INFO] [stdout] | [INFO] [stdout] 122 | / loop { [INFO] [stdout] 123 | | let (len, local, remote) = match self.sock.recv_from(&mut self.recv_buf) { [INFO] [stdout] 124 | | Ok(v) => v, [INFO] [stdout] 125 | | Err(e) => { [INFO] [stdout] ... | [INFO] [stdout] 144 | | }; [INFO] [stdout] 145 | | } [INFO] [stdout] | |_________- any code following this expression is unreachable [INFO] [stdout] 146 | [INFO] [stdout] 147 | Ok(()) [INFO] [stdout] | ^^^^^^ unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> examples/tquic_client.rs:110:12 [INFO] [stdout] | [INFO] [stdout] 92 | let mut config = Config::new()?; [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 97 | let tls_config = TlsConfig::new_client_config(vec![b"http/0.9".to_vec()], false)?; [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 101 | let handlers = ClientHandler::new(option, context.clone()); [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 102 | [INFO] [stdout] 103 | let poll = mio::Poll::new()?; [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 104 | let registry = poll.registry(); [INFO] [stdout] 105 | let sock = Rc::new(QuicSocket::new_client_socket( [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 110 | Ok(Client { [INFO] [stdout] | ____________^ [INFO] [stdout] 111 | | endpoint: Endpoint::new(Box::new(config), false, Box::new(handlers), sock.clone()), [INFO] [stdout] 112 | | poll, [INFO] [stdout] 113 | | sock, [INFO] [stdout] 114 | | context, [INFO] [stdout] 115 | | recv_buf: vec![0u8; MAX_BUF_SIZE], [INFO] [stdout] 116 | | }) [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `src` [INFO] [stdout] --> examples/tquic_native_utils/mod.rs:68:39 [INFO] [stdout] | [INFO] [stdout] 68 | pub fn send_to(&self, buf: &[u8], src: SocketAddr, dst: SocketAddr) -> std::io::Result { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_src` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> examples/tquic_client.rs:308:29 [INFO] [stdout] | [INFO] [stdout] 308 | ... conn.stream_want_write(stream_id, true); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 308 | let _ = conn.stream_want_write(stream_id, true); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> examples/tquic_client.rs:331:9 [INFO] [stdout] | [INFO] [stdout] 331 | conn.stream_want_write(stream_id, false); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 331 | let _ = conn.stream_want_write(stream_id, false); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `bytes::Bytes::split_to` that must be used [INFO] [stdout] --> examples/tquic_client.rs:338:29 [INFO] [stdout] | [INFO] [stdout] 338 | ... buf.split_to(written_size); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider Bytes::advance if you don't need the other half [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 338 | let _ = buf.split_to(written_size); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> examples/tquic_utils/mod.rs:59:12 [INFO] [stdout] | [INFO] [stdout] 48 | let mut socks = Slab::new(); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 51 | let socket = UdpSocket::bind(*local)?; [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 59 | Ok(Self { [INFO] [stdout] | ____________^ [INFO] [stdout] 60 | | socks, [INFO] [stdout] 61 | | addrs, [INFO] [stdout] 62 | | local_addr, [INFO] [stdout] 63 | | }) [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> examples/tquic_server_async_std.rs:147:9 [INFO] [stdout] | [INFO] [stdout] 122 | / loop { [INFO] [stdout] 123 | | let (len, local, remote) = match self.sock.recv_from(&mut self.recv_buf) { [INFO] [stdout] 124 | | Ok(v) => v, [INFO] [stdout] 125 | | Err(e) => { [INFO] [stdout] ... | [INFO] [stdout] 144 | | }; [INFO] [stdout] 145 | | } [INFO] [stdout] | |_________- any code following this expression is unreachable [INFO] [stdout] 146 | [INFO] [stdout] 147 | Ok(()) [INFO] [stdout] | ^^^^^^ unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> examples/tquic_server_async_std.rs:125:21 [INFO] [stdout] | [INFO] [stdout] 125 | 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 variable: `e` [INFO] [stdout] --> examples/tquic_server_tokio.rs:125:21 [INFO] [stdout] | [INFO] [stdout] 125 | 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] error: aborting due to 2 previous errors; 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `local_addr` is never read [INFO] [stdout] --> examples/tquic_utils/mod.rs:43:5 [INFO] [stdout] | [INFO] [stdout] 35 | pub struct QuicSocket { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 43 | local_addr: SocketAddr, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new_client_socket` and `local_addr` are never used [INFO] [stdout] --> examples/tquic_utils/mod.rs:66:12 [INFO] [stdout] | [INFO] [stdout] 46 | impl QuicSocket { [INFO] [stdout] | --------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 66 | pub fn new_client_socket(is_ipv4: bool, registry: &Registry) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 75 | pub fn local_addr(&self) -> SocketAddr { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> examples/tquic_server.rs:118:12 [INFO] [stdout] | [INFO] [stdout] 98 | let mut config = Config::new()?; [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 104 | let tls_config = TlsConfig::new_server_config( [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 112 | let poll = mio::Poll::new()?; [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 115 | let handlers = ServerHandler::new(option)?; [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 116 | let sock = Rc::new(QuicSocket::new(&option.listen, registry)?); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 117 | [INFO] [stdout] 118 | Ok(Server { [INFO] [stdout] | ____________^ [INFO] [stdout] 119 | | endpoint: Endpoint::new(Box::new(config), true, Box::new(handlers), sock.clone()), [INFO] [stdout] 120 | | poll, [INFO] [stdout] 121 | | sock, [INFO] [stdout] 122 | | recv_buf: vec![0u8; MAX_BUF_SIZE], [INFO] [stdout] 123 | | }) [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> examples/tquic_server.rs:195:12 [INFO] [stdout] | [INFO] [stdout] 175 | let keylog = match &option.keylog_file { [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 185 | let qlog = match &option.qlog_file { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 195 | Ok(Self { [INFO] [stdout] | ____________^ [INFO] [stdout] 196 | | keylog, [INFO] [stdout] 197 | | qlog, [INFO] [stdout] 198 | | queue: VecDeque::new(), [INFO] [stdout] 199 | | }) [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> examples/tquic_server.rs:262:29 [INFO] [stdout] | [INFO] [stdout] 262 | ... conn.stream_want_write(stream_id, true); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 262 | let _ = conn.stream_want_write(stream_id, true); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `tunnel-benchmark` (example "tquic_client") due to 3 previous errors; 4 warnings emitted [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> examples/tquic_server.rs:285:9 [INFO] [stdout] | [INFO] [stdout] 285 | conn.stream_want_write(stream_id, false); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 285 | let _ = conn.stream_want_write(stream_id, false); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `bytes::Bytes::split_to` that must be used [INFO] [stdout] --> examples/tquic_server.rs:292:29 [INFO] [stdout] | [INFO] [stdout] 292 | ... buf.split_to(written_size); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider Bytes::advance if you don't need the other half [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 292 | let _ = buf.split_to(written_size); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> examples/tquic_utils/mod.rs:59:12 [INFO] [stdout] | [INFO] [stdout] 48 | let mut socks = Slab::new(); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 51 | let socket = UdpSocket::bind(*local)?; [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 59 | Ok(Self { [INFO] [stdout] | ____________^ [INFO] [stdout] 60 | | socks, [INFO] [stdout] 61 | | addrs, [INFO] [stdout] 62 | | local_addr, [INFO] [stdout] 63 | | }) [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> examples/tquic_server_native.rs:128:17 [INFO] [stdout] | [INFO] [stdout] 128 | Err(e) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> examples/tquic_client_async_std.rs:145:9 [INFO] [stdout] | [INFO] [stdout] 119 | / loop { [INFO] [stdout] 120 | | // Read datagram from the socket. [INFO] [stdout] 121 | | let (len, local, remote) = match self.sock.recv_from(&mut self.recv_buf) { [INFO] [stdout] 122 | | Ok(v) => v, [INFO] [stdout] ... | [INFO] [stdout] 142 | | }; [INFO] [stdout] 143 | | } [INFO] [stdout] | |_________- any code following this expression is unreachable [INFO] [stdout] 144 | [INFO] [stdout] 145 | Ok(()) [INFO] [stdout] | ^^^^^^ unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors; 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `tunnel-benchmark` (example "tquic_server") due to 4 previous errors; 6 warnings emitted [INFO] [stdout] warning: field `local_addr` is never read [INFO] [stdout] --> examples/tquic_native_utils/mod.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 29 | pub struct QuicSocket { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 34 | local_addr: SocketAddr, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new_client_socket` and `local_addr` are never used [INFO] [stdout] --> examples/tquic_native_utils/mod.rs:45:12 [INFO] [stdout] | [INFO] [stdout] 37 | impl QuicSocket { [INFO] [stdout] | --------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 45 | pub fn new_client_socket(is_ipv4: bool) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 54 | pub fn local_addr(&self) -> SocketAddr { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> examples/tquic_client_tokio.rs:145:9 [INFO] [stdout] | [INFO] [stdout] 119 | / loop { [INFO] [stdout] 120 | | // Read datagram from the socket. [INFO] [stdout] 121 | | let (len, local, remote) = match self.sock.recv_from(&mut self.recv_buf) { [INFO] [stdout] 122 | | Ok(v) => v, [INFO] [stdout] ... | [INFO] [stdout] 142 | | }; [INFO] [stdout] 143 | | } [INFO] [stdout] | |_________- any code following this expression is unreachable [INFO] [stdout] 144 | [INFO] [stdout] 145 | Ok(()) [INFO] [stdout] | ^^^^^^ unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> examples/tquic_server_native.rs:111:12 [INFO] [stdout] | [INFO] [stdout] 94 | let mut config = Config::new()?; [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 100 | let tls_config = TlsConfig::new_server_config( [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 108 | let handlers = ServerHandler::new(option)?; [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 109 | let sock = Rc::new(QuicSocket::new(&option.listen)?); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 110 | [INFO] [stdout] 111 | Ok(Server { [INFO] [stdout] | ____________^ [INFO] [stdout] 112 | | endpoint: Endpoint::new(Box::new(config), true, Box::new(handlers), sock.clone()), [INFO] [stdout] 113 | | sock, [INFO] [stdout] 114 | | recv_buf: vec![0u8; MAX_BUF_SIZE], [INFO] [stdout] 115 | | }) [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> examples/tquic_server_native.rs:187:12 [INFO] [stdout] | [INFO] [stdout] 167 | let keylog = match &option.keylog_file { [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 177 | let qlog = match &option.qlog_file { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 187 | Ok(Self { [INFO] [stdout] | ____________^ [INFO] [stdout] 188 | | keylog, [INFO] [stdout] 189 | | qlog, [INFO] [stdout] 190 | | queue: VecDeque::new(), [INFO] [stdout] 191 | | }) [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `res` [INFO] [stdout] --> examples/udp_client_monoio.rs:18:14 [INFO] [stdout] | [INFO] [stdout] 18 | let (res, buf) = stream.send(buf).await; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_res` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `src` [INFO] [stdout] --> examples/tquic_async_std_utils/mod.rs:86:39 [INFO] [stdout] | [INFO] [stdout] 86 | pub fn send_to(&self, buf: &[u8], src: SocketAddr, dst: SocketAddr) -> std::io::Result { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_src` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `src` [INFO] [stdout] --> examples/tquic_async_std_utils/mod.rs:86:39 [INFO] [stdout] | [INFO] [stdout] 86 | pub fn send_to(&self, buf: &[u8], src: SocketAddr, dst: SocketAddr) -> std::io::Result { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_src` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> examples/tquic_server_native.rs:254:29 [INFO] [stdout] | [INFO] [stdout] 254 | ... conn.stream_want_write(stream_id, true); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 254 | let _ = conn.stream_want_write(stream_id, true); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> examples/tquic_server_native.rs:277:9 [INFO] [stdout] | [INFO] [stdout] 277 | conn.stream_want_write(stream_id, false); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 277 | let _ = conn.stream_want_write(stream_id, false); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `bytes::Bytes::split_to` that must be used [INFO] [stdout] --> examples/tquic_server_native.rs:284:29 [INFO] [stdout] | [INFO] [stdout] 284 | ... buf.split_to(written_size); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider Bytes::advance if you don't need the other half [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 284 | let _ = buf.split_to(written_size); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> examples/tquic_native_utils/mod.rs:42:12 [INFO] [stdout] | [INFO] [stdout] 39 | let socket = UdpSocket::bind(*local)?; [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 42 | Ok(Self { socket, local_addr }) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> examples/udp_client_monoio.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | loop { [INFO] [stdout] | _____^ - [INFO] [stdout] | |__________| [INFO] [stdout] 23 | || let buf = buf_c.take().unwrap(); [INFO] [stdout] 24 | || let (res, buf) = stream.recv(buf).await; [INFO] [stdout] 25 | || let _n = res.unwrap(); [INFO] [stdout] ... || [INFO] [stdout] 39 | || } [INFO] [stdout] 40 | || } [INFO] [stdout] | ||_____^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_____| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors; 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `tunnel-benchmark` (example "tquic_server_native") due to 4 previous errors; 7 warnings emitted [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> examples/tquic_client_async_std.rs:123:21 [INFO] [stdout] | [INFO] [stdout] 123 | Err(e) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `tunnel-benchmark` (example "udp_client_monoio") due to 2 previous errors; 1 warning emitted [INFO] [stdout] warning: field `local_addr` is never read [INFO] [stdout] --> examples/tquic_async_std_utils/mod.rs:38:5 [INFO] [stdout] | [INFO] [stdout] 31 | pub struct QuicSocket { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 38 | local_addr: SocketAddr, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new_client_socket` and `local_addr` are never used [INFO] [stdout] --> examples/tquic_async_std_utils/mod.rs:54:18 [INFO] [stdout] | [INFO] [stdout] 41 | impl QuicSocket { [INFO] [stdout] | --------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 54 | pub async fn new_client_socket(is_ipv4: bool) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 63 | pub fn local_addr(&self) -> SocketAddr { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> examples/tquic_server_async_std.rs:184:12 [INFO] [stdout] | [INFO] [stdout] 164 | let keylog = match &option.keylog_file { [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 174 | let qlog = match &option.qlog_file { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 184 | Ok(Self { [INFO] [stdout] | ____________^ [INFO] [stdout] 185 | | keylog, [INFO] [stdout] 186 | | qlog, [INFO] [stdout] 187 | | queue: VecDeque::new(), [INFO] [stdout] 188 | | }) [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> examples/tquic_server_async_std.rs:251:29 [INFO] [stdout] | [INFO] [stdout] 251 | ... conn.stream_want_write(stream_id, true); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 251 | let _ = conn.stream_want_write(stream_id, true); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> examples/tquic_server_async_std.rs:274:9 [INFO] [stdout] | [INFO] [stdout] 274 | conn.stream_want_write(stream_id, false); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 274 | let _ = conn.stream_want_write(stream_id, false); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `bytes::Bytes::split_to` that must be used [INFO] [stdout] --> examples/tquic_server_async_std.rs:281:29 [INFO] [stdout] | [INFO] [stdout] 281 | ... buf.split_to(written_size); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider Bytes::advance if you don't need the other half [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 281 | let _ = buf.split_to(written_size); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> examples/tquic_async_std_utils/mod.rs:44:9 [INFO] [stdout] | [INFO] [stdout] 44 | socket.set_nonblocking(true); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 44 | let _ = socket.set_nonblocking(true); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `src` [INFO] [stdout] --> examples/tquic_tokio_utils/mod.rs:79:39 [INFO] [stdout] | [INFO] [stdout] 79 | pub fn send_to(&self, buf: &[u8], src: SocketAddr, dst: SocketAddr) -> std::io::Result { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_src` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error; 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `src` [INFO] [stdout] --> examples/tquic_native_utils/mod.rs:68:39 [INFO] [stdout] | [INFO] [stdout] 68 | pub fn send_to(&self, buf: &[u8], src: SocketAddr, dst: SocketAddr) -> std::io::Result { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_src` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `src` [INFO] [stdout] --> examples/tquic_tokio_utils/mod.rs:79:39 [INFO] [stdout] | [INFO] [stdout] 79 | pub fn send_to(&self, buf: &[u8], src: SocketAddr, dst: SocketAddr) -> std::io::Result { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_src` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> examples/tquic_client_async_std.rs:293:29 [INFO] [stdout] | [INFO] [stdout] 293 | ... conn.stream_want_write(stream_id, true); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 293 | let _ = conn.stream_want_write(stream_id, true); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> examples/tquic_client_async_std.rs:316:9 [INFO] [stdout] | [INFO] [stdout] 316 | conn.stream_want_write(stream_id, false); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 316 | let _ = conn.stream_want_write(stream_id, false); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `tunnel-benchmark` (example "tquic_server_async_std") due to 2 previous errors; 9 warnings emitted [INFO] [stdout] warning: unused return value of `bytes::Bytes::split_to` that must be used [INFO] [stdout] --> examples/tquic_client_async_std.rs:323:29 [INFO] [stdout] | [INFO] [stdout] 323 | ... buf.split_to(written_size); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider Bytes::advance if you don't need the other half [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 323 | let _ = buf.split_to(written_size); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> examples/tquic_async_std_utils/mod.rs:44:9 [INFO] [stdout] | [INFO] [stdout] 44 | socket.set_nonblocking(true); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 44 | let _ = socket.set_nonblocking(true); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> examples/tquic_client_tokio.rs:123:21 [INFO] [stdout] | [INFO] [stdout] 123 | Err(e) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> examples/tquic_client_native.rs:125:17 [INFO] [stdout] | [INFO] [stdout] 125 | Err(e) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> examples/tquic_client_native.rs:101:12 [INFO] [stdout] | [INFO] [stdout] 88 | let mut config = Config::new()?; [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 93 | let tls_config = TlsConfig::new_client_config(vec![b"http/0.9".to_vec()], false)?; [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 97 | let handlers = ClientHandler::new(option, context.clone()); [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 98 | [INFO] [stdout] 99 | let sock = Rc::new(QuicSocket::new_client_socket(option.connect_to.is_ipv4())?); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 100 | [INFO] [stdout] 101 | Ok(Client { [INFO] [stdout] | ____________^ [INFO] [stdout] 102 | | endpoint: Endpoint::new(Box::new(config), false, Box::new(handlers), sock.clone()), [INFO] [stdout] 103 | | sock, [INFO] [stdout] 104 | | context, [INFO] [stdout] 105 | | recv_buf: vec![0u8; MAX_BUF_SIZE], [INFO] [stdout] 106 | | }) [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> examples/tquic_client_tokio.rs:293:29 [INFO] [stdout] | [INFO] [stdout] 293 | ... conn.stream_want_write(stream_id, true); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 293 | let _ = conn.stream_want_write(stream_id, true); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `local_addr` is never read [INFO] [stdout] --> examples/tquic_tokio_utils/mod.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 31 | pub struct QuicSocket { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 36 | local_addr: SocketAddr, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new_client_socket` and `local_addr` are never used [INFO] [stdout] --> examples/tquic_tokio_utils/mod.rs:47:18 [INFO] [stdout] | [INFO] [stdout] 39 | impl QuicSocket { [INFO] [stdout] | --------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 47 | pub async fn new_client_socket(is_ipv4: bool) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 56 | pub fn local_addr(&self) -> SocketAddr { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> examples/tquic_client_tokio.rs:316:9 [INFO] [stdout] | [INFO] [stdout] 316 | conn.stream_want_write(stream_id, false); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 316 | let _ = conn.stream_want_write(stream_id, false); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `bytes::Bytes::split_to` that must be used [INFO] [stdout] --> examples/tquic_client_tokio.rs:323:29 [INFO] [stdout] | [INFO] [stdout] 323 | ... buf.split_to(written_size); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider Bytes::advance if you don't need the other half [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 323 | let _ = buf.split_to(written_size); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> examples/tquic_server_tokio.rs:184:12 [INFO] [stdout] | [INFO] [stdout] 164 | let keylog = match &option.keylog_file { [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 174 | let qlog = match &option.qlog_file { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 184 | Ok(Self { [INFO] [stdout] | ____________^ [INFO] [stdout] 185 | | keylog, [INFO] [stdout] 186 | | qlog, [INFO] [stdout] 187 | | queue: VecDeque::new(), [INFO] [stdout] 188 | | }) [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> examples/tquic_client_native.rs:295:29 [INFO] [stdout] | [INFO] [stdout] 295 | ... conn.stream_want_write(stream_id, true); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 295 | let _ = conn.stream_want_write(stream_id, true); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> examples/tquic_client_native.rs:318:9 [INFO] [stdout] | [INFO] [stdout] 318 | conn.stream_want_write(stream_id, false); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 318 | let _ = conn.stream_want_write(stream_id, false); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `bytes::Bytes::split_to` that must be used [INFO] [stdout] --> examples/tquic_client_native.rs:325:29 [INFO] [stdout] | [INFO] [stdout] 325 | ... buf.split_to(written_size); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider Bytes::advance if you don't need the other half [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 325 | let _ = buf.split_to(written_size); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> examples/tquic_native_utils/mod.rs:42:12 [INFO] [stdout] | [INFO] [stdout] 39 | let socket = UdpSocket::bind(*local)?; [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 42 | Ok(Self { socket, local_addr }) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> examples/tquic_server_tokio.rs:251:29 [INFO] [stdout] | [INFO] [stdout] 251 | ... conn.stream_want_write(stream_id, true); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 251 | let _ = conn.stream_want_write(stream_id, true); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> examples/tquic_server_tokio.rs:274:9 [INFO] [stdout] | [INFO] [stdout] 274 | conn.stream_want_write(stream_id, false); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 274 | let _ = conn.stream_want_write(stream_id, false); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `bytes::Bytes::split_to` that must be used [INFO] [stdout] --> examples/tquic_server_tokio.rs:281:29 [INFO] [stdout] | [INFO] [stdout] 281 | ... buf.split_to(written_size); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider Bytes::advance if you don't need the other half [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 281 | let _ = buf.split_to(written_size); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> examples/tquic_server_tokio.rs:320:5 [INFO] [stdout] | [INFO] [stdout] 320 | / tokio::spawn(async move { [INFO] [stdout] 321 | | loop { [INFO] [stdout] 322 | | // Process connections. [INFO] [stdout] 323 | | if let Err(e) = server.endpoint.process_connections() { [INFO] [stdout] ... | [INFO] [stdout] 340 | | }) [INFO] [stdout] 341 | | .await; [INFO] [stdout] | |__________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 320 | let _ = tokio::spawn(async move { [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors; 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error; 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `tunnel-benchmark` (example "tquic_client_native") due to 3 previous errors; 5 warnings emitted [INFO] [stderr] error: could not compile `tunnel-benchmark` (example "tquic_server_tokio") due to 2 previous errors; 9 warnings emitted [INFO] running `Command { std: "docker" "inspect" "96358806ace05a095faf7abe4c592180563526db2d3ad61af2e9b28f7b73040b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "96358806ace05a095faf7abe4c592180563526db2d3ad61af2e9b28f7b73040b", kill_on_drop: false }` [INFO] [stdout] 96358806ace05a095faf7abe4c592180563526db2d3ad61af2e9b28f7b73040b