[INFO] cloning repository https://github.com/lcj0304/fileserver [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/lcj0304/fileserver" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flcj0304%2Ffileserver", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flcj0304%2Ffileserver'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 6baed423b91491fb175d43f9f5089eb5cbc15733 [INFO] checking lcj0304/fileserver against try#028201683a76a5cd349729c6819c46607119c4e8 for pr-144157 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flcj0304%2Ffileserver" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/lcj0304/fileserver [INFO] finished tweaking git repo https://github.com/lcj0304/fileserver [INFO] tweaked toml for git repo https://github.com/lcj0304/fileserver written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/lcj0304/fileserver on toolchain 028201683a76a5cd349729c6819c46607119c4e8 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+028201683a76a5cd349729c6819c46607119c4e8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/lcj0304/fileserver already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+028201683a76a5cd349729c6819c46607119c4e8" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:cf8efcab8866f2cf4285301c7418e2f4f2a9b088c91ba69c40d5b659f81557f7" "/opt/rustwide/cargo-home/bin/cargo" "+028201683a76a5cd349729c6819c46607119c4e8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 43088435e689bc2893b435771ca34fd54583731c0534f173fa364dda9b3ed0df [INFO] running `Command { std: "docker" "start" "-a" "43088435e689bc2893b435771ca34fd54583731c0534f173fa364dda9b3ed0df", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "43088435e689bc2893b435771ca34fd54583731c0534f173fa364dda9b3ed0df", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "43088435e689bc2893b435771ca34fd54583731c0534f173fa364dda9b3ed0df", kill_on_drop: false }` [INFO] [stdout] 43088435e689bc2893b435771ca34fd54583731c0534f173fa364dda9b3ed0df [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:cf8efcab8866f2cf4285301c7418e2f4f2a9b088c91ba69c40d5b659f81557f7" "/opt/rustwide/cargo-home/bin/cargo" "+028201683a76a5cd349729c6819c46607119c4e8" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d03c866f56d9c3de7e375b7868cd22baaee44aba01fb13d875e4d45f0112a754 [INFO] running `Command { std: "docker" "start" "-a" "d03c866f56d9c3de7e375b7868cd22baaee44aba01fb13d875e4d45f0112a754", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.95 [INFO] [stderr] Compiling libc v0.2.172 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Compiling autocfg v1.4.0 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Checking smallvec v1.15.0 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Checking pin-project-lite v0.2.16 [INFO] [stderr] Checking bytes v1.10.1 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling syn v2.0.101 [INFO] [stderr] Checking signal-hook-registry v1.4.5 [INFO] [stderr] Checking mio v1.0.3 [INFO] [stderr] Checking socket2 v0.5.9 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Checking tokio v1.45.0 [INFO] [stderr] Checking bincode v1.3.3 [INFO] [stderr] Checking fileserver v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::thread` [INFO] [stdout] --> src/client.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::thread; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::time::Duration` [INFO] [stdout] --> src/client.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::time::Duration; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `FileInfo` [INFO] [stdout] --> src/client.rs:9:31 [INFO] [stdout] | [INFO] [stdout] 9 | use protocol::{ClientCommand, FileInfo, Message, Payload, ServerResponse}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::thread` [INFO] [stdout] --> src/client.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::thread; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::time::Duration` [INFO] [stdout] --> src/client.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::time::Duration; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `FileInfo` [INFO] [stdout] --> src/client.rs:9:31 [INFO] [stdout] | [INFO] [stdout] 9 | use protocol::{ClientCommand, FileInfo, Message, Payload, ServerResponse}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `send_message_async` is never used [INFO] [stdout] --> src/protocol.rs:98:18 [INFO] [stdout] | [INFO] [stdout] 98 | pub async fn send_message_async( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `receive_message_async` is never used [INFO] [stdout] --> src/protocol.rs:116:18 [INFO] [stdout] | [INFO] [stdout] 116 | pub async fn receive_message_async( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `send_message_async` is never used [INFO] [stdout] --> src/protocol.rs:98:18 [INFO] [stdout] | [INFO] [stdout] 98 | pub async fn send_message_async( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `receive_message_async` is never used [INFO] [stdout] --> src/protocol.rs:116:18 [INFO] [stdout] | [INFO] [stdout] 116 | pub async fn receive_message_async( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0275]: overflow evaluating the requirement `(&str,): Send` [INFO] [stdout] | [INFO] [stdout] = help: consider increasing the recursion limit by adding a `#![recursion_limit = "256"]` attribute to your crate (`fileserver`) [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.45.0/src/fs/create_dir_all.rs:48:71 [INFO] [stdout] | [INFO] [stdout] 48 | pub async fn create_dir_all(path: impl AsRef) -> io::Result<()> { [INFO] [stdout] | _______________________________________________________________________^ [INFO] [stdout] 49 | | let path = path.as_ref().to_owned(); [INFO] [stdout] 50 | | asyncify(move || std::fs::create_dir_all(path)).await [INFO] [stdout] 51 | | } [INFO] [stdout] | |_^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/main.rs:18:65 [INFO] [stdout] | [INFO] [stdout] 18 | async fn copy_dir_recursive(src: &str, dst: &str) -> Result<()> { [INFO] [stdout] | _________________________________________________________________^ [INFO] [stdout] 19 | | // 创建目标目录 [INFO] [stdout] 20 | | fs::create_dir_all(dst).await?; [INFO] [stdout] ... | [INFO] [stdout] 47 | | Ok(()) [INFO] [stdout] 48 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: required for `Unique>>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/main.rs:18:65 [INFO] [stdout] | [INFO] [stdout] 18 | async fn copy_dir_recursive(src: &str, dst: &str) -> Result<()> { [INFO] [stdout] | _________________________________________________________________^ [INFO] [stdout] 19 | | // 创建目标目录 [INFO] [stdout] 20 | | fs::create_dir_all(dst).await?; [INFO] [stdout] ... | [INFO] [stdout] 47 | | Ok(()) [INFO] [stdout] 48 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: required for `Unique>>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/main.rs:18:65 [INFO] [stdout] | [INFO] [stdout] 18 | async fn copy_dir_recursive(src: &str, dst: &str) -> Result<()> { [INFO] [stdout] | _________________________________________________________________^ [INFO] [stdout] 19 | | // 创建目标目录 [INFO] [stdout] 20 | | fs::create_dir_all(dst).await?; [INFO] [stdout] ... | [INFO] [stdout] 47 | | Ok(()) [INFO] [stdout] 48 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: required for `Unique>>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/main.rs:18:65 [INFO] [stdout] | [INFO] [stdout] 18 | async fn copy_dir_recursive(src: &str, dst: &str) -> Result<()> { [INFO] [stdout] | _________________________________________________________________^ [INFO] [stdout] 19 | | // 创建目标目录 [INFO] [stdout] 20 | | fs::create_dir_all(dst).await?; [INFO] [stdout] ... | [INFO] [stdout] 47 | | Ok(()) [INFO] [stdout] 48 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: required for `Unique>>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/main.rs:18:65 [INFO] [stdout] | [INFO] [stdout] 18 | async fn copy_dir_recursive(src: &str, dst: &str) -> Result<()> { [INFO] [stdout] | _________________________________________________________________^ [INFO] [stdout] 19 | | // 创建目标目录 [INFO] [stdout] 20 | | fs::create_dir_all(dst).await?; [INFO] [stdout] ... | [INFO] [stdout] 47 | | Ok(()) [INFO] [stdout] 48 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: required for `Unique>>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/main.rs:18:65 [INFO] [stdout] | [INFO] [stdout] 18 | async fn copy_dir_recursive(src: &str, dst: &str) -> Result<()> { [INFO] [stdout] | _________________________________________________________________^ [INFO] [stdout] 19 | | // 创建目标目录 [INFO] [stdout] 20 | | fs::create_dir_all(dst).await?; [INFO] [stdout] ... | [INFO] [stdout] 47 | | Ok(()) [INFO] [stdout] 48 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: required for `Unique>>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/main.rs:18:65 [INFO] [stdout] | [INFO] [stdout] 18 | async fn copy_dir_recursive(src: &str, dst: &str) -> Result<()> { [INFO] [stdout] | _________________________________________________________________^ [INFO] [stdout] 19 | | // 创建目标目录 [INFO] [stdout] 20 | | fs::create_dir_all(dst).await?; [INFO] [stdout] ... | [INFO] [stdout] 47 | | Ok(()) [INFO] [stdout] 48 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: required for `Unique>>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/main.rs:18:65 [INFO] [stdout] | [INFO] [stdout] 18 | async fn copy_dir_recursive(src: &str, dst: &str) -> Result<()> { [INFO] [stdout] | _________________________________________________________________^ [INFO] [stdout] 19 | | // 创建目标目录 [INFO] [stdout] 20 | | fs::create_dir_all(dst).await?; [INFO] [stdout] ... | [INFO] [stdout] 47 | | Ok(()) [INFO] [stdout] 48 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: required for `Unique>>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/main.rs:18:65 [INFO] [stdout] | [INFO] [stdout] 18 | async fn copy_dir_recursive(src: &str, dst: &str) -> Result<()> { [INFO] [stdout] | _________________________________________________________________^ [INFO] [stdout] 19 | | // 创建目标目录 [INFO] [stdout] 20 | | fs::create_dir_all(dst).await?; [INFO] [stdout] ... | [INFO] [stdout] 47 | | Ok(()) [INFO] [stdout] 48 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: required for `Unique>>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/main.rs:18:65 [INFO] [stdout] | [INFO] [stdout] 18 | async fn copy_dir_recursive(src: &str, dst: &str) -> Result<()> { [INFO] [stdout] | _________________________________________________________________^ [INFO] [stdout] 19 | | // 创建目标目录 [INFO] [stdout] 20 | | fs::create_dir_all(dst).await?; [INFO] [stdout] ... | [INFO] [stdout] 47 | | Ok(()) [INFO] [stdout] 48 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: required for `Unique>>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/main.rs:18:65 [INFO] [stdout] | [INFO] [stdout] 18 | async fn copy_dir_recursive(src: &str, dst: &str) -> Result<()> { [INFO] [stdout] | _________________________________________________________________^ [INFO] [stdout] 19 | | // 创建目标目录 [INFO] [stdout] 20 | | fs::create_dir_all(dst).await?; [INFO] [stdout] ... | [INFO] [stdout] 47 | | Ok(()) [INFO] [stdout] 48 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: required for `Unique>>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/main.rs:18:65 [INFO] [stdout] | [INFO] [stdout] 18 | async fn copy_dir_recursive(src: &str, dst: &str) -> Result<()> { [INFO] [stdout] | _________________________________________________________________^ [INFO] [stdout] 19 | | // 创建目标目录 [INFO] [stdout] 20 | | fs::create_dir_all(dst).await?; [INFO] [stdout] ... | [INFO] [stdout] 47 | | Ok(()) [INFO] [stdout] 48 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: required for `Unique>>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/main.rs:18:65 [INFO] [stdout] | [INFO] [stdout] 18 | async fn copy_dir_recursive(src: &str, dst: &str) -> Result<()> { [INFO] [stdout] | _________________________________________________________________^ [INFO] [stdout] 19 | | // 创建目标目录 [INFO] [stdout] 20 | | fs::create_dir_all(dst).await?; [INFO] [stdout] ... | [INFO] [stdout] 47 | | Ok(()) [INFO] [stdout] 48 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: required for `Unique>>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/main.rs:18:65 [INFO] [stdout] | [INFO] [stdout] 18 | async fn copy_dir_recursive(src: &str, dst: &str) -> Result<()> { [INFO] [stdout] | _________________________________________________________________^ [INFO] [stdout] 19 | | // 创建目标目录 [INFO] [stdout] 20 | | fs::create_dir_all(dst).await?; [INFO] [stdout] ... | [INFO] [stdout] 47 | | Ok(()) [INFO] [stdout] 48 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: required for `Unique>>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/main.rs:18:65 [INFO] [stdout] | [INFO] [stdout] 18 | async fn copy_dir_recursive(src: &str, dst: &str) -> Result<()> { [INFO] [stdout] | _________________________________________________________________^ [INFO] [stdout] 19 | | // 创建目标目录 [INFO] [stdout] 20 | | fs::create_dir_all(dst).await?; [INFO] [stdout] ... | [INFO] [stdout] 47 | | Ok(()) [INFO] [stdout] 48 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: required for `Unique>>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/main.rs:18:65 [INFO] [stdout] | [INFO] [stdout] 18 | async fn copy_dir_recursive(src: &str, dst: &str) -> Result<()> { [INFO] [stdout] | _________________________________________________________________^ [INFO] [stdout] 19 | | // 创建目标目录 [INFO] [stdout] 20 | | fs::create_dir_all(dst).await?; [INFO] [stdout] ... | [INFO] [stdout] 47 | | Ok(()) [INFO] [stdout] 48 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: required for `Unique>>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/main.rs:18:65 [INFO] [stdout] | [INFO] [stdout] 18 | async fn copy_dir_recursive(src: &str, dst: &str) -> Result<()> { [INFO] [stdout] | _________________________________________________________________^ [INFO] [stdout] 19 | | // 创建目标目录 [INFO] [stdout] 20 | | fs::create_dir_all(dst).await?; [INFO] [stdout] ... | [INFO] [stdout] 47 | | Ok(()) [INFO] [stdout] 48 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: required for `Unique>>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/main.rs:18:65 [INFO] [stdout] | [INFO] [stdout] 18 | async fn copy_dir_recursive(src: &str, dst: &str) -> Result<()> { [INFO] [stdout] | _________________________________________________________________^ [INFO] [stdout] 19 | | // 创建目标目录 [INFO] [stdout] 20 | | fs::create_dir_all(dst).await?; [INFO] [stdout] ... | [INFO] [stdout] 47 | | Ok(()) [INFO] [stdout] 48 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: required for `Unique>>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/main.rs:18:65 [INFO] [stdout] | [INFO] [stdout] 18 | async fn copy_dir_recursive(src: &str, dst: &str) -> Result<()> { [INFO] [stdout] | _________________________________________________________________^ [INFO] [stdout] 19 | | // 创建目标目录 [INFO] [stdout] 20 | | fs::create_dir_all(dst).await?; [INFO] [stdout] ... | [INFO] [stdout] 47 | | Ok(()) [INFO] [stdout] 48 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: required for `Unique>>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/main.rs:18:65 [INFO] [stdout] | [INFO] [stdout] 18 | async fn copy_dir_recursive(src: &str, dst: &str) -> Result<()> { [INFO] [stdout] | _________________________________________________________________^ [INFO] [stdout] 19 | | // 创建目标目录 [INFO] [stdout] 20 | | fs::create_dir_all(dst).await?; [INFO] [stdout] ... | [INFO] [stdout] 47 | | Ok(()) [INFO] [stdout] 48 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: required for `Unique>>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/main.rs:18:65 [INFO] [stdout] | [INFO] [stdout] 18 | async fn copy_dir_recursive(src: &str, dst: &str) -> Result<()> { [INFO] [stdout] | _________________________________________________________________^ [INFO] [stdout] 19 | | // 创建目标目录 [INFO] [stdout] 20 | | fs::create_dir_all(dst).await?; [INFO] [stdout] ... | [INFO] [stdout] 47 | | Ok(()) [INFO] [stdout] 48 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: required for `Unique>>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/main.rs:18:65 [INFO] [stdout] | [INFO] [stdout] 18 | async fn copy_dir_recursive(src: &str, dst: &str) -> Result<()> { [INFO] [stdout] | _________________________________________________________________^ [INFO] [stdout] 19 | | // 创建目标目录 [INFO] [stdout] 20 | | fs::create_dir_all(dst).await?; [INFO] [stdout] ... | [INFO] [stdout] 47 | | Ok(()) [INFO] [stdout] 48 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: required for `Unique>>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/main.rs:18:65 [INFO] [stdout] | [INFO] [stdout] 18 | async fn copy_dir_recursive(src: &str, dst: &str) -> Result<()> { [INFO] [stdout] | _________________________________________________________________^ [INFO] [stdout] 19 | | // 创建目标目录 [INFO] [stdout] 20 | | fs::create_dir_all(dst).await?; [INFO] [stdout] ... | [INFO] [stdout] 47 | | Ok(()) [INFO] [stdout] 48 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: required for `Unique>>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/main.rs:18:65 [INFO] [stdout] | [INFO] [stdout] 18 | async fn copy_dir_recursive(src: &str, dst: &str) -> Result<()> { [INFO] [stdout] | _________________________________________________________________^ [INFO] [stdout] 19 | | // 创建目标目录 [INFO] [stdout] 20 | | fs::create_dir_all(dst).await?; [INFO] [stdout] ... | [INFO] [stdout] 47 | | Ok(()) [INFO] [stdout] 48 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: required for `Unique>>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/main.rs:18:65 [INFO] [stdout] | [INFO] [stdout] 18 | async fn copy_dir_recursive(src: &str, dst: &str) -> Result<()> { [INFO] [stdout] | _________________________________________________________________^ [INFO] [stdout] 19 | | // 创建目标目录 [INFO] [stdout] 20 | | fs::create_dir_all(dst).await?; [INFO] [stdout] ... | [INFO] [stdout] 47 | | Ok(()) [INFO] [stdout] 48 | | } [INFO] [stdout] | |_^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/main.rs:51:76 [INFO] [stdout] | [INFO] [stdout] 51 | async fn execute_command(command: ClientCommand) -> Result { [INFO] [stdout] | ____________________________________________________________________________^ [INFO] [stdout] 52 | | match command { [INFO] [stdout] 53 | | ClientCommand::List { path } => { [INFO] [stdout] 54 | | let mut entries = fs::read_dir(path).await?; [INFO] [stdout] ... | [INFO] [stdout] 149 | | } [INFO] [stdout] | |_^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/main.rs:155:17 [INFO] [stdout] | [INFO] [stdout] 155 | ) -> Result<()> { [INFO] [stdout] | _________________^ [INFO] [stdout] 156 | | let peer_addr = socket.peer_addr()?.to_string(); [INFO] [stdout] 157 | | println!("Client connected: {}", peer_addr); [INFO] [stdout] ... | [INFO] [stdout] 251 | | Ok(()) [INFO] [stdout] 252 | | } [INFO] [stdout] | |_^ [INFO] [stdout] note: required because it's used within this `async` block [INFO] [stdout] --> src/main.rs:267:22 [INFO] [stdout] | [INFO] [stdout] 267 | tokio::spawn(async move { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/fileserver-cfc1a902e8c1a3f0.long-type-15678084568574143952.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0275]: overflow evaluating the requirement `(&str,): Send` [INFO] [stdout] --> src/main.rs:267:9 [INFO] [stdout] | [INFO] [stdout] 267 | / tokio::spawn(async move { [INFO] [stdout] 268 | | if let Err(e) = handle_client(socket, clients_clone).await { [INFO] [stdout] 269 | | eprintln!("Error handling client: {}", e); [INFO] [stdout] 270 | | } [INFO] [stdout] 271 | | }); [INFO] [stdout] | |__________^ [INFO] [stdout] | [INFO] [stdout] = help: consider increasing the recursion limit by adding a `#![recursion_limit = "256"]` attribute to your crate (`fileserver`) [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.45.0/src/fs/create_dir_all.rs:48:71 [INFO] [stdout] | [INFO] [stdout] 48 | pub async fn create_dir_all(path: impl AsRef) -> io::Result<()> { [INFO] [stdout] | _______________________________________________________________________^ [INFO] [stdout] 49 | | let path = path.as_ref().to_owned(); [INFO] [stdout] 50 | | asyncify(move || std::fs::create_dir_all(path)).await [INFO] [stdout] 51 | | } [INFO] [stdout] | |_^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/main.rs:18:65 [INFO] [stdout] | [INFO] [stdout] 18 | async fn copy_dir_recursive(src: &str, dst: &str) -> Result<()> { [INFO] [stdout] | _________________________________________________________________^ [INFO] [stdout] 19 | | // 创建目标目录 [INFO] [stdout] 20 | | fs::create_dir_all(dst).await?; [INFO] [stdout] ... | [INFO] [stdout] 47 | | Ok(()) [INFO] [stdout] 48 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: required for `Unique>>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/main.rs:18:65 [INFO] [stdout] | [INFO] [stdout] 18 | async fn copy_dir_recursive(src: &str, dst: &str) -> Result<()> { [INFO] [stdout] | _________________________________________________________________^ [INFO] [stdout] 19 | | // 创建目标目录 [INFO] [stdout] 20 | | fs::create_dir_all(dst).await?; [INFO] [stdout] ... | [INFO] [stdout] 47 | | Ok(()) [INFO] [stdout] 48 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: required for `Unique>>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/main.rs:18:65 [INFO] [stdout] | [INFO] [stdout] 18 | async fn copy_dir_recursive(src: &str, dst: &str) -> Result<()> { [INFO] [stdout] | _________________________________________________________________^ [INFO] [stdout] 19 | | // 创建目标目录 [INFO] [stdout] 20 | | fs::create_dir_all(dst).await?; [INFO] [stdout] ... | [INFO] [stdout] 47 | | Ok(()) [INFO] [stdout] 48 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: required for `Unique>>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/main.rs:18:65 [INFO] [stdout] | [INFO] [stdout] 18 | async fn copy_dir_recursive(src: &str, dst: &str) -> Result<()> { [INFO] [stdout] | _________________________________________________________________^ [INFO] [stdout] 19 | | // 创建目标目录 [INFO] [stdout] 20 | | fs::create_dir_all(dst).await?; [INFO] [stdout] ... | [INFO] [stdout] 47 | | Ok(()) [INFO] [stdout] 48 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: required for `Unique>>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/main.rs:18:65 [INFO] [stdout] | [INFO] [stdout] 18 | async fn copy_dir_recursive(src: &str, dst: &str) -> Result<()> { [INFO] [stdout] | _________________________________________________________________^ [INFO] [stdout] 19 | | // 创建目标目录 [INFO] [stdout] 20 | | fs::create_dir_all(dst).await?; [INFO] [stdout] ... | [INFO] [stdout] 47 | | Ok(()) [INFO] [stdout] 48 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: required for `Unique>>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/main.rs:18:65 [INFO] [stdout] | [INFO] [stdout] 18 | async fn copy_dir_recursive(src: &str, dst: &str) -> Result<()> { [INFO] [stdout] | _________________________________________________________________^ [INFO] [stdout] 19 | | // 创建目标目录 [INFO] [stdout] 20 | | fs::create_dir_all(dst).await?; [INFO] [stdout] ... | [INFO] [stdout] 47 | | Ok(()) [INFO] [stdout] 48 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: required for `Unique>>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/main.rs:18:65 [INFO] [stdout] | [INFO] [stdout] 18 | async fn copy_dir_recursive(src: &str, dst: &str) -> Result<()> { [INFO] [stdout] | _________________________________________________________________^ [INFO] [stdout] 19 | | // 创建目标目录 [INFO] [stdout] 20 | | fs::create_dir_all(dst).await?; [INFO] [stdout] ... | [INFO] [stdout] 47 | | Ok(()) [INFO] [stdout] 48 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: required for `Unique>>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/main.rs:18:65 [INFO] [stdout] | [INFO] [stdout] 18 | async fn copy_dir_recursive(src: &str, dst: &str) -> Result<()> { [INFO] [stdout] | _________________________________________________________________^ [INFO] [stdout] 19 | | // 创建目标目录 [INFO] [stdout] 20 | | fs::create_dir_all(dst).await?; [INFO] [stdout] ... | [INFO] [stdout] 47 | | Ok(()) [INFO] [stdout] 48 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: required for `Unique>>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/main.rs:18:65 [INFO] [stdout] | [INFO] [stdout] 18 | async fn copy_dir_recursive(src: &str, dst: &str) -> Result<()> { [INFO] [stdout] | _________________________________________________________________^ [INFO] [stdout] 19 | | // 创建目标目录 [INFO] [stdout] 20 | | fs::create_dir_all(dst).await?; [INFO] [stdout] ... | [INFO] [stdout] 47 | | Ok(()) [INFO] [stdout] 48 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: required for `Unique>>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/main.rs:18:65 [INFO] [stdout] | [INFO] [stdout] 18 | async fn copy_dir_recursive(src: &str, dst: &str) -> Result<()> { [INFO] [stdout] | _________________________________________________________________^ [INFO] [stdout] 19 | | // 创建目标目录 [INFO] [stdout] 20 | | fs::create_dir_all(dst).await?; [INFO] [stdout] ... | [INFO] [stdout] 47 | | Ok(()) [INFO] [stdout] 48 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: required for `Unique>>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/main.rs:18:65 [INFO] [stdout] | [INFO] [stdout] 18 | async fn copy_dir_recursive(src: &str, dst: &str) -> Result<()> { [INFO] [stdout] | _________________________________________________________________^ [INFO] [stdout] 19 | | // 创建目标目录 [INFO] [stdout] 20 | | fs::create_dir_all(dst).await?; [INFO] [stdout] ... | [INFO] [stdout] 47 | | Ok(()) [INFO] [stdout] 48 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: required for `Unique>>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/main.rs:18:65 [INFO] [stdout] | [INFO] [stdout] 18 | async fn copy_dir_recursive(src: &str, dst: &str) -> Result<()> { [INFO] [stdout] | _________________________________________________________________^ [INFO] [stdout] 19 | | // 创建目标目录 [INFO] [stdout] 20 | | fs::create_dir_all(dst).await?; [INFO] [stdout] ... | [INFO] [stdout] 47 | | Ok(()) [INFO] [stdout] 48 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: required for `Unique>>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/main.rs:18:65 [INFO] [stdout] | [INFO] [stdout] 18 | async fn copy_dir_recursive(src: &str, dst: &str) -> Result<()> { [INFO] [stdout] | _________________________________________________________________^ [INFO] [stdout] 19 | | // 创建目标目录 [INFO] [stdout] 20 | | fs::create_dir_all(dst).await?; [INFO] [stdout] ... | [INFO] [stdout] 47 | | Ok(()) [INFO] [stdout] 48 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: required for `Unique>>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/main.rs:18:65 [INFO] [stdout] | [INFO] [stdout] 18 | async fn copy_dir_recursive(src: &str, dst: &str) -> Result<()> { [INFO] [stdout] | _________________________________________________________________^ [INFO] [stdout] 19 | | // 创建目标目录 [INFO] [stdout] 20 | | fs::create_dir_all(dst).await?; [INFO] [stdout] ... | [INFO] [stdout] 47 | | Ok(()) [INFO] [stdout] 48 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: required for `Unique>>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/main.rs:18:65 [INFO] [stdout] | [INFO] [stdout] 18 | async fn copy_dir_recursive(src: &str, dst: &str) -> Result<()> { [INFO] [stdout] | _________________________________________________________________^ [INFO] [stdout] 19 | | // 创建目标目录 [INFO] [stdout] 20 | | fs::create_dir_all(dst).await?; [INFO] [stdout] ... | [INFO] [stdout] 47 | | Ok(()) [INFO] [stdout] 48 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: required for `Unique>>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/main.rs:18:65 [INFO] [stdout] | [INFO] [stdout] 18 | async fn copy_dir_recursive(src: &str, dst: &str) -> Result<()> { [INFO] [stdout] | _________________________________________________________________^ [INFO] [stdout] 19 | | // 创建目标目录 [INFO] [stdout] 20 | | fs::create_dir_all(dst).await?; [INFO] [stdout] ... | [INFO] [stdout] 47 | | Ok(()) [INFO] [stdout] 48 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: required for `Unique>>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/main.rs:18:65 [INFO] [stdout] | [INFO] [stdout] 18 | async fn copy_dir_recursive(src: &str, dst: &str) -> Result<()> { [INFO] [stdout] | _________________________________________________________________^ [INFO] [stdout] 19 | | // 创建目标目录 [INFO] [stdout] 20 | | fs::create_dir_all(dst).await?; [INFO] [stdout] ... | [INFO] [stdout] 47 | | Ok(()) [INFO] [stdout] 48 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: required for `Unique>>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/main.rs:18:65 [INFO] [stdout] | [INFO] [stdout] 18 | async fn copy_dir_recursive(src: &str, dst: &str) -> Result<()> { [INFO] [stdout] | _________________________________________________________________^ [INFO] [stdout] 19 | | // 创建目标目录 [INFO] [stdout] 20 | | fs::create_dir_all(dst).await?; [INFO] [stdout] ... | [INFO] [stdout] 47 | | Ok(()) [INFO] [stdout] 48 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: required for `Unique>>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/main.rs:18:65 [INFO] [stdout] | [INFO] [stdout] 18 | async fn copy_dir_recursive(src: &str, dst: &str) -> Result<()> { [INFO] [stdout] | _________________________________________________________________^ [INFO] [stdout] 19 | | // 创建目标目录 [INFO] [stdout] 20 | | fs::create_dir_all(dst).await?; [INFO] [stdout] ... | [INFO] [stdout] 47 | | Ok(()) [INFO] [stdout] 48 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: required for `Unique>>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/main.rs:18:65 [INFO] [stdout] | [INFO] [stdout] 18 | async fn copy_dir_recursive(src: &str, dst: &str) -> Result<()> { [INFO] [stdout] | _________________________________________________________________^ [INFO] [stdout] 19 | | // 创建目标目录 [INFO] [stdout] 20 | | fs::create_dir_all(dst).await?; [INFO] [stdout] ... | [INFO] [stdout] 47 | | Ok(()) [INFO] [stdout] 48 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: required for `Unique>>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/main.rs:18:65 [INFO] [stdout] | [INFO] [stdout] 18 | async fn copy_dir_recursive(src: &str, dst: &str) -> Result<()> { [INFO] [stdout] | _________________________________________________________________^ [INFO] [stdout] 19 | | // 创建目标目录 [INFO] [stdout] 20 | | fs::create_dir_all(dst).await?; [INFO] [stdout] ... | [INFO] [stdout] 47 | | Ok(()) [INFO] [stdout] 48 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: required for `Unique>>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/main.rs:18:65 [INFO] [stdout] | [INFO] [stdout] 18 | async fn copy_dir_recursive(src: &str, dst: &str) -> Result<()> { [INFO] [stdout] | _________________________________________________________________^ [INFO] [stdout] 19 | | // 创建目标目录 [INFO] [stdout] 20 | | fs::create_dir_all(dst).await?; [INFO] [stdout] ... | [INFO] [stdout] 47 | | Ok(()) [INFO] [stdout] 48 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: required for `Unique>>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/main.rs:18:65 [INFO] [stdout] | [INFO] [stdout] 18 | async fn copy_dir_recursive(src: &str, dst: &str) -> Result<()> { [INFO] [stdout] | _________________________________________________________________^ [INFO] [stdout] 19 | | // 创建目标目录 [INFO] [stdout] 20 | | fs::create_dir_all(dst).await?; [INFO] [stdout] ... | [INFO] [stdout] 47 | | Ok(()) [INFO] [stdout] 48 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: required for `Unique>>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/main.rs:18:65 [INFO] [stdout] | [INFO] [stdout] 18 | async fn copy_dir_recursive(src: &str, dst: &str) -> Result<()> { [INFO] [stdout] | _________________________________________________________________^ [INFO] [stdout] 19 | | // 创建目标目录 [INFO] [stdout] 20 | | fs::create_dir_all(dst).await?; [INFO] [stdout] ... | [INFO] [stdout] 47 | | Ok(()) [INFO] [stdout] 48 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: required for `Unique>>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/main.rs:18:65 [INFO] [stdout] | [INFO] [stdout] 18 | async fn copy_dir_recursive(src: &str, dst: &str) -> Result<()> { [INFO] [stdout] | _________________________________________________________________^ [INFO] [stdout] 19 | | // 创建目标目录 [INFO] [stdout] 20 | | fs::create_dir_all(dst).await?; [INFO] [stdout] ... | [INFO] [stdout] 47 | | Ok(()) [INFO] [stdout] 48 | | } [INFO] [stdout] | |_^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/main.rs:51:76 [INFO] [stdout] | [INFO] [stdout] 51 | async fn execute_command(command: ClientCommand) -> Result { [INFO] [stdout] | ____________________________________________________________________________^ [INFO] [stdout] 52 | | match command { [INFO] [stdout] 53 | | ClientCommand::List { path } => { [INFO] [stdout] 54 | | let mut entries = fs::read_dir(path).await?; [INFO] [stdout] ... | [INFO] [stdout] 149 | | } [INFO] [stdout] | |_^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/main.rs:155:17 [INFO] [stdout] | [INFO] [stdout] 155 | ) -> Result<()> { [INFO] [stdout] | _________________^ [INFO] [stdout] 156 | | let peer_addr = socket.peer_addr()?.to_string(); [INFO] [stdout] 157 | | println!("Client connected: {}", peer_addr); [INFO] [stdout] ... | [INFO] [stdout] 251 | | Ok(()) [INFO] [stdout] 252 | | } [INFO] [stdout] | |_^ [INFO] [stdout] note: required because it's used within this `async` block [INFO] [stdout] --> src/main.rs:267:22 [INFO] [stdout] | [INFO] [stdout] 267 | 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.45.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] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/fileserver-cfc1a902e8c1a3f0.long-type-15678084568574143952.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0275`. [INFO] [stdout] [INFO] [stderr] error: could not compile `fileserver` (bin "fileserver") due to 2 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0275]: overflow evaluating the requirement `(&str,): Send` [INFO] [stdout] | [INFO] [stdout] = help: consider increasing the recursion limit by adding a `#![recursion_limit = "256"]` attribute to your crate (`fileserver`) [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.45.0/src/fs/create_dir_all.rs:48:71 [INFO] [stdout] | [INFO] [stdout] 48 | pub async fn create_dir_all(path: impl AsRef) -> io::Result<()> { [INFO] [stdout] | _______________________________________________________________________^ [INFO] [stdout] 49 | | let path = path.as_ref().to_owned(); [INFO] [stdout] 50 | | asyncify(move || std::fs::create_dir_all(path)).await [INFO] [stdout] 51 | | } [INFO] [stdout] | |_^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/main.rs:18:65 [INFO] [stdout] | [INFO] [stdout] 18 | async fn copy_dir_recursive(src: &str, dst: &str) -> Result<()> { [INFO] [stdout] | _________________________________________________________________^ [INFO] [stdout] 19 | | // 创建目标目录 [INFO] [stdout] 20 | | fs::create_dir_all(dst).await?; [INFO] [stdout] ... | [INFO] [stdout] 47 | | Ok(()) [INFO] [stdout] 48 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: required for `Unique>>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/main.rs:18:65 [INFO] [stdout] | [INFO] [stdout] 18 | async fn copy_dir_recursive(src: &str, dst: &str) -> Result<()> { [INFO] [stdout] | _________________________________________________________________^ [INFO] [stdout] 19 | | // 创建目标目录 [INFO] [stdout] 20 | | fs::create_dir_all(dst).await?; [INFO] [stdout] ... | [INFO] [stdout] 47 | | Ok(()) [INFO] [stdout] 48 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: required for `Unique>>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/main.rs:18:65 [INFO] [stdout] | [INFO] [stdout] 18 | async fn copy_dir_recursive(src: &str, dst: &str) -> Result<()> { [INFO] [stdout] | _________________________________________________________________^ [INFO] [stdout] 19 | | // 创建目标目录 [INFO] [stdout] 20 | | fs::create_dir_all(dst).await?; [INFO] [stdout] ... | [INFO] [stdout] 47 | | Ok(()) [INFO] [stdout] 48 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: required for `Unique>>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/main.rs:18:65 [INFO] [stdout] | [INFO] [stdout] 18 | async fn copy_dir_recursive(src: &str, dst: &str) -> Result<()> { [INFO] [stdout] | _________________________________________________________________^ [INFO] [stdout] 19 | | // 创建目标目录 [INFO] [stdout] 20 | | fs::create_dir_all(dst).await?; [INFO] [stdout] ... | [INFO] [stdout] 47 | | Ok(()) [INFO] [stdout] 48 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: required for `Unique>>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/main.rs:18:65 [INFO] [stdout] | [INFO] [stdout] 18 | async fn copy_dir_recursive(src: &str, dst: &str) -> Result<()> { [INFO] [stdout] | _________________________________________________________________^ [INFO] [stdout] 19 | | // 创建目标目录 [INFO] [stdout] 20 | | fs::create_dir_all(dst).await?; [INFO] [stdout] ... | [INFO] [stdout] 47 | | Ok(()) [INFO] [stdout] 48 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: required for `Unique>>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/main.rs:18:65 [INFO] [stdout] | [INFO] [stdout] 18 | async fn copy_dir_recursive(src: &str, dst: &str) -> Result<()> { [INFO] [stdout] | _________________________________________________________________^ [INFO] [stdout] 19 | | // 创建目标目录 [INFO] [stdout] 20 | | fs::create_dir_all(dst).await?; [INFO] [stdout] ... | [INFO] [stdout] 47 | | Ok(()) [INFO] [stdout] 48 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: required for `Unique>>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/main.rs:18:65 [INFO] [stdout] | [INFO] [stdout] 18 | async fn copy_dir_recursive(src: &str, dst: &str) -> Result<()> { [INFO] [stdout] | _________________________________________________________________^ [INFO] [stdout] 19 | | // 创建目标目录 [INFO] [stdout] 20 | | fs::create_dir_all(dst).await?; [INFO] [stdout] ... | [INFO] [stdout] 47 | | Ok(()) [INFO] [stdout] 48 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: required for `Unique>>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/main.rs:18:65 [INFO] [stdout] | [INFO] [stdout] 18 | async fn copy_dir_recursive(src: &str, dst: &str) -> Result<()> { [INFO] [stdout] | _________________________________________________________________^ [INFO] [stdout] 19 | | // 创建目标目录 [INFO] [stdout] 20 | | fs::create_dir_all(dst).await?; [INFO] [stdout] ... | [INFO] [stdout] 47 | | Ok(()) [INFO] [stdout] 48 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: required for `Unique>>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/main.rs:18:65 [INFO] [stdout] | [INFO] [stdout] 18 | async fn copy_dir_recursive(src: &str, dst: &str) -> Result<()> { [INFO] [stdout] | _________________________________________________________________^ [INFO] [stdout] 19 | | // 创建目标目录 [INFO] [stdout] 20 | | fs::create_dir_all(dst).await?; [INFO] [stdout] ... | [INFO] [stdout] 47 | | Ok(()) [INFO] [stdout] 48 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: required for `Unique>>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/main.rs:18:65 [INFO] [stdout] | [INFO] [stdout] 18 | async fn copy_dir_recursive(src: &str, dst: &str) -> Result<()> { [INFO] [stdout] | _________________________________________________________________^ [INFO] [stdout] 19 | | // 创建目标目录 [INFO] [stdout] 20 | | fs::create_dir_all(dst).await?; [INFO] [stdout] ... | [INFO] [stdout] 47 | | Ok(()) [INFO] [stdout] 48 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: required for `Unique>>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/main.rs:18:65 [INFO] [stdout] | [INFO] [stdout] 18 | async fn copy_dir_recursive(src: &str, dst: &str) -> Result<()> { [INFO] [stdout] | _________________________________________________________________^ [INFO] [stdout] 19 | | // 创建目标目录 [INFO] [stdout] 20 | | fs::create_dir_all(dst).await?; [INFO] [stdout] ... | [INFO] [stdout] 47 | | Ok(()) [INFO] [stdout] 48 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: required for `Unique>>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/main.rs:18:65 [INFO] [stdout] | [INFO] [stdout] 18 | async fn copy_dir_recursive(src: &str, dst: &str) -> Result<()> { [INFO] [stdout] | _________________________________________________________________^ [INFO] [stdout] 19 | | // 创建目标目录 [INFO] [stdout] 20 | | fs::create_dir_all(dst).await?; [INFO] [stdout] ... | [INFO] [stdout] 47 | | Ok(()) [INFO] [stdout] 48 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: required for `Unique>>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/main.rs:18:65 [INFO] [stdout] | [INFO] [stdout] 18 | async fn copy_dir_recursive(src: &str, dst: &str) -> Result<()> { [INFO] [stdout] | _________________________________________________________________^ [INFO] [stdout] 19 | | // 创建目标目录 [INFO] [stdout] 20 | | fs::create_dir_all(dst).await?; [INFO] [stdout] ... | [INFO] [stdout] 47 | | Ok(()) [INFO] [stdout] 48 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: required for `Unique>>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/main.rs:18:65 [INFO] [stdout] | [INFO] [stdout] 18 | async fn copy_dir_recursive(src: &str, dst: &str) -> Result<()> { [INFO] [stdout] | _________________________________________________________________^ [INFO] [stdout] 19 | | // 创建目标目录 [INFO] [stdout] 20 | | fs::create_dir_all(dst).await?; [INFO] [stdout] ... | [INFO] [stdout] 47 | | Ok(()) [INFO] [stdout] 48 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: required for `Unique>>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/main.rs:18:65 [INFO] [stdout] | [INFO] [stdout] 18 | async fn copy_dir_recursive(src: &str, dst: &str) -> Result<()> { [INFO] [stdout] | _________________________________________________________________^ [INFO] [stdout] 19 | | // 创建目标目录 [INFO] [stdout] 20 | | fs::create_dir_all(dst).await?; [INFO] [stdout] ... | [INFO] [stdout] 47 | | Ok(()) [INFO] [stdout] 48 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: required for `Unique>>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/main.rs:18:65 [INFO] [stdout] | [INFO] [stdout] 18 | async fn copy_dir_recursive(src: &str, dst: &str) -> Result<()> { [INFO] [stdout] | _________________________________________________________________^ [INFO] [stdout] 19 | | // 创建目标目录 [INFO] [stdout] 20 | | fs::create_dir_all(dst).await?; [INFO] [stdout] ... | [INFO] [stdout] 47 | | Ok(()) [INFO] [stdout] 48 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: required for `Unique>>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/main.rs:18:65 [INFO] [stdout] | [INFO] [stdout] 18 | async fn copy_dir_recursive(src: &str, dst: &str) -> Result<()> { [INFO] [stdout] | _________________________________________________________________^ [INFO] [stdout] 19 | | // 创建目标目录 [INFO] [stdout] 20 | | fs::create_dir_all(dst).await?; [INFO] [stdout] ... | [INFO] [stdout] 47 | | Ok(()) [INFO] [stdout] 48 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: required for `Unique>>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/main.rs:18:65 [INFO] [stdout] | [INFO] [stdout] 18 | async fn copy_dir_recursive(src: &str, dst: &str) -> Result<()> { [INFO] [stdout] | _________________________________________________________________^ [INFO] [stdout] 19 | | // 创建目标目录 [INFO] [stdout] 20 | | fs::create_dir_all(dst).await?; [INFO] [stdout] ... | [INFO] [stdout] 47 | | Ok(()) [INFO] [stdout] 48 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: required for `Unique>>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/main.rs:18:65 [INFO] [stdout] | [INFO] [stdout] 18 | async fn copy_dir_recursive(src: &str, dst: &str) -> Result<()> { [INFO] [stdout] | _________________________________________________________________^ [INFO] [stdout] 19 | | // 创建目标目录 [INFO] [stdout] 20 | | fs::create_dir_all(dst).await?; [INFO] [stdout] ... | [INFO] [stdout] 47 | | Ok(()) [INFO] [stdout] 48 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: required for `Unique>>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/main.rs:18:65 [INFO] [stdout] | [INFO] [stdout] 18 | async fn copy_dir_recursive(src: &str, dst: &str) -> Result<()> { [INFO] [stdout] | _________________________________________________________________^ [INFO] [stdout] 19 | | // 创建目标目录 [INFO] [stdout] 20 | | fs::create_dir_all(dst).await?; [INFO] [stdout] ... | [INFO] [stdout] 47 | | Ok(()) [INFO] [stdout] 48 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: required for `Unique>>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/main.rs:18:65 [INFO] [stdout] | [INFO] [stdout] 18 | async fn copy_dir_recursive(src: &str, dst: &str) -> Result<()> { [INFO] [stdout] | _________________________________________________________________^ [INFO] [stdout] 19 | | // 创建目标目录 [INFO] [stdout] 20 | | fs::create_dir_all(dst).await?; [INFO] [stdout] ... | [INFO] [stdout] 47 | | Ok(()) [INFO] [stdout] 48 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: required for `Unique>>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/main.rs:18:65 [INFO] [stdout] | [INFO] [stdout] 18 | async fn copy_dir_recursive(src: &str, dst: &str) -> Result<()> { [INFO] [stdout] | _________________________________________________________________^ [INFO] [stdout] 19 | | // 创建目标目录 [INFO] [stdout] 20 | | fs::create_dir_all(dst).await?; [INFO] [stdout] ... | [INFO] [stdout] 47 | | Ok(()) [INFO] [stdout] 48 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: required for `Unique>>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/main.rs:18:65 [INFO] [stdout] | [INFO] [stdout] 18 | async fn copy_dir_recursive(src: &str, dst: &str) -> Result<()> { [INFO] [stdout] | _________________________________________________________________^ [INFO] [stdout] 19 | | // 创建目标目录 [INFO] [stdout] 20 | | fs::create_dir_all(dst).await?; [INFO] [stdout] ... | [INFO] [stdout] 47 | | Ok(()) [INFO] [stdout] 48 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: required for `Unique>>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/main.rs:18:65 [INFO] [stdout] | [INFO] [stdout] 18 | async fn copy_dir_recursive(src: &str, dst: &str) -> Result<()> { [INFO] [stdout] | _________________________________________________________________^ [INFO] [stdout] 19 | | // 创建目标目录 [INFO] [stdout] 20 | | fs::create_dir_all(dst).await?; [INFO] [stdout] ... | [INFO] [stdout] 47 | | Ok(()) [INFO] [stdout] 48 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: required for `Unique>>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/main.rs:18:65 [INFO] [stdout] | [INFO] [stdout] 18 | async fn copy_dir_recursive(src: &str, dst: &str) -> Result<()> { [INFO] [stdout] | _________________________________________________________________^ [INFO] [stdout] 19 | | // 创建目标目录 [INFO] [stdout] 20 | | fs::create_dir_all(dst).await?; [INFO] [stdout] ... | [INFO] [stdout] 47 | | Ok(()) [INFO] [stdout] 48 | | } [INFO] [stdout] | |_^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/main.rs:51:76 [INFO] [stdout] | [INFO] [stdout] 51 | async fn execute_command(command: ClientCommand) -> Result { [INFO] [stdout] | ____________________________________________________________________________^ [INFO] [stdout] 52 | | match command { [INFO] [stdout] 53 | | ClientCommand::List { path } => { [INFO] [stdout] 54 | | let mut entries = fs::read_dir(path).await?; [INFO] [stdout] ... | [INFO] [stdout] 149 | | } [INFO] [stdout] | |_^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/main.rs:155:17 [INFO] [stdout] | [INFO] [stdout] 155 | ) -> Result<()> { [INFO] [stdout] | _________________^ [INFO] [stdout] 156 | | let peer_addr = socket.peer_addr()?.to_string(); [INFO] [stdout] 157 | | println!("Client connected: {}", peer_addr); [INFO] [stdout] ... | [INFO] [stdout] 251 | | Ok(()) [INFO] [stdout] 252 | | } [INFO] [stdout] | |_^ [INFO] [stdout] note: required because it's used within this `async` block [INFO] [stdout] --> src/main.rs:267:22 [INFO] [stdout] | [INFO] [stdout] 267 | tokio::spawn(async move { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/fileserver-31b8e9245b296332.long-type-11594066306109013646.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0275]: overflow evaluating the requirement `(&str,): Send` [INFO] [stdout] --> src/main.rs:267:9 [INFO] [stdout] | [INFO] [stdout] 267 | / tokio::spawn(async move { [INFO] [stdout] 268 | | if let Err(e) = handle_client(socket, clients_clone).await { [INFO] [stdout] 269 | | eprintln!("Error handling client: {}", e); [INFO] [stdout] 270 | | } [INFO] [stdout] 271 | | }); [INFO] [stdout] | |__________^ [INFO] [stdout] | [INFO] [stdout] = help: consider increasing the recursion limit by adding a `#![recursion_limit = "256"]` attribute to your crate (`fileserver`) [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.45.0/src/fs/create_dir_all.rs:48:71 [INFO] [stdout] | [INFO] [stdout] 48 | pub async fn create_dir_all(path: impl AsRef) -> io::Result<()> { [INFO] [stdout] | _______________________________________________________________________^ [INFO] [stdout] 49 | | let path = path.as_ref().to_owned(); [INFO] [stdout] 50 | | asyncify(move || std::fs::create_dir_all(path)).await [INFO] [stdout] 51 | | } [INFO] [stdout] | |_^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/main.rs:18:65 [INFO] [stdout] | [INFO] [stdout] 18 | async fn copy_dir_recursive(src: &str, dst: &str) -> Result<()> { [INFO] [stdout] | _________________________________________________________________^ [INFO] [stdout] 19 | | // 创建目标目录 [INFO] [stdout] 20 | | fs::create_dir_all(dst).await?; [INFO] [stdout] ... | [INFO] [stdout] 47 | | Ok(()) [INFO] [stdout] 48 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: required for `Unique>>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/main.rs:18:65 [INFO] [stdout] | [INFO] [stdout] 18 | async fn copy_dir_recursive(src: &str, dst: &str) -> Result<()> { [INFO] [stdout] | _________________________________________________________________^ [INFO] [stdout] 19 | | // 创建目标目录 [INFO] [stdout] 20 | | fs::create_dir_all(dst).await?; [INFO] [stdout] ... | [INFO] [stdout] 47 | | Ok(()) [INFO] [stdout] 48 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: required for `Unique>>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/main.rs:18:65 [INFO] [stdout] | [INFO] [stdout] 18 | async fn copy_dir_recursive(src: &str, dst: &str) -> Result<()> { [INFO] [stdout] | _________________________________________________________________^ [INFO] [stdout] 19 | | // 创建目标目录 [INFO] [stdout] 20 | | fs::create_dir_all(dst).await?; [INFO] [stdout] ... | [INFO] [stdout] 47 | | Ok(()) [INFO] [stdout] 48 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: required for `Unique>>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/main.rs:18:65 [INFO] [stdout] | [INFO] [stdout] 18 | async fn copy_dir_recursive(src: &str, dst: &str) -> Result<()> { [INFO] [stdout] | _________________________________________________________________^ [INFO] [stdout] 19 | | // 创建目标目录 [INFO] [stdout] 20 | | fs::create_dir_all(dst).await?; [INFO] [stdout] ... | [INFO] [stdout] 47 | | Ok(()) [INFO] [stdout] 48 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: required for `Unique>>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/main.rs:18:65 [INFO] [stdout] | [INFO] [stdout] 18 | async fn copy_dir_recursive(src: &str, dst: &str) -> Result<()> { [INFO] [stdout] | _________________________________________________________________^ [INFO] [stdout] 19 | | // 创建目标目录 [INFO] [stdout] 20 | | fs::create_dir_all(dst).await?; [INFO] [stdout] ... | [INFO] [stdout] 47 | | Ok(()) [INFO] [stdout] 48 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: required for `Unique>>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/main.rs:18:65 [INFO] [stdout] | [INFO] [stdout] 18 | async fn copy_dir_recursive(src: &str, dst: &str) -> Result<()> { [INFO] [stdout] | _________________________________________________________________^ [INFO] [stdout] 19 | | // 创建目标目录 [INFO] [stdout] 20 | | fs::create_dir_all(dst).await?; [INFO] [stdout] ... | [INFO] [stdout] 47 | | Ok(()) [INFO] [stdout] 48 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: required for `Unique>>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/main.rs:18:65 [INFO] [stdout] | [INFO] [stdout] 18 | async fn copy_dir_recursive(src: &str, dst: &str) -> Result<()> { [INFO] [stdout] | _________________________________________________________________^ [INFO] [stdout] 19 | | // 创建目标目录 [INFO] [stdout] 20 | | fs::create_dir_all(dst).await?; [INFO] [stdout] ... | [INFO] [stdout] 47 | | Ok(()) [INFO] [stdout] 48 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: required for `Unique>>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/main.rs:18:65 [INFO] [stdout] | [INFO] [stdout] 18 | async fn copy_dir_recursive(src: &str, dst: &str) -> Result<()> { [INFO] [stdout] | _________________________________________________________________^ [INFO] [stdout] 19 | | // 创建目标目录 [INFO] [stdout] 20 | | fs::create_dir_all(dst).await?; [INFO] [stdout] ... | [INFO] [stdout] 47 | | Ok(()) [INFO] [stdout] 48 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: required for `Unique>>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/main.rs:18:65 [INFO] [stdout] | [INFO] [stdout] 18 | async fn copy_dir_recursive(src: &str, dst: &str) -> Result<()> { [INFO] [stdout] | _________________________________________________________________^ [INFO] [stdout] 19 | | // 创建目标目录 [INFO] [stdout] 20 | | fs::create_dir_all(dst).await?; [INFO] [stdout] ... | [INFO] [stdout] 47 | | Ok(()) [INFO] [stdout] 48 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: required for `Unique>>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/main.rs:18:65 [INFO] [stdout] | [INFO] [stdout] 18 | async fn copy_dir_recursive(src: &str, dst: &str) -> Result<()> { [INFO] [stdout] | _________________________________________________________________^ [INFO] [stdout] 19 | | // 创建目标目录 [INFO] [stdout] 20 | | fs::create_dir_all(dst).await?; [INFO] [stdout] ... | [INFO] [stdout] 47 | | Ok(()) [INFO] [stdout] 48 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: required for `Unique>>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/main.rs:18:65 [INFO] [stdout] | [INFO] [stdout] 18 | async fn copy_dir_recursive(src: &str, dst: &str) -> Result<()> { [INFO] [stdout] | _________________________________________________________________^ [INFO] [stdout] 19 | | // 创建目标目录 [INFO] [stdout] 20 | | fs::create_dir_all(dst).await?; [INFO] [stdout] ... | [INFO] [stdout] 47 | | Ok(()) [INFO] [stdout] 48 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: required for `Unique>>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/main.rs:18:65 [INFO] [stdout] | [INFO] [stdout] 18 | async fn copy_dir_recursive(src: &str, dst: &str) -> Result<()> { [INFO] [stdout] | _________________________________________________________________^ [INFO] [stdout] 19 | | // 创建目标目录 [INFO] [stdout] 20 | | fs::create_dir_all(dst).await?; [INFO] [stdout] ... | [INFO] [stdout] 47 | | Ok(()) [INFO] [stdout] 48 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: required for `Unique>>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/main.rs:18:65 [INFO] [stdout] | [INFO] [stdout] 18 | async fn copy_dir_recursive(src: &str, dst: &str) -> Result<()> { [INFO] [stdout] | _________________________________________________________________^ [INFO] [stdout] 19 | | // 创建目标目录 [INFO] [stdout] 20 | | fs::create_dir_all(dst).await?; [INFO] [stdout] ... | [INFO] [stdout] 47 | | Ok(()) [INFO] [stdout] 48 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: required for `Unique>>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/main.rs:18:65 [INFO] [stdout] | [INFO] [stdout] 18 | async fn copy_dir_recursive(src: &str, dst: &str) -> Result<()> { [INFO] [stdout] | _________________________________________________________________^ [INFO] [stdout] 19 | | // 创建目标目录 [INFO] [stdout] 20 | | fs::create_dir_all(dst).await?; [INFO] [stdout] ... | [INFO] [stdout] 47 | | Ok(()) [INFO] [stdout] 48 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: required for `Unique>>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/main.rs:18:65 [INFO] [stdout] | [INFO] [stdout] 18 | async fn copy_dir_recursive(src: &str, dst: &str) -> Result<()> { [INFO] [stdout] | _________________________________________________________________^ [INFO] [stdout] 19 | | // 创建目标目录 [INFO] [stdout] 20 | | fs::create_dir_all(dst).await?; [INFO] [stdout] ... | [INFO] [stdout] 47 | | Ok(()) [INFO] [stdout] 48 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: required for `Unique>>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/main.rs:18:65 [INFO] [stdout] | [INFO] [stdout] 18 | async fn copy_dir_recursive(src: &str, dst: &str) -> Result<()> { [INFO] [stdout] | _________________________________________________________________^ [INFO] [stdout] 19 | | // 创建目标目录 [INFO] [stdout] 20 | | fs::create_dir_all(dst).await?; [INFO] [stdout] ... | [INFO] [stdout] 47 | | Ok(()) [INFO] [stdout] 48 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: required for `Unique>>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/main.rs:18:65 [INFO] [stdout] | [INFO] [stdout] 18 | async fn copy_dir_recursive(src: &str, dst: &str) -> Result<()> { [INFO] [stdout] | _________________________________________________________________^ [INFO] [stdout] 19 | | // 创建目标目录 [INFO] [stdout] 20 | | fs::create_dir_all(dst).await?; [INFO] [stdout] ... | [INFO] [stdout] 47 | | Ok(()) [INFO] [stdout] 48 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: required for `Unique>>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/main.rs:18:65 [INFO] [stdout] | [INFO] [stdout] 18 | async fn copy_dir_recursive(src: &str, dst: &str) -> Result<()> { [INFO] [stdout] | _________________________________________________________________^ [INFO] [stdout] 19 | | // 创建目标目录 [INFO] [stdout] 20 | | fs::create_dir_all(dst).await?; [INFO] [stdout] ... | [INFO] [stdout] 47 | | Ok(()) [INFO] [stdout] 48 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: required for `Unique>>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/main.rs:18:65 [INFO] [stdout] | [INFO] [stdout] 18 | async fn copy_dir_recursive(src: &str, dst: &str) -> Result<()> { [INFO] [stdout] | _________________________________________________________________^ [INFO] [stdout] 19 | | // 创建目标目录 [INFO] [stdout] 20 | | fs::create_dir_all(dst).await?; [INFO] [stdout] ... | [INFO] [stdout] 47 | | Ok(()) [INFO] [stdout] 48 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: required for `Unique>>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/main.rs:18:65 [INFO] [stdout] | [INFO] [stdout] 18 | async fn copy_dir_recursive(src: &str, dst: &str) -> Result<()> { [INFO] [stdout] | _________________________________________________________________^ [INFO] [stdout] 19 | | // 创建目标目录 [INFO] [stdout] 20 | | fs::create_dir_all(dst).await?; [INFO] [stdout] ... | [INFO] [stdout] 47 | | Ok(()) [INFO] [stdout] 48 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: required for `Unique>>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/main.rs:18:65 [INFO] [stdout] | [INFO] [stdout] 18 | async fn copy_dir_recursive(src: &str, dst: &str) -> Result<()> { [INFO] [stdout] | _________________________________________________________________^ [INFO] [stdout] 19 | | // 创建目标目录 [INFO] [stdout] 20 | | fs::create_dir_all(dst).await?; [INFO] [stdout] ... | [INFO] [stdout] 47 | | Ok(()) [INFO] [stdout] 48 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: required for `Unique>>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/main.rs:18:65 [INFO] [stdout] | [INFO] [stdout] 18 | async fn copy_dir_recursive(src: &str, dst: &str) -> Result<()> { [INFO] [stdout] | _________________________________________________________________^ [INFO] [stdout] 19 | | // 创建目标目录 [INFO] [stdout] 20 | | fs::create_dir_all(dst).await?; [INFO] [stdout] ... | [INFO] [stdout] 47 | | Ok(()) [INFO] [stdout] 48 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: required for `Unique>>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/main.rs:18:65 [INFO] [stdout] | [INFO] [stdout] 18 | async fn copy_dir_recursive(src: &str, dst: &str) -> Result<()> { [INFO] [stdout] | _________________________________________________________________^ [INFO] [stdout] 19 | | // 创建目标目录 [INFO] [stdout] 20 | | fs::create_dir_all(dst).await?; [INFO] [stdout] ... | [INFO] [stdout] 47 | | Ok(()) [INFO] [stdout] 48 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: required for `Unique>>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/main.rs:18:65 [INFO] [stdout] | [INFO] [stdout] 18 | async fn copy_dir_recursive(src: &str, dst: &str) -> Result<()> { [INFO] [stdout] | _________________________________________________________________^ [INFO] [stdout] 19 | | // 创建目标目录 [INFO] [stdout] 20 | | fs::create_dir_all(dst).await?; [INFO] [stdout] ... | [INFO] [stdout] 47 | | Ok(()) [INFO] [stdout] 48 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: required for `Unique>>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/main.rs:18:65 [INFO] [stdout] | [INFO] [stdout] 18 | async fn copy_dir_recursive(src: &str, dst: &str) -> Result<()> { [INFO] [stdout] | _________________________________________________________________^ [INFO] [stdout] 19 | | // 创建目标目录 [INFO] [stdout] 20 | | fs::create_dir_all(dst).await?; [INFO] [stdout] ... | [INFO] [stdout] 47 | | Ok(()) [INFO] [stdout] 48 | | } [INFO] [stdout] | |_^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/main.rs:51:76 [INFO] [stdout] | [INFO] [stdout] 51 | async fn execute_command(command: ClientCommand) -> Result { [INFO] [stdout] | ____________________________________________________________________________^ [INFO] [stdout] 52 | | match command { [INFO] [stdout] 53 | | ClientCommand::List { path } => { [INFO] [stdout] 54 | | let mut entries = fs::read_dir(path).await?; [INFO] [stdout] ... | [INFO] [stdout] 149 | | } [INFO] [stdout] | |_^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/main.rs:155:17 [INFO] [stdout] | [INFO] [stdout] 155 | ) -> Result<()> { [INFO] [stdout] | _________________^ [INFO] [stdout] 156 | | let peer_addr = socket.peer_addr()?.to_string(); [INFO] [stdout] 157 | | println!("Client connected: {}", peer_addr); [INFO] [stdout] ... | [INFO] [stdout] 251 | | Ok(()) [INFO] [stdout] 252 | | } [INFO] [stdout] | |_^ [INFO] [stdout] note: required because it's used within this `async` block [INFO] [stdout] --> src/main.rs:267:22 [INFO] [stdout] | [INFO] [stdout] 267 | 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.45.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] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/fileserver-31b8e9245b296332.long-type-11594066306109013646.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0275`. [INFO] [stdout] [INFO] [stderr] error: could not compile `fileserver` (bin "fileserver" test) due to 2 previous errors [INFO] running `Command { std: "docker" "inspect" "d03c866f56d9c3de7e375b7868cd22baaee44aba01fb13d875e4d45f0112a754", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d03c866f56d9c3de7e375b7868cd22baaee44aba01fb13d875e4d45f0112a754", kill_on_drop: false }` [INFO] [stdout] d03c866f56d9c3de7e375b7868cd22baaee44aba01fb13d875e4d45f0112a754