[INFO] crate wasmer-runtime-core-asml-fork 0.1.1 is already in cache [INFO] testing wasmer-runtime-core-asml-fork-0.1.1 against 1.45.2 for beta-1.46-1 [INFO] extracting crate wasmer-runtime-core-asml-fork 0.1.1 into /workspace/builds/worker-6/source [INFO] validating manifest of crates.io crate wasmer-runtime-core-asml-fork 0.1.1 on toolchain 1.45.2 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.45.2" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking crates.io crate wasmer-runtime-core-asml-fork 0.1.1 [INFO] finished tweaking crates.io crate wasmer-runtime-core-asml-fork 0.1.1 [INFO] tweaked toml for crates.io crate wasmer-runtime-core-asml-fork 0.1.1 written to /workspace/builds/worker-6/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.45.2" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.45.2" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+1.45.2" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2f42757413335b0b0576895c76edac69f5e081dd75504dceff146a55ef645779 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "2f42757413335b0b0576895c76edac69f5e081dd75504dceff146a55ef645779", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2f42757413335b0b0576895c76edac69f5e081dd75504dceff146a55ef645779", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2f42757413335b0b0576895c76edac69f5e081dd75504dceff146a55ef645779", kill_on_drop: false }` [INFO] [stdout] 2f42757413335b0b0576895c76edac69f5e081dd75504dceff146a55ef645779 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+1.45.2" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] fde5c88ce8e92266e7ffe78aabc2bd48a715a22ff7b6995690dd5a225f825780 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "fde5c88ce8e92266e7ffe78aabc2bd48a715a22ff7b6995690dd5a225f825780", kill_on_drop: false }` [INFO] [stderr] Compiling serde v1.0.114 [INFO] [stderr] Compiling arrayvec v0.5.1 [INFO] [stderr] Compiling target-lexicon v0.10.0 [INFO] [stderr] Compiling wasmparser v0.51.4 [INFO] [stderr] Compiling blake3 v0.3.6 [INFO] [stderr] Compiling indexmap v1.5.1 [INFO] [stderr] Compiling nix v0.15.0 [INFO] [stderr] Compiling errno v0.2.6 [INFO] [stderr] Compiling page_size v0.4.2 [INFO] [stderr] Compiling wasmer-runtime-core-asml-fork v0.1.1 (/opt/rustwide/workdir) [INFO] [stderr] Compiling serde_bytes v0.11.5 [INFO] [stderr] Compiling serde-bench v0.0.7 [INFO] [stderr] Compiling bincode v1.3.1 [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 50.84s [INFO] running `Command { std: "docker" "inspect" "fde5c88ce8e92266e7ffe78aabc2bd48a715a22ff7b6995690dd5a225f825780", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fde5c88ce8e92266e7ffe78aabc2bd48a715a22ff7b6995690dd5a225f825780", kill_on_drop: false }` [INFO] [stdout] fde5c88ce8e92266e7ffe78aabc2bd48a715a22ff7b6995690dd5a225f825780 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+1.45.2" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9e5dbc2de4fe0b972f0eed721ba9f27c6be5450e8f4983dbfa8615d3aafb8c81 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "9e5dbc2de4fe0b972f0eed721ba9f27c6be5450e8f4983dbfa8615d3aafb8c81", kill_on_drop: false }` [INFO] [stderr] Compiling wasmer-runtime-core-asml-fork v0.1.1 (/opt/rustwide/workdir) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 20.47s [INFO] running `Command { std: "docker" "inspect" "9e5dbc2de4fe0b972f0eed721ba9f27c6be5450e8f4983dbfa8615d3aafb8c81", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9e5dbc2de4fe0b972f0eed721ba9f27c6be5450e8f4983dbfa8615d3aafb8c81", kill_on_drop: false }` [INFO] [stdout] 9e5dbc2de4fe0b972f0eed721ba9f27c6be5450e8f4983dbfa8615d3aafb8c81 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+1.45.2" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] aec24b4f31c7c054f584d1a91e3348b99ea4820c50550828addb2c481dbca443 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "aec24b4f31c7c054f584d1a91e3348b99ea4820c50550828addb2c481dbca443", kill_on_drop: false }` [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.19s [INFO] [stderr] Running /opt/rustwide/target/debug/deps/wasmer_runtime_core_asml_fork-0d5d494cce81d6d8 [INFO] [stdout] [INFO] [stdout] running 53 tests [INFO] [stdout] test memory::memory_tests::test_invalid_descriptor_returns_error ... ok [INFO] [stdout] test trampoline_x64::tests::test_trampolines_with_floating_point ... ok [INFO] [stdout] test typed_func::tests::test_call ... ok [INFO] [stdout] test typed_func::tests::test_func_arity_0 ... ok [INFO] [stdout] test typed_func::tests::test_func_arity_1 ... ok [INFO] [stdout] test macros::test::imports_macro_allows_trailing_comma_and_none ... ok [INFO] [stdout] test typed_func::tests::test_func_arity_14 ... ok [INFO] [stdout] test typed_func::tests::test_func_arity_13 ... ok [INFO] [stdout] test typed_func::tests::test_func_arity_12 ... ok [INFO] [stdout] test typed_func::tests::test_func_arity_11 ... ok [INFO] [stdout] test typed_func::tests::test_func_arity_15 ... ok [INFO] [stdout] test typed_func::tests::test_func_arity_10 ... ok [INFO] [stdout] test typed_func::tests::test_func_arity_16 ... ok [INFO] [stdout] test typed_func::tests::test_func_arity_17 ... ok [INFO] [stdout] test typed_func::tests::test_func_arity_18 ... ok [INFO] [stdout] test typed_func::tests::test_func_arity_19 ... ok [INFO] [stdout] test typed_func::tests::test_func_arity_2 ... ok [INFO] [stdout] test typed_func::tests::test_func_arity_20 ... ok [INFO] [stdout] test typed_func::tests::test_func_arity_21 ... ok [INFO] [stdout] test typed_func::tests::test_func_arity_22 ... ok [INFO] [stdout] test typed_func::tests::test_func_arity_23 ... ok [INFO] [stdout] test typed_func::tests::test_func_arity_24 ... ok [INFO] [stdout] test typed_func::tests::test_func_arity_25 ... ok [INFO] [stdout] test typed_func::tests::test_func_arity_26 ... ok [INFO] [stdout] test typed_func::tests::test_func_arity_3 ... ok [INFO] [stdout] test typed_func::tests::test_func_arity_4 ... ok [INFO] [stdout] test typed_func::tests::test_func_arity_6 ... ok [INFO] [stdout] test typed_func::tests::test_func_arity_5 ... ok [INFO] [stdout] test typed_func::tests::test_func_arity_7 ... ok [INFO] [stdout] test typed_func::tests::test_func_arity_8 ... ok [INFO] [stdout] test typed_func::tests::test_func_arity_9 ... ok [INFO] [stdout] test instance::test::test_instance_is_send ... ok [INFO] [stdout] test memory::memory_tests::test_initial_memory_size ... ok [INFO] [stdout] test macros::test::imports_macro_allows_trailing_comma_and_none_with_state ... ok [INFO] [stdout] test vm::vm_offset_tests::func_ctx ... ok [INFO] [stdout] test typed_func::tests::test_imports ... ok [INFO] [stdout] test trampoline_x64::tests::test_context_trampoline ... ok [INFO] [stdout] test types::tests::test_native_types_round_trip ... ok [INFO] [stdout] test vm::vm_ctx_tests::test_callback_on_drop ... ok [INFO] [stdout] test trampoline_x64::tests::test_callinfo_trampoline ... ok [INFO] [stdout] test memory::ptr::test::wasm_ptr_memory_bounds_checks_hold ... ok [INFO] [stdout] test vm::vm_offset_tests::imported_func ... ok [INFO] [stdout] test vm::vm_offset_tests::local_global ... ok [INFO] [stdout] test vm::vm_offset_tests::local_table ... ok [INFO] [stdout] test vm::vm_offset_tests::local_memory ... ok [INFO] [stdout] test table::table_tests::test_initial_table_size ... ok [INFO] [stdout] test vm::vm_offset_tests::cc_anyfunc ... ok [INFO] [stdout] test vm::vm_offset_tests::offset_of ... ok [INFO] [stdout] test import::test::extending_conflict_overwrites ... ok [INFO] [stdout] test import::test::extending_works ... ok [INFO] [stdout] test vm::vm_offset_tests::vmctx ... ok [INFO] [stdout] test trampoline_x64::tests::test_many_global_trampolines ... ok [INFO] [stdout] test typed_func::tests::test_many_new_dynamics ... test typed_func::tests::test_many_new_dynamics has been running for over 60 seconds [INFO] [stdout] test typed_func::tests::test_many_new_dynamics ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 53 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out [INFO] [stdout] [INFO] [stderr] Doc-tests wasmer-runtime-core-asml-fork [INFO] [stdout] [INFO] [stdout] running 20 tests [INFO] [stdout] test src/global.rs - global::Global::new_mutable (line 38) ... FAILED [INFO] [stdout] test src/import.rs - import::ImportObject (line 44) ... FAILED [INFO] [stdout] test src/global.rs - global::Global::new (line 25) ... FAILED [INFO] [stdout] test src/macros.rs - func (line 9) ... FAILED [INFO] [stdout] test src/instance.rs - instance::Instance::func (line 175) ... FAILED [INFO] [stdout] test src/instance.rs - instance::Instance::call (line 251) ... FAILED [INFO] [stdout] test src/instance.rs - instance::Exports::into_iter (line 933) ... FAILED [INFO] [stdout] test src/instance.rs - instance::Exports::get (line 900) ... FAILED [INFO] [stdout] test src/table/mod.rs - table::Table::new (line 112) ... FAILED [INFO] [stdout] test src/memory/mod.rs - memory::Memory::new (line 50) ... FAILED [INFO] [stdout] test src/instance.rs - instance::Instance::call (line 236) ... FAILED [INFO] [stdout] test src/module.rs - module::Module::instantiate (line 142) ... FAILED [INFO] [stdout] test src/memory/ptr.rs - memory::ptr::WasmPtr (line 26) ... FAILED [INFO] [stdout] test src/instance.rs - instance::DynFunc::call (line 687) ... FAILED [INFO] [stdout] test src/macros.rs - imports (line 57) ... FAILED [INFO] [stdout] test src/memory/mod.rs - memory::Memory::view (line 127) ... FAILED [INFO] [stdout] test src/instance.rs - instance::Instance::dyn_func (line 205) ... FAILED [INFO] [stdout] test src/import.rs - import::ImportObject::register (line 96) ... FAILED [INFO] [stdout] test src/vm.rs - vm::Ctx::memory (line 382) ... FAILED [INFO] [stdout] test src/import.rs - import::ImportObject::maybe_with_namespace (line 142) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/global.rs - global::Global::new_mutable (line 38) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `wasmer_runtime_core` [INFO] [stdout] --> src/global.rs:39:5 [INFO] [stdout] | [INFO] [stdout] 3 | use wasmer_runtime_core::global::Global; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ use of undeclared type or module `wasmer_runtime_core` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `wasmer_runtime_core` [INFO] [stdout] --> src/global.rs:40:5 [INFO] [stdout] | [INFO] [stdout] 4 | use wasmer_runtime_core::types::Value; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ use of undeclared type or module `wasmer_runtime_core` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Global` [INFO] [stdout] --> src/global.rs:41:14 [INFO] [stdout] | [INFO] [stdout] 5 | let global = Global::new_mutable(Value::I32(42)); [INFO] [stdout] | ^^^^^^ use of undeclared type or module `Global` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Value` [INFO] [stdout] --> src/global.rs:41:34 [INFO] [stdout] | [INFO] [stdout] 5 | let global = Global::new_mutable(Value::I32(42)); [INFO] [stdout] | ^^^^^ use of undeclared type or module `Value` [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/import.rs - import::ImportObject (line 44) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `wasmer_runtime_core` [INFO] [stdout] --> src/import.rs:46:5 [INFO] [stdout] | [INFO] [stdout] 4 | use wasmer_runtime_core::vm::Ctx; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ use of undeclared type or module `wasmer_runtime_core` [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `wasmer_runtime_core` [INFO] [stdout] --> src/import.rs:45:5 [INFO] [stdout] | [INFO] [stdout] 3 | use wasmer_runtime_core::{imports, func}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ use of undeclared type or module `wasmer_runtime_core` [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `imports` [INFO] [stdout] --> src/import.rs:47:21 [INFO] [stdout] | [INFO] [stdout] 5 | let import_object = imports! { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Ctx` in this scope [INFO] [stdout] --> src/import.rs:53:16 [INFO] [stdout] | [INFO] [stdout] 11 | fn foo(_: &mut Ctx, n: i32) -> i32 { [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use wasmer_runtime_core_asml_fork::vm::Ctx; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0432, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/global.rs - global::Global::new (line 25) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `wasmer_runtime_core` [INFO] [stdout] --> src/global.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 3 | use wasmer_runtime_core::global::Global; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ use of undeclared type or module `wasmer_runtime_core` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `wasmer_runtime_core` [INFO] [stdout] --> src/global.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 4 | use wasmer_runtime_core::types::Value; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ use of undeclared type or module `wasmer_runtime_core` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Global` [INFO] [stdout] --> src/global.rs:28:14 [INFO] [stdout] | [INFO] [stdout] 5 | let global = Global::new(Value::I32(42)); [INFO] [stdout] | ^^^^^^ use of undeclared type or module `Global` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Value` [INFO] [stdout] --> src/global.rs:28:26 [INFO] [stdout] | [INFO] [stdout] 5 | let global = Global::new(Value::I32(42)); [INFO] [stdout] | ^^^^^ use of undeclared type or module `Value` [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/macros.rs - func (line 9) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `wasmer_runtime_core` [INFO] [stdout] --> src/macros.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 3 | use wasmer_runtime_core::{imports, func}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ use of undeclared type or module `wasmer_runtime_core` [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `wasmer_runtime_core` [INFO] [stdout] --> src/macros.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 4 | use wasmer_runtime_core::vm; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ use of undeclared type or module `wasmer_runtime_core` [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `imports` [INFO] [stdout] --> src/macros.rs:25:21 [INFO] [stdout] | [INFO] [stdout] 18 | let import_object = imports! { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/instance.rs - instance::Instance::func (line 175) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `wasmer_runtime_core` [INFO] [stdout] --> src/instance.rs:176:5 [INFO] [stdout] | [INFO] [stdout] 3 | use wasmer_runtime_core::{Func, Instance, error::ResolveResult}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ use of undeclared type or module `wasmer_runtime_core` [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `wasmer_runtime_core` [INFO] [stdout] --> src/instance.rs:176:5 [INFO] [stdout] | [INFO] [stdout] 3 | use wasmer_runtime_core::{Func, Instance, error::ResolveResult}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ use of undeclared type or module `wasmer_runtime_core` [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ResolveResult` in this scope [INFO] [stdout] --> src/instance.rs:177:38 [INFO] [stdout] | [INFO] [stdout] 4 | fn typed_func(instance: Instance) -> ResolveResult<()> { [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 2 | use wasmer_runtime_core_asml_fork::error::ResolveResult; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0432, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/instance.rs - instance::Instance::call (line 251) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `wasmer_runtime_core` [INFO] [stdout] --> src/instance.rs:252:5 [INFO] [stdout] | [INFO] [stdout] 3 | use wasmer_runtime_core::types::Value; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ use of undeclared type or module `wasmer_runtime_core` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `wasmer_runtime_core` [INFO] [stdout] --> src/instance.rs:253:5 [INFO] [stdout] | [INFO] [stdout] 4 | use wasmer_runtime_core::error::Result; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ use of undeclared type or module `wasmer_runtime_core` [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `wasmer_runtime_core` [INFO] [stdout] --> src/instance.rs:254:5 [INFO] [stdout] | [INFO] [stdout] 5 | use wasmer_runtime_core::Instance; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ use of undeclared type or module `wasmer_runtime_core` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Value` [INFO] [stdout] --> src/instance.rs:257:38 [INFO] [stdout] | [INFO] [stdout] 8 | let results = instance.call("foo", &[Value::I32(42)])?; [INFO] [stdout] | ^^^^^ use of undeclared type or module `Value` [INFO] [stdout] [INFO] [stdout] error[E0107]: wrong number of type arguments: expected 2, found 1 [INFO] [stdout] --> src/instance.rs:255:41 [INFO] [stdout] | [INFO] [stdout] 6 | fn call_foo(instance: &mut Instance) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^ expected 2 type arguments [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0107, E0432, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0107`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/instance.rs - instance::Exports::into_iter (line 933) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `wasmer_runtime_core` [INFO] [stdout] --> src/instance.rs:934:5 [INFO] [stdout] | [INFO] [stdout] 3 | use wasmer_runtime_core::instance::Instance; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ use of undeclared type or module `wasmer_runtime_core` [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Instance` in this scope [INFO] [stdout] --> src/instance.rs:935:39 [INFO] [stdout] | [INFO] [stdout] 4 | fn iterate_exports_example(instance: &Instance) { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 2 | use wasmer_runtime_core_asml_fork::Instance; [INFO] [stdout] | [INFO] [stdout] 2 | use wasmer_runtime_core_asml_fork::instance::Instance; [INFO] [stdout] | [INFO] [stdout] 2 | use wasmer_runtime_core_asml_fork::loader::Instance; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/instance.rs - instance::Exports::get (line 900) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `wasmer_runtime_core` [INFO] [stdout] --> src/instance.rs:902:5 [INFO] [stdout] | [INFO] [stdout] 4 | use wasmer_runtime_core::global::Global; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ use of undeclared type or module `wasmer_runtime_core` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `wasmer_runtime_core` [INFO] [stdout] --> src/instance.rs:903:5 [INFO] [stdout] | [INFO] [stdout] 5 | use wasmer_runtime_core::types::Value; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ use of undeclared type or module `wasmer_runtime_core` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `wasmer_runtime_core` [INFO] [stdout] --> src/instance.rs:904:5 [INFO] [stdout] | [INFO] [stdout] 6 | use wasmer_runtime_core::error::ResolveResult; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ use of undeclared type or module `wasmer_runtime_core` [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `wasmer_runtime_core` [INFO] [stdout] --> src/instance.rs:901:5 [INFO] [stdout] | [INFO] [stdout] 3 | use wasmer_runtime_core::{DynFunc, Func, Instance}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ use of undeclared type or module `wasmer_runtime_core` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Value` [INFO] [stdout] --> src/instance.rs:912:30 [INFO] [stdout] | [INFO] [stdout] 14 | let _result= dyn_func.call(&[Value::I32(42)]); [INFO] [stdout] | ^^^^^ use of undeclared type or module `Value` [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ResolveResult` in this scope [INFO] [stdout] --> src/instance.rs:905:39 [INFO] [stdout] | [INFO] [stdout] 7 | fn example_fn(instance: &Instance) -> ResolveResult<()> { [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 2 | use wasmer_runtime_core_asml_fork::error::ResolveResult; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Global` in this scope [INFO] [stdout] --> src/instance.rs:915:15 [INFO] [stdout] | [INFO] [stdout] 17 | let _counter: Global = instance.exports.get("counter")?; [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 2 | use std::alloc::Global; [INFO] [stdout] | [INFO] [stdout] 2 | use wasmer_runtime_core_asml_fork::global::Global; [INFO] [stdout] | [INFO] [stdout] 2 | use wasmparser::Global; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 7 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0432, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/table/mod.rs - table::Table::new (line 112) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `wasmer_runtime_core` [INFO] [stdout] --> src/table/mod.rs:113:5 [INFO] [stdout] | [INFO] [stdout] 3 | use wasmer_runtime_core::types::{TableDescriptor, ElementType}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ use of undeclared type or module `wasmer_runtime_core` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `wasmer_runtime_core` [INFO] [stdout] --> src/table/mod.rs:114:5 [INFO] [stdout] | [INFO] [stdout] 4 | use wasmer_runtime_core::table::Table; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ use of undeclared type or module `wasmer_runtime_core` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `wasmer_runtime_core` [INFO] [stdout] --> src/table/mod.rs:115:5 [INFO] [stdout] | [INFO] [stdout] 5 | use wasmer_runtime_core::error::Result; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ use of undeclared type or module `wasmer_runtime_core` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `ElementType` [INFO] [stdout] --> src/table/mod.rs:118:14 [INFO] [stdout] | [INFO] [stdout] 8 | element: ElementType::Anyfunc, [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type or module `ElementType` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Table` [INFO] [stdout] --> src/table/mod.rs:123:13 [INFO] [stdout] | [INFO] [stdout] 13 | let table = Table::new(descriptor)?; [INFO] [stdout] | ^^^^^ use of undeclared type or module `Table` [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `TableDescriptor` in this scope [INFO] [stdout] --> src/table/mod.rs:117:18 [INFO] [stdout] | [INFO] [stdout] 7 | let descriptor = TableDescriptor { [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use wasmer_runtime_core_asml_fork::types::TableDescriptor; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0107]: wrong number of type arguments: expected 2, found 1 [INFO] [stdout] --> src/table/mod.rs:116:22 [INFO] [stdout] | [INFO] [stdout] 6 | fn create_table() -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^ expected 2 type arguments [INFO] [stdout] [INFO] [stdout] error: aborting due to 7 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0107, E0422, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0107`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/memory/mod.rs - memory::Memory::new (line 50) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `wasmer_runtime_core` [INFO] [stdout] --> src/memory/mod.rs:51:5 [INFO] [stdout] | [INFO] [stdout] 3 | use wasmer_runtime_core::types::MemoryDescriptor; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ use of undeclared type or module `wasmer_runtime_core` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `wasmer_runtime_core` [INFO] [stdout] --> src/memory/mod.rs:52:5 [INFO] [stdout] | [INFO] [stdout] 4 | use wasmer_runtime_core::memory::Memory; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ use of undeclared type or module `wasmer_runtime_core` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `wasmer_runtime_core` [INFO] [stdout] --> src/memory/mod.rs:53:5 [INFO] [stdout] | [INFO] [stdout] 5 | use wasmer_runtime_core::error::Result; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ use of undeclared type or module `wasmer_runtime_core` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `wasmer_runtime_core` [INFO] [stdout] --> src/memory/mod.rs:54:5 [INFO] [stdout] | [INFO] [stdout] 6 | use wasmer_runtime_core::units::Pages; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ use of undeclared type or module `wasmer_runtime_core` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `MemoryDescriptor` [INFO] [stdout] --> src/memory/mod.rs:56:22 [INFO] [stdout] | [INFO] [stdout] 8 | let descriptor = MemoryDescriptor::new(Pages(10), None, false).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of undeclared type or module `MemoryDescriptor` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Memory` [INFO] [stdout] --> src/memory/mod.rs:58:18 [INFO] [stdout] | [INFO] [stdout] 10 | let memory = Memory::new(descriptor)?; [INFO] [stdout] | ^^^^^^ use of undeclared type or module `Memory` [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Pages` in this scope [INFO] [stdout] --> src/memory/mod.rs:56:44 [INFO] [stdout] | [INFO] [stdout] 8 | let descriptor = MemoryDescriptor::new(Pages(10), None, false).unwrap(); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple struct [INFO] [stdout] | [INFO] [stdout] 2 | use wasmer_runtime_core_asml_fork::units::Pages; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0107]: wrong number of type arguments: expected 2, found 1 [INFO] [stdout] --> src/memory/mod.rs:55:23 [INFO] [stdout] | [INFO] [stdout] 7 | fn create_memory() -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^ expected 2 type arguments [INFO] [stdout] [INFO] [stdout] error: aborting due to 8 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0107, E0425, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0107`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/instance.rs - instance::Instance::call (line 236) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `wasmer_runtime_core` [INFO] [stdout] --> src/instance.rs:237:5 [INFO] [stdout] | [INFO] [stdout] 3 | use wasmer_runtime_core::types::Value; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ use of undeclared type or module `wasmer_runtime_core` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `wasmer_runtime_core` [INFO] [stdout] --> src/instance.rs:238:5 [INFO] [stdout] | [INFO] [stdout] 4 | use wasmer_runtime_core::error::Result; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ use of undeclared type or module `wasmer_runtime_core` [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `wasmer_runtime_core` [INFO] [stdout] --> src/instance.rs:239:5 [INFO] [stdout] | [INFO] [stdout] 5 | use wasmer_runtime_core::Instance; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ use of undeclared type or module `wasmer_runtime_core` [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `wasmer_runtime_core` [INFO] [stdout] --> src/instance.rs:240:5 [INFO] [stdout] | [INFO] [stdout] 6 | use wasmer_runtime_core::DynFunc; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ use of undeclared type or module `wasmer_runtime_core` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Value` [INFO] [stdout] --> src/instance.rs:244:26 [INFO] [stdout] | [INFO] [stdout] 10 | let results = foo.call(&[Value::I32(42)])?; [INFO] [stdout] | ^^^^^ use of undeclared type or module `Value` [INFO] [stdout] [INFO] [stdout] error[E0107]: wrong number of type arguments: expected 2, found 1 [INFO] [stdout] --> src/instance.rs:241:41 [INFO] [stdout] | [INFO] [stdout] 7 | fn call_foo(instance: &mut Instance) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^ expected 2 type arguments [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0107, E0432, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0107`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/module.rs - module::Module::instantiate (line 142) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `wasmer_runtime_core` [INFO] [stdout] --> src/module.rs:143:5 [INFO] [stdout] | [INFO] [stdout] 3 | use wasmer_runtime_core::error::Result; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ use of undeclared type or module `wasmer_runtime_core` [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `wasmer_runtime_core` [INFO] [stdout] --> src/module.rs:144:5 [INFO] [stdout] | [INFO] [stdout] 4 | use wasmer_runtime_core::Module; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ use of undeclared type or module `wasmer_runtime_core` [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `wasmer_runtime_core` [INFO] [stdout] --> src/module.rs:145:5 [INFO] [stdout] | [INFO] [stdout] 5 | use wasmer_runtime_core::imports; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ use of undeclared type or module `wasmer_runtime_core` [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `imports` [INFO] [stdout] --> src/module.rs:147:21 [INFO] [stdout] | [INFO] [stdout] 7 | let import_object = imports! { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] error[E0107]: wrong number of type arguments: expected 2, found 1 [INFO] [stdout] --> src/module.rs:146:36 [INFO] [stdout] | [INFO] [stdout] 6 | fn instantiate(module: &Module) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^ expected 2 type arguments [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0107, E0432, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0107`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/memory/ptr.rs - memory::ptr::WasmPtr (line 26) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `wasmer_runtime_core` [INFO] [stdout] --> src/memory/ptr.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 3 | use wasmer_runtime_core::vm::Ctx; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ use of undeclared type or module `wasmer_runtime_core` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `wasmer_runtime_core` [INFO] [stdout] --> src/memory/ptr.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 4 | use wasmer_runtime_core::memory::ptr::WasmPtr; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ use of undeclared type or module `wasmer_runtime_core` [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Ctx` in this scope [INFO] [stdout] --> src/memory/ptr.rs:29:30 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn host_import(ctx: &mut Ctx, ptr: WasmPtr) { [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use wasmer_runtime_core_asml_fork::vm::Ctx; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `WasmPtr` in this scope [INFO] [stdout] --> src/memory/ptr.rs:29:40 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn host_import(ctx: &mut Ctx, ptr: WasmPtr) { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use wasmer_runtime_core_asml_fork::memory::ptr::WasmPtr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/instance.rs - instance::DynFunc::call (line 687) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `wasmer_runtime_core` [INFO] [stdout] --> src/instance.rs:689:5 [INFO] [stdout] | [INFO] [stdout] 4 | use wasmer_runtime_core::error::CallResult; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ use of undeclared type or module `wasmer_runtime_core` [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `wasmer_runtime_core` [INFO] [stdout] --> src/instance.rs:688:5 [INFO] [stdout] | [INFO] [stdout] 3 | use wasmer_runtime_core::Instance; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ use of undeclared type or module `wasmer_runtime_core` [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `CallResult` in this scope [INFO] [stdout] --> src/instance.rs:690:41 [INFO] [stdout] | [INFO] [stdout] 5 | fn call_foo(instance: &mut Instance) -> CallResult<()> { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 2 | use wasmer_runtime_core_asml_fork::error::CallResult; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0432, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/macros.rs - imports (line 57) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `wasmer_runtime_core` [INFO] [stdout] --> src/macros.rs:59:5 [INFO] [stdout] | [INFO] [stdout] 4 | use wasmer_runtime_core::vm::Ctx; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ use of undeclared type or module `wasmer_runtime_core` [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `wasmer_runtime_core` [INFO] [stdout] --> src/macros.rs:58:5 [INFO] [stdout] | [INFO] [stdout] 3 | use wasmer_runtime_core::{imports, func}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ use of undeclared type or module `wasmer_runtime_core` [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `imports` [INFO] [stdout] --> src/macros.rs:66:26 [INFO] [stdout] | [INFO] [stdout] 11 | let imports_with_state = imports! { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `imports` [INFO] [stdout] --> src/macros.rs:60:21 [INFO] [stdout] | [INFO] [stdout] 5 | let import_object = imports! { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Ctx` in this scope [INFO] [stdout] --> src/macros.rs:73:16 [INFO] [stdout] | [INFO] [stdout] 18 | fn foo(_: &mut Ctx, n: i32) -> i32 { [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use wasmer_runtime_core_asml_fork::vm::Ctx; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0432, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/memory/mod.rs - memory::Memory::view (line 127) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `wasmer_runtime_core` [INFO] [stdout] --> src/memory/mod.rs:128:5 [INFO] [stdout] | [INFO] [stdout] 3 | use wasmer_runtime_core::memory::{Memory, MemoryView}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ use of undeclared type or module `wasmer_runtime_core` [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Memory` in this scope [INFO] [stdout] --> src/memory/mod.rs:130:24 [INFO] [stdout] | [INFO] [stdout] 5 | fn view_memory(memory: Memory) { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 2 | use wasmer_runtime_core_asml_fork::backend::sys::Memory; [INFO] [stdout] | [INFO] [stdout] 2 | use wasmer_runtime_core_asml_fork::memory::Memory; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `MemoryView` in this scope [INFO] [stdout] --> src/memory/mod.rs:132:11 [INFO] [stdout] | [INFO] [stdout] 7 | let view: MemoryView = memory.view(); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use wasmer_runtime_core_asml_fork::memory::MemoryView; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/instance.rs - instance::Instance::dyn_func (line 205) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `wasmer_runtime_core` [INFO] [stdout] --> src/instance.rs:207:5 [INFO] [stdout] | [INFO] [stdout] 4 | use wasmer_runtime_core::error::CallResult; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ use of undeclared type or module `wasmer_runtime_core` [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `wasmer_runtime_core` [INFO] [stdout] --> src/instance.rs:206:5 [INFO] [stdout] | [INFO] [stdout] 3 | use wasmer_runtime_core::Instance; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ use of undeclared type or module `wasmer_runtime_core` [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `CallResult` in this scope [INFO] [stdout] --> src/instance.rs:208:41 [INFO] [stdout] | [INFO] [stdout] 5 | fn call_foo(instance: &mut Instance) -> CallResult<()> { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 2 | use wasmer_runtime_core_asml_fork::error::CallResult; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0432, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/import.rs - import::ImportObject::register (line 96) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `wasmer_runtime_core` [INFO] [stdout] --> src/import.rs:98:5 [INFO] [stdout] | [INFO] [stdout] 4 | use wasmer_runtime_core::import::{ImportObject, Namespace}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ use of undeclared type or module `wasmer_runtime_core` [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `wasmer_runtime_core` [INFO] [stdout] --> src/import.rs:97:5 [INFO] [stdout] | [INFO] [stdout] 3 | use wasmer_runtime_core::Instance; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ use of undeclared type or module `wasmer_runtime_core` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `ImportObject` [INFO] [stdout] --> src/import.rs:100:29 [INFO] [stdout] | [INFO] [stdout] 6 | let mut import_object = ImportObject::new(); [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type or module `ImportObject` [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Namespace` in this scope [INFO] [stdout] --> src/import.rs:99:44 [INFO] [stdout] | [INFO] [stdout] 5 | fn register(instance: Instance, namespace: Namespace) { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 2 | use wasmer_runtime_core_asml_fork::import::Namespace; [INFO] [stdout] | [INFO] [stdout] 2 | use wasmer_runtime_core_asml_fork::prelude::Namespace; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0432, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/vm.rs - vm::Ctx::memory (line 382) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `wasmer_runtime_core` [INFO] [stdout] --> src/vm.rs:383:5 [INFO] [stdout] | [INFO] [stdout] 3 | use wasmer_runtime_core::{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ use of undeclared type or module `wasmer_runtime_core` [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Ctx` in this scope [INFO] [stdout] --> src/vm.rs:386:22 [INFO] [stdout] | [INFO] [stdout] 6 | fn read_memory(ctx: &Ctx) -> u8 { [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use wasmer_runtime_core_asml_fork::vm::Ctx; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/import.rs - import::ImportObject::maybe_with_namespace (line 142) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `wasmer_runtime_core` [INFO] [stdout] --> src/import.rs:143:5 [INFO] [stdout] | [INFO] [stdout] 3 | use wasmer_runtime_core::import::{ImportObject, LikeNamespace}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ use of undeclared type or module `wasmer_runtime_core` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `wasmer_runtime_core` [INFO] [stdout] --> src/import.rs:144:5 [INFO] [stdout] | [INFO] [stdout] 4 | use wasmer_runtime_core::export::Export; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ use of undeclared type or module `wasmer_runtime_core` [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ImportObject` in this scope [INFO] [stdout] --> src/import.rs:145:25 [INFO] [stdout] | [INFO] [stdout] 5 | fn get_export(imports: &ImportObject, namespace: &str, name: &str) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 2 | use wasmer_runtime_core_asml_fork::import::ImportObject; [INFO] [stdout] | [INFO] [stdout] 2 | use wasmer_runtime_core_asml_fork::prelude::ImportObject; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Export` in this scope [INFO] [stdout] --> src/import.rs:145:78 [INFO] [stdout] | [INFO] [stdout] 5 | fn get_export(imports: &ImportObject, namespace: &str, name: &str) -> Option { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 2 | use wasmer_runtime_core_asml_fork::export::Export; [INFO] [stdout] | [INFO] [stdout] 2 | use wasmparser::Export; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/global.rs - global::Global::new (line 25) [INFO] [stdout] src/global.rs - global::Global::new_mutable (line 38) [INFO] [stdout] src/import.rs - import::ImportObject (line 44) [INFO] [stdout] src/import.rs - import::ImportObject::maybe_with_namespace (line 142) [INFO] [stdout] src/import.rs - import::ImportObject::register (line 96) [INFO] [stdout] src/instance.rs - instance::DynFunc::call (line 687) [INFO] [stdout] src/instance.rs - instance::Exports::get (line 900) [INFO] [stdout] src/instance.rs - instance::Exports::into_iter (line 933) [INFO] [stdout] src/instance.rs - instance::Instance::call (line 236) [INFO] [stdout] src/instance.rs - instance::Instance::call (line 251) [INFO] [stdout] src/instance.rs - instance::Instance::dyn_func (line 205) [INFO] [stdout] src/instance.rs - instance::Instance::func (line 175) [INFO] [stdout] src/macros.rs - func (line 9) [INFO] [stdout] src/macros.rs - imports (line 57) [INFO] [stdout] src/memory/mod.rs - memory::Memory::new (line 50) [INFO] [stdout] src/memory/mod.rs - memory::Memory::view (line 127) [INFO] [stdout] src/memory/ptr.rs - memory::ptr::WasmPtr (line 26) [INFO] [stdout] src/module.rs - module::Module::instantiate (line 142) [INFO] [stdout] src/table/mod.rs - table::Table::new (line 112) [INFO] [stdout] src/vm.rs - vm::Ctx::memory (line 382) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 20 failed; 0 ignored; 0 measured; 0 filtered out [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass '--doc' [INFO] running `Command { std: "docker" "inspect" "aec24b4f31c7c054f584d1a91e3348b99ea4820c50550828addb2c481dbca443", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "aec24b4f31c7c054f584d1a91e3348b99ea4820c50550828addb2c481dbca443", kill_on_drop: false }` [INFO] [stdout] aec24b4f31c7c054f584d1a91e3348b99ea4820c50550828addb2c481dbca443