[INFO] cloning repository https://github.com/enigmampc/cosmwasm [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/enigmampc/cosmwasm" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fenigmampc%2Fcosmwasm", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fenigmampc%2Fcosmwasm'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] a5f143d7e2e3d9a023e7dcc170ead700d4ce1af9 [INFO] testing enigmampc/cosmwasm against beta-2022-04-10 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fenigmampc%2Fcosmwasm" "/workspace/builds/worker-13/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-13/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/enigmampc/cosmwasm on toolchain beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/enigmampc/cosmwasm [INFO] finished tweaking git repo https://github.com/enigmampc/cosmwasm [INFO] tweaked toml for git repo https://github.com/enigmampc/cosmwasm written to /workspace/builds/worker-13/source/Cargo.toml [INFO] crate git repo https://github.com/enigmampc/cosmwasm already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1432e6ab8b9cacaf6495d6a2d0f68db6069ba544a05c9ea42a141a905913d5db [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "1432e6ab8b9cacaf6495d6a2d0f68db6069ba544a05c9ea42a141a905913d5db", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1432e6ab8b9cacaf6495d6a2d0f68db6069ba544a05c9ea42a141a905913d5db", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1432e6ab8b9cacaf6495d6a2d0f68db6069ba544a05c9ea42a141a905913d5db", kill_on_drop: false }` [INFO] [stdout] 1432e6ab8b9cacaf6495d6a2d0f68db6069ba544a05c9ea42a141a905913d5db [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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=warn" "-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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 66285fa7363bae70e64613d0ca3a5a49b32e9bfbc13ca13a85f664435afcfc1a [INFO] running `Command { std: "docker" "start" "-a" "66285fa7363bae70e64613d0ca3a5a49b32e9bfbc13ca13a85f664435afcfc1a", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.38 [INFO] [stderr] Compiling libc v0.2.74 [INFO] [stderr] Compiling serde_derive v1.0.115 [INFO] [stderr] Compiling serde v1.0.115 [INFO] [stderr] Compiling serde_json v1.0.57 [INFO] [stderr] Compiling cbindgen v0.13.2 [INFO] [stderr] Compiling schemars v0.7.6 [INFO] [stderr] Compiling sgx_types v1.1.2 (https://github.com/apache/teaclave-sgx-sdk.git?rev=v1.1.2#8f065be7) [INFO] [stderr] Compiling parity-wasm v0.41.0 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling sha2 v0.9.1 [INFO] [stderr] Compiling getrandom v0.1.14 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling memmap v0.7.0 [INFO] [stderr] Compiling sgx_urts v1.1.2 (https://github.com/apache/teaclave-sgx-sdk.git?rev=v1.1.2#8f065be7) [INFO] [stderr] Compiling clap v2.33.2 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling tempfile v3.1.0 [INFO] [stderr] Compiling serde_derive_internals v0.25.0 [INFO] [stderr] Compiling thiserror-impl v1.0.20 [INFO] [stderr] Compiling schemars_derive v0.7.6 [INFO] [stderr] Compiling snafu-derive v0.6.8 [INFO] [stderr] Compiling derive_more v0.99.9 [INFO] [stderr] Compiling thiserror v1.0.20 [INFO] [stderr] Compiling snafu v0.6.8 [INFO] [stderr] Compiling toml v0.5.6 [INFO] [stderr] Compiling serde-json-wasm v0.2.1 [INFO] [stderr] Compiling cosmwasm-std v0.10.0 (/opt/rustwide/workdir/packages/std) [INFO] [stderr] Compiling cosmwasm-schema v0.10.0 (/opt/rustwide/workdir/packages/schema) [INFO] [stderr] Compiling cosmwasm-storage v0.10.0 (/opt/rustwide/workdir/packages/storage) [INFO] [stderr] Compiling enclave-ffi-types v0.1.0 (/opt/rustwide/workdir/packages/enclave-ffi-types) [INFO] [stderr] Compiling cosmwasm-sgx-vm v0.10.0 (/opt/rustwide/workdir/packages/sgx-vm) [INFO] [stdout] warning: field is never read: `hits_module` [INFO] [stdout] --> packages/sgx-vm/src/cache.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | hits_module: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `Stats` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> packages/sgx-vm/src/cache.rs:24:10 [INFO] [stdout] | [INFO] [stdout] 24 | #[derive(Debug, Default, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `signature` [INFO] [stdout] --> packages/sgx-vm/src/wasmi/results.rs:20:12 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn signature(&self) -> &[u8; 64] { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `signature` [INFO] [stdout] --> packages/sgx-vm/src/wasmi/results.rs:40:5 [INFO] [stdout] | [INFO] [stdout] 40 | signature: [u8; 64], [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `signature` [INFO] [stdout] --> packages/sgx-vm/src/wasmi/results.rs:48:12 [INFO] [stdout] | [INFO] [stdout] 48 | pub fn signature(&self) -> &[u8; 64] { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `signature` [INFO] [stdout] --> packages/sgx-vm/src/wasmi/results.rs:68:5 [INFO] [stdout] | [INFO] [stdout] 68 | signature: [u8; 64], [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `signature` [INFO] [stdout] --> packages/sgx-vm/src/wasmi/results.rs:76:12 [INFO] [stdout] | [INFO] [stdout] 76 | pub fn signature(&self) -> &[u8; 64] { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1m 53s [INFO] running `Command { std: "docker" "inspect" "66285fa7363bae70e64613d0ca3a5a49b32e9bfbc13ca13a85f664435afcfc1a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "66285fa7363bae70e64613d0ca3a5a49b32e9bfbc13ca13a85f664435afcfc1a", kill_on_drop: false }` [INFO] [stdout] 66285fa7363bae70e64613d0ca3a5a49b32e9bfbc13ca13a85f664435afcfc1a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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=warn" "-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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f2f98866b713753c20c0a1d6541fc341b931f018ba28da4dbd8b980c36a8332b [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "f2f98866b713753c20c0a1d6541fc341b931f018ba28da4dbd8b980c36a8332b", kill_on_drop: false }` [INFO] [stderr] Compiling cmake v0.1.44 [INFO] [stderr] Compiling cosmwasm-schema v0.10.0 (/opt/rustwide/workdir/packages/schema) [INFO] [stderr] Compiling cosmwasm-storage v0.10.0 (/opt/rustwide/workdir/packages/storage) [INFO] [stderr] Compiling cosmwasm-std v0.10.0 (/opt/rustwide/workdir/packages/std) [INFO] [stderr] Compiling enclave-ffi-types v0.1.0 (/opt/rustwide/workdir/packages/enclave-ffi-types) [INFO] [stdout] warning: field is never read: `hits_module` [INFO] [stdout] --> packages/sgx-vm/src/cache.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | hits_module: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `Stats` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> packages/sgx-vm/src/cache.rs:24:10 [INFO] [stdout] | [INFO] [stdout] 24 | #[derive(Debug, Default, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `signature` [INFO] [stdout] --> packages/sgx-vm/src/wasmi/results.rs:20:12 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn signature(&self) -> &[u8; 64] { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `signature` [INFO] [stdout] --> packages/sgx-vm/src/wasmi/results.rs:40:5 [INFO] [stdout] | [INFO] [stdout] 40 | signature: [u8; 64], [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `signature` [INFO] [stdout] --> packages/sgx-vm/src/wasmi/results.rs:48:12 [INFO] [stdout] | [INFO] [stdout] 48 | pub fn signature(&self) -> &[u8; 64] { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `signature` [INFO] [stdout] --> packages/sgx-vm/src/wasmi/results.rs:68:5 [INFO] [stdout] | [INFO] [stdout] 68 | signature: [u8; 64], [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `signature` [INFO] [stdout] --> packages/sgx-vm/src/wasmi/results.rs:76:12 [INFO] [stdout] | [INFO] [stdout] 76 | pub fn signature(&self) -> &[u8; 64] { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling wabt-sys v0.6.1 [INFO] [stderr] Compiling wabt v0.9.1 [INFO] [stderr] Compiling cosmwasm-sgx-vm v0.10.0 (/opt/rustwide/workdir/packages/sgx-vm) [INFO] [stdout] error[E0432]: unresolved imports `crate::backends::compile`, `crate::backends::decrease_gas_left`, `crate::backends::set_gas_left` [INFO] [stdout] --> packages/sgx-vm/src/context.rs:396:27 [INFO] [stdout] | [INFO] [stdout] 396 | use crate::backends::{compile, decrease_gas_left, set_gas_left}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] | | | | [INFO] [stdout] | | | no `set_gas_left` in `backends` [INFO] [stdout] | | | help: a similar name exists in the module: `get_gas_left` [INFO] [stdout] | | no `decrease_gas_left` in `backends` [INFO] [stdout] | no `compile` in `backends` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::context::is_storage_readonly` [INFO] [stdout] --> packages/sgx-vm/src/instance.rs:359:9 [INFO] [stdout] | [INFO] [stdout] 359 | use crate::context::is_storage_readonly; [INFO] [stdout] | ^^^^^^^^^^^^^^^^------------------- [INFO] [stdout] | | | [INFO] [stdout] | | help: a similar name exists in the module: `set_storage_readonly` [INFO] [stdout] | no `is_storage_readonly` in `context` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `esgx` in the crate root [INFO] [stdout] --> packages/sgx-vm/src/attestation.rs:179:16 [INFO] [stdout] | [INFO] [stdout] 179 | use crate::esgx::general::init_enclave_wrapper; [INFO] [stdout] | ^^^^ could not find `esgx` in the crate root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::attestation::retry_quote` [INFO] [stdout] --> packages/sgx-vm/src/attestation.rs:178:9 [INFO] [stdout] | [INFO] [stdout] 178 | use crate::attestation::retry_quote; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no `retry_quote` in `attestation` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `wasmer_runtime_core` [INFO] [stdout] --> packages/sgx-vm/src/context.rs:405:9 [INFO] [stdout] | [INFO] [stdout] 405 | use wasmer_runtime_core::{imports, typed_func::Func}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ use of undeclared crate or module `wasmer_runtime_core` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `wasmer_runtime_core` [INFO] [stdout] --> packages/sgx-vm/src/context.rs:405:9 [INFO] [stdout] | [INFO] [stdout] 405 | use wasmer_runtime_core::{imports, typed_func::Func}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ use of undeclared crate or module `wasmer_runtime_core` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::instance::init_enclave` [INFO] [stdout] --> packages/sgx-vm/src/attestation.rs:180:9 [INFO] [stdout] | [INFO] [stdout] 180 | use crate::instance::init_enclave as init_enclave_wrapper; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^------------^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | | [INFO] [stdout] | | help: a similar name exists in the module: `get_enclave` [INFO] [stdout] | no `init_enclave` in `instance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `imports` [INFO] [stdout] --> packages/sgx-vm/src/context.rs:427:26 [INFO] [stdout] | [INFO] [stdout] 427 | let import_obj = imports! { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `CommunicationError` [INFO] [stdout] --> packages/sgx-vm/src/instance.rs:545:21 [INFO] [stdout] | [INFO] [stdout] 545 | CommunicationError::RegionLengthTooBig { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ use of undeclared type `CommunicationError` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `WasmerInstance` in this scope [INFO] [stdout] --> packages/sgx-vm/src/context.rs:424:31 [INFO] [stdout] | [INFO] [stdout] 424 | fn make_instance() -> Box { [INFO] [stdout] | - ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | | [INFO] [stdout] | help: you might be missing a type parameter: `` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `NonNull` [INFO] [stdout] --> packages/sgx-vm/src/context.rs:442:28 [INFO] [stdout] | [INFO] [stdout] 442 | let instance_ptr = NonNull::from(instance.as_ref()); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 395 | use core::ptr::NonNull; [INFO] [stdout] | [INFO] [stdout] 395 | use std::ptr::NonNull; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `set_wasmer_instance` in this scope [INFO] [stdout] --> packages/sgx-vm/src/context.rs:443:9 [INFO] [stdout] | [INFO] [stdout] 443 | set_wasmer_instance::(instance.context_mut(), Some(instance_ptr)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `is_storage_readonly` in this scope [INFO] [stdout] --> packages/sgx-vm/src/context.rs:542:20 [INFO] [stdout] | [INFO] [stdout] 293 | pub fn set_storage_readonly(ctx: &mut Ctx, new_value: bool) { [INFO] [stdout] | ----------------------------------------------------------------------------------- similarly named function `set_storage_readonly` defined here [INFO] [stdout] ... [INFO] [stdout] 542 | assert_eq!(is_storage_readonly::(ctx), true); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: a function with a similar name exists: `set_storage_readonly` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `is_storage_readonly` in this scope [INFO] [stdout] --> packages/sgx-vm/src/context.rs:553:20 [INFO] [stdout] | [INFO] [stdout] 293 | pub fn set_storage_readonly(ctx: &mut Ctx, new_value: bool) { [INFO] [stdout] | ----------------------------------------------------------------------------------- similarly named function `set_storage_readonly` defined here [INFO] [stdout] ... [INFO] [stdout] 553 | assert_eq!(is_storage_readonly::(ctx), false); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: a function with a similar name exists: `set_storage_readonly` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `is_storage_readonly` in this scope [INFO] [stdout] --> packages/sgx-vm/src/context.rs:557:20 [INFO] [stdout] | [INFO] [stdout] 293 | pub fn set_storage_readonly(ctx: &mut Ctx, new_value: bool) { [INFO] [stdout] | ----------------------------------------------------------------------------------- similarly named function `set_storage_readonly` defined here [INFO] [stdout] ... [INFO] [stdout] 557 | assert_eq!(is_storage_readonly::(ctx), false); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: a function with a similar name exists: `set_storage_readonly` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `is_storage_readonly` in this scope [INFO] [stdout] --> packages/sgx-vm/src/context.rs:561:20 [INFO] [stdout] | [INFO] [stdout] 293 | pub fn set_storage_readonly(ctx: &mut Ctx, new_value: bool) { [INFO] [stdout] | ----------------------------------------------------------------------------------- similarly named function `set_storage_readonly` defined here [INFO] [stdout] ... [INFO] [stdout] 561 | assert_eq!(is_storage_readonly::(ctx), true); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: a function with a similar name exists: `set_storage_readonly` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `with_func_from_context` in this scope [INFO] [stdout] --> packages/sgx-vm/src/context.rs:593:19 [INFO] [stdout] | [INFO] [stdout] 593 | let ptr = with_func_from_context::(ctx, "allocate", |alloc_func| { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `set_wasmer_instance` in this scope [INFO] [stdout] --> packages/sgx-vm/src/context.rs:607:9 [INFO] [stdout] | [INFO] [stdout] 607 | set_wasmer_instance::(instance.context_mut(), None); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `with_func_from_context` in this scope [INFO] [stdout] --> packages/sgx-vm/src/context.rs:610:19 [INFO] [stdout] | [INFO] [stdout] 588 | fn with_func_from_context_works() { [INFO] [stdout] | --------------------------------- similarly named constant `with_func_from_context_works` defined here [INFO] [stdout] ... [INFO] [stdout] 610 | let res = with_func_from_context::(ctx, "allocate", |_func| { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: a constant with a similar name exists: `with_func_from_context_works` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `with_func_from_context` in this scope [INFO] [stdout] --> packages/sgx-vm/src/context.rs:625:19 [INFO] [stdout] | [INFO] [stdout] 588 | fn with_func_from_context_works() { [INFO] [stdout] | --------------------------------- similarly named constant `with_func_from_context_works` defined here [INFO] [stdout] ... [INFO] [stdout] 625 | let res = with_func_from_context::(ctx, "doesnt_exist", |_func| { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: a constant with a similar name exists: `with_func_from_context_works` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `to_u32` in this scope [INFO] [stdout] --> packages/sgx-vm/src/conversion.rs:34:20 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn to_i32 + Display + Copy>(input: T) -> VmResult { [INFO] [stdout] | -------------------------------------------------------------------------- similarly named function `to_i32` defined here [INFO] [stdout] ... [INFO] [stdout] 34 | assert_eq!(to_u32(0usize).unwrap(), 0); [INFO] [stdout] | ^^^^^^ help: a function with a similar name exists: `to_i32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `to_u32` in this scope [INFO] [stdout] --> packages/sgx-vm/src/conversion.rs:35:20 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn to_i32 + Display + Copy>(input: T) -> VmResult { [INFO] [stdout] | -------------------------------------------------------------------------- similarly named function `to_i32` defined here [INFO] [stdout] ... [INFO] [stdout] 35 | assert_eq!(to_u32(1usize).unwrap(), 1); [INFO] [stdout] | ^^^^^^ help: a function with a similar name exists: `to_i32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `to_u32` in this scope [INFO] [stdout] --> packages/sgx-vm/src/conversion.rs:36:20 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn to_i32 + Display + Copy>(input: T) -> VmResult { [INFO] [stdout] | -------------------------------------------------------------------------- similarly named function `to_i32` defined here [INFO] [stdout] ... [INFO] [stdout] 36 | assert_eq!(to_u32(2147483647usize).unwrap(), 2147483647); [INFO] [stdout] | ^^^^^^ help: a function with a similar name exists: `to_i32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `to_u32` in this scope [INFO] [stdout] --> packages/sgx-vm/src/conversion.rs:37:20 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn to_i32 + Display + Copy>(input: T) -> VmResult { [INFO] [stdout] | -------------------------------------------------------------------------- similarly named function `to_i32` defined here [INFO] [stdout] ... [INFO] [stdout] 37 | assert_eq!(to_u32(2147483648usize).unwrap(), 2147483648); [INFO] [stdout] | ^^^^^^ help: a function with a similar name exists: `to_i32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `to_u32` in this scope [INFO] [stdout] --> packages/sgx-vm/src/conversion.rs:38:20 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn to_i32 + Display + Copy>(input: T) -> VmResult { [INFO] [stdout] | -------------------------------------------------------------------------- similarly named function `to_i32` defined here [INFO] [stdout] ... [INFO] [stdout] 38 | assert_eq!(to_u32(4294967295usize).unwrap(), 4294967295); [INFO] [stdout] | ^^^^^^ help: a function with a similar name exists: `to_i32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `to_u32` in this scope [INFO] [stdout] --> packages/sgx-vm/src/conversion.rs:40:15 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn to_i32 + Display + Copy>(input: T) -> VmResult { [INFO] [stdout] | -------------------------------------------------------------------------- similarly named function `to_i32` defined here [INFO] [stdout] ... [INFO] [stdout] 40 | match to_u32(4294967296usize) { [INFO] [stdout] | ^^^^^^ help: a function with a similar name exists: `to_i32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `to_u32` in this scope [INFO] [stdout] --> packages/sgx-vm/src/conversion.rs:58:20 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn to_i32 + Display + Copy>(input: T) -> VmResult { [INFO] [stdout] | -------------------------------------------------------------------------- similarly named function `to_i32` defined here [INFO] [stdout] ... [INFO] [stdout] 58 | assert_eq!(to_u32(0u64).unwrap(), 0); [INFO] [stdout] | ^^^^^^ help: a function with a similar name exists: `to_i32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `to_u32` in this scope [INFO] [stdout] --> packages/sgx-vm/src/conversion.rs:59:20 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn to_i32 + Display + Copy>(input: T) -> VmResult { [INFO] [stdout] | -------------------------------------------------------------------------- similarly named function `to_i32` defined here [INFO] [stdout] ... [INFO] [stdout] 59 | assert_eq!(to_u32(1u64).unwrap(), 1); [INFO] [stdout] | ^^^^^^ help: a function with a similar name exists: `to_i32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `to_u32` in this scope [INFO] [stdout] --> packages/sgx-vm/src/conversion.rs:60:20 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn to_i32 + Display + Copy>(input: T) -> VmResult { [INFO] [stdout] | -------------------------------------------------------------------------- similarly named function `to_i32` defined here [INFO] [stdout] ... [INFO] [stdout] 60 | assert_eq!(to_u32(2147483647u64).unwrap(), 2147483647); [INFO] [stdout] | ^^^^^^ help: a function with a similar name exists: `to_i32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `to_u32` in this scope [INFO] [stdout] --> packages/sgx-vm/src/conversion.rs:61:20 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn to_i32 + Display + Copy>(input: T) -> VmResult { [INFO] [stdout] | -------------------------------------------------------------------------- similarly named function `to_i32` defined here [INFO] [stdout] ... [INFO] [stdout] 61 | assert_eq!(to_u32(2147483648u64).unwrap(), 2147483648); [INFO] [stdout] | ^^^^^^ help: a function with a similar name exists: `to_i32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `to_u32` in this scope [INFO] [stdout] --> packages/sgx-vm/src/conversion.rs:62:20 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn to_i32 + Display + Copy>(input: T) -> VmResult { [INFO] [stdout] | -------------------------------------------------------------------------- similarly named function `to_i32` defined here [INFO] [stdout] ... [INFO] [stdout] 62 | assert_eq!(to_u32(4294967295u64).unwrap(), 4294967295); [INFO] [stdout] | ^^^^^^ help: a function with a similar name exists: `to_i32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `to_u32` in this scope [INFO] [stdout] --> packages/sgx-vm/src/conversion.rs:64:15 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn to_i32 + Display + Copy>(input: T) -> VmResult { [INFO] [stdout] | -------------------------------------------------------------------------- similarly named function `to_i32` defined here [INFO] [stdout] ... [INFO] [stdout] 64 | match to_u32(4294967296u64) { [INFO] [stdout] | ^^^^^^ help: a function with a similar name exists: `to_i32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `to_u32` in this scope [INFO] [stdout] --> packages/sgx-vm/src/conversion.rs:82:20 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn to_i32 + Display + Copy>(input: T) -> VmResult { [INFO] [stdout] | -------------------------------------------------------------------------- similarly named function `to_i32` defined here [INFO] [stdout] ... [INFO] [stdout] 82 | assert_eq!(to_u32(0i32).unwrap(), 0); [INFO] [stdout] | ^^^^^^ help: a function with a similar name exists: `to_i32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `to_u32` in this scope [INFO] [stdout] --> packages/sgx-vm/src/conversion.rs:83:20 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn to_i32 + Display + Copy>(input: T) -> VmResult { [INFO] [stdout] | -------------------------------------------------------------------------- similarly named function `to_i32` defined here [INFO] [stdout] ... [INFO] [stdout] 83 | assert_eq!(to_u32(1i32).unwrap(), 1); [INFO] [stdout] | ^^^^^^ help: a function with a similar name exists: `to_i32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `to_u32` in this scope [INFO] [stdout] --> packages/sgx-vm/src/conversion.rs:84:20 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn to_i32 + Display + Copy>(input: T) -> VmResult { [INFO] [stdout] | -------------------------------------------------------------------------- similarly named function `to_i32` defined here [INFO] [stdout] ... [INFO] [stdout] 84 | assert_eq!(to_u32(2147483647i32).unwrap(), 2147483647); [INFO] [stdout] | ^^^^^^ help: a function with a similar name exists: `to_i32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `to_u32` in this scope [INFO] [stdout] --> packages/sgx-vm/src/conversion.rs:86:15 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn to_i32 + Display + Copy>(input: T) -> VmResult { [INFO] [stdout] | -------------------------------------------------------------------------- similarly named function `to_i32` defined here [INFO] [stdout] ... [INFO] [stdout] 86 | match to_u32(-1i32) { [INFO] [stdout] | ^^^^^^ help: a function with a similar name exists: `to_i32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WASM_PAGE_SIZE` in this scope [INFO] [stdout] --> packages/sgx-vm/src/instance.rs:562:53 [INFO] [stdout] | [INFO] [stdout] 562 | assert_eq!(instance.get_memory_size(), 17 * WASM_PAGE_SIZE); [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WASM_PAGE_SIZE` in this scope [INFO] [stdout] --> packages/sgx-vm/src/instance.rs:567:53 [INFO] [stdout] | [INFO] [stdout] 567 | assert_eq!(instance.get_memory_size(), 19 * WASM_PAGE_SIZE); [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WASM_PAGE_SIZE` in this scope [INFO] [stdout] --> packages/sgx-vm/src/instance.rs:571:53 [INFO] [stdout] | [INFO] [stdout] 571 | assert_eq!(instance.get_memory_size(), 19 * WASM_PAGE_SIZE); [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `mock_instance_with_gas_limit` [INFO] [stdout] --> packages/sgx-vm/src/instance.rs:363:41 [INFO] [stdout] | [INFO] [stdout] 363 | mock_instance_with_failing_api, mock_instance_with_gas_limit, MockQuerier, MockStorage, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `coins` [INFO] [stdout] --> packages/sgx-vm/src/instance.rs:368:15 [INFO] [stdout] | [INFO] [stdout] 368 | coin, coins, from_binary, AllBalanceResponse, BalanceResponse, BankQuery, Empty, HumanAddr, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `required_features` on type `instance::Instance` [INFO] [stdout] --> packages/sgx-vm/src/instance.rs:387:29 [INFO] [stdout] | [INFO] [stdout] 387 | assert_eq!(instance.required_features.len(), 0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `inner`, `api`, `type_storage`, `type_querier` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `required_features` on type `instance::Instance` [INFO] [stdout] --> packages/sgx-vm/src/instance.rs:408:29 [INFO] [stdout] | [INFO] [stdout] 408 | assert_eq!(instance.required_features.len(), 3); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `inner`, `api`, `type_storage`, `type_querier` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `required_features` on type `instance::Instance` [INFO] [stdout] --> packages/sgx-vm/src/instance.rs:409:26 [INFO] [stdout] | [INFO] [stdout] 409 | assert!(instance.required_features.contains("nutrients")); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `inner`, `api`, `type_storage`, `type_querier` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `required_features` on type `instance::Instance` [INFO] [stdout] --> packages/sgx-vm/src/instance.rs:410:26 [INFO] [stdout] | [INFO] [stdout] 410 | assert!(instance.required_features.contains("sun")); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `inner`, `api`, `type_storage`, `type_querier` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `required_features` on type `instance::Instance` [INFO] [stdout] --> packages/sgx-vm/src/instance.rs:411:26 [INFO] [stdout] | [INFO] [stdout] 411 | assert!(instance.required_features.contains("water")); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `inner`, `api`, `type_storage`, `type_querier` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `func` found for struct `instance::Instance` in the current scope [INFO] [stdout] --> packages/sgx-vm/src/instance.rs:433:24 [INFO] [stdout] | [INFO] [stdout] 60 | pub struct Instance { [INFO] [stdout] | --------------------------------------------------------------------------------- method `func` not found for this [INFO] [stdout] ... [INFO] [stdout] 433 | match instance.func::<(), ()>(missing_function).err().unwrap() { [INFO] [stdout] | ^^^^ method not found in `instance::Instance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `func` found for struct `instance::Instance` in the current scope [INFO] [stdout] --> packages/sgx-vm/src/instance.rs:445:24 [INFO] [stdout] | [INFO] [stdout] 60 | pub struct Instance { [INFO] [stdout] | --------------------------------------------------------------------------------- method `func` not found for this [INFO] [stdout] ... [INFO] [stdout] 445 | match instance.func::<(), ()>("allocate").err().unwrap() { [INFO] [stdout] | ^^^^ method not found in `instance::Instance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `allocate` found for struct `instance::Instance` in the current scope [INFO] [stdout] --> packages/sgx-vm/src/instance.rs:471:39 [INFO] [stdout] | [INFO] [stdout] 60 | pub struct Instance { [INFO] [stdout] | --------------------------------------------------------------------------------- method `allocate` not found for this [INFO] [stdout] ... [INFO] [stdout] 471 | let region_ptr = instance.allocate(size).expect("error allocating"); [INFO] [stdout] | ^^^^^^^^ method not found in `instance::Instance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `deallocate` found for struct `instance::Instance` in the current scope [INFO] [stdout] --> packages/sgx-vm/src/instance.rs:472:22 [INFO] [stdout] | [INFO] [stdout] 60 | pub struct Instance { [INFO] [stdout] | --------------------------------------------------------------------------------- method `deallocate` not found for this [INFO] [stdout] ... [INFO] [stdout] 472 | instance.deallocate(region_ptr).expect("error deallocating"); [INFO] [stdout] | ^^^^^^^^^^ method not found in `instance::Instance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `allocate` found for struct `instance::Instance` in the current scope [INFO] [stdout] --> packages/sgx-vm/src/instance.rs:494:39 [INFO] [stdout] | [INFO] [stdout] 60 | pub struct Instance { [INFO] [stdout] | --------------------------------------------------------------------------------- method `allocate` not found for this [INFO] [stdout] ... [INFO] [stdout] 494 | let region_ptr = instance.allocate(size).expect("error allocating"); [INFO] [stdout] | ^^^^^^^^ method not found in `instance::Instance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `write_memory` found for struct `instance::Instance` in the current scope [INFO] [stdout] --> packages/sgx-vm/src/instance.rs:497:18 [INFO] [stdout] | [INFO] [stdout] 60 | pub struct Instance { [INFO] [stdout] | --------------------------------------------------------------------------------- method `write_memory` not found for this [INFO] [stdout] ... [INFO] [stdout] 497 | .write_memory(region_ptr, &original) [INFO] [stdout] | ^^^^^^^^^^^^ method not found in `instance::Instance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `read_memory` found for struct `instance::Instance` in the current scope [INFO] [stdout] --> packages/sgx-vm/src/instance.rs:500:18 [INFO] [stdout] | [INFO] [stdout] 60 | pub struct Instance { [INFO] [stdout] | --------------------------------------------------------------------------------- method `read_memory` not found for this [INFO] [stdout] ... [INFO] [stdout] 500 | .read_memory(region_ptr, size) [INFO] [stdout] | ^^^^^^^^^^^ method not found in `instance::Instance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `deallocate` found for struct `instance::Instance` in the current scope [INFO] [stdout] --> packages/sgx-vm/src/instance.rs:503:22 [INFO] [stdout] | [INFO] [stdout] 60 | pub struct Instance { [INFO] [stdout] | --------------------------------------------------------------------------------- method `deallocate` not found for this [INFO] [stdout] ... [INFO] [stdout] 503 | instance.deallocate(region_ptr).expect("error deallocating"); [INFO] [stdout] | ^^^^^^^^^^ method not found in `instance::Instance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `allocate` found for struct `instance::Instance` in the current scope [INFO] [stdout] --> packages/sgx-vm/src/instance.rs:535:35 [INFO] [stdout] | [INFO] [stdout] 60 | pub struct Instance { [INFO] [stdout] | --------------------------------------------------------------------------------- method `allocate` not found for this [INFO] [stdout] ... [INFO] [stdout] 535 | let region_ptr = instance.allocate(length).expect("error allocating"); [INFO] [stdout] | ^^^^^^^^ method not found in `instance::Instance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `write_memory` found for struct `instance::Instance` in the current scope [INFO] [stdout] --> packages/sgx-vm/src/instance.rs:538:14 [INFO] [stdout] | [INFO] [stdout] 60 | pub struct Instance { [INFO] [stdout] | --------------------------------------------------------------------------------- method `write_memory` not found for this [INFO] [stdout] ... [INFO] [stdout] 538 | .write_memory(region_ptr, &data) [INFO] [stdout] | ^^^^^^^^^^^^ method not found in `instance::Instance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `read_memory` found for struct `instance::Instance` in the current scope [INFO] [stdout] --> packages/sgx-vm/src/instance.rs:541:31 [INFO] [stdout] | [INFO] [stdout] 60 | pub struct Instance { [INFO] [stdout] | --------------------------------------------------------------------------------- method `read_memory` not found for this [INFO] [stdout] ... [INFO] [stdout] 541 | let result = instance.read_memory(region_ptr, max_length); [INFO] [stdout] | ^^^^^^^^^^^ method not found in `instance::Instance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `deallocate` found for struct `instance::Instance` in the current scope [INFO] [stdout] --> packages/sgx-vm/src/instance.rs:555:18 [INFO] [stdout] | [INFO] [stdout] 60 | pub struct Instance { [INFO] [stdout] | --------------------------------------------------------------------------------- method `deallocate` not found for this [INFO] [stdout] ... [INFO] [stdout] 555 | instance.deallocate(region_ptr).expect("error deallocating"); [INFO] [stdout] | ^^^^^^^^^^ method not found in `instance::Instance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get_memory_size` found for struct `instance::Instance` in the current scope [INFO] [stdout] --> packages/sgx-vm/src/instance.rs:562:29 [INFO] [stdout] | [INFO] [stdout] 60 | pub struct Instance { [INFO] [stdout] | --------------------------------------------------------------------------------- method `get_memory_size` not found for this [INFO] [stdout] ... [INFO] [stdout] 562 | assert_eq!(instance.get_memory_size(), 17 * WASM_PAGE_SIZE); [INFO] [stdout] | ^^^^^^^^^^^^^^^ method not found in `instance::Instance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `allocate` found for struct `instance::Instance` in the current scope [INFO] [stdout] --> packages/sgx-vm/src/instance.rs:565:35 [INFO] [stdout] | [INFO] [stdout] 60 | pub struct Instance { [INFO] [stdout] | --------------------------------------------------------------------------------- method `allocate` not found for this [INFO] [stdout] ... [INFO] [stdout] 565 | let region_ptr = instance.allocate(100 * 1024).expect("error allocating"); [INFO] [stdout] | ^^^^^^^^ method not found in `instance::Instance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get_memory_size` found for struct `instance::Instance` in the current scope [INFO] [stdout] --> packages/sgx-vm/src/instance.rs:567:29 [INFO] [stdout] | [INFO] [stdout] 60 | pub struct Instance { [INFO] [stdout] | --------------------------------------------------------------------------------- method `get_memory_size` not found for this [INFO] [stdout] ... [INFO] [stdout] 567 | assert_eq!(instance.get_memory_size(), 19 * WASM_PAGE_SIZE); [INFO] [stdout] | ^^^^^^^^^^^^^^^ method not found in `instance::Instance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `deallocate` found for struct `instance::Instance` in the current scope [INFO] [stdout] --> packages/sgx-vm/src/instance.rs:570:18 [INFO] [stdout] | [INFO] [stdout] 60 | pub struct Instance { [INFO] [stdout] | --------------------------------------------------------------------------------- method `deallocate` not found for this [INFO] [stdout] ... [INFO] [stdout] 570 | instance.deallocate(region_ptr).expect("error deallocating"); [INFO] [stdout] | ^^^^^^^^^^ method not found in `instance::Instance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get_memory_size` found for struct `instance::Instance` in the current scope [INFO] [stdout] --> packages/sgx-vm/src/instance.rs:571:29 [INFO] [stdout] | [INFO] [stdout] 60 | pub struct Instance { [INFO] [stdout] | --------------------------------------------------------------------------------- method `get_memory_size` not found for this [INFO] [stdout] ... [INFO] [stdout] 571 | assert_eq!(instance.get_memory_size(), 19 * WASM_PAGE_SIZE); [INFO] [stdout] | ^^^^^^^^^^^^^^^ method not found in `instance::Instance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 61 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0425, E0432, E0433, E0599, E0609. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: could not compile `cosmwasm-sgx-vm` due to 62 previous errors; 2 warnings emitted [INFO] running `Command { std: "docker" "inspect" "f2f98866b713753c20c0a1d6541fc341b931f018ba28da4dbd8b980c36a8332b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f2f98866b713753c20c0a1d6541fc341b931f018ba28da4dbd8b980c36a8332b", kill_on_drop: false }` [INFO] [stdout] f2f98866b713753c20c0a1d6541fc341b931f018ba28da4dbd8b980c36a8332b