[INFO] fetching crate cw-controllers 0.6.0-alpha3... [INFO] checking cw-controllers-0.6.0-alpha3 against try#45d8b6e68beee1c9c1ce92ae258a7e02f8f13aa4 for pr-83744 [INFO] extracting crate cw-controllers 0.6.0-alpha3 into /workspace/builds/worker-3/source [INFO] validating manifest of crates.io crate cw-controllers 0.6.0-alpha3 on toolchain 45d8b6e68beee1c9c1ce92ae258a7e02f8f13aa4 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+45d8b6e68beee1c9c1ce92ae258a7e02f8f13aa4" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate cw-controllers 0.6.0-alpha3 [INFO] finished tweaking crates.io crate cw-controllers 0.6.0-alpha3 [INFO] tweaked toml for crates.io crate cw-controllers 0.6.0-alpha3 written to /workspace/builds/worker-3/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+45d8b6e68beee1c9c1ce92ae258a7e02f8f13aa4" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+45d8b6e68beee1c9c1ce92ae258a7e02f8f13aa4" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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:c46a2d1a26fb48b37929c74ca49dd9409f2375a0a3bdb8fe07617f3ffccaa889" "/opt/rustwide/cargo-home/bin/cargo" "+45d8b6e68beee1c9c1ce92ae258a7e02f8f13aa4" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f86c1cbf6638a93c855a6e87a926edcda5d38c43c47ddacae762d68d3e339590 [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" "f86c1cbf6638a93c855a6e87a926edcda5d38c43c47ddacae762d68d3e339590", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f86c1cbf6638a93c855a6e87a926edcda5d38c43c47ddacae762d68d3e339590", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f86c1cbf6638a93c855a6e87a926edcda5d38c43c47ddacae762d68d3e339590", kill_on_drop: false }` [INFO] [stdout] f86c1cbf6638a93c855a6e87a926edcda5d38c43c47ddacae762d68d3e339590 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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:c46a2d1a26fb48b37929c74ca49dd9409f2375a0a3bdb8fe07617f3ffccaa889" "/opt/rustwide/cargo-home/bin/cargo" "+45d8b6e68beee1c9c1ce92ae258a7e02f8f13aa4" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 735ba6b664008acd490d938eb5a12d0a5e7542dae4f62d6ac8851244307d34e7 [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" "735ba6b664008acd490d938eb5a12d0a5e7542dae4f62d6ac8851244307d34e7", kill_on_drop: false }` [INFO] [stderr] Checking cosmwasm-std v0.14.0-beta4 [INFO] [stderr] Checking cw-storage-plus v0.6.0-beta2 [INFO] [stderr] Checking cw0 v0.6.0-beta2 [INFO] [stderr] Checking cw-controllers v0.6.0-alpha3 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated struct `cosmwasm_std::HumanAddr`: HumanAddr is not much more than an alias to String and it does not provide significant safety advantages. With CosmWasm 0.14, we now use String when there was HumanAddr before. There is also the new Addr, which holds a validated immutable human readable address. [INFO] [stdout] --> src/admin.rs:6:41 [INFO] [stdout] | [INFO] [stdout] 6 | attr, CanonicalAddr, Deps, DepsMut, HumanAddr, MessageInfo, Response, StdError, StdResult, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `cosmwasm_std::HumanAddr`: HumanAddr is not much more than an alias to String and it does not provide significant safety advantages. With CosmWasm 0.14, we now use String when there was HumanAddr before. There is also the new Addr, which holds a validated immutable human readable address. [INFO] [stdout] --> src/admin.rs:6:41 [INFO] [stdout] | [INFO] [stdout] 6 | attr, CanonicalAddr, Deps, DepsMut, HumanAddr, MessageInfo, Response, StdError, StdResult, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `cosmwasm_std::HumanAddr`: HumanAddr is not much more than an alias to String and it does not provide significant safety advantages. With CosmWasm 0.14, we now use String when there was HumanAddr before. There is also the new Addr, which holds a validated immutable human readable address. [INFO] [stdout] --> src/admin.rs:15:23 [INFO] [stdout] | [INFO] [stdout] 15 | pub admin: Option, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `cosmwasm_std::HumanAddr`: HumanAddr is not much more than an alias to String and it does not provide significant safety advantages. With CosmWasm 0.14, we now use String when there was HumanAddr before. There is also the new Addr, which holds a validated immutable human readable address. [INFO] [stdout] --> src/admin.rs:37:52 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn set(&self, deps: DepsMut, admin: Option) -> StdResult<()> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `cosmwasm_std::HumanAddr`: HumanAddr is not much more than an alias to String and it does not provide significant safety advantages. With CosmWasm 0.14, we now use String when there was HumanAddr before. There is also the new Addr, which holds a validated immutable human readable address. [INFO] [stdout] --> src/admin.rs:42:55 [INFO] [stdout] | [INFO] [stdout] 42 | pub fn get(&self, deps: Deps) -> StdResult> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `cosmwasm_std::HumanAddr`: HumanAddr is not much more than an alias to String and it does not provide significant safety advantages. With CosmWasm 0.14, we now use String when there was HumanAddr before. There is also the new Addr, which holds a validated immutable human readable address. [INFO] [stdout] --> src/admin.rs:49:49 [INFO] [stdout] | [INFO] [stdout] 49 | pub fn is_admin(&self, deps: Deps, caller: &HumanAddr) -> StdResult { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `cosmwasm_std::HumanAddr`: HumanAddr is not much more than an alias to String and it does not provide significant safety advantages. With CosmWasm 0.14, we now use String when there was HumanAddr before. There is also the new Addr, which holds a validated immutable human readable address. [INFO] [stdout] --> src/admin.rs:61:53 [INFO] [stdout] | [INFO] [stdout] 61 | pub fn assert_admin(&self, deps: Deps, caller: &HumanAddr) -> Result<(), AdminError> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `cosmwasm_std::HumanAddr`: HumanAddr is not much more than an alias to String and it does not provide significant safety advantages. With CosmWasm 0.14, we now use String when there was HumanAddr before. There is also the new Addr, which holds a validated immutable human readable address. [INFO] [stdout] --> src/admin.rs:73:27 [INFO] [stdout] | [INFO] [stdout] 73 | new_admin: Option, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `cosmwasm_std::HumanAddr`: HumanAddr is not much more than an alias to String and it does not provide significant safety advantages. With CosmWasm 0.14, we now use String when there was HumanAddr before. There is also the new Addr, which holds a validated immutable human readable address. [INFO] [stdout] --> src/claim.rs:4:52 [INFO] [stdout] | [INFO] [stdout] 4 | use cosmwasm_std::{BlockInfo, CanonicalAddr, Deps, HumanAddr, StdResult, Storage, Uint128}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `cosmwasm_std::HumanAddr`: HumanAddr is not much more than an alias to String and it does not provide significant safety advantages. With CosmWasm 0.14, we now use String when there was HumanAddr before. There is also the new Addr, which holds a validated immutable human readable address. [INFO] [stdout] --> src/claim.rs:89:53 [INFO] [stdout] | [INFO] [stdout] 89 | pub fn query_claims(&self, deps: Deps, address: HumanAddr) -> StdResult { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `cosmwasm_std::HumanAddr`: HumanAddr is not much more than an alias to String and it does not provide significant safety advantages. With CosmWasm 0.14, we now use String when there was HumanAddr before. There is also the new Addr, which holds a validated immutable human readable address. [INFO] [stdout] --> src/hooks.rs:6:37 [INFO] [stdout] | [INFO] [stdout] 6 | attr, CosmosMsg, Deps, DepsMut, HumanAddr, MessageInfo, Response, StdError, StdResult, Storage, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `cosmwasm_std::HumanAddr`: HumanAddr is not much more than an alias to String and it does not provide significant safety advantages. With CosmWasm 0.14, we now use String when there was HumanAddr before. There is also the new Addr, which holds a validated immutable human readable address. [INFO] [stdout] --> src/hooks.rs:35:35 [INFO] [stdout] | [INFO] [stdout] 35 | pub struct Hooks<'a>(Item<'a, Vec>); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `cosmwasm_std::HumanAddr`: HumanAddr is not much more than an alias to String and it does not provide significant safety advantages. With CosmWasm 0.14, we now use String when there was HumanAddr before. There is also the new Addr, which holds a validated immutable human readable address. [INFO] [stdout] --> src/hooks.rs:16:20 [INFO] [stdout] | [INFO] [stdout] 16 | pub hooks: Vec, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `cosmwasm_std::HumanAddr`: HumanAddr is not much more than an alias to String and it does not provide significant safety advantages. With CosmWasm 0.14, we now use String when there was HumanAddr before. There is also the new Addr, which holds a validated immutable human readable address. [INFO] [stdout] --> src/hooks.rs:42:61 [INFO] [stdout] | [INFO] [stdout] 42 | pub fn add_hook(&self, storage: &mut dyn Storage, addr: HumanAddr) -> Result<(), HookError> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `cosmwasm_std::HumanAddr`: HumanAddr is not much more than an alias to String and it does not provide significant safety advantages. With CosmWasm 0.14, we now use String when there was HumanAddr before. There is also the new Addr, which holds a validated immutable human readable address. [INFO] [stdout] --> src/hooks.rs:52:64 [INFO] [stdout] | [INFO] [stdout] 52 | pub fn remove_hook(&self, storage: &mut dyn Storage, addr: HumanAddr) -> Result<(), HookError> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `cosmwasm_std::HumanAddr`: HumanAddr is not much more than an alias to String and it does not provide significant safety advantages. With CosmWasm 0.14, we now use String when there was HumanAddr before. There is also the new Addr, which holds a validated immutable human readable address. [INFO] [stdout] --> src/hooks.rs:62:32 [INFO] [stdout] | [INFO] [stdout] 62 | pub fn prepare_hooks StdResult>( [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `cosmwasm_std::HumanAddr`: HumanAddr is not much more than an alias to String and it does not provide significant safety advantages. With CosmWasm 0.14, we now use String when there was HumanAddr before. There is also the new Addr, which holds a validated immutable human readable address. [INFO] [stdout] --> src/hooks.rs:80:15 [INFO] [stdout] | [INFO] [stdout] 80 | addr: HumanAddr, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `cosmwasm_std::HumanAddr`: HumanAddr is not much more than an alias to String and it does not provide significant safety advantages. With CosmWasm 0.14, we now use String when there was HumanAddr before. There is also the new Addr, which holds a validated immutable human readable address. [INFO] [stdout] --> src/hooks.rs:103:15 [INFO] [stdout] | [INFO] [stdout] 103 | addr: HumanAddr, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `cosmwasm_std::HumanAddr`: HumanAddr is not much more than an alias to String and it does not provide significant safety advantages. With CosmWasm 0.14, we now use String when there was HumanAddr before. There is also the new Addr, which holds a validated immutable human readable address. [INFO] [stdout] --> src/admin.rs:6:41 [INFO] [stdout] | [INFO] [stdout] 6 | attr, CanonicalAddr, Deps, DepsMut, HumanAddr, MessageInfo, Response, StdError, StdResult, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `cosmwasm_std::HumanAddr`: HumanAddr is not much more than an alias to String and it does not provide significant safety advantages. With CosmWasm 0.14, we now use String when there was HumanAddr before. There is also the new Addr, which holds a validated immutable human readable address. [INFO] [stdout] --> src/admin.rs:6:41 [INFO] [stdout] | [INFO] [stdout] 6 | attr, CanonicalAddr, Deps, DepsMut, HumanAddr, MessageInfo, Response, StdError, StdResult, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `cosmwasm_std::HumanAddr`: HumanAddr is not much more than an alias to String and it does not provide significant safety advantages. With CosmWasm 0.14, we now use String when there was HumanAddr before. There is also the new Addr, which holds a validated immutable human readable address. [INFO] [stdout] --> src/admin.rs:15:23 [INFO] [stdout] | [INFO] [stdout] 15 | pub admin: Option, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `cosmwasm_std::HumanAddr`: HumanAddr is not much more than an alias to String and it does not provide significant safety advantages. With CosmWasm 0.14, we now use String when there was HumanAddr before. There is also the new Addr, which holds a validated immutable human readable address. [INFO] [stdout] --> src/admin.rs:37:52 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn set(&self, deps: DepsMut, admin: Option) -> StdResult<()> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `cosmwasm_std::HumanAddr`: HumanAddr is not much more than an alias to String and it does not provide significant safety advantages. With CosmWasm 0.14, we now use String when there was HumanAddr before. There is also the new Addr, which holds a validated immutable human readable address. [INFO] [stdout] --> src/admin.rs:42:55 [INFO] [stdout] | [INFO] [stdout] 42 | pub fn get(&self, deps: Deps) -> StdResult> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `cosmwasm_std::HumanAddr`: HumanAddr is not much more than an alias to String and it does not provide significant safety advantages. With CosmWasm 0.14, we now use String when there was HumanAddr before. There is also the new Addr, which holds a validated immutable human readable address. [INFO] [stdout] --> src/admin.rs:49:49 [INFO] [stdout] | [INFO] [stdout] 49 | pub fn is_admin(&self, deps: Deps, caller: &HumanAddr) -> StdResult { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `cosmwasm_std::HumanAddr`: HumanAddr is not much more than an alias to String and it does not provide significant safety advantages. With CosmWasm 0.14, we now use String when there was HumanAddr before. There is also the new Addr, which holds a validated immutable human readable address. [INFO] [stdout] --> src/admin.rs:61:53 [INFO] [stdout] | [INFO] [stdout] 61 | pub fn assert_admin(&self, deps: Deps, caller: &HumanAddr) -> Result<(), AdminError> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `cosmwasm_std::HumanAddr`: HumanAddr is not much more than an alias to String and it does not provide significant safety advantages. With CosmWasm 0.14, we now use String when there was HumanAddr before. There is also the new Addr, which holds a validated immutable human readable address. [INFO] [stdout] --> src/admin.rs:73:27 [INFO] [stdout] | [INFO] [stdout] 73 | new_admin: Option, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `cosmwasm_std::HumanAddr`: HumanAddr is not much more than an alias to String and it does not provide significant safety advantages. With CosmWasm 0.14, we now use String when there was HumanAddr before. There is also the new Addr, which holds a validated immutable human readable address. [INFO] [stdout] --> src/admin.rs:115:26 [INFO] [stdout] | [INFO] [stdout] 115 | let admin = Some(HumanAddr::from("admin")); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `cosmwasm_std::HumanAddr`: HumanAddr is not much more than an alias to String and it does not provide significant safety advantages. With CosmWasm 0.14, we now use String when there was HumanAddr before. There is also the new Addr, which holds a validated immutable human readable address. [INFO] [stdout] --> src/admin.rs:131:21 [INFO] [stdout] | [INFO] [stdout] 131 | let owner = HumanAddr::from("big boss"); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `cosmwasm_std::HumanAddr`: HumanAddr is not much more than an alias to String and it does not provide significant safety advantages. With CosmWasm 0.14, we now use String when there was HumanAddr before. There is also the new Addr, which holds a validated immutable human readable address. [INFO] [stdout] --> src/admin.rs:132:24 [INFO] [stdout] | [INFO] [stdout] 132 | let imposter = HumanAddr::from("imposter"); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `cosmwasm_std::HumanAddr`: HumanAddr is not much more than an alias to String and it does not provide significant safety advantages. With CosmWasm 0.14, we now use String when there was HumanAddr before. There is also the new Addr, which holds a validated immutable human readable address. [INFO] [stdout] --> src/admin.rs:158:21 [INFO] [stdout] | [INFO] [stdout] 158 | let owner = HumanAddr::from("big boss"); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `cosmwasm_std::HumanAddr`: HumanAddr is not much more than an alias to String and it does not provide significant safety advantages. With CosmWasm 0.14, we now use String when there was HumanAddr before. There is also the new Addr, which holds a validated immutable human readable address. [INFO] [stdout] --> src/admin.rs:159:24 [INFO] [stdout] | [INFO] [stdout] 159 | let imposter = HumanAddr::from("imposter"); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `cosmwasm_std::HumanAddr`: HumanAddr is not much more than an alias to String and it does not provide significant safety advantages. With CosmWasm 0.14, we now use String when there was HumanAddr before. There is also the new Addr, which holds a validated immutable human readable address. [INFO] [stdout] --> src/admin.rs:160:22 [INFO] [stdout] | [INFO] [stdout] 160 | let friend = HumanAddr::from("buddy"); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `cosmwasm_std::HumanAddr`: HumanAddr is not much more than an alias to String and it does not provide significant safety advantages. With CosmWasm 0.14, we now use String when there was HumanAddr before. There is also the new Addr, which holds a validated immutable human readable address. [INFO] [stdout] --> src/claim.rs:4:52 [INFO] [stdout] | [INFO] [stdout] 4 | use cosmwasm_std::{BlockInfo, CanonicalAddr, Deps, HumanAddr, StdResult, Storage, Uint128}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `cosmwasm_std::HumanAddr`: HumanAddr is not much more than an alias to String and it does not provide significant safety advantages. With CosmWasm 0.14, we now use String when there was HumanAddr before. There is also the new Addr, which holds a validated immutable human readable address. [INFO] [stdout] --> src/claim.rs:89:53 [INFO] [stdout] | [INFO] [stdout] 89 | pub fn query_claims(&self, deps: Deps, address: HumanAddr) -> StdResult { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `cosmwasm_std::HumanAddr`: HumanAddr is not much more than an alias to String and it does not provide significant safety advantages. With CosmWasm 0.14, we now use String when there was HumanAddr before. There is also the new Addr, which holds a validated immutable human readable address. [INFO] [stdout] --> src/hooks.rs:6:37 [INFO] [stdout] | [INFO] [stdout] 6 | attr, CosmosMsg, Deps, DepsMut, HumanAddr, MessageInfo, Response, StdError, StdResult, Storage, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `cosmwasm_std::HumanAddr`: HumanAddr is not much more than an alias to String and it does not provide significant safety advantages. With CosmWasm 0.14, we now use String when there was HumanAddr before. There is also the new Addr, which holds a validated immutable human readable address. [INFO] [stdout] --> src/hooks.rs:35:35 [INFO] [stdout] | [INFO] [stdout] 35 | pub struct Hooks<'a>(Item<'a, Vec>); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `cosmwasm_std::HumanAddr`: HumanAddr is not much more than an alias to String and it does not provide significant safety advantages. With CosmWasm 0.14, we now use String when there was HumanAddr before. There is also the new Addr, which holds a validated immutable human readable address. [INFO] [stdout] --> src/hooks.rs:16:20 [INFO] [stdout] | [INFO] [stdout] 16 | pub hooks: Vec, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `cosmwasm_std::HumanAddr`: HumanAddr is not much more than an alias to String and it does not provide significant safety advantages. With CosmWasm 0.14, we now use String when there was HumanAddr before. There is also the new Addr, which holds a validated immutable human readable address. [INFO] [stdout] --> src/hooks.rs:42:61 [INFO] [stdout] | [INFO] [stdout] 42 | pub fn add_hook(&self, storage: &mut dyn Storage, addr: HumanAddr) -> Result<(), HookError> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `cosmwasm_std::HumanAddr`: HumanAddr is not much more than an alias to String and it does not provide significant safety advantages. With CosmWasm 0.14, we now use String when there was HumanAddr before. There is also the new Addr, which holds a validated immutable human readable address. [INFO] [stdout] --> src/hooks.rs:52:64 [INFO] [stdout] | [INFO] [stdout] 52 | pub fn remove_hook(&self, storage: &mut dyn Storage, addr: HumanAddr) -> Result<(), HookError> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `cosmwasm_std::HumanAddr`: HumanAddr is not much more than an alias to String and it does not provide significant safety advantages. With CosmWasm 0.14, we now use String when there was HumanAddr before. There is also the new Addr, which holds a validated immutable human readable address. [INFO] [stdout] --> src/hooks.rs:62:32 [INFO] [stdout] | [INFO] [stdout] 62 | pub fn prepare_hooks StdResult>( [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `cosmwasm_std::HumanAddr`: HumanAddr is not much more than an alias to String and it does not provide significant safety advantages. With CosmWasm 0.14, we now use String when there was HumanAddr before. There is also the new Addr, which holds a validated immutable human readable address. [INFO] [stdout] --> src/hooks.rs:80:15 [INFO] [stdout] | [INFO] [stdout] 80 | addr: HumanAddr, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `cosmwasm_std::HumanAddr`: HumanAddr is not much more than an alias to String and it does not provide significant safety advantages. With CosmWasm 0.14, we now use String when there was HumanAddr before. There is also the new Addr, which holds a validated immutable human readable address. [INFO] [stdout] --> src/hooks.rs:103:15 [INFO] [stdout] | [INFO] [stdout] 103 | addr: HumanAddr, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `HumanAddr: JsonSchema` is not satisfied [INFO] [stdout] --> src/admin.rs:15:16 [INFO] [stdout] | [INFO] [stdout] 15 | pub admin: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ the trait `JsonSchema` is not implemented for `HumanAddr` [INFO] [stdout] | [INFO] [stdout] = note: required because of the requirements on the impl of `JsonSchema` for `std::option::Option` [INFO] [stdout] = note: required by `add_schema_as_property` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `cosmwasm_std::HumanAddr: JsonSchema` is not satisfied [INFO] [stdout] --> src/admin.rs:15:16 [INFO] [stdout] | [INFO] [stdout] 15 | pub admin: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ the trait `JsonSchema` is not implemented for `cosmwasm_std::HumanAddr` [INFO] [stdout] | [INFO] [stdout] = note: required because of the requirements on the impl of `JsonSchema` for `std::option::Option` [INFO] [stdout] = note: required by `add_schema_as_property` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/admin.rs:38:51 [INFO] [stdout] | [INFO] [stdout] 38 | let admin_raw = maybe_canonical(deps.api, admin)?; [INFO] [stdout] | ^^^^^ expected struct `Addr`, found struct `HumanAddr` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `std::option::Option` [INFO] [stdout] found enum `std::option::Option` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `human_address` found for reference `&dyn Api` in the current scope [INFO] [stdout] --> src/admin.rs:44:32 [INFO] [stdout] | [INFO] [stdout] 44 | canon.map(|c| deps.api.human_address(&c)).transpose() [INFO] [stdout] | ^^^^^^^^^^^^^ method not found in `&dyn Api` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `canonical_address` found for reference `&dyn Api` in the current scope [INFO] [stdout] --> src/admin.rs:52:43 [INFO] [stdout] | [INFO] [stdout] 52 | let caller_raw = deps.api.canonical_address(caller)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ method not found in `&dyn Api` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/admin.rs:38:51 [INFO] [stdout] | [INFO] [stdout] 38 | let admin_raw = maybe_canonical(deps.api, admin)?; [INFO] [stdout] | ^^^^^ expected struct `Addr`, found struct `cosmwasm_std::HumanAddr` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `std::option::Option` [INFO] [stdout] found enum `std::option::Option` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `human_address` found for reference `&dyn Api` in the current scope [INFO] [stdout] --> src/admin.rs:44:32 [INFO] [stdout] | [INFO] [stdout] 44 | canon.map(|c| deps.api.human_address(&c)).transpose() [INFO] [stdout] | ^^^^^^^^^^^^^ method not found in `&dyn Api` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `canonical_address` found for reference `&dyn Api` in the current scope [INFO] [stdout] --> src/admin.rs:52:43 [INFO] [stdout] | [INFO] [stdout] 52 | let caller_raw = deps.api.canonical_address(caller)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ method not found in `&dyn Api` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/admin.rs:75:42 [INFO] [stdout] | [INFO] [stdout] 75 | self.assert_admin(deps.as_ref(), &info.sender)?; [INFO] [stdout] | ^^^^^^^^^^^^ expected struct `HumanAddr`, found struct `Addr` [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&HumanAddr` [INFO] [stdout] found reference `&Addr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Uint128: JsonSchema` is not satisfied [INFO] [stdout] --> src/claim.rs:17:17 [INFO] [stdout] | [INFO] [stdout] 17 | pub amount: Uint128, [INFO] [stdout] | ^^^^^^^ the trait `JsonSchema` is not implemented for `Uint128` [INFO] [stdout] | [INFO] [stdout] = note: required by `add_schema_as_property` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Expiration: JsonSchema` is not satisfied [INFO] [stdout] --> src/claim.rs:18:21 [INFO] [stdout] | [INFO] [stdout] 18 | pub release_at: Expiration, [INFO] [stdout] | ^^^^^^^^^^ the trait `JsonSchema` is not implemented for `Expiration` [INFO] [stdout] | [INFO] [stdout] = note: required by `add_schema_as_property` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `canonical_address` found for reference `&dyn Api` in the current scope [INFO] [stdout] --> src/claim.rs:90:36 [INFO] [stdout] | [INFO] [stdout] 90 | let address_raw = deps.api.canonical_address(&address)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ method not found in `&dyn Api` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `[u8]` cannot be known at compilation time [INFO] [stdout] --> src/claim.rs:90:13 [INFO] [stdout] | [INFO] [stdout] 90 | let address_raw = deps.api.canonical_address(&address)?; [INFO] [stdout] | ^^^^^^^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sized` is not implemented for `[u8]` [INFO] [stdout] = note: all local variables must have a statically known size [INFO] [stdout] = help: unsized locals are gated as an unstable feature [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `[u8]` cannot be known at compilation time [INFO] [stdout] --> src/claim.rs:90:27 [INFO] [stdout] | [INFO] [stdout] 90 | let address_raw = deps.api.canonical_address(&address)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sized` is not implemented for `[u8]` [INFO] [stdout] = note: all local variables must have a statically known size [INFO] [stdout] = help: unsized locals are gated as an unstable feature [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `[u8]` cannot be known at compilation time [INFO] [stdout] --> src/claim.rs:90:63 [INFO] [stdout] | [INFO] [stdout] 90 | let address_raw = deps.api.canonical_address(&address)?; [INFO] [stdout] | ^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sized` is not implemented for `[u8]` [INFO] [stdout] = note: required by `admin::_::_serde::__private::Err` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `HumanAddr: JsonSchema` is not satisfied [INFO] [stdout] --> src/hooks.rs:16:16 [INFO] [stdout] | [INFO] [stdout] 16 | pub hooks: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^ the trait `JsonSchema` is not implemented for `HumanAddr` [INFO] [stdout] | [INFO] [stdout] = note: required because of the requirements on the impl of `JsonSchema` for `std::vec::Vec` [INFO] [stdout] = note: required by `add_schema_as_property` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/admin.rs:75:42 [INFO] [stdout] | [INFO] [stdout] 75 | self.assert_admin(deps.as_ref(), &info.sender)?; [INFO] [stdout] | ^^^^^^^^^^^^ expected struct `cosmwasm_std::HumanAddr`, found struct `Addr` [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&cosmwasm_std::HumanAddr` [INFO] [stdout] found reference `&Addr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Uint128: JsonSchema` is not satisfied [INFO] [stdout] --> src/claim.rs:17:17 [INFO] [stdout] | [INFO] [stdout] 17 | pub amount: Uint128, [INFO] [stdout] | ^^^^^^^ the trait `JsonSchema` is not implemented for `Uint128` [INFO] [stdout] | [INFO] [stdout] = note: required by `add_schema_as_property` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Expiration: JsonSchema` is not satisfied [INFO] [stdout] --> src/claim.rs:18:21 [INFO] [stdout] | [INFO] [stdout] 18 | pub release_at: Expiration, [INFO] [stdout] | ^^^^^^^^^^ the trait `JsonSchema` is not implemented for `Expiration` [INFO] [stdout] | [INFO] [stdout] = note: required by `add_schema_as_property` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `canonical_address` found for reference `&dyn Api` in the current scope [INFO] [stdout] --> src/claim.rs:90:36 [INFO] [stdout] | [INFO] [stdout] 90 | let address_raw = deps.api.canonical_address(&address)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ method not found in `&dyn Api` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `[u8]` cannot be known at compilation time [INFO] [stdout] --> src/claim.rs:90:13 [INFO] [stdout] | [INFO] [stdout] 90 | let address_raw = deps.api.canonical_address(&address)?; [INFO] [stdout] | ^^^^^^^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sized` is not implemented for `[u8]` [INFO] [stdout] = note: all local variables must have a statically known size [INFO] [stdout] = help: unsized locals are gated as an unstable feature [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `[u8]` cannot be known at compilation time [INFO] [stdout] --> src/claim.rs:90:27 [INFO] [stdout] | [INFO] [stdout] 90 | let address_raw = deps.api.canonical_address(&address)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sized` is not implemented for `[u8]` [INFO] [stdout] = note: all local variables must have a statically known size [INFO] [stdout] = help: unsized locals are gated as an unstable feature [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `[u8]` cannot be known at compilation time [INFO] [stdout] --> src/claim.rs:90:63 [INFO] [stdout] | [INFO] [stdout] 90 | let address_raw = deps.api.canonical_address(&address)?; [INFO] [stdout] | ^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sized` is not implemented for `[u8]` [INFO] [stdout] = note: required by `admin::_::_serde::__private::Err` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `cosmwasm_std::HumanAddr: JsonSchema` is not satisfied [INFO] [stdout] --> src/hooks.rs:16:16 [INFO] [stdout] | [INFO] [stdout] 16 | pub hooks: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^ the trait `JsonSchema` is not implemented for `cosmwasm_std::HumanAddr` [INFO] [stdout] | [INFO] [stdout] = note: required because of the requirements on the impl of `JsonSchema` for `std::vec::Vec` [INFO] [stdout] = note: required by `add_schema_as_property` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/hooks.rs:82:43 [INFO] [stdout] | [INFO] [stdout] 82 | admin.assert_admin(deps.as_ref(), &info.sender)?; [INFO] [stdout] | ^^^^^^^^^^^^ expected struct `HumanAddr`, found struct `Addr` [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&HumanAddr` [INFO] [stdout] found reference `&Addr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/hooks.rs:82:43 [INFO] [stdout] | [INFO] [stdout] 82 | admin.assert_admin(deps.as_ref(), &info.sender)?; [INFO] [stdout] | ^^^^^^^^^^^^ expected struct `cosmwasm_std::HumanAddr`, found struct `Addr` [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&cosmwasm_std::HumanAddr` [INFO] [stdout] found reference `&Addr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/hooks.rs:105:43 [INFO] [stdout] | [INFO] [stdout] 105 | admin.assert_admin(deps.as_ref(), &info.sender)?; [INFO] [stdout] | ^^^^^^^^^^^^ expected struct `HumanAddr`, found struct `Addr` [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&HumanAddr` [INFO] [stdout] found reference `&Addr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 14 previous errors; 18 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0308, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `cw-controllers` [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[E0308]: mismatched types [INFO] [stdout] --> src/hooks.rs:105:43 [INFO] [stdout] | [INFO] [stdout] 105 | admin.assert_admin(deps.as_ref(), &info.sender)?; [INFO] [stdout] | ^^^^^^^^^^^^ expected struct `cosmwasm_std::HumanAddr`, found struct `Addr` [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&cosmwasm_std::HumanAddr` [INFO] [stdout] found reference `&Addr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 14 previous errors; 24 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0308, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "735ba6b664008acd490d938eb5a12d0a5e7542dae4f62d6ac8851244307d34e7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "735ba6b664008acd490d938eb5a12d0a5e7542dae4f62d6ac8851244307d34e7", kill_on_drop: false }` [INFO] [stdout] 735ba6b664008acd490d938eb5a12d0a5e7542dae4f62d6ac8851244307d34e7