[INFO] cloning repository https://github.com/Zukitata03/lottery-orai [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Zukitata03/lottery-orai" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FZukitata03%2Flottery-orai", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FZukitata03%2Flottery-orai'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] da1a81ddbfabf26f685696e78c89ab0482662606 [INFO] checking Zukitata03/lottery-orai against try#f45c1ab62d4de6b63f69b4daa9d1f0b90c38a208 for pr-139419 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FZukitata03%2Flottery-orai" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Zukitata03/lottery-orai on toolchain f45c1ab62d4de6b63f69b4daa9d1f0b90c38a208 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f45c1ab62d4de6b63f69b4daa9d1f0b90c38a208" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-0-tc2/source/.cargo/config [INFO] started tweaking git repo https://github.com/Zukitata03/lottery-orai [INFO] finished tweaking git repo https://github.com/Zukitata03/lottery-orai [INFO] tweaked toml for git repo https://github.com/Zukitata03/lottery-orai written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/Zukitata03/lottery-orai 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" "+f45c1ab62d4de6b63f69b4daa9d1f0b90c38a208" "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 cosmwasm-schema-derive v1.5.5 [INFO] [stderr] Downloaded cosmwasm-crypto v1.5.5 [INFO] [stderr] Downloaded cosmwasm-schema v1.5.5 [INFO] [stderr] Downloaded cosmwasm-derive v1.5.5 [INFO] [stderr] Downloaded cosmwasm-std v1.5.5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+f45c1ab62d4de6b63f69b4daa9d1f0b90c38a208" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 970bf4b209a763302d57b38dcf90a7b030d5b6b0480898a027070e8591dfeab7 [INFO] running `Command { std: "docker" "start" "-a" "970bf4b209a763302d57b38dcf90a7b030d5b6b0480898a027070e8591dfeab7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "970bf4b209a763302d57b38dcf90a7b030d5b6b0480898a027070e8591dfeab7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "970bf4b209a763302d57b38dcf90a7b030d5b6b0480898a027070e8591dfeab7", kill_on_drop: false }` [INFO] [stdout] 970bf4b209a763302d57b38dcf90a7b030d5b6b0480898a027070e8591dfeab7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+f45c1ab62d4de6b63f69b4daa9d1f0b90c38a208" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5a9942902ac7c059611d247107d3039626e38c5f27f86e9bba1604930987f850 [INFO] running `Command { std: "docker" "start" "-a" "5a9942902ac7c059611d247107d3039626e38c5f27f86e9bba1604930987f850", kill_on_drop: false }` [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling libc v0.2.155 [INFO] [stderr] Checking subtle v2.6.1 [INFO] [stderr] Checking const-oid v0.9.6 [INFO] [stderr] Compiling serde v1.0.203 [INFO] [stderr] Compiling ahash v0.7.8 [INFO] [stderr] Checking cpufeatures v0.2.12 [INFO] [stderr] Compiling syn v2.0.68 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking once_cell v1.19.0 [INFO] [stderr] Checking der v0.7.9 [INFO] [stderr] Checking base16ct v0.2.0 [INFO] [stderr] Compiling thiserror v1.0.61 [INFO] [stderr] Compiling serde_json v1.0.118 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking ryu v1.0.18 [INFO] [stderr] Compiling schemars v0.8.21 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Checking opaque-debug v0.3.1 [INFO] [stderr] Checking dyn-clone v1.0.17 [INFO] [stderr] Checking base64 v0.21.7 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Checking digest v0.9.0 [INFO] [stderr] Checking block-buffer v0.9.0 [INFO] [stderr] Checking forward_ref v1.0.0 [INFO] [stderr] Checking bnum v0.10.0 [INFO] [stderr] Checking curve25519-dalek v3.2.0 [INFO] [stderr] Checking sha2 v0.9.9 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking hmac v0.12.1 [INFO] [stderr] Checking spki v0.7.3 [INFO] [stderr] Checking sec1 v0.7.3 [INFO] [stderr] Checking rfc6979 v0.4.0 [INFO] [stderr] Checking ff v0.13.0 [INFO] [stderr] Checking pkcs8 v0.10.2 [INFO] [stderr] Checking crypto-bigint v0.5.5 [INFO] [stderr] Checking signature v2.2.0 [INFO] [stderr] Checking group v0.13.0 [INFO] [stderr] Checking sha2 v0.10.8 [INFO] [stderr] Checking bech32 v0.9.1 [INFO] [stderr] Checking hashbrown v0.12.3 [INFO] [stderr] Compiling either v1.12.0 [INFO] [stderr] Compiling semver v1.0.23 [INFO] [stderr] Compiling anyhow v1.0.86 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Checking bytes v1.6.0 [INFO] [stderr] Compiling serde_derive_internals v0.29.1 [INFO] [stderr] Checking elliptic-curve v0.13.8 [INFO] [stderr] Compiling serde_derive v1.0.203 [INFO] [stderr] Compiling thiserror-impl v1.0.61 [INFO] [stderr] Compiling schemars_derive v0.8.21 [INFO] [stderr] Checking ecdsa v0.16.9 [INFO] [stderr] Checking k256 v0.13.1 [INFO] [stderr] Compiling cosmwasm-derive v1.5.5 [INFO] [stderr] Compiling derivative v2.2.0 [INFO] [stderr] Compiling cosmwasm-schema-derive v1.5.5 [INFO] [stderr] Compiling prost-derive v0.9.0 [INFO] [stderr] Checking prost v0.9.0 [INFO] [stderr] Checking ed25519-zebra v3.1.0 [INFO] [stderr] Checking serde-json-wasm v0.5.2 [INFO] [stderr] Checking cosmwasm-crypto v1.5.5 [INFO] [stderr] Checking cosmwasm-std v1.5.5 [INFO] [stderr] Checking cosmwasm-schema v1.5.5 [INFO] [stderr] Checking cw-storage-plus v0.15.1 [INFO] [stderr] Checking cosmwasm-storage v1.5.2 [INFO] [stderr] Checking cw2 v0.15.1 [INFO] [stderr] Checking cw-utils v0.15.1 [INFO] [stderr] Checking lottery v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated function `cosmwasm_std::to_binary`: use to_json_binary instead [INFO] [stdout] --> src/contract.rs:5:114 [INFO] [stdout] | [INFO] [stdout] 5 | use cosmwasm_std::{Addr, BankMsg, Binary, Coin, CosmosMsg, Deps, DepsMut, Env, MessageInfo, Response, StdResult, to_binary}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `cosmwasm_std::to_binary`: use to_json_binary instead [INFO] [stdout] --> src/contract.rs:183:46 [INFO] [stdout] | [INFO] [stdout] 183 | QueryMsg::GetTicketId { address } => to_binary(&query_ticket_id(deps, address)?), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `cosmwasm_std::to_binary`: use to_json_binary instead [INFO] [stdout] --> src/contract.rs:184:51 [INFO] [stdout] | [INFO] [stdout] 184 | QueryMsg::GetRoundWinners { round_id } => to_binary(&query_round_winners(deps, round_id)?), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `cosmwasm_std::to_binary`: use to_json_binary instead [INFO] [stdout] --> src/helpers.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | to_binary, Addr, CosmosMsg, StdResult, WasmMsg, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `cosmwasm_std::to_binary`: use to_json_binary instead [INFO] [stdout] --> src/helpers.rs:21:19 [INFO] [stdout] | [INFO] [stdout] 21 | let msg = to_binary(&msg.into())?; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `env` [INFO] [stdout] --> src/contract.rs:63:34 [INFO] [stdout] | [INFO] [stdout] 63 | fn try_buy_ticket(deps: DepsMut, env: Env, info: MessageInfo) -> Result { [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: `info` [INFO] [stdout] --> src/contract.rs:96:43 [INFO] [stdout] | [INFO] [stdout] 96 | fn try_end_round(deps: DepsMut, env: Env, info: MessageInfo) -> Result { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_info` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `env` [INFO] [stdout] --> src/contract.rs:165:29 [INFO] [stdout] | [INFO] [stdout] 165 | fn try_pause(deps: DepsMut, env: Env, info: MessageInfo, new_duration: Option) -> Result { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_env` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `env` [INFO] [stdout] --> src/contract.rs:181:26 [INFO] [stdout] | [INFO] [stdout] 181 | pub fn query(deps: Deps, env: Env, msg: QueryMsg) -> StdResult { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_env` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking cw-multi-test v0.15.1 [INFO] [stdout] warning: use of deprecated function `cosmwasm_std::to_binary`: use to_json_binary instead [INFO] [stdout] --> src/contract.rs:5:114 [INFO] [stdout] | [INFO] [stdout] 5 | use cosmwasm_std::{Addr, BankMsg, Binary, Coin, CosmosMsg, Deps, DepsMut, Env, MessageInfo, Response, StdResult, to_binary}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `cosmwasm_std::to_binary`: use to_json_binary instead [INFO] [stdout] --> src/contract.rs:183:46 [INFO] [stdout] | [INFO] [stdout] 183 | QueryMsg::GetTicketId { address } => to_binary(&query_ticket_id(deps, address)?), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `cosmwasm_std::to_binary`: use to_json_binary instead [INFO] [stdout] --> src/contract.rs:184:51 [INFO] [stdout] | [INFO] [stdout] 184 | QueryMsg::GetRoundWinners { round_id } => to_binary(&query_round_winners(deps, round_id)?), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `cosmwasm_std::from_binary`: use from_json instead [INFO] [stdout] --> src/contract.rs:209:36 [INFO] [stdout] | [INFO] [stdout] 209 | use cosmwasm_std::{coin, Addr, from_binary}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `cosmwasm_std::from_binary`: use from_json instead [INFO] [stdout] --> src/contract.rs:331:30 [INFO] [stdout] | [INFO] [stdout] 331 | let ticket_id: u64 = from_binary(&res).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `cosmwasm_std::from_binary`: use from_json instead [INFO] [stdout] --> src/contract.rs:372:34 [INFO] [stdout] | [INFO] [stdout] 372 | let winners: Vec = from_binary(&res).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `cosmwasm_std::to_binary`: use to_json_binary instead [INFO] [stdout] --> src/helpers.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | to_binary, Addr, CosmosMsg, StdResult, WasmMsg, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `cosmwasm_std::to_binary`: use to_json_binary instead [INFO] [stdout] --> src/helpers.rs:21:19 [INFO] [stdout] | [INFO] [stdout] 21 | let msg = to_binary(&msg.into())?; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `env` [INFO] [stdout] --> src/contract.rs:63:34 [INFO] [stdout] | [INFO] [stdout] 63 | fn try_buy_ticket(deps: DepsMut, env: Env, info: MessageInfo) -> Result { [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: `info` [INFO] [stdout] --> src/contract.rs:96:43 [INFO] [stdout] | [INFO] [stdout] 96 | fn try_end_round(deps: DepsMut, env: Env, info: MessageInfo) -> Result { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_info` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `env` [INFO] [stdout] --> src/contract.rs:165:29 [INFO] [stdout] | [INFO] [stdout] 165 | fn try_pause(deps: DepsMut, env: Env, info: MessageInfo, new_duration: Option) -> Result { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_env` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `env` [INFO] [stdout] --> src/contract.rs:181:26 [INFO] [stdout] | [INFO] [stdout] 181 | pub fn query(deps: Deps, env: Env, msg: QueryMsg) -> StdResult { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_env` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `res` [INFO] [stdout] --> src/contract.rs:304:13 [INFO] [stdout] | [INFO] [stdout] 304 | let res = execute(deps.as_mut(), env.clone(), info.clone(), msg).unwrap(); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_res` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 41.46s [INFO] running `Command { std: "docker" "inspect" "5a9942902ac7c059611d247107d3039626e38c5f27f86e9bba1604930987f850", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5a9942902ac7c059611d247107d3039626e38c5f27f86e9bba1604930987f850", kill_on_drop: false }` [INFO] [stdout] 5a9942902ac7c059611d247107d3039626e38c5f27f86e9bba1604930987f850