[INFO] updating cached repository https://github.com/lauraweindorf/enigma-cosmwasm-millionaires-problem [INFO] running `"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"` [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] 3c9deed5557699486fd7ef54a0553a49ccdc2d69 [INFO] testing lauraweindorf/enigma-cosmwasm-millionaires-problem against 1.44.0 for beta-1.45-1 [INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flauraweindorf%2Fenigma-cosmwasm-millionaires-problem" "/workspace/builds/worker-7/source"` [INFO] [stderr] Cloning into '/workspace/builds/worker-7/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/lauraweindorf/enigma-cosmwasm-millionaires-problem on toolchain 1.44.0 [INFO] running `"/workspace/cargo-home/bin/cargo" "+1.44.0" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking git repo https://github.com/lauraweindorf/enigma-cosmwasm-millionaires-problem [INFO] finished tweaking git repo https://github.com/lauraweindorf/enigma-cosmwasm-millionaires-problem [INFO] tweaked toml for git repo https://github.com/lauraweindorf/enigma-cosmwasm-millionaires-problem written to /workspace/builds/worker-7/source/Cargo.toml [INFO] crate git repo https://github.com/lauraweindorf/enigma-cosmwasm-millionaires-problem already has a lockfile, it will not be regenerated [INFO] running `"/workspace/cargo-home/bin/cargo" "+1.44.0" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] error: the lock file /workspace/builds/worker-7/source/Cargo.lock needs to be updated but --locked was passed to prevent this [INFO] [stderr] If you want to try to generate the lock file without accessing the network, use the --offline flag. [INFO] the lockfile is outdated, regenerating it [INFO] running `"/workspace/cargo-home/bin/cargo" "+1.44.0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/workspace/cargo-home/bin/cargo" "+1.44.0" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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=warn" "-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" "/opt/rustwide/cargo-home/bin/cargo" "+1.44.0" "build" "--frozen"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] c1580efe3f4775feabcd3f6ebe4e33c3219c7e98cdc451d91ba12ac2876cc093 [INFO] running `"docker" "start" "-a" "c1580efe3f4775feabcd3f6ebe4e33c3219c7e98cdc451d91ba12ac2876cc093"` [INFO] [stderr] sudo: setrlimit(RLIMIT_CORE): Operation not permitted [INFO] [stderr] Compiling syn v1.0.30 [INFO] [stderr] Compiling serde v1.0.103 [INFO] [stderr] Compiling wasm-bindgen-shared v0.2.55 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling doc-comment v0.3.3 [INFO] [stderr] Compiling bumpalo v2.6.0 [INFO] [stderr] Compiling schemars v0.5.1 [INFO] [stderr] Compiling wasm-bindgen v0.2.55 [INFO] [stderr] Compiling snafu-derive v0.5.0 [INFO] [stderr] Compiling serde_derive_internals v0.25.0 [INFO] [stderr] Compiling wasm-bindgen-backend v0.2.55 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.55 [INFO] [stderr] Compiling snafu v0.5.0 [INFO] [stderr] Compiling serde_derive v1.0.103 [INFO] [stderr] Compiling schemars_derive v0.5.0 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.55 [INFO] [stderr] Compiling serde_json v1.0.53 [INFO] [stderr] Compiling serde-json-wasm v0.1.3 [INFO] [stderr] Compiling cosmwasm v0.7.2 [INFO] [stderr] Compiling cw-storage v0.2.0 [INFO] [stderr] Compiling enigma-cosmwasm-millionaires-problem v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] error[E0432]: unresolved import `cosmwasm::types::HumanAddress` [INFO] [stderr] --> src/msg.rs:3:23 [INFO] [stderr] | [INFO] [stderr] 3 | use cosmwasm::types::{HumanAddress}; [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | no `HumanAddress` in `types` [INFO] [stderr] | help: a similar name exists in the module: `HumanAddr` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `cosmwasm::types::HumanAddress` [INFO] [stderr] --> src/state.rs:5:5 [INFO] [stderr] | [INFO] [stderr] 5 | use cosmwasm::types::HumanAddress; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^------------ [INFO] [stderr] | | | [INFO] [stderr] | | help: a similar name exists in the module: `HumanAddr` [INFO] [stderr] | no `HumanAddress` in `types` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `crate::state::State` [INFO] [stderr] --> src/contract.rs:9:53 [INFO] [stderr] | [INFO] [stderr] 9 | use crate::state::{millionaires, millionaires_read, State}; [INFO] [stderr] | ^^^^^ no `State` in `state` [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HumanAddress` in this scope [INFO] [stderr] --> src/contract.rs:32:15 [INFO] [stderr] | [INFO] [stderr] 32 | _address: HumanAddress, [INFO] [stderr] | ^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0422]: cannot find struct, variant or union type `Millionaire` in this scope [INFO] [stderr] --> src/contract.rs:35:23 [INFO] [stderr] | [INFO] [stderr] 35 | let millionaire = Millionaire { [INFO] [stderr] | ^^^^^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 1 | use crate::state::Millionaire; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HumanAddress` in this scope [INFO] [stderr] --> src/contract.rs:43:80 [INFO] [stderr] | [INFO] [stderr] 43 | pub fn query(deps: &Extern, msg: QueryMsg) -> Result { [INFO] [stderr] | - ^^^^^^^^^^^^ not found in this scope [INFO] [stderr] | | [INFO] [stderr] | help: you might be missing a type parameter: `, HumanAddress` [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HumanAddress` in this scope [INFO] [stderr] --> src/contract.rs:49:71 [INFO] [stderr] | [INFO] [stderr] 49 | fn compute_richest(deps: &Extern) -> Result { [INFO] [stderr] | - ^^^^^^^^^^^^ not found in this scope [INFO] [stderr] | | [INFO] [stderr] | help: you might be missing a type parameter: `, HumanAddress` [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `State` in this scope [INFO] [stderr] --> src/state.rs:16:66 [INFO] [stderr] | [INFO] [stderr] 16 | pub fn millionaires(storage: &mut S) -> Singleton { [INFO] [stderr] | - ^^^^^ not found in this scope [INFO] [stderr] | | [INFO] [stderr] | help: you might be missing a type parameter: `, State` [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `State` in this scope [INFO] [stderr] --> src/state.rs:20:75 [INFO] [stderr] | [INFO] [stderr] 20 | pub fn millionaires_read(storage: &S) -> ReadonlySingleton { [INFO] [stderr] | - ^^^^^ not found in this scope [INFO] [stderr] | | [INFO] [stderr] | help: you might be missing a type parameter: `, State` [INFO] [stderr] [INFO] [stderr] warning: unused import: `Unauthorized` [INFO] [stderr] --> src/contract.rs:3:46 [INFO] [stderr] | [INFO] [stderr] 3 | use cosmwasm::errors::{Result, SerializeErr, Unauthorized}; [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] error[E0599]: no variant named `AddMillionaire` found for enum `msg::HandleMsg` [INFO] [stderr] --> src/contract.rs:25:20 [INFO] [stderr] | [INFO] [stderr] 25 | HandleMsg::AddMillionaire { address, net_worth} => try_add_millionaire(deps, env, address, net_worth), [INFO] [stderr] | ^^^^^^^^^^^^^^ help: there is a variant with a similar name: `AddMillionnaire` [INFO] [stderr] | [INFO] [stderr] ::: src/msg.rs:10:1 [INFO] [stderr] | [INFO] [stderr] 10 | pub enum HandleMsg { [INFO] [stderr] | ------------------ variant `AddMillionaire` not found here [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> src/contract.rs:34:6 [INFO] [stderr] | [INFO] [stderr] 29 | pub fn try_add_millionaire( [INFO] [stderr] | ------------------- implicitly returns `()` as its body has no tail or `return` expression [INFO] [stderr] ... [INFO] [stderr] 34 | ) -> Result { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ expected enum `std::result::Result`, found `()` [INFO] [stderr] ... [INFO] [stderr] 40 | Ok(millionaire); [INFO] [stderr] | - help: consider removing this semicolon [INFO] [stderr] | [INFO] [stderr] = note: expected enum `std::result::Result` [INFO] [stderr] found unit type `()` [INFO] [stderr] [INFO] [stderr] error: aborting due to 11 previous errors; 1 warning emitted [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0308, E0412, E0422, E0432, E0599. [INFO] [stderr] For more information about an error, try `rustc --explain E0308`. [INFO] [stderr] error: could not compile `enigma-cosmwasm-millionaires-problem`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "c1580efe3f4775feabcd3f6ebe4e33c3219c7e98cdc451d91ba12ac2876cc093"` [INFO] running `"docker" "rm" "-f" "c1580efe3f4775feabcd3f6ebe4e33c3219c7e98cdc451d91ba12ac2876cc093"` [INFO] [stdout] c1580efe3f4775feabcd3f6ebe4e33c3219c7e98cdc451d91ba12ac2876cc093