[INFO] updating cached repository https://github.com/enigmampc/secret-secret [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune", kill_on_drop: false }` [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] c1cd1ad11f8e29b958959d5128e970a9e9104403 [INFO] testing enigmampc/secret-secret against master#8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e for pr-74409 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fenigmampc%2Fsecret-secret" "/workspace/builds/worker-2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/enigmampc/secret-secret on toolchain 8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-2/source/.cargo/config [INFO] started tweaking git repo https://github.com/enigmampc/secret-secret [INFO] finished tweaking git repo https://github.com/enigmampc/secret-secret [INFO] tweaked toml for git repo https://github.com/enigmampc/secret-secret written to /workspace/builds/worker-2/source/Cargo.toml [INFO] crate git repo https://github.com/enigmampc/secret-secret already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:38e1b949b06cde1964af550a6e548bd9b2b2ea170003ae122f8fc0886596cc07" "/opt/rustwide/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 245852eaa9256b13076b941132f5277221cc4adab8afb308671ae9bfef3667fe [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "245852eaa9256b13076b941132f5277221cc4adab8afb308671ae9bfef3667fe", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "245852eaa9256b13076b941132f5277221cc4adab8afb308671ae9bfef3667fe", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "245852eaa9256b13076b941132f5277221cc4adab8afb308671ae9bfef3667fe", kill_on_drop: false }` [INFO] [stdout] 245852eaa9256b13076b941132f5277221cc4adab8afb308671ae9bfef3667fe [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env@sha256:38e1b949b06cde1964af550a6e548bd9b2b2ea170003ae122f8fc0886596cc07" "/opt/rustwide/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 274f6975511f89b31c469a3d6b4c9c5fb8e446665d2a778b1d040a5a821e4a9e [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "274f6975511f89b31c469a3d6b4c9c5fb8e446665d2a778b1d040a5a821e4a9e", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling proc-macro2 v1.0.18 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling syn v1.0.33 [INFO] [stderr] Compiling serde_derive v1.0.114 [INFO] [stderr] Compiling serde v1.0.114 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling doc-comment v0.3.3 [INFO] [stderr] Compiling serde_json v1.0.56 [INFO] [stderr] Compiling itoa v0.4.6 [INFO] [stderr] Compiling schemars v0.7.6 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Compiling serde_derive_internals v0.25.0 [INFO] [stderr] Compiling snafu-derive v0.6.8 [INFO] [stderr] Compiling schemars_derive v0.7.6 [INFO] [stderr] Compiling snafu v0.6.8 [INFO] [stderr] Compiling serde-json-wasm v0.2.1 [INFO] [stderr] Compiling bincode2 v2.0.1 [INFO] [stderr] Compiling cosmwasm-std v0.9.0-alpha1 (https://github.com/enigmampc/SecretNetwork?tag=v0.5.0-alpha2#b1710787) [INFO] [stderr] Compiling cosmwasm-storage v0.9.0-alpha1 (https://github.com/enigmampc/SecretNetwork?tag=v0.5.0-alpha2#b1710787) [INFO] [stderr] Compiling secret-secret v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `AllowanceResponse`, `BalanceResponse` [INFO] [stdout] --> src/contract.rs:5:18 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::msg::{AllowanceResponse, BalanceResponse, MigrateMsg,HandleMsg, InitMsg, QueryMsg}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `to_binary`, `to_vec` [INFO] [stdout] --> src/contract.rs:6:25 [INFO] [stdout] | [INFO] [stdout] 6 | use cosmwasm_std::{log, to_binary, to_vec, Api, Binary, CanonicalAddr, Env, Extern, HandleResponse, HumanAddr, generic_err, InitResponse,... [INFO] [stdout] | ^^^^^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Deserialize`, `Serialize` [INFO] [stdout] --> src/state.rs:2:13 [INFO] [stdout] | [INFO] [stdout] 2 | use serde::{Deserialize, Serialize}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/contract.rs:104:16 [INFO] [stdout] | [INFO] [stdout] 104 | if let Err(e) = allownace { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/contract.rs:554:9 [INFO] [stdout] | [INFO] [stdout] 554 | let mut config_store = ReadonlyPrefixedStorage::new(PREFIX_CONFIG, store); [INFO] [stdout] | ----^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1m 20s [INFO] running `Command { std: "docker" "inspect" "274f6975511f89b31c469a3d6b4c9c5fb8e446665d2a778b1d040a5a821e4a9e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "274f6975511f89b31c469a3d6b4c9c5fb8e446665d2a778b1d040a5a821e4a9e", kill_on_drop: false }` [INFO] [stdout] 274f6975511f89b31c469a3d6b4c9c5fb8e446665d2a778b1d040a5a821e4a9e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env@sha256:38e1b949b06cde1964af550a6e548bd9b2b2ea170003ae122f8fc0886596cc07" "/opt/rustwide/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f3baac4add60a2b3f63796abc1383516e65cc98033063540599086cf82d2c700 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "f3baac4add60a2b3f63796abc1383516e65cc98033063540599086cf82d2c700", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.72 [INFO] [stderr] Compiling ppv-lite86 v0.2.8 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling cbindgen v0.13.2 [INFO] [stderr] Compiling sgx_types v1.1.2 (https://github.com/apache/teaclave-sgx-sdk.git?rev=v1.1.2#8f065be7) [INFO] [stderr] Compiling parity-wasm v0.41.0 [INFO] [stderr] Compiling base64 v0.12.3 [INFO] [stderr] Compiling thiserror-impl v1.0.20 [INFO] [stderr] Compiling derive_more v0.99.9 [INFO] [stderr] Compiling block-buffer v0.7.3 [INFO] [stderr] Compiling toml v0.5.6 [INFO] [stderr] Compiling cosmwasm-schema v0.9.3 [INFO] [stdout] warning: unused imports: `AllowanceResponse`, `BalanceResponse` [INFO] [stdout] --> src/contract.rs:5:18 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::msg::{AllowanceResponse, BalanceResponse, MigrateMsg,HandleMsg, InitMsg, QueryMsg}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `to_binary`, `to_vec` [INFO] [stdout] --> src/contract.rs:6:25 [INFO] [stdout] | [INFO] [stdout] 6 | use cosmwasm_std::{log, to_binary, to_vec, Api, Binary, CanonicalAddr, Env, Extern, HandleResponse, HumanAddr, generic_err, InitResponse,... [INFO] [stdout] | ^^^^^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Deserialize`, `Serialize` [INFO] [stdout] --> src/state.rs:2:13 [INFO] [stdout] | [INFO] [stdout] 2 | use serde::{Deserialize, Serialize}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/contract.rs:104:16 [INFO] [stdout] | [INFO] [stdout] 104 | if let Err(e) = allownace { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/contract.rs:554:9 [INFO] [stdout] | [INFO] [stdout] 554 | let mut config_store = ReadonlyPrefixedStorage::new(PREFIX_CONFIG, store); [INFO] [stdout] | ----^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling sha2 v0.8.2 [INFO] [stderr] Compiling getrandom v0.1.14 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling memmap v0.7.0 [INFO] [stderr] Compiling sgx_urts v1.1.2 (https://github.com/apache/teaclave-sgx-sdk.git?rev=v1.1.2#8f065be7) [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling clap v2.33.1 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling thiserror v1.0.20 [INFO] [stderr] Compiling tempfile v3.1.0 [INFO] [stderr] Compiling enclave-ffi-types v0.1.0 (https://github.com/enigmampc/SecretNetwork?tag=v0.5.0-alpha2#b1710787) [INFO] [stderr] Compiling cosmwasm-sgx-vm v0.9.0-alpha1 (https://github.com/enigmampc/SecretNetwork?tag=v0.5.0-alpha2#b1710787) [INFO] [stdout] error[E0432]: unresolved imports `cranelift`, `crate::backends::get_gas_left` [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/secretnetwork-2885a5c51d1243af/b171078/cosmwasm/packages/sgx-vm/src/backends/mod.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 24 | pub use cranelift::{backend, compile, get_gas_left, set_gas_limit}; [INFO] [stdout] | ^^^^^^^^^ use of undeclared type or module `cranelift` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/git/checkouts/secretnetwork-2885a5c51d1243af/b171078/cosmwasm/packages/sgx-vm/src/instance.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | use crate::backends::get_gas_left; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `imports` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/secretnetwork-2885a5c51d1243af/b171078/cosmwasm/packages/sgx-vm/src/instance.rs:94:13 [INFO] [stdout] | [INFO] [stdout] 94 | imports! { move || { setup_context::(gas_limit) }, "env" => {}, }; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `imports` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/secretnetwork-2885a5c51d1243af/b171078/cosmwasm/packages/sgx-vm/src/instance.rs:98:27 [INFO] [stdout] | [INFO] [stdout] 98 | import_obj.extend(imports! { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Func` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/secretnetwork-2885a5c51d1243af/b171078/cosmwasm/packages/sgx-vm/src/calls.rs:161:23 [INFO] [stdout] | [INFO] [stdout] 161 | let func: Func = instance.func(name)?; [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use parity_wasm::elements::Func; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Func` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/secretnetwork-2885a5c51d1243af/b171078/cosmwasm/packages/sgx-vm/src/calls.rs:165:23 [INFO] [stdout] | [INFO] [stdout] 165 | let func: Func<(u32, u32), u32> = instance.func(name)?; [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use parity_wasm::elements::Func; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `NonNull` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/secretnetwork-2885a5c51d1243af/b171078/cosmwasm/packages/sgx-vm/src/context.rs:177:29 [INFO] [stdout] | [INFO] [stdout] 177 | wasmer_instance: Option>, [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 6 | use core::ptr::NonNull; [INFO] [stdout] | [INFO] [stdout] 6 | use crate::testing::calls::fmt::string::lossy::core_str::slice::NonNull; [INFO] [stdout] | [INFO] [stdout] 6 | use std::ptr::NonNull; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `WasmerInstance` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/secretnetwork-2885a5c51d1243af/b171078/cosmwasm/packages/sgx-vm/src/context.rs:177:37 [INFO] [stdout] | [INFO] [stdout] 175 | pub fn set_wasmer_instance( [INFO] [stdout] | - help: you might be missing a type parameter: `, WasmerInstance` [INFO] [stdout] 176 | ctx: &mut Ctx, [INFO] [stdout] 177 | wasmer_instance: Option>, [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `WasmTypeList` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/secretnetwork-2885a5c51d1243af/b171078/cosmwasm/packages/sgx-vm/src/context.rs:297:11 [INFO] [stdout] | [INFO] [stdout] 297 | Args: WasmTypeList, [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `WasmTypeList` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/secretnetwork-2885a5c51d1243af/b171078/cosmwasm/packages/sgx-vm/src/context.rs:298:11 [INFO] [stdout] | [INFO] [stdout] 298 | Rets: WasmTypeList, [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Func` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/secretnetwork-2885a5c51d1243af/b171078/cosmwasm/packages/sgx-vm/src/context.rs:299:22 [INFO] [stdout] | [INFO] [stdout] 299 | Callback: FnOnce(Func) -> VmResult, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 6 | use parity_wasm::elements::Func; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Wasm` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/secretnetwork-2885a5c51d1243af/b171078/cosmwasm/packages/sgx-vm/src/context.rs:299:39 [INFO] [stdout] | [INFO] [stdout] 299 | Callback: FnOnce(Func) -> VmResult, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `cosmwasm_std::CosmosMsg::Wasm` and 3 others; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 299 | Callback: FnOnce(Func) -> VmResult, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 299 | Callback: FnOnce(Func) -> VmResult, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 299 | Callback: FnOnce(Func) -> VmResult, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 289 | pub(crate) fn with_func_from_context( [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `VmError` [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/secretnetwork-2885a5c51d1243af/b171078/cosmwasm/packages/sgx-vm/src/instance.rs:167:13 [INFO] [stdout] | [INFO] [stdout] 167 | VmError::instantiation_err(format!("Error instantiating module: {:?}", original)) [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 4 | use crate::VmError; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `get_memory_info` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/secretnetwork-2885a5c51d1243af/b171078/cosmwasm/packages/sgx-vm/src/instance.rs:219:10 [INFO] [stdout] | [INFO] [stdout] 219 | (get_memory_info(self.inner.context()).size as u64) * 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] --> /opt/rustwide/cargo-home/git/checkouts/secretnetwork-2885a5c51d1243af/b171078/cosmwasm/packages/sgx-vm/src/instance.rs:219:63 [INFO] [stdout] | [INFO] [stdout] 219 | (get_memory_info(self.inner.context()).size as u64) * WASM_PAGE_SIZE [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Func` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/secretnetwork-2885a5c51d1243af/b171078/cosmwasm/packages/sgx-vm/src/instance.rs:246:20 [INFO] [stdout] | [INFO] [stdout] 246 | let alloc: Func = self.func("allocate")?; [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 4 | use parity_wasm::elements::Func; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `to_u32` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/secretnetwork-2885a5c51d1243af/b171078/cosmwasm/packages/sgx-vm/src/instance.rs:247:30 [INFO] [stdout] | [INFO] [stdout] 247 | let ptr = alloc.call(to_u32(size)?)?; [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 4 | use crate::conversion::to_u32; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `CommunicationError` [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/secretnetwork-2885a5c51d1243af/b171078/cosmwasm/packages/sgx-vm/src/instance.rs:249:24 [INFO] [stdout] | [INFO] [stdout] 249 | return Err(CommunicationError::zero_address().into()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 4 | use crate::errors::CommunicationError; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Func` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/secretnetwork-2885a5c51d1243af/b171078/cosmwasm/packages/sgx-vm/src/instance.rs:259:22 [INFO] [stdout] | [INFO] [stdout] 259 | let dealloc: Func = self.func("deallocate")?; [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 4 | use parity_wasm::elements::Func; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `read_region` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/secretnetwork-2885a5c51d1243af/b171078/cosmwasm/packages/sgx-vm/src/instance.rs:267:9 [INFO] [stdout] | [INFO] [stdout] 267 | read_region(self.inner.context(), region_ptr, max_length) [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `write_region` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/secretnetwork-2885a5c51d1243af/b171078/cosmwasm/packages/sgx-vm/src/instance.rs:273:9 [INFO] [stdout] | [INFO] [stdout] 273 | write_region(self.inner.context(), region_ptr, data)?; [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `WasmTypeList` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/secretnetwork-2885a5c51d1243af/b171078/cosmwasm/packages/sgx-vm/src/instance.rs:280:15 [INFO] [stdout] | [INFO] [stdout] 280 | Args: WasmTypeList, [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `WasmTypeList` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/secretnetwork-2885a5c51d1243af/b171078/cosmwasm/packages/sgx-vm/src/instance.rs:281:15 [INFO] [stdout] | [INFO] [stdout] 281 | Rets: WasmTypeList, [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Func` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/secretnetwork-2885a5c51d1243af/b171078/cosmwasm/packages/sgx-vm/src/instance.rs:278:67 [INFO] [stdout] | [INFO] [stdout] 278 | pub(crate) fn func(&self, name: &str) -> VmResult> [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 4 | use parity_wasm::elements::Func; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Wasm` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/secretnetwork-2885a5c51d1243af/b171078/cosmwasm/packages/sgx-vm/src/instance.rs:278:84 [INFO] [stdout] | [INFO] [stdout] 278 | pub(crate) fn func(&self, name: &str) -> VmResult> [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `cosmwasm_std::CosmosMsg::Wasm` and 3 others; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 278 | pub(crate) fn func(&self, name: &str) -> VmResult> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 278 | pub(crate) fn func(&self, name: &str) -> VmResult> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 278 | pub(crate) fn func(&self, name: &str) -> VmResult> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 64 | impl Instance [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Storage` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/secretnetwork-2885a5c51d1243af/b171078/cosmwasm/packages/sgx-vm/src/testing/instance.rs:134:19 [INFO] [stdout] | [INFO] [stdout] 134 | pub fn test_io( [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 4 | use cosmwasm_std::Storage; [INFO] [stdout] | [INFO] [stdout] 4 | use crate::Storage; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Api` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/secretnetwork-2885a5c51d1243af/b171078/cosmwasm/packages/sgx-vm/src/testing/instance.rs:134:41 [INFO] [stdout] | [INFO] [stdout] 134 | pub fn test_io( [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 4 | use cosmwasm_std::Api; [INFO] [stdout] | [INFO] [stdout] 4 | use crate::Api; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Querier` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/secretnetwork-2885a5c51d1243af/b171078/cosmwasm/packages/sgx-vm/src/testing/instance.rs:134:59 [INFO] [stdout] | [INFO] [stdout] 134 | pub fn test_io( [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 4 | use cosmwasm_std::Querier; [INFO] [stdout] | [INFO] [stdout] 4 | use crate::Querier; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 27 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0405, E0412, E0425, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0405`. [INFO] [stdout] [INFO] [stderr] error: could not compile `cosmwasm-sgx-vm`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `Command { std: "docker" "inspect" "f3baac4add60a2b3f63796abc1383516e65cc98033063540599086cf82d2c700", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f3baac4add60a2b3f63796abc1383516e65cc98033063540599086cf82d2c700", kill_on_drop: false }` [INFO] [stdout] f3baac4add60a2b3f63796abc1383516e65cc98033063540599086cf82d2c700