[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#51de2e90f91fdec6cf64ff542a4e15b9c177a797 for pr-147294 [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 51de2e90f91fdec6cf64ff542a4e15b9c177a797 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+51de2e90f91fdec6cf64ff542a4e15b9c177a797" "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" "+51de2e90f91fdec6cf64ff542a4e15b9c177a797" "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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+51de2e90f91fdec6cf64ff542a4e15b9c177a797" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] eafc86f0636f4a813fc5507adb3a38be5b2e6d55791060e6ad3335198b55feba [INFO] running `Command { std: "docker" "start" "-a" "eafc86f0636f4a813fc5507adb3a38be5b2e6d55791060e6ad3335198b55feba", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "eafc86f0636f4a813fc5507adb3a38be5b2e6d55791060e6ad3335198b55feba", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "eafc86f0636f4a813fc5507adb3a38be5b2e6d55791060e6ad3335198b55feba", kill_on_drop: false }` [INFO] [stdout] eafc86f0636f4a813fc5507adb3a38be5b2e6d55791060e6ad3335198b55feba [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+51de2e90f91fdec6cf64ff542a4e15b9c177a797" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f6aabd35a5e2556687028a239dbb6175e2faf625f95c4c04c664bd88f322e7e1 [INFO] running `Command { std: "docker" "start" "-a" "f6aabd35a5e2556687028a239dbb6175e2faf625f95c4c04c664bd88f322e7e1", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.101 [INFO] [stderr] Compiling unicode-ident v1.0.19 [INFO] [stderr] Compiling quote v1.0.41 [INFO] [stderr] Compiling libc v0.2.176 [INFO] [stderr] Compiling autocfg v1.5.0 [INFO] [stderr] Checking futures-sink v0.3.31 [INFO] [stderr] Checking cfg-if v1.0.3 [INFO] [stderr] Checking pin-project-lite v0.2.16 [INFO] [stderr] Checking futures-core v0.3.31 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Checking futures-task v0.3.31 [INFO] [stderr] Checking memchr v2.7.6 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Checking futures-io v0.3.31 [INFO] [stderr] Checking smallvec v1.15.1 [INFO] [stderr] Checking slab v0.4.11 [INFO] [stderr] Compiling thiserror v2.0.17 [INFO] [stderr] Checking pin-utils v0.1.0 [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[E0053]: method `load` has an incompatible type for trait [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `Result`, found future [INFO] [stdout] | [INFO] [stdout] = note: expected signature `fn(&AsyncMockRuntime, &_, &tosic_plugin_core::HostContext) -> Result` [INFO] [stdout] found signature `fn(&AsyncMockRuntime, &_, &tosic_plugin_core::HostContext) -> impl futures::Future::Plugin, tosic_plugin_core::PluginError>>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0053]: method `call` has an incompatible type for trait [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] | |____________________________^ expected `Result`, found future [INFO] [stdout] | [INFO] [stdout] = note: expected signature `fn(&AsyncMockRuntime, &AsyncMockPlugin, &_, &_) -> Result` [INFO] [stdout] found signature `fn(&AsyncMockRuntime, &AsyncMockPlugin, &_, &_) -> impl futures::Future>` [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 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:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | / pin_project! { [INFO] [stdout] 9 | | /// A future that may have completed. [INFO] [stdout] 10 | | #[derive(Debug)] [INFO] [stdout] 11 | | #[project = MaybeDoneProj] [INFO] [stdout] ... | [INFO] [stdout] 14 | | pub enum MaybeDone { [INFO] [stdout] | | --------- required by a bound in this enum [INFO] [stdout] ... | [INFO] [stdout] 23 | | } [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 `pin_project` (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[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 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:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | / pin_project! { [INFO] [stdout] 9 | | /// A future that may have completed. [INFO] [stdout] 10 | | #[derive(Debug)] [INFO] [stdout] 11 | | #[project = MaybeDoneProj] [INFO] [stdout] ... | [INFO] [stdout] 14 | | pub enum MaybeDone { [INFO] [stdout] | | --------- required by a bound in this enum [INFO] [stdout] ... | [INFO] [stdout] 23 | | } [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 `pin_project` (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: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 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:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | / pin_project! { [INFO] [stdout] 9 | | /// A future that may have completed. [INFO] [stdout] 10 | | #[derive(Debug)] [INFO] [stdout] 11 | | #[project = MaybeDoneProj] [INFO] [stdout] ... | [INFO] [stdout] 14 | | pub enum MaybeDone { [INFO] [stdout] | | --------- required by a bound in this enum [INFO] [stdout] ... | [INFO] [stdout] 23 | | } [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 `pin_project` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `poll` exists for struct `Pin<&mut MaybeDone>>`, but its trait bounds were not satisfied [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] | |_____^ method cannot be called due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.47.1/src/future/maybe_done.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | / pin_project! { [INFO] [stdout] 9 | | /// A future that may have completed. [INFO] [stdout] 10 | | #[derive(Debug)] [INFO] [stdout] 11 | | #[project = MaybeDoneProj] [INFO] [stdout] ... | [INFO] [stdout] 23 | | } [INFO] [stdout] | |_- doesn't satisfy `_: Future` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `Result: futures::Future` [INFO] [stdout] which is required by `tokio::future::maybe_done::MaybeDone>: futures::Future` [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/examples/async_runtime-0b06e266e7b43234.long-type-16924949249578267979.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[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 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:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | / pin_project! { [INFO] [stdout] 9 | | /// A future that may have completed. [INFO] [stdout] 10 | | #[derive(Debug)] [INFO] [stdout] 11 | | #[project = MaybeDoneProj] [INFO] [stdout] ... | [INFO] [stdout] 14 | | pub enum MaybeDone { [INFO] [stdout] | | --------- required by a bound in this enum [INFO] [stdout] ... | [INFO] [stdout] 23 | | } [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 `pin_project` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `output_mut` exists for struct `Pin<&mut MaybeDone>>`, but its trait bounds were not satisfied [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] | |_____^ method cannot be called due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `Result: futures::Future` [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/examples/async_runtime-0b06e266e7b43234.long-type-18295099032921773670.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[E0599]: the method `take_output` exists for struct `Pin<&mut MaybeDone>>`, but its trait bounds were not satisfied [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] | |_____^ method cannot be called due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `Result: futures::Future` [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/examples/async_runtime-0b06e266e7b43234.long-type-17956319032253252040.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[E0599]: the method `poll` exists for struct `Pin<&mut MaybeDone>>`, but its trait bounds were not satisfied [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] | |_____^ method cannot be called due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.47.1/src/future/maybe_done.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | / pin_project! { [INFO] [stdout] 9 | | /// A future that may have completed. [INFO] [stdout] 10 | | #[derive(Debug)] [INFO] [stdout] 11 | | #[project = MaybeDoneProj] [INFO] [stdout] ... | [INFO] [stdout] 23 | | } [INFO] [stdout] | |_- doesn't satisfy `_: Future` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `Result: futures::Future` [INFO] [stdout] which is required by `tokio::future::maybe_done::MaybeDone>: futures::Future` [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/examples/async_runtime-0b06e266e7b43234.long-type-12647009936389867519.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[E0599]: the method `output_mut` exists for struct `Pin<&mut MaybeDone>>`, but its trait bounds were not satisfied [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] | |_____^ method cannot be called due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `Result: futures::Future` [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/examples/async_runtime-0b06e266e7b43234.long-type-11859721315723695537.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[E0599]: the method `take_output` exists for struct `Pin<&mut MaybeDone>>`, but its trait bounds were not satisfied [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] | |_____^ method cannot be called due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `Result: futures::Future` [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/examples/async_runtime-0b06e266e7b43234.long-type-8976739447411723297.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[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 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:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | / pin_project! { [INFO] [stdout] 9 | | /// A future that may have completed. [INFO] [stdout] 10 | | #[derive(Debug)] [INFO] [stdout] 11 | | #[project = MaybeDoneProj] [INFO] [stdout] ... | [INFO] [stdout] 14 | | pub enum MaybeDone { [INFO] [stdout] | | --------- required by a bound in this enum [INFO] [stdout] ... | [INFO] [stdout] 23 | | } [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 `pin_project` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `take_output` exists for struct `Pin<&mut MaybeDone>>`, but its trait bounds were not satisfied [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] | | ^ [INFO] [stdout] | |_____| [INFO] [stdout] | method cannot be called due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `Result: futures::Future` [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/examples/async_runtime-0b06e266e7b43234.long-type-4806117017098531971.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[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 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:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | / pin_project! { [INFO] [stdout] 9 | | /// A future that may have completed. [INFO] [stdout] 10 | | #[derive(Debug)] [INFO] [stdout] 11 | | #[project = MaybeDoneProj] [INFO] [stdout] ... | [INFO] [stdout] 14 | | pub enum MaybeDone { [INFO] [stdout] | | --------- required by a bound in this enum [INFO] [stdout] ... | [INFO] [stdout] 23 | | } [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 `pin_project` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `take_output` exists for struct `Pin<&mut MaybeDone>>`, but its trait bounds were not satisfied [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] | | ^ [INFO] [stdout] | |_____| [INFO] [stdout] | method cannot be called due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `Result: futures::Future` [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/examples/async_runtime-0b06e266e7b43234.long-type-13712793347498113054.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 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] Some errors have detailed explanations: E0053, E0277, E0282, E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0053`. [INFO] [stdout] [INFO] [stderr] error: could not compile `tosic-plugin-core` (example "async_runtime") due to 27 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "f6aabd35a5e2556687028a239dbb6175e2faf625f95c4c04c664bd88f322e7e1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f6aabd35a5e2556687028a239dbb6175e2faf625f95c4c04c664bd88f322e7e1", kill_on_drop: false }` [INFO] [stdout] f6aabd35a5e2556687028a239dbb6175e2faf625f95c4c04c664bd88f322e7e1