[INFO] cloning repository https://github.com/minatofund/enigma-contract-getandsettime [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/minatofund/enigma-contract-getandsettime" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fminatofund%2Fenigma-contract-getandsettime", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fminatofund%2Fenigma-contract-getandsettime'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 2479b67922e382d810f2f1dc3322299b10e5a94b [INFO] checking minatofund/enigma-contract-getandsettime/2479b67922e382d810f2f1dc3322299b10e5a94b against 8006091eb71ae7d9e9bccb66c6122c9d68af4466 for pr-129249-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fminatofund%2Fenigma-contract-getandsettime" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] removed /workspace/builds/worker-1-tc1/source/.cargo/config [INFO] started tweaking git repo https://github.com/minatofund/enigma-contract-getandsettime [INFO] finished tweaking git repo https://github.com/minatofund/enigma-contract-getandsettime [INFO] tweaked toml for git repo https://github.com/minatofund/enigma-contract-getandsettime written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/minatofund/enigma-contract-getandsettime on toolchain 8006091eb71ae7d9e9bccb66c6122c9d68af4466 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8006091eb71ae7d9e9bccb66c6122c9d68af4466" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/minatofund/enigma-contract-getandsettime already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8006091eb71ae7d9e9bccb66c6122c9d68af4466" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Updating git repository `https://github.com/enigmampc/SecretNetwork` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded proc-macro2 v1.0.19 [INFO] [stderr] Downloaded snafu v0.6.8 [INFO] [stderr] Downloaded snafu-derive v0.6.8 [INFO] [stderr] Downloaded schemars v0.7.6 [INFO] [stderr] Downloaded schemars_derive v0.7.6 [INFO] [stderr] Downloaded cosmwasm-schema v0.10.0 [INFO] [stderr] Downloaded serde_derive_internals v0.25.0 [INFO] [stderr] Downloaded miniz_oxide v0.4.0 [INFO] [stderr] Downloaded serde-json-wasm v0.2.1 [INFO] [stderr] Downloaded base64 v0.11.0 [INFO] [stderr] Downloaded chrono v0.4.15 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:77db811e55d90add9212f6832c23229e3de5f1c1f9905e8cb07319ea15df73ac" "sleep" "infinity", kill_on_drop: false }` [INFO] [stdout] 2af025ecdd1abb1386e21eb5dce4407957cfdfd674887cefeddb792b0abc6930 [INFO] running `Command { std: "docker" "start" "2af025ecdd1abb1386e21eb5dce4407957cfdfd674887cefeddb792b0abc6930", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2af025ecdd1abb1386e21eb5dce4407957cfdfd674887cefeddb792b0abc6930", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "2af025ecdd1abb1386e21eb5dce4407957cfdfd674887cefeddb792b0abc6930" "/opt/rustwide/cargo-home/bin/cargo" "+8006091eb71ae7d9e9bccb66c6122c9d68af4466" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2af025ecdd1abb1386e21eb5dce4407957cfdfd674887cefeddb792b0abc6930", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "2af025ecdd1abb1386e21eb5dce4407957cfdfd674887cefeddb792b0abc6930" "/opt/rustwide/cargo-home/bin/cargo" "+8006091eb71ae7d9e9bccb66c6122c9d68af4466" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.19 [INFO] [stderr] Compiling syn v1.0.39 [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 schemars v0.7.6 [INFO] [stderr] Compiling doc-comment v0.3.3 [INFO] [stderr] Checking itoa v0.4.6 [INFO] [stderr] Compiling num-traits v0.2.12 [INFO] [stderr] Compiling libc v0.2.76 [INFO] [stderr] Compiling num-integer v0.1.43 [INFO] [stderr] Checking base64 v0.11.0 [INFO] [stderr] Checking time v0.1.43 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Checking chrono v0.4.15 [INFO] [stderr] Compiling serde_derive_internals v0.25.0 [INFO] [stderr] Compiling serde_derive v1.0.115 [INFO] [stderr] Compiling snafu-derive v0.6.8 [INFO] [stderr] Compiling schemars_derive v0.7.6 [INFO] [stderr] Checking snafu v0.6.8 [INFO] [stderr] Checking serde-json-wasm v0.2.1 [INFO] [stderr] Checking cosmwasm-std v0.9.0-alpha1 (https://github.com/enigmampc/SecretNetwork?tag=v0.7.0#b3c77fa8) [INFO] [stderr] Checking cosmwasm-schema v0.10.0 [INFO] [stderr] Checking cosmwasm-storage v0.9.0-alpha1 (https://github.com/enigmampc/SecretNetwork?tag=v0.7.0#b3c77fa8) [INFO] [stderr] Checking getandsettime v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `StdError` [INFO] [stdout] --> src/contract.rs:66:44 [INFO] [stdout] | [INFO] [stdout] 66 | use cosmwasm_std::{coins, from_binary, StdError}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/state.rs:15:36 [INFO] [stdout] | [INFO] [stdout] 15 | pub fn config(storage: &mut S) -> Singleton { [INFO] [stdout] | ^^^^^^ ^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 15 | pub fn config(storage: &mut S) -> Singleton<'_, S, State> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/state.rs:19:41 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn config_read(storage: &S) -> ReadonlySingleton { [INFO] [stdout] | ^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 19 | pub fn config_read(storage: &S) -> ReadonlySingleton<'_, S, State> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read `tests/../target/wasm32-unknown-unknown/release/getandsettime.wasm`: No such file or directory (os error 2) [INFO] [stdout] --> tests/integration.rs:26:22 [INFO] [stdout] | [INFO] [stdout] 26 | static WASM: &[u8] = include_bytes!("../target/wasm32-unknown-unknown/release/getandsettime.wasm"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `cosmwasm_vm` in this scope [INFO] [stdout] --> tests/integration.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | use cosmwasm_vm::testing::{handle, init, mock_env, mock_instance, query}; [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `cosmwasm_vm` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 21 - use cosmwasm_vm::testing::{handle, init, mock_env, mock_instance, query}; [INFO] [stdout] 21 + use cosmwasm_std::testing::{handle, init, mock_env, mock_instance, query}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `getandsettime::msg::CountResponse` [INFO] [stdout] --> tests/integration.rs:23:26 [INFO] [stdout] | [INFO] [stdout] 23 | use getandsettime::msg::{CountResponse, HandleMsg, InitMsg, QueryMsg}; [INFO] [stdout] | ^^^^^^^^^^^^^ no `CountResponse` in `msg` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0560]: struct `InitMsg` has no field named `count` [INFO] [stdout] --> tests/integration.rs:34:25 [INFO] [stdout] | [INFO] [stdout] 34 | let msg = InitMsg { count: 17 }; [INFO] [stdout] | ^^^^^ `InitMsg` does not have this field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `time` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant named `GetCount` found for enum `QueryMsg` [INFO] [stdout] --> tests/integration.rs:42:42 [INFO] [stdout] | [INFO] [stdout] 42 | let res = query(&mut deps, QueryMsg::GetCount {}).unwrap(); [INFO] [stdout] | ^^^^^^^^ variant not found in `QueryMsg` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0560]: struct `InitMsg` has no field named `count` [INFO] [stdout] --> tests/integration.rs:51:25 [INFO] [stdout] | [INFO] [stdout] 51 | let msg = InitMsg { count: 17 }; [INFO] [stdout] | ^^^^^ `InitMsg` does not have this field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `time` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant named `Increment` found for enum `HandleMsg` [INFO] [stdout] --> tests/integration.rs:57:26 [INFO] [stdout] | [INFO] [stdout] 57 | let msg = HandleMsg::Increment {}; [INFO] [stdout] | ^^^^^^^^^ variant not found in `HandleMsg` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant named `GetCount` found for enum `QueryMsg` [INFO] [stdout] --> tests/integration.rs:61:42 [INFO] [stdout] | [INFO] [stdout] 61 | let res = query(&mut deps, QueryMsg::GetCount {}).unwrap(); [INFO] [stdout] | ^^^^^^^^ variant not found in `QueryMsg` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0560]: struct `InitMsg` has no field named `count` [INFO] [stdout] --> tests/integration.rs:70:25 [INFO] [stdout] | [INFO] [stdout] 70 | let msg = InitMsg { count: 17 }; [INFO] [stdout] | ^^^^^ `InitMsg` does not have this field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `time` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant named `Reset` found for enum `HandleMsg` [INFO] [stdout] --> tests/integration.rs:76:26 [INFO] [stdout] | [INFO] [stdout] 76 | let msg = HandleMsg::Reset { count: 5 }; [INFO] [stdout] | ^^^^^ variant not found in `HandleMsg` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant named `Reset` found for enum `HandleMsg` [INFO] [stdout] --> tests/integration.rs:85:26 [INFO] [stdout] | [INFO] [stdout] 85 | let msg = HandleMsg::Reset { count: 5 }; [INFO] [stdout] | ^^^^^ variant not found in `HandleMsg` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant named `GetCount` found for enum `QueryMsg` [INFO] [stdout] --> tests/integration.rs:89:42 [INFO] [stdout] | [INFO] [stdout] 89 | let res = query(&mut deps, QueryMsg::GetCount {}).unwrap(); [INFO] [stdout] | ^^^^^^^^ variant not found in `QueryMsg` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433, E0560, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `getandsettime` (test "integration") due to 12 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/state.rs:15:36 [INFO] [stdout] | [INFO] [stdout] 15 | pub fn config(storage: &mut S) -> Singleton { [INFO] [stdout] | ^^^^^^ ^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 15 | pub fn config(storage: &mut S) -> Singleton<'_, S, State> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/state.rs:19:41 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn config_read(storage: &S) -> ReadonlySingleton { [INFO] [stdout] | ^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 19 | pub fn config_read(storage: &S) -> ReadonlySingleton<'_, S, State> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: unused dependency `cosmwasm-schema` [INFO] [stderr] --> Cargo.toml:3:1 [INFO] [stderr] | [INFO] [stderr] 3 | cosmwasm-schema = "0.10.0" [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `cargo::unused_dependencies` is set to `warn` by default [INFO] [stderr] help: consider removing the dependency on `cosmwasm-schema` [INFO] [stderr] help: to still use for development builds, move to `dev-dependencies` [INFO] [stderr] warning: `getandsettime` (manifest) generated 1 warning [INFO] running `Command { std: "docker" "inspect" "2af025ecdd1abb1386e21eb5dce4407957cfdfd674887cefeddb792b0abc6930", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2af025ecdd1abb1386e21eb5dce4407957cfdfd674887cefeddb792b0abc6930", kill_on_drop: false }` [INFO] [stdout] 2af025ecdd1abb1386e21eb5dce4407957cfdfd674887cefeddb792b0abc6930