[INFO] cloning repository https://github.com/argencore/rustyGFX [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/argencore/rustyGFX" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fargencore%2FrustyGFX", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fargencore%2FrustyGFX'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 7fd978623e0de016f5e7ed015fb1f720c658c162 [INFO] checking argencore/rustyGFX/7fd978623e0de016f5e7ed015fb1f720c658c162 against master#ab869e094a907cc5d19b4080f22eccaf347f1f95 for pr-129604 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fargencore%2FrustyGFX" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/argencore/rustyGFX 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/argencore/rustyGFX [INFO] finished tweaking git repo https://github.com/argencore/rustyGFX [INFO] tweaked toml for git repo https://github.com/argencore/rustyGFX written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/argencore/rustyGFX 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] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded gl_generator v0.5.5 [INFO] [stderr] Downloaded proc-macro2 v0.4.3 [INFO] [stderr] Downloaded cgl v0.2.2 [INFO] [stderr] Downloaded xml-rs v0.6.1 [INFO] [stderr] Downloaded gleam v0.5.0 [INFO] [stderr] Downloaded jpeg-decoder v0.1.14 [INFO] [stderr] Downloaded x11-dl v2.17.5 [INFO] [stderr] Downloaded rayon-core v1.4.0 [INFO] [stderr] Downloaded inflate v0.4.2 [INFO] [stderr] Downloaded syn v0.14.0 [INFO] [stderr] Downloaded num-traits v0.2.4 [INFO] [stderr] Downloaded rayon v1.0.1 [INFO] [stderr] Downloaded serde v1.0.59 [INFO] [stderr] Downloaded shared_library v0.1.8 [INFO] [stderr] Downloaded redox_syscall v0.1.38 [INFO] [stderr] Downloaded tempfile v3.0.2 [INFO] [stderr] Downloaded smallvec v0.6.1 [INFO] [stderr] Downloaded num-integer v0.1.38 [INFO] [stderr] Downloaded serde_derive v1.0.59 [INFO] [stderr] Downloaded backtrace-sys v0.1.19 [INFO] [stderr] Downloaded khronos_api v1.0.1 [INFO] [stderr] Downloaded obj-rs v0.4.20 [INFO] [stderr] Downloaded glium v0.21.0 [INFO] [stderr] Downloaded quote v0.6.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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] 94344f9a0cdbe4e2b6d74d3f095b814755a806b6d767bd4a1a76aed6bf2a30ba [INFO] running `Command { std: "docker" "start" "-a" "94344f9a0cdbe4e2b6d74d3f095b814755a806b6d767bd4a1a76aed6bf2a30ba", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "94344f9a0cdbe4e2b6d74d3f095b814755a806b6d767bd4a1a76aed6bf2a30ba", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "94344f9a0cdbe4e2b6d74d3f095b814755a806b6d767bd4a1a76aed6bf2a30ba", kill_on_drop: false }` [INFO] [stdout] 94344f9a0cdbe4e2b6d74d3f095b814755a806b6d767bd4a1a76aed6bf2a30ba [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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] 24223a96caa40a4f5d804f54d4b524d538016db0bae9f54857c16c718d3c7ab7 [INFO] running `Command { std: "docker" "start" "-a" "24223a96caa40a4f5d804f54d4b524d538016db0bae9f54857c16c718d3c7ab7", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Checking libc v0.2.41 [INFO] [stderr] Compiling cc v1.0.15 [INFO] [stderr] Compiling bitflags v1.0.3 [INFO] [stderr] Checking lazy_static v1.0.0 [INFO] [stderr] Compiling cfg-if v0.1.3 [INFO] [stderr] Compiling khronos_api v2.2.0 [INFO] [stderr] Compiling log v0.4.1 [INFO] [stderr] Compiling xml-rs v0.7.0 [INFO] [stderr] Compiling num-traits v0.2.4 [INFO] [stderr] Compiling winapi-build v0.1.1 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Checking token_store v0.1.2 [INFO] [stderr] Checking nodrop v0.1.12 [INFO] [stderr] Checking arrayvec v0.4.7 [INFO] [stderr] Compiling proc-macro2 v0.4.3 [INFO] [stderr] Checking crossbeam-utils v0.2.2 [INFO] [stderr] Compiling pkg-config v0.3.11 [INFO] [stderr] Checking scopeguard v0.3.3 [INFO] [stderr] Checking rand v0.4.2 [INFO] [stderr] Checking memoffset v0.2.1 [INFO] [stderr] Compiling num-integer v0.1.38 [INFO] [stderr] Compiling bitflags v0.9.1 [INFO] [stderr] Checking crossbeam-epoch v0.3.1 [INFO] [stderr] Compiling xml-rs v0.6.1 [INFO] [stderr] Compiling x11-dl v2.17.5 [INFO] [stderr] Compiling quote v0.6.2 [INFO] [stderr] Checking memmap v0.6.2 [INFO] [stderr] Compiling wayland-scanner v0.12.5 [INFO] [stderr] Compiling gl_generator v0.9.0 [INFO] [stderr] Compiling log v0.3.9 [INFO] [stderr] Compiling libloading v0.5.0 [INFO] [stderr] Compiling backtrace-sys v0.1.19 [INFO] [stderr] Compiling dbghelp-sys v0.2.0 [INFO] [stderr] Compiling kernel32-sys v0.2.2 [INFO] [stderr] Checking remove_dir_all v0.5.1 [INFO] [stderr] Compiling wayland-client v0.12.5 [INFO] [stderr] Compiling wayland-protocols v0.12.5 [INFO] [stderr] Compiling khronos_api v1.0.1 [INFO] [stderr] Checking dlib v0.4.1 [INFO] [stderr] Checking wayland-sys v0.12.5 [INFO] [stderr] Checking winapi v0.2.8 [INFO] [stderr] Compiling rayon-core v1.4.0 [INFO] [stderr] Compiling gl_generator v0.5.5 [INFO] [stderr] Checking tempfile v3.0.2 [INFO] [stderr] Compiling syn v0.14.0 [INFO] [stderr] Checking crossbeam-deque v0.2.0 [INFO] [stderr] Checking num_cpus v1.8.0 [INFO] [stderr] Checking byteorder v1.2.3 [INFO] [stderr] Compiling num-iter v0.1.37 [INFO] [stderr] Checking adler32 v1.0.2 [INFO] [stderr] Compiling glutin v0.14.0 [INFO] [stderr] Compiling glium v0.14.0 [INFO] [stderr] Checking shared_library v0.1.8 [INFO] [stderr] Checking either v1.5.0 [INFO] [stderr] Compiling serde v1.0.59 [INFO] [stderr] Checking percent-encoding v1.0.1 [INFO] [stderr] Checking debug-builders v0.1.0 [INFO] [stderr] Checking wayland-kbd v0.13.1 [INFO] [stderr] Checking rayon v1.0.1 [INFO] [stderr] Checking osmesa-sys v0.1.2 [INFO] [stderr] Checking deflate v0.7.18 [INFO] [stderr] Checking inflate v0.4.2 [INFO] [stderr] Compiling glium v0.21.0 [INFO] [stderr] Checking lzw v0.10.0 [INFO] [stderr] Checking color_quant v1.0.0 [INFO] [stderr] Checking smallvec v0.1.8 [INFO] [stderr] Checking lazy_static v0.1.16 [INFO] [stderr] Checking rustc-demangle v0.1.8 [INFO] [stderr] Checking gif v0.10.0 [INFO] [stderr] Compiling serde_derive v1.0.59 [INFO] [stderr] Compiling num-derive v0.2.2 [INFO] [stderr] Checking jpeg-decoder v0.1.14 [INFO] [stderr] Checking png v0.12.0 [INFO] [stderr] Checking num-rational v0.1.42 [INFO] [stderr] Checking wayland-window v0.13.3 [INFO] [stderr] Checking smallvec v0.6.1 [INFO] [stderr] Checking vec_map v0.6.0 [INFO] [stderr] Checking fnv v1.0.6 [INFO] [stderr] Checking winit v0.12.0 [INFO] [stderr] Checking scoped_threadpool v0.1.9 [INFO] [stderr] Checking image v0.19.0 [INFO] [stderr] Checking backtrace v0.1.8 [INFO] [stderr] Checking backtrace v0.3.8 [INFO] [stderr] Checking obj-rs v0.4.20 [INFO] [stderr] Checking rustyGFX v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: type `program_state` should have an upper camel case name [INFO] [stdout] --> src/main.rs:30:6 [INFO] [stdout] | [INFO] [stdout] 30 | enum program_state { [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `ProgramState` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/matrix_math_helper.rs:18:1 [INFO] [stdout] | [INFO] [stdout] 18 | implement_vertex!(Vertex, position); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in the macro `implement_vertex` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `program_state` should have an upper camel case name [INFO] [stdout] --> src/main.rs:30:6 [INFO] [stdout] | [INFO] [stdout] 30 | enum program_state { [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `ProgramState` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/matrix_math_helper.rs:29:1 [INFO] [stdout] | [INFO] [stdout] 29 | implement_vertex!(Texture, tex_coords); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `implement_vertex` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/matrix_math_helper.rs:40:1 [INFO] [stdout] | [INFO] [stdout] 40 | implement_vertex!(Normal, normal); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `implement_vertex` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/matrix_math_helper.rs:53:1 [INFO] [stdout] | [INFO] [stdout] 53 | implement_vertex!(Face, position, tex_coord, normal); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `implement_vertex` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/matrix_math_helper.rs:65:1 [INFO] [stdout] | [INFO] [stdout] 65 | implement_vertex!(PosTex, position, tex_coords); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `implement_vertex` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/matrix_math_helper.rs:18:1 [INFO] [stdout] | [INFO] [stdout] 18 | implement_vertex!(Vertex, position); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `implement_vertex` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/matrix_math_helper.rs:29:1 [INFO] [stdout] | [INFO] [stdout] 29 | implement_vertex!(Texture, tex_coords); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `implement_vertex` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/matrix_math_helper.rs:40:1 [INFO] [stdout] | [INFO] [stdout] 40 | implement_vertex!(Normal, normal); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `implement_vertex` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/matrix_math_helper.rs:53:1 [INFO] [stdout] | [INFO] [stdout] 53 | implement_vertex!(Face, position, tex_coord, normal); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `implement_vertex` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/matrix_math_helper.rs:65:1 [INFO] [stdout] | [INFO] [stdout] 65 | implement_vertex!(PosTex, position, tex_coords); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `implement_vertex` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/matrix_math_helper.rs:18:1 [INFO] [stdout] | [INFO] [stdout] 18 | implement_vertex!(Vertex, position); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `implement_vertex` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/matrix_math_helper.rs:29:1 [INFO] [stdout] | [INFO] [stdout] 29 | implement_vertex!(Texture, tex_coords); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `implement_vertex` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/matrix_math_helper.rs:40:1 [INFO] [stdout] | [INFO] [stdout] 40 | implement_vertex!(Normal, normal); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `implement_vertex` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/matrix_math_helper.rs:53:1 [INFO] [stdout] | [INFO] [stdout] 53 | implement_vertex!(Face, position, tex_coord, normal); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `implement_vertex` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/matrix_math_helper.rs:65:1 [INFO] [stdout] | [INFO] [stdout] 65 | implement_vertex!(PosTex, position, tex_coords); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `implement_vertex` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/matrix_math_helper.rs:18:1 [INFO] [stdout] | [INFO] [stdout] 18 | implement_vertex!(Vertex, position); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in the macro `implement_vertex` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/matrix_math_helper.rs:29:1 [INFO] [stdout] | [INFO] [stdout] 29 | implement_vertex!(Texture, tex_coords); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `implement_vertex` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/matrix_math_helper.rs:40:1 [INFO] [stdout] | [INFO] [stdout] 40 | implement_vertex!(Normal, normal); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `implement_vertex` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/matrix_math_helper.rs:53:1 [INFO] [stdout] | [INFO] [stdout] 53 | implement_vertex!(Face, position, tex_coord, normal); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `implement_vertex` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/matrix_math_helper.rs:65:1 [INFO] [stdout] | [INFO] [stdout] 65 | implement_vertex!(PosTex, position, tex_coords); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `implement_vertex` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/matrix_math_helper.rs:18:1 [INFO] [stdout] | [INFO] [stdout] 18 | implement_vertex!(Vertex, position); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `implement_vertex` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/matrix_math_helper.rs:29:1 [INFO] [stdout] | [INFO] [stdout] 29 | implement_vertex!(Texture, tex_coords); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `implement_vertex` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/matrix_math_helper.rs:40:1 [INFO] [stdout] | [INFO] [stdout] 40 | implement_vertex!(Normal, normal); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `implement_vertex` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/matrix_math_helper.rs:53:1 [INFO] [stdout] | [INFO] [stdout] 53 | implement_vertex!(Face, position, tex_coord, normal); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `implement_vertex` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/matrix_math_helper.rs:65:1 [INFO] [stdout] | [INFO] [stdout] 65 | implement_vertex!(PosTex, position, tex_coords); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `implement_vertex` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/matrix_math_helper.rs:18:1 [INFO] [stdout] | [INFO] [stdout] 18 | implement_vertex!(Vertex, position); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `implement_vertex` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/matrix_math_helper.rs:29:1 [INFO] [stdout] | [INFO] [stdout] 29 | implement_vertex!(Texture, tex_coords); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `implement_vertex` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/matrix_math_helper.rs:40:1 [INFO] [stdout] | [INFO] [stdout] 40 | implement_vertex!(Normal, normal); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `implement_vertex` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/matrix_math_helper.rs:53:1 [INFO] [stdout] | [INFO] [stdout] 53 | implement_vertex!(Face, position, tex_coord, normal); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `implement_vertex` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/matrix_math_helper.rs:65:1 [INFO] [stdout] | [INFO] [stdout] 65 | implement_vertex!(PosTex, position, tex_coords); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `implement_vertex` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `state` is never read [INFO] [stdout] --> src/main.rs:43:13 [INFO] [stdout] | [INFO] [stdout] 43 | let mut state = program_state::INITIALIZING; [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 passed to `state` is never read [INFO] [stdout] --> src/main.rs:71:9 [INFO] [stdout] | [INFO] [stdout] 71 | mut state: program_state, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `STOPPING` and `STOPPED` are never constructed [INFO] [stdout] --> src/main.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 30 | enum program_state { [INFO] [stdout] | ------------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 34 | STOPPING, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 35 | STOPPED, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `program_state` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `objectName` should have a snake case name [INFO] [stdout] --> src/main.rs:87:13 [INFO] [stdout] | [INFO] [stdout] 87 | let mut objectName = object_parser::getObjectFileName(index); [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `object_name` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `posTex` should have a snake case name [INFO] [stdout] --> src/main.rs:97:13 [INFO] [stdout] | [INFO] [stdout] 97 | let mut posTex = object_parser::posTex(&shape, &texels); [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `pos_tex` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `posTex` should have a snake case name [INFO] [stdout] --> src/main.rs:185:5 [INFO] [stdout] | [INFO] [stdout] 185 | posTex: &Vec, [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `pos_tex` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/shader_parser.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | file.read_to_string(&mut contents); [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] 21 | let _ = file.read_to_string(&mut contents); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `fileName` should have a snake case name [INFO] [stdout] --> src/object_parser.rs:35:17 [INFO] [stdout] | [INFO] [stdout] 35 | pub fn vertices(fileName: &String) -> Vec { [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `file_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `vertStrings` should have a snake case name [INFO] [stdout] --> src/object_parser.rs:39:9 [INFO] [stdout] | [INFO] [stdout] 39 | let vertStrings = fileSection(&fileName, "v".to_string()); [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `vert_strings` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `unmodifiedTextures` should have a snake case name [INFO] [stdout] --> src/object_parser.rs:84:8 [INFO] [stdout] | [INFO] [stdout] 84 | pub fn unmodifiedTextures(fileName: &String) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `unmodified_textures` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `fileName` should have a snake case name [INFO] [stdout] --> src/object_parser.rs:84:27 [INFO] [stdout] | [INFO] [stdout] 84 | pub fn unmodifiedTextures(fileName: &String) -> Vec { [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `file_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `texStrings` should have a snake case name [INFO] [stdout] --> src/object_parser.rs:89:9 [INFO] [stdout] | [INFO] [stdout] 89 | let texStrings = fileSection(&fileName, "vt".to_string()); [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `tex_strings` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `unmodifiedNormals` should have a snake case name [INFO] [stdout] --> src/object_parser.rs:117:8 [INFO] [stdout] | [INFO] [stdout] 117 | pub fn unmodifiedNormals(fileName: &String) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `unmodified_normals` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `fileName` should have a snake case name [INFO] [stdout] --> src/object_parser.rs:117:26 [INFO] [stdout] | [INFO] [stdout] 117 | pub fn unmodifiedNormals(fileName: &String) -> Vec { [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `file_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `normalStrings` should have a snake case name [INFO] [stdout] --> src/object_parser.rs:121:9 [INFO] [stdout] | [INFO] [stdout] 121 | let normalStrings = fileSection(&fileName, "vn".to_string()); [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `normal_strings` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `fileName` should have a snake case name [INFO] [stdout] --> src/object_parser.rs:162:14 [INFO] [stdout] | [INFO] [stdout] 162 | pub fn faces(fileName: &String) -> Vec { [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `file_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `faceStrings` should have a snake case name [INFO] [stdout] --> src/object_parser.rs:166:9 [INFO] [stdout] | [INFO] [stdout] 166 | let faceStrings = fileSection(&fileName, "f".to_string()); [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `face_strings` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `fileName` should have a snake case name [INFO] [stdout] --> src/object_parser.rs:206:18 [INFO] [stdout] | [INFO] [stdout] 206 | pub fn positions(fileName: String) -> Vec { [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `file_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `fileName` should have a snake case name [INFO] [stdout] --> src/object_parser.rs:232:15 [INFO] [stdout] | [INFO] [stdout] 232 | pub fn texels(fileName: String) -> Vec { [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `file_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `fileName` should have a snake case name [INFO] [stdout] --> src/object_parser.rs:253:16 [INFO] [stdout] | [INFO] [stdout] 253 | pub fn normals(fileName: String) -> Vec { [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `file_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `posTex` should have a snake case name [INFO] [stdout] --> src/object_parser.rs:273:8 [INFO] [stdout] | [INFO] [stdout] 273 | pub fn posTex(positions: &Vec, texels: &Vec) -> Vec { [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `pos_tex` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `posTex` should have a snake case name [INFO] [stdout] --> src/object_parser.rs:275:13 [INFO] [stdout] | [INFO] [stdout] 275 | let mut posTex: Vec = Vec::new(); [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `pos_tex` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test_posTex` should have a snake case name [INFO] [stdout] --> src/object_parser.rs:293:4 [INFO] [stdout] | [INFO] [stdout] 293 | fn test_posTex() { [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `test_pos_tex` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `test_posTex` should have a snake case name [INFO] [stdout] --> src/object_parser.rs:300:9 [INFO] [stdout] | [INFO] [stdout] 300 | let test_posTex = mat::PosTex { [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `test_pos_tex` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `vVec` should have a snake case name [INFO] [stdout] --> src/object_parser.rs:304:13 [INFO] [stdout] | [INFO] [stdout] 304 | let mut vVec: Vec = Vec::new(); [INFO] [stdout] | ^^^^ help: convert the identifier to snake case: `v_vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `tVec` should have a snake case name [INFO] [stdout] --> src/object_parser.rs:305:13 [INFO] [stdout] | [INFO] [stdout] 305 | let mut tVec: Vec = Vec::new(); [INFO] [stdout] | ^^^^ help: convert the identifier to snake case: `t_vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `test_posTex_vec` should have a snake case name [INFO] [stdout] --> src/object_parser.rs:308:9 [INFO] [stdout] | [INFO] [stdout] 308 | let test_posTex_vec = posTex(&vVec, &tVec); [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `test_pos_tex_vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `getObjectFileName` should have a snake case name [INFO] [stdout] --> src/object_parser.rs:321:8 [INFO] [stdout] | [INFO] [stdout] 321 | pub fn getObjectFileName(index: usize) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `get_object_file_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `state` is never read [INFO] [stdout] --> src/main.rs:43:13 [INFO] [stdout] | [INFO] [stdout] 43 | let mut state = program_state::INITIALIZING; [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: unused `Result` that must be used [INFO] [stdout] --> src/object_parser.rs:326:5 [INFO] [stdout] | [INFO] [stdout] 326 | file.read_to_string(&mut content); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 326 | let _ = file.read_to_string(&mut content); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `fileSection` should have a snake case name [INFO] [stdout] --> src/object_parser.rs:338:8 [INFO] [stdout] | [INFO] [stdout] 338 | pub fn fileSection(ref fileName: &String, token: String) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `file_section` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `fileName` should have a snake case name [INFO] [stdout] --> src/object_parser.rs:338:24 [INFO] [stdout] | [INFO] [stdout] 338 | pub fn fileSection(ref fileName: &String, token: String) -> Vec { [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `file_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `tokenLines` should have a snake case name [INFO] [stdout] --> src/object_parser.rs:343:13 [INFO] [stdout] | [INFO] [stdout] 343 | let mut tokenLines: Vec = Vec::new(); [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `token_lines` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/object_parser.rs:345:5 [INFO] [stdout] | [INFO] [stdout] 345 | file.read_to_string(&mut content); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 345 | let _ = file.read_to_string(&mut content); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test_fileSelection` should have a snake case name [INFO] [stdout] --> src/object_parser.rs:359:4 [INFO] [stdout] | [INFO] [stdout] 359 | fn test_fileSelection() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `test_file_selection` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value passed to `state` is never read [INFO] [stdout] --> src/main.rs:71:9 [INFO] [stdout] | [INFO] [stdout] 71 | mut state: program_state, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 50 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `STOPPING` and `STOPPED` are never constructed [INFO] [stdout] --> src/main.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 30 | enum program_state { [INFO] [stdout] | ------------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 34 | STOPPING, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 35 | STOPPED, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `program_state` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `objectName` should have a snake case name [INFO] [stdout] --> src/main.rs:87:13 [INFO] [stdout] | [INFO] [stdout] 87 | let mut objectName = object_parser::getObjectFileName(index); [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `object_name` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `posTex` should have a snake case name [INFO] [stdout] --> src/main.rs:97:13 [INFO] [stdout] | [INFO] [stdout] 97 | let mut posTex = object_parser::posTex(&shape, &texels); [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `pos_tex` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `posTex` should have a snake case name [INFO] [stdout] --> src/main.rs:185:5 [INFO] [stdout] | [INFO] [stdout] 185 | posTex: &Vec, [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `pos_tex` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/shader_parser.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | file.read_to_string(&mut contents); [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] 21 | let _ = file.read_to_string(&mut contents); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `fileName` should have a snake case name [INFO] [stdout] --> src/object_parser.rs:35:17 [INFO] [stdout] | [INFO] [stdout] 35 | pub fn vertices(fileName: &String) -> Vec { [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `file_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `vertStrings` should have a snake case name [INFO] [stdout] --> src/object_parser.rs:39:9 [INFO] [stdout] | [INFO] [stdout] 39 | let vertStrings = fileSection(&fileName, "v".to_string()); [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `vert_strings` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `unmodifiedTextures` should have a snake case name [INFO] [stdout] --> src/object_parser.rs:84:8 [INFO] [stdout] | [INFO] [stdout] 84 | pub fn unmodifiedTextures(fileName: &String) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `unmodified_textures` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `fileName` should have a snake case name [INFO] [stdout] --> src/object_parser.rs:84:27 [INFO] [stdout] | [INFO] [stdout] 84 | pub fn unmodifiedTextures(fileName: &String) -> Vec { [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `file_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `texStrings` should have a snake case name [INFO] [stdout] --> src/object_parser.rs:89:9 [INFO] [stdout] | [INFO] [stdout] 89 | let texStrings = fileSection(&fileName, "vt".to_string()); [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `tex_strings` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `unmodifiedNormals` should have a snake case name [INFO] [stdout] --> src/object_parser.rs:117:8 [INFO] [stdout] | [INFO] [stdout] 117 | pub fn unmodifiedNormals(fileName: &String) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `unmodified_normals` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `fileName` should have a snake case name [INFO] [stdout] --> src/object_parser.rs:117:26 [INFO] [stdout] | [INFO] [stdout] 117 | pub fn unmodifiedNormals(fileName: &String) -> Vec { [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `file_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `normalStrings` should have a snake case name [INFO] [stdout] --> src/object_parser.rs:121:9 [INFO] [stdout] | [INFO] [stdout] 121 | let normalStrings = fileSection(&fileName, "vn".to_string()); [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `normal_strings` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `fileName` should have a snake case name [INFO] [stdout] --> src/object_parser.rs:162:14 [INFO] [stdout] | [INFO] [stdout] 162 | pub fn faces(fileName: &String) -> Vec { [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `file_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `faceStrings` should have a snake case name [INFO] [stdout] --> src/object_parser.rs:166:9 [INFO] [stdout] | [INFO] [stdout] 166 | let faceStrings = fileSection(&fileName, "f".to_string()); [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `face_strings` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `fileName` should have a snake case name [INFO] [stdout] --> src/object_parser.rs:206:18 [INFO] [stdout] | [INFO] [stdout] 206 | pub fn positions(fileName: String) -> Vec { [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `file_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `fileName` should have a snake case name [INFO] [stdout] --> src/object_parser.rs:232:15 [INFO] [stdout] | [INFO] [stdout] 232 | pub fn texels(fileName: String) -> Vec { [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `file_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `fileName` should have a snake case name [INFO] [stdout] --> src/object_parser.rs:253:16 [INFO] [stdout] | [INFO] [stdout] 253 | pub fn normals(fileName: String) -> Vec { [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `file_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `posTex` should have a snake case name [INFO] [stdout] --> src/object_parser.rs:273:8 [INFO] [stdout] | [INFO] [stdout] 273 | pub fn posTex(positions: &Vec, texels: &Vec) -> Vec { [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `pos_tex` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `posTex` should have a snake case name [INFO] [stdout] --> src/object_parser.rs:275:13 [INFO] [stdout] | [INFO] [stdout] 275 | let mut posTex: Vec = Vec::new(); [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `pos_tex` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `getObjectFileName` should have a snake case name [INFO] [stdout] --> src/object_parser.rs:321:8 [INFO] [stdout] | [INFO] [stdout] 321 | pub fn getObjectFileName(index: usize) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `get_object_file_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/object_parser.rs:326:5 [INFO] [stdout] | [INFO] [stdout] 326 | file.read_to_string(&mut content); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 326 | let _ = file.read_to_string(&mut content); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `fileSection` should have a snake case name [INFO] [stdout] --> src/object_parser.rs:338:8 [INFO] [stdout] | [INFO] [stdout] 338 | pub fn fileSection(ref fileName: &String, token: String) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `file_section` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `fileName` should have a snake case name [INFO] [stdout] --> src/object_parser.rs:338:24 [INFO] [stdout] | [INFO] [stdout] 338 | pub fn fileSection(ref fileName: &String, token: String) -> Vec { [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `file_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `tokenLines` should have a snake case name [INFO] [stdout] --> src/object_parser.rs:343:13 [INFO] [stdout] | [INFO] [stdout] 343 | let mut tokenLines: Vec = Vec::new(); [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `token_lines` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/object_parser.rs:345:5 [INFO] [stdout] | [INFO] [stdout] 345 | file.read_to_string(&mut content); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 345 | let _ = file.read_to_string(&mut content); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 44 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 53.11s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: syn v0.14.0 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 2` [INFO] running `Command { std: "docker" "inspect" "24223a96caa40a4f5d804f54d4b524d538016db0bae9f54857c16c718d3c7ab7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "24223a96caa40a4f5d804f54d4b524d538016db0bae9f54857c16c718d3c7ab7", kill_on_drop: false }` [INFO] [stdout] 24223a96caa40a4f5d804f54d4b524d538016db0bae9f54857c16c718d3c7ab7