[INFO] crate substrate-wasmtime 0.16.0-threadsafe.4 is already in cache [INFO] testing substrate-wasmtime-0.16.0-threadsafe.4 against beta-2020-06-03 for beta-1.45-1 [INFO] extracting crate substrate-wasmtime 0.16.0-threadsafe.4 into /workspace/builds/worker-2/source [INFO] validating manifest of crates.io crate substrate-wasmtime 0.16.0-threadsafe.4 on toolchain beta-2020-06-03 [INFO] running `"/workspace/cargo-home/bin/cargo" "+beta-2020-06-03" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking crates.io crate substrate-wasmtime 0.16.0-threadsafe.4 [INFO] finished tweaking crates.io crate substrate-wasmtime 0.16.0-threadsafe.4 [INFO] tweaked toml for crates.io crate substrate-wasmtime 0.16.0-threadsafe.4 written to /workspace/builds/worker-2/source/Cargo.toml [INFO] running `"/workspace/cargo-home/bin/cargo" "+beta-2020-06-03" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/workspace/cargo-home/bin/cargo" "+beta-2020-06-03" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded wat v1.0.19 [INFO] [stderr] Downloaded wast v18.0.0 [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2020-06-03" "build" "--frozen"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 2cb9f31456a5f6522b1d97d23aecfda9a608abd444e0aa63e96393766c0e089c [INFO] running `"docker" "start" "-a" "2cb9f31456a5f6522b1d97d23aecfda9a608abd444e0aa63e96393766c0e089c"` [INFO] [stderr] sudo: setrlimit(RLIMIT_CORE): Operation not permitted [INFO] [stderr] Compiling target-lexicon v0.10.0 [INFO] [stderr] Compiling cranelift-codegen-shared v0.63.0 [INFO] [stderr] Compiling arrayvec v0.5.1 [INFO] [stderr] Compiling stable_deref_trait v1.1.1 [INFO] [stderr] Compiling fallible-iterator v0.2.0 [INFO] [stderr] Compiling wasmtime-environ v0.16.0 [INFO] [stderr] Compiling wasmparser v0.51.4 [INFO] [stderr] Compiling more-asserts v0.2.1 [INFO] [stderr] Compiling plain v0.2.3 [INFO] [stderr] Compiling leb128 v0.2.4 [INFO] [stderr] Compiling wasmparser v0.52.2 [INFO] [stderr] Compiling regalloc v0.0.21 [INFO] [stderr] Compiling errno v0.2.5 [INFO] [stderr] Compiling region v2.2.0 [INFO] [stderr] Compiling directories v2.0.2 [INFO] [stderr] Compiling zstd-sys v1.4.16+zstd.1.4.5 [INFO] [stderr] Compiling substrate-wasmtime-runtime v0.16.0-threadsafe.4 [INFO] [stderr] Compiling raw-cpuid v7.0.3 [INFO] [stderr] Compiling file-per-thread-logger v0.1.3 [INFO] [stderr] Compiling wast v18.0.0 [INFO] [stderr] Compiling scroll_derive v0.10.2 [INFO] [stderr] Compiling cranelift-entity v0.63.0 [INFO] [stderr] Compiling bincode v1.2.1 [INFO] [stderr] Compiling toml v0.5.6 [INFO] [stderr] Compiling string-interner v0.7.1 [INFO] [stderr] Compiling gimli v0.20.0 [INFO] [stderr] Compiling cranelift-codegen-meta v0.63.0 [INFO] [stderr] Compiling cranelift-bforest v0.63.0 [INFO] [stderr] Compiling object v0.18.0 [INFO] [stderr] Compiling scroll v0.10.1 [INFO] [stderr] Compiling goblin v0.1.3 [INFO] [stderr] Compiling wat v1.0.19 [INFO] [stderr] Compiling faerie v0.15.0 [INFO] [stderr] Compiling cranelift-codegen v0.63.0 [INFO] [stderr] Compiling zstd-safe v2.0.4+zstd.1.4.5 [INFO] [stderr] Compiling zstd v0.5.2+zstd.1.4.5 [INFO] [stderr] Compiling cranelift-frontend v0.63.0 [INFO] [stderr] Compiling cranelift-native v0.63.0 [INFO] [stderr] Compiling cranelift-wasm v0.63.0 [INFO] [stderr] Compiling wasmtime-debug v0.16.0 [INFO] [stderr] Compiling substrate-wasmtime-profiling v0.16.0-threadsafe.4 [INFO] [stderr] Compiling substrate-wasmtime-jit v0.16.0-threadsafe.4 [INFO] [stderr] Compiling substrate-wasmtime v0.16.0-threadsafe.4 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 4m 05s [INFO] running `"docker" "inspect" "2cb9f31456a5f6522b1d97d23aecfda9a608abd444e0aa63e96393766c0e089c"` [INFO] running `"docker" "rm" "-f" "2cb9f31456a5f6522b1d97d23aecfda9a608abd444e0aa63e96393766c0e089c"` [INFO] [stdout] 2cb9f31456a5f6522b1d97d23aecfda9a608abd444e0aa63e96393766c0e089c [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2020-06-03" "test" "--frozen" "--no-run"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 32bcc26895be688b62a8c70d66f48519fe4aa98e4adf106aae8171aedafec2b3 [INFO] running `"docker" "start" "-a" "32bcc26895be688b62a8c70d66f48519fe4aa98e4adf106aae8171aedafec2b3"` [INFO] [stderr] sudo: setrlimit(RLIMIT_CORE): Operation not permitted [INFO] [stderr] Compiling substrate-wasmtime v0.16.0-threadsafe.4 (/opt/rustwide/workdir) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 15.00s [INFO] running `"docker" "inspect" "32bcc26895be688b62a8c70d66f48519fe4aa98e4adf106aae8171aedafec2b3"` [INFO] running `"docker" "rm" "-f" "32bcc26895be688b62a8c70d66f48519fe4aa98e4adf106aae8171aedafec2b3"` [INFO] [stdout] 32bcc26895be688b62a8c70d66f48519fe4aa98e4adf106aae8171aedafec2b3 [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2020-06-03" "test" "--frozen"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] f11083641adb6cc0e85bc1d775eb00eb209e95ca9bc0a2eaf59acbbec4dc4f86 [INFO] running `"docker" "start" "-a" "f11083641adb6cc0e85bc1d775eb00eb209e95ca9bc0a2eaf59acbbec4dc4f86"` [INFO] [stderr] sudo: setrlimit(RLIMIT_CORE): Operation not permitted [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.21s [INFO] [stderr] Running /opt/rustwide/target/debug/deps/substrate_wasmtime-72cd222a07b46cf6 [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] test externals::tests::respect_tunables ... ok [INFO] [stdout] test runtime::tests::cache_accounts_for_opt_level ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out [INFO] [stdout] [INFO] [stderr] Doc-tests substrate-wasmtime [INFO] [stdout] [INFO] [stdout] running 34 tests [INFO] [stdout] test src/func.rs - func::Func::wrap (line 452) ... FAILED [INFO] [stdout] test src/func.rs - func::Func::wrap (line 362) ... FAILED [INFO] [stdout] test src/func.rs - func::Func::wrap (line 419) ... FAILED [INFO] [stdout] test src/linker.rs - linker::Linker::allow_shadowing (line 97) ... FAILED [INFO] [stdout] test src/func.rs - func::Func (line 104) ... FAILED [INFO] [stdout] test src/externals.rs - externals::Memory::new (line 659) ... FAILED [INFO] [stdout] test src/linker.rs - linker::Linker::instance (line 234) ... FAILED [INFO] [stdout] test src/externals.rs - externals::Memory (line 546) ... FAILED [INFO] [stdout] test src/linker.rs - linker::Linker::define (line 135) ... FAILED [INFO] [stdout] test src/externals.rs - externals::Memory (line 493) ... FAILED [INFO] [stdout] test src/func.rs - func::Func (line 38) ... FAILED [INFO] [stdout] test src/externals.rs - externals::Memory::grow (line 798) ... FAILED [INFO] [stdout] test src/func.rs - func::Func (line 68) ... FAILED [INFO] [stdout] test src/externals.rs - externals::Memory::ty (line 686) ... FAILED [INFO] [stdout] test src/linker.rs - linker::Linker::func (line 186) ... FAILED [INFO] [stdout] test src/func.rs - func::Func::wrap (line 388) ... FAILED [INFO] [stdout] test src/linker.rs - linker::Linker::new (line 71) ... FAILED [INFO] [stdout] test src/module.rs - module::Module (line 62) ... FAILED [INFO] [stdout] test src/linker.rs - linker::Linker::instantiate (line 361) ... FAILED [INFO] [stdout] test src/module.rs - module::Module (line 38) ... FAILED [INFO] [stdout] test src/module.rs - module::Module (line 49) ... FAILED [INFO] [stdout] test src/trap.rs - trap::Trap::new (line 28) ... FAILED [INFO] [stdout] test src/module.rs - module::Module::exports (line 426) ... FAILED [INFO] [stdout] test src/module.rs - module::Module::from_file (line 196) ... FAILED [INFO] [stdout] test src/module.rs - module::Module::from_binary (line 235) ... FAILED [INFO] [stdout] test src/module.rs - module::Module::imports (line 380) ... FAILED [INFO] [stdout] test src/module.rs - module::Module::from_binary (line 223) ... FAILED [INFO] [stdout] test src/module.rs - module::Module::exports (line 438) ... FAILED [INFO] [stdout] test src/module.rs - module::Module::new (line 138) ... FAILED [INFO] [stdout] test src/module.rs - module::Module::imports (line 368) ... FAILED [INFO] [stdout] test src/module.rs - module::Module::from_file (line 185) ... FAILED [INFO] [stdout] test src/module.rs - module::Module::name (line 333) ... FAILED [INFO] [stdout] test src/runtime.rs - runtime::Store::interrupt_handle (line 874) ... FAILED [INFO] [stdout] test src/module.rs - module::Module::new (line 151) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/func.rs - func::Func::wrap (line 452) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `wasmtime` [INFO] [stdout] --> src/func.rs:455:5 [INFO] [stdout] | [INFO] [stdout] 5 | use wasmtime::*; [INFO] [stdout] | ^^^^^^^^ use of undeclared type or module `wasmtime` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Store` [INFO] [stdout] --> src/func.rs:457:13 [INFO] [stdout] | [INFO] [stdout] 7 | let store = Store::default(); [INFO] [stdout] | ^^^^^ use of undeclared type or module `Store` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Func` [INFO] [stdout] --> src/func.rs:458:15 [INFO] [stdout] | [INFO] [stdout] 8 | let log_str = Func::wrap(&store, |caller: Caller<'_>, ptr: i32, len: i32| { [INFO] [stdout] | ^^^^ use of undeclared type or module `Func` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Extern` [INFO] [stdout] --> src/func.rs:460:14 [INFO] [stdout] | [INFO] [stdout] 10 | Some(Extern::Memory(mem)) => mem, [INFO] [stdout] | ^^^^^^ use of undeclared type or module `Extern` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Trap` [INFO] [stdout] --> src/func.rs:461:25 [INFO] [stdout] | [INFO] [stdout] 11 | _ => return Err(Trap::new("failed to find host memory")), [INFO] [stdout] | ^^^^ use of undeclared type or module `Trap` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Trap` [INFO] [stdout] --> src/func.rs:476:38 [INFO] [stdout] | [INFO] [stdout] 26 | Err(_) => return Err(Trap::new("invalid utf-8")), [INFO] [stdout] | ^^^^ use of undeclared type or module `Trap` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Trap` [INFO] [stdout] --> src/func.rs:478:32 [INFO] [stdout] | [INFO] [stdout] 28 | None => return Err(Trap::new("pointer/length out of bounds")), [INFO] [stdout] | ^^^^ use of undeclared type or module `Trap` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Module` [INFO] [stdout] --> src/func.rs:485:14 [INFO] [stdout] | [INFO] [stdout] 35 | let module = Module::new( [INFO] [stdout] | ^^^^^^ use of undeclared type or module `Module` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Instance` [INFO] [stdout] --> src/func.rs:498:16 [INFO] [stdout] | [INFO] [stdout] 48 | let instance = Instance::new(&module, &[log_str.into()])?; [INFO] [stdout] | ^^^^^^^^ use of undeclared type or module `Instance` [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Caller` in this scope [INFO] [stdout] --> src/func.rs:458: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: 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 362) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `wasmtime` [INFO] [stdout] --> src/func.rs:363:5 [INFO] [stdout] | [INFO] [stdout] 3 | use wasmtime::*; [INFO] [stdout] | ^^^^^^^^ use of undeclared type or module `wasmtime` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Store` [INFO] [stdout] --> src/func.rs:365:13 [INFO] [stdout] | [INFO] [stdout] 5 | let store = Store::default(); [INFO] [stdout] | ^^^^^ use of undeclared type or module `Store` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Func` [INFO] [stdout] --> src/func.rs:366:11 [INFO] [stdout] | [INFO] [stdout] 6 | let add = Func::wrap(&store, |a: i32, b: i32| a + b); [INFO] [stdout] | ^^^^ use of undeclared type or module `Func` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Module` [INFO] [stdout] --> src/func.rs:367:14 [INFO] [stdout] | [INFO] [stdout] 7 | let module = Module::new( [INFO] [stdout] | ^^^^^^ use of undeclared type or module `Module` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Instance` [INFO] [stdout] --> src/func.rs:378:16 [INFO] [stdout] | [INFO] [stdout] 18 | let instance = Instance::new(&module, &[add.into()])?; [INFO] [stdout] | ^^^^^^^^ use of undeclared type or module `Instance` [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 419) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `wasmtime` [INFO] [stdout] --> src/func.rs:420:5 [INFO] [stdout] | [INFO] [stdout] 3 | use wasmtime::*; [INFO] [stdout] | ^^^^^^^^ use of undeclared type or module `wasmtime` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Store` [INFO] [stdout] --> src/func.rs:422:13 [INFO] [stdout] | [INFO] [stdout] 5 | let store = Store::default(); [INFO] [stdout] | ^^^^^ use of undeclared type or module `Store` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Func` [INFO] [stdout] --> src/func.rs:423:13 [INFO] [stdout] | [INFO] [stdout] 6 | let debug = Func::wrap(&store, |a: i32, b: f32, c: i64, d: f64| { [INFO] [stdout] | ^^^^ use of undeclared type or module `Func` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Module` [INFO] [stdout] --> src/func.rs:429:14 [INFO] [stdout] | [INFO] [stdout] 12 | let module = Module::new( [INFO] [stdout] | ^^^^^^ use of undeclared type or module `Module` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Instance` [INFO] [stdout] --> src/func.rs:442:16 [INFO] [stdout] | [INFO] [stdout] 25 | let instance = Instance::new(&module, &[debug.into()])?; [INFO] [stdout] | ^^^^^^^^ use of undeclared type or module `Instance` [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::allow_shadowing (line 97) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `wasmtime` [INFO] [stdout] --> src/linker.rs:98:5 [INFO] [stdout] | [INFO] [stdout] 3 | use wasmtime::*; [INFO] [stdout] | ^^^^^^^^ use of undeclared type or module `wasmtime` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Store` [INFO] [stdout] --> src/linker.rs:100:13 [INFO] [stdout] | [INFO] [stdout] 5 | let store = Store::default(); [INFO] [stdout] | ^^^^^ use of undeclared type or module `Store` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Linker` [INFO] [stdout] --> src/linker.rs:101:18 [INFO] [stdout] | [INFO] [stdout] 6 | let mut linker = Linker::new(&store); [INFO] [stdout] | ^^^^^^ use of undeclared type or module `Linker` [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/func.rs - func::Func (line 104) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `wasmtime` [INFO] [stdout] --> src/func.rs:105:5 [INFO] [stdout] | [INFO] [stdout] 3 | use wasmtime::*; [INFO] [stdout] | ^^^^^^^^ use of undeclared type or module `wasmtime` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Store` [INFO] [stdout] --> src/func.rs:107:13 [INFO] [stdout] | [INFO] [stdout] 5 | let store = Store::default(); [INFO] [stdout] | ^^^^^ use of undeclared type or module `Store` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `wasmtime` [INFO] [stdout] --> src/func.rs:111:19 [INFO] [stdout] | [INFO] [stdout] 9 | let double_type = wasmtime::FuncType::new( [INFO] [stdout] | ^^^^^^^^ use of undeclared type or module `wasmtime` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `wasmtime` [INFO] [stdout] --> src/func.rs:112:15 [INFO] [stdout] | [INFO] [stdout] 10 | Box::new([wasmtime::ValType::I32]), [INFO] [stdout] | ^^^^^^^^ use of undeclared type or module `wasmtime` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `wasmtime` [INFO] [stdout] --> src/func.rs:113:15 [INFO] [stdout] | [INFO] [stdout] 11 | Box::new([wasmtime::ValType::I32]) [INFO] [stdout] | ^^^^^^^^ use of undeclared type or module `wasmtime` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Func` [INFO] [stdout] --> src/func.rs:115:14 [INFO] [stdout] | [INFO] [stdout] 13 | let double = Func::new(&store, double_type, |_, params, results| { [INFO] [stdout] | ^^^^ use of undeclared type or module `Func` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Module` [INFO] [stdout] --> src/func.rs:122:14 [INFO] [stdout] | [INFO] [stdout] 20 | let module = Module::new( [INFO] [stdout] | ^^^^^^ use of undeclared type or module `Module` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Instance` [INFO] [stdout] --> src/func.rs:134:16 [INFO] [stdout] | [INFO] [stdout] 32 | let instance = Instance::new(&module, &[double.into()])?; [INFO] [stdout] | ^^^^^^^^ use of undeclared type or module `Instance` [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/externals.rs - externals::Memory::new (line 659) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `wasmtime` [INFO] [stdout] --> src/externals.rs:660:5 [INFO] [stdout] | [INFO] [stdout] 3 | use wasmtime::*; [INFO] [stdout] | ^^^^^^^^ use of undeclared type or module `wasmtime` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Store` [INFO] [stdout] --> src/externals.rs:662:13 [INFO] [stdout] | [INFO] [stdout] 5 | let store = Store::default(); [INFO] [stdout] | ^^^^^ use of undeclared type or module `Store` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `MemoryType` [INFO] [stdout] --> src/externals.rs:664:17 [INFO] [stdout] | [INFO] [stdout] 7 | let memory_ty = MemoryType::new(Limits::new(1, None)); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type or module `MemoryType` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Limits` [INFO] [stdout] --> src/externals.rs:664:33 [INFO] [stdout] | [INFO] [stdout] 7 | let memory_ty = MemoryType::new(Limits::new(1, None)); [INFO] [stdout] | ^^^^^^ use of undeclared type or module `Limits` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Memory` [INFO] [stdout] --> src/externals.rs:665:14 [INFO] [stdout] | [INFO] [stdout] 8 | let memory = Memory::new(&store, memory_ty); [INFO] [stdout] | ^^^^^^ use of undeclared type or module `Memory` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Module` [INFO] [stdout] --> src/externals.rs:667:14 [INFO] [stdout] | [INFO] [stdout] 10 | let module = Module::new(&store, "(module (memory (import \"\" \"\") 1))")?; [INFO] [stdout] | ^^^^^^ use of undeclared type or module `Module` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Instance` [INFO] [stdout] --> src/externals.rs:668:16 [INFO] [stdout] | [INFO] [stdout] 11 | let instance = Instance::new(&module, &[memory.into()])?; [INFO] [stdout] | ^^^^^^^^ use of undeclared type or module `Instance` [INFO] [stdout] [INFO] [stdout] error: aborting due to 7 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 234) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `wasmtime` [INFO] [stdout] --> src/linker.rs:235:5 [INFO] [stdout] | [INFO] [stdout] 3 | use wasmtime::*; [INFO] [stdout] | ^^^^^^^^ use of undeclared type or module `wasmtime` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Store` [INFO] [stdout] --> src/linker.rs:237:13 [INFO] [stdout] | [INFO] [stdout] 5 | let store = Store::default(); [INFO] [stdout] | ^^^^^ use of undeclared type or module `Store` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Linker` [INFO] [stdout] --> src/linker.rs:238:18 [INFO] [stdout] | [INFO] [stdout] 6 | let mut linker = Linker::new(&store); [INFO] [stdout] | ^^^^^^ use of undeclared type or module `Linker` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Module` [INFO] [stdout] --> src/linker.rs:242:14 [INFO] [stdout] | [INFO] [stdout] 10 | let module = Module::new(&store, wat)?; [INFO] [stdout] | ^^^^^^ use of undeclared type or module `Module` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Module` [INFO] [stdout] --> src/linker.rs:258:14 [INFO] [stdout] | [INFO] [stdout] 26 | let module = Module::new(&store, wat)?; [INFO] [stdout] | ^^^^^^ use of undeclared type or module `Module` [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 (line 546) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `wasmtime` [INFO] [stdout] --> src/externals.rs:548:5 [INFO] [stdout] | [INFO] [stdout] 5 | use wasmtime::Memory; [INFO] [stdout] | ^^^^^^^^ use of undeclared type 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::define (line 135) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `wasmtime` [INFO] [stdout] --> src/linker.rs:136:5 [INFO] [stdout] | [INFO] [stdout] 3 | use wasmtime::*; [INFO] [stdout] | ^^^^^^^^ use of undeclared type or module `wasmtime` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Store` [INFO] [stdout] --> src/linker.rs:138:13 [INFO] [stdout] | [INFO] [stdout] 5 | let store = Store::default(); [INFO] [stdout] | ^^^^^ use of undeclared type or module `Store` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Linker` [INFO] [stdout] --> src/linker.rs:139:18 [INFO] [stdout] | [INFO] [stdout] 6 | let mut linker = Linker::new(&store); [INFO] [stdout] | ^^^^^^ use of undeclared type or module `Linker` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `GlobalType` [INFO] [stdout] --> src/linker.rs:140:10 [INFO] [stdout] | [INFO] [stdout] 7 | let ty = GlobalType::new(ValType::I32, Mutability::Const); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type or module `GlobalType` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `ValType` [INFO] [stdout] --> src/linker.rs:140:26 [INFO] [stdout] | [INFO] [stdout] 7 | let ty = GlobalType::new(ValType::I32, Mutability::Const); [INFO] [stdout] | ^^^^^^^ use of undeclared type or module `ValType` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Mutability` [INFO] [stdout] --> src/linker.rs:140:40 [INFO] [stdout] | [INFO] [stdout] 7 | let ty = GlobalType::new(ValType::I32, Mutability::Const); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type or module `Mutability` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Global` [INFO] [stdout] --> src/linker.rs:141:14 [INFO] [stdout] | [INFO] [stdout] 8 | let global = Global::new(&store, ty, Val::I32(0x1234))?; [INFO] [stdout] | ^^^^^^ use of undeclared type or module `Global` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Val` [INFO] [stdout] --> src/linker.rs:141:38 [INFO] [stdout] | [INFO] [stdout] 8 | let global = Global::new(&store, ty, Val::I32(0x1234))?; [INFO] [stdout] | ^^^ use of undeclared type or module `Val` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Module` [INFO] [stdout] --> src/linker.rs:151:14 [INFO] [stdout] | [INFO] [stdout] 18 | let module = Module::new(&store, wat)?; [INFO] [stdout] | ^^^^^^ use of undeclared type or module `Module` [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/externals.rs - externals::Memory (line 493) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `wasmtime` [INFO] [stdout] --> src/externals.rs:494:5 [INFO] [stdout] | [INFO] [stdout] 4 | use wasmtime::Memory; [INFO] [stdout] | ^^^^^^^^ use of undeclared type 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/func.rs - func::Func (line 38) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `wasmtime` [INFO] [stdout] --> src/func.rs:39:5 [INFO] [stdout] | [INFO] [stdout] 3 | use wasmtime::*; [INFO] [stdout] | ^^^^^^^^ use of undeclared type or module `wasmtime` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Store` [INFO] [stdout] --> src/func.rs:41:13 [INFO] [stdout] | [INFO] [stdout] 5 | let store = Store::default(); [INFO] [stdout] | ^^^^^ use of undeclared type or module `Store` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Module` [INFO] [stdout] --> src/func.rs:42:14 [INFO] [stdout] | [INFO] [stdout] 6 | let module = Module::new(&store, r#"(module (func (export "foo")))"#)?; [INFO] [stdout] | ^^^^^^ use of undeclared type or module `Module` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Instance` [INFO] [stdout] --> src/func.rs:43:16 [INFO] [stdout] | [INFO] [stdout] 7 | let instance = Instance::new(&module, &[])?; [INFO] [stdout] | ^^^^^^^^ use of undeclared type or module `Instance` [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/externals.rs - externals::Memory::grow (line 798) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `wasmtime` [INFO] [stdout] --> src/externals.rs:799:5 [INFO] [stdout] | [INFO] [stdout] 3 | use wasmtime::*; [INFO] [stdout] | ^^^^^^^^ use of undeclared type or module `wasmtime` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Store` [INFO] [stdout] --> src/externals.rs:801:13 [INFO] [stdout] | [INFO] [stdout] 5 | let store = Store::default(); [INFO] [stdout] | ^^^^^ use of undeclared type or module `Store` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Module` [INFO] [stdout] --> src/externals.rs:802:14 [INFO] [stdout] | [INFO] [stdout] 6 | let module = Module::new(&store, "(module (memory (export \"mem\") 1 2))")?; [INFO] [stdout] | ^^^^^^ use of undeclared type or module `Module` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Instance` [INFO] [stdout] --> src/externals.rs:803:16 [INFO] [stdout] | [INFO] [stdout] 7 | let instance = Instance::new(&module, &[])?; [INFO] [stdout] | ^^^^^^^^ use of undeclared type or module `Instance` [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 (line 68) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `wasmtime` [INFO] [stdout] --> src/func.rs:69:5 [INFO] [stdout] | [INFO] [stdout] 3 | use wasmtime::*; [INFO] [stdout] | ^^^^^^^^ use of undeclared type or module `wasmtime` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Store` [INFO] [stdout] --> src/func.rs:71:13 [INFO] [stdout] | [INFO] [stdout] 5 | let store = Store::default(); [INFO] [stdout] | ^^^^^ use of undeclared type or module `Store` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Func` [INFO] [stdout] --> src/func.rs:75:11 [INFO] [stdout] | [INFO] [stdout] 9 | let add = Func::wrap(&store, |a: i32, b: i32| -> i32 { a + b }); [INFO] [stdout] | ^^^^ use of undeclared type or module `Func` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Module` [INFO] [stdout] --> src/func.rs:78:14 [INFO] [stdout] | [INFO] [stdout] 12 | let module = Module::new( [INFO] [stdout] | ^^^^^^ use of undeclared type or module `Module` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Instance` [INFO] [stdout] --> src/func.rs:93:16 [INFO] [stdout] | [INFO] [stdout] 27 | let instance = Instance::new(&module, &[add.into()])?; [INFO] [stdout] | ^^^^^^^^ use of undeclared type or module `Instance` [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::ty (line 686) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `wasmtime` [INFO] [stdout] --> src/externals.rs:687:5 [INFO] [stdout] | [INFO] [stdout] 3 | use wasmtime::*; [INFO] [stdout] | ^^^^^^^^ use of undeclared type or module `wasmtime` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Store` [INFO] [stdout] --> src/externals.rs:689:13 [INFO] [stdout] | [INFO] [stdout] 5 | let store = Store::default(); [INFO] [stdout] | ^^^^^ use of undeclared type or module `Store` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Module` [INFO] [stdout] --> src/externals.rs:690:14 [INFO] [stdout] | [INFO] [stdout] 6 | let module = Module::new(&store, "(module (memory (export \"mem\") 1))")?; [INFO] [stdout] | ^^^^^^ use of undeclared type or module `Module` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Instance` [INFO] [stdout] --> src/externals.rs:691:16 [INFO] [stdout] | [INFO] [stdout] 7 | let instance = Instance::new(&module, &[])?; [INFO] [stdout] | ^^^^^^^^ use of undeclared type or module `Instance` [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::func (line 186) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `wasmtime` [INFO] [stdout] --> src/linker.rs:187:5 [INFO] [stdout] | [INFO] [stdout] 3 | use wasmtime::*; [INFO] [stdout] | ^^^^^^^^ use of undeclared type or module `wasmtime` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Store` [INFO] [stdout] --> src/linker.rs:189:13 [INFO] [stdout] | [INFO] [stdout] 5 | let store = Store::default(); [INFO] [stdout] | ^^^^^ use of undeclared type or module `Store` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Linker` [INFO] [stdout] --> src/linker.rs:190:18 [INFO] [stdout] | [INFO] [stdout] 6 | let mut linker = Linker::new(&store); [INFO] [stdout] | ^^^^^^ use of undeclared type or module `Linker` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Module` [INFO] [stdout] --> src/linker.rs:204:14 [INFO] [stdout] | [INFO] [stdout] 20 | let module = Module::new(&store, wat)?; [INFO] [stdout] | ^^^^^^ use of undeclared type or module `Module` [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Caller` in this scope [INFO] [stdout] --> src/linker.rs:193: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: 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/func.rs - func::Func::wrap (line 388) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `wasmtime` [INFO] [stdout] --> src/func.rs:389:5 [INFO] [stdout] | [INFO] [stdout] 3 | use wasmtime::*; [INFO] [stdout] | ^^^^^^^^ use of undeclared type or module `wasmtime` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Store` [INFO] [stdout] --> src/func.rs:391:13 [INFO] [stdout] | [INFO] [stdout] 5 | let store = Store::default(); [INFO] [stdout] | ^^^^^ use of undeclared type or module `Store` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Func` [INFO] [stdout] --> src/func.rs:392:11 [INFO] [stdout] | [INFO] [stdout] 6 | let add = Func::wrap(&store, |a: i32, b: i32| { [INFO] [stdout] | ^^^^ use of undeclared type or module `Func` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Trap` [INFO] [stdout] --> src/func.rs:395:21 [INFO] [stdout] | [INFO] [stdout] 9 | None => Err(Trap::new("overflow")), [INFO] [stdout] | ^^^^ use of undeclared type or module `Trap` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Module` [INFO] [stdout] --> src/func.rs:398:14 [INFO] [stdout] | [INFO] [stdout] 12 | let module = Module::new( [INFO] [stdout] | ^^^^^^ use of undeclared type or module `Module` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Instance` [INFO] [stdout] --> src/func.rs:409:16 [INFO] [stdout] | [INFO] [stdout] 23 | let instance = Instance::new(&module, &[add.into()])?; [INFO] [stdout] | ^^^^^^^^ use of undeclared type or module `Instance` [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/linker.rs - linker::Linker::new (line 71) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `wasmtime` [INFO] [stdout] --> src/linker.rs:72:5 [INFO] [stdout] | [INFO] [stdout] 4 | use wasmtime::{Linker, Store}; [INFO] [stdout] | ^^^^^^^^ use of undeclared type 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 62) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `wasmtime` [INFO] [stdout] --> src/module.rs:63:5 [INFO] [stdout] | [INFO] [stdout] 3 | use wasmtime::*; [INFO] [stdout] | ^^^^^^^^ use of undeclared type or module `wasmtime` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Store` [INFO] [stdout] --> src/module.rs:65:13 [INFO] [stdout] | [INFO] [stdout] 5 | let store = Store::default(); [INFO] [stdout] | ^^^^^ use of undeclared type or module `Store` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Module` [INFO] [stdout] --> src/module.rs:67:14 [INFO] [stdout] | [INFO] [stdout] 7 | let module = Module::new(&store, &wasm_bytes)?; [INFO] [stdout] | ^^^^^^ use of undeclared type or module `Module` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Module` [INFO] [stdout] --> src/module.rs:70:14 [INFO] [stdout] | [INFO] [stdout] 10 | let module = Module::new(&store, "(module (func))")?; [INFO] [stdout] | ^^^^^^ use of undeclared type or module `Module` [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::instantiate (line 361) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `wasmtime` [INFO] [stdout] --> src/linker.rs:362:5 [INFO] [stdout] | [INFO] [stdout] 3 | use wasmtime::*; [INFO] [stdout] | ^^^^^^^^ use of undeclared type or module `wasmtime` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Store` [INFO] [stdout] --> src/linker.rs:364:13 [INFO] [stdout] | [INFO] [stdout] 5 | let store = Store::default(); [INFO] [stdout] | ^^^^^ use of undeclared type or module `Store` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Linker` [INFO] [stdout] --> src/linker.rs:365:18 [INFO] [stdout] | [INFO] [stdout] 6 | let mut linker = Linker::new(&store); [INFO] [stdout] | ^^^^^^ use of undeclared type or module `Linker` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Module` [INFO] [stdout] --> src/linker.rs:373:14 [INFO] [stdout] | [INFO] [stdout] 14 | let module = Module::new(&store, wat)?; [INFO] [stdout] | ^^^^^^ use of undeclared type or module `Module` [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 (line 38) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `wasmtime` [INFO] [stdout] --> src/module.rs:39:5 [INFO] [stdout] | [INFO] [stdout] 3 | use wasmtime::*; [INFO] [stdout] | ^^^^^^^^ use of undeclared type or module `wasmtime` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Store` [INFO] [stdout] --> src/module.rs:41:13 [INFO] [stdout] | [INFO] [stdout] 5 | let store = Store::default(); [INFO] [stdout] | ^^^^^ use of undeclared type or module `Store` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Module` [INFO] [stdout] --> src/module.rs:42:14 [INFO] [stdout] | [INFO] [stdout] 6 | let module = Module::from_file(&store, "path/to/foo.wasm")?; [INFO] [stdout] | ^^^^^^ use of undeclared type or module `Module` [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 49) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `wasmtime` [INFO] [stdout] --> src/module.rs:50:5 [INFO] [stdout] | [INFO] [stdout] 3 | use wasmtime::*; [INFO] [stdout] | ^^^^^^^^ use of undeclared type or module `wasmtime` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Store` [INFO] [stdout] --> src/module.rs:52:13 [INFO] [stdout] | [INFO] [stdout] 5 | let store = Store::default(); [INFO] [stdout] | ^^^^^ use of undeclared type or module `Store` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Module` [INFO] [stdout] --> src/module.rs:54:14 [INFO] [stdout] | [INFO] [stdout] 7 | let module = Module::from_file(&store, "path/to/foo.wat")?; [INFO] [stdout] | ^^^^^^ use of undeclared type or module `Module` [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/trap.rs - trap::Trap::new (line 28) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `wasmtime` [INFO] [stdout] --> src/trap.rs:29:12 [INFO] [stdout] | [INFO] [stdout] 4 | let trap = wasmtime::Trap::new("unexpected error"); [INFO] [stdout] | ^^^^^^^^ use of undeclared type 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 E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/module.rs - module::Module::exports (line 426) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `wasmtime` [INFO] [stdout] --> src/module.rs:427:5 [INFO] [stdout] | [INFO] [stdout] 3 | use wasmtime::*; [INFO] [stdout] | ^^^^^^^^ use of undeclared type or module `wasmtime` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Store` [INFO] [stdout] --> src/module.rs:429:13 [INFO] [stdout] | [INFO] [stdout] 5 | let store = Store::default(); [INFO] [stdout] | ^^^^^ use of undeclared type or module `Store` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Module` [INFO] [stdout] --> src/module.rs:430:14 [INFO] [stdout] | [INFO] [stdout] 6 | let module = Module::new(&store, "(module)")?; [INFO] [stdout] | ^^^^^^ use of undeclared type or module `Module` [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 196) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `wasmtime` [INFO] [stdout] --> src/module.rs:197:5 [INFO] [stdout] | [INFO] [stdout] 3 | use wasmtime::*; [INFO] [stdout] | ^^^^^^^^ use of undeclared type or module `wasmtime` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Store` [INFO] [stdout] --> src/module.rs:199:13 [INFO] [stdout] | [INFO] [stdout] 5 | let store = Store::default(); [INFO] [stdout] | ^^^^^ use of undeclared type or module `Store` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Module` [INFO] [stdout] --> src/module.rs:200:14 [INFO] [stdout] | [INFO] [stdout] 6 | let module = Module::from_file(&store, "./path/to/foo.wat")?; [INFO] [stdout] | ^^^^^^ use of undeclared type or module `Module` [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_binary (line 235) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `wasmtime` [INFO] [stdout] --> src/module.rs:236:5 [INFO] [stdout] | [INFO] [stdout] 3 | use wasmtime::*; [INFO] [stdout] | ^^^^^^^^ use of undeclared type or module `wasmtime` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Store` [INFO] [stdout] --> src/module.rs:238:13 [INFO] [stdout] | [INFO] [stdout] 5 | let store = Store::default(); [INFO] [stdout] | ^^^^^ use of undeclared type or module `Store` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Module` [INFO] [stdout] --> src/module.rs:239:9 [INFO] [stdout] | [INFO] [stdout] 6 | assert!(Module::from_binary(&store, b"(module)").is_err()); [INFO] [stdout] | ^^^^^^ use of undeclared type or module `Module` [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 380) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `wasmtime` [INFO] [stdout] --> src/module.rs:381:5 [INFO] [stdout] | [INFO] [stdout] 3 | use wasmtime::*; [INFO] [stdout] | ^^^^^^^^ use of undeclared type or module `wasmtime` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Store` [INFO] [stdout] --> src/module.rs:383:13 [INFO] [stdout] | [INFO] [stdout] 5 | let store = Store::default(); [INFO] [stdout] | ^^^^^ use of undeclared type or module `Store` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Module` [INFO] [stdout] --> src/module.rs:389:14 [INFO] [stdout] | [INFO] [stdout] 11 | let module = Module::new(&store, wat)?; [INFO] [stdout] | ^^^^^^ use of undeclared type or module `Module` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `ExternType` [INFO] [stdout] --> src/module.rs:395:5 [INFO] [stdout] | [INFO] [stdout] 17 | ExternType::Func(_) => { /* ... */ } [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type or module `ExternType` [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::from_binary (line 223) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `wasmtime` [INFO] [stdout] --> src/module.rs:224:5 [INFO] [stdout] | [INFO] [stdout] 3 | use wasmtime::*; [INFO] [stdout] | ^^^^^^^^ use of undeclared type or module `wasmtime` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Store` [INFO] [stdout] --> src/module.rs:226:13 [INFO] [stdout] | [INFO] [stdout] 5 | let store = Store::default(); [INFO] [stdout] | ^^^^^ use of undeclared type or module `Store` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Module` [INFO] [stdout] --> src/module.rs:228:14 [INFO] [stdout] | [INFO] [stdout] 7 | let module = Module::from_binary(&store, wasm)?; [INFO] [stdout] | ^^^^^^ use of undeclared type or module `Module` [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 438) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `wasmtime` [INFO] [stdout] --> src/module.rs:439:5 [INFO] [stdout] | [INFO] [stdout] 3 | use wasmtime::*; [INFO] [stdout] | ^^^^^^^^ use of undeclared type or module `wasmtime` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Store` [INFO] [stdout] --> src/module.rs:441:13 [INFO] [stdout] | [INFO] [stdout] 5 | let store = Store::default(); [INFO] [stdout] | ^^^^^ use of undeclared type or module `Store` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Module` [INFO] [stdout] --> src/module.rs:448:14 [INFO] [stdout] | [INFO] [stdout] 12 | let module = Module::new(&store, wat)?; [INFO] [stdout] | ^^^^^^ use of undeclared type or module `Module` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `ExternType` [INFO] [stdout] --> src/module.rs:455:5 [INFO] [stdout] | [INFO] [stdout] 19 | ExternType::Func(_) => { /* ... */ } [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type or module `ExternType` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `ExternType` [INFO] [stdout] --> src/module.rs:462:5 [INFO] [stdout] | [INFO] [stdout] 26 | ExternType::Memory(_) => { /* ... */ } [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type or module `ExternType` [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::new (line 138) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `wasmtime` [INFO] [stdout] --> src/module.rs:139:5 [INFO] [stdout] | [INFO] [stdout] 3 | use wasmtime::*; [INFO] [stdout] | ^^^^^^^^ use of undeclared type or module `wasmtime` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Store` [INFO] [stdout] --> src/module.rs:141:13 [INFO] [stdout] | [INFO] [stdout] 5 | let store = Store::default(); [INFO] [stdout] | ^^^^^ use of undeclared type or module `Store` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Module` [INFO] [stdout] --> src/module.rs:143:14 [INFO] [stdout] | [INFO] [stdout] 7 | let module = Module::new(&store, &wasm_bytes)?; [INFO] [stdout] | ^^^^^^ use of undeclared type or module `Module` [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 368) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `wasmtime` [INFO] [stdout] --> src/module.rs:369:5 [INFO] [stdout] | [INFO] [stdout] 3 | use wasmtime::*; [INFO] [stdout] | ^^^^^^^^ use of undeclared type or module `wasmtime` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Store` [INFO] [stdout] --> src/module.rs:371:13 [INFO] [stdout] | [INFO] [stdout] 5 | let store = Store::default(); [INFO] [stdout] | ^^^^^ use of undeclared type or module `Store` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Module` [INFO] [stdout] --> src/module.rs:372:14 [INFO] [stdout] | [INFO] [stdout] 6 | let module = Module::new(&store, "(module)")?; [INFO] [stdout] | ^^^^^^ use of undeclared type or module `Module` [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 185) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `wasmtime` [INFO] [stdout] --> src/module.rs:186:5 [INFO] [stdout] | [INFO] [stdout] 3 | use wasmtime::*; [INFO] [stdout] | ^^^^^^^^ use of undeclared type or module `wasmtime` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Store` [INFO] [stdout] --> src/module.rs:188:13 [INFO] [stdout] | [INFO] [stdout] 5 | let store = Store::default(); [INFO] [stdout] | ^^^^^ use of undeclared type or module `Store` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Module` [INFO] [stdout] --> src/module.rs:189:14 [INFO] [stdout] | [INFO] [stdout] 6 | let module = Module::from_file(&store, "./path/to/foo.wasm")?; [INFO] [stdout] | ^^^^^^ use of undeclared type or module `Module` [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 333) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `wasmtime` [INFO] [stdout] --> src/module.rs:334:5 [INFO] [stdout] | [INFO] [stdout] 3 | use wasmtime::*; [INFO] [stdout] | ^^^^^^^^ use of undeclared type or module `wasmtime` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Store` [INFO] [stdout] --> src/module.rs:336:13 [INFO] [stdout] | [INFO] [stdout] 5 | let store = Store::default(); [INFO] [stdout] | ^^^^^ use of undeclared type or module `Store` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Module` [INFO] [stdout] --> src/module.rs:337:14 [INFO] [stdout] | [INFO] [stdout] 6 | let module = Module::new(&store, "(module $foo)")?; [INFO] [stdout] | ^^^^^^ use of undeclared type or module `Module` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Module` [INFO] [stdout] --> src/module.rs:340:14 [INFO] [stdout] | [INFO] [stdout] 9 | let module = Module::new(&store, "(module)")?; [INFO] [stdout] | ^^^^^^ use of undeclared type or module `Module` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Module` [INFO] [stdout] --> src/module.rs:343:14 [INFO] [stdout] | [INFO] [stdout] 12 | let module = Module::new_with_name(&store, "(module)", "bar")?; [INFO] [stdout] | ^^^^^^ use of undeclared type or module `Module` [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 874) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `wasmtime` [INFO] [stdout] --> src/runtime.rs:876:5 [INFO] [stdout] | [INFO] [stdout] 4 | use wasmtime::*; [INFO] [stdout] | ^^^^^^^^ use of undeclared type or module `wasmtime` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Engine` [INFO] [stdout] --> src/runtime.rs:880:14 [INFO] [stdout] | [INFO] [stdout] 8 | let engine = Engine::new(Config::new().interruptable(true)); [INFO] [stdout] | ^^^^^^ use of undeclared type or module `Engine` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Config` [INFO] [stdout] --> src/runtime.rs:880:26 [INFO] [stdout] | [INFO] [stdout] 8 | let engine = Engine::new(Config::new().interruptable(true)); [INFO] [stdout] | ^^^^^^ use of undeclared type or module `Config` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Store` [INFO] [stdout] --> src/runtime.rs:881:13 [INFO] [stdout] | [INFO] [stdout] 9 | let store = Store::new(&engine); [INFO] [stdout] | ^^^^^ use of undeclared type or module `Store` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Module` [INFO] [stdout] --> src/runtime.rs:885:14 [INFO] [stdout] | [INFO] [stdout] 13 | let module = Module::new(&store, r#" [INFO] [stdout] | ^^^^^^ use of undeclared type or module `Module` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Instance` [INFO] [stdout] --> src/runtime.rs:888:16 [INFO] [stdout] | [INFO] [stdout] 16 | let instance = Instance::new(&module, &[])?; [INFO] [stdout] | ^^^^^^^^ use of undeclared type or module `Instance` [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::new (line 151) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `wasmtime` [INFO] [stdout] --> src/module.rs:152:5 [INFO] [stdout] | [INFO] [stdout] 3 | use wasmtime::*; [INFO] [stdout] | ^^^^^^^^ use of undeclared type or module `wasmtime` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Store` [INFO] [stdout] --> src/module.rs:154:13 [INFO] [stdout] | [INFO] [stdout] 5 | let store = Store::default(); [INFO] [stdout] | ^^^^^ use of undeclared type or module `Store` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Module` [INFO] [stdout] --> src/module.rs:155:14 [INFO] [stdout] | [INFO] [stdout] 6 | let module = Module::new(&store, "(module (func))")?; [INFO] [stdout] | ^^^^^^ use of undeclared type or module `Module` [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] [INFO] [stdout] failures: [INFO] [stdout] src/externals.rs - externals::Memory (line 493) [INFO] [stdout] src/externals.rs - externals::Memory (line 546) [INFO] [stdout] src/externals.rs - externals::Memory::grow (line 798) [INFO] [stdout] src/externals.rs - externals::Memory::new (line 659) [INFO] [stdout] src/externals.rs - externals::Memory::ty (line 686) [INFO] [stdout] src/func.rs - func::Func (line 104) [INFO] [stdout] src/func.rs - func::Func (line 38) [INFO] [stdout] src/func.rs - func::Func (line 68) [INFO] [stdout] src/func.rs - func::Func::wrap (line 362) [INFO] [stdout] src/func.rs - func::Func::wrap (line 388) [INFO] [stdout] src/func.rs - func::Func::wrap (line 419) [INFO] [stdout] src/func.rs - func::Func::wrap (line 452) [INFO] [stdout] src/linker.rs - linker::Linker::allow_shadowing (line 97) [INFO] [stdout] src/linker.rs - linker::Linker::define (line 135) [INFO] [stdout] src/linker.rs - linker::Linker::func (line 186) [INFO] [stdout] src/linker.rs - linker::Linker::instance (line 234) [INFO] [stdout] src/linker.rs - linker::Linker::instantiate (line 361) [INFO] [stdout] src/linker.rs - linker::Linker::new (line 71) [INFO] [stdout] src/module.rs - module::Module (line 38) [INFO] [stdout] src/module.rs - module::Module (line 49) [INFO] [stdout] src/module.rs - module::Module (line 62) [INFO] [stdout] src/module.rs - module::Module::exports (line 426) [INFO] [stdout] src/module.rs - module::Module::exports (line 438) [INFO] [stdout] src/module.rs - module::Module::from_binary (line 223) [INFO] [stdout] src/module.rs - module::Module::from_binary (line 235) [INFO] [stdout] src/module.rs - module::Module::from_file (line 185) [INFO] [stdout] src/module.rs - module::Module::from_file (line 196) [INFO] [stdout] src/module.rs - module::Module::imports (line 368) [INFO] [stdout] src/module.rs - module::Module::imports (line 380) [INFO] [stdout] src/module.rs - module::Module::name (line 333) [INFO] [stdout] src/module.rs - module::Module::new (line 138) [INFO] [stdout] src/module.rs - module::Module::new (line 151) [INFO] [stdout] src/runtime.rs - runtime::Store::interrupt_handle (line 874) [INFO] [stdout] src/trap.rs - trap::Trap::new (line 28) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 34 failed; 0 ignored; 0 measured; 0 filtered out [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass '--doc' [INFO] running `"docker" "inspect" "f11083641adb6cc0e85bc1d775eb00eb209e95ca9bc0a2eaf59acbbec4dc4f86"` [INFO] running `"docker" "rm" "-f" "f11083641adb6cc0e85bc1d775eb00eb209e95ca9bc0a2eaf59acbbec4dc4f86"` [INFO] [stdout] f11083641adb6cc0e85bc1d775eb00eb209e95ca9bc0a2eaf59acbbec4dc4f86