[INFO] cloning repository https://github.com/Haseeb30000/Secret_Simple_Voting [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Haseeb30000/Secret_Simple_Voting" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FHaseeb30000%2FSecret_Simple_Voting", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FHaseeb30000%2FSecret_Simple_Voting'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] a9cc4e1780310377736b07960c3db5eb2b54a889 [INFO] checking Haseeb30000/Secret_Simple_Voting against try#a7a572ce3edd6d476191fbfe92c9c1986e009b34 for pr-87190-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FHaseeb30000%2FSecret_Simple_Voting" "/workspace/builds/worker-12/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-12/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Haseeb30000/Secret_Simple_Voting on toolchain a7a572ce3edd6d476191fbfe92c9c1986e009b34 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-12/source/.cargo/config [INFO] started tweaking git repo https://github.com/Haseeb30000/Secret_Simple_Voting [INFO] finished tweaking git repo https://github.com/Haseeb30000/Secret_Simple_Voting [INFO] tweaked toml for git repo https://github.com/Haseeb30000/Secret_Simple_Voting written to /workspace/builds/worker-12/source/Cargo.toml [INFO] crate git repo https://github.com/Haseeb30000/Secret_Simple_Voting already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4ee1a677dd6c569f5331345ce17de26db135bd913ad22c8b225cf607a06bc3f4 [INFO] running `Command { std: "docker" "start" "-a" "4ee1a677dd6c569f5331345ce17de26db135bd913ad22c8b225cf607a06bc3f4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4ee1a677dd6c569f5331345ce17de26db135bd913ad22c8b225cf607a06bc3f4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4ee1a677dd6c569f5331345ce17de26db135bd913ad22c8b225cf607a06bc3f4", kill_on_drop: false }` [INFO] [stdout] 4ee1a677dd6c569f5331345ce17de26db135bd913ad22c8b225cf607a06bc3f4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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" "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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0b04de219b6903139334985a8fe56778e697524ac6b753b7a74ad54862dfb433 [INFO] running `Command { std: "docker" "start" "-a" "0b04de219b6903139334985a8fe56778e697524ac6b753b7a74ad54862dfb433", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.71 [INFO] [stderr] Compiling serde_json v1.0.64 [INFO] [stderr] Compiling doc-comment v0.3.3 [INFO] [stderr] Checking itoa v0.4.7 [INFO] [stderr] Checking base64 v0.11.0 [INFO] [stderr] Compiling proc-macro2 v1.0.26 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling serde_derive_internals v0.25.0 [INFO] [stderr] Compiling serde_derive v1.0.125 [INFO] [stderr] Compiling schemars_derive v0.7.6 [INFO] [stderr] Compiling snafu-derive v0.6.10 [INFO] [stderr] Checking snafu v0.6.10 [INFO] [stderr] Checking serde v1.0.125 [INFO] [stderr] Checking serde-json-wasm v0.2.3 [INFO] [stderr] Checking schemars v0.7.6 [INFO] [stderr] Checking cosmwasm-std v0.10.0 (https://github.com/enigmampc/SecretNetwork?tag=v1.0.4-debug-print#004c6bca) [INFO] [stderr] Checking cosmwasm-schema v0.10.0 (https://github.com/enigmampc/SecretNetwork?tag=v1.0.4-debug-print#004c6bca) [INFO] [stderr] Checking cosmwasm-storage v0.10.0 (https://github.com/enigmampc/SecretNetwork?tag=v1.0.4-debug-print#004c6bca) [INFO] [stderr] Checking mysimplecounter v0.1.0 (/tmp/fixit) [INFO] [stderr] Migrating src/lib.rs from 2018 edition to 2021 [INFO] [stderr] Fixed src/contract.rs (3 fixes) [INFO] [stderr] Migrating tests/integration.rs from 2018 edition to 2021 [INFO] [stderr] Migrating examples/schema.rs from 2018 edition to 2021 [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 30.12s [INFO] [stderr] Running `cargo check` to verify 2021 [INFO] [stderr] Checking mysimplecounter v0.1.0 (/tmp/fixit) [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `QueryMsg` [INFO] [stdout] --> src/contract.rs:100:31 [INFO] [stdout] | [INFO] [stdout] 100 | let res = query(&deps,QueryMsg::GetResults {} ).unwrap(); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `QueryMsg` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `HandleMsg` [INFO] [stdout] --> src/contract.rs:116:19 [INFO] [stdout] | [INFO] [stdout] 116 | let msg = HandleMsg::Yes {}; [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `HandleMsg` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `mock_dependencies` in this scope [INFO] [stdout] --> src/contract.rs:88:24 [INFO] [stdout] | [INFO] [stdout] 88 | let mut deps = mock_dependencies(20, &[]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 87 | use cosmwasm_std::testing::mock_dependencies; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `InitMsg` in this scope [INFO] [stdout] --> src/contract.rs:90:19 [INFO] [stdout] | [INFO] [stdout] 90 | let msg = InitMsg { poll_name: "poll_1".to_string(), yes:0,no:0 }; [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 87 | use crate::msg::InitMsg; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `mock_env` in this scope [INFO] [stdout] --> src/contract.rs:92:19 [INFO] [stdout] | [INFO] [stdout] 92 | let env = mock_env("creator", &coins(1000, "earth")); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 87 | use cosmwasm_std::testing::mock_env; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `coins` in this scope [INFO] [stdout] --> src/contract.rs:92:40 [INFO] [stdout] | [INFO] [stdout] 92 | let env = mock_env("creator", &coins(1000, "earth")); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 87 | use cosmwasm_std::coins; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `init` in this scope [INFO] [stdout] --> src/contract.rs:95:19 [INFO] [stdout] | [INFO] [stdout] 95 | let res = init(&mut deps, env, msg).unwrap(); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 87 | use crate::contract::init; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `query` in this scope [INFO] [stdout] --> src/contract.rs:100:19 [INFO] [stdout] | [INFO] [stdout] 100 | let res = query(&deps,QueryMsg::GetResults {} ).unwrap(); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 87 | use crate::contract::query; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `mock_dependencies` in this scope [INFO] [stdout] --> src/contract.rs:110:24 [INFO] [stdout] | [INFO] [stdout] 110 | let mut deps = mock_dependencies(20, &[]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 87 | use cosmwasm_std::testing::mock_dependencies; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `InitMsg` in this scope [INFO] [stdout] --> src/contract.rs:111:19 [INFO] [stdout] | [INFO] [stdout] 111 | let msg = InitMsg { poll_name: "poll_1".to_string(), yes:0,no:0 }; [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 87 | use crate::msg::InitMsg; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `mock_env` in this scope [INFO] [stdout] --> src/contract.rs:112:19 [INFO] [stdout] | [INFO] [stdout] 112 | let env = mock_env("creator", &coins(1000, "earth")); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 87 | use cosmwasm_std::testing::mock_env; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `coins` in this scope [INFO] [stdout] --> src/contract.rs:112:40 [INFO] [stdout] | [INFO] [stdout] 112 | let env = mock_env("creator", &coins(1000, "earth")); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 87 | use cosmwasm_std::coins; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `init` in this scope [INFO] [stdout] --> src/contract.rs:114:9 [INFO] [stdout] | [INFO] [stdout] 114 | init(&mut deps, env, msg).unwrap(); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 87 | use crate::contract::init; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `handle` in this scope [INFO] [stdout] --> src/contract.rs:118:19 [INFO] [stdout] | [INFO] [stdout] 118 | let res = handle(&mut deps,msg ).unwrap(); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 87 | use crate::contract::handle; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 14 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0422, E0425, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0422`. [INFO] [stdout] [INFO] [stderr] error: could not compile `mysimplecounter` due to 15 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: build failed [INFO] [stderr] error: failed to check after updating to 2021 [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `cargo check --frozen --all --all-targets --message-format=json` (exit status: 101) [INFO] running `Command { std: "docker" "inspect" "0b04de219b6903139334985a8fe56778e697524ac6b753b7a74ad54862dfb433", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0b04de219b6903139334985a8fe56778e697524ac6b753b7a74ad54862dfb433", kill_on_drop: false }` [INFO] [stdout] 0b04de219b6903139334985a8fe56778e697524ac6b753b7a74ad54862dfb433