[INFO] cloning repository https://github.com/retrokiller543/tosic-plugin [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/retrokiller543/tosic-plugin" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fretrokiller543%2Ftosic-plugin", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fretrokiller543%2Ftosic-plugin'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] bfc6d7769a15e5bc77594c587e7d7ce7cb517026 [INFO] checking retrokiller543/tosic-plugin against try#c9557a20e5ef2e0e02c29a5fafd850d1b7cf1e4f for 2025-12-16-next-solver-global [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fretrokiller543%2Ftosic-plugin" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/retrokiller543/tosic-plugin [INFO] finished tweaking git repo https://github.com/retrokiller543/tosic-plugin [INFO] tweaked toml for git repo https://github.com/retrokiller543/tosic-plugin written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/retrokiller543/tosic-plugin on toolchain c9557a20e5ef2e0e02c29a5fafd850d1b7cf1e4f [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c9557a20e5ef2e0e02c29a5fafd850d1b7cf1e4f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/retrokiller543/tosic-plugin 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" "+c9557a20e5ef2e0e02c29a5fafd850d1b7cf1e4f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+c9557a20e5ef2e0e02c29a5fafd850d1b7cf1e4f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 54308b9cb98b61c545c4f46661d99b3dae3ee4822dbcabdc6a7af0b154c30825 [INFO] running `Command { std: "docker" "start" "-a" "54308b9cb98b61c545c4f46661d99b3dae3ee4822dbcabdc6a7af0b154c30825", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "54308b9cb98b61c545c4f46661d99b3dae3ee4822dbcabdc6a7af0b154c30825", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "54308b9cb98b61c545c4f46661d99b3dae3ee4822dbcabdc6a7af0b154c30825", kill_on_drop: false }` [INFO] [stdout] 54308b9cb98b61c545c4f46661d99b3dae3ee4822dbcabdc6a7af0b154c30825 [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=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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+c9557a20e5ef2e0e02c29a5fafd850d1b7cf1e4f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 42973e14715b81cead4901bf1e3c4523be6054d4abb364551854ca2638510dd0 [INFO] running `Command { std: "docker" "start" "-a" "42973e14715b81cead4901bf1e3c4523be6054d4abb364551854ca2638510dd0", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.101 [INFO] [stderr] Compiling quote v1.0.41 [INFO] [stderr] Compiling unicode-ident v1.0.19 [INFO] [stderr] Compiling libc v0.2.176 [INFO] [stderr] Compiling autocfg v1.5.0 [INFO] [stderr] Checking futures-core v0.3.31 [INFO] [stderr] Checking pin-project-lite v0.2.16 [INFO] [stderr] Checking cfg-if v1.0.3 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Checking futures-sink v0.3.31 [INFO] [stderr] Checking futures-task v0.3.31 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Checking futures-io v0.3.31 [INFO] [stderr] Checking memchr v2.7.6 [INFO] [stderr] Checking smallvec v1.15.1 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Compiling thiserror v2.0.17 [INFO] [stderr] Checking slab v0.4.11 [INFO] [stderr] Checking bytes v1.10.1 [INFO] [stderr] Checking tosic-plugin v1.0.0-alpha.1 (/opt/rustwide/workdir/crates/tosic-plugin) [INFO] [stderr] Checking futures-channel v0.3.31 [INFO] [stderr] Compiling lock_api v0.4.13 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Checking mio v1.0.4 [INFO] [stderr] Checking signal-hook-registry v1.4.6 [INFO] [stderr] Checking socket2 v0.6.0 [INFO] [stderr] Checking parking_lot v0.12.4 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling thiserror-impl v2.0.17 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Checking tokio v1.47.1 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Checking tosic-plugin-core v1.0.0-alpha.1 (/opt/rustwide/workdir/crates/tosic-plugin-core) [INFO] [stderr] Checking futures-executor v0.3.31 [INFO] [stderr] Checking futures v0.3.31 [INFO] [stdout] error: This example requires the 'async' feature to be enabled. Please run with `--features async`. [INFO] [stdout] --> crates/tosic-plugin-core/examples/async_runtime.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 13 | compile_error!("This example requires the 'async' feature to be enabled. Please run with `--features async`."); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `async_trait` [INFO] [stdout] --> crates/tosic-plugin-core/examples/async_runtime.rs:48:3 [INFO] [stdout] | [INFO] [stdout] 48 | #[async_trait::async_trait] [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `async_trait` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0271]: type mismatch resolving `impl Future::Plugin, ...>> <: ...` [INFO] [stdout] --> crates/tosic-plugin-core/examples/async_runtime.rs:52:5 [INFO] [stdout] | [INFO] [stdout] 52 | async fn load(&self, bytes: &[u8], _context: &HostContext) -> PluginResult { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ types differ [INFO] [stdout] | [INFO] [stdout] note: the requirement `impl futures::Future::Plugin, tosic_plugin_core::PluginError>> <: Result` appears on the `impl`'s method `load` but not on the corresponding trait's method [INFO] [stdout] --> crates/tosic-plugin-core/src/traits/runtime.rs:24:8 [INFO] [stdout] | [INFO] [stdout] 18 | pub trait Runtime: Send + Sync { [INFO] [stdout] | ------- in this trait [INFO] [stdout] ... [INFO] [stdout] 24 | fn load(&self, bytes: &[u8], context: &HostContext) -> PluginResult; [INFO] [stdout] | ^^^^ this trait's method doesn't have the requirement `impl futures::Future::Plugin, tosic_plugin_core::PluginError>> <: Result` [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/examples/async_runtime-ecefc0279f0edd43.long-type-1437806774126909579.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0271]: type mismatch resolving `impl Future> <: Result` [INFO] [stdout] --> crates/tosic-plugin-core/examples/async_runtime.rs:122:5 [INFO] [stdout] | [INFO] [stdout] 122 | / async fn call( [INFO] [stdout] 123 | | &self, [INFO] [stdout] 124 | | plugin: &Self::Plugin, [INFO] [stdout] 125 | | function_name: &str, [INFO] [stdout] 126 | | args: &[Value], [INFO] [stdout] 127 | | ) -> PluginResult { [INFO] [stdout] | |____________________________^ types differ [INFO] [stdout] | [INFO] [stdout] note: the requirement `impl futures::Future> <: Result` appears on the `impl`'s method `call` but not on the corresponding trait's method [INFO] [stdout] --> crates/tosic-plugin-core/src/traits/runtime.rs:28:8 [INFO] [stdout] | [INFO] [stdout] 18 | pub trait Runtime: Send + Sync { [INFO] [stdout] | ------- in this trait [INFO] [stdout] ... [INFO] [stdout] 28 | fn call( [INFO] [stdout] | ^^^^ this trait's method doesn't have the requirement `impl futures::Future> <: Result` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `Result` is not a future [INFO] [stdout] --> crates/tosic-plugin-core/examples/async_runtime.rs:188:9 [INFO] [stdout] | [INFO] [stdout] 187 | let (plugin1, plugin2) = tokio::try_join!( [INFO] [stdout] | ______________________________- [INFO] [stdout] 188 | | runtime1.load(plugin_code1, &host_context), [INFO] [stdout] | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `Result` is not a future [INFO] [stdout] 189 | | runtime2.load(plugin_code2, &host_context) [INFO] [stdout] 190 | | )?; [INFO] [stdout] | |_____- required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: the trait `futures::Future` is not implemented for `Result` [INFO] [stdout] = note: Result must be a future or must implement `IntoFuture` to be awaited [INFO] [stdout] = note: required for `Result` to implement `std::future::IntoFuture` [INFO] [stdout] note: required by a bound in `tokio::future::maybe_done::maybe_done` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.47.1/src/future/maybe_done.rs:26:22 [INFO] [stdout] | [INFO] [stdout] 26 | pub fn maybe_done(future: F) -> MaybeDone { [INFO] [stdout] | ^^^^^^^^^^ required by this bound in `maybe_done` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `Result` is not a future [INFO] [stdout] --> crates/tosic-plugin-core/examples/async_runtime.rs:187:30 [INFO] [stdout] | [INFO] [stdout] 187 | let (plugin1, plugin2) = tokio::try_join!( [INFO] [stdout] | ______________________________^ [INFO] [stdout] 188 | | runtime1.load(plugin_code1, &host_context), [INFO] [stdout] 189 | | runtime2.load(plugin_code2, &host_context) [INFO] [stdout] 190 | | )?; [INFO] [stdout] | |_____^ `Result` is not a future [INFO] [stdout] | [INFO] [stdout] = help: the trait `futures::Future` is not implemented for `Result` [INFO] [stdout] = note: required for `Result` to implement `std::future::IntoFuture` [INFO] [stdout] note: required by a bound in `tokio::future::maybe_done::MaybeDone` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.47.1/src/future/maybe_done.rs:14:24 [INFO] [stdout] | [INFO] [stdout] 14 | pub enum MaybeDone { [INFO] [stdout] | ^^^ required by this bound in `MaybeDone` [INFO] [stdout] = note: this error originates in the macro `$crate::try_join` which comes from the expansion of the macro `tokio::try_join` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `Result` is not a future [INFO] [stdout] --> crates/tosic-plugin-core/examples/async_runtime.rs:189:9 [INFO] [stdout] | [INFO] [stdout] 187 | let (plugin1, plugin2) = tokio::try_join!( [INFO] [stdout] | ______________________________- [INFO] [stdout] 188 | | runtime1.load(plugin_code1, &host_context), [INFO] [stdout] 189 | | runtime2.load(plugin_code2, &host_context) [INFO] [stdout] | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `Result` is not a future [INFO] [stdout] 190 | | )?; [INFO] [stdout] | |_____- required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: the trait `futures::Future` is not implemented for `Result` [INFO] [stdout] = note: Result must be a future or must implement `IntoFuture` to be awaited [INFO] [stdout] = note: required for `Result` to implement `std::future::IntoFuture` [INFO] [stdout] note: required by a bound in `tokio::future::maybe_done::maybe_done` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.47.1/src/future/maybe_done.rs:26:22 [INFO] [stdout] | [INFO] [stdout] 26 | pub fn maybe_done(future: F) -> MaybeDone { [INFO] [stdout] | ^^^^^^^^^^ required by this bound in `maybe_done` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> crates/tosic-plugin-core/examples/async_runtime.rs:187:30 [INFO] [stdout] | [INFO] [stdout] 187 | let (plugin1, plugin2) = tokio::try_join!( [INFO] [stdout] | ______________________________^ [INFO] [stdout] 188 | | runtime1.load(plugin_code1, &host_context), [INFO] [stdout] 189 | | runtime2.load(plugin_code2, &host_context) [INFO] [stdout] 190 | | )?; [INFO] [stdout] | |_____^ types differ [INFO] [stdout] | [INFO] [stdout] = note: expected type `_` [INFO] [stdout] found tuple `(MaybeDone< as IntoFuture>::IntoFuture>, ...)` [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/examples/async_runtime-ecefc0279f0edd43.long-type-3927988238927155463.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] = note: this error originates in the macro `$crate::try_join` which comes from the expansion of the macro `tokio::try_join` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> crates/tosic-plugin-core/examples/async_runtime.rs:187:30 [INFO] [stdout] | [INFO] [stdout] 187 | let (plugin1, plugin2) = tokio::try_join!( [INFO] [stdout] | ______________________________^ [INFO] [stdout] 188 | | runtime1.load(plugin_code1, &host_context), [INFO] [stdout] 189 | | runtime2.load(plugin_code2, &host_context) [INFO] [stdout] 190 | | )?; [INFO] [stdout] | |_____^ cannot infer type [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::try_join` which comes from the expansion of the macro `tokio::try_join` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> crates/tosic-plugin-core/examples/async_runtime.rs:187:30 [INFO] [stdout] | [INFO] [stdout] 187 | let (plugin1, plugin2) = tokio::try_join!( [INFO] [stdout] | ______________________________^ [INFO] [stdout] 188 | | runtime1.load(plugin_code1, &host_context), [INFO] [stdout] 189 | | runtime2.load(plugin_code2, &host_context) [INFO] [stdout] 190 | | )?; [INFO] [stdout] | |_____^ cannot infer type [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::try_join` which comes from the expansion of the macro `tokio::try_join` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> crates/tosic-plugin-core/examples/async_runtime.rs:187:30 [INFO] [stdout] | [INFO] [stdout] 187 | let (plugin1, plugin2) = tokio::try_join!( [INFO] [stdout] | ______________________________^ [INFO] [stdout] 188 | | runtime1.load(plugin_code1, &host_context), [INFO] [stdout] 189 | | runtime2.load(plugin_code2, &host_context) [INFO] [stdout] 190 | | )?; [INFO] [stdout] | |_____^ cannot infer type [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::try_join` which comes from the expansion of the macro `tokio::try_join` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> crates/tosic-plugin-core/examples/async_runtime.rs:187:30 [INFO] [stdout] | [INFO] [stdout] 187 | let (plugin1, plugin2) = tokio::try_join!( [INFO] [stdout] | ______________________________^ [INFO] [stdout] 188 | | runtime1.load(plugin_code1, &host_context), [INFO] [stdout] 189 | | runtime2.load(plugin_code2, &host_context) [INFO] [stdout] 190 | | )?; [INFO] [stdout] | |_____^ cannot infer type [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::try_join` which comes from the expansion of the macro `tokio::try_join` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed for `(_, _)` [INFO] [stdout] --> crates/tosic-plugin-core/examples/async_runtime.rs:187:9 [INFO] [stdout] | [INFO] [stdout] 187 | let (plugin1, plugin2) = tokio::try_join!( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 196 | plugin1.name().unwrap_or("unknown"), [INFO] [stdout] | ------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this pattern a type, where the placeholders `_` are specified [INFO] [stdout] | [INFO] [stdout] 187 | let (plugin1, plugin2): (_, _) = tokio::try_join!( [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed for `({type error}, _)` [INFO] [stdout] --> crates/tosic-plugin-core/examples/async_runtime.rs:187:9 [INFO] [stdout] | [INFO] [stdout] 187 | let (plugin1, plugin2) = tokio::try_join!( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 197 | plugin2.name().unwrap_or("unknown")); [INFO] [stdout] | ------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this pattern a type, where the placeholders `_` are specified [INFO] [stdout] | [INFO] [stdout] 187 | let (plugin1, plugin2): (_, _) = tokio::try_join!( [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `Result` is not a future [INFO] [stdout] --> crates/tosic-plugin-core/examples/async_runtime.rs:209:95 [INFO] [stdout] | [INFO] [stdout] 209 | let result = runtime.call(&*plugin, "add", &[Value::Int(10), Value::Int(20)]).await; [INFO] [stdout] | ^^^^^ `Result` is not a future [INFO] [stdout] | [INFO] [stdout] = help: the trait `futures::Future` is not implemented for `Result` [INFO] [stdout] = note: Result must be a future or must implement `IntoFuture` to be awaited [INFO] [stdout] = note: required for `Result` to implement `std::future::IntoFuture` [INFO] [stdout] help: remove the `.await` [INFO] [stdout] | [INFO] [stdout] 209 - let result = runtime.call(&*plugin, "add", &[Value::Int(10), Value::Int(20)]).await; [INFO] [stdout] 209 + let result = runtime.call(&*plugin, "add", &[Value::Int(10), Value::Int(20)]); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `Result` is not a future [INFO] [stdout] --> crates/tosic-plugin-core/examples/async_runtime.rs:220:129 [INFO] [stdout] | [INFO] [stdout] 220 | let result = runtime.call(&*plugin, "fetch_data", &[Value::String("https://api.example.com/data".to_string())]).await; [INFO] [stdout] | ^^^^^ `Result` is not a future [INFO] [stdout] | [INFO] [stdout] = help: the trait `futures::Future` is not implemented for `Result` [INFO] [stdout] = note: Result must be a future or must implement `IntoFuture` to be awaited [INFO] [stdout] = note: required for `Result` to implement `std::future::IntoFuture` [INFO] [stdout] help: remove the `.await` [INFO] [stdout] | [INFO] [stdout] 220 - let result = runtime.call(&*plugin, "fetch_data", &[Value::String("https://api.example.com/data".to_string())]).await; [INFO] [stdout] 220 + let result = runtime.call(&*plugin, "fetch_data", &[Value::String("https://api.example.com/data".to_string())]); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `Result` is not a future [INFO] [stdout] --> crates/tosic-plugin-core/examples/async_runtime.rs:232:94 [INFO] [stdout] | [INFO] [stdout] 232 | let result = runtime.call(&*plugin, "process_batch", &[Value::Array(batch)]).await; [INFO] [stdout] | ^^^^^ `Result` is not a future [INFO] [stdout] | [INFO] [stdout] = help: the trait `futures::Future` is not implemented for `Result` [INFO] [stdout] = note: Result must be a future or must implement `IntoFuture` to be awaited [INFO] [stdout] = note: required for `Result` to implement `std::future::IntoFuture` [INFO] [stdout] help: remove the `.await` [INFO] [stdout] | [INFO] [stdout] 232 - let result = runtime.call(&*plugin, "process_batch", &[Value::Array(batch)]).await; [INFO] [stdout] 232 + let result = runtime.call(&*plugin, "process_batch", &[Value::Array(batch)]); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `Result` is not a future [INFO] [stdout] --> crates/tosic-plugin-core/examples/async_runtime.rs:274:55 [INFO] [stdout] | [INFO] [stdout] 274 | match runtime1.call(&plugin1, "nonexistent", &[]).await { [INFO] [stdout] | ^^^^^ `Result` is not a future [INFO] [stdout] | [INFO] [stdout] = help: the trait `futures::Future` is not implemented for `Result` [INFO] [stdout] = note: Result must be a future or must implement `IntoFuture` to be awaited [INFO] [stdout] = note: required for `Result` to implement `std::future::IntoFuture` [INFO] [stdout] help: remove the `.await` [INFO] [stdout] | [INFO] [stdout] 274 - match runtime1.call(&plugin1, "nonexistent", &[]).await { [INFO] [stdout] 274 + match runtime1.call(&plugin1, "nonexistent", &[]) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `Result` is not a future [INFO] [stdout] --> crates/tosic-plugin-core/examples/async_runtime.rs:280:88 [INFO] [stdout] | [INFO] [stdout] 280 | match runtime2.call(&plugin2, "add", &[Value::String("not a number".to_string())]).await { [INFO] [stdout] | ^^^^^ `Result` is not a future [INFO] [stdout] | [INFO] [stdout] = help: the trait `futures::Future` is not implemented for `Result` [INFO] [stdout] = note: Result must be a future or must implement `IntoFuture` to be awaited [INFO] [stdout] = note: required for `Result` to implement `std::future::IntoFuture` [INFO] [stdout] help: remove the `.await` [INFO] [stdout] | [INFO] [stdout] 280 - match runtime2.call(&plugin2, "add", &[Value::String("not a number".to_string())]).await { [INFO] [stdout] 280 + match runtime2.call(&plugin2, "add", &[Value::String("not a number".to_string())]) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `Result` is not a future [INFO] [stdout] --> crates/tosic-plugin-core/examples/async_runtime.rs:187:30 [INFO] [stdout] | [INFO] [stdout] 187 | let (plugin1, plugin2) = tokio::try_join!( [INFO] [stdout] | ______________________________^ [INFO] [stdout] 188 | | runtime1.load(plugin_code1, &host_context), [INFO] [stdout] 189 | | runtime2.load(plugin_code2, &host_context) [INFO] [stdout] 190 | | )?; [INFO] [stdout] | |_____^ `Result` is not a future [INFO] [stdout] | [INFO] [stdout] = help: the trait `futures::Future` is not implemented for `Result` [INFO] [stdout] = note: required for `Result` to implement `std::future::IntoFuture` [INFO] [stdout] = note: this error originates in the macro `$crate::try_join` which comes from the expansion of the macro `tokio::try_join` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0271, E0277, E0282, E0308, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0271`. [INFO] [stdout] [INFO] [stderr] error: could not compile `tosic-plugin-core` (example "async_runtime") due to 20 previous errors [INFO] running `Command { std: "docker" "inspect" "42973e14715b81cead4901bf1e3c4523be6054d4abb364551854ca2638510dd0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "42973e14715b81cead4901bf1e3c4523be6054d4abb364551854ca2638510dd0", kill_on_drop: false }` [INFO] [stdout] 42973e14715b81cead4901bf1e3c4523be6054d4abb364551854ca2638510dd0