[INFO] cloning repository https://github.com/Gabriel-Jeronimo/solana-lottery [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Gabriel-Jeronimo/solana-lottery" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FGabriel-Jeronimo%2Fsolana-lottery", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FGabriel-Jeronimo%2Fsolana-lottery'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 6d97da53f98a450c5bc930190eaa37221ddd5620 [INFO] testing Gabriel-Jeronimo/solana-lottery against try#5bc97a20e5cc382ae6d19f727a9e73eeb2734548 for pr-99093 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FGabriel-Jeronimo%2Fsolana-lottery" "/workspace/builds/worker-2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Gabriel-Jeronimo/solana-lottery on toolchain 5bc97a20e5cc382ae6d19f727a9e73eeb2734548 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+5bc97a20e5cc382ae6d19f727a9e73eeb2734548" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Gabriel-Jeronimo/solana-lottery [INFO] finished tweaking git repo https://github.com/Gabriel-Jeronimo/solana-lottery [INFO] tweaked toml for git repo https://github.com/Gabriel-Jeronimo/solana-lottery written to /workspace/builds/worker-2/source/Cargo.toml [INFO] crate git repo https://github.com/Gabriel-Jeronimo/solana-lottery already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+5bc97a20e5cc382ae6d19f727a9e73eeb2734548" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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:5873ed620acfc3295992aedd9294443d62a478a48ba243bc5e6c4f5abaffa05f" "/opt/rustwide/cargo-home/bin/cargo" "+5bc97a20e5cc382ae6d19f727a9e73eeb2734548" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ccbf3aeec6832d4eded4e69ac73e4984af2a8b3a2763df837470605c73914ba5 [INFO] running `Command { std: "docker" "start" "-a" "ccbf3aeec6832d4eded4e69ac73e4984af2a8b3a2763df837470605c73914ba5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ccbf3aeec6832d4eded4e69ac73e4984af2a8b3a2763df837470605c73914ba5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ccbf3aeec6832d4eded4e69ac73e4984af2a8b3a2763df837470605c73914ba5", kill_on_drop: false }` [INFO] [stdout] ccbf3aeec6832d4eded4e69ac73e4984af2a8b3a2763df837470605c73914ba5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "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:5873ed620acfc3295992aedd9294443d62a478a48ba243bc5e6c4f5abaffa05f" "/opt/rustwide/cargo-home/bin/cargo" "+5bc97a20e5cc382ae6d19f727a9e73eeb2734548" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] dbc7952312d732032123d038c1ba2a335642cd1628cb97c32e3a4c60978251be [INFO] running `Command { std: "docker" "start" "-a" "dbc7952312d732032123d038c1ba2a335642cd1628cb97c32e3a4c60978251be", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.32 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.82 [INFO] [stderr] Compiling serde_derive v1.0.130 [INFO] [stderr] Compiling serde v1.0.130 [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Compiling typenum v1.14.0 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling block-padding v0.2.1 [INFO] [stderr] Compiling libc v0.2.108 [INFO] [stderr] Compiling opaque-debug v0.3.0 [INFO] [stderr] Compiling cpufeatures v0.2.1 [INFO] [stderr] Compiling subtle v2.4.1 [INFO] [stderr] Compiling bs58 v0.3.1 [INFO] [stderr] Compiling ryu v1.0.6 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling serde_json v1.0.72 [INFO] [stderr] Compiling anyhow v1.0.51 [INFO] [stderr] Compiling unicode-segmentation v1.8.0 [INFO] [stderr] Compiling yansi v0.5.0 [INFO] [stderr] Compiling itoa v0.4.8 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling crunchy v0.2.2 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stderr] Compiling feature-probe v0.1.1 [INFO] [stderr] Compiling rustversion v1.0.5 [INFO] [stderr] Compiling cc v1.0.72 [INFO] [stderr] Compiling ppv-lite86 v0.2.15 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling humantime v2.1.0 [INFO] [stderr] Compiling termcolor v1.1.2 [INFO] [stderr] Compiling ahash v0.4.7 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling arrayref v0.3.6 [INFO] [stderr] Compiling constant_time_eq v0.1.5 [INFO] [stderr] Compiling base64 v0.12.3 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling keccak v0.1.0 [INFO] [stderr] Compiling arrayvec v0.5.2 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling zeroize v1.4.3 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling bs58 v0.4.0 [INFO] [stderr] Compiling base64 v0.13.0 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Compiling proc-macro2-diagnostics v0.9.1 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Compiling bv v0.11.1 [INFO] [stderr] Compiling hashbrown v0.9.1 [INFO] [stderr] Compiling itertools v0.9.0 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling solana-frozen-abi-macro v1.8.6 [INFO] [stderr] Compiling solana-frozen-abi v1.8.6 [INFO] [stderr] Compiling solana-program v1.8.6 [INFO] [stderr] Compiling blake3 v0.3.8 [INFO] [stderr] Compiling quote v1.0.10 [INFO] [stderr] Compiling generic-array v0.12.4 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling digest v0.8.1 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling memmap2 v0.1.0 [INFO] [stderr] Compiling regex v1.5.4 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling curve25519-dalek v2.1.3 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling env_logger v0.8.4 [INFO] [stderr] Compiling solana-logger v1.8.6 [INFO] [stderr] Compiling borsh-derive-internal v0.9.1 [INFO] [stderr] Compiling borsh-schema-derive-internal v0.9.1 [INFO] [stderr] Compiling thiserror-impl v1.0.30 [INFO] [stderr] Compiling bytemuck_derive v1.0.1 [INFO] [stderr] Compiling solana-sdk-macro v1.8.6 [INFO] [stderr] Compiling num-derive v0.3.3 [INFO] [stderr] Compiling bytemuck v1.7.2 [INFO] [stderr] Compiling thiserror v1.0.30 [INFO] [stderr] Compiling toml v0.5.8 [INFO] [stderr] Compiling serde_bytes v0.11.5 [INFO] [stderr] Compiling bincode v1.3.3 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling crypto-mac v0.8.0 [INFO] [stderr] Compiling proc-macro-crate v0.1.5 [INFO] [stderr] Compiling sha2 v0.9.8 [INFO] [stderr] Compiling libsecp256k1-core v0.2.2 [INFO] [stderr] Compiling hmac v0.8.1 [INFO] [stderr] Compiling sha3 v0.9.1 [INFO] [stderr] Compiling hmac-drbg v0.3.0 [INFO] [stderr] Compiling anchor-syn v0.18.2 [INFO] [stderr] Compiling libsecp256k1-gen-genmult v0.2.1 [INFO] [stderr] Compiling libsecp256k1-gen-ecmult v0.2.1 [INFO] [stderr] Compiling libsecp256k1 v0.5.0 [INFO] [stderr] Compiling borsh-derive v0.9.1 [INFO] [stderr] Compiling borsh v0.9.1 [INFO] [stderr] Compiling anchor-attribute-state v0.18.2 [INFO] [stderr] Compiling anchor-derive-accounts v0.18.2 [INFO] [stderr] Compiling anchor-attribute-error v0.18.2 [INFO] [stderr] Compiling anchor-attribute-program v0.18.2 [INFO] [stderr] Compiling anchor-attribute-event v0.18.2 [INFO] [stderr] Compiling anchor-attribute-account v0.18.2 [INFO] [stderr] Compiling anchor-attribute-interface v0.18.2 [INFO] [stderr] Compiling anchor-attribute-access-control v0.18.2 [INFO] [stderr] Compiling anchor-lang v0.18.2 [INFO] [stderr] Compiling my-project v0.1.0 (/opt/rustwide/workdir/programs/my-project) [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> programs/my-project/src/lib.rs:36:12 [INFO] [stdout] | [INFO] [stdout] 36 | if (lucky_bet.len() == 0) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 36 - if (lucky_bet.len() == 0) { [INFO] [stdout] 36 + if lucky_bet.len() == 0 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `lotery_account` [INFO] [stdout] --> programs/my-project/src/lib.rs:29:13 [INFO] [stdout] | [INFO] [stdout] 29 | let lotery_account = &mut ctx.accounts.lotery_account; [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_lotery_account` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 2m 42s [INFO] running `Command { std: "docker" "inspect" "dbc7952312d732032123d038c1ba2a335642cd1628cb97c32e3a4c60978251be", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dbc7952312d732032123d038c1ba2a335642cd1628cb97c32e3a4c60978251be", kill_on_drop: false }` [INFO] [stdout] dbc7952312d732032123d038c1ba2a335642cd1628cb97c32e3a4c60978251be [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "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:5873ed620acfc3295992aedd9294443d62a478a48ba243bc5e6c4f5abaffa05f" "/opt/rustwide/cargo-home/bin/cargo" "+5bc97a20e5cc382ae6d19f727a9e73eeb2734548" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 19e02269ab276578080983130d04cb7b236d995338dc1bd636a6e76f6f711db4 [INFO] running `Command { std: "docker" "start" "-a" "19e02269ab276578080983130d04cb7b236d995338dc1bd636a6e76f6f711db4", kill_on_drop: false }` [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> programs/my-project/src/lib.rs:36:12 [INFO] [stdout] | [INFO] [stdout] 36 | if (lucky_bet.len() == 0) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 36 - if (lucky_bet.len() == 0) { [INFO] [stdout] 36 + if lucky_bet.len() == 0 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `lotery_account` [INFO] [stdout] --> programs/my-project/src/lib.rs:29:13 [INFO] [stdout] | [INFO] [stdout] 29 | let lotery_account = &mut ctx.accounts.lotery_account; [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_lotery_account` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling my-project v0.1.0 (/opt/rustwide/workdir/programs/my-project) [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> programs/my-project/src/lib.rs:36:12 [INFO] [stdout] | [INFO] [stdout] 36 | if (lucky_bet.len() == 0) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 36 - if (lucky_bet.len() == 0) { [INFO] [stdout] 36 + if lucky_bet.len() == 0 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `lotery_account` [INFO] [stdout] --> programs/my-project/src/lib.rs:29:13 [INFO] [stdout] | [INFO] [stdout] 29 | let lotery_account = &mut ctx.accounts.lotery_account; [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_lotery_account` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 3.99s [INFO] running `Command { std: "docker" "inspect" "19e02269ab276578080983130d04cb7b236d995338dc1bd636a6e76f6f711db4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "19e02269ab276578080983130d04cb7b236d995338dc1bd636a6e76f6f711db4", kill_on_drop: false }` [INFO] [stdout] 19e02269ab276578080983130d04cb7b236d995338dc1bd636a6e76f6f711db4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "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:5873ed620acfc3295992aedd9294443d62a478a48ba243bc5e6c4f5abaffa05f" "/opt/rustwide/cargo-home/bin/cargo" "+5bc97a20e5cc382ae6d19f727a9e73eeb2734548" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] c341929322184c724a823c83735a23334abad3b60af1f68423ba8bbf7a3e2599 [INFO] running `Command { std: "docker" "start" "-a" "c341929322184c724a823c83735a23334abad3b60af1f68423ba8bbf7a3e2599", kill_on_drop: false }` [INFO] [stderr] warning: unnecessary parentheses around `if` condition [INFO] [stderr] --> programs/my-project/src/lib.rs:36:12 [INFO] [stderr] | [INFO] [stderr] 36 | if (lucky_bet.len() == 0) { [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_parens)]` on by default [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 36 - if (lucky_bet.len() == 0) { [INFO] [stderr] 36 + if lucky_bet.len() == 0 { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unused variable: `lotery_account` [INFO] [stderr] --> programs/my-project/src/lib.rs:29:13 [INFO] [stderr] | [INFO] [stderr] 29 | let lotery_account = &mut ctx.accounts.lotery_account; [INFO] [stderr] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_lotery_account` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: `my-project` (lib) generated 2 warnings [INFO] [stderr] warning: `my-project` (lib test) generated 2 warnings (2 duplicates) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.08s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/my_project-9f4d1c8e3560a64e) [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] [stdout] [INFO] [stderr] Doc-tests my_project [INFO] [stderr] error[E0659]: `my_project` is ambiguous [INFO] [stderr] --> /opt/rustwide/workdir/programs/my-project/src/lib.rs:7:9 [INFO] [stderr] | [INFO] [stderr] 7 | pub mod my_project { [INFO] [stderr] | ^^^^^^^^^^ ambiguous name [INFO] [stderr] | [INFO] [stderr] = note: ambiguous because of multiple potential import sources [INFO] [stderr] = note: `my_project` could refer to a crate passed with `--extern` [INFO] [stderr] = help: use `::my_project` to refer to this crate unambiguously [INFO] [stderr] note: `my_project` could also refer to the module defined here [INFO] [stderr] --> /opt/rustwide/workdir/programs/my-project/src/lib.rs:7:1 [INFO] [stderr] | [INFO] [stderr] 7 | / pub mod my_project { [INFO] [stderr] 8 | | use super::*; [INFO] [stderr] 9 | | pub fn initialize(ctx: Context) -> ProgramResult { [INFO] [stderr] 10 | | ctx.accounts.lotery_account.total_bets = 0; [INFO] [stderr] ... | [INFO] [stderr] 45 | | } [INFO] [stderr] 46 | | } [INFO] [stderr] | |_^ [INFO] [stderr] = help: use `crate::my_project` to refer to this module unambiguously [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around `if` condition [INFO] [stderr] --> /opt/rustwide/workdir/programs/my-project/src/lib.rs:36:12 [INFO] [stderr] | [INFO] [stderr] 36 | if (lucky_bet.len() == 0) { [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_parens)]` on by default [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 36 - if (lucky_bet.len() == 0) { [INFO] [stderr] 36 + if lucky_bet.len() == 0 { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error: aborting due to previous error; 1 warning emitted [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0659`. [INFO] [stderr] error: test failed, to rerun pass '--doc' [INFO] running `Command { std: "docker" "inspect" "c341929322184c724a823c83735a23334abad3b60af1f68423ba8bbf7a3e2599", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c341929322184c724a823c83735a23334abad3b60af1f68423ba8bbf7a3e2599", kill_on_drop: false }` [INFO] [stdout] c341929322184c724a823c83735a23334abad3b60af1f68423ba8bbf7a3e2599