[INFO] cloning repository https://github.com/joemonem/Automatic-Savings [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/joemonem/Automatic-Savings" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjoemonem%2FAutomatic-Savings", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjoemonem%2FAutomatic-Savings'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 9f0fc1a28280efea0484f3c6df252f49144285ee [INFO] checking joemonem/Automatic-Savings against master#2fcf1776b9ccef89993dfe40e9f5c4908e2d2d48 for pr-142723 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjoemonem%2FAutomatic-Savings" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/joemonem/Automatic-Savings on toolchain 2fcf1776b9ccef89993dfe40e9f5c4908e2d2d48 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2fcf1776b9ccef89993dfe40e9f5c4908e2d2d48" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-5-tc1/source/.cargo/config [INFO] started tweaking git repo https://github.com/joemonem/Automatic-Savings [INFO] finished tweaking git repo https://github.com/joemonem/Automatic-Savings [INFO] tweaked toml for git repo https://github.com/joemonem/Automatic-Savings written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/joemonem/Automatic-Savings 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" "+2fcf1776b9ccef89993dfe40e9f5c4908e2d2d48" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/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" "+2fcf1776b9ccef89993dfe40e9f5c4908e2d2d48" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d74384389c91cf6e4808ed60ace360a03046975b145ee30cb6fa152a4daa6c34 [INFO] running `Command { std: "docker" "start" "-a" "d74384389c91cf6e4808ed60ace360a03046975b145ee30cb6fa152a4daa6c34", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d74384389c91cf6e4808ed60ace360a03046975b145ee30cb6fa152a4daa6c34", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d74384389c91cf6e4808ed60ace360a03046975b145ee30cb6fa152a4daa6c34", kill_on_drop: false }` [INFO] [stdout] d74384389c91cf6e4808ed60ace360a03046975b145ee30cb6fa152a4daa6c34 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/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" "+2fcf1776b9ccef89993dfe40e9f5c4908e2d2d48" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e53109fd0c15faeee77558cabe50ab8f2262c32d0acd465442a08ca865f16c97 [INFO] running `Command { std: "docker" "start" "-a" "e53109fd0c15faeee77558cabe50ab8f2262c32d0acd465442a08ca865f16c97", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.28 [INFO] [stderr] Compiling libc v0.2.99 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Compiling typenum v1.13.0 [INFO] [stderr] Compiling syn v1.0.74 [INFO] [stderr] Checking subtle v2.4.1 [INFO] [stderr] Compiling serde_derive v1.0.127 [INFO] [stderr] Compiling serde v1.0.127 [INFO] [stderr] Checking const-oid v0.6.0 [INFO] [stderr] Checking zeroize v1.4.1 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Checking opaque-debug v0.3.0 [INFO] [stderr] Compiling serde_json v1.0.66 [INFO] [stderr] Checking cpufeatures v0.1.5 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Checking itoa v0.4.7 [INFO] [stderr] Checking der v0.4.1 [INFO] [stderr] Checking hex v0.4.3 [INFO] [stderr] Compiling crunchy v0.2.2 [INFO] [stderr] Compiling schemars v0.8.3 [INFO] [stderr] Checking dyn-clone v1.0.4 [INFO] [stderr] Checking static_assertions v1.1.0 [INFO] [stderr] Checking base64 v0.13.0 [INFO] [stderr] Checking spki v0.4.0 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Checking pkcs8 v0.7.5 [INFO] [stderr] Checking uint v0.9.1 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Checking getrandom v0.2.3 [INFO] [stderr] Checking rand_core v0.6.3 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking ff v0.10.0 [INFO] [stderr] Checking group v0.10.0 [INFO] [stderr] Checking digest v0.9.0 [INFO] [stderr] Checking crypto-bigint v0.2.2 [INFO] [stderr] Checking block-buffer v0.9.0 [INFO] [stderr] Checking crypto-mac v0.11.1 [INFO] [stderr] Checking signature v1.3.1 [INFO] [stderr] Checking hmac v0.11.0 [INFO] [stderr] Checking sha2 v0.9.5 [INFO] [stderr] Checking curve25519-dalek v3.2.0 [INFO] [stderr] Checking elliptic-curve v0.10.5 [INFO] [stderr] Checking ecdsa v0.12.3 [INFO] [stderr] Checking k256 v0.9.6 [INFO] [stderr] Compiling serde_derive_internals v0.25.0 [INFO] [stderr] Compiling thiserror-impl v1.0.26 [INFO] [stderr] Compiling cosmwasm-derive v1.0.0-beta4 [INFO] [stderr] Compiling schemars_derive v0.8.3 [INFO] [stderr] Checking thiserror v1.0.26 [INFO] [stderr] Checking ed25519-zebra v2.2.0 [INFO] [stderr] Checking serde-json-wasm v0.3.2 [INFO] [stderr] Checking cosmwasm-crypto v1.0.0-beta4 [INFO] [stderr] Checking cosmwasm-std v1.0.0-beta4 [INFO] [stderr] Checking cosmwasm-schema v1.0.0-beta [INFO] [stderr] Checking cw-storage-plus v0.11.1 [INFO] [stderr] Checking cosmwasm-storage v1.0.0-beta [INFO] [stderr] Checking cw2 v0.11.1 [INFO] [stderr] Checking automatic-savings v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::io::Read` [INFO] [stdout] --> src/contract.rs:129:9 [INFO] [stdout] | [INFO] [stdout] 129 | use std::io::Read; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `config_read` and `config` [INFO] [stdout] --> src/contract.rs:131:24 [INFO] [stdout] | [INFO] [stdout] 131 | use crate::state::{config, config_read}; [INFO] [stdout] | ^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `CosmosMsg`, `Storage`, and `coin` [INFO] [stdout] --> src/contract.rs:135:9 [INFO] [stdout] | [INFO] [stdout] 135 | coin, [INFO] [stdout] | ^^^^ [INFO] [stdout] 136 | testing::{mock_dependencies, mock_env, mock_info}, [INFO] [stdout] 137 | Addr, CosmosMsg, Storage, SubMsg, [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::state::State` [INFO] [stdout] --> src/msg.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::state::State; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::state::State` [INFO] [stdout] --> src/msg.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::state::State; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `env` [INFO] [stdout] --> src/contract.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | env: Env, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_env` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `state` [INFO] [stdout] --> src/contract.rs:95:9 [INFO] [stdout] | [INFO] [stdout] 95 | let state = STATE.load(deps.storage)?; [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_state` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `env` [INFO] [stdout] --> src/contract.rs:240:13 [INFO] [stdout] | [INFO] [stdout] 240 | let env = mock_env(); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_env` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/state.rs:18:24 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn config(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] 18 | pub fn config(storage: &mut dyn Storage) -> Singleton<'_, State> { [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:22:29 [INFO] [stdout] | [INFO] [stdout] 22 | pub fn config_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] 22 | pub fn config_read(storage: &dyn Storage) -> ReadonlySingleton<'_, State> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `env` [INFO] [stdout] --> src/contract.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | env: Env, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_env` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `state` [INFO] [stdout] --> src/contract.rs:95:9 [INFO] [stdout] | [INFO] [stdout] 95 | let state = STATE.load(deps.storage)?; [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_state` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/state.rs:18:24 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn config(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] 18 | pub fn config(storage: &mut dyn Storage) -> Singleton<'_, State> { [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:22:29 [INFO] [stdout] | [INFO] [stdout] 22 | pub fn config_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] 22 | pub fn config_read(storage: &dyn Storage) -> ReadonlySingleton<'_, State> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 21.46s [INFO] running `Command { std: "docker" "inspect" "e53109fd0c15faeee77558cabe50ab8f2262c32d0acd465442a08ca865f16c97", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e53109fd0c15faeee77558cabe50ab8f2262c32d0acd465442a08ca865f16c97", kill_on_drop: false }` [INFO] [stdout] e53109fd0c15faeee77558cabe50ab8f2262c32d0acd465442a08ca865f16c97