[INFO] cloning repository https://github.com/CouleeApps/dnet-rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/CouleeApps/dnet-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FCouleeApps%2Fdnet-rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FCouleeApps%2Fdnet-rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] dc298844217075d066fb74fae4e5b1564f176058 [INFO] checking CouleeApps/dnet-rs/dc298844217075d066fb74fae4e5b1564f176058 against master#f609b7e0586f81fefb3523e3e17adf779ac416be for pr-129466-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FCouleeApps%2Fdnet-rs" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/CouleeApps/dnet-rs on toolchain f609b7e0586f81fefb3523e3e17adf779ac416be [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/CouleeApps/dnet-rs [INFO] finished tweaking git repo https://github.com/CouleeApps/dnet-rs [INFO] tweaked toml for git repo https://github.com/CouleeApps/dnet-rs written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/CouleeApps/dnet-rs 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" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded tokio-macros v1.3.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5aace9e9b96127c83133137ada231fd55b0ead4b086bfd35ccb5493414cf3efb [INFO] running `Command { std: "docker" "start" "-a" "5aace9e9b96127c83133137ada231fd55b0ead4b086bfd35ccb5493414cf3efb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5aace9e9b96127c83133137ada231fd55b0ead4b086bfd35ccb5493414cf3efb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5aace9e9b96127c83133137ada231fd55b0ead4b086bfd35ccb5493414cf3efb", kill_on_drop: false }` [INFO] [stdout] 5aace9e9b96127c83133137ada231fd55b0ead4b086bfd35ccb5493414cf3efb [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2574eeebdb1fa8108f980306a2dc51084e421c39e043b41694ea7d161807ddd0 [INFO] running `Command { std: "docker" "start" "-a" "2574eeebdb1fa8108f980306a2dc51084e421c39e043b41694ea7d161807ddd0", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.99 [INFO] [stderr] Compiling proc-macro2 v1.0.28 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling syn v1.0.74 [INFO] [stderr] Checking smallvec v1.6.1 [INFO] [stderr] Checking instant v0.1.10 [INFO] [stderr] Compiling tokio v1.10.0 [INFO] [stderr] Checking lock_api v0.4.4 [INFO] [stderr] Compiling anyhow v1.0.43 [INFO] [stderr] Checking ppv-lite86 v0.2.10 [INFO] [stderr] Checking pin-project-lite v0.2.7 [INFO] [stderr] Checking once_cell v1.8.0 [INFO] [stderr] Checking bytes v1.0.1 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Checking getrandom v0.2.3 [INFO] [stderr] Checking parking_lot_core v0.8.3 [INFO] [stderr] Checking mio v0.7.13 [INFO] [stderr] Checking signal-hook-registry v1.4.0 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking rand_core v0.6.3 [INFO] [stderr] Checking parking_lot v0.11.1 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.4 [INFO] [stderr] Compiling tokio-macros v1.3.0 [INFO] [stderr] Checking dnet-rs v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0425]: cannot find value `f` in this scope [INFO] [stdout] --> src/bitstream.rs:360:18 [INFO] [stdout] | [INFO] [stdout] 360 | i = (f * (max_int as f32)).round(); [INFO] [stdout] | ^ help: a local variable with a similar name exists: `i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `f` in this scope [INFO] [stdout] --> src/bitstream.rs:360:18 [INFO] [stdout] | [INFO] [stdout] 360 | i = (f * (max_int as f32)).round(); [INFO] [stdout] | ^ help: a local variable with a similar name exists: `i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::bitstream::BitStream` [INFO] [stdout] --> src/main.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::bitstream::BitStream; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tokio::net::UdpSocket` [INFO] [stdout] --> src/main.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use tokio::net::UdpSocket; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::huffman` [INFO] [stdout] --> src/bitstream.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::huffman; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::cmp::max` [INFO] [stdout] --> src/bitstream.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::cmp::max; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/bitstream.rs:115:17 [INFO] [stdout] | [INFO] [stdout] 115 | value = (value & (0xFF >> (8 - bits))); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 115 - value = (value & (0xFF >> (8 - bits))); [INFO] [stdout] 115 + value = value & (0xFF >> (8 - bits)); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> src/bitstream.rs:142:17 [INFO] [stdout] | [INFO] [stdout] 142 | (value >> remain) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 142 - (value >> remain) [INFO] [stdout] 142 + value >> remain [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/bitstream.rs:414:19 [INFO] [stdout] | [INFO] [stdout] 414 | let div = (1.0 / mag); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 414 - let div = (1.0 / mag); [INFO] [stdout] 414 + let div = 1.0 / mag; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Error` [INFO] [stdout] --> src/connection.rs:5:22 [INFO] [stdout] | [INFO] [stdout] 5 | use anyhow::{Result, Error}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::connection::GameConnection` [INFO] [stdout] --> src/dnet.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::connection::GameConnection; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/dnet.rs:73:20 [INFO] [stdout] | [INFO] [stdout] 73 | seq_num |= (self.last_seq_received & 0xFFFFFE00); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 73 - seq_num |= (self.last_seq_received & 0xFFFFFE00); [INFO] [stdout] 73 + seq_num |= self.last_seq_received & 0xFFFFFE00; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/dnet.rs:164:30 [INFO] [stdout] | [INFO] [stdout] 164 | let ack_byte_count = ((self.last_seq_received - self.last_recv_ack_ack + 7) >> 3); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 164 - let ack_byte_count = ((self.last_seq_received - self.last_recv_ack_ack + 7) >> 3); [INFO] [stdout] 164 + let ack_byte_count = (self.last_seq_received - self.last_recv_ack_ack + 7) >> 3; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::bitstream::BitStream` [INFO] [stdout] --> src/main.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::bitstream::BitStream; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tokio::net::UdpSocket` [INFO] [stdout] --> src/main.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use tokio::net::UdpSocket; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::huffman` [INFO] [stdout] --> src/bitstream.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::huffman; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::cmp::max` [INFO] [stdout] --> src/bitstream.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::cmp::max; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/bitstream.rs:115:17 [INFO] [stdout] | [INFO] [stdout] 115 | value = (value & (0xFF >> (8 - bits))); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 115 - value = (value & (0xFF >> (8 - bits))); [INFO] [stdout] 115 + value = value & (0xFF >> (8 - bits)); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> src/bitstream.rs:142:17 [INFO] [stdout] | [INFO] [stdout] 142 | (value >> remain) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 142 - (value >> remain) [INFO] [stdout] 142 + value >> remain [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/bitstream.rs:414:19 [INFO] [stdout] | [INFO] [stdout] 414 | let div = (1.0 / mag); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 414 - let div = (1.0 / mag); [INFO] [stdout] 414 + let div = 1.0 / mag; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Error` [INFO] [stdout] --> src/connection.rs:5:22 [INFO] [stdout] | [INFO] [stdout] 5 | use anyhow::{Result, Error}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::connection::GameConnection` [INFO] [stdout] --> src/dnet.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::connection::GameConnection; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/dnet.rs:73:20 [INFO] [stdout] | [INFO] [stdout] 73 | seq_num |= (self.last_seq_received & 0xFFFFFE00); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 73 - seq_num |= (self.last_seq_received & 0xFFFFFE00); [INFO] [stdout] 73 + seq_num |= self.last_seq_received & 0xFFFFFE00; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/dnet.rs:164:30 [INFO] [stdout] | [INFO] [stdout] 164 | let ack_byte_count = ((self.last_seq_received - self.last_recv_ack_ack + 7) >> 3); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 164 - let ack_byte_count = ((self.last_seq_received - self.last_recv_ack_ack + 7) >> 3); [INFO] [stdout] 164 + let ack_byte_count = (self.last_seq_received - self.last_recv_ack_ack + 7) >> 3; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/connection.rs:61:48 [INFO] [stdout] | [INFO] [stdout] 61 | pub async fn process_raw_packet(&mut self, mut stream: BitStream) -> Result<()> { [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] --> src/connection.rs:61:48 [INFO] [stdout] | [INFO] [stdout] 61 | pub async fn process_raw_packet(&mut self, mut stream: BitStream) -> Result<()> { [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `read_float` found for mutable reference `&mut BitStream` in the current scope [INFO] [stdout] --> src/bitstream.rs:233:21 [INFO] [stdout] | [INFO] [stdout] 233 | return self.read_float(bit_count) * 2f32 - 1f32; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `read_flag` with a similar name, but with different arguments [INFO] [stdout] --> src/bitstream.rs:197:5 [INFO] [stdout] | [INFO] [stdout] 197 | pub fn read_flag(&mut self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `read_float` found for mutable reference `&mut BitStream` in the current scope [INFO] [stdout] --> src/bitstream.rs:233:21 [INFO] [stdout] | [INFO] [stdout] 233 | return self.read_float(bit_count) * 2f32 - 1f32; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `read_flag` with a similar name, but with different arguments [INFO] [stdout] --> src/bitstream.rs:197:5 [INFO] [stdout] | [INFO] [stdout] 197 | pub fn read_flag(&mut self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `read_signed_float` found for mutable reference `&mut BitStream` in the current scope [INFO] [stdout] --> src/bitstream.rs:246:24 [INFO] [stdout] | [INFO] [stdout] 246 | let phi = self.read_signed_float(bit_count + 1) * PI; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `read_signed_float_neg_one_to_one` with a similar name [INFO] [stdout] | [INFO] [stdout] 246 | let phi = self.read_signed_float_neg_one_to_one(bit_count + 1) * PI; [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `read_signed_float` found for mutable reference `&mut BitStream` in the current scope [INFO] [stdout] --> src/bitstream.rs:246:24 [INFO] [stdout] | [INFO] [stdout] 246 | let phi = self.read_signed_float(bit_count + 1) * PI; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `read_signed_float_neg_one_to_one` with a similar name [INFO] [stdout] | [INFO] [stdout] 246 | let phi = self.read_signed_float_neg_one_to_one(bit_count + 1) * PI; [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `read_signed_float` found for mutable reference `&mut BitStream` in the current scope [INFO] [stdout] --> src/bitstream.rs:247:26 [INFO] [stdout] | [INFO] [stdout] 247 | let theta = self.read_signed_float(bit_count) * (PI / 2.0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `read_signed_float_neg_one_to_one` with a similar name [INFO] [stdout] | [INFO] [stdout] 247 | let theta = self.read_signed_float_neg_one_to_one(bit_count) * (PI / 2.0); [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `read_signed_float` found for mutable reference `&mut BitStream` in the current scope [INFO] [stdout] --> src/bitstream.rs:247:26 [INFO] [stdout] | [INFO] [stdout] 247 | let theta = self.read_signed_float(bit_count) * (PI / 2.0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `read_signed_float_neg_one_to_one` with a similar name [INFO] [stdout] | [INFO] [stdout] 247 | let theta = self.read_signed_float_neg_one_to_one(bit_count) * (PI / 2.0); [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `read_float` found for mutable reference `&mut BitStream` in the current scope [INFO] [stdout] --> src/bitstream.rs:263:24 [INFO] [stdout] | [INFO] [stdout] 263 | mag = self.read_float(magnitude_bits) * max_magnitude; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `read_flag` with a similar name, but with different arguments [INFO] [stdout] --> src/bitstream.rs:197:5 [INFO] [stdout] | [INFO] [stdout] 197 | pub fn read_flag(&mut self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `read_float` found for mutable reference `&mut BitStream` in the current scope [INFO] [stdout] --> src/bitstream.rs:263:24 [INFO] [stdout] | [INFO] [stdout] 263 | mag = self.read_float(magnitude_bits) * max_magnitude; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `read_flag` with a similar name, but with different arguments [INFO] [stdout] --> src/bitstream.rs:197:5 [INFO] [stdout] | [INFO] [stdout] 197 | pub fn read_flag(&mut self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the type `[f32]` cannot be indexed by `u32` [INFO] [stdout] --> src/bitstream.rs:285:18 [INFO] [stdout] | [INFO] [stdout] 285 | vals[i] = self.read_signed_float(bit_count) * FRAC_1_SQRT_2; [INFO] [stdout] | ^ slice indices are of type `usize` or ranges of `usize` [INFO] [stdout] | [INFO] [stdout] = help: the trait `SliceIndex<[f32]>` is not implemented for `u32`, which is required by `[f32; 4]: Index<_>` [INFO] [stdout] = help: the trait `SliceIndex<[f32]>` is implemented for `usize` [INFO] [stdout] = help: for that trait implementation, expected `usize`, found `u32` [INFO] [stdout] = note: required for `[f32]` to implement `Index` [INFO] [stdout] = note: 1 redundant requirement hidden [INFO] [stdout] = note: required for `[f32; 4]` to implement `Index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the type `[f32]` cannot be indexed by `u32` [INFO] [stdout] --> src/bitstream.rs:285:18 [INFO] [stdout] | [INFO] [stdout] 285 | vals[i] = self.read_signed_float(bit_count) * FRAC_1_SQRT_2; [INFO] [stdout] | ^ slice indices are of type `usize` or ranges of `usize` [INFO] [stdout] | [INFO] [stdout] = help: the trait `SliceIndex<[f32]>` is not implemented for `u32`, which is required by `[f32; 4]: Index<_>` [INFO] [stdout] = help: the trait `SliceIndex<[f32]>` is implemented for `usize` [INFO] [stdout] = help: for that trait implementation, expected `usize`, found `u32` [INFO] [stdout] = note: required for `[f32]` to implement `Index` [INFO] [stdout] = note: 1 redundant requirement hidden [INFO] [stdout] = note: required for `[f32; 4]` to implement `Index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `read_signed_float` found for mutable reference `&mut BitStream` in the current scope [INFO] [stdout] --> src/bitstream.rs:285:28 [INFO] [stdout] | [INFO] [stdout] 285 | vals[i] = self.read_signed_float(bit_count) * FRAC_1_SQRT_2; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `read_signed_float_neg_one_to_one` with a similar name [INFO] [stdout] | [INFO] [stdout] 285 | vals[i] = self.read_signed_float_neg_one_to_one(bit_count) * FRAC_1_SQRT_2; [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `read_signed_float` found for mutable reference `&mut BitStream` in the current scope [INFO] [stdout] --> src/bitstream.rs:285:28 [INFO] [stdout] | [INFO] [stdout] 285 | vals[i] = self.read_signed_float(bit_count) * FRAC_1_SQRT_2; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `read_signed_float_neg_one_to_one` with a similar name [INFO] [stdout] | [INFO] [stdout] 285 | vals[i] = self.read_signed_float_neg_one_to_one(bit_count) * FRAC_1_SQRT_2; [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the type `[f32]` cannot be indexed by `u32` [INFO] [stdout] --> src/bitstream.rs:286:25 [INFO] [stdout] | [INFO] [stdout] 286 | sum += vals[i] * vals[i]; [INFO] [stdout] | ^ slice indices are of type `usize` or ranges of `usize` [INFO] [stdout] | [INFO] [stdout] = help: the trait `SliceIndex<[f32]>` is not implemented for `u32`, which is required by `[f32; 4]: Index<_>` [INFO] [stdout] = help: the trait `SliceIndex<[f32]>` is implemented for `usize` [INFO] [stdout] = help: for that trait implementation, expected `usize`, found `u32` [INFO] [stdout] = note: required for `[f32]` to implement `Index` [INFO] [stdout] = note: 1 redundant requirement hidden [INFO] [stdout] = note: required for `[f32; 4]` to implement `Index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the type `[f32]` cannot be indexed by `u32` [INFO] [stdout] --> src/bitstream.rs:286:25 [INFO] [stdout] | [INFO] [stdout] 286 | sum += vals[i] * vals[i]; [INFO] [stdout] | ^ slice indices are of type `usize` or ranges of `usize` [INFO] [stdout] | [INFO] [stdout] = help: the trait `SliceIndex<[f32]>` is not implemented for `u32`, which is required by `[f32; 4]: Index<_>` [INFO] [stdout] = help: the trait `SliceIndex<[f32]>` is implemented for `usize` [INFO] [stdout] = help: for that trait implementation, expected `usize`, found `u32` [INFO] [stdout] = note: required for `[f32]` to implement `Index` [INFO] [stdout] = note: 1 redundant requirement hidden [INFO] [stdout] = note: required for `[f32; 4]` to implement `Index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the type `[f32]` cannot be indexed by `u32` [INFO] [stdout] --> src/bitstream.rs:286:35 [INFO] [stdout] | [INFO] [stdout] 286 | sum += vals[i] * vals[i]; [INFO] [stdout] | ^ slice indices are of type `usize` or ranges of `usize` [INFO] [stdout] | [INFO] [stdout] = help: the trait `SliceIndex<[f32]>` is not implemented for `u32`, which is required by `[f32; 4]: Index<_>` [INFO] [stdout] = help: the trait `SliceIndex<[f32]>` is implemented for `usize` [INFO] [stdout] = help: for that trait implementation, expected `usize`, found `u32` [INFO] [stdout] = note: required for `[f32]` to implement `Index` [INFO] [stdout] = note: 1 redundant requirement hidden [INFO] [stdout] = note: required for `[f32; 4]` to implement `Index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the type `[f32]` cannot be indexed by `u32` [INFO] [stdout] --> src/bitstream.rs:286:35 [INFO] [stdout] | [INFO] [stdout] 286 | sum += vals[i] * vals[i]; [INFO] [stdout] | ^ slice indices are of type `usize` or ranges of `usize` [INFO] [stdout] | [INFO] [stdout] = help: the trait `SliceIndex<[f32]>` is not implemented for `u32`, which is required by `[f32; 4]: Index<_>` [INFO] [stdout] = help: the trait `SliceIndex<[f32]>` is implemented for `usize` [INFO] [stdout] = help: for that trait implementation, expected `usize`, found `u32` [INFO] [stdout] = note: required for `[f32]` to implement `Index` [INFO] [stdout] = note: 1 redundant requirement hidden [INFO] [stdout] = note: required for `[f32; 4]` to implement `Index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the type `[f32]` cannot be indexed by `u32` [INFO] [stdout] --> src/bitstream.rs:290:18 [INFO] [stdout] | [INFO] [stdout] 290 | vals[idx_max] = 1.0; [INFO] [stdout] | ^^^^^^^ slice indices are of type `usize` or ranges of `usize` [INFO] [stdout] | [INFO] [stdout] = help: the trait `SliceIndex<[f32]>` is not implemented for `u32`, which is required by `[f32; 4]: Index<_>` [INFO] [stdout] = help: the trait `SliceIndex<[f32]>` is implemented for `usize` [INFO] [stdout] = help: for that trait implementation, expected `usize`, found `u32` [INFO] [stdout] = note: required for `[f32]` to implement `Index` [INFO] [stdout] = note: 1 redundant requirement hidden [INFO] [stdout] = note: required for `[f32; 4]` to implement `Index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the type `[f32]` cannot be indexed by `u32` [INFO] [stdout] --> src/bitstream.rs:290:18 [INFO] [stdout] | [INFO] [stdout] 290 | vals[idx_max] = 1.0; [INFO] [stdout] | ^^^^^^^ slice indices are of type `usize` or ranges of `usize` [INFO] [stdout] | [INFO] [stdout] = help: the trait `SliceIndex<[f32]>` is not implemented for `u32`, which is required by `[f32; 4]: Index<_>` [INFO] [stdout] = help: the trait `SliceIndex<[f32]>` is implemented for `usize` [INFO] [stdout] = help: for that trait implementation, expected `usize`, found `u32` [INFO] [stdout] = note: required for `[f32]` to implement `Index` [INFO] [stdout] = note: 1 redundant requirement hidden [INFO] [stdout] = note: required for `[f32; 4]` to implement `Index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the type `[f32]` cannot be indexed by `u32` [INFO] [stdout] --> src/bitstream.rs:292:18 [INFO] [stdout] | [INFO] [stdout] 292 | vals[idx_max] = (1.0 - sum).sqrt(); [INFO] [stdout] | ^^^^^^^ slice indices are of type `usize` or ranges of `usize` [INFO] [stdout] | [INFO] [stdout] = help: the trait `SliceIndex<[f32]>` is not implemented for `u32`, which is required by `[f32; 4]: Index<_>` [INFO] [stdout] = help: the trait `SliceIndex<[f32]>` is implemented for `usize` [INFO] [stdout] = help: for that trait implementation, expected `usize`, found `u32` [INFO] [stdout] = note: required for `[f32]` to implement `Index` [INFO] [stdout] = note: 1 redundant requirement hidden [INFO] [stdout] = note: required for `[f32; 4]` to implement `Index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the type `[f32]` cannot be indexed by `u32` [INFO] [stdout] --> src/bitstream.rs:292:18 [INFO] [stdout] | [INFO] [stdout] 292 | vals[idx_max] = (1.0 - sum).sqrt(); [INFO] [stdout] | ^^^^^^^ slice indices are of type `usize` or ranges of `usize` [INFO] [stdout] | [INFO] [stdout] = help: the trait `SliceIndex<[f32]>` is not implemented for `u32`, which is required by `[f32; 4]: Index<_>` [INFO] [stdout] = help: the trait `SliceIndex<[f32]>` is implemented for `usize` [INFO] [stdout] = help: for that trait implementation, expected `usize`, found `u32` [INFO] [stdout] = note: required for `[f32]` to implement `Index` [INFO] [stdout] = note: 1 redundant requirement hidden [INFO] [stdout] = note: required for `[f32; 4]` to implement `Index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `write_float` found for mutable reference `&mut BitStream` in the current scope [INFO] [stdout] --> src/bitstream.rs:370:21 [INFO] [stdout] | [INFO] [stdout] 370 | return self.write_float((value + 1) / 2, bit_count) * 2f32 - 1f32; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `write_flag` with a similar name, but with different arguments [INFO] [stdout] --> src/bitstream.rs:322:5 [INFO] [stdout] | [INFO] [stdout] 322 | pub fn write_flag(&mut self, value: bool) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `write_float` found for mutable reference `&mut BitStream` in the current scope [INFO] [stdout] --> src/bitstream.rs:370:21 [INFO] [stdout] | [INFO] [stdout] 370 | return self.write_float((value + 1) / 2, bit_count) * 2f32 - 1f32; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `write_flag` with a similar name, but with different arguments [INFO] [stdout] --> src/bitstream.rs:322:5 [INFO] [stdout] | [INFO] [stdout] 322 | pub fn write_flag(&mut self, value: bool) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: cannot add `{integer}` to `f32` [INFO] [stdout] --> src/bitstream.rs:370:40 [INFO] [stdout] | [INFO] [stdout] 370 | return self.write_float((value + 1) / 2, bit_count) * 2f32 - 1f32; [INFO] [stdout] | ^ no implementation for `f32 + {integer}` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Add<{integer}>` is not implemented for `f32` [INFO] [stdout] = help: the following other types implement trait `Add`: [INFO] [stdout] `&'a f32` implements `Add` [INFO] [stdout] `&f32` implements `Add<&f32>` [INFO] [stdout] `f32` implements `Add<&f32>` [INFO] [stdout] `f32` implements `Add` [INFO] [stdout] help: consider using a floating-point literal by writing it with `.0` [INFO] [stdout] | [INFO] [stdout] 370 | return self.write_float((value + 1.0) / 2, bit_count) * 2f32 - 1f32; [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: cannot add `{integer}` to `f32` [INFO] [stdout] --> src/bitstream.rs:370:40 [INFO] [stdout] | [INFO] [stdout] 370 | return self.write_float((value + 1) / 2, bit_count) * 2f32 - 1f32; [INFO] [stdout] | ^ no implementation for `f32 + {integer}` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Add<{integer}>` is not implemented for `f32` [INFO] [stdout] = help: the following other types implement trait `Add`: [INFO] [stdout] `&'a f32` implements `Add` [INFO] [stdout] `&f32` implements `Add<&f32>` [INFO] [stdout] `f32` implements `Add<&f32>` [INFO] [stdout] `f32` implements `Add` [INFO] [stdout] help: consider using a floating-point literal by writing it with `.0` [INFO] [stdout] | [INFO] [stdout] 370 | return self.write_float((value + 1.0) / 2, bit_count) * 2f32 - 1f32; [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `write_signed_float` found for mutable reference `&mut BitStream` in the current scope [INFO] [stdout] --> src/bitstream.rs:390:14 [INFO] [stdout] | [INFO] [stdout] 390 | self.write_signed_float(phi, bit_count + 1); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `write_int` with a similar name [INFO] [stdout] | [INFO] [stdout] 390 | self.write_int(phi, bit_count + 1); [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `write_signed_float` found for mutable reference `&mut BitStream` in the current scope [INFO] [stdout] --> src/bitstream.rs:390:14 [INFO] [stdout] | [INFO] [stdout] 390 | self.write_signed_float(phi, bit_count + 1); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `write_int` with a similar name [INFO] [stdout] | [INFO] [stdout] 390 | self.write_int(phi, bit_count + 1); [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `write_signed_float` found for mutable reference `&mut BitStream` in the current scope [INFO] [stdout] --> src/bitstream.rs:391:14 [INFO] [stdout] | [INFO] [stdout] 391 | self.write_signed_float(theta, bit_count); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `write_int` with a similar name [INFO] [stdout] | [INFO] [stdout] 391 | self.write_int(theta, bit_count); [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `write_signed_float` found for mutable reference `&mut BitStream` in the current scope [INFO] [stdout] --> src/bitstream.rs:391:14 [INFO] [stdout] | [INFO] [stdout] 391 | self.write_signed_float(theta, bit_count); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `write_int` with a similar name [INFO] [stdout] | [INFO] [stdout] 391 | self.write_int(theta, bit_count); [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `write_float` found for mutable reference `&mut BitStream` in the current scope [INFO] [stdout] --> src/bitstream.rs:409:18 [INFO] [stdout] | [INFO] [stdout] 409 | self.write_float(mag / max_magnitude, magnitude_bits); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `write_flag` with a similar name, but with different arguments [INFO] [stdout] --> src/bitstream.rs:322:5 [INFO] [stdout] | [INFO] [stdout] 322 | pub fn write_flag(&mut self, value: bool) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `write_float` found for mutable reference `&mut BitStream` in the current scope [INFO] [stdout] --> src/bitstream.rs:409:18 [INFO] [stdout] | [INFO] [stdout] 409 | self.write_float(mag / max_magnitude, magnitude_bits); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `write_flag` with a similar name, but with different arguments [INFO] [stdout] --> src/bitstream.rs:322:5 [INFO] [stdout] | [INFO] [stdout] 322 | pub fn write_flag(&mut self, value: bool) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `write_signed_float` found for mutable reference `&mut BitStream` in the current scope [INFO] [stdout] --> src/bitstream.rs:454:18 [INFO] [stdout] | [INFO] [stdout] 454 | self.write_signed_float(cur_value, bit_count); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `write_int` with a similar name [INFO] [stdout] | [INFO] [stdout] 454 | self.write_int(cur_value, bit_count); [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `write_signed_float` found for mutable reference `&mut BitStream` in the current scope [INFO] [stdout] --> src/bitstream.rs:454:18 [INFO] [stdout] | [INFO] [stdout] 454 | self.write_signed_float(cur_value, bit_count); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `write_int` with a similar name [INFO] [stdout] | [INFO] [stdout] 454 | self.write_int(cur_value, bit_count); [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/main.rs:49:5 [INFO] [stdout] | [INFO] [stdout] 16 | / loop { [INFO] [stdout] 17 | | let mut connection = GameConnection::connect("0.0.0.0:30000", "127.0.0.1:28000", 1).await?; [INFO] [stdout] 18 | | [INFO] [stdout] 19 | | loop { [INFO] [stdout] ... | [INFO] [stdout] 46 | | } [INFO] [stdout] 47 | | } [INFO] [stdout] | |_____- any code following this expression is unreachable [INFO] [stdout] 48 | [INFO] [stdout] 49 | Ok(()) [INFO] [stdout] | ^^^^^^ unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/main.rs:49:5 [INFO] [stdout] | [INFO] [stdout] 16 | / loop { [INFO] [stdout] 17 | | let mut connection = GameConnection::connect("0.0.0.0:30000", "127.0.0.1:28000", 1).await?; [INFO] [stdout] 18 | | [INFO] [stdout] 19 | | loop { [INFO] [stdout] ... | [INFO] [stdout] 46 | | } [INFO] [stdout] 47 | | } [INFO] [stdout] | |_____- any code following this expression is unreachable [INFO] [stdout] 48 | [INFO] [stdout] 49 | Ok(()) [INFO] [stdout] | ^^^^^^ unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `result` is never read [INFO] [stdout] --> src/bitstream.rs:68:17 [INFO] [stdout] | [INFO] [stdout] 68 | let mut result = 0; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `result` is never read [INFO] [stdout] --> src/bitstream.rs:68:17 [INFO] [stdout] | [INFO] [stdout] 68 | let mut result = 0; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 17 previous errors; 14 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0425, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 17 previous errors; 14 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0425, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `dnet-rs` (bin "dnet-rs") due to 18 previous errors; 14 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `dnet-rs` (bin "dnet-rs" test) due to 18 previous errors; 14 warnings emitted [INFO] running `Command { std: "docker" "inspect" "2574eeebdb1fa8108f980306a2dc51084e421c39e043b41694ea7d161807ddd0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2574eeebdb1fa8108f980306a2dc51084e421c39e043b41694ea7d161807ddd0", kill_on_drop: false }` [INFO] [stdout] 2574eeebdb1fa8108f980306a2dc51084e421c39e043b41694ea7d161807ddd0