[INFO] cloning repository https://github.com/svart/custom-dns-server [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/svart/custom-dns-server" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsvart%2Fcustom-dns-server", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsvart%2Fcustom-dns-server'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] f7774ec8f3303e0af9127038d7398f4aeaf3cf7e [INFO] checking svart/custom-dns-server against try#028201683a76a5cd349729c6819c46607119c4e8 for pr-144157 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsvart%2Fcustom-dns-server" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/svart/custom-dns-server [INFO] finished tweaking git repo https://github.com/svart/custom-dns-server [INFO] tweaked toml for git repo https://github.com/svart/custom-dns-server written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/svart/custom-dns-server on toolchain 028201683a76a5cd349729c6819c46607119c4e8 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+028201683a76a5cd349729c6819c46607119c4e8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/svart/custom-dns-server 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" "+028201683a76a5cd349729c6819c46607119c4e8" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:cf8efcab8866f2cf4285301c7418e2f4f2a9b088c91ba69c40d5b659f81557f7" "/opt/rustwide/cargo-home/bin/cargo" "+028201683a76a5cd349729c6819c46607119c4e8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9ddcb7ec2b651df5ad8676e550b951747707d7e629ade515d28d87cb33bab21e [INFO] running `Command { std: "docker" "start" "-a" "9ddcb7ec2b651df5ad8676e550b951747707d7e629ade515d28d87cb33bab21e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9ddcb7ec2b651df5ad8676e550b951747707d7e629ade515d28d87cb33bab21e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9ddcb7ec2b651df5ad8676e550b951747707d7e629ade515d28d87cb33bab21e", kill_on_drop: false }` [INFO] [stdout] 9ddcb7ec2b651df5ad8676e550b951747707d7e629ade515d28d87cb33bab21e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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" "-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:cf8efcab8866f2cf4285301c7418e2f4f2a9b088c91ba69c40d5b659f81557f7" "/opt/rustwide/cargo-home/bin/cargo" "+028201683a76a5cd349729c6819c46607119c4e8" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3cb8aa09bd15fbcb4b49074dc2b5a4e4fac82a2263e78c4bfbe1dd50d1988efd [INFO] running `Command { std: "docker" "start" "-a" "3cb8aa09bd15fbcb4b49074dc2b5a4e4fac82a2263e78c4bfbe1dd50d1988efd", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.94 [INFO] [stderr] Compiling libc v0.2.171 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Compiling autocfg v1.4.0 [INFO] [stderr] Checking futures-sink v0.3.31 [INFO] [stderr] Checking memchr v2.7.4 [INFO] [stderr] Checking futures-core v0.3.31 [INFO] [stderr] Compiling getrandom v0.3.2 [INFO] [stderr] Compiling zerocopy v0.8.24 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Checking futures-channel v0.3.31 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Checking futures-io v0.3.31 [INFO] [stderr] Checking futures-task v0.3.31 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Checking smallvec v1.14.0 [INFO] [stderr] Compiling radium v0.7.0 [INFO] [stderr] Checking tap v1.0.1 [INFO] [stderr] Compiling thiserror v2.0.12 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Checking wyz v0.5.1 [INFO] [stderr] Checking funty v2.0.0 [INFO] [stderr] Checking bytes v1.10.1 [INFO] [stderr] Checking nom v8.0.0 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Checking ux v0.1.6 [INFO] [stderr] Checking bitvec v1.0.1 [INFO] [stderr] Compiling syn v2.0.100 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Checking rand_core v0.9.3 [INFO] [stderr] Checking signal-hook-registry v1.4.2 [INFO] [stderr] Checking mio v1.0.3 [INFO] [stderr] Checking socket2 v0.5.8 [INFO] [stderr] Checking ppv-lite86 v0.2.21 [INFO] [stderr] Checking rand_chacha v0.9.0 [INFO] [stderr] Checking rand v0.9.0 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling thiserror-impl v2.0.12 [INFO] [stderr] Checking tokio v1.44.1 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Checking futures-executor v0.3.31 [INFO] [stderr] Checking futures v0.3.31 [INFO] [stderr] Checking cookie-factory v0.3.3 [INFO] [stderr] Checking custom-dns-server v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] error[E0275]: overflow evaluating the requirement `&runtime::io::registration::Registration: Send` [INFO] [stdout] | [INFO] [stdout] = help: consider increasing the recursion limit by adding a `#![recursion_limit = "256"]` attribute to your crate (`custom_dns_server`) [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.1/src/runtime/io/registration.rs:218:24 [INFO] [stdout] | [INFO] [stdout] 218 | ) -> io::Result { [INFO] [stdout] | ________________________^ [INFO] [stdout] 219 | | loop { [INFO] [stdout] 220 | | let event = self.readiness(interest).await?; [INFO] [stdout] ... | [INFO] [stdout] 234 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.1/src/net/udp.rs:1267:87 [INFO] [stdout] | [INFO] [stdout] 1267 | async fn send_to_addr(&self, buf: &[u8], target: SocketAddr) -> io::Result { [INFO] [stdout] | _______________________________________________________________________________________^ [INFO] [stdout] 1268 | | self.io [INFO] [stdout] 1269 | | .registration() [INFO] [stdout] 1270 | | .async_io(Interest::WRITABLE, || self.io.send_to(buf, target)) [INFO] [stdout] 1271 | | .await [INFO] [stdout] 1272 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.1/src/net/udp.rs:1174:93 [INFO] [stdout] | [INFO] [stdout] 1174 | pub async fn send_to(&self, buf: &[u8], addr: A) -> io::Result { [INFO] [stdout] | _____________________________________________________________________________________________^ [INFO] [stdout] 1175 | | let mut addrs = to_socket_addrs(addr).await?; [INFO] [stdout] 1176 | | [INFO] [stdout] 1177 | | match addrs.next() { [INFO] [stdout] ... | [INFO] [stdout] 1184 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/main.rs:21:29 [INFO] [stdout] | [INFO] [stdout] 21 | ) -> io::Result { [INFO] [stdout] | _____________________________^ [INFO] [stdout] 22 | | let socket = UdpSocket::bind(("0.0.0.0", 0)).await?; [INFO] [stdout] 23 | | [INFO] [stdout] 24 | | let mut packet = DnsMessage::new(); [INFO] [stdout] ... | [INFO] [stdout] 42 | | Ok(packet) [INFO] [stdout] 43 | | } [INFO] [stdout] | |_^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/main.rs:61:86 [INFO] [stdout] | [INFO] [stdout] 61 | async fn recursive_lookup(qname: &Qname, qtype: QueryType) -> io::Result { [INFO] [stdout] | ______________________________________________________________________________________^ [INFO] [stdout] 62 | | use rand::prelude::IndexedRandom; [INFO] [stdout] 63 | | let mut ns = ROOT_SERVERS [INFO] [stdout] 64 | | .choose(&mut rand::rng()) [INFO] [stdout] ... | [INFO] [stdout] 102 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: required for `Unique>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/main.rs:61:86 [INFO] [stdout] | [INFO] [stdout] 61 | async fn recursive_lookup(qname: &Qname, qtype: QueryType) -> io::Result { [INFO] [stdout] | ______________________________________________________________________________________^ [INFO] [stdout] 62 | | use rand::prelude::IndexedRandom; [INFO] [stdout] 63 | | let mut ns = ROOT_SERVERS [INFO] [stdout] 64 | | .choose(&mut rand::rng()) [INFO] [stdout] ... | [INFO] [stdout] 102 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: required for `Unique>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/main.rs:61:86 [INFO] [stdout] | [INFO] [stdout] 61 | async fn recursive_lookup(qname: &Qname, qtype: QueryType) -> io::Result { [INFO] [stdout] | ______________________________________________________________________________________^ [INFO] [stdout] 62 | | use rand::prelude::IndexedRandom; [INFO] [stdout] 63 | | let mut ns = ROOT_SERVERS [INFO] [stdout] 64 | | .choose(&mut rand::rng()) [INFO] [stdout] ... | [INFO] [stdout] 102 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: required for `Unique>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/main.rs:61:86 [INFO] [stdout] | [INFO] [stdout] 61 | async fn recursive_lookup(qname: &Qname, qtype: QueryType) -> io::Result { [INFO] [stdout] | ______________________________________________________________________________________^ [INFO] [stdout] 62 | | use rand::prelude::IndexedRandom; [INFO] [stdout] 63 | | let mut ns = ROOT_SERVERS [INFO] [stdout] 64 | | .choose(&mut rand::rng()) [INFO] [stdout] ... | [INFO] [stdout] 102 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: required for `Unique>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/main.rs:61:86 [INFO] [stdout] | [INFO] [stdout] 61 | async fn recursive_lookup(qname: &Qname, qtype: QueryType) -> io::Result { [INFO] [stdout] | ______________________________________________________________________________________^ [INFO] [stdout] 62 | | use rand::prelude::IndexedRandom; [INFO] [stdout] 63 | | let mut ns = ROOT_SERVERS [INFO] [stdout] 64 | | .choose(&mut rand::rng()) [INFO] [stdout] ... | [INFO] [stdout] 102 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: required for `Unique>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/main.rs:61:86 [INFO] [stdout] | [INFO] [stdout] 61 | async fn recursive_lookup(qname: &Qname, qtype: QueryType) -> io::Result { [INFO] [stdout] | ______________________________________________________________________________________^ [INFO] [stdout] 62 | | use rand::prelude::IndexedRandom; [INFO] [stdout] 63 | | let mut ns = ROOT_SERVERS [INFO] [stdout] 64 | | .choose(&mut rand::rng()) [INFO] [stdout] ... | [INFO] [stdout] 102 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: required for `Unique>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/main.rs:61:86 [INFO] [stdout] | [INFO] [stdout] 61 | async fn recursive_lookup(qname: &Qname, qtype: QueryType) -> io::Result { [INFO] [stdout] | ______________________________________________________________________________________^ [INFO] [stdout] 62 | | use rand::prelude::IndexedRandom; [INFO] [stdout] 63 | | let mut ns = ROOT_SERVERS [INFO] [stdout] 64 | | .choose(&mut rand::rng()) [INFO] [stdout] ... | [INFO] [stdout] 102 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: required for `Unique>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/main.rs:61:86 [INFO] [stdout] | [INFO] [stdout] 61 | async fn recursive_lookup(qname: &Qname, qtype: QueryType) -> io::Result { [INFO] [stdout] | ______________________________________________________________________________________^ [INFO] [stdout] 62 | | use rand::prelude::IndexedRandom; [INFO] [stdout] 63 | | let mut ns = ROOT_SERVERS [INFO] [stdout] 64 | | .choose(&mut rand::rng()) [INFO] [stdout] ... | [INFO] [stdout] 102 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: required for `Unique>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/main.rs:61:86 [INFO] [stdout] | [INFO] [stdout] 61 | async fn recursive_lookup(qname: &Qname, qtype: QueryType) -> io::Result { [INFO] [stdout] | ______________________________________________________________________________________^ [INFO] [stdout] 62 | | use rand::prelude::IndexedRandom; [INFO] [stdout] 63 | | let mut ns = ROOT_SERVERS [INFO] [stdout] 64 | | .choose(&mut rand::rng()) [INFO] [stdout] ... | [INFO] [stdout] 102 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: required for `Unique>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/main.rs:61:86 [INFO] [stdout] | [INFO] [stdout] 61 | async fn recursive_lookup(qname: &Qname, qtype: QueryType) -> io::Result { [INFO] [stdout] | ______________________________________________________________________________________^ [INFO] [stdout] 62 | | use rand::prelude::IndexedRandom; [INFO] [stdout] 63 | | let mut ns = ROOT_SERVERS [INFO] [stdout] 64 | | .choose(&mut rand::rng()) [INFO] [stdout] ... | [INFO] [stdout] 102 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: required for `Unique>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/main.rs:61:86 [INFO] [stdout] | [INFO] [stdout] 61 | async fn recursive_lookup(qname: &Qname, qtype: QueryType) -> io::Result { [INFO] [stdout] | ______________________________________________________________________________________^ [INFO] [stdout] 62 | | use rand::prelude::IndexedRandom; [INFO] [stdout] 63 | | let mut ns = ROOT_SERVERS [INFO] [stdout] 64 | | .choose(&mut rand::rng()) [INFO] [stdout] ... | [INFO] [stdout] 102 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: required for `Unique>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/main.rs:61:86 [INFO] [stdout] | [INFO] [stdout] 61 | async fn recursive_lookup(qname: &Qname, qtype: QueryType) -> io::Result { [INFO] [stdout] | ______________________________________________________________________________________^ [INFO] [stdout] 62 | | use rand::prelude::IndexedRandom; [INFO] [stdout] 63 | | let mut ns = ROOT_SERVERS [INFO] [stdout] 64 | | .choose(&mut rand::rng()) [INFO] [stdout] ... | [INFO] [stdout] 102 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: required for `Unique>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/main.rs:61:86 [INFO] [stdout] | [INFO] [stdout] 61 | async fn recursive_lookup(qname: &Qname, qtype: QueryType) -> io::Result { [INFO] [stdout] | ______________________________________________________________________________________^ [INFO] [stdout] 62 | | use rand::prelude::IndexedRandom; [INFO] [stdout] 63 | | let mut ns = ROOT_SERVERS [INFO] [stdout] 64 | | .choose(&mut rand::rng()) [INFO] [stdout] ... | [INFO] [stdout] 102 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: required for `Unique>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/main.rs:61:86 [INFO] [stdout] | [INFO] [stdout] 61 | async fn recursive_lookup(qname: &Qname, qtype: QueryType) -> io::Result { [INFO] [stdout] | ______________________________________________________________________________________^ [INFO] [stdout] 62 | | use rand::prelude::IndexedRandom; [INFO] [stdout] 63 | | let mut ns = ROOT_SERVERS [INFO] [stdout] 64 | | .choose(&mut rand::rng()) [INFO] [stdout] ... | [INFO] [stdout] 102 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: required for `Unique>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/main.rs:61:86 [INFO] [stdout] | [INFO] [stdout] 61 | async fn recursive_lookup(qname: &Qname, qtype: QueryType) -> io::Result { [INFO] [stdout] | ______________________________________________________________________________________^ [INFO] [stdout] 62 | | use rand::prelude::IndexedRandom; [INFO] [stdout] 63 | | let mut ns = ROOT_SERVERS [INFO] [stdout] 64 | | .choose(&mut rand::rng()) [INFO] [stdout] ... | [INFO] [stdout] 102 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: required for `Unique>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/main.rs:61:86 [INFO] [stdout] | [INFO] [stdout] 61 | async fn recursive_lookup(qname: &Qname, qtype: QueryType) -> io::Result { [INFO] [stdout] | ______________________________________________________________________________________^ [INFO] [stdout] 62 | | use rand::prelude::IndexedRandom; [INFO] [stdout] 63 | | let mut ns = ROOT_SERVERS [INFO] [stdout] 64 | | .choose(&mut rand::rng()) [INFO] [stdout] ... | [INFO] [stdout] 102 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: required for `Unique>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/main.rs:61:86 [INFO] [stdout] | [INFO] [stdout] 61 | async fn recursive_lookup(qname: &Qname, qtype: QueryType) -> io::Result { [INFO] [stdout] | ______________________________________________________________________________________^ [INFO] [stdout] 62 | | use rand::prelude::IndexedRandom; [INFO] [stdout] 63 | | let mut ns = ROOT_SERVERS [INFO] [stdout] 64 | | .choose(&mut rand::rng()) [INFO] [stdout] ... | [INFO] [stdout] 102 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: required for `Unique>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/main.rs:61:86 [INFO] [stdout] | [INFO] [stdout] 61 | async fn recursive_lookup(qname: &Qname, qtype: QueryType) -> io::Result { [INFO] [stdout] | ______________________________________________________________________________________^ [INFO] [stdout] 62 | | use rand::prelude::IndexedRandom; [INFO] [stdout] 63 | | let mut ns = ROOT_SERVERS [INFO] [stdout] 64 | | .choose(&mut rand::rng()) [INFO] [stdout] ... | [INFO] [stdout] 102 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: required for `Unique>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/main.rs:61:86 [INFO] [stdout] | [INFO] [stdout] 61 | async fn recursive_lookup(qname: &Qname, qtype: QueryType) -> io::Result { [INFO] [stdout] | ______________________________________________________________________________________^ [INFO] [stdout] 62 | | use rand::prelude::IndexedRandom; [INFO] [stdout] 63 | | let mut ns = ROOT_SERVERS [INFO] [stdout] 64 | | .choose(&mut rand::rng()) [INFO] [stdout] ... | [INFO] [stdout] 102 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: required for `Unique>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/main.rs:61:86 [INFO] [stdout] | [INFO] [stdout] 61 | async fn recursive_lookup(qname: &Qname, qtype: QueryType) -> io::Result { [INFO] [stdout] | ______________________________________________________________________________________^ [INFO] [stdout] 62 | | use rand::prelude::IndexedRandom; [INFO] [stdout] 63 | | let mut ns = ROOT_SERVERS [INFO] [stdout] 64 | | .choose(&mut rand::rng()) [INFO] [stdout] ... | [INFO] [stdout] 102 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: required for `Unique>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/main.rs:61:86 [INFO] [stdout] | [INFO] [stdout] 61 | async fn recursive_lookup(qname: &Qname, qtype: QueryType) -> io::Result { [INFO] [stdout] | ______________________________________________________________________________________^ [INFO] [stdout] 62 | | use rand::prelude::IndexedRandom; [INFO] [stdout] 63 | | let mut ns = ROOT_SERVERS [INFO] [stdout] 64 | | .choose(&mut rand::rng()) [INFO] [stdout] ... | [INFO] [stdout] 102 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: required for `Unique>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/main.rs:61:86 [INFO] [stdout] | [INFO] [stdout] 61 | async fn recursive_lookup(qname: &Qname, qtype: QueryType) -> io::Result { [INFO] [stdout] | ______________________________________________________________________________________^ [INFO] [stdout] 62 | | use rand::prelude::IndexedRandom; [INFO] [stdout] 63 | | let mut ns = ROOT_SERVERS [INFO] [stdout] 64 | | .choose(&mut rand::rng()) [INFO] [stdout] ... | [INFO] [stdout] 102 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: required for `Unique>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/main.rs:61:86 [INFO] [stdout] | [INFO] [stdout] 61 | async fn recursive_lookup(qname: &Qname, qtype: QueryType) -> io::Result { [INFO] [stdout] | ______________________________________________________________________________________^ [INFO] [stdout] 62 | | use rand::prelude::IndexedRandom; [INFO] [stdout] 63 | | let mut ns = ROOT_SERVERS [INFO] [stdout] 64 | | .choose(&mut rand::rng()) [INFO] [stdout] ... | [INFO] [stdout] 102 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: required for `Unique>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/main.rs:61:86 [INFO] [stdout] | [INFO] [stdout] 61 | async fn recursive_lookup(qname: &Qname, qtype: QueryType) -> io::Result { [INFO] [stdout] | ______________________________________________________________________________________^ [INFO] [stdout] 62 | | use rand::prelude::IndexedRandom; [INFO] [stdout] 63 | | let mut ns = ROOT_SERVERS [INFO] [stdout] 64 | | .choose(&mut rand::rng()) [INFO] [stdout] ... | [INFO] [stdout] 102 | | } [INFO] [stdout] | |_^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/main.rs:104:91 [INFO] [stdout] | [INFO] [stdout] 104 | async fn handle_query(msg_buf: [u8; MAX_DNS_MSG_SIZE], len: usize) -> io::Result> { [INFO] [stdout] | ___________________________________________________________________________________________^ [INFO] [stdout] 105 | | let msg_buf = &msg_buf[..len]; [INFO] [stdout] 106 | | let byte_buffer = ByteBuffer::new(msg_buf); [INFO] [stdout] ... | [INFO] [stdout] 145 | | Ok(res_buffer) [INFO] [stdout] 146 | | } [INFO] [stdout] | |_^ [INFO] [stdout] note: required because it's used within this `async` block [INFO] [stdout] --> src/main.rs:163:22 [INFO] [stdout] | [INFO] [stdout] 163 | tokio::spawn(async move { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/custom_dns_server-ca8a286f6786f189.long-type-16127479178445802168.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0275]: overflow evaluating the requirement `&runtime::io::registration::Registration: Send` [INFO] [stdout] --> src/main.rs:163:9 [INFO] [stdout] | [INFO] [stdout] 163 | / tokio::spawn(async move { [INFO] [stdout] 164 | | match handle_query(msg_buf, len).await { [INFO] [stdout] 165 | | Ok(result) => { [INFO] [stdout] 166 | | if let Err(err) = socket.send_to(&result, src).await { [INFO] [stdout] ... | [INFO] [stdout] 174 | | }); [INFO] [stdout] | |__________^ [INFO] [stdout] | [INFO] [stdout] = help: consider increasing the recursion limit by adding a `#![recursion_limit = "256"]` attribute to your crate (`custom_dns_server`) [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.1/src/runtime/io/registration.rs:218:24 [INFO] [stdout] | [INFO] [stdout] 218 | ) -> io::Result { [INFO] [stdout] | ________________________^ [INFO] [stdout] 219 | | loop { [INFO] [stdout] 220 | | let event = self.readiness(interest).await?; [INFO] [stdout] ... | [INFO] [stdout] 234 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.1/src/net/udp.rs:1267:87 [INFO] [stdout] | [INFO] [stdout] 1267 | async fn send_to_addr(&self, buf: &[u8], target: SocketAddr) -> io::Result { [INFO] [stdout] | _______________________________________________________________________________________^ [INFO] [stdout] 1268 | | self.io [INFO] [stdout] 1269 | | .registration() [INFO] [stdout] 1270 | | .async_io(Interest::WRITABLE, || self.io.send_to(buf, target)) [INFO] [stdout] 1271 | | .await [INFO] [stdout] 1272 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.1/src/net/udp.rs:1174:93 [INFO] [stdout] | [INFO] [stdout] 1174 | pub async fn send_to(&self, buf: &[u8], addr: A) -> io::Result { [INFO] [stdout] | _____________________________________________________________________________________________^ [INFO] [stdout] 1175 | | let mut addrs = to_socket_addrs(addr).await?; [INFO] [stdout] 1176 | | [INFO] [stdout] 1177 | | match addrs.next() { [INFO] [stdout] ... | [INFO] [stdout] 1184 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/main.rs:21:29 [INFO] [stdout] | [INFO] [stdout] 21 | ) -> io::Result { [INFO] [stdout] | _____________________________^ [INFO] [stdout] 22 | | let socket = UdpSocket::bind(("0.0.0.0", 0)).await?; [INFO] [stdout] 23 | | [INFO] [stdout] 24 | | let mut packet = DnsMessage::new(); [INFO] [stdout] ... | [INFO] [stdout] 42 | | Ok(packet) [INFO] [stdout] 43 | | } [INFO] [stdout] | |_^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/main.rs:61:86 [INFO] [stdout] | [INFO] [stdout] 61 | async fn recursive_lookup(qname: &Qname, qtype: QueryType) -> io::Result { [INFO] [stdout] | ______________________________________________________________________________________^ [INFO] [stdout] 62 | | use rand::prelude::IndexedRandom; [INFO] [stdout] 63 | | let mut ns = ROOT_SERVERS [INFO] [stdout] 64 | | .choose(&mut rand::rng()) [INFO] [stdout] ... | [INFO] [stdout] 102 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: required for `Unique>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/main.rs:61:86 [INFO] [stdout] | [INFO] [stdout] 61 | async fn recursive_lookup(qname: &Qname, qtype: QueryType) -> io::Result { [INFO] [stdout] | ______________________________________________________________________________________^ [INFO] [stdout] 62 | | use rand::prelude::IndexedRandom; [INFO] [stdout] 63 | | let mut ns = ROOT_SERVERS [INFO] [stdout] 64 | | .choose(&mut rand::rng()) [INFO] [stdout] ... | [INFO] [stdout] 102 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: required for `Unique>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/main.rs:61:86 [INFO] [stdout] | [INFO] [stdout] 61 | async fn recursive_lookup(qname: &Qname, qtype: QueryType) -> io::Result { [INFO] [stdout] | ______________________________________________________________________________________^ [INFO] [stdout] 62 | | use rand::prelude::IndexedRandom; [INFO] [stdout] 63 | | let mut ns = ROOT_SERVERS [INFO] [stdout] 64 | | .choose(&mut rand::rng()) [INFO] [stdout] ... | [INFO] [stdout] 102 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: required for `Unique>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/main.rs:61:86 [INFO] [stdout] | [INFO] [stdout] 61 | async fn recursive_lookup(qname: &Qname, qtype: QueryType) -> io::Result { [INFO] [stdout] | ______________________________________________________________________________________^ [INFO] [stdout] 62 | | use rand::prelude::IndexedRandom; [INFO] [stdout] 63 | | let mut ns = ROOT_SERVERS [INFO] [stdout] 64 | | .choose(&mut rand::rng()) [INFO] [stdout] ... | [INFO] [stdout] 102 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: required for `Unique>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/main.rs:61:86 [INFO] [stdout] | [INFO] [stdout] 61 | async fn recursive_lookup(qname: &Qname, qtype: QueryType) -> io::Result { [INFO] [stdout] | ______________________________________________________________________________________^ [INFO] [stdout] 62 | | use rand::prelude::IndexedRandom; [INFO] [stdout] 63 | | let mut ns = ROOT_SERVERS [INFO] [stdout] 64 | | .choose(&mut rand::rng()) [INFO] [stdout] ... | [INFO] [stdout] 102 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: required for `Unique>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/main.rs:61:86 [INFO] [stdout] | [INFO] [stdout] 61 | async fn recursive_lookup(qname: &Qname, qtype: QueryType) -> io::Result { [INFO] [stdout] | ______________________________________________________________________________________^ [INFO] [stdout] 62 | | use rand::prelude::IndexedRandom; [INFO] [stdout] 63 | | let mut ns = ROOT_SERVERS [INFO] [stdout] 64 | | .choose(&mut rand::rng()) [INFO] [stdout] ... | [INFO] [stdout] 102 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: required for `Unique>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/main.rs:61:86 [INFO] [stdout] | [INFO] [stdout] 61 | async fn recursive_lookup(qname: &Qname, qtype: QueryType) -> io::Result { [INFO] [stdout] | ______________________________________________________________________________________^ [INFO] [stdout] 62 | | use rand::prelude::IndexedRandom; [INFO] [stdout] 63 | | let mut ns = ROOT_SERVERS [INFO] [stdout] 64 | | .choose(&mut rand::rng()) [INFO] [stdout] ... | [INFO] [stdout] 102 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: required for `Unique>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/main.rs:61:86 [INFO] [stdout] | [INFO] [stdout] 61 | async fn recursive_lookup(qname: &Qname, qtype: QueryType) -> io::Result { [INFO] [stdout] | ______________________________________________________________________________________^ [INFO] [stdout] 62 | | use rand::prelude::IndexedRandom; [INFO] [stdout] 63 | | let mut ns = ROOT_SERVERS [INFO] [stdout] 64 | | .choose(&mut rand::rng()) [INFO] [stdout] ... | [INFO] [stdout] 102 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: required for `Unique>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/main.rs:61:86 [INFO] [stdout] | [INFO] [stdout] 61 | async fn recursive_lookup(qname: &Qname, qtype: QueryType) -> io::Result { [INFO] [stdout] | ______________________________________________________________________________________^ [INFO] [stdout] 62 | | use rand::prelude::IndexedRandom; [INFO] [stdout] 63 | | let mut ns = ROOT_SERVERS [INFO] [stdout] 64 | | .choose(&mut rand::rng()) [INFO] [stdout] ... | [INFO] [stdout] 102 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: required for `Unique>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/main.rs:61:86 [INFO] [stdout] | [INFO] [stdout] 61 | async fn recursive_lookup(qname: &Qname, qtype: QueryType) -> io::Result { [INFO] [stdout] | ______________________________________________________________________________________^ [INFO] [stdout] 62 | | use rand::prelude::IndexedRandom; [INFO] [stdout] 63 | | let mut ns = ROOT_SERVERS [INFO] [stdout] 64 | | .choose(&mut rand::rng()) [INFO] [stdout] ... | [INFO] [stdout] 102 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: required for `Unique>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/main.rs:61:86 [INFO] [stdout] | [INFO] [stdout] 61 | async fn recursive_lookup(qname: &Qname, qtype: QueryType) -> io::Result { [INFO] [stdout] | ______________________________________________________________________________________^ [INFO] [stdout] 62 | | use rand::prelude::IndexedRandom; [INFO] [stdout] 63 | | let mut ns = ROOT_SERVERS [INFO] [stdout] 64 | | .choose(&mut rand::rng()) [INFO] [stdout] ... | [INFO] [stdout] 102 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: required for `Unique>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/main.rs:61:86 [INFO] [stdout] | [INFO] [stdout] 61 | async fn recursive_lookup(qname: &Qname, qtype: QueryType) -> io::Result { [INFO] [stdout] | ______________________________________________________________________________________^ [INFO] [stdout] 62 | | use rand::prelude::IndexedRandom; [INFO] [stdout] 63 | | let mut ns = ROOT_SERVERS [INFO] [stdout] 64 | | .choose(&mut rand::rng()) [INFO] [stdout] ... | [INFO] [stdout] 102 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: required for `Unique>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/main.rs:61:86 [INFO] [stdout] | [INFO] [stdout] 61 | async fn recursive_lookup(qname: &Qname, qtype: QueryType) -> io::Result { [INFO] [stdout] | ______________________________________________________________________________________^ [INFO] [stdout] 62 | | use rand::prelude::IndexedRandom; [INFO] [stdout] 63 | | let mut ns = ROOT_SERVERS [INFO] [stdout] 64 | | .choose(&mut rand::rng()) [INFO] [stdout] ... | [INFO] [stdout] 102 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: required for `Unique>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/main.rs:61:86 [INFO] [stdout] | [INFO] [stdout] 61 | async fn recursive_lookup(qname: &Qname, qtype: QueryType) -> io::Result { [INFO] [stdout] | ______________________________________________________________________________________^ [INFO] [stdout] 62 | | use rand::prelude::IndexedRandom; [INFO] [stdout] 63 | | let mut ns = ROOT_SERVERS [INFO] [stdout] 64 | | .choose(&mut rand::rng()) [INFO] [stdout] ... | [INFO] [stdout] 102 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: required for `Unique>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/main.rs:61:86 [INFO] [stdout] | [INFO] [stdout] 61 | async fn recursive_lookup(qname: &Qname, qtype: QueryType) -> io::Result { [INFO] [stdout] | ______________________________________________________________________________________^ [INFO] [stdout] 62 | | use rand::prelude::IndexedRandom; [INFO] [stdout] 63 | | let mut ns = ROOT_SERVERS [INFO] [stdout] 64 | | .choose(&mut rand::rng()) [INFO] [stdout] ... | [INFO] [stdout] 102 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: required for `Unique>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/main.rs:61:86 [INFO] [stdout] | [INFO] [stdout] 61 | async fn recursive_lookup(qname: &Qname, qtype: QueryType) -> io::Result { [INFO] [stdout] | ______________________________________________________________________________________^ [INFO] [stdout] 62 | | use rand::prelude::IndexedRandom; [INFO] [stdout] 63 | | let mut ns = ROOT_SERVERS [INFO] [stdout] 64 | | .choose(&mut rand::rng()) [INFO] [stdout] ... | [INFO] [stdout] 102 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: required for `Unique>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/main.rs:61:86 [INFO] [stdout] | [INFO] [stdout] 61 | async fn recursive_lookup(qname: &Qname, qtype: QueryType) -> io::Result { [INFO] [stdout] | ______________________________________________________________________________________^ [INFO] [stdout] 62 | | use rand::prelude::IndexedRandom; [INFO] [stdout] 63 | | let mut ns = ROOT_SERVERS [INFO] [stdout] 64 | | .choose(&mut rand::rng()) [INFO] [stdout] ... | [INFO] [stdout] 102 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: required for `Unique>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/main.rs:61:86 [INFO] [stdout] | [INFO] [stdout] 61 | async fn recursive_lookup(qname: &Qname, qtype: QueryType) -> io::Result { [INFO] [stdout] | ______________________________________________________________________________________^ [INFO] [stdout] 62 | | use rand::prelude::IndexedRandom; [INFO] [stdout] 63 | | let mut ns = ROOT_SERVERS [INFO] [stdout] 64 | | .choose(&mut rand::rng()) [INFO] [stdout] ... | [INFO] [stdout] 102 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: required for `Unique>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/main.rs:61:86 [INFO] [stdout] | [INFO] [stdout] 61 | async fn recursive_lookup(qname: &Qname, qtype: QueryType) -> io::Result { [INFO] [stdout] | ______________________________________________________________________________________^ [INFO] [stdout] 62 | | use rand::prelude::IndexedRandom; [INFO] [stdout] 63 | | let mut ns = ROOT_SERVERS [INFO] [stdout] 64 | | .choose(&mut rand::rng()) [INFO] [stdout] ... | [INFO] [stdout] 102 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: required for `Unique>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/main.rs:61:86 [INFO] [stdout] | [INFO] [stdout] 61 | async fn recursive_lookup(qname: &Qname, qtype: QueryType) -> io::Result { [INFO] [stdout] | ______________________________________________________________________________________^ [INFO] [stdout] 62 | | use rand::prelude::IndexedRandom; [INFO] [stdout] 63 | | let mut ns = ROOT_SERVERS [INFO] [stdout] 64 | | .choose(&mut rand::rng()) [INFO] [stdout] ... | [INFO] [stdout] 102 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: required for `Unique>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/main.rs:61:86 [INFO] [stdout] | [INFO] [stdout] 61 | async fn recursive_lookup(qname: &Qname, qtype: QueryType) -> io::Result { [INFO] [stdout] | ______________________________________________________________________________________^ [INFO] [stdout] 62 | | use rand::prelude::IndexedRandom; [INFO] [stdout] 63 | | let mut ns = ROOT_SERVERS [INFO] [stdout] 64 | | .choose(&mut rand::rng()) [INFO] [stdout] ... | [INFO] [stdout] 102 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: required for `Unique>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/main.rs:61:86 [INFO] [stdout] | [INFO] [stdout] 61 | async fn recursive_lookup(qname: &Qname, qtype: QueryType) -> io::Result { [INFO] [stdout] | ______________________________________________________________________________________^ [INFO] [stdout] 62 | | use rand::prelude::IndexedRandom; [INFO] [stdout] 63 | | let mut ns = ROOT_SERVERS [INFO] [stdout] 64 | | .choose(&mut rand::rng()) [INFO] [stdout] ... | [INFO] [stdout] 102 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: required for `Unique>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/main.rs:61:86 [INFO] [stdout] | [INFO] [stdout] 61 | async fn recursive_lookup(qname: &Qname, qtype: QueryType) -> io::Result { [INFO] [stdout] | ______________________________________________________________________________________^ [INFO] [stdout] 62 | | use rand::prelude::IndexedRandom; [INFO] [stdout] 63 | | let mut ns = ROOT_SERVERS [INFO] [stdout] 64 | | .choose(&mut rand::rng()) [INFO] [stdout] ... | [INFO] [stdout] 102 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: required for `Unique>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/main.rs:61:86 [INFO] [stdout] | [INFO] [stdout] 61 | async fn recursive_lookup(qname: &Qname, qtype: QueryType) -> io::Result { [INFO] [stdout] | ______________________________________________________________________________________^ [INFO] [stdout] 62 | | use rand::prelude::IndexedRandom; [INFO] [stdout] 63 | | let mut ns = ROOT_SERVERS [INFO] [stdout] 64 | | .choose(&mut rand::rng()) [INFO] [stdout] ... | [INFO] [stdout] 102 | | } [INFO] [stdout] | |_^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/main.rs:104:91 [INFO] [stdout] | [INFO] [stdout] 104 | async fn handle_query(msg_buf: [u8; MAX_DNS_MSG_SIZE], len: usize) -> io::Result> { [INFO] [stdout] | ___________________________________________________________________________________________^ [INFO] [stdout] 105 | | let msg_buf = &msg_buf[..len]; [INFO] [stdout] 106 | | let byte_buffer = ByteBuffer::new(msg_buf); [INFO] [stdout] ... | [INFO] [stdout] 145 | | Ok(res_buffer) [INFO] [stdout] 146 | | } [INFO] [stdout] | |_^ [INFO] [stdout] note: required because it's used within this `async` block [INFO] [stdout] --> src/main.rs:163:22 [INFO] [stdout] | [INFO] [stdout] 163 | tokio::spawn(async move { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] note: required by a bound in `tokio::spawn` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.1/src/task/spawn.rs:168:21 [INFO] [stdout] | [INFO] [stdout] 166 | pub fn spawn(future: F) -> JoinHandle [INFO] [stdout] | ----- required by a bound in this function [INFO] [stdout] 167 | where [INFO] [stdout] 168 | F: Future + Send + 'static, [INFO] [stdout] | ^^^^ required by this bound in `spawn` [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/custom_dns_server-ca8a286f6786f189.long-type-16127479178445802168.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0275`. [INFO] [stdout] [INFO] [stderr] error: could not compile `custom-dns-server` (bin "custom-dns-server" test) due to 2 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0275]: overflow evaluating the requirement `&runtime::io::registration::Registration: Send` [INFO] [stdout] | [INFO] [stdout] = help: consider increasing the recursion limit by adding a `#![recursion_limit = "256"]` attribute to your crate (`custom_dns_server`) [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.1/src/runtime/io/registration.rs:218:24 [INFO] [stdout] | [INFO] [stdout] 218 | ) -> io::Result { [INFO] [stdout] | ________________________^ [INFO] [stdout] 219 | | loop { [INFO] [stdout] 220 | | let event = self.readiness(interest).await?; [INFO] [stdout] ... | [INFO] [stdout] 234 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.1/src/net/udp.rs:1267:87 [INFO] [stdout] | [INFO] [stdout] 1267 | async fn send_to_addr(&self, buf: &[u8], target: SocketAddr) -> io::Result { [INFO] [stdout] | _______________________________________________________________________________________^ [INFO] [stdout] 1268 | | self.io [INFO] [stdout] 1269 | | .registration() [INFO] [stdout] 1270 | | .async_io(Interest::WRITABLE, || self.io.send_to(buf, target)) [INFO] [stdout] 1271 | | .await [INFO] [stdout] 1272 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.1/src/net/udp.rs:1174:93 [INFO] [stdout] | [INFO] [stdout] 1174 | pub async fn send_to(&self, buf: &[u8], addr: A) -> io::Result { [INFO] [stdout] | _____________________________________________________________________________________________^ [INFO] [stdout] 1175 | | let mut addrs = to_socket_addrs(addr).await?; [INFO] [stdout] 1176 | | [INFO] [stdout] 1177 | | match addrs.next() { [INFO] [stdout] ... | [INFO] [stdout] 1184 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/main.rs:21:29 [INFO] [stdout] | [INFO] [stdout] 21 | ) -> io::Result { [INFO] [stdout] | _____________________________^ [INFO] [stdout] 22 | | let socket = UdpSocket::bind(("0.0.0.0", 0)).await?; [INFO] [stdout] 23 | | [INFO] [stdout] 24 | | let mut packet = DnsMessage::new(); [INFO] [stdout] ... | [INFO] [stdout] 42 | | Ok(packet) [INFO] [stdout] 43 | | } [INFO] [stdout] | |_^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/main.rs:61:86 [INFO] [stdout] | [INFO] [stdout] 61 | async fn recursive_lookup(qname: &Qname, qtype: QueryType) -> io::Result { [INFO] [stdout] | ______________________________________________________________________________________^ [INFO] [stdout] 62 | | use rand::prelude::IndexedRandom; [INFO] [stdout] 63 | | let mut ns = ROOT_SERVERS [INFO] [stdout] 64 | | .choose(&mut rand::rng()) [INFO] [stdout] ... | [INFO] [stdout] 102 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: required for `Unique>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/main.rs:61:86 [INFO] [stdout] | [INFO] [stdout] 61 | async fn recursive_lookup(qname: &Qname, qtype: QueryType) -> io::Result { [INFO] [stdout] | ______________________________________________________________________________________^ [INFO] [stdout] 62 | | use rand::prelude::IndexedRandom; [INFO] [stdout] 63 | | let mut ns = ROOT_SERVERS [INFO] [stdout] 64 | | .choose(&mut rand::rng()) [INFO] [stdout] ... | [INFO] [stdout] 102 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: required for `Unique>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/main.rs:61:86 [INFO] [stdout] | [INFO] [stdout] 61 | async fn recursive_lookup(qname: &Qname, qtype: QueryType) -> io::Result { [INFO] [stdout] | ______________________________________________________________________________________^ [INFO] [stdout] 62 | | use rand::prelude::IndexedRandom; [INFO] [stdout] 63 | | let mut ns = ROOT_SERVERS [INFO] [stdout] 64 | | .choose(&mut rand::rng()) [INFO] [stdout] ... | [INFO] [stdout] 102 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: required for `Unique>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/main.rs:61:86 [INFO] [stdout] | [INFO] [stdout] 61 | async fn recursive_lookup(qname: &Qname, qtype: QueryType) -> io::Result { [INFO] [stdout] | ______________________________________________________________________________________^ [INFO] [stdout] 62 | | use rand::prelude::IndexedRandom; [INFO] [stdout] 63 | | let mut ns = ROOT_SERVERS [INFO] [stdout] 64 | | .choose(&mut rand::rng()) [INFO] [stdout] ... | [INFO] [stdout] 102 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: required for `Unique>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/main.rs:61:86 [INFO] [stdout] | [INFO] [stdout] 61 | async fn recursive_lookup(qname: &Qname, qtype: QueryType) -> io::Result { [INFO] [stdout] | ______________________________________________________________________________________^ [INFO] [stdout] 62 | | use rand::prelude::IndexedRandom; [INFO] [stdout] 63 | | let mut ns = ROOT_SERVERS [INFO] [stdout] 64 | | .choose(&mut rand::rng()) [INFO] [stdout] ... | [INFO] [stdout] 102 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: required for `Unique>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/main.rs:61:86 [INFO] [stdout] | [INFO] [stdout] 61 | async fn recursive_lookup(qname: &Qname, qtype: QueryType) -> io::Result { [INFO] [stdout] | ______________________________________________________________________________________^ [INFO] [stdout] 62 | | use rand::prelude::IndexedRandom; [INFO] [stdout] 63 | | let mut ns = ROOT_SERVERS [INFO] [stdout] 64 | | .choose(&mut rand::rng()) [INFO] [stdout] ... | [INFO] [stdout] 102 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: required for `Unique>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/main.rs:61:86 [INFO] [stdout] | [INFO] [stdout] 61 | async fn recursive_lookup(qname: &Qname, qtype: QueryType) -> io::Result { [INFO] [stdout] | ______________________________________________________________________________________^ [INFO] [stdout] 62 | | use rand::prelude::IndexedRandom; [INFO] [stdout] 63 | | let mut ns = ROOT_SERVERS [INFO] [stdout] 64 | | .choose(&mut rand::rng()) [INFO] [stdout] ... | [INFO] [stdout] 102 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: required for `Unique>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/main.rs:61:86 [INFO] [stdout] | [INFO] [stdout] 61 | async fn recursive_lookup(qname: &Qname, qtype: QueryType) -> io::Result { [INFO] [stdout] | ______________________________________________________________________________________^ [INFO] [stdout] 62 | | use rand::prelude::IndexedRandom; [INFO] [stdout] 63 | | let mut ns = ROOT_SERVERS [INFO] [stdout] 64 | | .choose(&mut rand::rng()) [INFO] [stdout] ... | [INFO] [stdout] 102 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: required for `Unique>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/main.rs:61:86 [INFO] [stdout] | [INFO] [stdout] 61 | async fn recursive_lookup(qname: &Qname, qtype: QueryType) -> io::Result { [INFO] [stdout] | ______________________________________________________________________________________^ [INFO] [stdout] 62 | | use rand::prelude::IndexedRandom; [INFO] [stdout] 63 | | let mut ns = ROOT_SERVERS [INFO] [stdout] 64 | | .choose(&mut rand::rng()) [INFO] [stdout] ... | [INFO] [stdout] 102 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: required for `Unique>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/main.rs:61:86 [INFO] [stdout] | [INFO] [stdout] 61 | async fn recursive_lookup(qname: &Qname, qtype: QueryType) -> io::Result { [INFO] [stdout] | ______________________________________________________________________________________^ [INFO] [stdout] 62 | | use rand::prelude::IndexedRandom; [INFO] [stdout] 63 | | let mut ns = ROOT_SERVERS [INFO] [stdout] 64 | | .choose(&mut rand::rng()) [INFO] [stdout] ... | [INFO] [stdout] 102 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: required for `Unique>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/main.rs:61:86 [INFO] [stdout] | [INFO] [stdout] 61 | async fn recursive_lookup(qname: &Qname, qtype: QueryType) -> io::Result { [INFO] [stdout] | ______________________________________________________________________________________^ [INFO] [stdout] 62 | | use rand::prelude::IndexedRandom; [INFO] [stdout] 63 | | let mut ns = ROOT_SERVERS [INFO] [stdout] 64 | | .choose(&mut rand::rng()) [INFO] [stdout] ... | [INFO] [stdout] 102 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: required for `Unique>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/main.rs:61:86 [INFO] [stdout] | [INFO] [stdout] 61 | async fn recursive_lookup(qname: &Qname, qtype: QueryType) -> io::Result { [INFO] [stdout] | ______________________________________________________________________________________^ [INFO] [stdout] 62 | | use rand::prelude::IndexedRandom; [INFO] [stdout] 63 | | let mut ns = ROOT_SERVERS [INFO] [stdout] 64 | | .choose(&mut rand::rng()) [INFO] [stdout] ... | [INFO] [stdout] 102 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: required for `Unique>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/main.rs:61:86 [INFO] [stdout] | [INFO] [stdout] 61 | async fn recursive_lookup(qname: &Qname, qtype: QueryType) -> io::Result { [INFO] [stdout] | ______________________________________________________________________________________^ [INFO] [stdout] 62 | | use rand::prelude::IndexedRandom; [INFO] [stdout] 63 | | let mut ns = ROOT_SERVERS [INFO] [stdout] 64 | | .choose(&mut rand::rng()) [INFO] [stdout] ... | [INFO] [stdout] 102 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: required for `Unique>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/main.rs:61:86 [INFO] [stdout] | [INFO] [stdout] 61 | async fn recursive_lookup(qname: &Qname, qtype: QueryType) -> io::Result { [INFO] [stdout] | ______________________________________________________________________________________^ [INFO] [stdout] 62 | | use rand::prelude::IndexedRandom; [INFO] [stdout] 63 | | let mut ns = ROOT_SERVERS [INFO] [stdout] 64 | | .choose(&mut rand::rng()) [INFO] [stdout] ... | [INFO] [stdout] 102 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: required for `Unique>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/main.rs:61:86 [INFO] [stdout] | [INFO] [stdout] 61 | async fn recursive_lookup(qname: &Qname, qtype: QueryType) -> io::Result { [INFO] [stdout] | ______________________________________________________________________________________^ [INFO] [stdout] 62 | | use rand::prelude::IndexedRandom; [INFO] [stdout] 63 | | let mut ns = ROOT_SERVERS [INFO] [stdout] 64 | | .choose(&mut rand::rng()) [INFO] [stdout] ... | [INFO] [stdout] 102 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: required for `Unique>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/main.rs:61:86 [INFO] [stdout] | [INFO] [stdout] 61 | async fn recursive_lookup(qname: &Qname, qtype: QueryType) -> io::Result { [INFO] [stdout] | ______________________________________________________________________________________^ [INFO] [stdout] 62 | | use rand::prelude::IndexedRandom; [INFO] [stdout] 63 | | let mut ns = ROOT_SERVERS [INFO] [stdout] 64 | | .choose(&mut rand::rng()) [INFO] [stdout] ... | [INFO] [stdout] 102 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: required for `Unique>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/main.rs:61:86 [INFO] [stdout] | [INFO] [stdout] 61 | async fn recursive_lookup(qname: &Qname, qtype: QueryType) -> io::Result { [INFO] [stdout] | ______________________________________________________________________________________^ [INFO] [stdout] 62 | | use rand::prelude::IndexedRandom; [INFO] [stdout] 63 | | let mut ns = ROOT_SERVERS [INFO] [stdout] 64 | | .choose(&mut rand::rng()) [INFO] [stdout] ... | [INFO] [stdout] 102 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: required for `Unique>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/main.rs:61:86 [INFO] [stdout] | [INFO] [stdout] 61 | async fn recursive_lookup(qname: &Qname, qtype: QueryType) -> io::Result { [INFO] [stdout] | ______________________________________________________________________________________^ [INFO] [stdout] 62 | | use rand::prelude::IndexedRandom; [INFO] [stdout] 63 | | let mut ns = ROOT_SERVERS [INFO] [stdout] 64 | | .choose(&mut rand::rng()) [INFO] [stdout] ... | [INFO] [stdout] 102 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: required for `Unique>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/main.rs:61:86 [INFO] [stdout] | [INFO] [stdout] 61 | async fn recursive_lookup(qname: &Qname, qtype: QueryType) -> io::Result { [INFO] [stdout] | ______________________________________________________________________________________^ [INFO] [stdout] 62 | | use rand::prelude::IndexedRandom; [INFO] [stdout] 63 | | let mut ns = ROOT_SERVERS [INFO] [stdout] 64 | | .choose(&mut rand::rng()) [INFO] [stdout] ... | [INFO] [stdout] 102 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: required for `Unique>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/main.rs:61:86 [INFO] [stdout] | [INFO] [stdout] 61 | async fn recursive_lookup(qname: &Qname, qtype: QueryType) -> io::Result { [INFO] [stdout] | ______________________________________________________________________________________^ [INFO] [stdout] 62 | | use rand::prelude::IndexedRandom; [INFO] [stdout] 63 | | let mut ns = ROOT_SERVERS [INFO] [stdout] 64 | | .choose(&mut rand::rng()) [INFO] [stdout] ... | [INFO] [stdout] 102 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: required for `Unique>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/main.rs:61:86 [INFO] [stdout] | [INFO] [stdout] 61 | async fn recursive_lookup(qname: &Qname, qtype: QueryType) -> io::Result { [INFO] [stdout] | ______________________________________________________________________________________^ [INFO] [stdout] 62 | | use rand::prelude::IndexedRandom; [INFO] [stdout] 63 | | let mut ns = ROOT_SERVERS [INFO] [stdout] 64 | | .choose(&mut rand::rng()) [INFO] [stdout] ... | [INFO] [stdout] 102 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: required for `Unique>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/main.rs:61:86 [INFO] [stdout] | [INFO] [stdout] 61 | async fn recursive_lookup(qname: &Qname, qtype: QueryType) -> io::Result { [INFO] [stdout] | ______________________________________________________________________________________^ [INFO] [stdout] 62 | | use rand::prelude::IndexedRandom; [INFO] [stdout] 63 | | let mut ns = ROOT_SERVERS [INFO] [stdout] 64 | | .choose(&mut rand::rng()) [INFO] [stdout] ... | [INFO] [stdout] 102 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: required for `Unique>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/main.rs:61:86 [INFO] [stdout] | [INFO] [stdout] 61 | async fn recursive_lookup(qname: &Qname, qtype: QueryType) -> io::Result { [INFO] [stdout] | ______________________________________________________________________________________^ [INFO] [stdout] 62 | | use rand::prelude::IndexedRandom; [INFO] [stdout] 63 | | let mut ns = ROOT_SERVERS [INFO] [stdout] 64 | | .choose(&mut rand::rng()) [INFO] [stdout] ... | [INFO] [stdout] 102 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: required for `Unique>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/main.rs:61:86 [INFO] [stdout] | [INFO] [stdout] 61 | async fn recursive_lookup(qname: &Qname, qtype: QueryType) -> io::Result { [INFO] [stdout] | ______________________________________________________________________________________^ [INFO] [stdout] 62 | | use rand::prelude::IndexedRandom; [INFO] [stdout] 63 | | let mut ns = ROOT_SERVERS [INFO] [stdout] 64 | | .choose(&mut rand::rng()) [INFO] [stdout] ... | [INFO] [stdout] 102 | | } [INFO] [stdout] | |_^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/main.rs:104:91 [INFO] [stdout] | [INFO] [stdout] 104 | async fn handle_query(msg_buf: [u8; MAX_DNS_MSG_SIZE], len: usize) -> io::Result> { [INFO] [stdout] | ___________________________________________________________________________________________^ [INFO] [stdout] 105 | | let msg_buf = &msg_buf[..len]; [INFO] [stdout] 106 | | let byte_buffer = ByteBuffer::new(msg_buf); [INFO] [stdout] ... | [INFO] [stdout] 145 | | Ok(res_buffer) [INFO] [stdout] 146 | | } [INFO] [stdout] | |_^ [INFO] [stdout] note: required because it's used within this `async` block [INFO] [stdout] --> src/main.rs:163:22 [INFO] [stdout] | [INFO] [stdout] 163 | tokio::spawn(async move { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/custom_dns_server-f96d08c3e74ce9fc.long-type-7313968952499956122.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0275]: overflow evaluating the requirement `&runtime::io::registration::Registration: Send` [INFO] [stdout] --> src/main.rs:163:9 [INFO] [stdout] | [INFO] [stdout] 163 | / tokio::spawn(async move { [INFO] [stdout] 164 | | match handle_query(msg_buf, len).await { [INFO] [stdout] 165 | | Ok(result) => { [INFO] [stdout] 166 | | if let Err(err) = socket.send_to(&result, src).await { [INFO] [stdout] ... | [INFO] [stdout] 174 | | }); [INFO] [stdout] | |__________^ [INFO] [stdout] | [INFO] [stdout] = help: consider increasing the recursion limit by adding a `#![recursion_limit = "256"]` attribute to your crate (`custom_dns_server`) [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.1/src/runtime/io/registration.rs:218:24 [INFO] [stdout] | [INFO] [stdout] 218 | ) -> io::Result { [INFO] [stdout] | ________________________^ [INFO] [stdout] 219 | | loop { [INFO] [stdout] 220 | | let event = self.readiness(interest).await?; [INFO] [stdout] ... | [INFO] [stdout] 234 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.1/src/net/udp.rs:1267:87 [INFO] [stdout] | [INFO] [stdout] 1267 | async fn send_to_addr(&self, buf: &[u8], target: SocketAddr) -> io::Result { [INFO] [stdout] | _______________________________________________________________________________________^ [INFO] [stdout] 1268 | | self.io [INFO] [stdout] 1269 | | .registration() [INFO] [stdout] 1270 | | .async_io(Interest::WRITABLE, || self.io.send_to(buf, target)) [INFO] [stdout] 1271 | | .await [INFO] [stdout] 1272 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.1/src/net/udp.rs:1174:93 [INFO] [stdout] | [INFO] [stdout] 1174 | pub async fn send_to(&self, buf: &[u8], addr: A) -> io::Result { [INFO] [stdout] | _____________________________________________________________________________________________^ [INFO] [stdout] 1175 | | let mut addrs = to_socket_addrs(addr).await?; [INFO] [stdout] 1176 | | [INFO] [stdout] 1177 | | match addrs.next() { [INFO] [stdout] ... | [INFO] [stdout] 1184 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/main.rs:21:29 [INFO] [stdout] | [INFO] [stdout] 21 | ) -> io::Result { [INFO] [stdout] | _____________________________^ [INFO] [stdout] 22 | | let socket = UdpSocket::bind(("0.0.0.0", 0)).await?; [INFO] [stdout] 23 | | [INFO] [stdout] 24 | | let mut packet = DnsMessage::new(); [INFO] [stdout] ... | [INFO] [stdout] 42 | | Ok(packet) [INFO] [stdout] 43 | | } [INFO] [stdout] | |_^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/main.rs:61:86 [INFO] [stdout] | [INFO] [stdout] 61 | async fn recursive_lookup(qname: &Qname, qtype: QueryType) -> io::Result { [INFO] [stdout] | ______________________________________________________________________________________^ [INFO] [stdout] 62 | | use rand::prelude::IndexedRandom; [INFO] [stdout] 63 | | let mut ns = ROOT_SERVERS [INFO] [stdout] 64 | | .choose(&mut rand::rng()) [INFO] [stdout] ... | [INFO] [stdout] 102 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: required for `Unique>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/main.rs:61:86 [INFO] [stdout] | [INFO] [stdout] 61 | async fn recursive_lookup(qname: &Qname, qtype: QueryType) -> io::Result { [INFO] [stdout] | ______________________________________________________________________________________^ [INFO] [stdout] 62 | | use rand::prelude::IndexedRandom; [INFO] [stdout] 63 | | let mut ns = ROOT_SERVERS [INFO] [stdout] 64 | | .choose(&mut rand::rng()) [INFO] [stdout] ... | [INFO] [stdout] 102 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: required for `Unique>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/main.rs:61:86 [INFO] [stdout] | [INFO] [stdout] 61 | async fn recursive_lookup(qname: &Qname, qtype: QueryType) -> io::Result { [INFO] [stdout] | ______________________________________________________________________________________^ [INFO] [stdout] 62 | | use rand::prelude::IndexedRandom; [INFO] [stdout] 63 | | let mut ns = ROOT_SERVERS [INFO] [stdout] 64 | | .choose(&mut rand::rng()) [INFO] [stdout] ... | [INFO] [stdout] 102 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: required for `Unique>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/main.rs:61:86 [INFO] [stdout] | [INFO] [stdout] 61 | async fn recursive_lookup(qname: &Qname, qtype: QueryType) -> io::Result { [INFO] [stdout] | ______________________________________________________________________________________^ [INFO] [stdout] 62 | | use rand::prelude::IndexedRandom; [INFO] [stdout] 63 | | let mut ns = ROOT_SERVERS [INFO] [stdout] 64 | | .choose(&mut rand::rng()) [INFO] [stdout] ... | [INFO] [stdout] 102 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: required for `Unique>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/main.rs:61:86 [INFO] [stdout] | [INFO] [stdout] 61 | async fn recursive_lookup(qname: &Qname, qtype: QueryType) -> io::Result { [INFO] [stdout] | ______________________________________________________________________________________^ [INFO] [stdout] 62 | | use rand::prelude::IndexedRandom; [INFO] [stdout] 63 | | let mut ns = ROOT_SERVERS [INFO] [stdout] 64 | | .choose(&mut rand::rng()) [INFO] [stdout] ... | [INFO] [stdout] 102 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: required for `Unique>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/main.rs:61:86 [INFO] [stdout] | [INFO] [stdout] 61 | async fn recursive_lookup(qname: &Qname, qtype: QueryType) -> io::Result { [INFO] [stdout] | ______________________________________________________________________________________^ [INFO] [stdout] 62 | | use rand::prelude::IndexedRandom; [INFO] [stdout] 63 | | let mut ns = ROOT_SERVERS [INFO] [stdout] 64 | | .choose(&mut rand::rng()) [INFO] [stdout] ... | [INFO] [stdout] 102 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: required for `Unique>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/main.rs:61:86 [INFO] [stdout] | [INFO] [stdout] 61 | async fn recursive_lookup(qname: &Qname, qtype: QueryType) -> io::Result { [INFO] [stdout] | ______________________________________________________________________________________^ [INFO] [stdout] 62 | | use rand::prelude::IndexedRandom; [INFO] [stdout] 63 | | let mut ns = ROOT_SERVERS [INFO] [stdout] 64 | | .choose(&mut rand::rng()) [INFO] [stdout] ... | [INFO] [stdout] 102 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: required for `Unique>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/main.rs:61:86 [INFO] [stdout] | [INFO] [stdout] 61 | async fn recursive_lookup(qname: &Qname, qtype: QueryType) -> io::Result { [INFO] [stdout] | ______________________________________________________________________________________^ [INFO] [stdout] 62 | | use rand::prelude::IndexedRandom; [INFO] [stdout] 63 | | let mut ns = ROOT_SERVERS [INFO] [stdout] 64 | | .choose(&mut rand::rng()) [INFO] [stdout] ... | [INFO] [stdout] 102 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: required for `Unique>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/main.rs:61:86 [INFO] [stdout] | [INFO] [stdout] 61 | async fn recursive_lookup(qname: &Qname, qtype: QueryType) -> io::Result { [INFO] [stdout] | ______________________________________________________________________________________^ [INFO] [stdout] 62 | | use rand::prelude::IndexedRandom; [INFO] [stdout] 63 | | let mut ns = ROOT_SERVERS [INFO] [stdout] 64 | | .choose(&mut rand::rng()) [INFO] [stdout] ... | [INFO] [stdout] 102 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: required for `Unique>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/main.rs:61:86 [INFO] [stdout] | [INFO] [stdout] 61 | async fn recursive_lookup(qname: &Qname, qtype: QueryType) -> io::Result { [INFO] [stdout] | ______________________________________________________________________________________^ [INFO] [stdout] 62 | | use rand::prelude::IndexedRandom; [INFO] [stdout] 63 | | let mut ns = ROOT_SERVERS [INFO] [stdout] 64 | | .choose(&mut rand::rng()) [INFO] [stdout] ... | [INFO] [stdout] 102 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: required for `Unique>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/main.rs:61:86 [INFO] [stdout] | [INFO] [stdout] 61 | async fn recursive_lookup(qname: &Qname, qtype: QueryType) -> io::Result { [INFO] [stdout] | ______________________________________________________________________________________^ [INFO] [stdout] 62 | | use rand::prelude::IndexedRandom; [INFO] [stdout] 63 | | let mut ns = ROOT_SERVERS [INFO] [stdout] 64 | | .choose(&mut rand::rng()) [INFO] [stdout] ... | [INFO] [stdout] 102 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: required for `Unique>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/main.rs:61:86 [INFO] [stdout] | [INFO] [stdout] 61 | async fn recursive_lookup(qname: &Qname, qtype: QueryType) -> io::Result { [INFO] [stdout] | ______________________________________________________________________________________^ [INFO] [stdout] 62 | | use rand::prelude::IndexedRandom; [INFO] [stdout] 63 | | let mut ns = ROOT_SERVERS [INFO] [stdout] 64 | | .choose(&mut rand::rng()) [INFO] [stdout] ... | [INFO] [stdout] 102 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: required for `Unique>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/main.rs:61:86 [INFO] [stdout] | [INFO] [stdout] 61 | async fn recursive_lookup(qname: &Qname, qtype: QueryType) -> io::Result { [INFO] [stdout] | ______________________________________________________________________________________^ [INFO] [stdout] 62 | | use rand::prelude::IndexedRandom; [INFO] [stdout] 63 | | let mut ns = ROOT_SERVERS [INFO] [stdout] 64 | | .choose(&mut rand::rng()) [INFO] [stdout] ... | [INFO] [stdout] 102 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: required for `Unique>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/main.rs:61:86 [INFO] [stdout] | [INFO] [stdout] 61 | async fn recursive_lookup(qname: &Qname, qtype: QueryType) -> io::Result { [INFO] [stdout] | ______________________________________________________________________________________^ [INFO] [stdout] 62 | | use rand::prelude::IndexedRandom; [INFO] [stdout] 63 | | let mut ns = ROOT_SERVERS [INFO] [stdout] 64 | | .choose(&mut rand::rng()) [INFO] [stdout] ... | [INFO] [stdout] 102 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: required for `Unique>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/main.rs:61:86 [INFO] [stdout] | [INFO] [stdout] 61 | async fn recursive_lookup(qname: &Qname, qtype: QueryType) -> io::Result { [INFO] [stdout] | ______________________________________________________________________________________^ [INFO] [stdout] 62 | | use rand::prelude::IndexedRandom; [INFO] [stdout] 63 | | let mut ns = ROOT_SERVERS [INFO] [stdout] 64 | | .choose(&mut rand::rng()) [INFO] [stdout] ... | [INFO] [stdout] 102 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: required for `Unique>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/main.rs:61:86 [INFO] [stdout] | [INFO] [stdout] 61 | async fn recursive_lookup(qname: &Qname, qtype: QueryType) -> io::Result { [INFO] [stdout] | ______________________________________________________________________________________^ [INFO] [stdout] 62 | | use rand::prelude::IndexedRandom; [INFO] [stdout] 63 | | let mut ns = ROOT_SERVERS [INFO] [stdout] 64 | | .choose(&mut rand::rng()) [INFO] [stdout] ... | [INFO] [stdout] 102 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: required for `Unique>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/main.rs:61:86 [INFO] [stdout] | [INFO] [stdout] 61 | async fn recursive_lookup(qname: &Qname, qtype: QueryType) -> io::Result { [INFO] [stdout] | ______________________________________________________________________________________^ [INFO] [stdout] 62 | | use rand::prelude::IndexedRandom; [INFO] [stdout] 63 | | let mut ns = ROOT_SERVERS [INFO] [stdout] 64 | | .choose(&mut rand::rng()) [INFO] [stdout] ... | [INFO] [stdout] 102 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: required for `Unique>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/main.rs:61:86 [INFO] [stdout] | [INFO] [stdout] 61 | async fn recursive_lookup(qname: &Qname, qtype: QueryType) -> io::Result { [INFO] [stdout] | ______________________________________________________________________________________^ [INFO] [stdout] 62 | | use rand::prelude::IndexedRandom; [INFO] [stdout] 63 | | let mut ns = ROOT_SERVERS [INFO] [stdout] 64 | | .choose(&mut rand::rng()) [INFO] [stdout] ... | [INFO] [stdout] 102 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: required for `Unique>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/main.rs:61:86 [INFO] [stdout] | [INFO] [stdout] 61 | async fn recursive_lookup(qname: &Qname, qtype: QueryType) -> io::Result { [INFO] [stdout] | ______________________________________________________________________________________^ [INFO] [stdout] 62 | | use rand::prelude::IndexedRandom; [INFO] [stdout] 63 | | let mut ns = ROOT_SERVERS [INFO] [stdout] 64 | | .choose(&mut rand::rng()) [INFO] [stdout] ... | [INFO] [stdout] 102 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: required for `Unique>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/main.rs:61:86 [INFO] [stdout] | [INFO] [stdout] 61 | async fn recursive_lookup(qname: &Qname, qtype: QueryType) -> io::Result { [INFO] [stdout] | ______________________________________________________________________________________^ [INFO] [stdout] 62 | | use rand::prelude::IndexedRandom; [INFO] [stdout] 63 | | let mut ns = ROOT_SERVERS [INFO] [stdout] 64 | | .choose(&mut rand::rng()) [INFO] [stdout] ... | [INFO] [stdout] 102 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: required for `Unique>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/main.rs:61:86 [INFO] [stdout] | [INFO] [stdout] 61 | async fn recursive_lookup(qname: &Qname, qtype: QueryType) -> io::Result { [INFO] [stdout] | ______________________________________________________________________________________^ [INFO] [stdout] 62 | | use rand::prelude::IndexedRandom; [INFO] [stdout] 63 | | let mut ns = ROOT_SERVERS [INFO] [stdout] 64 | | .choose(&mut rand::rng()) [INFO] [stdout] ... | [INFO] [stdout] 102 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: required for `Unique>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/main.rs:61:86 [INFO] [stdout] | [INFO] [stdout] 61 | async fn recursive_lookup(qname: &Qname, qtype: QueryType) -> io::Result { [INFO] [stdout] | ______________________________________________________________________________________^ [INFO] [stdout] 62 | | use rand::prelude::IndexedRandom; [INFO] [stdout] 63 | | let mut ns = ROOT_SERVERS [INFO] [stdout] 64 | | .choose(&mut rand::rng()) [INFO] [stdout] ... | [INFO] [stdout] 102 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: required for `Unique>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/main.rs:61:86 [INFO] [stdout] | [INFO] [stdout] 61 | async fn recursive_lookup(qname: &Qname, qtype: QueryType) -> io::Result { [INFO] [stdout] | ______________________________________________________________________________________^ [INFO] [stdout] 62 | | use rand::prelude::IndexedRandom; [INFO] [stdout] 63 | | let mut ns = ROOT_SERVERS [INFO] [stdout] 64 | | .choose(&mut rand::rng()) [INFO] [stdout] ... | [INFO] [stdout] 102 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: required for `Unique>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/main.rs:61:86 [INFO] [stdout] | [INFO] [stdout] 61 | async fn recursive_lookup(qname: &Qname, qtype: QueryType) -> io::Result { [INFO] [stdout] | ______________________________________________________________________________________^ [INFO] [stdout] 62 | | use rand::prelude::IndexedRandom; [INFO] [stdout] 63 | | let mut ns = ROOT_SERVERS [INFO] [stdout] 64 | | .choose(&mut rand::rng()) [INFO] [stdout] ... | [INFO] [stdout] 102 | | } [INFO] [stdout] | |_^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/main.rs:104:91 [INFO] [stdout] | [INFO] [stdout] 104 | async fn handle_query(msg_buf: [u8; MAX_DNS_MSG_SIZE], len: usize) -> io::Result> { [INFO] [stdout] | ___________________________________________________________________________________________^ [INFO] [stdout] 105 | | let msg_buf = &msg_buf[..len]; [INFO] [stdout] 106 | | let byte_buffer = ByteBuffer::new(msg_buf); [INFO] [stdout] ... | [INFO] [stdout] 145 | | Ok(res_buffer) [INFO] [stdout] 146 | | } [INFO] [stdout] | |_^ [INFO] [stdout] note: required because it's used within this `async` block [INFO] [stdout] --> src/main.rs:163:22 [INFO] [stdout] | [INFO] [stdout] 163 | tokio::spawn(async move { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] note: required by a bound in `tokio::spawn` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.1/src/task/spawn.rs:168:21 [INFO] [stdout] | [INFO] [stdout] 166 | pub fn spawn(future: F) -> JoinHandle [INFO] [stdout] | ----- required by a bound in this function [INFO] [stdout] 167 | where [INFO] [stdout] 168 | F: Future + Send + 'static, [INFO] [stdout] | ^^^^ required by this bound in `spawn` [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/custom_dns_server-f96d08c3e74ce9fc.long-type-7313968952499956122.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0275`. [INFO] [stdout] [INFO] [stderr] error: could not compile `custom-dns-server` (bin "custom-dns-server") due to 2 previous errors [INFO] running `Command { std: "docker" "inspect" "3cb8aa09bd15fbcb4b49074dc2b5a4e4fac82a2263e78c4bfbe1dd50d1988efd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3cb8aa09bd15fbcb4b49074dc2b5a4e4fac82a2263e78c4bfbe1dd50d1988efd", kill_on_drop: false }` [INFO] [stdout] 3cb8aa09bd15fbcb4b49074dc2b5a4e4fac82a2263e78c4bfbe1dd50d1988efd