[INFO] cloning repository https://github.com/0xOmniField/zkwasm_guessing_game
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/0xOmniField/zkwasm_guessing_game" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2F0xOmniField%2Fzkwasm_guessing_game", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2F0xOmniField%2Fzkwasm_guessing_game'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] df16c8c39c7e8ec6569abed3a33c9dc79e94798a
[INFO] building 0xOmniField/zkwasm_guessing_game against master#ad211ced81509462cdfe4c29ed10f97279a0acae for pr-135216
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2F0xOmniField%2Fzkwasm_guessing_game" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/0xOmniField/zkwasm_guessing_game on toolchain ad211ced81509462cdfe4c29ed10f97279a0acae
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ad211ced81509462cdfe4c29ed10f97279a0acae" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] removed /workspace/builds/worker-5-tc1/source/rust-toolchain
[INFO] started tweaking git repo https://github.com/0xOmniField/zkwasm_guessing_game
[INFO] finished tweaking git repo https://github.com/0xOmniField/zkwasm_guessing_game
[INFO] tweaked toml for git repo https://github.com/0xOmniField/zkwasm_guessing_game written to /workspace/builds/worker-5-tc1/source/Cargo.toml
[INFO] crate git repo https://github.com/0xOmniField/zkwasm_guessing_game 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" "+ad211ced81509462cdfe4c29ed10f97279a0acae" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating git repository `https://github.com/DelphinusLab/zkWasm-rust.git`
[INFO] [stderr]     Updating git repository `https://github.com/tiantianlikeu/zkwasm-mini-rollup`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded uint v0.9.5
[INFO] [stderr]   Downloaded primitive-types v0.12.2
[INFO] [stderr]   Downloaded serde v1.0.202
[INFO] [stderr]   Downloaded fixed-hash v0.8.0
[INFO] [stderr]   Downloaded serde_derive v1.0.202
[INFO] [stderr]   Downloaded bumpalo v3.8.0
[INFO] [stderr]   Downloaded syn v2.0.64
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+ad211ced81509462cdfe4c29ed10f97279a0acae" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 5bd9581b63ea0c4954e14021272337d3dd3ecb6bb435fa4cb77f15753876a848
[INFO] running `Command { std: "docker" "start" "-a" "5bd9581b63ea0c4954e14021272337d3dd3ecb6bb435fa4cb77f15753876a848", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "5bd9581b63ea0c4954e14021272337d3dd3ecb6bb435fa4cb77f15753876a848", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "5bd9581b63ea0c4954e14021272337d3dd3ecb6bb435fa4cb77f15753876a848", kill_on_drop: false }`
[INFO] [stdout] 5bd9581b63ea0c4954e14021272337d3dd3ecb6bb435fa4cb77f15753876a848
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+ad211ced81509462cdfe4c29ed10f97279a0acae" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] aaa50517b13325279ed829af22492661e72d7d338b213ed80ce9e01c9a635817
[INFO] running `Command { std: "docker" "start" "-a" "aaa50517b13325279ed829af22492661e72d7d338b213ed80ce9e01c9a635817", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.82
[INFO] [stderr]    Compiling wasm-bindgen-shared v0.2.92
[INFO] [stderr]    Compiling log v0.4.21
[INFO] [stderr]    Compiling once_cell v1.19.0
[INFO] [stderr]    Compiling crunchy v0.2.2
[INFO] [stderr]    Compiling bumpalo v3.8.0
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]    Compiling wasm-bindgen v0.2.92
[INFO] [stderr]    Compiling serde v1.0.202
[INFO] [stderr]    Compiling byteorder v1.5.0
[INFO] [stderr]    Compiling fixed-hash v0.8.0
[INFO] [stderr]    Compiling serde_json v1.0.117
[INFO] [stderr]    Compiling digest v0.10.7
[INFO] [stderr]    Compiling uint v0.9.5
[INFO] [stderr]    Compiling primitive-types v0.12.2
[INFO] [stderr]    Compiling sha2 v0.10.8
[INFO] [stderr]    Compiling quote v1.0.36
[INFO] [stderr]    Compiling syn v2.0.64
[INFO] [stderr]    Compiling derive_builder v0.1.0 (https://github.com/DelphinusLab/zkWasm-rust.git#3dc33e15)
[INFO] [stderr]    Compiling wasm-bindgen-backend v0.2.92
[INFO] [stderr]    Compiling serde_derive v1.0.202
[INFO] [stderr]    Compiling wasm-bindgen-macro-support v0.2.92
[INFO] [stderr]    Compiling wasm-bindgen-macro v0.2.92
[INFO] [stderr]    Compiling zkwasm-rust-sdk v0.1.0 (https://github.com/DelphinusLab/zkWasm-rust.git#3dc33e15)
[INFO] [stderr]    Compiling zkwasm-rest-abi v0.1.0 (https://github.com/tiantianlikeu/zkwasm-mini-rollup#833466bd)
[INFO] [stderr]    Compiling zkwasm_guessing_game v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused imports: `settlement::SettlementInfo` and `state::STATE`
[INFO] [stdout]  --> src/config.rs:1:28
[INFO] [stdout]   |
[INFO] [stdout] 1 | use crate::{game::Monster, settlement::SettlementInfo, state::STATE};
[INFO] [stdout]   |                            ^^^^^^^^^^^^^^^^^^^^^^^^^^  ^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::state::STATE`
[INFO] [stdout]  --> src/settlement.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use crate::state::STATE;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Sha256`
[INFO] [stdout]  --> src/state.rs:3:20
[INFO] [stdout]   |
[INFO] [stdout] 3 | use sha2::{Digest, Sha256};
[INFO] [stdout]   |                    ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::MERKLE_MAP`
[INFO] [stdout]  --> src/player.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use crate::MERKLE_MAP;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Digest`
[INFO] [stdout]  --> src/state.rs:3:12
[INFO] [stdout]   |
[INFO] [stdout] 3 | use sha2::{Digest, Sha256};
[INFO] [stdout]   |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `key`
[INFO] [stdout]   --> src/state.rs:90:13
[INFO] [stdout]    |
[INFO] [stdout] 90 |         let key = "sigx";
[INFO] [stdout]    |             ^^^ help: if this is intentional, prefix it with an underscore: `_key`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/state.rs:116:13
[INFO] [stdout]     |
[INFO] [stdout] 116 |         let mut player = CombatPlayer::get_from_pid(&pid);
[INFO] [stdout]     |             ----^^^^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this operation will panic at runtime
[INFO] [stdout]   --> src/state.rs:47:23
[INFO] [stdout]    |
[INFO] [stdout] 47 |         let balance = self.data[3];
[INFO] [stdout]    |                       ^^^^^^^^^^^^ index out of bounds: the length is 3 but the index is 3
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[deny(unconditional_panic)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `COMMITCARDS` is never used
[INFO] [stdout]  --> src/state.rs:9:7
[INFO] [stdout]   |
[INFO] [stdout] 9 | const COMMITCARDS: u32 = 1;
[INFO] [stdout]   |       ^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `PROVIDECARDS` is never used
[INFO] [stdout]   --> src/state.rs:10:7
[INFO] [stdout]    |
[INFO] [stdout] 10 | const PROVIDECARDS: u32 = 2;
[INFO] [stdout]    |       ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]  --> src/game.rs:7:28
[INFO] [stdout]   |
[INFO] [stdout] 7 | pub struct CommitmentInfo ([u64; 2]);
[INFO] [stdout]   |            --------------  ^^^^^^^^
[INFO] [stdout]   |            |
[INFO] [stdout]   |            field in this struct
[INFO] [stdout]   |
[INFO] [stdout]   = help: consider removing this field
[INFO] [stdout]   = note: `CommitmentInfo` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `SettleDps` is never used
[INFO] [stdout]   --> src/player.rs:82:7
[INFO] [stdout]    |
[INFO] [stdout] 82 | trait SettleDps {
[INFO] [stdout]    |       ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged
[INFO] [stdout]   --> src/settlement.rs:10:18
[INFO] [stdout]    |
[INFO] [stdout] 10 |         unsafe { SETTLEMENT.0.push(info) };
[INFO] [stdout]    |                  ^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]    = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]    = note: `#[warn(static_mut_refs)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged
[INFO] [stdout]   --> src/settlement.rs:14:30
[INFO] [stdout]    |
[INFO] [stdout] 14 |         let sinfo = unsafe { &mut SETTLEMENT };
[INFO] [stdout]    |                              ^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]    = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout] help: use `&raw mut` instead to create a raw pointer
[INFO] [stdout]    |
[INFO] [stdout] 14 |         let sinfo = unsafe { &raw mut SETTLEMENT };
[INFO] [stdout]    |                              ~~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged
[INFO] [stdout]    --> src/state.rs:138:30
[INFO] [stdout]     |
[INFO] [stdout] 138 |         let state = unsafe { &mut STATE };
[INFO] [stdout]     |                              ^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]     = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout] help: use `&raw mut` instead to create a raw pointer
[INFO] [stdout]     |
[INFO] [stdout] 138 |         let state = unsafe { &raw mut STATE };
[INFO] [stdout]     |                              ~~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged
[INFO] [stdout]    --> src/state.rs:158:34
[INFO] [stdout]     |
[INFO] [stdout] 158 |             let state = unsafe { &mut STATE };
[INFO] [stdout]     |                                  ^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]     = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout] help: use `&raw mut` instead to create a raw pointer
[INFO] [stdout]     |
[INFO] [stdout] 158 |             let state = unsafe { &raw mut STATE };
[INFO] [stdout]     |                                  ~~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static is discouraged
[INFO] [stdout]    --> src/state.rs:203:40
[INFO] [stdout]     |
[INFO] [stdout] 203 |         serde_json::to_string(unsafe { &STATE }).unwrap()
[INFO] [stdout]     |                                        ^^^^^^ shared reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2024/static-mut-references.html>
[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] help: use `&raw const` instead to create a raw pointer
[INFO] [stdout]     |
[INFO] [stdout] 203 |         serde_json::to_string(unsafe { &raw const STATE }).unwrap()
[INFO] [stdout]     |                                        ~~~~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static is discouraged
[INFO] [stdout]    --> src/state.rs:210:18
[INFO] [stdout]     |
[INFO] [stdout] 210 |         unsafe { STATE.store() };
[INFO] [stdout]     |                  ^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2024/static-mut-references.html>
[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] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `zkwasm_guessing_game` (lib) due to 1 previous error; 17 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "aaa50517b13325279ed829af22492661e72d7d338b213ed80ce9e01c9a635817", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "aaa50517b13325279ed829af22492661e72d7d338b213ed80ce9e01c9a635817", kill_on_drop: false }`
[INFO] [stdout] aaa50517b13325279ed829af22492661e72d7d338b213ed80ce9e01c9a635817
