[INFO] fetching crate substrate-wasmtime 0.19.0...
[INFO] testing substrate-wasmtime-0.19.0 against 1.54.0 for beta-1.55-1
[INFO] extracting crate substrate-wasmtime 0.19.0 into /workspace/builds/worker-0/source
[INFO] validating manifest of crates.io crate substrate-wasmtime 0.19.0 on toolchain 1.54.0
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.54.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate substrate-wasmtime 0.19.0
[INFO] finished tweaking crates.io crate substrate-wasmtime 0.19.0
[INFO] tweaked toml for crates.io crate substrate-wasmtime 0.19.0 written to /workspace/builds/worker-0/source/Cargo.toml
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.54.0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }`
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.54.0" "fetch" "--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-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+1.54.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 6602f6242324b3dd34113cae1d6ae5bfc7237d36a4b8d53878d9e6830476ea2f
[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" "6602f6242324b3dd34113cae1d6ae5bfc7237d36a4b8d53878d9e6830476ea2f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "6602f6242324b3dd34113cae1d6ae5bfc7237d36a4b8d53878d9e6830476ea2f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "6602f6242324b3dd34113cae1d6ae5bfc7237d36a4b8d53878d9e6830476ea2f", kill_on_drop: false }`
[INFO] [stdout] 6602f6242324b3dd34113cae1d6ae5bfc7237d36a4b8d53878d9e6830476ea2f
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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=warn" "-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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+1.54.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 6e8fa75185469132ddd695c2e12808caa4326516e394116b2ffc3fe71ecde7b4
[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" "6e8fa75185469132ddd695c2e12808caa4326516e394116b2ffc3fe71ecde7b4", kill_on_drop: false }`
[INFO] [stderr]    Compiling syn v1.0.74
[INFO] [stderr]    Compiling cranelift-codegen-shared v0.66.0
[INFO] [stderr]    Compiling byteorder v1.4.3
[INFO] [stderr]    Compiling target-lexicon v0.10.0
[INFO] [stderr]    Compiling fallible-iterator v0.2.0
[INFO] [stderr]    Compiling zstd-safe v2.0.6+zstd.1.4.7
[INFO] [stderr]    Compiling wasmtime-environ v0.19.0
[INFO] [stderr]    Compiling more-asserts v0.2.1
[INFO] [stderr]    Compiling wasmparser v0.57.0
[INFO] [stderr]    Compiling object v0.19.0
[INFO] [stderr]    Compiling indexmap v1.7.0
[INFO] [stderr]    Compiling itertools v0.9.0
[INFO] [stderr]    Compiling humantime v1.3.0
[INFO] [stderr]    Compiling wast v37.0.0
[INFO] [stderr]    Compiling jobserver v0.1.23
[INFO] [stderr]    Compiling dirs-sys v0.3.6
[INFO] [stderr]    Compiling errno v0.2.7
[INFO] [stderr]    Compiling regalloc v0.0.27
[INFO] [stderr]    Compiling region v2.2.0
[INFO] [stderr]    Compiling directories v2.0.2
[INFO] [stderr]    Compiling cc v1.0.69
[INFO] [stderr]    Compiling block-buffer v0.7.3
[INFO] [stderr]    Compiling env_logger v0.7.1
[INFO] [stderr]    Compiling sha2 v0.8.2
[INFO] [stderr]    Compiling file-per-thread-logger v0.1.4
[INFO] [stderr]    Compiling zstd-sys v1.4.18+zstd.1.4.7
[INFO] [stderr]    Compiling backtrace v0.3.61
[INFO] [stderr]    Compiling raw-cpuid v7.0.4
[INFO] [stderr]    Compiling wasmtime-runtime v0.19.0
[INFO] [stderr]    Compiling wat v1.0.39
[INFO] [stderr]    Compiling serde_derive v1.0.127
[INFO] [stderr]    Compiling thiserror-impl v1.0.26
[INFO] [stderr]    Compiling scroll_derive v0.10.5
[INFO] [stderr]    Compiling scroll v0.10.2
[INFO] [stderr]    Compiling thiserror v1.0.26
[INFO] [stderr]    Compiling serde v1.0.127
[INFO] [stderr]    Compiling cranelift-entity v0.66.0
[INFO] [stderr]    Compiling bincode v1.3.3
[INFO] [stderr]    Compiling toml v0.5.8
[INFO] [stderr]    Compiling gimli v0.21.0
[INFO] [stderr]    Compiling object v0.20.0
[INFO] [stderr]    Compiling cranelift-codegen-meta v0.66.0
[INFO] [stderr]    Compiling cranelift-bforest v0.66.0
[INFO] [stderr]    Compiling cranelift-codegen v0.66.0
[INFO] [stderr]    Compiling zstd v0.5.4+zstd.1.4.7
[INFO] [stderr]    Compiling cranelift-frontend v0.66.0
[INFO] [stderr]    Compiling cranelift-native v0.66.0
[INFO] [stderr]    Compiling cranelift-wasm v0.66.0
[INFO] [stderr]    Compiling wasmtime-debug v0.19.0
[INFO] [stderr]    Compiling wasmtime-profiling v0.19.0
[INFO] [stderr]    Compiling wasmtime-obj v0.19.0
[INFO] [stderr]    Compiling wasmtime-jit v0.19.0
[INFO] [stderr]    Compiling substrate-wasmtime v0.19.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: lint `intra_doc_link_resolution_failure` has been removed: use `rustdoc::broken_intra_doc_links` instead
[INFO] [stdout]    --> src/lib.rs:232:23
[INFO] [stdout]     |
[INFO] [stdout] 232 | #![deny(missing_docs, intra_doc_link_resolution_failure)]
[INFO] [stdout]     |                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(renamed_and_removed_lints)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished dev [unoptimized + debuginfo] target(s) in 2m 12s
[INFO] running `Command { std: "docker" "inspect" "6e8fa75185469132ddd695c2e12808caa4326516e394116b2ffc3fe71ecde7b4", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "6e8fa75185469132ddd695c2e12808caa4326516e394116b2ffc3fe71ecde7b4", kill_on_drop: false }`
[INFO] [stdout] 6e8fa75185469132ddd695c2e12808caa4326516e394116b2ffc3fe71ecde7b4
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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=warn" "-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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+1.54.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 3969316bcbaf8e3728a784d7cd3bf90ff1cde24d71ebed9f979fa4b5ec31544e
[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" "3969316bcbaf8e3728a784d7cd3bf90ff1cde24d71ebed9f979fa4b5ec31544e", kill_on_drop: false }`
[INFO] [stderr]    Compiling substrate-wasmtime v0.19.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: lint `intra_doc_link_resolution_failure` has been removed: use `rustdoc::broken_intra_doc_links` instead
[INFO] [stdout]    --> src/lib.rs:232:23
[INFO] [stdout]     |
[INFO] [stdout] 232 | #![deny(missing_docs, intra_doc_link_resolution_failure)]
[INFO] [stdout]     |                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(renamed_and_removed_lints)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: lint `intra_doc_link_resolution_failure` has been removed: use `rustdoc::broken_intra_doc_links` instead
[INFO] [stdout]    --> src/lib.rs:232:23
[INFO] [stdout]     |
[INFO] [stdout] 232 | #![deny(missing_docs, intra_doc_link_resolution_failure)]
[INFO] [stdout]     |                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(renamed_and_removed_lints)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished test [unoptimized + debuginfo] target(s) in 12.56s
[INFO] running `Command { std: "docker" "inspect" "3969316bcbaf8e3728a784d7cd3bf90ff1cde24d71ebed9f979fa4b5ec31544e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "3969316bcbaf8e3728a784d7cd3bf90ff1cde24d71ebed9f979fa4b5ec31544e", kill_on_drop: false }`
[INFO] [stdout] 3969316bcbaf8e3728a784d7cd3bf90ff1cde24d71ebed9f979fa4b5ec31544e
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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=warn" "-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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+1.54.0" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 82f8c122f50f30c311e41643cd91a0bce9637c0da9ee08c6ee496917308dbca9
[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" "82f8c122f50f30c311e41643cd91a0bce9637c0da9ee08c6ee496917308dbca9", kill_on_drop: false }`
[INFO] [stderr] warning: lint `intra_doc_link_resolution_failure` has been removed: use `rustdoc::broken_intra_doc_links` instead
[INFO] [stderr]    --> src/lib.rs:232:23
[INFO] [stderr]     |
[INFO] [stderr] 232 | #![deny(missing_docs, intra_doc_link_resolution_failure)]
[INFO] [stderr]     |                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(renamed_and_removed_lints)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: 1 warning emitted
[INFO] [stderr] 
[INFO] [stderr] warning: lint `intra_doc_link_resolution_failure` has been removed: use `rustdoc::broken_intra_doc_links` instead
[INFO] [stderr]    --> src/lib.rs:232:23
[INFO] [stderr]     |
[INFO] [stderr] 232 | #![deny(missing_docs, intra_doc_link_resolution_failure)]
[INFO] [stderr]     |                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(renamed_and_removed_lints)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: 1 warning emitted
[INFO] [stderr] 
[INFO] [stderr]     Finished test [unoptimized + debuginfo] target(s) in 0.14s
[INFO] [stderr]      Running unittests (/opt/rustwide/target/debug/deps/substrate_wasmtime-0fca766d0121d2e5)
[INFO] [stdout] 
[INFO] [stdout] running 3 tests
[INFO] [stdout] test externals::tests::respect_tunables ... ok
[INFO] [stdout] test func::wasm_ty_roundtrip ... ok
[INFO] [stdout] test runtime::tests::cache_accounts_for_opt_level ... ok
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 3 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.16s
[INFO] [stdout] 
[INFO] [stderr]    Doc-tests substrate-wasmtime
[INFO] [stderr] warning: lint `intra_doc_link_resolution_failure` has been renamed to `rustdoc::broken_intra_doc_links`
[INFO] [stderr]    --> /opt/rustwide/workdir/src/lib.rs:232:23
[INFO] [stderr]     |
[INFO] [stderr] 232 | #![deny(missing_docs, intra_doc_link_resolution_failure)]
[INFO] [stderr]     |                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use the new name: `rustdoc::broken_intra_doc_links`
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(renamed_and_removed_lints)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: 1 warning emitted
[INFO] [stderr] 
[INFO] [stdout] 
[INFO] [stdout] running 41 tests
[INFO] [stdout] test src/func.rs - func::Func::wrap (line 441) ... FAILED
[INFO] [stdout] test src/externals.rs - externals::Memory::new (line 750) ... FAILED
[INFO] [stdout] test src/func.rs - func::Func (line 108) ... FAILED
[INFO] [stdout] test src/linker.rs - linker::Linker::allow_shadowing (line 99) ... FAILED
[INFO] [stdout] test src/externals.rs - externals::Memory::ty (line 778) ... FAILED
[INFO] [stdout] test src/func.rs - func::Func (line 41) ... FAILED
[INFO] [stdout] test src/func.rs - func::Func (line 72) ... FAILED
[INFO] [stdout] test src/lib.rs - (line 22) ... FAILED
[INFO] [stdout] test src/lib.rs - (line 179) ... FAILED
[INFO] [stdout] test src/func.rs - func::Func::wrap (line 479) ... FAILED
[INFO] [stdout] test src/lib.rs - (line 153) - compile ... FAILED
[INFO] [stdout] test src/externals.rs - externals::Memory::grow (line 891) ... FAILED
[INFO] [stdout] test src/func.rs - func::Func::wrap (line 384) ... FAILED
[INFO] [stdout] test src/linker.rs - linker::Linker::func (line 188) ... FAILED
[INFO] [stdout] test src/linker.rs - linker::Linker::instantiate (line 557) ... FAILED
[INFO] [stdout] test src/linker.rs - linker::Linker::module (line 305) ... FAILED
[INFO] [stdout] test src/linker.rs - linker::Linker::define (line 137) ... FAILED
[INFO] [stdout] test src/module.rs - module::Module::exports (line 418) ... FAILED
[INFO] [stdout] test src/externals.rs - externals::Memory (line 584) ... FAILED
[INFO] [stdout] test src/linker.rs - linker::Linker::new (line 73) ... FAILED
[INFO] [stdout] test src/externals.rs - externals::Memory (line 637) ... FAILED
[INFO] [stdout] test src/module.rs - module::Module (line 39) - compile ... FAILED
[INFO] [stdout] test src/linker.rs - linker::Linker::instance (line 236) ... FAILED
[INFO] [stdout] test src/module.rs - module::Module (line 63) - compile ... FAILED
[INFO] [stdout] test src/func.rs - func::Func::wrap (line 410) ... FAILED
[INFO] [stdout] test src/module.rs - module::Module::from_binary (line 218) ... FAILED
[INFO] [stdout] test src/module.rs - module::Module::from_file (line 180) - compile ... FAILED
[INFO] [stdout] test src/module.rs - module::Module (line 50) - compile ... FAILED
[INFO] [stdout] test src/module.rs - module::Module::from_file (line 191) - compile ... FAILED
[INFO] [stdout] test src/module.rs - module::Module::exports (line 430) ... FAILED
[INFO] [stdout] test src/trap.rs - trap::Trap::new (line 51) ... FAILED
[INFO] [stdout] test src/linker.rs - linker::Linker::module (line 334) ... FAILED
[INFO] [stdout] test src/module.rs - module::Module::from_binary (line 230) ... FAILED
[INFO] [stdout] test src/module.rs - module::Module::get_export (line 490) ... FAILED
[INFO] [stdout] test src/module.rs - module::Module::get_export (line 478) ... FAILED
[INFO] [stdout] test src/module.rs - module::Module::new (line 130) - compile ... FAILED
[INFO] [stdout] test src/module.rs - module::Module::new (line 143) ... FAILED
[INFO] [stdout] test src/module.rs - module::Module::imports (line 372) ... FAILED
[INFO] [stdout] test src/module.rs - module::Module::imports (line 360) ... FAILED
[INFO] [stdout] test src/module.rs - module::Module::name (line 325) ... FAILED
[INFO] [stdout] test src/runtime.rs - runtime::Store::interrupt_handle (line 1083) ... FAILED
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- src/func.rs - func::Func::wrap (line 441) stdout ----
[INFO] [stdout] error[E0432]: unresolved import `wasmtime`
[INFO] [stdout]  --> src/func.rs:442:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use wasmtime::*;
[INFO] [stdout]   |     ^^^^^^^^ use of undeclared crate or module `wasmtime`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Store`
[INFO] [stdout]  --> src/func.rs:444:13
[INFO] [stdout]   |
[INFO] [stdout] 5 | let store = Store::default();
[INFO] [stdout]   |             ^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 3 | use substrate_wasmtime::Store;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Func`
[INFO] [stdout]  --> src/func.rs:445:13
[INFO] [stdout]   |
[INFO] [stdout] 6 | let debug = Func::wrap(&store, |a: i32, b: u32, c: f32, d: i64, e: u64, f: f64| {
[INFO] [stdout]   |             ^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 3 | use substrate_wasmtime::Func;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Module`
[INFO] [stdout]   --> src/func.rs:454:14
[INFO] [stdout]    |
[INFO] [stdout] 15 | let module = Module::new(
[INFO] [stdout]    |              ^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]    |
[INFO] [stdout] 3  | use substrate_wasmtime::Module;
[INFO] [stdout]    |
[INFO] [stdout] 3  | use wasmtime_environ::Module;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Instance`
[INFO] [stdout]   --> src/func.rs:469:16
[INFO] [stdout]    |
[INFO] [stdout] 30 | let instance = Instance::new(&store, &module, &[debug.into()])?;
[INFO] [stdout]    |                ^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]    |
[INFO] [stdout] 3  | use substrate_wasmtime::Instance;
[INFO] [stdout]    |
[INFO] [stdout] 3  | use wasmparser::Instance;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 5 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0432, E0433.
[INFO] [stdout] For more information about an error, try `rustc --explain E0432`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/externals.rs - externals::Memory::new (line 750) stdout ----
[INFO] [stdout] error[E0432]: unresolved import `wasmtime`
[INFO] [stdout]  --> src/externals.rs:751:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use wasmtime::*;
[INFO] [stdout]   |     ^^^^^^^^ use of undeclared crate or module `wasmtime`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Engine`
[INFO] [stdout]  --> src/externals.rs:753:14
[INFO] [stdout]   |
[INFO] [stdout] 5 | let engine = Engine::default();
[INFO] [stdout]   |              ^^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 3 | use substrate_wasmtime::Engine;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Store`
[INFO] [stdout]  --> src/externals.rs:754:13
[INFO] [stdout]   |
[INFO] [stdout] 6 | let store = Store::new(&engine);
[INFO] [stdout]   |             ^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 3 | use substrate_wasmtime::Store;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MemoryType`
[INFO] [stdout]  --> src/externals.rs:756:17
[INFO] [stdout]   |
[INFO] [stdout] 8 | let memory_ty = MemoryType::new(Limits::new(1, None));
[INFO] [stdout]   |                 ^^^^^^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]   |
[INFO] [stdout] 3 | use substrate_wasmtime::MemoryType;
[INFO] [stdout]   |
[INFO] [stdout] 3 | use wasmparser::MemoryType;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Limits`
[INFO] [stdout]  --> src/externals.rs:756:33
[INFO] [stdout]   |
[INFO] [stdout] 8 | let memory_ty = MemoryType::new(Limits::new(1, None));
[INFO] [stdout]   |                                 ^^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 3 | use substrate_wasmtime::Limits;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Memory`
[INFO] [stdout]  --> src/externals.rs:757:14
[INFO] [stdout]   |
[INFO] [stdout] 9 | let memory = Memory::new(&store, memory_ty);
[INFO] [stdout]   |              ^^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]   |
[INFO] [stdout] 3 | use substrate_wasmtime::Memory;
[INFO] [stdout]   |
[INFO] [stdout] 3 | use wasmtime_environ::wasm::Memory;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Module`
[INFO] [stdout]   --> src/externals.rs:759:14
[INFO] [stdout]    |
[INFO] [stdout] 11 | let module = Module::new(&engine, "(module (memory (import \"\" \"\") 1))")?;
[INFO] [stdout]    |              ^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]    |
[INFO] [stdout] 3  | use substrate_wasmtime::Module;
[INFO] [stdout]    |
[INFO] [stdout] 3  | use wasmtime_environ::Module;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Instance`
[INFO] [stdout]   --> src/externals.rs:760:16
[INFO] [stdout]    |
[INFO] [stdout] 12 | let instance = Instance::new(&store, &module, &[memory.into()])?;
[INFO] [stdout]    |                ^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]    |
[INFO] [stdout] 3  | use substrate_wasmtime::Instance;
[INFO] [stdout]    |
[INFO] [stdout] 3  | use wasmparser::Instance;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 8 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0432, E0433.
[INFO] [stdout] For more information about an error, try `rustc --explain E0432`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/func.rs - func::Func (line 108) stdout ----
[INFO] [stdout] error[E0432]: unresolved import `wasmtime`
[INFO] [stdout]  --> src/func.rs:109:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use wasmtime::*;
[INFO] [stdout]   |     ^^^^^^^^ use of undeclared crate or module `wasmtime`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `wasmtime`
[INFO] [stdout]   --> src/func.rs:116:15
[INFO] [stdout]    |
[INFO] [stdout] 10 |     Box::new([wasmtime::ValType::I32]),
[INFO] [stdout]    |               ^^^^^^^^ use of undeclared crate or module `wasmtime`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `wasmtime`
[INFO] [stdout]   --> src/func.rs:117:15
[INFO] [stdout]    |
[INFO] [stdout] 11 |     Box::new([wasmtime::ValType::I32])
[INFO] [stdout]    |               ^^^^^^^^ use of undeclared crate or module `wasmtime`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Store`
[INFO] [stdout]  --> src/func.rs:111:13
[INFO] [stdout]   |
[INFO] [stdout] 5 | let store = Store::default();
[INFO] [stdout]   |             ^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 3 | use substrate_wasmtime::Store;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `wasmtime`
[INFO] [stdout]  --> src/func.rs:115:29
[INFO] [stdout]   |
[INFO] [stdout] 9 | let double_type = wasmtime::FuncType::new(
[INFO] [stdout]   |                             ^^^^^^^^ not found in `wasmtime`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]   |
[INFO] [stdout] 3 | use substrate_wasmtime::FuncType;
[INFO] [stdout]   |
[INFO] [stdout] 3 | use wasmparser::FuncType;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Func`
[INFO] [stdout]   --> src/func.rs:119:14
[INFO] [stdout]    |
[INFO] [stdout] 13 | let double = Func::new(&store, double_type, |_, params, results| {
[INFO] [stdout]    |              ^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 3  | use substrate_wasmtime::Func;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Module`
[INFO] [stdout]   --> src/func.rs:126:14
[INFO] [stdout]    |
[INFO] [stdout] 20 | let module = Module::new(
[INFO] [stdout]    |              ^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]    |
[INFO] [stdout] 3  | use substrate_wasmtime::Module;
[INFO] [stdout]    |
[INFO] [stdout] 3  | use wasmtime_environ::Module;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Instance`
[INFO] [stdout]   --> src/func.rs:138:16
[INFO] [stdout]    |
[INFO] [stdout] 32 | let instance = Instance::new(&store, &module, &[double.into()])?;
[INFO] [stdout]    |                ^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]    |
[INFO] [stdout] 3  | use substrate_wasmtime::Instance;
[INFO] [stdout]    |
[INFO] [stdout] 3  | use wasmparser::Instance;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 8 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0432, E0433.
[INFO] [stdout] For more information about an error, try `rustc --explain E0432`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/linker.rs - linker::Linker::allow_shadowing (line 99) stdout ----
[INFO] [stdout] error[E0432]: unresolved import `wasmtime`
[INFO] [stdout]  --> src/linker.rs:100:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use wasmtime::*;
[INFO] [stdout]   |     ^^^^^^^^ use of undeclared crate or module `wasmtime`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Store`
[INFO] [stdout]  --> src/linker.rs:102:13
[INFO] [stdout]   |
[INFO] [stdout] 5 | let store = Store::default();
[INFO] [stdout]   |             ^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 3 | use substrate_wasmtime::Store;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Linker`
[INFO] [stdout]  --> src/linker.rs:103:18
[INFO] [stdout]   |
[INFO] [stdout] 6 | let mut linker = Linker::new(&store);
[INFO] [stdout]   |                  ^^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 3 | use substrate_wasmtime::Linker;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0432, E0433.
[INFO] [stdout] For more information about an error, try `rustc --explain E0432`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/externals.rs - externals::Memory::ty (line 778) stdout ----
[INFO] [stdout] error[E0432]: unresolved import `wasmtime`
[INFO] [stdout]  --> src/externals.rs:779:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use wasmtime::*;
[INFO] [stdout]   |     ^^^^^^^^ use of undeclared crate or module `wasmtime`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Engine`
[INFO] [stdout]  --> src/externals.rs:781:14
[INFO] [stdout]   |
[INFO] [stdout] 5 | let engine = Engine::default();
[INFO] [stdout]   |              ^^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 3 | use substrate_wasmtime::Engine;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Store`
[INFO] [stdout]  --> src/externals.rs:782:13
[INFO] [stdout]   |
[INFO] [stdout] 6 | let store = Store::new(&engine);
[INFO] [stdout]   |             ^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 3 | use substrate_wasmtime::Store;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Module`
[INFO] [stdout]  --> src/externals.rs:783:14
[INFO] [stdout]   |
[INFO] [stdout] 7 | let module = Module::new(&engine, "(module (memory (export \"mem\") 1))")?;
[INFO] [stdout]   |              ^^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]   |
[INFO] [stdout] 3 | use substrate_wasmtime::Module;
[INFO] [stdout]   |
[INFO] [stdout] 3 | use wasmtime_environ::Module;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Instance`
[INFO] [stdout]  --> src/externals.rs:784:16
[INFO] [stdout]   |
[INFO] [stdout] 8 | let instance = Instance::new(&store, &module, &[])?;
[INFO] [stdout]   |                ^^^^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]   |
[INFO] [stdout] 3 | use substrate_wasmtime::Instance;
[INFO] [stdout]   |
[INFO] [stdout] 3 | use wasmparser::Instance;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 5 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0432, E0433.
[INFO] [stdout] For more information about an error, try `rustc --explain E0432`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/func.rs - func::Func (line 41) stdout ----
[INFO] [stdout] error[E0432]: unresolved import `wasmtime`
[INFO] [stdout]  --> src/func.rs:42:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use wasmtime::*;
[INFO] [stdout]   |     ^^^^^^^^ use of undeclared crate or module `wasmtime`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Engine`
[INFO] [stdout]  --> src/func.rs:44:14
[INFO] [stdout]   |
[INFO] [stdout] 5 | let engine = Engine::default();
[INFO] [stdout]   |              ^^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 3 | use substrate_wasmtime::Engine;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Store`
[INFO] [stdout]  --> src/func.rs:45:13
[INFO] [stdout]   |
[INFO] [stdout] 6 | let store = Store::new(&engine);
[INFO] [stdout]   |             ^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 3 | use substrate_wasmtime::Store;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Module`
[INFO] [stdout]  --> src/func.rs:46:14
[INFO] [stdout]   |
[INFO] [stdout] 7 | let module = Module::new(&engine, r#"(module (func (export "foo")))"#)?;
[INFO] [stdout]   |              ^^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]   |
[INFO] [stdout] 3 | use substrate_wasmtime::Module;
[INFO] [stdout]   |
[INFO] [stdout] 3 | use wasmtime_environ::Module;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Instance`
[INFO] [stdout]  --> src/func.rs:47:16
[INFO] [stdout]   |
[INFO] [stdout] 8 | let instance = Instance::new(&store, &module, &[])?;
[INFO] [stdout]   |                ^^^^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]   |
[INFO] [stdout] 3 | use substrate_wasmtime::Instance;
[INFO] [stdout]   |
[INFO] [stdout] 3 | use wasmparser::Instance;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 5 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0432, E0433.
[INFO] [stdout] For more information about an error, try `rustc --explain E0432`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/func.rs - func::Func (line 72) stdout ----
[INFO] [stdout] error[E0432]: unresolved import `wasmtime`
[INFO] [stdout]  --> src/func.rs:73:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use wasmtime::*;
[INFO] [stdout]   |     ^^^^^^^^ use of undeclared crate or module `wasmtime`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Store`
[INFO] [stdout]  --> src/func.rs:75:13
[INFO] [stdout]   |
[INFO] [stdout] 5 | let store = Store::default();
[INFO] [stdout]   |             ^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 3 | use substrate_wasmtime::Store;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Func`
[INFO] [stdout]  --> src/func.rs:79:11
[INFO] [stdout]   |
[INFO] [stdout] 9 | let add = Func::wrap(&store, |a: i32, b: i32| -> i32 { a + b });
[INFO] [stdout]   |           ^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 3 | use substrate_wasmtime::Func;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Module`
[INFO] [stdout]   --> src/func.rs:82:14
[INFO] [stdout]    |
[INFO] [stdout] 12 | let module = Module::new(
[INFO] [stdout]    |              ^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]    |
[INFO] [stdout] 3  | use substrate_wasmtime::Module;
[INFO] [stdout]    |
[INFO] [stdout] 3  | use wasmtime_environ::Module;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Instance`
[INFO] [stdout]   --> src/func.rs:97:16
[INFO] [stdout]    |
[INFO] [stdout] 27 | let instance = Instance::new(&store, &module, &[add.into()])?;
[INFO] [stdout]    |                ^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]    |
[INFO] [stdout] 3  | use substrate_wasmtime::Instance;
[INFO] [stdout]    |
[INFO] [stdout] 3  | use wasmparser::Instance;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 5 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0432, E0433.
[INFO] [stdout] For more information about an error, try `rustc --explain E0432`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - (line 22) stdout ----
[INFO] [stdout] error[E0432]: unresolved import `wasmtime`
[INFO] [stdout]  --> src/lib.rs:24:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use wasmtime::*;
[INFO] [stdout]   |     ^^^^^^^^ use of undeclared crate or module `wasmtime`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Store`
[INFO] [stdout]  --> src/lib.rs:28:17
[INFO] [stdout]   |
[INFO] [stdout] 8 |     let store = Store::default();
[INFO] [stdout]   |                 ^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 3 | use substrate_wasmtime::Store;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Module`
[INFO] [stdout]   --> src/lib.rs:40:18
[INFO] [stdout]    |
[INFO] [stdout] 20 |     let module = Module::new(store.engine(), wat)?;
[INFO] [stdout]    |                  ^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]    |
[INFO] [stdout] 3  | use substrate_wasmtime::Module;
[INFO] [stdout]    |
[INFO] [stdout] 3  | use wasmtime_environ::Module;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Func`
[INFO] [stdout]   --> src/lib.rs:44:22
[INFO] [stdout]    |
[INFO] [stdout] 24 |     let host_hello = Func::wrap(&store, |param: i32| {
[INFO] [stdout]    |                      ^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 3  | use substrate_wasmtime::Func;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Instance`
[INFO] [stdout]   --> src/lib.rs:51:20
[INFO] [stdout]    |
[INFO] [stdout] 31 |     let instance = Instance::new(&store, &module, &[host_hello.into()])?;
[INFO] [stdout]    |                    ^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]    |
[INFO] [stdout] 3  | use substrate_wasmtime::Instance;
[INFO] [stdout]    |
[INFO] [stdout] 3  | use wasmparser::Instance;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 5 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0432, E0433.
[INFO] [stdout] For more information about an error, try `rustc --explain E0432`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - (line 179) stdout ----
[INFO] [stdout] error[E0432]: unresolved import `wasmtime`
[INFO] [stdout]  --> src/lib.rs:182:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use wasmtime::*;
[INFO] [stdout]   |     ^^^^^^^^ use of undeclared crate or module `wasmtime`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Extern`
[INFO] [stdout]   --> src/lib.rs:187:14
[INFO] [stdout]    |
[INFO] [stdout] 10 |         Some(Extern::Memory(mem)) => mem,
[INFO] [stdout]    |              ^^^^^^ use of undeclared type `Extern`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Store`
[INFO] [stdout]  --> src/lib.rs:184:13
[INFO] [stdout]   |
[INFO] [stdout] 7 | let store = Store::default();
[INFO] [stdout]   |             ^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 3 | use substrate_wasmtime::Store;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Func`
[INFO] [stdout]  --> src/lib.rs:185:15
[INFO] [stdout]   |
[INFO] [stdout] 8 | let log_str = Func::wrap(&store, |caller: Caller<'_>, ptr: i32, len: i32| {
[INFO] [stdout]   |               ^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 3 | use substrate_wasmtime::Func;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Caller` in this scope
[INFO] [stdout]  --> src/lib.rs:185:43
[INFO] [stdout]   |
[INFO] [stdout] 8 | let log_str = Func::wrap(&store, |caller: Caller<'_>, ptr: i32, len: i32| {
[INFO] [stdout]   |                                           ^^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 3 | use substrate_wasmtime::Caller;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Trap`
[INFO] [stdout]   --> src/lib.rs:188:25
[INFO] [stdout]    |
[INFO] [stdout] 11 |         _ => return Err(Trap::new("failed to find host memory")),
[INFO] [stdout]    |                         ^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]    |
[INFO] [stdout] 3  | use substrate_wasmtime::Trap;
[INFO] [stdout]    |
[INFO] [stdout] 3  | use wasmtime_runtime::Trap;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Trap`
[INFO] [stdout]   --> src/lib.rs:203:38
[INFO] [stdout]    |
[INFO] [stdout] 26 |                 Err(_) => return Err(Trap::new("invalid utf-8")),
[INFO] [stdout]    |                                      ^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]    |
[INFO] [stdout] 3  | use substrate_wasmtime::Trap;
[INFO] [stdout]    |
[INFO] [stdout] 3  | use wasmtime_runtime::Trap;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Trap`
[INFO] [stdout]   --> src/lib.rs:205:32
[INFO] [stdout]    |
[INFO] [stdout] 28 |             None => return Err(Trap::new("pointer/length out of bounds")),
[INFO] [stdout]    |                                ^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]    |
[INFO] [stdout] 3  | use substrate_wasmtime::Trap;
[INFO] [stdout]    |
[INFO] [stdout] 3  | use wasmtime_runtime::Trap;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Module`
[INFO] [stdout]   --> src/lib.rs:212:14
[INFO] [stdout]    |
[INFO] [stdout] 35 | let module = Module::new(
[INFO] [stdout]    |              ^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]    |
[INFO] [stdout] 3  | use substrate_wasmtime::Module;
[INFO] [stdout]    |
[INFO] [stdout] 3  | use wasmtime_environ::Module;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Instance`
[INFO] [stdout]   --> src/lib.rs:225:16
[INFO] [stdout]    |
[INFO] [stdout] 48 | let instance = Instance::new(&store, &module, &[log_str.into()])?;
[INFO] [stdout]    |                ^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]    |
[INFO] [stdout] 3  | use substrate_wasmtime::Instance;
[INFO] [stdout]    |
[INFO] [stdout] 3  | use wasmparser::Instance;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 10 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/func.rs - func::Func::wrap (line 479) stdout ----
[INFO] [stdout] error[E0432]: unresolved import `wasmtime`
[INFO] [stdout]  --> src/func.rs:482:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use wasmtime::*;
[INFO] [stdout]   |     ^^^^^^^^ use of undeclared crate or module `wasmtime`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Extern`
[INFO] [stdout]   --> src/func.rs:487:14
[INFO] [stdout]    |
[INFO] [stdout] 10 |         Some(Extern::Memory(mem)) => mem,
[INFO] [stdout]    |              ^^^^^^ use of undeclared type `Extern`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Store`
[INFO] [stdout]  --> src/func.rs:484:13
[INFO] [stdout]   |
[INFO] [stdout] 7 | let store = Store::default();
[INFO] [stdout]   |             ^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 3 | use substrate_wasmtime::Store;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Func`
[INFO] [stdout]  --> src/func.rs:485:15
[INFO] [stdout]   |
[INFO] [stdout] 8 | let log_str = Func::wrap(&store, |caller: Caller<'_>, ptr: i32, len: i32| {
[INFO] [stdout]   |               ^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 3 | use substrate_wasmtime::Func;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Caller` in this scope
[INFO] [stdout]  --> src/func.rs:485:43
[INFO] [stdout]   |
[INFO] [stdout] 8 | let log_str = Func::wrap(&store, |caller: Caller<'_>, ptr: i32, len: i32| {
[INFO] [stdout]   |                                           ^^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 3 | use substrate_wasmtime::Caller;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Trap`
[INFO] [stdout]   --> src/func.rs:488:25
[INFO] [stdout]    |
[INFO] [stdout] 11 |         _ => return Err(Trap::new("failed to find host memory")),
[INFO] [stdout]    |                         ^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]    |
[INFO] [stdout] 3  | use substrate_wasmtime::Trap;
[INFO] [stdout]    |
[INFO] [stdout] 3  | use wasmtime_runtime::Trap;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Trap`
[INFO] [stdout]   --> src/func.rs:503:38
[INFO] [stdout]    |
[INFO] [stdout] 26 |                 Err(_) => return Err(Trap::new("invalid utf-8")),
[INFO] [stdout]    |                                      ^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]    |
[INFO] [stdout] 3  | use substrate_wasmtime::Trap;
[INFO] [stdout]    |
[INFO] [stdout] 3  | use wasmtime_runtime::Trap;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Trap`
[INFO] [stdout]   --> src/func.rs:505:32
[INFO] [stdout]    |
[INFO] [stdout] 28 |             None => return Err(Trap::new("pointer/length out of bounds")),
[INFO] [stdout]    |                                ^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]    |
[INFO] [stdout] 3  | use substrate_wasmtime::Trap;
[INFO] [stdout]    |
[INFO] [stdout] 3  | use wasmtime_runtime::Trap;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Module`
[INFO] [stdout]   --> src/func.rs:512:14
[INFO] [stdout]    |
[INFO] [stdout] 35 | let module = Module::new(
[INFO] [stdout]    |              ^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]    |
[INFO] [stdout] 3  | use substrate_wasmtime::Module;
[INFO] [stdout]    |
[INFO] [stdout] 3  | use wasmtime_environ::Module;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Instance`
[INFO] [stdout]   --> src/func.rs:525:16
[INFO] [stdout]    |
[INFO] [stdout] 48 | let instance = Instance::new(&store, &module, &[log_str.into()])?;
[INFO] [stdout]    |                ^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]    |
[INFO] [stdout] 3  | use substrate_wasmtime::Instance;
[INFO] [stdout]    |
[INFO] [stdout] 3  | use wasmparser::Instance;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 10 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/lib.rs - (line 153) stdout ----
[INFO] [stdout] error[E0432]: unresolved import `wasmtime`
[INFO] [stdout]  --> src/lib.rs:155:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use wasmtime::*;
[INFO] [stdout]   |     ^^^^^^^^ use of undeclared crate or module `wasmtime`
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `wasmtime_wasi`
[INFO] [stdout]  --> src/lib.rs:156:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use wasmtime_wasi::{Wasi, WasiCtx};
[INFO] [stdout]   |     ^^^^^^^^^^^^^ use of undeclared crate or module `wasmtime_wasi`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Store`
[INFO] [stdout]  --> src/lib.rs:159:13
[INFO] [stdout]   |
[INFO] [stdout] 8 | let store = Store::default();
[INFO] [stdout]   |             ^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 3 | use substrate_wasmtime::Store;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Linker`
[INFO] [stdout]  --> src/lib.rs:160:18
[INFO] [stdout]   |
[INFO] [stdout] 9 | let mut linker = Linker::new(&store);
[INFO] [stdout]   |                  ^^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 3 | use substrate_wasmtime::Linker;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Module`
[INFO] [stdout]   --> src/lib.rs:169:14
[INFO] [stdout]    |
[INFO] [stdout] 18 | let module = Module::from_file(store.engine(), "foo.wasm")?;
[INFO] [stdout]    |              ^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]    |
[INFO] [stdout] 3  | use substrate_wasmtime::Module;
[INFO] [stdout]    |
[INFO] [stdout] 3  | use wasmtime_environ::Module;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 5 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0432, E0433.
[INFO] [stdout] For more information about an error, try `rustc --explain E0432`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/externals.rs - externals::Memory::grow (line 891) stdout ----
[INFO] [stdout] error[E0432]: unresolved import `wasmtime`
[INFO] [stdout]  --> src/externals.rs:892:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use wasmtime::*;
[INFO] [stdout]   |     ^^^^^^^^ use of undeclared crate or module `wasmtime`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Engine`
[INFO] [stdout]  --> src/externals.rs:894:14
[INFO] [stdout]   |
[INFO] [stdout] 5 | let engine = Engine::default();
[INFO] [stdout]   |              ^^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 3 | use substrate_wasmtime::Engine;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Store`
[INFO] [stdout]  --> src/externals.rs:895:13
[INFO] [stdout]   |
[INFO] [stdout] 6 | let store = Store::new(&engine);
[INFO] [stdout]   |             ^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 3 | use substrate_wasmtime::Store;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Module`
[INFO] [stdout]  --> src/externals.rs:896:14
[INFO] [stdout]   |
[INFO] [stdout] 7 | let module = Module::new(&engine, "(module (memory (export \"mem\") 1 2))")?;
[INFO] [stdout]   |              ^^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]   |
[INFO] [stdout] 3 | use substrate_wasmtime::Module;
[INFO] [stdout]   |
[INFO] [stdout] 3 | use wasmtime_environ::Module;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Instance`
[INFO] [stdout]  --> src/externals.rs:897:16
[INFO] [stdout]   |
[INFO] [stdout] 8 | let instance = Instance::new(&store, &module, &[])?;
[INFO] [stdout]   |                ^^^^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]   |
[INFO] [stdout] 3 | use substrate_wasmtime::Instance;
[INFO] [stdout]   |
[INFO] [stdout] 3 | use wasmparser::Instance;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 5 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0432, E0433.
[INFO] [stdout] For more information about an error, try `rustc --explain E0432`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/func.rs - func::Func::wrap (line 384) stdout ----
[INFO] [stdout] error[E0432]: unresolved import `wasmtime`
[INFO] [stdout]  --> src/func.rs:385:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use wasmtime::*;
[INFO] [stdout]   |     ^^^^^^^^ use of undeclared crate or module `wasmtime`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Store`
[INFO] [stdout]  --> src/func.rs:387:13
[INFO] [stdout]   |
[INFO] [stdout] 5 | let store = Store::default();
[INFO] [stdout]   |             ^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 3 | use substrate_wasmtime::Store;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Func`
[INFO] [stdout]  --> src/func.rs:388:11
[INFO] [stdout]   |
[INFO] [stdout] 6 | let add = Func::wrap(&store, |a: i32, b: i32| a + b);
[INFO] [stdout]   |           ^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 3 | use substrate_wasmtime::Func;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Module`
[INFO] [stdout]  --> src/func.rs:389:14
[INFO] [stdout]   |
[INFO] [stdout] 7 | let module = Module::new(
[INFO] [stdout]   |              ^^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]   |
[INFO] [stdout] 3 | use substrate_wasmtime::Module;
[INFO] [stdout]   |
[INFO] [stdout] 3 | use wasmtime_environ::Module;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Instance`
[INFO] [stdout]   --> src/func.rs:400:16
[INFO] [stdout]    |
[INFO] [stdout] 18 | let instance = Instance::new(&store, &module, &[add.into()])?;
[INFO] [stdout]    |                ^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]    |
[INFO] [stdout] 3  | use substrate_wasmtime::Instance;
[INFO] [stdout]    |
[INFO] [stdout] 3  | use wasmparser::Instance;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 5 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0432, E0433.
[INFO] [stdout] For more information about an error, try `rustc --explain E0432`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/linker.rs - linker::Linker::func (line 188) stdout ----
[INFO] [stdout] error[E0432]: unresolved import `wasmtime`
[INFO] [stdout]  --> src/linker.rs:189:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use wasmtime::*;
[INFO] [stdout]   |     ^^^^^^^^ use of undeclared crate or module `wasmtime`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Store`
[INFO] [stdout]  --> src/linker.rs:191:13
[INFO] [stdout]   |
[INFO] [stdout] 5 | let store = Store::default();
[INFO] [stdout]   |             ^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 3 | use substrate_wasmtime::Store;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Linker`
[INFO] [stdout]  --> src/linker.rs:192:18
[INFO] [stdout]   |
[INFO] [stdout] 6 | let mut linker = Linker::new(&store);
[INFO] [stdout]   |                  ^^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 3 | use substrate_wasmtime::Linker;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Caller` in this scope
[INFO] [stdout]  --> src/linker.rs:195:41
[INFO] [stdout]   |
[INFO] [stdout] 9 | linker.func("host", "log_str", |caller: Caller, ptr: i32, len: i32| {
[INFO] [stdout]   |                                         ^^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 3 | use substrate_wasmtime::Caller;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Module`
[INFO] [stdout]   --> src/linker.rs:206:14
[INFO] [stdout]    |
[INFO] [stdout] 20 | let module = Module::new(store.engine(), wat)?;
[INFO] [stdout]    |              ^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]    |
[INFO] [stdout] 3  | use substrate_wasmtime::Module;
[INFO] [stdout]    |
[INFO] [stdout] 3  | use wasmtime_environ::Module;
[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/linker.rs - linker::Linker::instantiate (line 557) stdout ----
[INFO] [stdout] error[E0432]: unresolved import `wasmtime`
[INFO] [stdout]  --> src/linker.rs:558:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use wasmtime::*;
[INFO] [stdout]   |     ^^^^^^^^ use of undeclared crate or module `wasmtime`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Store`
[INFO] [stdout]  --> src/linker.rs:560:13
[INFO] [stdout]   |
[INFO] [stdout] 5 | let store = Store::default();
[INFO] [stdout]   |             ^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 3 | use substrate_wasmtime::Store;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Linker`
[INFO] [stdout]  --> src/linker.rs:561:18
[INFO] [stdout]   |
[INFO] [stdout] 6 | let mut linker = Linker::new(&store);
[INFO] [stdout]   |                  ^^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 3 | use substrate_wasmtime::Linker;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Module`
[INFO] [stdout]   --> src/linker.rs:569:14
[INFO] [stdout]    |
[INFO] [stdout] 14 | let module = Module::new(store.engine(), wat)?;
[INFO] [stdout]    |              ^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]    |
[INFO] [stdout] 3  | use substrate_wasmtime::Module;
[INFO] [stdout]    |
[INFO] [stdout] 3  | use wasmtime_environ::Module;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 4 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0432, E0433.
[INFO] [stdout] For more information about an error, try `rustc --explain E0432`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/linker.rs - linker::Linker::module (line 305) stdout ----
[INFO] [stdout] error[E0432]: unresolved import `wasmtime`
[INFO] [stdout]  --> src/linker.rs:306:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use wasmtime::*;
[INFO] [stdout]   |     ^^^^^^^^ use of undeclared crate or module `wasmtime`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Store`
[INFO] [stdout]  --> src/linker.rs:308:13
[INFO] [stdout]   |
[INFO] [stdout] 5 | let store = Store::default();
[INFO] [stdout]   |             ^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 3 | use substrate_wasmtime::Store;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Linker`
[INFO] [stdout]  --> src/linker.rs:309:18
[INFO] [stdout]   |
[INFO] [stdout] 6 | let mut linker = Linker::new(&store);
[INFO] [stdout]   |                  ^^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 3 | use substrate_wasmtime::Linker;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Module`
[INFO] [stdout]   --> src/linker.rs:315:14
[INFO] [stdout]    |
[INFO] [stdout] 12 | let module = Module::new(store.engine(), wat)?;
[INFO] [stdout]    |              ^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]    |
[INFO] [stdout] 3  | use substrate_wasmtime::Module;
[INFO] [stdout]    |
[INFO] [stdout] 3  | use wasmtime_environ::Module;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Module`
[INFO] [stdout]   --> src/linker.rs:326:14
[INFO] [stdout]    |
[INFO] [stdout] 23 | let module = Module::new(store.engine(), wat)?;
[INFO] [stdout]    |              ^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]    |
[INFO] [stdout] 3  | use substrate_wasmtime::Module;
[INFO] [stdout]    |
[INFO] [stdout] 3  | use wasmtime_environ::Module;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 5 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0432, E0433.
[INFO] [stdout] For more information about an error, try `rustc --explain E0432`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/linker.rs - linker::Linker::define (line 137) stdout ----
[INFO] [stdout] error[E0432]: unresolved import `wasmtime`
[INFO] [stdout]  --> src/linker.rs:138:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use wasmtime::*;
[INFO] [stdout]   |     ^^^^^^^^ use of undeclared crate or module `wasmtime`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ValType`
[INFO] [stdout]  --> src/linker.rs:142:26
[INFO] [stdout]   |
[INFO] [stdout] 7 | let ty = GlobalType::new(ValType::I32, Mutability::Const);
[INFO] [stdout]   |                          ^^^^^^^ use of undeclared type `ValType`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Mutability`
[INFO] [stdout]  --> src/linker.rs:142:40
[INFO] [stdout]   |
[INFO] [stdout] 7 | let ty = GlobalType::new(ValType::I32, Mutability::Const);
[INFO] [stdout]   |                                        ^^^^^^^^^^ use of undeclared type `Mutability`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Store`
[INFO] [stdout]  --> src/linker.rs:140:13
[INFO] [stdout]   |
[INFO] [stdout] 5 | let store = Store::default();
[INFO] [stdout]   |             ^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 3 | use substrate_wasmtime::Store;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Linker`
[INFO] [stdout]  --> src/linker.rs:141:18
[INFO] [stdout]   |
[INFO] [stdout] 6 | let mut linker = Linker::new(&store);
[INFO] [stdout]   |                  ^^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 3 | use substrate_wasmtime::Linker;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `GlobalType`
[INFO] [stdout]  --> src/linker.rs:142:10
[INFO] [stdout]   |
[INFO] [stdout] 7 | let ty = GlobalType::new(ValType::I32, Mutability::Const);
[INFO] [stdout]   |          ^^^^^^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]   |
[INFO] [stdout] 3 | use substrate_wasmtime::GlobalType;
[INFO] [stdout]   |
[INFO] [stdout] 3 | use wasmparser::GlobalType;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Global`
[INFO] [stdout]  --> src/linker.rs:143:14
[INFO] [stdout]   |
[INFO] [stdout] 8 | let global = Global::new(&store, ty, Val::I32(0x1234))?;
[INFO] [stdout]   |              ^^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::alloc::Global;
[INFO] [stdout]   |
[INFO] [stdout] 3 | use substrate_wasmtime::Global;
[INFO] [stdout]   |
[INFO] [stdout] 3 | use wasmparser::Global;
[INFO] [stdout]   |
[INFO] [stdout] 3 | use wasmtime_environ::wasm::Global;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Val`
[INFO] [stdout]  --> src/linker.rs:143:38
[INFO] [stdout]   |
[INFO] [stdout] 8 | let global = Global::new(&store, ty, Val::I32(0x1234))?;
[INFO] [stdout]   |                                      ^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]   |
[INFO] [stdout] 3 | use substrate_wasmtime::Val;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Module`
[INFO] [stdout]   --> src/linker.rs:153:14
[INFO] [stdout]    |
[INFO] [stdout] 18 | let module = Module::new(store.engine(), wat)?;
[INFO] [stdout]    |              ^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]    |
[INFO] [stdout] 3  | use substrate_wasmtime::Module;
[INFO] [stdout]    |
[INFO] [stdout] 3  | use wasmtime_environ::Module;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 9 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0432, E0433.
[INFO] [stdout] For more information about an error, try `rustc --explain E0432`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/module.rs - module::Module::exports (line 418) stdout ----
[INFO] [stdout] error[E0432]: unresolved import `wasmtime`
[INFO] [stdout]  --> src/module.rs:419:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use wasmtime::*;
[INFO] [stdout]   |     ^^^^^^^^ use of undeclared crate or module `wasmtime`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Engine`
[INFO] [stdout]  --> src/module.rs:421:14
[INFO] [stdout]   |
[INFO] [stdout] 5 | let engine = Engine::default();
[INFO] [stdout]   |              ^^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 3 | use substrate_wasmtime::Engine;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Module`
[INFO] [stdout]  --> src/module.rs:422:14
[INFO] [stdout]   |
[INFO] [stdout] 6 | let module = Module::new(&engine, "(module)")?;
[INFO] [stdout]   |              ^^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]   |
[INFO] [stdout] 3 | use substrate_wasmtime::Module;
[INFO] [stdout]   |
[INFO] [stdout] 3 | use wasmtime_environ::Module;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0432, E0433.
[INFO] [stdout] For more information about an error, try `rustc --explain E0432`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/externals.rs - externals::Memory (line 584) stdout ----
[INFO] [stdout] error[E0432]: unresolved import `wasmtime`
[INFO] [stdout]  --> src/externals.rs:585:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use wasmtime::Memory;
[INFO] [stdout]   |     ^^^^^^^^ use of undeclared crate or module `wasmtime`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0432`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/linker.rs - linker::Linker::new (line 73) stdout ----
[INFO] [stdout] error[E0432]: unresolved import `wasmtime`
[INFO] [stdout]  --> src/linker.rs:74:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use wasmtime::{Linker, Store};
[INFO] [stdout]   |     ^^^^^^^^ use of undeclared crate or module `wasmtime`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0432`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/externals.rs - externals::Memory (line 637) stdout ----
[INFO] [stdout] error[E0432]: unresolved import `wasmtime`
[INFO] [stdout]  --> src/externals.rs:639:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use wasmtime::Memory;
[INFO] [stdout]   |     ^^^^^^^^ use of undeclared crate or module `wasmtime`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0432`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/module.rs - module::Module (line 39) stdout ----
[INFO] [stdout] error[E0432]: unresolved import `wasmtime`
[INFO] [stdout]  --> src/module.rs:40:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use wasmtime::*;
[INFO] [stdout]   |     ^^^^^^^^ use of undeclared crate or module `wasmtime`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Engine`
[INFO] [stdout]  --> src/module.rs:42:14
[INFO] [stdout]   |
[INFO] [stdout] 5 | let engine = Engine::default();
[INFO] [stdout]   |              ^^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 3 | use substrate_wasmtime::Engine;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Module`
[INFO] [stdout]  --> src/module.rs:43:14
[INFO] [stdout]   |
[INFO] [stdout] 6 | let module = Module::from_file(&engine, "path/to/foo.wasm")?;
[INFO] [stdout]   |              ^^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]   |
[INFO] [stdout] 3 | use substrate_wasmtime::Module;
[INFO] [stdout]   |
[INFO] [stdout] 3 | use wasmtime_environ::Module;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0432, E0433.
[INFO] [stdout] For more information about an error, try `rustc --explain E0432`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/linker.rs - linker::Linker::instance (line 236) stdout ----
[INFO] [stdout] error[E0432]: unresolved import `wasmtime`
[INFO] [stdout]  --> src/linker.rs:237:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use wasmtime::*;
[INFO] [stdout]   |     ^^^^^^^^ use of undeclared crate or module `wasmtime`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Store`
[INFO] [stdout]  --> src/linker.rs:239:13
[INFO] [stdout]   |
[INFO] [stdout] 5 | let store = Store::default();
[INFO] [stdout]   |             ^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 3 | use substrate_wasmtime::Store;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Linker`
[INFO] [stdout]  --> src/linker.rs:240:18
[INFO] [stdout]   |
[INFO] [stdout] 6 | let mut linker = Linker::new(&store);
[INFO] [stdout]   |                  ^^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 3 | use substrate_wasmtime::Linker;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Module`
[INFO] [stdout]   --> src/linker.rs:244:14
[INFO] [stdout]    |
[INFO] [stdout] 10 | let module = Module::new(store.engine(), wat)?;
[INFO] [stdout]    |              ^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]    |
[INFO] [stdout] 3  | use substrate_wasmtime::Module;
[INFO] [stdout]    |
[INFO] [stdout] 3  | use wasmtime_environ::Module;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Module`
[INFO] [stdout]   --> src/linker.rs:260:14
[INFO] [stdout]    |
[INFO] [stdout] 26 | let module = Module::new(store.engine(), wat)?;
[INFO] [stdout]    |              ^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]    |
[INFO] [stdout] 3  | use substrate_wasmtime::Module;
[INFO] [stdout]    |
[INFO] [stdout] 3  | use wasmtime_environ::Module;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 5 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0432, E0433.
[INFO] [stdout] For more information about an error, try `rustc --explain E0432`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/module.rs - module::Module (line 63) stdout ----
[INFO] [stdout] error[E0432]: unresolved import `wasmtime`
[INFO] [stdout]  --> src/module.rs:64:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use wasmtime::*;
[INFO] [stdout]   |     ^^^^^^^^ use of undeclared crate or module `wasmtime`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Engine`
[INFO] [stdout]  --> src/module.rs:66:14
[INFO] [stdout]   |
[INFO] [stdout] 5 | let engine = Engine::default();
[INFO] [stdout]   |              ^^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 3 | use substrate_wasmtime::Engine;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Module`
[INFO] [stdout]  --> src/module.rs:68:14
[INFO] [stdout]   |
[INFO] [stdout] 7 | let module = Module::new(&engine, &wasm_bytes)?;
[INFO] [stdout]   |              ^^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]   |
[INFO] [stdout] 3 | use substrate_wasmtime::Module;
[INFO] [stdout]   |
[INFO] [stdout] 3 | use wasmtime_environ::Module;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Module`
[INFO] [stdout]   --> src/module.rs:71:14
[INFO] [stdout]    |
[INFO] [stdout] 10 | let module = Module::new(&engine, "(module (func))")?;
[INFO] [stdout]    |              ^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]    |
[INFO] [stdout] 3  | use substrate_wasmtime::Module;
[INFO] [stdout]    |
[INFO] [stdout] 3  | use wasmtime_environ::Module;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 4 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0432, E0433.
[INFO] [stdout] For more information about an error, try `rustc --explain E0432`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/func.rs - func::Func::wrap (line 410) stdout ----
[INFO] [stdout] error[E0432]: unresolved import `wasmtime`
[INFO] [stdout]  --> src/func.rs:411:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use wasmtime::*;
[INFO] [stdout]   |     ^^^^^^^^ use of undeclared crate or module `wasmtime`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Store`
[INFO] [stdout]  --> src/func.rs:413:13
[INFO] [stdout]   |
[INFO] [stdout] 5 | let store = Store::default();
[INFO] [stdout]   |             ^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 3 | use substrate_wasmtime::Store;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Func`
[INFO] [stdout]  --> src/func.rs:414:11
[INFO] [stdout]   |
[INFO] [stdout] 6 | let add = Func::wrap(&store, |a: i32, b: i32| {
[INFO] [stdout]   |           ^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 3 | use substrate_wasmtime::Func;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Trap`
[INFO] [stdout]  --> src/func.rs:417:21
[INFO] [stdout]   |
[INFO] [stdout] 9 |         None => Err(Trap::new("overflow")),
[INFO] [stdout]   |                     ^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]   |
[INFO] [stdout] 3 | use substrate_wasmtime::Trap;
[INFO] [stdout]   |
[INFO] [stdout] 3 | use wasmtime_runtime::Trap;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Module`
[INFO] [stdout]   --> src/func.rs:420:14
[INFO] [stdout]    |
[INFO] [stdout] 12 | let module = Module::new(
[INFO] [stdout]    |              ^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]    |
[INFO] [stdout] 3  | use substrate_wasmtime::Module;
[INFO] [stdout]    |
[INFO] [stdout] 3  | use wasmtime_environ::Module;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Instance`
[INFO] [stdout]   --> src/func.rs:431:16
[INFO] [stdout]    |
[INFO] [stdout] 23 | let instance = Instance::new(&store, &module, &[add.into()])?;
[INFO] [stdout]    |                ^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]    |
[INFO] [stdout] 3  | use substrate_wasmtime::Instance;
[INFO] [stdout]    |
[INFO] [stdout] 3  | use wasmparser::Instance;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 6 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0432, E0433.
[INFO] [stdout] For more information about an error, try `rustc --explain E0432`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/module.rs - module::Module::from_binary (line 218) stdout ----
[INFO] [stdout] error[E0432]: unresolved import `wasmtime`
[INFO] [stdout]  --> src/module.rs:219:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use wasmtime::*;
[INFO] [stdout]   |     ^^^^^^^^ use of undeclared crate or module `wasmtime`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Engine`
[INFO] [stdout]  --> src/module.rs:221:14
[INFO] [stdout]   |
[INFO] [stdout] 5 | let engine = Engine::default();
[INFO] [stdout]   |              ^^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 3 | use substrate_wasmtime::Engine;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Module`
[INFO] [stdout]  --> src/module.rs:223:14
[INFO] [stdout]   |
[INFO] [stdout] 7 | let module = Module::from_binary(&engine, wasm)?;
[INFO] [stdout]   |              ^^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]   |
[INFO] [stdout] 3 | use substrate_wasmtime::Module;
[INFO] [stdout]   |
[INFO] [stdout] 3 | use wasmtime_environ::Module;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0432, E0433.
[INFO] [stdout] For more information about an error, try `rustc --explain E0432`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/module.rs - module::Module::from_file (line 180) stdout ----
[INFO] [stdout] error[E0432]: unresolved import `wasmtime`
[INFO] [stdout]  --> src/module.rs:181:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use wasmtime::*;
[INFO] [stdout]   |     ^^^^^^^^ use of undeclared crate or module `wasmtime`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Engine`
[INFO] [stdout]  --> src/module.rs:183:14
[INFO] [stdout]   |
[INFO] [stdout] 5 | let engine = Engine::default();
[INFO] [stdout]   |              ^^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 3 | use substrate_wasmtime::Engine;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Module`
[INFO] [stdout]  --> src/module.rs:184:14
[INFO] [stdout]   |
[INFO] [stdout] 6 | let module = Module::from_file(&engine, "./path/to/foo.wasm")?;
[INFO] [stdout]   |              ^^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]   |
[INFO] [stdout] 3 | use substrate_wasmtime::Module;
[INFO] [stdout]   |
[INFO] [stdout] 3 | use wasmtime_environ::Module;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0432, E0433.
[INFO] [stdout] For more information about an error, try `rustc --explain E0432`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/module.rs - module::Module (line 50) stdout ----
[INFO] [stdout] error[E0432]: unresolved import `wasmtime`
[INFO] [stdout]  --> src/module.rs:51:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use wasmtime::*;
[INFO] [stdout]   |     ^^^^^^^^ use of undeclared crate or module `wasmtime`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Engine`
[INFO] [stdout]  --> src/module.rs:53:14
[INFO] [stdout]   |
[INFO] [stdout] 5 | let engine = Engine::default();
[INFO] [stdout]   |              ^^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 3 | use substrate_wasmtime::Engine;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Module`
[INFO] [stdout]  --> src/module.rs:55:14
[INFO] [stdout]   |
[INFO] [stdout] 7 | let module = Module::from_file(&engine, "path/to/foo.wat")?;
[INFO] [stdout]   |              ^^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]   |
[INFO] [stdout] 3 | use substrate_wasmtime::Module;
[INFO] [stdout]   |
[INFO] [stdout] 3 | use wasmtime_environ::Module;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0432, E0433.
[INFO] [stdout] For more information about an error, try `rustc --explain E0432`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/module.rs - module::Module::from_file (line 191) stdout ----
[INFO] [stdout] error[E0432]: unresolved import `wasmtime`
[INFO] [stdout]  --> src/module.rs:192:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use wasmtime::*;
[INFO] [stdout]   |     ^^^^^^^^ use of undeclared crate or module `wasmtime`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Engine`
[INFO] [stdout]  --> src/module.rs:194:14
[INFO] [stdout]   |
[INFO] [stdout] 5 | let engine = Engine::default();
[INFO] [stdout]   |              ^^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 3 | use substrate_wasmtime::Engine;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Module`
[INFO] [stdout]  --> src/module.rs:195:14
[INFO] [stdout]   |
[INFO] [stdout] 6 | let module = Module::from_file(&engine, "./path/to/foo.wat")?;
[INFO] [stdout]   |              ^^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]   |
[INFO] [stdout] 3 | use substrate_wasmtime::Module;
[INFO] [stdout]   |
[INFO] [stdout] 3 | use wasmtime_environ::Module;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0432, E0433.
[INFO] [stdout] For more information about an error, try `rustc --explain E0432`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/module.rs - module::Module::exports (line 430) stdout ----
[INFO] [stdout] error[E0432]: unresolved import `wasmtime`
[INFO] [stdout]  --> src/module.rs:431:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use wasmtime::*;
[INFO] [stdout]   |     ^^^^^^^^ use of undeclared crate or module `wasmtime`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ExternType`
[INFO] [stdout]   --> src/module.rs:447:5
[INFO] [stdout]    |
[INFO] [stdout] 19 |     ExternType::Func(_) => { /* ... */ }
[INFO] [stdout]    |     ^^^^^^^^^^ use of undeclared type `ExternType`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ExternType`
[INFO] [stdout]   --> src/module.rs:454:5
[INFO] [stdout]    |
[INFO] [stdout] 26 |     ExternType::Memory(_) => { /* ... */ }
[INFO] [stdout]    |     ^^^^^^^^^^ use of undeclared type `ExternType`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Engine`
[INFO] [stdout]  --> src/module.rs:433:14
[INFO] [stdout]   |
[INFO] [stdout] 5 | let engine = Engine::default();
[INFO] [stdout]   |              ^^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 3 | use substrate_wasmtime::Engine;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Module`
[INFO] [stdout]   --> src/module.rs:440:14
[INFO] [stdout]    |
[INFO] [stdout] 12 | let module = Module::new(&engine, wat)?;
[INFO] [stdout]    |              ^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]    |
[INFO] [stdout] 3  | use substrate_wasmtime::Module;
[INFO] [stdout]    |
[INFO] [stdout] 3  | use wasmtime_environ::Module;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 5 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0432, E0433.
[INFO] [stdout] For more information about an error, try `rustc --explain E0432`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/trap.rs - trap::Trap::new (line 51) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `wasmtime`
[INFO] [stdout]  --> src/trap.rs:52:22
[INFO] [stdout]   |
[INFO] [stdout] 4 | let trap = wasmtime::Trap::new("unexpected error");
[INFO] [stdout]   |                      ^^^^ not found in `wasmtime`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]   |
[INFO] [stdout] 3 | use substrate_wasmtime::Trap;
[INFO] [stdout]   |
[INFO] [stdout] 3 | use wasmtime_runtime::Trap;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 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/linker.rs - linker::Linker::module (line 334) stdout ----
[INFO] [stdout] error[E0432]: unresolved import `wasmtime`
[INFO] [stdout]  --> src/linker.rs:335:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use wasmtime::*;
[INFO] [stdout]   |     ^^^^^^^^ use of undeclared crate or module `wasmtime`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Store`
[INFO] [stdout]  --> src/linker.rs:337:13
[INFO] [stdout]   |
[INFO] [stdout] 5 | let store = Store::default();
[INFO] [stdout]   |             ^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 3 | use substrate_wasmtime::Store;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Linker`
[INFO] [stdout]  --> src/linker.rs:338:18
[INFO] [stdout]   |
[INFO] [stdout] 6 | let mut linker = Linker::new(&store);
[INFO] [stdout]   |                  ^^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 3 | use substrate_wasmtime::Linker;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Module`
[INFO] [stdout]   --> src/linker.rs:353:14
[INFO] [stdout]    |
[INFO] [stdout] 21 | let module = Module::new(store.engine(), wat)?;
[INFO] [stdout]    |              ^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]    |
[INFO] [stdout] 3  | use substrate_wasmtime::Module;
[INFO] [stdout]    |
[INFO] [stdout] 3  | use wasmtime_environ::Module;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Module`
[INFO] [stdout]   --> src/linker.rs:372:14
[INFO] [stdout]    |
[INFO] [stdout] 40 | let module = Module::new(store.engine(), wat)?;
[INFO] [stdout]    |              ^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]    |
[INFO] [stdout] 3  | use substrate_wasmtime::Module;
[INFO] [stdout]    |
[INFO] [stdout] 3  | use wasmtime_environ::Module;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 5 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0432, E0433.
[INFO] [stdout] For more information about an error, try `rustc --explain E0432`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/module.rs - module::Module::from_binary (line 230) stdout ----
[INFO] [stdout] error[E0432]: unresolved import `wasmtime`
[INFO] [stdout]  --> src/module.rs:231:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use wasmtime::*;
[INFO] [stdout]   |     ^^^^^^^^ use of undeclared crate or module `wasmtime`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Engine`
[INFO] [stdout]  --> src/module.rs:233:14
[INFO] [stdout]   |
[INFO] [stdout] 5 | let engine = Engine::default();
[INFO] [stdout]   |              ^^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 3 | use substrate_wasmtime::Engine;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Module`
[INFO] [stdout]  --> src/module.rs:234:9
[INFO] [stdout]   |
[INFO] [stdout] 6 | assert!(Module::from_binary(&engine, b"(module)").is_err());
[INFO] [stdout]   |         ^^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]   |
[INFO] [stdout] 3 | use substrate_wasmtime::Module;
[INFO] [stdout]   |
[INFO] [stdout] 3 | use wasmtime_environ::Module;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0432, E0433.
[INFO] [stdout] For more information about an error, try `rustc --explain E0432`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/module.rs - module::Module::get_export (line 490) stdout ----
[INFO] [stdout] error[E0432]: unresolved import `wasmtime`
[INFO] [stdout]  --> src/module.rs:491:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use wasmtime::*;
[INFO] [stdout]   |     ^^^^^^^^ use of undeclared crate or module `wasmtime`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ExternType`
[INFO] [stdout]   --> src/module.rs:506:5
[INFO] [stdout]    |
[INFO] [stdout] 18 |     ExternType::Func(_) => { /* ... */ }
[INFO] [stdout]    |     ^^^^^^^^^^ use of undeclared type `ExternType`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Engine`
[INFO] [stdout]  --> src/module.rs:493:14
[INFO] [stdout]   |
[INFO] [stdout] 5 | let engine = Engine::default();
[INFO] [stdout]   |              ^^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 3 | use substrate_wasmtime::Engine;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Module`
[INFO] [stdout]   --> src/module.rs:500:14
[INFO] [stdout]    |
[INFO] [stdout] 12 | let module = Module::new(&engine, wat)?;
[INFO] [stdout]    |              ^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]    |
[INFO] [stdout] 3  | use substrate_wasmtime::Module;
[INFO] [stdout]    |
[INFO] [stdout] 3  | use wasmtime_environ::Module;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 4 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0432, E0433.
[INFO] [stdout] For more information about an error, try `rustc --explain E0432`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/module.rs - module::Module::get_export (line 478) stdout ----
[INFO] [stdout] error[E0432]: unresolved import `wasmtime`
[INFO] [stdout]  --> src/module.rs:479:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use wasmtime::*;
[INFO] [stdout]   |     ^^^^^^^^ use of undeclared crate or module `wasmtime`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Engine`
[INFO] [stdout]  --> src/module.rs:481:14
[INFO] [stdout]   |
[INFO] [stdout] 5 | let engine = Engine::default();
[INFO] [stdout]   |              ^^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 3 | use substrate_wasmtime::Engine;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Module`
[INFO] [stdout]  --> src/module.rs:482:14
[INFO] [stdout]   |
[INFO] [stdout] 6 | let module = Module::new(&engine, "(module)")?;
[INFO] [stdout]   |              ^^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]   |
[INFO] [stdout] 3 | use substrate_wasmtime::Module;
[INFO] [stdout]   |
[INFO] [stdout] 3 | use wasmtime_environ::Module;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0432, E0433.
[INFO] [stdout] For more information about an error, try `rustc --explain E0432`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/module.rs - module::Module::new (line 130) stdout ----
[INFO] [stdout] error[E0432]: unresolved import `wasmtime`
[INFO] [stdout]  --> src/module.rs:131:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use wasmtime::*;
[INFO] [stdout]   |     ^^^^^^^^ use of undeclared crate or module `wasmtime`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Engine`
[INFO] [stdout]  --> src/module.rs:133:14
[INFO] [stdout]   |
[INFO] [stdout] 5 | let engine = Engine::default();
[INFO] [stdout]   |              ^^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 3 | use substrate_wasmtime::Engine;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Module`
[INFO] [stdout]  --> src/module.rs:135:14
[INFO] [stdout]   |
[INFO] [stdout] 7 | let module = Module::new(&engine, &wasm_bytes)?;
[INFO] [stdout]   |              ^^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]   |
[INFO] [stdout] 3 | use substrate_wasmtime::Module;
[INFO] [stdout]   |
[INFO] [stdout] 3 | use wasmtime_environ::Module;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0432, E0433.
[INFO] [stdout] For more information about an error, try `rustc --explain E0432`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/module.rs - module::Module::new (line 143) stdout ----
[INFO] [stdout] error[E0432]: unresolved import `wasmtime`
[INFO] [stdout]  --> src/module.rs:144:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use wasmtime::*;
[INFO] [stdout]   |     ^^^^^^^^ use of undeclared crate or module `wasmtime`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Engine`
[INFO] [stdout]  --> src/module.rs:146:14
[INFO] [stdout]   |
[INFO] [stdout] 5 | let engine = Engine::default();
[INFO] [stdout]   |              ^^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 3 | use substrate_wasmtime::Engine;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Module`
[INFO] [stdout]  --> src/module.rs:147:14
[INFO] [stdout]   |
[INFO] [stdout] 6 | let module = Module::new(&engine, "(module (func))")?;
[INFO] [stdout]   |              ^^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]   |
[INFO] [stdout] 3 | use substrate_wasmtime::Module;
[INFO] [stdout]   |
[INFO] [stdout] 3 | use wasmtime_environ::Module;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0432, E0433.
[INFO] [stdout] For more information about an error, try `rustc --explain E0432`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/module.rs - module::Module::imports (line 372) stdout ----
[INFO] [stdout] error[E0432]: unresolved import `wasmtime`
[INFO] [stdout]  --> src/module.rs:373:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use wasmtime::*;
[INFO] [stdout]   |     ^^^^^^^^ use of undeclared crate or module `wasmtime`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ExternType`
[INFO] [stdout]   --> src/module.rs:387:5
[INFO] [stdout]    |
[INFO] [stdout] 17 |     ExternType::Func(_) => { /* ... */ }
[INFO] [stdout]    |     ^^^^^^^^^^ use of undeclared type `ExternType`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Engine`
[INFO] [stdout]  --> src/module.rs:375:14
[INFO] [stdout]   |
[INFO] [stdout] 5 | let engine = Engine::default();
[INFO] [stdout]   |              ^^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 3 | use substrate_wasmtime::Engine;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Module`
[INFO] [stdout]   --> src/module.rs:381:14
[INFO] [stdout]    |
[INFO] [stdout] 11 | let module = Module::new(&engine, wat)?;
[INFO] [stdout]    |              ^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]    |
[INFO] [stdout] 3  | use substrate_wasmtime::Module;
[INFO] [stdout]    |
[INFO] [stdout] 3  | use wasmtime_environ::Module;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 4 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0432, E0433.
[INFO] [stdout] For more information about an error, try `rustc --explain E0432`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/module.rs - module::Module::imports (line 360) stdout ----
[INFO] [stdout] error[E0432]: unresolved import `wasmtime`
[INFO] [stdout]  --> src/module.rs:361:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use wasmtime::*;
[INFO] [stdout]   |     ^^^^^^^^ use of undeclared crate or module `wasmtime`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Engine`
[INFO] [stdout]  --> src/module.rs:363:14
[INFO] [stdout]   |
[INFO] [stdout] 5 | let engine = Engine::default();
[INFO] [stdout]   |              ^^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 3 | use substrate_wasmtime::Engine;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Module`
[INFO] [stdout]  --> src/module.rs:364:14
[INFO] [stdout]   |
[INFO] [stdout] 6 | let module = Module::new(&engine, "(module)")?;
[INFO] [stdout]   |              ^^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]   |
[INFO] [stdout] 3 | use substrate_wasmtime::Module;
[INFO] [stdout]   |
[INFO] [stdout] 3 | use wasmtime_environ::Module;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0432, E0433.
[INFO] [stdout] For more information about an error, try `rustc --explain E0432`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/module.rs - module::Module::name (line 325) stdout ----
[INFO] [stdout] error[E0432]: unresolved import `wasmtime`
[INFO] [stdout]  --> src/module.rs:326:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use wasmtime::*;
[INFO] [stdout]   |     ^^^^^^^^ use of undeclared crate or module `wasmtime`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Engine`
[INFO] [stdout]  --> src/module.rs:328:14
[INFO] [stdout]   |
[INFO] [stdout] 5 | let engine = Engine::default();
[INFO] [stdout]   |              ^^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 3 | use substrate_wasmtime::Engine;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Module`
[INFO] [stdout]  --> src/module.rs:329:14
[INFO] [stdout]   |
[INFO] [stdout] 6 | let module = Module::new(&engine, "(module $foo)")?;
[INFO] [stdout]   |              ^^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]   |
[INFO] [stdout] 3 | use substrate_wasmtime::Module;
[INFO] [stdout]   |
[INFO] [stdout] 3 | use wasmtime_environ::Module;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Module`
[INFO] [stdout]  --> src/module.rs:332:14
[INFO] [stdout]   |
[INFO] [stdout] 9 | let module = Module::new(&engine, "(module)")?;
[INFO] [stdout]   |              ^^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]   |
[INFO] [stdout] 3 | use substrate_wasmtime::Module;
[INFO] [stdout]   |
[INFO] [stdout] 3 | use wasmtime_environ::Module;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Module`
[INFO] [stdout]   --> src/module.rs:335:14
[INFO] [stdout]    |
[INFO] [stdout] 12 | let module = Module::new_with_name(&engine, "(module)", "bar")?;
[INFO] [stdout]    |              ^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]    |
[INFO] [stdout] 3  | use substrate_wasmtime::Module;
[INFO] [stdout]    |
[INFO] [stdout] 3  | use wasmtime_environ::Module;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 5 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0432, E0433.
[INFO] [stdout] For more information about an error, try `rustc --explain E0432`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/runtime.rs - runtime::Store::interrupt_handle (line 1083) stdout ----
[INFO] [stdout] error[E0432]: unresolved import `wasmtime`
[INFO] [stdout]  --> src/runtime.rs:1085:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use wasmtime::*;
[INFO] [stdout]   |     ^^^^^^^^ use of undeclared crate or module `wasmtime`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Engine`
[INFO] [stdout]  --> src/runtime.rs:1089:14
[INFO] [stdout]   |
[INFO] [stdout] 8 | let engine = Engine::new(Config::new().interruptable(true));
[INFO] [stdout]   |              ^^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 3 | use substrate_wasmtime::Engine;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Config`
[INFO] [stdout]  --> src/runtime.rs:1089:26
[INFO] [stdout]   |
[INFO] [stdout] 8 | let engine = Engine::new(Config::new().interruptable(true));
[INFO] [stdout]   |                          ^^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 3 | use substrate_wasmtime::Config;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Store`
[INFO] [stdout]  --> src/runtime.rs:1090:13
[INFO] [stdout]   |
[INFO] [stdout] 9 | let store = Store::new(&engine);
[INFO] [stdout]   |             ^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 3 | use substrate_wasmtime::Store;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Module`
[INFO] [stdout]   --> src/runtime.rs:1094:14
[INFO] [stdout]    |
[INFO] [stdout] 13 | let module = Module::new(&engine, r#"
[INFO] [stdout]    |              ^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]    |
[INFO] [stdout] 3  | use substrate_wasmtime::Module;
[INFO] [stdout]    |
[INFO] [stdout] 3  | use wasmtime_environ::Module;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Instance`
[INFO] [stdout]   --> src/runtime.rs:1097:16
[INFO] [stdout]    |
[INFO] [stdout] 16 | let instance = Instance::new(&store, &module, &[])?;
[INFO] [stdout]    |                ^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]    |
[INFO] [stdout] 3  | use substrate_wasmtime::Instance;
[INFO] [stdout]    |
[INFO] [stdout] 3  | use wasmparser::Instance;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 6 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0432, E0433.
[INFO] [stdout] For more information about an error, try `rustc --explain E0432`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout]     src/externals.rs - externals::Memory (line 584)
[INFO] [stdout]     src/externals.rs - externals::Memory (line 637)
[INFO] [stdout]     src/externals.rs - externals::Memory::grow (line 891)
[INFO] [stdout]     src/externals.rs - externals::Memory::new (line 750)
[INFO] [stdout]     src/externals.rs - externals::Memory::ty (line 778)
[INFO] [stdout]     src/func.rs - func::Func (line 108)
[INFO] [stdout]     src/func.rs - func::Func (line 41)
[INFO] [stdout]     src/func.rs - func::Func (line 72)
[INFO] [stdout]     src/func.rs - func::Func::wrap (line 384)
[INFO] [stdout]     src/func.rs - func::Func::wrap (line 410)
[INFO] [stdout]     src/func.rs - func::Func::wrap (line 441)
[INFO] [stdout]     src/func.rs - func::Func::wrap (line 479)
[INFO] [stdout]     src/lib.rs - (line 153)
[INFO] [stdout]     src/lib.rs - (line 179)
[INFO] [stdout]     src/lib.rs - (line 22)
[INFO] [stdout]     src/linker.rs - linker::Linker::allow_shadowing (line 99)
[INFO] [stdout]     src/linker.rs - linker::Linker::define (line 137)
[INFO] [stdout]     src/linker.rs - linker::Linker::func (line 188)
[INFO] [stdout]     src/linker.rs - linker::Linker::instance (line 236)
[INFO] [stdout]     src/linker.rs - linker::Linker::instantiate (line 557)
[INFO] [stdout]     src/linker.rs - linker::Linker::module (line 305)
[INFO] [stdout]     src/linker.rs - linker::Linker::module (line 334)
[INFO] [stdout]     src/linker.rs - linker::Linker::new (line 73)
[INFO] [stdout]     src/module.rs - module::Module (line 39)
[INFO] [stdout]     src/module.rs - module::Module (line 50)
[INFO] [stdout]     src/module.rs - module::Module (line 63)
[INFO] [stdout]     src/module.rs - module::Module::exports (line 418)
[INFO] [stdout]     src/module.rs - module::Module::exports (line 430)
[INFO] [stdout]     src/module.rs - module::Module::from_binary (line 218)
[INFO] [stdout]     src/module.rs - module::Module::from_binary (line 230)
[INFO] [stdout]     src/module.rs - module::Module::from_file (line 180)
[INFO] [stdout]     src/module.rs - module::Module::from_file (line 191)
[INFO] [stdout]     src/module.rs - module::Module::get_export (line 478)
[INFO] [stdout]     src/module.rs - module::Module::get_export (line 490)
[INFO] [stdout]     src/module.rs - module::Module::imports (line 360)
[INFO] [stdout]     src/module.rs - module::Module::imports (line 372)
[INFO] [stdout]     src/module.rs - module::Module::name (line 325)
[INFO] [stdout]     src/module.rs - module::Module::new (line 130)
[INFO] [stdout]     src/module.rs - module::Module::new (line 143)
[INFO] [stdout]     src/runtime.rs - runtime::Store::interrupt_handle (line 1083)
[INFO] [stdout]     src/trap.rs - trap::Trap::new (line 51)
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 0 passed; 41 failed; 0 ignored; 0 measured; 0 filtered out; finished in 3.30s
[INFO] [stdout] 
[INFO] [stderr] error: test failed, to rerun pass '--doc'
[INFO] running `Command { std: "docker" "inspect" "82f8c122f50f30c311e41643cd91a0bce9637c0da9ee08c6ee496917308dbca9", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "82f8c122f50f30c311e41643cd91a0bce9637c0da9ee08c6ee496917308dbca9", kill_on_drop: false }`
[INFO] [stdout] 82f8c122f50f30c311e41643cd91a0bce9637c0da9ee08c6ee496917308dbca9
