[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] checking enigmampc/cosmwasm/a5f143d7e2e3d9a023e7dcc170ead700d4ce1af9 against master#57f772f25c5ce2bd870d6f8c3ab318eaee5a3326 for pr-133502-22
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fenigmampc%2Fcosmwasm" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'...
[INFO] [stderr] done.
[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-5-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/enigmampc/cosmwasm on toolchain 57f772f25c5ce2bd870d6f8c3ab318eaee5a3326
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+57f772f25c5ce2bd870d6f8c3ab318eaee5a3326" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/enigmampc/cosmwasm already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+57f772f25c5ce2bd870d6f8c3ab318eaee5a3326" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]     Updating git repository `https://github.com/apache/teaclave-sgx-sdk.git`
[INFO] [stderr]     Updating git submodule `https://github.com/WebAssembly/testsuite`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded snafu-derive v0.6.8
[INFO] [stderr]   Downloaded snafu v0.6.8
[INFO] [stderr]   Downloaded backtrace v0.3.50
[INFO] [stderr]   Downloaded thiserror-impl v1.0.20
[INFO] [stderr]   Downloaded cmake v0.1.44
[INFO] [stderr]   Downloaded version_check v0.9.2
[INFO] [stderr]   Downloaded thiserror v1.0.20
[INFO] [stderr]   Downloaded schemars_derive v0.7.6
[INFO] [stderr]   Downloaded serde_derive_internals v0.25.0
[INFO] [stderr]   Downloaded ppv-lite86 v0.2.8
[INFO] [stderr]   Downloaded hex v0.4.2
[INFO] [stderr]   Downloaded unicode-width v0.1.8
[INFO] [stderr]   Downloaded getrandom v0.1.14
[INFO] [stderr]   Downloaded sha2 v0.9.1
[INFO] [stderr]   Downloaded wabt v0.9.1
[INFO] [stderr]   Downloaded addr2line v0.13.0
[INFO] [stderr]   Downloaded serde-json-wasm v0.2.1
[INFO] [stderr]   Downloaded redox_syscall v0.1.57
[INFO] [stderr]   Downloaded memmap v0.7.0
[INFO] [stderr]   Downloaded schemars v0.7.6
[INFO] [stderr]   Downloaded typenum v1.12.0
[INFO] [stderr]   Downloaded miniz_oxide v0.4.0
[INFO] [stderr]   Downloaded serde_derive v1.0.115
[INFO] [stderr]   Downloaded parity-wasm v0.41.0
[INFO] [stderr]   Downloaded derive_more v0.99.9
[INFO] [stderr]   Downloaded toml v0.5.6
[INFO] [stderr]   Downloaded serde v1.0.115
[INFO] [stderr]   Downloaded serde_json v1.0.57
[INFO] [stderr]   Downloaded syn v1.0.38
[INFO] [stderr]   Downloaded object v0.20.0
[INFO] [stderr]   Downloaded cbindgen v0.13.2
[INFO] [stderr]   Downloaded clap v2.33.2
[INFO] [stderr]   Downloaded libc v0.2.74
[INFO] [stderr]   Downloaded gimli v0.22.0
[INFO] [stderr]   Downloaded wabt-sys v0.6.1
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+57f772f25c5ce2bd870d6f8c3ab318eaee5a3326" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] d0d6832ef52f8c742987d21a7453ec24a29f504ee593f307e7a9c6d7022b8239
[INFO] running `Command { std: "docker" "start" "-a" "d0d6832ef52f8c742987d21a7453ec24a29f504ee593f307e7a9c6d7022b8239", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "d0d6832ef52f8c742987d21a7453ec24a29f504ee593f307e7a9c6d7022b8239", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "d0d6832ef52f8c742987d21a7453ec24a29f504ee593f307e7a9c6d7022b8239", kill_on_drop: false }`
[INFO] [stdout] d0d6832ef52f8c742987d21a7453ec24a29f504ee593f307e7a9c6d7022b8239
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/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" "RUSTDOCFLAGS=--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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+57f772f25c5ce2bd870d6f8c3ab318eaee5a3326" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] d170a9c2cb1360552b6e938543d081dc155e65fee4f2e73024cd54d9a146538a
[INFO] running `Command { std: "docker" "start" "-a" "d170a9c2cb1360552b6e938543d081dc155e65fee4f2e73024cd54d9a146538a", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.19
[INFO] [stderr]    Compiling unicode-xid v0.2.1
[INFO] [stderr]    Compiling syn v1.0.38
[INFO] [stderr]    Compiling serde_derive v1.0.115
[INFO] [stderr]    Compiling libc v0.2.74
[INFO] [stderr]    Compiling serde v1.0.115
[INFO] [stderr]    Compiling serde_json v1.0.57
[INFO] [stderr]    Compiling getrandom v0.1.14
[INFO] [stderr]    Compiling cfg-if v0.1.10
[INFO] [stderr]     Checking itoa v0.4.6
[INFO] [stderr]    Compiling schemars v0.7.6
[INFO] [stderr]    Compiling ppv-lite86 v0.2.8
[INFO] [stderr]    Compiling bitflags v1.2.1
[INFO] [stderr]    Compiling doc-comment v0.3.3
[INFO] [stderr]    Compiling log v0.4.11
[INFO] [stderr]    Compiling unicode-width v0.1.8
[INFO] [stderr]    Compiling textwrap v0.11.0
[INFO] [stderr]    Compiling ryu v1.0.5
[INFO] [stderr]    Compiling version_check v0.9.2
[INFO] [stderr]    Compiling typenum v1.12.0
[INFO] [stderr]    Compiling strsim v0.8.0
[INFO] [stderr]    Compiling vec_map v0.8.2
[INFO] [stderr]    Compiling ansi_term v0.11.0
[INFO] [stderr]    Compiling cbindgen v0.13.2
[INFO] [stderr]    Compiling remove_dir_all v0.5.3
[INFO] [stderr]     Checking base64 v0.11.0
[INFO] [stderr]    Compiling cc v1.0.58
[INFO] [stderr]     Checking cpuid-bool v0.1.2
[INFO] [stderr]    Compiling generic-array v0.14.4
[INFO] [stderr]     Checking sgx_types v1.1.2 (https://github.com/apache/teaclave-sgx-sdk.git?rev=v1.1.2#8f065be7)
[INFO] [stderr]     Checking hex v0.4.2
[INFO] [stderr]     Checking parity-wasm v0.41.0
[INFO] [stderr]     Checking base64 v0.12.3
[INFO] [stderr]    Compiling quote v1.0.7
[INFO] [stderr]    Compiling atty v0.2.14
[INFO] [stderr]    Compiling clap v2.33.2
[INFO] [stderr]    Compiling rand_core v0.5.1
[INFO] [stderr]     Checking memmap v0.7.0
[INFO] [stderr]     Checking sgx_urts v1.1.2 (https://github.com/apache/teaclave-sgx-sdk.git?rev=v1.1.2#8f065be7)
[INFO] [stderr]    Compiling rand_chacha v0.2.2
[INFO] [stderr]     Checking rand v0.7.3
[INFO] [stderr]    Compiling cmake v0.1.44
[INFO] [stderr]    Compiling wabt-sys v0.6.1
[INFO] [stderr]     Checking digest v0.9.0
[INFO] [stderr]     Checking block-buffer v0.9.0
[INFO] [stderr]     Checking sha2 v0.9.1
[INFO] [stderr]     Checking tempfile v3.1.0
[INFO] [stderr]    Compiling serde_derive_internals v0.25.0
[INFO] [stderr]    Compiling snafu-derive v0.6.8
[INFO] [stderr]    Compiling thiserror-impl v1.0.20
[INFO] [stderr]    Compiling derive_more v0.99.9
[INFO] [stderr]    Compiling schemars_derive v0.7.6
[INFO] [stderr]    Compiling thiserror v1.0.20
[INFO] [stderr]     Checking snafu v0.6.8
[INFO] [stderr]    Compiling toml v0.5.6
[INFO] [stderr]     Checking serde-json-wasm v0.2.1
[INFO] [stderr]     Checking cosmwasm-std v0.10.0 (/opt/rustwide/workdir/packages/std)
[INFO] [stderr]     Checking cosmwasm-schema v0.10.0 (/opt/rustwide/workdir/packages/schema)
[INFO] [stderr]     Checking cosmwasm-storage v0.10.0 (/opt/rustwide/workdir/packages/storage)
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> packages/storage/src/typed.rs:12:38
[INFO] [stdout]    |
[INFO] [stdout] 12 | pub fn typed<S: Storage, T>(storage: &mut S) -> TypedStorage<S, T>
[INFO] [stdout]    |                                      ^^^^^^     ^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]    |                                      |
[INFO] [stdout]    |                                      the lifetime is elided here
[INFO] [stdout]    |
[INFO] [stdout]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout]    = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]    |
[INFO] [stdout] 12 | pub fn typed<S: Storage, T>(storage: &mut S) -> TypedStorage<'_, S, T>
[INFO] [stdout]    |                                                              +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> packages/storage/src/typed.rs:19:51
[INFO] [stdout]    |
[INFO] [stdout] 19 | pub fn typed_read<S: ReadonlyStorage, T>(storage: &S) -> ReadonlyTypedStorage<S, T>
[INFO] [stdout]    |                                                   ^^     ^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]    |                                                   |
[INFO] [stdout]    |                                                   the lifetime is elided here
[INFO] [stdout]    |
[INFO] [stdout]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]    |
[INFO] [stdout] 19 | pub fn typed_read<S: ReadonlyStorage, T>(storage: &S) -> ReadonlyTypedStorage<'_, S, T>
[INFO] [stdout]    |                                                                               +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> packages/storage/src/typed.rs:12:38
[INFO] [stdout]    |
[INFO] [stdout] 12 | pub fn typed<S: Storage, T>(storage: &mut S) -> TypedStorage<S, T>
[INFO] [stdout]    |                                      ^^^^^^     ^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]    |                                      |
[INFO] [stdout]    |                                      the lifetime is elided here
[INFO] [stdout]    |
[INFO] [stdout]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout]    = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]    |
[INFO] [stdout] 12 | pub fn typed<S: Storage, T>(storage: &mut S) -> TypedStorage<'_, S, T>
[INFO] [stdout]    |                                                              +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> packages/storage/src/typed.rs:19:51
[INFO] [stdout]    |
[INFO] [stdout] 19 | pub fn typed_read<S: ReadonlyStorage, T>(storage: &S) -> ReadonlyTypedStorage<S, T>
[INFO] [stdout]    |                                                   ^^     ^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]    |                                                   |
[INFO] [stdout]    |                                                   the lifetime is elided here
[INFO] [stdout]    |
[INFO] [stdout]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]    |
[INFO] [stdout] 19 | pub fn typed_read<S: ReadonlyStorage, T>(storage: &S) -> ReadonlyTypedStorage<'_, S, T>
[INFO] [stdout]    |                                                                               +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Compiling enclave-ffi-types v0.1.0 (/opt/rustwide/workdir/packages/enclave-ffi-types)
[INFO] [stderr]     Checking wabt v0.9.1
[INFO] [stderr]     Checking cosmwasm-sgx-vm v0.10.0 (/opt/rustwide/workdir/packages/sgx-vm)
[INFO] [stdout] warning: unexpected `cfg` condition value: `enclave`
[INFO] [stdout]  --> packages/sgx-vm/src/backends/enclave.rs:1:12
[INFO] [stdout]   |
[INFO] [stdout] 1 | #![cfg(any(feature = "enclave", feature = "default-enclave"))]
[INFO] [stdout]   |            ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: expected values for `feature` are: `backtraces`, `cranelift`, `default`, `default-cranelift`, `default-enclave`, `default-singlepass`, `enclave-tests`, `iterator`, `singlepass`, and `staking`
[INFO] [stdout]   = help: consider adding `enclave` as a feature in `Cargo.toml`
[INFO] [stdout]   = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout]   = note: `#[warn(unexpected_cfgs)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `get_gas_left`
[INFO] [stdout]   --> packages/sgx-vm/src/backends/mod.rs:48:19
[INFO] [stdout]    |
[INFO] [stdout] 48 | pub use enclave::{get_gas_left, get_gas_used};
[INFO] [stdout]    |                   ^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `imports::*`
[INFO] [stdout]  --> packages/sgx-vm/src/wasmi/mod.rs:8:9
[INFO] [stdout]   |
[INFO] [stdout] 8 | pub use imports::*;
[INFO] [stdout]   |         ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[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]     |                           ^^^^^^^  ^^^^^^^^^^^^^^^^^  ^^^^^^^^^^^^ no `set_gas_left` in `backends`
[INFO] [stdout]     |                           |        |
[INFO] [stdout]     |                           |        no `decrease_gas_left` in `backends`
[INFO] [stdout]     |                           no `compile` in `backends`
[INFO] [stdout]     |
[INFO] [stdout] note: found an item that was configured out
[INFO] [stdout]    --> packages/sgx-vm/src/backends/mod.rs:42:30
[INFO] [stdout]     |
[INFO] [stdout]  41 | #[cfg(feature = "default-cranelift")]
[INFO] [stdout]     |       ----------------------------- the item is gated behind the `default-cranelift` feature
[INFO] [stdout]  42 | pub use cranelift::{backend, compile, get_gas_left, set_gas_left};
[INFO] [stdout]     |                              ^^^^^^^
[INFO] [stdout] note: found an item that was configured out
[INFO] [stdout]    --> packages/sgx-vm/src/backends/mod.rs:45:31
[INFO] [stdout]     |
[INFO] [stdout]  44 | #[cfg(feature = "default-singlepass")]
[INFO] [stdout]     |       ------------------------------ the item is gated behind the `default-singlepass` feature
[INFO] [stdout]  45 | pub use singlepass::{backend, compile, get_gas_left, set_gas_left};
[INFO] [stdout]     |                               ^^^^^^^
[INFO] [stdout] note: found an item that was configured out
[INFO] [stdout]    --> packages/sgx-vm/src/backends/mod.rs:42:53
[INFO] [stdout]     |
[INFO] [stdout]  41 | #[cfg(feature = "default-cranelift")]
[INFO] [stdout]     |       ----------------------------- the item is gated behind the `default-cranelift` feature
[INFO] [stdout]  42 | pub use cranelift::{backend, compile, get_gas_left, set_gas_left};
[INFO] [stdout]     |                                                     ^^^^^^^^^^^^
[INFO] [stdout] note: found an item that was configured out
[INFO] [stdout]    --> packages/sgx-vm/src/backends/mod.rs:45:54
[INFO] [stdout]     |
[INFO] [stdout]  44 | #[cfg(feature = "default-singlepass")]
[INFO] [stdout]     |       ------------------------------ the item is gated behind the `default-singlepass` feature
[INFO] [stdout]  45 | pub use singlepass::{backend, compile, get_gas_left, set_gas_left};
[INFO] [stdout]     |                                                      ^^^^^^^^^^^^
[INFO] [stdout] help: a similar name exists in the module
[INFO] [stdout]     |
[INFO] [stdout] 396 -     use crate::backends::{compile, decrease_gas_left, set_gas_left};
[INFO] [stdout] 396 +     use crate::backends::{compile, decrease_gas_left, get_gas_left};
[INFO] [stdout]     |
[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]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no `is_storage_readonly` in `context`
[INFO] [stdout]     |
[INFO] [stdout] note: found an item that was configured out
[INFO] [stdout]    --> packages/sgx-vm/src/context.rs:288:8
[INFO] [stdout]     |
[INFO] [stdout] 287 | #[cfg(not(feature = "default-enclave"))]
[INFO] [stdout]     |          ----------------------------- the item is gated here
[INFO] [stdout] 288 | pub fn is_storage_readonly<S: Storage, Q: Querier>(ctx: &Ctx) -> bool {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] help: a similar name exists in the module
[INFO] [stdout]     |
[INFO] [stdout] 359 -     use crate::context::is_storage_readonly;
[INFO] [stdout] 359 +     use crate::context::set_storage_readonly;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find `esgx` in `crate`
[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]: cannot find module or crate `wasmer_runtime_core` in this scope
[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 unresolved module or unlinked crate `wasmer_runtime_core`
[INFO] [stdout]     |
[INFO] [stdout]     = help: if you wanted to use a crate named `wasmer_runtime_core`, use `cargo add wasmer_runtime_core` to add it to your `Cargo.toml`
[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 unresolved module or unlinked crate `wasmer_runtime_core`
[INFO] [stdout]     |
[INFO] [stdout]     = help: if you wanted to use a crate named `wasmer_runtime_core`, use `cargo add wasmer_runtime_core` to add it to your `Cargo.toml`
[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]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no `init_enclave` in `instance`
[INFO] [stdout]     |
[INFO] [stdout] help: a similar name exists in the module
[INFO] [stdout]     |
[INFO] [stdout] 180 -     use crate::instance::init_enclave as init_enclave_wrapper;
[INFO] [stdout] 180 +     use crate::instance::get_enclave as init_enclave_wrapper;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> packages/sgx-vm/src/context.rs:294:9
[INFO] [stdout]     |
[INFO] [stdout] 294 |     let mut context_data = get_context_data_mut::<S, Q>(ctx);
[INFO] [stdout]     |         ----^^^^^^^^^^^^
[INFO] [stdout]     |         |
[INFO] [stdout]     |         help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: 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<WasmerInstance> {
[INFO] [stdout]     |                               ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]     |
[INFO] [stdout] 424 |     fn make_instance<WasmerInstance>() -> Box<WasmerInstance> {
[INFO] [stdout]     |                     ++++++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `NonNull` in this scope
[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]     |                            ^^^^^^^ use of undeclared type `NonNull`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]     |
[INFO] [stdout] 395 +     use std::ptr::NonNull;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `CommunicationError` in this scope
[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] help: consider importing this enum through its public re-export
[INFO] [stdout]     |
[INFO] [stdout] 358 +     use crate::CommunicationError;
[INFO] [stdout]     |
[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: field `hits_module` is never read
[INFO] [stdout]   --> packages/sgx-vm/src/cache.rs:26:5
[INFO] [stdout]    |
[INFO] [stdout] 25 | struct Stats {
[INFO] [stdout]    |        ----- field in this struct
[INFO] [stdout] 26 |     hits_module: u32,
[INFO] [stdout]    |     ^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Stats` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unexpected `cfg` condition value: `enclave`
[INFO] [stdout]  --> packages/sgx-vm/src/backends/enclave.rs:1:12
[INFO] [stdout]   |
[INFO] [stdout] 1 | #![cfg(any(feature = "enclave", feature = "default-enclave"))]
[INFO] [stdout]   |            ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: expected values for `feature` are: `backtraces`, `cranelift`, `default`, `default-cranelift`, `default-enclave`, `default-singlepass`, `enclave-tests`, `iterator`, `singlepass`, and `staking`
[INFO] [stdout]   = help: consider adding `enclave` as a feature in `Cargo.toml`
[INFO] [stdout]   = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout]   = note: `#[warn(unexpected_cfgs)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `get_gas_left`
[INFO] [stdout]   --> packages/sgx-vm/src/backends/mod.rs:48:19
[INFO] [stdout]    |
[INFO] [stdout] 48 | pub use enclave::{get_gas_left, get_gas_used};
[INFO] [stdout]    |                   ^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `signature` is never used
[INFO] [stdout]   --> packages/sgx-vm/src/wasmi/results.rs:20:12
[INFO] [stdout]    |
[INFO] [stdout] 13 | impl InitSuccess {
[INFO] [stdout]    | ---------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 20 |     pub fn signature(&self) -> &[u8; 64] {
[INFO] [stdout]    |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `signature` is never read
[INFO] [stdout]   --> packages/sgx-vm/src/wasmi/results.rs:40:5
[INFO] [stdout]    |
[INFO] [stdout] 36 | pub struct HandleSuccess {
[INFO] [stdout]    |            ------------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 40 |     signature: [u8; 64],
[INFO] [stdout]    |     ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `signature` is never used
[INFO] [stdout]   --> packages/sgx-vm/src/wasmi/results.rs:48:12
[INFO] [stdout]    |
[INFO] [stdout] 43 | impl HandleSuccess {
[INFO] [stdout]    | ------------------ method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 48 |     pub fn signature(&self) -> &[u8; 64] {
[INFO] [stdout]    |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `signature` is never read
[INFO] [stdout]   --> packages/sgx-vm/src/wasmi/results.rs:68:5
[INFO] [stdout]    |
[INFO] [stdout] 64 | pub struct QuerySuccess {
[INFO] [stdout]    |            ------------ field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 68 |     signature: [u8; 64],
[INFO] [stdout]    |     ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `signature` is never used
[INFO] [stdout]   --> packages/sgx-vm/src/wasmi/results.rs:76:12
[INFO] [stdout]    |
[INFO] [stdout] 71 | impl QuerySuccess {
[INFO] [stdout]    | ----------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 76 |     pub fn signature(&self) -> &[u8; 64] {
[INFO] [stdout]    |            ^^^^^^^^^
[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] 
[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] warning: unused import: `imports::*`
[INFO] [stdout]  --> packages/sgx-vm/src/wasmi/mod.rs:8:9
[INFO] [stdout]   |
[INFO] [stdout] 8 | pub use imports::*;
[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::<MS, MQ>(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<S: Storage, Q: Querier>(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::<MS, MQ>(ctx), true);
[INFO] [stdout]     |                    ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: a function with a similar name exists
[INFO] [stdout]     |
[INFO] [stdout] 542 -         assert_eq!(is_storage_readonly::<MS, MQ>(ctx), true);
[INFO] [stdout] 542 +         assert_eq!(set_storage_readonly::<MS, MQ>(ctx), true);
[INFO] [stdout]     |
[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<S: Storage, Q: Querier>(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::<MS, MQ>(ctx), false);
[INFO] [stdout]     |                    ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: a function with a similar name exists
[INFO] [stdout]     |
[INFO] [stdout] 553 -         assert_eq!(is_storage_readonly::<MS, MQ>(ctx), false);
[INFO] [stdout] 553 +         assert_eq!(set_storage_readonly::<MS, MQ>(ctx), false);
[INFO] [stdout]     |
[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<S: Storage, Q: Querier>(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::<MS, MQ>(ctx), false);
[INFO] [stdout]     |                    ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: a function with a similar name exists
[INFO] [stdout]     |
[INFO] [stdout] 557 -         assert_eq!(is_storage_readonly::<MS, MQ>(ctx), false);
[INFO] [stdout] 557 +         assert_eq!(set_storage_readonly::<MS, MQ>(ctx), false);
[INFO] [stdout]     |
[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<S: Storage, Q: Querier>(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::<MS, MQ>(ctx), true);
[INFO] [stdout]     |                    ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: a function with a similar name exists
[INFO] [stdout]     |
[INFO] [stdout] 561 -         assert_eq!(is_storage_readonly::<MS, MQ>(ctx), true);
[INFO] [stdout] 561 +         assert_eq!(set_storage_readonly::<MS, MQ>(ctx), true);
[INFO] [stdout]     |
[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::<MS, MQ, u32, u32, _, _>(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::<MS, MQ>(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::<MS, MQ, u32, u32, _, ()>(ctx, "allocate", |_func| {
[INFO] [stdout]     |                   ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: a constant with a similar name exists
[INFO] [stdout]     |
[INFO] [stdout] 610 |         let res = with_func_from_context_works::<MS, MQ, u32, u32, _, ()>(ctx, "allocate", |_func| {
[INFO] [stdout]     |                                         ++++++
[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::<MS, MQ, u32, u32, _, ()>(ctx, "doesnt_exist", |_func| {
[INFO] [stdout]     |                   ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: a constant with a similar name exists
[INFO] [stdout]     |
[INFO] [stdout] 625 |         let res = with_func_from_context_works::<MS, MQ, u32, u32, _, ()>(ctx, "doesnt_exist", |_func| {
[INFO] [stdout]     |                                         ++++++
[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<T: TryInto<i32> + Display + Copy>(input: T) -> VmResult<i32> {
[INFO] [stdout]    | -------------------------------------------------------------------------- similarly named function `to_i32` defined here
[INFO] [stdout] ...
[INFO] [stdout] 34 |         assert_eq!(to_u32(0usize).unwrap(), 0);
[INFO] [stdout]    |                    ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: a function with a similar name exists
[INFO] [stdout]    |
[INFO] [stdout] 34 -         assert_eq!(to_u32(0usize).unwrap(), 0);
[INFO] [stdout] 34 +         assert_eq!(to_i32(0usize).unwrap(), 0);
[INFO] [stdout]    |
[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<T: TryInto<i32> + Display + Copy>(input: T) -> VmResult<i32> {
[INFO] [stdout]    | -------------------------------------------------------------------------- similarly named function `to_i32` defined here
[INFO] [stdout] ...
[INFO] [stdout] 35 |         assert_eq!(to_u32(1usize).unwrap(), 1);
[INFO] [stdout]    |                    ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: a function with a similar name exists
[INFO] [stdout]    |
[INFO] [stdout] 35 -         assert_eq!(to_u32(1usize).unwrap(), 1);
[INFO] [stdout] 35 +         assert_eq!(to_i32(1usize).unwrap(), 1);
[INFO] [stdout]    |
[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<T: TryInto<i32> + Display + Copy>(input: T) -> VmResult<i32> {
[INFO] [stdout]    | -------------------------------------------------------------------------- similarly named function `to_i32` defined here
[INFO] [stdout] ...
[INFO] [stdout] 36 |         assert_eq!(to_u32(2147483647usize).unwrap(), 2147483647);
[INFO] [stdout]    |                    ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: a function with a similar name exists
[INFO] [stdout]    |
[INFO] [stdout] 36 -         assert_eq!(to_u32(2147483647usize).unwrap(), 2147483647);
[INFO] [stdout] 36 +         assert_eq!(to_i32(2147483647usize).unwrap(), 2147483647);
[INFO] [stdout]    |
[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<T: TryInto<i32> + Display + Copy>(input: T) -> VmResult<i32> {
[INFO] [stdout]    | -------------------------------------------------------------------------- similarly named function `to_i32` defined here
[INFO] [stdout] ...
[INFO] [stdout] 37 |         assert_eq!(to_u32(2147483648usize).unwrap(), 2147483648);
[INFO] [stdout]    |                    ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: a function with a similar name exists
[INFO] [stdout]    |
[INFO] [stdout] 37 -         assert_eq!(to_u32(2147483648usize).unwrap(), 2147483648);
[INFO] [stdout] 37 +         assert_eq!(to_i32(2147483648usize).unwrap(), 2147483648);
[INFO] [stdout]    |
[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<T: TryInto<i32> + Display + Copy>(input: T) -> VmResult<i32> {
[INFO] [stdout]    | -------------------------------------------------------------------------- similarly named function `to_i32` defined here
[INFO] [stdout] ...
[INFO] [stdout] 38 |         assert_eq!(to_u32(4294967295usize).unwrap(), 4294967295);
[INFO] [stdout]    |                    ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: a function with a similar name exists
[INFO] [stdout]    |
[INFO] [stdout] 38 -         assert_eq!(to_u32(4294967295usize).unwrap(), 4294967295);
[INFO] [stdout] 38 +         assert_eq!(to_i32(4294967295usize).unwrap(), 4294967295);
[INFO] [stdout]    |
[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<T: TryInto<i32> + Display + Copy>(input: T) -> VmResult<i32> {
[INFO] [stdout]    | -------------------------------------------------------------------------- similarly named function `to_i32` defined here
[INFO] [stdout] ...
[INFO] [stdout] 40 |         match to_u32(4294967296usize) {
[INFO] [stdout]    |               ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: a function with a similar name exists
[INFO] [stdout]    |
[INFO] [stdout] 40 -         match to_u32(4294967296usize) {
[INFO] [stdout] 40 +         match to_i32(4294967296usize) {
[INFO] [stdout]    |
[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<T: TryInto<i32> + Display + Copy>(input: T) -> VmResult<i32> {
[INFO] [stdout]    | -------------------------------------------------------------------------- similarly named function `to_i32` defined here
[INFO] [stdout] ...
[INFO] [stdout] 58 |         assert_eq!(to_u32(0u64).unwrap(), 0);
[INFO] [stdout]    |                    ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: a function with a similar name exists
[INFO] [stdout]    |
[INFO] [stdout] 58 -         assert_eq!(to_u32(0u64).unwrap(), 0);
[INFO] [stdout] 58 +         assert_eq!(to_i32(0u64).unwrap(), 0);
[INFO] [stdout]    |
[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<T: TryInto<i32> + Display + Copy>(input: T) -> VmResult<i32> {
[INFO] [stdout]    | -------------------------------------------------------------------------- similarly named function `to_i32` defined here
[INFO] [stdout] ...
[INFO] [stdout] 59 |         assert_eq!(to_u32(1u64).unwrap(), 1);
[INFO] [stdout]    |                    ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: a function with a similar name exists
[INFO] [stdout]    |
[INFO] [stdout] 59 -         assert_eq!(to_u32(1u64).unwrap(), 1);
[INFO] [stdout] 59 +         assert_eq!(to_i32(1u64).unwrap(), 1);
[INFO] [stdout]    |
[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<T: TryInto<i32> + Display + Copy>(input: T) -> VmResult<i32> {
[INFO] [stdout]    | -------------------------------------------------------------------------- similarly named function `to_i32` defined here
[INFO] [stdout] ...
[INFO] [stdout] 60 |         assert_eq!(to_u32(2147483647u64).unwrap(), 2147483647);
[INFO] [stdout]    |                    ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: a function with a similar name exists
[INFO] [stdout]    |
[INFO] [stdout] 60 -         assert_eq!(to_u32(2147483647u64).unwrap(), 2147483647);
[INFO] [stdout] 60 +         assert_eq!(to_i32(2147483647u64).unwrap(), 2147483647);
[INFO] [stdout]    |
[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<T: TryInto<i32> + Display + Copy>(input: T) -> VmResult<i32> {
[INFO] [stdout]    | -------------------------------------------------------------------------- similarly named function `to_i32` defined here
[INFO] [stdout] ...
[INFO] [stdout] 61 |         assert_eq!(to_u32(2147483648u64).unwrap(), 2147483648);
[INFO] [stdout]    |                    ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: a function with a similar name exists
[INFO] [stdout]    |
[INFO] [stdout] 61 -         assert_eq!(to_u32(2147483648u64).unwrap(), 2147483648);
[INFO] [stdout] 61 +         assert_eq!(to_i32(2147483648u64).unwrap(), 2147483648);
[INFO] [stdout]    |
[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<T: TryInto<i32> + Display + Copy>(input: T) -> VmResult<i32> {
[INFO] [stdout]    | -------------------------------------------------------------------------- similarly named function `to_i32` defined here
[INFO] [stdout] ...
[INFO] [stdout] 62 |         assert_eq!(to_u32(4294967295u64).unwrap(), 4294967295);
[INFO] [stdout]    |                    ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: a function with a similar name exists
[INFO] [stdout]    |
[INFO] [stdout] 62 -         assert_eq!(to_u32(4294967295u64).unwrap(), 4294967295);
[INFO] [stdout] 62 +         assert_eq!(to_i32(4294967295u64).unwrap(), 4294967295);
[INFO] [stdout]    |
[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<T: TryInto<i32> + Display + Copy>(input: T) -> VmResult<i32> {
[INFO] [stdout]    | -------------------------------------------------------------------------- similarly named function `to_i32` defined here
[INFO] [stdout] ...
[INFO] [stdout] 64 |         match to_u32(4294967296u64) {
[INFO] [stdout]    |               ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: a function with a similar name exists
[INFO] [stdout]    |
[INFO] [stdout] 64 -         match to_u32(4294967296u64) {
[INFO] [stdout] 64 +         match to_i32(4294967296u64) {
[INFO] [stdout]    |
[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<T: TryInto<i32> + Display + Copy>(input: T) -> VmResult<i32> {
[INFO] [stdout]    | -------------------------------------------------------------------------- similarly named function `to_i32` defined here
[INFO] [stdout] ...
[INFO] [stdout] 82 |         assert_eq!(to_u32(0i32).unwrap(), 0);
[INFO] [stdout]    |                    ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: a function with a similar name exists
[INFO] [stdout]    |
[INFO] [stdout] 82 -         assert_eq!(to_u32(0i32).unwrap(), 0);
[INFO] [stdout] 82 +         assert_eq!(to_i32(0i32).unwrap(), 0);
[INFO] [stdout]    |
[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<T: TryInto<i32> + Display + Copy>(input: T) -> VmResult<i32> {
[INFO] [stdout]    | -------------------------------------------------------------------------- similarly named function `to_i32` defined here
[INFO] [stdout] ...
[INFO] [stdout] 83 |         assert_eq!(to_u32(1i32).unwrap(), 1);
[INFO] [stdout]    |                    ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: a function with a similar name exists
[INFO] [stdout]    |
[INFO] [stdout] 83 -         assert_eq!(to_u32(1i32).unwrap(), 1);
[INFO] [stdout] 83 +         assert_eq!(to_i32(1i32).unwrap(), 1);
[INFO] [stdout]    |
[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<T: TryInto<i32> + Display + Copy>(input: T) -> VmResult<i32> {
[INFO] [stdout]    | -------------------------------------------------------------------------- similarly named function `to_i32` defined here
[INFO] [stdout] ...
[INFO] [stdout] 84 |         assert_eq!(to_u32(2147483647i32).unwrap(), 2147483647);
[INFO] [stdout]    |                    ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: a function with a similar name exists
[INFO] [stdout]    |
[INFO] [stdout] 84 -         assert_eq!(to_u32(2147483647i32).unwrap(), 2147483647);
[INFO] [stdout] 84 +         assert_eq!(to_i32(2147483647i32).unwrap(), 2147483647);
[INFO] [stdout]    |
[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<T: TryInto<i32> + Display + Copy>(input: T) -> VmResult<i32> {
[INFO] [stdout]    | -------------------------------------------------------------------------- similarly named function `to_i32` defined here
[INFO] [stdout] ...
[INFO] [stdout] 86 |         match to_u32(-1i32) {
[INFO] [stdout]    |               ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: a function with a similar name exists
[INFO] [stdout]    |
[INFO] [stdout] 86 -         match to_u32(-1i32) {
[INFO] [stdout] 86 +         match to_i32(-1i32) {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0609]: no field `required_features` on type `instance::Instance<storage::MockStorage, mock::MockApi, querier::MockQuerier>`
[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<storage::MockStorage, mock::MockApi, querier::MockQuerier>`
[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<storage::MockStorage, mock::MockApi, querier::MockQuerier>`
[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<storage::MockStorage, mock::MockApi, querier::MockQuerier>`
[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<storage::MockStorage, mock::MockApi, querier::MockQuerier>`
[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<S, A, Q>` in the current scope
[INFO] [stdout]    --> packages/sgx-vm/src/instance.rs:433:24
[INFO] [stdout]     |
[INFO] [stdout]  60 | pub struct Instance<S: Storage + 'static, A: Api + 'static, Q: Querier + 'static> {
[INFO] [stdout]     | --------------------------------------------------------------------------------- method `func` not found for this struct
[INFO] [stdout] ...
[INFO] [stdout] 433 |         match instance.func::<(), ()>(missing_function).err().unwrap() {
[INFO] [stdout]     |                        ^^^^ method not found in `instance::Instance<storage::MockStorage, mock::MockApi, querier::MockQuerier>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `func` found for struct `instance::Instance<S, A, Q>` in the current scope
[INFO] [stdout]    --> packages/sgx-vm/src/instance.rs:445:24
[INFO] [stdout]     |
[INFO] [stdout]  60 | pub struct Instance<S: Storage + 'static, A: Api + 'static, Q: Querier + 'static> {
[INFO] [stdout]     | --------------------------------------------------------------------------------- method `func` not found for this struct
[INFO] [stdout] ...
[INFO] [stdout] 445 |         match instance.func::<(), ()>("allocate").err().unwrap() {
[INFO] [stdout]     |                        ^^^^ method not found in `instance::Instance<storage::MockStorage, mock::MockApi, querier::MockQuerier>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `allocate` found for struct `instance::Instance<S, A, Q>` in the current scope
[INFO] [stdout]    --> packages/sgx-vm/src/instance.rs:471:39
[INFO] [stdout]     |
[INFO] [stdout]  60 | pub struct Instance<S: Storage + 'static, A: Api + 'static, Q: Querier + 'static> {
[INFO] [stdout]     | --------------------------------------------------------------------------------- method `allocate` not found for this struct
[INFO] [stdout] ...
[INFO] [stdout] 471 |             let region_ptr = instance.allocate(size).expect("error allocating");
[INFO] [stdout]     |                                       ^^^^^^^^ method not found in `instance::Instance<storage::MockStorage, mock::MockApi, querier::MockQuerier>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `deallocate` found for struct `instance::Instance<S, A, Q>` in the current scope
[INFO] [stdout]    --> packages/sgx-vm/src/instance.rs:472:22
[INFO] [stdout]     |
[INFO] [stdout]  60 | pub struct Instance<S: Storage + 'static, A: Api + 'static, Q: Querier + 'static> {
[INFO] [stdout]     | --------------------------------------------------------------------------------- method `deallocate` not found for this struct
[INFO] [stdout] ...
[INFO] [stdout] 472 |             instance.deallocate(region_ptr).expect("error deallocating");
[INFO] [stdout]     |                      ^^^^^^^^^^ method not found in `instance::Instance<storage::MockStorage, mock::MockApi, querier::MockQuerier>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `allocate` found for struct `instance::Instance<S, A, Q>` in the current scope
[INFO] [stdout]    --> packages/sgx-vm/src/instance.rs:494:39
[INFO] [stdout]     |
[INFO] [stdout]  60 | pub struct Instance<S: Storage + 'static, A: Api + 'static, Q: Querier + 'static> {
[INFO] [stdout]     | --------------------------------------------------------------------------------- method `allocate` not found for this struct
[INFO] [stdout] ...
[INFO] [stdout] 494 |             let region_ptr = instance.allocate(size).expect("error allocating");
[INFO] [stdout]     |                                       ^^^^^^^^ method not found in `instance::Instance<storage::MockStorage, mock::MockApi, querier::MockQuerier>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `write_memory` found for struct `instance::Instance<S, A, Q>` in the current scope
[INFO] [stdout]    --> packages/sgx-vm/src/instance.rs:497:18
[INFO] [stdout]     |
[INFO] [stdout]  60 |   pub struct Instance<S: Storage + 'static, A: Api + 'static, Q: Querier + 'static> {
[INFO] [stdout]     |   --------------------------------------------------------------------------------- method `write_memory` not found for this struct
[INFO] [stdout] ...
[INFO] [stdout] 496 | /             instance
[INFO] [stdout] 497 | |                 .write_memory(region_ptr, &original)
[INFO] [stdout]     | |                 -^^^^^^^^^^^^ method not found in `instance::Instance<storage::MockStorage, mock::MockApi, querier::MockQuerier>`
[INFO] [stdout]     | |_________________|
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `read_memory` found for struct `instance::Instance<S, A, Q>` in the current scope
[INFO] [stdout]    --> packages/sgx-vm/src/instance.rs:500:18
[INFO] [stdout]     |
[INFO] [stdout]  60 |   pub struct Instance<S: Storage + 'static, A: Api + 'static, Q: Querier + 'static> {
[INFO] [stdout]     |   --------------------------------------------------------------------------------- method `read_memory` not found for this struct
[INFO] [stdout] ...
[INFO] [stdout] 499 |               let data = instance
[INFO] [stdout]     |  ________________________-
[INFO] [stdout] 500 | |                 .read_memory(region_ptr, size)
[INFO] [stdout]     | |                 -^^^^^^^^^^^ method not found in `instance::Instance<storage::MockStorage, mock::MockApi, querier::MockQuerier>`
[INFO] [stdout]     | |_________________|
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `deallocate` found for struct `instance::Instance<S, A, Q>` in the current scope
[INFO] [stdout]    --> packages/sgx-vm/src/instance.rs:503:22
[INFO] [stdout]     |
[INFO] [stdout]  60 | pub struct Instance<S: Storage + 'static, A: Api + 'static, Q: Querier + 'static> {
[INFO] [stdout]     | --------------------------------------------------------------------------------- method `deallocate` not found for this struct
[INFO] [stdout] ...
[INFO] [stdout] 503 |             instance.deallocate(region_ptr).expect("error deallocating");
[INFO] [stdout]     |                      ^^^^^^^^^^ method not found in `instance::Instance<storage::MockStorage, mock::MockApi, querier::MockQuerier>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `allocate` found for struct `instance::Instance<S, A, Q>` in the current scope
[INFO] [stdout]    --> packages/sgx-vm/src/instance.rs:535:35
[INFO] [stdout]     |
[INFO] [stdout]  60 | pub struct Instance<S: Storage + 'static, A: Api + 'static, Q: Querier + 'static> {
[INFO] [stdout]     | --------------------------------------------------------------------------------- method `allocate` not found for this struct
[INFO] [stdout] ...
[INFO] [stdout] 535 |         let region_ptr = instance.allocate(length).expect("error allocating");
[INFO] [stdout]     |                                   ^^^^^^^^ method not found in `instance::Instance<storage::MockStorage, mock::MockApi, querier::MockQuerier>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `write_memory` found for struct `instance::Instance<S, A, Q>` in the current scope
[INFO] [stdout]    --> packages/sgx-vm/src/instance.rs:538:14
[INFO] [stdout]     |
[INFO] [stdout]  60 |   pub struct Instance<S: Storage + 'static, A: Api + 'static, Q: Querier + 'static> {
[INFO] [stdout]     |   --------------------------------------------------------------------------------- method `write_memory` not found for this struct
[INFO] [stdout] ...
[INFO] [stdout] 537 | /         instance
[INFO] [stdout] 538 | |             .write_memory(region_ptr, &data)
[INFO] [stdout]     | |             -^^^^^^^^^^^^ method not found in `instance::Instance<storage::MockStorage, mock::MockApi, querier::MockQuerier>`
[INFO] [stdout]     | |_____________|
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `read_memory` found for struct `instance::Instance<S, A, Q>` in the current scope
[INFO] [stdout]    --> packages/sgx-vm/src/instance.rs:541:31
[INFO] [stdout]     |
[INFO] [stdout]  60 | pub struct Instance<S: Storage + 'static, A: Api + 'static, Q: Querier + 'static> {
[INFO] [stdout]     | --------------------------------------------------------------------------------- method `read_memory` not found for this struct
[INFO] [stdout] ...
[INFO] [stdout] 541 |         let result = instance.read_memory(region_ptr, max_length);
[INFO] [stdout]     |                               ^^^^^^^^^^^ method not found in `instance::Instance<storage::MockStorage, mock::MockApi, querier::MockQuerier>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `deallocate` found for struct `instance::Instance<S, A, Q>` in the current scope
[INFO] [stdout]    --> packages/sgx-vm/src/instance.rs:555:18
[INFO] [stdout]     |
[INFO] [stdout]  60 | pub struct Instance<S: Storage + 'static, A: Api + 'static, Q: Querier + 'static> {
[INFO] [stdout]     | --------------------------------------------------------------------------------- method `deallocate` not found for this struct
[INFO] [stdout] ...
[INFO] [stdout] 555 |         instance.deallocate(region_ptr).expect("error deallocating");
[INFO] [stdout]     |                  ^^^^^^^^^^ method not found in `instance::Instance<storage::MockStorage, mock::MockApi, querier::MockQuerier>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `get_memory_size` found for struct `instance::Instance<S, A, Q>` in the current scope
[INFO] [stdout]    --> packages/sgx-vm/src/instance.rs:562:29
[INFO] [stdout]     |
[INFO] [stdout]  60 | pub struct Instance<S: Storage + 'static, A: Api + 'static, Q: Querier + 'static> {
[INFO] [stdout]     | --------------------------------------------------------------------------------- method `get_memory_size` not found for this struct
[INFO] [stdout] ...
[INFO] [stdout] 562 |         assert_eq!(instance.get_memory_size(), 17 * WASM_PAGE_SIZE);
[INFO] [stdout]     |                             ^^^^^^^^^^^^^^^ method not found in `instance::Instance<storage::MockStorage, mock::MockApi, querier::MockQuerier>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `allocate` found for struct `instance::Instance<S, A, Q>` in the current scope
[INFO] [stdout]    --> packages/sgx-vm/src/instance.rs:565:35
[INFO] [stdout]     |
[INFO] [stdout]  60 | pub struct Instance<S: Storage + 'static, A: Api + 'static, Q: Querier + 'static> {
[INFO] [stdout]     | --------------------------------------------------------------------------------- method `allocate` not found for this struct
[INFO] [stdout] ...
[INFO] [stdout] 565 |         let region_ptr = instance.allocate(100 * 1024).expect("error allocating");
[INFO] [stdout]     |                                   ^^^^^^^^ method not found in `instance::Instance<storage::MockStorage, mock::MockApi, querier::MockQuerier>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `get_memory_size` found for struct `instance::Instance<S, A, Q>` in the current scope
[INFO] [stdout]    --> packages/sgx-vm/src/instance.rs:567:29
[INFO] [stdout]     |
[INFO] [stdout]  60 | pub struct Instance<S: Storage + 'static, A: Api + 'static, Q: Querier + 'static> {
[INFO] [stdout]     | --------------------------------------------------------------------------------- method `get_memory_size` not found for this struct
[INFO] [stdout] ...
[INFO] [stdout] 567 |         assert_eq!(instance.get_memory_size(), 19 * WASM_PAGE_SIZE);
[INFO] [stdout]     |                             ^^^^^^^^^^^^^^^ method not found in `instance::Instance<storage::MockStorage, mock::MockApi, querier::MockQuerier>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `deallocate` found for struct `instance::Instance<S, A, Q>` in the current scope
[INFO] [stdout]    --> packages/sgx-vm/src/instance.rs:570:18
[INFO] [stdout]     |
[INFO] [stdout]  60 | pub struct Instance<S: Storage + 'static, A: Api + 'static, Q: Querier + 'static> {
[INFO] [stdout]     | --------------------------------------------------------------------------------- method `deallocate` not found for this struct
[INFO] [stdout] ...
[INFO] [stdout] 570 |         instance.deallocate(region_ptr).expect("error deallocating");
[INFO] [stdout]     |                  ^^^^^^^^^^ method not found in `instance::Instance<storage::MockStorage, mock::MockApi, querier::MockQuerier>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `get_memory_size` found for struct `instance::Instance<S, A, Q>` in the current scope
[INFO] [stdout]    --> packages/sgx-vm/src/instance.rs:571:29
[INFO] [stdout]     |
[INFO] [stdout]  60 | pub struct Instance<S: Storage + 'static, A: Api + 'static, Q: Querier + 'static> {
[INFO] [stdout]     | --------------------------------------------------------------------------------- method `get_memory_size` not found for this struct
[INFO] [stdout] ...
[INFO] [stdout] 571 |         assert_eq!(instance.get_memory_size(), 19 * WASM_PAGE_SIZE);
[INFO] [stdout]     |                             ^^^^^^^^^^^^^^^ method not found in `instance::Instance<storage::MockStorage, mock::MockApi, querier::MockQuerier>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> packages/sgx-vm/src/context.rs:294:9
[INFO] [stdout]     |
[INFO] [stdout] 294 |     let mut context_data = get_context_data_mut::<S, Q>(ctx);
[INFO] [stdout]     |         ----^^^^^^^^^^^^
[INFO] [stdout]     |         |
[INFO] [stdout]     |         help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0425, E0432, E0433, E0599, E0609.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0425`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `cosmwasm-sgx-vm` (lib test) due to 60 previous errors; 6 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "d170a9c2cb1360552b6e938543d081dc155e65fee4f2e73024cd54d9a146538a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "d170a9c2cb1360552b6e938543d081dc155e65fee4f2e73024cd54d9a146538a", kill_on_drop: false }`
[INFO] [stdout] d170a9c2cb1360552b6e938543d081dc155e65fee4f2e73024cd54d9a146538a
