[INFO] cloning repository https://github.com/solarsail/learnopengl-gfxrs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/solarsail/learnopengl-gfxrs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsolarsail%2Flearnopengl-gfxrs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsolarsail%2Flearnopengl-gfxrs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 349073d65434ac49dc044f75b30b33b318511a70 [INFO] checking solarsail/learnopengl-gfxrs against master#9fa580b1175018b0a276b0bc68f9827a106f7260 for pr-82565 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsolarsail%2Flearnopengl-gfxrs" "/workspace/builds/worker-8/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-8/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/solarsail/learnopengl-gfxrs on toolchain 9fa580b1175018b0a276b0bc68f9827a106f7260 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+9fa580b1175018b0a276b0bc68f9827a106f7260" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/solarsail/learnopengl-gfxrs [INFO] finished tweaking git repo https://github.com/solarsail/learnopengl-gfxrs [INFO] tweaked toml for git repo https://github.com/solarsail/learnopengl-gfxrs written to /workspace/builds/worker-8/source/Cargo.toml [INFO] crate git repo https://github.com/solarsail/learnopengl-gfxrs already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+9fa580b1175018b0a276b0bc68f9827a106f7260" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+9fa580b1175018b0a276b0bc68f9827a106f7260" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 739f56ffe82d8a7fbe72b3c0848bd81b756994a415e8c678eec808392f25ffc5 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "739f56ffe82d8a7fbe72b3c0848bd81b756994a415e8c678eec808392f25ffc5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "739f56ffe82d8a7fbe72b3c0848bd81b756994a415e8c678eec808392f25ffc5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "739f56ffe82d8a7fbe72b3c0848bd81b756994a415e8c678eec808392f25ffc5", kill_on_drop: false }` [INFO] [stdout] 739f56ffe82d8a7fbe72b3c0848bd81b756994a415e8c678eec808392f25ffc5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+9fa580b1175018b0a276b0bc68f9827a106f7260" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ce0c6b85054db3d9838e58f101821d955f00f5f2abfe100be2885a696feee781 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "ce0c6b85054db3d9838e58f101821d955f00f5f2abfe100be2885a696feee781", kill_on_drop: false }` [INFO] [stderr] Compiling siphasher v0.2.2 [INFO] [stderr] Compiling libc v0.2.29 [INFO] [stderr] Checking lazy_static v0.2.8 [INFO] [stderr] Compiling num-traits v0.1.40 [INFO] [stderr] Compiling serde v0.9.15 [INFO] [stderr] Compiling itoa v0.3.1 [INFO] [stderr] Compiling bitflags v0.9.1 [INFO] [stderr] Compiling winapi-build v0.1.1 [INFO] [stderr] Compiling unicode-xid v0.0.4 [INFO] [stderr] Compiling khronos_api v1.0.1 [INFO] [stderr] Compiling log v0.3.8 [INFO] [stderr] Compiling quote v0.3.15 [INFO] [stderr] Checking byteorder v1.1.0 [INFO] [stderr] Checking winapi v0.2.8 [INFO] [stderr] Compiling pkg-config v0.3.9 [INFO] [stderr] Checking bitflags v0.7.0 [INFO] [stderr] Checking either v1.1.0 [INFO] [stderr] Compiling rayon-core v1.2.1 [INFO] [stderr] Checking scopeguard v0.3.2 [INFO] [stderr] Checking futures v0.1.14 [INFO] [stderr] Checking unicode-width v0.1.4 [INFO] [stderr] Checking lzw v0.10.0 [INFO] [stderr] Checking color_quant v1.0.0 [INFO] [stderr] Checking inflate v0.2.0 [INFO] [stderr] Checking scoped_threadpool v0.1.7 [INFO] [stderr] Checking approx v0.1.1 [INFO] [stderr] Checking spin_sleep v0.3.1 [INFO] [stderr] Checking rand v0.3.16 [INFO] [stderr] Checking num_cpus v1.6.2 [INFO] [stderr] Checking atty v0.2.3 [INFO] [stderr] Checking num-integer v0.1.35 [INFO] [stderr] Checking enum_primitive v0.1.1 [INFO] [stderr] Compiling itertools v0.5.10 [INFO] [stderr] Checking draw_state v0.7.1 [INFO] [stderr] Compiling xml-rs v0.6.1 [INFO] [stderr] Checking shared_library v0.1.7 [INFO] [stderr] Compiling synom v0.11.3 [INFO] [stderr] Compiling phf_shared v0.7.21 [INFO] [stderr] Checking deflate v0.7.16 [INFO] [stderr] Compiling syn v0.10.8 [INFO] [stderr] Checking coco v0.1.1 [INFO] [stderr] Compiling kernel32-sys v0.2.2 [INFO] [stderr] Checking textwrap v0.8.0 [INFO] [stderr] Compiling wayland-scanner v0.9.9 [INFO] [stderr] Checking gif v0.9.2 [INFO] [stderr] Compiling syn v0.11.11 [INFO] [stderr] Checking osmesa-sys v0.1.2 [INFO] [stderr] Checking num-iter v0.1.34 [INFO] [stderr] Checking num-rational v0.1.39 [INFO] [stderr] Compiling phf v0.7.21 [INFO] [stderr] Compiling x11-dl v2.15.0 [INFO] [stderr] Checking clap v2.26.2 [INFO] [stderr] Checking fs2 v0.2.5 [INFO] [stderr] Checking tempfile v2.1.6 [INFO] [stderr] Checking cgmath v0.15.0 [INFO] [stderr] Checking memmap v0.4.0 [INFO] [stderr] Compiling gl_generator v0.5.5 [INFO] [stderr] Compiling phf_generator v0.7.21 [INFO] [stderr] Compiling wayland-client v0.9.9 [INFO] [stderr] Checking png v0.9.0 [INFO] [stderr] Compiling phf_codegen v0.7.21 [INFO] [stderr] Compiling target_build_utils v0.3.1 [INFO] [stderr] Checking rayon v0.8.2 [INFO] [stderr] Compiling gfx_gl v0.3.1 [INFO] [stderr] Compiling glutin v0.9.2 [INFO] [stderr] Compiling structopt-derive v0.1.1 [INFO] [stderr] Checking jpeg-decoder v0.1.13 [INFO] [stderr] Compiling serde_json v0.9.10 [INFO] [stderr] Checking image v0.15.0 [INFO] [stderr] Compiling derivative v1.0.0 [INFO] [stderr] Checking structopt v0.1.1 [INFO] [stderr] Checking gfx_core v0.7.1 [INFO] [stderr] Compiling libloading v0.3.4 [INFO] [stderr] Checking gfx_device_gl v0.14.2 [INFO] [stderr] Checking gfx v0.16.1 [INFO] [stderr] Checking dlib v0.3.1 [INFO] [stderr] Checking wayland-sys v0.9.9 [INFO] [stderr] Checking wayland-kbd v0.9.1 [INFO] [stderr] Checking wayland-window v0.6.1 [INFO] [stderr] Checking winit v0.7.5 [INFO] [stderr] Checking gfx_window_glutin v0.17.0 [INFO] [stderr] Checking learnopengl-gfxrs v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/02-lighting/203-materials/system/camera.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | / lazy_static! { [INFO] [stdout] 8 | | static ref KEY_MAP: HashMap = { [INFO] [stdout] 9 | | let mut m = HashMap::new(); [INFO] [stdout] 10 | | m.insert(VirtualKeyCode::W, MD::Up); [INFO] [stdout] ... | [INFO] [stdout] 15 | | }; [INFO] [stdout] 16 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/02-lighting/203-materials/system/camera.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | / lazy_static! { [INFO] [stdout] 8 | | static ref KEY_MAP: HashMap = { [INFO] [stdout] 9 | | let mut m = HashMap::new(); [INFO] [stdout] 10 | | m.insert(VirtualKeyCode::W, MD::Up); [INFO] [stdout] ... | [INFO] [stdout] 15 | | }; [INFO] [stdout] 16 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/02-lighting/204-lighting-maps/system/camera.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | / lazy_static! { [INFO] [stdout] 8 | | static ref KEY_MAP: HashMap = { [INFO] [stdout] 9 | | let mut m = HashMap::new(); [INFO] [stdout] 10 | | m.insert(VirtualKeyCode::W, MD::Up); [INFO] [stdout] ... | [INFO] [stdout] 15 | | }; [INFO] [stdout] 16 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/02-lighting/204-lighting-maps/system/camera.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | / lazy_static! { [INFO] [stdout] 8 | | static ref KEY_MAP: HashMap = { [INFO] [stdout] 9 | | let mut m = HashMap::new(); [INFO] [stdout] 10 | | m.insert(VirtualKeyCode::W, MD::Up); [INFO] [stdout] ... | [INFO] [stdout] 15 | | }; [INFO] [stdout] 16 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/02-lighting/202-basic-lighting-revised/system/camera.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | / lazy_static! { [INFO] [stdout] 8 | | static ref KEY_MAP: HashMap = { [INFO] [stdout] 9 | | let mut m = HashMap::new(); [INFO] [stdout] 10 | | m.insert(VirtualKeyCode::W, MD::Up); [INFO] [stdout] ... | [INFO] [stdout] 15 | | }; [INFO] [stdout] 16 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/02-lighting/202-basic-lighting-revised/system/camera.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | / lazy_static! { [INFO] [stdout] 8 | | static ref KEY_MAP: HashMap = { [INFO] [stdout] 9 | | let mut m = HashMap::new(); [INFO] [stdout] 10 | | m.insert(VirtualKeyCode::W, MD::Up); [INFO] [stdout] ... | [INFO] [stdout] 15 | | }; [INFO] [stdout] 16 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/02-lighting/204-lighting-maps/system/camera.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | / lazy_static! { [INFO] [stdout] 8 | | static ref KEY_MAP: HashMap = { [INFO] [stdout] 9 | | let mut m = HashMap::new(); [INFO] [stdout] 10 | | m.insert(VirtualKeyCode::W, MD::Up); [INFO] [stdout] ... | [INFO] [stdout] 15 | | }; [INFO] [stdout] 16 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/02-lighting/204-lighting-maps/system/camera.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | / lazy_static! { [INFO] [stdout] 8 | | static ref KEY_MAP: HashMap = { [INFO] [stdout] 9 | | let mut m = HashMap::new(); [INFO] [stdout] 10 | | m.insert(VirtualKeyCode::W, MD::Up); [INFO] [stdout] ... | [INFO] [stdout] 15 | | }; [INFO] [stdout] 16 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around function argument [INFO] [stdout] --> src/02-lighting/206-multiple-lights/main.rs:96:35 [INFO] [stdout] | [INFO] [stdout] 96 | render::DirLight::new((light_color * 0.05), (light_color * 0.3), light_color, dir) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around function argument [INFO] [stdout] --> src/02-lighting/206-multiple-lights/main.rs:96:57 [INFO] [stdout] | [INFO] [stdout] 96 | render::DirLight::new((light_color * 0.05), (light_color * 0.3), light_color, dir) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/02-lighting/206-multiple-lights/system/camera.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | / lazy_static! { [INFO] [stdout] 8 | | static ref KEY_MAP: HashMap = { [INFO] [stdout] 9 | | let mut m = HashMap::new(); [INFO] [stdout] 10 | | m.insert(VirtualKeyCode::W, MD::Up); [INFO] [stdout] ... | [INFO] [stdout] 15 | | }; [INFO] [stdout] 16 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/02-lighting/206-multiple-lights/system/camera.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | / lazy_static! { [INFO] [stdout] 8 | | static ref KEY_MAP: HashMap = { [INFO] [stdout] 9 | | let mut m = HashMap::new(); [INFO] [stdout] 10 | | m.insert(VirtualKeyCode::W, MD::Up); [INFO] [stdout] ... | [INFO] [stdout] 15 | | }; [INFO] [stdout] 16 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/02-lighting/202-basic-lighting-revised/system/camera.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | / lazy_static! { [INFO] [stdout] 8 | | static ref KEY_MAP: HashMap = { [INFO] [stdout] 9 | | let mut m = HashMap::new(); [INFO] [stdout] 10 | | m.insert(VirtualKeyCode::W, MD::Up); [INFO] [stdout] ... | [INFO] [stdout] 15 | | }; [INFO] [stdout] 16 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/02-lighting/202-basic-lighting-revised/system/camera.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | / lazy_static! { [INFO] [stdout] 8 | | static ref KEY_MAP: HashMap = { [INFO] [stdout] 9 | | let mut m = HashMap::new(); [INFO] [stdout] 10 | | m.insert(VirtualKeyCode::W, MD::Up); [INFO] [stdout] ... | [INFO] [stdout] 15 | | }; [INFO] [stdout] 16 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/02-lighting/203-materials/system/camera.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | / lazy_static! { [INFO] [stdout] 8 | | static ref KEY_MAP: HashMap = { [INFO] [stdout] 9 | | let mut m = HashMap::new(); [INFO] [stdout] 10 | | m.insert(VirtualKeyCode::W, MD::Up); [INFO] [stdout] ... | [INFO] [stdout] 15 | | }; [INFO] [stdout] 16 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/02-lighting/203-materials/system/camera.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | / lazy_static! { [INFO] [stdout] 8 | | static ref KEY_MAP: HashMap = { [INFO] [stdout] 9 | | let mut m = HashMap::new(); [INFO] [stdout] 10 | | m.insert(VirtualKeyCode::W, MD::Up); [INFO] [stdout] ... | [INFO] [stdout] 15 | | }; [INFO] [stdout] 16 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around function argument [INFO] [stdout] --> src/02-lighting/206-multiple-lights/main.rs:96:35 [INFO] [stdout] | [INFO] [stdout] 96 | render::DirLight::new((light_color * 0.05), (light_color * 0.3), light_color, dir) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around function argument [INFO] [stdout] --> src/02-lighting/206-multiple-lights/main.rs:96:57 [INFO] [stdout] | [INFO] [stdout] 96 | render::DirLight::new((light_color * 0.05), (light_color * 0.3), light_color, dir) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/02-lighting/206-multiple-lights/system/camera.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | / lazy_static! { [INFO] [stdout] 8 | | static ref KEY_MAP: HashMap = { [INFO] [stdout] 9 | | let mut m = HashMap::new(); [INFO] [stdout] 10 | | m.insert(VirtualKeyCode::W, MD::Up); [INFO] [stdout] ... | [INFO] [stdout] 15 | | }; [INFO] [stdout] 16 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/02-lighting/206-multiple-lights/system/camera.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | / lazy_static! { [INFO] [stdout] 8 | | static ref KEY_MAP: HashMap = { [INFO] [stdout] 9 | | let mut m = HashMap::new(); [INFO] [stdout] 10 | | m.insert(VirtualKeyCode::W, MD::Up); [INFO] [stdout] ... | [INFO] [stdout] 15 | | }; [INFO] [stdout] 16 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `current_fps` is assigned to, but never used [INFO] [stdout] --> src/02-lighting/206-multiple-lights/main.rs:138:9 [INFO] [stdout] | [INFO] [stdout] 138 | let mut current_fps = None; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] = note: consider using `_current_fps` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `current_fps` is never read [INFO] [stdout] --> src/02-lighting/206-multiple-lights/main.rs:164:13 [INFO] [stdout] | [INFO] [stdout] 164 | current_fps = Some(fps); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `current_fps` is assigned to, but never used [INFO] [stdout] --> src/02-lighting/206-multiple-lights/main.rs:138:9 [INFO] [stdout] | [INFO] [stdout] 138 | let mut current_fps = None; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] = note: consider using `_current_fps` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `current_fps` is never read [INFO] [stdout] --> src/02-lighting/206-multiple-lights/main.rs:164:13 [INFO] [stdout] | [INFO] [stdout] 164 | current_fps = Some(fps); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `projection_matrix` [INFO] [stdout] --> src/02-lighting/206-multiple-lights/system/camera.rs:55:12 [INFO] [stdout] | [INFO] [stdout] 55 | pub fn projection_matrix(&self) -> Matrix4 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `view_matrix` [INFO] [stdout] --> src/02-lighting/206-multiple-lights/system/camera.rs:59:12 [INFO] [stdout] | [INFO] [stdout] 59 | pub fn view_matrix(&self) -> Matrix4 { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `spot` [INFO] [stdout] --> src/02-lighting/206-multiple-lights/main.rs:45:5 [INFO] [stdout] | [INFO] [stdout] 45 | spot: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `projection_matrix` [INFO] [stdout] --> src/02-lighting/206-multiple-lights/system/camera.rs:55:12 [INFO] [stdout] | [INFO] [stdout] 55 | pub fn projection_matrix(&self) -> Matrix4 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `view_matrix` [INFO] [stdout] --> src/02-lighting/206-multiple-lights/system/camera.rs:59:12 [INFO] [stdout] | [INFO] [stdout] 59 | pub fn view_matrix(&self) -> Matrix4 { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `spot` [INFO] [stdout] --> src/02-lighting/206-multiple-lights/main.rs:45:5 [INFO] [stdout] | [INFO] [stdout] 45 | spot: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1m 41s [INFO] running `Command { std: "docker" "inspect" "ce0c6b85054db3d9838e58f101821d955f00f5f2abfe100be2885a696feee781", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ce0c6b85054db3d9838e58f101821d955f00f5f2abfe100be2885a696feee781", kill_on_drop: false }` [INFO] [stdout] ce0c6b85054db3d9838e58f101821d955f00f5f2abfe100be2885a696feee781