[INFO] cloning repository https://github.com/yinho999/async-sync-closure [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/yinho999/async-sync-closure" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fyinho999%2Fasync-sync-closure", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fyinho999%2Fasync-sync-closure'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 2614b11f6450d1ebd37fbbe6b965761a75fbe92c [INFO] checking yinho999/async-sync-closure against master#16b569057e4d1591b4bee05f10df34000308dedc for pr-127827 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fyinho999%2Fasync-sync-closure" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/yinho999/async-sync-closure on toolchain 16b569057e4d1591b4bee05f10df34000308dedc [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+16b569057e4d1591b4bee05f10df34000308dedc" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/yinho999/async-sync-closure [INFO] finished tweaking git repo https://github.com/yinho999/async-sync-closure [INFO] tweaked toml for git repo https://github.com/yinho999/async-sync-closure written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/yinho999/async-sync-closure 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" "+16b569057e4d1591b4bee05f10df34000308dedc" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:dff56e7819e73ed36160586b3445e93eb0be776c16704aeeded9c3fb668b2384" "/opt/rustwide/cargo-home/bin/cargo" "+16b569057e4d1591b4bee05f10df34000308dedc" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 05ef22f15e09e8efb573cfc950cdeacac4c0c2d28d30c7e163c7b16a19779a20 [INFO] running `Command { std: "docker" "start" "-a" "05ef22f15e09e8efb573cfc950cdeacac4c0c2d28d30c7e163c7b16a19779a20", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "05ef22f15e09e8efb573cfc950cdeacac4c0c2d28d30c7e163c7b16a19779a20", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "05ef22f15e09e8efb573cfc950cdeacac4c0c2d28d30c7e163c7b16a19779a20", kill_on_drop: false }` [INFO] [stdout] 05ef22f15e09e8efb573cfc950cdeacac4c0c2d28d30c7e163c7b16a19779a20 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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=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:dff56e7819e73ed36160586b3445e93eb0be776c16704aeeded9c3fb668b2384" "/opt/rustwide/cargo-home/bin/cargo" "+16b569057e4d1591b4bee05f10df34000308dedc" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6bf85b47b1279ef21cf54e7786c085195503b7c2f9061fe09fc105f69520e686 [INFO] running `Command { std: "docker" "start" "-a" "6bf85b47b1279ef21cf54e7786c085195503b7c2f9061fe09fc105f69520e686", kill_on_drop: false }` [INFO] [stderr] Compiling serde v1.0.198 [INFO] [stderr] Compiling serde_json v1.0.116 [INFO] [stderr] Compiling syn v2.0.55 [INFO] [stderr] Compiling serde_derive v1.0.198 [INFO] [stderr] Compiling tokio-macros v2.2.0 [INFO] [stderr] Checking tokio v1.36.0 [INFO] [stderr] Checking async-sync-closure-testing v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `private` [INFO] [stdout] --> src/message_storage.rs:1:67 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::message_handler::{BoxedMessageHandler, MessageHandler, private}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::future::Future` [INFO] [stdout] --> src/message_storage.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::future::Future; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::message_value::MessageValueTrait` [INFO] [stdout] --> src/message_storage.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::message_value::MessageValueTrait; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Deserialize` and `Serialize` [INFO] [stdout] --> src/message_value.rs:1:13 [INFO] [stdout] | [INFO] [stdout] 1 | use serde::{Deserialize, Serialize}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `private` [INFO] [stdout] --> src/message_storage.rs:1:67 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::message_handler::{BoxedMessageHandler, MessageHandler, private}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::future::Future` [INFO] [stdout] --> src/message_storage.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::future::Future; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::message_value::MessageValueTrait` [INFO] [stdout] --> src/message_storage.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::message_value::MessageValueTrait; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Deserialize` and `Serialize` [INFO] [stdout] --> src/message_value.rs:1:13 [INFO] [stdout] | [INFO] [stdout] 1 | use serde::{Deserialize, Serialize}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `async_sync_closure_testing::message_handler` [INFO] [stdout] --> src/main.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use async_sync_closure_testing::message_handler; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `async_sync_closure_testing::message_handler` [INFO] [stdout] --> src/main.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use async_sync_closure_testing::message_handler; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 5.94s [INFO] running `Command { std: "docker" "inspect" "6bf85b47b1279ef21cf54e7786c085195503b7c2f9061fe09fc105f69520e686", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6bf85b47b1279ef21cf54e7786c085195503b7c2f9061fe09fc105f69520e686", kill_on_drop: false }` [INFO] [stdout] 6bf85b47b1279ef21cf54e7786c085195503b7c2f9061fe09fc105f69520e686 [INFO] checking yinho999/async-sync-closure against try#8a6640bd72b80869b16392026cb3aa8ce8e3f9b7 for pr-127827 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fyinho999%2Fasync-sync-closure" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/yinho999/async-sync-closure on toolchain 8a6640bd72b80869b16392026cb3aa8ce8e3f9b7 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8a6640bd72b80869b16392026cb3aa8ce8e3f9b7" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/yinho999/async-sync-closure [INFO] finished tweaking git repo https://github.com/yinho999/async-sync-closure [INFO] tweaked toml for git repo https://github.com/yinho999/async-sync-closure written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/yinho999/async-sync-closure 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" "+8a6640bd72b80869b16392026cb3aa8ce8e3f9b7" "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:dff56e7819e73ed36160586b3445e93eb0be776c16704aeeded9c3fb668b2384" "/opt/rustwide/cargo-home/bin/cargo" "+8a6640bd72b80869b16392026cb3aa8ce8e3f9b7" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 616a1564db98b4dd117fdc6386f3f70e67d4efda5798da6b144f3e1ad09ea9e5 [INFO] running `Command { std: "docker" "start" "-a" "616a1564db98b4dd117fdc6386f3f70e67d4efda5798da6b144f3e1ad09ea9e5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "616a1564db98b4dd117fdc6386f3f70e67d4efda5798da6b144f3e1ad09ea9e5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "616a1564db98b4dd117fdc6386f3f70e67d4efda5798da6b144f3e1ad09ea9e5", kill_on_drop: false }` [INFO] [stdout] 616a1564db98b4dd117fdc6386f3f70e67d4efda5798da6b144f3e1ad09ea9e5 [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:dff56e7819e73ed36160586b3445e93eb0be776c16704aeeded9c3fb668b2384" "/opt/rustwide/cargo-home/bin/cargo" "+8a6640bd72b80869b16392026cb3aa8ce8e3f9b7" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2175a8e40ed896bf153f1576bf6263fc5a2f74538b0283ec9bf8dfe18d3d578c [INFO] running `Command { std: "docker" "start" "-a" "2175a8e40ed896bf153f1576bf6263fc5a2f74538b0283ec9bf8dfe18d3d578c", kill_on_drop: false }` [INFO] [stderr] Compiling serde v1.0.198 [INFO] [stderr] Compiling serde_json v1.0.116 [INFO] [stderr] Compiling syn v2.0.55 [INFO] [stderr] Compiling serde_derive v1.0.198 [INFO] [stderr] Compiling tokio-macros v2.2.0 [INFO] [stderr] Checking tokio v1.36.0 [INFO] [stderr] Checking async-sync-closure-testing v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `private` [INFO] [stdout] --> src/message_storage.rs:1:67 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::message_handler::{BoxedMessageHandler, MessageHandler, private}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::future::Future` [INFO] [stdout] --> src/message_storage.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::future::Future; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::message_value::MessageValueTrait` [INFO] [stdout] --> src/message_storage.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::message_value::MessageValueTrait; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Deserialize` and `Serialize` [INFO] [stdout] --> src/message_value.rs:1:13 [INFO] [stdout] | [INFO] [stdout] 1 | use serde::{Deserialize, Serialize}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `private` [INFO] [stdout] --> src/message_storage.rs:1:67 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::message_handler::{BoxedMessageHandler, MessageHandler, private}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::future::Future` [INFO] [stdout] --> src/message_storage.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::future::Future; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::message_value::MessageValueTrait` [INFO] [stdout] --> src/message_storage.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::message_value::MessageValueTrait; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Deserialize` and `Serialize` [INFO] [stdout] --> src/message_value.rs:1:13 [INFO] [stdout] | [INFO] [stdout] 1 | use serde::{Deserialize, Serialize}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `async_sync_closure_testing::message_handler` [INFO] [stdout] --> src/main.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use async_sync_closure_testing::message_handler; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `async_sync_closure_testing::message_handler` [INFO] [stdout] --> src/main.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use async_sync_closure_testing::message_handler; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `{async closure@src/main.rs:54:50: 54:52}: MessageHandler<_>` is not satisfied [INFO] [stdout] --> src/main.rs:54:50 [INFO] [stdout] | [INFO] [stdout] 54 | async_storage.add_message_handler("goodbye", || async move { [INFO] [stdout] | ___________________-------------------____________^ [INFO] [stdout] | | | [INFO] [stdout] | | required by a bound introduced by this call [INFO] [stdout] 55 | | println!("Goodbye, World!"); [INFO] [stdout] 56 | | }); [INFO] [stdout] | |_____^ the trait `MessageHandler<_>` is not implemented for `{async closure@src/main.rs:54:50: 54:52}` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `BoxAsyncFunctionStorage::::add_message_handler` [INFO] [stdout] --> /opt/rustwide/workdir/src/message_storage.rs:33:12 [INFO] [stdout] | [INFO] [stdout] 31 | pub fn add_message_handler(&mut self, name: &str, handler: H) [INFO] [stdout] | ------------------- required by a bound in this associated function [INFO] [stdout] 32 | where [INFO] [stdout] 33 | H: MessageHandler + Send + Sync + Clone + 'static, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ required by this bound in `BoxAsyncFunctionStorage::::add_message_handler` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `{async closure@src/main.rs:54:50: 54:52}: MessageHandler<_>` is not satisfied [INFO] [stdout] --> src/main.rs:54:50 [INFO] [stdout] | [INFO] [stdout] 54 | async_storage.add_message_handler("goodbye", || async move { [INFO] [stdout] | ___________________-------------------____________^ [INFO] [stdout] | | | [INFO] [stdout] | | required by a bound introduced by this call [INFO] [stdout] 55 | | println!("Goodbye, World!"); [INFO] [stdout] 56 | | }); [INFO] [stdout] | |_____^ the trait `MessageHandler<_>` is not implemented for `{async closure@src/main.rs:54:50: 54:52}` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `BoxAsyncFunctionStorage::::add_message_handler` [INFO] [stdout] --> /opt/rustwide/workdir/src/message_storage.rs:33:12 [INFO] [stdout] | [INFO] [stdout] 31 | pub fn add_message_handler(&mut self, name: &str, handler: H) [INFO] [stdout] | ------------------- required by a bound in this associated function [INFO] [stdout] 32 | where [INFO] [stdout] 33 | H: MessageHandler + Send + Sync + Clone + 'static, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ required by this bound in `BoxAsyncFunctionStorage::::add_message_handler` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `{async closure@src/main.rs:54:50: 54:52}: Clone` is not satisfied [INFO] [stdout] --> src/main.rs:54:50 [INFO] [stdout] | [INFO] [stdout] 54 | async_storage.add_message_handler("goodbye", || async move { [INFO] [stdout] | ___________________-------------------____________^ [INFO] [stdout] | | | [INFO] [stdout] | | required by a bound introduced by this call [INFO] [stdout] 55 | | println!("Goodbye, World!"); [INFO] [stdout] 56 | | }); [INFO] [stdout] | |_____^ the trait `Clone` is not implemented for `{async closure@src/main.rs:54:50: 54:52}` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `BoxAsyncFunctionStorage::::add_message_handler` [INFO] [stdout] --> /opt/rustwide/workdir/src/message_storage.rs:33:46 [INFO] [stdout] | [INFO] [stdout] 31 | pub fn add_message_handler(&mut self, name: &str, handler: H) [INFO] [stdout] | ------------------- required by a bound in this associated function [INFO] [stdout] 32 | where [INFO] [stdout] 33 | H: MessageHandler + Send + Sync + Clone + 'static, [INFO] [stdout] | ^^^^^ required by this bound in `BoxAsyncFunctionStorage::::add_message_handler` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `{async closure@src/main.rs:54:50: 54:52}: Clone` is not satisfied [INFO] [stdout] --> src/main.rs:54:50 [INFO] [stdout] | [INFO] [stdout] 54 | async_storage.add_message_handler("goodbye", || async move { [INFO] [stdout] | ___________________-------------------____________^ [INFO] [stdout] | | | [INFO] [stdout] | | required by a bound introduced by this call [INFO] [stdout] 55 | | println!("Goodbye, World!"); [INFO] [stdout] 56 | | }); [INFO] [stdout] | |_____^ the trait `Clone` is not implemented for `{async closure@src/main.rs:54:50: 54:52}` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `BoxAsyncFunctionStorage::::add_message_handler` [INFO] [stdout] --> /opt/rustwide/workdir/src/message_storage.rs:33:46 [INFO] [stdout] | [INFO] [stdout] 31 | pub fn add_message_handler(&mut self, name: &str, handler: H) [INFO] [stdout] | ------------------- required by a bound in this associated function [INFO] [stdout] 32 | where [INFO] [stdout] 33 | H: MessageHandler + Send + Sync + Clone + 'static, [INFO] [stdout] | ^^^^^ required by this bound in `BoxAsyncFunctionStorage::::add_message_handler` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `async-sync-closure-testing` (bin "async-sync-closure-testing" test) due to 3 previous errors; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `async-sync-closure-testing` (bin "async-sync-closure-testing") due to 3 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "2175a8e40ed896bf153f1576bf6263fc5a2f74538b0283ec9bf8dfe18d3d578c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2175a8e40ed896bf153f1576bf6263fc5a2f74538b0283ec9bf8dfe18d3d578c", kill_on_drop: false }` [INFO] [stdout] 2175a8e40ed896bf153f1576bf6263fc5a2f74538b0283ec9bf8dfe18d3d578c