[INFO] cloning repository https://github.com/secretcontracts/codeId24 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/secretcontracts/codeId24" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsecretcontracts%2FcodeId24", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsecretcontracts%2FcodeId24'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] e466639773dbe9e3e21063731b8af1e62fae93b2 [INFO] checking secretcontracts/codeId24 against master#8a497b7181cad4ae66dbd6cc31042b69b6bd0df7 for pr-102474 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsecretcontracts%2FcodeId24" "/workspace/builds/worker-1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/secretcontracts/codeId24 on toolchain 8a497b7181cad4ae66dbd6cc31042b69b6bd0df7 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8a497b7181cad4ae66dbd6cc31042b69b6bd0df7" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/secretcontracts/codeId24 [INFO] finished tweaking git repo https://github.com/secretcontracts/codeId24 [INFO] tweaked toml for git repo https://github.com/secretcontracts/codeId24 written to /workspace/builds/worker-1/source/Cargo.toml [INFO] crate git repo https://github.com/secretcontracts/codeId24 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8a497b7181cad4ae66dbd6cc31042b69b6bd0df7" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating git repository `https://github.com/enigmampc/secret-toolkit` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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:3d1cd00eb6e6ea2a7969240779edeaeff35b24be85036c63b883ba933028a15f" "/opt/rustwide/cargo-home/bin/cargo" "+8a497b7181cad4ae66dbd6cc31042b69b6bd0df7" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] af7962c1aa3f91eddd42f953d3f12a4cd09c2900b447d32a65bcc22b89c79e26 [INFO] running `Command { std: "docker" "start" "-a" "af7962c1aa3f91eddd42f953d3f12a4cd09c2900b447d32a65bcc22b89c79e26", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "af7962c1aa3f91eddd42f953d3f12a4cd09c2900b447d32a65bcc22b89c79e26", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "af7962c1aa3f91eddd42f953d3f12a4cd09c2900b447d32a65bcc22b89c79e26", kill_on_drop: false }` [INFO] [stdout] af7962c1aa3f91eddd42f953d3f12a4cd09c2900b447d32a65bcc22b89c79e26 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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:3d1cd00eb6e6ea2a7969240779edeaeff35b24be85036c63b883ba933028a15f" "/opt/rustwide/cargo-home/bin/cargo" "+8a497b7181cad4ae66dbd6cc31042b69b6bd0df7" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6517748b1f9efa125a1c2e078c0d15ae4123b83dc37cf886a33d77b78e4e53b9 [INFO] running `Command { std: "docker" "start" "-a" "6517748b1f9efa125a1c2e078c0d15ae4123b83dc37cf886a33d77b78e4e53b9", 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.54 [INFO] [stderr] Compiling serde_derive v1.0.118 [INFO] [stderr] Compiling typenum v1.12.0 [INFO] [stderr] Compiling serde v1.0.118 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling serde_json v1.0.60 [INFO] [stderr] Compiling doc-comment v0.3.3 [INFO] [stderr] Compiling schemars v0.7.6 [INFO] [stderr] Checking itoa v0.4.6 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling libc v0.2.81 [INFO] [stderr] Compiling getrandom v0.1.15 [INFO] [stderr] Checking base64 v0.11.0 [INFO] [stderr] Compiling version_check v0.9.2 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Checking byte-tools v0.3.1 [INFO] [stderr] Checking subtle v1.0.0 [INFO] [stderr] Checking block-padding v0.1.5 [INFO] [stderr] Compiling crunchy v0.2.2 [INFO] [stderr] Checking ppv-lite86 v0.2.10 [INFO] [stderr] Checking fake-simd v0.1.2 [INFO] [stderr] Checking opaque-debug v0.2.3 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Checking subtle v2.4.0 [INFO] [stderr] Checking cpuid-bool v0.1.2 [INFO] [stderr] Checking opaque-debug v0.3.0 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Checking arrayref v0.3.6 [INFO] [stderr] Checking base64 v0.12.3 [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] Compiling quote v1.0.7 [INFO] [stderr] Checking generic-array v0.12.3 [INFO] [stderr] Checking digest v0.8.1 [INFO] [stderr] Checking crypto-mac v0.7.0 [INFO] [stderr] Checking block-buffer v0.7.3 [INFO] [stderr] Checking hmac v0.7.1 [INFO] [stderr] Checking sha2 v0.8.2 [INFO] [stderr] Checking block-buffer v0.9.0 [INFO] [stderr] Checking digest v0.9.0 [INFO] [stderr] Checking hmac-drbg v0.2.0 [INFO] [stderr] Checking sha2 v0.9.2 [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 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 secret-toolkit-utils v0.1.0 (https://github.com/enigmampc/secret-toolkit#1faf60a4) [INFO] [stderr] Checking secret-toolkit-serialization v0.1.0 (https://github.com/enigmampc/secret-toolkit#1faf60a4) [INFO] [stderr] Checking cosmwasm-storage v0.10.0 (https://github.com/enigmampc/SecretNetwork?tag=v1.0.0#490fba92) [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!(format!("{}", msg)) [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!(format!("{:?}", e)), [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 24.32s [INFO] running `Command { std: "docker" "inspect" "6517748b1f9efa125a1c2e078c0d15ae4123b83dc37cf886a33d77b78e4e53b9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6517748b1f9efa125a1c2e078c0d15ae4123b83dc37cf886a33d77b78e4e53b9", kill_on_drop: false }` [INFO] [stdout] 6517748b1f9efa125a1c2e078c0d15ae4123b83dc37cf886a33d77b78e4e53b9