[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 against try#2f3c33065a16f1030e8d2f90241df3b4bea01e77 for pr-106060 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fenigmampc%2Fcosmwasm" "/workspace/builds/worker-4/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/enigmampc/cosmwasm on toolchain 2f3c33065a16f1030e8d2f90241df3b4bea01e77 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+2f3c33065a16f1030e8d2f90241df3b4bea01e77" "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-4/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" "+2f3c33065a16f1030e8d2f90241df3b4bea01e77" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: skipping duplicate package `PCKIDRetrievalTool` found at `/workspace/cargo-home/git/checkouts/teaclave-sgx-sdk-be25c2ad2f03718d/8f065be/samplecode/dcap-pckretrieval/app` [INFO] [stderr] warning: skipping duplicate package `ue_send_recv` found at `/workspace/cargo-home/git/checkouts/teaclave-sgx-sdk-be25c2ad2f03718d/8f065be/samplecode/pcl/pcl-seal/enclave/ue_send_recv` [INFO] [stderr] warning: skipping duplicate package `app` found at `/workspace/cargo-home/git/checkouts/teaclave-sgx-sdk-be25c2ad2f03718d/8f065be/samplecode/pcl/pcl-seal/app` [INFO] [stderr] warning: skipping duplicate package `app` found at `/workspace/cargo-home/git/checkouts/teaclave-sgx-sdk-be25c2ad2f03718d/8f065be/samplecode/ue-ra/ue-ra-server/app` [INFO] [stderr] warning: skipping duplicate package `Helloworldsampleenclave` found at `/workspace/cargo-home/git/checkouts/teaclave-sgx-sdk-be25c2ad2f03718d/8f065be/samplecode/tcmalloc/enclave` [INFO] [stderr] warning: skipping duplicate package `app` found at `/workspace/cargo-home/git/checkouts/teaclave-sgx-sdk-be25c2ad2f03718d/8f065be/samplecode/tcmalloc/app` [INFO] [stderr] warning: skipping duplicate package `app` found at `/workspace/cargo-home/git/checkouts/teaclave-sgx-sdk-be25c2ad2f03718d/8f065be/samplecode/tr-mpc/tr-mpc-server/app` [INFO] [stderr] warning: skipping duplicate package `Helloworldsampleenclave` found at `/workspace/cargo-home/git/checkouts/teaclave-sgx-sdk-be25c2ad2f03718d/8f065be/samplecode/prost-protobuf/enclave` [INFO] [stderr] warning: skipping duplicate package `app` found at `/workspace/cargo-home/git/checkouts/teaclave-sgx-sdk-be25c2ad2f03718d/8f065be/samplecode/prost-protobuf/app` [INFO] [stderr] warning: skipping duplicate package `Helloworldsampleenclave` found at `/workspace/cargo-home/git/checkouts/teaclave-sgx-sdk-be25c2ad2f03718d/8f065be/samplecode/hello-rust/enclave` [INFO] [stderr] warning: skipping duplicate package `app` found at `/workspace/cargo-home/git/checkouts/teaclave-sgx-sdk-be25c2ad2f03718d/8f065be/samplecode/hello-rust/app` [INFO] [stderr] warning: skipping duplicate package `app` found at `/workspace/cargo-home/git/checkouts/teaclave-sgx-sdk-be25c2ad2f03718d/8f065be/samplecode/protobuf/app` [INFO] [stderr] warning: skipping duplicate package `app` found at `/workspace/cargo-home/git/checkouts/teaclave-sgx-sdk-be25c2ad2f03718d/8f065be/samplecode/static-data-distribution/app` [INFO] [stderr] warning: skipping duplicate package `Helloworldsampleenclave` found at `/workspace/cargo-home/git/checkouts/teaclave-sgx-sdk-be25c2ad2f03718d/8f065be/samplecode/hello-rust-vscode-debug/enclave` [INFO] [stderr] warning: skipping duplicate package `app` found at `/workspace/cargo-home/git/checkouts/teaclave-sgx-sdk-be25c2ad2f03718d/8f065be/samplecode/hello-rust-vscode-debug/app` [INFO] [stderr] warning: skipping duplicate package `Helloworldsampleenclave` found at `/workspace/cargo-home/git/checkouts/teaclave-sgx-sdk-be25c2ad2f03718d/8f065be/samplecode/kvdb-memdb/enclave` [INFO] [stderr] warning: skipping duplicate package `app` found at `/workspace/cargo-home/git/checkouts/teaclave-sgx-sdk-be25c2ad2f03718d/8f065be/samplecode/kvdb-memdb/app` [INFO] [stderr] warning: skipping duplicate package `app` found at `/workspace/cargo-home/git/checkouts/teaclave-sgx-sdk-be25c2ad2f03718d/8f065be/samplecode/wasmi/app` [INFO] [stderr] warning: skipping duplicate package `Helloworldsampleenclave` found at `/workspace/cargo-home/git/checkouts/teaclave-sgx-sdk-be25c2ad2f03718d/8f065be/samplecode/net2/enclave` [INFO] [stderr] warning: skipping duplicate package `app` found at `/workspace/cargo-home/git/checkouts/teaclave-sgx-sdk-be25c2ad2f03718d/8f065be/samplecode/net2/app` [INFO] [stderr] warning: skipping duplicate package `app` found at `/workspace/cargo-home/git/checkouts/teaclave-sgx-sdk-be25c2ad2f03718d/8f065be/samplecode/mutual-ra/app` [INFO] [stderr] warning: skipping duplicate package `app` found at `/workspace/cargo-home/git/checkouts/teaclave-sgx-sdk-be25c2ad2f03718d/8f065be/samplecode/mio/server/app` [INFO] [stderr] warning: skipping duplicate package `app` found at `/workspace/cargo-home/git/checkouts/teaclave-sgx-sdk-be25c2ad2f03718d/8f065be/samplecode/mio/client/app` [INFO] [stderr] warning: skipping duplicate package `app` found at `/workspace/cargo-home/git/checkouts/teaclave-sgx-sdk-be25c2ad2f03718d/8f065be/samplecode/machine-learning/app` [INFO] [stderr] warning: skipping duplicate package `app` found at `/workspace/cargo-home/git/checkouts/teaclave-sgx-sdk-be25c2ad2f03718d/8f065be/samplecode/db-proxy/db-proxy/app` [INFO] [stderr] warning: skipping duplicate package `app` found at `/workspace/cargo-home/git/checkouts/teaclave-sgx-sdk-be25c2ad2f03718d/8f065be/samplecode/tls/tlsclient/app` [INFO] [stderr] warning: skipping duplicate package `app` found at `/workspace/cargo-home/git/checkouts/teaclave-sgx-sdk-be25c2ad2f03718d/8f065be/samplecode/tls/tlsserver/app` [INFO] [stderr] warning: skipping duplicate package `app` found at `/workspace/cargo-home/git/checkouts/teaclave-sgx-sdk-be25c2ad2f03718d/8f065be/samplecode/http_req/app` [INFO] [stderr] warning: skipping duplicate package `app` found at `/workspace/cargo-home/git/checkouts/teaclave-sgx-sdk-be25c2ad2f03718d/8f065be/samplecode/sgx-cov/app` [INFO] [stderr] warning: skipping duplicate package `app` found at `/workspace/cargo-home/git/checkouts/teaclave-sgx-sdk-be25c2ad2f03718d/8f065be/samplecode/logger/app` [INFO] [stderr] warning: skipping duplicate package `app` found at `/workspace/cargo-home/git/checkouts/teaclave-sgx-sdk-be25c2ad2f03718d/8f065be/samplecode/unit-test/app` [INFO] [stderr] warning: skipping duplicate package `app` found at `/workspace/cargo-home/git/checkouts/teaclave-sgx-sdk-be25c2ad2f03718d/8f065be/samplecode/zlib-lazy-static-sample/app` [INFO] [stderr] warning: skipping duplicate package `Helloworldsampleenclave` found at `/workspace/cargo-home/git/checkouts/teaclave-sgx-sdk-be25c2ad2f03718d/8f065be/samplecode/helloworld/enclave` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:9db6adea6fe108e8475f2314ed6ea91319efc655499b550640da2809d69ffe6a" "/opt/rustwide/cargo-home/bin/cargo" "+2f3c33065a16f1030e8d2f90241df3b4bea01e77" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9a69b7f1c59da0e7636d8a09ed07a1653c2a813380f1248387998704e13bd850 [INFO] running `Command { std: "docker" "start" "-a" "9a69b7f1c59da0e7636d8a09ed07a1653c2a813380f1248387998704e13bd850", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9a69b7f1c59da0e7636d8a09ed07a1653c2a813380f1248387998704e13bd850", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9a69b7f1c59da0e7636d8a09ed07a1653c2a813380f1248387998704e13bd850", kill_on_drop: false }` [INFO] [stdout] 9a69b7f1c59da0e7636d8a09ed07a1653c2a813380f1248387998704e13bd850 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "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:9db6adea6fe108e8475f2314ed6ea91319efc655499b550640da2809d69ffe6a" "/opt/rustwide/cargo-home/bin/cargo" "+2f3c33065a16f1030e8d2f90241df3b4bea01e77" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 05080dd5d2aa234f21a0829d09d79dd8f157f64c12bb9e40121d10f6c06c260f [INFO] running `Command { std: "docker" "start" "-a" "05080dd5d2aa234f21a0829d09d79dd8f157f64c12bb9e40121d10f6c06c260f", kill_on_drop: false }` [INFO] [stderr] warning: skipping duplicate package `PCKIDRetrievalTool` found at `/opt/rustwide/cargo-home/git/checkouts/teaclave-sgx-sdk-be25c2ad2f03718d/8f065be/samplecode/dcap-pckretrieval/app` [INFO] [stderr] warning: skipping duplicate package `ue_send_recv` found at `/opt/rustwide/cargo-home/git/checkouts/teaclave-sgx-sdk-be25c2ad2f03718d/8f065be/samplecode/pcl/pcl-seal/enclave/ue_send_recv` [INFO] [stderr] warning: skipping duplicate package `app` found at `/opt/rustwide/cargo-home/git/checkouts/teaclave-sgx-sdk-be25c2ad2f03718d/8f065be/samplecode/pcl/pcl-seal/app` [INFO] [stderr] warning: skipping duplicate package `app` found at `/opt/rustwide/cargo-home/git/checkouts/teaclave-sgx-sdk-be25c2ad2f03718d/8f065be/samplecode/ue-ra/ue-ra-server/app` [INFO] [stderr] warning: skipping duplicate package `Helloworldsampleenclave` found at `/opt/rustwide/cargo-home/git/checkouts/teaclave-sgx-sdk-be25c2ad2f03718d/8f065be/samplecode/tcmalloc/enclave` [INFO] [stderr] warning: skipping duplicate package `app` found at `/opt/rustwide/cargo-home/git/checkouts/teaclave-sgx-sdk-be25c2ad2f03718d/8f065be/samplecode/tcmalloc/app` [INFO] [stderr] warning: skipping duplicate package `app` found at `/opt/rustwide/cargo-home/git/checkouts/teaclave-sgx-sdk-be25c2ad2f03718d/8f065be/samplecode/tr-mpc/tr-mpc-server/app` [INFO] [stderr] warning: skipping duplicate package `Helloworldsampleenclave` found at `/opt/rustwide/cargo-home/git/checkouts/teaclave-sgx-sdk-be25c2ad2f03718d/8f065be/samplecode/prost-protobuf/enclave` [INFO] [stderr] warning: skipping duplicate package `app` found at `/opt/rustwide/cargo-home/git/checkouts/teaclave-sgx-sdk-be25c2ad2f03718d/8f065be/samplecode/prost-protobuf/app` [INFO] [stderr] warning: skipping duplicate package `Helloworldsampleenclave` found at `/opt/rustwide/cargo-home/git/checkouts/teaclave-sgx-sdk-be25c2ad2f03718d/8f065be/samplecode/hello-rust/enclave` [INFO] [stderr] warning: skipping duplicate package `app` found at `/opt/rustwide/cargo-home/git/checkouts/teaclave-sgx-sdk-be25c2ad2f03718d/8f065be/samplecode/hello-rust/app` [INFO] [stderr] warning: skipping duplicate package `app` found at `/opt/rustwide/cargo-home/git/checkouts/teaclave-sgx-sdk-be25c2ad2f03718d/8f065be/samplecode/protobuf/app` [INFO] [stderr] warning: skipping duplicate package `app` found at `/opt/rustwide/cargo-home/git/checkouts/teaclave-sgx-sdk-be25c2ad2f03718d/8f065be/samplecode/static-data-distribution/app` [INFO] [stderr] warning: skipping duplicate package `Helloworldsampleenclave` found at `/opt/rustwide/cargo-home/git/checkouts/teaclave-sgx-sdk-be25c2ad2f03718d/8f065be/samplecode/hello-rust-vscode-debug/enclave` [INFO] [stderr] warning: skipping duplicate package `app` found at `/opt/rustwide/cargo-home/git/checkouts/teaclave-sgx-sdk-be25c2ad2f03718d/8f065be/samplecode/hello-rust-vscode-debug/app` [INFO] [stderr] warning: skipping duplicate package `Helloworldsampleenclave` found at `/opt/rustwide/cargo-home/git/checkouts/teaclave-sgx-sdk-be25c2ad2f03718d/8f065be/samplecode/kvdb-memdb/enclave` [INFO] [stderr] warning: skipping duplicate package `app` found at `/opt/rustwide/cargo-home/git/checkouts/teaclave-sgx-sdk-be25c2ad2f03718d/8f065be/samplecode/kvdb-memdb/app` [INFO] [stderr] warning: skipping duplicate package `app` found at `/opt/rustwide/cargo-home/git/checkouts/teaclave-sgx-sdk-be25c2ad2f03718d/8f065be/samplecode/wasmi/app` [INFO] [stderr] warning: skipping duplicate package `Helloworldsampleenclave` found at `/opt/rustwide/cargo-home/git/checkouts/teaclave-sgx-sdk-be25c2ad2f03718d/8f065be/samplecode/net2/enclave` [INFO] [stderr] warning: skipping duplicate package `app` found at `/opt/rustwide/cargo-home/git/checkouts/teaclave-sgx-sdk-be25c2ad2f03718d/8f065be/samplecode/net2/app` [INFO] [stderr] warning: skipping duplicate package `app` found at `/opt/rustwide/cargo-home/git/checkouts/teaclave-sgx-sdk-be25c2ad2f03718d/8f065be/samplecode/mutual-ra/app` [INFO] [stderr] warning: skipping duplicate package `app` found at `/opt/rustwide/cargo-home/git/checkouts/teaclave-sgx-sdk-be25c2ad2f03718d/8f065be/samplecode/mio/server/app` [INFO] [stderr] warning: skipping duplicate package `app` found at `/opt/rustwide/cargo-home/git/checkouts/teaclave-sgx-sdk-be25c2ad2f03718d/8f065be/samplecode/mio/client/app` [INFO] [stderr] warning: skipping duplicate package `app` found at `/opt/rustwide/cargo-home/git/checkouts/teaclave-sgx-sdk-be25c2ad2f03718d/8f065be/samplecode/machine-learning/app` [INFO] [stderr] warning: skipping duplicate package `app` found at `/opt/rustwide/cargo-home/git/checkouts/teaclave-sgx-sdk-be25c2ad2f03718d/8f065be/samplecode/db-proxy/db-proxy/app` [INFO] [stderr] warning: skipping duplicate package `app` found at `/opt/rustwide/cargo-home/git/checkouts/teaclave-sgx-sdk-be25c2ad2f03718d/8f065be/samplecode/tls/tlsclient/app` [INFO] [stderr] warning: skipping duplicate package `app` found at `/opt/rustwide/cargo-home/git/checkouts/teaclave-sgx-sdk-be25c2ad2f03718d/8f065be/samplecode/tls/tlsserver/app` [INFO] [stderr] warning: skipping duplicate package `app` found at `/opt/rustwide/cargo-home/git/checkouts/teaclave-sgx-sdk-be25c2ad2f03718d/8f065be/samplecode/http_req/app` [INFO] [stderr] warning: skipping duplicate package `app` found at `/opt/rustwide/cargo-home/git/checkouts/teaclave-sgx-sdk-be25c2ad2f03718d/8f065be/samplecode/sgx-cov/app` [INFO] [stderr] warning: skipping duplicate package `app` found at `/opt/rustwide/cargo-home/git/checkouts/teaclave-sgx-sdk-be25c2ad2f03718d/8f065be/samplecode/logger/app` [INFO] [stderr] warning: skipping duplicate package `app` found at `/opt/rustwide/cargo-home/git/checkouts/teaclave-sgx-sdk-be25c2ad2f03718d/8f065be/samplecode/unit-test/app` [INFO] [stderr] warning: skipping duplicate package `app` found at `/opt/rustwide/cargo-home/git/checkouts/teaclave-sgx-sdk-be25c2ad2f03718d/8f065be/samplecode/zlib-lazy-static-sample/app` [INFO] [stderr] warning: skipping duplicate package `Helloworldsampleenclave` found at `/opt/rustwide/cargo-home/git/checkouts/teaclave-sgx-sdk-be25c2ad2f03718d/8f065be/samplecode/helloworld/enclave` [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 libc v0.2.74 [INFO] [stderr] Compiling serde_derive v1.0.115 [INFO] [stderr] Compiling serde v1.0.115 [INFO] [stderr] Compiling ryu v1.0.5 [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 log v0.4.11 [INFO] [stderr] Compiling doc-comment v0.3.3 [INFO] [stderr] Compiling unicode-width v0.1.8 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling typenum v1.12.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 strsim v0.8.0 [INFO] [stderr] Compiling version_check v0.9.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] Checking sgx_types v1.1.2 (https://github.com/apache/teaclave-sgx-sdk.git?rev=v1.1.2#8f065be7) [INFO] [stderr] Checking opaque-debug v0.3.0 [INFO] [stderr] Checking parity-wasm v0.41.0 [INFO] [stderr] Checking hex v0.4.2 [INFO] [stderr] Checking base64 v0.12.3 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Compiling cmake v0.1.44 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling clap v2.33.2 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Checking sgx_urts v1.1.2 (https://github.com/apache/teaclave-sgx-sdk.git?rev=v1.1.2#8f065be7) [INFO] [stderr] Checking memmap v0.7.0 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling wabt-sys v0.6.1 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Checking digest v0.9.0 [INFO] [stderr] Checking block-buffer v0.9.0 [INFO] [stderr] Checking sha2 v0.9.1 [INFO] [stderr] Compiling tempfile v3.1.0 [INFO] [stderr] Compiling serde_derive_internals v0.25.0 [INFO] [stderr] Compiling schemars_derive v0.7.6 [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 thiserror v1.0.20 [INFO] [stderr] Checking snafu v0.6.8 [INFO] [stderr] Checking serde-json-wasm v0.2.1 [INFO] [stderr] Compiling toml v0.5.6 [INFO] [stderr] Checking wabt v0.9.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] [stderr] Compiling enclave-ffi-types v0.1.0 (/opt/rustwide/workdir/packages/enclave-ffi-types) [INFO] [stderr] Checking 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] | ^^^^^^^ use of undeclared type `NonNull` [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 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[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: internal compiler error: compiler/rustc_hir_typeck/src/fn_ctxt/_impl.rs:133:13: no type for local variable local let ptr = alloc_func.call(10)?; (hir_id=HirId { owner: OwnerId { def_id: DefId(0:1263 ~ cosmwasm_sgx_vm[cb8f]::context::test::with_func_from_context_works#1) }, local_id: 69 }) [INFO] [stdout] --> packages/sgx-vm/src/context.rs:594:13 [INFO] [stdout] | [INFO] [stdout] 594 | let ptr = alloc_func.call(10)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] thread 'rustc' panicked at 'Box', /rustc/2f3c33065a16f1030e8d2f90241df3b4bea01e77/compiler/rustc_errors/src/lib.rs:973:33 [INFO] [stderr] stack backtrace: [INFO] [stderr] 0: 0x7f6c9c7eda7a - std::backtrace_rs::backtrace::libunwind::trace::h1946339b635c2023 [INFO] [stderr] at /rustc/2f3c33065a16f1030e8d2f90241df3b4bea01e77/library/std/src/../../backtrace/src/backtrace/libunwind.rs:93:5 [INFO] [stderr] 1: 0x7f6c9c7eda7a - std::backtrace_rs::backtrace::trace_unsynchronized::h3088487216d67579 [INFO] [stderr] at /rustc/2f3c33065a16f1030e8d2f90241df3b4bea01e77/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5 [INFO] [stderr] 2: 0x7f6c9c7eda7a - std::sys_common::backtrace::_print_fmt::hd5ec55edcb81c8fc [INFO] [stderr] at /rustc/2f3c33065a16f1030e8d2f90241df3b4bea01e77/library/std/src/sys_common/backtrace.rs:65:5 [INFO] [stderr] 3: 0x7f6c9c7eda7a - ::fmt::h858338ba7ac09c0f [INFO] [stderr] at /rustc/2f3c33065a16f1030e8d2f90241df3b4bea01e77/library/std/src/sys_common/backtrace.rs:44:22 [INFO] [stderr] 4: 0x7f6c9c8507ae - core::fmt::write::hc50c8e45053b5e48 [INFO] [stderr] at /rustc/2f3c33065a16f1030e8d2f90241df3b4bea01e77/library/core/src/fmt/mod.rs:1208:17 [INFO] [stderr] 5: 0x7f6c9c7dde45 - std::io::Write::write_fmt::h1d53f5306c12af1d [INFO] [stderr] at /rustc/2f3c33065a16f1030e8d2f90241df3b4bea01e77/library/std/src/io/mod.rs:1682:15 [INFO] [stderr] 6: 0x7f6c9c7ed845 - std::sys_common::backtrace::_print::hb37a96c9d9ca140f [INFO] [stderr] at /rustc/2f3c33065a16f1030e8d2f90241df3b4bea01e77/library/std/src/sys_common/backtrace.rs:47:5 [INFO] [stderr] 7: 0x7f6c9c7ed845 - std::sys_common::backtrace::print::h4e359386fc98f9a0 [INFO] [stderr] at /rustc/2f3c33065a16f1030e8d2f90241df3b4bea01e77/library/std/src/sys_common/backtrace.rs:34:9 [INFO] [stderr] 8: 0x7f6c9c7f058f - std::panicking::default_hook::{{closure}}::h3576655a0146331d [INFO] [stderr] at /rustc/2f3c33065a16f1030e8d2f90241df3b4bea01e77/library/std/src/panicking.rs:267:22 [INFO] [stderr] 9: 0x7f6c9c7f02cb - std::panicking::default_hook::h228d721cd6938e8c [INFO] [stderr] at /rustc/2f3c33065a16f1030e8d2f90241df3b4bea01e77/library/std/src/panicking.rs:286:9 [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)]` on by default [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: 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: associated function `signature` is never used [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: associated function `signature` is never used [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: associated function `signature` is never used [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] [stderr] 10: 0x7f6c9fac6b61 - rustc_driver[31f4d5eed8140992]::DEFAULT_HOOK::{closure#0}::{closure#0} [INFO] [stderr] 11: 0x7f6c9c7f0dcd - as core::ops::function::Fn>::call::hf2f14698789df1ea [INFO] [stderr] at /rustc/2f3c33065a16f1030e8d2f90241df3b4bea01e77/library/alloc/src/boxed.rs:2032:9 [INFO] [stderr] 12: 0x7f6c9c7f0dcd - std::panicking::rust_panic_with_hook::h0e84fd61f72c02c2 [INFO] [stderr] at /rustc/2f3c33065a16f1030e8d2f90241df3b4bea01e77/library/std/src/panicking.rs:692:13 [INFO] [stderr] 13: 0x7f6c9fc8a371 - std[a805365589de6cb3]::panicking::begin_panic::::{closure#0} [INFO] [stderr] 14: 0x7f6c9fc88a36 - std[a805365589de6cb3]::sys_common::backtrace::__rust_end_short_backtrace::::{closure#0}, !> [INFO] [stderr] 15: 0x7f6c9fcf0f86 - std[a805365589de6cb3]::panicking::begin_panic:: [INFO] [stderr] 16: 0x7f6c9fcd9396 - std[a805365589de6cb3]::panic::panic_any:: [INFO] [stderr] 17: 0x7f6c9fcd5fa2 - ::span_bug:: [INFO] [stderr] 18: 0x7f6c9fcd5c67 - ::span_bug:: [INFO] [stderr] 19: 0x7f6c9fcc3af9 - rustc_middle[3cfb7dbbe80071]::ty::context::tls::with_context_opt::::{closure#0}, ()>::{closure#0}, ()> [INFO] [stderr] 20: 0x7f6c9fcc2ba6 - rustc_middle[3cfb7dbbe80071]::util::bug::opt_span_bug_fmt:: [INFO] [stderr] 21: 0x7f6c9dd73304 - rustc_middle[3cfb7dbbe80071]::util::bug::span_bug_fmt:: [INFO] [stderr] 22: 0x7f6c9de797b1 - ::visit_local [INFO] [stderr] 23: 0x7f6c9de721e3 - ::visit_expr [INFO] [stderr] 24: 0x7f6c9de73d66 - ::visit_expr [INFO] [stderr] 25: 0x7f6c9de71f64 - ::visit_expr [INFO] [stderr] 26: 0x7f6c9de7235b - ::visit_expr [INFO] [stderr] 27: 0x7f6c9de79609 - ::visit_local [INFO] [stderr] 28: 0x7f6c9de721e3 - ::visit_expr [INFO] [stderr] 29: 0x7f6c9dee0a64 - ::resolve_type_vars_in_body [INFO] [stderr] 30: 0x7f6c9ded2198 - ::enter::::{closure#0}::{closure#1}, &rustc_middle[3cfb7dbbe80071]::ty::typeck_results::TypeckResults> [INFO] [stderr] 31: 0x7f6c9dec4148 - rustc_hir_typeck[be5b4fa739a3249e]::typeck [INFO] [stderr] 32: 0x7f6c9dec2424 - rustc_query_system[d46df1dc6f561363]::query::plumbing::try_execute_query::> [INFO] [stderr] 33: 0x7f6c9f2395b5 - rustc_data_structures[94f2c6df04927b43]::sync::par_for_each_in::<&[rustc_span[5800193bcb99efae]::def_id::LocalDefId], ::par_body_owners::{closure#0}> [INFO] [stderr] 34: 0x7f6c9f2392f3 - rustc_hir_typeck[be5b4fa739a3249e]::typeck_item_bodies [INFO] [stderr] 35: 0x7f6c9f136627 - rustc_query_system[d46df1dc6f561363]::query::plumbing::try_execute_query::> [INFO] [stderr] 36: 0x7f6c9f136330 - rustc_query_system[d46df1dc6f561363]::query::plumbing::get_query:: [INFO] [stderr] 37: 0x7f6c9dfda392 - ::time::<(), rustc_hir_analysis[3c0e82667a6c14a7]::check_crate::{closure#7}> [INFO] [stderr] 38: 0x7f6c9dfd928c - rustc_hir_analysis[3c0e82667a6c14a7]::check_crate [INFO] [stderr] 39: 0x7f6c9dfd8eab - rustc_interface[312267d6b73ebbf5]::passes::analysis [INFO] [stderr] 40: 0x7f6c9f28cfd7 - rustc_query_system[d46df1dc6f561363]::query::plumbing::try_execute_query::>> [INFO] [stderr] 41: 0x7f6c9f28ccd0 - rustc_query_system[d46df1dc6f561363]::query::plumbing::get_query:: [INFO] [stderr] 42: 0x7f6c9ed0eca3 - ::enter::> [INFO] [stderr] 43: 0x7f6c9ed0b053 - ::enter::, rustc_errors[af9412bd65157b78]::ErrorGuaranteed>> [INFO] [stderr] 44: 0x7f6c9ed06068 - rustc_span[5800193bcb99efae]::with_source_map::, rustc_interface[312267d6b73ebbf5]::interface::run_compiler, rustc_driver[31f4d5eed8140992]::run_compiler::{closure#1}>::{closure#0}::{closure#0}> [INFO] [stderr] 45: 0x7f6c9ed05b55 - >::set::, rustc_driver[31f4d5eed8140992]::run_compiler::{closure#1}>::{closure#0}, core[3191c15875310bc2]::result::Result<(), rustc_errors[af9412bd65157b78]::ErrorGuaranteed>> [INFO] [stderr] 46: 0x7f6c9ed05142 - std[a805365589de6cb3]::sys_common::backtrace::__rust_begin_short_backtrace::, rustc_driver[31f4d5eed8140992]::run_compiler::{closure#1}>::{closure#0}, core[3191c15875310bc2]::result::Result<(), rustc_errors[af9412bd65157b78]::ErrorGuaranteed>>::{closure#0}::{closure#0}, core[3191c15875310bc2]::result::Result<(), rustc_errors[af9412bd65157b78]::ErrorGuaranteed>> [INFO] [stderr] 47: 0x7f6c9f393eca - <::spawn_unchecked_, rustc_driver[31f4d5eed8140992]::run_compiler::{closure#1}>::{closure#0}, core[3191c15875310bc2]::result::Result<(), rustc_errors[af9412bd65157b78]::ErrorGuaranteed>>::{closure#0}::{closure#0}, core[3191c15875310bc2]::result::Result<(), rustc_errors[af9412bd65157b78]::ErrorGuaranteed>>::{closure#1} as core[3191c15875310bc2]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0} [INFO] [stderr] 48: 0x7f6c9c7fadc3 - as core::ops::function::FnOnce>::call_once::h25b7978a0f996e19 [INFO] [stderr] at /rustc/2f3c33065a16f1030e8d2f90241df3b4bea01e77/library/alloc/src/boxed.rs:2000:9 [INFO] [stderr] 49: 0x7f6c9c7fadc3 - as core::ops::function::FnOnce>::call_once::ha681a89ff80c4a7d [INFO] [stderr] at /rustc/2f3c33065a16f1030e8d2f90241df3b4bea01e77/library/alloc/src/boxed.rs:2000:9 [INFO] [stderr] 50: 0x7f6c9c7fadc3 - std::sys::unix::thread::Thread::new::thread_start::h804fa0152eb10614 [INFO] [stderr] at /rustc/2f3c33065a16f1030e8d2f90241df3b4bea01e77/library/std/src/sys/unix/thread.rs:108:17 [INFO] [stderr] 51: 0x7f6c9c69b609 - start_thread [INFO] [stderr] 52: 0x7f6c9c5be133 - clone [INFO] [stderr] 53: 0x0 - [INFO] [stderr] [INFO] [stderr] note: the compiler unexpectedly panicked. this is a bug. [INFO] [stderr] [INFO] [stderr] note: we would appreciate a bug report: https://github.com/rust-lang/rust/issues/new?labels=C-bug%2C+I-ICE%2C+T-compiler&template=ice.md [INFO] [stderr] [INFO] [stderr] note: rustc 1.68.0-nightly (2f3c33065 2022-12-22) running on x86_64-unknown-linux-gnu [INFO] [stderr] [INFO] [stderr] note: compiler flags: -C embed-bitcode=no -C debuginfo=2 [INFO] [stderr] [INFO] [stderr] note: some of the compiler flags provided by cargo are hidden [INFO] [stderr] [INFO] [stderr] query stack during panic: [INFO] [stderr] #0 [typeck] type-checking `context::test::with_func_from_context_works` [INFO] [stderr] #1 [typeck_item_bodies] type-checking all item bodies [INFO] [stderr] #2 [analysis] running analysis passes on this crate [INFO] [stderr] end of query stack [INFO] [stdout] warning: 6 warnings emitted [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 function `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 function 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 function `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 function 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[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` 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 struct [INFO] [stdout] ... [INFO] [stdout] 433 | match instance.func::<(), ()>(missing_function).err().unwrap() { [INFO] [stdout] | ^^^^ method not found in `Instance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `func` found for struct `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 struct [INFO] [stdout] ... [INFO] [stdout] 445 | match instance.func::<(), ()>("allocate").err().unwrap() { [INFO] [stdout] | ^^^^ method not found in `Instance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `allocate` found for struct `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 struct [INFO] [stdout] ... [INFO] [stdout] 471 | let region_ptr = instance.allocate(size).expect("error allocating"); [INFO] [stdout] | ^^^^^^^^ method not found in `Instance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `deallocate` found for struct `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 struct [INFO] [stdout] ... [INFO] [stdout] 472 | instance.deallocate(region_ptr).expect("error deallocating"); [INFO] [stdout] | ^^^^^^^^^^ method not found in `Instance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `allocate` found for struct `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 struct [INFO] [stdout] ... [INFO] [stdout] 494 | let region_ptr = instance.allocate(size).expect("error allocating"); [INFO] [stdout] | ^^^^^^^^ method not found in `Instance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `write_memory` found for struct `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 struct [INFO] [stdout] ... [INFO] [stdout] 497 | .write_memory(region_ptr, &original) [INFO] [stdout] | ^^^^^^^^^^^^ method not found in `Instance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `read_memory` found for struct `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 struct [INFO] [stdout] ... [INFO] [stdout] 500 | .read_memory(region_ptr, size) [INFO] [stdout] | ^^^^^^^^^^^ method not found in `Instance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `deallocate` found for struct `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 struct [INFO] [stdout] ... [INFO] [stdout] 503 | instance.deallocate(region_ptr).expect("error deallocating"); [INFO] [stdout] | ^^^^^^^^^^ method not found in `Instance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `allocate` found for struct `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 struct [INFO] [stdout] ... [INFO] [stdout] 535 | let region_ptr = instance.allocate(length).expect("error allocating"); [INFO] [stdout] | ^^^^^^^^ method not found in `Instance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `write_memory` found for struct `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 struct [INFO] [stdout] ... [INFO] [stdout] 538 | .write_memory(region_ptr, &data) [INFO] [stdout] | ^^^^^^^^^^^^ method not found in `Instance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `read_memory` found for struct `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 struct [INFO] [stdout] ... [INFO] [stdout] 541 | let result = instance.read_memory(region_ptr, max_length); [INFO] [stdout] | ^^^^^^^^^^^ method not found in `Instance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `deallocate` found for struct `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 struct [INFO] [stdout] ... [INFO] [stdout] 555 | instance.deallocate(region_ptr).expect("error deallocating"); [INFO] [stdout] | ^^^^^^^^^^ method not found in `Instance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get_memory_size` found for struct `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 struct [INFO] [stdout] ... [INFO] [stdout] 562 | assert_eq!(instance.get_memory_size(), 17 * WASM_PAGE_SIZE); [INFO] [stdout] | ^^^^^^^^^^^^^^^ method not found in `Instance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `allocate` found for struct `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 struct [INFO] [stdout] ... [INFO] [stdout] 565 | let region_ptr = instance.allocate(100 * 1024).expect("error allocating"); [INFO] [stdout] | ^^^^^^^^ method not found in `Instance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get_memory_size` found for struct `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 struct [INFO] [stdout] ... [INFO] [stdout] 567 | assert_eq!(instance.get_memory_size(), 19 * WASM_PAGE_SIZE); [INFO] [stdout] | ^^^^^^^^^^^^^^^ method not found in `Instance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `deallocate` found for struct `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 struct [INFO] [stdout] ... [INFO] [stdout] 570 | instance.deallocate(region_ptr).expect("error deallocating"); [INFO] [stdout] | ^^^^^^^^^^ method not found in `Instance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get_memory_size` found for struct `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 struct [INFO] [stdout] ... [INFO] [stdout] 571 | assert_eq!(instance.get_memory_size(), 19 * WASM_PAGE_SIZE); [INFO] [stdout] | ^^^^^^^^^^^^^^^ method not found in `Instance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 62 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" "05080dd5d2aa234f21a0829d09d79dd8f157f64c12bb9e40121d10f6c06c260f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "05080dd5d2aa234f21a0829d09d79dd8f157f64c12bb9e40121d10f6c06c260f", kill_on_drop: false }` [INFO] [stdout] 05080dd5d2aa234f21a0829d09d79dd8f157f64c12bb9e40121d10f6c06c260f