[INFO] cloning repository https://github.com/vivipolli/rust-contract-mood [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/vivipolli/rust-contract-mood" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvivipolli%2Frust-contract-mood", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvivipolli%2Frust-contract-mood'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] e525fc534364b965cf84b67f8ff1033cd1d91565 [INFO] checking vivipolli/rust-contract-mood against master#a33907a7a5381473eec8bcfa0c56e05a856a911c for pr-151539 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvivipolli%2Frust-contract-mood" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] removed /workspace/builds/worker-3-tc1/source/.cargo/config.toml [INFO] started tweaking git repo https://github.com/vivipolli/rust-contract-mood [INFO] finished tweaking git repo https://github.com/vivipolli/rust-contract-mood [INFO] tweaked toml for git repo https://github.com/vivipolli/rust-contract-mood written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/vivipolli/rust-contract-mood on toolchain a33907a7a5381473eec8bcfa0c56e05a856a911c [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a33907a7a5381473eec8bcfa0c56e05a856a911c" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/vivipolli/rust-contract-mood 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" "+a33907a7a5381473eec8bcfa0c56e05a856a911c" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded cw2 v2.0.0 [INFO] [stderr] Downloaded dyn-clone v1.0.18 [INFO] [stderr] Downloaded cosmwasm-derive v2.2.1 [INFO] [stderr] Downloaded cosmwasm-core v2.2.1 [INFO] [stderr] Downloaded cosmwasm-schema-derive v2.2.1 [INFO] [stderr] Downloaded cosmwasm-schema v2.2.1 [INFO] [stderr] Downloaded serde-json-wasm v1.0.1 [INFO] [stderr] Downloaded cw-utils v2.0.0 [INFO] [stderr] Downloaded bnum v0.11.0 [INFO] [stderr] Downloaded cw-multi-test v2.3.1 [INFO] [stderr] Downloaded cw-storage-plus v2.0.0 [INFO] [stderr] Downloaded cosmwasm-std v2.2.1 [INFO] [stderr] Downloaded cosmwasm-crypto v2.2.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:61361fe0aef631f17e9d025a70c5a647956f8c671dd02950a60ad3f5cc5526d7" "/opt/rustwide/cargo-home/bin/cargo" "+a33907a7a5381473eec8bcfa0c56e05a856a911c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 631c068dd77efe0654cbef9574c069c75ec85d4108faf46406d3534c614101af [INFO] running `Command { std: "docker" "start" "-a" "631c068dd77efe0654cbef9574c069c75ec85d4108faf46406d3534c614101af", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "631c068dd77efe0654cbef9574c069c75ec85d4108faf46406d3534c614101af", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "631c068dd77efe0654cbef9574c069c75ec85d4108faf46406d3534c614101af", kill_on_drop: false }` [INFO] [stdout] 631c068dd77efe0654cbef9574c069c75ec85d4108faf46406d3534c614101af [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:61361fe0aef631f17e9d025a70c5a647956f8c671dd02950a60ad3f5cc5526d7" "/opt/rustwide/cargo-home/bin/cargo" "+a33907a7a5381473eec8bcfa0c56e05a856a911c" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8484f8ca44ac65ab9790e4ea0b64aac69cee5e7dcdddda0447af87d601ac19be [INFO] running `Command { std: "docker" "start" "-a" "8484f8ca44ac65ab9790e4ea0b64aac69cee5e7dcdddda0447af87d601ac19be", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.169 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling syn v2.0.98 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking crossbeam-epoch v0.9.18 [INFO] [stderr] Checking once_cell v1.20.3 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Compiling serde v1.0.217 [INFO] [stderr] Checking base16ct v0.2.0 [INFO] [stderr] Checking num-bigint v0.4.6 [INFO] [stderr] Checking itertools v0.10.5 [INFO] [stderr] Checking crossbeam-deque v0.8.6 [INFO] [stderr] Compiling curve25519-dalek v4.1.3 [INFO] [stderr] Checking rayon-core v1.12.1 [INFO] [stderr] Compiling schemars v0.8.21 [INFO] [stderr] Checking dyn-clone v1.0.18 [INFO] [stderr] Checking rmp v0.8.14 [INFO] [stderr] Checking rayon v1.10.0 [INFO] [stderr] Checking cosmwasm-core v2.2.1 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Checking bnum v0.11.0 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking ff v0.13.0 [INFO] [stderr] Checking group v0.13.0 [INFO] [stderr] Checking bech32 v0.11.0 [INFO] [stderr] Compiling semver v1.0.25 [INFO] [stderr] Compiling itertools v0.14.0 [INFO] [stderr] Compiling anyhow v1.0.95 [INFO] [stderr] Checking bytes v1.10.0 [INFO] [stderr] Compiling serde_derive_internals v0.29.1 [INFO] [stderr] Compiling zeroize_derive v1.4.2 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling serde_derive v1.0.217 [INFO] [stderr] Compiling curve25519-dalek-derive v0.1.1 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling derive_more-impl v1.0.0 [INFO] [stderr] Compiling ark-serialize-derive v0.4.2 [INFO] [stderr] Compiling derivative v2.2.0 [INFO] [stderr] Checking zeroize v1.8.1 [INFO] [stderr] Compiling ark-ff-macros v0.4.2 [INFO] [stderr] Compiling ark-ff-asm v0.4.2 [INFO] [stderr] Checking zerocopy v0.7.35 [INFO] [stderr] Checking der v0.7.9 [INFO] [stderr] Checking thiserror v1.0.69 [INFO] [stderr] Compiling schemars_derive v0.8.21 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking crypto-bigint v0.5.5 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking ppv-lite86 v0.2.20 [INFO] [stderr] Checking ahash v0.8.11 [INFO] [stderr] Checking hashbrown v0.13.2 [INFO] [stderr] Checking signature v2.2.0 [INFO] [stderr] Checking sec1 v0.7.3 [INFO] [stderr] Checking hmac v0.12.1 [INFO] [stderr] Checking sha2 v0.10.8 [INFO] [stderr] Checking rfc6979 v0.4.0 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking ed25519 v2.2.3 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking hashbrown v0.14.5 [INFO] [stderr] Checking derive_more v1.0.0 [INFO] [stderr] Compiling cosmwasm-derive v2.2.1 [INFO] [stderr] Checking ark-std v0.4.0 [INFO] [stderr] Compiling cosmwasm-schema-derive v2.2.1 [INFO] [stderr] Checking ark-serialize v0.4.2 [INFO] [stderr] Compiling thiserror-impl v2.0.11 [INFO] [stderr] Checking elliptic-curve v0.13.8 [INFO] [stderr] Checking ark-ff v0.4.2 [INFO] [stderr] Compiling prost-derive v0.13.5 [INFO] [stderr] Checking ecdsa v0.16.9 [INFO] [stderr] Checking primeorder v0.13.6 [INFO] [stderr] Checking ed25519-zebra v4.0.3 [INFO] [stderr] Checking k256 v0.13.4 [INFO] [stderr] Checking p256 v0.13.2 [INFO] [stderr] Checking thiserror v2.0.11 [INFO] [stderr] Checking prost v0.13.5 [INFO] [stderr] Checking serde_json v1.0.138 [INFO] [stderr] Checking serde-json-wasm v1.0.1 [INFO] [stderr] Checking rmp-serde v1.3.0 [INFO] [stderr] Checking cosmwasm-schema v2.2.1 [INFO] [stderr] Checking ark-poly v0.4.2 [INFO] [stderr] Checking ark-ec v0.4.2 [INFO] [stderr] Checking ark-bls12-381 v0.4.0 [INFO] [stderr] Checking cosmwasm-crypto v2.2.1 [INFO] [stderr] Checking cosmwasm-std v2.2.1 [INFO] [stderr] Checking cw-storage-plus v2.0.0 [INFO] [stderr] Checking cw-utils v2.0.0 [INFO] [stderr] Checking cw2 v2.0.0 [INFO] [stderr] Checking cw-multi-test v2.3.1 [INFO] [stderr] Checking secret-mood 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:2:18 [INFO] [stdout] | [INFO] [stdout] 2 | entry_point, to_binary, Binary, Deps, DepsMut, Env, MessageInfo, Response, StdError, StdResult, [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:93:5 [INFO] [stdout] | [INFO] [stdout] 93 | to_binary(&mood_status) [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `deps` [INFO] [stdout] --> src/contract.rs:51:5 [INFO] [stdout] | [INFO] [stdout] 51 | deps: DepsMut, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_deps` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `deps` [INFO] [stdout] --> src/contract.rs:68:5 [INFO] [stdout] | [INFO] [stdout] 68 | deps: DepsMut, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_deps` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `info` [INFO] [stdout] --> src/contract.rs:70:5 [INFO] [stdout] | [INFO] [stdout] 70 | info: MessageInfo, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_info` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `deps` [INFO] [stdout] --> src/contract.rs:91:14 [INFO] [stdout] | [INFO] [stdout] 91 | pub fn query(deps: Deps, _env: Env, _msg: Binary) -> StdResult { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_deps` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/contract.rs:92:32 [INFO] [stdout] | [INFO] [stdout] 92 | let mood_status = unsafe { STATE.clone().unwrap() }; [INFO] [stdout] | ^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 21s [INFO] [stdout] warning: use of deprecated function `cosmwasm_std::to_binary`: use to_json_binary instead [INFO] [stdout] --> src/contract.rs:2:18 [INFO] [stdout] | [INFO] [stdout] 2 | entry_point, to_binary, Binary, Deps, DepsMut, Env, MessageInfo, Response, StdError, StdResult, [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:93:5 [INFO] [stdout] | [INFO] [stdout] 93 | to_binary(&mood_status) [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `deps` [INFO] [stdout] --> src/contract.rs:51:5 [INFO] [stdout] | [INFO] [stdout] 51 | deps: DepsMut, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_deps` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `deps` [INFO] [stdout] --> src/contract.rs:68:5 [INFO] [stdout] | [INFO] [stdout] 68 | deps: DepsMut, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_deps` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `info` [INFO] [stdout] --> src/contract.rs:70:5 [INFO] [stdout] | [INFO] [stdout] 70 | info: MessageInfo, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_info` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `deps` [INFO] [stdout] --> src/contract.rs:91:14 [INFO] [stdout] | [INFO] [stdout] 91 | pub fn query(deps: Deps, _env: Env, _msg: Binary) -> StdResult { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_deps` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/contract.rs:92:32 [INFO] [stdout] | [INFO] [stdout] 92 | let mood_status = unsafe { STATE.clone().unwrap() }; [INFO] [stdout] | ^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "8484f8ca44ac65ab9790e4ea0b64aac69cee5e7dcdddda0447af87d601ac19be", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8484f8ca44ac65ab9790e4ea0b64aac69cee5e7dcdddda0447af87d601ac19be", kill_on_drop: false }` [INFO] [stdout] 8484f8ca44ac65ab9790e4ea0b64aac69cee5e7dcdddda0447af87d601ac19be