[INFO] crate substrate-wasmtime 0.13.0-threadsafe.1 is already in cache [INFO] checking substrate-wasmtime-0.13.0-threadsafe.1 against try#8a5e87609850cdd8679aada01eb0f3062f254ca8 for pr-71140 [INFO] extracting crate substrate-wasmtime 0.13.0-threadsafe.1 into /workspace/builds/worker-0/source [INFO] validating manifest of crates.io crate substrate-wasmtime 0.13.0-threadsafe.1 on toolchain 8a5e87609850cdd8679aada01eb0f3062f254ca8 [INFO] running `"/workspace/cargo-home/bin/cargo" "+8a5e87609850cdd8679aada01eb0f3062f254ca8" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking crates.io crate substrate-wasmtime 0.13.0-threadsafe.1 [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate substrate-wasmtime 0.13.0-threadsafe.1 [INFO] tweaked toml for crates.io crate substrate-wasmtime 0.13.0-threadsafe.1 written to /workspace/builds/worker-0/source/Cargo.toml [INFO] crate crates.io crate substrate-wasmtime 0.13.0-threadsafe.1 already has a lockfile, it will not be regenerated [INFO] running `"/workspace/cargo-home/bin/cargo" "+8a5e87609850cdd8679aada01eb0f3062f254ca8" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-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" "+8a5e87609850cdd8679aada01eb0f3062f254ca8" "check" "--frozen" "--all" "--all-targets"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] c0ac294ffcbe093003b79bb90db80fde4cd1ba55c52ce87153bab015b6e8aba0 [INFO] running `"docker" "start" "-a" "c0ac294ffcbe093003b79bb90db80fde4cd1ba55c52ce87153bab015b6e8aba0"` [INFO] [stderr] Compiling libc v0.2.67 [INFO] [stderr] Compiling cranelift-codegen-shared v0.59.0 [INFO] [stderr] Compiling wasmtime-environ v0.12.0 [INFO] [stderr] Compiling regex-syntax v0.6.16 [INFO] [stderr] Checking uuid v0.8.1 [INFO] [stderr] Compiling leb128 v0.2.4 [INFO] [stderr] Checking wast v10.0.0 [INFO] [stderr] Compiling anyhow v1.0.26 [INFO] [stderr] Compiling wast v9.0.0 [INFO] [stderr] Compiling thiserror-impl v1.0.11 [INFO] [stderr] Compiling scroll_derive v0.10.1 [INFO] [stderr] Checking num-rational v0.2.3 [INFO] [stderr] Checking num-iter v0.1.40 [INFO] [stderr] Compiling serde v1.0.104 [INFO] [stderr] Checking cranelift-entity v0.59.0 [INFO] [stderr] Checking toml v0.5.6 [INFO] [stderr] Checking bincode v1.2.1 [INFO] [stderr] Checking string-interner v0.7.1 [INFO] [stderr] Checking num v0.2.1 [INFO] [stderr] Compiling structopt-derive v0.4.4 [INFO] [stderr] Checking cranelift-bforest v0.59.0 [INFO] [stderr] Checking scroll v0.10.1 [INFO] [stderr] Checking thiserror v1.0.11 [INFO] [stderr] Checking wat v1.0.11 [INFO] [stderr] Compiling regex v1.3.4 [INFO] [stderr] Checking goblin v0.1.3 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking num_cpus v1.12.0 [INFO] [stderr] Checking dirs-sys v0.3.4 [INFO] [stderr] Checking flate2 v1.0.13 [INFO] [stderr] Checking errno v0.2.4 [INFO] [stderr] Checking getrandom v0.1.14 [INFO] [stderr] Checking region v2.1.2 [INFO] [stderr] Checking time v0.1.42 [INFO] [stderr] Checking yanix v0.12.0 [INFO] [stderr] Checking filetime v0.2.8 [INFO] [stderr] Checking env_logger v0.6.2 [INFO] [stderr] Compiling jobserver v0.1.21 [INFO] [stderr] Checking rayon-core v1.7.0 [INFO] [stderr] Checking directories v2.0.2 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking chrono v0.4.11 [INFO] [stderr] Compiling cc v1.0.50 [INFO] [stderr] Checking file-per-thread-logger v0.1.2 [INFO] [stderr] Compiling clap v2.33.0 [INFO] [stderr] Checking rayon v1.3.0 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking pretty_env_logger v0.3.1 [INFO] [stderr] Checking object v0.17.0 [INFO] [stderr] Checking faerie v0.14.0 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Compiling zstd-sys v1.4.15+zstd.1.4.4 [INFO] [stderr] Compiling backtrace-sys v0.1.34 [INFO] [stderr] Compiling raw-cpuid v7.0.3 [INFO] [stderr] Compiling substrate-wasmtime-runtime v0.13.0-threadsafe.1 [INFO] [stderr] Compiling cranelift-codegen-meta v0.59.0 [INFO] [stderr] Checking wasmtime-profiling v0.12.0 [INFO] [stderr] Checking tempfile v3.1.0 [INFO] [stderr] Compiling structopt v0.3.11 [INFO] [stderr] Compiling witx v0.8.3 [INFO] [stderr] Checking backtrace v0.3.45 [INFO] [stderr] Compiling wig v0.12.0 [INFO] [stderr] Checking wasi-common v0.12.0 [INFO] [stderr] Compiling cranelift-codegen v0.59.0 [INFO] [stderr] Checking zstd-safe v2.0.3+zstd.1.4.4 [INFO] [stderr] Checking zstd v0.5.1+zstd.1.4.4 [INFO] [stderr] Checking cranelift-frontend v0.59.0 [INFO] [stderr] Checking cranelift-native v0.59.0 [INFO] [stderr] Checking cranelift-wasm v0.59.0 [INFO] [stderr] Checking wasmtime-debug v0.12.0 [INFO] [stderr] Checking substrate-wasmtime-jit v0.13.0-threadsafe.1 [INFO] [stderr] Checking substrate-wasmtime v0.13.0-threadsafe.1 (/opt/rustwide/workdir) [INFO] [stderr] warning: unnecessary braces around assigned value [INFO] [stderr] --> src/runtime.rs:228:33 [INFO] [stderr] | [INFO] [stderr] 228 | self.profiler = { Some(Arc::new(Mutex::new(Box::new(JitDumpAgent::default())))) } [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these braces [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_braces)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unnecessary braces around assigned value [INFO] [stderr] --> src/runtime.rs:230:34 [INFO] [stderr] | [INFO] [stderr] 230 | _ => self.profiler = { None }, [INFO] [stderr] | ^^^^^^^^ help: remove these braces [INFO] [stderr] [INFO] [stderr] warning: unnecessary braces around assigned value [INFO] [stderr] --> src/runtime.rs:228:33 [INFO] [stderr] | [INFO] [stderr] 228 | self.profiler = { Some(Arc::new(Mutex::new(Box::new(JitDumpAgent::default())))) } [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these braces [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_braces)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unnecessary braces around assigned value [INFO] [stderr] --> src/runtime.rs:230:34 [INFO] [stderr] | [INFO] [stderr] 230 | _ => self.profiler = { None }, [INFO] [stderr] | ^^^^^^^^ help: remove these braces [INFO] [stderr] [INFO] [stderr] warning: 2 warnings emitted [INFO] [stderr] [INFO] [stderr] warning: 2 warnings emitted [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `wasmtime` [INFO] [stderr] --> examples/memory.rs:4:5 [INFO] [stderr] | [INFO] [stderr] 4 | use wasmtime::*; [INFO] [stderr] | ^^^^^^^^ use of undeclared type or module `wasmtime` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Store` [INFO] [stderr] --> examples/memory.rs:65:17 [INFO] [stderr] | [INFO] [stderr] 65 | let store = Store::default(); [INFO] [stderr] | ^^^^^ use of undeclared type or module `Store` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Module` [INFO] [stderr] --> examples/memory.rs:87:18 [INFO] [stderr] | [INFO] [stderr] 87 | let module = Module::new(&store, &wat).context("> Error compiling module!")?; [INFO] [stderr] | ^^^^^^ use of undeclared type or module `Module` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Instance` [INFO] [stderr] --> examples/memory.rs:91:20 [INFO] [stderr] | [INFO] [stderr] 91 | let instance = Instance::new(&module, &[]).context("> Error instantiating module!")?; [INFO] [stderr] | ^^^^^^^^ use of undeclared type or module `Instance` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `MemoryType` [INFO] [stderr] --> examples/memory.rs:148:22 [INFO] [stderr] | [INFO] [stderr] 148 | let memorytype = MemoryType::new(Limits::new(5, Some(5))); [INFO] [stderr] | ^^^^^^^^^^ use of undeclared type or module `MemoryType` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Limits` [INFO] [stderr] --> examples/memory.rs:148:38 [INFO] [stderr] | [INFO] [stderr] 148 | let memorytype = MemoryType::new(Limits::new(5, Some(5))); [INFO] [stderr] | ^^^^^^ use of undeclared type or module `Limits` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Memory` [INFO] [stderr] --> examples/memory.rs:149:19 [INFO] [stderr] | [INFO] [stderr] 149 | let memory2 = Memory::new(&store, memorytype); [INFO] [stderr] | ^^^^^^ use of undeclared type or module `Memory` [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Extern` in this scope [INFO] [stderr] --> examples/memory.rs:6:33 [INFO] [stderr] | [INFO] [stderr] 6 | fn get_export_memory(exports: &[Extern], i: usize) -> Result { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] help: a trait with a similar name exists [INFO] [stderr] | [INFO] [stderr] 6 | fn get_export_memory(exports: &[Extend], i: usize) -> Result { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 3 | use substrate_wasmtime::Extern; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Memory` in this scope [INFO] [stderr] --> examples/memory.rs:6:62 [INFO] [stderr] | [INFO] [stderr] 6 | fn get_export_memory(exports: &[Extern], i: usize) -> Result { [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: possible candidates are found in other modules, you can import them into scope [INFO] [stderr] | [INFO] [stderr] 3 | use substrate_wasmtime::Memory; [INFO] [stderr] | [INFO] [stderr] 3 | use wasmtime_environ::wasm::Memory; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Extern` in this scope [INFO] [stderr] --> examples/memory.rs:16:31 [INFO] [stderr] | [INFO] [stderr] 16 | fn get_export_func(exports: &[Extern], i: usize) -> Result { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] help: a trait with a similar name exists [INFO] [stderr] | [INFO] [stderr] 16 | fn get_export_func(exports: &[Extend], i: usize) -> Result { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 3 | use substrate_wasmtime::Extern; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Func` in this scope [INFO] [stderr] --> examples/memory.rs:16:60 [INFO] [stderr] | [INFO] [stderr] 16 | fn get_export_func(exports: &[Extern], i: usize) -> Result { [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 3 | use substrate_wasmtime::Func; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `wasmtime` [INFO] [stderr] --> examples/hello.rs:4:5 [INFO] [stderr] | [INFO] [stderr] 4 | use wasmtime::*; [INFO] [stderr] | ^^^^^^^^ use of undeclared type or module `wasmtime` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `wasmtime` [INFO] [stderr] --> tests/globals.rs:1:5 [INFO] [stderr] | [INFO] [stderr] 1 | use wasmtime::*; [INFO] [stderr] | ^^^^^^^^ use of undeclared type or module `wasmtime` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Store` [INFO] [stderr] --> examples/hello.rs:11:17 [INFO] [stderr] | [INFO] [stderr] 11 | let store = Store::default(); [INFO] [stderr] | ^^^^^ use of undeclared type or module `Store` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Store` [INFO] [stderr] --> tests/globals.rs:5:17 [INFO] [stderr] | [INFO] [stderr] 5 | let store = Store::default(); [INFO] [stderr] | ^^^^^ use of undeclared type or module `Store` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Module` [INFO] [stderr] --> examples/hello.rs:21:18 [INFO] [stderr] | [INFO] [stderr] 21 | let module = Module::new(&store, wat).context("> Error compiling module!")?; [INFO] [stderr] | ^^^^^^ use of undeclared type or module `Module` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Global` [INFO] [stderr] --> tests/globals.rs:6:13 [INFO] [stderr] | [INFO] [stderr] 6 | let g = Global::new( [INFO] [stderr] | ^^^^^^ use of undeclared type or module `Global` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Func` [INFO] [stderr] --> examples/hello.rs:26:22 [INFO] [stderr] | [INFO] [stderr] 26 | let hello_func = Func::wrap0(&store, || { [INFO] [stderr] | ^^^^ use of undeclared type or module `Func` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `GlobalType` [INFO] [stderr] --> tests/globals.rs:8:9 [INFO] [stderr] | [INFO] [stderr] 8 | GlobalType::new(ValType::I32, Mutability::Const), [INFO] [stderr] | ^^^^^^^^^^ use of undeclared type or module `GlobalType` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Instance` [INFO] [stderr] --> examples/hello.rs:36:20 [INFO] [stderr] | [INFO] [stderr] 36 | let instance = Instance::new(&module, &imports).context("> Error instantiating module!")?; [INFO] [stderr] | ^^^^^^^^ use of undeclared type or module `Instance` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `ValType` [INFO] [stderr] --> tests/globals.rs:8:25 [INFO] [stderr] | [INFO] [stderr] 8 | GlobalType::new(ValType::I32, Mutability::Const), [INFO] [stderr] | ^^^^^^^ use of undeclared type or module `ValType` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Mutability` [INFO] [stderr] --> tests/globals.rs:8:39 [INFO] [stderr] | [INFO] [stderr] 8 | GlobalType::new(ValType::I32, Mutability::Const), [INFO] [stderr] | ^^^^^^^^^^ use of undeclared type or module `Mutability` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Global` [INFO] [stderr] --> tests/globals.rs:14:13 [INFO] [stderr] | [INFO] [stderr] 14 | let g = Global::new( [INFO] [stderr] | ^^^^^^ use of undeclared type or module `Global` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `GlobalType` [INFO] [stderr] --> tests/globals.rs:16:9 [INFO] [stderr] | [INFO] [stderr] 16 | GlobalType::new(ValType::I32, Mutability::Const), [INFO] [stderr] | ^^^^^^^^^^ use of undeclared type or module `GlobalType` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `ValType` [INFO] [stderr] --> tests/globals.rs:16:25 [INFO] [stderr] | [INFO] [stderr] 16 | GlobalType::new(ValType::I32, Mutability::Const), [INFO] [stderr] | ^^^^^^^ use of undeclared type or module `ValType` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Mutability` [INFO] [stderr] --> tests/globals.rs:16:39 [INFO] [stderr] | [INFO] [stderr] 16 | GlobalType::new(ValType::I32, Mutability::Const), [INFO] [stderr] | ^^^^^^^^^^ use of undeclared type or module `Mutability` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Global` [INFO] [stderr] --> tests/globals.rs:21:13 [INFO] [stderr] | [INFO] [stderr] 21 | let g = Global::new( [INFO] [stderr] | ^^^^^^ use of undeclared type or module `Global` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `GlobalType` [INFO] [stderr] --> tests/globals.rs:23:9 [INFO] [stderr] | [INFO] [stderr] 23 | GlobalType::new(ValType::I64, Mutability::Const), [INFO] [stderr] | ^^^^^^^^^^ use of undeclared type or module `GlobalType` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `ValType` [INFO] [stderr] --> tests/globals.rs:23:25 [INFO] [stderr] | [INFO] [stderr] 23 | GlobalType::new(ValType::I64, Mutability::Const), [INFO] [stderr] | ^^^^^^^ use of undeclared type or module `ValType` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Mutability` [INFO] [stderr] --> tests/globals.rs:23:39 [INFO] [stderr] | [INFO] [stderr] 23 | GlobalType::new(ValType::I64, Mutability::Const), [INFO] [stderr] | ^^^^^^^^^^ use of undeclared type or module `Mutability` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Global` [INFO] [stderr] --> tests/globals.rs:28:13 [INFO] [stderr] | [INFO] [stderr] 28 | let g = Global::new( [INFO] [stderr] | ^^^^^^ use of undeclared type or module `Global` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `GlobalType` [INFO] [stderr] --> tests/globals.rs:30:9 [INFO] [stderr] | [INFO] [stderr] 30 | GlobalType::new(ValType::F32, Mutability::Const), [INFO] [stderr] | ^^^^^^^^^^ use of undeclared type or module `GlobalType` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `ValType` [INFO] [stderr] --> tests/globals.rs:30:25 [INFO] [stderr] | [INFO] [stderr] 30 | GlobalType::new(ValType::F32, Mutability::Const), [INFO] [stderr] | ^^^^^^^ use of undeclared type or module `ValType` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Mutability` [INFO] [stderr] --> tests/globals.rs:30:39 [INFO] [stderr] | [INFO] [stderr] 30 | GlobalType::new(ValType::F32, Mutability::Const), [INFO] [stderr] | ^^^^^^^^^^ use of undeclared type or module `Mutability` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Global` [INFO] [stderr] --> tests/globals.rs:35:13 [INFO] [stderr] | [INFO] [stderr] 35 | let g = Global::new( [INFO] [stderr] | ^^^^^^ use of undeclared type or module `Global` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `GlobalType` [INFO] [stderr] --> tests/globals.rs:37:9 [INFO] [stderr] | [INFO] [stderr] 37 | GlobalType::new(ValType::F64, Mutability::Const), [INFO] [stderr] | ^^^^^^^^^^ use of undeclared type or module `GlobalType` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `ValType` [INFO] [stderr] --> tests/globals.rs:37:25 [INFO] [stderr] | [INFO] [stderr] 37 | GlobalType::new(ValType::F64, Mutability::Const), [INFO] [stderr] | ^^^^^^^ use of undeclared type or module `ValType` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Mutability` [INFO] [stderr] --> tests/globals.rs:37:39 [INFO] [stderr] | [INFO] [stderr] 37 | GlobalType::new(ValType::F64, Mutability::Const), [INFO] [stderr] | ^^^^^^^^^^ use of undeclared type or module `Mutability` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Store` [INFO] [stderr] --> tests/globals.rs:46:17 [INFO] [stderr] | [INFO] [stderr] 46 | let store = Store::default(); [INFO] [stderr] | ^^^^^ use of undeclared type or module `Store` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Global` [INFO] [stderr] --> tests/globals.rs:47:13 [INFO] [stderr] | [INFO] [stderr] 47 | let g = Global::new( [INFO] [stderr] | ^^^^^^ use of undeclared type or module `Global` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `GlobalType` [INFO] [stderr] --> tests/globals.rs:49:9 [INFO] [stderr] | [INFO] [stderr] 49 | GlobalType::new(ValType::I32, Mutability::Var), [INFO] [stderr] | ^^^^^^^^^^ use of undeclared type or module `GlobalType` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `ValType` [INFO] [stderr] --> tests/globals.rs:49:25 [INFO] [stderr] | [INFO] [stderr] 49 | GlobalType::new(ValType::I32, Mutability::Var), [INFO] [stderr] | ^^^^^^^ use of undeclared type or module `ValType` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Mutability` [INFO] [stderr] --> tests/globals.rs:49:39 [INFO] [stderr] | [INFO] [stderr] 49 | GlobalType::new(ValType::I32, Mutability::Var), [INFO] [stderr] | ^^^^^^^^^^ use of undeclared type or module `Mutability` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Store` [INFO] [stderr] --> tests/globals.rs:64:17 [INFO] [stderr] | [INFO] [stderr] 64 | let store = Store::default(); [INFO] [stderr] | ^^^^^ use of undeclared type or module `Store` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Module` [INFO] [stderr] --> tests/globals.rs:65:18 [INFO] [stderr] | [INFO] [stderr] 65 | let module = Module::new( [INFO] [stderr] | ^^^^^^ use of undeclared type or module `Module` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Instance` [INFO] [stderr] --> tests/globals.rs:72:20 [INFO] [stderr] | [INFO] [stderr] 72 | let instance = Instance::new(&module, &[])?; [INFO] [stderr] | ^^^^^^^^ use of undeclared type or module `Instance` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Instance` [INFO] [stderr] --> tests/globals.rs:78:5 [INFO] [stderr] | [INFO] [stderr] 78 | Instance::new(&module, &[])?; [INFO] [stderr] | ^^^^^^^^ use of undeclared type or module `Instance` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `wasmtime` [INFO] [stderr] --> tests/import-indexes.rs:2:5 [INFO] [stderr] | [INFO] [stderr] 2 | use wasmtime::*; [INFO] [stderr] | ^^^^^^^^ use of undeclared type or module `wasmtime` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `wasmtime` [INFO] [stderr] --> tests/name.rs:1:5 [INFO] [stderr] | [INFO] [stderr] 1 | use wasmtime::*; [INFO] [stderr] | ^^^^^^^^ use of undeclared type or module `wasmtime` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Store` [INFO] [stderr] --> tests/name.rs:5:17 [INFO] [stderr] | [INFO] [stderr] 5 | let store = Store::default(); [INFO] [stderr] | ^^^^^ use of undeclared type or module `Store` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Module` [INFO] [stderr] --> tests/name.rs:12:18 [INFO] [stderr] | [INFO] [stderr] 12 | let module = Module::new(&store, wat)?; [INFO] [stderr] | ^^^^^^ use of undeclared type or module `Module` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Store` [INFO] [stderr] --> tests/name.rs:20:17 [INFO] [stderr] | [INFO] [stderr] 20 | let store = Store::default(); [INFO] [stderr] | ^^^^^ use of undeclared type or module `Store` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Module` [INFO] [stderr] --> tests/name.rs:27:18 [INFO] [stderr] | [INFO] [stderr] 27 | let module = Module::new(&store, wat)?; [INFO] [stderr] | ^^^^^^ use of undeclared type or module `Module` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Module` [INFO] [stderr] --> tests/name.rs:30:18 [INFO] [stderr] | [INFO] [stderr] 30 | let module = Module::new_with_name(&store, wat, "override")?; [INFO] [stderr] | ^^^^^^ use of undeclared type or module `Module` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `wasmtime` [INFO] [stderr] --> tests/externals.rs:1:5 [INFO] [stderr] | [INFO] [stderr] 1 | use wasmtime::*; [INFO] [stderr] | ^^^^^^^^ use of undeclared type or module `wasmtime` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `GlobalType` [INFO] [stderr] --> tests/externals.rs:5:14 [INFO] [stderr] | [INFO] [stderr] 5 | let ty = GlobalType::new(ValType::I32, Mutability::Var); [INFO] [stderr] | ^^^^^^^^^^ use of undeclared type or module `GlobalType` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `ValType` [INFO] [stderr] --> tests/externals.rs:5:30 [INFO] [stderr] | [INFO] [stderr] 5 | let ty = GlobalType::new(ValType::I32, Mutability::Var); [INFO] [stderr] | ^^^^^^^ use of undeclared type or module `ValType` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Mutability` [INFO] [stderr] --> tests/externals.rs:5:44 [INFO] [stderr] | [INFO] [stderr] 5 | let ty = GlobalType::new(ValType::I32, Mutability::Var); [INFO] [stderr] | ^^^^^^^^^^ use of undeclared type or module `Mutability` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Global` [INFO] [stderr] --> tests/externals.rs:6:13 [INFO] [stderr] | [INFO] [stderr] 6 | assert!(Global::new(&Store::default(), ty.clone(), Val::I64(0)).is_err()); [INFO] [stderr] | ^^^^^^ use of undeclared type or module `Global` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Store` [INFO] [stderr] --> tests/externals.rs:6:26 [INFO] [stderr] | [INFO] [stderr] 6 | assert!(Global::new(&Store::default(), ty.clone(), Val::I64(0)).is_err()); [INFO] [stderr] | ^^^^^ use of undeclared type or module `Store` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Val` [INFO] [stderr] --> tests/externals.rs:6:56 [INFO] [stderr] | [INFO] [stderr] 6 | assert!(Global::new(&Store::default(), ty.clone(), Val::I64(0)).is_err()); [INFO] [stderr] | ^^^ use of undeclared type or module `Val` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Global` [INFO] [stderr] --> tests/externals.rs:7:13 [INFO] [stderr] | [INFO] [stderr] 7 | assert!(Global::new(&Store::default(), ty.clone(), Val::F32(0)).is_err()); [INFO] [stderr] | ^^^^^^ use of undeclared type or module `Global` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Store` [INFO] [stderr] --> tests/externals.rs:7:26 [INFO] [stderr] | [INFO] [stderr] 7 | assert!(Global::new(&Store::default(), ty.clone(), Val::F32(0)).is_err()); [INFO] [stderr] | ^^^^^ use of undeclared type or module `Store` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Val` [INFO] [stderr] --> tests/externals.rs:7:56 [INFO] [stderr] | [INFO] [stderr] 7 | assert!(Global::new(&Store::default(), ty.clone(), Val::F32(0)).is_err()); [INFO] [stderr] | ^^^ use of undeclared type or module `Val` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Global` [INFO] [stderr] --> tests/externals.rs:8:13 [INFO] [stderr] | [INFO] [stderr] 8 | assert!(Global::new(&Store::default(), ty.clone(), Val::F64(0)).is_err()); [INFO] [stderr] | ^^^^^^ use of undeclared type or module `Global` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Store` [INFO] [stderr] --> tests/externals.rs:8:26 [INFO] [stderr] | [INFO] [stderr] 8 | assert!(Global::new(&Store::default(), ty.clone(), Val::F64(0)).is_err()); [INFO] [stderr] | ^^^^^ use of undeclared type or module `Store` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Val` [INFO] [stderr] --> tests/externals.rs:8:56 [INFO] [stderr] | [INFO] [stderr] 8 | assert!(Global::new(&Store::default(), ty.clone(), Val::F64(0)).is_err()); [INFO] [stderr] | ^^^ use of undeclared type or module `Val` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `GlobalType` [INFO] [stderr] --> tests/externals.rs:10:14 [INFO] [stderr] | [INFO] [stderr] 10 | let ty = GlobalType::new(ValType::I32, Mutability::Const); [INFO] [stderr] | ^^^^^^^^^^ use of undeclared type or module `GlobalType` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `ValType` [INFO] [stderr] --> tests/externals.rs:10:30 [INFO] [stderr] | [INFO] [stderr] 10 | let ty = GlobalType::new(ValType::I32, Mutability::Const); [INFO] [stderr] | ^^^^^^^ use of undeclared type or module `ValType` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Mutability` [INFO] [stderr] --> tests/externals.rs:10:44 [INFO] [stderr] | [INFO] [stderr] 10 | let ty = GlobalType::new(ValType::I32, Mutability::Const); [INFO] [stderr] | ^^^^^^^^^^ use of undeclared type or module `Mutability` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Global` [INFO] [stderr] --> tests/externals.rs:11:13 [INFO] [stderr] | [INFO] [stderr] 11 | let g = Global::new(&Store::default(), ty.clone(), Val::I32(0)).unwrap(); [INFO] [stderr] | ^^^^^^ use of undeclared type or module `Global` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Store` [INFO] [stderr] --> tests/externals.rs:11:26 [INFO] [stderr] | [INFO] [stderr] 11 | let g = Global::new(&Store::default(), ty.clone(), Val::I32(0)).unwrap(); [INFO] [stderr] | ^^^^^ use of undeclared type or module `Store` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Val` [INFO] [stderr] --> tests/externals.rs:11:56 [INFO] [stderr] | [INFO] [stderr] 11 | let g = Global::new(&Store::default(), ty.clone(), Val::I32(0)).unwrap(); [INFO] [stderr] | ^^^ use of undeclared type or module `Val` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Val` [INFO] [stderr] --> tests/externals.rs:12:19 [INFO] [stderr] | [INFO] [stderr] 12 | assert!(g.set(Val::I32(1)).is_err()); [INFO] [stderr] | ^^^ use of undeclared type or module `Val` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `GlobalType` [INFO] [stderr] --> tests/externals.rs:14:14 [INFO] [stderr] | [INFO] [stderr] 14 | let ty = GlobalType::new(ValType::I32, Mutability::Var); [INFO] [stderr] | ^^^^^^^^^^ use of undeclared type or module `GlobalType` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `ValType` [INFO] [stderr] --> tests/externals.rs:14:30 [INFO] [stderr] | [INFO] [stderr] 14 | let ty = GlobalType::new(ValType::I32, Mutability::Var); [INFO] [stderr] | ^^^^^^^ use of undeclared type or module `ValType` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Mutability` [INFO] [stderr] --> tests/externals.rs:14:44 [INFO] [stderr] | [INFO] [stderr] 14 | let ty = GlobalType::new(ValType::I32, Mutability::Var); [INFO] [stderr] | ^^^^^^^^^^ use of undeclared type or module `Mutability` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Global` [INFO] [stderr] --> tests/externals.rs:15:13 [INFO] [stderr] | [INFO] [stderr] 15 | let g = Global::new(&Store::default(), ty.clone(), Val::I32(0)).unwrap(); [INFO] [stderr] | ^^^^^^ use of undeclared type or module `Global` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Store` [INFO] [stderr] --> tests/externals.rs:15:26 [INFO] [stderr] | [INFO] [stderr] 15 | let g = Global::new(&Store::default(), ty.clone(), Val::I32(0)).unwrap(); [INFO] [stderr] | ^^^^^ use of undeclared type or module `Store` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Val` [INFO] [stderr] --> tests/externals.rs:15:56 [INFO] [stderr] | [INFO] [stderr] 15 | let g = Global::new(&Store::default(), ty.clone(), Val::I32(0)).unwrap(); [INFO] [stderr] | ^^^ use of undeclared type or module `Val` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Val` [INFO] [stderr] --> tests/externals.rs:16:19 [INFO] [stderr] | [INFO] [stderr] 16 | assert!(g.set(Val::I64(0)).is_err()); [INFO] [stderr] | ^^^ use of undeclared type or module `Val` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `TableType` [INFO] [stderr] --> tests/externals.rs:22:14 [INFO] [stderr] | [INFO] [stderr] 22 | let ty = TableType::new(ValType::I32, Limits::new(0, Some(1))); [INFO] [stderr] | ^^^^^^^^^ use of undeclared type or module `TableType` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `ValType` [INFO] [stderr] --> tests/externals.rs:22:29 [INFO] [stderr] | [INFO] [stderr] 22 | let ty = TableType::new(ValType::I32, Limits::new(0, Some(1))); [INFO] [stderr] | ^^^^^^^ use of undeclared type or module `ValType` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Limits` [INFO] [stderr] --> tests/externals.rs:22:43 [INFO] [stderr] | [INFO] [stderr] 22 | let ty = TableType::new(ValType::I32, Limits::new(0, Some(1))); [INFO] [stderr] | ^^^^^^ use of undeclared type or module `Limits` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Table` [INFO] [stderr] --> tests/externals.rs:23:13 [INFO] [stderr] | [INFO] [stderr] 23 | assert!(Table::new(&Store::default(), ty.clone(), Val::I32(0)).is_err()); [INFO] [stderr] | ^^^^^ use of undeclared type or module `Table` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Store` [INFO] [stderr] --> tests/externals.rs:23:25 [INFO] [stderr] | [INFO] [stderr] 23 | assert!(Table::new(&Store::default(), ty.clone(), Val::I32(0)).is_err()); [INFO] [stderr] | ^^^^^ use of undeclared type or module `Store` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Val` [INFO] [stderr] --> tests/externals.rs:23:55 [INFO] [stderr] | [INFO] [stderr] 23 | assert!(Table::new(&Store::default(), ty.clone(), Val::I32(0)).is_err()); [INFO] [stderr] | ^^^ use of undeclared type or module `Val` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `TableType` [INFO] [stderr] --> tests/externals.rs:26:14 [INFO] [stderr] | [INFO] [stderr] 26 | let ty = TableType::new(ValType::FuncRef, Limits::new(0, Some(1))); [INFO] [stderr] | ^^^^^^^^^ use of undeclared type or module `TableType` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `ValType` [INFO] [stderr] --> tests/externals.rs:26:29 [INFO] [stderr] | [INFO] [stderr] 26 | let ty = TableType::new(ValType::FuncRef, Limits::new(0, Some(1))); [INFO] [stderr] | ^^^^^^^ use of undeclared type or module `ValType` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Limits` [INFO] [stderr] --> tests/externals.rs:26:47 [INFO] [stderr] | [INFO] [stderr] 26 | let ty = TableType::new(ValType::FuncRef, Limits::new(0, Some(1))); [INFO] [stderr] | ^^^^^^ use of undeclared type or module `Limits` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Table` [INFO] [stderr] --> tests/externals.rs:27:13 [INFO] [stderr] | [INFO] [stderr] 27 | assert!(Table::new(&Store::default(), ty.clone(), Val::I32(0)).is_err()); [INFO] [stderr] | ^^^^^ use of undeclared type or module `Table` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Store` [INFO] [stderr] --> tests/externals.rs:27:25 [INFO] [stderr] | [INFO] [stderr] 27 | assert!(Table::new(&Store::default(), ty.clone(), Val::I32(0)).is_err()); [INFO] [stderr] | ^^^^^ use of undeclared type or module `Store` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Val` [INFO] [stderr] --> tests/externals.rs:27:55 [INFO] [stderr] | [INFO] [stderr] 27 | assert!(Table::new(&Store::default(), ty.clone(), Val::I32(0)).is_err()); [INFO] [stderr] | ^^^ use of undeclared type or module `Val` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `TableType` [INFO] [stderr] --> tests/externals.rs:30:14 [INFO] [stderr] | [INFO] [stderr] 30 | let ty = TableType::new(ValType::FuncRef, Limits::new(0, Some(1))); [INFO] [stderr] | ^^^^^^^^^ use of undeclared type or module `TableType` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `ValType` [INFO] [stderr] --> tests/externals.rs:30:29 [INFO] [stderr] | [INFO] [stderr] 30 | let ty = TableType::new(ValType::FuncRef, Limits::new(0, Some(1))); [INFO] [stderr] | ^^^^^^^ use of undeclared type or module `ValType` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Limits` [INFO] [stderr] --> tests/externals.rs:30:47 [INFO] [stderr] | [INFO] [stderr] 30 | let ty = TableType::new(ValType::FuncRef, Limits::new(0, Some(1))); [INFO] [stderr] | ^^^^^^ use of undeclared type or module `Limits` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Table` [INFO] [stderr] --> tests/externals.rs:31:13 [INFO] [stderr] | [INFO] [stderr] 31 | let t = Table::new(&Store::default(), ty.clone(), Val::AnyRef(AnyRef::Null)).unwrap(); [INFO] [stderr] | ^^^^^ use of undeclared type or module `Table` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Store` [INFO] [stderr] --> tests/externals.rs:31:25 [INFO] [stderr] | [INFO] [stderr] 31 | let t = Table::new(&Store::default(), ty.clone(), Val::AnyRef(AnyRef::Null)).unwrap(); [INFO] [stderr] | ^^^^^ use of undeclared type or module `Store` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Val` [INFO] [stderr] --> tests/externals.rs:31:55 [INFO] [stderr] | [INFO] [stderr] 31 | let t = Table::new(&Store::default(), ty.clone(), Val::AnyRef(AnyRef::Null)).unwrap(); [INFO] [stderr] | ^^^ use of undeclared type or module `Val` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `AnyRef` [INFO] [stderr] --> tests/externals.rs:31:67 [INFO] [stderr] | [INFO] [stderr] 31 | let t = Table::new(&Store::default(), ty.clone(), Val::AnyRef(AnyRef::Null)).unwrap(); [INFO] [stderr] | ^^^^^^ use of undeclared type or module `AnyRef` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `TableType` [INFO] [stderr] --> tests/externals.rs:36:14 [INFO] [stderr] | [INFO] [stderr] 36 | let ty = TableType::new(ValType::FuncRef, Limits::new(1, Some(1))); [INFO] [stderr] | ^^^^^^^^^ use of undeclared type or module `TableType` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `ValType` [INFO] [stderr] --> tests/externals.rs:36:29 [INFO] [stderr] | [INFO] [stderr] 36 | let ty = TableType::new(ValType::FuncRef, Limits::new(1, Some(1))); [INFO] [stderr] | ^^^^^^^ use of undeclared type or module `ValType` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Limits` [INFO] [stderr] --> tests/externals.rs:36:47 [INFO] [stderr] | [INFO] [stderr] 36 | let ty = TableType::new(ValType::FuncRef, Limits::new(1, Some(1))); [INFO] [stderr] | ^^^^^^ use of undeclared type or module `Limits` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Table` [INFO] [stderr] --> tests/externals.rs:37:13 [INFO] [stderr] | [INFO] [stderr] 37 | let t = Table::new(&Store::default(), ty.clone(), Val::AnyRef(AnyRef::Null)).unwrap(); [INFO] [stderr] | ^^^^^ use of undeclared type or module `Table` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Store` [INFO] [stderr] --> tests/externals.rs:37:25 [INFO] [stderr] | [INFO] [stderr] 37 | let t = Table::new(&Store::default(), ty.clone(), Val::AnyRef(AnyRef::Null)).unwrap(); [INFO] [stderr] | ^^^^^ use of undeclared type or module `Store` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Val` [INFO] [stderr] --> tests/externals.rs:37:55 [INFO] [stderr] | [INFO] [stderr] 37 | let t = Table::new(&Store::default(), ty.clone(), Val::AnyRef(AnyRef::Null)).unwrap(); [INFO] [stderr] | ^^^ use of undeclared type or module `Val` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `AnyRef` [INFO] [stderr] --> tests/externals.rs:37:67 [INFO] [stderr] | [INFO] [stderr] 37 | let t = Table::new(&Store::default(), ty.clone(), Val::AnyRef(AnyRef::Null)).unwrap(); [INFO] [stderr] | ^^^^^^ use of undeclared type or module `AnyRef` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Val` [INFO] [stderr] --> tests/externals.rs:38:22 [INFO] [stderr] | [INFO] [stderr] 38 | assert!(t.set(0, Val::I32(0)).is_err()); [INFO] [stderr] | ^^^ use of undeclared type or module `Val` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Val` [INFO] [stderr] --> tests/externals.rs:39:22 [INFO] [stderr] | [INFO] [stderr] 39 | assert!(t.set(0, Val::AnyRef(AnyRef::Null)).is_ok()); [INFO] [stderr] | ^^^ use of undeclared type or module `Val` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `AnyRef` [INFO] [stderr] --> tests/externals.rs:39:34 [INFO] [stderr] | [INFO] [stderr] 39 | assert!(t.set(0, Val::AnyRef(AnyRef::Null)).is_ok()); [INFO] [stderr] | ^^^^^^ use of undeclared type or module `AnyRef` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Val` [INFO] [stderr] --> tests/externals.rs:40:22 [INFO] [stderr] | [INFO] [stderr] 40 | assert!(t.set(1, Val::AnyRef(AnyRef::Null)).is_err()); [INFO] [stderr] | ^^^ use of undeclared type or module `Val` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `AnyRef` [INFO] [stderr] --> tests/externals.rs:40:34 [INFO] [stderr] | [INFO] [stderr] 40 | assert!(t.set(1, Val::AnyRef(AnyRef::Null)).is_err()); [INFO] [stderr] | ^^^^^^ use of undeclared type or module `AnyRef` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `TableType` [INFO] [stderr] --> tests/externals.rs:43:14 [INFO] [stderr] | [INFO] [stderr] 43 | let ty = TableType::new(ValType::FuncRef, Limits::new(1, Some(1))); [INFO] [stderr] | ^^^^^^^^^ use of undeclared type or module `TableType` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `ValType` [INFO] [stderr] --> tests/externals.rs:43:29 [INFO] [stderr] | [INFO] [stderr] 43 | let ty = TableType::new(ValType::FuncRef, Limits::new(1, Some(1))); [INFO] [stderr] | ^^^^^^^ use of undeclared type or module `ValType` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Limits` [INFO] [stderr] --> tests/externals.rs:43:47 [INFO] [stderr] | [INFO] [stderr] 43 | let ty = TableType::new(ValType::FuncRef, Limits::new(1, Some(1))); [INFO] [stderr] | ^^^^^^ use of undeclared type or module `Limits` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Table` [INFO] [stderr] --> tests/externals.rs:44:13 [INFO] [stderr] | [INFO] [stderr] 44 | let t = Table::new(&Store::default(), ty.clone(), Val::AnyRef(AnyRef::Null)).unwrap(); [INFO] [stderr] | ^^^^^ use of undeclared type or module `Table` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Store` [INFO] [stderr] --> tests/externals.rs:44:25 [INFO] [stderr] | [INFO] [stderr] 44 | let t = Table::new(&Store::default(), ty.clone(), Val::AnyRef(AnyRef::Null)).unwrap(); [INFO] [stderr] | ^^^^^ use of undeclared type or module `Store` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Val` [INFO] [stderr] --> tests/externals.rs:44:55 [INFO] [stderr] | [INFO] [stderr] 44 | let t = Table::new(&Store::default(), ty.clone(), Val::AnyRef(AnyRef::Null)).unwrap(); [INFO] [stderr] | ^^^ use of undeclared type or module `Val` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `AnyRef` [INFO] [stderr] --> tests/externals.rs:44:67 [INFO] [stderr] | [INFO] [stderr] 44 | let t = Table::new(&Store::default(), ty.clone(), Val::AnyRef(AnyRef::Null)).unwrap(); [INFO] [stderr] | ^^^^^^ use of undeclared type or module `AnyRef` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Val` [INFO] [stderr] --> tests/externals.rs:45:23 [INFO] [stderr] | [INFO] [stderr] 45 | assert!(t.grow(0, Val::AnyRef(AnyRef::Null)).is_ok()); [INFO] [stderr] | ^^^ use of undeclared type or module `Val` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `AnyRef` [INFO] [stderr] --> tests/externals.rs:45:35 [INFO] [stderr] | [INFO] [stderr] 45 | assert!(t.grow(0, Val::AnyRef(AnyRef::Null)).is_ok()); [INFO] [stderr] | ^^^^^^ use of undeclared type or module `AnyRef` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Val` [INFO] [stderr] --> tests/externals.rs:46:23 [INFO] [stderr] | [INFO] [stderr] 46 | assert!(t.grow(1, Val::AnyRef(AnyRef::Null)).is_err()); [INFO] [stderr] | ^^^ use of undeclared type or module `Val` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `AnyRef` [INFO] [stderr] --> tests/externals.rs:46:35 [INFO] [stderr] | [INFO] [stderr] 46 | assert!(t.grow(1, Val::AnyRef(AnyRef::Null)).is_err()); [INFO] [stderr] | ^^^^^^ use of undeclared type or module `AnyRef` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `TableType` [INFO] [stderr] --> tests/externals.rs:50:14 [INFO] [stderr] | [INFO] [stderr] 50 | let ty = TableType::new(ValType::FuncRef, Limits::new(1, Some(2))); [INFO] [stderr] | ^^^^^^^^^ use of undeclared type or module `TableType` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `ValType` [INFO] [stderr] --> tests/externals.rs:50:29 [INFO] [stderr] | [INFO] [stderr] 50 | let ty = TableType::new(ValType::FuncRef, Limits::new(1, Some(2))); [INFO] [stderr] | ^^^^^^^ use of undeclared type or module `ValType` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Limits` [INFO] [stderr] --> tests/externals.rs:50:47 [INFO] [stderr] | [INFO] [stderr] 50 | let ty = TableType::new(ValType::FuncRef, Limits::new(1, Some(2))); [INFO] [stderr] | ^^^^^^ use of undeclared type or module `Limits` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Table` [INFO] [stderr] --> tests/externals.rs:51:13 [INFO] [stderr] | [INFO] [stderr] 51 | let t = Table::new(&Store::default(), ty.clone(), Val::AnyRef(AnyRef::Null)).unwrap(); [INFO] [stderr] | ^^^^^ use of undeclared type or module `Table` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Store` [INFO] [stderr] --> tests/externals.rs:51:25 [INFO] [stderr] | [INFO] [stderr] 51 | let t = Table::new(&Store::default(), ty.clone(), Val::AnyRef(AnyRef::Null)).unwrap(); [INFO] [stderr] | ^^^^^ use of undeclared type or module `Store` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Val` [INFO] [stderr] --> tests/externals.rs:51:55 [INFO] [stderr] | [INFO] [stderr] 51 | let t = Table::new(&Store::default(), ty.clone(), Val::AnyRef(AnyRef::Null)).unwrap(); [INFO] [stderr] | ^^^ use of undeclared type or module `Val` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `AnyRef` [INFO] [stderr] --> tests/externals.rs:51:67 [INFO] [stderr] | [INFO] [stderr] 51 | let t = Table::new(&Store::default(), ty.clone(), Val::AnyRef(AnyRef::Null)).unwrap(); [INFO] [stderr] | ^^^^^^ use of undeclared type or module `AnyRef` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Val` [INFO] [stderr] --> tests/externals.rs:52:23 [INFO] [stderr] | [INFO] [stderr] 52 | assert!(t.grow(1, Val::I32(0)).is_err()); [INFO] [stderr] | ^^^ use of undeclared type or module `Val` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Store` [INFO] [stderr] --> tests/import-indexes.rs:40:17 [INFO] [stderr] | [INFO] [stderr] 40 | let store = Store::default(); [INFO] [stderr] | ^^^^^ use of undeclared type or module `Store` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Module` [INFO] [stderr] --> tests/import-indexes.rs:41:18 [INFO] [stderr] | [INFO] [stderr] 41 | let module = Module::new(&store, WAT)?; [INFO] [stderr] | ^^^^^^ use of undeclared type or module `Module` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Func` [INFO] [stderr] --> tests/import-indexes.rs:44:9 [INFO] [stderr] | [INFO] [stderr] 44 | Func::new( [INFO] [stderr] | ^^^^ use of undeclared type or module `Func` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `FuncType` [INFO] [stderr] --> tests/import-indexes.rs:46:13 [INFO] [stderr] | [INFO] [stderr] 46 | FuncType::new(Box::new([]), Box::new([ValType::I32])), [INFO] [stderr] | ^^^^^^^^ use of undeclared type or module `FuncType` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `ValType` [INFO] [stderr] --> tests/import-indexes.rs:46:51 [INFO] [stderr] | [INFO] [stderr] 46 | FuncType::new(Box::new([]), Box::new([ValType::I32])), [INFO] [stderr] | ^^^^^^^ use of undeclared type or module `ValType` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Func` [INFO] [stderr] --> tests/import-indexes.rs:50:9 [INFO] [stderr] | [INFO] [stderr] 50 | Func::new( [INFO] [stderr] | ^^^^ use of undeclared type or module `Func` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `FuncType` [INFO] [stderr] --> tests/import-indexes.rs:52:13 [INFO] [stderr] | [INFO] [stderr] 52 | FuncType::new(Box::new([]), Box::new([ValType::F32])), [INFO] [stderr] | ^^^^^^^^ use of undeclared type or module `FuncType` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `ValType` [INFO] [stderr] --> tests/import-indexes.rs:52:51 [INFO] [stderr] | [INFO] [stderr] 52 | FuncType::new(Box::new([]), Box::new([ValType::F32])), [INFO] [stderr] | ^^^^^^^ use of undeclared type or module `ValType` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Instance` [INFO] [stderr] --> tests/import-indexes.rs:57:20 [INFO] [stderr] | [INFO] [stderr] 57 | let instance = Instance::new(&module, &imports)?; [INFO] [stderr] | ^^^^^^^^ use of undeclared type or module `Instance` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Val` [INFO] [stderr] --> tests/import-indexes.rs:63:9 [INFO] [stderr] | [INFO] [stderr] 63 | Val::I32(n) => assert_eq!(n, 3), [INFO] [stderr] | ^^^ use of undeclared type or module `Val` [INFO] [stderr] [INFO] [stderr] error[E0405]: cannot find trait `Callable` in this scope [INFO] [stderr] --> tests/import-indexes.rs:20:10 [INFO] [stderr] | [INFO] [stderr] 20 | impl Callable for Ret1 { [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 1 | use substrate_wasmtime::Callable; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Val` in this scope [INFO] [stderr] --> tests/import-indexes.rs:21:34 [INFO] [stderr] | [INFO] [stderr] 21 | fn call(&self, params: &[Val], results: &mut [Val]) -> Result<(), Trap> { [INFO] [stderr] | ^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 1 | use substrate_wasmtime::Val; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Val` in this scope [INFO] [stderr] --> tests/import-indexes.rs:21:55 [INFO] [stderr] | [INFO] [stderr] 21 | fn call(&self, params: &[Val], results: &mut [Val]) -> Result<(), Trap> { [INFO] [stderr] | ^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 1 | use substrate_wasmtime::Val; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Trap` in this scope [INFO] [stderr] --> tests/import-indexes.rs:21:75 [INFO] [stderr] | [INFO] [stderr] 21 | fn call(&self, params: &[Val], results: &mut [Val]) -> Result<(), Trap> { [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: possible candidates are found in other modules, you can import them into scope [INFO] [stderr] | [INFO] [stderr] 1 | use substrate_wasmtime::Trap; [INFO] [stderr] | [INFO] [stderr] 1 | use wasmtime_runtime::Trap; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0405]: cannot find trait `Callable` in this scope [INFO] [stderr] --> tests/import-indexes.rs:31:10 [INFO] [stderr] | [INFO] [stderr] 31 | impl Callable for Ret2 { [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 1 | use substrate_wasmtime::Callable; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Val` in this scope [INFO] [stderr] --> tests/import-indexes.rs:32:34 [INFO] [stderr] | [INFO] [stderr] 32 | fn call(&self, params: &[Val], results: &mut [Val]) -> Result<(), Trap> { [INFO] [stderr] | ^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 1 | use substrate_wasmtime::Val; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Val` in this scope [INFO] [stderr] --> tests/import-indexes.rs:32:55 [INFO] [stderr] | [INFO] [stderr] 32 | fn call(&self, params: &[Val], results: &mut [Val]) -> Result<(), Trap> { [INFO] [stderr] | ^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 1 | use substrate_wasmtime::Val; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Trap` in this scope [INFO] [stderr] --> tests/import-indexes.rs:32:75 [INFO] [stderr] | [INFO] [stderr] 32 | fn call(&self, params: &[Val], results: &mut [Val]) -> Result<(), Trap> { [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: possible candidates are found in other modules, you can import them into scope [INFO] [stderr] | [INFO] [stderr] 1 | use substrate_wasmtime::Trap; [INFO] [stderr] | [INFO] [stderr] 1 | use wasmtime_runtime::Trap; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unused import: `Context` [INFO] [stderr] --> examples/hello.rs:3:22 [INFO] [stderr] | [INFO] [stderr] 3 | use anyhow::{ensure, Context as _, Result}; [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] error: aborting due to 19 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0405, E0412, E0432, E0433. [INFO] [stderr] For more information about an error, try `rustc --explain E0405`. [INFO] [stderr] error: aborting due to 5 previous errors; 1 warning emitted [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0432, E0433. [INFO] [stderr] For more information about an error, try `rustc --explain E0432`. [INFO] [stderr] error[E0432]: unresolved import `wasmtime` [INFO] [stderr] --> tests/func.rs:4:5 [INFO] [stderr] | [INFO] [stderr] 4 | use wasmtime::{Callable, Func, FuncType, Instance, Module, Store, Trap, Val, ValType}; [INFO] [stderr] | ^^^^^^^^ use of undeclared type or module `wasmtime` [INFO] [stderr] [INFO] [stderr] error: could not compile `substrate-wasmtime`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `substrate-wasmtime`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: aborting due to 77 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0432, E0433. [INFO] [stderr] For more information about an error, try `rustc --explain E0432`. [INFO] [stderr] error: aborting due to previous error [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0432`. [INFO] [stderr] error: aborting due to 6 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0432, E0433. [INFO] [stderr] For more information about an error, try `rustc --explain E0432`. [INFO] [stderr] error: could not compile `substrate-wasmtime`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `substrate-wasmtime`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `substrate-wasmtime`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: aborting due to 31 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0432, E0433. [INFO] [stderr] For more information about an error, try `rustc --explain E0432`. [INFO] [stderr] error: could not compile `substrate-wasmtime`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] warning: unused import: `Context` [INFO] [stderr] --> examples/memory.rs:3:28 [INFO] [stderr] | [INFO] [stderr] 3 | use anyhow::{bail, ensure, Context as _, Error}; [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] error: aborting due to 11 previous errors; 1 warning emitted [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0412, E0432, E0433. [INFO] [stderr] For more information about an error, try `rustc --explain E0412`. [INFO] [stderr] error: could not compile `substrate-wasmtime`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error[E0432]: unresolved import `wasmtime` [INFO] [stderr] --> examples/gcd.rs:4:5 [INFO] [stderr] | [INFO] [stderr] 4 | use wasmtime::*; [INFO] [stderr] | ^^^^^^^^ use of undeclared type or module `wasmtime` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Store` [INFO] [stderr] --> examples/gcd.rs:39:17 [INFO] [stderr] | [INFO] [stderr] 39 | let store = Store::default(); [INFO] [stderr] | ^^^^^ use of undeclared type or module `Store` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Module` [INFO] [stderr] --> examples/gcd.rs:40:18 [INFO] [stderr] | [INFO] [stderr] 40 | let module = Module::new(&store, WAT)?; [INFO] [stderr] | ^^^^^^ use of undeclared type or module `Module` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Instance` [INFO] [stderr] --> examples/gcd.rs:52:20 [INFO] [stderr] | [INFO] [stderr] 52 | let instance = Instance::new(&module, &[])?; [INFO] [stderr] | ^^^^^^^^ use of undeclared type or module `Instance` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Val` [INFO] [stderr] --> examples/gcd.rs:56:29 [INFO] [stderr] | [INFO] [stderr] 56 | let result = gcd.call(&[Val::from(6i32), Val::from(27i32)])?; [INFO] [stderr] | ^^^ use of undeclared type or module `Val` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Val` [INFO] [stderr] --> examples/gcd.rs:56:46 [INFO] [stderr] | [INFO] [stderr] 56 | let result = gcd.call(&[Val::from(6i32), Val::from(27i32)])?; [INFO] [stderr] | ^^^ use of undeclared type or module `Val` [INFO] [stderr] [INFO] [stderr] error: aborting due to 6 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0432, E0433. [INFO] [stderr] For more information about an error, try `rustc --explain E0432`. [INFO] [stderr] error: could not compile `substrate-wasmtime`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "c0ac294ffcbe093003b79bb90db80fde4cd1ba55c52ce87153bab015b6e8aba0"` [INFO] running `"docker" "rm" "-f" "c0ac294ffcbe093003b79bb90db80fde4cd1ba55c52ce87153bab015b6e8aba0"` [INFO] [stdout] c0ac294ffcbe093003b79bb90db80fde4cd1ba55c52ce87153bab015b6e8aba0