[INFO] fetching crate plugy-runtime 0.3.1... [INFO] testing plugy-runtime-0.3.1 against master#caccb4d0368bd918ef6668af8e13834d07040417 for pr-146098-1 [INFO] extracting crate plugy-runtime 0.3.1 into /workspace/builds/worker-3-tc1/source [INFO] started tweaking crates.io crate plugy-runtime 0.3.1 [INFO] finished tweaking crates.io crate plugy-runtime 0.3.1 [INFO] tweaked toml for crates.io crate plugy-runtime 0.3.1 written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate plugy-runtime 0.3.1 on toolchain caccb4d0368bd918ef6668af8e13834d07040417 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 187 packages to latest compatible versions [INFO] [stderr] Adding bincode v1.3.3 (available: v2.0.1) [INFO] [stderr] Adding dashmap v5.5.3 (available: v6.1.0) [INFO] [stderr] Adding wasmtime v15.0.1 (available: v37.0.1) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded wasmtime-types v15.0.1 [INFO] [stderr] Downloaded wasmtime-versioned-export-macros v15.0.1 [INFO] [stderr] Downloaded wasmtime-fiber v15.0.1 [INFO] [stderr] Downloaded wasmtime-jit-debug v15.0.1 [INFO] [stderr] Downloaded wasmtime-wmemcheck v15.0.1 [INFO] [stderr] Downloaded wasmtime-runtime v15.0.1 [INFO] [stderr] Downloaded wasmtime-wit-bindgen v15.0.1 [INFO] [stderr] Downloaded cranelift-bforest v0.102.1 [INFO] [stderr] Downloaded cranelift-entity v0.102.1 [INFO] [stderr] Downloaded cranelift-codegen-shared v0.102.1 [INFO] [stderr] Downloaded plugy-core v0.3.1 [INFO] [stderr] Downloaded wasmtime-cache v15.0.1 [INFO] [stderr] Downloaded wasmtime-cranelift v15.0.1 [INFO] [stderr] Downloaded wasmtime v15.0.1 [INFO] [stderr] Downloaded wasmtime-component-util v15.0.1 [INFO] [stderr] Downloaded wasmtime-jit-icache-coherence v15.0.1 [INFO] [stderr] Downloaded cranelift-isle v0.102.1 [INFO] [stderr] Downloaded cranelift-native v0.102.1 [INFO] [stderr] Downloaded wasmtime-jit v15.0.1 [INFO] [stderr] Downloaded wasmtime-component-macro v15.0.1 [INFO] [stderr] Downloaded cranelift-codegen-meta v0.102.1 [INFO] [stderr] Downloaded cranelift-codegen v0.102.1 [INFO] [stderr] Downloaded cranelift-frontend v0.102.1 [INFO] [stderr] Downloaded wasmtime-cranelift-shared v15.0.1 [INFO] [stderr] Downloaded wasmtime-asm-macros v15.0.1 [INFO] [stderr] Downloaded cranelift-control v0.102.1 [INFO] [stderr] Downloaded cranelift-wasm v0.102.1 [INFO] [stderr] Downloaded wasmtime-environ v15.0.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] da39330dcc97ae404fa8b0e035fa92b564a0513b67ac4ef708d985bfc40684ee [INFO] running `Command { std: "docker" "start" "-a" "da39330dcc97ae404fa8b0e035fa92b564a0513b67ac4ef708d985bfc40684ee", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "da39330dcc97ae404fa8b0e035fa92b564a0513b67ac4ef708d985bfc40684ee", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "da39330dcc97ae404fa8b0e035fa92b564a0513b67ac4ef708d985bfc40684ee", kill_on_drop: false }` [INFO] [stdout] da39330dcc97ae404fa8b0e035fa92b564a0513b67ac4ef708d985bfc40684ee [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 93ae392f49dd88ae301f9195083b0b18e5f68c63e133efc72221b02c01a81058 [INFO] running `Command { std: "docker" "start" "-a" "93ae392f49dd88ae301f9195083b0b18e5f68c63e133efc72221b02c01a81058", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.176 [INFO] [stderr] Compiling ahash v0.8.12 [INFO] [stderr] Compiling target-lexicon v0.12.16 [INFO] [stderr] Compiling anyhow v1.0.100 [INFO] [stderr] Compiling cranelift-isle v0.102.1 [INFO] [stderr] Compiling crc32fast v1.5.0 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling cranelift-codegen-shared v0.102.1 [INFO] [stderr] Compiling semver v1.0.27 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling indexmap v2.11.4 [INFO] [stderr] Compiling bumpalo v3.19.0 [INFO] [stderr] Compiling arbitrary v1.4.2 [INFO] [stderr] Compiling rustix v0.38.44 [INFO] [stderr] Compiling rustc-hash v1.1.0 [INFO] [stderr] Compiling slice-group-by v0.3.1 [INFO] [stderr] Compiling cranelift-codegen-meta v0.102.1 [INFO] [stderr] Compiling linux-raw-sys v0.4.15 [INFO] [stderr] Compiling wasm-encoder v0.239.0 [INFO] [stderr] Compiling zstd-safe v5.0.2+zstd.1.5.2 [INFO] [stderr] Compiling wasmtime-asm-macros v15.0.1 [INFO] [stderr] Compiling leb128 v0.2.5 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling hashbrown v0.13.2 [INFO] [stderr] Compiling cpp_demangle v0.3.5 [INFO] [stderr] Compiling leb128fmt v0.1.0 [INFO] [stderr] Compiling wasm-encoder v0.36.2 [INFO] [stderr] Compiling memoffset v0.9.1 [INFO] [stderr] Compiling memfd v0.6.5 [INFO] [stderr] Compiling wasmtime-cache v15.0.1 [INFO] [stderr] Compiling sptr v0.3.2 [INFO] [stderr] Compiling uuid v1.18.1 [INFO] [stderr] Compiling wasmtime-wmemcheck v15.0.1 [INFO] [stderr] Compiling sha2 v0.10.9 [INFO] [stderr] Compiling event-listener v5.4.1 [INFO] [stderr] Compiling fxhash v0.2.1 [INFO] [stderr] Compiling rayon v1.11.0 [INFO] [stderr] Compiling regalloc2 v0.9.3 [INFO] [stderr] Compiling gimli v0.28.1 [INFO] [stderr] Compiling wasmparser v0.116.1 [INFO] [stderr] Compiling cranelift-control v0.102.1 [INFO] [stderr] Compiling object v0.32.2 [INFO] [stderr] Compiling debugid v0.8.0 [INFO] [stderr] Compiling jobserver v0.1.34 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling dirs-sys-next v0.1.2 [INFO] [stderr] Compiling wasmtime-jit-icache-coherence v15.0.1 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Compiling directories-next v2.0.0 [INFO] [stderr] Compiling cc v1.2.39 [INFO] [stderr] Compiling event-listener-strategy v0.5.4 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling wast v239.0.0 [INFO] [stderr] Compiling async-lock v3.4.1 [INFO] [stderr] Compiling dashmap v5.5.3 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling cranelift-codegen v0.102.1 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling wasmtime-versioned-export-macros v15.0.1 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling async-trait v0.1.89 [INFO] [stderr] Compiling zstd-sys v2.0.16+zstd.1.5.7 [INFO] [stderr] Compiling ittapi-sys v0.4.0 [INFO] [stderr] Compiling wasmtime-fiber v15.0.1 [INFO] [stderr] Compiling wasmtime-runtime v15.0.1 [INFO] [stderr] Compiling ittapi v0.4.0 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling addr2line v0.21.0 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling wasmtime-jit-debug v15.0.1 [INFO] [stderr] Compiling cranelift-entity v0.102.1 [INFO] [stderr] Compiling bincode v1.3.3 [INFO] [stderr] Compiling toml v0.5.11 [INFO] [stderr] Compiling fxprof-processed-profile v0.6.0 [INFO] [stderr] Compiling plugy-core v0.3.1 [INFO] [stderr] Compiling cranelift-bforest v0.102.1 [INFO] [stderr] Compiling wasmtime-types v15.0.1 [INFO] [stderr] Compiling wasmtime-environ v15.0.1 [INFO] [stderr] Compiling zstd v0.11.2+zstd.1.5.2 [INFO] [stderr] Compiling wat v1.239.0 [INFO] [stderr] Compiling wasmtime-jit v15.0.1 [INFO] [stderr] Compiling cranelift-frontend v0.102.1 [INFO] [stderr] Compiling cranelift-native v0.102.1 [INFO] [stderr] Compiling wasmtime-cranelift-shared v15.0.1 [INFO] [stderr] Compiling cranelift-wasm v0.102.1 [INFO] [stderr] Compiling wasmtime-cranelift v15.0.1 [INFO] [stderr] Compiling wasmtime v15.0.1 [INFO] [stderr] Compiling plugy-runtime v0.3.1 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 07s [INFO] running `Command { std: "docker" "inspect" "93ae392f49dd88ae301f9195083b0b18e5f68c63e133efc72221b02c01a81058", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "93ae392f49dd88ae301f9195083b0b18e5f68c63e133efc72221b02c01a81058", kill_on_drop: false }` [INFO] [stdout] 93ae392f49dd88ae301f9195083b0b18e5f68c63e133efc72221b02c01a81058 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] bda4d1fd78dfb719d7cf084410ec234a32874d9261fbed6c826b5426a34808c2 [INFO] running `Command { std: "docker" "start" "-a" "bda4d1fd78dfb719d7cf084410ec234a32874d9261fbed6c826b5426a34808c2", kill_on_drop: false }` [INFO] [stderr] Compiling plugy-runtime v0.3.1 (/opt/rustwide/workdir) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.95s [INFO] running `Command { std: "docker" "inspect" "bda4d1fd78dfb719d7cf084410ec234a32874d9261fbed6c826b5426a34808c2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bda4d1fd78dfb719d7cf084410ec234a32874d9261fbed6c826b5426a34808c2", kill_on_drop: false }` [INFO] [stdout] bda4d1fd78dfb719d7cf084410ec234a32874d9261fbed6c826b5426a34808c2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 8af80b7f064208a0fe23b226ab04b11c5ff8b7fa7b8504da2164c8954c0f29e2 [INFO] running `Command { std: "docker" "start" "-a" "8af80b7f064208a0fe23b226ab04b11c5ff8b7fa7b8504da2164c8954c0f29e2", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.11s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/plugy_runtime-c88b1e7e59acf79e) [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] [stderr] Doc-tests plugy_runtime [INFO] [stdout] [INFO] [stdout] running 4 tests [INFO] [stdout] test src/lib.rs - Runtime (line 36) ... FAILED [INFO] [stdout] test src/lib.rs - Runtime>::context (line 370) ... FAILED [INFO] [stdout] test src/lib.rs - Runtime::load (line 276) ... FAILED [INFO] [stdout] test src/lib.rs - Runtime>::load_with (line 133) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/lib.rs - Runtime (line 36) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `plugy` [INFO] [stdout] --> src/lib.rs:38:5 [INFO] [stdout] | [INFO] [stdout] 5 | use plugy::runtime::Runtime; [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `plugy` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `plugy`, use `cargo add plugy` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - Runtime>::context (line 370) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `plugy` [INFO] [stdout] --> src/lib.rs:381:3 [INFO] [stdout] | [INFO] [stdout] 14 | #[plugy::macros::context(data = Data)] [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `plugy` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `plugy` [INFO] [stdout] --> src/lib.rs:383:30 [INFO] [stdout] | [INFO] [stdout] 16 | pub async fn log(_: &mut plugy::runtime::Caller<'_>, text: &str) { [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `plugy` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `plugy`, use `cargo add plugy` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Logger: plugy_runtime::Context` is not satisfied [INFO] [stdout] --> src/lib.rs:389:14 [INFO] [stdout] | [INFO] [stdout] 22 | .context(Logger); [INFO] [stdout] | ------- ^^^^^^ unsatisfied trait bound [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] help: the trait `plugy_runtime::Context` is not implemented for `Logger` [INFO] [stdout] --> src/lib.rs:378:1 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct Logger; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: required by a bound in `Runtime::>::context` [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:391:23 [INFO] [stdout] | [INFO] [stdout] 391 | pub fn context>(mut self, ctx: C) -> Self { [INFO] [stdout] | ^^^^^^^^^^ required by this bound in `Runtime::>::context` [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - Runtime::load (line 276) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `plugy_macros` [INFO] [stdout] --> src/lib.rs:281:5 [INFO] [stdout] | [INFO] [stdout] 8 | use plugy_macros::*; [INFO] [stdout] | ^^^^^^^^^^^^ use of unresolved module or unlinked crate `plugy_macros` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 8 - use plugy_macros::*; [INFO] [stdout] 8 + use plugy_core::*; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `plugy_macros` [INFO] [stdout] --> src/lib.rs:284:3 [INFO] [stdout] | [INFO] [stdout] 11 | #[plugy_macros::plugin] [INFO] [stdout] | ^^^^^^^^^^^^ use of unresolved module or unlinked crate `plugy_macros` [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `plugin_import` in this scope [INFO] [stdout] --> src/lib.rs:290:3 [INFO] [stdout] | [INFO] [stdout] 17 | #[plugin_import(file = "target/wasm32-unknown-unknown/debug/my_plugin.wasm")] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Box: IntoCallable<_, Vec>` is not satisfied [INFO] [stdout] --> src/lib.rs:302:31 [INFO] [stdout] | [INFO] [stdout] 29 | let plugin = runtime.load(MyPlugin).await?; [INFO] [stdout] | ---- ^^^^^^^^ the trait `IntoCallable<_, Vec>` is not implemented for `Box` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `Runtime::::load` [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:310:12 [INFO] [stdout] | [INFO] [stdout] 305 | pub async fn load>( [INFO] [stdout] | ---- required by a bound in this associated function [INFO] [stdout] ... [INFO] [stdout] 310 | T: IntoCallable>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `Runtime::::load` [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `MyPlugin: PluginLoader` is not satisfied [INFO] [stdout] --> src/lib.rs:302:31 [INFO] [stdout] | [INFO] [stdout] 29 | let plugin = runtime.load(MyPlugin).await?; [INFO] [stdout] | ---- ^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] help: the trait `PluginLoader` is not implemented for `MyPlugin` [INFO] [stdout] --> src/lib.rs:291:1 [INFO] [stdout] | [INFO] [stdout] 18 | struct MyPlugin; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] note: required by a bound in `Runtime::::load` [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:305:33 [INFO] [stdout] | [INFO] [stdout] 305 | pub async fn load>( [INFO] [stdout] | ^^^^^^^^^^^^ required by this bound in `Runtime::::load` [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `MyPlugin: PluginLoader` is not satisfied [INFO] [stdout] --> src/lib.rs:302:18 [INFO] [stdout] | [INFO] [stdout] 29 | let plugin = runtime.load(MyPlugin).await?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `PluginLoader` is not implemented for `MyPlugin` [INFO] [stdout] --> src/lib.rs:291:1 [INFO] [stdout] | [INFO] [stdout] 18 | struct MyPlugin; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] note: required by a bound in `Runtime::::load` [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:305:33 [INFO] [stdout] | [INFO] [stdout] 305 | pub async fn load>( [INFO] [stdout] | ^^^^^^^^^^^^ required by this bound in `Runtime::::load` [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Box: IntoCallable>` is not satisfied [INFO] [stdout] --> src/lib.rs:302:18 [INFO] [stdout] | [INFO] [stdout] 29 | let plugin = runtime.load(MyPlugin).await?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ the trait `IntoCallable>` is not implemented for `Box` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `Runtime::::load` [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:310:12 [INFO] [stdout] | [INFO] [stdout] 305 | pub async fn load>( [INFO] [stdout] | ---- required by a bound in this associated function [INFO] [stdout] ... [INFO] [stdout] 310 | T: IntoCallable>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `Runtime::::load` [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `MyPlugin: PluginLoader` is not satisfied [INFO] [stdout] --> src/lib.rs:302:41 [INFO] [stdout] | [INFO] [stdout] 29 | let plugin = runtime.load(MyPlugin).await?; [INFO] [stdout] | ^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `PluginLoader` is not implemented for `MyPlugin` [INFO] [stdout] --> src/lib.rs:291:1 [INFO] [stdout] | [INFO] [stdout] 18 | struct MyPlugin; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] note: required by a bound in `Runtime::::load` [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:305:33 [INFO] [stdout] | [INFO] [stdout] 305 | pub async fn load>( [INFO] [stdout] | ^^^^^^^^^^^^ required by this bound in `Runtime::::load` [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Box: IntoCallable>` is not satisfied [INFO] [stdout] --> src/lib.rs:302:41 [INFO] [stdout] | [INFO] [stdout] 29 | let plugin = runtime.load(MyPlugin).await?; [INFO] [stdout] | ^^^^^ the trait `IntoCallable>` is not implemented for `Box` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `Runtime::::load` [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:310:12 [INFO] [stdout] | [INFO] [stdout] 305 | pub async fn load>( [INFO] [stdout] | ---- required by a bound in this associated function [INFO] [stdout] ... [INFO] [stdout] 310 | T: IntoCallable>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `Runtime::::load` [INFO] [stdout] [INFO] [stdout] error: aborting due to 9 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0432, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - Runtime>::load_with (line 133) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `plugy` [INFO] [stdout] --> src/lib.rs:136:5 [INFO] [stdout] | [INFO] [stdout] 6 | use plugy::runtime::Plugin; [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `plugy` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `plugy`, use `cargo add plugy` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `plugy_macros` [INFO] [stdout] --> src/lib.rs:138:5 [INFO] [stdout] | [INFO] [stdout] 8 | use plugy_macros::*; [INFO] [stdout] | ^^^^^^^^^^^^ use of unresolved module or unlinked crate `plugy_macros` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 8 - use plugy_macros::*; [INFO] [stdout] 8 + use plugy_core::*; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `plugy_macros` [INFO] [stdout] --> src/lib.rs:141:3 [INFO] [stdout] | [INFO] [stdout] 11 | #[plugy_macros::plugin] [INFO] [stdout] | ^^^^^^^^^^^^ use of unresolved module or unlinked crate `plugy_macros` [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `plugin_import` in this scope [INFO] [stdout] --> src/lib.rs:147:3 [INFO] [stdout] | [INFO] [stdout] 17 | #[plugin_import(file = "target/wasm32-unknown-unknown/debug/my_plugin.wasm")] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Box: IntoCallable<_, Vec>` is not satisfied [INFO] [stdout] --> src/lib.rs:162:31 [INFO] [stdout] | [INFO] [stdout] 32 | let plugin = runtime.load(MyPlugin).await.unwrap(); [INFO] [stdout] | ---- ^^^^^^^^ the trait `IntoCallable<_, Vec>` is not implemented for `Box` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `Runtime::::load` [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:310:12 [INFO] [stdout] | [INFO] [stdout] 305 | pub async fn load>( [INFO] [stdout] | ---- required by a bound in this associated function [INFO] [stdout] ... [INFO] [stdout] 310 | T: IntoCallable>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `Runtime::::load` [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `MyPlugin: PluginLoader` is not satisfied [INFO] [stdout] --> src/lib.rs:162:31 [INFO] [stdout] | [INFO] [stdout] 32 | let plugin = runtime.load(MyPlugin).await.unwrap(); [INFO] [stdout] | ---- ^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] help: the trait `PluginLoader` is not implemented for `MyPlugin` [INFO] [stdout] --> src/lib.rs:148:1 [INFO] [stdout] | [INFO] [stdout] 18 | struct MyPlugin; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] note: required by a bound in `Runtime::::load` [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:305:33 [INFO] [stdout] | [INFO] [stdout] 305 | pub async fn load>( [INFO] [stdout] | ^^^^^^^^^^^^ required by this bound in `Runtime::::load` [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Plugin: From` is not satisfied [INFO] [stdout] --> src/lib.rs:162:31 [INFO] [stdout] | [INFO] [stdout] 32 | let plugin = runtime.load(MyPlugin).await.unwrap(); [INFO] [stdout] | ---- ^^^^^^^^ the trait `From` is not implemented for `Plugin` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = note: required for `MyPlugin` to implement `Into` [INFO] [stdout] note: required by a bound in `Runtime::::load` [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:305:48 [INFO] [stdout] | [INFO] [stdout] 305 | pub async fn load>( [INFO] [stdout] | ^^^^^^^^^^^^ required by this bound in `Runtime::::load` [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `MyPlugin: PluginLoader` is not satisfied [INFO] [stdout] --> src/lib.rs:162:18 [INFO] [stdout] | [INFO] [stdout] 32 | let plugin = runtime.load(MyPlugin).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `PluginLoader` is not implemented for `MyPlugin` [INFO] [stdout] --> src/lib.rs:148:1 [INFO] [stdout] | [INFO] [stdout] 18 | struct MyPlugin; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] note: required by a bound in `Runtime::::load` [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:305:33 [INFO] [stdout] | [INFO] [stdout] 305 | pub async fn load>( [INFO] [stdout] | ^^^^^^^^^^^^ required by this bound in `Runtime::::load` [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Box: IntoCallable>` is not satisfied [INFO] [stdout] --> src/lib.rs:162:18 [INFO] [stdout] | [INFO] [stdout] 32 | let plugin = runtime.load(MyPlugin).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ the trait `IntoCallable>` is not implemented for `Box` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `Runtime::::load` [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:310:12 [INFO] [stdout] | [INFO] [stdout] 305 | pub async fn load>( [INFO] [stdout] | ---- required by a bound in this associated function [INFO] [stdout] ... [INFO] [stdout] 310 | T: IntoCallable>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `Runtime::::load` [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Plugin: From` is not satisfied [INFO] [stdout] --> src/lib.rs:162:18 [INFO] [stdout] | [INFO] [stdout] 32 | let plugin = runtime.load(MyPlugin).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ the trait `From` is not implemented for `Plugin` [INFO] [stdout] | [INFO] [stdout] = note: required for `MyPlugin` to implement `Into` [INFO] [stdout] note: required by a bound in `Runtime::::load` [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:305:48 [INFO] [stdout] | [INFO] [stdout] 305 | pub async fn load>( [INFO] [stdout] | ^^^^^^^^^^^^ required by this bound in `Runtime::::load` [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `MyPlugin: PluginLoader` is not satisfied [INFO] [stdout] --> src/lib.rs:162:41 [INFO] [stdout] | [INFO] [stdout] 32 | let plugin = runtime.load(MyPlugin).await.unwrap(); [INFO] [stdout] | ^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `PluginLoader` is not implemented for `MyPlugin` [INFO] [stdout] --> src/lib.rs:148:1 [INFO] [stdout] | [INFO] [stdout] 18 | struct MyPlugin; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] note: required by a bound in `Runtime::::load` [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:305:33 [INFO] [stdout] | [INFO] [stdout] 305 | pub async fn load>( [INFO] [stdout] | ^^^^^^^^^^^^ required by this bound in `Runtime::::load` [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Box: IntoCallable>` is not satisfied [INFO] [stdout] --> src/lib.rs:162:41 [INFO] [stdout] | [INFO] [stdout] 32 | let plugin = runtime.load(MyPlugin).await.unwrap(); [INFO] [stdout] | ^^^^^ the trait `IntoCallable>` is not implemented for `Box` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `Runtime::::load` [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:310:12 [INFO] [stdout] | [INFO] [stdout] 305 | pub async fn load>( [INFO] [stdout] | ---- required by a bound in this associated function [INFO] [stdout] ... [INFO] [stdout] 310 | T: IntoCallable>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `Runtime::::load` [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Plugin: From` is not satisfied [INFO] [stdout] --> src/lib.rs:162:41 [INFO] [stdout] | [INFO] [stdout] 32 | let plugin = runtime.load(MyPlugin).await.unwrap(); [INFO] [stdout] | ^^^^^ the trait `From` is not implemented for `Plugin` [INFO] [stdout] | [INFO] [stdout] = note: required for `MyPlugin` to implement `Into` [INFO] [stdout] note: required by a bound in `Runtime::::load` [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:305:48 [INFO] [stdout] | [INFO] [stdout] 305 | pub async fn load>( [INFO] [stdout] | ^^^^^^^^^^^^ required by this bound in `Runtime::::load` [INFO] [stdout] [INFO] [stdout] error: aborting due to 13 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0432, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/lib.rs - Runtime (line 36) [INFO] [stdout] src/lib.rs - Runtime>::context (line 370) [INFO] [stdout] src/lib.rs - Runtime>::load_with (line 133) [INFO] [stdout] src/lib.rs - Runtime::load (line 276) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 4 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.12s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "8af80b7f064208a0fe23b226ab04b11c5ff8b7fa7b8504da2164c8954c0f29e2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8af80b7f064208a0fe23b226ab04b11c5ff8b7fa7b8504da2164c8954c0f29e2", kill_on_drop: false }` [INFO] [stdout] 8af80b7f064208a0fe23b226ab04b11c5ff8b7fa7b8504da2164c8954c0f29e2