[INFO] cloning repository https://github.com/juggernaut09/cw20-token-contract [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/juggernaut09/cw20-token-contract" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjuggernaut09%2Fcw20-token-contract", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjuggernaut09%2Fcw20-token-contract'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 7a7451d446eff95d0bfeef8455ae7ab34fa02cc2 [INFO] checking juggernaut09/cw20-token-contract against try#1f5783cbeb5da8b38566d718631d016891e9c912 for pr-142704 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjuggernaut09%2Fcw20-token-contract" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/juggernaut09/cw20-token-contract on toolchain 1f5783cbeb5da8b38566d718631d016891e9c912 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1f5783cbeb5da8b38566d718631d016891e9c912" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-4-tc2/source/.cargo/config [INFO] started tweaking git repo https://github.com/juggernaut09/cw20-token-contract [INFO] finished tweaking git repo https://github.com/juggernaut09/cw20-token-contract [INFO] tweaked toml for git repo https://github.com/juggernaut09/cw20-token-contract written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/juggernaut09/cw20-token-contract already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1f5783cbeb5da8b38566d718631d016891e9c912" "fetch" "--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] [stderr] Downloading crates ... [INFO] [stderr] Downloaded schemars v0.7.6 [INFO] [stderr] Downloaded cosmwasm-schema v0.13.2 [INFO] [stderr] Downloaded cw-storage-plus v0.5.0 [INFO] [stderr] Downloaded cosmwasm-derive v0.13.2 [INFO] [stderr] Downloaded serde-json-wasm v0.2.3 [INFO] [stderr] Downloaded schemars_derive v0.7.6 [INFO] [stderr] Downloaded cosmwasm-std v0.13.2 [INFO] [stderr] Downloaded cw0 v0.5.0 [INFO] [stderr] Downloaded cosmwasm-storage v0.13.2 [INFO] [stderr] Downloaded cw2 v0.5.0 [INFO] [stderr] Downloaded cw20 v0.5.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+1f5783cbeb5da8b38566d718631d016891e9c912" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9bb60406c35848ce8b88829312a611ccf03dee583fe0e317bff89bb06b4b24a3 [INFO] running `Command { std: "docker" "start" "-a" "9bb60406c35848ce8b88829312a611ccf03dee583fe0e317bff89bb06b4b24a3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9bb60406c35848ce8b88829312a611ccf03dee583fe0e317bff89bb06b4b24a3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9bb60406c35848ce8b88829312a611ccf03dee583fe0e317bff89bb06b4b24a3", kill_on_drop: false }` [INFO] [stdout] 9bb60406c35848ce8b88829312a611ccf03dee583fe0e317bff89bb06b4b24a3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/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" "RUSTDOCFLAGS=--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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+1f5783cbeb5da8b38566d718631d016891e9c912" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c25f820d61da619b23f335e18d3b793e85e6e781b38ddf60d639157905785ee2 [INFO] running `Command { std: "docker" "start" "-a" "c25f820d61da619b23f335e18d3b793e85e6e781b38ddf60d639157905785ee2", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling syn v1.0.60 [INFO] [stderr] Compiling serde_derive v1.0.123 [INFO] [stderr] Compiling serde v1.0.123 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling serde_json v1.0.64 [INFO] [stderr] Checking itoa v0.4.7 [INFO] [stderr] Compiling schemars v0.7.6 [INFO] [stderr] Checking base64 v0.13.0 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling serde_derive_internals v0.25.0 [INFO] [stderr] Compiling schemars_derive v0.7.6 [INFO] [stderr] Compiling thiserror-impl v1.0.24 [INFO] [stderr] Compiling cosmwasm-derive v0.13.2 [INFO] [stderr] Checking thiserror v1.0.24 [INFO] [stderr] Checking serde-json-wasm v0.2.3 [INFO] [stderr] Checking cosmwasm-std v0.13.2 [INFO] [stderr] Checking cosmwasm-schema v0.13.2 [INFO] [stderr] Checking cw-storage-plus v0.5.0 [INFO] [stderr] Checking cw0 v0.5.0 [INFO] [stderr] Checking cosmwasm-storage v0.13.2 [INFO] [stderr] Checking cw2 v0.5.0 [INFO] [stderr] Checking cw20 v0.5.0 [INFO] [stderr] Checking cw20-token-contract v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition value: `library` [INFO] [stdout] --> src/lib.rs:12:39 [INFO] [stdout] | [INFO] [stdout] 12 | #[cfg(all(target_arch = "wasm32", not(feature = "library")))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `backtraces` [INFO] [stdout] = help: consider adding `library` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `v01::testing::generate_v01_test_data` [INFO] [stdout] --> src/migrations/mod.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | pub use v01::testing::generate_v01_test_data; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `library` [INFO] [stdout] --> src/lib.rs:12:39 [INFO] [stdout] | [INFO] [stdout] 12 | #[cfg(all(target_arch = "wasm32", not(feature = "library")))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `backtraces` [INFO] [stdout] = help: consider adding `library` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/state.rs:39:28 [INFO] [stdout] | [INFO] [stdout] 39 | pub fn token_info(storage: &mut dyn Storage) -> Singleton { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ -------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 39 | pub fn token_info(storage: &mut dyn Storage) -> Singleton<'_, TokenInfo> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/state.rs:43:33 [INFO] [stdout] | [INFO] [stdout] 43 | pub fn token_info_read(storage: &dyn Storage) -> ReadonlySingleton { [INFO] [stdout] | ^^^^^^^^^^^^ ---------------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 43 | pub fn token_info_read(storage: &dyn Storage) -> ReadonlySingleton<'_, TokenInfo> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/state.rs:48:26 [INFO] [stdout] | [INFO] [stdout] 48 | pub fn balances(storage: &mut dyn Storage) -> Bucket { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ --------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 48 | pub fn balances(storage: &mut dyn Storage) -> Bucket<'_, Uint128> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/state.rs:53:31 [INFO] [stdout] | [INFO] [stdout] 53 | pub fn balances_read(storage: &dyn Storage) -> ReadonlyBucket { [INFO] [stdout] | ^^^^^^^^^^^^ ----------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 53 | pub fn balances_read(storage: &dyn Storage) -> ReadonlyBucket<'_, Uint128> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/state.rs:57:38 [INFO] [stdout] | [INFO] [stdout] 57 | pub fn balances_prefix_read(storage: &dyn Storage) -> ReadonlyPrefixedStorage { [INFO] [stdout] | ^^^^^^^^^^^^ ----------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 57 | pub fn balances_prefix_read(storage: &dyn Storage) -> ReadonlyPrefixedStorage<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/migrations/v01.rs:41:28 [INFO] [stdout] | [INFO] [stdout] 41 | fn old_allowances(storage: &mut dyn Storage) -> Bucket { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ ---------------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 41 | fn old_allowances(storage: &mut dyn Storage) -> Bucket<'_, OldAllowanceResponse> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/migrations/v01.rs:46:28 [INFO] [stdout] | [INFO] [stdout] 46 | fn new_allowances(storage: &mut dyn Storage) -> Bucket { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ ------------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 46 | fn new_allowances(storage: &mut dyn Storage) -> Bucket<'_, AllowanceResponse> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/state.rs:39:28 [INFO] [stdout] | [INFO] [stdout] 39 | pub fn token_info(storage: &mut dyn Storage) -> Singleton { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ -------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 39 | pub fn token_info(storage: &mut dyn Storage) -> Singleton<'_, TokenInfo> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/state.rs:43:33 [INFO] [stdout] | [INFO] [stdout] 43 | pub fn token_info_read(storage: &dyn Storage) -> ReadonlySingleton { [INFO] [stdout] | ^^^^^^^^^^^^ ---------------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 43 | pub fn token_info_read(storage: &dyn Storage) -> ReadonlySingleton<'_, TokenInfo> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/state.rs:48:26 [INFO] [stdout] | [INFO] [stdout] 48 | pub fn balances(storage: &mut dyn Storage) -> Bucket { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ --------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 48 | pub fn balances(storage: &mut dyn Storage) -> Bucket<'_, Uint128> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/state.rs:53:31 [INFO] [stdout] | [INFO] [stdout] 53 | pub fn balances_read(storage: &dyn Storage) -> ReadonlyBucket { [INFO] [stdout] | ^^^^^^^^^^^^ ----------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 53 | pub fn balances_read(storage: &dyn Storage) -> ReadonlyBucket<'_, Uint128> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/state.rs:57:38 [INFO] [stdout] | [INFO] [stdout] 57 | pub fn balances_prefix_read(storage: &dyn Storage) -> ReadonlyPrefixedStorage { [INFO] [stdout] | ^^^^^^^^^^^^ ----------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 57 | pub fn balances_prefix_read(storage: &dyn Storage) -> ReadonlyPrefixedStorage<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/migrations/v01.rs:41:28 [INFO] [stdout] | [INFO] [stdout] 41 | fn old_allowances(storage: &mut dyn Storage) -> Bucket { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ ---------------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 41 | fn old_allowances(storage: &mut dyn Storage) -> Bucket<'_, OldAllowanceResponse> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/migrations/v01.rs:46:28 [INFO] [stdout] | [INFO] [stdout] 46 | fn new_allowances(storage: &mut dyn Storage) -> Bucket { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ ------------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 46 | fn new_allowances(storage: &mut dyn Storage) -> Bucket<'_, AllowanceResponse> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 8.85s [INFO] running `Command { std: "docker" "inspect" "c25f820d61da619b23f335e18d3b793e85e6e781b38ddf60d639157905785ee2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c25f820d61da619b23f335e18d3b793e85e6e781b38ddf60d639157905785ee2", kill_on_drop: false }` [INFO] [stdout] c25f820d61da619b23f335e18d3b793e85e6e781b38ddf60d639157905785ee2