[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#d4bd6c543d189dee2fa075d0b37e31ddc7d111a4 for pr-106073 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fenigmampc%2Fcosmwasm" "/workspace/builds/worker-3/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/enigmampc/cosmwasm on toolchain d4bd6c543d189dee2fa075d0b37e31ddc7d111a4 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+d4bd6c543d189dee2fa075d0b37e31ddc7d111a4" "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-3/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" "+d4bd6c543d189dee2fa075d0b37e31ddc7d111a4" "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-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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" "+d4bd6c543d189dee2fa075d0b37e31ddc7d111a4" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d0386fe802947e808bd4eb503b505098112da30d0d80b4479ea63e73b30c4fe8 [INFO] running `Command { std: "docker" "start" "-a" "d0386fe802947e808bd4eb503b505098112da30d0d80b4479ea63e73b30c4fe8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d0386fe802947e808bd4eb503b505098112da30d0d80b4479ea63e73b30c4fe8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d0386fe802947e808bd4eb503b505098112da30d0d80b4479ea63e73b30c4fe8", kill_on_drop: false }` [INFO] [stdout] d0386fe802947e808bd4eb503b505098112da30d0d80b4479ea63e73b30c4fe8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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" "+d4bd6c543d189dee2fa075d0b37e31ddc7d111a4" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a4edec0598300129086d706a00d885db3c5b0acd385ed95a01cbab4e3a12eca9 [INFO] running `Command { std: "docker" "start" "-a" "a4edec0598300129086d706a00d885db3c5b0acd385ed95a01cbab4e3a12eca9", 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 doc-comment v0.3.3 [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 unicode-width v0.1.8 [INFO] [stderr] Compiling cbindgen v0.13.2 [INFO] [stderr] Compiling typenum v1.12.0 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling remove_dir_all v0.5.3 [INFO] [stderr] Compiling vec_map v0.8.2 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling ansi_term v0.11.0 [INFO] [stderr] Compiling version_check v0.9.2 [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 opaque-debug v0.3.0 [INFO] [stderr] Checking sgx_types v1.1.2 (https://github.com/apache/teaclave-sgx-sdk.git?rev=v1.1.2#8f065be7) [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking parity-wasm v0.41.0 [INFO] [stderr] Checking base64 v0.12.3 [INFO] [stderr] Checking hex v0.4.2 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Compiling cmake v0.1.44 [INFO] [stderr] Compiling atty v0.2.14 [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 clap v2.33.2 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Compiling wabt-sys v0.6.1 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking block-buffer v0.9.0 [INFO] [stderr] Checking digest 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 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[50e1]::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/d4bd6c543d189dee2fa075d0b37e31ddc7d111a4/compiler/rustc_errors/src/lib.rs:973:33 [INFO] [stderr] stack backtrace: [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] 0: 0x7f80f21b9a7a - std::backtrace_rs::backtrace::libunwind::trace::h3b7c2b646ee7f9ec [INFO] [stderr] at /rustc/d4bd6c543d189dee2fa075d0b37e31ddc7d111a4/library/std/src/../../backtrace/src/backtrace/libunwind.rs:93:5 [INFO] [stderr] 1: 0x7f80f21b9a7a - std::backtrace_rs::backtrace::trace_unsynchronized::h1b927fca9b7ee506 [INFO] [stderr] at /rustc/d4bd6c543d189dee2fa075d0b37e31ddc7d111a4/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5 [INFO] [stderr] 2: 0x7f80f21b9a7a - std::sys_common::backtrace::_print_fmt::h10ae608444ab7816 [INFO] [stderr] at /rustc/d4bd6c543d189dee2fa075d0b37e31ddc7d111a4/library/std/src/sys_common/backtrace.rs:65:5 [INFO] [stderr] 3: 0x7f80f21b9a7a - ::fmt::ha68eca230a760f76 [INFO] [stderr] at /rustc/d4bd6c543d189dee2fa075d0b37e31ddc7d111a4/library/std/src/sys_common/backtrace.rs:44:22 [INFO] [stderr] 4: 0x7f80f221c7ae - core::fmt::write::hc8e2b265e29726fa [INFO] [stderr] at /rustc/d4bd6c543d189dee2fa075d0b37e31ddc7d111a4/library/core/src/fmt/mod.rs:1208:17 [INFO] [stderr] 5: 0x7f80f21a9e45 - std::io::Write::write_fmt::h9e4be8a7609c4f2f [INFO] [stderr] at /rustc/d4bd6c543d189dee2fa075d0b37e31ddc7d111a4/library/std/src/io/mod.rs:1682:15 [INFO] [stderr] 6: 0x7f80f21b9845 - std::sys_common::backtrace::_print::h673ef5fd934dcd13 [INFO] [stderr] at /rustc/d4bd6c543d189dee2fa075d0b37e31ddc7d111a4/library/std/src/sys_common/backtrace.rs:47:5 [INFO] [stderr] 7: 0x7f80f21b9845 - std::sys_common::backtrace::print::h93484b8c78ab2ad4 [INFO] [stderr] at /rustc/d4bd6c543d189dee2fa075d0b37e31ddc7d111a4/library/std/src/sys_common/backtrace.rs:34:9 [INFO] [stderr] 8: 0x7f80f21bc58f - std::panicking::default_hook::{{closure}}::heca9e3c4c1ba2a65 [INFO] [stderr] at /rustc/d4bd6c543d189dee2fa075d0b37e31ddc7d111a4/library/std/src/panicking.rs:267:22 [INFO] [stderr] 9: 0x7f80f21bc2cb - std::panicking::default_hook::h48d2c50e2ed1b5c4 [INFO] [stderr] at /rustc/d4bd6c543d189dee2fa075d0b37e31ddc7d111a4/library/std/src/panicking.rs:286:9 [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] 10: 0x7f80f54a5a21 - >::call_once::{shim:vtable#0} [INFO] [stderr] 11: 0x7f80f21bcdcd - as core::ops::function::Fn>::call::hd8e49a0ed67e4170 [INFO] [stderr] at /rustc/d4bd6c543d189dee2fa075d0b37e31ddc7d111a4/library/alloc/src/boxed.rs:2032:9 [INFO] [stderr] 12: 0x7f80f21bcdcd - std::panicking::rust_panic_with_hook::hef7167ba9254c26f [INFO] [stderr] at /rustc/d4bd6c543d189dee2fa075d0b37e31ddc7d111a4/library/std/src/panicking.rs:692:13 [INFO] [stderr] 13: 0x7f80f5669991 - std[2c91e0c0d0b830b3]::panicking::begin_panic::::{closure#0} [INFO] [stderr] 14: 0x7f80f5667f36 - std[2c91e0c0d0b830b3]::sys_common::backtrace::__rust_end_short_backtrace::::{closure#0}, !> [INFO] [stderr] 15: 0x7f80f56daaa6 - std[2c91e0c0d0b830b3]::panicking::begin_panic:: [INFO] [stderr] 16: 0x7f80f56d0976 - std[2c91e0c0d0b830b3]::panic::panic_any:: [INFO] [stderr] 17: 0x7f80f56cef52 - ::span_bug:: [INFO] [stderr] 18: 0x7f80f56ced17 - ::span_bug:: [INFO] [stderr] 19: 0x7f80f56a3099 - rustc_middle[415bbef6658219c8]::ty::context::tls::with_context_opt::::{closure#0}, ()>::{closure#0}, ()> [INFO] [stderr] 20: 0x7f80f56a2666 - rustc_middle[415bbef6658219c8]::util::bug::opt_span_bug_fmt:: [INFO] [stderr] 21: 0x7f80f38233b4 - rustc_middle[415bbef6658219c8]::util::bug::span_bug_fmt:: [INFO] [stderr] 22: 0x7f80f3917641 - ::visit_local [INFO] [stderr] 23: 0x7f80f390b903 - ::visit_expr [INFO] [stderr] 24: 0x7f80f390d486 - ::visit_expr [INFO] [stderr] 25: 0x7f80f390b684 - ::visit_expr [INFO] [stderr] 26: 0x7f80f390ba7b - ::visit_expr [INFO] [stderr] 27: 0x7f80f3917499 - ::visit_local [INFO] [stderr] 28: 0x7f80f390b903 - ::visit_expr [INFO] [stderr] 29: 0x7f80f3a510d4 - ::resolve_type_vars_in_body [INFO] [stderr] 30: 0x7f80f3a43d4e - ::enter::::{closure#0}::{closure#1}, &rustc_middle[415bbef6658219c8]::ty::typeck_results::TypeckResults> [INFO] [stderr] 31: 0x7f80f3a35e78 - rustc_hir_typeck[6380b4e2c82e01b2]::typeck [INFO] [stderr] 32: 0x7f80f3a34154 - rustc_query_system[b48a97c5c44fa9c3]::query::plumbing::try_execute_query::> [INFO] [stderr] 33: 0x7f80f4c0b445 - rustc_data_structures[e3961f3af5a2c0b6]::sync::par_for_each_in::<&[rustc_span[665da14336b27776]::def_id::LocalDefId], ::par_body_owners::{closure#0}> [INFO] [stderr] 34: 0x7f80f4c0b183 - rustc_hir_typeck[6380b4e2c82e01b2]::typeck_item_bodies [INFO] [stderr] 35: 0x7f80f4b6d8c7 - rustc_query_system[b48a97c5c44fa9c3]::query::plumbing::try_execute_query::> [INFO] [stderr] 36: 0x7f80f4b6d5d0 - rustc_query_system[b48a97c5c44fa9c3]::query::plumbing::get_query:: [INFO] [stderr] 37: 0x7f80f3a0c712 - ::time::<(), rustc_hir_analysis[9d4b93e6b9d0368f]::check_crate::{closure#7}> [INFO] [stderr] 38: 0x7f80f3a0b60c - rustc_hir_analysis[9d4b93e6b9d0368f]::check_crate [INFO] [stderr] 39: 0x7f80f3a0b22b - rustc_interface[53667e6fcc93bd7]::passes::analysis [INFO] [stderr] 40: 0x7f80f4c5f1c7 - rustc_query_system[b48a97c5c44fa9c3]::query::plumbing::try_execute_query::>> [INFO] [stderr] 41: 0x7f80f4c5eec0 - rustc_query_system[b48a97c5c44fa9c3]::query::plumbing::get_query:: [INFO] [stderr] 42: 0x7f80f46e3703 - ::enter::> [INFO] [stderr] 43: 0x7f80f46dfab3 - ::enter::, rustc_errors[dbf1c4c4e793f51f]::ErrorGuaranteed>> [INFO] [stderr] 44: 0x7f80f46daac8 - rustc_span[665da14336b27776]::with_source_map::, rustc_interface[53667e6fcc93bd7]::interface::run_compiler, rustc_driver[b546f064410505ae]::run_compiler::{closure#1}>::{closure#0}::{closure#0}> [INFO] [stderr] 45: 0x7f80f46da5b5 - >::set::, rustc_driver[b546f064410505ae]::run_compiler::{closure#1}>::{closure#0}, core[7f34b2301e369ac4]::result::Result<(), rustc_errors[dbf1c4c4e793f51f]::ErrorGuaranteed>> [INFO] [stderr] 46: 0x7f80f46d9ba2 - std[2c91e0c0d0b830b3]::sys_common::backtrace::__rust_begin_short_backtrace::, rustc_driver[b546f064410505ae]::run_compiler::{closure#1}>::{closure#0}, core[7f34b2301e369ac4]::result::Result<(), rustc_errors[dbf1c4c4e793f51f]::ErrorGuaranteed>>::{closure#0}::{closure#0}, core[7f34b2301e369ac4]::result::Result<(), rustc_errors[dbf1c4c4e793f51f]::ErrorGuaranteed>> [INFO] [stderr] 47: 0x7f80f4d6e5da - <::spawn_unchecked_, rustc_driver[b546f064410505ae]::run_compiler::{closure#1}>::{closure#0}, core[7f34b2301e369ac4]::result::Result<(), rustc_errors[dbf1c4c4e793f51f]::ErrorGuaranteed>>::{closure#0}::{closure#0}, core[7f34b2301e369ac4]::result::Result<(), rustc_errors[dbf1c4c4e793f51f]::ErrorGuaranteed>>::{closure#1} as core[7f34b2301e369ac4]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0} [INFO] [stderr] 48: 0x7f80f21c6dc3 - as core::ops::function::FnOnce>::call_once::hd76e3cfc458a7b45 [INFO] [stderr] at /rustc/d4bd6c543d189dee2fa075d0b37e31ddc7d111a4/library/alloc/src/boxed.rs:2000:9 [INFO] [stderr] 49: 0x7f80f21c6dc3 - as core::ops::function::FnOnce>::call_once::hb3d38f6b76db7795 [INFO] [stderr] at /rustc/d4bd6c543d189dee2fa075d0b37e31ddc7d111a4/library/alloc/src/boxed.rs:2000:9 [INFO] [stderr] 50: 0x7f80f21c6dc3 - std::sys::unix::thread::Thread::new::thread_start::h788e5a9d1a837c70 [INFO] [stderr] at /rustc/d4bd6c543d189dee2fa075d0b37e31ddc7d111a4/library/std/src/sys/unix/thread.rs:108:17 [INFO] [stderr] 51: 0x7f80f2067609 - start_thread [INFO] [stderr] 52: 0x7f80f1f8a133 - 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 (d4bd6c543 2022-12-23) 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] 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" "a4edec0598300129086d706a00d885db3c5b0acd385ed95a01cbab4e3a12eca9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a4edec0598300129086d706a00d885db3c5b0acd385ed95a01cbab4e3a12eca9", kill_on_drop: false }` [INFO] [stdout] a4edec0598300129086d706a00d885db3c5b0acd385ed95a01cbab4e3a12eca9