[INFO] fetching crate substrate-wasmtime 0.19.0... [INFO] testing substrate-wasmtime-0.19.0 against 1.45.2 for beta-1.46-1 [INFO] extracting crate substrate-wasmtime 0.19.0 into /workspace/builds/worker-8/source [INFO] validating manifest of crates.io crate substrate-wasmtime 0.19.0 on toolchain 1.45.2 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.45.2" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking crates.io crate 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-8/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.45.2" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.45.2" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+1.45.2" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 19fd5034ea7fd426bf373976c45d3cbff64a4522bce82f5f56f910cb405a5c23 [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" "19fd5034ea7fd426bf373976c45d3cbff64a4522bce82f5f56f910cb405a5c23", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "19fd5034ea7fd426bf373976c45d3cbff64a4522bce82f5f56f910cb405a5c23", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "19fd5034ea7fd426bf373976c45d3cbff64a4522bce82f5f56f910cb405a5c23", kill_on_drop: false }` [INFO] [stdout] 19fd5034ea7fd426bf373976c45d3cbff64a4522bce82f5f56f910cb405a5c23 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+1.45.2" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c5f2198f528aafa988d32f72617959e98da83b2ae10c07b49f64ce631abafafd [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" "c5f2198f528aafa988d32f72617959e98da83b2ae10c07b49f64ce631abafafd", kill_on_drop: false }` [INFO] [stderr] Compiling cranelift-codegen-shared v0.66.0 [INFO] [stderr] Compiling target-lexicon v0.10.0 [INFO] [stderr] Compiling fallible-iterator v0.2.0 [INFO] [stderr] Compiling wasmparser v0.57.0 [INFO] [stderr] Compiling wasmparser v0.59.0 [INFO] [stderr] Compiling wasmtime-environ v0.19.0 [INFO] [stderr] Compiling more-asserts v0.2.1 [INFO] [stderr] Compiling leb128 v0.2.4 [INFO] [stderr] Compiling object v0.19.0 [INFO] [stderr] Compiling regalloc v0.0.27 [INFO] [stderr] Compiling region v2.2.0 [INFO] [stderr] Compiling zstd-sys v1.4.17+zstd.1.4.5 [INFO] [stderr] Compiling raw-cpuid v7.0.3 [INFO] [stderr] Compiling wasmtime-runtime v0.19.0 [INFO] [stderr] Compiling directories v2.0.2 [INFO] [stderr] Compiling scroll_derive v0.10.2 [INFO] [stderr] Compiling cranelift-entity v0.66.0 [INFO] [stderr] Compiling toml v0.5.6 [INFO] [stderr] Compiling file-per-thread-logger v0.1.3 [INFO] [stderr] Compiling wast v22.0.0 [INFO] [stderr] Compiling cranelift-codegen-meta v0.66.0 [INFO] [stderr] Compiling cranelift-bforest v0.66.0 [INFO] [stderr] Compiling gimli v0.21.0 [INFO] [stderr] Compiling scroll v0.10.1 [INFO] [stderr] Compiling object v0.20.0 [INFO] [stderr] Compiling wat v1.0.23 [INFO] [stderr] Compiling backtrace v0.3.50 [INFO] [stderr] Compiling cranelift-codegen v0.66.0 [INFO] [stderr] Compiling zstd-safe v2.0.5+zstd.1.4.5 [INFO] [stderr] Compiling zstd v0.5.3+zstd.1.4.5 [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] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 4m 05s [INFO] running `Command { std: "docker" "inspect" "c5f2198f528aafa988d32f72617959e98da83b2ae10c07b49f64ce631abafafd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c5f2198f528aafa988d32f72617959e98da83b2ae10c07b49f64ce631abafafd", kill_on_drop: false }` [INFO] [stdout] c5f2198f528aafa988d32f72617959e98da83b2ae10c07b49f64ce631abafafd [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+1.45.2" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1921af198744347362837e6b9de64b54290bc8be536e59f67c6b16840a534d39 [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" "1921af198744347362837e6b9de64b54290bc8be536e59f67c6b16840a534d39", kill_on_drop: false }` [INFO] [stderr] Compiling substrate-wasmtime v0.19.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 16.61s [INFO] running `Command { std: "docker" "inspect" "1921af198744347362837e6b9de64b54290bc8be536e59f67c6b16840a534d39", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1921af198744347362837e6b9de64b54290bc8be536e59f67c6b16840a534d39", kill_on_drop: false }` [INFO] [stdout] 1921af198744347362837e6b9de64b54290bc8be536e59f67c6b16840a534d39 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+1.45.2" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 085120af7ce5830d0222a45a5f0acefdedf8c62dfaf90c39dbf41520f1e209d9 [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" "085120af7ce5830d0222a45a5f0acefdedf8c62dfaf90c39dbf41520f1e209d9", kill_on_drop: false }` [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.27s [INFO] [stderr] Running /opt/rustwide/target/debug/deps/substrate_wasmtime-fe81c1a0f90855f0 [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 [INFO] [stdout] [INFO] [stderr] Doc-tests substrate-wasmtime [INFO] [stdout] [INFO] [stdout] running 41 tests [INFO] [stdout] test src/externals.rs - externals::Memory (line 637) ... FAILED [INFO] [stdout] test src/externals.rs - externals::Memory (line 584) ... FAILED [INFO] [stdout] test src/func.rs - func::Func::wrap (line 479) ... FAILED [INFO] [stdout] test src/func.rs - func::Func::wrap (line 384) ... FAILED [INFO] [stdout] test src/func.rs - func::Func::wrap (line 441) ... FAILED [INFO] [stdout] test src/externals.rs - externals::Memory::ty (line 778) ... FAILED [INFO] [stdout] test src/externals.rs - externals::Memory::grow (line 891) ... 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/func.rs - func::Func::wrap (line 410) ... FAILED [INFO] [stdout] test src/lib.rs - (line 179) ... FAILED [INFO] [stdout] test src/func.rs - func::Func (line 41) ... 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/lib.rs - (line 153) ... FAILED [INFO] [stdout] test src/linker.rs - linker::Linker::allow_shadowing (line 99) ... FAILED [INFO] [stdout] test src/linker.rs - linker::Linker::func (line 188) ... FAILED [INFO] [stdout] test src/linker.rs - linker::Linker::define (line 137) ... FAILED [INFO] [stdout] test src/linker.rs - linker::Linker::instance (line 236) ... FAILED [INFO] [stdout] test src/linker.rs - linker::Linker::instantiate (line 557) ... FAILED [INFO] [stdout] test src/linker.rs - linker::Linker::new (line 73) ... FAILED [INFO] [stdout] test src/linker.rs - linker::Linker::module (line 305) ... FAILED [INFO] [stdout] test src/module.rs - module::Module::from_file (line 191) ... FAILED [INFO] [stdout] test src/linker.rs - linker::Linker::module (line 334) ... FAILED [INFO] [stdout] test src/module.rs - module::Module::exports (line 418) ... FAILED [INFO] [stdout] test src/module.rs - module::Module (line 39) ... FAILED [INFO] [stdout] test src/module.rs - module::Module::from_binary (line 230) ... FAILED [INFO] [stdout] test src/trap.rs - trap::Trap::new (line 51) ... FAILED [INFO] [stdout] test src/module.rs - module::Module (line 50) ... FAILED [INFO] [stdout] test src/module.rs - module::Module (line 63) ... FAILED [INFO] [stdout] test src/module.rs - module::Module::from_binary (line 218) ... FAILED [INFO] [stdout] test src/module.rs - module::Module::exports (line 430) ... FAILED [INFO] [stdout] test src/module.rs - module::Module::from_file (line 180) ... FAILED [INFO] [stdout] test src/module.rs - module::Module::get_export (line 478) ... FAILED [INFO] [stdout] test src/module.rs - module::Module::name (line 325) ... FAILED [INFO] [stdout] test src/module.rs - module::Module::imports (line 360) ... FAILED [INFO] [stdout] test src/module.rs - module::Module::get_export (line 490) ... FAILED [INFO] [stdout] test src/runtime.rs - runtime::Store::interrupt_handle (line 1083) ... FAILED [INFO] [stdout] test src/module.rs - module::Module::new (line 130) ... FAILED [INFO] [stdout] test src/module.rs - module::Module::imports (line 372) ... FAILED [INFO] [stdout] test src/module.rs - module::Module::new (line 143) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [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 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/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 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::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 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:484: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:485: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:487: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:488: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:503: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:505: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:512: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:525:16 [INFO] [stdout] | [INFO] [stdout] 48 | let instance = Instance::new(&store, &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: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: 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 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 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:387: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:388: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:389: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:400:16 [INFO] [stdout] | [INFO] [stdout] 18 | let instance = Instance::new(&store, &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 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 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:444: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: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] | ^^^^ 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:454:14 [INFO] [stdout] | [INFO] [stdout] 15 | 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:469:16 [INFO] [stdout] | [INFO] [stdout] 30 | let instance = Instance::new(&store, &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/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 type or module `wasmtime` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Engine` [INFO] [stdout] --> src/externals.rs:781:14 [INFO] [stdout] | [INFO] [stdout] 5 | let engine = Engine::default(); [INFO] [stdout] | ^^^^^^ use of undeclared type or module `Engine` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Store` [INFO] [stdout] --> src/externals.rs:782:13 [INFO] [stdout] | [INFO] [stdout] 6 | 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/externals.rs:783:14 [INFO] [stdout] | [INFO] [stdout] 7 | let module = Module::new(&engine, "(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:784:16 [INFO] [stdout] | [INFO] [stdout] 8 | let instance = Instance::new(&store, &module, &[])?; [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::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 type or module `wasmtime` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Engine` [INFO] [stdout] --> src/externals.rs:894:14 [INFO] [stdout] | [INFO] [stdout] 5 | let engine = Engine::default(); [INFO] [stdout] | ^^^^^^ use of undeclared type or module `Engine` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Store` [INFO] [stdout] --> src/externals.rs:895:13 [INFO] [stdout] | [INFO] [stdout] 6 | 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/externals.rs:896:14 [INFO] [stdout] | [INFO] [stdout] 7 | let module = Module::new(&engine, "(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:897:16 [INFO] [stdout] | [INFO] [stdout] 8 | let instance = Instance::new(&store, &module, &[])?; [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 (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 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:75: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:79: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:82: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:97:16 [INFO] [stdout] | [INFO] [stdout] 27 | let instance = Instance::new(&store, &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/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 type or module `wasmtime` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Store` [INFO] [stdout] --> src/lib.rs:28:17 [INFO] [stdout] | [INFO] [stdout] 8 | 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/lib.rs:40:18 [INFO] [stdout] | [INFO] [stdout] 20 | let module = Module::new(store.engine(), 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 `Func` [INFO] [stdout] --> src/lib.rs:44:22 [INFO] [stdout] | [INFO] [stdout] 24 | let host_hello = Func::wrap(&store, |param: 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 `Instance` [INFO] [stdout] --> src/lib.rs:51:20 [INFO] [stdout] | [INFO] [stdout] 31 | let instance = Instance::new(&store, &module, &[host_hello.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 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 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:413: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:414: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:417: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:420: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:431:16 [INFO] [stdout] | [INFO] [stdout] 23 | let instance = Instance::new(&store, &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/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 type or module `wasmtime` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Store` [INFO] [stdout] --> src/lib.rs:184: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/lib.rs:185: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/lib.rs:187: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/lib.rs:188: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/lib.rs:203: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/lib.rs:205: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/lib.rs:212: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/lib.rs:225:16 [INFO] [stdout] | [INFO] [stdout] 48 | let instance = Instance::new(&store, &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/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: 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 (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 type or module `wasmtime` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Engine` [INFO] [stdout] --> src/func.rs:44:14 [INFO] [stdout] | [INFO] [stdout] 5 | let engine = Engine::default(); [INFO] [stdout] | ^^^^^^ use of undeclared type or module `Engine` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Store` [INFO] [stdout] --> src/func.rs:45:13 [INFO] [stdout] | [INFO] [stdout] 6 | 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/func.rs:46:14 [INFO] [stdout] | [INFO] [stdout] 7 | let module = Module::new(&engine, 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:47:16 [INFO] [stdout] | [INFO] [stdout] 8 | let instance = Instance::new(&store, &module, &[])?; [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::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 type or module `wasmtime` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Engine` [INFO] [stdout] --> src/externals.rs:753:14 [INFO] [stdout] | [INFO] [stdout] 5 | let engine = Engine::default(); [INFO] [stdout] | ^^^^^^ use of undeclared type or module `Engine` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Store` [INFO] [stdout] --> src/externals.rs:754:13 [INFO] [stdout] | [INFO] [stdout] 6 | 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 `MemoryType` [INFO] [stdout] --> src/externals.rs:756:17 [INFO] [stdout] | [INFO] [stdout] 8 | 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:756:33 [INFO] [stdout] | [INFO] [stdout] 8 | 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:757:14 [INFO] [stdout] | [INFO] [stdout] 9 | 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:759:14 [INFO] [stdout] | [INFO] [stdout] 11 | let module = Module::new(&engine, "(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:760:16 [INFO] [stdout] | [INFO] [stdout] 12 | let instance = Instance::new(&store, &module, &[memory.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/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 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:111: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:115: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:116: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:117: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:119: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:126: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:138:16 [INFO] [stdout] | [INFO] [stdout] 32 | let instance = Instance::new(&store, &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/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 type 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 type or module `wasmtime_wasi` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Store` [INFO] [stdout] --> src/lib.rs:159:13 [INFO] [stdout] | [INFO] [stdout] 8 | 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/lib.rs:160:18 [INFO] [stdout] | [INFO] [stdout] 9 | 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/lib.rs:169:14 [INFO] [stdout] | [INFO] [stdout] 18 | let module = Module::from_file(store.engine(), "foo.wasm")?; [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/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 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:102: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:103: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/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 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:191: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:192: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:206:14 [INFO] [stdout] | [INFO] [stdout] 20 | let module = Module::new(store.engine(), 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: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: 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::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 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:140: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:141: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:142: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:142: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:142: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:143: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:143: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:153:14 [INFO] [stdout] | [INFO] [stdout] 18 | let module = Module::new(store.engine(), 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/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 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:239: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:240: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:244:14 [INFO] [stdout] | [INFO] [stdout] 10 | let module = Module::new(store.engine(), 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:260:14 [INFO] [stdout] | [INFO] [stdout] 26 | let module = Module::new(store.engine(), 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/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 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:560: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:561: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:569:14 [INFO] [stdout] | [INFO] [stdout] 14 | let module = Module::new(store.engine(), 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/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 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::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 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:308: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:309: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:315:14 [INFO] [stdout] | [INFO] [stdout] 12 | let module = Module::new(store.engine(), 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:326:14 [INFO] [stdout] | [INFO] [stdout] 23 | let module = Module::new(store.engine(), 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/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 type or module `wasmtime` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Engine` [INFO] [stdout] --> src/module.rs:194:14 [INFO] [stdout] | [INFO] [stdout] 5 | let engine = Engine::default(); [INFO] [stdout] | ^^^^^^ use of undeclared type or module `Engine` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `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] | ^^^^^^ 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/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 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:337: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:338: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:353:14 [INFO] [stdout] | [INFO] [stdout] 21 | let module = Module::new(store.engine(), 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:372:14 [INFO] [stdout] | [INFO] [stdout] 40 | let module = Module::new(store.engine(), 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/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 type or module `wasmtime` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Engine` [INFO] [stdout] --> src/module.rs:421:14 [INFO] [stdout] | [INFO] [stdout] 5 | let engine = Engine::default(); [INFO] [stdout] | ^^^^^^ use of undeclared type or module `Engine` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Module` [INFO] [stdout] --> src/module.rs:422:14 [INFO] [stdout] | [INFO] [stdout] 6 | let module = Module::new(&engine, "(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 (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 type or module `wasmtime` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Engine` [INFO] [stdout] --> src/module.rs:42:14 [INFO] [stdout] | [INFO] [stdout] 5 | let engine = Engine::default(); [INFO] [stdout] | ^^^^^^ use of undeclared type or module `Engine` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `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] | ^^^^^^ 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 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 type or module `wasmtime` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Engine` [INFO] [stdout] --> src/module.rs:233:14 [INFO] [stdout] | [INFO] [stdout] 5 | let engine = Engine::default(); [INFO] [stdout] | ^^^^^^ use of undeclared type or module `Engine` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Module` [INFO] [stdout] --> src/module.rs:234:9 [INFO] [stdout] | [INFO] [stdout] 6 | assert!(Module::from_binary(&engine, 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/trap.rs - trap::Trap::new (line 51) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `wasmtime` [INFO] [stdout] --> src/trap.rs:52: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 (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 type or module `wasmtime` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Engine` [INFO] [stdout] --> src/module.rs:53:14 [INFO] [stdout] | [INFO] [stdout] 5 | let engine = Engine::default(); [INFO] [stdout] | ^^^^^^ use of undeclared type or module `Engine` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `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] | ^^^^^^ 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 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 type or module `wasmtime` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Engine` [INFO] [stdout] --> src/module.rs:66:14 [INFO] [stdout] | [INFO] [stdout] 5 | let engine = Engine::default(); [INFO] [stdout] | ^^^^^^ use of undeclared type or module `Engine` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Module` [INFO] [stdout] --> src/module.rs:68:14 [INFO] [stdout] | [INFO] [stdout] 7 | let module = Module::new(&engine, &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:71:14 [INFO] [stdout] | [INFO] [stdout] 10 | let module = Module::new(&engine, "(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/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 type or module `wasmtime` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Engine` [INFO] [stdout] --> src/module.rs:221:14 [INFO] [stdout] | [INFO] [stdout] 5 | let engine = Engine::default(); [INFO] [stdout] | ^^^^^^ use of undeclared type or module `Engine` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Module` [INFO] [stdout] --> src/module.rs:223:14 [INFO] [stdout] | [INFO] [stdout] 7 | let module = Module::from_binary(&engine, 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 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 type or module `wasmtime` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Engine` [INFO] [stdout] --> src/module.rs:433:14 [INFO] [stdout] | [INFO] [stdout] 5 | let engine = Engine::default(); [INFO] [stdout] | ^^^^^^ use of undeclared type or module `Engine` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Module` [INFO] [stdout] --> src/module.rs:440:14 [INFO] [stdout] | [INFO] [stdout] 12 | let module = Module::new(&engine, 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:447: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:454: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::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 type or module `wasmtime` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Engine` [INFO] [stdout] --> src/module.rs:183:14 [INFO] [stdout] | [INFO] [stdout] 5 | let engine = Engine::default(); [INFO] [stdout] | ^^^^^^ use of undeclared type or module `Engine` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `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] | ^^^^^^ 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::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 type or module `wasmtime` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Engine` [INFO] [stdout] --> src/module.rs:481:14 [INFO] [stdout] | [INFO] [stdout] 5 | let engine = Engine::default(); [INFO] [stdout] | ^^^^^^ use of undeclared type or module `Engine` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Module` [INFO] [stdout] --> src/module.rs:482:14 [INFO] [stdout] | [INFO] [stdout] 6 | let module = Module::new(&engine, "(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::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 type or module `wasmtime` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Engine` [INFO] [stdout] --> src/module.rs:328:14 [INFO] [stdout] | [INFO] [stdout] 5 | let engine = Engine::default(); [INFO] [stdout] | ^^^^^^ use of undeclared type or module `Engine` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Module` [INFO] [stdout] --> src/module.rs:329:14 [INFO] [stdout] | [INFO] [stdout] 6 | let module = Module::new(&engine, "(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:332:14 [INFO] [stdout] | [INFO] [stdout] 9 | let module = Module::new(&engine, "(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:335:14 [INFO] [stdout] | [INFO] [stdout] 12 | let module = Module::new_with_name(&engine, "(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/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 type or module `wasmtime` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Engine` [INFO] [stdout] --> src/module.rs:363:14 [INFO] [stdout] | [INFO] [stdout] 5 | let engine = Engine::default(); [INFO] [stdout] | ^^^^^^ use of undeclared type or module `Engine` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Module` [INFO] [stdout] --> src/module.rs:364:14 [INFO] [stdout] | [INFO] [stdout] 6 | let module = Module::new(&engine, "(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::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 type or module `wasmtime` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Engine` [INFO] [stdout] --> src/module.rs:493:14 [INFO] [stdout] | [INFO] [stdout] 5 | let engine = Engine::default(); [INFO] [stdout] | ^^^^^^ use of undeclared type or module `Engine` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Module` [INFO] [stdout] --> src/module.rs:500:14 [INFO] [stdout] | [INFO] [stdout] 12 | let module = Module::new(&engine, 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:506:5 [INFO] [stdout] | [INFO] [stdout] 18 | 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/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 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:1089: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:1089: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:1090: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:1094:14 [INFO] [stdout] | [INFO] [stdout] 13 | let module = Module::new(&engine, 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:1097:16 [INFO] [stdout] | [INFO] [stdout] 16 | let instance = Instance::new(&store, &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 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 type or module `wasmtime` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Engine` [INFO] [stdout] --> src/module.rs:133:14 [INFO] [stdout] | [INFO] [stdout] 5 | let engine = Engine::default(); [INFO] [stdout] | ^^^^^^ use of undeclared type or module `Engine` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Module` [INFO] [stdout] --> src/module.rs:135:14 [INFO] [stdout] | [INFO] [stdout] 7 | let module = Module::new(&engine, &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 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 type or module `wasmtime` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Engine` [INFO] [stdout] --> src/module.rs:375:14 [INFO] [stdout] | [INFO] [stdout] 5 | let engine = Engine::default(); [INFO] [stdout] | ^^^^^^ use of undeclared type or module `Engine` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Module` [INFO] [stdout] --> src/module.rs:381:14 [INFO] [stdout] | [INFO] [stdout] 11 | let module = Module::new(&engine, 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:387: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::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 type or module `wasmtime` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Engine` [INFO] [stdout] --> src/module.rs:146:14 [INFO] [stdout] | [INFO] [stdout] 5 | let engine = Engine::default(); [INFO] [stdout] | ^^^^^^ use of undeclared type or module `Engine` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Module` [INFO] [stdout] --> src/module.rs:147:14 [INFO] [stdout] | [INFO] [stdout] 6 | let module = Module::new(&engine, "(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 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 [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass '--doc' [INFO] running `Command { std: "docker" "inspect" "085120af7ce5830d0222a45a5f0acefdedf8c62dfaf90c39dbf41520f1e209d9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "085120af7ce5830d0222a45a5f0acefdedf8c62dfaf90c39dbf41520f1e209d9", kill_on_drop: false }` [INFO] [stdout] 085120af7ce5830d0222a45a5f0acefdedf8c62dfaf90c39dbf41520f1e209d9