[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] testing Avokadoen/TDT4195_code against try#ce59db7a1b1b012fb2793c4641c1bdecad7a128b for pr-85530 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAvokadoen%2FTDT4195_code" "/workspace/builds/worker-5/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Avokadoen/TDT4195_code on toolchain ce59db7a1b1b012fb2793c4641c1bdecad7a128b [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "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/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: "/workspace/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded ndk-glue v0.1.1 [INFO] [stderr] Downloaded ndk v0.1.1 [INFO] [stderr] Downloaded simba v0.2.0 [INFO] [stderr] Downloaded ndk-macro v0.1.0 [INFO] [stderr] Downloaded nalgebra v0.22.0 [INFO] [stderr] Downloaded ndk-sys v0.1.1 [INFO] [stderr] Downloaded nalgebra-glm v0.8.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b3b2358abb9375997a390637940f5729de534217a2e7043d596cfdd0befa3fd1 [INFO] running `Command { std: "docker" "start" "-a" "b3b2358abb9375997a390637940f5729de534217a2e7043d596cfdd0befa3fd1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b3b2358abb9375997a390637940f5729de534217a2e7043d596cfdd0befa3fd1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b3b2358abb9375997a390637940f5729de534217a2e7043d596cfdd0befa3fd1", kill_on_drop: false }` [INFO] [stdout] b3b2358abb9375997a390637940f5729de534217a2e7043d596cfdd0befa3fd1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 117a2e8b9ae6759b486ade540ca741ed5f8687d33e9c7da645e3d390778f1ffe [INFO] running `Command { std: "docker" "start" "-a" "117a2e8b9ae6759b486ade540ca741ed5f8687d33e9c7da645e3d390778f1ffe", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.74 [INFO] [stderr] Compiling xml-rs v0.8.3 [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Compiling khronos_api v3.1.0 [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] Compiling getrandom v0.1.14 [INFO] [stderr] Compiling void v1.0.2 [INFO] [stderr] Compiling lazycell v1.2.1 [INFO] [stderr] Compiling rayon-core v1.7.1 [INFO] [stderr] Compiling pkg-config v0.3.18 [INFO] [stderr] Compiling proc-macro-hack v0.5.18 [INFO] [stderr] Compiling ppv-lite86 v0.2.8 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling downcast-rs v1.2.0 [INFO] [stderr] Compiling cc v1.0.58 [INFO] [stderr] Compiling smallvec v1.4.1 [INFO] [stderr] Compiling xdg v2.2.0 [INFO] [stderr] Compiling crc32fast v1.2.0 [INFO] [stderr] Compiling either v1.5.3 [INFO] [stderr] Compiling rawpointer v0.2.1 [INFO] [stderr] Compiling lzw v0.10.0 [INFO] [stderr] Compiling instant v0.1.6 [INFO] [stderr] Compiling color_quant v1.0.1 [INFO] [stderr] Compiling bytemuck v1.3.1 [INFO] [stderr] Compiling tobj v2.0.2 [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] Compiling crossbeam-epoch v0.8.2 [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 num-iter v0.1.41 [INFO] [stderr] Compiling num-rational v0.3.0 [INFO] [stderr] Compiling lock_api v0.3.4 [INFO] [stderr] Compiling matrixmultiply v0.2.3 [INFO] [stderr] Compiling walkdir v2.3.1 [INFO] [stderr] Compiling gif v0.10.3 [INFO] [stderr] Compiling stb_truetype v0.3.1 [INFO] [stderr] Compiling tiff v0.5.0 [INFO] [stderr] Compiling generic-array v0.13.2 [INFO] [stderr] Compiling png v0.16.7 [INFO] [stderr] Compiling dlib v0.4.2 [INFO] [stderr] Compiling gl_generator v0.13.1 [INFO] [stderr] Compiling gl_generator v0.14.0 [INFO] [stderr] Compiling wayland-sys v0.23.6 [INFO] [stderr] Compiling x11-dl v2.18.5 [INFO] [stderr] Compiling crossbeam-queue v0.2.3 [INFO] [stderr] Compiling crossbeam-deque v0.7.3 [INFO] [stderr] Compiling paste-impl v0.1.18 [INFO] [stderr] Compiling net2 v0.2.34 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling memmap v0.7.0 [INFO] [stderr] Compiling parking_lot_core v0.7.2 [INFO] [stderr] Compiling raw-window-handle v0.3.3 [INFO] [stderr] Compiling shared_library v0.1.9 [INFO] [stderr] Compiling libloading v0.5.2 [INFO] [stderr] Compiling osmesa-sys v0.1.2 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling mio v0.6.22 [INFO] [stderr] Compiling wayland-scanner v0.23.6 [INFO] [stderr] Compiling parking_lot v0.10.2 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling paste v0.1.18 [INFO] [stderr] Compiling glutin_glx_sys v0.1.6 [INFO] [stderr] Compiling glutin_egl_sys v0.1.4 [INFO] [stderr] Compiling mio-extras v2.0.6 [INFO] [stderr] Compiling approx v0.3.2 [INFO] [stderr] Compiling ordered-float v1.1.0 [INFO] [stderr] Compiling line_drawing v0.7.0 [INFO] [stderr] Compiling rusttype v0.8.3 [INFO] [stderr] Compiling gl v0.14.0 [INFO] [stderr] Compiling rand_distr v0.2.2 [INFO] [stderr] Compiling simba v0.2.0 [INFO] [stderr] Compiling rusttype v0.7.9 [INFO] [stderr] Compiling andrew v0.2.1 [INFO] [stderr] Compiling wayland-client v0.23.6 [INFO] [stderr] Compiling wayland-protocols v0.23.6 [INFO] [stderr] Compiling nalgebra v0.22.0 [INFO] [stderr] Compiling jpeg-decoder v0.1.20 [INFO] [stderr] Compiling wayland-commons v0.23.6 [INFO] [stderr] Compiling calloop v0.4.4 [INFO] [stderr] Compiling image v0.23.9 [INFO] [stderr] Compiling smithay-client-toolkit v0.6.6 [INFO] [stderr] Compiling winit v0.22.2 [INFO] [stderr] Compiling glutin v0.24.1 [INFO] [stderr] Compiling nalgebra-glm v0.8.0 [INFO] [stderr] Compiling 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: 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: associated function is never used: `draw_all` [INFO] [stdout] --> src/gl_utils/geometric_object.rs:204:12 [INFO] [stdout] | [INFO] [stdout] 204 | pub fn draw_all(&self) { [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: `update_transform` [INFO] [stdout] --> src/gl_utils/geometric_object.rs:224:12 [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: associated function is never used: `set_uniform1` [INFO] [stdout] --> src/gl_utils/shaders/program.rs:70:12 [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: associated function is never used: `position` [INFO] [stdout] --> src/gl_utils/camera.rs:75:12 [INFO] [stdout] | [INFO] [stdout] 75 | pub fn position(&self) -> glm::Vec3 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `pitch` [INFO] [stdout] --> src/gl_utils/camera.rs:118:12 [INFO] [stdout] | [INFO] [stdout] 118 | pub fn pitch(mut self, pitch: f32) -> Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `yaw` [INFO] [stdout] --> src/gl_utils/camera.rs:124:12 [INFO] [stdout] | [INFO] [stdout] 124 | pub fn yaw(mut self, yaw: f32) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `print` [INFO] [stdout] --> src/gl_utils/scene_graph.rs:65:12 [INFO] [stdout] | [INFO] [stdout] 65 | pub fn print(&self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `simple_heading_animation` [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: 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1m 03s [INFO] running `Command { std: "docker" "inspect" "117a2e8b9ae6759b486ade540ca741ed5f8687d33e9c7da645e3d390778f1ffe", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "117a2e8b9ae6759b486ade540ca741ed5f8687d33e9c7da645e3d390778f1ffe", kill_on_drop: false }` [INFO] [stdout] 117a2e8b9ae6759b486ade540ca741ed5f8687d33e9c7da645e3d390778f1ffe [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 50c12d2c87261b445eecbe075c7ce5776dee55c9ee8fae6418570891f92b8e62 [INFO] running `Command { std: "docker" "start" "-a" "50c12d2c87261b445eecbe075c7ce5776dee55c9ee8fae6418570891f92b8e62", kill_on_drop: false }` [INFO] [stderr] Compiling 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: 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: associated function is never used: `draw_all` [INFO] [stdout] --> src/gl_utils/geometric_object.rs:204:12 [INFO] [stdout] | [INFO] [stdout] 204 | pub fn draw_all(&self) { [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: `update_transform` [INFO] [stdout] --> src/gl_utils/geometric_object.rs:224:12 [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: associated function is never used: `set_uniform1` [INFO] [stdout] --> src/gl_utils/shaders/program.rs:70:12 [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: associated function is never used: `position` [INFO] [stdout] --> src/gl_utils/camera.rs:75:12 [INFO] [stdout] | [INFO] [stdout] 75 | pub fn position(&self) -> glm::Vec3 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `pitch` [INFO] [stdout] --> src/gl_utils/camera.rs:118:12 [INFO] [stdout] | [INFO] [stdout] 118 | pub fn pitch(mut self, pitch: f32) -> Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `yaw` [INFO] [stdout] --> src/gl_utils/camera.rs:124:12 [INFO] [stdout] | [INFO] [stdout] 124 | pub fn yaw(mut self, yaw: f32) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `print` [INFO] [stdout] --> src/gl_utils/scene_graph.rs:65:12 [INFO] [stdout] | [INFO] [stdout] 65 | pub fn print(&self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `simple_heading_animation` [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: 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 1.28s [INFO] running `Command { std: "docker" "inspect" "50c12d2c87261b445eecbe075c7ce5776dee55c9ee8fae6418570891f92b8e62", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "50c12d2c87261b445eecbe075c7ce5776dee55c9ee8fae6418570891f92b8e62", kill_on_drop: false }` [INFO] [stdout] 50c12d2c87261b445eecbe075c7ce5776dee55c9ee8fae6418570891f92b8e62 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 15fa2292c4eac6818796c90453e35eb35c84b682a83da6a0e3ff46b7627b8704 [INFO] running `Command { std: "docker" "start" "-a" "15fa2292c4eac6818796c90453e35eb35c84b682a83da6a0e3ff46b7627b8704", kill_on_drop: false }` [INFO] [stdout] [INFO] [stderr] warning: unused import: `geometric_object::GeometricObject` [INFO] [stdout] running 0 tests [INFO] [stderr] --> src/gl_utils/scene_graph.rs:10:66 [INFO] [stdout] [INFO] [stderr] | [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stderr] 10 | use super::{camera::Camera, geometric_object::GeometricInstance, geometric_object::GeometricObject}; [INFO] [stdout] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `toolbox::simple_heading_animation` [INFO] [stderr] --> src/my_helicopter.rs:1:137 [INFO] [stderr] | [INFO] [stderr] 1 | ...::Node, scene_graph::SceneNode, toolbox::Heading, toolbox::simple_heading_animation}; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `Helicopter`, `toolbox::simple_heading_animation` [INFO] [stderr] --> src/main.rs:19:56 [INFO] [stderr] | [INFO] [stderr] 19 | ...}, mesh::{Helicopter, Terrain}, scene_graph::SceneNode, shaders::program::ProgramBuilder, toolbox::simple_heading_animation}; [INFO] [stderr] | ^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/my_helicopter.rs:80:13 [INFO] [stderr] | [INFO] [stderr] 80 | let mut main_rotor_node = SceneNode::from_vao(main_rotor_instance); [INFO] [stderr] | ----^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_mut)]` on by default [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `draw_all` [INFO] [stderr] --> src/gl_utils/geometric_object.rs:204:12 [INFO] [stderr] | [INFO] [stderr] 204 | pub fn draw_all(&self) { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `update_transform` [INFO] [stderr] --> src/gl_utils/geometric_object.rs:224:12 [INFO] [stderr] | [INFO] [stderr] 224 | pub fn update_transform(&self, index: usize, new_transform: &glm::Mat4) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `set_uniform1` [INFO] [stderr] --> src/gl_utils/shaders/program.rs:70:12 [INFO] [stderr] | [INFO] [stderr] 70 | pub fn set_uniform1(&self, name: &str, value: T, assign_fn: unsafe fn(GLint, T) -> ()) -> Result<(), ShaderProgramError> { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `position` [INFO] [stderr] --> src/gl_utils/camera.rs:75:12 [INFO] [stderr] | [INFO] [stderr] 75 | pub fn position(&self) -> glm::Vec3 { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `pitch` [INFO] [stderr] --> src/gl_utils/camera.rs:118:12 [INFO] [stderr] | [INFO] [stderr] 118 | pub fn pitch(mut self, pitch: f32) -> Self { [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `yaw` [INFO] [stderr] --> src/gl_utils/camera.rs:124:12 [INFO] [stderr] | [INFO] [stderr] 124 | pub fn yaw(mut self, yaw: f32) -> Self { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `print` [INFO] [stderr] --> src/gl_utils/scene_graph.rs:65:12 [INFO] [stderr] | [INFO] [stderr] 65 | pub fn print(&self) { [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `simple_heading_animation` [INFO] [stderr] --> src/gl_utils/toolbox.rs:49:8 [INFO] [stderr] | [INFO] [stderr] 49 | pub fn simple_heading_animation(time: f32) -> Heading { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: 12 warnings emitted [INFO] [stderr] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.14s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/gloom_rs-ec8f7cdb552ee249) [INFO] running `Command { std: "docker" "inspect" "15fa2292c4eac6818796c90453e35eb35c84b682a83da6a0e3ff46b7627b8704", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "15fa2292c4eac6818796c90453e35eb35c84b682a83da6a0e3ff46b7627b8704", kill_on_drop: false }` [INFO] [stdout] 15fa2292c4eac6818796c90453e35eb35c84b682a83da6a0e3ff46b7627b8704