[INFO] cloning repository https://github.com/GS-Mafra/codecrafters-redis-rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/GS-Mafra/codecrafters-redis-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FGS-Mafra%2Fcodecrafters-redis-rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FGS-Mafra%2Fcodecrafters-redis-rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 4930c4557df9ed1b7581c358c4ec217cd9bfd42e [INFO] checking GS-Mafra/codecrafters-redis-rust against try#028201683a76a5cd349729c6819c46607119c4e8 for pr-144157 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FGS-Mafra%2Fcodecrafters-redis-rust" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/GS-Mafra/codecrafters-redis-rust [INFO] finished tweaking git repo https://github.com/GS-Mafra/codecrafters-redis-rust [INFO] tweaked toml for git repo https://github.com/GS-Mafra/codecrafters-redis-rust written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/GS-Mafra/codecrafters-redis-rust 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/GS-Mafra/codecrafters-redis-rust 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-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:cf8efcab8866f2cf4285301c7418e2f4f2a9b088c91ba69c40d5b659f81557f7" "/opt/rustwide/cargo-home/bin/cargo" "+028201683a76a5cd349729c6819c46607119c4e8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 888dbbf4caad45d8daacb047c3a658940cb1eee52e650c969a23377a6fc68f5f [INFO] running `Command { std: "docker" "start" "-a" "888dbbf4caad45d8daacb047c3a658940cb1eee52e650c969a23377a6fc68f5f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "888dbbf4caad45d8daacb047c3a658940cb1eee52e650c969a23377a6fc68f5f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "888dbbf4caad45d8daacb047c3a658940cb1eee52e650c969a23377a6fc68f5f", kill_on_drop: false }` [INFO] [stdout] 888dbbf4caad45d8daacb047c3a658940cb1eee52e650c969a23377a6fc68f5f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-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] 0de07c92ff7616a38181fdc6a6f1e28277a7b837bd0dae6cd5c85f1113e8e5b3 [INFO] running `Command { std: "docker" "start" "-a" "0de07c92ff7616a38181fdc6a6f1e28277a7b837bd0dae6cd5c85f1113e8e5b3", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.81 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling libc v0.2.154 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Checking once_cell v1.19.0 [INFO] [stderr] Checking smallvec v1.10.0 [INFO] [stderr] Checking regex-syntax v0.8.3 [INFO] [stderr] Checking regex-syntax v0.6.29 [INFO] [stderr] Checking pin-project-lite v0.2.14 [INFO] [stderr] Checking overload v0.1.1 [INFO] [stderr] Compiling crossbeam-utils v0.8.19 [INFO] [stderr] Checking utf8parse v0.2.1 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking log v0.4.21 [INFO] [stderr] Compiling parking_lot_core v0.9.5 [INFO] [stderr] Checking anstyle-query v1.0.3 [INFO] [stderr] Checking nu-ansi-term v0.46.0 [INFO] [stderr] Checking sharded-slab v0.1.7 [INFO] [stderr] Checking is_terminal_polyfill v1.70.0 [INFO] [stderr] Checking powerfmt v0.2.0 [INFO] [stderr] Checking anstyle-parse v0.2.4 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Checking anstyle v1.0.7 [INFO] [stderr] Checking colorchoice v1.0.1 [INFO] [stderr] Compiling thiserror v1.0.59 [INFO] [stderr] Checking deranged v0.3.11 [INFO] [stderr] Checking tracing-core v0.1.32 [INFO] [stderr] Checking thread_local v1.1.8 [INFO] [stderr] Checking itoa v1.0.11 [INFO] [stderr] Checking clap_lex v0.7.0 [INFO] [stderr] Checking ppv-lite86 v0.2.17 [INFO] [stderr] Checking num-conv v0.1.0 [INFO] [stderr] Checking time-core v0.1.2 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking anstream v0.6.14 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Checking strsim v0.11.1 [INFO] [stderr] Compiling anyhow v1.0.82 [INFO] [stderr] Checking iana-time-zone v0.1.60 [INFO] [stderr] Checking bytes v1.6.0 [INFO] [stderr] Checking clap_builder v4.5.2 [INFO] [stderr] Checking hex v0.4.3 [INFO] [stderr] Checking glob-match v0.2.1 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling num-traits v0.2.18 [INFO] [stderr] Checking tracing-log v0.2.0 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Checking either v1.12.0 [INFO] [stderr] Checking diff v0.1.13 [INFO] [stderr] Checking yansi v0.5.1 [INFO] [stderr] Checking time v0.3.36 [INFO] [stderr] Checking crossbeam-channel v0.5.12 [INFO] [stderr] Compiling syn v2.0.60 [INFO] [stderr] Checking pretty_assertions v1.4.0 [INFO] [stderr] Checking regex-automata v0.1.10 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Checking socket2 v0.5.7 [INFO] [stderr] Checking signal-hook-registry v1.2.2 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking mio v0.8.11 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking regex-automata v0.4.6 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking chrono v0.4.38 [INFO] [stderr] Checking atoi v2.0.0 [INFO] [stderr] Checking matchers v0.1.0 [INFO] [stderr] Checking regex v1.10.4 [INFO] [stderr] Compiling tracing-test-macro v0.2.4 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling thiserror-impl v1.0.59 [INFO] [stderr] Compiling tokio-macros v2.2.0 [INFO] [stderr] Compiling clap_derive v4.5.4 [INFO] [stderr] Checking tokio v1.37.0 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Checking tracing-subscriber v0.3.18 [INFO] [stderr] Checking clap v4.5.4 [INFO] [stderr] Checking tracing-appender v0.2.3 [INFO] [stderr] Checking tracing-test v0.2.4 [INFO] [stderr] Checking redis-starter-rust v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/db/mod.rs:94:16 [INFO] [stdout] | [INFO] [stdout] 94 | pub fn get(&self, get: &crate::commands::Get) -> Option { [INFO] [stdout] | ^^^^^ the lifetime is elided here --------- the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 94 | pub fn get(&self, get: &crate::commands::Get) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/db/mod.rs:94:16 [INFO] [stdout] | [INFO] [stdout] 94 | pub fn get(&self, get: &crate::commands::Get) -> Option { [INFO] [stdout] | ^^^^^ the lifetime is elided here --------- the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 94 | pub fn get(&self, get: &crate::commands::Get) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0275]: overflow evaluating the requirement `(&mut Handler, &str, char): Send` [INFO] [stdout] | [INFO] [stdout] = help: consider increasing the recursion limit by adding a `#![recursion_limit = "256"]` attribute to your crate (`redis_starter_rust`) [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> /opt/rustwide/workdir/src/handler.rs:111:84 [INFO] [stdout] | [INFO] [stdout] 111 | async fn write_simple(&mut self, simple: &str, c: char) -> std::io::Result<()> { [INFO] [stdout] | ____________________________________________________________________________________^ [INFO] [stdout] 112 | | self.writer.write_u8(c as u8).await?; [INFO] [stdout] 113 | | self.writer.write_all(simple.as_bytes()).await?; [INFO] [stdout] 114 | | self.writer.write_all(b"\r\n").await?; [INFO] [stdout] 115 | | Ok(()) [INFO] [stdout] 116 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> /opt/rustwide/workdir/src/handler.rs:70:71 [INFO] [stdout] | [INFO] [stdout] 70 | pub async fn write(&mut self, resp: &Resp) -> std::io::Result<()> { [INFO] [stdout] | _______________________________________________________________________^ [INFO] [stdout] 71 | | tracing::debug!("Writing: {resp:?}"); [INFO] [stdout] 72 | | match resp { [INFO] [stdout] 73 | | Resp::Simple(inner) => self.write_simple(inner, '+').await?, [INFO] [stdout] ... | [INFO] [stdout] 95 | | Ok(()) [INFO] [stdout] 96 | | } [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] --> /opt/rustwide/workdir/src/handler.rs:70:71 [INFO] [stdout] | [INFO] [stdout] 70 | pub async fn write(&mut self, resp: &Resp) -> std::io::Result<()> { [INFO] [stdout] | _______________________________________________________________________^ [INFO] [stdout] 71 | | tracing::debug!("Writing: {resp:?}"); [INFO] [stdout] 72 | | match resp { [INFO] [stdout] 73 | | Resp::Simple(inner) => self.write_simple(inner, '+').await?, [INFO] [stdout] ... | [INFO] [stdout] 95 | | Ok(()) [INFO] [stdout] 96 | | } [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] --> /opt/rustwide/workdir/src/handler.rs:70:71 [INFO] [stdout] | [INFO] [stdout] 70 | pub async fn write(&mut self, resp: &Resp) -> std::io::Result<()> { [INFO] [stdout] | _______________________________________________________________________^ [INFO] [stdout] 71 | | tracing::debug!("Writing: {resp:?}"); [INFO] [stdout] 72 | | match resp { [INFO] [stdout] 73 | | Resp::Simple(inner) => self.write_simple(inner, '+').await?, [INFO] [stdout] ... | [INFO] [stdout] 95 | | Ok(()) [INFO] [stdout] 96 | | } [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] --> /opt/rustwide/workdir/src/handler.rs:70:71 [INFO] [stdout] | [INFO] [stdout] 70 | pub async fn write(&mut self, resp: &Resp) -> std::io::Result<()> { [INFO] [stdout] | _______________________________________________________________________^ [INFO] [stdout] 71 | | tracing::debug!("Writing: {resp:?}"); [INFO] [stdout] 72 | | match resp { [INFO] [stdout] 73 | | Resp::Simple(inner) => self.write_simple(inner, '+').await?, [INFO] [stdout] ... | [INFO] [stdout] 95 | | Ok(()) [INFO] [stdout] 96 | | } [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] --> /opt/rustwide/workdir/src/handler.rs:70:71 [INFO] [stdout] | [INFO] [stdout] 70 | pub async fn write(&mut self, resp: &Resp) -> std::io::Result<()> { [INFO] [stdout] | _______________________________________________________________________^ [INFO] [stdout] 71 | | tracing::debug!("Writing: {resp:?}"); [INFO] [stdout] 72 | | match resp { [INFO] [stdout] 73 | | Resp::Simple(inner) => self.write_simple(inner, '+').await?, [INFO] [stdout] ... | [INFO] [stdout] 95 | | Ok(()) [INFO] [stdout] 96 | | } [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] --> /opt/rustwide/workdir/src/handler.rs:70:71 [INFO] [stdout] | [INFO] [stdout] 70 | pub async fn write(&mut self, resp: &Resp) -> std::io::Result<()> { [INFO] [stdout] | _______________________________________________________________________^ [INFO] [stdout] 71 | | tracing::debug!("Writing: {resp:?}"); [INFO] [stdout] 72 | | match resp { [INFO] [stdout] 73 | | Resp::Simple(inner) => self.write_simple(inner, '+').await?, [INFO] [stdout] ... | [INFO] [stdout] 95 | | Ok(()) [INFO] [stdout] 96 | | } [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] --> /opt/rustwide/workdir/src/handler.rs:70:71 [INFO] [stdout] | [INFO] [stdout] 70 | pub async fn write(&mut self, resp: &Resp) -> std::io::Result<()> { [INFO] [stdout] | _______________________________________________________________________^ [INFO] [stdout] 71 | | tracing::debug!("Writing: {resp:?}"); [INFO] [stdout] 72 | | match resp { [INFO] [stdout] 73 | | Resp::Simple(inner) => self.write_simple(inner, '+').await?, [INFO] [stdout] ... | [INFO] [stdout] 95 | | Ok(()) [INFO] [stdout] 96 | | } [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] --> /opt/rustwide/workdir/src/handler.rs:70:71 [INFO] [stdout] | [INFO] [stdout] 70 | pub async fn write(&mut self, resp: &Resp) -> std::io::Result<()> { [INFO] [stdout] | _______________________________________________________________________^ [INFO] [stdout] 71 | | tracing::debug!("Writing: {resp:?}"); [INFO] [stdout] 72 | | match resp { [INFO] [stdout] 73 | | Resp::Simple(inner) => self.write_simple(inner, '+').await?, [INFO] [stdout] ... | [INFO] [stdout] 95 | | Ok(()) [INFO] [stdout] 96 | | } [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] --> /opt/rustwide/workdir/src/handler.rs:70:71 [INFO] [stdout] | [INFO] [stdout] 70 | pub async fn write(&mut self, resp: &Resp) -> std::io::Result<()> { [INFO] [stdout] | _______________________________________________________________________^ [INFO] [stdout] 71 | | tracing::debug!("Writing: {resp:?}"); [INFO] [stdout] 72 | | match resp { [INFO] [stdout] 73 | | Resp::Simple(inner) => self.write_simple(inner, '+').await?, [INFO] [stdout] ... | [INFO] [stdout] 95 | | Ok(()) [INFO] [stdout] 96 | | } [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] --> /opt/rustwide/workdir/src/handler.rs:70:71 [INFO] [stdout] | [INFO] [stdout] 70 | pub async fn write(&mut self, resp: &Resp) -> std::io::Result<()> { [INFO] [stdout] | _______________________________________________________________________^ [INFO] [stdout] 71 | | tracing::debug!("Writing: {resp:?}"); [INFO] [stdout] 72 | | match resp { [INFO] [stdout] 73 | | Resp::Simple(inner) => self.write_simple(inner, '+').await?, [INFO] [stdout] ... | [INFO] [stdout] 95 | | Ok(()) [INFO] [stdout] 96 | | } [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] --> /opt/rustwide/workdir/src/handler.rs:70:71 [INFO] [stdout] | [INFO] [stdout] 70 | pub async fn write(&mut self, resp: &Resp) -> std::io::Result<()> { [INFO] [stdout] | _______________________________________________________________________^ [INFO] [stdout] 71 | | tracing::debug!("Writing: {resp:?}"); [INFO] [stdout] 72 | | match resp { [INFO] [stdout] 73 | | Resp::Simple(inner) => self.write_simple(inner, '+').await?, [INFO] [stdout] ... | [INFO] [stdout] 95 | | Ok(()) [INFO] [stdout] 96 | | } [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] --> /opt/rustwide/workdir/src/handler.rs:70:71 [INFO] [stdout] | [INFO] [stdout] 70 | pub async fn write(&mut self, resp: &Resp) -> std::io::Result<()> { [INFO] [stdout] | _______________________________________________________________________^ [INFO] [stdout] 71 | | tracing::debug!("Writing: {resp:?}"); [INFO] [stdout] 72 | | match resp { [INFO] [stdout] 73 | | Resp::Simple(inner) => self.write_simple(inner, '+').await?, [INFO] [stdout] ... | [INFO] [stdout] 95 | | Ok(()) [INFO] [stdout] 96 | | } [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] --> /opt/rustwide/workdir/src/handler.rs:70:71 [INFO] [stdout] | [INFO] [stdout] 70 | pub async fn write(&mut self, resp: &Resp) -> std::io::Result<()> { [INFO] [stdout] | _______________________________________________________________________^ [INFO] [stdout] 71 | | tracing::debug!("Writing: {resp:?}"); [INFO] [stdout] 72 | | match resp { [INFO] [stdout] 73 | | Resp::Simple(inner) => self.write_simple(inner, '+').await?, [INFO] [stdout] ... | [INFO] [stdout] 95 | | Ok(()) [INFO] [stdout] 96 | | } [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] --> /opt/rustwide/workdir/src/handler.rs:70:71 [INFO] [stdout] | [INFO] [stdout] 70 | pub async fn write(&mut self, resp: &Resp) -> std::io::Result<()> { [INFO] [stdout] | _______________________________________________________________________^ [INFO] [stdout] 71 | | tracing::debug!("Writing: {resp:?}"); [INFO] [stdout] 72 | | match resp { [INFO] [stdout] 73 | | Resp::Simple(inner) => self.write_simple(inner, '+').await?, [INFO] [stdout] ... | [INFO] [stdout] 95 | | Ok(()) [INFO] [stdout] 96 | | } [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] --> /opt/rustwide/workdir/src/handler.rs:70:71 [INFO] [stdout] | [INFO] [stdout] 70 | pub async fn write(&mut self, resp: &Resp) -> std::io::Result<()> { [INFO] [stdout] | _______________________________________________________________________^ [INFO] [stdout] 71 | | tracing::debug!("Writing: {resp:?}"); [INFO] [stdout] 72 | | match resp { [INFO] [stdout] 73 | | Resp::Simple(inner) => self.write_simple(inner, '+').await?, [INFO] [stdout] ... | [INFO] [stdout] 95 | | Ok(()) [INFO] [stdout] 96 | | } [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] --> /opt/rustwide/workdir/src/handler.rs:70:71 [INFO] [stdout] | [INFO] [stdout] 70 | pub async fn write(&mut self, resp: &Resp) -> std::io::Result<()> { [INFO] [stdout] | _______________________________________________________________________^ [INFO] [stdout] 71 | | tracing::debug!("Writing: {resp:?}"); [INFO] [stdout] 72 | | match resp { [INFO] [stdout] 73 | | Resp::Simple(inner) => self.write_simple(inner, '+').await?, [INFO] [stdout] ... | [INFO] [stdout] 95 | | Ok(()) [INFO] [stdout] 96 | | } [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] --> /opt/rustwide/workdir/src/handler.rs:70:71 [INFO] [stdout] | [INFO] [stdout] 70 | pub async fn write(&mut self, resp: &Resp) -> std::io::Result<()> { [INFO] [stdout] | _______________________________________________________________________^ [INFO] [stdout] 71 | | tracing::debug!("Writing: {resp:?}"); [INFO] [stdout] 72 | | match resp { [INFO] [stdout] 73 | | Resp::Simple(inner) => self.write_simple(inner, '+').await?, [INFO] [stdout] ... | [INFO] [stdout] 95 | | Ok(()) [INFO] [stdout] 96 | | } [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] --> /opt/rustwide/workdir/src/handler.rs:70:71 [INFO] [stdout] | [INFO] [stdout] 70 | pub async fn write(&mut self, resp: &Resp) -> std::io::Result<()> { [INFO] [stdout] | _______________________________________________________________________^ [INFO] [stdout] 71 | | tracing::debug!("Writing: {resp:?}"); [INFO] [stdout] 72 | | match resp { [INFO] [stdout] 73 | | Resp::Simple(inner) => self.write_simple(inner, '+').await?, [INFO] [stdout] ... | [INFO] [stdout] 95 | | Ok(()) [INFO] [stdout] 96 | | } [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] --> /opt/rustwide/workdir/src/handler.rs:70:71 [INFO] [stdout] | [INFO] [stdout] 70 | pub async fn write(&mut self, resp: &Resp) -> std::io::Result<()> { [INFO] [stdout] | _______________________________________________________________________^ [INFO] [stdout] 71 | | tracing::debug!("Writing: {resp:?}"); [INFO] [stdout] 72 | | match resp { [INFO] [stdout] 73 | | Resp::Simple(inner) => self.write_simple(inner, '+').await?, [INFO] [stdout] ... | [INFO] [stdout] 95 | | Ok(()) [INFO] [stdout] 96 | | } [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] --> /opt/rustwide/workdir/src/handler.rs:70:71 [INFO] [stdout] | [INFO] [stdout] 70 | pub async fn write(&mut self, resp: &Resp) -> std::io::Result<()> { [INFO] [stdout] | _______________________________________________________________________^ [INFO] [stdout] 71 | | tracing::debug!("Writing: {resp:?}"); [INFO] [stdout] 72 | | match resp { [INFO] [stdout] 73 | | Resp::Simple(inner) => self.write_simple(inner, '+').await?, [INFO] [stdout] ... | [INFO] [stdout] 95 | | Ok(()) [INFO] [stdout] 96 | | } [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] --> /opt/rustwide/workdir/src/handler.rs:70:71 [INFO] [stdout] | [INFO] [stdout] 70 | pub async fn write(&mut self, resp: &Resp) -> std::io::Result<()> { [INFO] [stdout] | _______________________________________________________________________^ [INFO] [stdout] 71 | | tracing::debug!("Writing: {resp:?}"); [INFO] [stdout] 72 | | match resp { [INFO] [stdout] 73 | | Resp::Simple(inner) => self.write_simple(inner, '+').await?, [INFO] [stdout] ... | [INFO] [stdout] 95 | | Ok(()) [INFO] [stdout] 96 | | } [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] --> /opt/rustwide/workdir/src/handler.rs:70:71 [INFO] [stdout] | [INFO] [stdout] 70 | pub async fn write(&mut self, resp: &Resp) -> std::io::Result<()> { [INFO] [stdout] | _______________________________________________________________________^ [INFO] [stdout] 71 | | tracing::debug!("Writing: {resp:?}"); [INFO] [stdout] 72 | | match resp { [INFO] [stdout] 73 | | Resp::Simple(inner) => self.write_simple(inner, '+').await?, [INFO] [stdout] ... | [INFO] [stdout] 95 | | Ok(()) [INFO] [stdout] 96 | | } [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] --> /opt/rustwide/workdir/src/handler.rs:70:71 [INFO] [stdout] | [INFO] [stdout] 70 | pub async fn write(&mut self, resp: &Resp) -> std::io::Result<()> { [INFO] [stdout] | _______________________________________________________________________^ [INFO] [stdout] 71 | | tracing::debug!("Writing: {resp:?}"); [INFO] [stdout] 72 | | match resp { [INFO] [stdout] 73 | | Resp::Simple(inner) => self.write_simple(inner, '+').await?, [INFO] [stdout] ... | [INFO] [stdout] 95 | | Ok(()) [INFO] [stdout] 96 | | } [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] --> /opt/rustwide/workdir/src/handler.rs:70:71 [INFO] [stdout] | [INFO] [stdout] 70 | pub async fn write(&mut self, resp: &Resp) -> std::io::Result<()> { [INFO] [stdout] | _______________________________________________________________________^ [INFO] [stdout] 71 | | tracing::debug!("Writing: {resp:?}"); [INFO] [stdout] 72 | | match resp { [INFO] [stdout] 73 | | Resp::Simple(inner) => self.write_simple(inner, '+').await?, [INFO] [stdout] ... | [INFO] [stdout] 95 | | Ok(()) [INFO] [stdout] 96 | | } [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] --> /opt/rustwide/workdir/src/handler.rs:70:71 [INFO] [stdout] | [INFO] [stdout] 70 | pub async fn write(&mut self, resp: &Resp) -> std::io::Result<()> { [INFO] [stdout] | _______________________________________________________________________^ [INFO] [stdout] 71 | | tracing::debug!("Writing: {resp:?}"); [INFO] [stdout] 72 | | match resp { [INFO] [stdout] 73 | | Resp::Simple(inner) => self.write_simple(inner, '+').await?, [INFO] [stdout] ... | [INFO] [stdout] 95 | | Ok(()) [INFO] [stdout] 96 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> /opt/rustwide/workdir/src/roles/slave.rs:89:88 [INFO] [stdout] | [INFO] [stdout] 89 | async fn handshake(&self, stream: TcpStream, port: u16) -> anyhow::Result { [INFO] [stdout] | ________________________________________________________________________________________^ [INFO] [stdout] 90 | | let mut handler = Handler::new(stream); [INFO] [stdout] 91 | | tracing::info!("Starting handshake"); [INFO] [stdout] ... | [INFO] [stdout] 125 | | Ok(handler) [INFO] [stdout] 126 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> /opt/rustwide/workdir/src/roles/slave.rs:40:66 [INFO] [stdout] | [INFO] [stdout] 40 | pub async fn connect(&self, port: u16) -> anyhow::Result<()> { [INFO] [stdout] | __________________________________________________________________^ [INFO] [stdout] 41 | | tracing::info!("Connecting slave to master at {}", self.addr); [INFO] [stdout] 42 | | let master = TcpStream::connect(self.addr) [INFO] [stdout] 43 | | .await [INFO] [stdout] ... | [INFO] [stdout] 47 | | self.handle_connection(handler).await [INFO] [stdout] 48 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` block [INFO] [stdout] --> src/main.rs:27:22 [INFO] [stdout] | [INFO] [stdout] 27 | tokio::spawn(async move { slave.connect(ARGUMENTS.port).await }); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0275]: overflow evaluating the requirement `(&mut Handler, &str, char): Send` [INFO] [stdout] | [INFO] [stdout] = help: consider increasing the recursion limit by adding a `#![recursion_limit = "256"]` attribute to your crate (`redis_starter_rust`) [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> /opt/rustwide/workdir/src/handler.rs:111:84 [INFO] [stdout] | [INFO] [stdout] 111 | async fn write_simple(&mut self, simple: &str, c: char) -> std::io::Result<()> { [INFO] [stdout] | ____________________________________________________________________________________^ [INFO] [stdout] 112 | | self.writer.write_u8(c as u8).await?; [INFO] [stdout] 113 | | self.writer.write_all(simple.as_bytes()).await?; [INFO] [stdout] 114 | | self.writer.write_all(b"\r\n").await?; [INFO] [stdout] 115 | | Ok(()) [INFO] [stdout] 116 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> /opt/rustwide/workdir/src/handler.rs:70:71 [INFO] [stdout] | [INFO] [stdout] 70 | pub async fn write(&mut self, resp: &Resp) -> std::io::Result<()> { [INFO] [stdout] | _______________________________________________________________________^ [INFO] [stdout] 71 | | tracing::debug!("Writing: {resp:?}"); [INFO] [stdout] 72 | | match resp { [INFO] [stdout] 73 | | Resp::Simple(inner) => self.write_simple(inner, '+').await?, [INFO] [stdout] ... | [INFO] [stdout] 95 | | Ok(()) [INFO] [stdout] 96 | | } [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] --> /opt/rustwide/workdir/src/handler.rs:70:71 [INFO] [stdout] | [INFO] [stdout] 70 | pub async fn write(&mut self, resp: &Resp) -> std::io::Result<()> { [INFO] [stdout] | _______________________________________________________________________^ [INFO] [stdout] 71 | | tracing::debug!("Writing: {resp:?}"); [INFO] [stdout] 72 | | match resp { [INFO] [stdout] 73 | | Resp::Simple(inner) => self.write_simple(inner, '+').await?, [INFO] [stdout] ... | [INFO] [stdout] 95 | | Ok(()) [INFO] [stdout] 96 | | } [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] --> /opt/rustwide/workdir/src/handler.rs:70:71 [INFO] [stdout] | [INFO] [stdout] 70 | pub async fn write(&mut self, resp: &Resp) -> std::io::Result<()> { [INFO] [stdout] | _______________________________________________________________________^ [INFO] [stdout] 71 | | tracing::debug!("Writing: {resp:?}"); [INFO] [stdout] 72 | | match resp { [INFO] [stdout] 73 | | Resp::Simple(inner) => self.write_simple(inner, '+').await?, [INFO] [stdout] ... | [INFO] [stdout] 95 | | Ok(()) [INFO] [stdout] 96 | | } [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] --> /opt/rustwide/workdir/src/handler.rs:70:71 [INFO] [stdout] | [INFO] [stdout] 70 | pub async fn write(&mut self, resp: &Resp) -> std::io::Result<()> { [INFO] [stdout] | _______________________________________________________________________^ [INFO] [stdout] 71 | | tracing::debug!("Writing: {resp:?}"); [INFO] [stdout] 72 | | match resp { [INFO] [stdout] 73 | | Resp::Simple(inner) => self.write_simple(inner, '+').await?, [INFO] [stdout] ... | [INFO] [stdout] 95 | | Ok(()) [INFO] [stdout] 96 | | } [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] --> /opt/rustwide/workdir/src/handler.rs:70:71 [INFO] [stdout] | [INFO] [stdout] 70 | pub async fn write(&mut self, resp: &Resp) -> std::io::Result<()> { [INFO] [stdout] | _______________________________________________________________________^ [INFO] [stdout] 71 | | tracing::debug!("Writing: {resp:?}"); [INFO] [stdout] 72 | | match resp { [INFO] [stdout] 73 | | Resp::Simple(inner) => self.write_simple(inner, '+').await?, [INFO] [stdout] ... | [INFO] [stdout] 95 | | Ok(()) [INFO] [stdout] 96 | | } [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] --> /opt/rustwide/workdir/src/handler.rs:70:71 [INFO] [stdout] | [INFO] [stdout] 70 | pub async fn write(&mut self, resp: &Resp) -> std::io::Result<()> { [INFO] [stdout] | _______________________________________________________________________^ [INFO] [stdout] 71 | | tracing::debug!("Writing: {resp:?}"); [INFO] [stdout] 72 | | match resp { [INFO] [stdout] 73 | | Resp::Simple(inner) => self.write_simple(inner, '+').await?, [INFO] [stdout] ... | [INFO] [stdout] 95 | | Ok(()) [INFO] [stdout] 96 | | } [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] --> /opt/rustwide/workdir/src/handler.rs:70:71 [INFO] [stdout] | [INFO] [stdout] 70 | pub async fn write(&mut self, resp: &Resp) -> std::io::Result<()> { [INFO] [stdout] | _______________________________________________________________________^ [INFO] [stdout] 71 | | tracing::debug!("Writing: {resp:?}"); [INFO] [stdout] 72 | | match resp { [INFO] [stdout] 73 | | Resp::Simple(inner) => self.write_simple(inner, '+').await?, [INFO] [stdout] ... | [INFO] [stdout] 95 | | Ok(()) [INFO] [stdout] 96 | | } [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] --> /opt/rustwide/workdir/src/handler.rs:70:71 [INFO] [stdout] | [INFO] [stdout] 70 | pub async fn write(&mut self, resp: &Resp) -> std::io::Result<()> { [INFO] [stdout] | _______________________________________________________________________^ [INFO] [stdout] 71 | | tracing::debug!("Writing: {resp:?}"); [INFO] [stdout] 72 | | match resp { [INFO] [stdout] 73 | | Resp::Simple(inner) => self.write_simple(inner, '+').await?, [INFO] [stdout] ... | [INFO] [stdout] 95 | | Ok(()) [INFO] [stdout] 96 | | } [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] --> /opt/rustwide/workdir/src/handler.rs:70:71 [INFO] [stdout] | [INFO] [stdout] 70 | pub async fn write(&mut self, resp: &Resp) -> std::io::Result<()> { [INFO] [stdout] | _______________________________________________________________________^ [INFO] [stdout] 71 | | tracing::debug!("Writing: {resp:?}"); [INFO] [stdout] 72 | | match resp { [INFO] [stdout] 73 | | Resp::Simple(inner) => self.write_simple(inner, '+').await?, [INFO] [stdout] ... | [INFO] [stdout] 95 | | Ok(()) [INFO] [stdout] 96 | | } [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] --> /opt/rustwide/workdir/src/handler.rs:70:71 [INFO] [stdout] | [INFO] [stdout] 70 | pub async fn write(&mut self, resp: &Resp) -> std::io::Result<()> { [INFO] [stdout] | _______________________________________________________________________^ [INFO] [stdout] 71 | | tracing::debug!("Writing: {resp:?}"); [INFO] [stdout] 72 | | match resp { [INFO] [stdout] 73 | | Resp::Simple(inner) => self.write_simple(inner, '+').await?, [INFO] [stdout] ... | [INFO] [stdout] 95 | | Ok(()) [INFO] [stdout] 96 | | } [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] --> /opt/rustwide/workdir/src/handler.rs:70:71 [INFO] [stdout] | [INFO] [stdout] 70 | pub async fn write(&mut self, resp: &Resp) -> std::io::Result<()> { [INFO] [stdout] | _______________________________________________________________________^ [INFO] [stdout] 71 | | tracing::debug!("Writing: {resp:?}"); [INFO] [stdout] 72 | | match resp { [INFO] [stdout] 73 | | Resp::Simple(inner) => self.write_simple(inner, '+').await?, [INFO] [stdout] ... | [INFO] [stdout] 95 | | Ok(()) [INFO] [stdout] 96 | | } [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] --> /opt/rustwide/workdir/src/handler.rs:70:71 [INFO] [stdout] | [INFO] [stdout] 70 | pub async fn write(&mut self, resp: &Resp) -> std::io::Result<()> { [INFO] [stdout] | _______________________________________________________________________^ [INFO] [stdout] 71 | | tracing::debug!("Writing: {resp:?}"); [INFO] [stdout] 72 | | match resp { [INFO] [stdout] 73 | | Resp::Simple(inner) => self.write_simple(inner, '+').await?, [INFO] [stdout] ... | [INFO] [stdout] 95 | | Ok(()) [INFO] [stdout] 96 | | } [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] --> /opt/rustwide/workdir/src/handler.rs:70:71 [INFO] [stdout] | [INFO] [stdout] 70 | pub async fn write(&mut self, resp: &Resp) -> std::io::Result<()> { [INFO] [stdout] | _______________________________________________________________________^ [INFO] [stdout] 71 | | tracing::debug!("Writing: {resp:?}"); [INFO] [stdout] 72 | | match resp { [INFO] [stdout] 73 | | Resp::Simple(inner) => self.write_simple(inner, '+').await?, [INFO] [stdout] ... | [INFO] [stdout] 95 | | Ok(()) [INFO] [stdout] 96 | | } [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] --> /opt/rustwide/workdir/src/handler.rs:70:71 [INFO] [stdout] | [INFO] [stdout] 70 | pub async fn write(&mut self, resp: &Resp) -> std::io::Result<()> { [INFO] [stdout] | _______________________________________________________________________^ [INFO] [stdout] 71 | | tracing::debug!("Writing: {resp:?}"); [INFO] [stdout] 72 | | match resp { [INFO] [stdout] 73 | | Resp::Simple(inner) => self.write_simple(inner, '+').await?, [INFO] [stdout] ... | [INFO] [stdout] 95 | | Ok(()) [INFO] [stdout] 96 | | } [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] --> /opt/rustwide/workdir/src/handler.rs:70:71 [INFO] [stdout] | [INFO] [stdout] 70 | pub async fn write(&mut self, resp: &Resp) -> std::io::Result<()> { [INFO] [stdout] | _______________________________________________________________________^ [INFO] [stdout] 71 | | tracing::debug!("Writing: {resp:?}"); [INFO] [stdout] 72 | | match resp { [INFO] [stdout] 73 | | Resp::Simple(inner) => self.write_simple(inner, '+').await?, [INFO] [stdout] ... | [INFO] [stdout] 95 | | Ok(()) [INFO] [stdout] 96 | | } [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] --> /opt/rustwide/workdir/src/handler.rs:70:71 [INFO] [stdout] | [INFO] [stdout] 70 | pub async fn write(&mut self, resp: &Resp) -> std::io::Result<()> { [INFO] [stdout] | _______________________________________________________________________^ [INFO] [stdout] 71 | | tracing::debug!("Writing: {resp:?}"); [INFO] [stdout] 72 | | match resp { [INFO] [stdout] 73 | | Resp::Simple(inner) => self.write_simple(inner, '+').await?, [INFO] [stdout] ... | [INFO] [stdout] 95 | | Ok(()) [INFO] [stdout] 96 | | } [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] --> /opt/rustwide/workdir/src/handler.rs:70:71 [INFO] [stdout] | [INFO] [stdout] 70 | pub async fn write(&mut self, resp: &Resp) -> std::io::Result<()> { [INFO] [stdout] | _______________________________________________________________________^ [INFO] [stdout] 71 | | tracing::debug!("Writing: {resp:?}"); [INFO] [stdout] 72 | | match resp { [INFO] [stdout] 73 | | Resp::Simple(inner) => self.write_simple(inner, '+').await?, [INFO] [stdout] ... | [INFO] [stdout] 95 | | Ok(()) [INFO] [stdout] 96 | | } [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] --> /opt/rustwide/workdir/src/handler.rs:70:71 [INFO] [stdout] | [INFO] [stdout] 70 | pub async fn write(&mut self, resp: &Resp) -> std::io::Result<()> { [INFO] [stdout] | _______________________________________________________________________^ [INFO] [stdout] 71 | | tracing::debug!("Writing: {resp:?}"); [INFO] [stdout] 72 | | match resp { [INFO] [stdout] 73 | | Resp::Simple(inner) => self.write_simple(inner, '+').await?, [INFO] [stdout] ... | [INFO] [stdout] 95 | | Ok(()) [INFO] [stdout] 96 | | } [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] --> /opt/rustwide/workdir/src/handler.rs:70:71 [INFO] [stdout] | [INFO] [stdout] 70 | pub async fn write(&mut self, resp: &Resp) -> std::io::Result<()> { [INFO] [stdout] | _______________________________________________________________________^ [INFO] [stdout] 71 | | tracing::debug!("Writing: {resp:?}"); [INFO] [stdout] 72 | | match resp { [INFO] [stdout] 73 | | Resp::Simple(inner) => self.write_simple(inner, '+').await?, [INFO] [stdout] ... | [INFO] [stdout] 95 | | Ok(()) [INFO] [stdout] 96 | | } [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] --> /opt/rustwide/workdir/src/handler.rs:70:71 [INFO] [stdout] | [INFO] [stdout] 70 | pub async fn write(&mut self, resp: &Resp) -> std::io::Result<()> { [INFO] [stdout] | _______________________________________________________________________^ [INFO] [stdout] 71 | | tracing::debug!("Writing: {resp:?}"); [INFO] [stdout] 72 | | match resp { [INFO] [stdout] 73 | | Resp::Simple(inner) => self.write_simple(inner, '+').await?, [INFO] [stdout] ... | [INFO] [stdout] 95 | | Ok(()) [INFO] [stdout] 96 | | } [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] --> /opt/rustwide/workdir/src/handler.rs:70:71 [INFO] [stdout] | [INFO] [stdout] 70 | pub async fn write(&mut self, resp: &Resp) -> std::io::Result<()> { [INFO] [stdout] | _______________________________________________________________________^ [INFO] [stdout] 71 | | tracing::debug!("Writing: {resp:?}"); [INFO] [stdout] 72 | | match resp { [INFO] [stdout] 73 | | Resp::Simple(inner) => self.write_simple(inner, '+').await?, [INFO] [stdout] ... | [INFO] [stdout] 95 | | Ok(()) [INFO] [stdout] 96 | | } [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] --> /opt/rustwide/workdir/src/handler.rs:70:71 [INFO] [stdout] | [INFO] [stdout] 70 | pub async fn write(&mut self, resp: &Resp) -> std::io::Result<()> { [INFO] [stdout] | _______________________________________________________________________^ [INFO] [stdout] 71 | | tracing::debug!("Writing: {resp:?}"); [INFO] [stdout] 72 | | match resp { [INFO] [stdout] 73 | | Resp::Simple(inner) => self.write_simple(inner, '+').await?, [INFO] [stdout] ... | [INFO] [stdout] 95 | | Ok(()) [INFO] [stdout] 96 | | } [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] --> /opt/rustwide/workdir/src/handler.rs:70:71 [INFO] [stdout] | [INFO] [stdout] 70 | pub async fn write(&mut self, resp: &Resp) -> std::io::Result<()> { [INFO] [stdout] | _______________________________________________________________________^ [INFO] [stdout] 71 | | tracing::debug!("Writing: {resp:?}"); [INFO] [stdout] 72 | | match resp { [INFO] [stdout] 73 | | Resp::Simple(inner) => self.write_simple(inner, '+').await?, [INFO] [stdout] ... | [INFO] [stdout] 95 | | Ok(()) [INFO] [stdout] 96 | | } [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] --> /opt/rustwide/workdir/src/handler.rs:70:71 [INFO] [stdout] | [INFO] [stdout] 70 | pub async fn write(&mut self, resp: &Resp) -> std::io::Result<()> { [INFO] [stdout] | _______________________________________________________________________^ [INFO] [stdout] 71 | | tracing::debug!("Writing: {resp:?}"); [INFO] [stdout] 72 | | match resp { [INFO] [stdout] 73 | | Resp::Simple(inner) => self.write_simple(inner, '+').await?, [INFO] [stdout] ... | [INFO] [stdout] 95 | | Ok(()) [INFO] [stdout] 96 | | } [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] --> /opt/rustwide/workdir/src/handler.rs:70:71 [INFO] [stdout] | [INFO] [stdout] 70 | pub async fn write(&mut self, resp: &Resp) -> std::io::Result<()> { [INFO] [stdout] | _______________________________________________________________________^ [INFO] [stdout] 71 | | tracing::debug!("Writing: {resp:?}"); [INFO] [stdout] 72 | | match resp { [INFO] [stdout] 73 | | Resp::Simple(inner) => self.write_simple(inner, '+').await?, [INFO] [stdout] ... | [INFO] [stdout] 95 | | Ok(()) [INFO] [stdout] 96 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> /opt/rustwide/workdir/src/roles/slave.rs:89:88 [INFO] [stdout] | [INFO] [stdout] 89 | async fn handshake(&self, stream: TcpStream, port: u16) -> anyhow::Result { [INFO] [stdout] | ________________________________________________________________________________________^ [INFO] [stdout] 90 | | let mut handler = Handler::new(stream); [INFO] [stdout] 91 | | tracing::info!("Starting handshake"); [INFO] [stdout] ... | [INFO] [stdout] 125 | | Ok(handler) [INFO] [stdout] 126 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> /opt/rustwide/workdir/src/roles/slave.rs:40:66 [INFO] [stdout] | [INFO] [stdout] 40 | pub async fn connect(&self, port: u16) -> anyhow::Result<()> { [INFO] [stdout] | __________________________________________________________________^ [INFO] [stdout] 41 | | tracing::info!("Connecting slave to master at {}", self.addr); [INFO] [stdout] 42 | | let master = TcpStream::connect(self.addr) [INFO] [stdout] 43 | | .await [INFO] [stdout] ... | [INFO] [stdout] 47 | | self.handle_connection(handler).await [INFO] [stdout] 48 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` block [INFO] [stdout] --> src/main.rs:27:22 [INFO] [stdout] | [INFO] [stdout] 27 | tokio::spawn(async move { slave.connect(ARGUMENTS.port).await }); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0275]: overflow evaluating the requirement `(&mut Handler, &str, char): Send` [INFO] [stdout] --> src/main.rs:27:9 [INFO] [stdout] | [INFO] [stdout] 27 | tokio::spawn(async move { slave.connect(ARGUMENTS.port).await }); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider increasing the recursion limit by adding a `#![recursion_limit = "256"]` attribute to your crate (`redis_starter_rust`) [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> /opt/rustwide/workdir/src/handler.rs:111:84 [INFO] [stdout] | [INFO] [stdout] 111 | async fn write_simple(&mut self, simple: &str, c: char) -> std::io::Result<()> { [INFO] [stdout] | ____________________________________________________________________________________^ [INFO] [stdout] 112 | | self.writer.write_u8(c as u8).await?; [INFO] [stdout] 113 | | self.writer.write_all(simple.as_bytes()).await?; [INFO] [stdout] 114 | | self.writer.write_all(b"\r\n").await?; [INFO] [stdout] 115 | | Ok(()) [INFO] [stdout] 116 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> /opt/rustwide/workdir/src/handler.rs:70:71 [INFO] [stdout] | [INFO] [stdout] 70 | pub async fn write(&mut self, resp: &Resp) -> std::io::Result<()> { [INFO] [stdout] | _______________________________________________________________________^ [INFO] [stdout] 71 | | tracing::debug!("Writing: {resp:?}"); [INFO] [stdout] 72 | | match resp { [INFO] [stdout] 73 | | Resp::Simple(inner) => self.write_simple(inner, '+').await?, [INFO] [stdout] ... | [INFO] [stdout] 95 | | Ok(()) [INFO] [stdout] 96 | | } [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] --> /opt/rustwide/workdir/src/handler.rs:70:71 [INFO] [stdout] | [INFO] [stdout] 70 | pub async fn write(&mut self, resp: &Resp) -> std::io::Result<()> { [INFO] [stdout] | _______________________________________________________________________^ [INFO] [stdout] 71 | | tracing::debug!("Writing: {resp:?}"); [INFO] [stdout] 72 | | match resp { [INFO] [stdout] 73 | | Resp::Simple(inner) => self.write_simple(inner, '+').await?, [INFO] [stdout] ... | [INFO] [stdout] 95 | | Ok(()) [INFO] [stdout] 96 | | } [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] --> /opt/rustwide/workdir/src/handler.rs:70:71 [INFO] [stdout] | [INFO] [stdout] 70 | pub async fn write(&mut self, resp: &Resp) -> std::io::Result<()> { [INFO] [stdout] | _______________________________________________________________________^ [INFO] [stdout] 71 | | tracing::debug!("Writing: {resp:?}"); [INFO] [stdout] 72 | | match resp { [INFO] [stdout] 73 | | Resp::Simple(inner) => self.write_simple(inner, '+').await?, [INFO] [stdout] ... | [INFO] [stdout] 95 | | Ok(()) [INFO] [stdout] 96 | | } [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] --> /opt/rustwide/workdir/src/handler.rs:70:71 [INFO] [stdout] | [INFO] [stdout] 70 | pub async fn write(&mut self, resp: &Resp) -> std::io::Result<()> { [INFO] [stdout] | _______________________________________________________________________^ [INFO] [stdout] 71 | | tracing::debug!("Writing: {resp:?}"); [INFO] [stdout] 72 | | match resp { [INFO] [stdout] 73 | | Resp::Simple(inner) => self.write_simple(inner, '+').await?, [INFO] [stdout] ... | [INFO] [stdout] 95 | | Ok(()) [INFO] [stdout] 96 | | } [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] --> /opt/rustwide/workdir/src/handler.rs:70:71 [INFO] [stdout] | [INFO] [stdout] 70 | pub async fn write(&mut self, resp: &Resp) -> std::io::Result<()> { [INFO] [stdout] | _______________________________________________________________________^ [INFO] [stdout] 71 | | tracing::debug!("Writing: {resp:?}"); [INFO] [stdout] 72 | | match resp { [INFO] [stdout] 73 | | Resp::Simple(inner) => self.write_simple(inner, '+').await?, [INFO] [stdout] ... | [INFO] [stdout] 95 | | Ok(()) [INFO] [stdout] 96 | | } [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] --> /opt/rustwide/workdir/src/handler.rs:70:71 [INFO] [stdout] | [INFO] [stdout] 70 | pub async fn write(&mut self, resp: &Resp) -> std::io::Result<()> { [INFO] [stdout] | _______________________________________________________________________^ [INFO] [stdout] 71 | | tracing::debug!("Writing: {resp:?}"); [INFO] [stdout] 72 | | match resp { [INFO] [stdout] 73 | | Resp::Simple(inner) => self.write_simple(inner, '+').await?, [INFO] [stdout] ... | [INFO] [stdout] 95 | | Ok(()) [INFO] [stdout] 96 | | } [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] --> /opt/rustwide/workdir/src/handler.rs:70:71 [INFO] [stdout] | [INFO] [stdout] 70 | pub async fn write(&mut self, resp: &Resp) -> std::io::Result<()> { [INFO] [stdout] | _______________________________________________________________________^ [INFO] [stdout] 71 | | tracing::debug!("Writing: {resp:?}"); [INFO] [stdout] 72 | | match resp { [INFO] [stdout] 73 | | Resp::Simple(inner) => self.write_simple(inner, '+').await?, [INFO] [stdout] ... | [INFO] [stdout] 95 | | Ok(()) [INFO] [stdout] 96 | | } [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] --> /opt/rustwide/workdir/src/handler.rs:70:71 [INFO] [stdout] | [INFO] [stdout] 70 | pub async fn write(&mut self, resp: &Resp) -> std::io::Result<()> { [INFO] [stdout] | _______________________________________________________________________^ [INFO] [stdout] 71 | | tracing::debug!("Writing: {resp:?}"); [INFO] [stdout] 72 | | match resp { [INFO] [stdout] 73 | | Resp::Simple(inner) => self.write_simple(inner, '+').await?, [INFO] [stdout] ... | [INFO] [stdout] 95 | | Ok(()) [INFO] [stdout] 96 | | } [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] --> /opt/rustwide/workdir/src/handler.rs:70:71 [INFO] [stdout] | [INFO] [stdout] 70 | pub async fn write(&mut self, resp: &Resp) -> std::io::Result<()> { [INFO] [stdout] | _______________________________________________________________________^ [INFO] [stdout] 71 | | tracing::debug!("Writing: {resp:?}"); [INFO] [stdout] 72 | | match resp { [INFO] [stdout] 73 | | Resp::Simple(inner) => self.write_simple(inner, '+').await?, [INFO] [stdout] ... | [INFO] [stdout] 95 | | Ok(()) [INFO] [stdout] 96 | | } [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] --> /opt/rustwide/workdir/src/handler.rs:70:71 [INFO] [stdout] | [INFO] [stdout] 70 | pub async fn write(&mut self, resp: &Resp) -> std::io::Result<()> { [INFO] [stdout] | _______________________________________________________________________^ [INFO] [stdout] 71 | | tracing::debug!("Writing: {resp:?}"); [INFO] [stdout] 72 | | match resp { [INFO] [stdout] 73 | | Resp::Simple(inner) => self.write_simple(inner, '+').await?, [INFO] [stdout] ... | [INFO] [stdout] 95 | | Ok(()) [INFO] [stdout] 96 | | } [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] --> /opt/rustwide/workdir/src/handler.rs:70:71 [INFO] [stdout] | [INFO] [stdout] 70 | pub async fn write(&mut self, resp: &Resp) -> std::io::Result<()> { [INFO] [stdout] | _______________________________________________________________________^ [INFO] [stdout] 71 | | tracing::debug!("Writing: {resp:?}"); [INFO] [stdout] 72 | | match resp { [INFO] [stdout] 73 | | Resp::Simple(inner) => self.write_simple(inner, '+').await?, [INFO] [stdout] ... | [INFO] [stdout] 95 | | Ok(()) [INFO] [stdout] 96 | | } [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] --> /opt/rustwide/workdir/src/handler.rs:70:71 [INFO] [stdout] | [INFO] [stdout] 70 | pub async fn write(&mut self, resp: &Resp) -> std::io::Result<()> { [INFO] [stdout] | _______________________________________________________________________^ [INFO] [stdout] 71 | | tracing::debug!("Writing: {resp:?}"); [INFO] [stdout] 72 | | match resp { [INFO] [stdout] 73 | | Resp::Simple(inner) => self.write_simple(inner, '+').await?, [INFO] [stdout] ... | [INFO] [stdout] 95 | | Ok(()) [INFO] [stdout] 96 | | } [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] --> /opt/rustwide/workdir/src/handler.rs:70:71 [INFO] [stdout] | [INFO] [stdout] 70 | pub async fn write(&mut self, resp: &Resp) -> std::io::Result<()> { [INFO] [stdout] | _______________________________________________________________________^ [INFO] [stdout] 71 | | tracing::debug!("Writing: {resp:?}"); [INFO] [stdout] 72 | | match resp { [INFO] [stdout] 73 | | Resp::Simple(inner) => self.write_simple(inner, '+').await?, [INFO] [stdout] ... | [INFO] [stdout] 95 | | Ok(()) [INFO] [stdout] 96 | | } [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] --> /opt/rustwide/workdir/src/handler.rs:70:71 [INFO] [stdout] | [INFO] [stdout] 70 | pub async fn write(&mut self, resp: &Resp) -> std::io::Result<()> { [INFO] [stdout] | _______________________________________________________________________^ [INFO] [stdout] 71 | | tracing::debug!("Writing: {resp:?}"); [INFO] [stdout] 72 | | match resp { [INFO] [stdout] 73 | | Resp::Simple(inner) => self.write_simple(inner, '+').await?, [INFO] [stdout] ... | [INFO] [stdout] 95 | | Ok(()) [INFO] [stdout] 96 | | } [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] --> /opt/rustwide/workdir/src/handler.rs:70:71 [INFO] [stdout] | [INFO] [stdout] 70 | pub async fn write(&mut self, resp: &Resp) -> std::io::Result<()> { [INFO] [stdout] | _______________________________________________________________________^ [INFO] [stdout] 71 | | tracing::debug!("Writing: {resp:?}"); [INFO] [stdout] 72 | | match resp { [INFO] [stdout] 73 | | Resp::Simple(inner) => self.write_simple(inner, '+').await?, [INFO] [stdout] ... | [INFO] [stdout] 95 | | Ok(()) [INFO] [stdout] 96 | | } [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] --> /opt/rustwide/workdir/src/handler.rs:70:71 [INFO] [stdout] | [INFO] [stdout] 70 | pub async fn write(&mut self, resp: &Resp) -> std::io::Result<()> { [INFO] [stdout] | _______________________________________________________________________^ [INFO] [stdout] 71 | | tracing::debug!("Writing: {resp:?}"); [INFO] [stdout] 72 | | match resp { [INFO] [stdout] 73 | | Resp::Simple(inner) => self.write_simple(inner, '+').await?, [INFO] [stdout] ... | [INFO] [stdout] 95 | | Ok(()) [INFO] [stdout] 96 | | } [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] --> /opt/rustwide/workdir/src/handler.rs:70:71 [INFO] [stdout] | [INFO] [stdout] 70 | pub async fn write(&mut self, resp: &Resp) -> std::io::Result<()> { [INFO] [stdout] | _______________________________________________________________________^ [INFO] [stdout] 71 | | tracing::debug!("Writing: {resp:?}"); [INFO] [stdout] 72 | | match resp { [INFO] [stdout] 73 | | Resp::Simple(inner) => self.write_simple(inner, '+').await?, [INFO] [stdout] ... | [INFO] [stdout] 95 | | Ok(()) [INFO] [stdout] 96 | | } [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] --> /opt/rustwide/workdir/src/handler.rs:70:71 [INFO] [stdout] | [INFO] [stdout] 70 | pub async fn write(&mut self, resp: &Resp) -> std::io::Result<()> { [INFO] [stdout] | _______________________________________________________________________^ [INFO] [stdout] 71 | | tracing::debug!("Writing: {resp:?}"); [INFO] [stdout] 72 | | match resp { [INFO] [stdout] 73 | | Resp::Simple(inner) => self.write_simple(inner, '+').await?, [INFO] [stdout] ... | [INFO] [stdout] 95 | | Ok(()) [INFO] [stdout] 96 | | } [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] --> /opt/rustwide/workdir/src/handler.rs:70:71 [INFO] [stdout] | [INFO] [stdout] 70 | pub async fn write(&mut self, resp: &Resp) -> std::io::Result<()> { [INFO] [stdout] | _______________________________________________________________________^ [INFO] [stdout] 71 | | tracing::debug!("Writing: {resp:?}"); [INFO] [stdout] 72 | | match resp { [INFO] [stdout] 73 | | Resp::Simple(inner) => self.write_simple(inner, '+').await?, [INFO] [stdout] ... | [INFO] [stdout] 95 | | Ok(()) [INFO] [stdout] 96 | | } [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] --> /opt/rustwide/workdir/src/handler.rs:70:71 [INFO] [stdout] | [INFO] [stdout] 70 | pub async fn write(&mut self, resp: &Resp) -> std::io::Result<()> { [INFO] [stdout] | _______________________________________________________________________^ [INFO] [stdout] 71 | | tracing::debug!("Writing: {resp:?}"); [INFO] [stdout] 72 | | match resp { [INFO] [stdout] 73 | | Resp::Simple(inner) => self.write_simple(inner, '+').await?, [INFO] [stdout] ... | [INFO] [stdout] 95 | | Ok(()) [INFO] [stdout] 96 | | } [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] --> /opt/rustwide/workdir/src/handler.rs:70:71 [INFO] [stdout] | [INFO] [stdout] 70 | pub async fn write(&mut self, resp: &Resp) -> std::io::Result<()> { [INFO] [stdout] | _______________________________________________________________________^ [INFO] [stdout] 71 | | tracing::debug!("Writing: {resp:?}"); [INFO] [stdout] 72 | | match resp { [INFO] [stdout] 73 | | Resp::Simple(inner) => self.write_simple(inner, '+').await?, [INFO] [stdout] ... | [INFO] [stdout] 95 | | Ok(()) [INFO] [stdout] 96 | | } [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] --> /opt/rustwide/workdir/src/handler.rs:70:71 [INFO] [stdout] | [INFO] [stdout] 70 | pub async fn write(&mut self, resp: &Resp) -> std::io::Result<()> { [INFO] [stdout] | _______________________________________________________________________^ [INFO] [stdout] 71 | | tracing::debug!("Writing: {resp:?}"); [INFO] [stdout] 72 | | match resp { [INFO] [stdout] 73 | | Resp::Simple(inner) => self.write_simple(inner, '+').await?, [INFO] [stdout] ... | [INFO] [stdout] 95 | | Ok(()) [INFO] [stdout] 96 | | } [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] --> /opt/rustwide/workdir/src/handler.rs:70:71 [INFO] [stdout] | [INFO] [stdout] 70 | pub async fn write(&mut self, resp: &Resp) -> std::io::Result<()> { [INFO] [stdout] | _______________________________________________________________________^ [INFO] [stdout] 71 | | tracing::debug!("Writing: {resp:?}"); [INFO] [stdout] 72 | | match resp { [INFO] [stdout] 73 | | Resp::Simple(inner) => self.write_simple(inner, '+').await?, [INFO] [stdout] ... | [INFO] [stdout] 95 | | Ok(()) [INFO] [stdout] 96 | | } [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] --> /opt/rustwide/workdir/src/handler.rs:70:71 [INFO] [stdout] | [INFO] [stdout] 70 | pub async fn write(&mut self, resp: &Resp) -> std::io::Result<()> { [INFO] [stdout] | _______________________________________________________________________^ [INFO] [stdout] 71 | | tracing::debug!("Writing: {resp:?}"); [INFO] [stdout] 72 | | match resp { [INFO] [stdout] 73 | | Resp::Simple(inner) => self.write_simple(inner, '+').await?, [INFO] [stdout] ... | [INFO] [stdout] 95 | | Ok(()) [INFO] [stdout] 96 | | } [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] --> /opt/rustwide/workdir/src/handler.rs:70:71 [INFO] [stdout] | [INFO] [stdout] 70 | pub async fn write(&mut self, resp: &Resp) -> std::io::Result<()> { [INFO] [stdout] | _______________________________________________________________________^ [INFO] [stdout] 71 | | tracing::debug!("Writing: {resp:?}"); [INFO] [stdout] 72 | | match resp { [INFO] [stdout] 73 | | Resp::Simple(inner) => self.write_simple(inner, '+').await?, [INFO] [stdout] ... | [INFO] [stdout] 95 | | Ok(()) [INFO] [stdout] 96 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> /opt/rustwide/workdir/src/roles/slave.rs:89:88 [INFO] [stdout] | [INFO] [stdout] 89 | async fn handshake(&self, stream: TcpStream, port: u16) -> anyhow::Result { [INFO] [stdout] | ________________________________________________________________________________________^ [INFO] [stdout] 90 | | let mut handler = Handler::new(stream); [INFO] [stdout] 91 | | tracing::info!("Starting handshake"); [INFO] [stdout] ... | [INFO] [stdout] 125 | | Ok(handler) [INFO] [stdout] 126 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> /opt/rustwide/workdir/src/roles/slave.rs:40:66 [INFO] [stdout] | [INFO] [stdout] 40 | pub async fn connect(&self, port: u16) -> anyhow::Result<()> { [INFO] [stdout] | __________________________________________________________________^ [INFO] [stdout] 41 | | tracing::info!("Connecting slave to master at {}", self.addr); [INFO] [stdout] 42 | | let master = TcpStream::connect(self.addr) [INFO] [stdout] 43 | | .await [INFO] [stdout] ... | [INFO] [stdout] 47 | | self.handle_connection(handler).await [INFO] [stdout] 48 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` block [INFO] [stdout] --> src/main.rs:27:22 [INFO] [stdout] | [INFO] [stdout] 27 | tokio::spawn(async move { slave.connect(ARGUMENTS.port).await }); [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.37.0/src/task/spawn.rs:166:21 [INFO] [stdout] | [INFO] [stdout] 164 | pub fn spawn(future: F) -> JoinHandle [INFO] [stdout] | ----- required by a bound in this function [INFO] [stdout] 165 | where [INFO] [stdout] 166 | F: Future + Send + 'static, [INFO] [stdout] | ^^^^ required by this bound in `spawn` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0275]: overflow evaluating the requirement `(&mut Handler, &str, char): Send` [INFO] [stdout] --> src/main.rs:27:9 [INFO] [stdout] | [INFO] [stdout] 27 | tokio::spawn(async move { slave.connect(ARGUMENTS.port).await }); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider increasing the recursion limit by adding a `#![recursion_limit = "256"]` attribute to your crate (`redis_starter_rust`) [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> /opt/rustwide/workdir/src/handler.rs:111:84 [INFO] [stdout] | [INFO] [stdout] 111 | async fn write_simple(&mut self, simple: &str, c: char) -> std::io::Result<()> { [INFO] [stdout] | ____________________________________________________________________________________^ [INFO] [stdout] 112 | | self.writer.write_u8(c as u8).await?; [INFO] [stdout] 113 | | self.writer.write_all(simple.as_bytes()).await?; [INFO] [stdout] 114 | | self.writer.write_all(b"\r\n").await?; [INFO] [stdout] 115 | | Ok(()) [INFO] [stdout] 116 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> /opt/rustwide/workdir/src/handler.rs:70:71 [INFO] [stdout] | [INFO] [stdout] 70 | pub async fn write(&mut self, resp: &Resp) -> std::io::Result<()> { [INFO] [stdout] | _______________________________________________________________________^ [INFO] [stdout] 71 | | tracing::debug!("Writing: {resp:?}"); [INFO] [stdout] 72 | | match resp { [INFO] [stdout] 73 | | Resp::Simple(inner) => self.write_simple(inner, '+').await?, [INFO] [stdout] ... | [INFO] [stdout] 95 | | Ok(()) [INFO] [stdout] 96 | | } [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] --> /opt/rustwide/workdir/src/handler.rs:70:71 [INFO] [stdout] | [INFO] [stdout] 70 | pub async fn write(&mut self, resp: &Resp) -> std::io::Result<()> { [INFO] [stdout] | _______________________________________________________________________^ [INFO] [stdout] 71 | | tracing::debug!("Writing: {resp:?}"); [INFO] [stdout] 72 | | match resp { [INFO] [stdout] 73 | | Resp::Simple(inner) => self.write_simple(inner, '+').await?, [INFO] [stdout] ... | [INFO] [stdout] 95 | | Ok(()) [INFO] [stdout] 96 | | } [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] --> /opt/rustwide/workdir/src/handler.rs:70:71 [INFO] [stdout] | [INFO] [stdout] 70 | pub async fn write(&mut self, resp: &Resp) -> std::io::Result<()> { [INFO] [stdout] | _______________________________________________________________________^ [INFO] [stdout] 71 | | tracing::debug!("Writing: {resp:?}"); [INFO] [stdout] 72 | | match resp { [INFO] [stdout] 73 | | Resp::Simple(inner) => self.write_simple(inner, '+').await?, [INFO] [stdout] ... | [INFO] [stdout] 95 | | Ok(()) [INFO] [stdout] 96 | | } [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] --> /opt/rustwide/workdir/src/handler.rs:70:71 [INFO] [stdout] | [INFO] [stdout] 70 | pub async fn write(&mut self, resp: &Resp) -> std::io::Result<()> { [INFO] [stdout] | _______________________________________________________________________^ [INFO] [stdout] 71 | | tracing::debug!("Writing: {resp:?}"); [INFO] [stdout] 72 | | match resp { [INFO] [stdout] 73 | | Resp::Simple(inner) => self.write_simple(inner, '+').await?, [INFO] [stdout] ... | [INFO] [stdout] 95 | | Ok(()) [INFO] [stdout] 96 | | } [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] --> /opt/rustwide/workdir/src/handler.rs:70:71 [INFO] [stdout] | [INFO] [stdout] 70 | pub async fn write(&mut self, resp: &Resp) -> std::io::Result<()> { [INFO] [stdout] | _______________________________________________________________________^ [INFO] [stdout] 71 | | tracing::debug!("Writing: {resp:?}"); [INFO] [stdout] 72 | | match resp { [INFO] [stdout] 73 | | Resp::Simple(inner) => self.write_simple(inner, '+').await?, [INFO] [stdout] ... | [INFO] [stdout] 95 | | Ok(()) [INFO] [stdout] 96 | | } [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] --> /opt/rustwide/workdir/src/handler.rs:70:71 [INFO] [stdout] | [INFO] [stdout] 70 | pub async fn write(&mut self, resp: &Resp) -> std::io::Result<()> { [INFO] [stdout] | _______________________________________________________________________^ [INFO] [stdout] 71 | | tracing::debug!("Writing: {resp:?}"); [INFO] [stdout] 72 | | match resp { [INFO] [stdout] 73 | | Resp::Simple(inner) => self.write_simple(inner, '+').await?, [INFO] [stdout] ... | [INFO] [stdout] 95 | | Ok(()) [INFO] [stdout] 96 | | } [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] --> /opt/rustwide/workdir/src/handler.rs:70:71 [INFO] [stdout] | [INFO] [stdout] 70 | pub async fn write(&mut self, resp: &Resp) -> std::io::Result<()> { [INFO] [stdout] | _______________________________________________________________________^ [INFO] [stdout] 71 | | tracing::debug!("Writing: {resp:?}"); [INFO] [stdout] 72 | | match resp { [INFO] [stdout] 73 | | Resp::Simple(inner) => self.write_simple(inner, '+').await?, [INFO] [stdout] ... | [INFO] [stdout] 95 | | Ok(()) [INFO] [stdout] 96 | | } [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] --> /opt/rustwide/workdir/src/handler.rs:70:71 [INFO] [stdout] | [INFO] [stdout] 70 | pub async fn write(&mut self, resp: &Resp) -> std::io::Result<()> { [INFO] [stdout] | _______________________________________________________________________^ [INFO] [stdout] 71 | | tracing::debug!("Writing: {resp:?}"); [INFO] [stdout] 72 | | match resp { [INFO] [stdout] 73 | | Resp::Simple(inner) => self.write_simple(inner, '+').await?, [INFO] [stdout] ... | [INFO] [stdout] 95 | | Ok(()) [INFO] [stdout] 96 | | } [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] --> /opt/rustwide/workdir/src/handler.rs:70:71 [INFO] [stdout] | [INFO] [stdout] 70 | pub async fn write(&mut self, resp: &Resp) -> std::io::Result<()> { [INFO] [stdout] | _______________________________________________________________________^ [INFO] [stdout] 71 | | tracing::debug!("Writing: {resp:?}"); [INFO] [stdout] 72 | | match resp { [INFO] [stdout] 73 | | Resp::Simple(inner) => self.write_simple(inner, '+').await?, [INFO] [stdout] ... | [INFO] [stdout] 95 | | Ok(()) [INFO] [stdout] 96 | | } [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] --> /opt/rustwide/workdir/src/handler.rs:70:71 [INFO] [stdout] | [INFO] [stdout] 70 | pub async fn write(&mut self, resp: &Resp) -> std::io::Result<()> { [INFO] [stdout] | _______________________________________________________________________^ [INFO] [stdout] 71 | | tracing::debug!("Writing: {resp:?}"); [INFO] [stdout] 72 | | match resp { [INFO] [stdout] 73 | | Resp::Simple(inner) => self.write_simple(inner, '+').await?, [INFO] [stdout] ... | [INFO] [stdout] 95 | | Ok(()) [INFO] [stdout] 96 | | } [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] --> /opt/rustwide/workdir/src/handler.rs:70:71 [INFO] [stdout] | [INFO] [stdout] 70 | pub async fn write(&mut self, resp: &Resp) -> std::io::Result<()> { [INFO] [stdout] | _______________________________________________________________________^ [INFO] [stdout] 71 | | tracing::debug!("Writing: {resp:?}"); [INFO] [stdout] 72 | | match resp { [INFO] [stdout] 73 | | Resp::Simple(inner) => self.write_simple(inner, '+').await?, [INFO] [stdout] ... | [INFO] [stdout] 95 | | Ok(()) [INFO] [stdout] 96 | | } [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] --> /opt/rustwide/workdir/src/handler.rs:70:71 [INFO] [stdout] | [INFO] [stdout] 70 | pub async fn write(&mut self, resp: &Resp) -> std::io::Result<()> { [INFO] [stdout] | _______________________________________________________________________^ [INFO] [stdout] 71 | | tracing::debug!("Writing: {resp:?}"); [INFO] [stdout] 72 | | match resp { [INFO] [stdout] 73 | | Resp::Simple(inner) => self.write_simple(inner, '+').await?, [INFO] [stdout] ... | [INFO] [stdout] 95 | | Ok(()) [INFO] [stdout] 96 | | } [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] --> /opt/rustwide/workdir/src/handler.rs:70:71 [INFO] [stdout] | [INFO] [stdout] 70 | pub async fn write(&mut self, resp: &Resp) -> std::io::Result<()> { [INFO] [stdout] | _______________________________________________________________________^ [INFO] [stdout] 71 | | tracing::debug!("Writing: {resp:?}"); [INFO] [stdout] 72 | | match resp { [INFO] [stdout] 73 | | Resp::Simple(inner) => self.write_simple(inner, '+').await?, [INFO] [stdout] ... | [INFO] [stdout] 95 | | Ok(()) [INFO] [stdout] 96 | | } [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] --> /opt/rustwide/workdir/src/handler.rs:70:71 [INFO] [stdout] | [INFO] [stdout] 70 | pub async fn write(&mut self, resp: &Resp) -> std::io::Result<()> { [INFO] [stdout] | _______________________________________________________________________^ [INFO] [stdout] 71 | | tracing::debug!("Writing: {resp:?}"); [INFO] [stdout] 72 | | match resp { [INFO] [stdout] 73 | | Resp::Simple(inner) => self.write_simple(inner, '+').await?, [INFO] [stdout] ... | [INFO] [stdout] 95 | | Ok(()) [INFO] [stdout] 96 | | } [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] --> /opt/rustwide/workdir/src/handler.rs:70:71 [INFO] [stdout] | [INFO] [stdout] 70 | pub async fn write(&mut self, resp: &Resp) -> std::io::Result<()> { [INFO] [stdout] | _______________________________________________________________________^ [INFO] [stdout] 71 | | tracing::debug!("Writing: {resp:?}"); [INFO] [stdout] 72 | | match resp { [INFO] [stdout] 73 | | Resp::Simple(inner) => self.write_simple(inner, '+').await?, [INFO] [stdout] ... | [INFO] [stdout] 95 | | Ok(()) [INFO] [stdout] 96 | | } [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] --> /opt/rustwide/workdir/src/handler.rs:70:71 [INFO] [stdout] | [INFO] [stdout] 70 | pub async fn write(&mut self, resp: &Resp) -> std::io::Result<()> { [INFO] [stdout] | _______________________________________________________________________^ [INFO] [stdout] 71 | | tracing::debug!("Writing: {resp:?}"); [INFO] [stdout] 72 | | match resp { [INFO] [stdout] 73 | | Resp::Simple(inner) => self.write_simple(inner, '+').await?, [INFO] [stdout] ... | [INFO] [stdout] 95 | | Ok(()) [INFO] [stdout] 96 | | } [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] --> /opt/rustwide/workdir/src/handler.rs:70:71 [INFO] [stdout] | [INFO] [stdout] 70 | pub async fn write(&mut self, resp: &Resp) -> std::io::Result<()> { [INFO] [stdout] | _______________________________________________________________________^ [INFO] [stdout] 71 | | tracing::debug!("Writing: {resp:?}"); [INFO] [stdout] 72 | | match resp { [INFO] [stdout] 73 | | Resp::Simple(inner) => self.write_simple(inner, '+').await?, [INFO] [stdout] ... | [INFO] [stdout] 95 | | Ok(()) [INFO] [stdout] 96 | | } [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] --> /opt/rustwide/workdir/src/handler.rs:70:71 [INFO] [stdout] | [INFO] [stdout] 70 | pub async fn write(&mut self, resp: &Resp) -> std::io::Result<()> { [INFO] [stdout] | _______________________________________________________________________^ [INFO] [stdout] 71 | | tracing::debug!("Writing: {resp:?}"); [INFO] [stdout] 72 | | match resp { [INFO] [stdout] 73 | | Resp::Simple(inner) => self.write_simple(inner, '+').await?, [INFO] [stdout] ... | [INFO] [stdout] 95 | | Ok(()) [INFO] [stdout] 96 | | } [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] --> /opt/rustwide/workdir/src/handler.rs:70:71 [INFO] [stdout] | [INFO] [stdout] 70 | pub async fn write(&mut self, resp: &Resp) -> std::io::Result<()> { [INFO] [stdout] | _______________________________________________________________________^ [INFO] [stdout] 71 | | tracing::debug!("Writing: {resp:?}"); [INFO] [stdout] 72 | | match resp { [INFO] [stdout] 73 | | Resp::Simple(inner) => self.write_simple(inner, '+').await?, [INFO] [stdout] ... | [INFO] [stdout] 95 | | Ok(()) [INFO] [stdout] 96 | | } [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] --> /opt/rustwide/workdir/src/handler.rs:70:71 [INFO] [stdout] | [INFO] [stdout] 70 | pub async fn write(&mut self, resp: &Resp) -> std::io::Result<()> { [INFO] [stdout] | _______________________________________________________________________^ [INFO] [stdout] 71 | | tracing::debug!("Writing: {resp:?}"); [INFO] [stdout] 72 | | match resp { [INFO] [stdout] 73 | | Resp::Simple(inner) => self.write_simple(inner, '+').await?, [INFO] [stdout] ... | [INFO] [stdout] 95 | | Ok(()) [INFO] [stdout] 96 | | } [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] --> /opt/rustwide/workdir/src/handler.rs:70:71 [INFO] [stdout] | [INFO] [stdout] 70 | pub async fn write(&mut self, resp: &Resp) -> std::io::Result<()> { [INFO] [stdout] | _______________________________________________________________________^ [INFO] [stdout] 71 | | tracing::debug!("Writing: {resp:?}"); [INFO] [stdout] 72 | | match resp { [INFO] [stdout] 73 | | Resp::Simple(inner) => self.write_simple(inner, '+').await?, [INFO] [stdout] ... | [INFO] [stdout] 95 | | Ok(()) [INFO] [stdout] 96 | | } [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] --> /opt/rustwide/workdir/src/handler.rs:70:71 [INFO] [stdout] | [INFO] [stdout] 70 | pub async fn write(&mut self, resp: &Resp) -> std::io::Result<()> { [INFO] [stdout] | _______________________________________________________________________^ [INFO] [stdout] 71 | | tracing::debug!("Writing: {resp:?}"); [INFO] [stdout] 72 | | match resp { [INFO] [stdout] 73 | | Resp::Simple(inner) => self.write_simple(inner, '+').await?, [INFO] [stdout] ... | [INFO] [stdout] 95 | | Ok(()) [INFO] [stdout] 96 | | } [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] --> /opt/rustwide/workdir/src/handler.rs:70:71 [INFO] [stdout] | [INFO] [stdout] 70 | pub async fn write(&mut self, resp: &Resp) -> std::io::Result<()> { [INFO] [stdout] | _______________________________________________________________________^ [INFO] [stdout] 71 | | tracing::debug!("Writing: {resp:?}"); [INFO] [stdout] 72 | | match resp { [INFO] [stdout] 73 | | Resp::Simple(inner) => self.write_simple(inner, '+').await?, [INFO] [stdout] ... | [INFO] [stdout] 95 | | Ok(()) [INFO] [stdout] 96 | | } [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] --> /opt/rustwide/workdir/src/handler.rs:70:71 [INFO] [stdout] | [INFO] [stdout] 70 | pub async fn write(&mut self, resp: &Resp) -> std::io::Result<()> { [INFO] [stdout] | _______________________________________________________________________^ [INFO] [stdout] 71 | | tracing::debug!("Writing: {resp:?}"); [INFO] [stdout] 72 | | match resp { [INFO] [stdout] 73 | | Resp::Simple(inner) => self.write_simple(inner, '+').await?, [INFO] [stdout] ... | [INFO] [stdout] 95 | | Ok(()) [INFO] [stdout] 96 | | } [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] --> /opt/rustwide/workdir/src/handler.rs:70:71 [INFO] [stdout] | [INFO] [stdout] 70 | pub async fn write(&mut self, resp: &Resp) -> std::io::Result<()> { [INFO] [stdout] | _______________________________________________________________________^ [INFO] [stdout] 71 | | tracing::debug!("Writing: {resp:?}"); [INFO] [stdout] 72 | | match resp { [INFO] [stdout] 73 | | Resp::Simple(inner) => self.write_simple(inner, '+').await?, [INFO] [stdout] ... | [INFO] [stdout] 95 | | Ok(()) [INFO] [stdout] 96 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> /opt/rustwide/workdir/src/roles/slave.rs:89:88 [INFO] [stdout] | [INFO] [stdout] 89 | async fn handshake(&self, stream: TcpStream, port: u16) -> anyhow::Result { [INFO] [stdout] | ________________________________________________________________________________________^ [INFO] [stdout] 90 | | let mut handler = Handler::new(stream); [INFO] [stdout] 91 | | tracing::info!("Starting handshake"); [INFO] [stdout] ... | [INFO] [stdout] 125 | | Ok(handler) [INFO] [stdout] 126 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> /opt/rustwide/workdir/src/roles/slave.rs:40:66 [INFO] [stdout] | [INFO] [stdout] 40 | pub async fn connect(&self, port: u16) -> anyhow::Result<()> { [INFO] [stdout] | __________________________________________________________________^ [INFO] [stdout] 41 | | tracing::info!("Connecting slave to master at {}", self.addr); [INFO] [stdout] 42 | | let master = TcpStream::connect(self.addr) [INFO] [stdout] 43 | | .await [INFO] [stdout] ... | [INFO] [stdout] 47 | | self.handle_connection(handler).await [INFO] [stdout] 48 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` block [INFO] [stdout] --> src/main.rs:27:22 [INFO] [stdout] | [INFO] [stdout] 27 | tokio::spawn(async move { slave.connect(ARGUMENTS.port).await }); [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.37.0/src/task/spawn.rs:166:21 [INFO] [stdout] | [INFO] [stdout] 164 | pub fn spawn(future: F) -> JoinHandle [INFO] [stdout] | ----- required by a bound in this function [INFO] [stdout] 165 | where [INFO] [stdout] 166 | F: Future + Send + 'static, [INFO] [stdout] | ^^^^ required by this bound in `spawn` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0275`. [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0275`. [INFO] [stdout] [INFO] [stderr] error: could not compile `redis-starter-rust` (bin "redis-starter-rust" test) due to 2 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `redis-starter-rust` (bin "redis-starter-rust") due to 2 previous errors [INFO] running `Command { std: "docker" "inspect" "0de07c92ff7616a38181fdc6a6f1e28277a7b837bd0dae6cd5c85f1113e8e5b3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0de07c92ff7616a38181fdc6a6f1e28277a7b837bd0dae6cd5c85f1113e8e5b3", kill_on_drop: false }` [INFO] [stdout] 0de07c92ff7616a38181fdc6a6f1e28277a7b837bd0dae6cd5c85f1113e8e5b3