[INFO] cloning repository https://github.com/riddles-are-us/holdit [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/riddles-are-us/holdit" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Friddles-are-us%2Fholdit", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Friddles-are-us%2Fholdit'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 2c89067866213e8da94e7e31eca3de232fa20749 [INFO] checking riddles-are-us/holdit against try#f17e3a389e192f83fe27a581774a9d1dbb8e565b for pr-137394 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Friddles-are-us%2Fholdit" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] [stderr] error: failed to write new configuration file /workspace/builds/worker-4-tc2/source/.git/config.lock [INFO] [stderr] error: unable to write file .gitignore [INFO] [stderr] error: unable to write file Cargo.lock [INFO] [stderr] error: unable to write file Cargo.toml [INFO] [stderr] error: unable to write file Makefile [INFO] [stderr] error: unable to write file README.md [INFO] [stderr] error: unable to write file rust-toolchain [INFO] [stderr] fatal: cannot create directory at 'src': No space left on device [INFO] [stderr] warning: Clone succeeded, but checkout failed. [INFO] [stderr] You can inspect what was checked out with 'git status' [INFO] [stderr] and retry with 'git restore --source=HEAD :/' [INFO] [stderr] [INFO] checking riddles-are-us/holdit against try#f17e3a389e192f83fe27a581774a9d1dbb8e565b for pr-137394 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Friddles-are-us%2Fholdit" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] /workspace/builds/worker-4-tc2/source/.git/refs/tags: No space left on device [INFO] checking riddles-are-us/holdit against try#f17e3a389e192f83fe27a581774a9d1dbb8e565b for pr-137394 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Friddles-are-us%2Fholdit" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/riddles-are-us/holdit on toolchain f17e3a389e192f83fe27a581774a9d1dbb8e565b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f17e3a389e192f83fe27a581774a9d1dbb8e565b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-4-tc2/source/rust-toolchain [INFO] started tweaking git repo https://github.com/riddles-are-us/holdit [INFO] finished tweaking git repo https://github.com/riddles-are-us/holdit [INFO] tweaked toml for git repo https://github.com/riddles-are-us/holdit written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/riddles-are-us/holdit 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" "+f17e3a389e192f83fe27a581774a9d1dbb8e565b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+f17e3a389e192f83fe27a581774a9d1dbb8e565b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 258cf05066deec566ae7a3da30c80d7e4ba55421be8586aa17a0457bf411a9fa [INFO] running `Command { std: "docker" "start" "-a" "258cf05066deec566ae7a3da30c80d7e4ba55421be8586aa17a0457bf411a9fa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "258cf05066deec566ae7a3da30c80d7e4ba55421be8586aa17a0457bf411a9fa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "258cf05066deec566ae7a3da30c80d7e4ba55421be8586aa17a0457bf411a9fa", kill_on_drop: false }` [INFO] [stdout] 258cf05066deec566ae7a3da30c80d7e4ba55421be8586aa17a0457bf411a9fa [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+f17e3a389e192f83fe27a581774a9d1dbb8e565b" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d0d7588f56fedb32c7132fc299a612b2955a27261638866cf1d6f6b17f5588b8 [INFO] running `Command { std: "docker" "start" "-a" "d0d7588f56fedb32c7132fc299a612b2955a27261638866cf1d6f6b17f5588b8", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling wasm-bindgen-shared v0.2.92 [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Compiling once_cell v1.19.0 [INFO] [stderr] Compiling bumpalo v3.14.0 [INFO] [stderr] Compiling log v0.4.22 [INFO] [stderr] Compiling crunchy v0.2.2 [INFO] [stderr] Checking static_assertions v1.1.0 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling serde v1.0.204 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Checking hex v0.4.3 [INFO] [stderr] Compiling wasm-bindgen v0.2.92 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Checking fixed-hash v0.8.0 [INFO] [stderr] Compiling serde_json v1.0.120 [INFO] [stderr] Checking cpufeatures v0.2.12 [INFO] [stderr] Checking itoa v1.0.11 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Checking ryu v1.0.18 [INFO] [stderr] Checking lazy_static v1.5.0 [INFO] [stderr] Checking uint v0.9.5 [INFO] [stderr] Checking primitive-types v0.12.2 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling syn v2.0.72 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking sha2 v0.10.8 [INFO] [stderr] Compiling derive_builder v0.1.0 (https://github.com/DelphinusLab/zkWasm-rust.git#df1bd2d4) [INFO] [stderr] Compiling wasm-bindgen-backend v0.2.92 [INFO] [stderr] Compiling serde_derive v1.0.204 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.92 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.92 [INFO] [stderr] Checking zkwasm-rust-sdk v0.1.0 (https://github.com/DelphinusLab/zkWasm-rust.git#df1bd2d4) [INFO] [stderr] Checking zkwasm-rest-abi v0.1.0 (https://github.com/DelphinusLab/zkwasm-mini-rollup?branch=release-v1#a60c7e83) [INFO] [stderr] Checking zkwasm-rest-convention v0.1.0 (https://github.com/DelphinusLab/zkwasm-mini-rollup?branch=release-v1#a60c7e83) [INFO] [stderr] Checking zkwasm-autocombat-test v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/command.rs:64:28 [INFO] [stdout] | [INFO] [stdout] 64 | if (player.data.lastBetRound < next_round) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 64 - if (player.data.lastBetRound < next_round) { [INFO] [stdout] 64 + if player.data.lastBetRound < next_round { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/command.rs:64:28 [INFO] [stdout] | [INFO] [stdout] 64 | if (player.data.lastBetRound < next_round) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 64 - if (player.data.lastBetRound < next_round) { [INFO] [stdout] 64 + if player.data.lastBetRound < next_round { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/state.rs:142:9 [INFO] [stdout] | [INFO] [stdout] 142 | unsafe { Self::get_global().store() }; [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_unsafe)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/state.rs:263:13 [INFO] [stdout] | [INFO] [stdout] 263 | _ => { [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/state.rs:263:13 [INFO] [stdout] | [INFO] [stdout] 247 | Command::Tick=> { [INFO] [stdout] | ------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 252 | Command::InstallPlayer => self.create_player(pkey) [INFO] [stdout] | ---------------------- matches some of the same values [INFO] [stdout] 253 | .map_or_else(|e| e, |_| 0), [INFO] [stdout] 254 | Command::Withdraw(cmd) => cmd.handle(&pid, self.nonce, rand) [INFO] [stdout] | ---------------------- matches some of the same values [INFO] [stdout] 255 | .map_or_else(|e| e, |_| 0), [INFO] [stdout] 256 | Command::Activity(cmd) => cmd.handle(&pid, self.nonce, rand) [INFO] [stdout] | ---------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 263 | _ => { [INFO] [stdout] | ^ ...and 1 other patterns collectively make this unreachable [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/state.rs:268:9 [INFO] [stdout] | [INFO] [stdout] 268 | unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `nonce` [INFO] [stdout] --> src/command.rs:56:38 [INFO] [stdout] | [INFO] [stdout] 56 | fn handle(&self, pid: &[u64; 2], nonce: u64, rand: &[u64; 4]) -> Result<(), u32> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_nonce` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rand` [INFO] [stdout] --> src/command.rs:56:50 [INFO] [stdout] | [INFO] [stdout] 56 | fn handle(&self, pid: &[u64; 2], nonce: u64, rand: &[u64; 4]) -> Result<(), u32> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_rand` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `currentRound` should have a snake case name [INFO] [stdout] --> src/state.rs:46:5 [INFO] [stdout] | [INFO] [stdout] 46 | currentRound: u64, // current game index [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `current_round` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `lastBet` should have a snake case name [INFO] [stdout] --> src/player.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 10 | pub lastBet: u64, [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `last_bet` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `lastBetRound` should have a snake case name [INFO] [stdout] --> src/player.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | pub lastBetRound: u64, [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `last_bet_round` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `lastBet` should have a snake case name [INFO] [stdout] --> src/player.rs:17:13 [INFO] [stdout] | [INFO] [stdout] 17 | let lastBet = *u64data.next().unwrap(); [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `last_bet` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `lastBetRound` should have a snake case name [INFO] [stdout] --> src/player.rs:18:13 [INFO] [stdout] | [INFO] [stdout] 18 | let lastBetRound = *u64data.next().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `last_bet_round` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/command.rs:43:18 [INFO] [stdout] | [INFO] [stdout] 43 | c.append(&mut EVENTS); [INFO] [stdout] | ^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: `#[warn(static_mut_refs)]` on by default [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 43 - c.append(&mut EVENTS); [INFO] [stdout] 43 + c.append(&raw mut EVENTS); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/command.rs:50:9 [INFO] [stdout] | [INFO] [stdout] 50 | EVENTS.push((typ << 32) + data.len() as u64); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/command.rs:51:9 [INFO] [stdout] | [INFO] [stdout] 51 | EVENTS.append(data); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/settlement.rs:8:18 [INFO] [stdout] | [INFO] [stdout] 8 | unsafe { SETTLEMENT.0.push(info) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/settlement.rs:11:30 [INFO] [stdout] | [INFO] [stdout] 11 | let sinfo = unsafe { &mut SETTLEMENT }; [INFO] [stdout] | ^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 11 - let sinfo = unsafe { &mut SETTLEMENT }; [INFO] [stdout] 11 + let sinfo = unsafe { &raw mut SETTLEMENT }; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/state.rs:142:9 [INFO] [stdout] | [INFO] [stdout] 142 | unsafe { Self::get_global().store() }; [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_unsafe)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/state.rs:263:13 [INFO] [stdout] | [INFO] [stdout] 263 | _ => { [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/state.rs:263:13 [INFO] [stdout] | [INFO] [stdout] 247 | Command::Tick=> { [INFO] [stdout] | ------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 252 | Command::InstallPlayer => self.create_player(pkey) [INFO] [stdout] | ---------------------- matches some of the same values [INFO] [stdout] 253 | .map_or_else(|e| e, |_| 0), [INFO] [stdout] 254 | Command::Withdraw(cmd) => cmd.handle(&pid, self.nonce, rand) [INFO] [stdout] | ---------------------- matches some of the same values [INFO] [stdout] 255 | .map_or_else(|e| e, |_| 0), [INFO] [stdout] 256 | Command::Activity(cmd) => cmd.handle(&pid, self.nonce, rand) [INFO] [stdout] | ---------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 263 | _ => { [INFO] [stdout] | ^ ...and 1 other patterns collectively make this unreachable [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/state.rs:268:9 [INFO] [stdout] | [INFO] [stdout] 268 | unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `nonce` [INFO] [stdout] --> src/command.rs:56:38 [INFO] [stdout] | [INFO] [stdout] 56 | fn handle(&self, pid: &[u64; 2], nonce: u64, rand: &[u64; 4]) -> Result<(), u32> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_nonce` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rand` [INFO] [stdout] --> src/command.rs:56:50 [INFO] [stdout] | [INFO] [stdout] 56 | fn handle(&self, pid: &[u64; 2], nonce: u64, rand: &[u64; 4]) -> Result<(), u32> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_rand` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `currentRound` should have a snake case name [INFO] [stdout] --> src/state.rs:46:5 [INFO] [stdout] | [INFO] [stdout] 46 | currentRound: u64, // current game index [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `current_round` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `lastBet` should have a snake case name [INFO] [stdout] --> src/player.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 10 | pub lastBet: u64, [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `last_bet` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `lastBetRound` should have a snake case name [INFO] [stdout] --> src/player.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | pub lastBetRound: u64, [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `last_bet_round` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `lastBet` should have a snake case name [INFO] [stdout] --> src/player.rs:17:13 [INFO] [stdout] | [INFO] [stdout] 17 | let lastBet = *u64data.next().unwrap(); [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `last_bet` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `lastBetRound` should have a snake case name [INFO] [stdout] --> src/player.rs:18:13 [INFO] [stdout] | [INFO] [stdout] 18 | let lastBetRound = *u64data.next().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `last_bet_round` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/command.rs:43:18 [INFO] [stdout] | [INFO] [stdout] 43 | c.append(&mut EVENTS); [INFO] [stdout] | ^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: `#[warn(static_mut_refs)]` on by default [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 43 - c.append(&mut EVENTS); [INFO] [stdout] 43 + c.append(&raw mut EVENTS); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/command.rs:50:9 [INFO] [stdout] | [INFO] [stdout] 50 | EVENTS.push((typ << 32) + data.len() as u64); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/command.rs:51:9 [INFO] [stdout] | [INFO] [stdout] 51 | EVENTS.append(data); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/settlement.rs:8:18 [INFO] [stdout] | [INFO] [stdout] 8 | unsafe { SETTLEMENT.0.push(info) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/settlement.rs:11:30 [INFO] [stdout] | [INFO] [stdout] 11 | let sinfo = unsafe { &mut SETTLEMENT }; [INFO] [stdout] | ^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 11 - let sinfo = unsafe { &mut SETTLEMENT }; [INFO] [stdout] 11 + let sinfo = unsafe { &raw mut SETTLEMENT }; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 22.92s [INFO] running `Command { std: "docker" "inspect" "d0d7588f56fedb32c7132fc299a612b2955a27261638866cf1d6f6b17f5588b8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d0d7588f56fedb32c7132fc299a612b2955a27261638866cf1d6f6b17f5588b8", kill_on_drop: false }` [INFO] [stdout] d0d7588f56fedb32c7132fc299a612b2955a27261638866cf1d6f6b17f5588b8