[INFO] cloning repository https://github.com/Mherrity/monopoly-solana [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Mherrity/monopoly-solana" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMherrity%2Fmonopoly-solana", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMherrity%2Fmonopoly-solana'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] f7a7286dcc811ea944231a09d92bf04da0472544 [INFO] testing Mherrity/monopoly-solana against beta-2024-12-08 for beta-1.84.0-4 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMherrity%2Fmonopoly-solana" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Mherrity/monopoly-solana on toolchain beta-2024-12-08 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2024-12-08" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Mherrity/monopoly-solana [INFO] finished tweaking git repo https://github.com/Mherrity/monopoly-solana [INFO] tweaked toml for git repo https://github.com/Mherrity/monopoly-solana written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/Mherrity/monopoly-solana 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" "+beta-2024-12-08" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"` [INFO] [stderr] note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest [INFO] [stderr] note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest [INFO] [stderr] note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions [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 cc v1.0.89 [INFO] [stderr] Downloaded solana-frozen-abi v1.17.0 [INFO] [stderr] Downloaded solana-frozen-abi-macro v1.17.0 [INFO] [stderr] Downloaded solana-sdk-macro v1.17.0 [INFO] [stderr] Downloaded bs58 v0.5.0 [INFO] [stderr] Downloaded light-poseidon v0.1.2 [INFO] [stderr] Downloaded solana-program v1.17.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2024-12-08" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3f5a5fb0ad0e9080a5c1a49169599be396079d51a8cb47b564a6c9809aeb3e1a [INFO] running `Command { std: "docker" "start" "-a" "3f5a5fb0ad0e9080a5c1a49169599be396079d51a8cb47b564a6c9809aeb3e1a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3f5a5fb0ad0e9080a5c1a49169599be396079d51a8cb47b564a6c9809aeb3e1a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3f5a5fb0ad0e9080a5c1a49169599be396079d51a8cb47b564a6c9809aeb3e1a", kill_on_drop: false }` [INFO] [stdout] 3f5a5fb0ad0e9080a5c1a49169599be396079d51a8cb47b564a6c9809aeb3e1a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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" "+beta-2024-12-08" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ed83dcfbf30c7722f61a36986dd6bccbf080c0b05cc26bf0a303b77d82d73ea6 [INFO] running `Command { std: "docker" "start" "-a" "ed83dcfbf30c7722f61a36986dd6bccbf080c0b05cc26bf0a303b77d82d73ea6", kill_on_drop: false }` [INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"` [INFO] [stderr] note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest [INFO] [stderr] note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest [INFO] [stderr] note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions [INFO] [stderr] Compiling proc-macro2 v1.0.78 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling serde v1.0.197 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Compiling subtle v2.5.0 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling once_cell v1.19.0 [INFO] [stderr] Compiling thiserror v1.0.57 [INFO] [stderr] Compiling cpufeatures v0.2.12 [INFO] [stderr] Compiling ppv-lite86 v0.2.17 [INFO] [stderr] Compiling anyhow v1.0.80 [INFO] [stderr] Compiling serde_json v1.0.114 [INFO] [stderr] Compiling itoa v1.0.10 [INFO] [stderr] Compiling ryu v1.0.17 [INFO] [stderr] Compiling semver v1.0.22 [INFO] [stderr] Compiling unicode-segmentation v1.11.0 [INFO] [stderr] Compiling either v1.10.0 [INFO] [stderr] Compiling crunchy v0.2.2 [INFO] [stderr] Compiling zerocopy v0.7.32 [INFO] [stderr] Compiling crossbeam-utils v0.8.19 [INFO] [stderr] Compiling bs58 v0.5.0 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling paste v1.0.14 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling num-traits v0.2.18 [INFO] [stderr] Compiling num-bigint v0.4.4 [INFO] [stderr] Compiling ahash v0.8.6 [INFO] [stderr] Compiling wasm-bindgen-shared v0.2.92 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Compiling log v0.4.21 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Compiling rustc_version v0.4.0 [INFO] [stderr] Compiling ahash v0.7.8 [INFO] [stderr] Compiling feature-probe v0.1.1 [INFO] [stderr] Compiling bumpalo v3.15.3 [INFO] [stderr] Compiling im v15.1.0 [INFO] [stderr] Compiling tinyvec_macros v0.1.1 [INFO] [stderr] Compiling arrayref v0.3.7 [INFO] [stderr] Compiling rustversion v1.0.14 [INFO] [stderr] Compiling opaque-debug v0.3.1 [INFO] [stderr] Compiling tinyvec v1.6.0 [INFO] [stderr] Compiling bv v0.11.1 [INFO] [stderr] Compiling memoffset v0.9.0 [INFO] [stderr] Compiling wasm-bindgen v0.2.92 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Compiling solana-frozen-abi-macro v1.17.0 [INFO] [stderr] Compiling solana-frozen-abi v1.17.0 [INFO] [stderr] Compiling bs58 v0.4.0 [INFO] [stderr] Compiling constant_time_eq v0.3.0 [INFO] [stderr] Compiling arrayvec v0.7.4 [INFO] [stderr] Compiling syn v2.0.52 [INFO] [stderr] Compiling crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling bitmaps v2.1.0 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling rustc-hash v1.1.0 [INFO] [stderr] Compiling keccak v0.1.5 [INFO] [stderr] Compiling base64 v0.12.3 [INFO] [stderr] Compiling base64 v0.21.7 [INFO] [stderr] Compiling base64 v0.13.1 [INFO] [stderr] Compiling crossbeam-deque v0.8.5 [INFO] [stderr] Compiling getrandom v0.2.12 [INFO] [stderr] Compiling jobserver v0.1.28 [INFO] [stderr] Compiling memmap2 v0.5.10 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling sized-chunks v0.6.5 [INFO] [stderr] Compiling cc v1.0.89 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rayon v1.9.0 [INFO] [stderr] Compiling rand_xoshiro v0.6.0 [INFO] [stderr] Compiling unicode-normalization v0.1.23 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Compiling hashbrown v0.13.2 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling ark-std v0.4.0 [INFO] [stderr] Compiling blake3 v1.5.0 [INFO] [stderr] Compiling solana-program v1.17.0 [INFO] [stderr] Compiling wasm-bindgen-backend v0.2.92 [INFO] [stderr] Compiling borsh-derive-internal v0.10.3 [INFO] [stderr] Compiling borsh-schema-derive-internal v0.9.3 [INFO] [stderr] Compiling borsh-schema-derive-internal v0.10.3 [INFO] [stderr] Compiling borsh-derive-internal v0.9.3 [INFO] [stderr] Compiling serde_derive v1.0.197 [INFO] [stderr] Compiling thiserror-impl v1.0.57 [INFO] [stderr] Compiling zeroize_derive v1.4.2 [INFO] [stderr] Compiling bytemuck_derive v1.5.0 [INFO] [stderr] Compiling solana-sdk-macro v1.17.0 [INFO] [stderr] Compiling ark-serialize-derive v0.4.2 [INFO] [stderr] Compiling ark-ff-asm v0.4.2 [INFO] [stderr] Compiling derivative v2.2.0 [INFO] [stderr] Compiling ark-ff-macros v0.4.2 [INFO] [stderr] Compiling num-derive v0.3.3 [INFO] [stderr] Compiling anchor-derive-space v0.29.0 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.92 [INFO] [stderr] Compiling bytemuck v1.14.3 [INFO] [stderr] Compiling zeroize v1.3.0 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.92 [INFO] [stderr] Compiling toml v0.5.11 [INFO] [stderr] Compiling serde_bytes v0.11.14 [INFO] [stderr] Compiling bincode v1.3.3 [INFO] [stderr] Compiling bitflags v2.4.2 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling crypto-mac v0.8.0 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling libsecp256k1-core v0.2.2 [INFO] [stderr] Compiling sha2 v0.9.9 [INFO] [stderr] Compiling curve25519-dalek v3.2.1 [INFO] [stderr] Compiling hmac v0.8.1 [INFO] [stderr] Compiling pbkdf2 v0.4.0 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling hmac-drbg v0.3.0 [INFO] [stderr] Compiling proc-macro-crate v0.1.5 [INFO] [stderr] Compiling sha2 v0.10.8 [INFO] [stderr] Compiling ark-serialize v0.4.2 [INFO] [stderr] Compiling sha3 v0.10.8 [INFO] [stderr] Compiling tiny-bip39 v0.8.2 [INFO] [stderr] Compiling borsh-derive v0.10.3 [INFO] [stderr] Compiling borsh-derive v0.9.3 [INFO] [stderr] Compiling ark-ff v0.4.2 [INFO] [stderr] Compiling anchor-syn v0.29.0 [INFO] [stderr] Compiling libsecp256k1-gen-genmult v0.2.1 [INFO] [stderr] Compiling libsecp256k1-gen-ecmult v0.2.1 [INFO] [stderr] Compiling libsecp256k1 v0.6.0 [INFO] [stderr] Compiling borsh v0.9.3 [INFO] [stderr] Compiling borsh v0.10.3 [INFO] [stderr] Compiling anchor-attribute-constant v0.29.0 [INFO] [stderr] Compiling anchor-derive-serde v0.29.0 [INFO] [stderr] Compiling anchor-attribute-program v0.29.0 [INFO] [stderr] Compiling anchor-attribute-access-control v0.29.0 [INFO] [stderr] Compiling anchor-attribute-account v0.29.0 [INFO] [stderr] Compiling anchor-attribute-error v0.29.0 [INFO] [stderr] Compiling anchor-attribute-event v0.29.0 [INFO] [stderr] Compiling anchor-derive-accounts v0.29.0 [INFO] [stderr] Compiling ark-poly v0.4.2 [INFO] [stderr] Compiling ark-ec v0.4.2 [INFO] [stderr] Compiling ark-bn254 v0.4.0 [INFO] [stderr] Compiling light-poseidon v0.1.2 [INFO] [stderr] Compiling anchor-lang v0.29.0 [INFO] [stderr] Compiling monopoly-on-chain v0.1.0 (/opt/rustwide/workdir/programs/monopoly-on-chain) [INFO] [stdout] warning: unexpected `cfg` condition value: `custom-heap` [INFO] [stdout] --> programs/monopoly-on-chain/src/lib.rs:25:1 [INFO] [stdout] | [INFO] [stdout] 25 | #[program] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `cpi`, `default`, `no-entrypoint`, `no-idl`, and `no-log-ix-name` [INFO] [stdout] = help: consider adding `custom-heap` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] = note: this warning originates in the macro `$crate::custom_heap_default` which comes from the expansion of the attribute macro `program` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `solana` [INFO] [stdout] --> programs/monopoly-on-chain/src/lib.rs:25:1 [INFO] [stdout] | [INFO] [stdout] 25 | #[program] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `target_os` are: `aix`, `android`, `cuda`, `dragonfly`, `emscripten`, `espidf`, `freebsd`, `fuchsia`, `haiku`, `hermit`, `horizon`, `hurd`, `illumos`, `ios`, `l4re`, `linux`, `macos`, `netbsd`, `none`, `nto`, `nuttx`, `openbsd`, `psp`, `psx`, `redox`, `rtems`, `solaris`, `solid_asp3`, `teeos`, `trusty`, `tvos`, `uefi`, `unknown`, `visionos`, and `vita` and 6 more [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `$crate::custom_heap_default` which comes from the expansion of the attribute macro `program` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `custom-panic` [INFO] [stdout] --> programs/monopoly-on-chain/src/lib.rs:25:1 [INFO] [stdout] | [INFO] [stdout] 25 | #[program] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `cpi`, `default`, `no-entrypoint`, `no-idl`, and `no-log-ix-name` [INFO] [stdout] = help: consider adding `custom-panic` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `$crate::custom_panic_default` which comes from the expansion of the attribute macro `program` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `solana` [INFO] [stdout] --> programs/monopoly-on-chain/src/lib.rs:25:1 [INFO] [stdout] | [INFO] [stdout] 25 | #[program] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `target_os` are: `aix`, `android`, `cuda`, `dragonfly`, `emscripten`, `espidf`, `freebsd`, `fuchsia`, `haiku`, `hermit`, `horizon`, `hurd`, `illumos`, `ios`, `l4re`, `linux`, `macos`, `netbsd`, `none`, `nto`, `nuttx`, `openbsd`, `psp`, `psx`, `redox`, `rtems`, `solaris`, `solid_asp3`, `teeos`, `trusty`, `tvos`, `uefi`, `unknown`, `visionos`, and `vita` and 6 more [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `$crate::custom_panic_default` which comes from the expansion of the attribute macro `program` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `instruction` [INFO] [stdout] --> programs/monopoly-on-chain/src/proccesors/create_global_position.rs:1:26 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::{admin_guard, instruction, program_struct::*}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `anchor-debug` [INFO] [stdout] --> programs/monopoly-on-chain/src/proccesors/create_global_position.rs:4:10 [INFO] [stdout] | [INFO] [stdout] 4 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `cpi`, `default`, `no-entrypoint`, `no-idl`, and `no-log-ix-name` [INFO] [stdout] = help: consider adding `anchor-debug` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Accounts` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `admin_guard` and `instruction` [INFO] [stdout] --> programs/monopoly-on-chain/src/proccesors/create_player_pda.rs:1:13 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::{admin_guard, instruction, program_struct::*}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `anchor-debug` [INFO] [stdout] --> programs/monopoly-on-chain/src/proccesors/create_player_pda.rs:4:10 [INFO] [stdout] | [INFO] [stdout] 4 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `cpi`, `default`, `no-entrypoint`, `no-idl`, and `no-log-ix-name` [INFO] [stdout] = help: consider adding `anchor-debug` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Accounts` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `anchor-debug` [INFO] [stdout] --> programs/monopoly-on-chain/src/proccesors/initialize_game_state.rs:4:10 [INFO] [stdout] | [INFO] [stdout] 4 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `cpi`, `default`, `no-entrypoint`, `no-idl`, and `no-log-ix-name` [INFO] [stdout] = help: consider adding `anchor-debug` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Accounts` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `anchor-debug` [INFO] [stdout] --> programs/monopoly-on-chain/src/proccesors/roll_dice.rs:5:10 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `cpi`, `default`, `no-entrypoint`, `no-idl`, and `no-log-ix-name` [INFO] [stdout] = help: consider adding `anchor-debug` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Accounts` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> programs/monopoly-on-chain/src/proccesors/roll_dice.rs:21:8 [INFO] [stdout] | [INFO] [stdout] 21 | if (player_state.position + roll >= 40) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 21 - if (player_state.position + roll >= 40) { [INFO] [stdout] 21 + if player_state.position + roll >= 40 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `anchor-debug` [INFO] [stdout] --> programs/monopoly-on-chain/src/proccesors/pay_user_and_finish_turn.rs:4:10 [INFO] [stdout] | [INFO] [stdout] 4 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `cpi`, `default`, `no-entrypoint`, `no-idl`, and `no-log-ix-name` [INFO] [stdout] = help: consider adding `anchor-debug` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Accounts` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `anchor-debug` [INFO] [stdout] --> programs/monopoly-on-chain/src/program_struct.rs:96:10 [INFO] [stdout] | [INFO] [stdout] 96 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `cpi`, `default`, `no-entrypoint`, `no-idl`, and `no-log-ix-name` [INFO] [stdout] = help: consider adding `anchor-debug` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Accounts` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> programs/monopoly-on-chain/src/program_struct.rs:121:12 [INFO] [stdout] | [INFO] [stdout] 121 | if (self.position_game_state.owner == self.player_state.player [INFO] [stdout] | ^ [INFO] [stdout] 122 | || !self.position_game_state.is_mortgaged) [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 121 ~ if self.position_game_state.owner == self.player_state.player [INFO] [stdout] 122 ~ || !self.position_game_state.is_mortgaged [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::proccesors::finish_turn::*` [INFO] [stdout] --> programs/monopoly-on-chain/src/lib.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use crate::proccesors::finish_turn::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::proccesors::pay_tax_and_finish_turn::*` [INFO] [stdout] --> programs/monopoly-on-chain/src/lib.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use crate::proccesors::pay_tax_and_finish_turn::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::proccesors::buy_property::*` [INFO] [stdout] --> programs/monopoly-on-chain/src/lib.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | use crate::proccesors::buy_property::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `anchor-debug` [INFO] [stdout] --> programs/monopoly-on-chain/src/lib.rs:25:1 [INFO] [stdout] | [INFO] [stdout] 25 | #[program] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `cpi`, `default`, `no-entrypoint`, `no-idl`, and `no-log-ix-name` [INFO] [stdout] = help: consider adding `anchor-debug` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the attribute macro `program` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `anchor-debug` [INFO] [stdout] --> programs/monopoly-on-chain/src/lib.rs:25:1 [INFO] [stdout] | [INFO] [stdout] 25 | #[program] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `cpi`, `default`, `no-entrypoint`, `no-idl`, and `no-log-ix-name` [INFO] [stdout] = help: consider adding `anchor-debug` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Accounts` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `anchor-debug` [INFO] [stdout] --> programs/monopoly-on-chain/src/lib.rs:25:1 [INFO] [stdout] | [INFO] [stdout] 25 | #[program] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `cpi`, `default`, `no-entrypoint`, `no-idl`, and `no-log-ix-name` [INFO] [stdout] = help: consider adding `anchor-debug` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Accounts` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `anchor-debug` [INFO] [stdout] --> programs/monopoly-on-chain/src/lib.rs:25:1 [INFO] [stdout] | [INFO] [stdout] 25 | #[program] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `cpi`, `default`, `no-entrypoint`, `no-idl`, and `no-log-ix-name` [INFO] [stdout] = help: consider adding `anchor-debug` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Accounts` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `anchor-debug` [INFO] [stdout] --> programs/monopoly-on-chain/src/lib.rs:25:1 [INFO] [stdout] | [INFO] [stdout] 25 | #[program] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `cpi`, `default`, `no-entrypoint`, `no-idl`, and `no-log-ix-name` [INFO] [stdout] = help: consider adding `anchor-debug` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Accounts` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `anchor-debug` [INFO] [stdout] --> programs/monopoly-on-chain/src/lib.rs:25:1 [INFO] [stdout] | [INFO] [stdout] 25 | #[program] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `cpi`, `default`, `no-entrypoint`, `no-idl`, and `no-log-ix-name` [INFO] [stdout] = help: consider adding `anchor-debug` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Accounts` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `anchor-debug` [INFO] [stdout] --> programs/monopoly-on-chain/src/lib.rs:25:1 [INFO] [stdout] | [INFO] [stdout] 25 | #[program] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `cpi`, `default`, `no-entrypoint`, `no-idl`, and `no-log-ix-name` [INFO] [stdout] = help: consider adding `anchor-debug` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Accounts` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> programs/monopoly-on-chain/src/proccesors/create_global_position.rs:22:9 [INFO] [stdout] | [INFO] [stdout] 22 | let mut global_position_account = &mut ctx.accounts.global_position_account; [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] warning: variable does not need to be mutable [INFO] [stdout] --> programs/monopoly-on-chain/src/proccesors/create_player_pda.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 16 | let mut player_pda = &mut ctx.accounts.player_pda; [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> programs/monopoly-on-chain/src/proccesors/finish_turn.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 6 | let mut global_game_state = &mut ctx.accounts.global_game_state; [INFO] [stdout] | ----^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> programs/monopoly-on-chain/src/proccesors/initialize_game_state.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 14 | let mut global_game_state = &mut ctx.accounts.global_game_state; [INFO] [stdout] | ----^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> programs/monopoly-on-chain/src/proccesors/roll_dice.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 16 | let mut global_game_state = &mut ctx.accounts.global_game_state; [INFO] [stdout] | ----^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> programs/monopoly-on-chain/src/proccesors/roll_dice.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 19 | let mut player_state = &mut ctx.accounts.player_state; [INFO] [stdout] | ----^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> programs/monopoly-on-chain/src/proccesors/pay_user_and_finish_turn.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 14 | let mut owner_player_state = &mut ctx.accounts.owner_player_state; [INFO] [stdout] | ----^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> programs/monopoly-on-chain/src/proccesors/pay_user_and_finish_turn.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 15 | let mut player_state = &mut ctx.accounts.finish_turn_accounts.player_state; [INFO] [stdout] | ----^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> programs/monopoly-on-chain/src/proccesors/pay_user_and_finish_turn.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 18 | let mut global_game_state = &mut ctx.accounts.finish_turn_accounts.global_game_state; [INFO] [stdout] | ----^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function cannot return without recursing [INFO] [stdout] --> programs/monopoly-on-chain/src/lib.rs:46:5 [INFO] [stdout] | [INFO] [stdout] 46 | pub fn create_player_pda(ctx: Context) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot return without recursing [INFO] [stdout] 47 | create_player_pda(ctx); [INFO] [stdout] | ---------------------- recursive call site [INFO] [stdout] | [INFO] [stdout] = help: a `loop` may express intention better if this is on purpose [INFO] [stdout] = note: `#[warn(unconditional_recursion)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function cannot return without recursing [INFO] [stdout] --> programs/monopoly-on-chain/src/lib.rs:51:5 [INFO] [stdout] | [INFO] [stdout] 51 | pub fn roll_dice(ctx: Context, roll: u8) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot return without recursing [INFO] [stdout] 52 | roll_dice(ctx, roll); [INFO] [stdout] | -------------------- recursive call site [INFO] [stdout] | [INFO] [stdout] = help: a `loop` may express intention better if this is on purpose [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function cannot return without recursing [INFO] [stdout] --> programs/monopoly-on-chain/src/lib.rs:56:5 [INFO] [stdout] | [INFO] [stdout] 56 | pub fn finish_turn(ctx: Context) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot return without recursing [INFO] [stdout] 57 | finish_turn(ctx); [INFO] [stdout] | ---------------- recursive call site [INFO] [stdout] | [INFO] [stdout] = help: a `loop` may express intention better if this is on purpose [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function cannot return without recursing [INFO] [stdout] --> programs/monopoly-on-chain/src/lib.rs:61:5 [INFO] [stdout] | [INFO] [stdout] 61 | pub fn pay_user_and_finish_turn(ctx: Context, payment: u32) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot return without recursing [INFO] [stdout] 62 | pay_user_and_finish_turn(ctx, payment); [INFO] [stdout] | -------------------------------------- recursive call site [INFO] [stdout] | [INFO] [stdout] = help: a `loop` may express intention better if this is on purpose [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function cannot return without recursing [INFO] [stdout] --> programs/monopoly-on-chain/src/lib.rs:66:5 [INFO] [stdout] | [INFO] [stdout] 66 | pub fn pay_tax_and_finish_turn(ctx: Context) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot return without recursing [INFO] [stdout] 67 | pay_tax_and_finish_turn(ctx); [INFO] [stdout] | ---------------------------- recursive call site [INFO] [stdout] | [INFO] [stdout] = help: a `loop` may express intention better if this is on purpose [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function cannot return without recursing [INFO] [stdout] --> programs/monopoly-on-chain/src/lib.rs:71:5 [INFO] [stdout] | [INFO] [stdout] 71 | pub fn buy_property(ctx: Context) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot return without recursing [INFO] [stdout] 72 | buy_property(ctx); [INFO] [stdout] | ----------------- recursive call site [INFO] [stdout] | [INFO] [stdout] = help: a `loop` may express intention better if this is on purpose [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function cannot return without recursing [INFO] [stdout] --> programs/monopoly-on-chain/src/lib.rs:76:5 [INFO] [stdout] | [INFO] [stdout] 76 | pub fn buy_house_or_hotel(ctx: Context) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot return without recursing [INFO] [stdout] 77 | buy_house_or_hotel(ctx); [INFO] [stdout] | ----------------------- recursive call site [INFO] [stdout] | [INFO] [stdout] = help: a `loop` may express intention better if this is on purpose [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function cannot return without recursing [INFO] [stdout] --> programs/monopoly-on-chain/src/lib.rs:81:5 [INFO] [stdout] | [INFO] [stdout] 81 | pub fn mortgage_house(ctx: Context) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot return without recursing [INFO] [stdout] 82 | mortgage_house(ctx); [INFO] [stdout] | ------------------- recursive call site [INFO] [stdout] | [INFO] [stdout] = help: a `loop` may express intention better if this is on purpose [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function cannot return without recursing [INFO] [stdout] --> programs/monopoly-on-chain/src/lib.rs:86:5 [INFO] [stdout] | [INFO] [stdout] 86 | pub fn lift_mortgage(ctx: Context) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot return without recursing [INFO] [stdout] 87 | lift_mortgage(ctx); [INFO] [stdout] | ------------------ recursive call site [INFO] [stdout] | [INFO] [stdout] = help: a `loop` may express intention better if this is on purpose [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function cannot return without recursing [INFO] [stdout] --> programs/monopoly-on-chain/src/lib.rs:91:5 [INFO] [stdout] | [INFO] [stdout] 91 | pub fn sell_house_or_hotel(ctx: Context) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot return without recursing [INFO] [stdout] 92 | sell_house_or_hotel(ctx); [INFO] [stdout] | ------------------------ recursive call site [INFO] [stdout] | [INFO] [stdout] = help: a `loop` may express intention better if this is on purpose [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function cannot return without recursing [INFO] [stdout] --> programs/monopoly-on-chain/src/lib.rs:96:5 [INFO] [stdout] | [INFO] [stdout] 96 | pub fn send_player_to_jail(ctx: Context) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot return without recursing [INFO] [stdout] 97 | send_player_to_jail(ctx); [INFO] [stdout] | ------------------------ recursive call site [INFO] [stdout] | [INFO] [stdout] = help: a `loop` may express intention better if this is on purpose [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> programs/monopoly-on-chain/src/lib.rs:47:9 [INFO] [stdout] | [INFO] [stdout] 47 | create_player_pda(ctx); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 47 | let _ = create_player_pda(ctx); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> programs/monopoly-on-chain/src/lib.rs:52:9 [INFO] [stdout] | [INFO] [stdout] 52 | roll_dice(ctx, roll); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 52 | let _ = roll_dice(ctx, roll); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> programs/monopoly-on-chain/src/lib.rs:57:9 [INFO] [stdout] | [INFO] [stdout] 57 | finish_turn(ctx); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 57 | let _ = finish_turn(ctx); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> programs/monopoly-on-chain/src/lib.rs:62:9 [INFO] [stdout] | [INFO] [stdout] 62 | pay_user_and_finish_turn(ctx, payment); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 62 | let _ = pay_user_and_finish_turn(ctx, payment); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> programs/monopoly-on-chain/src/lib.rs:67:9 [INFO] [stdout] | [INFO] [stdout] 67 | pay_tax_and_finish_turn(ctx); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 67 | let _ = pay_tax_and_finish_turn(ctx); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> programs/monopoly-on-chain/src/lib.rs:72:9 [INFO] [stdout] | [INFO] [stdout] 72 | buy_property(ctx); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 72 | let _ = buy_property(ctx); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> programs/monopoly-on-chain/src/lib.rs:77:9 [INFO] [stdout] | [INFO] [stdout] 77 | buy_house_or_hotel(ctx); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 77 | let _ = buy_house_or_hotel(ctx); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> programs/monopoly-on-chain/src/lib.rs:82:9 [INFO] [stdout] | [INFO] [stdout] 82 | mortgage_house(ctx); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 82 | let _ = mortgage_house(ctx); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> programs/monopoly-on-chain/src/lib.rs:87:9 [INFO] [stdout] | [INFO] [stdout] 87 | lift_mortgage(ctx); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 87 | let _ = lift_mortgage(ctx); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> programs/monopoly-on-chain/src/lib.rs:92:9 [INFO] [stdout] | [INFO] [stdout] 92 | sell_house_or_hotel(ctx); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 92 | let _ = sell_house_or_hotel(ctx); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> programs/monopoly-on-chain/src/lib.rs:97:9 [INFO] [stdout] | [INFO] [stdout] 97 | send_player_to_jail(ctx); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 97 | let _ = send_player_to_jail(ctx); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 23s [INFO] running `Command { std: "docker" "inspect" "ed83dcfbf30c7722f61a36986dd6bccbf080c0b05cc26bf0a303b77d82d73ea6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ed83dcfbf30c7722f61a36986dd6bccbf080c0b05cc26bf0a303b77d82d73ea6", kill_on_drop: false }` [INFO] [stdout] ed83dcfbf30c7722f61a36986dd6bccbf080c0b05cc26bf0a303b77d82d73ea6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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" "+beta-2024-12-08" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a4e1ec93ce0bba3cbc9c8b7a6f7759b6f8d19c36bbaab9b2d87599aa5bc83840 [INFO] running `Command { std: "docker" "start" "-a" "a4e1ec93ce0bba3cbc9c8b7a6f7759b6f8d19c36bbaab9b2d87599aa5bc83840", kill_on_drop: false }` [INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"` [INFO] [stderr] note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest [INFO] [stderr] note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest [INFO] [stderr] note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions [INFO] [stdout] warning: unexpected `cfg` condition value: `custom-heap` [INFO] [stdout] --> programs/monopoly-on-chain/src/lib.rs:25:1 [INFO] [stdout] | [INFO] [stdout] 25 | #[program] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `cpi`, `default`, `no-entrypoint`, `no-idl`, and `no-log-ix-name` [INFO] [stdout] = help: consider adding `custom-heap` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] = note: this warning originates in the macro `$crate::custom_heap_default` which comes from the expansion of the attribute macro `program` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `solana` [INFO] [stdout] --> programs/monopoly-on-chain/src/lib.rs:25:1 [INFO] [stdout] | [INFO] [stdout] 25 | #[program] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `target_os` are: `aix`, `android`, `cuda`, `dragonfly`, `emscripten`, `espidf`, `freebsd`, `fuchsia`, `haiku`, `hermit`, `horizon`, `hurd`, `illumos`, `ios`, `l4re`, `linux`, `macos`, `netbsd`, `none`, `nto`, `nuttx`, `openbsd`, `psp`, `psx`, `redox`, `rtems`, `solaris`, `solid_asp3`, `teeos`, `trusty`, `tvos`, `uefi`, `unknown`, `visionos`, and `vita` and 6 more [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `$crate::custom_heap_default` which comes from the expansion of the attribute macro `program` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `custom-panic` [INFO] [stdout] --> programs/monopoly-on-chain/src/lib.rs:25:1 [INFO] [stdout] | [INFO] [stdout] 25 | #[program] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `cpi`, `default`, `no-entrypoint`, `no-idl`, and `no-log-ix-name` [INFO] [stdout] = help: consider adding `custom-panic` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `$crate::custom_panic_default` which comes from the expansion of the attribute macro `program` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `solana` [INFO] [stdout] --> programs/monopoly-on-chain/src/lib.rs:25:1 [INFO] [stdout] | [INFO] [stdout] 25 | #[program] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `target_os` are: `aix`, `android`, `cuda`, `dragonfly`, `emscripten`, `espidf`, `freebsd`, `fuchsia`, `haiku`, `hermit`, `horizon`, `hurd`, `illumos`, `ios`, `l4re`, `linux`, `macos`, `netbsd`, `none`, `nto`, `nuttx`, `openbsd`, `psp`, `psx`, `redox`, `rtems`, `solaris`, `solid_asp3`, `teeos`, `trusty`, `tvos`, `uefi`, `unknown`, `visionos`, and `vita` and 6 more [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `$crate::custom_panic_default` which comes from the expansion of the attribute macro `program` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `instruction` [INFO] [stdout] --> programs/monopoly-on-chain/src/proccesors/create_global_position.rs:1:26 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::{admin_guard, instruction, program_struct::*}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `anchor-debug` [INFO] [stdout] --> programs/monopoly-on-chain/src/proccesors/create_global_position.rs:4:10 [INFO] [stdout] | [INFO] [stdout] 4 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `cpi`, `default`, `no-entrypoint`, `no-idl`, and `no-log-ix-name` [INFO] [stdout] = help: consider adding `anchor-debug` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Accounts` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `admin_guard` and `instruction` [INFO] [stdout] --> programs/monopoly-on-chain/src/proccesors/create_player_pda.rs:1:13 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::{admin_guard, instruction, program_struct::*}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `anchor-debug` [INFO] [stdout] --> programs/monopoly-on-chain/src/proccesors/create_player_pda.rs:4:10 [INFO] [stdout] | [INFO] [stdout] 4 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `cpi`, `default`, `no-entrypoint`, `no-idl`, and `no-log-ix-name` [INFO] [stdout] = help: consider adding `anchor-debug` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Accounts` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `anchor-debug` [INFO] [stdout] --> programs/monopoly-on-chain/src/proccesors/initialize_game_state.rs:4:10 [INFO] [stdout] | [INFO] [stdout] 4 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `cpi`, `default`, `no-entrypoint`, `no-idl`, and `no-log-ix-name` [INFO] [stdout] = help: consider adding `anchor-debug` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Accounts` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `anchor-debug` [INFO] [stdout] --> programs/monopoly-on-chain/src/proccesors/roll_dice.rs:5:10 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `cpi`, `default`, `no-entrypoint`, `no-idl`, and `no-log-ix-name` [INFO] [stdout] = help: consider adding `anchor-debug` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Accounts` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> programs/monopoly-on-chain/src/proccesors/roll_dice.rs:21:8 [INFO] [stdout] | [INFO] [stdout] 21 | if (player_state.position + roll >= 40) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 21 - if (player_state.position + roll >= 40) { [INFO] [stdout] 21 + if player_state.position + roll >= 40 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `anchor-debug` [INFO] [stdout] --> programs/monopoly-on-chain/src/proccesors/pay_user_and_finish_turn.rs:4:10 [INFO] [stdout] | [INFO] [stdout] 4 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `cpi`, `default`, `no-entrypoint`, `no-idl`, and `no-log-ix-name` [INFO] [stdout] = help: consider adding `anchor-debug` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Accounts` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `anchor-debug` [INFO] [stdout] --> programs/monopoly-on-chain/src/program_struct.rs:96:10 [INFO] [stdout] | [INFO] [stdout] 96 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `cpi`, `default`, `no-entrypoint`, `no-idl`, and `no-log-ix-name` [INFO] [stdout] = help: consider adding `anchor-debug` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Accounts` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> programs/monopoly-on-chain/src/program_struct.rs:121:12 [INFO] [stdout] | [INFO] [stdout] 121 | if (self.position_game_state.owner == self.player_state.player [INFO] [stdout] | ^ [INFO] [stdout] 122 | || !self.position_game_state.is_mortgaged) [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 121 ~ if self.position_game_state.owner == self.player_state.player [INFO] [stdout] 122 ~ || !self.position_game_state.is_mortgaged [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::proccesors::finish_turn::*` [INFO] [stdout] --> programs/monopoly-on-chain/src/lib.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use crate::proccesors::finish_turn::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::proccesors::pay_tax_and_finish_turn::*` [INFO] [stdout] --> programs/monopoly-on-chain/src/lib.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use crate::proccesors::pay_tax_and_finish_turn::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::proccesors::buy_property::*` [INFO] [stdout] --> programs/monopoly-on-chain/src/lib.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | use crate::proccesors::buy_property::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `anchor-debug` [INFO] [stdout] --> programs/monopoly-on-chain/src/lib.rs:25:1 [INFO] [stdout] | [INFO] [stdout] 25 | #[program] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `cpi`, `default`, `no-entrypoint`, `no-idl`, and `no-log-ix-name` [INFO] [stdout] = help: consider adding `anchor-debug` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the attribute macro `program` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `anchor-debug` [INFO] [stdout] --> programs/monopoly-on-chain/src/lib.rs:25:1 [INFO] [stdout] | [INFO] [stdout] 25 | #[program] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `cpi`, `default`, `no-entrypoint`, `no-idl`, and `no-log-ix-name` [INFO] [stdout] = help: consider adding `anchor-debug` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Accounts` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `anchor-debug` [INFO] [stdout] --> programs/monopoly-on-chain/src/lib.rs:25:1 [INFO] [stdout] | [INFO] [stdout] 25 | #[program] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `cpi`, `default`, `no-entrypoint`, `no-idl`, and `no-log-ix-name` [INFO] [stdout] = help: consider adding `anchor-debug` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Accounts` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `anchor-debug` [INFO] [stdout] --> programs/monopoly-on-chain/src/lib.rs:25:1 [INFO] [stdout] | [INFO] [stdout] 25 | #[program] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `cpi`, `default`, `no-entrypoint`, `no-idl`, and `no-log-ix-name` [INFO] [stdout] = help: consider adding `anchor-debug` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Accounts` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `anchor-debug` [INFO] [stdout] --> programs/monopoly-on-chain/src/lib.rs:25:1 [INFO] [stdout] | [INFO] [stdout] 25 | #[program] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `cpi`, `default`, `no-entrypoint`, `no-idl`, and `no-log-ix-name` [INFO] [stdout] = help: consider adding `anchor-debug` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Accounts` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `anchor-debug` [INFO] [stdout] --> programs/monopoly-on-chain/src/lib.rs:25:1 [INFO] [stdout] | [INFO] [stdout] 25 | #[program] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `cpi`, `default`, `no-entrypoint`, `no-idl`, and `no-log-ix-name` [INFO] [stdout] = help: consider adding `anchor-debug` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Accounts` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `anchor-debug` [INFO] [stdout] --> programs/monopoly-on-chain/src/lib.rs:25:1 [INFO] [stdout] | [INFO] [stdout] 25 | #[program] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `cpi`, `default`, `no-entrypoint`, `no-idl`, and `no-log-ix-name` [INFO] [stdout] = help: consider adding `anchor-debug` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Accounts` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> programs/monopoly-on-chain/src/proccesors/create_global_position.rs:22:9 [INFO] [stdout] | [INFO] [stdout] 22 | let mut global_position_account = &mut ctx.accounts.global_position_account; [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] warning: variable does not need to be mutable [INFO] [stdout] --> programs/monopoly-on-chain/src/proccesors/create_player_pda.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 16 | let mut player_pda = &mut ctx.accounts.player_pda; [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> programs/monopoly-on-chain/src/proccesors/finish_turn.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 6 | let mut global_game_state = &mut ctx.accounts.global_game_state; [INFO] [stdout] | ----^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> programs/monopoly-on-chain/src/proccesors/initialize_game_state.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 14 | let mut global_game_state = &mut ctx.accounts.global_game_state; [INFO] [stdout] | ----^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> programs/monopoly-on-chain/src/proccesors/roll_dice.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 16 | let mut global_game_state = &mut ctx.accounts.global_game_state; [INFO] [stdout] | ----^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> programs/monopoly-on-chain/src/proccesors/roll_dice.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 19 | let mut player_state = &mut ctx.accounts.player_state; [INFO] [stdout] | ----^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> programs/monopoly-on-chain/src/proccesors/pay_user_and_finish_turn.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 14 | let mut owner_player_state = &mut ctx.accounts.owner_player_state; [INFO] [stdout] | ----^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> programs/monopoly-on-chain/src/proccesors/pay_user_and_finish_turn.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 15 | let mut player_state = &mut ctx.accounts.finish_turn_accounts.player_state; [INFO] [stdout] | ----^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> programs/monopoly-on-chain/src/proccesors/pay_user_and_finish_turn.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 18 | let mut global_game_state = &mut ctx.accounts.finish_turn_accounts.global_game_state; [INFO] [stdout] | ----^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function cannot return without recursing [INFO] [stdout] --> programs/monopoly-on-chain/src/lib.rs:46:5 [INFO] [stdout] | [INFO] [stdout] 46 | pub fn create_player_pda(ctx: Context) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot return without recursing [INFO] [stdout] 47 | create_player_pda(ctx); [INFO] [stdout] | ---------------------- recursive call site [INFO] [stdout] | [INFO] [stdout] = help: a `loop` may express intention better if this is on purpose [INFO] [stdout] = note: `#[warn(unconditional_recursion)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function cannot return without recursing [INFO] [stdout] --> programs/monopoly-on-chain/src/lib.rs:51:5 [INFO] [stdout] | [INFO] [stdout] 51 | pub fn roll_dice(ctx: Context, roll: u8) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot return without recursing [INFO] [stdout] 52 | roll_dice(ctx, roll); [INFO] [stdout] | -------------------- recursive call site [INFO] [stdout] | [INFO] [stdout] = help: a `loop` may express intention better if this is on purpose [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function cannot return without recursing [INFO] [stdout] --> programs/monopoly-on-chain/src/lib.rs:56:5 [INFO] [stdout] | [INFO] [stdout] 56 | pub fn finish_turn(ctx: Context) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot return without recursing [INFO] [stdout] 57 | finish_turn(ctx); [INFO] [stdout] | ---------------- recursive call site [INFO] [stdout] | [INFO] [stdout] = help: a `loop` may express intention better if this is on purpose [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function cannot return without recursing [INFO] [stdout] --> programs/monopoly-on-chain/src/lib.rs:61:5 [INFO] [stdout] | [INFO] [stdout] 61 | pub fn pay_user_and_finish_turn(ctx: Context, payment: u32) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot return without recursing [INFO] [stdout] 62 | pay_user_and_finish_turn(ctx, payment); [INFO] [stdout] | -------------------------------------- recursive call site [INFO] [stdout] | [INFO] [stdout] = help: a `loop` may express intention better if this is on purpose [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function cannot return without recursing [INFO] [stdout] --> programs/monopoly-on-chain/src/lib.rs:66:5 [INFO] [stdout] | [INFO] [stdout] 66 | pub fn pay_tax_and_finish_turn(ctx: Context) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot return without recursing [INFO] [stdout] 67 | pay_tax_and_finish_turn(ctx); [INFO] [stdout] | ---------------------------- recursive call site [INFO] [stdout] | [INFO] [stdout] = help: a `loop` may express intention better if this is on purpose [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function cannot return without recursing [INFO] [stdout] --> programs/monopoly-on-chain/src/lib.rs:71:5 [INFO] [stdout] | [INFO] [stdout] 71 | pub fn buy_property(ctx: Context) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot return without recursing [INFO] [stdout] 72 | buy_property(ctx); [INFO] [stdout] | ----------------- recursive call site [INFO] [stdout] | [INFO] [stdout] = help: a `loop` may express intention better if this is on purpose [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function cannot return without recursing [INFO] [stdout] --> programs/monopoly-on-chain/src/lib.rs:76:5 [INFO] [stdout] | [INFO] [stdout] 76 | pub fn buy_house_or_hotel(ctx: Context) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot return without recursing [INFO] [stdout] 77 | buy_house_or_hotel(ctx); [INFO] [stdout] | ----------------------- recursive call site [INFO] [stdout] | [INFO] [stdout] = help: a `loop` may express intention better if this is on purpose [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling monopoly-on-chain v0.1.0 (/opt/rustwide/workdir/programs/monopoly-on-chain) [INFO] [stdout] warning: function cannot return without recursing [INFO] [stdout] --> programs/monopoly-on-chain/src/lib.rs:81:5 [INFO] [stdout] | [INFO] [stdout] 81 | pub fn mortgage_house(ctx: Context) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot return without recursing [INFO] [stdout] 82 | mortgage_house(ctx); [INFO] [stdout] | ------------------- recursive call site [INFO] [stdout] | [INFO] [stdout] = help: a `loop` may express intention better if this is on purpose [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function cannot return without recursing [INFO] [stdout] --> programs/monopoly-on-chain/src/lib.rs:86:5 [INFO] [stdout] | [INFO] [stdout] 86 | pub fn lift_mortgage(ctx: Context) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot return without recursing [INFO] [stdout] 87 | lift_mortgage(ctx); [INFO] [stdout] | ------------------ recursive call site [INFO] [stdout] | [INFO] [stdout] = help: a `loop` may express intention better if this is on purpose [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function cannot return without recursing [INFO] [stdout] --> programs/monopoly-on-chain/src/lib.rs:91:5 [INFO] [stdout] | [INFO] [stdout] 91 | pub fn sell_house_or_hotel(ctx: Context) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot return without recursing [INFO] [stdout] 92 | sell_house_or_hotel(ctx); [INFO] [stdout] | ------------------------ recursive call site [INFO] [stdout] | [INFO] [stdout] = help: a `loop` may express intention better if this is on purpose [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function cannot return without recursing [INFO] [stdout] --> programs/monopoly-on-chain/src/lib.rs:96:5 [INFO] [stdout] | [INFO] [stdout] 96 | pub fn send_player_to_jail(ctx: Context) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot return without recursing [INFO] [stdout] 97 | send_player_to_jail(ctx); [INFO] [stdout] | ------------------------ recursive call site [INFO] [stdout] | [INFO] [stdout] = help: a `loop` may express intention better if this is on purpose [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> programs/monopoly-on-chain/src/lib.rs:47:9 [INFO] [stdout] | [INFO] [stdout] 47 | create_player_pda(ctx); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 47 | let _ = create_player_pda(ctx); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> programs/monopoly-on-chain/src/lib.rs:52:9 [INFO] [stdout] | [INFO] [stdout] 52 | roll_dice(ctx, roll); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 52 | let _ = roll_dice(ctx, roll); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> programs/monopoly-on-chain/src/lib.rs:57:9 [INFO] [stdout] | [INFO] [stdout] 57 | finish_turn(ctx); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 57 | let _ = finish_turn(ctx); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> programs/monopoly-on-chain/src/lib.rs:62:9 [INFO] [stdout] | [INFO] [stdout] 62 | pay_user_and_finish_turn(ctx, payment); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 62 | let _ = pay_user_and_finish_turn(ctx, payment); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> programs/monopoly-on-chain/src/lib.rs:67:9 [INFO] [stdout] | [INFO] [stdout] 67 | pay_tax_and_finish_turn(ctx); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 67 | let _ = pay_tax_and_finish_turn(ctx); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> programs/monopoly-on-chain/src/lib.rs:72:9 [INFO] [stdout] | [INFO] [stdout] 72 | buy_property(ctx); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 72 | let _ = buy_property(ctx); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> programs/monopoly-on-chain/src/lib.rs:77:9 [INFO] [stdout] | [INFO] [stdout] 77 | buy_house_or_hotel(ctx); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 77 | let _ = buy_house_or_hotel(ctx); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> programs/monopoly-on-chain/src/lib.rs:82:9 [INFO] [stdout] | [INFO] [stdout] 82 | mortgage_house(ctx); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 82 | let _ = mortgage_house(ctx); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> programs/monopoly-on-chain/src/lib.rs:87:9 [INFO] [stdout] | [INFO] [stdout] 87 | lift_mortgage(ctx); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 87 | let _ = lift_mortgage(ctx); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> programs/monopoly-on-chain/src/lib.rs:92:9 [INFO] [stdout] | [INFO] [stdout] 92 | sell_house_or_hotel(ctx); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 92 | let _ = sell_house_or_hotel(ctx); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> programs/monopoly-on-chain/src/lib.rs:97:9 [INFO] [stdout] | [INFO] [stdout] 97 | send_player_to_jail(ctx); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 97 | let _ = send_player_to_jail(ctx); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `custom-heap` [INFO] [stdout] --> programs/monopoly-on-chain/src/lib.rs:25:1 [INFO] [stdout] | [INFO] [stdout] 25 | #[program] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `cpi`, `default`, `no-entrypoint`, `no-idl`, and `no-log-ix-name` [INFO] [stdout] = help: consider adding `custom-heap` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] = note: this warning originates in the macro `$crate::custom_heap_default` which comes from the expansion of the attribute macro `program` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `solana` [INFO] [stdout] --> programs/monopoly-on-chain/src/lib.rs:25:1 [INFO] [stdout] | [INFO] [stdout] 25 | #[program] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `target_os` are: `aix`, `android`, `cuda`, `dragonfly`, `emscripten`, `espidf`, `freebsd`, `fuchsia`, `haiku`, `hermit`, `horizon`, `hurd`, `illumos`, `ios`, `l4re`, `linux`, `macos`, `netbsd`, `none`, `nto`, `nuttx`, `openbsd`, `psp`, `psx`, `redox`, `rtems`, `solaris`, `solid_asp3`, `teeos`, `trusty`, `tvos`, `uefi`, `unknown`, `visionos`, and `vita` and 6 more [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `$crate::custom_heap_default` which comes from the expansion of the attribute macro `program` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `custom-panic` [INFO] [stdout] --> programs/monopoly-on-chain/src/lib.rs:25:1 [INFO] [stdout] | [INFO] [stdout] 25 | #[program] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `cpi`, `default`, `no-entrypoint`, `no-idl`, and `no-log-ix-name` [INFO] [stdout] = help: consider adding `custom-panic` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `$crate::custom_panic_default` which comes from the expansion of the attribute macro `program` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `solana` [INFO] [stdout] --> programs/monopoly-on-chain/src/lib.rs:25:1 [INFO] [stdout] | [INFO] [stdout] 25 | #[program] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `target_os` are: `aix`, `android`, `cuda`, `dragonfly`, `emscripten`, `espidf`, `freebsd`, `fuchsia`, `haiku`, `hermit`, `horizon`, `hurd`, `illumos`, `ios`, `l4re`, `linux`, `macos`, `netbsd`, `none`, `nto`, `nuttx`, `openbsd`, `psp`, `psx`, `redox`, `rtems`, `solaris`, `solid_asp3`, `teeos`, `trusty`, `tvos`, `uefi`, `unknown`, `visionos`, and `vita` and 6 more [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `$crate::custom_panic_default` which comes from the expansion of the attribute macro `program` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `instruction` [INFO] [stdout] --> programs/monopoly-on-chain/src/proccesors/create_global_position.rs:1:26 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::{admin_guard, instruction, program_struct::*}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `anchor-debug` [INFO] [stdout] --> programs/monopoly-on-chain/src/proccesors/create_global_position.rs:4:10 [INFO] [stdout] | [INFO] [stdout] 4 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `cpi`, `default`, `no-entrypoint`, `no-idl`, and `no-log-ix-name` [INFO] [stdout] = help: consider adding `anchor-debug` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Accounts` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `admin_guard` and `instruction` [INFO] [stdout] --> programs/monopoly-on-chain/src/proccesors/create_player_pda.rs:1:13 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::{admin_guard, instruction, program_struct::*}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `anchor-debug` [INFO] [stdout] --> programs/monopoly-on-chain/src/proccesors/create_player_pda.rs:4:10 [INFO] [stdout] | [INFO] [stdout] 4 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `cpi`, `default`, `no-entrypoint`, `no-idl`, and `no-log-ix-name` [INFO] [stdout] = help: consider adding `anchor-debug` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Accounts` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `anchor-debug` [INFO] [stdout] --> programs/monopoly-on-chain/src/proccesors/initialize_game_state.rs:4:10 [INFO] [stdout] | [INFO] [stdout] 4 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `cpi`, `default`, `no-entrypoint`, `no-idl`, and `no-log-ix-name` [INFO] [stdout] = help: consider adding `anchor-debug` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Accounts` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `anchor-debug` [INFO] [stdout] --> programs/monopoly-on-chain/src/proccesors/roll_dice.rs:5:10 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `cpi`, `default`, `no-entrypoint`, `no-idl`, and `no-log-ix-name` [INFO] [stdout] = help: consider adding `anchor-debug` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Accounts` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> programs/monopoly-on-chain/src/proccesors/roll_dice.rs:21:8 [INFO] [stdout] | [INFO] [stdout] 21 | if (player_state.position + roll >= 40) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 21 - if (player_state.position + roll >= 40) { [INFO] [stdout] 21 + if player_state.position + roll >= 40 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `anchor-debug` [INFO] [stdout] --> programs/monopoly-on-chain/src/proccesors/pay_user_and_finish_turn.rs:4:10 [INFO] [stdout] | [INFO] [stdout] 4 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `cpi`, `default`, `no-entrypoint`, `no-idl`, and `no-log-ix-name` [INFO] [stdout] = help: consider adding `anchor-debug` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Accounts` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `anchor-debug` [INFO] [stdout] --> programs/monopoly-on-chain/src/program_struct.rs:96:10 [INFO] [stdout] | [INFO] [stdout] 96 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `cpi`, `default`, `no-entrypoint`, `no-idl`, and `no-log-ix-name` [INFO] [stdout] = help: consider adding `anchor-debug` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Accounts` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> programs/monopoly-on-chain/src/program_struct.rs:121:12 [INFO] [stdout] | [INFO] [stdout] 121 | if (self.position_game_state.owner == self.player_state.player [INFO] [stdout] | ^ [INFO] [stdout] 122 | || !self.position_game_state.is_mortgaged) [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 121 ~ if self.position_game_state.owner == self.player_state.player [INFO] [stdout] 122 ~ || !self.position_game_state.is_mortgaged [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::proccesors::finish_turn::*` [INFO] [stdout] --> programs/monopoly-on-chain/src/lib.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use crate::proccesors::finish_turn::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::proccesors::pay_tax_and_finish_turn::*` [INFO] [stdout] --> programs/monopoly-on-chain/src/lib.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use crate::proccesors::pay_tax_and_finish_turn::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::proccesors::buy_property::*` [INFO] [stdout] --> programs/monopoly-on-chain/src/lib.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | use crate::proccesors::buy_property::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `anchor-debug` [INFO] [stdout] --> programs/monopoly-on-chain/src/lib.rs:25:1 [INFO] [stdout] | [INFO] [stdout] 25 | #[program] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `cpi`, `default`, `no-entrypoint`, `no-idl`, and `no-log-ix-name` [INFO] [stdout] = help: consider adding `anchor-debug` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the attribute macro `program` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `anchor-debug` [INFO] [stdout] --> programs/monopoly-on-chain/src/lib.rs:25:1 [INFO] [stdout] | [INFO] [stdout] 25 | #[program] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `cpi`, `default`, `no-entrypoint`, `no-idl`, and `no-log-ix-name` [INFO] [stdout] = help: consider adding `anchor-debug` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Accounts` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `anchor-debug` [INFO] [stdout] --> programs/monopoly-on-chain/src/lib.rs:25:1 [INFO] [stdout] | [INFO] [stdout] 25 | #[program] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `cpi`, `default`, `no-entrypoint`, `no-idl`, and `no-log-ix-name` [INFO] [stdout] = help: consider adding `anchor-debug` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Accounts` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `anchor-debug` [INFO] [stdout] --> programs/monopoly-on-chain/src/lib.rs:25:1 [INFO] [stdout] | [INFO] [stdout] 25 | #[program] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `cpi`, `default`, `no-entrypoint`, `no-idl`, and `no-log-ix-name` [INFO] [stdout] = help: consider adding `anchor-debug` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Accounts` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `anchor-debug` [INFO] [stdout] --> programs/monopoly-on-chain/src/lib.rs:25:1 [INFO] [stdout] | [INFO] [stdout] 25 | #[program] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `cpi`, `default`, `no-entrypoint`, `no-idl`, and `no-log-ix-name` [INFO] [stdout] = help: consider adding `anchor-debug` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Accounts` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `anchor-debug` [INFO] [stdout] --> programs/monopoly-on-chain/src/lib.rs:25:1 [INFO] [stdout] | [INFO] [stdout] 25 | #[program] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `cpi`, `default`, `no-entrypoint`, `no-idl`, and `no-log-ix-name` [INFO] [stdout] = help: consider adding `anchor-debug` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Accounts` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `anchor-debug` [INFO] [stdout] --> programs/monopoly-on-chain/src/lib.rs:25:1 [INFO] [stdout] | [INFO] [stdout] 25 | #[program] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `cpi`, `default`, `no-entrypoint`, `no-idl`, and `no-log-ix-name` [INFO] [stdout] = help: consider adding `anchor-debug` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Accounts` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> programs/monopoly-on-chain/src/proccesors/create_global_position.rs:22:9 [INFO] [stdout] | [INFO] [stdout] 22 | let mut global_position_account = &mut ctx.accounts.global_position_account; [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] warning: variable does not need to be mutable [INFO] [stdout] --> programs/monopoly-on-chain/src/proccesors/create_player_pda.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 16 | let mut player_pda = &mut ctx.accounts.player_pda; [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> programs/monopoly-on-chain/src/proccesors/finish_turn.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 6 | let mut global_game_state = &mut ctx.accounts.global_game_state; [INFO] [stdout] | ----^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> programs/monopoly-on-chain/src/proccesors/initialize_game_state.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 14 | let mut global_game_state = &mut ctx.accounts.global_game_state; [INFO] [stdout] | ----^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> programs/monopoly-on-chain/src/proccesors/roll_dice.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 16 | let mut global_game_state = &mut ctx.accounts.global_game_state; [INFO] [stdout] | ----^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> programs/monopoly-on-chain/src/proccesors/roll_dice.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 19 | let mut player_state = &mut ctx.accounts.player_state; [INFO] [stdout] | ----^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> programs/monopoly-on-chain/src/proccesors/pay_user_and_finish_turn.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 14 | let mut owner_player_state = &mut ctx.accounts.owner_player_state; [INFO] [stdout] | ----^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> programs/monopoly-on-chain/src/proccesors/pay_user_and_finish_turn.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 15 | let mut player_state = &mut ctx.accounts.finish_turn_accounts.player_state; [INFO] [stdout] | ----^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> programs/monopoly-on-chain/src/proccesors/pay_user_and_finish_turn.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 18 | let mut global_game_state = &mut ctx.accounts.finish_turn_accounts.global_game_state; [INFO] [stdout] | ----^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function cannot return without recursing [INFO] [stdout] --> programs/monopoly-on-chain/src/lib.rs:46:5 [INFO] [stdout] | [INFO] [stdout] 46 | pub fn create_player_pda(ctx: Context) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot return without recursing [INFO] [stdout] 47 | create_player_pda(ctx); [INFO] [stdout] | ---------------------- recursive call site [INFO] [stdout] | [INFO] [stdout] = help: a `loop` may express intention better if this is on purpose [INFO] [stdout] = note: `#[warn(unconditional_recursion)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function cannot return without recursing [INFO] [stdout] --> programs/monopoly-on-chain/src/lib.rs:51:5 [INFO] [stdout] | [INFO] [stdout] 51 | pub fn roll_dice(ctx: Context, roll: u8) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot return without recursing [INFO] [stdout] 52 | roll_dice(ctx, roll); [INFO] [stdout] | -------------------- recursive call site [INFO] [stdout] | [INFO] [stdout] = help: a `loop` may express intention better if this is on purpose [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function cannot return without recursing [INFO] [stdout] --> programs/monopoly-on-chain/src/lib.rs:56:5 [INFO] [stdout] | [INFO] [stdout] 56 | pub fn finish_turn(ctx: Context) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot return without recursing [INFO] [stdout] 57 | finish_turn(ctx); [INFO] [stdout] | ---------------- recursive call site [INFO] [stdout] | [INFO] [stdout] = help: a `loop` may express intention better if this is on purpose [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function cannot return without recursing [INFO] [stdout] --> programs/monopoly-on-chain/src/lib.rs:61:5 [INFO] [stdout] | [INFO] [stdout] 61 | pub fn pay_user_and_finish_turn(ctx: Context, payment: u32) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot return without recursing [INFO] [stdout] 62 | pay_user_and_finish_turn(ctx, payment); [INFO] [stdout] | -------------------------------------- recursive call site [INFO] [stdout] | [INFO] [stdout] = help: a `loop` may express intention better if this is on purpose [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function cannot return without recursing [INFO] [stdout] --> programs/monopoly-on-chain/src/lib.rs:66:5 [INFO] [stdout] | [INFO] [stdout] 66 | pub fn pay_tax_and_finish_turn(ctx: Context) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot return without recursing [INFO] [stdout] 67 | pay_tax_and_finish_turn(ctx); [INFO] [stdout] | ---------------------------- recursive call site [INFO] [stdout] | [INFO] [stdout] = help: a `loop` may express intention better if this is on purpose [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function cannot return without recursing [INFO] [stdout] --> programs/monopoly-on-chain/src/lib.rs:71:5 [INFO] [stdout] | [INFO] [stdout] 71 | pub fn buy_property(ctx: Context) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot return without recursing [INFO] [stdout] 72 | buy_property(ctx); [INFO] [stdout] | ----------------- recursive call site [INFO] [stdout] | [INFO] [stdout] = help: a `loop` may express intention better if this is on purpose [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function cannot return without recursing [INFO] [stdout] --> programs/monopoly-on-chain/src/lib.rs:76:5 [INFO] [stdout] | [INFO] [stdout] 76 | pub fn buy_house_or_hotel(ctx: Context) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot return without recursing [INFO] [stdout] 77 | buy_house_or_hotel(ctx); [INFO] [stdout] | ----------------------- recursive call site [INFO] [stdout] | [INFO] [stdout] = help: a `loop` may express intention better if this is on purpose [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function cannot return without recursing [INFO] [stdout] --> programs/monopoly-on-chain/src/lib.rs:81:5 [INFO] [stdout] | [INFO] [stdout] 81 | pub fn mortgage_house(ctx: Context) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot return without recursing [INFO] [stdout] 82 | mortgage_house(ctx); [INFO] [stdout] | ------------------- recursive call site [INFO] [stdout] | [INFO] [stdout] = help: a `loop` may express intention better if this is on purpose [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function cannot return without recursing [INFO] [stdout] --> programs/monopoly-on-chain/src/lib.rs:86:5 [INFO] [stdout] | [INFO] [stdout] 86 | pub fn lift_mortgage(ctx: Context) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot return without recursing [INFO] [stdout] 87 | lift_mortgage(ctx); [INFO] [stdout] | ------------------ recursive call site [INFO] [stdout] | [INFO] [stdout] = help: a `loop` may express intention better if this is on purpose [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function cannot return without recursing [INFO] [stdout] --> programs/monopoly-on-chain/src/lib.rs:91:5 [INFO] [stdout] | [INFO] [stdout] 91 | pub fn sell_house_or_hotel(ctx: Context) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot return without recursing [INFO] [stdout] 92 | sell_house_or_hotel(ctx); [INFO] [stdout] | ------------------------ recursive call site [INFO] [stdout] | [INFO] [stdout] = help: a `loop` may express intention better if this is on purpose [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function cannot return without recursing [INFO] [stdout] --> programs/monopoly-on-chain/src/lib.rs:96:5 [INFO] [stdout] | [INFO] [stdout] 96 | pub fn send_player_to_jail(ctx: Context) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot return without recursing [INFO] [stdout] 97 | send_player_to_jail(ctx); [INFO] [stdout] | ------------------------ recursive call site [INFO] [stdout] | [INFO] [stdout] = help: a `loop` may express intention better if this is on purpose [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> programs/monopoly-on-chain/src/lib.rs:47:9 [INFO] [stdout] | [INFO] [stdout] 47 | create_player_pda(ctx); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 47 | let _ = create_player_pda(ctx); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> programs/monopoly-on-chain/src/lib.rs:52:9 [INFO] [stdout] | [INFO] [stdout] 52 | roll_dice(ctx, roll); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 52 | let _ = roll_dice(ctx, roll); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> programs/monopoly-on-chain/src/lib.rs:57:9 [INFO] [stdout] | [INFO] [stdout] 57 | finish_turn(ctx); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 57 | let _ = finish_turn(ctx); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> programs/monopoly-on-chain/src/lib.rs:62:9 [INFO] [stdout] | [INFO] [stdout] 62 | pay_user_and_finish_turn(ctx, payment); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 62 | let _ = pay_user_and_finish_turn(ctx, payment); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> programs/monopoly-on-chain/src/lib.rs:67:9 [INFO] [stdout] | [INFO] [stdout] 67 | pay_tax_and_finish_turn(ctx); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 67 | let _ = pay_tax_and_finish_turn(ctx); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> programs/monopoly-on-chain/src/lib.rs:72:9 [INFO] [stdout] | [INFO] [stdout] 72 | buy_property(ctx); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 72 | let _ = buy_property(ctx); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> programs/monopoly-on-chain/src/lib.rs:77:9 [INFO] [stdout] | [INFO] [stdout] 77 | buy_house_or_hotel(ctx); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 77 | let _ = buy_house_or_hotel(ctx); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> programs/monopoly-on-chain/src/lib.rs:82:9 [INFO] [stdout] | [INFO] [stdout] 82 | mortgage_house(ctx); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 82 | let _ = mortgage_house(ctx); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> programs/monopoly-on-chain/src/lib.rs:87:9 [INFO] [stdout] | [INFO] [stdout] 87 | lift_mortgage(ctx); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 87 | let _ = lift_mortgage(ctx); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> programs/monopoly-on-chain/src/lib.rs:92:9 [INFO] [stdout] | [INFO] [stdout] 92 | sell_house_or_hotel(ctx); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 92 | let _ = sell_house_or_hotel(ctx); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> programs/monopoly-on-chain/src/lib.rs:97:9 [INFO] [stdout] | [INFO] [stdout] 97 | send_player_to_jail(ctx); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 97 | let _ = send_player_to_jail(ctx); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 2.67s [INFO] running `Command { std: "docker" "inspect" "a4e1ec93ce0bba3cbc9c8b7a6f7759b6f8d19c36bbaab9b2d87599aa5bc83840", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a4e1ec93ce0bba3cbc9c8b7a6f7759b6f8d19c36bbaab9b2d87599aa5bc83840", kill_on_drop: false }` [INFO] [stdout] a4e1ec93ce0bba3cbc9c8b7a6f7759b6f8d19c36bbaab9b2d87599aa5bc83840 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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" "+beta-2024-12-08" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 9c11f8848fe43bd7cd062ac5586888c0c6e503e6edecc80bf350ca65aa37d681 [INFO] running `Command { std: "docker" "start" "-a" "9c11f8848fe43bd7cd062ac5586888c0c6e503e6edecc80bf350ca65aa37d681", kill_on_drop: false }` [INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"` [INFO] [stderr] note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest [INFO] [stderr] note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest [INFO] [stderr] note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions [INFO] [stderr] warning: unexpected `cfg` condition value: `custom-heap` [INFO] [stderr] --> programs/monopoly-on-chain/src/lib.rs:25:1 [INFO] [stderr] | [INFO] [stderr] 25 | #[program] [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: expected values for `feature` are: `cpi`, `default`, `no-entrypoint`, `no-idl`, and `no-log-ix-name` [INFO] [stderr] = help: consider adding `custom-heap` as a feature in `Cargo.toml` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stderr] = note: this warning originates in the macro `$crate::custom_heap_default` which comes from the expansion of the attribute macro `program` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `solana` [INFO] [stderr] --> programs/monopoly-on-chain/src/lib.rs:25:1 [INFO] [stderr] | [INFO] [stderr] 25 | #[program] [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: expected values for `target_os` are: `aix`, `android`, `cuda`, `dragonfly`, `emscripten`, `espidf`, `freebsd`, `fuchsia`, `haiku`, `hermit`, `horizon`, `hurd`, `illumos`, `ios`, `l4re`, `linux`, `macos`, `netbsd`, `none`, `nto`, `nuttx`, `openbsd`, `psp`, `psx`, `redox`, `rtems`, `solaris`, `solid_asp3`, `teeos`, `trusty`, `tvos`, `uefi`, `unknown`, `visionos`, and `vita` and 6 more [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] = note: this warning originates in the macro `$crate::custom_heap_default` which comes from the expansion of the attribute macro `program` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `custom-panic` [INFO] [stderr] --> programs/monopoly-on-chain/src/lib.rs:25:1 [INFO] [stderr] | [INFO] [stderr] 25 | #[program] [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: expected values for `feature` are: `cpi`, `default`, `no-entrypoint`, `no-idl`, and `no-log-ix-name` [INFO] [stderr] = help: consider adding `custom-panic` as a feature in `Cargo.toml` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] = note: this warning originates in the macro `$crate::custom_panic_default` which comes from the expansion of the attribute macro `program` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `solana` [INFO] [stderr] --> programs/monopoly-on-chain/src/lib.rs:25:1 [INFO] [stderr] | [INFO] [stderr] 25 | #[program] [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: expected values for `target_os` are: `aix`, `android`, `cuda`, `dragonfly`, `emscripten`, `espidf`, `freebsd`, `fuchsia`, `haiku`, `hermit`, `horizon`, `hurd`, `illumos`, `ios`, `l4re`, `linux`, `macos`, `netbsd`, `none`, `nto`, `nuttx`, `openbsd`, `psp`, `psx`, `redox`, `rtems`, `solaris`, `solid_asp3`, `teeos`, `trusty`, `tvos`, `uefi`, `unknown`, `visionos`, and `vita` and 6 more [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] = note: this warning originates in the macro `$crate::custom_panic_default` which comes from the expansion of the attribute macro `program` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unused import: `instruction` [INFO] [stderr] --> programs/monopoly-on-chain/src/proccesors/create_global_position.rs:1:26 [INFO] [stderr] | [INFO] [stderr] 1 | use crate::{admin_guard, instruction, program_struct::*}; [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `anchor-debug` [INFO] [stderr] --> programs/monopoly-on-chain/src/proccesors/create_global_position.rs:4:10 [INFO] [stderr] | [INFO] [stderr] 4 | #[derive(Accounts)] [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: expected values for `feature` are: `cpi`, `default`, `no-entrypoint`, `no-idl`, and `no-log-ix-name` [INFO] [stderr] = help: consider adding `anchor-debug` as a feature in `Cargo.toml` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] = note: this warning originates in the derive macro `Accounts` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unused imports: `admin_guard` and `instruction` [INFO] [stderr] --> programs/monopoly-on-chain/src/proccesors/create_player_pda.rs:1:13 [INFO] [stderr] | [INFO] [stderr] 1 | use crate::{admin_guard, instruction, program_struct::*}; [INFO] [stderr] | ^^^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `anchor-debug` [INFO] [stderr] --> programs/monopoly-on-chain/src/proccesors/create_player_pda.rs:4:10 [INFO] [stderr] | [INFO] [stderr] 4 | #[derive(Accounts)] [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: expected values for `feature` are: `cpi`, `default`, `no-entrypoint`, `no-idl`, and `no-log-ix-name` [INFO] [stderr] = help: consider adding `anchor-debug` as a feature in `Cargo.toml` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] = note: this warning originates in the derive macro `Accounts` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `anchor-debug` [INFO] [stderr] --> programs/monopoly-on-chain/src/proccesors/initialize_game_state.rs:4:10 [INFO] [stderr] | [INFO] [stderr] 4 | #[derive(Accounts)] [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: expected values for `feature` are: `cpi`, `default`, `no-entrypoint`, `no-idl`, and `no-log-ix-name` [INFO] [stderr] = help: consider adding `anchor-debug` as a feature in `Cargo.toml` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] = note: this warning originates in the derive macro `Accounts` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `anchor-debug` [INFO] [stderr] --> programs/monopoly-on-chain/src/proccesors/roll_dice.rs:5:10 [INFO] [stderr] | [INFO] [stderr] 5 | #[derive(Accounts)] [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: expected values for `feature` are: `cpi`, `default`, `no-entrypoint`, `no-idl`, and `no-log-ix-name` [INFO] [stderr] = help: consider adding `anchor-debug` as a feature in `Cargo.toml` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] = note: this warning originates in the derive macro `Accounts` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around `if` condition [INFO] [stderr] --> programs/monopoly-on-chain/src/proccesors/roll_dice.rs:21:8 [INFO] [stderr] | [INFO] [stderr] 21 | if (player_state.position + roll >= 40) { [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_parens)]` on by default [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 21 - if (player_state.position + roll >= 40) { [INFO] [stderr] 21 + if player_state.position + roll >= 40 { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `anchor-debug` [INFO] [stderr] --> programs/monopoly-on-chain/src/proccesors/pay_user_and_finish_turn.rs:4:10 [INFO] [stderr] | [INFO] [stderr] 4 | #[derive(Accounts)] [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: expected values for `feature` are: `cpi`, `default`, `no-entrypoint`, `no-idl`, and `no-log-ix-name` [INFO] [stderr] = help: consider adding `anchor-debug` as a feature in `Cargo.toml` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] = note: this warning originates in the derive macro `Accounts` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `anchor-debug` [INFO] [stderr] --> programs/monopoly-on-chain/src/program_struct.rs:96:10 [INFO] [stderr] | [INFO] [stderr] 96 | #[derive(Accounts)] [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: expected values for `feature` are: `cpi`, `default`, `no-entrypoint`, `no-idl`, and `no-log-ix-name` [INFO] [stderr] = help: consider adding `anchor-debug` as a feature in `Cargo.toml` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] = note: this warning originates in the derive macro `Accounts` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around `if` condition [INFO] [stderr] --> programs/monopoly-on-chain/src/program_struct.rs:121:12 [INFO] [stderr] | [INFO] [stderr] 121 | if (self.position_game_state.owner == self.player_state.player [INFO] [stderr] | ^ [INFO] [stderr] 122 | || !self.position_game_state.is_mortgaged) [INFO] [stderr] | ^ [INFO] [stderr] | [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 121 ~ if self.position_game_state.owner == self.player_state.player [INFO] [stderr] 122 ~ || !self.position_game_state.is_mortgaged [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unused import: `crate::proccesors::finish_turn::*` [INFO] [stderr] --> programs/monopoly-on-chain/src/lib.rs:15:5 [INFO] [stderr] | [INFO] [stderr] 15 | use crate::proccesors::finish_turn::*; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `crate::proccesors::pay_tax_and_finish_turn::*` [INFO] [stderr] --> programs/monopoly-on-chain/src/lib.rs:17:5 [INFO] [stderr] | [INFO] [stderr] 17 | use crate::proccesors::pay_tax_and_finish_turn::*; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `crate::proccesors::buy_property::*` [INFO] [stderr] --> programs/monopoly-on-chain/src/lib.rs:18:5 [INFO] [stderr] | [INFO] [stderr] 18 | use crate::proccesors::buy_property::*; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `anchor-debug` [INFO] [stderr] --> programs/monopoly-on-chain/src/lib.rs:25:1 [INFO] [stderr] | [INFO] [stderr] 25 | #[program] [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: expected values for `feature` are: `cpi`, `default`, `no-entrypoint`, `no-idl`, and `no-log-ix-name` [INFO] [stderr] = help: consider adding `anchor-debug` as a feature in `Cargo.toml` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] = note: this warning originates in the attribute macro `program` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `anchor-debug` [INFO] [stderr] --> programs/monopoly-on-chain/src/lib.rs:25:1 [INFO] [stderr] | [INFO] [stderr] 25 | #[program] [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: expected values for `feature` are: `cpi`, `default`, `no-entrypoint`, `no-idl`, and `no-log-ix-name` [INFO] [stderr] = help: consider adding `anchor-debug` as a feature in `Cargo.toml` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] = note: this warning originates in the derive macro `Accounts` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> programs/monopoly-on-chain/src/proccesors/create_global_position.rs:22:9 [INFO] [stderr] | [INFO] [stderr] 22 | let mut global_position_account = &mut ctx.accounts.global_position_account; [INFO] [stderr] | ----^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_mut)]` on by default [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> programs/monopoly-on-chain/src/proccesors/create_player_pda.rs:16:9 [INFO] [stderr] | [INFO] [stderr] 16 | let mut player_pda = &mut ctx.accounts.player_pda; [INFO] [stderr] | ----^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> programs/monopoly-on-chain/src/proccesors/finish_turn.rs:6:9 [INFO] [stderr] | [INFO] [stderr] 6 | let mut global_game_state = &mut ctx.accounts.global_game_state; [INFO] [stderr] | ----^^^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> programs/monopoly-on-chain/src/proccesors/initialize_game_state.rs:14:9 [INFO] [stderr] | [INFO] [stderr] 14 | let mut global_game_state = &mut ctx.accounts.global_game_state; [INFO] [stderr] | ----^^^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> programs/monopoly-on-chain/src/proccesors/roll_dice.rs:16:9 [INFO] [stderr] | [INFO] [stderr] 16 | let mut global_game_state = &mut ctx.accounts.global_game_state; [INFO] [stderr] | ----^^^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> programs/monopoly-on-chain/src/proccesors/roll_dice.rs:19:9 [INFO] [stderr] | [INFO] [stderr] 19 | let mut player_state = &mut ctx.accounts.player_state; [INFO] [stderr] | ----^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> programs/monopoly-on-chain/src/proccesors/pay_user_and_finish_turn.rs:14:9 [INFO] [stderr] | [INFO] [stderr] 14 | let mut owner_player_state = &mut ctx.accounts.owner_player_state; [INFO] [stderr] | ----^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> programs/monopoly-on-chain/src/proccesors/pay_user_and_finish_turn.rs:15:9 [INFO] [stderr] | [INFO] [stderr] 15 | let mut player_state = &mut ctx.accounts.finish_turn_accounts.player_state; [INFO] [stderr] | ----^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> programs/monopoly-on-chain/src/proccesors/pay_user_and_finish_turn.rs:18:9 [INFO] [stderr] | [INFO] [stderr] 18 | let mut global_game_state = &mut ctx.accounts.finish_turn_accounts.global_game_state; [INFO] [stderr] | ----^^^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: function cannot return without recursing [INFO] [stderr] --> programs/monopoly-on-chain/src/lib.rs:46:5 [INFO] [stderr] | [INFO] [stderr] 46 | pub fn create_player_pda(ctx: Context) -> Result<()> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot return without recursing [INFO] [stderr] 47 | create_player_pda(ctx); [INFO] [stderr] | ---------------------- recursive call site [INFO] [stderr] | [INFO] [stderr] = help: a `loop` may express intention better if this is on purpose [INFO] [stderr] = note: `#[warn(unconditional_recursion)]` on by default [INFO] [stderr] [INFO] [stderr] warning: function cannot return without recursing [INFO] [stderr] --> programs/monopoly-on-chain/src/lib.rs:51:5 [INFO] [stderr] | [INFO] [stderr] 51 | pub fn roll_dice(ctx: Context, roll: u8) -> Result<()> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot return without recursing [INFO] [stderr] 52 | roll_dice(ctx, roll); [INFO] [stderr] | -------------------- recursive call site [INFO] [stderr] | [INFO] [stderr] = help: a `loop` may express intention better if this is on purpose [INFO] [stderr] [INFO] [stderr] warning: function cannot return without recursing [INFO] [stderr] --> programs/monopoly-on-chain/src/lib.rs:56:5 [INFO] [stderr] | [INFO] [stderr] 56 | pub fn finish_turn(ctx: Context) -> Result<()> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot return without recursing [INFO] [stderr] 57 | finish_turn(ctx); [INFO] [stderr] | ---------------- recursive call site [INFO] [stderr] | [INFO] [stderr] = help: a `loop` may express intention better if this is on purpose [INFO] [stderr] [INFO] [stderr] warning: function cannot return without recursing [INFO] [stderr] --> programs/monopoly-on-chain/src/lib.rs:61:5 [INFO] [stderr] | [INFO] [stderr] 61 | pub fn pay_user_and_finish_turn(ctx: Context, payment: u32) -> Result<()> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot return without recursing [INFO] [stderr] 62 | pay_user_and_finish_turn(ctx, payment); [INFO] [stderr] | -------------------------------------- recursive call site [INFO] [stderr] | [INFO] [stderr] = help: a `loop` may express intention better if this is on purpose [INFO] [stderr] [INFO] [stderr] warning: function cannot return without recursing [INFO] [stderr] --> programs/monopoly-on-chain/src/lib.rs:66:5 [INFO] [stderr] | [INFO] [stderr] 66 | pub fn pay_tax_and_finish_turn(ctx: Context) -> Result<()> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot return without recursing [INFO] [stderr] 67 | pay_tax_and_finish_turn(ctx); [INFO] [stderr] | ---------------------------- recursive call site [INFO] [stderr] | [INFO] [stderr] = help: a `loop` may express intention better if this is on purpose [INFO] [stderr] [INFO] [stderr] warning: function cannot return without recursing [INFO] [stderr] --> programs/monopoly-on-chain/src/lib.rs:71:5 [INFO] [stderr] | [INFO] [stderr] 71 | pub fn buy_property(ctx: Context) -> Result<()> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot return without recursing [INFO] [stderr] 72 | buy_property(ctx); [INFO] [stderr] | ----------------- recursive call site [INFO] [stderr] | [INFO] [stderr] = help: a `loop` may express intention better if this is on purpose [INFO] [stderr] [INFO] [stderr] warning: function cannot return without recursing [INFO] [stderr] --> programs/monopoly-on-chain/src/lib.rs:76:5 [INFO] [stderr] | [INFO] [stderr] 76 | pub fn buy_house_or_hotel(ctx: Context) -> Result<()> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot return without recursing [INFO] [stderr] 77 | buy_house_or_hotel(ctx); [INFO] [stderr] | ----------------------- recursive call site [INFO] [stderr] | [INFO] [stderr] = help: a `loop` may express intention better if this is on purpose [INFO] [stderr] [INFO] [stderr] warning: function cannot return without recursing [INFO] [stderr] --> programs/monopoly-on-chain/src/lib.rs:81:5 [INFO] [stderr] | [INFO] [stderr] 81 | pub fn mortgage_house(ctx: Context) -> Result<()> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot return without recursing [INFO] [stderr] 82 | mortgage_house(ctx); [INFO] [stderr] | ------------------- recursive call site [INFO] [stderr] | [INFO] [stderr] = help: a `loop` may express intention better if this is on purpose [INFO] [stderr] [INFO] [stderr] warning: function cannot return without recursing [INFO] [stderr] --> programs/monopoly-on-chain/src/lib.rs:86:5 [INFO] [stderr] | [INFO] [stderr] 86 | pub fn lift_mortgage(ctx: Context) -> Result<()> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot return without recursing [INFO] [stderr] 87 | lift_mortgage(ctx); [INFO] [stderr] | ------------------ recursive call site [INFO] [stderr] | [INFO] [stderr] = help: a `loop` may express intention better if this is on purpose [INFO] [stderr] [INFO] [stderr] warning: function cannot return without recursing [INFO] [stderr] --> programs/monopoly-on-chain/src/lib.rs:91:5 [INFO] [stderr] | [INFO] [stderr] 91 | pub fn sell_house_or_hotel(ctx: Context) -> Result<()> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot return without recursing [INFO] [stderr] 92 | sell_house_or_hotel(ctx); [INFO] [stderr] | ------------------------ recursive call site [INFO] [stderr] | [INFO] [stderr] = help: a `loop` may express intention better if this is on purpose [INFO] [stderr] [INFO] [stderr] warning: function cannot return without recursing [INFO] [stderr] --> programs/monopoly-on-chain/src/lib.rs:96:5 [INFO] [stderr] | [INFO] [stderr] 96 | pub fn send_player_to_jail(ctx: Context) -> Result<()> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot return without recursing [INFO] [stderr] 97 | send_player_to_jail(ctx); [INFO] [stderr] | ------------------------ recursive call site [INFO] [stderr] | [INFO] [stderr] = help: a `loop` may express intention better if this is on purpose [INFO] [stderr] [INFO] [stderr] warning: unused `std::result::Result` that must be used [INFO] [stderr] --> programs/monopoly-on-chain/src/lib.rs:47:9 [INFO] [stderr] | [INFO] [stderr] 47 | create_player_pda(ctx); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stderr] = note: `#[warn(unused_must_use)]` on by default [INFO] [stderr] help: use `let _ = ...` to ignore the resulting value [INFO] [stderr] | [INFO] [stderr] 47 | let _ = create_player_pda(ctx); [INFO] [stderr] | +++++++ [INFO] [stderr] [INFO] [stderr] warning: unused `std::result::Result` that must be used [INFO] [stderr] --> programs/monopoly-on-chain/src/lib.rs:52:9 [INFO] [stderr] | [INFO] [stderr] 52 | roll_dice(ctx, roll); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stderr] help: use `let _ = ...` to ignore the resulting value [INFO] [stderr] | [INFO] [stderr] 52 | let _ = roll_dice(ctx, roll); [INFO] [stderr] | +++++++ [INFO] [stderr] [INFO] [stderr] warning: unused `std::result::Result` that must be used [INFO] [stderr] --> programs/monopoly-on-chain/src/lib.rs:57:9 [INFO] [stderr] | [INFO] [stderr] 57 | finish_turn(ctx); [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stderr] help: use `let _ = ...` to ignore the resulting value [INFO] [stderr] | [INFO] [stderr] 57 | let _ = finish_turn(ctx); [INFO] [stderr] | +++++++ [INFO] [stderr] [INFO] [stderr] warning: unused `std::result::Result` that must be used [INFO] [stderr] --> programs/monopoly-on-chain/src/lib.rs:62:9 [INFO] [stderr] | [INFO] [stderr] 62 | pay_user_and_finish_turn(ctx, payment); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stderr] help: use `let _ = ...` to ignore the resulting value [INFO] [stderr] | [INFO] [stderr] 62 | let _ = pay_user_and_finish_turn(ctx, payment); [INFO] [stderr] | +++++++ [INFO] [stderr] [INFO] [stderr] warning: unused `std::result::Result` that must be used [INFO] [stderr] --> programs/monopoly-on-chain/src/lib.rs:67:9 [INFO] [stderr] | [INFO] [stderr] 67 | pay_tax_and_finish_turn(ctx); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stderr] help: use `let _ = ...` to ignore the resulting value [INFO] [stderr] | [INFO] [stderr] 67 | let _ = pay_tax_and_finish_turn(ctx); [INFO] [stderr] | +++++++ [INFO] [stderr] [INFO] [stderr] warning: unused `std::result::Result` that must be used [INFO] [stderr] --> programs/monopoly-on-chain/src/lib.rs:72:9 [INFO] [stderr] | [INFO] [stderr] 72 | buy_property(ctx); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stderr] help: use `let _ = ...` to ignore the resulting value [INFO] [stderr] | [INFO] [stderr] 72 | let _ = buy_property(ctx); [INFO] [stderr] | +++++++ [INFO] [stderr] [INFO] [stderr] warning: unused `std::result::Result` that must be used [INFO] [stderr] --> programs/monopoly-on-chain/src/lib.rs:77:9 [INFO] [stderr] | [INFO] [stderr] 77 | buy_house_or_hotel(ctx); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stderr] help: use `let _ = ...` to ignore the resulting value [INFO] [stderr] | [INFO] [stderr] 77 | let _ = buy_house_or_hotel(ctx); [INFO] [stderr] | +++++++ [INFO] [stderr] [INFO] [stderr] warning: unused `std::result::Result` that must be used [INFO] [stderr] --> programs/monopoly-on-chain/src/lib.rs:82:9 [INFO] [stderr] | [INFO] [stderr] 82 | mortgage_house(ctx); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stderr] help: use `let _ = ...` to ignore the resulting value [INFO] [stderr] | [INFO] [stderr] 82 | let _ = mortgage_house(ctx); [INFO] [stderr] | +++++++ [INFO] [stderr] [INFO] [stderr] warning: unused `std::result::Result` that must be used [INFO] [stderr] --> programs/monopoly-on-chain/src/lib.rs:87:9 [INFO] [stderr] | [INFO] [stderr] 87 | lift_mortgage(ctx); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stderr] help: use `let _ = ...` to ignore the resulting value [INFO] [stderr] | [INFO] [stderr] 87 | let _ = lift_mortgage(ctx); [INFO] [stderr] | +++++++ [INFO] [stderr] [INFO] [stderr] warning: unused `std::result::Result` that must be used [INFO] [stderr] --> programs/monopoly-on-chain/src/lib.rs:92:9 [INFO] [stderr] | [INFO] [stderr] 92 | sell_house_or_hotel(ctx); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stderr] help: use `let _ = ...` to ignore the resulting value [INFO] [stderr] | [INFO] [stderr] 92 | let _ = sell_house_or_hotel(ctx); [INFO] [stderr] | +++++++ [INFO] [stderr] [INFO] [stderr] warning: unused `std::result::Result` that must be used [INFO] [stderr] --> programs/monopoly-on-chain/src/lib.rs:97:9 [INFO] [stderr] | [INFO] [stderr] 97 | send_player_to_jail(ctx); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stderr] help: use `let _ = ...` to ignore the resulting value [INFO] [stderr] | [INFO] [stderr] 97 | let _ = send_player_to_jail(ctx); [INFO] [stderr] | +++++++ [INFO] [stderr] [INFO] [stderr] warning: `monopoly-on-chain` (lib) generated 55 warnings (5 duplicates) (run `cargo fix --lib -p monopoly-on-chain` to apply 16 suggestions) [INFO] [stderr] warning: `monopoly-on-chain` (lib test) generated 55 warnings (55 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.33s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/monopoly_on_chain-cbf81688be1a0534) [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test test_id ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stderr] Doc-tests monopoly_on_chain [INFO] [stdout] [INFO] [stderr] warning: unnecessary parentheses around `if` condition [INFO] [stderr] --> programs/monopoly-on-chain/src/proccesors/roll_dice.rs:21:8 [INFO] [stderr] | [INFO] [stderr] 21 | if (player_state.position + roll >= 40) { [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_parens)]` on by default [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 21 - if (player_state.position + roll >= 40) { [INFO] [stderr] 21 + if player_state.position + roll >= 40 { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around `if` condition [INFO] [stderr] --> programs/monopoly-on-chain/src/program_struct.rs:121:12 [INFO] [stderr] | [INFO] [stderr] 121 | if (self.position_game_state.owner == self.player_state.player [INFO] [stderr] | ^ [INFO] [stderr] 122 | || !self.position_game_state.is_mortgaged) [INFO] [stderr] | ^ [INFO] [stderr] | [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 121 ~ if self.position_game_state.owner == self.player_state.player [INFO] [stderr] 122 ~ || !self.position_game_state.is_mortgaged [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: 2 warnings emitted [INFO] [stderr] [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "9c11f8848fe43bd7cd062ac5586888c0c6e503e6edecc80bf350ca65aa37d681", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9c11f8848fe43bd7cd062ac5586888c0c6e503e6edecc80bf350ca65aa37d681", kill_on_drop: false }` [INFO] [stdout] 9c11f8848fe43bd7cd062ac5586888c0c6e503e6edecc80bf350ca65aa37d681