[INFO] fetching crate wasmer-asml-fork 1.0.2... [INFO] checking wasmer-asml-fork-1.0.2 against try#8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 for pr-82565 [INFO] extracting crate wasmer-asml-fork 1.0.2 into /workspace/builds/worker-5/source [INFO] validating manifest of crates.io crate wasmer-asml-fork 1.0.2 on toolchain 8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate wasmer-asml-fork 1.0.2 [INFO] finished tweaking crates.io crate wasmer-asml-fork 1.0.2 [INFO] tweaked toml for crates.io crate wasmer-asml-fork 1.0.2 written to /workspace/builds/worker-5/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] debdef8c4f08d93d51c3e1162434edd7c45c2d2a3a1629b3de7719189f7c945a [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" "debdef8c4f08d93d51c3e1162434edd7c45c2d2a3a1629b3de7719189f7c945a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "debdef8c4f08d93d51c3e1162434edd7c45c2d2a3a1629b3de7719189f7c945a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "debdef8c4f08d93d51c3e1162434edd7c45c2d2a3a1629b3de7719189f7c945a", kill_on_drop: false }` [INFO] [stdout] debdef8c4f08d93d51c3e1162434edd7c45c2d2a3a1629b3de7719189f7c945a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b876d0a529578eb88adbfc522d5985a931236c8b0f4babfc18cabadcee1eccc8 [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" "b876d0a529578eb88adbfc522d5985a931236c8b0f4babfc18cabadcee1eccc8", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling syn v1.0.64 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling serde_derive v1.0.124 [INFO] [stderr] Compiling serde v1.0.124 [INFO] [stderr] Compiling libc v0.2.88 [INFO] [stderr] Checking hashbrown v0.9.1 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling target-lexicon v0.11.2 [INFO] [stderr] Checking smallvec v1.6.1 [INFO] [stderr] Checking adler v1.0.2 [INFO] [stderr] Checking gimli v0.23.0 [INFO] [stderr] Compiling cc v1.0.67 [INFO] [stderr] Checking rustc-demangle v0.1.18 [INFO] [stderr] Checking object v0.23.0 [INFO] [stderr] Compiling getrandom v0.2.2 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Checking more-asserts v0.2.1 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Checking wasmparser v0.65.0 [INFO] [stderr] Compiling cranelift-codegen-shared v0.68.0 [INFO] [stderr] Compiling rayon-core v1.9.0 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Compiling crc32fast v1.2.1 [INFO] [stderr] Checking rustc-hash v1.1.0 [INFO] [stderr] Checking stable_deref_trait v1.2.0 [INFO] [stderr] Checking ppv-lite86 v0.2.10 [INFO] [stderr] Checking fallible-iterator v0.2.0 [INFO] [stderr] Checking pin-project-lite v0.2.6 [INFO] [stderr] Checking leb128 v0.2.4 [INFO] [stderr] Checking either v1.6.1 [INFO] [stderr] Compiling wasmer-compiler-cranelift v1.0.2 [INFO] [stderr] Checking remove_dir_all v0.5.3 [INFO] [stderr] Compiling anyhow v1.0.38 [INFO] [stderr] Checking libloading v0.6.7 [INFO] [stderr] Checking tracing-core v0.1.17 [INFO] [stderr] Compiling indexmap v1.6.2 [INFO] [stderr] Compiling memoffset v0.6.1 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Compiling crossbeam-utils v0.8.3 [INFO] [stderr] Compiling rayon v1.5.0 [INFO] [stderr] Checking wast v35.0.0 [INFO] [stderr] Checking regalloc v0.0.31 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Checking region v2.2.0 [INFO] [stderr] Checking memmap2 v0.2.1 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Compiling wasmer-vm v1.0.2 [INFO] [stderr] Checking crossbeam-epoch v0.9.3 [INFO] [stderr] Checking crossbeam-channel v0.5.0 [INFO] [stderr] Checking rand_core v0.6.2 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Checking rand_chacha v0.3.0 [INFO] [stderr] Checking crossbeam-deque v0.8.0 [INFO] [stderr] Checking rand v0.8.3 [INFO] [stderr] Checking addr2line v0.14.1 [INFO] [stderr] Checking tempfile v3.2.0 [INFO] [stderr] Checking backtrace v0.3.56 [INFO] [stderr] Checking wat v1.0.36 [INFO] [stderr] Compiling darling_core v0.12.2 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling thiserror-impl v1.0.24 [INFO] [stderr] Compiling tracing-attributes v0.1.15 [INFO] [stderr] Compiling wasmer-derive-asml-fork v1.0.2 [INFO] [stderr] Compiling darling_macro v0.12.2 [INFO] [stderr] Checking thiserror v1.0.24 [INFO] [stderr] Checking which v4.0.2 [INFO] [stderr] Checking tracing v0.1.25 [INFO] [stderr] Compiling darling v0.12.2 [INFO] [stderr] Compiling enumset_derive v0.5.4 [INFO] [stderr] Checking enumset v1.0.6 [INFO] [stderr] Checking cranelift-entity v0.68.0 [INFO] [stderr] Checking serde_bytes v0.11.5 [INFO] [stderr] Checking bincode v1.3.2 [INFO] [stderr] Checking wasmer-types v1.0.2 [INFO] [stderr] Checking cranelift-bforest v0.68.0 [INFO] [stderr] Checking gimli v0.22.0 [INFO] [stderr] Checking object v0.22.0 [INFO] [stderr] Compiling cranelift-codegen-meta v0.68.0 [INFO] [stderr] Checking wasmer-compiler v1.0.2 [INFO] [stderr] Checking wasmer-engine v1.0.2 [INFO] [stderr] Checking wasmer-object v1.0.2 [INFO] [stderr] Checking wasmer-engine-jit v1.0.2 [INFO] [stderr] Checking wasmer-engine-native v1.0.2 [INFO] [stderr] Compiling cranelift-codegen v0.68.0 [INFO] [stderr] Checking cranelift-frontend v0.68.0 [INFO] [stderr] Checking wasmer-asml-fork v1.0.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: variant is never constructed: `None` [INFO] [stdout] --> src/import_object.rs:149:13 [INFO] [stdout] | [INFO] [stdout] 149 | None, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Some` [INFO] [stdout] --> src/import_object.rs:150:13 [INFO] [stdout] | [INFO] [stdout] 150 | Some, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `wasmer` [INFO] [stdout] --> tests/instance.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use wasmer::*; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `wasmer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Store` [INFO] [stdout] --> tests/instance.rs:6:17 [INFO] [stdout] | [INFO] [stdout] 6 | let store = Store::default(); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use wasmer_asml_fork::Store; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Module` [INFO] [stdout] --> tests/instance.rs:7:18 [INFO] [stdout] | [INFO] [stdout] 7 | let module = Module::new( [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use wasmer_asml_fork::Module; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ImportObject` [INFO] [stdout] --> tests/instance.rs:20:25 [INFO] [stdout] | [INFO] [stdout] 20 | let import_object = ImportObject::new(); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use wasmer_asml_fork::ImportObject; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Instance` [INFO] [stdout] --> tests/instance.rs:21:20 [INFO] [stdout] | [INFO] [stdout] 21 | let instance = Instance::new(&module, &import_object)?; [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use wasmer_asml_fork::Instance; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Value` [INFO] [stdout] --> tests/instance.rs:34:20 [INFO] [stdout] | [INFO] [stdout] 34 | sum.call(&[Value::I32(1), Value::I32(2)])?.into_vec(), [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use wasmer_asml_fork::Value; [INFO] [stdout] | [INFO] [stdout] 1 | use wasmer_types::Value; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Value` [INFO] [stdout] --> tests/instance.rs:34:35 [INFO] [stdout] | [INFO] [stdout] 34 | sum.call(&[Value::I32(1), Value::I32(2)])?.into_vec(), [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use wasmer_asml_fork::Value; [INFO] [stdout] | [INFO] [stdout] 1 | use wasmer_types::Value; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Value` [INFO] [stdout] --> tests/instance.rs:35:14 [INFO] [stdout] | [INFO] [stdout] 35 | vec![Value::I32(3)], [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use wasmer_asml_fork::Value; [INFO] [stdout] | [INFO] [stdout] 1 | use wasmer_types::Value; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 8 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `wasmer` [INFO] [stdout] --> tests/externals.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use wasmer::*; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `wasmer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `wasmer` [INFO] [stdout] --> tests/module.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use wasmer::*; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `wasmer` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `wasmer-asml-fork` [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] [stdout] error: cannot find derive macro `WasmerEnv` in this scope [INFO] [stdout] --> tests/externals.rs:211:21 [INFO] [stdout] | [INFO] [stdout] 211 | #[derive(Clone, WasmerEnv)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `WasmerEnv` in this scope [INFO] [stdout] --> tests/externals.rs:283:21 [INFO] [stdout] | [INFO] [stdout] 283 | #[derive(Clone, WasmerEnv)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `imports` in this scope [INFO] [stdout] --> tests/externals.rs:391:48 [INFO] [stdout] | [INFO] [stdout] 391 | let instance = Instance::new(&module, &imports! {})?; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this macro: [INFO] [stdout] wasmer_asml_fork::imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `WasmerEnv` in this scope [INFO] [stdout] --> tests/externals.rs:406:14 [INFO] [stdout] | [INFO] [stdout] 406 | #[derive(WasmerEnv, Clone)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Type` [INFO] [stdout] --> tests/externals.rs:11:17 [INFO] [stdout] | [INFO] [stdout] 11 | ty: Type::I32, [INFO] [stdout] | ^^^^ use of undeclared type `Type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Mutability` [INFO] [stdout] --> tests/externals.rs:12:25 [INFO] [stdout] | [INFO] [stdout] 12 | mutability: Mutability::Const, [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `Mutability` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Type` [INFO] [stdout] --> tests/externals.rs:20:17 [INFO] [stdout] | [INFO] [stdout] 20 | ty: Type::I32, [INFO] [stdout] | ^^^^ use of undeclared type `Type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Mutability` [INFO] [stdout] --> tests/externals.rs:21:25 [INFO] [stdout] | [INFO] [stdout] 21 | mutability: Mutability::Var, [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `Mutability` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `imports` in this scope [INFO] [stdout] --> tests/module.rs:191:19 [INFO] [stdout] | [INFO] [stdout] 191 | let imports = imports! { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this macro: [INFO] [stdout] wasmer_asml_fork::imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Type` [INFO] [stdout] --> tests/externals.rs:65:13 [INFO] [stdout] | [INFO] [stdout] 65 | ty: Type::FuncRef, [INFO] [stdout] | ^^^^ use of undeclared type `Type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Type` [INFO] [stdout] --> tests/externals.rs:90:13 [INFO] [stdout] | [INFO] [stdout] 90 | ty: Type::FuncRef, [INFO] [stdout] | ^^^^ use of undeclared type `Type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Type` [INFO] [stdout] --> tests/externals.rs:113:13 [INFO] [stdout] | [INFO] [stdout] 113 | ty: Type::FuncRef, [INFO] [stdout] | ^^^^ use of undeclared type `Type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MemoryError` [INFO] [stdout] --> tests/externals.rs:166:13 [INFO] [stdout] | [INFO] [stdout] 166 | Err(MemoryError::CouldNotGrow { [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `MemoryError` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Type` [INFO] [stdout] --> tests/module.rs:53:50 [INFO] [stdout] | [INFO] [stdout] 53 | ExternType::Table(TableType::new(Type::FuncRef, 1, None)) [INFO] [stdout] | ^^^^ use of undeclared type `Type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MemoryError` [INFO] [stdout] --> tests/externals.rs:175:38 [INFO] [stdout] | [INFO] [stdout] 175 | assert!(matches!(bad_result, Err(MemoryError::InvalidMemory { .. }))); [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `MemoryError` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Type` [INFO] [stdout] --> tests/module.rs:58:52 [INFO] [stdout] | [INFO] [stdout] 58 | ExternType::Global(GlobalType::new(Type::I32, Mutability::Const)) [INFO] [stdout] | ^^^^ use of undeclared type `Type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Mutability` [INFO] [stdout] --> tests/module.rs:58:63 [INFO] [stdout] | [INFO] [stdout] 58 | ExternType::Global(GlobalType::new(Type::I32, Mutability::Const)) [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `Mutability` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Type` [INFO] [stdout] --> tests/externals.rs:188:32 [INFO] [stdout] | [INFO] [stdout] 188 | FunctionType::new(vec![Type::I32], vec![]) [INFO] [stdout] | ^^^^ use of undeclared type `Type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Type` [INFO] [stdout] --> tests/externals.rs:193:32 [INFO] [stdout] | [INFO] [stdout] 193 | FunctionType::new(vec![Type::I32, Type::I64, Type::F32, Type::F64], vec![]) [INFO] [stdout] | ^^^^ use of undeclared type `Type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Type` [INFO] [stdout] --> tests/externals.rs:193:43 [INFO] [stdout] | [INFO] [stdout] 193 | FunctionType::new(vec![Type::I32, Type::I64, Type::F32, Type::F64], vec![]) [INFO] [stdout] | ^^^^ use of undeclared type `Type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Type` [INFO] [stdout] --> tests/externals.rs:193:54 [INFO] [stdout] | [INFO] [stdout] 193 | FunctionType::new(vec![Type::I32, Type::I64, Type::F32, Type::F64], vec![]) [INFO] [stdout] | ^^^^ use of undeclared type `Type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Type` [INFO] [stdout] --> tests/externals.rs:193:65 [INFO] [stdout] | [INFO] [stdout] 193 | FunctionType::new(vec![Type::I32, Type::I64, Type::F32, Type::F64], vec![]) [INFO] [stdout] | ^^^^ use of undeclared type `Type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Type` [INFO] [stdout] --> tests/module.rs:85:28 [INFO] [stdout] | [INFO] [stdout] 85 | TableType::new(Type::FuncRef, 1, None) [INFO] [stdout] | ^^^^ use of undeclared type `Type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Type` [INFO] [stdout] --> tests/module.rs:93:29 [INFO] [stdout] | [INFO] [stdout] 93 | GlobalType::new(Type::I32, Mutability::Const) [INFO] [stdout] | ^^^^ use of undeclared type `Type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Mutability` [INFO] [stdout] --> tests/module.rs:93:40 [INFO] [stdout] | [INFO] [stdout] 93 | GlobalType::new(Type::I32, Mutability::Const) [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `Mutability` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Type` [INFO] [stdout] --> tests/externals.rs:198:40 [INFO] [stdout] | [INFO] [stdout] 198 | FunctionType::new(vec![], vec![Type::I32]) [INFO] [stdout] | ^^^^ use of undeclared type `Type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Type` [INFO] [stdout] --> tests/externals.rs:203:40 [INFO] [stdout] | [INFO] [stdout] 203 | FunctionType::new(vec![], vec![Type::I32, Type::I64, Type::F32, Type::F64]) [INFO] [stdout] | ^^^^ use of undeclared type `Type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Type` [INFO] [stdout] --> tests/externals.rs:203:51 [INFO] [stdout] | [INFO] [stdout] 203 | FunctionType::new(vec![], vec![Type::I32, Type::I64, Type::F32, Type::F64]) [INFO] [stdout] | ^^^^ use of undeclared type `Type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Type` [INFO] [stdout] --> tests/externals.rs:203:62 [INFO] [stdout] | [INFO] [stdout] 203 | FunctionType::new(vec![], vec![Type::I32, Type::I64, Type::F32, Type::F64]) [INFO] [stdout] | ^^^^ use of undeclared type `Type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Type` [INFO] [stdout] --> tests/externals.rs:203:73 [INFO] [stdout] | [INFO] [stdout] 203 | FunctionType::new(vec![], vec![Type::I32, Type::I64, Type::F32, Type::F64]) [INFO] [stdout] | ^^^^ use of undeclared type `Type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Type` [INFO] [stdout] --> tests/externals.rs:221:32 [INFO] [stdout] | [INFO] [stdout] 221 | FunctionType::new(vec![Type::I32], vec![]) [INFO] [stdout] | ^^^^ use of undeclared type `Type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Type` [INFO] [stdout] --> tests/externals.rs:230:32 [INFO] [stdout] | [INFO] [stdout] 230 | FunctionType::new(vec![Type::I32, Type::I64, Type::F32, Type::F64], vec![]) [INFO] [stdout] | ^^^^ use of undeclared type `Type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Type` [INFO] [stdout] --> tests/externals.rs:230:43 [INFO] [stdout] | [INFO] [stdout] 230 | FunctionType::new(vec![Type::I32, Type::I64, Type::F32, Type::F64], vec![]) [INFO] [stdout] | ^^^^ use of undeclared type `Type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Type` [INFO] [stdout] --> tests/externals.rs:230:54 [INFO] [stdout] | [INFO] [stdout] 230 | FunctionType::new(vec![Type::I32, Type::I64, Type::F32, Type::F64], vec![]) [INFO] [stdout] | ^^^^ use of undeclared type `Type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Type` [INFO] [stdout] --> tests/externals.rs:230:65 [INFO] [stdout] | [INFO] [stdout] 230 | FunctionType::new(vec![Type::I32, Type::I64, Type::F32, Type::F64], vec![]) [INFO] [stdout] | ^^^^ use of undeclared type `Type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Type` [INFO] [stdout] --> tests/externals.rs:236:40 [INFO] [stdout] | [INFO] [stdout] 236 | FunctionType::new(vec![], vec![Type::I32]) [INFO] [stdout] | ^^^^ use of undeclared type `Type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Type` [INFO] [stdout] --> tests/externals.rs:245:40 [INFO] [stdout] | [INFO] [stdout] 245 | FunctionType::new(vec![], vec![Type::I32, Type::I64, Type::F32, Type::F64]) [INFO] [stdout] | ^^^^ use of undeclared type `Type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Type` [INFO] [stdout] --> tests/externals.rs:245:51 [INFO] [stdout] | [INFO] [stdout] 245 | FunctionType::new(vec![], vec![Type::I32, Type::I64, Type::F32, Type::F64]) [INFO] [stdout] | ^^^^ use of undeclared type `Type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Type` [INFO] [stdout] --> tests/externals.rs:245:62 [INFO] [stdout] | [INFO] [stdout] 245 | FunctionType::new(vec![], vec![Type::I32, Type::I64, Type::F32, Type::F64]) [INFO] [stdout] | ^^^^ use of undeclared type `Type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Type` [INFO] [stdout] --> tests/externals.rs:245:73 [INFO] [stdout] | [INFO] [stdout] 245 | FunctionType::new(vec![], vec![Type::I32, Type::I64, Type::F32, Type::F64]) [INFO] [stdout] | ^^^^ use of undeclared type `Type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Type` [INFO] [stdout] --> tests/externals.rs:258:48 [INFO] [stdout] | [INFO] [stdout] 258 | let function_type = FunctionType::new(vec![Type::I32], vec![]); [INFO] [stdout] | ^^^^ use of undeclared type `Type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Type` [INFO] [stdout] --> tests/externals.rs:261:48 [INFO] [stdout] | [INFO] [stdout] 261 | let function_type = FunctionType::new(vec![Type::I32, Type::I64, Type::F32, Type::F64], vec![]); [INFO] [stdout] | ^^^^ use of undeclared type `Type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Type` [INFO] [stdout] --> tests/externals.rs:261:59 [INFO] [stdout] | [INFO] [stdout] 261 | let function_type = FunctionType::new(vec![Type::I32, Type::I64, Type::F32, Type::F64], vec![]); [INFO] [stdout] | ^^^^ use of undeclared type `Type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Type` [INFO] [stdout] --> tests/externals.rs:261:70 [INFO] [stdout] | [INFO] [stdout] 261 | let function_type = FunctionType::new(vec![Type::I32, Type::I64, Type::F32, Type::F64], vec![]); [INFO] [stdout] | ^^^^ use of undeclared type `Type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Type` [INFO] [stdout] --> tests/externals.rs:261:81 [INFO] [stdout] | [INFO] [stdout] 261 | let function_type = FunctionType::new(vec![Type::I32, Type::I64, Type::F32, Type::F64], vec![]); [INFO] [stdout] | ^^^^ use of undeclared type `Type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Type` [INFO] [stdout] --> tests/externals.rs:264:56 [INFO] [stdout] | [INFO] [stdout] 264 | let function_type = FunctionType::new(vec![], vec![Type::I32]); [INFO] [stdout] | ^^^^ use of undeclared type `Type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Type` [INFO] [stdout] --> tests/externals.rs:267:56 [INFO] [stdout] | [INFO] [stdout] 267 | let function_type = FunctionType::new(vec![], vec![Type::I32, Type::I64, Type::F32, Type::F64]); [INFO] [stdout] | ^^^^ use of undeclared type `Type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Type` [INFO] [stdout] --> tests/externals.rs:267:67 [INFO] [stdout] | [INFO] [stdout] 267 | let function_type = FunctionType::new(vec![], vec![Type::I32, Type::I64, Type::F32, Type::F64]); [INFO] [stdout] | ^^^^ use of undeclared type `Type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Type` [INFO] [stdout] --> tests/externals.rs:267:78 [INFO] [stdout] | [INFO] [stdout] 267 | let function_type = FunctionType::new(vec![], vec![Type::I32, Type::I64, Type::F32, Type::F64]); [INFO] [stdout] | ^^^^ use of undeclared type `Type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Type` [INFO] [stdout] --> tests/externals.rs:267:89 [INFO] [stdout] | [INFO] [stdout] 267 | let function_type = FunctionType::new(vec![], vec![Type::I32, Type::I64, Type::F32, Type::F64]); [INFO] [stdout] | ^^^^ use of undeclared type `Type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Type` [INFO] [stdout] --> tests/externals.rs:272:27 [INFO] [stdout] | [INFO] [stdout] 272 | let function_type = ([Type::V128], [Type::I32, Type::F32, Type::F64]); [INFO] [stdout] | ^^^^ use of undeclared type `Type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Type` [INFO] [stdout] --> tests/externals.rs:272:41 [INFO] [stdout] | [INFO] [stdout] 272 | let function_type = ([Type::V128], [Type::I32, Type::F32, Type::F64]); [INFO] [stdout] | ^^^^ use of undeclared type `Type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Type` [INFO] [stdout] --> tests/externals.rs:272:52 [INFO] [stdout] | [INFO] [stdout] 272 | let function_type = ([Type::V128], [Type::I32, Type::F32, Type::F64]); [INFO] [stdout] | ^^^^ use of undeclared type `Type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Type` [INFO] [stdout] --> tests/externals.rs:272:63 [INFO] [stdout] | [INFO] [stdout] 272 | let function_type = ([Type::V128], [Type::I32, Type::F32, Type::F64]); [INFO] [stdout] | ^^^^ use of undeclared type `Type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Type` [INFO] [stdout] --> tests/externals.rs:274:41 [INFO] [stdout] | [INFO] [stdout] 274 | assert_eq!(function.ty().params(), [Type::V128]); [INFO] [stdout] | ^^^^ use of undeclared type `Type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Type` [INFO] [stdout] --> tests/externals.rs:275:42 [INFO] [stdout] | [INFO] [stdout] 275 | assert_eq!(function.ty().results(), [Type::I32, Type::F32, Type::F64]); [INFO] [stdout] | ^^^^ use of undeclared type `Type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Type` [INFO] [stdout] --> tests/externals.rs:275:53 [INFO] [stdout] | [INFO] [stdout] 275 | assert_eq!(function.ty().results(), [Type::I32, Type::F32, Type::F64]); [INFO] [stdout] | ^^^^ use of undeclared type `Type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Type` [INFO] [stdout] --> tests/externals.rs:275:64 [INFO] [stdout] | [INFO] [stdout] 275 | assert_eq!(function.ty().results(), [Type::I32, Type::F32, Type::F64]); [INFO] [stdout] | ^^^^ use of undeclared type `Type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Type` [INFO] [stdout] --> tests/module.rs:122:50 [INFO] [stdout] | [INFO] [stdout] 122 | ExternType::Table(TableType::new(Type::FuncRef, 1, None)) [INFO] [stdout] | ^^^^ use of undeclared type `Type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Type` [INFO] [stdout] --> tests/externals.rs:296:48 [INFO] [stdout] | [INFO] [stdout] 296 | let function_type = FunctionType::new(vec![Type::I32], vec![]); [INFO] [stdout] | ^^^^ use of undeclared type `Type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Type` [INFO] [stdout] --> tests/module.rs:126:52 [INFO] [stdout] | [INFO] [stdout] 126 | ExternType::Global(GlobalType::new(Type::I32, Mutability::Const)) [INFO] [stdout] | ^^^^ use of undeclared type `Type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Type` [INFO] [stdout] --> tests/externals.rs:304:48 [INFO] [stdout] | [INFO] [stdout] 304 | let function_type = FunctionType::new(vec![Type::I32, Type::I64, Type::F32, Type::F64], vec![]); [INFO] [stdout] | ^^^^ use of undeclared type `Type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Type` [INFO] [stdout] --> tests/externals.rs:304:59 [INFO] [stdout] | [INFO] [stdout] 304 | let function_type = FunctionType::new(vec![Type::I32, Type::I64, Type::F32, Type::F64], vec![]); [INFO] [stdout] | ^^^^ use of undeclared type `Type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Type` [INFO] [stdout] --> tests/externals.rs:304:70 [INFO] [stdout] | [INFO] [stdout] 304 | let function_type = FunctionType::new(vec![Type::I32, Type::I64, Type::F32, Type::F64], vec![]); [INFO] [stdout] | ^^^^ use of undeclared type `Type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Type` [INFO] [stdout] --> tests/externals.rs:304:81 [INFO] [stdout] | [INFO] [stdout] 304 | let function_type = FunctionType::new(vec![Type::I32, Type::I64, Type::F32, Type::F64], vec![]); [INFO] [stdout] | ^^^^ use of undeclared type `Type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Type` [INFO] [stdout] --> tests/externals.rs:312:56 [INFO] [stdout] | [INFO] [stdout] 312 | let function_type = FunctionType::new(vec![], vec![Type::I32]); [INFO] [stdout] | ^^^^ use of undeclared type `Type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Mutability` [INFO] [stdout] --> tests/module.rs:126:63 [INFO] [stdout] | [INFO] [stdout] 126 | ExternType::Global(GlobalType::new(Type::I32, Mutability::Const)) [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `Mutability` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Type` [INFO] [stdout] --> tests/externals.rs:320:56 [INFO] [stdout] | [INFO] [stdout] 320 | let function_type = FunctionType::new(vec![], vec![Type::I32, Type::I64, Type::F32, Type::F64]); [INFO] [stdout] | ^^^^ use of undeclared type `Type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Type` [INFO] [stdout] --> tests/externals.rs:320:67 [INFO] [stdout] | [INFO] [stdout] 320 | let function_type = FunctionType::new(vec![], vec![Type::I32, Type::I64, Type::F32, Type::F64]); [INFO] [stdout] | ^^^^ use of undeclared type `Type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Type` [INFO] [stdout] --> tests/externals.rs:320:78 [INFO] [stdout] | [INFO] [stdout] 320 | let function_type = FunctionType::new(vec![], vec![Type::I32, Type::I64, Type::F32, Type::F64]); [INFO] [stdout] | ^^^^ use of undeclared type `Type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Type` [INFO] [stdout] --> tests/externals.rs:320:89 [INFO] [stdout] | [INFO] [stdout] 320 | let function_type = FunctionType::new(vec![], vec![Type::I32, Type::I64, Type::F32, Type::F64]); [INFO] [stdout] | ^^^^ use of undeclared type `Type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Type` [INFO] [stdout] --> tests/module.rs:147:28 [INFO] [stdout] | [INFO] [stdout] 147 | TableType::new(Type::FuncRef, 1, None) [INFO] [stdout] | ^^^^ use of undeclared type `Type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Type` [INFO] [stdout] --> tests/externals.rs:330:27 [INFO] [stdout] | [INFO] [stdout] 330 | let function_type = ([Type::V128], [Type::I32, Type::F32, Type::F64]); [INFO] [stdout] | ^^^^ use of undeclared type `Type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Type` [INFO] [stdout] --> tests/externals.rs:330:41 [INFO] [stdout] | [INFO] [stdout] 330 | let function_type = ([Type::V128], [Type::I32, Type::F32, Type::F64]); [INFO] [stdout] | ^^^^ use of undeclared type `Type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Type` [INFO] [stdout] --> tests/externals.rs:330:52 [INFO] [stdout] | [INFO] [stdout] 330 | let function_type = ([Type::V128], [Type::I32, Type::F32, Type::F64]); [INFO] [stdout] | ^^^^ use of undeclared type `Type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Type` [INFO] [stdout] --> tests/externals.rs:330:63 [INFO] [stdout] | [INFO] [stdout] 330 | let function_type = ([Type::V128], [Type::I32, Type::F32, Type::F64]); [INFO] [stdout] | ^^^^ use of undeclared type `Type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Type` [INFO] [stdout] --> tests/externals.rs:337:41 [INFO] [stdout] | [INFO] [stdout] 337 | assert_eq!(function.ty().params(), [Type::V128]); [INFO] [stdout] | ^^^^ use of undeclared type `Type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Type` [INFO] [stdout] --> tests/externals.rs:338:42 [INFO] [stdout] | [INFO] [stdout] 338 | assert_eq!(function.ty().results(), [Type::I32, Type::F32, Type::F64]); [INFO] [stdout] | ^^^^ use of undeclared type `Type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Type` [INFO] [stdout] --> tests/externals.rs:338:53 [INFO] [stdout] | [INFO] [stdout] 338 | assert_eq!(function.ty().results(), [Type::I32, Type::F32, Type::F64]); [INFO] [stdout] | ^^^^ use of undeclared type `Type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Type` [INFO] [stdout] --> tests/externals.rs:338:64 [INFO] [stdout] | [INFO] [stdout] 338 | assert_eq!(function.ty().results(), [Type::I32, Type::F32, Type::F64]); [INFO] [stdout] | ^^^^ use of undeclared type `Type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Type` [INFO] [stdout] --> tests/module.rs:154:29 [INFO] [stdout] | [INFO] [stdout] 154 | GlobalType::new(Type::I32, Mutability::Const) [INFO] [stdout] | ^^^^ use of undeclared type `Type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Mutability` [INFO] [stdout] --> tests/module.rs:154:40 [INFO] [stdout] | [INFO] [stdout] 154 | GlobalType::new(Type::I32, Mutability::Const) [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `Mutability` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Store` [INFO] [stdout] --> tests/module.rs:6:17 [INFO] [stdout] | [INFO] [stdout] 6 | let store = Store::default(); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use wasmer_asml_fork::Store; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Store` [INFO] [stdout] --> tests/externals.rs:6:17 [INFO] [stdout] | [INFO] [stdout] 6 | let store = Store::default(); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use wasmer_asml_fork::Store; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Global` [INFO] [stdout] --> tests/externals.rs:7:18 [INFO] [stdout] | [INFO] [stdout] 7 | let global = Global::new(&store, Value::I32(10)); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use std::alloc::Global; [INFO] [stdout] | [INFO] [stdout] 1 | use wasmer_asml_fork::Global; [INFO] [stdout] | [INFO] [stdout] 1 | use wasmer_vm::Global; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Value` [INFO] [stdout] --> tests/externals.rs:7:38 [INFO] [stdout] | [INFO] [stdout] 7 | let global = Global::new(&store, Value::I32(10)); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use wasmer_asml_fork::Value; [INFO] [stdout] | [INFO] [stdout] 1 | use wasmer_types::Value; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `GlobalType` in this scope [INFO] [stdout] --> tests/externals.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 10 | GlobalType { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use wasmer_asml_fork::GlobalType; [INFO] [stdout] | [INFO] [stdout] 1 | use wasmer_types::GlobalType; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Global` [INFO] [stdout] --> tests/externals.rs:16:22 [INFO] [stdout] | [INFO] [stdout] 16 | let global_mut = Global::new_mut(&store, Value::I32(10)); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use std::alloc::Global; [INFO] [stdout] | [INFO] [stdout] 1 | use wasmer_asml_fork::Global; [INFO] [stdout] | [INFO] [stdout] 1 | use wasmer_vm::Global; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Value` [INFO] [stdout] --> tests/externals.rs:16:46 [INFO] [stdout] | [INFO] [stdout] 16 | let global_mut = Global::new_mut(&store, Value::I32(10)); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use wasmer_asml_fork::Value; [INFO] [stdout] | [INFO] [stdout] 1 | use wasmer_types::Value; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `GlobalType` in this scope [INFO] [stdout] --> tests/externals.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 19 | GlobalType { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use wasmer_asml_fork::GlobalType; [INFO] [stdout] | [INFO] [stdout] 1 | use wasmer_types::GlobalType; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Store` [INFO] [stdout] --> tests/externals.rs:30:17 [INFO] [stdout] | [INFO] [stdout] 30 | let store = Store::default(); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use wasmer_asml_fork::Store; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Global` [INFO] [stdout] --> tests/externals.rs:31:22 [INFO] [stdout] | [INFO] [stdout] 31 | let global_i32 = Global::new(&store, Value::I32(10)); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use std::alloc::Global; [INFO] [stdout] | [INFO] [stdout] 1 | use wasmer_asml_fork::Global; [INFO] [stdout] | [INFO] [stdout] 1 | use wasmer_vm::Global; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Value` [INFO] [stdout] --> tests/externals.rs:31:42 [INFO] [stdout] | [INFO] [stdout] 31 | let global_i32 = Global::new(&store, Value::I32(10)); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use wasmer_asml_fork::Value; [INFO] [stdout] | [INFO] [stdout] 1 | use wasmer_types::Value; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Value` [INFO] [stdout] --> tests/externals.rs:32:34 [INFO] [stdout] | [INFO] [stdout] 32 | assert_eq!(global_i32.get(), Value::I32(10)); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use wasmer_asml_fork::Value; [INFO] [stdout] | [INFO] [stdout] 1 | use wasmer_types::Value; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Global` [INFO] [stdout] --> tests/externals.rs:33:22 [INFO] [stdout] | [INFO] [stdout] 33 | let global_i64 = Global::new(&store, Value::I64(20)); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use std::alloc::Global; [INFO] [stdout] | [INFO] [stdout] 1 | use wasmer_asml_fork::Global; [INFO] [stdout] | [INFO] [stdout] 1 | use wasmer_vm::Global; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Value` [INFO] [stdout] --> tests/externals.rs:33:42 [INFO] [stdout] | [INFO] [stdout] 33 | let global_i64 = Global::new(&store, Value::I64(20)); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use wasmer_asml_fork::Value; [INFO] [stdout] | [INFO] [stdout] 1 | use wasmer_types::Value; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Value` [INFO] [stdout] --> tests/externals.rs:34:34 [INFO] [stdout] | [INFO] [stdout] 34 | assert_eq!(global_i64.get(), Value::I64(20)); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use wasmer_asml_fork::Value; [INFO] [stdout] | [INFO] [stdout] 1 | use wasmer_types::Value; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Global` [INFO] [stdout] --> tests/externals.rs:35:22 [INFO] [stdout] | [INFO] [stdout] 35 | let global_f32 = Global::new(&store, Value::F32(10.0)); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use std::alloc::Global; [INFO] [stdout] | [INFO] [stdout] 1 | use wasmer_asml_fork::Global; [INFO] [stdout] | [INFO] [stdout] 1 | use wasmer_vm::Global; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Value` [INFO] [stdout] --> tests/externals.rs:35:42 [INFO] [stdout] | [INFO] [stdout] 35 | let global_f32 = Global::new(&store, Value::F32(10.0)); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use wasmer_asml_fork::Value; [INFO] [stdout] | [INFO] [stdout] 1 | use wasmer_types::Value; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Value` [INFO] [stdout] --> tests/externals.rs:36:34 [INFO] [stdout] | [INFO] [stdout] 36 | assert_eq!(global_f32.get(), Value::F32(10.0)); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use wasmer_asml_fork::Value; [INFO] [stdout] | [INFO] [stdout] 1 | use wasmer_types::Value; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Global` [INFO] [stdout] --> tests/externals.rs:37:22 [INFO] [stdout] | [INFO] [stdout] 37 | let global_f64 = Global::new(&store, Value::F64(20.0)); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use std::alloc::Global; [INFO] [stdout] | [INFO] [stdout] 1 | use wasmer_asml_fork::Global; [INFO] [stdout] | [INFO] [stdout] 1 | use wasmer_vm::Global; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Value` [INFO] [stdout] --> tests/externals.rs:37:42 [INFO] [stdout] | [INFO] [stdout] 37 | let global_f64 = Global::new(&store, Value::F64(20.0)); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use wasmer_asml_fork::Value; [INFO] [stdout] | [INFO] [stdout] 1 | use wasmer_types::Value; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Value` [INFO] [stdout] --> tests/externals.rs:38:34 [INFO] [stdout] | [INFO] [stdout] 38 | assert_eq!(global_f64.get(), Value::F64(20.0)); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use wasmer_asml_fork::Value; [INFO] [stdout] | [INFO] [stdout] 1 | use wasmer_types::Value; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Store` [INFO] [stdout] --> tests/externals.rs:45:17 [INFO] [stdout] | [INFO] [stdout] 45 | let store = Store::default(); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use wasmer_asml_fork::Store; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Global` [INFO] [stdout] --> tests/externals.rs:46:22 [INFO] [stdout] | [INFO] [stdout] 46 | let global_i32 = Global::new(&store, Value::I32(10)); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use std::alloc::Global; [INFO] [stdout] | [INFO] [stdout] 1 | use wasmer_asml_fork::Global; [INFO] [stdout] | [INFO] [stdout] 1 | use wasmer_vm::Global; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Value` [INFO] [stdout] --> tests/externals.rs:46:42 [INFO] [stdout] | [INFO] [stdout] 46 | let global_i32 = Global::new(&store, Value::I32(10)); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use wasmer_asml_fork::Value; [INFO] [stdout] | [INFO] [stdout] 1 | use wasmer_types::Value; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Value` [INFO] [stdout] --> tests/externals.rs:48:28 [INFO] [stdout] | [INFO] [stdout] 48 | assert!(global_i32.set(Value::I32(20)).is_err()); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use wasmer_asml_fork::Value; [INFO] [stdout] | [INFO] [stdout] 1 | use wasmer_types::Value; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Global` [INFO] [stdout] --> tests/externals.rs:50:26 [INFO] [stdout] | [INFO] [stdout] 50 | let global_i32_mut = Global::new_mut(&store, Value::I32(10)); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use std::alloc::Global; [INFO] [stdout] | [INFO] [stdout] 1 | use wasmer_asml_fork::Global; [INFO] [stdout] | [INFO] [stdout] 1 | use wasmer_vm::Global; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Value` [INFO] [stdout] --> tests/externals.rs:50:50 [INFO] [stdout] | [INFO] [stdout] 50 | let global_i32_mut = Global::new_mut(&store, Value::I32(10)); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use wasmer_asml_fork::Value; [INFO] [stdout] | [INFO] [stdout] 1 | use wasmer_types::Value; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Value` [INFO] [stdout] --> tests/externals.rs:52:32 [INFO] [stdout] | [INFO] [stdout] 52 | assert!(global_i32_mut.set(Value::I64(20)).is_err()); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use wasmer_asml_fork::Value; [INFO] [stdout] | [INFO] [stdout] 1 | use wasmer_types::Value; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Value` [INFO] [stdout] --> tests/externals.rs:55:24 [INFO] [stdout] | [INFO] [stdout] 55 | global_i32_mut.set(Value::I32(20))?; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use wasmer_asml_fork::Value; [INFO] [stdout] | [INFO] [stdout] 1 | use wasmer_types::Value; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Value` [INFO] [stdout] --> tests/externals.rs:56:38 [INFO] [stdout] | [INFO] [stdout] 56 | assert_eq!(global_i32_mut.get(), Value::I32(20)); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use wasmer_asml_fork::Value; [INFO] [stdout] | [INFO] [stdout] 1 | use wasmer_types::Value; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Store` [INFO] [stdout] --> tests/externals.rs:63:17 [INFO] [stdout] | [INFO] [stdout] 63 | let store = Store::default(); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use wasmer_asml_fork::Store; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `TableType` in this scope [INFO] [stdout] --> tests/externals.rs:64:22 [INFO] [stdout] | [INFO] [stdout] 64 | let table_type = TableType { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use wasmer_asml_fork::TableType; [INFO] [stdout] | [INFO] [stdout] 1 | use wasmer_types::TableType; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Function` [INFO] [stdout] --> tests/externals.rs:69:13 [INFO] [stdout] | [INFO] [stdout] 69 | let f = Function::new_native(&store, || {}); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use wasmer_asml_fork::Function; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Table` [INFO] [stdout] --> tests/externals.rs:70:17 [INFO] [stdout] | [INFO] [stdout] 70 | let table = Table::new(&store, table_type, Value::FuncRef(f))?; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use wasmer_asml_fork::Table; [INFO] [stdout] | [INFO] [stdout] 1 | use wasmer_asml_fork::vm::Table; [INFO] [stdout] | [INFO] [stdout] 1 | use wasmer_vm::Table; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Value` [INFO] [stdout] --> tests/externals.rs:70:48 [INFO] [stdout] | [INFO] [stdout] 70 | let table = Table::new(&store, table_type, Value::FuncRef(f))?; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use wasmer_asml_fork::Value; [INFO] [stdout] | [INFO] [stdout] 1 | use wasmer_types::Value; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Store` [INFO] [stdout] --> tests/externals.rs:88:17 [INFO] [stdout] | [INFO] [stdout] 88 | let store = Store::default(); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use wasmer_asml_fork::Store; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `TableType` in this scope [INFO] [stdout] --> tests/externals.rs:89:22 [INFO] [stdout] | [INFO] [stdout] 89 | let table_type = TableType { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use wasmer_asml_fork::TableType; [INFO] [stdout] | [INFO] [stdout] 1 | use wasmer_types::TableType; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Function` [INFO] [stdout] --> tests/externals.rs:94:13 [INFO] [stdout] | [INFO] [stdout] 94 | let f = Function::new_native(&store, |num: i32| num + 1); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use wasmer_asml_fork::Function; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Table` [INFO] [stdout] --> tests/externals.rs:95:17 [INFO] [stdout] | [INFO] [stdout] 95 | let table = Table::new(&store, table_type, Value::FuncRef(f.clone()))?; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use wasmer_asml_fork::Table; [INFO] [stdout] | [INFO] [stdout] 1 | use wasmer_asml_fork::vm::Table; [INFO] [stdout] | [INFO] [stdout] 1 | use wasmer_vm::Table; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Value` [INFO] [stdout] --> tests/externals.rs:95:48 [INFO] [stdout] | [INFO] [stdout] 95 | let table = Table::new(&store, table_type, Value::FuncRef(f.clone()))?; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use wasmer_asml_fork::Value; [INFO] [stdout] | [INFO] [stdout] 1 | use wasmer_types::Value; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Store` [INFO] [stdout] --> tests/externals.rs:111:17 [INFO] [stdout] | [INFO] [stdout] 111 | let store = Store::default(); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use wasmer_asml_fork::Store; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `TableType` in this scope [INFO] [stdout] --> tests/externals.rs:112:22 [INFO] [stdout] | [INFO] [stdout] 112 | let table_type = TableType { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use wasmer_asml_fork::TableType; [INFO] [stdout] | [INFO] [stdout] 1 | use wasmer_types::TableType; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Function` [INFO] [stdout] --> tests/externals.rs:117:13 [INFO] [stdout] | [INFO] [stdout] 117 | let f = Function::new_native(&store, |num: i32| num + 1); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use wasmer_asml_fork::Function; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Table` [INFO] [stdout] --> tests/externals.rs:118:17 [INFO] [stdout] | [INFO] [stdout] 118 | let table = Table::new(&store, table_type, Value::FuncRef(f.clone()))?; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use wasmer_asml_fork::Table; [INFO] [stdout] | [INFO] [stdout] 1 | use wasmer_asml_fork::vm::Table; [INFO] [stdout] | [INFO] [stdout] 1 | use wasmer_vm::Table; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Value` [INFO] [stdout] --> tests/externals.rs:118:48 [INFO] [stdout] | [INFO] [stdout] 118 | let table = Table::new(&store, table_type, Value::FuncRef(f.clone()))?; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use wasmer_asml_fork::Value; [INFO] [stdout] | [INFO] [stdout] 1 | use wasmer_types::Value; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Value` [INFO] [stdout] --> tests/externals.rs:120:34 [INFO] [stdout] | [INFO] [stdout] 120 | let old_len = table.grow(12, Value::FuncRef(f.clone())); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use wasmer_asml_fork::Value; [INFO] [stdout] | [INFO] [stdout] 1 | use wasmer_types::Value; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Value` [INFO] [stdout] --> tests/externals.rs:124:33 [INFO] [stdout] | [INFO] [stdout] 124 | let old_len = table.grow(5, Value::FuncRef(f.clone()))?; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use wasmer_asml_fork::Value; [INFO] [stdout] | [INFO] [stdout] 1 | use wasmer_types::Value; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Module` [INFO] [stdout] --> tests/module.rs:8:18 [INFO] [stdout] | [INFO] [stdout] 8 | let module = Module::new(&store, wat)?; [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use wasmer_asml_fork::Module; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Store` [INFO] [stdout] --> tests/module.rs:16:17 [INFO] [stdout] | [INFO] [stdout] 16 | let store = Store::default(); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use wasmer_asml_fork::Store; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Module` [INFO] [stdout] --> tests/module.rs:18:22 [INFO] [stdout] | [INFO] [stdout] 18 | let mut module = Module::new(&store, wat)?; [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use wasmer_asml_fork::Module; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Store` [INFO] [stdout] --> tests/module.rs:29:17 [INFO] [stdout] | [INFO] [stdout] 29 | let store = Store::default(); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use wasmer_asml_fork::Store; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Module` [INFO] [stdout] --> tests/module.rs:36:18 [INFO] [stdout] | [INFO] [stdout] 36 | let module = Module::new(&store, wat)?; [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use wasmer_asml_fork::Module; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ImportType` [INFO] [stdout] --> tests/module.rs:40:13 [INFO] [stdout] | [INFO] [stdout] 40 | ImportType::new( [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use wasmer_asml_fork::ImportType; [INFO] [stdout] | [INFO] [stdout] 1 | use wasmer_types::ImportType; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ExternType` [INFO] [stdout] --> tests/module.rs:43:17 [INFO] [stdout] | [INFO] [stdout] 43 | ExternType::Function(FunctionType::new(vec![], vec![])) [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use wasmer_asml_fork::ExternType; [INFO] [stdout] | [INFO] [stdout] 1 | use wasmer_types::ExternType; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `FunctionType` [INFO] [stdout] --> tests/module.rs:43:38 [INFO] [stdout] | [INFO] [stdout] 43 | ExternType::Function(FunctionType::new(vec![], vec![])) [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use wasmer_asml_fork::FunctionType; [INFO] [stdout] | [INFO] [stdout] 1 | use wasmer_types::FunctionType; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ImportType` [INFO] [stdout] --> tests/module.rs:45:13 [INFO] [stdout] | [INFO] [stdout] 45 | ImportType::new( [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use wasmer_asml_fork::ImportType; [INFO] [stdout] | [INFO] [stdout] 1 | use wasmer_types::ImportType; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ExternType` [INFO] [stdout] --> tests/module.rs:48:17 [INFO] [stdout] | [INFO] [stdout] 48 | ExternType::Memory(MemoryType::new(Pages(1), None, false)) [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use wasmer_asml_fork::ExternType; [INFO] [stdout] | [INFO] [stdout] 1 | use wasmer_types::ExternType; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MemoryType` [INFO] [stdout] --> tests/module.rs:48:36 [INFO] [stdout] | [INFO] [stdout] 48 | ExternType::Memory(MemoryType::new(Pages(1), None, false)) [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use wasmer_asml_fork::MemoryType; [INFO] [stdout] | [INFO] [stdout] 1 | use wasmer_types::MemoryType; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Pages` in this scope [INFO] [stdout] --> tests/module.rs:48:52 [INFO] [stdout] | [INFO] [stdout] 48 | ExternType::Memory(MemoryType::new(Pages(1), None, false)) [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use wasmer_asml_fork::Pages; [INFO] [stdout] | [INFO] [stdout] 1 | use wasmer_types::Pages; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ImportType` [INFO] [stdout] --> tests/module.rs:50:13 [INFO] [stdout] | [INFO] [stdout] 50 | ImportType::new( [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use wasmer_asml_fork::ImportType; [INFO] [stdout] | [INFO] [stdout] 1 | use wasmer_types::ImportType; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ExternType` [INFO] [stdout] --> tests/module.rs:53:17 [INFO] [stdout] | [INFO] [stdout] 53 | ExternType::Table(TableType::new(Type::FuncRef, 1, None)) [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use wasmer_asml_fork::ExternType; [INFO] [stdout] | [INFO] [stdout] 1 | use wasmer_types::ExternType; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TableType` [INFO] [stdout] --> tests/module.rs:53:35 [INFO] [stdout] | [INFO] [stdout] 53 | ExternType::Table(TableType::new(Type::FuncRef, 1, None)) [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use wasmer_asml_fork::TableType; [INFO] [stdout] | [INFO] [stdout] 1 | use wasmer_types::TableType; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ImportType` [INFO] [stdout] --> tests/module.rs:55:13 [INFO] [stdout] | [INFO] [stdout] 55 | ImportType::new( [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use wasmer_asml_fork::ImportType; [INFO] [stdout] | [INFO] [stdout] 1 | use wasmer_types::ImportType; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ExternType` [INFO] [stdout] --> tests/module.rs:58:17 [INFO] [stdout] | [INFO] [stdout] 58 | ExternType::Global(GlobalType::new(Type::I32, Mutability::Const)) [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use wasmer_asml_fork::ExternType; [INFO] [stdout] | [INFO] [stdout] 1 | use wasmer_types::ExternType; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `GlobalType` [INFO] [stdout] --> tests/module.rs:58:36 [INFO] [stdout] | [INFO] [stdout] 58 | ExternType::Global(GlobalType::new(Type::I32, Mutability::Const)) [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use wasmer_asml_fork::GlobalType; [INFO] [stdout] | [INFO] [stdout] 1 | use wasmer_types::GlobalType; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Store` [INFO] [stdout] --> tests/externals.rs:139:17 [INFO] [stdout] | [INFO] [stdout] 139 | let store = Store::default(); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use wasmer_asml_fork::Store; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ImportType` [INFO] [stdout] --> tests/module.rs:66:14 [INFO] [stdout] | [INFO] [stdout] 66 | vec![ImportType::new( [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use wasmer_asml_fork::ImportType; [INFO] [stdout] | [INFO] [stdout] 1 | use wasmer_types::ImportType; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `FunctionType` [INFO] [stdout] --> tests/module.rs:69:13 [INFO] [stdout] | [INFO] [stdout] 69 | FunctionType::new(vec![], vec![]) [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use wasmer_asml_fork::FunctionType; [INFO] [stdout] | [INFO] [stdout] 1 | use wasmer_types::FunctionType; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ImportType` [INFO] [stdout] --> tests/module.rs:74:14 [INFO] [stdout] | [INFO] [stdout] 74 | vec![ImportType::new( [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use wasmer_asml_fork::ImportType; [INFO] [stdout] | [INFO] [stdout] 1 | use wasmer_types::ImportType; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MemoryType` [INFO] [stdout] --> tests/module.rs:77:13 [INFO] [stdout] | [INFO] [stdout] 77 | MemoryType::new(Pages(1), None, false) [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use wasmer_asml_fork::MemoryType; [INFO] [stdout] | [INFO] [stdout] 1 | use wasmer_types::MemoryType; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Pages` in this scope [INFO] [stdout] --> tests/module.rs:77:29 [INFO] [stdout] | [INFO] [stdout] 77 | MemoryType::new(Pages(1), None, false) [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use wasmer_asml_fork::Pages; [INFO] [stdout] | [INFO] [stdout] 1 | use wasmer_types::Pages; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ImportType` [INFO] [stdout] --> tests/module.rs:82:14 [INFO] [stdout] | [INFO] [stdout] 82 | vec![ImportType::new( [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use wasmer_asml_fork::ImportType; [INFO] [stdout] | [INFO] [stdout] 1 | use wasmer_types::ImportType; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TableType` [INFO] [stdout] --> tests/module.rs:85:13 [INFO] [stdout] | [INFO] [stdout] 85 | TableType::new(Type::FuncRef, 1, None) [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use wasmer_asml_fork::TableType; [INFO] [stdout] | [INFO] [stdout] 1 | use wasmer_types::TableType; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ImportType` [INFO] [stdout] --> tests/module.rs:90:14 [INFO] [stdout] | [INFO] [stdout] 90 | vec![ImportType::new( [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use wasmer_asml_fork::ImportType; [INFO] [stdout] | [INFO] [stdout] 1 | use wasmer_types::ImportType; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `GlobalType` [INFO] [stdout] --> tests/module.rs:93:13 [INFO] [stdout] | [INFO] [stdout] 93 | GlobalType::new(Type::I32, Mutability::Const) [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use wasmer_asml_fork::GlobalType; [INFO] [stdout] | [INFO] [stdout] 1 | use wasmer_types::GlobalType; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Store` [INFO] [stdout] --> tests/module.rs:101:17 [INFO] [stdout] | [INFO] [stdout] 101 | let store = Store::default(); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use wasmer_asml_fork::Store; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Module` [INFO] [stdout] --> tests/module.rs:108:18 [INFO] [stdout] | [INFO] [stdout] 108 | let module = Module::new(&store, wat)?; [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use wasmer_asml_fork::Module; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ExportType` [INFO] [stdout] --> tests/module.rs:112:13 [INFO] [stdout] | [INFO] [stdout] 112 | ExportType::new( [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use wasmer_asml_fork::ExportType; [INFO] [stdout] | [INFO] [stdout] 1 | use wasmer_types::ExportType; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ExternType` [INFO] [stdout] --> tests/module.rs:114:17 [INFO] [stdout] | [INFO] [stdout] 114 | ExternType::Function(FunctionType::new(vec![], vec![])) [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use wasmer_asml_fork::ExternType; [INFO] [stdout] | [INFO] [stdout] 1 | use wasmer_types::ExternType; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `FunctionType` [INFO] [stdout] --> tests/module.rs:114:38 [INFO] [stdout] | [INFO] [stdout] 114 | ExternType::Function(FunctionType::new(vec![], vec![])) [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use wasmer_asml_fork::FunctionType; [INFO] [stdout] | [INFO] [stdout] 1 | use wasmer_types::FunctionType; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ExportType` [INFO] [stdout] --> tests/module.rs:116:13 [INFO] [stdout] | [INFO] [stdout] 116 | ExportType::new( [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use wasmer_asml_fork::ExportType; [INFO] [stdout] | [INFO] [stdout] 1 | use wasmer_types::ExportType; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ExternType` [INFO] [stdout] --> tests/module.rs:118:17 [INFO] [stdout] | [INFO] [stdout] 118 | ExternType::Memory(MemoryType::new(Pages(1), None, false)) [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use wasmer_asml_fork::ExternType; [INFO] [stdout] | [INFO] [stdout] 1 | use wasmer_types::ExternType; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MemoryType` [INFO] [stdout] --> tests/module.rs:118:36 [INFO] [stdout] | [INFO] [stdout] 118 | ExternType::Memory(MemoryType::new(Pages(1), None, false)) [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use wasmer_asml_fork::MemoryType; [INFO] [stdout] | [INFO] [stdout] 1 | use wasmer_types::MemoryType; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Pages` in this scope [INFO] [stdout] --> tests/module.rs:118:52 [INFO] [stdout] | [INFO] [stdout] 118 | ExternType::Memory(MemoryType::new(Pages(1), None, false)) [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use wasmer_asml_fork::Pages; [INFO] [stdout] | [INFO] [stdout] 1 | use wasmer_types::Pages; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ExportType` [INFO] [stdout] --> tests/module.rs:120:13 [INFO] [stdout] | [INFO] [stdout] 120 | ExportType::new( [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use wasmer_asml_fork::ExportType; [INFO] [stdout] | [INFO] [stdout] 1 | use wasmer_types::ExportType; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ExternType` [INFO] [stdout] --> tests/module.rs:122:17 [INFO] [stdout] | [INFO] [stdout] 122 | ExternType::Table(TableType::new(Type::FuncRef, 1, None)) [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use wasmer_asml_fork::ExternType; [INFO] [stdout] | [INFO] [stdout] 1 | use wasmer_types::ExternType; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TableType` [INFO] [stdout] --> tests/module.rs:122:35 [INFO] [stdout] | [INFO] [stdout] 122 | ExternType::Table(TableType::new(Type::FuncRef, 1, None)) [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use wasmer_asml_fork::TableType; [INFO] [stdout] | [INFO] [stdout] 1 | use wasmer_types::TableType; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ExportType` [INFO] [stdout] --> tests/module.rs:124:13 [INFO] [stdout] | [INFO] [stdout] 124 | ExportType::new( [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use wasmer_asml_fork::ExportType; [INFO] [stdout] | [INFO] [stdout] 1 | use wasmer_types::ExportType; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `MemoryType` in this scope [INFO] [stdout] --> tests/externals.rs:140:23 [INFO] [stdout] | [INFO] [stdout] 140 | let memory_type = MemoryType { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use wasmer_asml_fork::MemoryType; [INFO] [stdout] | [INFO] [stdout] 1 | use wasmer_types::MemoryType; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ExternType` [INFO] [stdout] --> tests/module.rs:126:17 [INFO] [stdout] | [INFO] [stdout] 126 | ExternType::Global(GlobalType::new(Type::I32, Mutability::Const)) [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use wasmer_asml_fork::ExternType; [INFO] [stdout] | [INFO] [stdout] 1 | use wasmer_types::ExternType; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Pages` in this scope [INFO] [stdout] --> tests/externals.rs:142:18 [INFO] [stdout] | [INFO] [stdout] 142 | minimum: Pages(0), [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use wasmer_asml_fork::Pages; [INFO] [stdout] | [INFO] [stdout] 1 | use wasmer_types::Pages; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Pages` in this scope [INFO] [stdout] --> tests/externals.rs:143:23 [INFO] [stdout] | [INFO] [stdout] 143 | maximum: Some(Pages(10)), [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use wasmer_asml_fork::Pages; [INFO] [stdout] | [INFO] [stdout] 1 | use wasmer_types::Pages; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `GlobalType` [INFO] [stdout] --> tests/module.rs:126:36 [INFO] [stdout] | [INFO] [stdout] 126 | ExternType::Global(GlobalType::new(Type::I32, Mutability::Const)) [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use wasmer_asml_fork::GlobalType; [INFO] [stdout] | [INFO] [stdout] 1 | use wasmer_types::GlobalType; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ExportType` [INFO] [stdout] --> tests/module.rs:134:14 [INFO] [stdout] | [INFO] [stdout] 134 | vec![ExportType::new("func", FunctionType::new(vec![], vec![])),] [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use wasmer_asml_fork::ExportType; [INFO] [stdout] | [INFO] [stdout] 1 | use wasmer_types::ExportType; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Memory` [INFO] [stdout] --> tests/externals.rs:145:18 [INFO] [stdout] | [INFO] [stdout] 145 | let memory = Memory::new(&store, memory_type)?; [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use wasmer_asml_fork::Memory; [INFO] [stdout] | [INFO] [stdout] 1 | use wasmer_asml_fork::vm::Memory; [INFO] [stdout] | [INFO] [stdout] 1 | use wasmer_vm::Memory; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Pages` in this scope [INFO] [stdout] --> tests/externals.rs:146:31 [INFO] [stdout] | [INFO] [stdout] 146 | assert_eq!(memory.size(), Pages(0)); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use wasmer_asml_fork::Pages; [INFO] [stdout] | [INFO] [stdout] 1 | use wasmer_types::Pages; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `FunctionType` [INFO] [stdout] --> tests/module.rs:134:38 [INFO] [stdout] | [INFO] [stdout] 134 | vec![ExportType::new("func", FunctionType::new(vec![], vec![])),] [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use wasmer_asml_fork::FunctionType; [INFO] [stdout] | [INFO] [stdout] 1 | use wasmer_types::FunctionType; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Store` [INFO] [stdout] --> tests/externals.rs:153:17 [INFO] [stdout] | [INFO] [stdout] 153 | let store = Store::default(); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use wasmer_asml_fork::Store; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ExportType` [INFO] [stdout] --> tests/module.rs:138:14 [INFO] [stdout] | [INFO] [stdout] 138 | vec![ExportType::new( [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use wasmer_asml_fork::ExportType; [INFO] [stdout] | [INFO] [stdout] 1 | use wasmer_types::ExportType; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MemoryType` [INFO] [stdout] --> tests/externals.rs:155:16 [INFO] [stdout] | [INFO] [stdout] 155 | let desc = MemoryType::new(Pages(10), Some(Pages(16)), false); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use wasmer_asml_fork::MemoryType; [INFO] [stdout] | [INFO] [stdout] 1 | use wasmer_types::MemoryType; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Pages` in this scope [INFO] [stdout] --> tests/externals.rs:155:32 [INFO] [stdout] | [INFO] [stdout] 155 | let desc = MemoryType::new(Pages(10), Some(Pages(16)), false); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use wasmer_asml_fork::Pages; [INFO] [stdout] | [INFO] [stdout] 1 | use wasmer_types::Pages; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MemoryType` [INFO] [stdout] --> tests/module.rs:140:13 [INFO] [stdout] | [INFO] [stdout] 140 | MemoryType::new(Pages(1), None, false) [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use wasmer_asml_fork::MemoryType; [INFO] [stdout] | [INFO] [stdout] 1 | use wasmer_types::MemoryType; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Pages` in this scope [INFO] [stdout] --> tests/module.rs:140:29 [INFO] [stdout] | [INFO] [stdout] 140 | MemoryType::new(Pages(1), None, false) [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use wasmer_asml_fork::Pages; [INFO] [stdout] | [INFO] [stdout] 1 | use wasmer_types::Pages; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Pages` in this scope [INFO] [stdout] --> tests/externals.rs:155:48 [INFO] [stdout] | [INFO] [stdout] 155 | let desc = MemoryType::new(Pages(10), Some(Pages(16)), false); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use wasmer_asml_fork::Pages; [INFO] [stdout] | [INFO] [stdout] 1 | use wasmer_types::Pages; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Memory` [INFO] [stdout] --> tests/externals.rs:156:18 [INFO] [stdout] | [INFO] [stdout] 156 | let memory = Memory::new(&store, desc)?; [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use wasmer_asml_fork::Memory; [INFO] [stdout] | [INFO] [stdout] 1 | use wasmer_asml_fork::vm::Memory; [INFO] [stdout] | [INFO] [stdout] 1 | use wasmer_vm::Memory; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ExportType` [INFO] [stdout] --> tests/module.rs:145:14 [INFO] [stdout] | [INFO] [stdout] 145 | vec![ExportType::new( [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use wasmer_asml_fork::ExportType; [INFO] [stdout] | [INFO] [stdout] 1 | use wasmer_types::ExportType; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Pages` in this scope [INFO] [stdout] --> tests/externals.rs:157:31 [INFO] [stdout] | [INFO] [stdout] 157 | assert_eq!(memory.size(), Pages(10)); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use wasmer_asml_fork::Pages; [INFO] [stdout] | [INFO] [stdout] 1 | use wasmer_types::Pages; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TableType` [INFO] [stdout] --> tests/module.rs:147:13 [INFO] [stdout] | [INFO] [stdout] 147 | TableType::new(Type::FuncRef, 1, None) [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use wasmer_asml_fork::TableType; [INFO] [stdout] | [INFO] [stdout] 1 | use wasmer_types::TableType; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Pages` in this scope [INFO] [stdout] --> tests/externals.rs:159:30 [INFO] [stdout] | [INFO] [stdout] 159 | let result = memory.grow(Pages(2)).unwrap(); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use wasmer_asml_fork::Pages; [INFO] [stdout] | [INFO] [stdout] 1 | use wasmer_types::Pages; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ExportType` [INFO] [stdout] --> tests/module.rs:152:14 [INFO] [stdout] | [INFO] [stdout] 152 | vec![ExportType::new( [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use wasmer_asml_fork::ExportType; [INFO] [stdout] | [INFO] [stdout] 1 | use wasmer_types::ExportType; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Pages` in this scope [INFO] [stdout] --> tests/externals.rs:160:24 [INFO] [stdout] | [INFO] [stdout] 160 | assert_eq!(result, Pages(10)); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use wasmer_asml_fork::Pages; [INFO] [stdout] | [INFO] [stdout] 1 | use wasmer_types::Pages; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `GlobalType` [INFO] [stdout] --> tests/module.rs:154:13 [INFO] [stdout] | [INFO] [stdout] 154 | GlobalType::new(Type::I32, Mutability::Const) [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use wasmer_asml_fork::GlobalType; [INFO] [stdout] | [INFO] [stdout] 1 | use wasmer_types::GlobalType; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Pages` in this scope [INFO] [stdout] --> tests/externals.rs:161:31 [INFO] [stdout] | [INFO] [stdout] 161 | assert_eq!(memory.size(), Pages(12)); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use wasmer_asml_fork::Pages; [INFO] [stdout] | [INFO] [stdout] 1 | use wasmer_types::Pages; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Pages` in this scope [INFO] [stdout] --> tests/externals.rs:163:30 [INFO] [stdout] | [INFO] [stdout] 163 | let result = memory.grow(Pages(10)); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use wasmer_asml_fork::Pages; [INFO] [stdout] | [INFO] [stdout] 1 | use wasmer_types::Pages; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MemoryType` [INFO] [stdout] --> tests/externals.rs:172:20 [INFO] [stdout] | [INFO] [stdout] 172 | let bad_desc = MemoryType::new(Pages(15), Some(Pages(10)), false); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use wasmer_asml_fork::MemoryType; [INFO] [stdout] | [INFO] [stdout] 1 | use wasmer_types::MemoryType; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Pages` in this scope [INFO] [stdout] --> tests/externals.rs:172:36 [INFO] [stdout] | [INFO] [stdout] 172 | let bad_desc = MemoryType::new(Pages(15), Some(Pages(10)), false); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use wasmer_asml_fork::Pages; [INFO] [stdout] | [INFO] [stdout] 1 | use wasmer_types::Pages; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Pages` in this scope [INFO] [stdout] --> tests/externals.rs:172:52 [INFO] [stdout] | [INFO] [stdout] 172 | let bad_desc = MemoryType::new(Pages(15), Some(Pages(10)), false); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use wasmer_asml_fork::Pages; [INFO] [stdout] | [INFO] [stdout] 1 | use wasmer_types::Pages; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Memory` [INFO] [stdout] --> tests/externals.rs:173:22 [INFO] [stdout] | [INFO] [stdout] 173 | let bad_result = Memory::new(&store, bad_desc); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use wasmer_asml_fork::Memory; [INFO] [stdout] | [INFO] [stdout] 1 | use wasmer_asml_fork::vm::Memory; [INFO] [stdout] | [INFO] [stdout] 1 | use wasmer_vm::Memory; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Store` [INFO] [stdout] --> tests/externals.rs:182:17 [INFO] [stdout] | [INFO] [stdout] 182 | let store = Store::default(); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use wasmer_asml_fork::Store; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Function` [INFO] [stdout] --> tests/externals.rs:183:20 [INFO] [stdout] | [INFO] [stdout] 183 | let function = Function::new_native(&store, || {}); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use wasmer_asml_fork::Function; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `FunctionType` [INFO] [stdout] --> tests/externals.rs:184:39 [INFO] [stdout] | [INFO] [stdout] 184 | assert_eq!(function.ty().clone(), FunctionType::new(vec![], vec![])); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use wasmer_asml_fork::FunctionType; [INFO] [stdout] | [INFO] [stdout] 1 | use wasmer_types::FunctionType; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Function` [INFO] [stdout] --> tests/externals.rs:185:20 [INFO] [stdout] | [INFO] [stdout] 185 | let function = Function::new_native(&store, |_a: i32| {}); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use wasmer_asml_fork::Function; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `FunctionType` [INFO] [stdout] --> tests/externals.rs:188:9 [INFO] [stdout] | [INFO] [stdout] 188 | FunctionType::new(vec![Type::I32], vec![]) [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use wasmer_asml_fork::FunctionType; [INFO] [stdout] | [INFO] [stdout] 1 | use wasmer_types::FunctionType; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Function` [INFO] [stdout] --> tests/externals.rs:190:20 [INFO] [stdout] | [INFO] [stdout] 190 | let function = Function::new_native(&store, |_a: i32, _b: i64, _c: f32, _d: f64| {}); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use wasmer_asml_fork::Function; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `FunctionType` [INFO] [stdout] --> tests/externals.rs:193:9 [INFO] [stdout] | [INFO] [stdout] 193 | FunctionType::new(vec![Type::I32, Type::I64, Type::F32, Type::F64], vec![]) [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use wasmer_asml_fork::FunctionType; [INFO] [stdout] | [INFO] [stdout] 1 | use wasmer_types::FunctionType; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Function` [INFO] [stdout] --> tests/externals.rs:195:20 [INFO] [stdout] | [INFO] [stdout] 195 | let function = Function::new_native(&store, || -> i32 { 1 }); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use wasmer_asml_fork::Function; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `FunctionType` [INFO] [stdout] --> tests/externals.rs:198:9 [INFO] [stdout] | [INFO] [stdout] 198 | FunctionType::new(vec![], vec![Type::I32]) [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use wasmer_asml_fork::FunctionType; [INFO] [stdout] | [INFO] [stdout] 1 | use wasmer_types::FunctionType; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Store` [INFO] [stdout] --> tests/module.rs:162:17 [INFO] [stdout] | [INFO] [stdout] 162 | let store = Store::default(); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use wasmer_asml_fork::Store; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Module` [INFO] [stdout] --> tests/module.rs:190:18 [INFO] [stdout] | [INFO] [stdout] 190 | let module = Module::new(&store, wat)?; [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use wasmer_asml_fork::Module; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Instance` [INFO] [stdout] --> tests/module.rs:227:20 [INFO] [stdout] | [INFO] [stdout] 227 | let instance = Instance::new(&module, &imports)?; [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use wasmer_asml_fork::Instance; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `NativeFunc` in this scope [INFO] [stdout] --> tests/module.rs:229:13 [INFO] [stdout] | [INFO] [stdout] 229 | let f1: NativeFunc<(), ()> = instance.exports.get_native_function("call_host_func1")?; [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use wasmer_asml_fork::NativeFunc; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `NativeFunc` in this scope [INFO] [stdout] --> tests/module.rs:230:13 [INFO] [stdout] | [INFO] [stdout] 230 | let f2: NativeFunc<(), ()> = instance.exports.get_native_function("call_host_func2")?; [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use wasmer_asml_fork::NativeFunc; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `NativeFunc` in this scope [INFO] [stdout] --> tests/module.rs:231:13 [INFO] [stdout] | [INFO] [stdout] 231 | let f3: NativeFunc<(), ()> = instance.exports.get_native_function("call_host_func3")?; [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use wasmer_asml_fork::NativeFunc; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `NativeFunc` in this scope [INFO] [stdout] --> tests/module.rs:232:13 [INFO] [stdout] | [INFO] [stdout] 232 | let f4: NativeFunc<(), ()> = instance.exports.get_native_function("call_host_func4")?; [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use wasmer_asml_fork::NativeFunc; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `NativeFunc` in this scope [INFO] [stdout] --> tests/module.rs:233:13 [INFO] [stdout] | [INFO] [stdout] 233 | let f5: NativeFunc<(), ()> = instance.exports.get_native_function("call_host_func5")?; [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use wasmer_asml_fork::NativeFunc; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Function` [INFO] [stdout] --> tests/externals.rs:200:20 [INFO] [stdout] | [INFO] [stdout] 200 | let function = Function::new_native(&store, || -> (i32, i64, f32, f64) { (1, 2, 3.0, 4.0) }); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use wasmer_asml_fork::Function; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `FunctionType` [INFO] [stdout] --> tests/externals.rs:203:9 [INFO] [stdout] | [INFO] [stdout] 203 | FunctionType::new(vec![], vec![Type::I32, Type::I64, Type::F32, Type::F64]) [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use wasmer_asml_fork::FunctionType; [INFO] [stdout] | [INFO] [stdout] 1 | use wasmer_types::FunctionType; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Store` [INFO] [stdout] --> tests/externals.rs:210:17 [INFO] [stdout] | [INFO] [stdout] 210 | let store = Store::default(); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use wasmer_asml_fork::Store; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Function` [INFO] [stdout] --> tests/externals.rs:215:20 [INFO] [stdout] | [INFO] [stdout] 215 | let function = Function::new_native_with_env(&store, my_env.clone(), |_env: &MyEnv| {}); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use wasmer_asml_fork::Function; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `FunctionType` [INFO] [stdout] --> tests/externals.rs:216:39 [INFO] [stdout] | [INFO] [stdout] 216 | assert_eq!(function.ty().clone(), FunctionType::new(vec![], vec![])); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use wasmer_asml_fork::FunctionType; [INFO] [stdout] | [INFO] [stdout] 1 | use wasmer_types::FunctionType; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Function` [INFO] [stdout] --> tests/externals.rs:218:9 [INFO] [stdout] | [INFO] [stdout] 218 | Function::new_native_with_env(&store, my_env.clone(), |_env: &MyEnv, _a: i32| {}); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use wasmer_asml_fork::Function; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `FunctionType` [INFO] [stdout] --> tests/externals.rs:221:9 [INFO] [stdout] | [INFO] [stdout] 221 | FunctionType::new(vec![Type::I32], vec![]) [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use wasmer_asml_fork::FunctionType; [INFO] [stdout] | [INFO] [stdout] 1 | use wasmer_types::FunctionType; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Function` [INFO] [stdout] --> tests/externals.rs:223:20 [INFO] [stdout] | [INFO] [stdout] 223 | let function = Function::new_native_with_env( [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use wasmer_asml_fork::Function; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `FunctionType` [INFO] [stdout] --> tests/externals.rs:230:9 [INFO] [stdout] | [INFO] [stdout] 230 | FunctionType::new(vec![Type::I32, Type::I64, Type::F32, Type::F64], vec![]) [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use wasmer_asml_fork::FunctionType; [INFO] [stdout] | [INFO] [stdout] 1 | use wasmer_types::FunctionType; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Function` [INFO] [stdout] --> tests/externals.rs:233:9 [INFO] [stdout] | [INFO] [stdout] 233 | Function::new_native_with_env(&store, my_env.clone(), |_env: &MyEnv| -> i32 { 1 }); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use wasmer_asml_fork::Function; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `FunctionType` [INFO] [stdout] --> tests/externals.rs:236:9 [INFO] [stdout] | [INFO] [stdout] 236 | FunctionType::new(vec![], vec![Type::I32]) [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use wasmer_asml_fork::FunctionType; [INFO] [stdout] | [INFO] [stdout] 1 | use wasmer_types::FunctionType; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Function` [INFO] [stdout] --> tests/externals.rs:238:20 [INFO] [stdout] | [INFO] [stdout] 238 | let function = Function::new_native_with_env( [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use wasmer_asml_fork::Function; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `FunctionType` [INFO] [stdout] --> tests/externals.rs:245:9 [INFO] [stdout] | [INFO] [stdout] 245 | FunctionType::new(vec![], vec![Type::I32, Type::I64, Type::F32, Type::F64]) [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use wasmer_asml_fork::FunctionType; [INFO] [stdout] | [INFO] [stdout] 1 | use wasmer_types::FunctionType; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Store` [INFO] [stdout] --> tests/externals.rs:252:17 [INFO] [stdout] | [INFO] [stdout] 252 | let store = Store::default(); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use wasmer_asml_fork::Store; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `FunctionType` [INFO] [stdout] --> tests/externals.rs:255:25 [INFO] [stdout] | [INFO] [stdout] 255 | let function_type = FunctionType::new(vec![], vec![]); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use wasmer_asml_fork::FunctionType; [INFO] [stdout] | [INFO] [stdout] 1 | use wasmer_types::FunctionType; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Function` [INFO] [stdout] --> tests/externals.rs:256:20 [INFO] [stdout] | [INFO] [stdout] 256 | let function = Function::new(&store, &function_type, |_values: &[Value]| unimplemented!()); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use wasmer_asml_fork::Function; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Value` in this scope [INFO] [stdout] --> tests/externals.rs:256:70 [INFO] [stdout] | [INFO] [stdout] 256 | let function = Function::new(&store, &function_type, |_values: &[Value]| unimplemented!()); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use wasmer_asml_fork::Value; [INFO] [stdout] | [INFO] [stdout] 1 | use wasmer_types::Value; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `FunctionType` [INFO] [stdout] --> tests/externals.rs:258:25 [INFO] [stdout] | [INFO] [stdout] 258 | let function_type = FunctionType::new(vec![Type::I32], vec![]); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use wasmer_asml_fork::FunctionType; [INFO] [stdout] | [INFO] [stdout] 1 | use wasmer_types::FunctionType; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Function` [INFO] [stdout] --> tests/externals.rs:259:20 [INFO] [stdout] | [INFO] [stdout] 259 | let function = Function::new(&store, &function_type, |_values: &[Value]| unimplemented!()); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use wasmer_asml_fork::Function; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Value` in this scope [INFO] [stdout] --> tests/externals.rs:259:70 [INFO] [stdout] | [INFO] [stdout] 259 | let function = Function::new(&store, &function_type, |_values: &[Value]| unimplemented!()); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use wasmer_asml_fork::Value; [INFO] [stdout] | [INFO] [stdout] 1 | use wasmer_types::Value; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `FunctionType` [INFO] [stdout] --> tests/externals.rs:261:25 [INFO] [stdout] | [INFO] [stdout] 261 | let function_type = FunctionType::new(vec![Type::I32, Type::I64, Type::F32, Type::F64], vec![]); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use wasmer_asml_fork::FunctionType; [INFO] [stdout] | [INFO] [stdout] 1 | use wasmer_types::FunctionType; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Function` [INFO] [stdout] --> tests/externals.rs:262:20 [INFO] [stdout] | [INFO] [stdout] 262 | let function = Function::new(&store, &function_type, |_values: &[Value]| unimplemented!()); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use wasmer_asml_fork::Function; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Value` in this scope [INFO] [stdout] --> tests/externals.rs:262:70 [INFO] [stdout] | [INFO] [stdout] 262 | let function = Function::new(&store, &function_type, |_values: &[Value]| unimplemented!()); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use wasmer_asml_fork::Value; [INFO] [stdout] | [INFO] [stdout] 1 | use wasmer_types::Value; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `FunctionType` [INFO] [stdout] --> tests/externals.rs:264:25 [INFO] [stdout] | [INFO] [stdout] 264 | let function_type = FunctionType::new(vec![], vec![Type::I32]); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use wasmer_asml_fork::FunctionType; [INFO] [stdout] | [INFO] [stdout] 1 | use wasmer_types::FunctionType; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Function` [INFO] [stdout] --> tests/externals.rs:265:20 [INFO] [stdout] | [INFO] [stdout] 265 | let function = Function::new(&store, &function_type, |_values: &[Value]| unimplemented!()); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use wasmer_asml_fork::Function; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Value` in this scope [INFO] [stdout] --> tests/externals.rs:265:70 [INFO] [stdout] | [INFO] [stdout] 265 | let function = Function::new(&store, &function_type, |_values: &[Value]| unimplemented!()); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use wasmer_asml_fork::Value; [INFO] [stdout] | [INFO] [stdout] 1 | use wasmer_types::Value; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `FunctionType` [INFO] [stdout] --> tests/externals.rs:267:25 [INFO] [stdout] | [INFO] [stdout] 267 | let function_type = FunctionType::new(vec![], vec![Type::I32, Type::I64, Type::F32, Type::F64]); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use wasmer_asml_fork::FunctionType; [INFO] [stdout] | [INFO] [stdout] 1 | use wasmer_types::FunctionType; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Function` [INFO] [stdout] --> tests/externals.rs:268:20 [INFO] [stdout] | [INFO] [stdout] 268 | let function = Function::new(&store, &function_type, |_values: &[Value]| unimplemented!()); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use wasmer_asml_fork::Function; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Value` in this scope [INFO] [stdout] --> tests/externals.rs:268:70 [INFO] [stdout] | [INFO] [stdout] 268 | let function = Function::new(&store, &function_type, |_values: &[Value]| unimplemented!()); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use wasmer_asml_fork::Value; [INFO] [stdout] | [INFO] [stdout] 1 | use wasmer_types::Value; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Function` [INFO] [stdout] --> tests/externals.rs:273:20 [INFO] [stdout] | [INFO] [stdout] 273 | let function = Function::new(&store, function_type, |_values: &[Value]| unimplemented!()); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use wasmer_asml_fork::Function; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Value` in this scope [INFO] [stdout] --> tests/externals.rs:273:69 [INFO] [stdout] | [INFO] [stdout] 273 | let function = Function::new(&store, function_type, |_values: &[Value]| unimplemented!()); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use wasmer_asml_fork::Value; [INFO] [stdout] | [INFO] [stdout] 1 | use wasmer_types::Value; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Store` [INFO] [stdout] --> tests/externals.rs:282:17 [INFO] [stdout] | [INFO] [stdout] 282 | let store = Store::default(); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use wasmer_asml_fork::Store; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `FunctionType` [INFO] [stdout] --> tests/externals.rs:288:25 [INFO] [stdout] | [INFO] [stdout] 288 | let function_type = FunctionType::new(vec![], vec![]); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use wasmer_asml_fork::FunctionType; [INFO] [stdout] | [INFO] [stdout] 1 | use wasmer_types::FunctionType; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Function` [INFO] [stdout] --> tests/externals.rs:289:20 [INFO] [stdout] | [INFO] [stdout] 289 | let function = Function::new_with_env( [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use wasmer_asml_fork::Function; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Value` in this scope [INFO] [stdout] --> tests/externals.rs:293:35 [INFO] [stdout] | [INFO] [stdout] 293 | |_env: &MyEnv, _values: &[Value]| unimplemented!(), [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use wasmer_asml_fork::Value; [INFO] [stdout] | [INFO] [stdout] 1 | use wasmer_types::Value; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `FunctionType` [INFO] [stdout] --> tests/externals.rs:296:25 [INFO] [stdout] | [INFO] [stdout] 296 | let function_type = FunctionType::new(vec![Type::I32], vec![]); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use wasmer_asml_fork::FunctionType; [INFO] [stdout] | [INFO] [stdout] 1 | use wasmer_types::FunctionType; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Function` [INFO] [stdout] --> tests/externals.rs:297:20 [INFO] [stdout] | [INFO] [stdout] 297 | let function = Function::new_with_env( [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use wasmer_asml_fork::Function; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `NativeFunc` in this scope [INFO] [stdout] --> tests/module.rs:234:13 [INFO] [stdout] | [INFO] [stdout] 234 | let f6: NativeFunc<(), ()> = instance.exports.get_native_function("call_host_func6")?; [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use wasmer_asml_fork::NativeFunc; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `NativeFunc` in this scope [INFO] [stdout] --> tests/module.rs:235:13 [INFO] [stdout] | [INFO] [stdout] 235 | let f7: NativeFunc<(), ()> = instance.exports.get_native_function("call_host_func7")?; [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use wasmer_asml_fork::NativeFunc; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Value` in this scope [INFO] [stdout] --> tests/externals.rs:301:35 [INFO] [stdout] | [INFO] [stdout] 301 | |_env: &MyEnv, _values: &[Value]| unimplemented!(), [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use wasmer_asml_fork::Value; [INFO] [stdout] | [INFO] [stdout] 1 | use wasmer_types::Value; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `NativeFunc` in this scope [INFO] [stdout] --> tests/module.rs:236:13 [INFO] [stdout] | [INFO] [stdout] 236 | let f8: NativeFunc<(), ()> = instance.exports.get_native_function("call_host_func8")?; [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use wasmer_asml_fork::NativeFunc; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `FunctionType` [INFO] [stdout] --> tests/externals.rs:304:25 [INFO] [stdout] | [INFO] [stdout] 304 | let function_type = FunctionType::new(vec![Type::I32, Type::I64, Type::F32, Type::F64], vec![]); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use wasmer_asml_fork::FunctionType; [INFO] [stdout] | [INFO] [stdout] 1 | use wasmer_types::FunctionType; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Function` [INFO] [stdout] --> tests/externals.rs:305:20 [INFO] [stdout] | [INFO] [stdout] 305 | let function = Function::new_with_env( [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use wasmer_asml_fork::Function; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Value` in this scope [INFO] [stdout] --> tests/externals.rs:309:35 [INFO] [stdout] | [INFO] [stdout] 309 | |_env: &MyEnv, _values: &[Value]| unimplemented!(), [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use wasmer_asml_fork::Value; [INFO] [stdout] | [INFO] [stdout] 1 | use wasmer_types::Value; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `FunctionType` [INFO] [stdout] --> tests/externals.rs:312:25 [INFO] [stdout] | [INFO] [stdout] 312 | let function_type = FunctionType::new(vec![], vec![Type::I32]); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use wasmer_asml_fork::FunctionType; [INFO] [stdout] | [INFO] [stdout] 1 | use wasmer_types::FunctionType; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Function` [INFO] [stdout] --> tests/externals.rs:313:20 [INFO] [stdout] | [INFO] [stdout] 313 | let function = Function::new_with_env( [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use wasmer_asml_fork::Function; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Value` in this scope [INFO] [stdout] --> tests/externals.rs:317:35 [INFO] [stdout] | [INFO] [stdout] 317 | |_env: &MyEnv, _values: &[Value]| unimplemented!(), [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use wasmer_asml_fork::Value; [INFO] [stdout] | [INFO] [stdout] 1 | use wasmer_types::Value; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `FunctionType` [INFO] [stdout] --> tests/externals.rs:320:25 [INFO] [stdout] | [INFO] [stdout] 320 | let function_type = FunctionType::new(vec![], vec![Type::I32, Type::I64, Type::F32, Type::F64]); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use wasmer_asml_fork::FunctionType; [INFO] [stdout] | [INFO] [stdout] 1 | use wasmer_types::FunctionType; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Function` [INFO] [stdout] --> tests/externals.rs:321:20 [INFO] [stdout] | [INFO] [stdout] 321 | let function = Function::new_with_env( [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use wasmer_asml_fork::Function; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Value` in this scope [INFO] [stdout] --> tests/externals.rs:325:35 [INFO] [stdout] | [INFO] [stdout] 325 | |_env: &MyEnv, _values: &[Value]| unimplemented!(), [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use wasmer_asml_fork::Value; [INFO] [stdout] | [INFO] [stdout] 1 | use wasmer_types::Value; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Function` [INFO] [stdout] --> tests/externals.rs:331:20 [INFO] [stdout] | [INFO] [stdout] 331 | let function = Function::new_with_env( [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use wasmer_asml_fork::Function; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Value` in this scope [INFO] [stdout] --> tests/externals.rs:335:35 [INFO] [stdout] | [INFO] [stdout] 335 | |_env: &MyEnv, _values: &[Value]| unimplemented!(), [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use wasmer_asml_fork::Value; [INFO] [stdout] | [INFO] [stdout] 1 | use wasmer_types::Value; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Store` [INFO] [stdout] --> tests/externals.rs:345:17 [INFO] [stdout] | [INFO] [stdout] 345 | let store = Store::default(); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use wasmer_asml_fork::Store; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Function` [INFO] [stdout] --> tests/externals.rs:346:20 [INFO] [stdout] | [INFO] [stdout] 346 | let function = Function::new_native(&store, || {}); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use wasmer_asml_fork::Function; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `NativeFunc` in this scope [INFO] [stdout] --> tests/externals.rs:347:26 [INFO] [stdout] | [INFO] [stdout] 347 | let native_function: NativeFunc<(), ()> = function.native().unwrap(); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use wasmer_asml_fork::NativeFunc; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Function` [INFO] [stdout] --> tests/externals.rs:351:20 [INFO] [stdout] | [INFO] [stdout] 351 | let function = Function::new_native(&store, |a: i32| -> i32 { a + 1 }); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use wasmer_asml_fork::Function; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `NativeFunc` in this scope [INFO] [stdout] --> tests/externals.rs:352:26 [INFO] [stdout] | [INFO] [stdout] 352 | let native_function: NativeFunc = function.native().unwrap(); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use wasmer_asml_fork::NativeFunc; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Function` [INFO] [stdout] --> tests/externals.rs:358:20 [INFO] [stdout] | [INFO] [stdout] 358 | let function = Function::new_native(&store, rust_abi); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use wasmer_asml_fork::Function; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `NativeFunc` in this scope [INFO] [stdout] --> tests/externals.rs:359:26 [INFO] [stdout] | [INFO] [stdout] 359 | let native_function: NativeFunc<(i32, i64, f32, f64), u64> = function.native().unwrap(); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use wasmer_asml_fork::NativeFunc; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Function` [INFO] [stdout] --> tests/externals.rs:362:20 [INFO] [stdout] | [INFO] [stdout] 362 | let function = Function::new_native(&store, || -> i32 { 1 }); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use wasmer_asml_fork::Function; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `NativeFunc` in this scope [INFO] [stdout] --> tests/externals.rs:363:26 [INFO] [stdout] | [INFO] [stdout] 363 | let native_function: NativeFunc<(), i32> = function.native().unwrap(); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use wasmer_asml_fork::NativeFunc; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Function` [INFO] [stdout] --> tests/externals.rs:366:20 [INFO] [stdout] | [INFO] [stdout] 366 | let function = Function::new_native(&store, |_a: i32| {}); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use wasmer_asml_fork::Function; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `NativeFunc` in this scope [INFO] [stdout] --> tests/externals.rs:367:26 [INFO] [stdout] | [INFO] [stdout] 367 | let native_function: NativeFunc = function.native().unwrap(); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use wasmer_asml_fork::NativeFunc; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Function` [INFO] [stdout] --> tests/externals.rs:370:20 [INFO] [stdout] | [INFO] [stdout] 370 | let function = Function::new_native(&store, || -> (i32, i64, f32, f64) { (1, 2, 3.0, 4.0) }); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use wasmer_asml_fork::Function; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `NativeFunc` in this scope [INFO] [stdout] --> tests/externals.rs:371:26 [INFO] [stdout] | [INFO] [stdout] 371 | let native_function: NativeFunc<(), (i32, i64, f32, f64)> = function.native().unwrap(); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use wasmer_asml_fork::NativeFunc; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Store` [INFO] [stdout] --> tests/externals.rs:379:17 [INFO] [stdout] | [INFO] [stdout] 379 | let store = Store::default(); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use wasmer_asml_fork::Store; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Module` [INFO] [stdout] --> tests/externals.rs:390:22 [INFO] [stdout] | [INFO] [stdout] 390 | let module = Module::new(&store, wat)?; [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use wasmer_asml_fork::Module; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Instance` [INFO] [stdout] --> tests/externals.rs:391:24 [INFO] [stdout] | [INFO] [stdout] 391 | let instance = Instance::new(&module, &imports! {})?; [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use wasmer_asml_fork::Instance; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `NativeFunc` in this scope [INFO] [stdout] --> tests/externals.rs:392:16 [INFO] [stdout] | [INFO] [stdout] 392 | let f: NativeFunc<(i32, i32), i32> = instance.exports.get_native_function("sum")?; [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use wasmer_asml_fork::NativeFunc; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Store` [INFO] [stdout] --> tests/externals.rs:405:17 [INFO] [stdout] | [INFO] [stdout] 405 | let store = Store::default(); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use wasmer_asml_fork::Store; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LazyInit` in this scope [INFO] [stdout] --> tests/externals.rs:409:17 [INFO] [stdout] | [INFO] [stdout] 409 | memory: LazyInit, [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use wasmer_asml_fork::LazyInit; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Memory` in this scope [INFO] [stdout] --> tests/externals.rs:409:26 [INFO] [stdout] | [INFO] [stdout] 409 | memory: LazyInit, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use wasmer_asml_fork::Memory; [INFO] [stdout] | [INFO] [stdout] 1 | use wasmer_asml_fork::vm::Memory; [INFO] [stdout] | [INFO] [stdout] 1 | use wasmer_vm::Memory; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `LazyInit` [INFO] [stdout] --> tests/externals.rs:418:17 [INFO] [stdout] | [INFO] [stdout] 418 | memory: LazyInit::new(), [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use wasmer_asml_fork::LazyInit; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Memory` [INFO] [stdout] --> tests/externals.rs:424:18 [INFO] [stdout] | [INFO] [stdout] 424 | let memory = Memory::new(&store, MemoryType::new(0, None, false))?; [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use wasmer_asml_fork::Memory; [INFO] [stdout] | [INFO] [stdout] 1 | use wasmer_asml_fork::vm::Memory; [INFO] [stdout] | [INFO] [stdout] 1 | use wasmer_vm::Memory; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MemoryType` [INFO] [stdout] --> tests/externals.rs:424:38 [INFO] [stdout] | [INFO] [stdout] 424 | let memory = Memory::new(&store, MemoryType::new(0, None, false))?; [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use wasmer_asml_fork::MemoryType; [INFO] [stdout] | [INFO] [stdout] 1 | use wasmer_types::MemoryType; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> tests/externals.rs:212:20 [INFO] [stdout] | [INFO] [stdout] 212 | struct MyEnv {}; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(redundant_semicolons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> tests/externals.rs:284:20 [INFO] [stdout] | [INFO] [stdout] 284 | struct MyEnv {}; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `None` [INFO] [stdout] --> src/import_object.rs:149:13 [INFO] [stdout] | [INFO] [stdout] 149 | None, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Some` [INFO] [stdout] --> src/import_object.rs:150:13 [INFO] [stdout] | [INFO] [stdout] 150 | Some, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 77 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0425, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 217 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0422, E0425, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "b876d0a529578eb88adbfc522d5985a931236c8b0f4babfc18cabadcee1eccc8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b876d0a529578eb88adbfc522d5985a931236c8b0f4babfc18cabadcee1eccc8", kill_on_drop: false }` [INFO] [stdout] b876d0a529578eb88adbfc522d5985a931236c8b0f4babfc18cabadcee1eccc8