[INFO] updating cached repository https://github.com/lauraweindorf/enigma-cosmwasm-millionaires-problem [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] 3c9deed5557699486fd7ef54a0553a49ccdc2d69 [INFO] testing lauraweindorf/enigma-cosmwasm-millionaires-problem against beta-2020-07-24 for beta-1.46-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flauraweindorf%2Fenigma-cosmwasm-millionaires-problem" "/workspace/builds/worker-9/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-9/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/lauraweindorf/enigma-cosmwasm-millionaires-problem on toolchain beta-2020-07-24 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2020-07-24" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-9/source/.cargo/config [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-9/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 `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2020-07-24" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] error: the lock file /workspace/builds/worker-9/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 `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2020-07-24" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2020-07-24" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2020-07-24" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] af0e06ea1281b143742c693c57ee90503ecd1e75dc9fed8514358746fac63465 [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" "af0e06ea1281b143742c693c57ee90503ecd1e75dc9fed8514358746fac63465", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "af0e06ea1281b143742c693c57ee90503ecd1e75dc9fed8514358746fac63465", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "af0e06ea1281b143742c693c57ee90503ecd1e75dc9fed8514358746fac63465", kill_on_drop: false }` [INFO] [stdout] af0e06ea1281b143742c693c57ee90503ecd1e75dc9fed8514358746fac63465 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2020-07-24" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 753a04f12c0220a52f1112553ef8055421966be41bd631fff951d727b1e85792 [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" "753a04f12c0220a52f1112553ef8055421966be41bd631fff951d727b1e85792", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling syn v1.0.38 [INFO] [stderr] Compiling serde v1.0.103 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Compiling wasm-bindgen-shared v0.2.55 [INFO] [stderr] Compiling doc-comment v0.3.3 [INFO] [stderr] Compiling schemars v0.5.1 [INFO] [stderr] Compiling bumpalo v2.6.0 [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 serde_derive v1.0.103 [INFO] [stderr] Compiling schemars_derive v0.5.0 [INFO] [stderr] Compiling snafu v0.5.0 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.55 [INFO] [stderr] Compiling serde_json v1.0.57 [INFO] [stderr] Compiling serde-json-wasm v0.1.3 [INFO] [stderr] Compiling cosmwasm v0.7.2 [INFO] [stderr] Compiling cw-storage v0.2.2 [INFO] [stderr] Compiling enigma-cosmwasm-millionaires-problem v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `cosmwasm::types::HumanAddress` [INFO] [stdout] --> src/msg.rs:3:23 [INFO] [stdout] | [INFO] [stdout] 3 | use cosmwasm::types::{HumanAddress}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | no `HumanAddress` in `types` [INFO] [stdout] | help: a similar name exists in the module: `HumanAddr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `cosmwasm::types::HumanAddress` [INFO] [stdout] --> src/state.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use cosmwasm::types::HumanAddress; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^------------ [INFO] [stdout] | | | [INFO] [stdout] | | help: a similar name exists in the module: `HumanAddr` [INFO] [stdout] | no `HumanAddress` in `types` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::state::State` [INFO] [stdout] --> src/contract.rs:9:53 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::state::{millionaires, millionaires_read, State}; [INFO] [stdout] | ^^^^^ no `State` in `state` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HumanAddress` in this scope [INFO] [stdout] --> src/contract.rs:32:15 [INFO] [stdout] | [INFO] [stdout] 32 | _address: HumanAddress, [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Millionaire` in this scope [INFO] [stdout] --> src/contract.rs:35:23 [INFO] [stdout] | [INFO] [stdout] 35 | let millionaire = Millionaire { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use crate::state::Millionaire; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HumanAddress` in this scope [INFO] [stdout] --> src/contract.rs:43:80 [INFO] [stdout] | [INFO] [stdout] 43 | pub fn query(deps: &Extern, msg: QueryMsg) -> Result { [INFO] [stdout] | - ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | | [INFO] [stdout] | help: you might be missing a type parameter: `, HumanAddress` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HumanAddress` in this scope [INFO] [stdout] --> src/contract.rs:49:71 [INFO] [stdout] | [INFO] [stdout] 49 | fn compute_richest(deps: &Extern) -> Result { [INFO] [stdout] | - ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | | [INFO] [stdout] | help: you might be missing a type parameter: `, HumanAddress` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `State` in this scope [INFO] [stdout] --> src/state.rs:16:66 [INFO] [stdout] | [INFO] [stdout] 16 | pub fn millionaires(storage: &mut S) -> Singleton { [INFO] [stdout] | - ^^^^^ not found in this scope [INFO] [stdout] | | [INFO] [stdout] | help: you might be missing a type parameter: `, State` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `State` in this scope [INFO] [stdout] --> src/state.rs:20:75 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn millionaires_read(storage: &S) -> ReadonlySingleton { [INFO] [stdout] | - ^^^^^ not found in this scope [INFO] [stdout] | | [INFO] [stdout] | help: you might be missing a type parameter: `, State` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Unauthorized` [INFO] [stdout] --> src/contract.rs:3:46 [INFO] [stdout] | [INFO] [stdout] 3 | use cosmwasm::errors::{Result, SerializeErr, Unauthorized}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant named `AddMillionaire` found for enum `msg::HandleMsg` [INFO] [stdout] --> src/contract.rs:25:20 [INFO] [stdout] | [INFO] [stdout] 25 | HandleMsg::AddMillionaire { address, net_worth} => try_add_millionaire(deps, env, address, net_worth), [INFO] [stdout] | ^^^^^^^^^^^^^^ help: there is a variant with a similar name: `AddMillionnaire` [INFO] [stdout] | [INFO] [stdout] ::: src/msg.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | pub enum HandleMsg { [INFO] [stdout] | ------------------ variant `AddMillionaire` not found here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/contract.rs:34:6 [INFO] [stdout] | [INFO] [stdout] 29 | pub fn try_add_millionaire( [INFO] [stdout] | ------------------- implicitly returns `()` as its body has no tail or `return` expression [INFO] [stdout] ... [INFO] [stdout] 34 | ) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ expected enum `std::result::Result`, found `()` [INFO] [stdout] ... [INFO] [stdout] 40 | Ok(millionaire); [INFO] [stdout] | - help: consider removing this semicolon [INFO] [stdout] | [INFO] [stdout] = note: expected enum `std::result::Result` [INFO] [stdout] found unit type `()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 11 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0412, E0422, E0432, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] [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 `Command { std: "docker" "inspect" "753a04f12c0220a52f1112553ef8055421966be41bd631fff951d727b1e85792", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "753a04f12c0220a52f1112553ef8055421966be41bd631fff951d727b1e85792", kill_on_drop: false }` [INFO] [stdout] 753a04f12c0220a52f1112553ef8055421966be41bd631fff951d727b1e85792