[INFO] cloning repository https://github.com/malcx95/plengine [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/malcx95/plengine" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmalcx95%2Fplengine", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmalcx95%2Fplengine'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] e09263f729d82c4e56cce11832ca8a298b6c37ae [INFO] testing malcx95/plengine against 1.85.0 for beta-1.86-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmalcx95%2Fplengine" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/malcx95/plengine on toolchain 1.85.0 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.85.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/malcx95/plengine [INFO] finished tweaking git repo https://github.com/malcx95/plengine [INFO] tweaked toml for git repo https://github.com/malcx95/plengine written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/malcx95/plengine 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" "+1.85.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded unicode-truncate v0.1.1 [INFO] [stderr] Downloaded whoami v0.6.0 [INFO] [stderr] Downloaded egui-macroquad v0.12.0 [INFO] [stderr] Downloaded egui-miniquad v0.12.0 [INFO] [stderr] Downloaded enum-map v0.6.6 [INFO] [stderr] Downloaded rand_derive v0.5.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+1.85.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 11f989527929a5bc75ebe1a02b9d85fb9bf828a8eaa1503449efdb1ca13cada0 [INFO] running `Command { std: "docker" "start" "-a" "11f989527929a5bc75ebe1a02b9d85fb9bf828a8eaa1503449efdb1ca13cada0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "11f989527929a5bc75ebe1a02b9d85fb9bf828a8eaa1503449efdb1ca13cada0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "11f989527929a5bc75ebe1a02b9d85fb9bf828a8eaa1503449efdb1ca13cada0", kill_on_drop: false }` [INFO] [stdout] 11f989527929a5bc75ebe1a02b9d85fb9bf828a8eaa1503449efdb1ca13cada0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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=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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+1.85.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 983d570a7a5a9f95fc5550f2e26b1b813eddb0363670967e5038cedf1e4d6a90 [INFO] running `Command { std: "docker" "start" "-a" "983d570a7a5a9f95fc5550f2e26b1b813eddb0363670967e5038cedf1e4d6a90", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.139 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling proc-macro2 v1.0.50 [INFO] [stderr] Compiling quote v1.0.23 [INFO] [stderr] Compiling unicode-ident v1.0.6 [INFO] [stderr] Compiling syn v1.0.107 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling once_cell v1.17.0 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Compiling crc32fast v1.3.2 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling parking_lot_core v0.9.7 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling quad-alsa-sys v0.3.2 [INFO] [stderr] Compiling ttf-parser v0.18.1 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling adler v1.0.2 [INFO] [stderr] Compiling smallvec v1.10.0 [INFO] [stderr] Compiling ab_glyph_rasterizer v0.1.8 [INFO] [stderr] Compiling miniz_oxide v0.6.2 [INFO] [stderr] Compiling miniquad v0.3.14 [INFO] [stderr] Compiling ogg v0.7.1 [INFO] [stderr] Compiling dasp_sample v0.11.0 [INFO] [stderr] Compiling serde v1.0.152 [INFO] [stderr] Compiling quad-snd v0.2.7 [INFO] [stderr] Compiling nohash-hasher v0.2.0 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling ahash v0.8.3 [INFO] [stderr] Compiling ahash v0.7.6 [INFO] [stderr] Compiling lock_api v0.4.9 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling num-rational v0.4.1 [INFO] [stderr] Compiling smallvec v0.6.14 [INFO] [stderr] Compiling hound v3.5.0 [INFO] [stderr] Compiling flate2 v1.0.25 [INFO] [stderr] Compiling dasp_frame v0.11.0 [INFO] [stderr] Compiling unicode-xid v0.0.4 [INFO] [stderr] Compiling unicode-segmentation v1.10.1 [INFO] [stderr] Compiling ppv-lite86 v0.2.17 [INFO] [stderr] Compiling webbrowser v0.5.5 [INFO] [stderr] Compiling synom v0.11.3 [INFO] [stderr] Compiling lewton v0.9.4 [INFO] [stderr] Compiling quote v0.3.15 [INFO] [stderr] Compiling color_quant v1.1.0 [INFO] [stderr] Compiling ttf-parser v0.15.2 [INFO] [stderr] Compiling serde_derive v1.0.152 [INFO] [stderr] Compiling png v0.17.7 [INFO] [stderr] Compiling syn v0.11.11 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Compiling quad-url v0.1.1 [INFO] [stderr] Compiling quad-rand v0.2.1 [INFO] [stderr] Compiling bumpalo v3.12.0 [INFO] [stderr] Compiling glam v0.21.3 [INFO] [stderr] Compiling macroquad_macro v0.1.7 [INFO] [stderr] Compiling array-macro v1.0.5 [INFO] [stderr] Compiling strum v0.16.0 [INFO] [stderr] Compiling unicode-width v0.1.10 [INFO] [stderr] Compiling unicode-truncate v0.1.1 [INFO] [stderr] Compiling whoami v0.6.0 [INFO] [stderr] Compiling owned_ttf_parser v0.18.1 [INFO] [stderr] Compiling audrey v0.3.0 [INFO] [stderr] Compiling ab_glyph v0.2.20 [INFO] [stderr] Compiling rand_derive v0.5.0 [INFO] [stderr] Compiling getrandom v0.2.8 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling parking_lot v0.12.1 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling bincode v1.3.3 [INFO] [stderr] Compiling fontdue v0.7.2 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling bytemuck_derive v1.4.0 [INFO] [stderr] Compiling enum-map-derive v0.4.6 [INFO] [stderr] Compiling strum_macros v0.16.0 [INFO] [stderr] Compiling enum-map v0.6.6 [INFO] [stderr] Compiling bytemuck v1.13.0 [INFO] [stderr] Compiling emath v0.19.0 [INFO] [stderr] Compiling image v0.24.5 [INFO] [stderr] Compiling epaint v0.19.0 [INFO] [stderr] Compiling macroquad v0.3.25 [INFO] [stderr] Compiling egui v0.19.0 [INFO] [stderr] Compiling libplen v0.1.0 (/opt/rustwide/workdir/libplen) [INFO] [stdout] warning: unused import: `std::f32::consts::PI` [INFO] [stdout] --> libplen/src/constants.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::f32::consts::PI; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::constants` [INFO] [stdout] --> libplen/src/math.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::constants; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::sync::mpsc::Receiver` [INFO] [stdout] --> libplen/src/gamestate.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::sync::mpsc::Receiver; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Vec2` and `vec2` [INFO] [stdout] --> libplen/src/gamestate.rs:6:19 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::math::{Vec2, vec2}; [INFO] [stdout] | ^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::player` [INFO] [stdout] --> libplen/src/messages.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::player; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::math::Vec2` [INFO] [stdout] --> libplen/src/messages.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::math::Vec2; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> libplen/src/debug.rs:41:9 [INFO] [stdout] | [INFO] [stdout] 41 | DEBUG_CHANNEL.replace(rx); [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] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> libplen/src/debug.rs:51:9 [INFO] [stdout] | [INFO] [stdout] 51 | DEBUG_CHANNEL.clone().take() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling egui-miniquad v0.12.0 [INFO] [stderr] Compiling egui-macroquad v0.12.0 [INFO] [stderr] Compiling plen v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `Vec2` and `vec2` [INFO] [stdout] --> src/server.rs:12:21 [INFO] [stdout] | [INFO] [stdout] 12 | use libplen::math::{vec2, Vec2}; [INFO] [stdout] | ^^^^ ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `SoundEffect` [INFO] [stdout] --> src/server.rs:13:83 [INFO] [stdout] | [INFO] [stdout] 13 | use libplen::messages::{ClientInput, ClientMessage, MessageReader, ServerMessage, SoundEffect}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `delta_time` [INFO] [stdout] --> src/server.rs:122:34 [INFO] [stdout] | [INFO] [stdout] 122 | fn update_clients(&mut self, delta_time: f32) { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_delta_time` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `EnumMap` and `enum_map` [INFO] [stdout] --> src/assets.rs:1:16 [INFO] [stdout] | [INFO] [stdout] 1 | use enum_map::{enum_map, EnumMap}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `libplen::constants` [INFO] [stdout] --> src/assets.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use libplen::constants; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `libplen::constants` [INFO] [stdout] --> src/client_state.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use libplen::constants; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Vec2`, `self`, and `vec2` [INFO] [stdout] --> src/client_state.rs:3:21 [INFO] [stdout] | [INFO] [stdout] 3 | use libplen::math::{self, vec2, Vec2}; [INFO] [stdout] | ^^^^ ^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `libplen::constants` [INFO] [stdout] --> src/client.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use libplen::constants; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Vec2` and `vec2` [INFO] [stdout] --> src/client.rs:11:21 [INFO] [stdout] | [INFO] [stdout] 11 | use libplen::math::{vec2, Vec2}; [INFO] [stdout] | ^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `SoundEffect` [INFO] [stdout] --> src/client.rs:12:83 [INFO] [stdout] | [INFO] [stdout] 12 | use libplen::messages::{ClientInput, ClientMessage, MessageReader, ServerMessage, SoundEffect}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/assets.rs:12:13 [INFO] [stdout] | [INFO] [stdout] 12 | let mut assets = Assets { [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: unused variable: `delta_time` [INFO] [stdout] --> src/client_state.rs:20:30 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn update(&mut self, delta_time: f32, game_state: &GameState, my_id: u64) { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_delta_time` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `game_state` [INFO] [stdout] --> src/client_state.rs:20:47 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn update(&mut self, delta_time: f32, game_state: &GameState, my_id: u64) { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_game_state` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `my_id` [INFO] [stdout] --> src/client_state.rs:20:71 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn update(&mut self, delta_time: f32, game_state: &GameState, my_id: u64) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_my_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `my_id` [INFO] [stdout] --> src/client_state.rs:26:9 [INFO] [stdout] | [INFO] [stdout] 26 | my_id: u64, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_my_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/client.rs:87:13 [INFO] [stdout] | [INFO] [stdout] 87 | let mut input = Self::read_input(); [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `GotoNext` is never constructed [INFO] [stdout] --> src/client.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 28 | enum StateResult { [INFO] [stdout] | ----------- variant in this enum [INFO] [stdout] 29 | Continue, [INFO] [stdout] 30 | GotoNext, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 29.85s [INFO] running `Command { std: "docker" "inspect" "983d570a7a5a9f95fc5550f2e26b1b813eddb0363670967e5038cedf1e4d6a90", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "983d570a7a5a9f95fc5550f2e26b1b813eddb0363670967e5038cedf1e4d6a90", kill_on_drop: false }` [INFO] [stdout] 983d570a7a5a9f95fc5550f2e26b1b813eddb0363670967e5038cedf1e4d6a90 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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=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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+1.85.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ce4b6ccc73cf79a6353902e40c2db012ce3298aa69241074e923a14c6ef2b4f6 [INFO] running `Command { std: "docker" "start" "-a" "ce4b6ccc73cf79a6353902e40c2db012ce3298aa69241074e923a14c6ef2b4f6", kill_on_drop: false }` [INFO] [stdout] warning: unused import: `std::f32::consts::PI` [INFO] [stdout] --> libplen/src/constants.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::f32::consts::PI; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::constants` [INFO] [stdout] --> libplen/src/math.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::constants; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::sync::mpsc::Receiver` [INFO] [stdout] --> libplen/src/gamestate.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::sync::mpsc::Receiver; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Vec2` and `vec2` [INFO] [stdout] --> libplen/src/gamestate.rs:6:19 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::math::{Vec2, vec2}; [INFO] [stdout] | ^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::player` [INFO] [stdout] --> libplen/src/messages.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::player; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::math::Vec2` [INFO] [stdout] --> libplen/src/messages.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::math::Vec2; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> libplen/src/debug.rs:41:9 [INFO] [stdout] | [INFO] [stdout] 41 | DEBUG_CHANNEL.replace(rx); [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] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> libplen/src/debug.rs:51:9 [INFO] [stdout] | [INFO] [stdout] 51 | DEBUG_CHANNEL.clone().take() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling plen v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `EnumMap` and `enum_map` [INFO] [stdout] --> src/assets.rs:1:16 [INFO] [stdout] | [INFO] [stdout] 1 | use enum_map::{enum_map, EnumMap}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `libplen::constants` [INFO] [stdout] --> src/assets.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use libplen::constants; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `libplen::constants` [INFO] [stdout] --> src/client_state.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use libplen::constants; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Vec2`, `self`, and `vec2` [INFO] [stdout] --> src/client_state.rs:3:21 [INFO] [stdout] | [INFO] [stdout] 3 | use libplen::math::{self, vec2, Vec2}; [INFO] [stdout] | ^^^^ ^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `libplen::constants` [INFO] [stdout] --> src/client.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use libplen::constants; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Vec2` and `vec2` [INFO] [stdout] --> src/client.rs:11:21 [INFO] [stdout] | [INFO] [stdout] 11 | use libplen::math::{vec2, Vec2}; [INFO] [stdout] | ^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `SoundEffect` [INFO] [stdout] --> src/client.rs:12:83 [INFO] [stdout] | [INFO] [stdout] 12 | use libplen::messages::{ClientInput, ClientMessage, MessageReader, ServerMessage, SoundEffect}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Vec2` and `vec2` [INFO] [stdout] --> src/server.rs:12:21 [INFO] [stdout] | [INFO] [stdout] 12 | use libplen::math::{vec2, Vec2}; [INFO] [stdout] | ^^^^ ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `SoundEffect` [INFO] [stdout] --> src/server.rs:13:83 [INFO] [stdout] | [INFO] [stdout] 13 | use libplen::messages::{ClientInput, ClientMessage, MessageReader, ServerMessage, SoundEffect}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `delta_time` [INFO] [stdout] --> src/server.rs:122:34 [INFO] [stdout] | [INFO] [stdout] 122 | fn update_clients(&mut self, delta_time: f32) { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_delta_time` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/assets.rs:12:13 [INFO] [stdout] | [INFO] [stdout] 12 | let mut assets = Assets { [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: unused variable: `delta_time` [INFO] [stdout] --> src/client_state.rs:20:30 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn update(&mut self, delta_time: f32, game_state: &GameState, my_id: u64) { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_delta_time` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `game_state` [INFO] [stdout] --> src/client_state.rs:20:47 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn update(&mut self, delta_time: f32, game_state: &GameState, my_id: u64) { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_game_state` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `my_id` [INFO] [stdout] --> src/client_state.rs:20:71 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn update(&mut self, delta_time: f32, game_state: &GameState, my_id: u64) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_my_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `my_id` [INFO] [stdout] --> src/client_state.rs:26:9 [INFO] [stdout] | [INFO] [stdout] 26 | my_id: u64, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_my_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/client.rs:87:13 [INFO] [stdout] | [INFO] [stdout] 87 | let mut input = Self::read_input(); [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `GotoNext` is never constructed [INFO] [stdout] --> src/client.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 28 | enum StateResult { [INFO] [stdout] | ----------- variant in this enum [INFO] [stdout] 29 | Continue, [INFO] [stdout] 30 | GotoNext, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.26s [INFO] running `Command { std: "docker" "inspect" "ce4b6ccc73cf79a6353902e40c2db012ce3298aa69241074e923a14c6ef2b4f6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ce4b6ccc73cf79a6353902e40c2db012ce3298aa69241074e923a14c6ef2b4f6", kill_on_drop: false }` [INFO] [stdout] ce4b6ccc73cf79a6353902e40c2db012ce3298aa69241074e923a14c6ef2b4f6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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=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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+1.85.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 297fd5c1fa3f575aa3bc5c9606f359c4bc41096676542d0cb5128fa9d9edb905 [INFO] running `Command { std: "docker" "start" "-a" "297fd5c1fa3f575aa3bc5c9606f359c4bc41096676542d0cb5128fa9d9edb905", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `std::f32::consts::PI` [INFO] [stderr] --> libplen/src/constants.rs:1:5 [INFO] [stderr] | [INFO] [stderr] 1 | use std::f32::consts::PI; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `crate::constants` [INFO] [stderr] --> libplen/src/math.rs:3:5 [INFO] [stderr] | [INFO] [stderr] 3 | use crate::constants; [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::sync::mpsc::Receiver` [INFO] [stderr] --> libplen/src/gamestate.rs:1:5 [INFO] [stderr] | [INFO] [stderr] 1 | use std::sync::mpsc::Receiver; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `Vec2` and `vec2` [INFO] [stderr] --> libplen/src/gamestate.rs:6:19 [INFO] [stderr] | [INFO] [stderr] 6 | use crate::math::{Vec2, vec2}; [INFO] [stderr] | ^^^^ ^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `crate::player` [INFO] [stderr] --> libplen/src/messages.rs:8:5 [INFO] [stderr] | [INFO] [stderr] 8 | use crate::player; [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `crate::math::Vec2` [INFO] [stderr] --> libplen/src/messages.rs:9:5 [INFO] [stderr] | [INFO] [stderr] 9 | use crate::math::Vec2; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: creating a mutable reference to mutable static is discouraged [INFO] [stderr] --> libplen/src/debug.rs:41:9 [INFO] [stderr] | [INFO] [stderr] 41 | DEBUG_CHANNEL.replace(rx); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = 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] [stderr] = note: `#[warn(static_mut_refs)]` on by default [INFO] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static is discouraged [INFO] [stderr] --> libplen/src/debug.rs:51:9 [INFO] [stderr] | [INFO] [stderr] 51 | DEBUG_CHANNEL.clone().take() [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stderr] [INFO] [stderr] warning: `libplen` (lib) generated 8 warnings (run `cargo fix --lib -p libplen` to apply 6 suggestions) [INFO] [stderr] warning: unused imports: `EnumMap` and `enum_map` [INFO] [stderr] --> src/assets.rs:1:16 [INFO] [stderr] | [INFO] [stderr] 1 | use enum_map::{enum_map, EnumMap}; [INFO] [stderr] | ^^^^^^^^ ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `libplen::constants` [INFO] [stderr] --> src/assets.rs:4:5 [INFO] [stderr] | [INFO] [stderr] 4 | use libplen::constants; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `libplen::constants` [INFO] [stderr] --> src/client_state.rs:1:5 [INFO] [stderr] | [INFO] [stderr] 1 | use libplen::constants; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `Vec2`, `self`, and `vec2` [INFO] [stderr] --> src/client_state.rs:3:21 [INFO] [stderr] | [INFO] [stderr] 3 | use libplen::math::{self, vec2, Vec2}; [INFO] [stderr] | ^^^^ ^^^^ ^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `libplen::constants` [INFO] [stderr] --> src/client.rs:9:5 [INFO] [stderr] | [INFO] [stderr] 9 | use libplen::constants; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `Vec2` and `vec2` [INFO] [stderr] --> src/client.rs:11:21 [INFO] [stderr] | [INFO] [stderr] 11 | use libplen::math::{vec2, Vec2}; [INFO] [stderr] | ^^^^ ^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `SoundEffect` [INFO] [stderr] --> src/client.rs:12:83 [INFO] [stderr] | [INFO] [stderr] 12 | use libplen::messages::{ClientInput, ClientMessage, MessageReader, ServerMessage, SoundEffect}; [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/assets.rs:12:13 [INFO] [stderr] | [INFO] [stderr] 12 | let mut assets = Assets { [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: unused variable: `delta_time` [INFO] [stderr] --> src/client_state.rs:20:30 [INFO] [stderr] | [INFO] [stderr] 20 | pub fn update(&mut self, delta_time: f32, game_state: &GameState, my_id: u64) { [INFO] [stderr] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_delta_time` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `game_state` [INFO] [stderr] --> src/client_state.rs:20:47 [INFO] [stderr] | [INFO] [stderr] 20 | pub fn update(&mut self, delta_time: f32, game_state: &GameState, my_id: u64) { [INFO] [stderr] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_game_state` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `my_id` [INFO] [stderr] --> src/client_state.rs:20:71 [INFO] [stderr] | [INFO] [stderr] 20 | pub fn update(&mut self, delta_time: f32, game_state: &GameState, my_id: u64) { [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_my_id` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `my_id` [INFO] [stderr] --> src/client_state.rs:26:9 [INFO] [stderr] | [INFO] [stderr] 26 | my_id: u64, [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_my_id` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/client.rs:87:13 [INFO] [stderr] | [INFO] [stderr] 87 | let mut input = Self::read_input(); [INFO] [stderr] | ----^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: variant `GotoNext` is never constructed [INFO] [stderr] --> src/client.rs:30:5 [INFO] [stderr] | [INFO] [stderr] 28 | enum StateResult { [INFO] [stderr] | ----------- variant in this enum [INFO] [stderr] 29 | Continue, [INFO] [stderr] 30 | GotoNext, [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused imports: `Vec2` and `vec2` [INFO] [stderr] --> src/server.rs:12:21 [INFO] [stderr] | [INFO] [stderr] 12 | use libplen::math::{vec2, Vec2}; [INFO] [stderr] | ^^^^ ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `SoundEffect` [INFO] [stderr] --> src/server.rs:13:83 [INFO] [stderr] | [INFO] [stderr] 13 | use libplen::messages::{ClientInput, ClientMessage, MessageReader, ServerMessage, SoundEffect}; [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused variable: `delta_time` [INFO] [stderr] --> src/server.rs:122:34 [INFO] [stderr] | [INFO] [stderr] 122 | fn update_clients(&mut self, delta_time: f32) { [INFO] [stderr] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_delta_time` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: `plen` (bin "client" test) generated 14 warnings (run `cargo fix --bin "client" --tests` to apply 9 suggestions) [INFO] [stderr] warning: `plen` (bin "server" test) generated 3 warnings (run `cargo fix --bin "server" --tests` to apply 2 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.13s [INFO] [stderr] Running unittests src/client.rs (/opt/rustwide/target/debug/deps/client-246e9ff2563ec9f7) [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] [stderr] Running unittests src/server.rs (/opt/rustwide/target/debug/deps/server-d7f78f59fb231616) [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" "297fd5c1fa3f575aa3bc5c9606f359c4bc41096676542d0cb5128fa9d9edb905", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "297fd5c1fa3f575aa3bc5c9606f359c4bc41096676542d0cb5128fa9d9edb905", kill_on_drop: false }` [INFO] [stdout] 297fd5c1fa3f575aa3bc5c9606f359c4bc41096676542d0cb5128fa9d9edb905