[INFO] cloning repository https://github.com/Bowarc/Rusty-game-jam-2021 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Bowarc/Rusty-game-jam-2021" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FBowarc%2FRusty-game-jam-2021", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FBowarc%2FRusty-game-jam-2021'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] fc341d7152d187ead18921242084f92b9b68ac93 [INFO] checking Bowarc/Rusty-game-jam-2021/fc341d7152d187ead18921242084f92b9b68ac93 against master#ab869e094a907cc5d19b4080f22eccaf347f1f95 for pr-129604 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FBowarc%2FRusty-game-jam-2021" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Bowarc/Rusty-game-jam-2021 on toolchain ab869e094a907cc5d19b4080f22eccaf347f1f95 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Bowarc/Rusty-game-jam-2021 [INFO] finished tweaking git repo https://github.com/Bowarc/Rusty-game-jam-2021 [INFO] tweaked toml for git repo https://github.com/Bowarc/Rusty-game-jam-2021 written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/Bowarc/Rusty-game-jam-2021 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" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded atomic_refcell v0.1.7 [INFO] [stderr] Downloaded ggez-egui v0.1.0 [INFO] [stderr] Downloaded emath v0.13.0 [INFO] [stderr] Downloaded lyon_algorithms v0.17.4 [INFO] [stderr] Downloaded clang-sys v1.2.1 [INFO] [stderr] Downloaded nix v0.20.1 [INFO] [stderr] Downloaded combine v4.6.0 [INFO] [stderr] Downloaded egui v0.13.1 [INFO] [stderr] Downloaded lyon_tessellation v0.17.8 [INFO] [stderr] Downloaded epaint v0.13.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a4aed80fde4c0243060e20ed473303b59b05dc527736770112c59984f7e3f16c [INFO] running `Command { std: "docker" "start" "-a" "a4aed80fde4c0243060e20ed473303b59b05dc527736770112c59984f7e3f16c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a4aed80fde4c0243060e20ed473303b59b05dc527736770112c59984f7e3f16c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a4aed80fde4c0243060e20ed473303b59b05dc527736770112c59984f7e3f16c", kill_on_drop: false }` [INFO] [stdout] a4aed80fde4c0243060e20ed473303b59b05dc527736770112c59984f7e3f16c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a207433b16321cf1910415e7c0ae8f94aa1df095a13f959e8ef249bdcb76bacb [INFO] running `Command { std: "docker" "start" "-a" "a207433b16321cf1910415e7c0ae8f94aa1df095a13f959e8ef249bdcb76bacb", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.100 [INFO] [stderr] Compiling proc-macro2 v1.0.28 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling pkg-config v0.3.19 [INFO] [stderr] Compiling xml-rs v0.8.4 [INFO] [stderr] Compiling syn v1.0.75 [INFO] [stderr] Compiling khronos_api v3.1.0 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling memoffset v0.6.4 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling crossbeam-utils v0.8.5 [INFO] [stderr] Checking smallvec v1.6.1 [INFO] [stderr] Compiling serde_derive v1.0.129 [INFO] [stderr] Checking ab_glyph_rasterizer v0.1.4 [INFO] [stderr] Checking libloading v0.7.0 [INFO] [stderr] Compiling serde v1.0.129 [INFO] [stderr] Compiling crossbeam-epoch v0.9.5 [INFO] [stderr] Compiling rayon-core v1.9.1 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Compiling minimal-lexical v0.1.2 [INFO] [stderr] Checking dlib v0.5.0 [INFO] [stderr] Compiling nom v7.0.0 [INFO] [stderr] Compiling rayon v1.5.1 [INFO] [stderr] Checking downcast-rs v1.2.0 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Checking scoped-tls v1.0.0 [INFO] [stderr] Checking crossbeam-channel v0.5.1 [INFO] [stderr] Compiling gl_generator v0.14.0 [INFO] [stderr] Checking instant v0.1.10 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Compiling wayland-sys v0.28.6 [INFO] [stderr] Checking either v1.6.1 [INFO] [stderr] Checking ttf-parser v0.12.3 [INFO] [stderr] Compiling ucd-trie v0.1.3 [INFO] [stderr] Checking crossbeam-deque v0.8.1 [INFO] [stderr] Compiling nix v0.18.0 [INFO] [stderr] Checking ttf-parser v0.6.2 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling pest v2.1.3 [INFO] [stderr] Compiling x11-dl v2.18.5 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling unicase v2.6.0 [INFO] [stderr] Checking lock_api v0.4.4 [INFO] [stderr] Checking same-file v1.0.6 [INFO] [stderr] Compiling ppv-lite86 v0.2.10 [INFO] [stderr] Compiling serde_json v1.0.66 [INFO] [stderr] Checking walkdir v2.3.2 [INFO] [stderr] Checking euclid v0.22.6 [INFO] [stderr] Compiling wayland-scanner v0.28.6 [INFO] [stderr] Compiling alsa-sys v0.3.1 [INFO] [stderr] Checking libloading v0.6.7 [INFO] [stderr] Compiling error-chain v0.12.4 [INFO] [stderr] Checking nix v0.20.1 [INFO] [stderr] Checking getrandom v0.2.3 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking parking_lot_core v0.8.3 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Checking net2 v0.2.37 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Compiling pulldown-cmark v0.8.0 [INFO] [stderr] Checking arrayvec v0.5.2 [INFO] [stderr] Checking xdg v2.2.0 [INFO] [stderr] Checking parking_lot v0.11.1 [INFO] [stderr] Compiling itoa v0.4.8 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling jobserver v0.1.24 [INFO] [stderr] Checking owned_ttf_parser v0.12.1 [INFO] [stderr] Compiling semver-parser v0.10.2 [INFO] [stderr] Checking adler32 v1.2.0 [INFO] [stderr] Compiling cc v1.0.69 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Checking ab_glyph v0.2.11 [INFO] [stderr] Checking owned_ttf_parser v0.6.0 [INFO] [stderr] Checking mio v0.6.23 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Checking rusttype v0.9.2 [INFO] [stderr] Checking dlib v0.4.2 [INFO] [stderr] Checking memmap2 v0.1.0 [INFO] [stderr] Checking andrew v0.3.1 [INFO] [stderr] Compiling gfx_gl v0.6.1 [INFO] [stderr] Checking lyon_geom v0.17.5 [INFO] [stderr] Compiling glutin_egl_sys v0.1.5 [INFO] [stderr] Compiling wayland-client v0.28.6 [INFO] [stderr] Compiling wayland-protocols v0.28.6 [INFO] [stderr] Compiling rand v0.8.4 [INFO] [stderr] Compiling glutin_glx_sys v0.1.7 [INFO] [stderr] Compiling libudev-sys v0.1.4 [INFO] [stderr] Checking draw_state v0.8.0 [INFO] [stderr] Checking xcursor v0.3.4 [INFO] [stderr] Compiling num-rational v0.3.2 [INFO] [stderr] Compiling bzip2-sys v0.1.11+1.0.8 [INFO] [stderr] Compiling minimp3-sys v0.3.2 [INFO] [stderr] Compiling num-iter v0.1.42 [INFO] [stderr] Checking weezl v0.1.5 [INFO] [stderr] Checking lazycell v1.3.0 [INFO] [stderr] Compiling remove_dir_all v0.5.3 [INFO] [stderr] Checking gfx_core v0.9.2 [INFO] [stderr] Checking mio-extras v2.0.6 [INFO] [stderr] Compiling tempfile v3.2.0 [INFO] [stderr] Checking lyon_path v0.17.6 [INFO] [stderr] Checking miniz_oxide v0.3.7 [INFO] [stderr] Checking deflate v0.8.6 [INFO] [stderr] Checking shared_library v0.1.9 [INFO] [stderr] Checking raw-window-handle v0.3.3 [INFO] [stderr] Checking jpeg-decoder v0.1.22 [INFO] [stderr] Checking sid v0.6.1 [INFO] [stderr] Checking ordered-float v2.7.0 [INFO] [stderr] Compiling ahash v0.7.4 [INFO] [stderr] Compiling bytecount v0.6.2 [INFO] [stderr] Compiling cpal v0.13.4 [INFO] [stderr] Compiling glob v0.3.0 [INFO] [stderr] Checking color_quant v1.1.0 [INFO] [stderr] Checking tinyvec v1.3.1 [INFO] [stderr] Checking osmesa-sys v0.1.2 [INFO] [stderr] Checking gif v0.11.2 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking calloop v0.6.5 [INFO] [stderr] Checking png v0.16.8 [INFO] [stderr] Checking tiff v0.6.1 [INFO] [stderr] Checking slice-deque v0.3.0 [INFO] [stderr] Checking approx v0.5.0 [INFO] [stderr] Checking float_next_after v0.1.5 [INFO] [stderr] Checking ogg v0.8.0 [INFO] [stderr] Checking vec_map v0.8.2 [INFO] [stderr] Checking bytemuck v1.7.2 [INFO] [stderr] Checking xi-unicode v0.3.0 [INFO] [stderr] Checking linked-hash-map v0.5.4 [INFO] [stderr] Checking rustc-hash v1.1.0 [INFO] [stderr] Checking static_assertions v1.1.0 [INFO] [stderr] Checking uuid v0.8.2 [INFO] [stderr] Checking scoped_threadpool v0.1.9 [INFO] [stderr] Checking wayland-commons v0.28.6 [INFO] [stderr] Checking alsa v0.5.0 [INFO] [stderr] Checking glyph_brush_layout v0.2.3 [INFO] [stderr] Checking lyon_tessellation v0.17.8 [INFO] [stderr] Checking lyon_algorithms v0.17.4 [INFO] [stderr] Checking glyph_brush_draw_cache v0.1.4 [INFO] [stderr] Checking dirs-sys v0.3.6 [INFO] [stderr] Checking atomic_refcell v0.1.7 [INFO] [stderr] Checking lewton v0.10.2 [INFO] [stderr] Checking gilrs-core v0.3.1 [INFO] [stderr] Checking mint v0.5.6 [INFO] [stderr] Checking emath v0.13.0 [INFO] [stderr] Checking claxon v0.4.3 [INFO] [stderr] Checking twox-hash v1.6.1 [INFO] [stderr] Checking hound v3.4.0 [INFO] [stderr] Checking directories v3.0.2 [INFO] [stderr] Checking gfx v0.18.2 [INFO] [stderr] Checking image v0.23.14 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking epaint v0.13.0 [INFO] [stderr] Checking lyon v0.17.5 [INFO] [stderr] Checking rand_xorshift v0.2.0 [INFO] [stderr] Checking gilrs v0.8.1 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking glam v0.15.2 [INFO] [stderr] Checking glyph_brush v0.7.2 [INFO] [stderr] Checking egui v0.13.1 [INFO] [stderr] Checking bzip2 v0.4.3 [INFO] [stderr] Checking gfx_device_gl v0.16.2 [INFO] [stderr] Checking wayland-cursor v0.28.6 [INFO] [stderr] Checking wayland-egl v0.28.6 [INFO] [stderr] Compiling thiserror-impl v1.0.26 [INFO] [stderr] Compiling smart-default v0.6.0 [INFO] [stderr] Checking thiserror v1.0.26 [INFO] [stderr] Checking minimp3 v0.5.1 [INFO] [stderr] Checking zip v0.5.13 [INFO] [stderr] Checking rodio v0.14.0 [INFO] [stderr] Checking noise v0.7.0 [INFO] [stderr] Checking toml v0.5.8 [INFO] [stderr] Compiling semver v0.11.0 [INFO] [stderr] Compiling cargo-platform v0.1.2 [INFO] [stderr] Compiling cargo_metadata v0.12.3 [INFO] [stderr] Compiling skeptic v0.13.6 [INFO] [stderr] Checking smithay-client-toolkit v0.12.3 [INFO] [stderr] Compiling ggez v0.6.0 [INFO] [stderr] Checking winit v0.24.0 [INFO] [stderr] Checking glutin v0.26.0 [INFO] [stderr] Checking old_school_gfx_glutin_ext v0.26.0 [INFO] [stderr] Checking ggez-egui v0.1.0 [INFO] [stderr] Checking rusty-game-jam-2021 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: value assigned to `pos` is never read [INFO] [stdout] --> src/monster.rs:49:17 [INFO] [stdout] | [INFO] [stdout] 49 | let mut pos = glam::Vec2::ZERO; [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 `wanted_pos` is never read [INFO] [stdout] --> src/monster.rs:109:33 [INFO] [stdout] | [INFO] [stdout] 109 | let mut wanted_pos = glam::Vec2::ZERO; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `map_size` [INFO] [stdout] --> src/monster.rs:91:9 [INFO] [stdout] | [INFO] [stdout] 91 | map_size: (f32, f32), [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_map_size` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `angle` [INFO] [stdout] --> src/monster.rs:200:86 [INFO] [stdout] | [INFO] [stdout] 200 | let (close_circle, large_circle, vision_cone, iq, see_something, hp, angle) = [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_angle` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `pos` is never read [INFO] [stdout] --> src/monster.rs:49:17 [INFO] [stdout] | [INFO] [stdout] 49 | let mut pos = glam::Vec2::ZERO; [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 `wanted_pos` is never read [INFO] [stdout] --> src/monster.rs:109:33 [INFO] [stdout] | [INFO] [stdout] 109 | let mut wanted_pos = glam::Vec2::ZERO; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `map_size` [INFO] [stdout] --> src/monster.rs:91:9 [INFO] [stdout] | [INFO] [stdout] 91 | map_size: (f32, f32), [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_map_size` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `angle` [INFO] [stdout] --> src/monster.rs:200:86 [INFO] [stdout] | [INFO] [stdout] 200 | let (close_circle, large_circle, vision_cone, iq, see_something, hp, angle) = [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_angle` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `name` and `speed` are never read [INFO] [stdout] --> src/monster.rs:29:9 [INFO] [stdout] | [INFO] [stdout] 27 | pub struct TestBot { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 28 | pub id: i32, [INFO] [stdout] 29 | pub name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 32 | pub speed: f32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/physics.rs:19:10 [INFO] [stdout] | [INFO] [stdout] 19 | Bloc(usize), [INFO] [stdout] | ---- ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `RayCastBlocType` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 19 | Bloc(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Player` is never constructed [INFO] [stdout] --> src/physics.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 18 | pub enum RayCastBlocType { [INFO] [stdout] | --------------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 21 | Player(usize), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RayCastBlocType` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `CollisionResult` is never used [INFO] [stdout] --> src/physics.rs:31:10 [INFO] [stdout] | [INFO] [stdout] 31 | pub enum CollisionResult { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `two_circle`, `get_closest_point`, and `line_cross_circle` are never used [INFO] [stdout] --> src/physics.rs:191:12 [INFO] [stdout] | [INFO] [stdout] 183 | impl CheckCollision { [INFO] [stdout] | ------------------- associated functions in this implementation [INFO] [stdout] ... [INFO] [stdout] 191 | pub fn two_circle(circle1: Circle, circle2: Circle) -> bool { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 200 | pub fn get_closest_point(line: (glam::Vec2, glam::Vec2), point: glam::Vec2) -> glam::Vec2 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 247 | pub fn line_cross_circle(line: (glam::Vec2, glam::Vec2), circle: Circle) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `ray_cast_tile_player` is never used [INFO] [stdout] --> src/physics.rs:468:12 [INFO] [stdout] | [INFO] [stdout] 322 | impl RayCasting { [INFO] [stdout] | --------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 468 | pub fn ray_cast_tile_player( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `name` is never read [INFO] [stdout] --> src/player.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct Player { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 12 | pub name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/weapon.rs:9:8 [INFO] [stdout] | [INFO] [stdout] 9 | Ok(Weapon), [INFO] [stdout] | -- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 9 | Ok(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `id` is never read [INFO] [stdout] --> src/weapon.rs:34:9 [INFO] [stdout] | [INFO] [stdout] 33 | pub struct Pistol { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 34 | pub id: i32, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `Pistol` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `id` and `range` are never read [INFO] [stdout] --> src/weapon.rs:43:9 [INFO] [stdout] | [INFO] [stdout] 42 | pub struct Knife { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 43 | pub id: i32, [INFO] [stdout] | ^^ [INFO] [stdout] ... [INFO] [stdout] 47 | pub range: f32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Knife` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `id` is never read [INFO] [stdout] --> src/weapon.rs:51:9 [INFO] [stdout] | [INFO] [stdout] 50 | pub struct Minigun { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] 51 | pub id: i32, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `Minigun` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `index_is_weapon` is never used [INFO] [stdout] --> src/weapon.rs:89:12 [INFO] [stdout] | [INFO] [stdout] 79 | impl WeaponInventory { [INFO] [stdout] | -------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 89 | pub fn index_is_weapon(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/map.rs:64:9 [INFO] [stdout] | [INFO] [stdout] 64 | self.new_level_sound.play(ctx); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 64 | let _ = self.new_level_sound.play(ctx); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 17 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `name` and `speed` are never read [INFO] [stdout] --> src/monster.rs:29:9 [INFO] [stdout] | [INFO] [stdout] 27 | pub struct TestBot { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 28 | pub id: i32, [INFO] [stdout] 29 | pub name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 32 | pub speed: f32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/physics.rs:19:10 [INFO] [stdout] | [INFO] [stdout] 19 | Bloc(usize), [INFO] [stdout] | ---- ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `RayCastBlocType` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 19 | Bloc(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Player` is never constructed [INFO] [stdout] --> src/physics.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 18 | pub enum RayCastBlocType { [INFO] [stdout] | --------------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 21 | Player(usize), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RayCastBlocType` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `CollisionResult` is never used [INFO] [stdout] --> src/physics.rs:31:10 [INFO] [stdout] | [INFO] [stdout] 31 | pub enum CollisionResult { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `two_circle`, `get_closest_point`, and `line_cross_circle` are never used [INFO] [stdout] --> src/physics.rs:191:12 [INFO] [stdout] | [INFO] [stdout] 183 | impl CheckCollision { [INFO] [stdout] | ------------------- associated functions in this implementation [INFO] [stdout] ... [INFO] [stdout] 191 | pub fn two_circle(circle1: Circle, circle2: Circle) -> bool { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 200 | pub fn get_closest_point(line: (glam::Vec2, glam::Vec2), point: glam::Vec2) -> glam::Vec2 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 247 | pub fn line_cross_circle(line: (glam::Vec2, glam::Vec2), circle: Circle) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `ray_cast_tile_player` is never used [INFO] [stdout] --> src/physics.rs:468:12 [INFO] [stdout] | [INFO] [stdout] 322 | impl RayCasting { [INFO] [stdout] | --------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 468 | pub fn ray_cast_tile_player( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `name` is never read [INFO] [stdout] --> src/player.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct Player { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 12 | pub name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/weapon.rs:9:8 [INFO] [stdout] | [INFO] [stdout] 9 | Ok(Weapon), [INFO] [stdout] | -- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 9 | Ok(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `id` is never read [INFO] [stdout] --> src/weapon.rs:34:9 [INFO] [stdout] | [INFO] [stdout] 33 | pub struct Pistol { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 34 | pub id: i32, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `Pistol` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `id` and `range` are never read [INFO] [stdout] --> src/weapon.rs:43:9 [INFO] [stdout] | [INFO] [stdout] 42 | pub struct Knife { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 43 | pub id: i32, [INFO] [stdout] | ^^ [INFO] [stdout] ... [INFO] [stdout] 47 | pub range: f32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Knife` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `id` is never read [INFO] [stdout] --> src/weapon.rs:51:9 [INFO] [stdout] | [INFO] [stdout] 50 | pub struct Minigun { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] 51 | pub id: i32, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `Minigun` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `index_is_weapon` is never used [INFO] [stdout] --> src/weapon.rs:89:12 [INFO] [stdout] | [INFO] [stdout] 79 | impl WeaponInventory { [INFO] [stdout] | -------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 89 | pub fn index_is_weapon(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/map.rs:64:9 [INFO] [stdout] | [INFO] [stdout] 64 | self.new_level_sound.play(ctx); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 64 | let _ = self.new_level_sound.play(ctx); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 17 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 38.39s [INFO] running `Command { std: "docker" "inspect" "a207433b16321cf1910415e7c0ae8f94aa1df095a13f959e8ef249bdcb76bacb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a207433b16321cf1910415e7c0ae8f94aa1df095a13f959e8ef249bdcb76bacb", kill_on_drop: false }` [INFO] [stdout] a207433b16321cf1910415e7c0ae8f94aa1df095a13f959e8ef249bdcb76bacb