[INFO] cloning repository https://github.com/aidan737/Three_D_Libary [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/aidan737/Three_D_Libary" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Faidan737%2FThree_D_Libary", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Faidan737%2FThree_D_Libary'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 0f4bb03bb4105789bfc4f9b45ab10c238112b41b [INFO] building aidan737/Three_D_Libary against master#ad85bc524b1ad696e42061ad8338d382dffbdbe5 for pr-146237-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Faidan737%2FThree_D_Libary" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/aidan737/Three_D_Libary [INFO] finished tweaking git repo https://github.com/aidan737/Three_D_Libary [INFO] tweaked toml for git repo https://github.com/aidan737/Three_D_Libary written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/aidan737/Three_D_Libary on toolchain ad85bc524b1ad696e42061ad8338d382dffbdbe5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/aidan737/Three_D_Libary 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" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 201 packages to latest compatible versions [INFO] [stderr] Adding ab_glyph v0.2.31 [INFO] [stderr] Adding ab_glyph_rasterizer v0.1.10 [INFO] [stderr] Adding adler2 v2.0.1 [INFO] [stderr] Adding android-activity v0.4.3 [INFO] [stderr] Adding android-properties v0.2.2 [INFO] [stderr] Adding approx v0.5.1 [INFO] [stderr] Adding arrayref v0.3.9 [INFO] [stderr] Adding arrayvec v0.7.6 [INFO] [stderr] Adding autocfg v1.5.0 [INFO] [stderr] Adding bit_field v0.10.3 [INFO] [stderr] Adding bitflags v2.9.4 [INFO] [stderr] Adding block-sys v0.1.0-beta.1 (available: v0.1.0-beta.2) [INFO] [stderr] Adding block2 v0.2.0-alpha.6 (available: v0.2.0) [INFO] [stderr] Adding bumpalo v3.19.0 [INFO] [stderr] Adding bytemuck v1.23.2 [INFO] [stderr] Adding byteorder v1.5.0 [INFO] [stderr] Adding calloop v0.10.6 [INFO] [stderr] Adding cfg-if v1.0.3 [INFO] [stderr] Adding cfg_aliases v0.1.1 [INFO] [stderr] Adding cgl v0.3.2 [INFO] [stderr] Adding color_quant v1.1.0 [INFO] [stderr] Adding core-foundation v0.9.4 [INFO] [stderr] Adding core-foundation-sys v0.8.7 [INFO] [stderr] Adding core-graphics v0.22.3 [INFO] [stderr] Adding core-graphics-types v0.1.3 [INFO] [stderr] Adding crc32fast v1.5.0 [INFO] [stderr] Adding crossbeam-deque v0.8.6 [INFO] [stderr] Adding crossbeam-epoch v0.9.18 [INFO] [stderr] Adding crossbeam-utils v0.8.21 [INFO] [stderr] Adding crunchy v0.2.4 [INFO] [stderr] Adding dispatch v0.2.0 [INFO] [stderr] Adding dlib v0.5.2 [INFO] [stderr] Adding downcast-rs v1.2.1 [INFO] [stderr] Adding draw_state v0.8.0 [INFO] [stderr] Adding either v1.15.0 [INFO] [stderr] Adding equivalent v1.0.2 [INFO] [stderr] Adding exr v1.73.0 [INFO] [stderr] Adding fdeflate v0.3.7 [INFO] [stderr] Adding flate2 v1.1.2 [INFO] [stderr] Adding fnv v1.0.7 [INFO] [stderr] Adding foreign-types v0.3.2 [INFO] [stderr] Adding foreign-types-shared v0.1.1 [INFO] [stderr] Adding gfx v0.18.3 [INFO] [stderr] Adding gfx_core v0.9.2 [INFO] [stderr] Adding gfx_device_gl v0.16.2 [INFO] [stderr] Adding gfx_gl v0.6.1 [INFO] [stderr] Adding gif v0.13.3 [INFO] [stderr] Downgrading gl v0.14.0 -> v0.13.0 [INFO] [stderr] Adding gl_generator v0.13.1 [INFO] [stderr] Adding glow v0.12.3 [INFO] [stderr] Adding glutin v0.30.10 [INFO] [stderr] Adding glutin-winit v0.3.0 [INFO] [stderr] Adding glutin_egl_sys v0.5.1 [INFO] [stderr] Adding glutin_glx_sys v0.4.0 [INFO] [stderr] Adding glutin_wgl_sys v0.4.0 [INFO] [stderr] Adding half v2.6.0 [INFO] [stderr] Adding hashbrown v0.16.0 [INFO] [stderr] Adding image v0.24.9 [INFO] [stderr] Adding indexmap v2.11.4 [INFO] [stderr] Adding instant v0.1.13 [INFO] [stderr] Adding interpolation v0.3.0 [INFO] [stderr] Adding jni-sys v0.3.0 [INFO] [stderr] Adding jobserver v0.1.32 (available: v0.1.34) [INFO] [stderr] Adding jpeg-decoder v0.3.2 [INFO] [stderr] Adding js-sys v0.3.81 [INFO] [stderr] Adding khronos_api v2.2.0 [INFO] [stderr] Adding lazy_static v1.5.0 [INFO] [stderr] Adding lebe v0.5.3 [INFO] [stderr] Adding libloading v0.7.4 [INFO] [stderr] Adding libloading v0.8.9 [INFO] [stderr] Adding libredox v0.1.10 [INFO] [stderr] Adding matrixmultiply v0.3.10 [INFO] [stderr] Adding memchr v2.7.6 [INFO] [stderr] Adding memmap2 v0.5.10 [INFO] [stderr] Adding memoffset v0.6.5 [INFO] [stderr] Adding miniz_oxide v0.8.9 [INFO] [stderr] Adding mio v0.8.11 [INFO] [stderr] Adding nalgebra v0.32.6 (available: v0.34.1) [INFO] [stderr] Adding nalgebra-macros v0.2.2 [INFO] [stderr] Adding ndk v0.7.0 [INFO] [stderr] Adding ndk-context v0.1.1 [INFO] [stderr] Adding ndk-sys v0.4.1+23.1.7779620 [INFO] [stderr] Adding nix v0.24.3 [INFO] [stderr] Adding nix v0.25.1 [INFO] [stderr] Adding num-complex v0.4.6 [INFO] [stderr] Adding num-integer v0.1.46 [INFO] [stderr] Adding num-rational v0.4.2 [INFO] [stderr] Adding num-traits v0.2.19 [INFO] [stderr] Adding num_enum v0.5.11 [INFO] [stderr] Adding num_enum v0.6.1 [INFO] [stderr] Adding num_enum_derive v0.5.11 [INFO] [stderr] Adding num_enum_derive v0.6.1 [INFO] [stderr] Adding objc-sys v0.2.0-beta.2 (available: v0.2.0-beta.3) [INFO] [stderr] Adding objc2 v0.3.0-beta.3.patch-leaks.3 (available: v0.3.0-beta.5) [INFO] [stderr] Adding objc2-encode v2.0.0-pre.2 (available: v2.0.0) [INFO] [stderr] Adding once_cell v1.21.3 [INFO] [stderr] Adding orbclient v0.3.48 [INFO] [stderr] Adding owned_ttf_parser v0.15.2 [INFO] [stderr] Adding owned_ttf_parser v0.25.1 [INFO] [stderr] Adding paste v1.0.15 [INFO] [stderr] Adding percent-encoding v2.3.2 [INFO] [stderr] Adding piston v0.55.0 (available: v1.0.0) [INFO] [stderr] Adding piston-float v1.0.1 [INFO] [stderr] Adding piston-gfx_texture v0.44.0 [INFO] [stderr] Adding piston-graphics_api_version v1.0.1 [INFO] [stderr] Adding piston-shaders_graphics2d v0.4.0 [INFO] [stderr] Adding piston-texture v0.9.0 [INFO] [stderr] Adding piston-viewport v1.0.2 [INFO] [stderr] Adding piston2d-gfx_graphics v0.80.0 [INFO] [stderr] Adding piston2d-graphics v0.44.0 (available: v0.45.0) [INFO] [stderr] Adding piston2d-opengl_graphics v0.84.0 (available: v0.89.0) [INFO] [stderr] Adding piston_window v0.131.0 (available: v0.132.0) [INFO] [stderr] Adding pistoncore-event_loop v0.55.0 [INFO] [stderr] Adding pistoncore-glutin_window v0.72.0 [INFO] [stderr] Adding pistoncore-input v1.0.1 [INFO] [stderr] Adding pistoncore-window v1.0.0 [INFO] [stderr] Adding pkg-config v0.3.32 [INFO] [stderr] Adding png v0.17.16 [INFO] [stderr] Adding proc-macro-crate v1.3.1 [INFO] [stderr] Adding proc-macro2 v1.0.101 [INFO] [stderr] Adding qoi v0.4.1 [INFO] [stderr] Adding quote v1.0.40 [INFO] [stderr] Adding rawpointer v0.2.1 [INFO] [stderr] Adding rayon v1.11.0 [INFO] [stderr] Adding rayon-core v1.13.0 [INFO] [stderr] Adding read_color v1.0.0 [INFO] [stderr] Adding redox_syscall v0.3.5 [INFO] [stderr] Adding redox_syscall v0.5.17 [INFO] [stderr] Adding rusttype v0.9.3 [INFO] [stderr] Adding rustversion v1.0.22 [INFO] [stderr] Adding safe_arch v0.7.4 [INFO] [stderr] Adding scoped-tls v1.0.1 [INFO] [stderr] Adding sctk-adwaita v0.5.4 [INFO] [stderr] Adding serde v1.0.228 [INFO] [stderr] Adding serde_core v1.0.228 [INFO] [stderr] Adding serde_derive v1.0.228 [INFO] [stderr] Adding shader_version v0.7.0 [INFO] [stderr] Adding simba v0.8.1 [INFO] [stderr] Adding simd-adler32 v0.3.7 [INFO] [stderr] Adding slotmap v1.0.7 [INFO] [stderr] Adding smallvec v1.15.1 [INFO] [stderr] Adding smithay-client-toolkit v0.16.1 [INFO] [stderr] Adding spin_sleep v1.3.3 [INFO] [stderr] Adding strict-num v0.1.1 [INFO] [stderr] Adding syn v1.0.109 [INFO] [stderr] Adding syn v2.0.106 [INFO] [stderr] Adding thiserror v1.0.69 [INFO] [stderr] Adding thiserror-impl v1.0.69 [INFO] [stderr] Adding tiff v0.9.1 [INFO] [stderr] Adding tiny-skia v0.8.4 [INFO] [stderr] Adding tiny-skia-path v0.8.4 [INFO] [stderr] Adding toml_datetime v0.6.11 [INFO] [stderr] Adding toml_edit v0.19.15 [INFO] [stderr] Adding ttf-parser v0.15.2 [INFO] [stderr] Adding ttf-parser v0.25.1 [INFO] [stderr] Adding typenum v1.18.0 [INFO] [stderr] Adding unicode-ident v1.0.19 [INFO] [stderr] Adding vec_map v0.8.2 [INFO] [stderr] Adding vecmath v1.0.0 [INFO] [stderr] Adding version_check v0.9.5 [INFO] [stderr] Adding wasi v0.11.1+wasi-snapshot-preview1 [INFO] [stderr] Adding wasm-bindgen v0.2.104 [INFO] [stderr] Adding wasm-bindgen-backend v0.2.104 [INFO] [stderr] Adding wasm-bindgen-macro v0.2.104 [INFO] [stderr] Adding wasm-bindgen-macro-support v0.2.104 [INFO] [stderr] Adding wasm-bindgen-shared v0.2.104 [INFO] [stderr] Adding wayland-client v0.29.5 [INFO] [stderr] Adding wayland-commons v0.29.5 [INFO] [stderr] Adding wayland-cursor v0.29.5 [INFO] [stderr] Adding wayland-protocols v0.29.5 [INFO] [stderr] Adding wayland-scanner v0.29.5 [INFO] [stderr] Adding wayland-sys v0.29.5 [INFO] [stderr] Adding wayland-sys v0.30.1 [INFO] [stderr] Adding web-sys v0.3.81 [INFO] [stderr] Adding weezl v0.1.10 [INFO] [stderr] Adding wide v0.7.33 [INFO] [stderr] Adding windows-link v0.2.0 [INFO] [stderr] Adding windows-sys v0.45.0 [INFO] [stderr] Adding windows-sys v0.48.0 [INFO] [stderr] Adding windows-sys v0.61.1 [INFO] [stderr] Adding windows-targets v0.42.2 [INFO] [stderr] Adding windows-targets v0.48.5 [INFO] [stderr] Adding windows_aarch64_gnullvm v0.42.2 [INFO] [stderr] Adding windows_aarch64_gnullvm v0.48.5 [INFO] [stderr] Adding windows_aarch64_msvc v0.42.2 [INFO] [stderr] Adding windows_aarch64_msvc v0.48.5 [INFO] [stderr] Adding windows_i686_gnu v0.42.2 [INFO] [stderr] Adding windows_i686_gnu v0.48.5 [INFO] [stderr] Adding windows_i686_msvc v0.42.2 [INFO] [stderr] Adding windows_i686_msvc v0.48.5 [INFO] [stderr] Adding windows_x86_64_gnu v0.42.2 [INFO] [stderr] Adding windows_x86_64_gnu v0.48.5 [INFO] [stderr] Adding windows_x86_64_gnullvm v0.42.2 [INFO] [stderr] Adding windows_x86_64_gnullvm v0.48.5 [INFO] [stderr] Adding windows_x86_64_msvc v0.42.2 [INFO] [stderr] Adding windows_x86_64_msvc v0.48.5 [INFO] [stderr] Adding winit v0.28.7 [INFO] [stderr] Adding winnow v0.5.40 [INFO] [stderr] Adding x11-dl v2.21.0 [INFO] [stderr] Adding xcursor v0.3.10 [INFO] [stderr] Adding zune-inflate v0.2.54 [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded libloading v0.8.9 [INFO] [stderr] Downloaded nalgebra-macros v0.2.2 [INFO] [stderr] Downloaded piston-viewport v1.0.2 [INFO] [stderr] Downloaded ab_glyph_rasterizer v0.1.10 [INFO] [stderr] Downloaded piston2d-gfx_graphics v0.80.0 [INFO] [stderr] Downloaded wayland-sys v0.30.1 [INFO] [stderr] Downloaded xml-rs v0.8.20 [INFO] [stderr] Downloaded simba v0.8.1 [INFO] [stderr] Downloaded glutin_egl_sys v0.5.1 [INFO] [stderr] Downloaded glutin_wgl_sys v0.4.0 [INFO] [stderr] Downloaded spin_sleep v1.3.3 [INFO] [stderr] Downloaded lebe v0.5.3 [INFO] [stderr] Downloaded matrixmultiply v0.3.10 [INFO] [stderr] Downloaded pistoncore-event_loop v0.55.0 [INFO] [stderr] Downloaded weezl v0.1.10 [INFO] [stderr] Downloaded piston2d-graphics v0.44.0 [INFO] [stderr] Downloaded khronos_api v2.2.0 [INFO] [stderr] Downloaded interpolation v0.3.0 [INFO] [stderr] Downloaded libc v0.2.154 [INFO] [stderr] Downloaded jpeg-decoder v0.3.2 [INFO] [stderr] Downloaded safe_arch v0.7.4 [INFO] [stderr] Downloaded owned_ttf_parser v0.15.2 [INFO] [stderr] Downloaded piston v0.55.0 [INFO] [stderr] Downloaded gfx v0.18.3 [INFO] [stderr] Downloaded rusttype v0.9.3 [INFO] [stderr] Downloaded piston_window v0.131.0 [INFO] [stderr] Downloaded nalgebra v0.32.6 [INFO] [stderr] Downloaded wide v0.7.33 [INFO] [stderr] Downloaded glutin v0.30.10 [INFO] [stderr] Downloaded piston2d-opengl_graphics v0.84.0 [INFO] [stderr] Downloaded piston-gfx_texture v0.44.0 [INFO] [stderr] Downloaded piston-texture v0.9.0 [INFO] [stderr] Downloaded ttf-parser v0.15.2 [INFO] [stderr] Downloaded glutin-winit v0.3.0 [INFO] [stderr] Downloaded piston-graphics_api_version v1.0.1 [INFO] [stderr] Downloaded bit_field v0.10.3 [INFO] [stderr] Downloaded gif v0.13.3 [INFO] [stderr] Downloaded glutin_glx_sys v0.4.0 [INFO] [stderr] Downloaded pistoncore-input v1.0.1 [INFO] [stderr] Downloaded pistoncore-window v1.0.0 [INFO] [stderr] Downloaded cc v1.0.96 [INFO] [stderr] Downloaded pistoncore-glutin_window v0.72.0 [INFO] [stderr] Downloaded ab_glyph v0.2.31 [INFO] [stderr] Downloaded owned_ttf_parser v0.25.1 [INFO] [stderr] Downloaded xcursor v0.3.10 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ec63ba413ca9e9743552cbd192a788786715882813a26b03f0b709af1d8a4c55 [INFO] running `Command { std: "docker" "start" "-a" "ec63ba413ca9e9743552cbd192a788786715882813a26b03f0b709af1d8a4c55", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ec63ba413ca9e9743552cbd192a788786715882813a26b03f0b709af1d8a4c55", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ec63ba413ca9e9743552cbd192a788786715882813a26b03f0b709af1d8a4c55", kill_on_drop: false }` [INFO] [stdout] ec63ba413ca9e9743552cbd192a788786715882813a26b03f0b709af1d8a4c55 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a3440bcccb5b0caef984d45b580ed9d7fbf92ad2eb683e2d71a58aca91b2cabf [INFO] running `Command { std: "docker" "start" "-a" "a3440bcccb5b0caef984d45b580ed9d7fbf92ad2eb683e2d71a58aca91b2cabf", kill_on_drop: false }` [INFO] [stderr] Compiling xml-rs v0.8.20 [INFO] [stderr] Compiling log v0.4.21 [INFO] [stderr] Compiling khronos_api v3.1.0 [INFO] [stderr] Compiling libc v0.2.154 [INFO] [stderr] Compiling simd-adler32 v0.3.7 [INFO] [stderr] Compiling bytemuck v1.23.2 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Compiling libloading v0.8.9 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Compiling wayland-sys v0.29.5 [INFO] [stderr] Compiling piston-float v1.0.1 [INFO] [stderr] Compiling cfg_aliases v0.1.1 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling dlib v0.5.2 [INFO] [stderr] Compiling miniz_oxide v0.8.9 [INFO] [stderr] Compiling fdeflate v0.3.7 [INFO] [stderr] Compiling rayon-core v1.13.0 [INFO] [stderr] Compiling ab_glyph_rasterizer v0.1.10 [INFO] [stderr] Compiling slotmap v1.0.7 [INFO] [stderr] Compiling piston-viewport v1.0.2 [INFO] [stderr] Compiling downcast-rs v1.2.1 [INFO] [stderr] Compiling scoped-tls v1.0.1 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling x11-dl v2.21.0 [INFO] [stderr] Compiling piston-graphics_api_version v1.0.1 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling smithay-client-toolkit v0.16.1 [INFO] [stderr] Compiling vec_map v0.8.2 [INFO] [stderr] Compiling flate2 v1.1.2 [INFO] [stderr] Compiling ttf-parser v0.25.1 [INFO] [stderr] Compiling weezl v0.1.10 [INFO] [stderr] Compiling arrayref v0.3.9 [INFO] [stderr] Compiling crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling xcursor v0.3.10 [INFO] [stderr] Compiling strict-num v0.1.1 [INFO] [stderr] Compiling zune-inflate v0.2.54 [INFO] [stderr] Compiling draw_state v0.8.0 [INFO] [stderr] Compiling tiny-skia-path v0.8.4 [INFO] [stderr] Compiling half v2.6.0 [INFO] [stderr] Compiling wayland-scanner v0.29.5 [INFO] [stderr] Compiling gl_generator v0.14.0 [INFO] [stderr] Compiling png v0.17.16 [INFO] [stderr] Compiling crossbeam-deque v0.8.6 [INFO] [stderr] Compiling gl_generator v0.13.1 [INFO] [stderr] Compiling wayland-sys v0.30.1 [INFO] [stderr] Compiling color_quant v1.1.0 [INFO] [stderr] Compiling bit_field v0.10.3 [INFO] [stderr] Compiling ttf-parser v0.15.2 [INFO] [stderr] Compiling arrayvec v0.7.6 [INFO] [stderr] Compiling lebe v0.5.3 [INFO] [stderr] Compiling gif v0.13.3 [INFO] [stderr] Compiling gfx_core v0.9.2 [INFO] [stderr] Compiling qoi v0.4.1 [INFO] [stderr] Compiling glutin v0.30.10 [INFO] [stderr] Compiling glutin_glx_sys v0.4.0 [INFO] [stderr] Compiling glutin_egl_sys v0.5.1 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling nix v0.24.3 [INFO] [stderr] Compiling nix v0.25.1 [INFO] [stderr] Compiling memmap2 v0.5.10 [INFO] [stderr] Compiling gl v0.13.0 [INFO] [stderr] Compiling rayon v1.11.0 [INFO] [stderr] Compiling exr v1.73.0 [INFO] [stderr] Compiling wayland-client v0.29.5 [INFO] [stderr] Compiling wayland-protocols v0.29.5 [INFO] [stderr] Compiling winit v0.28.7 [INFO] [stderr] Compiling tiny-skia v0.8.4 [INFO] [stderr] Compiling piston-texture v0.9.0 [INFO] [stderr] Compiling raw-window-handle v0.5.2 [INFO] [stderr] Compiling mio v0.8.11 [INFO] [stderr] Compiling gfx_gl v0.6.1 [INFO] [stderr] Compiling wayland-commons v0.29.5 [INFO] [stderr] Compiling owned_ttf_parser v0.15.2 [INFO] [stderr] Compiling rusttype v0.9.3 [INFO] [stderr] Compiling shader_version v0.7.0 [INFO] [stderr] Compiling vecmath v1.0.0 [INFO] [stderr] Compiling owned_ttf_parser v0.25.1 [INFO] [stderr] Compiling ab_glyph v0.2.31 [INFO] [stderr] Compiling glutin-winit v0.3.0 [INFO] [stderr] Compiling libloading v0.7.4 [INFO] [stderr] Compiling instant v0.1.13 [INFO] [stderr] Compiling interpolation v0.3.0 [INFO] [stderr] Compiling paste v1.0.15 [INFO] [stderr] Compiling read_color v1.0.0 [INFO] [stderr] Compiling gfx v0.18.3 [INFO] [stderr] Compiling piston2d-graphics v0.44.0 [INFO] [stderr] Compiling safe_arch v0.7.4 [INFO] [stderr] Compiling matrixmultiply v0.3.10 [INFO] [stderr] Compiling typenum v1.18.0 [INFO] [stderr] Compiling spin_sleep v1.3.3 [INFO] [stderr] Compiling piston-shaders_graphics2d v0.4.0 [INFO] [stderr] Compiling wide v0.7.33 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling approx v0.5.1 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling num-complex v0.4.6 [INFO] [stderr] Compiling rawpointer v0.2.1 [INFO] [stderr] Compiling num-rational v0.4.2 [INFO] [stderr] Compiling nalgebra-macros v0.2.2 [INFO] [stderr] Compiling gfx_device_gl v0.16.2 [INFO] [stderr] Compiling jpeg-decoder v0.3.2 [INFO] [stderr] Compiling wayland-cursor v0.29.5 [INFO] [stderr] Compiling calloop v0.10.6 [INFO] [stderr] Compiling simba v0.8.1 [INFO] [stderr] Compiling tiff v0.9.1 [INFO] [stderr] Compiling pistoncore-input v1.0.1 [INFO] [stderr] Compiling image v0.24.9 [INFO] [stderr] Compiling pistoncore-window v1.0.0 [INFO] [stderr] Compiling pistoncore-event_loop v0.55.0 [INFO] [stderr] Compiling piston v0.55.0 [INFO] [stderr] Compiling piston-gfx_texture v0.44.0 [INFO] [stderr] Compiling piston2d-opengl_graphics v0.84.0 [INFO] [stderr] Compiling piston2d-gfx_graphics v0.80.0 [INFO] [stderr] Compiling nalgebra v0.32.6 [INFO] [stderr] Compiling sctk-adwaita v0.5.4 [INFO] [stderr] Compiling pistoncore-glutin_window v0.72.0 [INFO] [stderr] Compiling piston_window v0.131.0 [INFO] [stderr] Compiling Three_D_Libary v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `piston_window::*` [INFO] [stdout] --> src/Graphics/three_d_functions.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use piston_window::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Mutex` [INFO] [stdout] --> src/Graphics/three_d_functions.rs:4:22 [INFO] [stdout] | [INFO] [stdout] 4 | use std::sync::{Arc, Mutex}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `piston_window::types::Triangle` [INFO] [stdout] --> src/Graphics/three_d_functions.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use piston_window::types::Triangle; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `point3d` should have an upper camel case name [INFO] [stdout] --> src/Graphics/three_d_functions.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct point3d [INFO] [stdout] | ^^^^^^^ help: convert the identifier to upper camel case: `Point3d` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `triangle_points3d` should have an upper camel case name [INFO] [stdout] --> src/Graphics/three_d_functions.rs:29:8 [INFO] [stdout] | [INFO] [stdout] 29 | struct triangle_points3d<'a> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `TrianglePoints3d` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `triangle_point_index` should have an upper camel case name [INFO] [stdout] --> src/Graphics/three_d_functions.rs:41:12 [INFO] [stdout] | [INFO] [stdout] 41 | pub struct triangle_point_index [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `TrianglePointIndex` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `object_3d` should have an upper camel case name [INFO] [stdout] --> src/Graphics/three_d_functions.rs:48:12 [INFO] [stdout] | [INFO] [stdout] 48 | pub struct object_3d [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to upper camel case: `Object3d` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `surface` should have an upper camel case name [INFO] [stdout] --> src/Graphics/three_d_functions.rs:55:12 [INFO] [stdout] | [INFO] [stdout] 55 | pub struct surface [INFO] [stdout] | ^^^^^^^ help: convert the identifier to upper camel case (notice the capitalization): `Surface` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `line_index` should have an upper camel case name [INFO] [stdout] --> src/Graphics/three_d_functions.rs:61:12 [INFO] [stdout] | [INFO] [stdout] 61 | pub struct line_index [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to upper camel case: `LineIndex` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `cad_object_3d` should have an upper camel case name [INFO] [stdout] --> src/Graphics/three_d_functions.rs:67:12 [INFO] [stdout] | [INFO] [stdout] 67 | pub struct cad_object_3d [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `CadObject3d` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/Graphics/three_d_functions.rs:158:7 [INFO] [stdout] | [INFO] [stdout] 158 | if(is_facing_camera(&calculate_triangle_normal(&point3d{x:rotated_point1[0],y:rotated_point1[1],z:rotated_point1[2]}, [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 161 | &Vector3::new(camera_position.x, camera_position.y, camera_position.z))){ [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 158 ~ if is_facing_camera(&calculate_triangle_normal(&point3d{x:rotated_point1[0],y:rotated_point1[1],z:rotated_point1[2]}, [INFO] [stdout] 159 | &point3d{x:rotated_point2[0],y:rotated_point2[1],z:rotated_point2[2]}, [INFO] [stdout] 160 | &point3d{x:rotated_point3[0],y:rotated_point3[1],z:rotated_point3[2]}), [INFO] [stdout] 161 ~ &Vector3::new(camera_position.x, camera_position.y, camera_position.z)) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `Window_feild` should have an upper camel case name [INFO] [stdout] --> src/Item_Window_Manager/Create_Window.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Window_feild [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to upper camel case: `WindowFeild` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `Window_Struct` should have an upper camel case name [INFO] [stdout] --> src/Item_Window_Manager/Create_Window.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct Window_Struct [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `WindowStruct` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/Item_Window_Manager/Create_Window.rs:126:11 [INFO] [stdout] | [INFO] [stdout] 126 | if(is_point_in_rectangle( [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 138 | } ) && mouse){ [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 126 ~ if is_point_in_rectangle( [INFO] [stdout] 127 | &Point2d { [INFO] [stdout] ... [INFO] [stdout] 137 | point_y: hight, [INFO] [stdout] 138 ~ } ) && mouse { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/Item_Window_Manager/Create_Window.rs:157:4 [INFO] [stdout] | [INFO] [stdout] 157 | if(mouse){ [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 157 - if(mouse){ [INFO] [stdout] 157 + if mouse { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/Item_Window_Manager/Create_Window.rs:158:7 [INFO] [stdout] | [INFO] [stdout] 158 | if(is_point_in_rectangle( [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 170 | } )){ [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 158 ~ if is_point_in_rectangle( [INFO] [stdout] 159 | &Point2d { [INFO] [stdout] ... [INFO] [stdout] 169 | point_y: hight, [INFO] [stdout] 170 ~ } ) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/Item_Window_Manager/Create_Window.rs:195:15 [INFO] [stdout] | [INFO] [stdout] 195 | if(*key_down == false){ [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 195 - if(*key_down == false){ [INFO] [stdout] 195 + if *key_down == false { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/Item_Window_Manager/Create_Window.rs:207:15 [INFO] [stdout] | [INFO] [stdout] 207 | if(*key_down == false){ [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 207 - if(*key_down == false){ [INFO] [stdout] 207 + if *key_down == false { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `return` value [INFO] [stdout] --> src/Item_Window_Manager/Create_Window.rs:223:10 [INFO] [stdout] | [INFO] [stdout] 223 | return(updated_str); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 223 - return(updated_str); [INFO] [stdout] 223 + return updated_str; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/Item_Window_Manager/Create_Window.rs:278:7 [INFO] [stdout] | [INFO] [stdout] 278 | if(mouse){ [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 278 - if(mouse){ [INFO] [stdout] 278 + if mouse { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/Item_Window_Manager/Create_Window.rs:279:11 [INFO] [stdout] | [INFO] [stdout] 279 | if(updated_str == "0".to_string()) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 279 - if(updated_str == "0".to_string()) [INFO] [stdout] 279 + if updated_str == "0".to_string() [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/Item_Window_Manager/Create_Window.rs:283:11 [INFO] [stdout] | [INFO] [stdout] 283 | if(is_point_in_rectangle( [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 289 | size)){ [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 283 ~ if is_point_in_rectangle( [INFO] [stdout] 284 | &Point2d { [INFO] [stdout] ... [INFO] [stdout] 288 | position, [INFO] [stdout] 289 ~ size) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/Item_Window_Manager/Create_Window.rs:290:38 [INFO] [stdout] | [INFO] [stdout] 290 | *textbox_held_index = (index +1) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 290 - *textbox_held_index = (index +1) [INFO] [stdout] 290 + *textbox_held_index = index +1 [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/Item_Window_Manager/Create_Window.rs:292:15 [INFO] [stdout] | [INFO] [stdout] 292 | if(!is_point_in_rectangle( [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 298 | size)){ [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 292 ~ if !is_point_in_rectangle( [INFO] [stdout] 293 | &Point2d { [INFO] [stdout] ... [INFO] [stdout] 297 | position, [INFO] [stdout] 298 ~ size) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/Item_Window_Manager/Create_Window.rs:299:23 [INFO] [stdout] | [INFO] [stdout] 299 | if( *textbox_held_index == (index +1)){ [INFO] [stdout] | ^^^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 299 - if( *textbox_held_index == (index +1)){ [INFO] [stdout] 299 + if *textbox_held_index == (index +1) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/Item_Window_Manager/Create_Window.rs:305:7 [INFO] [stdout] | [INFO] [stdout] 305 | if((index +1)== *textbox_held_index){ [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 305 - if((index +1)== *textbox_held_index){ [INFO] [stdout] 305 + if (index +1)== *textbox_held_index { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/Item_Window_Manager/Create_Window.rs:308:15 [INFO] [stdout] | [INFO] [stdout] 308 | if(*key_down == false){ [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 308 - if(*key_down == false){ [INFO] [stdout] 308 + if *key_down == false { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/Item_Window_Manager/Create_Window.rs:320:15 [INFO] [stdout] | [INFO] [stdout] 320 | if(*key_down == false){ [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 320 - if(*key_down == false){ [INFO] [stdout] 320 + if *key_down == false { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/Item_Window_Manager/Create_Window.rs:326:23 [INFO] [stdout] | [INFO] [stdout] 326 | if(count_char_occurrences(&updated_str, '.') == 0){ [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 326 - if(count_char_occurrences(&updated_str, '.') == 0){ [INFO] [stdout] 326 + if count_char_occurrences(&updated_str, '.') == 0 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/Item_Window_Manager/Create_Window.rs:344:3 [INFO] [stdout] | [INFO] [stdout] 344 | if(updated_str == "".to_string()) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 344 - if(updated_str == "".to_string()) [INFO] [stdout] 344 + if updated_str == "".to_string() [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `return` value [INFO] [stdout] --> src/Item_Window_Manager/Create_Window.rs:355:10 [INFO] [stdout] | [INFO] [stdout] 355 | return(updated_str); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 355 - return(updated_str); [INFO] [stdout] 355 + return updated_str; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/Graphics/Render_Window.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 8 | let mut window: PistonWindow = [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `c` [INFO] [stdout] --> src/Graphics/two_d_functions.rs:23:21 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn clear_screen(c: &Context, g: &mut G2d) { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_c` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/Graphics/two_d_functions.rs:33:33 [INFO] [stdout] | [INFO] [stdout] 33 | fn get_first_digit(mut num: u8, mut dived_value: u8) -> u8 { [INFO] [stdout] | ----^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/Graphics/three_d_functions.rs:87:94 [INFO] [stdout] | [INFO] [stdout] 87 | pub fn render_3d(c:&Context, g: &mut G2d,global_vec:&Arc>>,mut camera_rotation_x:f64,mut camera_rotatio... [INFO] [stdout] | ----^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/Graphics/three_d_functions.rs:87:120 [INFO] [stdout] | [INFO] [stdout] 87 | ...d<'_, Vec>>,mut camera_rotation_x:f64,mut camera_rotation_y:f64,window_hight:f64, window_width:f64 ) { [INFO] [stdout] | ----^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `c` [INFO] [stdout] --> src/Item_Window_Manager/../Graphics/two_d_functions.rs:23:21 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn clear_screen(c: &Context, g: &mut G2d) { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_c` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/Item_Window_Manager/../Graphics/two_d_functions.rs:33:33 [INFO] [stdout] | [INFO] [stdout] 33 | fn get_first_digit(mut num: u8, mut dived_value: u8) -> u8 { [INFO] [stdout] | ----^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `size` [INFO] [stdout] --> src/Item_Window_Manager/Create_Window.rs:187:62 [INFO] [stdout] | [INFO] [stdout] 187 | fn draw_textbox(c: &Context, g: &mut G2d,position: &Point2d, size: &Point2d, keypressed: Key,current_str: &String) -> String [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_size` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_first_digit` is never used [INFO] [stdout] --> src/Graphics/two_d_functions.rs:33:4 [INFO] [stdout] | [INFO] [stdout] 33 | fn get_first_digit(mut num: u8, mut dived_value: u8) -> u8 { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `draw_textbox` is never used [INFO] [stdout] --> src/Item_Window_Manager/Create_Window.rs:187:4 [INFO] [stdout] | [INFO] [stdout] 187 | fn draw_textbox(c: &Context, g: &mut G2d,position: &Point2d, size: &Point2d, keypressed: Key,current_str: &String) -> String [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `key_to_char` is never used [INFO] [stdout] --> src/Item_Window_Manager/Create_Window.rs:227:4 [INFO] [stdout] | [INFO] [stdout] 227 | fn key_to_char(key: Key) -> Option { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `clear_screen` is never used [INFO] [stdout] --> src/Item_Window_Manager/../Graphics/two_d_functions.rs:23:8 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn clear_screen(c: &Context, g: &mut G2d) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `draw_pixel` is never used [INFO] [stdout] --> src/Item_Window_Manager/../Graphics/two_d_functions.rs:28:8 [INFO] [stdout] | [INFO] [stdout] 28 | pub fn draw_pixel(c: &Context, g: &mut G2d,position: &Point2d, color: &Color) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_first_digit` is never used [INFO] [stdout] --> src/Item_Window_Manager/../Graphics/two_d_functions.rs:33:4 [INFO] [stdout] | [INFO] [stdout] 33 | fn get_first_digit(mut num: u8, mut dived_value: u8) -> u8 { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `draw_image` is never used [INFO] [stdout] --> src/Item_Window_Manager/../Graphics/two_d_functions.rs:39:10 [INFO] [stdout] | [INFO] [stdout] 39 | pub fn draw_image(c: &Context, g: &mut G2d, colors: &[Color],position: &Point2d, grid_x: u32, grid_y: u32, scale: f64) -> Result<(), St... [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `draw_tryangle` is never used [INFO] [stdout] --> src/Item_Window_Manager/../Graphics/two_d_functions.rs:63:8 [INFO] [stdout] | [INFO] [stdout] 63 | pub fn draw_tryangle(c: &Context, g: &mut G2d,position1: &Point2d,position2: &Point2d,position3: &Point2d, color: [f32; 4]) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: crate `Three_D_Libary` should have a snake case name [INFO] [stdout] | [INFO] [stdout] = help: convert the identifier to snake case: `three_d_libary` [INFO] [stdout] = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `Begin_3d` should have a snake case name [INFO] [stdout] --> src/Graphics/three_d_functions.rs:79:8 [INFO] [stdout] | [INFO] [stdout] 79 | pub fn Begin_3d() [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `begin_3d` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `camera_position` should have an upper case name [INFO] [stdout] --> src/Graphics/three_d_functions.rs:86:8 [INFO] [stdout] | [INFO] [stdout] 86 | static camera_position:point3d = point3d { x: 1.0, y: 0.0, z: 0.0 }; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_upper_case_globals)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] help: convert the identifier to upper case [INFO] [stdout] | [INFO] [stdout] 86 - static camera_position:point3d = point3d { x: 1.0, y: 0.0, z: 0.0 }; [INFO] [stdout] 86 + static CAMERA_POSITION:point3d = point3d { x: 1.0, y: 0.0, z: 0.0 }; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `is_key_down` should have an upper case name [INFO] [stdout] --> src/Item_Window_Manager/Create_Window.rs:182:8 [INFO] [stdout] | [INFO] [stdout] 182 | static is_key_down: Mutex = Mutex::new(false); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: convert the identifier to upper case [INFO] [stdout] | [INFO] [stdout] 182 - static is_key_down: Mutex = Mutex::new(false); [INFO] [stdout] 182 + static IS_KEY_DOWN: Mutex = Mutex::new(false); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `textbox_held` should have an upper case name [INFO] [stdout] --> src/Item_Window_Manager/Create_Window.rs:184:8 [INFO] [stdout] | [INFO] [stdout] 184 | static textbox_held: Mutex = Mutex::new(0); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: convert the identifier to upper case [INFO] [stdout] | [INFO] [stdout] 184 - static textbox_held: Mutex = Mutex::new(0); [INFO] [stdout] 184 + static TEXTBOX_HELD: Mutex = Mutex::new(0); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 21s [INFO] running `Command { std: "docker" "inspect" "a3440bcccb5b0caef984d45b580ed9d7fbf92ad2eb683e2d71a58aca91b2cabf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a3440bcccb5b0caef984d45b580ed9d7fbf92ad2eb683e2d71a58aca91b2cabf", kill_on_drop: false }` [INFO] [stdout] a3440bcccb5b0caef984d45b580ed9d7fbf92ad2eb683e2d71a58aca91b2cabf [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b828f2ba9c192c44b7150e2a42d6c8369a9b6ca3717abf067a5c1588fd26918d [INFO] running `Command { std: "docker" "start" "-a" "b828f2ba9c192c44b7150e2a42d6c8369a9b6ca3717abf067a5c1588fd26918d", kill_on_drop: false }` [INFO] [stdout] warning: unused import: `piston_window::*` [INFO] [stdout] --> src/Graphics/three_d_functions.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use piston_window::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Mutex` [INFO] [stdout] --> src/Graphics/three_d_functions.rs:4:22 [INFO] [stdout] | [INFO] [stdout] 4 | use std::sync::{Arc, Mutex}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `piston_window::types::Triangle` [INFO] [stdout] --> src/Graphics/three_d_functions.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use piston_window::types::Triangle; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `point3d` should have an upper camel case name [INFO] [stdout] --> src/Graphics/three_d_functions.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct point3d [INFO] [stdout] | ^^^^^^^ help: convert the identifier to upper camel case: `Point3d` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `triangle_points3d` should have an upper camel case name [INFO] [stdout] --> src/Graphics/three_d_functions.rs:29:8 [INFO] [stdout] | [INFO] [stdout] 29 | struct triangle_points3d<'a> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `TrianglePoints3d` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `triangle_point_index` should have an upper camel case name [INFO] [stdout] --> src/Graphics/three_d_functions.rs:41:12 [INFO] [stdout] | [INFO] [stdout] 41 | pub struct triangle_point_index [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `TrianglePointIndex` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `object_3d` should have an upper camel case name [INFO] [stdout] --> src/Graphics/three_d_functions.rs:48:12 [INFO] [stdout] | [INFO] [stdout] 48 | pub struct object_3d [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to upper camel case: `Object3d` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `surface` should have an upper camel case name [INFO] [stdout] --> src/Graphics/three_d_functions.rs:55:12 [INFO] [stdout] | [INFO] [stdout] 55 | pub struct surface [INFO] [stdout] | ^^^^^^^ help: convert the identifier to upper camel case (notice the capitalization): `Surface` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `line_index` should have an upper camel case name [INFO] [stdout] --> src/Graphics/three_d_functions.rs:61:12 [INFO] [stdout] | [INFO] [stdout] 61 | pub struct line_index [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to upper camel case: `LineIndex` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `cad_object_3d` should have an upper camel case name [INFO] [stdout] --> src/Graphics/three_d_functions.rs:67:12 [INFO] [stdout] | [INFO] [stdout] 67 | pub struct cad_object_3d [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `CadObject3d` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/Graphics/three_d_functions.rs:158:7 [INFO] [stdout] | [INFO] [stdout] 158 | if(is_facing_camera(&calculate_triangle_normal(&point3d{x:rotated_point1[0],y:rotated_point1[1],z:rotated_point1[2]}, [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 161 | &Vector3::new(camera_position.x, camera_position.y, camera_position.z))){ [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 158 ~ if is_facing_camera(&calculate_triangle_normal(&point3d{x:rotated_point1[0],y:rotated_point1[1],z:rotated_point1[2]}, [INFO] [stdout] 159 | &point3d{x:rotated_point2[0],y:rotated_point2[1],z:rotated_point2[2]}, [INFO] [stdout] 160 | &point3d{x:rotated_point3[0],y:rotated_point3[1],z:rotated_point3[2]}), [INFO] [stdout] 161 ~ &Vector3::new(camera_position.x, camera_position.y, camera_position.z)) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `Window_feild` should have an upper camel case name [INFO] [stdout] --> src/Item_Window_Manager/Create_Window.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Window_feild [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to upper camel case: `WindowFeild` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `Window_Struct` should have an upper camel case name [INFO] [stdout] --> src/Item_Window_Manager/Create_Window.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct Window_Struct [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `WindowStruct` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/Item_Window_Manager/Create_Window.rs:126:11 [INFO] [stdout] | [INFO] [stdout] 126 | if(is_point_in_rectangle( [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 138 | } ) && mouse){ [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 126 ~ if is_point_in_rectangle( [INFO] [stdout] 127 | &Point2d { [INFO] [stdout] ... [INFO] [stdout] 137 | point_y: hight, [INFO] [stdout] 138 ~ } ) && mouse { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/Item_Window_Manager/Create_Window.rs:157:4 [INFO] [stdout] | [INFO] [stdout] 157 | if(mouse){ [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 157 - if(mouse){ [INFO] [stdout] 157 + if mouse { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/Item_Window_Manager/Create_Window.rs:158:7 [INFO] [stdout] | [INFO] [stdout] 158 | if(is_point_in_rectangle( [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 170 | } )){ [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 158 ~ if is_point_in_rectangle( [INFO] [stdout] 159 | &Point2d { [INFO] [stdout] ... [INFO] [stdout] 169 | point_y: hight, [INFO] [stdout] 170 ~ } ) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/Item_Window_Manager/Create_Window.rs:195:15 [INFO] [stdout] | [INFO] [stdout] 195 | if(*key_down == false){ [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 195 - if(*key_down == false){ [INFO] [stdout] 195 + if *key_down == false { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/Item_Window_Manager/Create_Window.rs:207:15 [INFO] [stdout] | [INFO] [stdout] 207 | if(*key_down == false){ [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 207 - if(*key_down == false){ [INFO] [stdout] 207 + if *key_down == false { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `return` value [INFO] [stdout] --> src/Item_Window_Manager/Create_Window.rs:223:10 [INFO] [stdout] | [INFO] [stdout] 223 | return(updated_str); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 223 - return(updated_str); [INFO] [stdout] 223 + return updated_str; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/Item_Window_Manager/Create_Window.rs:278:7 [INFO] [stdout] | [INFO] [stdout] 278 | if(mouse){ [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 278 - if(mouse){ [INFO] [stdout] 278 + if mouse { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/Item_Window_Manager/Create_Window.rs:279:11 [INFO] [stdout] | [INFO] [stdout] 279 | if(updated_str == "0".to_string()) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 279 - if(updated_str == "0".to_string()) [INFO] [stdout] 279 + if updated_str == "0".to_string() [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/Item_Window_Manager/Create_Window.rs:283:11 [INFO] [stdout] | [INFO] [stdout] 283 | if(is_point_in_rectangle( [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 289 | size)){ [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 283 ~ if is_point_in_rectangle( [INFO] [stdout] 284 | &Point2d { [INFO] [stdout] ... [INFO] [stdout] 288 | position, [INFO] [stdout] 289 ~ size) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/Item_Window_Manager/Create_Window.rs:290:38 [INFO] [stdout] | [INFO] [stdout] 290 | *textbox_held_index = (index +1) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 290 - *textbox_held_index = (index +1) [INFO] [stdout] 290 + *textbox_held_index = index +1 [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/Item_Window_Manager/Create_Window.rs:292:15 [INFO] [stdout] | [INFO] [stdout] 292 | if(!is_point_in_rectangle( [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 298 | size)){ [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 292 ~ if !is_point_in_rectangle( [INFO] [stdout] 293 | &Point2d { [INFO] [stdout] ... [INFO] [stdout] 297 | position, [INFO] [stdout] 298 ~ size) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/Item_Window_Manager/Create_Window.rs:299:23 [INFO] [stdout] | [INFO] [stdout] 299 | if( *textbox_held_index == (index +1)){ [INFO] [stdout] | ^^^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 299 - if( *textbox_held_index == (index +1)){ [INFO] [stdout] 299 + if *textbox_held_index == (index +1) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/Item_Window_Manager/Create_Window.rs:305:7 [INFO] [stdout] | [INFO] [stdout] 305 | if((index +1)== *textbox_held_index){ [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 305 - if((index +1)== *textbox_held_index){ [INFO] [stdout] 305 + if (index +1)== *textbox_held_index { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/Item_Window_Manager/Create_Window.rs:308:15 [INFO] [stdout] | [INFO] [stdout] 308 | if(*key_down == false){ [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 308 - if(*key_down == false){ [INFO] [stdout] 308 + if *key_down == false { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/Item_Window_Manager/Create_Window.rs:320:15 [INFO] [stdout] | [INFO] [stdout] 320 | if(*key_down == false){ [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 320 - if(*key_down == false){ [INFO] [stdout] 320 + if *key_down == false { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/Item_Window_Manager/Create_Window.rs:326:23 [INFO] [stdout] | [INFO] [stdout] 326 | if(count_char_occurrences(&updated_str, '.') == 0){ [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 326 - if(count_char_occurrences(&updated_str, '.') == 0){ [INFO] [stdout] 326 + if count_char_occurrences(&updated_str, '.') == 0 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/Item_Window_Manager/Create_Window.rs:344:3 [INFO] [stdout] | [INFO] [stdout] 344 | if(updated_str == "".to_string()) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 344 - if(updated_str == "".to_string()) [INFO] [stdout] 344 + if updated_str == "".to_string() [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `return` value [INFO] [stdout] --> src/Item_Window_Manager/Create_Window.rs:355:10 [INFO] [stdout] | [INFO] [stdout] 355 | return(updated_str); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 355 - return(updated_str); [INFO] [stdout] 355 + return updated_str; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/Graphics/Render_Window.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 8 | let mut window: PistonWindow = [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `c` [INFO] [stdout] --> src/Graphics/two_d_functions.rs:23:21 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn clear_screen(c: &Context, g: &mut G2d) { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_c` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/Graphics/two_d_functions.rs:33:33 [INFO] [stdout] | [INFO] [stdout] 33 | fn get_first_digit(mut num: u8, mut dived_value: u8) -> u8 { [INFO] [stdout] | ----^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/Graphics/three_d_functions.rs:87:94 [INFO] [stdout] | [INFO] [stdout] 87 | pub fn render_3d(c:&Context, g: &mut G2d,global_vec:&Arc>>,mut camera_rotation_x:f64,mut camera_rotatio... [INFO] [stdout] | ----^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/Graphics/three_d_functions.rs:87:120 [INFO] [stdout] | [INFO] [stdout] 87 | ...d<'_, Vec>>,mut camera_rotation_x:f64,mut camera_rotation_y:f64,window_hight:f64, window_width:f64 ) { [INFO] [stdout] | ----^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `c` [INFO] [stdout] --> src/Item_Window_Manager/../Graphics/two_d_functions.rs:23:21 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn clear_screen(c: &Context, g: &mut G2d) { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_c` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/Item_Window_Manager/../Graphics/two_d_functions.rs:33:33 [INFO] [stdout] | [INFO] [stdout] 33 | fn get_first_digit(mut num: u8, mut dived_value: u8) -> u8 { [INFO] [stdout] | ----^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `size` [INFO] [stdout] --> src/Item_Window_Manager/Create_Window.rs:187:62 [INFO] [stdout] | [INFO] [stdout] 187 | fn draw_textbox(c: &Context, g: &mut G2d,position: &Point2d, size: &Point2d, keypressed: Key,current_str: &String) -> String [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_size` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_first_digit` is never used [INFO] [stdout] --> src/Graphics/two_d_functions.rs:33:4 [INFO] [stdout] | [INFO] [stdout] 33 | fn get_first_digit(mut num: u8, mut dived_value: u8) -> u8 { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `draw_textbox` is never used [INFO] [stdout] --> src/Item_Window_Manager/Create_Window.rs:187:4 [INFO] [stdout] | [INFO] [stdout] 187 | fn draw_textbox(c: &Context, g: &mut G2d,position: &Point2d, size: &Point2d, keypressed: Key,current_str: &String) -> String [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `key_to_char` is never used [INFO] [stdout] --> src/Item_Window_Manager/Create_Window.rs:227:4 [INFO] [stdout] | [INFO] [stdout] 227 | fn key_to_char(key: Key) -> Option { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `clear_screen` is never used [INFO] [stdout] --> src/Item_Window_Manager/../Graphics/two_d_functions.rs:23:8 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn clear_screen(c: &Context, g: &mut G2d) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `draw_pixel` is never used [INFO] [stdout] --> src/Item_Window_Manager/../Graphics/two_d_functions.rs:28:8 [INFO] [stdout] | [INFO] [stdout] 28 | pub fn draw_pixel(c: &Context, g: &mut G2d,position: &Point2d, color: &Color) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling Three_D_Libary v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: function `get_first_digit` is never used [INFO] [stdout] --> src/Item_Window_Manager/../Graphics/two_d_functions.rs:33:4 [INFO] [stdout] | [INFO] [stdout] 33 | fn get_first_digit(mut num: u8, mut dived_value: u8) -> u8 { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `draw_image` is never used [INFO] [stdout] --> src/Item_Window_Manager/../Graphics/two_d_functions.rs:39:10 [INFO] [stdout] | [INFO] [stdout] 39 | pub fn draw_image(c: &Context, g: &mut G2d, colors: &[Color],position: &Point2d, grid_x: u32, grid_y: u32, scale: f64) -> Result<(), St... [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `draw_tryangle` is never used [INFO] [stdout] --> src/Item_Window_Manager/../Graphics/two_d_functions.rs:63:8 [INFO] [stdout] | [INFO] [stdout] 63 | pub fn draw_tryangle(c: &Context, g: &mut G2d,position1: &Point2d,position2: &Point2d,position3: &Point2d, color: [f32; 4]) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: crate `Three_D_Libary` should have a snake case name [INFO] [stdout] | [INFO] [stdout] = help: convert the identifier to snake case: `three_d_libary` [INFO] [stdout] = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `Begin_3d` should have a snake case name [INFO] [stdout] --> src/Graphics/three_d_functions.rs:79:8 [INFO] [stdout] | [INFO] [stdout] 79 | pub fn Begin_3d() [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `begin_3d` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `camera_position` should have an upper case name [INFO] [stdout] --> src/Graphics/three_d_functions.rs:86:8 [INFO] [stdout] | [INFO] [stdout] 86 | static camera_position:point3d = point3d { x: 1.0, y: 0.0, z: 0.0 }; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_upper_case_globals)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] help: convert the identifier to upper case [INFO] [stdout] | [INFO] [stdout] 86 - static camera_position:point3d = point3d { x: 1.0, y: 0.0, z: 0.0 }; [INFO] [stdout] 86 + static CAMERA_POSITION:point3d = point3d { x: 1.0, y: 0.0, z: 0.0 }; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `is_key_down` should have an upper case name [INFO] [stdout] --> src/Item_Window_Manager/Create_Window.rs:182:8 [INFO] [stdout] | [INFO] [stdout] 182 | static is_key_down: Mutex = Mutex::new(false); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: convert the identifier to upper case [INFO] [stdout] | [INFO] [stdout] 182 - static is_key_down: Mutex = Mutex::new(false); [INFO] [stdout] 182 + static IS_KEY_DOWN: Mutex = Mutex::new(false); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `textbox_held` should have an upper case name [INFO] [stdout] --> src/Item_Window_Manager/Create_Window.rs:184:8 [INFO] [stdout] | [INFO] [stdout] 184 | static textbox_held: Mutex = Mutex::new(0); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: convert the identifier to upper case [INFO] [stdout] | [INFO] [stdout] 184 - static textbox_held: Mutex = Mutex::new(0); [INFO] [stdout] 184 + static TEXTBOX_HELD: Mutex = Mutex::new(0); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `piston_window::*` [INFO] [stdout] --> src/Graphics/three_d_functions.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use piston_window::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Mutex` [INFO] [stdout] --> src/Graphics/three_d_functions.rs:4:22 [INFO] [stdout] | [INFO] [stdout] 4 | use std::sync::{Arc, Mutex}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `piston_window::types::Triangle` [INFO] [stdout] --> src/Graphics/three_d_functions.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use piston_window::types::Triangle; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `point3d` should have an upper camel case name [INFO] [stdout] --> src/Graphics/three_d_functions.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct point3d [INFO] [stdout] | ^^^^^^^ help: convert the identifier to upper camel case: `Point3d` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `triangle_points3d` should have an upper camel case name [INFO] [stdout] --> src/Graphics/three_d_functions.rs:29:8 [INFO] [stdout] | [INFO] [stdout] 29 | struct triangle_points3d<'a> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `TrianglePoints3d` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `triangle_point_index` should have an upper camel case name [INFO] [stdout] --> src/Graphics/three_d_functions.rs:41:12 [INFO] [stdout] | [INFO] [stdout] 41 | pub struct triangle_point_index [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `TrianglePointIndex` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `object_3d` should have an upper camel case name [INFO] [stdout] --> src/Graphics/three_d_functions.rs:48:12 [INFO] [stdout] | [INFO] [stdout] 48 | pub struct object_3d [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to upper camel case: `Object3d` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `surface` should have an upper camel case name [INFO] [stdout] --> src/Graphics/three_d_functions.rs:55:12 [INFO] [stdout] | [INFO] [stdout] 55 | pub struct surface [INFO] [stdout] | ^^^^^^^ help: convert the identifier to upper camel case (notice the capitalization): `Surface` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `line_index` should have an upper camel case name [INFO] [stdout] --> src/Graphics/three_d_functions.rs:61:12 [INFO] [stdout] | [INFO] [stdout] 61 | pub struct line_index [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to upper camel case: `LineIndex` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `cad_object_3d` should have an upper camel case name [INFO] [stdout] --> src/Graphics/three_d_functions.rs:67:12 [INFO] [stdout] | [INFO] [stdout] 67 | pub struct cad_object_3d [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `CadObject3d` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/Graphics/three_d_functions.rs:158:7 [INFO] [stdout] | [INFO] [stdout] 158 | if(is_facing_camera(&calculate_triangle_normal(&point3d{x:rotated_point1[0],y:rotated_point1[1],z:rotated_point1[2]}, [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 161 | &Vector3::new(camera_position.x, camera_position.y, camera_position.z))){ [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 158 ~ if is_facing_camera(&calculate_triangle_normal(&point3d{x:rotated_point1[0],y:rotated_point1[1],z:rotated_point1[2]}, [INFO] [stdout] 159 | &point3d{x:rotated_point2[0],y:rotated_point2[1],z:rotated_point2[2]}, [INFO] [stdout] 160 | &point3d{x:rotated_point3[0],y:rotated_point3[1],z:rotated_point3[2]}), [INFO] [stdout] 161 ~ &Vector3::new(camera_position.x, camera_position.y, camera_position.z)) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `Window_feild` should have an upper camel case name [INFO] [stdout] --> src/Item_Window_Manager/Create_Window.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Window_feild [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to upper camel case: `WindowFeild` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `Window_Struct` should have an upper camel case name [INFO] [stdout] --> src/Item_Window_Manager/Create_Window.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct Window_Struct [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `WindowStruct` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/Item_Window_Manager/Create_Window.rs:126:11 [INFO] [stdout] | [INFO] [stdout] 126 | if(is_point_in_rectangle( [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 138 | } ) && mouse){ [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 126 ~ if is_point_in_rectangle( [INFO] [stdout] 127 | &Point2d { [INFO] [stdout] ... [INFO] [stdout] 137 | point_y: hight, [INFO] [stdout] 138 ~ } ) && mouse { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/Item_Window_Manager/Create_Window.rs:157:4 [INFO] [stdout] | [INFO] [stdout] 157 | if(mouse){ [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 157 - if(mouse){ [INFO] [stdout] 157 + if mouse { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/Item_Window_Manager/Create_Window.rs:158:7 [INFO] [stdout] | [INFO] [stdout] 158 | if(is_point_in_rectangle( [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 170 | } )){ [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 158 ~ if is_point_in_rectangle( [INFO] [stdout] 159 | &Point2d { [INFO] [stdout] ... [INFO] [stdout] 169 | point_y: hight, [INFO] [stdout] 170 ~ } ) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/Item_Window_Manager/Create_Window.rs:195:15 [INFO] [stdout] | [INFO] [stdout] 195 | if(*key_down == false){ [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 195 - if(*key_down == false){ [INFO] [stdout] 195 + if *key_down == false { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/Item_Window_Manager/Create_Window.rs:207:15 [INFO] [stdout] | [INFO] [stdout] 207 | if(*key_down == false){ [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 207 - if(*key_down == false){ [INFO] [stdout] 207 + if *key_down == false { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `return` value [INFO] [stdout] --> src/Item_Window_Manager/Create_Window.rs:223:10 [INFO] [stdout] | [INFO] [stdout] 223 | return(updated_str); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 223 - return(updated_str); [INFO] [stdout] 223 + return updated_str; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/Item_Window_Manager/Create_Window.rs:278:7 [INFO] [stdout] | [INFO] [stdout] 278 | if(mouse){ [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 278 - if(mouse){ [INFO] [stdout] 278 + if mouse { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/Item_Window_Manager/Create_Window.rs:279:11 [INFO] [stdout] | [INFO] [stdout] 279 | if(updated_str == "0".to_string()) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 279 - if(updated_str == "0".to_string()) [INFO] [stdout] 279 + if updated_str == "0".to_string() [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/Item_Window_Manager/Create_Window.rs:283:11 [INFO] [stdout] | [INFO] [stdout] 283 | if(is_point_in_rectangle( [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 289 | size)){ [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 283 ~ if is_point_in_rectangle( [INFO] [stdout] 284 | &Point2d { [INFO] [stdout] ... [INFO] [stdout] 288 | position, [INFO] [stdout] 289 ~ size) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/Item_Window_Manager/Create_Window.rs:290:38 [INFO] [stdout] | [INFO] [stdout] 290 | *textbox_held_index = (index +1) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 290 - *textbox_held_index = (index +1) [INFO] [stdout] 290 + *textbox_held_index = index +1 [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/Item_Window_Manager/Create_Window.rs:292:15 [INFO] [stdout] | [INFO] [stdout] 292 | if(!is_point_in_rectangle( [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 298 | size)){ [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 292 ~ if !is_point_in_rectangle( [INFO] [stdout] 293 | &Point2d { [INFO] [stdout] ... [INFO] [stdout] 297 | position, [INFO] [stdout] 298 ~ size) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/Item_Window_Manager/Create_Window.rs:299:23 [INFO] [stdout] | [INFO] [stdout] 299 | if( *textbox_held_index == (index +1)){ [INFO] [stdout] | ^^^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 299 - if( *textbox_held_index == (index +1)){ [INFO] [stdout] 299 + if *textbox_held_index == (index +1) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/Item_Window_Manager/Create_Window.rs:305:7 [INFO] [stdout] | [INFO] [stdout] 305 | if((index +1)== *textbox_held_index){ [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 305 - if((index +1)== *textbox_held_index){ [INFO] [stdout] 305 + if (index +1)== *textbox_held_index { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/Item_Window_Manager/Create_Window.rs:308:15 [INFO] [stdout] | [INFO] [stdout] 308 | if(*key_down == false){ [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 308 - if(*key_down == false){ [INFO] [stdout] 308 + if *key_down == false { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/Item_Window_Manager/Create_Window.rs:320:15 [INFO] [stdout] | [INFO] [stdout] 320 | if(*key_down == false){ [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 320 - if(*key_down == false){ [INFO] [stdout] 320 + if *key_down == false { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/Item_Window_Manager/Create_Window.rs:326:23 [INFO] [stdout] | [INFO] [stdout] 326 | if(count_char_occurrences(&updated_str, '.') == 0){ [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 326 - if(count_char_occurrences(&updated_str, '.') == 0){ [INFO] [stdout] 326 + if count_char_occurrences(&updated_str, '.') == 0 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/Item_Window_Manager/Create_Window.rs:344:3 [INFO] [stdout] | [INFO] [stdout] 344 | if(updated_str == "".to_string()) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 344 - if(updated_str == "".to_string()) [INFO] [stdout] 344 + if updated_str == "".to_string() [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `return` value [INFO] [stdout] --> src/Item_Window_Manager/Create_Window.rs:355:10 [INFO] [stdout] | [INFO] [stdout] 355 | return(updated_str); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 355 - return(updated_str); [INFO] [stdout] 355 + return updated_str; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/Graphics/Render_Window.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 8 | let mut window: PistonWindow = [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `c` [INFO] [stdout] --> src/Graphics/two_d_functions.rs:23:21 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn clear_screen(c: &Context, g: &mut G2d) { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_c` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/Graphics/two_d_functions.rs:33:33 [INFO] [stdout] | [INFO] [stdout] 33 | fn get_first_digit(mut num: u8, mut dived_value: u8) -> u8 { [INFO] [stdout] | ----^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/Graphics/three_d_functions.rs:87:94 [INFO] [stdout] | [INFO] [stdout] 87 | pub fn render_3d(c:&Context, g: &mut G2d,global_vec:&Arc>>,mut camera_rotation_x:f64,mut camera_rotatio... [INFO] [stdout] | ----^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/Graphics/three_d_functions.rs:87:120 [INFO] [stdout] | [INFO] [stdout] 87 | ...d<'_, Vec>>,mut camera_rotation_x:f64,mut camera_rotation_y:f64,window_hight:f64, window_width:f64 ) { [INFO] [stdout] | ----^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `c` [INFO] [stdout] --> src/Item_Window_Manager/../Graphics/two_d_functions.rs:23:21 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn clear_screen(c: &Context, g: &mut G2d) { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_c` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/Item_Window_Manager/../Graphics/two_d_functions.rs:33:33 [INFO] [stdout] | [INFO] [stdout] 33 | fn get_first_digit(mut num: u8, mut dived_value: u8) -> u8 { [INFO] [stdout] | ----^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `size` [INFO] [stdout] --> src/Item_Window_Manager/Create_Window.rs:187:62 [INFO] [stdout] | [INFO] [stdout] 187 | fn draw_textbox(c: &Context, g: &mut G2d,position: &Point2d, size: &Point2d, keypressed: Key,current_str: &String) -> String [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_size` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_first_digit` is never used [INFO] [stdout] --> src/Graphics/two_d_functions.rs:33:4 [INFO] [stdout] | [INFO] [stdout] 33 | fn get_first_digit(mut num: u8, mut dived_value: u8) -> u8 { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `draw_textbox` is never used [INFO] [stdout] --> src/Item_Window_Manager/Create_Window.rs:187:4 [INFO] [stdout] | [INFO] [stdout] 187 | fn draw_textbox(c: &Context, g: &mut G2d,position: &Point2d, size: &Point2d, keypressed: Key,current_str: &String) -> String [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `key_to_char` is never used [INFO] [stdout] --> src/Item_Window_Manager/Create_Window.rs:227:4 [INFO] [stdout] | [INFO] [stdout] 227 | fn key_to_char(key: Key) -> Option { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `clear_screen` is never used [INFO] [stdout] --> src/Item_Window_Manager/../Graphics/two_d_functions.rs:23:8 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn clear_screen(c: &Context, g: &mut G2d) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `draw_pixel` is never used [INFO] [stdout] --> src/Item_Window_Manager/../Graphics/two_d_functions.rs:28:8 [INFO] [stdout] | [INFO] [stdout] 28 | pub fn draw_pixel(c: &Context, g: &mut G2d,position: &Point2d, color: &Color) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_first_digit` is never used [INFO] [stdout] --> src/Item_Window_Manager/../Graphics/two_d_functions.rs:33:4 [INFO] [stdout] | [INFO] [stdout] 33 | fn get_first_digit(mut num: u8, mut dived_value: u8) -> u8 { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `draw_image` is never used [INFO] [stdout] --> src/Item_Window_Manager/../Graphics/two_d_functions.rs:39:10 [INFO] [stdout] | [INFO] [stdout] 39 | pub fn draw_image(c: &Context, g: &mut G2d, colors: &[Color],position: &Point2d, grid_x: u32, grid_y: u32, scale: f64) -> Result<(), St... [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `draw_tryangle` is never used [INFO] [stdout] --> src/Item_Window_Manager/../Graphics/two_d_functions.rs:63:8 [INFO] [stdout] | [INFO] [stdout] 63 | pub fn draw_tryangle(c: &Context, g: &mut G2d,position1: &Point2d,position2: &Point2d,position3: &Point2d, color: [f32; 4]) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `Begin_3d` should have a snake case name [INFO] [stdout] --> src/Graphics/three_d_functions.rs:79:8 [INFO] [stdout] | [INFO] [stdout] 79 | pub fn Begin_3d() [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `begin_3d` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `camera_position` should have an upper case name [INFO] [stdout] --> src/Graphics/three_d_functions.rs:86:8 [INFO] [stdout] | [INFO] [stdout] 86 | static camera_position:point3d = point3d { x: 1.0, y: 0.0, z: 0.0 }; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_upper_case_globals)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] help: convert the identifier to upper case [INFO] [stdout] | [INFO] [stdout] 86 - static camera_position:point3d = point3d { x: 1.0, y: 0.0, z: 0.0 }; [INFO] [stdout] 86 + static CAMERA_POSITION:point3d = point3d { x: 1.0, y: 0.0, z: 0.0 }; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `is_key_down` should have an upper case name [INFO] [stdout] --> src/Item_Window_Manager/Create_Window.rs:182:8 [INFO] [stdout] | [INFO] [stdout] 182 | static is_key_down: Mutex = Mutex::new(false); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: convert the identifier to upper case [INFO] [stdout] | [INFO] [stdout] 182 - static is_key_down: Mutex = Mutex::new(false); [INFO] [stdout] 182 + static IS_KEY_DOWN: Mutex = Mutex::new(false); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `textbox_held` should have an upper case name [INFO] [stdout] --> src/Item_Window_Manager/Create_Window.rs:184:8 [INFO] [stdout] | [INFO] [stdout] 184 | static textbox_held: Mutex = Mutex::new(0); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: convert the identifier to upper case [INFO] [stdout] | [INFO] [stdout] 184 - static textbox_held: Mutex = Mutex::new(0); [INFO] [stdout] 184 + static TEXTBOX_HELD: Mutex = Mutex::new(0); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.26s [INFO] running `Command { std: "docker" "inspect" "b828f2ba9c192c44b7150e2a42d6c8369a9b6ca3717abf067a5c1588fd26918d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b828f2ba9c192c44b7150e2a42d6c8369a9b6ca3717abf067a5c1588fd26918d", kill_on_drop: false }` [INFO] [stdout] b828f2ba9c192c44b7150e2a42d6c8369a9b6ca3717abf067a5c1588fd26918d