[INFO] cloning repository https://github.com/SCRTdog/squared [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/SCRTdog/squared" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSCRTdog%2Fsquared", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSCRTdog%2Fsquared'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] f3a47b683a771857a8c935110ee9e1dbfc1386e2 [INFO] checking SCRTdog/squared against try#8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 for pr-82565 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSCRTdog%2Fsquared" "/workspace/builds/worker-5/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/SCRTdog/squared on toolchain 8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-5/source/.cargo/config [INFO] started tweaking git repo https://github.com/SCRTdog/squared [INFO] finished tweaking git repo https://github.com/SCRTdog/squared [INFO] tweaked toml for git repo https://github.com/SCRTdog/squared written to /workspace/builds/worker-5/source/Cargo.toml [INFO] crate git repo https://github.com/SCRTdog/squared already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "fetch" "--locked" "--manifest-path" "Cargo.toml", 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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 13211f5b996330984b37f631974a3074ab9fa737c5ad584ddd1ca1e7d361ea6c [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" "13211f5b996330984b37f631974a3074ab9fa737c5ad584ddd1ca1e7d361ea6c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "13211f5b996330984b37f631974a3074ab9fa737c5ad584ddd1ca1e7d361ea6c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "13211f5b996330984b37f631974a3074ab9fa737c5ad584ddd1ca1e7d361ea6c", kill_on_drop: false }` [INFO] [stdout] 13211f5b996330984b37f631974a3074ab9fa737c5ad584ddd1ca1e7d361ea6c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 41d2354c0d893d108491fa5e5ece9f144876a88a8dddcb0c2d90683f09edbea1 [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" "41d2354c0d893d108491fa5e5ece9f144876a88a8dddcb0c2d90683f09edbea1", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.38 [INFO] [stderr] Compiling serde_derive v1.0.115 [INFO] [stderr] Compiling serde v1.0.115 [INFO] [stderr] Compiling doc-comment v0.3.3 [INFO] [stderr] Compiling schemars v0.7.6 [INFO] [stderr] Checking base64 v0.11.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] Checking snafu v0.6.8 [INFO] [stderr] Checking serde_json v1.0.57 [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-storage v0.9.0-alpha1 (https://github.com/enigmampc/SecretNetwork?tag=v0.7.0#b3c77fa8) [INFO] [stderr] Checking squared v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `cosmwasm_schema` [INFO] [stdout] --> examples/schema.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use cosmwasm_schema::{export_schema, remove_schemas, schema_for}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared crate or module `cosmwasm_schema` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `schema_for` [INFO] [stdout] --> examples/schema.rs:19:20 [INFO] [stdout] | [INFO] [stdout] 19 | export_schema(&schema_for!(CountResponse), &out_dir); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `schema_for` [INFO] [stdout] --> examples/schema.rs:18:20 [INFO] [stdout] | [INFO] [stdout] 18 | export_schema(&schema_for!(State), &out_dir); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `schema_for` [INFO] [stdout] --> examples/schema.rs:17:20 [INFO] [stdout] | [INFO] [stdout] 17 | export_schema(&schema_for!(QueryMsg), &out_dir); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `schema_for` [INFO] [stdout] --> examples/schema.rs:16:20 [INFO] [stdout] | [INFO] [stdout] 16 | export_schema(&schema_for!(HandleMsg), &out_dir); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `schema_for` [INFO] [stdout] --> examples/schema.rs:15:20 [INFO] [stdout] | [INFO] [stdout] 15 | export_schema(&schema_for!(InitMsg), &out_dir); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `CountResponse`, `HandleMsg`, `InitMsg`, `QueryMsg` [INFO] [stdout] --> examples/schema.rs:6:20 [INFO] [stdout] | [INFO] [stdout] 6 | use squared::msg::{CountResponse, HandleMsg, InitMsg, QueryMsg}; [INFO] [stdout] | ^^^^^^^^^^^^^ ^^^^^^^^^ ^^^^^^^ ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `squared::state::State` [INFO] [stdout] --> examples/schema.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use squared::state::State; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read tests/../target/wasm32-unknown-unknown/release/squared.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/squared.wasm"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `cosmwasm_vm` [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 undeclared crate or module `cosmwasm_vm` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `squared` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0425]: cannot find function `mock_instance` in this scope [INFO] [stdout] --> tests/integration.rs:32:20 [INFO] [stdout] | [INFO] [stdout] 32 | let mut deps = mock_instance(WASM, &[]); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `mock_env` in this scope [INFO] [stdout] --> tests/integration.rs:35:15 [INFO] [stdout] | [INFO] [stdout] 35 | let env = mock_env(&deps.api, "creator", &coins(1000, "earth")); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 20 | use cosmwasm_std::testing::mock_env; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `init` in this scope [INFO] [stdout] --> tests/integration.rs:38:29 [INFO] [stdout] | [INFO] [stdout] 38 | let res: InitResponse = 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] 20 | use squared::contract::init; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `query` in this scope [INFO] [stdout] --> tests/integration.rs:42:15 [INFO] [stdout] | [INFO] [stdout] 42 | let res = query(&mut deps, QueryMsg::GetCount {}).unwrap(); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 20 | use squared::contract::query; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `mock_instance` in this scope [INFO] [stdout] --> tests/integration.rs:49:20 [INFO] [stdout] | [INFO] [stdout] 49 | let mut deps = mock_instance(WASM, &coins(2, "token")); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `mock_env` in this scope [INFO] [stdout] --> tests/integration.rs:52:15 [INFO] [stdout] | [INFO] [stdout] 52 | let env = mock_env(&deps.api, "creator", &coins(2, "token")); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 20 | use cosmwasm_std::testing::mock_env; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `init` in this scope [INFO] [stdout] --> tests/integration.rs:53:30 [INFO] [stdout] | [INFO] [stdout] 53 | let _res: InitResponse = 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] 20 | use squared::contract::init; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `mock_env` in this scope [INFO] [stdout] --> tests/integration.rs:56:15 [INFO] [stdout] | [INFO] [stdout] 56 | let env = mock_env(&deps.api, "anyone", &coins(2, "token")); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 20 | use cosmwasm_std::testing::mock_env; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `handle` in this scope [INFO] [stdout] --> tests/integration.rs:58:32 [INFO] [stdout] | [INFO] [stdout] 58 | let _res: HandleResponse = handle(&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] 20 | use squared::contract::handle; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `query` in this scope [INFO] [stdout] --> tests/integration.rs:61:15 [INFO] [stdout] | [INFO] [stdout] 61 | let res = query(&mut deps, QueryMsg::GetCount {}).unwrap(); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 20 | use squared::contract::query; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `mock_instance` in this scope [INFO] [stdout] --> tests/integration.rs:68:20 [INFO] [stdout] | [INFO] [stdout] 68 | let mut deps = mock_instance(WASM, &coins(2, "token")); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `mock_env` in this scope [INFO] [stdout] --> tests/integration.rs:71:15 [INFO] [stdout] | [INFO] [stdout] 71 | let env = mock_env(&deps.api, "creator", &coins(2, "token")); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 20 | use cosmwasm_std::testing::mock_env; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `init` in this scope [INFO] [stdout] --> tests/integration.rs:72:30 [INFO] [stdout] | [INFO] [stdout] 72 | let _res: InitResponse = 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] 20 | use squared::contract::init; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `mock_env` in this scope [INFO] [stdout] --> tests/integration.rs:75:22 [INFO] [stdout] | [INFO] [stdout] 75 | let unauth_env = mock_env(&deps.api, "anyone", &coins(2, "token")); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 20 | use cosmwasm_std::testing::mock_env; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `handle` in this scope [INFO] [stdout] --> tests/integration.rs:77:29 [INFO] [stdout] | [INFO] [stdout] 77 | let res: HandleResult = handle(&mut deps, unauth_env, msg); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 20 | use squared::contract::handle; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `mock_env` in this scope [INFO] [stdout] --> tests/integration.rs:84:20 [INFO] [stdout] | [INFO] [stdout] 84 | let auth_env = mock_env(&deps.api, "creator", &coins(2, "token")); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 20 | use cosmwasm_std::testing::mock_env; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `handle` in this scope [INFO] [stdout] --> tests/integration.rs:86:32 [INFO] [stdout] | [INFO] [stdout] 86 | let _res: HandleResponse = handle(&mut deps, auth_env, msg).unwrap(); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 20 | use squared::contract::handle; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `query` in this scope [INFO] [stdout] --> tests/integration.rs:89:15 [INFO] [stdout] | [INFO] [stdout] 89 | let res = query(&mut deps, QueryMsg::GetCount {}).unwrap(); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 20 | use squared::contract::query; [INFO] [stdout] | [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: aborting due to 21 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "41d2354c0d893d108491fa5e5ece9f144876a88a8dddcb0c2d90683f09edbea1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "41d2354c0d893d108491fa5e5ece9f144876a88a8dddcb0c2d90683f09edbea1", kill_on_drop: false }` [INFO] [stdout] 41d2354c0d893d108491fa5e5ece9f144876a88a8dddcb0c2d90683f09edbea1