[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] testing joemonem/Automatic-Savings against try#8de4c7234dd9b97c9d76b58671343fdbbc9a433e+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_with_libc_patch_0 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjoemonem%2FAutomatic-Savings" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] removed /workspace/builds/worker-2-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-2-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/joemonem/Automatic-Savings on toolchain 8de4c7234dd9b97c9d76b58671343fdbbc9a433e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded cosmwasm-derive v1.0.0-beta4 [INFO] [stderr] Downloaded cw2 v0.11.1 [INFO] [stderr] Downloaded elliptic-curve v0.10.5 [INFO] [stderr] Downloaded spki v0.4.0 [INFO] [stderr] Downloaded cosmwasm-crypto v1.0.0-beta4 [INFO] [stderr] Downloaded schemars_derive v0.8.3 [INFO] [stderr] Downloaded ecdsa v0.12.3 [INFO] [stderr] Downloaded crypto-bigint v0.2.2 [INFO] [stderr] Downloaded const-oid v0.6.0 [INFO] [stderr] Downloaded der v0.4.1 [INFO] [stderr] Downloaded cosmwasm-std v1.0.0-beta4 [INFO] [stderr] Downloaded pkcs8 v0.7.5 [INFO] [stderr] Downloaded schemars v0.8.3 [INFO] [stderr] Downloaded ff v0.10.0 [INFO] [stderr] Downloaded zeroize v1.4.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 39ae3fb7424e95cc806cb0398daa6927e76939e681c293e1bbc589fa66e1938c [INFO] running `Command { std: "docker" "start" "-a" "39ae3fb7424e95cc806cb0398daa6927e76939e681c293e1bbc589fa66e1938c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "39ae3fb7424e95cc806cb0398daa6927e76939e681c293e1bbc589fa66e1938c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "39ae3fb7424e95cc806cb0398daa6927e76939e681c293e1bbc589fa66e1938c", kill_on_drop: false }` [INFO] [stdout] 39ae3fb7424e95cc806cb0398daa6927e76939e681c293e1bbc589fa66e1938c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "build" "--frozen" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 89869cbf5f3ac106fbe7e8729e9e00f55f81b6a43cd152f7d959ae1105b53e19 [INFO] running `Command { std: "docker" "start" "-a" "89869cbf5f3ac106fbe7e8729e9e00f55f81b6a43cd152f7d959ae1105b53e19", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.99 [INFO] [stderr] Compiling typenum v1.13.0 [INFO] [stderr] Compiling proc-macro2 v1.0.28 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.74 [INFO] [stderr] Compiling subtle v2.4.1 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Compiling serde_derive v1.0.127 [INFO] [stderr] Compiling zeroize v1.4.1 [INFO] [stderr] Compiling const-oid v0.6.0 [INFO] [stderr] Compiling serde v1.0.127 [INFO] [stderr] Compiling der v0.4.1 [INFO] [stderr] Compiling cpufeatures v0.1.5 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling serde_json v1.0.66 [INFO] [stderr] Compiling schemars v0.8.3 [INFO] [stderr] Compiling uint v0.9.1 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling getrandom v0.2.3 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling spki v0.4.0 [INFO] [stderr] Compiling ff v0.10.0 [INFO] [stderr] Compiling pkcs8 v0.7.5 [INFO] [stderr] Compiling group v0.10.0 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling crypto-bigint v0.2.2 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling crypto-mac v0.11.1 [INFO] [stderr] Compiling sha2 v0.9.5 [INFO] [stderr] Compiling hmac v0.11.0 [INFO] [stderr] Compiling signature v1.3.1 [INFO] [stderr] Compiling curve25519-dalek v3.2.0 [INFO] [stderr] Compiling elliptic-curve v0.10.5 [INFO] [stderr] Compiling ecdsa v0.12.3 [INFO] [stderr] Compiling k256 v0.9.6 [INFO] [stderr] Compiling serde_derive_internals v0.25.0 [INFO] [stderr] Compiling thiserror-impl v1.0.26 [INFO] [stderr] Compiling schemars_derive v0.8.3 [INFO] [stderr] Compiling cosmwasm-derive v1.0.0-beta4 [INFO] [stderr] Compiling thiserror v1.0.26 [INFO] [stderr] Compiling ed25519-zebra v2.2.0 [INFO] [stderr] Compiling serde-json-wasm v0.3.2 [INFO] [stderr] Compiling cosmwasm-crypto v1.0.0-beta4 [INFO] [stderr] Compiling cosmwasm-std v1.0.0-beta4 [INFO] [stderr] Compiling cw-storage-plus v0.11.1 [INFO] [stderr] Compiling cosmwasm-storage v1.0.0-beta [INFO] [stderr] Compiling cw2 v0.11.1 [INFO] [stderr] Compiling automatic-savings v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: dropping unsupported crate type `cdylib` for target `x86_64-unknown-linux-musl` [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: 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 41.84s [INFO] running `Command { std: "docker" "inspect" "89869cbf5f3ac106fbe7e8729e9e00f55f81b6a43cd152f7d959ae1105b53e19", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "89869cbf5f3ac106fbe7e8729e9e00f55f81b6a43cd152f7d959ae1105b53e19", kill_on_drop: false }` [INFO] [stdout] 89869cbf5f3ac106fbe7e8729e9e00f55f81b6a43cd152f7d959ae1105b53e19 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--no-run" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 44f4d93b93d1b5007d998ef29f393c8c9ba171c93e9bbfeb941ef1ef03977852 [INFO] running `Command { std: "docker" "start" "-a" "44f4d93b93d1b5007d998ef29f393c8c9ba171c93e9bbfeb941ef1ef03977852", kill_on_drop: false }` [INFO] [stderr] Compiling cosmwasm-schema v1.0.0-beta [INFO] [stdout] warning: dropping unsupported crate type `cdylib` for target `x86_64-unknown-linux-musl` [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: 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] Compiling 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 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] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 2.66s [INFO] running `Command { std: "docker" "inspect" "44f4d93b93d1b5007d998ef29f393c8c9ba171c93e9bbfeb941ef1ef03977852", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "44f4d93b93d1b5007d998ef29f393c8c9ba171c93e9bbfeb941ef1ef03977852", kill_on_drop: false }` [INFO] [stdout] 44f4d93b93d1b5007d998ef29f393c8c9ba171c93e9bbfeb941ef1ef03977852 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 25994b533aedc09e54f3286510765950a6af10f0b0e54afb2d2c155198543114 [INFO] running `Command { std: "docker" "start" "-a" "25994b533aedc09e54f3286510765950a6af10f0b0e54afb2d2c155198543114", kill_on_drop: false }` [INFO] [stderr] warning: dropping unsupported crate type `cdylib` for target `x86_64-unknown-linux-musl` [INFO] [stderr] [INFO] [stderr] warning: unused import: `crate::state::State` [INFO] [stderr] --> src/msg.rs:5:5 [INFO] [stderr] | [INFO] [stderr] 5 | use crate::state::State; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `env` [INFO] [stderr] --> src/contract.rs:24:5 [INFO] [stderr] | [INFO] [stderr] 24 | env: Env, [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_env` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `state` [INFO] [stderr] --> src/contract.rs:95:9 [INFO] [stderr] | [INFO] [stderr] 95 | let state = STATE.load(deps.storage)?; [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_state` [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/state.rs:18:24 [INFO] [stderr] | [INFO] [stderr] 18 | pub fn config(storage: &mut dyn Storage) -> Singleton { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ ---------------- the lifetime gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 18 | pub fn config(storage: &mut dyn Storage) -> Singleton<'_, State> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/state.rs:22:29 [INFO] [stderr] | [INFO] [stderr] 22 | pub fn config_read(storage: &dyn Storage) -> ReadonlySingleton { [INFO] [stderr] | ^^^^^^^^^^^^ ------------------------ the lifetime gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 22 | pub fn config_read(storage: &dyn Storage) -> ReadonlySingleton<'_, State> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::io::Read` [INFO] [stderr] --> src/contract.rs:129:9 [INFO] [stderr] | [INFO] [stderr] 129 | use std::io::Read; [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused imports: `config_read` and `config` [INFO] [stderr] --> src/contract.rs:131:24 [INFO] [stderr] | [INFO] [stderr] 131 | use crate::state::{config, config_read}; [INFO] [stderr] | ^^^^^^ ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `CosmosMsg`, `Storage`, and `coin` [INFO] [stderr] --> src/contract.rs:135:9 [INFO] [stderr] | [INFO] [stderr] 135 | coin, [INFO] [stderr] | ^^^^ [INFO] [stderr] 136 | testing::{mock_dependencies, mock_env, mock_info}, [INFO] [stderr] 137 | Addr, CosmosMsg, Storage, SubMsg, [INFO] [stderr] | ^^^^^^^^^ ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `crate::state::State` [INFO] [stderr] --> src/msg.rs:5:5 [INFO] [stderr] | [INFO] [stderr] 5 | use crate::state::State; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused variable: `env` [INFO] [stderr] --> src/contract.rs:240:13 [INFO] [stderr] | [INFO] [stderr] 240 | let env = mock_env(); [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_env` [INFO] [stderr] [INFO] [stderr] warning: `automatic-savings` (lib) generated 6 warnings (run `cargo fix --lib -p automatic-savings` to apply 3 suggestions) [INFO] [stderr] warning: `automatic-savings` (lib test) generated 9 warnings (4 duplicates) (run `cargo fix --lib -p automatic-savings --tests` to apply 4 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.09s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/automatic_savings-d442f0f032b5b084) [INFO] [stdout] [INFO] [stdout] running 3 tests [INFO] [stdout] test contract::tests::try_instantiate ... ok [INFO] [stdout] test contract::tests::try_flush ... ok [INFO] [stdout] test contract::tests::try_transfer ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 3 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "25994b533aedc09e54f3286510765950a6af10f0b0e54afb2d2c155198543114", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "25994b533aedc09e54f3286510765950a6af10f0b0e54afb2d2c155198543114", kill_on_drop: false }` [INFO] [stdout] 25994b533aedc09e54f3286510765950a6af10f0b0e54afb2d2c155198543114