[INFO] cloning repository https://github.com/secretcontracts/codeId25 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/secretcontracts/codeId25" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsecretcontracts%2FcodeId25", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsecretcontracts%2FcodeId25'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 9cd6279891d129dbf43b14cb97692ed00627265a [INFO] checking secretcontracts/codeId25 against try#3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f for pr-87248 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsecretcontracts%2FcodeId25" "/workspace/builds/worker-7/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/secretcontracts/codeId25 on toolchain 3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/secretcontracts/codeId25 [INFO] finished tweaking git repo https://github.com/secretcontracts/codeId25 [INFO] tweaked toml for git repo https://github.com/secretcontracts/codeId25 written to /workspace/builds/worker-7/source/Cargo.toml [INFO] crate git repo https://github.com/secretcontracts/codeId25 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded snafu-derive v0.6.10 [INFO] [stderr] Downloaded snafu v0.6.10 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] a40bf56a99a9bba2cfd207b2bf0d8cfaf1a4386c48c4a29229e343fd07038790 [INFO] running `Command { std: "docker" "start" "-a" "a40bf56a99a9bba2cfd207b2bf0d8cfaf1a4386c48c4a29229e343fd07038790", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a40bf56a99a9bba2cfd207b2bf0d8cfaf1a4386c48c4a29229e343fd07038790", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a40bf56a99a9bba2cfd207b2bf0d8cfaf1a4386c48c4a29229e343fd07038790", kill_on_drop: false }` [INFO] [stdout] a40bf56a99a9bba2cfd207b2bf0d8cfaf1a4386c48c4a29229e343fd07038790 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] afa68ac3d7789a93c5bf4cc7614cf925b1dc68ced87d10ac241f288df81c8ca1 [INFO] running `Command { std: "docker" "start" "-a" "afa68ac3d7789a93c5bf4cc7614cf925b1dc68ced87d10ac241f288df81c8ca1", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling syn v1.0.54 [INFO] [stderr] Compiling serde_derive v1.0.118 [INFO] [stderr] Compiling serde v1.0.118 [INFO] [stderr] Compiling serde_json v1.0.60 [INFO] [stderr] Compiling libc v0.2.81 [INFO] [stderr] Compiling getrandom v0.1.15 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Checking ppv-lite86 v0.2.10 [INFO] [stderr] Checking subtle v2.4.0 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking libsecp256k1 v0.3.5 [INFO] [stderr] Compiling serde_derive_internals v0.25.0 [INFO] [stderr] Compiling schemars_derive v0.7.6 [INFO] [stderr] Compiling snafu-derive v0.6.10 [INFO] [stderr] Checking snafu v0.6.10 [INFO] [stderr] Checking serde-json-wasm v0.2.1 [INFO] [stderr] Checking bincode2 v2.0.1 [INFO] [stderr] Checking schemars v0.7.6 [INFO] [stderr] Checking cosmwasm-std v0.10.0 (https://github.com/enigmampc/SecretNetwork?tag=v1.0.0#490fba92) [INFO] [stderr] Checking cosmwasm-schema v0.10.0 (https://github.com/enigmampc/SecretNetwork?tag=v1.0.0#490fba92) [INFO] [stderr] Checking cosmwasm-storage v0.10.0 (https://github.com/enigmampc/SecretNetwork?tag=v1.0.0#490fba92) [INFO] [stderr] Checking secret-toolkit-serialization v0.1.0 (https://github.com/enigmampc/secret-toolkit#1faf60a4) [INFO] [stderr] Checking secret-toolkit-utils v0.1.0 (https://github.com/enigmampc/secret-toolkit#1faf60a4) [INFO] [stderr] Checking secret-toolkit-crypto v0.1.0 (https://github.com/enigmampc/secret-toolkit#1faf60a4) [INFO] [stderr] Checking secret-toolkit-snip20 v0.1.0 (https://github.com/enigmampc/secret-toolkit#1faf60a4) [INFO] [stderr] Checking secret-toolkit-storage v0.1.0 (https://github.com/enigmampc/secret-toolkit#1faf60a4) [INFO] [stderr] Checking secret-toolkit v0.1.0 (https://github.com/enigmampc/secret-toolkit#1faf60a4) [INFO] [stderr] Checking lockup-incentives v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `Receive`, `Redeem` [INFO] [stdout] --> src/contract.rs:692:33 [INFO] [stdout] | [INFO] [stdout] 692 | use crate::msg::HandleMsg::{Receive, Redeem, SetViewingKey}; [INFO] [stdout] | ^^^^^^^ ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Deposit`, `Rewards` [INFO] [stdout] --> src/contract.rs:693:32 [INFO] [stdout] | [INFO] [stdout] 693 | use crate::msg::QueryMsg::{Deposit, Rewards}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Empty`, `coins` [INFO] [stdout] --> src/contract.rs:700:9 [INFO] [stdout] | [INFO] [stdout] 700 | coins, from_binary, BlockInfo, Coin, ContractInfo, Empty, MessageInfo, StdError, WasmMsg, [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/contract.rs:896:41 [INFO] [stdout] | [INFO] [stdout] 896 | ... _ => panic!(), [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `backtrace` [INFO] [stdout] --> src/contract.rs:908:45 [INFO] [stdout] | [INFO] [stdout] 908 | StdError::GenericErr { msg, backtrace } => { [INFO] [stdout] | ^^^^^^^^^ help: try ignoring the field: `backtrace: _` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `init_result` [INFO] [stdout] --> src/contract.rs:937:14 [INFO] [stdout] | [INFO] [stdout] 937 | let (init_result, mut deps) = init_helper(deadline); [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_init_result` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/contract.rs:957:17 [INFO] [stdout] | [INFO] [stdout] 957 | for i in 0..num_of_actions { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `init_result` [INFO] [stdout] --> src/contract.rs:996:14 [INFO] [stdout] | [INFO] [stdout] 996 | let (init_result, mut deps) = init_helper(10000000); // Claim height is deadline + 1 [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_init_result` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `init_result` [INFO] [stdout] --> src/contract.rs:1033:14 [INFO] [stdout] | [INFO] [stdout] 1033 | let (init_result, mut deps) = init_helper(10000000); [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_init_result` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `init_result` [INFO] [stdout] --> src/contract.rs:1084:14 [INFO] [stdout] | [INFO] [stdout] 1084 | let (init_result, mut deps) = init_helper(10000000); [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_init_result` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/contract.rs:910:32 [INFO] [stdout] | [INFO] [stdout] 910 | panic!(format!("{}", msg)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 910 | panic!("{}", msg) [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/contract.rs:913:29 [INFO] [stdout] | [INFO] [stdout] 913 | _ => panic!(format!("{:?}", e)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 913 | _ => panic!("{:?}", e), [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 37.47s [INFO] running `Command { std: "docker" "inspect" "afa68ac3d7789a93c5bf4cc7614cf925b1dc68ced87d10ac241f288df81c8ca1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "afa68ac3d7789a93c5bf4cc7614cf925b1dc68ced87d10ac241f288df81c8ca1", kill_on_drop: false }` [INFO] [stdout] afa68ac3d7789a93c5bf4cc7614cf925b1dc68ced87d10ac241f288df81c8ca1