[INFO] fetching crate wasmer-near 2.0.0... [INFO] checking wasmer-near-2.0.0 against try#8de4b308b608cded0ebccf658a0fc719bce87d4e for pr-89056 [INFO] extracting crate wasmer-near 2.0.0 into /workspace/builds/worker-4/source [INFO] validating manifest of crates.io crate wasmer-near 2.0.0 on toolchain 8de4b308b608cded0ebccf658a0fc719bce87d4e [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8de4b308b608cded0ebccf658a0fc719bce87d4e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate wasmer-near 2.0.0 [INFO] finished tweaking crates.io crate wasmer-near 2.0.0 [INFO] tweaked toml for crates.io crate wasmer-near 2.0.0 written to /workspace/builds/worker-4/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8de4b308b608cded0ebccf658a0fc719bce87d4e" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8de4b308b608cded0ebccf658a0fc719bce87d4e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded cranelift-frontend v0.74.0 [INFO] [stderr] Downloaded cranelift-codegen-shared v0.74.0 [INFO] [stderr] Downloaded cranelift-entity v0.74.0 [INFO] [stderr] Downloaded cranelift-bforest v0.74.0 [INFO] [stderr] Downloaded cranelift-codegen-meta v0.74.0 [INFO] [stderr] Downloaded llvm-sys v110.0.2 [INFO] [stderr] Downloaded wasmer-compiler-cranelift v2.0.0 [INFO] [stderr] Downloaded cranelift-codegen v0.74.0 [INFO] [stderr] Downloaded wasmer-compiler-singlepass-near v2.0.0 [INFO] [stderr] Downloaded wasmer_inkwell v0.2.0-alpha.2 [INFO] [stderr] Downloaded wasmer-object v2.0.0 [INFO] [stderr] Downloaded wasmer-engine-dylib v2.0.0 [INFO] [stderr] Downloaded wasmer-derive-near v2.0.0 [INFO] [stderr] Downloaded wasmer-compiler-llvm v2.0.0 [INFO] [stderr] Downloaded wasmer-compiler-near v2.0.0 [INFO] [stderr] Downloaded wasmer-engine-near v2.0.0 [INFO] [stderr] Downloaded wasmer-engine-universal-near v2.0.0 [INFO] [stderr] Downloaded wasmer-vm-near v2.0.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+8de4b308b608cded0ebccf658a0fc719bce87d4e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e59ed0ff37abbb60338e2a9d712f158ab8e4005505611db6485bea0f6f23bf1c [INFO] running `Command { std: "docker" "start" "-a" "e59ed0ff37abbb60338e2a9d712f158ab8e4005505611db6485bea0f6f23bf1c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e59ed0ff37abbb60338e2a9d712f158ab8e4005505611db6485bea0f6f23bf1c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e59ed0ff37abbb60338e2a9d712f158ab8e4005505611db6485bea0f6f23bf1c", kill_on_drop: false }` [INFO] [stdout] e59ed0ff37abbb60338e2a9d712f158ab8e4005505611db6485bea0f6f23bf1c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+8de4b308b608cded0ebccf658a0fc719bce87d4e" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 102c39aa3de8643e50ef6d432ea38dce9a7a3724c07676826c7c2f4e6bc8efd9 [INFO] running `Command { std: "docker" "start" "-a" "102c39aa3de8643e50ef6d432ea38dce9a7a3724c07676826c7c2f4e6bc8efd9", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.29 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.76 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling libc v0.2.102 [INFO] [stderr] Compiling serde_derive v1.0.130 [INFO] [stderr] Compiling serde v1.0.130 [INFO] [stderr] Compiling cc v1.0.70 [INFO] [stderr] Compiling rustversion v1.0.5 [INFO] [stderr] Checking hashbrown v0.11.2 [INFO] [stderr] Compiling rkyv v0.6.7 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Checking seahash v4.1.0 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Checking gimli v0.25.0 [INFO] [stderr] Checking adler v1.0.2 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Checking rustc-demangle v0.1.21 [INFO] [stderr] Checking more-asserts v0.2.1 [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Compiling target-lexicon v0.12.2 [INFO] [stderr] Compiling crossbeam-utils v0.8.5 [INFO] [stderr] Checking smallvec v1.6.1 [INFO] [stderr] Checking wasmparser v0.78.2 [INFO] [stderr] Compiling crossbeam-epoch v0.9.5 [INFO] [stderr] Compiling crc32fast v1.2.1 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Compiling rayon-core v1.9.1 [INFO] [stderr] Checking leb128 v0.2.4 [INFO] [stderr] Checking ppv-lite86 v0.2.10 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Checking remove_dir_all v0.5.3 [INFO] [stderr] Checking pin-project-lite v0.2.7 [INFO] [stderr] Compiling anyhow v1.0.44 [INFO] [stderr] Checking libloading v0.7.0 [INFO] [stderr] Checking object v0.26.2 [INFO] [stderr] Checking wast v38.0.0 [INFO] [stderr] Checking tracing-core v0.1.20 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling memoffset v0.6.4 [INFO] [stderr] Compiling indexmap v1.7.0 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Compiling rayon v1.5.1 [INFO] [stderr] Checking crossbeam-channel v0.5.1 [INFO] [stderr] Checking crossbeam-deque v0.8.1 [INFO] [stderr] Checking memmap2 v0.2.3 [INFO] [stderr] Checking region v3.0.0 [INFO] [stderr] Checking region v2.2.0 [INFO] [stderr] Checking getrandom v0.2.3 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking which v4.2.2 [INFO] [stderr] Compiling backtrace v0.3.61 [INFO] [stderr] Compiling wasmer-vm-near v2.0.0 [INFO] [stderr] Compiling wasmer-vm v2.0.0 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Checking rand_core v0.6.3 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.4 [INFO] [stderr] Checking tempfile v3.2.0 [INFO] [stderr] Checking addr2line v0.16.0 [INFO] [stderr] Checking wat v1.0.40 [INFO] [stderr] Compiling darling_core v0.13.0 [INFO] [stderr] Compiling ptr_meta_derive v0.1.4 [INFO] [stderr] Compiling rkyv_derive v0.6.7 [INFO] [stderr] Compiling thiserror-impl v1.0.29 [INFO] [stderr] Compiling loupe-derive v0.1.3 [INFO] [stderr] Compiling tracing-attributes v0.1.16 [INFO] [stderr] Compiling dynasm v1.1.0 [INFO] [stderr] Compiling wasmer-derive-near v2.0.0 [INFO] [stderr] Compiling darling_macro v0.13.0 [INFO] [stderr] Checking ptr_meta v0.1.4 [INFO] [stderr] Checking thiserror v1.0.29 [INFO] [stderr] Compiling darling v0.13.0 [INFO] [stderr] Compiling enumset_derive v0.5.5 [INFO] [stderr] Checking tracing v0.1.28 [INFO] [stderr] Checking enumset v1.0.7 [INFO] [stderr] Checking serde_bytes v0.11.5 [INFO] [stderr] Checking loupe v0.1.3 [INFO] [stderr] Checking object v0.25.3 [INFO] [stderr] Checking wasmer-types-near v2.0.0 [INFO] [stderr] Checking wasmer-types v2.0.0 [INFO] [stderr] Checking dynasmrt v1.1.0 [INFO] [stderr] Checking wasmer-compiler v2.0.0 [INFO] [stderr] Checking wasmer-compiler-near v2.0.0 [INFO] [stderr] Checking wasmer-engine v2.0.0 [INFO] [stderr] Checking wasmer-object v2.0.0 [INFO] [stderr] Checking wasmer-engine-near v2.0.0 [INFO] [stderr] Checking wasmer-compiler-singlepass-near v2.0.0 [INFO] [stderr] Checking wasmer-engine-dylib v2.0.0 [INFO] [stderr] Checking wasmer-engine-universal-near v2.0.0 [INFO] [stderr] Checking wasmer-near v2.0.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `wasmer` [INFO] [stdout] --> tests/sys_export.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | 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/sys_externals.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | 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/sys_instance.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | use wasmer::*; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `wasmer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `WasmerEnv` in this scope [INFO] [stdout] --> tests/sys_export.rs:109:32 [INFO] [stdout] | [INFO] [stdout] 109 | #[derive(Clone, Debug, WasmerEnv, Default)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing one of these items: [INFO] [stdout] wasmer_derive::WasmerEnv [INFO] [stdout] wasmer_near::WasmerEnv [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `wasmer` in this scope [INFO] [stdout] --> tests/sys_export.rs:111:15 [INFO] [stdout] | [INFO] [stdout] 111 | #[wasmer(export)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `imports` in this scope [INFO] [stdout] --> tests/sys_export.rs:130:18 [INFO] [stdout] | [INFO] [stdout] 130 | &imports! { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this macro: [INFO] [stdout] wasmer_near::imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `WasmerEnv` in this scope [INFO] [stdout] --> tests/sys_export.rs:153:32 [INFO] [stdout] | [INFO] [stdout] 153 | #[derive(Clone, Debug, WasmerEnv, Default)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing one of these items: [INFO] [stdout] wasmer_derive::WasmerEnv [INFO] [stdout] wasmer_near::WasmerEnv [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `wasmer` in this scope [INFO] [stdout] --> tests/sys_export.rs:155:15 [INFO] [stdout] | [INFO] [stdout] 155 | #[wasmer(export)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `imports` in this scope [INFO] [stdout] --> tests/sys_export.rs:174:18 [INFO] [stdout] | [INFO] [stdout] 174 | &imports! { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this macro: [INFO] [stdout] wasmer_near::imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `WasmerEnv` in this scope [INFO] [stdout] --> tests/sys_export.rs:197:25 [INFO] [stdout] | [INFO] [stdout] 197 | #[derive(Clone, WasmerEnv, Default)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing one of these items: [INFO] [stdout] wasmer_derive::WasmerEnv [INFO] [stdout] wasmer_near::WasmerEnv [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `WasmerEnv` in this scope [INFO] [stdout] --> tests/sys_externals.rs:214:25 [INFO] [stdout] | [INFO] [stdout] 214 | #[derive(Clone, WasmerEnv)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing one of these items: [INFO] [stdout] wasmer_derive::WasmerEnv [INFO] [stdout] wasmer_near::WasmerEnv [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `WasmerEnv` in this scope [INFO] [stdout] --> tests/sys_instance.rs:46:18 [INFO] [stdout] | [INFO] [stdout] 46 | #[derive(WasmerEnv, Clone)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing one of these items: [INFO] [stdout] wasmer_derive::WasmerEnv [INFO] [stdout] wasmer_near::WasmerEnv [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `WasmerEnv` in this scope [INFO] [stdout] --> tests/sys_externals.rs:288:25 [INFO] [stdout] | [INFO] [stdout] 288 | #[derive(Clone, WasmerEnv)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing one of these items: [INFO] [stdout] wasmer_derive::WasmerEnv [INFO] [stdout] wasmer_near::WasmerEnv [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `wasmer` in this scope [INFO] [stdout] --> tests/sys_export.rs:199:15 [INFO] [stdout] | [INFO] [stdout] 199 | #[wasmer(export)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `imports` in this scope [INFO] [stdout] --> tests/sys_export.rs:218:18 [INFO] [stdout] | [INFO] [stdout] 218 | &imports! { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this macro: [INFO] [stdout] wasmer_near::imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `imports` in this scope [INFO] [stdout] --> tests/sys_externals.rs:399:52 [INFO] [stdout] | [INFO] [stdout] 399 | let instance = Instance::new(&module, &imports! {})?; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this macro: [INFO] [stdout] wasmer_near::imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `imports` in this scope [INFO] [stdout] --> tests/sys_externals.rs:426:52 [INFO] [stdout] | [INFO] [stdout] 426 | let instance = Instance::new(&module, &imports! {})?; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this macro: [INFO] [stdout] wasmer_near::imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `WasmerEnv` in this scope [INFO] [stdout] --> tests/sys_export.rs:241:25 [INFO] [stdout] | [INFO] [stdout] 241 | #[derive(Clone, WasmerEnv, Default)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing one of these items: [INFO] [stdout] wasmer_derive::WasmerEnv [INFO] [stdout] wasmer_near::WasmerEnv [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `WasmerEnv` in this scope [INFO] [stdout] --> tests/sys_externals.rs:441:18 [INFO] [stdout] | [INFO] [stdout] 441 | #[derive(WasmerEnv, Clone)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing one of these items: [INFO] [stdout] wasmer_derive::WasmerEnv [INFO] [stdout] wasmer_near::WasmerEnv [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `wasmer` in this scope [INFO] [stdout] --> tests/sys_export.rs:243:15 [INFO] [stdout] | [INFO] [stdout] 243 | #[wasmer(export)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `imports` in this scope [INFO] [stdout] --> tests/sys_export.rs:262:18 [INFO] [stdout] | [INFO] [stdout] 262 | &imports! { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this macro: [INFO] [stdout] wasmer_near::imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `WasmerEnv` in this scope [INFO] [stdout] --> tests/sys_export.rs:285:25 [INFO] [stdout] | [INFO] [stdout] 285 | #[derive(Clone, WasmerEnv, Default)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing one of these items: [INFO] [stdout] wasmer_derive::WasmerEnv [INFO] [stdout] wasmer_near::WasmerEnv [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `wasmer` in this scope [INFO] [stdout] --> tests/sys_export.rs:287:15 [INFO] [stdout] | [INFO] [stdout] 287 | #[wasmer(export)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Type` [INFO] [stdout] --> tests/sys_externals.rs:13:21 [INFO] [stdout] | [INFO] [stdout] 13 | 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/sys_externals.rs:14:29 [INFO] [stdout] | [INFO] [stdout] 14 | mutability: Mutability::Const [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `Mutability` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `imports` in this scope [INFO] [stdout] --> tests/sys_export.rs:315:18 [INFO] [stdout] | [INFO] [stdout] 315 | &imports! { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this macro: [INFO] [stdout] wasmer_near::imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Type` [INFO] [stdout] --> tests/sys_externals.rs:22:21 [INFO] [stdout] | [INFO] [stdout] 22 | 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/sys_externals.rs:23:29 [INFO] [stdout] | [INFO] [stdout] 23 | mutability: Mutability::Var [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/sys_instance.rs:56:57 [INFO] [stdout] | [INFO] [stdout] 56 | let imported_signature = FunctionType::new(vec![Type::I32], 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/sys_instance.rs:56:74 [INFO] [stdout] | [INFO] [stdout] 56 | let imported_signature = FunctionType::new(vec![Type::I32], 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 `Store` [INFO] [stdout] --> tests/sys_instance.rs:8:21 [INFO] [stdout] | [INFO] [stdout] 8 | let store = Store::default(); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 | use wasmer_near::Store; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Module` [INFO] [stdout] --> tests/sys_instance.rs:9:22 [INFO] [stdout] | [INFO] [stdout] 9 | let module = Module::new( [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 | use wasmer_near::Module; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ImportObject` [INFO] [stdout] --> tests/sys_instance.rs:22:29 [INFO] [stdout] | [INFO] [stdout] 22 | 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] 3 | use wasmer_near::ImportObject; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Instance` [INFO] [stdout] --> tests/sys_instance.rs:23:24 [INFO] [stdout] | [INFO] [stdout] 23 | 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] 3 | use wasmer_near::Instance; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Value` [INFO] [stdout] --> tests/sys_instance.rs:36:24 [INFO] [stdout] | [INFO] [stdout] 36 | 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] 3 | use wasmer_near::Value; [INFO] [stdout] | [INFO] [stdout] 3 | 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/sys_instance.rs:36:39 [INFO] [stdout] | [INFO] [stdout] 36 | 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] 3 | use wasmer_near::Value; [INFO] [stdout] | [INFO] [stdout] 3 | 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/sys_instance.rs:37:18 [INFO] [stdout] | [INFO] [stdout] 37 | 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] 3 | use wasmer_near::Value; [INFO] [stdout] | [INFO] [stdout] 3 | 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/sys_instance.rs:45:21 [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] 3 | use wasmer_near::Store; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Val` in this scope [INFO] [stdout] --> tests/sys_instance.rs:51:43 [INFO] [stdout] | [INFO] [stdout] 51 | fn imported_fn(env: &Env, args: &[Val]) -> Result, RuntimeError> { [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 3 | use wasmer_near::Val; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Val` in this scope [INFO] [stdout] --> tests/sys_instance.rs:51:63 [INFO] [stdout] | [INFO] [stdout] 51 | fn imported_fn(env: &Env, args: &[Val]) -> Result, RuntimeError> { [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 3 | use wasmer_near::Val; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `RuntimeError` in this scope [INFO] [stdout] --> tests/sys_instance.rs:51:69 [INFO] [stdout] | [INFO] [stdout] 51 | fn imported_fn(env: &Env, args: &[Val]) -> Result, RuntimeError> { [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 | use wasmer_engine::RuntimeError; [INFO] [stdout] | [INFO] [stdout] 3 | use wasmer_near::RuntimeError; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Val` [INFO] [stdout] --> tests/sys_instance.rs:53:28 [INFO] [stdout] | [INFO] [stdout] 53 | return Ok(vec![Val::I32(value as _)]); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 3 | use wasmer_near::Val; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `FunctionType` [INFO] [stdout] --> tests/sys_instance.rs:56:34 [INFO] [stdout] | [INFO] [stdout] 56 | let imported_signature = FunctionType::new(vec![Type::I32], 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] 3 | use wasmer_near::FunctionType; [INFO] [stdout] | [INFO] [stdout] 3 | 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/sys_instance.rs:57:24 [INFO] [stdout] | [INFO] [stdout] 57 | let imported = Function::new_with_env( [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 | use wasmer_near::Function; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Val` [INFO] [stdout] --> tests/sys_instance.rs:64:29 [INFO] [stdout] | [INFO] [stdout] 64 | let expected = vec![Val::I32(12)].into_boxed_slice(); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 3 | use wasmer_near::Val; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Val` [INFO] [stdout] --> tests/sys_instance.rs:65:38 [INFO] [stdout] | [INFO] [stdout] 65 | let result = imported.call(&[Val::I32(4)])?; [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 3 | use wasmer_near::Val; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `wasmer` [INFO] [stdout] --> tests/sys_module.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | 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/sys_reference_types.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 7 | 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 `Type` [INFO] [stdout] --> tests/sys_externals.rs:67:17 [INFO] [stdout] | [INFO] [stdout] 67 | 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/sys_externals.rs:92:17 [INFO] [stdout] | [INFO] [stdout] 92 | ty: Type::FuncRef, [INFO] [stdout] | ^^^^ use of undeclared type `Type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `imports` in this scope [INFO] [stdout] --> tests/sys_module.rs:193:23 [INFO] [stdout] | [INFO] [stdout] 193 | let imports = imports! { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this macro: [INFO] [stdout] wasmer_near::imports [INFO] [stdout] = note: `imports` is in scope, but it is a function, not a macro [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Type` [INFO] [stdout] --> tests/sys_externals.rs:115:17 [INFO] [stdout] | [INFO] [stdout] 115 | 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/sys_module.rs:55:54 [INFO] [stdout] | [INFO] [stdout] 55 | 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/sys_module.rs:60:56 [INFO] [stdout] | [INFO] [stdout] 60 | 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/sys_module.rs:60:67 [INFO] [stdout] | [INFO] [stdout] 60 | 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 `MemoryError` [INFO] [stdout] --> tests/sys_externals.rs:168:17 [INFO] [stdout] | [INFO] [stdout] 168 | Err(MemoryError::CouldNotGrow { [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `MemoryError` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `imports` in this scope [INFO] [stdout] --> tests/sys_reference_types.rs:24:23 [INFO] [stdout] | [INFO] [stdout] 24 | let imports = imports! { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this macro: [INFO] [stdout] wasmer_near::imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `WasmerEnv` in this scope [INFO] [stdout] --> tests/sys_reference_types.rs:42:32 [INFO] [stdout] | [INFO] [stdout] 42 | #[derive(Clone, Debug, WasmerEnv)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing one of these items: [INFO] [stdout] wasmer_derive::WasmerEnv [INFO] [stdout] wasmer_near::WasmerEnv [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `imports` in this scope [INFO] [stdout] --> tests/sys_reference_types.rs:87:23 [INFO] [stdout] | [INFO] [stdout] 87 | let imports = imports! { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this macro: [INFO] [stdout] wasmer_near::imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MemoryError` [INFO] [stdout] --> tests/sys_externals.rs:177:42 [INFO] [stdout] | [INFO] [stdout] 177 | 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 `Value` [INFO] [stdout] --> tests/sys_reference_types.rs:36:16 [INFO] [stdout] | [INFO] [stdout] 36 | if let Value::FuncRef(fr) = &results[0] { [INFO] [stdout] | ^^^^^ use of undeclared type `Value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Type` [INFO] [stdout] --> tests/sys_module.rs:87:32 [INFO] [stdout] | [INFO] [stdout] 87 | 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/sys_module.rs:95:33 [INFO] [stdout] | [INFO] [stdout] 95 | 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/sys_module.rs:95:44 [INFO] [stdout] | [INFO] [stdout] 95 | 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/sys_externals.rs:190:36 [INFO] [stdout] | [INFO] [stdout] 190 | 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/sys_externals.rs:195:36 [INFO] [stdout] | [INFO] [stdout] 195 | 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/sys_externals.rs:195:47 [INFO] [stdout] | [INFO] [stdout] 195 | 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/sys_externals.rs:195:58 [INFO] [stdout] | [INFO] [stdout] 195 | 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/sys_externals.rs:195:69 [INFO] [stdout] | [INFO] [stdout] 195 | 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/sys_externals.rs:200:44 [INFO] [stdout] | [INFO] [stdout] 200 | 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/sys_externals.rs:206:44 [INFO] [stdout] | [INFO] [stdout] 206 | 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/sys_externals.rs:206:55 [INFO] [stdout] | [INFO] [stdout] 206 | 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/sys_externals.rs:206:66 [INFO] [stdout] | [INFO] [stdout] 206 | 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/sys_externals.rs:206:77 [INFO] [stdout] | [INFO] [stdout] 206 | 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/sys_module.rs:124:54 [INFO] [stdout] | [INFO] [stdout] 124 | 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/sys_externals.rs:224:36 [INFO] [stdout] | [INFO] [stdout] 224 | 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/sys_module.rs:128:56 [INFO] [stdout] | [INFO] [stdout] 128 | 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/sys_module.rs:128:67 [INFO] [stdout] | [INFO] [stdout] 128 | 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/sys_externals.rs:233:36 [INFO] [stdout] | [INFO] [stdout] 233 | 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/sys_externals.rs:233:47 [INFO] [stdout] | [INFO] [stdout] 233 | 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/sys_externals.rs:233:58 [INFO] [stdout] | [INFO] [stdout] 233 | 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/sys_externals.rs:233:69 [INFO] [stdout] | [INFO] [stdout] 233 | 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/sys_externals.rs:239:44 [INFO] [stdout] | [INFO] [stdout] 239 | 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/sys_externals.rs:248:44 [INFO] [stdout] | [INFO] [stdout] 248 | 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/sys_externals.rs:248:55 [INFO] [stdout] | [INFO] [stdout] 248 | 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/sys_externals.rs:248:66 [INFO] [stdout] | [INFO] [stdout] 248 | 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/sys_externals.rs:248:77 [INFO] [stdout] | [INFO] [stdout] 248 | 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/sys_module.rs:149:32 [INFO] [stdout] | [INFO] [stdout] 149 | 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/sys_module.rs:156:33 [INFO] [stdout] | [INFO] [stdout] 156 | 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/sys_module.rs:156:44 [INFO] [stdout] | [INFO] [stdout] 156 | 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/sys_reference_types.rs:11:21 [INFO] [stdout] | [INFO] [stdout] 11 | let store = Store::default(); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 | use wasmer_near::Store; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Module` [INFO] [stdout] --> tests/sys_reference_types.rs:23:22 [INFO] [stdout] | [INFO] [stdout] 23 | 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] 3 | use wasmer_near::Module; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Type` [INFO] [stdout] --> tests/sys_externals.rs:261:52 [INFO] [stdout] | [INFO] [stdout] 261 | 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 `Instance` [INFO] [stdout] --> tests/sys_reference_types.rs:32:24 [INFO] [stdout] | [INFO] [stdout] 32 | 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] 3 | use wasmer_near::Instance; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Function` in this scope [INFO] [stdout] --> tests/sys_reference_types.rs:34:17 [INFO] [stdout] | [INFO] [stdout] 34 | let f: &Function = instance.exports.get_function("run")?; [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 | use wasmer_near::Function; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Function` [INFO] [stdout] --> tests/sys_reference_types.rs:46:28 [INFO] [stdout] | [INFO] [stdout] 46 | let func_to_call = Function::new_native_with_env(&store, env.clone(), |env: &Env| -> i32 { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 | use wasmer_near::Function; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Function` in this scope [INFO] [stdout] --> tests/sys_reference_types.rs:50:30 [INFO] [stdout] | [INFO] [stdout] 50 | let call_set_value: &Function = instance.exports.get_function("call_set_value")?; [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 | use wasmer_near::Function; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Value` in this scope [INFO] [stdout] --> tests/sys_reference_types.rs:51:27 [INFO] [stdout] | [INFO] [stdout] 51 | let results: Box<[Value]> = call_set_value.call(&[Value::FuncRef(Some(func_to_call))])?; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 | use wasmer_near::Value; [INFO] [stdout] | [INFO] [stdout] 3 | 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/sys_reference_types.rs:51:59 [INFO] [stdout] | [INFO] [stdout] 51 | let results: Box<[Value]> = call_set_value.call(&[Value::FuncRef(Some(func_to_call))])?; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 | use wasmer_near::Value; [INFO] [stdout] | [INFO] [stdout] 3 | 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/sys_reference_types.rs:53:33 [INFO] [stdout] | [INFO] [stdout] 53 | assert_eq!(&*results, &[Value::I32(343)]); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 | use wasmer_near::Value; [INFO] [stdout] | [INFO] [stdout] 3 | 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/sys_reference_types.rs:60:21 [INFO] [stdout] | [INFO] [stdout] 60 | let store = Store::default(); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 | use wasmer_near::Store; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Module` [INFO] [stdout] --> tests/sys_reference_types.rs:78:22 [INFO] [stdout] | [INFO] [stdout] 78 | 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] 3 | use wasmer_near::Module; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Value` in this scope [INFO] [stdout] --> tests/sys_reference_types.rs:80:36 [INFO] [stdout] | [INFO] [stdout] 80 | fn func_ref_call(values: &[Value]) -> Result, RuntimeError> { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 | use wasmer_near::Value; [INFO] [stdout] | [INFO] [stdout] 3 | use wasmer_types::Value; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Value` in this scope [INFO] [stdout] --> tests/sys_reference_types.rs:80:58 [INFO] [stdout] | [INFO] [stdout] 80 | fn func_ref_call(values: &[Value]) -> Result, RuntimeError> { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 | use wasmer_near::Value; [INFO] [stdout] | [INFO] [stdout] 3 | use wasmer_types::Value; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `RuntimeError` in this scope [INFO] [stdout] --> tests/sys_reference_types.rs:80:66 [INFO] [stdout] | [INFO] [stdout] 80 | fn func_ref_call(values: &[Value]) -> Result, RuntimeError> { [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 | use wasmer_engine::RuntimeError; [INFO] [stdout] | [INFO] [stdout] 3 | use wasmer_near::RuntimeError; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `NativeFunc` in this scope [INFO] [stdout] --> tests/sys_reference_types.rs:83:20 [INFO] [stdout] | [INFO] [stdout] 83 | let f: NativeFunc<(i32, i32), i32> = f.native()?; [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 | use wasmer_near::NativeFunc; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Value` [INFO] [stdout] --> tests/sys_reference_types.rs:84:21 [INFO] [stdout] | [INFO] [stdout] 84 | Ok(vec![Value::I32(f.call(7, 9)?)]) [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 | use wasmer_near::Value; [INFO] [stdout] | [INFO] [stdout] 3 | use wasmer_types::Value; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Instance` [INFO] [stdout] --> tests/sys_reference_types.rs:104:24 [INFO] [stdout] | [INFO] [stdout] 104 | 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] 3 | use wasmer_near::Instance; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Function` [INFO] [stdout] --> tests/sys_reference_types.rs:109:28 [INFO] [stdout] | [INFO] [stdout] 109 | let sum_func = Function::new_native(&store, sum); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 | use wasmer_near::Function; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Function` in this scope [INFO] [stdout] --> tests/sys_reference_types.rs:111:29 [INFO] [stdout] | [INFO] [stdout] 111 | let call_func: &Function = instance.exports.get_function("call_func")?; [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 | use wasmer_near::Function; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Type` [INFO] [stdout] --> tests/sys_externals.rs:265:36 [INFO] [stdout] | [INFO] [stdout] 265 | 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/sys_externals.rs:265:47 [INFO] [stdout] | [INFO] [stdout] 265 | 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/sys_externals.rs:265:58 [INFO] [stdout] | [INFO] [stdout] 265 | 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/sys_externals.rs:265:69 [INFO] [stdout] | [INFO] [stdout] 265 | 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[E0412]: cannot find type `Memory` in this scope [INFO] [stdout] --> tests/sys_export.rs:48:47 [INFO] [stdout] | [INFO] [stdout] 48 | fn is_memory_instance_ref_strong(memory: &Memory) -> Option { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 | use wasmer_near::Memory; [INFO] [stdout] | [INFO] [stdout] 3 | use wasmer_near::vm::Memory; [INFO] [stdout] | [INFO] [stdout] 3 | use wasmer_vm::Memory; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Value` [INFO] [stdout] --> tests/sys_reference_types.rs:112:43 [INFO] [stdout] | [INFO] [stdout] 112 | let result = call_func.call(&[Value::FuncRef(Some(sum_func))])?; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 | use wasmer_near::Value; [INFO] [stdout] | [INFO] [stdout] 3 | use wasmer_types::Value; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Table` in this scope [INFO] [stdout] --> tests/sys_export.rs:59:45 [INFO] [stdout] | [INFO] [stdout] 59 | fn is_table_instance_ref_strong(table: &Table) -> Option { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 | use wasmer_near::Table; [INFO] [stdout] | [INFO] [stdout] 3 | use wasmer_near::vm::Table; [INFO] [stdout] | [INFO] [stdout] 3 | use wasmer_vm::Table; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `NativeFunc` in this scope [INFO] [stdout] --> tests/sys_reference_types.rs:117:20 [INFO] [stdout] | [INFO] [stdout] 117 | let f: NativeFunc<(), i32> = instance [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 | use wasmer_near::NativeFunc; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Global` in this scope [INFO] [stdout] --> tests/sys_export.rs:70:47 [INFO] [stdout] | [INFO] [stdout] 70 | fn is_global_instance_ref_strong(global: &Global) -> Option { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 | use std::alloc::Global; [INFO] [stdout] | [INFO] [stdout] 3 | use wasmer_near::Global; [INFO] [stdout] | [INFO] [stdout] 3 | use wasmer_vm::Global; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Function` in this scope [INFO] [stdout] --> tests/sys_export.rs:81:44 [INFO] [stdout] | [INFO] [stdout] 81 | fn is_function_instance_ref_strong(f: &Function) -> Option { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 | use wasmer_near::Function; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `WasmTypeList` in this scope [INFO] [stdout] --> tests/sys_export.rs:95:15 [INFO] [stdout] | [INFO] [stdout] 95 | Args: WasmTypeList, [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 3 | use wasmer_near::WasmTypeList; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `WasmTypeList` in this scope [INFO] [stdout] --> tests/sys_export.rs:96:15 [INFO] [stdout] | [INFO] [stdout] 96 | Rets: WasmTypeList, [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 3 | use wasmer_near::WasmTypeList; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `NativeFunc` in this scope [INFO] [stdout] --> tests/sys_export.rs:92:13 [INFO] [stdout] | [INFO] [stdout] 92 | f: &NativeFunc, [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 | use wasmer_near::NativeFunc; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LazyInit` in this scope [INFO] [stdout] --> tests/sys_export.rs:112:21 [INFO] [stdout] | [INFO] [stdout] 112 | memory: LazyInit, [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 | use wasmer_near::LazyInit; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Memory` in this scope [INFO] [stdout] --> tests/sys_export.rs:112:30 [INFO] [stdout] | [INFO] [stdout] 112 | memory: LazyInit, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 | use wasmer_near::Memory; [INFO] [stdout] | [INFO] [stdout] 3 | use wasmer_near::vm::Memory; [INFO] [stdout] | [INFO] [stdout] 3 | use wasmer_vm::Memory; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `NativeFunc` in this scope [INFO] [stdout] --> tests/sys_export.rs:123:16 [INFO] [stdout] | [INFO] [stdout] 123 | let f: NativeFunc<(), ()> = { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 | use wasmer_near::NativeFunc; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Store` [INFO] [stdout] --> tests/sys_export.rs:124:25 [INFO] [stdout] | [INFO] [stdout] 124 | let store = Store::default(); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 | use wasmer_near::Store; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Type` [INFO] [stdout] --> tests/sys_externals.rs:268:60 [INFO] [stdout] | [INFO] [stdout] 268 | 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 `Module` [INFO] [stdout] --> tests/sys_export.rs:125:26 [INFO] [stdout] | [INFO] [stdout] 125 | let module = Module::new(&store, MEM_WAT)?; [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 | use wasmer_near::Module; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Instance` [INFO] [stdout] --> tests/sys_export.rs:128:28 [INFO] [stdout] | [INFO] [stdout] 128 | let instance = Instance::new( [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 | use wasmer_near::Instance; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `NativeFunc` in this scope [INFO] [stdout] --> tests/sys_export.rs:142:20 [INFO] [stdout] | [INFO] [stdout] 142 | let f: NativeFunc<(), ()> = instance.exports.get_native_function("call_host_fn")?; [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 | use wasmer_near::NativeFunc; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LazyInit` in this scope [INFO] [stdout] --> tests/sys_export.rs:156:21 [INFO] [stdout] | [INFO] [stdout] 156 | global: LazyInit, [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 | use wasmer_near::LazyInit; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> tests/sys_reference_types.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Global` in this scope [INFO] [stdout] --> tests/sys_export.rs:156:30 [INFO] [stdout] | [INFO] [stdout] 156 | global: LazyInit, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 | use std::alloc::Global; [INFO] [stdout] | [INFO] [stdout] 3 | use wasmer_near::Global; [INFO] [stdout] | [INFO] [stdout] 3 | use wasmer_vm::Global; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `NativeFunc` in this scope [INFO] [stdout] --> tests/sys_export.rs:167:16 [INFO] [stdout] | [INFO] [stdout] 167 | let f: NativeFunc<(), ()> = { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 | use wasmer_near::NativeFunc; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Store` [INFO] [stdout] --> tests/sys_export.rs:168:25 [INFO] [stdout] | [INFO] [stdout] 168 | let store = Store::default(); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 | use wasmer_near::Store; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Module` [INFO] [stdout] --> tests/sys_export.rs:169:26 [INFO] [stdout] | [INFO] [stdout] 169 | let module = Module::new(&store, GLOBAL_WAT)?; [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 | use wasmer_near::Module; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Instance` [INFO] [stdout] --> tests/sys_export.rs:172:28 [INFO] [stdout] | [INFO] [stdout] 172 | let instance = Instance::new( [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 | use wasmer_near::Instance; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `NativeFunc` in this scope [INFO] [stdout] --> tests/sys_export.rs:186:20 [INFO] [stdout] | [INFO] [stdout] 186 | let f: NativeFunc<(), ()> = instance.exports.get_native_function("call_host_fn")?; [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 | use wasmer_near::NativeFunc; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LazyInit` in this scope [INFO] [stdout] --> tests/sys_export.rs:200:20 [INFO] [stdout] | [INFO] [stdout] 200 | table: LazyInit, [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 | use wasmer_near::LazyInit; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Table` in this scope [INFO] [stdout] --> tests/sys_export.rs:200:29 [INFO] [stdout] | [INFO] [stdout] 200 | table: LazyInit
, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 | use wasmer_near::Table; [INFO] [stdout] | [INFO] [stdout] 3 | use wasmer_near::vm::Table; [INFO] [stdout] | [INFO] [stdout] 3 | use wasmer_vm::Table; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `NativeFunc` in this scope [INFO] [stdout] --> tests/sys_export.rs:211:16 [INFO] [stdout] | [INFO] [stdout] 211 | let f: NativeFunc<(), ()> = { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 | use wasmer_near::NativeFunc; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Store` [INFO] [stdout] --> tests/sys_export.rs:212:25 [INFO] [stdout] | [INFO] [stdout] 212 | let store = Store::default(); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 | use wasmer_near::Store; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Module` [INFO] [stdout] --> tests/sys_export.rs:213:26 [INFO] [stdout] | [INFO] [stdout] 213 | let module = Module::new(&store, TABLE_WAT)?; [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 | use wasmer_near::Module; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Instance` [INFO] [stdout] --> tests/sys_export.rs:216:28 [INFO] [stdout] | [INFO] [stdout] 216 | let instance = Instance::new( [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 | use wasmer_near::Instance; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `NativeFunc` in this scope [INFO] [stdout] --> tests/sys_export.rs:230:20 [INFO] [stdout] | [INFO] [stdout] 230 | let f: NativeFunc<(), ()> = instance.exports.get_native_function("call_host_fn")?; [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 | use wasmer_near::NativeFunc; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LazyInit` in this scope [INFO] [stdout] --> tests/sys_export.rs:244:27 [INFO] [stdout] | [INFO] [stdout] 244 | call_host_fn: LazyInit, [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 | use wasmer_near::LazyInit; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Function` in this scope [INFO] [stdout] --> tests/sys_export.rs:244:36 [INFO] [stdout] | [INFO] [stdout] 244 | call_host_fn: LazyInit, [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 | use wasmer_near::Function; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `NativeFunc` in this scope [INFO] [stdout] --> tests/sys_export.rs:255:16 [INFO] [stdout] | [INFO] [stdout] 255 | let f: NativeFunc<(), ()> = { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 | use wasmer_near::NativeFunc; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Store` [INFO] [stdout] --> tests/sys_module.rs:8:21 [INFO] [stdout] | [INFO] [stdout] 8 | let store = Store::default(); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 | use wasmer_near::Store; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Module` [INFO] [stdout] --> tests/sys_module.rs:10:22 [INFO] [stdout] | [INFO] [stdout] 10 | 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] 3 | use wasmer_near::Module; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Store` [INFO] [stdout] --> tests/sys_export.rs:256:25 [INFO] [stdout] | [INFO] [stdout] 256 | let store = Store::default(); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 | use wasmer_near::Store; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Store` [INFO] [stdout] --> tests/sys_module.rs:18:21 [INFO] [stdout] | [INFO] [stdout] 18 | let store = Store::default(); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 | use wasmer_near::Store; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Module` [INFO] [stdout] --> tests/sys_export.rs:257:26 [INFO] [stdout] | [INFO] [stdout] 257 | let module = Module::new(&store, FUNCTION_WAT)?; [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 | use wasmer_near::Module; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Module` [INFO] [stdout] --> tests/sys_module.rs:20:26 [INFO] [stdout] | [INFO] [stdout] 20 | 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] 3 | use wasmer_near::Module; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Instance` [INFO] [stdout] --> tests/sys_export.rs:260:28 [INFO] [stdout] | [INFO] [stdout] 260 | let instance = Instance::new( [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 | use wasmer_near::Instance; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Store` [INFO] [stdout] --> tests/sys_module.rs:31:21 [INFO] [stdout] | [INFO] [stdout] 31 | let store = Store::default(); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 | use wasmer_near::Store; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `NativeFunc` in this scope [INFO] [stdout] --> tests/sys_export.rs:274:20 [INFO] [stdout] | [INFO] [stdout] 274 | let f: NativeFunc<(), ()> = instance.exports.get_native_function("call_host_fn")?; [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 | use wasmer_near::NativeFunc; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Module` [INFO] [stdout] --> tests/sys_module.rs:38:22 [INFO] [stdout] | [INFO] [stdout] 38 | 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] 3 | use wasmer_near::Module; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LazyInit` in this scope [INFO] [stdout] --> tests/sys_export.rs:288:27 [INFO] [stdout] | [INFO] [stdout] 288 | call_host_fn: LazyInit>, [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 | use wasmer_near::LazyInit; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ImportType` [INFO] [stdout] --> tests/sys_module.rs:42:17 [INFO] [stdout] | [INFO] [stdout] 42 | ImportType::new( [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 | use wasmer_near::ImportType; [INFO] [stdout] | [INFO] [stdout] 3 | use wasmer_types::ImportType; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `NativeFunc` in this scope [INFO] [stdout] --> tests/sys_export.rs:288:36 [INFO] [stdout] | [INFO] [stdout] 288 | call_host_fn: LazyInit>, [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 | use wasmer_near::NativeFunc; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ExternType` [INFO] [stdout] --> tests/sys_module.rs:45:21 [INFO] [stdout] | [INFO] [stdout] 45 | 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] 3 | use wasmer_near::ExternType; [INFO] [stdout] | [INFO] [stdout] 3 | 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/sys_module.rs:45:42 [INFO] [stdout] | [INFO] [stdout] 45 | 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] 3 | use wasmer_near::FunctionType; [INFO] [stdout] | [INFO] [stdout] 3 | use wasmer_types::FunctionType; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `NativeFunc` in this scope [INFO] [stdout] --> tests/sys_export.rs:308:16 [INFO] [stdout] | [INFO] [stdout] 308 | let f: NativeFunc<(), ()> = { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 | use wasmer_near::NativeFunc; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ImportType` [INFO] [stdout] --> tests/sys_module.rs:47:17 [INFO] [stdout] | [INFO] [stdout] 47 | ImportType::new( [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 | use wasmer_near::ImportType; [INFO] [stdout] | [INFO] [stdout] 3 | use wasmer_types::ImportType; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Store` [INFO] [stdout] --> tests/sys_export.rs:309:25 [INFO] [stdout] | [INFO] [stdout] 309 | let store = Store::default(); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 | use wasmer_near::Store; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Module` [INFO] [stdout] --> tests/sys_export.rs:310:26 [INFO] [stdout] | [INFO] [stdout] 310 | let module = Module::new(&store, FUNCTION_WAT)?; [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 | use wasmer_near::Module; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ExternType` [INFO] [stdout] --> tests/sys_module.rs:50:21 [INFO] [stdout] | [INFO] [stdout] 50 | 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] 3 | use wasmer_near::ExternType; [INFO] [stdout] | [INFO] [stdout] 3 | use wasmer_types::ExternType; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Instance` [INFO] [stdout] --> tests/sys_export.rs:313:28 [INFO] [stdout] | [INFO] [stdout] 313 | let instance = Instance::new( [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 | use wasmer_near::Instance; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MemoryType` [INFO] [stdout] --> tests/sys_module.rs:50:40 [INFO] [stdout] | [INFO] [stdout] 50 | 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] 3 | use wasmer_near::MemoryType; [INFO] [stdout] | [INFO] [stdout] 3 | use wasmer_types::MemoryType; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `NativeFunc` in this scope [INFO] [stdout] --> tests/sys_export.rs:323:31 [INFO] [stdout] | [INFO] [stdout] 323 | let function: NativeFunc<(), ()> = [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 | use wasmer_near::NativeFunc; [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/sys_module.rs:50:56 [INFO] [stdout] | [INFO] [stdout] 50 | 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] 3 | use wasmer_near::Pages; [INFO] [stdout] | [INFO] [stdout] 3 | use wasmer_types::Pages; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `NativeFunc` in this scope [INFO] [stdout] --> tests/sys_export.rs:331:20 [INFO] [stdout] | [INFO] [stdout] 331 | let f: NativeFunc<(), ()> = instance.exports.get_native_function("call_host_fn")?; [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 | use wasmer_near::NativeFunc; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ImportType` [INFO] [stdout] --> tests/sys_module.rs:52:17 [INFO] [stdout] | [INFO] [stdout] 52 | ImportType::new( [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 | use wasmer_near::ImportType; [INFO] [stdout] | [INFO] [stdout] 3 | 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/sys_module.rs:55:21 [INFO] [stdout] | [INFO] [stdout] 55 | 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] 3 | use wasmer_near::ExternType; [INFO] [stdout] | [INFO] [stdout] 3 | 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/sys_module.rs:55:39 [INFO] [stdout] | [INFO] [stdout] 55 | 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] 3 | use wasmer_near::TableType; [INFO] [stdout] | [INFO] [stdout] 3 | 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/sys_module.rs:57:17 [INFO] [stdout] | [INFO] [stdout] 57 | ImportType::new( [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 | use wasmer_near::ImportType; [INFO] [stdout] | [INFO] [stdout] 3 | 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/sys_module.rs:60:21 [INFO] [stdout] | [INFO] [stdout] 60 | 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] 3 | use wasmer_near::ExternType; [INFO] [stdout] | [INFO] [stdout] 3 | 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/sys_module.rs:60:40 [INFO] [stdout] | [INFO] [stdout] 60 | 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] 3 | use wasmer_near::GlobalType; [INFO] [stdout] | [INFO] [stdout] 3 | use wasmer_types::GlobalType; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ImportType` [INFO] [stdout] --> tests/sys_module.rs:68:18 [INFO] [stdout] | [INFO] [stdout] 68 | 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] 3 | use wasmer_near::ImportType; [INFO] [stdout] | [INFO] [stdout] 3 | 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/sys_module.rs:71:17 [INFO] [stdout] | [INFO] [stdout] 71 | 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] 3 | use wasmer_near::FunctionType; [INFO] [stdout] | [INFO] [stdout] 3 | 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/sys_module.rs:76:18 [INFO] [stdout] | [INFO] [stdout] 76 | 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] 3 | use wasmer_near::ImportType; [INFO] [stdout] | [INFO] [stdout] 3 | 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/sys_module.rs:79:17 [INFO] [stdout] | [INFO] [stdout] 79 | 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] 3 | use wasmer_near::MemoryType; [INFO] [stdout] | [INFO] [stdout] 3 | 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/sys_module.rs:79:33 [INFO] [stdout] | [INFO] [stdout] 79 | 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] 3 | use wasmer_near::Pages; [INFO] [stdout] | [INFO] [stdout] 3 | 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/sys_module.rs:84:18 [INFO] [stdout] | [INFO] [stdout] 84 | 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] 3 | use wasmer_near::ImportType; [INFO] [stdout] | [INFO] [stdout] 3 | 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/sys_module.rs:87:17 [INFO] [stdout] | [INFO] [stdout] 87 | 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] 3 | use wasmer_near::TableType; [INFO] [stdout] | [INFO] [stdout] 3 | 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/sys_module.rs:92:18 [INFO] [stdout] | [INFO] [stdout] 92 | 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] 3 | use wasmer_near::ImportType; [INFO] [stdout] | [INFO] [stdout] 3 | 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/sys_module.rs:95:17 [INFO] [stdout] | [INFO] [stdout] 95 | 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] 3 | use wasmer_near::GlobalType; [INFO] [stdout] | [INFO] [stdout] 3 | 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/sys_module.rs:103:21 [INFO] [stdout] | [INFO] [stdout] 103 | let store = Store::default(); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 | use wasmer_near::Store; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Module` [INFO] [stdout] --> tests/sys_module.rs:110:22 [INFO] [stdout] | [INFO] [stdout] 110 | 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] 3 | use wasmer_near::Module; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ExportType` [INFO] [stdout] --> tests/sys_module.rs:114:17 [INFO] [stdout] | [INFO] [stdout] 114 | ExportType::new( [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 | use wasmer_near::ExportType; [INFO] [stdout] | [INFO] [stdout] 3 | 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/sys_module.rs:116:21 [INFO] [stdout] | [INFO] [stdout] 116 | 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] 3 | use wasmer_near::ExternType; [INFO] [stdout] | [INFO] [stdout] 3 | 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/sys_module.rs:116:42 [INFO] [stdout] | [INFO] [stdout] 116 | 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] 3 | use wasmer_near::FunctionType; [INFO] [stdout] | [INFO] [stdout] 3 | 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/sys_module.rs:118:17 [INFO] [stdout] | [INFO] [stdout] 118 | ExportType::new( [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 | use wasmer_near::ExportType; [INFO] [stdout] | [INFO] [stdout] 3 | 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/sys_module.rs:120:21 [INFO] [stdout] | [INFO] [stdout] 120 | 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] 3 | use wasmer_near::ExternType; [INFO] [stdout] | [INFO] [stdout] 3 | 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/sys_module.rs:120:40 [INFO] [stdout] | [INFO] [stdout] 120 | 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] 3 | use wasmer_near::MemoryType; [INFO] [stdout] | [INFO] [stdout] 3 | 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/sys_module.rs:120:56 [INFO] [stdout] | [INFO] [stdout] 120 | 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] 3 | use wasmer_near::Pages; [INFO] [stdout] | [INFO] [stdout] 3 | 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/sys_module.rs:122:17 [INFO] [stdout] | [INFO] [stdout] 122 | ExportType::new( [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 | use wasmer_near::ExportType; [INFO] [stdout] | [INFO] [stdout] 3 | 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/sys_module.rs:124:21 [INFO] [stdout] | [INFO] [stdout] 124 | 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] 3 | use wasmer_near::ExternType; [INFO] [stdout] | [INFO] [stdout] 3 | 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/sys_module.rs:124:39 [INFO] [stdout] | [INFO] [stdout] 124 | 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] 3 | use wasmer_near::TableType; [INFO] [stdout] | [INFO] [stdout] 3 | 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/sys_module.rs:126:17 [INFO] [stdout] | [INFO] [stdout] 126 | ExportType::new( [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 | use wasmer_near::ExportType; [INFO] [stdout] | [INFO] [stdout] 3 | use wasmer_types::ExportType; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 59 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0405, E0412, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0405`. [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ExternType` [INFO] [stdout] --> tests/sys_module.rs:128:21 [INFO] [stdout] | [INFO] [stdout] 128 | 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] 3 | use wasmer_near::ExternType; [INFO] [stdout] | [INFO] [stdout] 3 | 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/sys_module.rs:128:40 [INFO] [stdout] | [INFO] [stdout] 128 | 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] 3 | use wasmer_near::GlobalType; [INFO] [stdout] | [INFO] [stdout] 3 | 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/sys_module.rs:136:18 [INFO] [stdout] | [INFO] [stdout] 136 | 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] 3 | use wasmer_near::ExportType; [INFO] [stdout] | [INFO] [stdout] 3 | use wasmer_types::ExportType; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `FunctionType` [INFO] [stdout] --> tests/sys_module.rs:136:42 [INFO] [stdout] | [INFO] [stdout] 136 | 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] 3 | use wasmer_near::FunctionType; [INFO] [stdout] | [INFO] [stdout] 3 | 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/sys_module.rs:140:18 [INFO] [stdout] | [INFO] [stdout] 140 | 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] 3 | use wasmer_near::ExportType; [INFO] [stdout] | [INFO] [stdout] 3 | 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/sys_module.rs:142:17 [INFO] [stdout] | [INFO] [stdout] 142 | 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] 3 | use wasmer_near::MemoryType; [INFO] [stdout] | [INFO] [stdout] 3 | 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/sys_module.rs:142:33 [INFO] [stdout] | [INFO] [stdout] 142 | 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] 3 | use wasmer_near::Pages; [INFO] [stdout] | [INFO] [stdout] 3 | 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/sys_module.rs:147:18 [INFO] [stdout] | [INFO] [stdout] 147 | 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] 3 | use wasmer_near::ExportType; [INFO] [stdout] | [INFO] [stdout] 3 | use wasmer_types::ExportType; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TableType` [INFO] [stdout] --> tests/sys_module.rs:149:17 [INFO] [stdout] | [INFO] [stdout] 149 | 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] 3 | use wasmer_near::TableType; [INFO] [stdout] | [INFO] [stdout] 3 | 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/sys_module.rs:154:18 [INFO] [stdout] | [INFO] [stdout] 154 | 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] 3 | use wasmer_near::ExportType; [INFO] [stdout] | [INFO] [stdout] 3 | use wasmer_types::ExportType; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `GlobalType` [INFO] [stdout] --> tests/sys_module.rs:156:17 [INFO] [stdout] | [INFO] [stdout] 156 | 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] 3 | use wasmer_near::GlobalType; [INFO] [stdout] | [INFO] [stdout] 3 | 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/sys_module.rs:164:21 [INFO] [stdout] | [INFO] [stdout] 164 | let store = Store::default(); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 | use wasmer_near::Store; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Module` [INFO] [stdout] --> tests/sys_module.rs:192:22 [INFO] [stdout] | [INFO] [stdout] 192 | 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] 3 | use wasmer_near::Module; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Instance` [INFO] [stdout] --> tests/sys_module.rs:229:24 [INFO] [stdout] | [INFO] [stdout] 229 | 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] 3 | use wasmer_near::Instance; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `NativeFunc` in this scope [INFO] [stdout] --> tests/sys_module.rs:231:17 [INFO] [stdout] | [INFO] [stdout] 231 | 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] 3 | use wasmer_near::NativeFunc; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `NativeFunc` in this scope [INFO] [stdout] --> tests/sys_module.rs:232:17 [INFO] [stdout] | [INFO] [stdout] 232 | 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] 3 | use wasmer_near::NativeFunc; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Type` [INFO] [stdout] --> tests/sys_externals.rs:272:44 [INFO] [stdout] | [INFO] [stdout] 272 | 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[E0412]: cannot find type `NativeFunc` in this scope [INFO] [stdout] --> tests/sys_module.rs:233:17 [INFO] [stdout] | [INFO] [stdout] 233 | 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] 3 | use wasmer_near::NativeFunc; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Type` [INFO] [stdout] --> tests/sys_externals.rs:272:55 [INFO] [stdout] | [INFO] [stdout] 272 | 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[E0412]: cannot find type `NativeFunc` in this scope [INFO] [stdout] --> tests/sys_module.rs:234:17 [INFO] [stdout] | [INFO] [stdout] 234 | 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] 3 | use wasmer_near::NativeFunc; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Type` [INFO] [stdout] --> tests/sys_externals.rs:272:66 [INFO] [stdout] | [INFO] [stdout] 272 | 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/sys_externals.rs:272:77 [INFO] [stdout] | [INFO] [stdout] 272 | 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[E0412]: cannot find type `NativeFunc` in this scope [INFO] [stdout] --> tests/sys_module.rs:235:17 [INFO] [stdout] | [INFO] [stdout] 235 | 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] 3 | use wasmer_near::NativeFunc; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `NativeFunc` in this scope [INFO] [stdout] --> tests/sys_module.rs:236:17 [INFO] [stdout] | [INFO] [stdout] 236 | 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] 3 | use wasmer_near::NativeFunc; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `NativeFunc` in this scope [INFO] [stdout] --> tests/sys_module.rs:237:17 [INFO] [stdout] | [INFO] [stdout] 237 | 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] 3 | use wasmer_near::NativeFunc; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `NativeFunc` in this scope [INFO] [stdout] --> tests/sys_module.rs:238:17 [INFO] [stdout] | [INFO] [stdout] 238 | 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] 3 | use wasmer_near::NativeFunc; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Type` [INFO] [stdout] --> tests/sys_externals.rs:277:31 [INFO] [stdout] | [INFO] [stdout] 277 | 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/sys_externals.rs:277:45 [INFO] [stdout] | [INFO] [stdout] 277 | 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/sys_externals.rs:277:56 [INFO] [stdout] | [INFO] [stdout] 277 | 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/sys_externals.rs:277:67 [INFO] [stdout] | [INFO] [stdout] 277 | 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/sys_externals.rs:279:45 [INFO] [stdout] | [INFO] [stdout] 279 | 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/sys_externals.rs:280:46 [INFO] [stdout] | [INFO] [stdout] 280 | 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/sys_externals.rs:280:57 [INFO] [stdout] | [INFO] [stdout] 280 | 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/sys_externals.rs:280:68 [INFO] [stdout] | [INFO] [stdout] 280 | assert_eq!(function.ty().results(), [Type::I32, Type::F32, Type::F64]); [INFO] [stdout] | ^^^^ use of undeclared type `Type` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `wasmer-near` due to 60 previous errors [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Type` [INFO] [stdout] --> tests/sys_externals.rs:301:52 [INFO] [stdout] | [INFO] [stdout] 301 | let function_type = FunctionType::new(vec![Type::I32], vec![]); [INFO] [stdout] | ^^^^ use of undeclared type `Type` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Type` [INFO] [stdout] --> tests/sys_externals.rs:310:36 [INFO] [stdout] | [INFO] [stdout] 310 | 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/sys_externals.rs:310:47 [INFO] [stdout] | [INFO] [stdout] 310 | 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/sys_externals.rs:310:58 [INFO] [stdout] | [INFO] [stdout] 310 | 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/sys_externals.rs:310:69 [INFO] [stdout] | [INFO] [stdout] 310 | 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/sys_externals.rs:318:60 [INFO] [stdout] | [INFO] [stdout] 318 | 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/sys_externals.rs:327:44 [INFO] [stdout] | [INFO] [stdout] 327 | 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/sys_externals.rs:327:55 [INFO] [stdout] | [INFO] [stdout] 327 | 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/sys_externals.rs:327:66 [INFO] [stdout] | [INFO] [stdout] 327 | 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/sys_externals.rs:327:77 [INFO] [stdout] | [INFO] [stdout] 327 | 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/sys_externals.rs:337:31 [INFO] [stdout] | [INFO] [stdout] 337 | 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/sys_externals.rs:337:45 [INFO] [stdout] | [INFO] [stdout] 337 | 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/sys_externals.rs:337:56 [INFO] [stdout] | [INFO] [stdout] 337 | 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/sys_externals.rs:337:67 [INFO] [stdout] | [INFO] [stdout] 337 | 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/sys_externals.rs:344:45 [INFO] [stdout] | [INFO] [stdout] 344 | 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/sys_externals.rs:345:46 [INFO] [stdout] | [INFO] [stdout] 345 | 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/sys_externals.rs:345:57 [INFO] [stdout] | [INFO] [stdout] 345 | 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/sys_externals.rs:345:68 [INFO] [stdout] | [INFO] [stdout] 345 | 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: 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[E0433]: failed to resolve: use of undeclared type `Store` [INFO] [stdout] --> tests/sys_externals.rs:8:21 [INFO] [stdout] | [INFO] [stdout] 8 | let store = Store::default(); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 | use wasmer_near::Store; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Global` [INFO] [stdout] --> tests/sys_externals.rs:9:22 [INFO] [stdout] | [INFO] [stdout] 9 | 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] 3 | use std::alloc::Global; [INFO] [stdout] | [INFO] [stdout] 3 | use wasmer_near::Global; [INFO] [stdout] | [INFO] [stdout] 3 | 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/sys_externals.rs:9:42 [INFO] [stdout] | [INFO] [stdout] 9 | 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] 3 | use wasmer_near::Value; [INFO] [stdout] | [INFO] [stdout] 3 | 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/sys_externals.rs:12:13 [INFO] [stdout] | [INFO] [stdout] 12 | GlobalType { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 | use wasmer_near::GlobalType; [INFO] [stdout] | [INFO] [stdout] 3 | 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/sys_externals.rs:18:26 [INFO] [stdout] | [INFO] [stdout] 18 | 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] 3 | use std::alloc::Global; [INFO] [stdout] | [INFO] [stdout] 3 | use wasmer_near::Global; [INFO] [stdout] | [INFO] [stdout] 3 | 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/sys_externals.rs:18:50 [INFO] [stdout] | [INFO] [stdout] 18 | 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] 3 | use wasmer_near::Value; [INFO] [stdout] | [INFO] [stdout] 3 | 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/sys_externals.rs:21:13 [INFO] [stdout] | [INFO] [stdout] 21 | GlobalType { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 | use wasmer_near::GlobalType; [INFO] [stdout] | [INFO] [stdout] 3 | 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/sys_externals.rs:32:21 [INFO] [stdout] | [INFO] [stdout] 32 | let store = Store::default(); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 | use wasmer_near::Store; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Global` [INFO] [stdout] --> tests/sys_externals.rs:33:26 [INFO] [stdout] | [INFO] [stdout] 33 | 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] 3 | use std::alloc::Global; [INFO] [stdout] | [INFO] [stdout] 3 | use wasmer_near::Global; [INFO] [stdout] | [INFO] [stdout] 3 | 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/sys_externals.rs:33:46 [INFO] [stdout] | [INFO] [stdout] 33 | 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] 3 | use wasmer_near::Value; [INFO] [stdout] | [INFO] [stdout] 3 | 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/sys_externals.rs:34:38 [INFO] [stdout] | [INFO] [stdout] 34 | 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] 3 | use wasmer_near::Value; [INFO] [stdout] | [INFO] [stdout] 3 | 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/sys_externals.rs:35:26 [INFO] [stdout] | [INFO] [stdout] 35 | 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] 3 | use std::alloc::Global; [INFO] [stdout] | [INFO] [stdout] 3 | use wasmer_near::Global; [INFO] [stdout] | [INFO] [stdout] 3 | 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/sys_externals.rs:35:46 [INFO] [stdout] | [INFO] [stdout] 35 | 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] 3 | use wasmer_near::Value; [INFO] [stdout] | [INFO] [stdout] 3 | 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/sys_externals.rs:36:38 [INFO] [stdout] | [INFO] [stdout] 36 | 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] 3 | use wasmer_near::Value; [INFO] [stdout] | [INFO] [stdout] 3 | 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/sys_externals.rs:37:26 [INFO] [stdout] | [INFO] [stdout] 37 | 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] 3 | use std::alloc::Global; [INFO] [stdout] | [INFO] [stdout] 3 | use wasmer_near::Global; [INFO] [stdout] | [INFO] [stdout] 3 | 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/sys_externals.rs:37:46 [INFO] [stdout] | [INFO] [stdout] 37 | 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] 3 | use wasmer_near::Value; [INFO] [stdout] | [INFO] [stdout] 3 | 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/sys_externals.rs:38:38 [INFO] [stdout] | [INFO] [stdout] 38 | 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] 3 | use wasmer_near::Value; [INFO] [stdout] | [INFO] [stdout] 3 | 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/sys_externals.rs:39:26 [INFO] [stdout] | [INFO] [stdout] 39 | 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] 3 | use std::alloc::Global; [INFO] [stdout] | [INFO] [stdout] 3 | use wasmer_near::Global; [INFO] [stdout] | [INFO] [stdout] 3 | 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/sys_externals.rs:39:46 [INFO] [stdout] | [INFO] [stdout] 39 | 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] 3 | use wasmer_near::Value; [INFO] [stdout] | [INFO] [stdout] 3 | 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/sys_externals.rs:40:38 [INFO] [stdout] | [INFO] [stdout] 40 | 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] 3 | use wasmer_near::Value; [INFO] [stdout] | [INFO] [stdout] 3 | 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/sys_externals.rs:47:21 [INFO] [stdout] | [INFO] [stdout] 47 | let store = Store::default(); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 | use wasmer_near::Store; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Global` [INFO] [stdout] --> tests/sys_externals.rs:48:26 [INFO] [stdout] | [INFO] [stdout] 48 | 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] 3 | use std::alloc::Global; [INFO] [stdout] | [INFO] [stdout] 3 | use wasmer_near::Global; [INFO] [stdout] | [INFO] [stdout] 3 | 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/sys_externals.rs:48:46 [INFO] [stdout] | [INFO] [stdout] 48 | 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] 3 | use wasmer_near::Value; [INFO] [stdout] | [INFO] [stdout] 3 | 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/sys_externals.rs:50:32 [INFO] [stdout] | [INFO] [stdout] 50 | 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] 3 | use wasmer_near::Value; [INFO] [stdout] | [INFO] [stdout] 3 | 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/sys_externals.rs:52:30 [INFO] [stdout] | [INFO] [stdout] 52 | 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] 3 | use std::alloc::Global; [INFO] [stdout] | [INFO] [stdout] 3 | use wasmer_near::Global; [INFO] [stdout] | [INFO] [stdout] 3 | 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/sys_externals.rs:52:54 [INFO] [stdout] | [INFO] [stdout] 52 | 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] 3 | use wasmer_near::Value; [INFO] [stdout] | [INFO] [stdout] 3 | 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/sys_externals.rs:54:36 [INFO] [stdout] | [INFO] [stdout] 54 | 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] 3 | use wasmer_near::Value; [INFO] [stdout] | [INFO] [stdout] 3 | 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/sys_externals.rs:57:28 [INFO] [stdout] | [INFO] [stdout] 57 | 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] 3 | use wasmer_near::Value; [INFO] [stdout] | [INFO] [stdout] 3 | 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/sys_externals.rs:58:42 [INFO] [stdout] | [INFO] [stdout] 58 | 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] 3 | use wasmer_near::Value; [INFO] [stdout] | [INFO] [stdout] 3 | 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/sys_externals.rs:65:21 [INFO] [stdout] | [INFO] [stdout] 65 | let store = Store::default(); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 | use wasmer_near::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/sys_externals.rs:66:26 [INFO] [stdout] | [INFO] [stdout] 66 | 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] 3 | use wasmer_near::TableType; [INFO] [stdout] | [INFO] [stdout] 3 | 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/sys_externals.rs:71:17 [INFO] [stdout] | [INFO] [stdout] 71 | 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] 3 | use wasmer_near::Function; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Table` [INFO] [stdout] --> tests/sys_externals.rs:72:21 [INFO] [stdout] | [INFO] [stdout] 72 | let table = Table::new(&store, table_type, Value::FuncRef(Some(f)))?; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 | use wasmer_near::Table; [INFO] [stdout] | [INFO] [stdout] 3 | use wasmer_near::vm::Table; [INFO] [stdout] | [INFO] [stdout] 3 | 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/sys_externals.rs:72:52 [INFO] [stdout] | [INFO] [stdout] 72 | let table = Table::new(&store, table_type, Value::FuncRef(Some(f)))?; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 | use wasmer_near::Value; [INFO] [stdout] | [INFO] [stdout] 3 | 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/sys_externals.rs:90:21 [INFO] [stdout] | [INFO] [stdout] 90 | let store = Store::default(); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 | use wasmer_near::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/sys_externals.rs:91:26 [INFO] [stdout] | [INFO] [stdout] 91 | 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] 3 | use wasmer_near::TableType; [INFO] [stdout] | [INFO] [stdout] 3 | 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/sys_externals.rs:96:17 [INFO] [stdout] | [INFO] [stdout] 96 | 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] 3 | use wasmer_near::Function; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Table` [INFO] [stdout] --> tests/sys_externals.rs:97:21 [INFO] [stdout] | [INFO] [stdout] 97 | let table = Table::new(&store, table_type, Value::FuncRef(Some(f.clone())))?; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 | use wasmer_near::Table; [INFO] [stdout] | [INFO] [stdout] 3 | use wasmer_near::vm::Table; [INFO] [stdout] | [INFO] [stdout] 3 | 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/sys_externals.rs:97:52 [INFO] [stdout] | [INFO] [stdout] 97 | let table = Table::new(&store, table_type, Value::FuncRef(Some(f.clone())))?; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 | use wasmer_near::Value; [INFO] [stdout] | [INFO] [stdout] 3 | 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/sys_externals.rs:113:21 [INFO] [stdout] | [INFO] [stdout] 113 | let store = Store::default(); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 | use wasmer_near::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/sys_externals.rs:114:26 [INFO] [stdout] | [INFO] [stdout] 114 | 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] 3 | use wasmer_near::TableType; [INFO] [stdout] | [INFO] [stdout] 3 | 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/sys_externals.rs:119:17 [INFO] [stdout] | [INFO] [stdout] 119 | 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] 3 | use wasmer_near::Function; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Table` [INFO] [stdout] --> tests/sys_externals.rs:120:21 [INFO] [stdout] | [INFO] [stdout] 120 | let table = Table::new(&store, table_type, Value::FuncRef(Some(f.clone())))?; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 | use wasmer_near::Table; [INFO] [stdout] | [INFO] [stdout] 3 | use wasmer_near::vm::Table; [INFO] [stdout] | [INFO] [stdout] 3 | 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/sys_externals.rs:120:52 [INFO] [stdout] | [INFO] [stdout] 120 | let table = Table::new(&store, table_type, Value::FuncRef(Some(f.clone())))?; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 | use wasmer_near::Value; [INFO] [stdout] | [INFO] [stdout] 3 | 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/sys_externals.rs:122:38 [INFO] [stdout] | [INFO] [stdout] 122 | let old_len = table.grow(12, Value::FuncRef(Some(f.clone()))); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 | use wasmer_near::Value; [INFO] [stdout] | [INFO] [stdout] 3 | 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/sys_externals.rs:126:37 [INFO] [stdout] | [INFO] [stdout] 126 | let old_len = table.grow(5, Value::FuncRef(Some(f.clone())))?; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 | use wasmer_near::Value; [INFO] [stdout] | [INFO] [stdout] 3 | 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/sys_externals.rs:141:21 [INFO] [stdout] | [INFO] [stdout] 141 | let store = Store::default(); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 | use wasmer_near::Store; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `MemoryType` in this scope [INFO] [stdout] --> tests/sys_externals.rs:142:27 [INFO] [stdout] | [INFO] [stdout] 142 | 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] 3 | use wasmer_near::MemoryType; [INFO] [stdout] | [INFO] [stdout] 3 | 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/sys_externals.rs:144:22 [INFO] [stdout] | [INFO] [stdout] 144 | 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] 3 | use wasmer_near::Pages; [INFO] [stdout] | [INFO] [stdout] 3 | 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/sys_externals.rs:145:27 [INFO] [stdout] | [INFO] [stdout] 145 | 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] 3 | use wasmer_near::Pages; [INFO] [stdout] | [INFO] [stdout] 3 | 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/sys_externals.rs:147:22 [INFO] [stdout] | [INFO] [stdout] 147 | 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] 3 | use wasmer_near::Memory; [INFO] [stdout] | [INFO] [stdout] 3 | use wasmer_near::vm::Memory; [INFO] [stdout] | [INFO] [stdout] 3 | 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/sys_externals.rs:148:35 [INFO] [stdout] | [INFO] [stdout] 148 | 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] 3 | use wasmer_near::Pages; [INFO] [stdout] | [INFO] [stdout] 3 | use wasmer_types::Pages; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Store` [INFO] [stdout] --> tests/sys_externals.rs:155:21 [INFO] [stdout] | [INFO] [stdout] 155 | let store = Store::default(); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 | use wasmer_near::Store; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MemoryType` [INFO] [stdout] --> tests/sys_externals.rs:157:20 [INFO] [stdout] | [INFO] [stdout] 157 | 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] 3 | use wasmer_near::MemoryType; [INFO] [stdout] | [INFO] [stdout] 3 | 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/sys_externals.rs:157:36 [INFO] [stdout] | [INFO] [stdout] 157 | 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] 3 | use wasmer_near::Pages; [INFO] [stdout] | [INFO] [stdout] 3 | 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/sys_externals.rs:157:52 [INFO] [stdout] | [INFO] [stdout] 157 | 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] 3 | use wasmer_near::Pages; [INFO] [stdout] | [INFO] [stdout] 3 | 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/sys_externals.rs:158:22 [INFO] [stdout] | [INFO] [stdout] 158 | 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] 3 | use wasmer_near::Memory; [INFO] [stdout] | [INFO] [stdout] 3 | use wasmer_near::vm::Memory; [INFO] [stdout] | [INFO] [stdout] 3 | 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/sys_externals.rs:159:35 [INFO] [stdout] | [INFO] [stdout] 159 | 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] 3 | use wasmer_near::Pages; [INFO] [stdout] | [INFO] [stdout] 3 | 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/sys_externals.rs:161:34 [INFO] [stdout] | [INFO] [stdout] 161 | 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] 3 | use wasmer_near::Pages; [INFO] [stdout] | [INFO] [stdout] 3 | use wasmer_types::Pages; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 20 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Pages` in this scope [INFO] [stdout] --> tests/sys_externals.rs:162:28 [INFO] [stdout] | [INFO] [stdout] 162 | 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] 3 | use wasmer_near::Pages; [INFO] [stdout] | [INFO] [stdout] 3 | 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/sys_externals.rs:163:35 [INFO] [stdout] | [INFO] [stdout] 163 | 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] 3 | use wasmer_near::Pages; [INFO] [stdout] | [INFO] [stdout] 3 | 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/sys_externals.rs:165:34 [INFO] [stdout] | [INFO] [stdout] 165 | 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] 3 | use wasmer_near::Pages; [INFO] [stdout] | [INFO] [stdout] 3 | 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/sys_externals.rs:174:24 [INFO] [stdout] | [INFO] [stdout] 174 | 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] 3 | use wasmer_near::MemoryType; [INFO] [stdout] | [INFO] [stdout] 3 | 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/sys_externals.rs:174:40 [INFO] [stdout] | [INFO] [stdout] 174 | 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] 3 | use wasmer_near::Pages; [INFO] [stdout] | [INFO] [stdout] 3 | 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/sys_externals.rs:174:56 [INFO] [stdout] | [INFO] [stdout] 174 | 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] 3 | use wasmer_near::Pages; [INFO] [stdout] | [INFO] [stdout] 3 | 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/sys_externals.rs:175:26 [INFO] [stdout] | [INFO] [stdout] 175 | 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] 3 | use wasmer_near::Memory; [INFO] [stdout] | [INFO] [stdout] 3 | use wasmer_near::vm::Memory; [INFO] [stdout] | [INFO] [stdout] 3 | 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/sys_externals.rs:184:21 [INFO] [stdout] | [INFO] [stdout] 184 | let store = Store::default(); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 | use wasmer_near::Store; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Function` [INFO] [stdout] --> tests/sys_externals.rs:185:24 [INFO] [stdout] | [INFO] [stdout] 185 | 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] 3 | use wasmer_near::Function; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `FunctionType` [INFO] [stdout] --> tests/sys_externals.rs:186:43 [INFO] [stdout] | [INFO] [stdout] 186 | 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] 3 | use wasmer_near::FunctionType; [INFO] [stdout] | [INFO] [stdout] 3 | 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/sys_externals.rs:187:24 [INFO] [stdout] | [INFO] [stdout] 187 | 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] 3 | use wasmer_near::Function; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `FunctionType` [INFO] [stdout] --> tests/sys_externals.rs:190:13 [INFO] [stdout] | [INFO] [stdout] 190 | 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] 3 | use wasmer_near::FunctionType; [INFO] [stdout] | [INFO] [stdout] 3 | 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/sys_externals.rs:192:24 [INFO] [stdout] | [INFO] [stdout] 192 | 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] 3 | use wasmer_near::Function; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `FunctionType` [INFO] [stdout] --> tests/sys_externals.rs:195:13 [INFO] [stdout] | [INFO] [stdout] 195 | 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] 3 | use wasmer_near::FunctionType; [INFO] [stdout] | [INFO] [stdout] 3 | 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/sys_externals.rs:197:24 [INFO] [stdout] | [INFO] [stdout] 197 | 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] 3 | use wasmer_near::Function; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `FunctionType` [INFO] [stdout] --> tests/sys_externals.rs:200:13 [INFO] [stdout] | [INFO] [stdout] 200 | 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] 3 | use wasmer_near::FunctionType; [INFO] [stdout] | [INFO] [stdout] 3 | 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/sys_externals.rs:203:13 [INFO] [stdout] | [INFO] [stdout] 203 | 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] 3 | use wasmer_near::Function; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `FunctionType` [INFO] [stdout] --> tests/sys_externals.rs:206:13 [INFO] [stdout] | [INFO] [stdout] 206 | 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] 3 | use wasmer_near::FunctionType; [INFO] [stdout] | [INFO] [stdout] 3 | 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/sys_externals.rs:213:21 [INFO] [stdout] | [INFO] [stdout] 213 | let store = Store::default(); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 | use wasmer_near::Store; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Function` [INFO] [stdout] --> tests/sys_externals.rs:218:24 [INFO] [stdout] | [INFO] [stdout] 218 | 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] 3 | use wasmer_near::Function; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `FunctionType` [INFO] [stdout] --> tests/sys_externals.rs:219:43 [INFO] [stdout] | [INFO] [stdout] 219 | 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] 3 | use wasmer_near::FunctionType; [INFO] [stdout] | [INFO] [stdout] 3 | 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/sys_externals.rs:221:13 [INFO] [stdout] | [INFO] [stdout] 221 | 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] 3 | use wasmer_near::Function; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `FunctionType` [INFO] [stdout] --> tests/sys_externals.rs:224:13 [INFO] [stdout] | [INFO] [stdout] 224 | 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] 3 | use wasmer_near::FunctionType; [INFO] [stdout] | [INFO] [stdout] 3 | 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/sys_externals.rs:226:24 [INFO] [stdout] | [INFO] [stdout] 226 | 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] 3 | use wasmer_near::Function; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `FunctionType` [INFO] [stdout] --> tests/sys_externals.rs:233:13 [INFO] [stdout] | [INFO] [stdout] 233 | 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] 3 | use wasmer_near::FunctionType; [INFO] [stdout] | [INFO] [stdout] 3 | 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/sys_externals.rs:236:13 [INFO] [stdout] | [INFO] [stdout] 236 | 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] 3 | use wasmer_near::Function; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `FunctionType` [INFO] [stdout] --> tests/sys_externals.rs:239:13 [INFO] [stdout] | [INFO] [stdout] 239 | 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] 3 | use wasmer_near::FunctionType; [INFO] [stdout] | [INFO] [stdout] 3 | 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/sys_externals.rs:241:24 [INFO] [stdout] | [INFO] [stdout] 241 | 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] 3 | use wasmer_near::Function; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `FunctionType` [INFO] [stdout] --> tests/sys_externals.rs:248:13 [INFO] [stdout] | [INFO] [stdout] 248 | 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] 3 | use wasmer_near::FunctionType; [INFO] [stdout] | [INFO] [stdout] 3 | 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/sys_externals.rs:255:21 [INFO] [stdout] | [INFO] [stdout] 255 | let store = Store::default(); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 | use wasmer_near::Store; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `FunctionType` [INFO] [stdout] --> tests/sys_externals.rs:258:29 [INFO] [stdout] | [INFO] [stdout] 258 | 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] 3 | use wasmer_near::FunctionType; [INFO] [stdout] | [INFO] [stdout] 3 | 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/sys_externals.rs:259:24 [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] 3 | use wasmer_near::Function; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Value` in this scope [INFO] [stdout] --> tests/sys_externals.rs:259:74 [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] 3 | use wasmer_near::Value; [INFO] [stdout] | [INFO] [stdout] 3 | 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/sys_externals.rs:261:29 [INFO] [stdout] | [INFO] [stdout] 261 | 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] 3 | use wasmer_near::FunctionType; [INFO] [stdout] | [INFO] [stdout] 3 | 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/sys_externals.rs:262:24 [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] 3 | use wasmer_near::Function; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Value` in this scope [INFO] [stdout] --> tests/sys_externals.rs:262:74 [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] 3 | use wasmer_near::Value; [INFO] [stdout] | [INFO] [stdout] 3 | 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/sys_externals.rs:265:13 [INFO] [stdout] | [INFO] [stdout] 265 | 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] 3 | use wasmer_near::FunctionType; [INFO] [stdout] | [INFO] [stdout] 3 | 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/sys_externals.rs:266:24 [INFO] [stdout] | [INFO] [stdout] 266 | 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] 3 | use wasmer_near::Function; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Value` in this scope [INFO] [stdout] --> tests/sys_externals.rs:266:74 [INFO] [stdout] | [INFO] [stdout] 266 | 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] 3 | use wasmer_near::Value; [INFO] [stdout] | [INFO] [stdout] 3 | 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/sys_externals.rs:268:29 [INFO] [stdout] | [INFO] [stdout] 268 | 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] 3 | use wasmer_near::FunctionType; [INFO] [stdout] | [INFO] [stdout] 3 | 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/sys_externals.rs:269:24 [INFO] [stdout] | [INFO] [stdout] 269 | 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] 3 | use wasmer_near::Function; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Value` in this scope [INFO] [stdout] --> tests/sys_externals.rs:269:74 [INFO] [stdout] | [INFO] [stdout] 269 | 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] 3 | use wasmer_near::Value; [INFO] [stdout] | [INFO] [stdout] 3 | 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/sys_externals.rs:272:13 [INFO] [stdout] | [INFO] [stdout] 272 | 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] 3 | use wasmer_near::FunctionType; [INFO] [stdout] | [INFO] [stdout] 3 | 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/sys_externals.rs:273:24 [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] 3 | use wasmer_near::Function; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Value` in this scope [INFO] [stdout] --> tests/sys_externals.rs:273:74 [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] 3 | use wasmer_near::Value; [INFO] [stdout] | [INFO] [stdout] 3 | 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/sys_externals.rs:278:24 [INFO] [stdout] | [INFO] [stdout] 278 | 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] 3 | use wasmer_near::Function; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Value` in this scope [INFO] [stdout] --> tests/sys_externals.rs:278:73 [INFO] [stdout] | [INFO] [stdout] 278 | 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] 3 | use wasmer_near::Value; [INFO] [stdout] | [INFO] [stdout] 3 | 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/sys_externals.rs:287:21 [INFO] [stdout] | [INFO] [stdout] 287 | let store = Store::default(); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 | use wasmer_near::Store; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `FunctionType` [INFO] [stdout] --> tests/sys_externals.rs:293:29 [INFO] [stdout] | [INFO] [stdout] 293 | 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] 3 | use wasmer_near::FunctionType; [INFO] [stdout] | [INFO] [stdout] 3 | 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/sys_externals.rs:294:24 [INFO] [stdout] | [INFO] [stdout] 294 | 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] 3 | use wasmer_near::Function; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Value` in this scope [INFO] [stdout] --> tests/sys_externals.rs:298:39 [INFO] [stdout] | [INFO] [stdout] 298 | |_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] 3 | use wasmer_near::Value; [INFO] [stdout] | [INFO] [stdout] 3 | 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/sys_externals.rs:301:29 [INFO] [stdout] | [INFO] [stdout] 301 | 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] 3 | use wasmer_near::FunctionType; [INFO] [stdout] | [INFO] [stdout] 3 | 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/sys_externals.rs:302:24 [INFO] [stdout] | [INFO] [stdout] 302 | 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] 3 | use wasmer_near::Function; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Value` in this scope [INFO] [stdout] --> tests/sys_externals.rs:306:39 [INFO] [stdout] | [INFO] [stdout] 306 | |_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] 3 | use wasmer_near::Value; [INFO] [stdout] | [INFO] [stdout] 3 | 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/sys_externals.rs:310:13 [INFO] [stdout] | [INFO] [stdout] 310 | 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] 3 | use wasmer_near::FunctionType; [INFO] [stdout] | [INFO] [stdout] 3 | 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/sys_externals.rs:311:24 [INFO] [stdout] | [INFO] [stdout] 311 | 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] 3 | use wasmer_near::Function; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Value` in this scope [INFO] [stdout] --> tests/sys_externals.rs:315:39 [INFO] [stdout] | [INFO] [stdout] 315 | |_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] 3 | use wasmer_near::Value; [INFO] [stdout] | [INFO] [stdout] 3 | 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/sys_externals.rs:318:29 [INFO] [stdout] | [INFO] [stdout] 318 | 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] 3 | use wasmer_near::FunctionType; [INFO] [stdout] | [INFO] [stdout] 3 | 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/sys_externals.rs:319:24 [INFO] [stdout] | [INFO] [stdout] 319 | 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] 3 | use wasmer_near::Function; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Value` in this scope [INFO] [stdout] --> tests/sys_externals.rs:323:39 [INFO] [stdout] | [INFO] [stdout] 323 | |_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] 3 | use wasmer_near::Value; [INFO] [stdout] | [INFO] [stdout] 3 | 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/sys_externals.rs:327:13 [INFO] [stdout] | [INFO] [stdout] 327 | 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] 3 | use wasmer_near::FunctionType; [INFO] [stdout] | [INFO] [stdout] 3 | 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/sys_externals.rs:328:24 [INFO] [stdout] | [INFO] [stdout] 328 | 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] 3 | use wasmer_near::Function; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Value` in this scope [INFO] [stdout] --> tests/sys_externals.rs:332:39 [INFO] [stdout] | [INFO] [stdout] 332 | |_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] 3 | use wasmer_near::Value; [INFO] [stdout] | [INFO] [stdout] 3 | 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/sys_externals.rs:338:24 [INFO] [stdout] | [INFO] [stdout] 338 | 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] 3 | use wasmer_near::Function; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Value` in this scope [INFO] [stdout] --> tests/sys_externals.rs:342:39 [INFO] [stdout] | [INFO] [stdout] 342 | |_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] 3 | use wasmer_near::Value; [INFO] [stdout] | [INFO] [stdout] 3 | 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/sys_externals.rs:352:21 [INFO] [stdout] | [INFO] [stdout] 352 | let store = Store::default(); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 | use wasmer_near::Store; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Function` [INFO] [stdout] --> tests/sys_externals.rs:353:24 [INFO] [stdout] | [INFO] [stdout] 353 | 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] 3 | use wasmer_near::Function; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `NativeFunc` in this scope [INFO] [stdout] --> tests/sys_externals.rs:354:30 [INFO] [stdout] | [INFO] [stdout] 354 | 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] 3 | use wasmer_near::NativeFunc; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Function` [INFO] [stdout] --> tests/sys_externals.rs:358:24 [INFO] [stdout] | [INFO] [stdout] 358 | 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] 3 | use wasmer_near::Function; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `NativeFunc` in this scope [INFO] [stdout] --> tests/sys_externals.rs:359:30 [INFO] [stdout] | [INFO] [stdout] 359 | 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] 3 | use wasmer_near::NativeFunc; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Function` [INFO] [stdout] --> tests/sys_externals.rs:365:24 [INFO] [stdout] | [INFO] [stdout] 365 | 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] 3 | use wasmer_near::Function; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `NativeFunc` in this scope [INFO] [stdout] --> tests/sys_externals.rs:366:30 [INFO] [stdout] | [INFO] [stdout] 366 | 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] 3 | use wasmer_near::NativeFunc; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Function` [INFO] [stdout] --> tests/sys_externals.rs:369:24 [INFO] [stdout] | [INFO] [stdout] 369 | 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] 3 | use wasmer_near::Function; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `NativeFunc` in this scope [INFO] [stdout] --> tests/sys_externals.rs:370:30 [INFO] [stdout] | [INFO] [stdout] 370 | 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] 3 | use wasmer_near::NativeFunc; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Function` [INFO] [stdout] --> tests/sys_externals.rs:373:24 [INFO] [stdout] | [INFO] [stdout] 373 | 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] 3 | use wasmer_near::Function; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `NativeFunc` in this scope [INFO] [stdout] --> tests/sys_externals.rs:374:30 [INFO] [stdout] | [INFO] [stdout] 374 | 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] 3 | use wasmer_near::NativeFunc; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Function` [INFO] [stdout] --> tests/sys_externals.rs:378:13 [INFO] [stdout] | [INFO] [stdout] 378 | 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] 3 | use wasmer_near::Function; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `NativeFunc` in this scope [INFO] [stdout] --> tests/sys_externals.rs:379:30 [INFO] [stdout] | [INFO] [stdout] 379 | 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] 3 | use wasmer_near::NativeFunc; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Store` [INFO] [stdout] --> tests/sys_externals.rs:387:21 [INFO] [stdout] | [INFO] [stdout] 387 | let store = Store::default(); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 | use wasmer_near::Store; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Module` [INFO] [stdout] --> tests/sys_externals.rs:398:26 [INFO] [stdout] | [INFO] [stdout] 398 | 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] 3 | use wasmer_near::Module; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Instance` [INFO] [stdout] --> tests/sys_externals.rs:399:28 [INFO] [stdout] | [INFO] [stdout] 399 | 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] 3 | use wasmer_near::Instance; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `NativeFunc` in this scope [INFO] [stdout] --> tests/sys_externals.rs:400:20 [INFO] [stdout] | [INFO] [stdout] 400 | 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] 3 | use wasmer_near::NativeFunc; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Store` [INFO] [stdout] --> tests/sys_externals.rs:413:21 [INFO] [stdout] | [INFO] [stdout] 413 | let store = Store::default(); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 | use wasmer_near::Store; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Module` [INFO] [stdout] --> tests/sys_externals.rs:425:26 [INFO] [stdout] | [INFO] [stdout] 425 | 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] 3 | use wasmer_near::Module; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Instance` [INFO] [stdout] --> tests/sys_externals.rs:426:28 [INFO] [stdout] | [INFO] [stdout] 426 | 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] 3 | use wasmer_near::Instance; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `NativeFunc` in this scope [INFO] [stdout] --> tests/sys_externals.rs:427:20 [INFO] [stdout] | [INFO] [stdout] 427 | let f: NativeFunc<(i32, i32), i32> = instance.exports.get_with_generics_weak("sum")?; [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 | use wasmer_near::NativeFunc; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Store` [INFO] [stdout] --> tests/sys_externals.rs:440:21 [INFO] [stdout] | [INFO] [stdout] 440 | let store = Store::default(); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 | use wasmer_near::Store; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LazyInit` in this scope [INFO] [stdout] --> tests/sys_externals.rs:444:21 [INFO] [stdout] | [INFO] [stdout] 444 | memory: LazyInit, [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 | use wasmer_near::LazyInit; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Memory` in this scope [INFO] [stdout] --> tests/sys_externals.rs:444:30 [INFO] [stdout] | [INFO] [stdout] 444 | memory: LazyInit, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 | use wasmer_near::Memory; [INFO] [stdout] | [INFO] [stdout] 3 | use wasmer_near::vm::Memory; [INFO] [stdout] | [INFO] [stdout] 3 | 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/sys_externals.rs:453:21 [INFO] [stdout] | [INFO] [stdout] 453 | memory: LazyInit::new(), [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 | use wasmer_near::LazyInit; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Memory` [INFO] [stdout] --> tests/sys_externals.rs:459:22 [INFO] [stdout] | [INFO] [stdout] 459 | 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] 3 | use wasmer_near::Memory; [INFO] [stdout] | [INFO] [stdout] 3 | use wasmer_near::vm::Memory; [INFO] [stdout] | [INFO] [stdout] 3 | 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/sys_externals.rs:459:42 [INFO] [stdout] | [INFO] [stdout] 459 | 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] 3 | use wasmer_near::MemoryType; [INFO] [stdout] | [INFO] [stdout] 3 | use wasmer_types::MemoryType; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 26 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 222 previous errors [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] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "102c39aa3de8643e50ef6d432ea38dce9a7a3724c07676826c7c2f4e6bc8efd9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "102c39aa3de8643e50ef6d432ea38dce9a7a3724c07676826c7c2f4e6bc8efd9", kill_on_drop: false }` [INFO] [stdout] 102c39aa3de8643e50ef6d432ea38dce9a7a3724c07676826c7c2f4e6bc8efd9