[INFO] cloning repository https://github.com/529124368/rust_websocket_demo [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/529124368/rust_websocket_demo" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2F529124368%2Frust_websocket_demo", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2F529124368%2Frust_websocket_demo'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 5bfe22367e1173f008dfbb071d7245061828218c [INFO] testing 529124368/rust_websocket_demo against 1.77.0 for beta-1.78-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2F529124368%2Frust_websocket_demo" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/529124368/rust_websocket_demo on toolchain 1.77.0 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.77.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/529124368/rust_websocket_demo [INFO] finished tweaking git repo https://github.com/529124368/rust_websocket_demo [INFO] tweaked toml for git repo https://github.com/529124368/rust_websocket_demo written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/529124368/rust_websocket_demo 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" "+1.77.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+1.77.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b7a1b32310b729998915a73b43422317030b4698c14761eb41d8ebab99eecfdf [INFO] running `Command { std: "docker" "start" "-a" "b7a1b32310b729998915a73b43422317030b4698c14761eb41d8ebab99eecfdf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b7a1b32310b729998915a73b43422317030b4698c14761eb41d8ebab99eecfdf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b7a1b32310b729998915a73b43422317030b4698c14761eb41d8ebab99eecfdf", kill_on_drop: false }` [INFO] [stdout] b7a1b32310b729998915a73b43422317030b4698c14761eb41d8ebab99eecfdf [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+1.77.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 26840d3013356c9acae7a7a86230bd8b54ebeb318511abd492bbe8e98c54ed32 [INFO] running `Command { std: "docker" "start" "-a" "26840d3013356c9acae7a7a86230bd8b54ebeb318511abd492bbe8e98c54ed32", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.129 [INFO] [stderr] Compiling proc-macro2 v1.0.43 [INFO] [stderr] Compiling unicode-ident v1.0.3 [INFO] [stderr] Compiling syn v1.0.99 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling lock_api v0.4.7 [INFO] [stderr] Compiling itoa v1.0.3 [INFO] [stderr] Compiling futures-core v0.3.21 [INFO] [stderr] Compiling smallvec v1.9.0 [INFO] [stderr] Compiling once_cell v1.13.0 [INFO] [stderr] Compiling tokio v1.20.1 [INFO] [stderr] Compiling futures-sink v0.3.21 [INFO] [stderr] Compiling unicase v2.6.0 [INFO] [stderr] Compiling futures-task v0.3.21 [INFO] [stderr] Compiling matches v0.1.9 [INFO] [stderr] Compiling httparse v1.7.1 [INFO] [stderr] Compiling serde_derive v1.0.143 [INFO] [stderr] Compiling futures-util v0.3.21 [INFO] [stderr] Compiling cpufeatures v0.2.2 [INFO] [stderr] Compiling http v0.2.8 [INFO] [stderr] Compiling form_urlencoded v1.0.1 [INFO] [stderr] Compiling tracing-core v0.1.29 [INFO] [stderr] Compiling unicode-normalization v0.1.21 [INFO] [stderr] Compiling serde v1.0.143 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling block-buffer v0.10.2 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling futures-channel v0.3.21 [INFO] [stderr] Compiling fastrand v1.8.0 [INFO] [stderr] Compiling serde_json v1.0.83 [INFO] [stderr] Compiling digest v0.10.3 [INFO] [stderr] Compiling sha-1 v0.9.8 [INFO] [stderr] Compiling mime_guess v2.0.4 [INFO] [stderr] Compiling tracing v0.1.36 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling tower-service v0.3.2 [INFO] [stderr] Compiling sha-1 v0.10.0 [INFO] [stderr] Compiling idna v0.2.3 [INFO] [stderr] Compiling buf_redux v0.8.4 [INFO] [stderr] Compiling twoway v0.1.8 [INFO] [stderr] Compiling quote v1.0.21 [INFO] [stderr] Compiling headers-core v0.2.0 [INFO] [stderr] Compiling http-body v0.4.5 [INFO] [stderr] Compiling parking_lot_core v0.9.3 [INFO] [stderr] Compiling num_cpus v1.13.1 [INFO] [stderr] Compiling mio v0.8.4 [INFO] [stderr] Compiling socket2 v0.4.4 [INFO] [stderr] Compiling signal-hook-registry v1.4.0 [INFO] [stderr] Compiling getrandom v0.2.7 [INFO] [stderr] Compiling tempfile v3.3.0 [INFO] [stderr] Compiling headers v0.3.7 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling parking_lot v0.12.1 [INFO] [stderr] Compiling url v2.2.2 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling multipart v0.18.0 [INFO] [stderr] Compiling tokio-macros v1.8.0 [INFO] [stderr] Compiling thiserror-impl v1.0.32 [INFO] [stderr] Compiling pin-project-internal v1.0.11 [INFO] [stderr] Compiling thiserror v1.0.32 [INFO] [stderr] Compiling pin-project v1.0.11 [INFO] [stderr] Compiling tungstenite v0.14.0 [INFO] [stderr] Compiling tokio-util v0.7.3 [INFO] [stderr] Compiling tokio-util v0.6.10 [INFO] [stderr] Compiling tokio-stream v0.1.9 [INFO] [stderr] Compiling tokio-tungstenite v0.15.0 [INFO] [stderr] Compiling h2 v0.3.13 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling hyper v0.14.20 [INFO] [stderr] Compiling warp v0.3.2 [INFO] [stderr] Compiling websocket v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 22.39s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: buf_redux v0.8.4, multipart v0.18.0 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "26840d3013356c9acae7a7a86230bd8b54ebeb318511abd492bbe8e98c54ed32", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "26840d3013356c9acae7a7a86230bd8b54ebeb318511abd492bbe8e98c54ed32", kill_on_drop: false }` [INFO] [stdout] 26840d3013356c9acae7a7a86230bd8b54ebeb318511abd492bbe8e98c54ed32 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+1.77.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5f0b2c6f9c8c840a0fdb7c509b7c07d8529ab1b457f631232ab81761bef05d14 [INFO] running `Command { std: "docker" "start" "-a" "5f0b2c6f9c8c840a0fdb7c509b7c07d8529ab1b457f631232ab81761bef05d14", kill_on_drop: false }` [INFO] [stderr] Compiling websocket v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 1.12s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: buf_redux v0.8.4, multipart v0.18.0 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "5f0b2c6f9c8c840a0fdb7c509b7c07d8529ab1b457f631232ab81761bef05d14", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5f0b2c6f9c8c840a0fdb7c509b7c07d8529ab1b457f631232ab81761bef05d14", kill_on_drop: false }` [INFO] [stdout] 5f0b2c6f9c8c840a0fdb7c509b7c07d8529ab1b457f631232ab81761bef05d14 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+1.77.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 9a002f02870bda6af1e1a81c9f41b3992115f5fa5f8f3018635b7b5c40acea4b [INFO] running `Command { std: "docker" "start" "-a" "9a002f02870bda6af1e1a81c9f41b3992115f5fa5f8f3018635b7b5c40acea4b", kill_on_drop: false }` [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.08s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: buf_redux v0.8.4, multipart v0.18.0 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/websocket-8fcc18c0a90ae96a) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "9a002f02870bda6af1e1a81c9f41b3992115f5fa5f8f3018635b7b5c40acea4b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9a002f02870bda6af1e1a81c9f41b3992115f5fa5f8f3018635b7b5c40acea4b", kill_on_drop: false }` [INFO] [stdout] 9a002f02870bda6af1e1a81c9f41b3992115f5fa5f8f3018635b7b5c40acea4b [INFO] testing 529124368/rust_websocket_demo against beta-2024-03-24 for beta-1.78-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2F529124368%2Frust_websocket_demo" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/529124368/rust_websocket_demo on toolchain beta-2024-03-24 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2024-03-24" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/529124368/rust_websocket_demo [INFO] finished tweaking git repo https://github.com/529124368/rust_websocket_demo [INFO] tweaked toml for git repo https://github.com/529124368/rust_websocket_demo written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/529124368/rust_websocket_demo 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" "+beta-2024-03-24" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2024-03-24" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 447159213a15138be26060e33b2493aebe9b67b8de048bb0b59620c68ad5b7a8 [INFO] running `Command { std: "docker" "start" "-a" "447159213a15138be26060e33b2493aebe9b67b8de048bb0b59620c68ad5b7a8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "447159213a15138be26060e33b2493aebe9b67b8de048bb0b59620c68ad5b7a8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "447159213a15138be26060e33b2493aebe9b67b8de048bb0b59620c68ad5b7a8", kill_on_drop: false }` [INFO] [stdout] 447159213a15138be26060e33b2493aebe9b67b8de048bb0b59620c68ad5b7a8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2024-03-24" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d3d47daf5204d9ca92d48c26d3bec76ab21e6f146c9a395ada5936942c28b68f [INFO] running `Command { std: "docker" "start" "-a" "d3d47daf5204d9ca92d48c26d3bec76ab21e6f146c9a395ada5936942c28b68f", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.129 [INFO] [stderr] Compiling proc-macro2 v1.0.43 [INFO] [stderr] Compiling unicode-ident v1.0.3 [INFO] [stderr] Compiling syn v1.0.99 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling itoa v1.0.3 [INFO] [stderr] Compiling futures-core v0.3.21 [INFO] [stderr] Compiling smallvec v1.9.0 [INFO] [stderr] Compiling lock_api v0.4.7 [INFO] [stderr] Compiling once_cell v1.13.0 [INFO] [stderr] Compiling tokio v1.20.1 [INFO] [stderr] Compiling futures-sink v0.3.21 [INFO] [stderr] Compiling unicase v2.6.0 [INFO] [stderr] Compiling httparse v1.7.1 [INFO] [stderr] Compiling futures-task v0.3.21 [INFO] [stderr] Compiling matches v0.1.9 [INFO] [stderr] Compiling cpufeatures v0.2.2 [INFO] [stderr] Compiling serde_derive v1.0.143 [INFO] [stderr] Compiling futures-util v0.3.21 [INFO] [stderr] Compiling http v0.2.8 [INFO] [stderr] Compiling tracing-core v0.1.29 [INFO] [stderr] Compiling form_urlencoded v1.0.1 [INFO] [stderr] Compiling unicode-normalization v0.1.21 [INFO] [stderr] Compiling serde v1.0.143 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling block-buffer v0.10.2 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling futures-channel v0.3.21 [INFO] [stderr] Compiling sha-1 v0.9.8 [INFO] [stderr] Compiling digest v0.10.3 [INFO] [stderr] Compiling fastrand v1.8.0 [INFO] [stderr] Compiling serde_json v1.0.83 [INFO] [stderr] Compiling mime_guess v2.0.4 [INFO] [stderr] Compiling tracing v0.1.36 [INFO] [stderr] Compiling sha-1 v0.10.0 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling tower-service v0.3.2 [INFO] [stderr] Compiling buf_redux v0.8.4 [INFO] [stderr] Compiling twoway v0.1.8 [INFO] [stderr] Compiling quote v1.0.21 [INFO] [stderr] Compiling idna v0.2.3 [INFO] [stderr] Compiling headers-core v0.2.0 [INFO] [stderr] Compiling http-body v0.4.5 [INFO] [stderr] Compiling headers v0.3.7 [INFO] [stderr] Compiling parking_lot_core v0.9.3 [INFO] [stderr] Compiling signal-hook-registry v1.4.0 [INFO] [stderr] Compiling socket2 v0.4.4 [INFO] [stderr] Compiling mio v0.8.4 [INFO] [stderr] Compiling num_cpus v1.13.1 [INFO] [stderr] Compiling getrandom v0.2.7 [INFO] [stderr] Compiling tempfile v3.3.0 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling parking_lot v0.12.1 [INFO] [stderr] Compiling url v2.2.2 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling multipart v0.18.0 [INFO] [stderr] Compiling tokio-macros v1.8.0 [INFO] [stderr] Compiling thiserror-impl v1.0.32 [INFO] [stderr] Compiling pin-project-internal v1.0.11 [INFO] [stderr] Compiling thiserror v1.0.32 [INFO] [stderr] Compiling tungstenite v0.14.0 [INFO] [stderr] Compiling pin-project v1.0.11 [INFO] [stderr] Compiling tokio-util v0.7.3 [INFO] [stderr] Compiling tokio-stream v0.1.9 [INFO] [stderr] Compiling tokio-util v0.6.10 [INFO] [stderr] Compiling tokio-tungstenite v0.15.0 [INFO] [stderr] Compiling h2 v0.3.13 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling hyper v0.14.20 [INFO] [stderr] Compiling warp v0.3.2 [INFO] [stderr] Compiling websocket v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: future cannot be sent between threads safely [INFO] [stdout] --> src/main.rs:79:5 [INFO] [stdout] | [INFO] [stdout] 79 | / tokio::task::spawn(async move { [INFO] [stdout] 80 | | let msg = msg_base::MsgBase::new(0, my_id as u32, format!("玩家#{}:上线了", my_id)); [INFO] [stdout] 81 | | let msg = serde_json::to_string(&msg).unwrap(); [INFO] [stdout] 82 | | broadcast_message(my_id, Message::text(msg), &users_new).await; [INFO] [stdout] 83 | | }); [INFO] [stdout] | |______^ future created by async block is not `Send` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sync` is not implemented for `core::fmt::rt::Opaque`, which is required by `{async block@src/main.rs:79:24: 83:6}: std::marker::Send` [INFO] [stdout] note: future is not `Send` as this value is used across an await [INFO] [stdout] --> src/main.rs:172:34 [INFO] [stdout] | [INFO] [stdout] 170 | "系统消息:{}\n当前在线人数为:{}", [INFO] [stdout] | -- has type `core::fmt::rt::Argument<'_>` which is not `Send` [INFO] [stdout] 171 | p.message, [INFO] [stdout] 172 | users.read().await.len() [INFO] [stdout] | ^^^^^ await occurs here, with `{}` maybe used later [INFO] [stdout] note: required by a bound in `tokio::spawn` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.20.1/src/task/spawn.rs:127:21 [INFO] [stdout] | [INFO] [stdout] 125 | pub fn spawn(future: T) -> JoinHandle [INFO] [stdout] | ----- required by a bound in this function [INFO] [stdout] 126 | where [INFO] [stdout] 127 | T: Future + Send + 'static, [INFO] [stdout] | ^^^^ required by this bound in `spawn` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: future cannot be sent between threads safely [INFO] [stdout] --> src/main.rs:99:19 [INFO] [stdout] | [INFO] [stdout] 99 | let handle2 = tokio::task::spawn(async move { [INFO] [stdout] | ___________________^ [INFO] [stdout] 100 | | loop { [INFO] [stdout] 101 | | tokio::select! { [INFO] [stdout] 102 | | _ =async{alive_read.recv().await} => { [INFO] [stdout] ... | [INFO] [stdout] 111 | | } [INFO] [stdout] 112 | | }); [INFO] [stdout] | |______^ future created by async block is not `Send` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sync` is not implemented for `core::fmt::rt::Opaque`, which is required by `{async block@src/main.rs:99:38: 112:6}: std::marker::Send` [INFO] [stdout] note: future is not `Send` as this value is used across an await [INFO] [stdout] --> src/main.rs:172:34 [INFO] [stdout] | [INFO] [stdout] 170 | "系统消息:{}\n当前在线人数为:{}", [INFO] [stdout] | -- has type `core::fmt::rt::Argument<'_>` which is not `Send` [INFO] [stdout] 171 | p.message, [INFO] [stdout] 172 | users.read().await.len() [INFO] [stdout] | ^^^^^ await occurs here, with `{}` maybe used later [INFO] [stdout] note: required by a bound in `tokio::spawn` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.20.1/src/task/spawn.rs:127:21 [INFO] [stdout] | [INFO] [stdout] 125 | pub fn spawn(future: T) -> JoinHandle [INFO] [stdout] | ----- required by a bound in this function [INFO] [stdout] 126 | where [INFO] [stdout] 127 | T: Future + Send + 'static, [INFO] [stdout] | ^^^^ required by this bound in `spawn` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: future cannot be sent between threads safely [INFO] [stdout] --> src/main.rs:115:18 [INFO] [stdout] | [INFO] [stdout] 115 | let handle = tokio::task::spawn(async move { [INFO] [stdout] | __________________^ [INFO] [stdout] 116 | | while let Some(result) = user_ws_rx.next().await { [INFO] [stdout] 117 | | //心跳监测 [INFO] [stdout] 118 | | alive_send1 [INFO] [stdout] ... | [INFO] [stdout] 138 | | user_disconnected(my_id, &users1, &alive_send1).await; [INFO] [stdout] 139 | | }); [INFO] [stdout] | |______^ future created by async block is not `Send` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sync` is not implemented for `core::fmt::rt::Opaque`, which is required by `{async block@src/main.rs:115:37: 139:6}: std::marker::Send` [INFO] [stdout] note: future is not `Send` as this value is used across an await [INFO] [stdout] --> src/main.rs:172:34 [INFO] [stdout] | [INFO] [stdout] 170 | "系统消息:{}\n当前在线人数为:{}", [INFO] [stdout] | -- has type `core::fmt::rt::Argument<'_>` which is not `Send` [INFO] [stdout] 171 | p.message, [INFO] [stdout] 172 | users.read().await.len() [INFO] [stdout] | ^^^^^ await occurs here, with `{}` maybe used later [INFO] [stdout] note: required by a bound in `tokio::spawn` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.20.1/src/task/spawn.rs:127:21 [INFO] [stdout] | [INFO] [stdout] 125 | pub fn spawn(future: T) -> JoinHandle [INFO] [stdout] | ----- required by a bound in this function [INFO] [stdout] 126 | where [INFO] [stdout] 127 | T: Future + Send + 'static, [INFO] [stdout] | ^^^^ required by this bound in `spawn` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `websocket` (bin "websocket") due to 4 previous errors [INFO] running `Command { std: "docker" "inspect" "d3d47daf5204d9ca92d48c26d3bec76ab21e6f146c9a395ada5936942c28b68f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d3d47daf5204d9ca92d48c26d3bec76ab21e6f146c9a395ada5936942c28b68f", kill_on_drop: false }` [INFO] [stdout] d3d47daf5204d9ca92d48c26d3bec76ab21e6f146c9a395ada5936942c28b68f