[INFO] cloning repository https://github.com/aconley/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/aconley/codecrafters-redis-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Faconley%2Fcodecrafters-redis-rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Faconley%2Fcodecrafters-redis-rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] a58f0f31c2a049ea70ceda3a65931e4507ffd74f [INFO] checking aconley/codecrafters-redis-rust against try#8c500c7cefd54fd11d57295f3771d576be9ee415 for pr-145113 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Faconley%2Fcodecrafters-redis-rust" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/aconley/codecrafters-redis-rust [INFO] finished tweaking git repo https://github.com/aconley/codecrafters-redis-rust [INFO] tweaked toml for git repo https://github.com/aconley/codecrafters-redis-rust written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/aconley/codecrafters-redis-rust on toolchain 8c500c7cefd54fd11d57295f3771d576be9ee415 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8c500c7cefd54fd11d57295f3771d576be9ee415" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/aconley/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" "+8c500c7cefd54fd11d57295f3771d576be9ee415" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:ae6f63d130afcfff7f91f5ba9fdb2a74d52830289c6a2ea2d23a94dcfb480a0d" "/opt/rustwide/cargo-home/bin/cargo" "+8c500c7cefd54fd11d57295f3771d576be9ee415" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 122e207c94c7608e3b5c33568569a19f47fe7fec70142432a0e4c8fae237acaf [INFO] running `Command { std: "docker" "start" "-a" "122e207c94c7608e3b5c33568569a19f47fe7fec70142432a0e4c8fae237acaf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "122e207c94c7608e3b5c33568569a19f47fe7fec70142432a0e4c8fae237acaf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "122e207c94c7608e3b5c33568569a19f47fe7fec70142432a0e4c8fae237acaf", kill_on_drop: false }` [INFO] [stdout] 122e207c94c7608e3b5c33568569a19f47fe7fec70142432a0e4c8fae237acaf [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:ae6f63d130afcfff7f91f5ba9fdb2a74d52830289c6a2ea2d23a94dcfb480a0d" "/opt/rustwide/cargo-home/bin/cargo" "+8c500c7cefd54fd11d57295f3771d576be9ee415" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 000089e476bcc39b8dc4c8614c59db38299a8488ac96b9102fcee7941f1eb0c7 [INFO] running `Command { std: "docker" "start" "-a" "000089e476bcc39b8dc4c8614c59db38299a8488ac96b9102fcee7941f1eb0c7", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.93 [INFO] [stderr] Compiling unicode-ident v1.0.14 [INFO] [stderr] Compiling libc v0.2.169 [INFO] [stderr] Compiling autocfg v1.4.0 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Checking utf8parse v0.2.2 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Checking is_terminal_polyfill v1.70.1 [INFO] [stderr] Checking smallvec v1.13.2 [INFO] [stderr] Checking anstyle-parse v0.2.6 [INFO] [stderr] Checking anstyle-query v1.1.2 [INFO] [stderr] Checking colorchoice v1.0.3 [INFO] [stderr] Checking anstyle v1.0.10 [INFO] [stderr] Checking strsim v0.11.1 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Compiling anyhow v1.0.95 [INFO] [stderr] Checking clap_lex v0.7.4 [INFO] [stderr] Checking anstream v0.6.18 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Checking bytes v1.9.0 [INFO] [stderr] Checking clap_builder v4.5.26 [INFO] [stderr] Checking pin-project-lite v0.2.16 [INFO] [stderr] Checking memchr v2.7.4 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling quote v1.0.38 [INFO] [stderr] Checking base64 v0.22.1 [INFO] [stderr] Compiling syn v2.0.96 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Checking socket2 v0.5.8 [INFO] [stderr] Checking signal-hook-registry v1.4.2 [INFO] [stderr] Checking mio v1.0.3 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling clap_derive v4.5.24 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Checking tokio v1.43.0 [INFO] [stderr] Checking zerocopy v0.7.35 [INFO] [stderr] Checking clap v4.5.26 [INFO] [stderr] Checking ppv-lite86 v0.2.20 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking redis-starter-rust v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0275]: overflow evaluating the requirement `RespValue<'_>: Sync` [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 for `&RespValue<'_>` to implement `Send` [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/resp_parser.rs:73:5 [INFO] [stdout] | [INFO] [stdout] 73 | / { [INFO] [stdout] 74 | | match self { [INFO] [stdout] 75 | | RespValue::SimpleString(contents) => { [INFO] [stdout] 76 | | writer.write_u8(b'+').await?; [INFO] [stdout] ... | [INFO] [stdout] 121 | | Ok(()) [INFO] [stdout] 122 | | } [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/8c500c7cefd54fd11d57295f3771d576be9ee415/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/8c500c7cefd54fd11d57295f3771d576be9ee415/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/resp_parser.rs:73:5 [INFO] [stdout] | [INFO] [stdout] 73 | / { [INFO] [stdout] 74 | | match self { [INFO] [stdout] 75 | | RespValue::SimpleString(contents) => { [INFO] [stdout] 76 | | writer.write_u8(b'+').await?; [INFO] [stdout] ... | [INFO] [stdout] 121 | | Ok(()) [INFO] [stdout] 122 | | } [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/8c500c7cefd54fd11d57295f3771d576be9ee415/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/8c500c7cefd54fd11d57295f3771d576be9ee415/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/resp_parser.rs:73:5 [INFO] [stdout] | [INFO] [stdout] 73 | / { [INFO] [stdout] 74 | | match self { [INFO] [stdout] 75 | | RespValue::SimpleString(contents) => { [INFO] [stdout] 76 | | writer.write_u8(b'+').await?; [INFO] [stdout] ... | [INFO] [stdout] 121 | | Ok(()) [INFO] [stdout] 122 | | } [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/8c500c7cefd54fd11d57295f3771d576be9ee415/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/8c500c7cefd54fd11d57295f3771d576be9ee415/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/resp_parser.rs:73:5 [INFO] [stdout] | [INFO] [stdout] 73 | / { [INFO] [stdout] 74 | | match self { [INFO] [stdout] 75 | | RespValue::SimpleString(contents) => { [INFO] [stdout] 76 | | writer.write_u8(b'+').await?; [INFO] [stdout] ... | [INFO] [stdout] 121 | | Ok(()) [INFO] [stdout] 122 | | } [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/8c500c7cefd54fd11d57295f3771d576be9ee415/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/8c500c7cefd54fd11d57295f3771d576be9ee415/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/resp_parser.rs:73:5 [INFO] [stdout] | [INFO] [stdout] 73 | / { [INFO] [stdout] 74 | | match self { [INFO] [stdout] 75 | | RespValue::SimpleString(contents) => { [INFO] [stdout] 76 | | writer.write_u8(b'+').await?; [INFO] [stdout] ... | [INFO] [stdout] 121 | | Ok(()) [INFO] [stdout] 122 | | } [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/8c500c7cefd54fd11d57295f3771d576be9ee415/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/8c500c7cefd54fd11d57295f3771d576be9ee415/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/resp_parser.rs:73:5 [INFO] [stdout] | [INFO] [stdout] 73 | / { [INFO] [stdout] 74 | | match self { [INFO] [stdout] 75 | | RespValue::SimpleString(contents) => { [INFO] [stdout] 76 | | writer.write_u8(b'+').await?; [INFO] [stdout] ... | [INFO] [stdout] 121 | | Ok(()) [INFO] [stdout] 122 | | } [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/8c500c7cefd54fd11d57295f3771d576be9ee415/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/8c500c7cefd54fd11d57295f3771d576be9ee415/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/resp_parser.rs:73:5 [INFO] [stdout] | [INFO] [stdout] 73 | / { [INFO] [stdout] 74 | | match self { [INFO] [stdout] 75 | | RespValue::SimpleString(contents) => { [INFO] [stdout] 76 | | writer.write_u8(b'+').await?; [INFO] [stdout] ... | [INFO] [stdout] 121 | | Ok(()) [INFO] [stdout] 122 | | } [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/8c500c7cefd54fd11d57295f3771d576be9ee415/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/8c500c7cefd54fd11d57295f3771d576be9ee415/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/resp_parser.rs:73:5 [INFO] [stdout] | [INFO] [stdout] 73 | / { [INFO] [stdout] 74 | | match self { [INFO] [stdout] 75 | | RespValue::SimpleString(contents) => { [INFO] [stdout] 76 | | writer.write_u8(b'+').await?; [INFO] [stdout] ... | [INFO] [stdout] 121 | | Ok(()) [INFO] [stdout] 122 | | } [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/8c500c7cefd54fd11d57295f3771d576be9ee415/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/8c500c7cefd54fd11d57295f3771d576be9ee415/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/resp_parser.rs:73:5 [INFO] [stdout] | [INFO] [stdout] 73 | / { [INFO] [stdout] 74 | | match self { [INFO] [stdout] 75 | | RespValue::SimpleString(contents) => { [INFO] [stdout] 76 | | writer.write_u8(b'+').await?; [INFO] [stdout] ... | [INFO] [stdout] 121 | | Ok(()) [INFO] [stdout] 122 | | } [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/8c500c7cefd54fd11d57295f3771d576be9ee415/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/8c500c7cefd54fd11d57295f3771d576be9ee415/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/resp_parser.rs:73:5 [INFO] [stdout] | [INFO] [stdout] 73 | / { [INFO] [stdout] 74 | | match self { [INFO] [stdout] 75 | | RespValue::SimpleString(contents) => { [INFO] [stdout] 76 | | writer.write_u8(b'+').await?; [INFO] [stdout] ... | [INFO] [stdout] 121 | | Ok(()) [INFO] [stdout] 122 | | } [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/8c500c7cefd54fd11d57295f3771d576be9ee415/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/8c500c7cefd54fd11d57295f3771d576be9ee415/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/resp_parser.rs:73:5 [INFO] [stdout] | [INFO] [stdout] 73 | / { [INFO] [stdout] 74 | | match self { [INFO] [stdout] 75 | | RespValue::SimpleString(contents) => { [INFO] [stdout] 76 | | writer.write_u8(b'+').await?; [INFO] [stdout] ... | [INFO] [stdout] 121 | | Ok(()) [INFO] [stdout] 122 | | } [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/8c500c7cefd54fd11d57295f3771d576be9ee415/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/8c500c7cefd54fd11d57295f3771d576be9ee415/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/resp_parser.rs:73:5 [INFO] [stdout] | [INFO] [stdout] 73 | / { [INFO] [stdout] 74 | | match self { [INFO] [stdout] 75 | | RespValue::SimpleString(contents) => { [INFO] [stdout] 76 | | writer.write_u8(b'+').await?; [INFO] [stdout] ... | [INFO] [stdout] 121 | | Ok(()) [INFO] [stdout] 122 | | } [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/8c500c7cefd54fd11d57295f3771d576be9ee415/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/8c500c7cefd54fd11d57295f3771d576be9ee415/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/resp_parser.rs:73:5 [INFO] [stdout] | [INFO] [stdout] 73 | / { [INFO] [stdout] 74 | | match self { [INFO] [stdout] 75 | | RespValue::SimpleString(contents) => { [INFO] [stdout] 76 | | writer.write_u8(b'+').await?; [INFO] [stdout] ... | [INFO] [stdout] 121 | | Ok(()) [INFO] [stdout] 122 | | } [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/8c500c7cefd54fd11d57295f3771d576be9ee415/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/8c500c7cefd54fd11d57295f3771d576be9ee415/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/resp_parser.rs:73:5 [INFO] [stdout] | [INFO] [stdout] 73 | / { [INFO] [stdout] 74 | | match self { [INFO] [stdout] 75 | | RespValue::SimpleString(contents) => { [INFO] [stdout] 76 | | writer.write_u8(b'+').await?; [INFO] [stdout] ... | [INFO] [stdout] 121 | | Ok(()) [INFO] [stdout] 122 | | } [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/8c500c7cefd54fd11d57295f3771d576be9ee415/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/8c500c7cefd54fd11d57295f3771d576be9ee415/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/resp_parser.rs:73:5 [INFO] [stdout] | [INFO] [stdout] 73 | / { [INFO] [stdout] 74 | | match self { [INFO] [stdout] 75 | | RespValue::SimpleString(contents) => { [INFO] [stdout] 76 | | writer.write_u8(b'+').await?; [INFO] [stdout] ... | [INFO] [stdout] 121 | | Ok(()) [INFO] [stdout] 122 | | } [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/8c500c7cefd54fd11d57295f3771d576be9ee415/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/8c500c7cefd54fd11d57295f3771d576be9ee415/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/resp_parser.rs:73:5 [INFO] [stdout] | [INFO] [stdout] 73 | / { [INFO] [stdout] 74 | | match self { [INFO] [stdout] 75 | | RespValue::SimpleString(contents) => { [INFO] [stdout] 76 | | writer.write_u8(b'+').await?; [INFO] [stdout] ... | [INFO] [stdout] 121 | | Ok(()) [INFO] [stdout] 122 | | } [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/8c500c7cefd54fd11d57295f3771d576be9ee415/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/8c500c7cefd54fd11d57295f3771d576be9ee415/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/resp_parser.rs:73:5 [INFO] [stdout] | [INFO] [stdout] 73 | / { [INFO] [stdout] 74 | | match self { [INFO] [stdout] 75 | | RespValue::SimpleString(contents) => { [INFO] [stdout] 76 | | writer.write_u8(b'+').await?; [INFO] [stdout] ... | [INFO] [stdout] 121 | | Ok(()) [INFO] [stdout] 122 | | } [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/8c500c7cefd54fd11d57295f3771d576be9ee415/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/8c500c7cefd54fd11d57295f3771d576be9ee415/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/resp_parser.rs:73:5 [INFO] [stdout] | [INFO] [stdout] 73 | / { [INFO] [stdout] 74 | | match self { [INFO] [stdout] 75 | | RespValue::SimpleString(contents) => { [INFO] [stdout] 76 | | writer.write_u8(b'+').await?; [INFO] [stdout] ... | [INFO] [stdout] 121 | | Ok(()) [INFO] [stdout] 122 | | } [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/8c500c7cefd54fd11d57295f3771d576be9ee415/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/8c500c7cefd54fd11d57295f3771d576be9ee415/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/resp_parser.rs:73:5 [INFO] [stdout] | [INFO] [stdout] 73 | / { [INFO] [stdout] 74 | | match self { [INFO] [stdout] 75 | | RespValue::SimpleString(contents) => { [INFO] [stdout] 76 | | writer.write_u8(b'+').await?; [INFO] [stdout] ... | [INFO] [stdout] 121 | | Ok(()) [INFO] [stdout] 122 | | } [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/8c500c7cefd54fd11d57295f3771d576be9ee415/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/8c500c7cefd54fd11d57295f3771d576be9ee415/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/resp_parser.rs:73:5 [INFO] [stdout] | [INFO] [stdout] 73 | / { [INFO] [stdout] 74 | | match self { [INFO] [stdout] 75 | | RespValue::SimpleString(contents) => { [INFO] [stdout] 76 | | writer.write_u8(b'+').await?; [INFO] [stdout] ... | [INFO] [stdout] 121 | | Ok(()) [INFO] [stdout] 122 | | } [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/8c500c7cefd54fd11d57295f3771d576be9ee415/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/8c500c7cefd54fd11d57295f3771d576be9ee415/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/resp_parser.rs:73:5 [INFO] [stdout] | [INFO] [stdout] 73 | / { [INFO] [stdout] 74 | | match self { [INFO] [stdout] 75 | | RespValue::SimpleString(contents) => { [INFO] [stdout] 76 | | writer.write_u8(b'+').await?; [INFO] [stdout] ... | [INFO] [stdout] 121 | | Ok(()) [INFO] [stdout] 122 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/redis_handler.rs:115:100 [INFO] [stdout] | [INFO] [stdout] 115 | pub(crate) async unsafe fn handle_requests(&self, stream: TcpStream) -> Result<(), RedisError> { [INFO] [stdout] | ____________________________________________________________________________________________________^ [INFO] [stdout] 116 | | // Use a vec to avoid having a large stack state in the state machine. [INFO] [stdout] 117 | | let mut input_buf = vec![0u8; 512]; [INFO] [stdout] 118 | | let stream_ref = Arc::new(SyncUnsafeCell::new(stream)); [INFO] [stdout] ... | [INFO] [stdout] 163 | | Ok(()) [INFO] [stdout] 164 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` block [INFO] [stdout] --> src/main.rs:65:30 [INFO] [stdout] | [INFO] [stdout] 65 | tokio::spawn(async move { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0275]: overflow evaluating the requirement `resp_parser::RespValue<'_>: Sync` [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 for `&resp_parser::RespValue<'_>` to implement `Send` [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/resp_parser.rs:73:5 [INFO] [stdout] | [INFO] [stdout] 73 | / { [INFO] [stdout] 74 | | match self { [INFO] [stdout] 75 | | RespValue::SimpleString(contents) => { [INFO] [stdout] 76 | | writer.write_u8(b'+').await?; [INFO] [stdout] ... | [INFO] [stdout] 121 | | Ok(()) [INFO] [stdout] 122 | | } [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/8c500c7cefd54fd11d57295f3771d576be9ee415/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/8c500c7cefd54fd11d57295f3771d576be9ee415/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/resp_parser.rs:73:5 [INFO] [stdout] | [INFO] [stdout] 73 | / { [INFO] [stdout] 74 | | match self { [INFO] [stdout] 75 | | RespValue::SimpleString(contents) => { [INFO] [stdout] 76 | | writer.write_u8(b'+').await?; [INFO] [stdout] ... | [INFO] [stdout] 121 | | Ok(()) [INFO] [stdout] 122 | | } [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/8c500c7cefd54fd11d57295f3771d576be9ee415/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/8c500c7cefd54fd11d57295f3771d576be9ee415/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/resp_parser.rs:73:5 [INFO] [stdout] | [INFO] [stdout] 73 | / { [INFO] [stdout] 74 | | match self { [INFO] [stdout] 75 | | RespValue::SimpleString(contents) => { [INFO] [stdout] 76 | | writer.write_u8(b'+').await?; [INFO] [stdout] ... | [INFO] [stdout] 121 | | Ok(()) [INFO] [stdout] 122 | | } [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/8c500c7cefd54fd11d57295f3771d576be9ee415/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/8c500c7cefd54fd11d57295f3771d576be9ee415/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/resp_parser.rs:73:5 [INFO] [stdout] | [INFO] [stdout] 73 | / { [INFO] [stdout] 74 | | match self { [INFO] [stdout] 75 | | RespValue::SimpleString(contents) => { [INFO] [stdout] 76 | | writer.write_u8(b'+').await?; [INFO] [stdout] ... | [INFO] [stdout] 121 | | Ok(()) [INFO] [stdout] 122 | | } [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/8c500c7cefd54fd11d57295f3771d576be9ee415/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/8c500c7cefd54fd11d57295f3771d576be9ee415/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/resp_parser.rs:73:5 [INFO] [stdout] | [INFO] [stdout] 73 | / { [INFO] [stdout] 74 | | match self { [INFO] [stdout] 75 | | RespValue::SimpleString(contents) => { [INFO] [stdout] 76 | | writer.write_u8(b'+').await?; [INFO] [stdout] ... | [INFO] [stdout] 121 | | Ok(()) [INFO] [stdout] 122 | | } [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/8c500c7cefd54fd11d57295f3771d576be9ee415/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/8c500c7cefd54fd11d57295f3771d576be9ee415/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/resp_parser.rs:73:5 [INFO] [stdout] | [INFO] [stdout] 73 | / { [INFO] [stdout] 74 | | match self { [INFO] [stdout] 75 | | RespValue::SimpleString(contents) => { [INFO] [stdout] 76 | | writer.write_u8(b'+').await?; [INFO] [stdout] ... | [INFO] [stdout] 121 | | Ok(()) [INFO] [stdout] 122 | | } [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/8c500c7cefd54fd11d57295f3771d576be9ee415/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/8c500c7cefd54fd11d57295f3771d576be9ee415/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/resp_parser.rs:73:5 [INFO] [stdout] | [INFO] [stdout] 73 | / { [INFO] [stdout] 74 | | match self { [INFO] [stdout] 75 | | RespValue::SimpleString(contents) => { [INFO] [stdout] 76 | | writer.write_u8(b'+').await?; [INFO] [stdout] ... | [INFO] [stdout] 121 | | Ok(()) [INFO] [stdout] 122 | | } [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/8c500c7cefd54fd11d57295f3771d576be9ee415/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/8c500c7cefd54fd11d57295f3771d576be9ee415/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/resp_parser.rs:73:5 [INFO] [stdout] | [INFO] [stdout] 73 | / { [INFO] [stdout] 74 | | match self { [INFO] [stdout] 75 | | RespValue::SimpleString(contents) => { [INFO] [stdout] 76 | | writer.write_u8(b'+').await?; [INFO] [stdout] ... | [INFO] [stdout] 121 | | Ok(()) [INFO] [stdout] 122 | | } [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/8c500c7cefd54fd11d57295f3771d576be9ee415/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/8c500c7cefd54fd11d57295f3771d576be9ee415/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/resp_parser.rs:73:5 [INFO] [stdout] | [INFO] [stdout] 73 | / { [INFO] [stdout] 74 | | match self { [INFO] [stdout] 75 | | RespValue::SimpleString(contents) => { [INFO] [stdout] 76 | | writer.write_u8(b'+').await?; [INFO] [stdout] ... | [INFO] [stdout] 121 | | Ok(()) [INFO] [stdout] 122 | | } [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/8c500c7cefd54fd11d57295f3771d576be9ee415/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/8c500c7cefd54fd11d57295f3771d576be9ee415/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/resp_parser.rs:73:5 [INFO] [stdout] | [INFO] [stdout] 73 | / { [INFO] [stdout] 74 | | match self { [INFO] [stdout] 75 | | RespValue::SimpleString(contents) => { [INFO] [stdout] 76 | | writer.write_u8(b'+').await?; [INFO] [stdout] ... | [INFO] [stdout] 121 | | Ok(()) [INFO] [stdout] 122 | | } [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/8c500c7cefd54fd11d57295f3771d576be9ee415/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/8c500c7cefd54fd11d57295f3771d576be9ee415/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/resp_parser.rs:73:5 [INFO] [stdout] | [INFO] [stdout] 73 | / { [INFO] [stdout] 74 | | match self { [INFO] [stdout] 75 | | RespValue::SimpleString(contents) => { [INFO] [stdout] 76 | | writer.write_u8(b'+').await?; [INFO] [stdout] ... | [INFO] [stdout] 121 | | Ok(()) [INFO] [stdout] 122 | | } [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/8c500c7cefd54fd11d57295f3771d576be9ee415/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/8c500c7cefd54fd11d57295f3771d576be9ee415/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/resp_parser.rs:73:5 [INFO] [stdout] | [INFO] [stdout] 73 | / { [INFO] [stdout] 74 | | match self { [INFO] [stdout] 75 | | RespValue::SimpleString(contents) => { [INFO] [stdout] 76 | | writer.write_u8(b'+').await?; [INFO] [stdout] ... | [INFO] [stdout] 121 | | Ok(()) [INFO] [stdout] 122 | | } [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/8c500c7cefd54fd11d57295f3771d576be9ee415/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/8c500c7cefd54fd11d57295f3771d576be9ee415/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/resp_parser.rs:73:5 [INFO] [stdout] | [INFO] [stdout] 73 | / { [INFO] [stdout] 74 | | match self { [INFO] [stdout] 75 | | RespValue::SimpleString(contents) => { [INFO] [stdout] 76 | | writer.write_u8(b'+').await?; [INFO] [stdout] ... | [INFO] [stdout] 121 | | Ok(()) [INFO] [stdout] 122 | | } [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/8c500c7cefd54fd11d57295f3771d576be9ee415/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/8c500c7cefd54fd11d57295f3771d576be9ee415/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/resp_parser.rs:73:5 [INFO] [stdout] | [INFO] [stdout] 73 | / { [INFO] [stdout] 74 | | match self { [INFO] [stdout] 75 | | RespValue::SimpleString(contents) => { [INFO] [stdout] 76 | | writer.write_u8(b'+').await?; [INFO] [stdout] ... | [INFO] [stdout] 121 | | Ok(()) [INFO] [stdout] 122 | | } [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/8c500c7cefd54fd11d57295f3771d576be9ee415/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/8c500c7cefd54fd11d57295f3771d576be9ee415/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/resp_parser.rs:73:5 [INFO] [stdout] | [INFO] [stdout] 73 | / { [INFO] [stdout] 74 | | match self { [INFO] [stdout] 75 | | RespValue::SimpleString(contents) => { [INFO] [stdout] 76 | | writer.write_u8(b'+').await?; [INFO] [stdout] ... | [INFO] [stdout] 121 | | Ok(()) [INFO] [stdout] 122 | | } [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/8c500c7cefd54fd11d57295f3771d576be9ee415/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/8c500c7cefd54fd11d57295f3771d576be9ee415/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/resp_parser.rs:73:5 [INFO] [stdout] | [INFO] [stdout] 73 | / { [INFO] [stdout] 74 | | match self { [INFO] [stdout] 75 | | RespValue::SimpleString(contents) => { [INFO] [stdout] 76 | | writer.write_u8(b'+').await?; [INFO] [stdout] ... | [INFO] [stdout] 121 | | Ok(()) [INFO] [stdout] 122 | | } [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/8c500c7cefd54fd11d57295f3771d576be9ee415/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/8c500c7cefd54fd11d57295f3771d576be9ee415/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/resp_parser.rs:73:5 [INFO] [stdout] | [INFO] [stdout] 73 | / { [INFO] [stdout] 74 | | match self { [INFO] [stdout] 75 | | RespValue::SimpleString(contents) => { [INFO] [stdout] 76 | | writer.write_u8(b'+').await?; [INFO] [stdout] ... | [INFO] [stdout] 121 | | Ok(()) [INFO] [stdout] 122 | | } [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/8c500c7cefd54fd11d57295f3771d576be9ee415/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/8c500c7cefd54fd11d57295f3771d576be9ee415/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/resp_parser.rs:73:5 [INFO] [stdout] | [INFO] [stdout] 73 | / { [INFO] [stdout] 74 | | match self { [INFO] [stdout] 75 | | RespValue::SimpleString(contents) => { [INFO] [stdout] 76 | | writer.write_u8(b'+').await?; [INFO] [stdout] ... | [INFO] [stdout] 121 | | Ok(()) [INFO] [stdout] 122 | | } [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/8c500c7cefd54fd11d57295f3771d576be9ee415/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/8c500c7cefd54fd11d57295f3771d576be9ee415/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/resp_parser.rs:73:5 [INFO] [stdout] | [INFO] [stdout] 73 | / { [INFO] [stdout] 74 | | match self { [INFO] [stdout] 75 | | RespValue::SimpleString(contents) => { [INFO] [stdout] 76 | | writer.write_u8(b'+').await?; [INFO] [stdout] ... | [INFO] [stdout] 121 | | Ok(()) [INFO] [stdout] 122 | | } [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/8c500c7cefd54fd11d57295f3771d576be9ee415/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/8c500c7cefd54fd11d57295f3771d576be9ee415/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/resp_parser.rs:73:5 [INFO] [stdout] | [INFO] [stdout] 73 | / { [INFO] [stdout] 74 | | match self { [INFO] [stdout] 75 | | RespValue::SimpleString(contents) => { [INFO] [stdout] 76 | | writer.write_u8(b'+').await?; [INFO] [stdout] ... | [INFO] [stdout] 121 | | Ok(()) [INFO] [stdout] 122 | | } [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/8c500c7cefd54fd11d57295f3771d576be9ee415/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/8c500c7cefd54fd11d57295f3771d576be9ee415/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/resp_parser.rs:73:5 [INFO] [stdout] | [INFO] [stdout] 73 | / { [INFO] [stdout] 74 | | match self { [INFO] [stdout] 75 | | RespValue::SimpleString(contents) => { [INFO] [stdout] 76 | | writer.write_u8(b'+').await?; [INFO] [stdout] ... | [INFO] [stdout] 121 | | Ok(()) [INFO] [stdout] 122 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/redis_handler.rs:115:100 [INFO] [stdout] | [INFO] [stdout] 115 | pub(crate) async unsafe fn handle_requests(&self, stream: TcpStream) -> Result<(), RedisError> { [INFO] [stdout] | ____________________________________________________________________________________________________^ [INFO] [stdout] 116 | | // Use a vec to avoid having a large stack state in the state machine. [INFO] [stdout] 117 | | let mut input_buf = vec![0u8; 512]; [INFO] [stdout] 118 | | let stream_ref = Arc::new(SyncUnsafeCell::new(stream)); [INFO] [stdout] ... | [INFO] [stdout] 163 | | Ok(()) [INFO] [stdout] 164 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` block [INFO] [stdout] --> src/main.rs:65:30 [INFO] [stdout] | [INFO] [stdout] 65 | tokio::spawn(async move { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0275]: overflow evaluating the requirement `RespValue<'_>: Sync` [INFO] [stdout] --> src/main.rs:65:17 [INFO] [stdout] | [INFO] [stdout] 65 | / tokio::spawn(async move { [INFO] [stdout] 66 | | unsafe { [INFO] [stdout] 67 | | h.handle_requests(stream) [INFO] [stdout] 68 | | .await [INFO] [stdout] ... | [INFO] [stdout] 71 | | }); [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 for `&RespValue<'_>` to implement `Send` [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/resp_parser.rs:73:5 [INFO] [stdout] | [INFO] [stdout] 73 | / { [INFO] [stdout] 74 | | match self { [INFO] [stdout] 75 | | RespValue::SimpleString(contents) => { [INFO] [stdout] 76 | | writer.write_u8(b'+').await?; [INFO] [stdout] ... | [INFO] [stdout] 121 | | Ok(()) [INFO] [stdout] 122 | | } [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/8c500c7cefd54fd11d57295f3771d576be9ee415/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/8c500c7cefd54fd11d57295f3771d576be9ee415/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/resp_parser.rs:73:5 [INFO] [stdout] | [INFO] [stdout] 73 | / { [INFO] [stdout] 74 | | match self { [INFO] [stdout] 75 | | RespValue::SimpleString(contents) => { [INFO] [stdout] 76 | | writer.write_u8(b'+').await?; [INFO] [stdout] ... | [INFO] [stdout] 121 | | Ok(()) [INFO] [stdout] 122 | | } [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/8c500c7cefd54fd11d57295f3771d576be9ee415/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/8c500c7cefd54fd11d57295f3771d576be9ee415/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/resp_parser.rs:73:5 [INFO] [stdout] | [INFO] [stdout] 73 | / { [INFO] [stdout] 74 | | match self { [INFO] [stdout] 75 | | RespValue::SimpleString(contents) => { [INFO] [stdout] 76 | | writer.write_u8(b'+').await?; [INFO] [stdout] ... | [INFO] [stdout] 121 | | Ok(()) [INFO] [stdout] 122 | | } [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/8c500c7cefd54fd11d57295f3771d576be9ee415/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/8c500c7cefd54fd11d57295f3771d576be9ee415/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/resp_parser.rs:73:5 [INFO] [stdout] | [INFO] [stdout] 73 | / { [INFO] [stdout] 74 | | match self { [INFO] [stdout] 75 | | RespValue::SimpleString(contents) => { [INFO] [stdout] 76 | | writer.write_u8(b'+').await?; [INFO] [stdout] ... | [INFO] [stdout] 121 | | Ok(()) [INFO] [stdout] 122 | | } [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/8c500c7cefd54fd11d57295f3771d576be9ee415/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/8c500c7cefd54fd11d57295f3771d576be9ee415/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/resp_parser.rs:73:5 [INFO] [stdout] | [INFO] [stdout] 73 | / { [INFO] [stdout] 74 | | match self { [INFO] [stdout] 75 | | RespValue::SimpleString(contents) => { [INFO] [stdout] 76 | | writer.write_u8(b'+').await?; [INFO] [stdout] ... | [INFO] [stdout] 121 | | Ok(()) [INFO] [stdout] 122 | | } [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/8c500c7cefd54fd11d57295f3771d576be9ee415/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/8c500c7cefd54fd11d57295f3771d576be9ee415/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/resp_parser.rs:73:5 [INFO] [stdout] | [INFO] [stdout] 73 | / { [INFO] [stdout] 74 | | match self { [INFO] [stdout] 75 | | RespValue::SimpleString(contents) => { [INFO] [stdout] 76 | | writer.write_u8(b'+').await?; [INFO] [stdout] ... | [INFO] [stdout] 121 | | Ok(()) [INFO] [stdout] 122 | | } [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/8c500c7cefd54fd11d57295f3771d576be9ee415/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/8c500c7cefd54fd11d57295f3771d576be9ee415/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/resp_parser.rs:73:5 [INFO] [stdout] | [INFO] [stdout] 73 | / { [INFO] [stdout] 74 | | match self { [INFO] [stdout] 75 | | RespValue::SimpleString(contents) => { [INFO] [stdout] 76 | | writer.write_u8(b'+').await?; [INFO] [stdout] ... | [INFO] [stdout] 121 | | Ok(()) [INFO] [stdout] 122 | | } [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/8c500c7cefd54fd11d57295f3771d576be9ee415/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/8c500c7cefd54fd11d57295f3771d576be9ee415/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/resp_parser.rs:73:5 [INFO] [stdout] | [INFO] [stdout] 73 | / { [INFO] [stdout] 74 | | match self { [INFO] [stdout] 75 | | RespValue::SimpleString(contents) => { [INFO] [stdout] 76 | | writer.write_u8(b'+').await?; [INFO] [stdout] ... | [INFO] [stdout] 121 | | Ok(()) [INFO] [stdout] 122 | | } [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/8c500c7cefd54fd11d57295f3771d576be9ee415/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/8c500c7cefd54fd11d57295f3771d576be9ee415/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/resp_parser.rs:73:5 [INFO] [stdout] | [INFO] [stdout] 73 | / { [INFO] [stdout] 74 | | match self { [INFO] [stdout] 75 | | RespValue::SimpleString(contents) => { [INFO] [stdout] 76 | | writer.write_u8(b'+').await?; [INFO] [stdout] ... | [INFO] [stdout] 121 | | Ok(()) [INFO] [stdout] 122 | | } [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/8c500c7cefd54fd11d57295f3771d576be9ee415/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/8c500c7cefd54fd11d57295f3771d576be9ee415/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/resp_parser.rs:73:5 [INFO] [stdout] | [INFO] [stdout] 73 | / { [INFO] [stdout] 74 | | match self { [INFO] [stdout] 75 | | RespValue::SimpleString(contents) => { [INFO] [stdout] 76 | | writer.write_u8(b'+').await?; [INFO] [stdout] ... | [INFO] [stdout] 121 | | Ok(()) [INFO] [stdout] 122 | | } [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/8c500c7cefd54fd11d57295f3771d576be9ee415/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/8c500c7cefd54fd11d57295f3771d576be9ee415/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/resp_parser.rs:73:5 [INFO] [stdout] | [INFO] [stdout] 73 | / { [INFO] [stdout] 74 | | match self { [INFO] [stdout] 75 | | RespValue::SimpleString(contents) => { [INFO] [stdout] 76 | | writer.write_u8(b'+').await?; [INFO] [stdout] ... | [INFO] [stdout] 121 | | Ok(()) [INFO] [stdout] 122 | | } [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/8c500c7cefd54fd11d57295f3771d576be9ee415/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/8c500c7cefd54fd11d57295f3771d576be9ee415/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/resp_parser.rs:73:5 [INFO] [stdout] | [INFO] [stdout] 73 | / { [INFO] [stdout] 74 | | match self { [INFO] [stdout] 75 | | RespValue::SimpleString(contents) => { [INFO] [stdout] 76 | | writer.write_u8(b'+').await?; [INFO] [stdout] ... | [INFO] [stdout] 121 | | Ok(()) [INFO] [stdout] 122 | | } [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/8c500c7cefd54fd11d57295f3771d576be9ee415/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/8c500c7cefd54fd11d57295f3771d576be9ee415/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/resp_parser.rs:73:5 [INFO] [stdout] | [INFO] [stdout] 73 | / { [INFO] [stdout] 74 | | match self { [INFO] [stdout] 75 | | RespValue::SimpleString(contents) => { [INFO] [stdout] 76 | | writer.write_u8(b'+').await?; [INFO] [stdout] ... | [INFO] [stdout] 121 | | Ok(()) [INFO] [stdout] 122 | | } [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/8c500c7cefd54fd11d57295f3771d576be9ee415/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/8c500c7cefd54fd11d57295f3771d576be9ee415/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/resp_parser.rs:73:5 [INFO] [stdout] | [INFO] [stdout] 73 | / { [INFO] [stdout] 74 | | match self { [INFO] [stdout] 75 | | RespValue::SimpleString(contents) => { [INFO] [stdout] 76 | | writer.write_u8(b'+').await?; [INFO] [stdout] ... | [INFO] [stdout] 121 | | Ok(()) [INFO] [stdout] 122 | | } [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/8c500c7cefd54fd11d57295f3771d576be9ee415/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/8c500c7cefd54fd11d57295f3771d576be9ee415/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/resp_parser.rs:73:5 [INFO] [stdout] | [INFO] [stdout] 73 | / { [INFO] [stdout] 74 | | match self { [INFO] [stdout] 75 | | RespValue::SimpleString(contents) => { [INFO] [stdout] 76 | | writer.write_u8(b'+').await?; [INFO] [stdout] ... | [INFO] [stdout] 121 | | Ok(()) [INFO] [stdout] 122 | | } [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/8c500c7cefd54fd11d57295f3771d576be9ee415/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/8c500c7cefd54fd11d57295f3771d576be9ee415/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/resp_parser.rs:73:5 [INFO] [stdout] | [INFO] [stdout] 73 | / { [INFO] [stdout] 74 | | match self { [INFO] [stdout] 75 | | RespValue::SimpleString(contents) => { [INFO] [stdout] 76 | | writer.write_u8(b'+').await?; [INFO] [stdout] ... | [INFO] [stdout] 121 | | Ok(()) [INFO] [stdout] 122 | | } [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/8c500c7cefd54fd11d57295f3771d576be9ee415/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/8c500c7cefd54fd11d57295f3771d576be9ee415/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/resp_parser.rs:73:5 [INFO] [stdout] | [INFO] [stdout] 73 | / { [INFO] [stdout] 74 | | match self { [INFO] [stdout] 75 | | RespValue::SimpleString(contents) => { [INFO] [stdout] 76 | | writer.write_u8(b'+').await?; [INFO] [stdout] ... | [INFO] [stdout] 121 | | Ok(()) [INFO] [stdout] 122 | | } [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/8c500c7cefd54fd11d57295f3771d576be9ee415/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/8c500c7cefd54fd11d57295f3771d576be9ee415/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/resp_parser.rs:73:5 [INFO] [stdout] | [INFO] [stdout] 73 | / { [INFO] [stdout] 74 | | match self { [INFO] [stdout] 75 | | RespValue::SimpleString(contents) => { [INFO] [stdout] 76 | | writer.write_u8(b'+').await?; [INFO] [stdout] ... | [INFO] [stdout] 121 | | Ok(()) [INFO] [stdout] 122 | | } [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/8c500c7cefd54fd11d57295f3771d576be9ee415/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/8c500c7cefd54fd11d57295f3771d576be9ee415/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/resp_parser.rs:73:5 [INFO] [stdout] | [INFO] [stdout] 73 | / { [INFO] [stdout] 74 | | match self { [INFO] [stdout] 75 | | RespValue::SimpleString(contents) => { [INFO] [stdout] 76 | | writer.write_u8(b'+').await?; [INFO] [stdout] ... | [INFO] [stdout] 121 | | Ok(()) [INFO] [stdout] 122 | | } [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/8c500c7cefd54fd11d57295f3771d576be9ee415/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/8c500c7cefd54fd11d57295f3771d576be9ee415/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/resp_parser.rs:73:5 [INFO] [stdout] | [INFO] [stdout] 73 | / { [INFO] [stdout] 74 | | match self { [INFO] [stdout] 75 | | RespValue::SimpleString(contents) => { [INFO] [stdout] 76 | | writer.write_u8(b'+').await?; [INFO] [stdout] ... | [INFO] [stdout] 121 | | Ok(()) [INFO] [stdout] 122 | | } [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/8c500c7cefd54fd11d57295f3771d576be9ee415/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/8c500c7cefd54fd11d57295f3771d576be9ee415/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/resp_parser.rs:73:5 [INFO] [stdout] | [INFO] [stdout] 73 | / { [INFO] [stdout] 74 | | match self { [INFO] [stdout] 75 | | RespValue::SimpleString(contents) => { [INFO] [stdout] 76 | | writer.write_u8(b'+').await?; [INFO] [stdout] ... | [INFO] [stdout] 121 | | Ok(()) [INFO] [stdout] 122 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/redis_handler.rs:115:100 [INFO] [stdout] | [INFO] [stdout] 115 | pub(crate) async unsafe fn handle_requests(&self, stream: TcpStream) -> Result<(), RedisError> { [INFO] [stdout] | ____________________________________________________________________________________________________^ [INFO] [stdout] 116 | | // Use a vec to avoid having a large stack state in the state machine. [INFO] [stdout] 117 | | let mut input_buf = vec![0u8; 512]; [INFO] [stdout] 118 | | let stream_ref = Arc::new(SyncUnsafeCell::new(stream)); [INFO] [stdout] ... | [INFO] [stdout] 163 | | Ok(()) [INFO] [stdout] 164 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` block [INFO] [stdout] --> src/main.rs:65:30 [INFO] [stdout] | [INFO] [stdout] 65 | tokio::spawn(async move { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] note: required by a bound in `tokio::spawn` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.43.0/src/task/spawn.rs:168:21 [INFO] [stdout] | [INFO] [stdout] 166 | pub fn spawn(future: F) -> JoinHandle [INFO] [stdout] | ----- required by a bound in this function [INFO] [stdout] 167 | where [INFO] [stdout] 168 | F: Future + Send + 'static, [INFO] [stdout] | ^^^^ required by this bound in `spawn` [INFO] [stdout] [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") due to 2 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0275]: overflow evaluating the requirement `resp_parser::RespValue<'_>: Sync` [INFO] [stdout] --> src/main.rs:65:17 [INFO] [stdout] | [INFO] [stdout] 65 | / tokio::spawn(async move { [INFO] [stdout] 66 | | unsafe { [INFO] [stdout] 67 | | h.handle_requests(stream) [INFO] [stdout] 68 | | .await [INFO] [stdout] ... | [INFO] [stdout] 71 | | }); [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 for `&resp_parser::RespValue<'_>` to implement `Send` [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/resp_parser.rs:73:5 [INFO] [stdout] | [INFO] [stdout] 73 | / { [INFO] [stdout] 74 | | match self { [INFO] [stdout] 75 | | RespValue::SimpleString(contents) => { [INFO] [stdout] 76 | | writer.write_u8(b'+').await?; [INFO] [stdout] ... | [INFO] [stdout] 121 | | Ok(()) [INFO] [stdout] 122 | | } [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/8c500c7cefd54fd11d57295f3771d576be9ee415/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/8c500c7cefd54fd11d57295f3771d576be9ee415/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/resp_parser.rs:73:5 [INFO] [stdout] | [INFO] [stdout] 73 | / { [INFO] [stdout] 74 | | match self { [INFO] [stdout] 75 | | RespValue::SimpleString(contents) => { [INFO] [stdout] 76 | | writer.write_u8(b'+').await?; [INFO] [stdout] ... | [INFO] [stdout] 121 | | Ok(()) [INFO] [stdout] 122 | | } [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/8c500c7cefd54fd11d57295f3771d576be9ee415/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/8c500c7cefd54fd11d57295f3771d576be9ee415/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/resp_parser.rs:73:5 [INFO] [stdout] | [INFO] [stdout] 73 | / { [INFO] [stdout] 74 | | match self { [INFO] [stdout] 75 | | RespValue::SimpleString(contents) => { [INFO] [stdout] 76 | | writer.write_u8(b'+').await?; [INFO] [stdout] ... | [INFO] [stdout] 121 | | Ok(()) [INFO] [stdout] 122 | | } [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/8c500c7cefd54fd11d57295f3771d576be9ee415/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/8c500c7cefd54fd11d57295f3771d576be9ee415/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/resp_parser.rs:73:5 [INFO] [stdout] | [INFO] [stdout] 73 | / { [INFO] [stdout] 74 | | match self { [INFO] [stdout] 75 | | RespValue::SimpleString(contents) => { [INFO] [stdout] 76 | | writer.write_u8(b'+').await?; [INFO] [stdout] ... | [INFO] [stdout] 121 | | Ok(()) [INFO] [stdout] 122 | | } [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/8c500c7cefd54fd11d57295f3771d576be9ee415/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/8c500c7cefd54fd11d57295f3771d576be9ee415/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/resp_parser.rs:73:5 [INFO] [stdout] | [INFO] [stdout] 73 | / { [INFO] [stdout] 74 | | match self { [INFO] [stdout] 75 | | RespValue::SimpleString(contents) => { [INFO] [stdout] 76 | | writer.write_u8(b'+').await?; [INFO] [stdout] ... | [INFO] [stdout] 121 | | Ok(()) [INFO] [stdout] 122 | | } [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/8c500c7cefd54fd11d57295f3771d576be9ee415/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/8c500c7cefd54fd11d57295f3771d576be9ee415/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/resp_parser.rs:73:5 [INFO] [stdout] | [INFO] [stdout] 73 | / { [INFO] [stdout] 74 | | match self { [INFO] [stdout] 75 | | RespValue::SimpleString(contents) => { [INFO] [stdout] 76 | | writer.write_u8(b'+').await?; [INFO] [stdout] ... | [INFO] [stdout] 121 | | Ok(()) [INFO] [stdout] 122 | | } [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/8c500c7cefd54fd11d57295f3771d576be9ee415/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/8c500c7cefd54fd11d57295f3771d576be9ee415/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/resp_parser.rs:73:5 [INFO] [stdout] | [INFO] [stdout] 73 | / { [INFO] [stdout] 74 | | match self { [INFO] [stdout] 75 | | RespValue::SimpleString(contents) => { [INFO] [stdout] 76 | | writer.write_u8(b'+').await?; [INFO] [stdout] ... | [INFO] [stdout] 121 | | Ok(()) [INFO] [stdout] 122 | | } [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/8c500c7cefd54fd11d57295f3771d576be9ee415/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/8c500c7cefd54fd11d57295f3771d576be9ee415/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/resp_parser.rs:73:5 [INFO] [stdout] | [INFO] [stdout] 73 | / { [INFO] [stdout] 74 | | match self { [INFO] [stdout] 75 | | RespValue::SimpleString(contents) => { [INFO] [stdout] 76 | | writer.write_u8(b'+').await?; [INFO] [stdout] ... | [INFO] [stdout] 121 | | Ok(()) [INFO] [stdout] 122 | | } [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/8c500c7cefd54fd11d57295f3771d576be9ee415/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/8c500c7cefd54fd11d57295f3771d576be9ee415/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/resp_parser.rs:73:5 [INFO] [stdout] | [INFO] [stdout] 73 | / { [INFO] [stdout] 74 | | match self { [INFO] [stdout] 75 | | RespValue::SimpleString(contents) => { [INFO] [stdout] 76 | | writer.write_u8(b'+').await?; [INFO] [stdout] ... | [INFO] [stdout] 121 | | Ok(()) [INFO] [stdout] 122 | | } [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/8c500c7cefd54fd11d57295f3771d576be9ee415/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/8c500c7cefd54fd11d57295f3771d576be9ee415/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/resp_parser.rs:73:5 [INFO] [stdout] | [INFO] [stdout] 73 | / { [INFO] [stdout] 74 | | match self { [INFO] [stdout] 75 | | RespValue::SimpleString(contents) => { [INFO] [stdout] 76 | | writer.write_u8(b'+').await?; [INFO] [stdout] ... | [INFO] [stdout] 121 | | Ok(()) [INFO] [stdout] 122 | | } [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/8c500c7cefd54fd11d57295f3771d576be9ee415/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/8c500c7cefd54fd11d57295f3771d576be9ee415/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/resp_parser.rs:73:5 [INFO] [stdout] | [INFO] [stdout] 73 | / { [INFO] [stdout] 74 | | match self { [INFO] [stdout] 75 | | RespValue::SimpleString(contents) => { [INFO] [stdout] 76 | | writer.write_u8(b'+').await?; [INFO] [stdout] ... | [INFO] [stdout] 121 | | Ok(()) [INFO] [stdout] 122 | | } [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/8c500c7cefd54fd11d57295f3771d576be9ee415/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/8c500c7cefd54fd11d57295f3771d576be9ee415/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/resp_parser.rs:73:5 [INFO] [stdout] | [INFO] [stdout] 73 | / { [INFO] [stdout] 74 | | match self { [INFO] [stdout] 75 | | RespValue::SimpleString(contents) => { [INFO] [stdout] 76 | | writer.write_u8(b'+').await?; [INFO] [stdout] ... | [INFO] [stdout] 121 | | Ok(()) [INFO] [stdout] 122 | | } [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/8c500c7cefd54fd11d57295f3771d576be9ee415/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/8c500c7cefd54fd11d57295f3771d576be9ee415/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/resp_parser.rs:73:5 [INFO] [stdout] | [INFO] [stdout] 73 | / { [INFO] [stdout] 74 | | match self { [INFO] [stdout] 75 | | RespValue::SimpleString(contents) => { [INFO] [stdout] 76 | | writer.write_u8(b'+').await?; [INFO] [stdout] ... | [INFO] [stdout] 121 | | Ok(()) [INFO] [stdout] 122 | | } [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/8c500c7cefd54fd11d57295f3771d576be9ee415/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/8c500c7cefd54fd11d57295f3771d576be9ee415/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/resp_parser.rs:73:5 [INFO] [stdout] | [INFO] [stdout] 73 | / { [INFO] [stdout] 74 | | match self { [INFO] [stdout] 75 | | RespValue::SimpleString(contents) => { [INFO] [stdout] 76 | | writer.write_u8(b'+').await?; [INFO] [stdout] ... | [INFO] [stdout] 121 | | Ok(()) [INFO] [stdout] 122 | | } [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/8c500c7cefd54fd11d57295f3771d576be9ee415/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/8c500c7cefd54fd11d57295f3771d576be9ee415/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/resp_parser.rs:73:5 [INFO] [stdout] | [INFO] [stdout] 73 | / { [INFO] [stdout] 74 | | match self { [INFO] [stdout] 75 | | RespValue::SimpleString(contents) => { [INFO] [stdout] 76 | | writer.write_u8(b'+').await?; [INFO] [stdout] ... | [INFO] [stdout] 121 | | Ok(()) [INFO] [stdout] 122 | | } [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/8c500c7cefd54fd11d57295f3771d576be9ee415/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/8c500c7cefd54fd11d57295f3771d576be9ee415/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/resp_parser.rs:73:5 [INFO] [stdout] | [INFO] [stdout] 73 | / { [INFO] [stdout] 74 | | match self { [INFO] [stdout] 75 | | RespValue::SimpleString(contents) => { [INFO] [stdout] 76 | | writer.write_u8(b'+').await?; [INFO] [stdout] ... | [INFO] [stdout] 121 | | Ok(()) [INFO] [stdout] 122 | | } [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/8c500c7cefd54fd11d57295f3771d576be9ee415/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/8c500c7cefd54fd11d57295f3771d576be9ee415/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/resp_parser.rs:73:5 [INFO] [stdout] | [INFO] [stdout] 73 | / { [INFO] [stdout] 74 | | match self { [INFO] [stdout] 75 | | RespValue::SimpleString(contents) => { [INFO] [stdout] 76 | | writer.write_u8(b'+').await?; [INFO] [stdout] ... | [INFO] [stdout] 121 | | Ok(()) [INFO] [stdout] 122 | | } [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/8c500c7cefd54fd11d57295f3771d576be9ee415/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/8c500c7cefd54fd11d57295f3771d576be9ee415/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/resp_parser.rs:73:5 [INFO] [stdout] | [INFO] [stdout] 73 | / { [INFO] [stdout] 74 | | match self { [INFO] [stdout] 75 | | RespValue::SimpleString(contents) => { [INFO] [stdout] 76 | | writer.write_u8(b'+').await?; [INFO] [stdout] ... | [INFO] [stdout] 121 | | Ok(()) [INFO] [stdout] 122 | | } [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/8c500c7cefd54fd11d57295f3771d576be9ee415/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/8c500c7cefd54fd11d57295f3771d576be9ee415/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/resp_parser.rs:73:5 [INFO] [stdout] | [INFO] [stdout] 73 | / { [INFO] [stdout] 74 | | match self { [INFO] [stdout] 75 | | RespValue::SimpleString(contents) => { [INFO] [stdout] 76 | | writer.write_u8(b'+').await?; [INFO] [stdout] ... | [INFO] [stdout] 121 | | Ok(()) [INFO] [stdout] 122 | | } [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/8c500c7cefd54fd11d57295f3771d576be9ee415/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/8c500c7cefd54fd11d57295f3771d576be9ee415/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/resp_parser.rs:73:5 [INFO] [stdout] | [INFO] [stdout] 73 | / { [INFO] [stdout] 74 | | match self { [INFO] [stdout] 75 | | RespValue::SimpleString(contents) => { [INFO] [stdout] 76 | | writer.write_u8(b'+').await?; [INFO] [stdout] ... | [INFO] [stdout] 121 | | Ok(()) [INFO] [stdout] 122 | | } [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/8c500c7cefd54fd11d57295f3771d576be9ee415/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/8c500c7cefd54fd11d57295f3771d576be9ee415/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/resp_parser.rs:73:5 [INFO] [stdout] | [INFO] [stdout] 73 | / { [INFO] [stdout] 74 | | match self { [INFO] [stdout] 75 | | RespValue::SimpleString(contents) => { [INFO] [stdout] 76 | | writer.write_u8(b'+').await?; [INFO] [stdout] ... | [INFO] [stdout] 121 | | Ok(()) [INFO] [stdout] 122 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/redis_handler.rs:115:100 [INFO] [stdout] | [INFO] [stdout] 115 | pub(crate) async unsafe fn handle_requests(&self, stream: TcpStream) -> Result<(), RedisError> { [INFO] [stdout] | ____________________________________________________________________________________________________^ [INFO] [stdout] 116 | | // Use a vec to avoid having a large stack state in the state machine. [INFO] [stdout] 117 | | let mut input_buf = vec![0u8; 512]; [INFO] [stdout] 118 | | let stream_ref = Arc::new(SyncUnsafeCell::new(stream)); [INFO] [stdout] ... | [INFO] [stdout] 163 | | Ok(()) [INFO] [stdout] 164 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` block [INFO] [stdout] --> src/main.rs:65:30 [INFO] [stdout] | [INFO] [stdout] 65 | tokio::spawn(async move { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] note: required by a bound in `tokio::spawn` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.43.0/src/task/spawn.rs:168:21 [INFO] [stdout] | [INFO] [stdout] 166 | pub fn spawn(future: F) -> JoinHandle [INFO] [stdout] | ----- required by a bound in this function [INFO] [stdout] 167 | where [INFO] [stdout] 168 | F: Future + Send + 'static, [INFO] [stdout] | ^^^^ required by this bound in `spawn` [INFO] [stdout] [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] running `Command { std: "docker" "inspect" "000089e476bcc39b8dc4c8614c59db38299a8488ac96b9102fcee7941f1eb0c7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "000089e476bcc39b8dc4c8614c59db38299a8488ac96b9102fcee7941f1eb0c7", kill_on_drop: false }` [INFO] [stdout] 000089e476bcc39b8dc4c8614c59db38299a8488ac96b9102fcee7941f1eb0c7