[INFO] cloning repository https://github.com/funnyboy-roks/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/funnyboy-roks/codecrafters-redis-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffunnyboy-roks%2Fcodecrafters-redis-rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffunnyboy-roks%2Fcodecrafters-redis-rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 387e0d9bd94e977fdd2f9dfd655fb628460b3185 [INFO] checking funnyboy-roks/codecrafters-redis-rust against try#a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d for pr-145342 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffunnyboy-roks%2Fcodecrafters-redis-rust" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/funnyboy-roks/codecrafters-redis-rust [INFO] finished tweaking git repo https://github.com/funnyboy-roks/codecrafters-redis-rust [INFO] tweaked toml for git repo https://github.com/funnyboy-roks/codecrafters-redis-rust written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/funnyboy-roks/codecrafters-redis-rust on toolchain a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/funnyboy-roks/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" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "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-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 30f246e090620b5a0e09b7d152d76252f284a1bd1e21fecf21abe5c69e3863d2 [INFO] running `Command { std: "docker" "start" "-a" "30f246e090620b5a0e09b7d152d76252f284a1bd1e21fecf21abe5c69e3863d2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "30f246e090620b5a0e09b7d152d76252f284a1bd1e21fecf21abe5c69e3863d2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "30f246e090620b5a0e09b7d152d76252f284a1bd1e21fecf21abe5c69e3863d2", kill_on_drop: false }` [INFO] [stdout] 30f246e090620b5a0e09b7d152d76252f284a1bd1e21fecf21abe5c69e3863d2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1deba615d04af618ef6fa1c21c2e0058c0d9334187f397f869d485ba7f37f6e1 [INFO] running `Command { std: "docker" "start" "-a" "1deba615d04af618ef6fa1c21c2e0058c0d9334187f397f869d485ba7f37f6e1", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.155 [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling autocfg v1.3.0 [INFO] [stderr] Compiling zerocopy v0.8.26 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Checking smallvec v1.13.2 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Compiling anyhow v1.0.86 [INFO] [stderr] Compiling serde_json v1.0.142 [INFO] [stderr] Checking itoa v1.0.15 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Checking pin-project-lite v0.2.14 [INFO] [stderr] Checking memchr v2.7.4 [INFO] [stderr] Checking ryu v1.0.20 [INFO] [stderr] Checking bytes v1.6.0 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Checking once_cell v1.21.3 [INFO] [stderr] Checking signal-hook-registry v1.4.2 [INFO] [stderr] Checking rand_core v0.9.3 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Compiling syn v2.0.87 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Checking socket2 v0.5.7 [INFO] [stderr] Checking mio v0.8.11 [INFO] [stderr] Checking hashbrown v0.14.5 [INFO] [stderr] Checking dashmap v6.1.0 [INFO] [stderr] Checking ppv-lite86 v0.2.21 [INFO] [stderr] Checking rand_chacha v0.9.0 [INFO] [stderr] Checking rand v0.9.2 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling tokio-macros v2.3.0 [INFO] [stderr] Checking tokio v1.38.0 [INFO] [stderr] Checking codecrafters-redis v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0275]: overflow evaluating the requirement `&mut R: Send` [INFO] [stdout] | [INFO] [stdout] = help: consider increasing the recursion limit by adding a `#![recursion_limit = "256"]` attribute to your crate (`codecrafters_redis`) [INFO] [stdout] note: required because it appears within the type `tokio::io::util::read_int::ReadU8<&mut R>` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.38.0/src/io/util/read_int.rs:132:10 [INFO] [stdout] | [INFO] [stdout] 132 | reader8!(ReadU8, u8); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/resp.rs:117:1 [INFO] [stdout] | [INFO] [stdout] 117 | / { [INFO] [stdout] 118 | | let mut bytes = 0; [INFO] [stdout] 119 | | let kind = r.read_u8().await?; [INFO] [stdout] 120 | | bytes += 1; [INFO] [stdout] ... | [INFO] [stdout] 183 | | Ok((value, bytes)) [INFO] [stdout] 184 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: required for `Unique>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>` [INFO] [stdout] --> /rustc/a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/resp.rs:117:1 [INFO] [stdout] | [INFO] [stdout] 117 | / { [INFO] [stdout] 118 | | let mut bytes = 0; [INFO] [stdout] 119 | | let kind = r.read_u8().await?; [INFO] [stdout] 120 | | bytes += 1; [INFO] [stdout] ... | [INFO] [stdout] 183 | | Ok((value, bytes)) [INFO] [stdout] 184 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: required for `Unique>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>` [INFO] [stdout] --> /rustc/a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/resp.rs:117:1 [INFO] [stdout] | [INFO] [stdout] 117 | / { [INFO] [stdout] 118 | | let mut bytes = 0; [INFO] [stdout] 119 | | let kind = r.read_u8().await?; [INFO] [stdout] 120 | | bytes += 1; [INFO] [stdout] ... | [INFO] [stdout] 183 | | Ok((value, bytes)) [INFO] [stdout] 184 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: required for `Unique>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>` [INFO] [stdout] --> /rustc/a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/resp.rs:117:1 [INFO] [stdout] | [INFO] [stdout] 117 | / { [INFO] [stdout] 118 | | let mut bytes = 0; [INFO] [stdout] 119 | | let kind = r.read_u8().await?; [INFO] [stdout] 120 | | bytes += 1; [INFO] [stdout] ... | [INFO] [stdout] 183 | | Ok((value, bytes)) [INFO] [stdout] 184 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: required for `Unique>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>` [INFO] [stdout] --> /rustc/a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/resp.rs:117:1 [INFO] [stdout] | [INFO] [stdout] 117 | / { [INFO] [stdout] 118 | | let mut bytes = 0; [INFO] [stdout] 119 | | let kind = r.read_u8().await?; [INFO] [stdout] 120 | | bytes += 1; [INFO] [stdout] ... | [INFO] [stdout] 183 | | Ok((value, bytes)) [INFO] [stdout] 184 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: required for `Unique>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>` [INFO] [stdout] --> /rustc/a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/resp.rs:117:1 [INFO] [stdout] | [INFO] [stdout] 117 | / { [INFO] [stdout] 118 | | let mut bytes = 0; [INFO] [stdout] 119 | | let kind = r.read_u8().await?; [INFO] [stdout] 120 | | bytes += 1; [INFO] [stdout] ... | [INFO] [stdout] 183 | | Ok((value, bytes)) [INFO] [stdout] 184 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: required for `Unique>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>` [INFO] [stdout] --> /rustc/a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/resp.rs:117:1 [INFO] [stdout] | [INFO] [stdout] 117 | / { [INFO] [stdout] 118 | | let mut bytes = 0; [INFO] [stdout] 119 | | let kind = r.read_u8().await?; [INFO] [stdout] 120 | | bytes += 1; [INFO] [stdout] ... | [INFO] [stdout] 183 | | Ok((value, bytes)) [INFO] [stdout] 184 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: required for `Unique>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>` [INFO] [stdout] --> /rustc/a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/resp.rs:117:1 [INFO] [stdout] | [INFO] [stdout] 117 | / { [INFO] [stdout] 118 | | let mut bytes = 0; [INFO] [stdout] 119 | | let kind = r.read_u8().await?; [INFO] [stdout] 120 | | bytes += 1; [INFO] [stdout] ... | [INFO] [stdout] 183 | | Ok((value, bytes)) [INFO] [stdout] 184 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: required for `Unique>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>` [INFO] [stdout] --> /rustc/a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/resp.rs:117:1 [INFO] [stdout] | [INFO] [stdout] 117 | / { [INFO] [stdout] 118 | | let mut bytes = 0; [INFO] [stdout] 119 | | let kind = r.read_u8().await?; [INFO] [stdout] 120 | | bytes += 1; [INFO] [stdout] ... | [INFO] [stdout] 183 | | Ok((value, bytes)) [INFO] [stdout] 184 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: required for `Unique>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>` [INFO] [stdout] --> /rustc/a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/resp.rs:117:1 [INFO] [stdout] | [INFO] [stdout] 117 | / { [INFO] [stdout] 118 | | let mut bytes = 0; [INFO] [stdout] 119 | | let kind = r.read_u8().await?; [INFO] [stdout] 120 | | bytes += 1; [INFO] [stdout] ... | [INFO] [stdout] 183 | | Ok((value, bytes)) [INFO] [stdout] 184 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: required for `Unique>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>` [INFO] [stdout] --> /rustc/a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/resp.rs:117:1 [INFO] [stdout] | [INFO] [stdout] 117 | / { [INFO] [stdout] 118 | | let mut bytes = 0; [INFO] [stdout] 119 | | let kind = r.read_u8().await?; [INFO] [stdout] 120 | | bytes += 1; [INFO] [stdout] ... | [INFO] [stdout] 183 | | Ok((value, bytes)) [INFO] [stdout] 184 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: required for `Unique>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>` [INFO] [stdout] --> /rustc/a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/resp.rs:117:1 [INFO] [stdout] | [INFO] [stdout] 117 | / { [INFO] [stdout] 118 | | let mut bytes = 0; [INFO] [stdout] 119 | | let kind = r.read_u8().await?; [INFO] [stdout] 120 | | bytes += 1; [INFO] [stdout] ... | [INFO] [stdout] 183 | | Ok((value, bytes)) [INFO] [stdout] 184 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: required for `Unique>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>` [INFO] [stdout] --> /rustc/a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/resp.rs:117:1 [INFO] [stdout] | [INFO] [stdout] 117 | / { [INFO] [stdout] 118 | | let mut bytes = 0; [INFO] [stdout] 119 | | let kind = r.read_u8().await?; [INFO] [stdout] 120 | | bytes += 1; [INFO] [stdout] ... | [INFO] [stdout] 183 | | Ok((value, bytes)) [INFO] [stdout] 184 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: required for `Unique>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>` [INFO] [stdout] --> /rustc/a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/resp.rs:117:1 [INFO] [stdout] | [INFO] [stdout] 117 | / { [INFO] [stdout] 118 | | let mut bytes = 0; [INFO] [stdout] 119 | | let kind = r.read_u8().await?; [INFO] [stdout] 120 | | bytes += 1; [INFO] [stdout] ... | [INFO] [stdout] 183 | | Ok((value, bytes)) [INFO] [stdout] 184 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: required for `Unique>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>` [INFO] [stdout] --> /rustc/a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/resp.rs:117:1 [INFO] [stdout] | [INFO] [stdout] 117 | / { [INFO] [stdout] 118 | | let mut bytes = 0; [INFO] [stdout] 119 | | let kind = r.read_u8().await?; [INFO] [stdout] 120 | | bytes += 1; [INFO] [stdout] ... | [INFO] [stdout] 183 | | Ok((value, bytes)) [INFO] [stdout] 184 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: required for `Unique>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>` [INFO] [stdout] --> /rustc/a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/resp.rs:117:1 [INFO] [stdout] | [INFO] [stdout] 117 | / { [INFO] [stdout] 118 | | let mut bytes = 0; [INFO] [stdout] 119 | | let kind = r.read_u8().await?; [INFO] [stdout] 120 | | bytes += 1; [INFO] [stdout] ... | [INFO] [stdout] 183 | | Ok((value, bytes)) [INFO] [stdout] 184 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: required for `Unique>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>` [INFO] [stdout] --> /rustc/a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/resp.rs:117:1 [INFO] [stdout] | [INFO] [stdout] 117 | / { [INFO] [stdout] 118 | | let mut bytes = 0; [INFO] [stdout] 119 | | let kind = r.read_u8().await?; [INFO] [stdout] 120 | | bytes += 1; [INFO] [stdout] ... | [INFO] [stdout] 183 | | Ok((value, bytes)) [INFO] [stdout] 184 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: required for `Unique>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>` [INFO] [stdout] --> /rustc/a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/resp.rs:117:1 [INFO] [stdout] | [INFO] [stdout] 117 | / { [INFO] [stdout] 118 | | let mut bytes = 0; [INFO] [stdout] 119 | | let kind = r.read_u8().await?; [INFO] [stdout] 120 | | bytes += 1; [INFO] [stdout] ... | [INFO] [stdout] 183 | | Ok((value, bytes)) [INFO] [stdout] 184 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: required for `Unique>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>` [INFO] [stdout] --> /rustc/a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/resp.rs:117:1 [INFO] [stdout] | [INFO] [stdout] 117 | / { [INFO] [stdout] 118 | | let mut bytes = 0; [INFO] [stdout] 119 | | let kind = r.read_u8().await?; [INFO] [stdout] 120 | | bytes += 1; [INFO] [stdout] ... | [INFO] [stdout] 183 | | Ok((value, bytes)) [INFO] [stdout] 184 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: required for `Unique>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>` [INFO] [stdout] --> /rustc/a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/resp.rs:117:1 [INFO] [stdout] | [INFO] [stdout] 117 | / { [INFO] [stdout] 118 | | let mut bytes = 0; [INFO] [stdout] 119 | | let kind = r.read_u8().await?; [INFO] [stdout] 120 | | bytes += 1; [INFO] [stdout] ... | [INFO] [stdout] 183 | | Ok((value, bytes)) [INFO] [stdout] 184 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: required for `Unique>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>` [INFO] [stdout] --> /rustc/a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/resp.rs:117:1 [INFO] [stdout] | [INFO] [stdout] 117 | / { [INFO] [stdout] 118 | | let mut bytes = 0; [INFO] [stdout] 119 | | let kind = r.read_u8().await?; [INFO] [stdout] 120 | | bytes += 1; [INFO] [stdout] ... | [INFO] [stdout] 183 | | Ok((value, bytes)) [INFO] [stdout] 184 | | } [INFO] [stdout] | |_^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/main.rs:302:5 [INFO] [stdout] | [INFO] [stdout] 302 | / { [INFO] [stdout] 303 | | loop { [INFO] [stdout] 304 | | let filled = r.fill_buf().await.context("filling buf").unwrap(); [INFO] [stdout] ... | [INFO] [stdout] 363 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` block [INFO] [stdout] --> src/main.rs:385:26 [INFO] [stdout] | [INFO] [stdout] 385 | tokio::spawn(async move { self.read_commands(read).await.map(|_| self) }); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0275`. [INFO] [stdout] [INFO] [stdout] error[E0275]: overflow evaluating the requirement `&mut R: Send` [INFO] [stdout] | [INFO] [stdout] = help: consider increasing the recursion limit by adding a `#![recursion_limit = "256"]` attribute to your crate (`codecrafters_redis`) [INFO] [stdout] note: required because it appears within the type `tokio::io::util::read_int::ReadU8<&mut R>` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.38.0/src/io/util/read_int.rs:132:10 [INFO] [stdout] | [INFO] [stdout] 132 | reader8!(ReadU8, u8); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/resp.rs:117:1 [INFO] [stdout] | [INFO] [stdout] 117 | / { [INFO] [stdout] 118 | | let mut bytes = 0; [INFO] [stdout] 119 | | let kind = r.read_u8().await?; [INFO] [stdout] 120 | | bytes += 1; [INFO] [stdout] ... | [INFO] [stdout] 183 | | Ok((value, bytes)) [INFO] [stdout] 184 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: required for `Unique>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>` [INFO] [stdout] --> /rustc/a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/resp.rs:117:1 [INFO] [stdout] | [INFO] [stdout] 117 | / { [INFO] [stdout] 118 | | let mut bytes = 0; [INFO] [stdout] 119 | | let kind = r.read_u8().await?; [INFO] [stdout] 120 | | bytes += 1; [INFO] [stdout] ... | [INFO] [stdout] 183 | | Ok((value, bytes)) [INFO] [stdout] 184 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: required for `Unique>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>` [INFO] [stdout] --> /rustc/a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/resp.rs:117:1 [INFO] [stdout] | [INFO] [stdout] 117 | / { [INFO] [stdout] 118 | | let mut bytes = 0; [INFO] [stdout] 119 | | let kind = r.read_u8().await?; [INFO] [stdout] 120 | | bytes += 1; [INFO] [stdout] ... | [INFO] [stdout] 183 | | Ok((value, bytes)) [INFO] [stdout] 184 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: required for `Unique>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>` [INFO] [stdout] --> /rustc/a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/resp.rs:117:1 [INFO] [stdout] | [INFO] [stdout] 117 | / { [INFO] [stdout] 118 | | let mut bytes = 0; [INFO] [stdout] 119 | | let kind = r.read_u8().await?; [INFO] [stdout] 120 | | bytes += 1; [INFO] [stdout] ... | [INFO] [stdout] 183 | | Ok((value, bytes)) [INFO] [stdout] 184 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: required for `Unique>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>` [INFO] [stdout] --> /rustc/a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/resp.rs:117:1 [INFO] [stdout] | [INFO] [stdout] 117 | / { [INFO] [stdout] 118 | | let mut bytes = 0; [INFO] [stdout] 119 | | let kind = r.read_u8().await?; [INFO] [stdout] 120 | | bytes += 1; [INFO] [stdout] ... | [INFO] [stdout] 183 | | Ok((value, bytes)) [INFO] [stdout] 184 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: required for `Unique>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>` [INFO] [stdout] --> /rustc/a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/resp.rs:117:1 [INFO] [stdout] | [INFO] [stdout] 117 | / { [INFO] [stdout] 118 | | let mut bytes = 0; [INFO] [stdout] 119 | | let kind = r.read_u8().await?; [INFO] [stdout] 120 | | bytes += 1; [INFO] [stdout] ... | [INFO] [stdout] 183 | | Ok((value, bytes)) [INFO] [stdout] 184 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: required for `Unique>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>` [INFO] [stdout] --> /rustc/a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/resp.rs:117:1 [INFO] [stdout] | [INFO] [stdout] 117 | / { [INFO] [stdout] 118 | | let mut bytes = 0; [INFO] [stdout] 119 | | let kind = r.read_u8().await?; [INFO] [stdout] 120 | | bytes += 1; [INFO] [stdout] ... | [INFO] [stdout] 183 | | Ok((value, bytes)) [INFO] [stdout] 184 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: required for `Unique>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>` [INFO] [stdout] --> /rustc/a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/resp.rs:117:1 [INFO] [stdout] | [INFO] [stdout] 117 | / { [INFO] [stdout] 118 | | let mut bytes = 0; [INFO] [stdout] 119 | | let kind = r.read_u8().await?; [INFO] [stdout] 120 | | bytes += 1; [INFO] [stdout] ... | [INFO] [stdout] 183 | | Ok((value, bytes)) [INFO] [stdout] 184 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: required for `Unique>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>` [INFO] [stdout] --> /rustc/a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/resp.rs:117:1 [INFO] [stdout] | [INFO] [stdout] 117 | / { [INFO] [stdout] 118 | | let mut bytes = 0; [INFO] [stdout] 119 | | let kind = r.read_u8().await?; [INFO] [stdout] 120 | | bytes += 1; [INFO] [stdout] ... | [INFO] [stdout] 183 | | Ok((value, bytes)) [INFO] [stdout] 184 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: required for `Unique>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>` [INFO] [stdout] --> /rustc/a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/resp.rs:117:1 [INFO] [stdout] | [INFO] [stdout] 117 | / { [INFO] [stdout] 118 | | let mut bytes = 0; [INFO] [stdout] 119 | | let kind = r.read_u8().await?; [INFO] [stdout] 120 | | bytes += 1; [INFO] [stdout] ... | [INFO] [stdout] 183 | | Ok((value, bytes)) [INFO] [stdout] 184 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: required for `Unique>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>` [INFO] [stdout] --> /rustc/a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/resp.rs:117:1 [INFO] [stdout] | [INFO] [stdout] 117 | / { [INFO] [stdout] 118 | | let mut bytes = 0; [INFO] [stdout] 119 | | let kind = r.read_u8().await?; [INFO] [stdout] 120 | | bytes += 1; [INFO] [stdout] ... | [INFO] [stdout] 183 | | Ok((value, bytes)) [INFO] [stdout] 184 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: required for `Unique>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>` [INFO] [stdout] --> /rustc/a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/resp.rs:117:1 [INFO] [stdout] | [INFO] [stdout] 117 | / { [INFO] [stdout] 118 | | let mut bytes = 0; [INFO] [stdout] 119 | | let kind = r.read_u8().await?; [INFO] [stdout] 120 | | bytes += 1; [INFO] [stdout] ... | [INFO] [stdout] 183 | | Ok((value, bytes)) [INFO] [stdout] 184 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: required for `Unique>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>` [INFO] [stdout] --> /rustc/a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/resp.rs:117:1 [INFO] [stdout] | [INFO] [stdout] 117 | / { [INFO] [stdout] 118 | | let mut bytes = 0; [INFO] [stdout] 119 | | let kind = r.read_u8().await?; [INFO] [stdout] 120 | | bytes += 1; [INFO] [stdout] ... | [INFO] [stdout] 183 | | Ok((value, bytes)) [INFO] [stdout] 184 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: required for `Unique>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>` [INFO] [stdout] --> /rustc/a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/resp.rs:117:1 [INFO] [stdout] | [INFO] [stdout] 117 | / { [INFO] [stdout] 118 | | let mut bytes = 0; [INFO] [stdout] 119 | | let kind = r.read_u8().await?; [INFO] [stdout] 120 | | bytes += 1; [INFO] [stdout] ... | [INFO] [stdout] 183 | | Ok((value, bytes)) [INFO] [stdout] 184 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: required for `Unique>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>` [INFO] [stdout] --> /rustc/a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/resp.rs:117:1 [INFO] [stdout] | [INFO] [stdout] 117 | / { [INFO] [stdout] 118 | | let mut bytes = 0; [INFO] [stdout] 119 | | let kind = r.read_u8().await?; [INFO] [stdout] 120 | | bytes += 1; [INFO] [stdout] ... | [INFO] [stdout] 183 | | Ok((value, bytes)) [INFO] [stdout] 184 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: required for `Unique>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>` [INFO] [stdout] --> /rustc/a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/resp.rs:117:1 [INFO] [stdout] | [INFO] [stdout] 117 | / { [INFO] [stdout] 118 | | let mut bytes = 0; [INFO] [stdout] 119 | | let kind = r.read_u8().await?; [INFO] [stdout] 120 | | bytes += 1; [INFO] [stdout] ... | [INFO] [stdout] 183 | | Ok((value, bytes)) [INFO] [stdout] 184 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: required for `Unique>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>` [INFO] [stdout] --> /rustc/a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/resp.rs:117:1 [INFO] [stdout] | [INFO] [stdout] 117 | / { [INFO] [stdout] 118 | | let mut bytes = 0; [INFO] [stdout] 119 | | let kind = r.read_u8().await?; [INFO] [stdout] 120 | | bytes += 1; [INFO] [stdout] ... | [INFO] [stdout] 183 | | Ok((value, bytes)) [INFO] [stdout] 184 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: required for `Unique>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>` [INFO] [stdout] --> /rustc/a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/resp.rs:117:1 [INFO] [stdout] | [INFO] [stdout] 117 | / { [INFO] [stdout] 118 | | let mut bytes = 0; [INFO] [stdout] 119 | | let kind = r.read_u8().await?; [INFO] [stdout] 120 | | bytes += 1; [INFO] [stdout] ... | [INFO] [stdout] 183 | | Ok((value, bytes)) [INFO] [stdout] 184 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: required for `Unique>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>` [INFO] [stdout] --> /rustc/a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/resp.rs:117:1 [INFO] [stdout] | [INFO] [stdout] 117 | / { [INFO] [stdout] 118 | | let mut bytes = 0; [INFO] [stdout] 119 | | let kind = r.read_u8().await?; [INFO] [stdout] 120 | | bytes += 1; [INFO] [stdout] ... | [INFO] [stdout] 183 | | Ok((value, bytes)) [INFO] [stdout] 184 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: required for `Unique>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>` [INFO] [stdout] --> /rustc/a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/resp.rs:117:1 [INFO] [stdout] | [INFO] [stdout] 117 | / { [INFO] [stdout] 118 | | let mut bytes = 0; [INFO] [stdout] 119 | | let kind = r.read_u8().await?; [INFO] [stdout] 120 | | bytes += 1; [INFO] [stdout] ... | [INFO] [stdout] 183 | | Ok((value, bytes)) [INFO] [stdout] 184 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: required for `Unique>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>` [INFO] [stdout] --> /rustc/a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/resp.rs:117:1 [INFO] [stdout] | [INFO] [stdout] 117 | / { [INFO] [stdout] 118 | | let mut bytes = 0; [INFO] [stdout] 119 | | let kind = r.read_u8().await?; [INFO] [stdout] 120 | | bytes += 1; [INFO] [stdout] ... | [INFO] [stdout] 183 | | Ok((value, bytes)) [INFO] [stdout] 184 | | } [INFO] [stdout] | |_^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/main.rs:302:5 [INFO] [stdout] | [INFO] [stdout] 302 | / { [INFO] [stdout] 303 | | loop { [INFO] [stdout] 304 | | let filled = r.fill_buf().await.context("filling buf").unwrap(); [INFO] [stdout] ... | [INFO] [stdout] 363 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` block [INFO] [stdout] --> src/main.rs:385:26 [INFO] [stdout] | [INFO] [stdout] 385 | tokio::spawn(async move { self.read_commands(read).await.map(|_| self) }); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0275`. [INFO] [stdout] [INFO] [stderr] error: could not compile `codecrafters-redis` (bin "codecrafters-redis" test) due to 1 previous error [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `codecrafters-redis` (bin "codecrafters-redis") due to 1 previous error [INFO] running `Command { std: "docker" "inspect" "1deba615d04af618ef6fa1c21c2e0058c0d9334187f397f869d485ba7f37f6e1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1deba615d04af618ef6fa1c21c2e0058c0d9334187f397f869d485ba7f37f6e1", kill_on_drop: false }` [INFO] [stdout] 1deba615d04af618ef6fa1c21c2e0058c0d9334187f397f869d485ba7f37f6e1