[INFO] cloning repository https://github.com/Avokadoen/TDT4195_code [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Avokadoen/TDT4195_code" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAvokadoen%2FTDT4195_code", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAvokadoen%2FTDT4195_code'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] d53a6f4f48ab40097ebbacc76d4fad5de7a2f92e [INFO] checking Avokadoen/TDT4195_code against master#84e729a59f216cc64755788a470f165429a731f4 for pr-123737-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAvokadoen%2FTDT4195_code" "/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/Avokadoen/TDT4195_code on toolchain 84e729a59f216cc64755788a470f165429a731f4 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+84e729a59f216cc64755788a470f165429a731f4" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Avokadoen/TDT4195_code [INFO] finished tweaking git repo https://github.com/Avokadoen/TDT4195_code [INFO] tweaked toml for git repo https://github.com/Avokadoen/TDT4195_code written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/Avokadoen/TDT4195_code 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" "+84e729a59f216cc64755788a470f165429a731f4" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded paste v0.1.18 [INFO] [stderr] Downloaded nalgebra-glm v0.8.0 [INFO] [stderr] Downloaded paste-impl v0.1.18 [INFO] [stderr] Downloaded num-complex v0.2.4 [INFO] [stderr] Downloaded autocfg v1.0.0 [INFO] [stderr] Downloaded simba v0.2.0 [INFO] [stderr] Downloaded glutin_egl_sys v0.1.4 [INFO] [stderr] Downloaded glutin_wgl_sys v0.1.4 [INFO] [stderr] Downloaded either v1.5.3 [INFO] [stderr] Downloaded smallvec v1.4.1 [INFO] [stderr] Downloaded glutin_gles2_sys v0.1.4 [INFO] [stderr] Downloaded gif v0.10.3 [INFO] [stderr] Downloaded cc v1.0.58 [INFO] [stderr] Downloaded serde v1.0.114 [INFO] [stderr] Downloaded syn v1.0.36 [INFO] [stderr] Downloaded ndk-sys v0.1.1 [INFO] [stderr] Downloaded libc v0.2.74 [INFO] [stderr] Downloaded rayon v1.3.1 [INFO] [stderr] Downloaded jpeg-decoder v0.1.20 [INFO] [stderr] Downloaded image v0.23.9 [INFO] [stderr] Downloaded nalgebra v0.22.0 [INFO] [stderr] Downloaded rayon-core v1.7.1 [INFO] [stderr] Downloaded tiff v0.5.0 [INFO] [stderr] Downloaded generic-array v0.13.2 [INFO] [stderr] Downloaded matrixmultiply v0.2.3 [INFO] [stderr] Downloaded lzw v0.10.0 [INFO] [stderr] Downloaded rand_distr v0.2.2 [INFO] [stderr] Downloaded typenum v1.12.0 [INFO] [stderr] Downloaded ordered-float v1.1.0 [INFO] [stderr] Downloaded lazycell v1.2.1 [INFO] [stderr] Downloaded libloading v0.6.2 [INFO] [stderr] Downloaded bytemuck v1.3.1 [INFO] [stderr] Downloaded ppv-lite86 v0.2.8 [INFO] [stderr] Downloaded crossbeam-queue v0.2.3 [INFO] [stderr] Downloaded num-rational v0.2.4 [INFO] [stderr] Downloaded ndk v0.1.1 [INFO] [stderr] Downloaded ndk-macro v0.1.0 [INFO] [stderr] Downloaded glutin_glx_sys v0.1.6 [INFO] [stderr] Downloaded ndk-glue v0.1.1 [INFO] [stderr] Downloaded color_quant v1.0.1 [INFO] [stderr] Downloaded tobj v2.0.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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+84e729a59f216cc64755788a470f165429a731f4" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 99f83d7fe7ee65dfb04766099f51928aa380c1d9f4eb1d33602947b31b922b43 [INFO] running `Command { std: "docker" "start" "-a" "99f83d7fe7ee65dfb04766099f51928aa380c1d9f4eb1d33602947b31b922b43", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "99f83d7fe7ee65dfb04766099f51928aa380c1d9f4eb1d33602947b31b922b43", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "99f83d7fe7ee65dfb04766099f51928aa380c1d9f4eb1d33602947b31b922b43", kill_on_drop: false }` [INFO] [stdout] 99f83d7fe7ee65dfb04766099f51928aa380c1d9f4eb1d33602947b31b922b43 [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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+84e729a59f216cc64755788a470f165429a731f4" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c423b71f7112d849cc439847f867f58f5acff278ee3b50fc4734afe0dfd787aa [INFO] running `Command { std: "docker" "start" "-a" "c423b71f7112d849cc439847f867f58f5acff278ee3b50fc4734afe0dfd787aa", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.0 [INFO] [stderr] Compiling libc v0.2.74 [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Compiling xml-rs v0.8.3 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling libloading v0.6.2 [INFO] [stderr] Compiling nix v0.14.1 [INFO] [stderr] Checking slab v0.4.2 [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Compiling getrandom v0.1.14 [INFO] [stderr] Checking lazycell v1.2.1 [INFO] [stderr] Compiling rayon-core v1.7.1 [INFO] [stderr] Compiling pkg-config v0.3.18 [INFO] [stderr] Checking ppv-lite86 v0.2.8 [INFO] [stderr] Compiling typenum v1.12.0 [INFO] [stderr] Compiling proc-macro-hack v0.5.18 [INFO] [stderr] Checking walkdir v2.3.1 [INFO] [stderr] Compiling crc32fast v1.2.0 [INFO] [stderr] Compiling num-traits v0.2.12 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling memoffset v0.5.5 [INFO] [stderr] Compiling num-integer v0.1.43 [INFO] [stderr] Checking dlib v0.4.2 [INFO] [stderr] Compiling crossbeam-epoch v0.8.2 [INFO] [stderr] Checking wayland-sys v0.23.6 [INFO] [stderr] Compiling num-complex v0.2.4 [INFO] [stderr] Compiling num-rational v0.2.4 [INFO] [stderr] Compiling rayon v1.3.1 [INFO] [stderr] Compiling gl_generator v0.13.1 [INFO] [stderr] Checking net2 v0.2.34 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Checking mio v0.6.22 [INFO] [stderr] Compiling x11-dl v2.18.5 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Compiling wayland-scanner v0.23.6 [INFO] [stderr] Compiling cc v1.0.58 [INFO] [stderr] Checking stb_truetype v0.3.1 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking xdg v2.2.0 [INFO] [stderr] Checking smallvec v1.4.1 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking crossbeam-queue v0.2.3 [INFO] [stderr] Checking memmap v0.7.0 [INFO] [stderr] Checking parking_lot_core v0.7.2 [INFO] [stderr] Compiling paste-impl v0.1.18 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Compiling gl_generator v0.14.0 [INFO] [stderr] Compiling num-rational v0.3.0 [INFO] [stderr] Compiling num-iter v0.1.41 [INFO] [stderr] Checking crossbeam-deque v0.7.3 [INFO] [stderr] Checking lock_api v0.3.4 [INFO] [stderr] Checking either v1.5.3 [INFO] [stderr] Checking lzw v0.10.0 [INFO] [stderr] Checking rawpointer v0.2.1 [INFO] [stderr] Checking mio-extras v2.0.6 [INFO] [stderr] Checking matrixmultiply v0.2.3 [INFO] [stderr] Checking parking_lot v0.10.2 [INFO] [stderr] Checking approx v0.3.2 [INFO] [stderr] Checking ordered-float v1.1.0 [INFO] [stderr] Checking line_drawing v0.7.0 [INFO] [stderr] Compiling glutin_glx_sys v0.1.6 [INFO] [stderr] Compiling glutin_egl_sys v0.1.4 [INFO] [stderr] Compiling libloading v0.5.2 [INFO] [stderr] Checking paste v0.1.18 [INFO] [stderr] Checking deflate v0.8.6 [INFO] [stderr] Checking rusttype v0.8.3 [INFO] [stderr] Checking generic-array v0.13.2 [INFO] [stderr] Checking raw-window-handle v0.3.3 [INFO] [stderr] Checking shared_library v0.1.9 [INFO] [stderr] Checking color_quant v1.0.1 [INFO] [stderr] Checking instant v0.1.6 [INFO] [stderr] Checking osmesa-sys v0.1.2 [INFO] [stderr] Checking gif v0.10.3 [INFO] [stderr] Compiling gl v0.14.0 [INFO] [stderr] Checking tiff v0.5.0 [INFO] [stderr] Checking rusttype v0.7.9 [INFO] [stderr] Checking andrew v0.2.1 [INFO] [stderr] Checking bytemuck v1.3.1 [INFO] [stderr] Checking rand_distr v0.2.2 [INFO] [stderr] Checking tobj v2.0.2 [INFO] [stderr] Checking png v0.16.7 [INFO] [stderr] Checking simba v0.2.0 [INFO] [stderr] Compiling wayland-client v0.23.6 [INFO] [stderr] Compiling wayland-protocols v0.23.6 [INFO] [stderr] Checking nalgebra v0.22.0 [INFO] [stderr] Checking calloop v0.4.4 [INFO] [stderr] Checking wayland-commons v0.23.6 [INFO] [stderr] Checking jpeg-decoder v0.1.20 [INFO] [stderr] Checking image v0.23.9 [INFO] [stderr] Checking nalgebra-glm v0.8.0 [INFO] [stderr] Checking smithay-client-toolkit v0.6.6 [INFO] [stderr] Checking winit v0.22.2 [INFO] [stderr] Checking glutin v0.24.1 [INFO] [stderr] Checking gloom-rs v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `geometric_object::GeometricObject` [INFO] [stdout] --> src/gl_utils/scene_graph.rs:10:66 [INFO] [stdout] | [INFO] [stdout] 10 | use super::{camera::Camera, geometric_object::GeometricInstance, geometric_object::GeometricObject}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `toolbox::simple_heading_animation` [INFO] [stdout] --> src/my_helicopter.rs:1:137 [INFO] [stdout] | [INFO] [stdout] 1 | ...::Node, scene_graph::SceneNode, toolbox::Heading, toolbox::simple_heading_animation}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Helicopter`, `toolbox::simple_heading_animation` [INFO] [stdout] --> src/main.rs:19:56 [INFO] [stdout] | [INFO] [stdout] 19 | ...}, mesh::{Helicopter, Terrain}, scene_graph::SceneNode, shaders::program::ProgramBuilder, toolbox::simple_heading_animation}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `geometric_object::GeometricObject` [INFO] [stdout] --> src/gl_utils/scene_graph.rs:10:66 [INFO] [stdout] | [INFO] [stdout] 10 | use super::{camera::Camera, geometric_object::GeometricInstance, geometric_object::GeometricObject}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `toolbox::simple_heading_animation` [INFO] [stdout] --> src/my_helicopter.rs:1:137 [INFO] [stdout] | [INFO] [stdout] 1 | ...::Node, scene_graph::SceneNode, toolbox::Heading, toolbox::simple_heading_animation}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Helicopter`, `toolbox::simple_heading_animation` [INFO] [stdout] --> src/main.rs:19:56 [INFO] [stdout] | [INFO] [stdout] 19 | ...}, mesh::{Helicopter, Terrain}, scene_graph::SceneNode, shaders::program::ProgramBuilder, toolbox::simple_heading_animation}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/my_helicopter.rs:80:13 [INFO] [stdout] | [INFO] [stdout] 80 | let mut main_rotor_node = SceneNode::from_vao(main_rotor_instance); [INFO] [stdout] | ----^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/my_helicopter.rs:80:13 [INFO] [stdout] | [INFO] [stdout] 80 | let mut main_rotor_node = SceneNode::from_vao(main_rotor_instance); [INFO] [stdout] | ----^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `buffer_count` is never read [INFO] [stdout] --> src/gl_utils/geometric_object.rs:57:9 [INFO] [stdout] | [INFO] [stdout] 51 | pub struct GeometricObject { [INFO] [stdout] | --------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 57 | pub buffer_count: GLsizei [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `GeometricObject` has a derived impl for the trait `Debug`, 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: methods `draw_all` and `update_transform` are never used [INFO] [stdout] --> src/gl_utils/geometric_object.rs:204:12 [INFO] [stdout] | [INFO] [stdout] 91 | impl GeometricObject { [INFO] [stdout] | -------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 204 | pub fn draw_all(&self) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 224 | pub fn update_transform(&self, index: usize, new_transform: &glm::Mat4) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `id` is never read [INFO] [stdout] --> src/gl_utils/vertex_attributes.rs:37:9 [INFO] [stdout] | [INFO] [stdout] 36 | pub struct VertexAttribute { [INFO] [stdout] | --------------- field in this struct [INFO] [stdout] 37 | pub id: types::GLuint, // TODO: id and index can probably be merged [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `set_uniform1` is never used [INFO] [stdout] --> src/gl_utils/shaders/program.rs:70:12 [INFO] [stdout] | [INFO] [stdout] 38 | impl Program { [INFO] [stdout] | ------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 70 | pub fn set_uniform1(&self, name: &str, value: T, assign_fn: unsafe fn(GLint, T) -> ()) -> Result<(), ShaderProgramError> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `position` is never used [INFO] [stdout] --> src/gl_utils/camera.rs:75:12 [INFO] [stdout] | [INFO] [stdout] 25 | impl Camera { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 75 | pub fn position(&self) -> glm::Vec3 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `pitch` and `yaw` are never used [INFO] [stdout] --> src/gl_utils/camera.rs:118:12 [INFO] [stdout] | [INFO] [stdout] 89 | impl CameraBuilder { [INFO] [stdout] | ------------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 118 | pub fn pitch(mut self, pitch: f32) -> Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 124 | pub fn yaw(mut self, yaw: f32) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `index_count` is never read [INFO] [stdout] --> src/gl_utils/mesh.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct Mesh { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] ... [INFO] [stdout] 14 | pub index_count: i32, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `print` is never used [INFO] [stdout] --> src/gl_utils/scene_graph.rs:65:12 [INFO] [stdout] | [INFO] [stdout] 35 | impl SceneNode { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 65 | pub fn print(&self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `simple_heading_animation` is never used [INFO] [stdout] --> src/gl_utils/toolbox.rs:49:8 [INFO] [stdout] | [INFO] [stdout] 49 | pub fn simple_heading_animation(time: f32) -> Heading { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `door_node` is never read [INFO] [stdout] --> src/my_helicopter.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct HelicopterNode { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 8 | pub door_node: Node, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `buffer_count` is never read [INFO] [stdout] --> src/gl_utils/geometric_object.rs:57:9 [INFO] [stdout] | [INFO] [stdout] 51 | pub struct GeometricObject { [INFO] [stdout] | --------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 57 | pub buffer_count: GLsizei [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `GeometricObject` has a derived impl for the trait `Debug`, 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: methods `draw_all` and `update_transform` are never used [INFO] [stdout] --> src/gl_utils/geometric_object.rs:204:12 [INFO] [stdout] | [INFO] [stdout] 91 | impl GeometricObject { [INFO] [stdout] | -------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 204 | pub fn draw_all(&self) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 224 | pub fn update_transform(&self, index: usize, new_transform: &glm::Mat4) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `id` is never read [INFO] [stdout] --> src/gl_utils/vertex_attributes.rs:37:9 [INFO] [stdout] | [INFO] [stdout] 36 | pub struct VertexAttribute { [INFO] [stdout] | --------------- field in this struct [INFO] [stdout] 37 | pub id: types::GLuint, // TODO: id and index can probably be merged [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `set_uniform1` is never used [INFO] [stdout] --> src/gl_utils/shaders/program.rs:70:12 [INFO] [stdout] | [INFO] [stdout] 38 | impl Program { [INFO] [stdout] | ------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 70 | pub fn set_uniform1(&self, name: &str, value: T, assign_fn: unsafe fn(GLint, T) -> ()) -> Result<(), ShaderProgramError> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `position` is never used [INFO] [stdout] --> src/gl_utils/camera.rs:75:12 [INFO] [stdout] | [INFO] [stdout] 25 | impl Camera { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 75 | pub fn position(&self) -> glm::Vec3 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `pitch` and `yaw` are never used [INFO] [stdout] --> src/gl_utils/camera.rs:118:12 [INFO] [stdout] | [INFO] [stdout] 89 | impl CameraBuilder { [INFO] [stdout] | ------------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 118 | pub fn pitch(mut self, pitch: f32) -> Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 124 | pub fn yaw(mut self, yaw: f32) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `index_count` is never read [INFO] [stdout] --> src/gl_utils/mesh.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct Mesh { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] ... [INFO] [stdout] 14 | pub index_count: i32, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `print` is never used [INFO] [stdout] --> src/gl_utils/scene_graph.rs:65:12 [INFO] [stdout] | [INFO] [stdout] 35 | impl SceneNode { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 65 | pub fn print(&self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `simple_heading_animation` is never used [INFO] [stdout] --> src/gl_utils/toolbox.rs:49:8 [INFO] [stdout] | [INFO] [stdout] 49 | pub fn simple_heading_animation(time: f32) -> Heading { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `door_node` is never read [INFO] [stdout] --> src/my_helicopter.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct HelicopterNode { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 8 | pub door_node: Node, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 14 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 14 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 36.87s [INFO] running `Command { std: "docker" "inspect" "c423b71f7112d849cc439847f867f58f5acff278ee3b50fc4734afe0dfd787aa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c423b71f7112d849cc439847f867f58f5acff278ee3b50fc4734afe0dfd787aa", kill_on_drop: false }` [INFO] [stdout] c423b71f7112d849cc439847f867f58f5acff278ee3b50fc4734afe0dfd787aa