[INFO] cloning repository https://github.com/WQR1234/learn_gluim [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/WQR1234/learn_gluim" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FWQR1234%2Flearn_gluim", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FWQR1234%2Flearn_gluim'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] bf614ba94350e5314594931a480f9ec97edcc160 [INFO] testing WQR1234/learn_gluim against master#ad85bc524b1ad696e42061ad8338d382dffbdbe5 for pr-146237 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FWQR1234%2Flearn_gluim" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/WQR1234/learn_gluim [INFO] finished tweaking git repo https://github.com/WQR1234/learn_gluim [INFO] tweaked toml for git repo https://github.com/WQR1234/learn_gluim written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/WQR1234/learn_gluim on toolchain ad85bc524b1ad696e42061ad8338d382dffbdbe5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/WQR1234/learn_gluim already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded quick-xml v0.37.4 [INFO] [stderr] Downloaded glium v0.36.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0e9ed6b0a4477c4d33a03e6a8059199e43e784a31c641d8cc6704bd989424fc2 [INFO] running `Command { std: "docker" "start" "-a" "0e9ed6b0a4477c4d33a03e6a8059199e43e784a31c641d8cc6704bd989424fc2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0e9ed6b0a4477c4d33a03e6a8059199e43e784a31c641d8cc6704bd989424fc2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0e9ed6b0a4477c4d33a03e6a8059199e43e784a31c641d8cc6704bd989424fc2", kill_on_drop: false }` [INFO] [stdout] 0e9ed6b0a4477c4d33a03e6a8059199e43e784a31c641d8cc6704bd989424fc2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 452794e9455b2659dae7dbccfac715aa60c211a290c03e2395e849ce87156bc7 [INFO] running `Command { std: "docker" "start" "-a" "452794e9455b2659dae7dbccfac715aa60c211a290c03e2395e849ce87156bc7", kill_on_drop: false }` [INFO] [stderr] Compiling libloading v0.8.6 [INFO] [stderr] Compiling libc v0.2.172 [INFO] [stderr] Compiling rustix v0.38.44 [INFO] [stderr] Compiling smallvec v1.15.0 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling wayland-sys v0.31.6 [INFO] [stderr] Compiling cc v1.2.19 [INFO] [stderr] Compiling xml-rs v0.8.26 [INFO] [stderr] Compiling wayland-client v0.31.8 [INFO] [stderr] Compiling tracing-core v0.1.33 [INFO] [stderr] Compiling bytemuck v1.22.0 [INFO] [stderr] Compiling syn v2.0.100 [INFO] [stderr] Compiling miniz_oxide v0.8.8 [INFO] [stderr] Compiling x11-dl v2.21.0 [INFO] [stderr] Compiling xcursor v0.3.8 [INFO] [stderr] Compiling ttf-parser v0.25.1 [INFO] [stderr] Compiling dlib v0.5.2 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling glutin v0.32.2 [INFO] [stderr] Compiling winit v0.30.9 [INFO] [stderr] Compiling object v0.36.7 [INFO] [stderr] Compiling tiny-skia-path v0.11.4 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling quick-xml v0.37.4 [INFO] [stderr] Compiling flate2 v1.1.1 [INFO] [stderr] Compiling xkbcommon-dl v0.4.2 [INFO] [stderr] Compiling maybe-rayon v0.1.1 [INFO] [stderr] Compiling av1-grain v0.2.3 [INFO] [stderr] Compiling simd_helpers v0.1.0 [INFO] [stderr] Compiling glutin-winit v0.5.0 [INFO] [stderr] Compiling gimli v0.31.1 [INFO] [stderr] Compiling dpi v0.1.1 [INFO] [stderr] Compiling gl_generator v0.14.0 [INFO] [stderr] Compiling tiny-skia v0.11.4 [INFO] [stderr] Compiling memmap2 v0.9.5 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling avif-serialize v0.8.3 [INFO] [stderr] Compiling half v2.6.0 [INFO] [stderr] Compiling wayland-scanner v0.31.6 [INFO] [stderr] Compiling wayland-backend v0.3.8 [INFO] [stderr] Compiling owned_ttf_parser v0.25.0 [INFO] [stderr] Compiling cgmath v0.18.0 [INFO] [stderr] Compiling ab_glyph v0.2.29 [INFO] [stderr] Compiling tiff v0.9.1 [INFO] [stderr] Compiling exr v1.73.0 [INFO] [stderr] Compiling png v0.17.16 [INFO] [stderr] Compiling qoi v0.4.1 [INFO] [stderr] Compiling glutin_glx_sys v0.6.1 [INFO] [stderr] Compiling glutin_egl_sys v0.7.1 [INFO] [stderr] Compiling glium v0.36.0 [INFO] [stderr] Compiling approx v0.4.0 [INFO] [stderr] Compiling addr2line v0.24.2 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling profiling-procmacros v1.0.16 [INFO] [stderr] Compiling arg_enum_proc_macro v0.3.4 [INFO] [stderr] Compiling num-derive v0.4.2 [INFO] [stderr] Compiling profiling v1.0.16 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling rav1e v0.7.1 [INFO] [stderr] Compiling backtrace v0.3.74 [INFO] [stderr] Compiling polling v3.7.4 [INFO] [stderr] Compiling x11rb v0.13.1 [INFO] [stderr] Compiling calloop v0.13.0 [INFO] [stderr] Compiling wayland-csd-frame v0.3.0 [INFO] [stderr] Compiling wayland-protocols v0.32.6 [INFO] [stderr] Compiling wayland-cursor v0.31.8 [INFO] [stderr] Compiling calloop-wayland-source v0.3.0 [INFO] [stderr] Compiling ravif v0.11.12 [INFO] [stderr] Compiling image v0.25.6 [INFO] [stderr] Compiling wayland-protocols-wlr v0.3.6 [INFO] [stderr] Compiling wayland-protocols-plasma v0.3.6 [INFO] [stderr] Compiling smithay-client-toolkit v0.19.2 [INFO] [stderr] Compiling sctk-adwaita v0.10.1 [INFO] [stderr] Compiling learn_gluim v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Quaternion` [INFO] [stdout] --> src/camera.rs:1:50 [INFO] [stdout] | [INFO] [stdout] 1 | use cgmath::{Angle, InnerSpace, Matrix4, Point3, Quaternion, Vector3}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `PhysicalPosition` [INFO] [stdout] --> src/main.rs:10:38 [INFO] [stdout] | [INFO] [stdout] 10 | use glium::winit::dpi::{LogicalSize, PhysicalPosition, PhysicalSize}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Angle` [INFO] [stdout] --> src/camera.rs:1:14 [INFO] [stdout] | [INFO] [stdout] 1 | use cgmath::{Angle, InnerSpace, Matrix4, Point3, Quaternion, Vector3}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `config_template_builder` [INFO] [stdout] --> src/my_simple_window_builders.rs:90:13 [INFO] [stdout] | [INFO] [stdout] 90 | let config_template_builder = ConfigTemplateBuilder::new(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_config_template_builder` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `light_pos` [INFO] [stdout] --> src/main.rs:151:13 [INFO] [stdout] | [INFO] [stdout] 151 | let light_pos = [1.2, 1.0, 2.0]; [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_light_pos` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `change_light_color` is never used [INFO] [stdout] --> src/main.rs:414:12 [INFO] [stdout] | [INFO] [stdout] 72 | impl State { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 414 | pub fn change_light_color(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Sphere` is never constructed [INFO] [stdout] --> src/object_3d/mod.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 17 | pub enum Object3dKind { [INFO] [stdout] | ------------ variant in this enum [INFO] [stdout] 18 | Cube, [INFO] [stdout] 19 | Sphere [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `scale` and `reset` are never used [INFO] [stdout] --> src/object_3d/mod.rs:67:12 [INFO] [stdout] | [INFO] [stdout] 45 | impl Object3d { [INFO] [stdout] | ------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 67 | pub fn scale(&mut self, vec: Vector3) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 72 | pub fn reset(&mut self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `translate`, and `set_position` are never used [INFO] [stdout] --> src/object_3d/light.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 14 | impl Light { [INFO] [stdout] | ---------- associated items in this implementation [INFO] [stdout] 15 | pub fn new(position: [f32; 3], [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 31 | pub fn translate(&mut self, vec: [f32; 3]) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 38 | pub fn set_position(&mut self, position: [f32; 3]) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/object_3d/light.rs:69:12 [INFO] [stdout] | [INFO] [stdout] 68 | impl DirectionalLight { [INFO] [stdout] | --------------------- associated function in this implementation [INFO] [stdout] 69 | pub fn new(direction: [f32; 3], ambient: [f32; 3], diffuse: [f32; 3], specular: [f32; 3]) -> DirectionalLight { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `with_inner_size`, `set_window_builder`, `with_config_template_builder`, and `into_window_builder` are never used [INFO] [stdout] --> src/my_simple_window_builders.rs:38:12 [INFO] [stdout] | [INFO] [stdout] 23 | impl MySimpleWindowBuilder { [INFO] [stdout] | -------------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 38 | pub fn with_inner_size(mut self, width: u32, height: u32) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 53 | pub fn set_window_builder(mut self, window_attributes: WindowAttributes) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 60 | pub fn with_config_template_builder(mut self, config_template_builder: ConfigTemplateBuilder) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 66 | pub fn into_window_builder(self) -> WindowAttributes { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 04s [INFO] running `Command { std: "docker" "inspect" "452794e9455b2659dae7dbccfac715aa60c211a290c03e2395e849ce87156bc7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "452794e9455b2659dae7dbccfac715aa60c211a290c03e2395e849ce87156bc7", kill_on_drop: false }` [INFO] [stdout] 452794e9455b2659dae7dbccfac715aa60c211a290c03e2395e849ce87156bc7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] afe3c791abf15e9c6e3306c9613a4698f4c010c5a736d536e616f298d85ad77a [INFO] running `Command { std: "docker" "start" "-a" "afe3c791abf15e9c6e3306c9613a4698f4c010c5a736d536e616f298d85ad77a", kill_on_drop: false }` [INFO] [stderr] Compiling learn_gluim v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Quaternion` [INFO] [stdout] --> src/camera.rs:1:50 [INFO] [stdout] | [INFO] [stdout] 1 | use cgmath::{Angle, InnerSpace, Matrix4, Point3, Quaternion, Vector3}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `PhysicalPosition` [INFO] [stdout] --> src/main.rs:10:38 [INFO] [stdout] | [INFO] [stdout] 10 | use glium::winit::dpi::{LogicalSize, PhysicalPosition, PhysicalSize}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Angle` [INFO] [stdout] --> src/camera.rs:1:14 [INFO] [stdout] | [INFO] [stdout] 1 | use cgmath::{Angle, InnerSpace, Matrix4, Point3, Quaternion, Vector3}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `config_template_builder` [INFO] [stdout] --> src/my_simple_window_builders.rs:90:13 [INFO] [stdout] | [INFO] [stdout] 90 | let config_template_builder = ConfigTemplateBuilder::new(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_config_template_builder` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `light_pos` [INFO] [stdout] --> src/main.rs:151:13 [INFO] [stdout] | [INFO] [stdout] 151 | let light_pos = [1.2, 1.0, 2.0]; [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_light_pos` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `change_light_color` is never used [INFO] [stdout] --> src/main.rs:414:12 [INFO] [stdout] | [INFO] [stdout] 72 | impl State { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 414 | pub fn change_light_color(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Sphere` is never constructed [INFO] [stdout] --> src/object_3d/mod.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 17 | pub enum Object3dKind { [INFO] [stdout] | ------------ variant in this enum [INFO] [stdout] 18 | Cube, [INFO] [stdout] 19 | Sphere [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `scale` and `reset` are never used [INFO] [stdout] --> src/object_3d/mod.rs:67:12 [INFO] [stdout] | [INFO] [stdout] 45 | impl Object3d { [INFO] [stdout] | ------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 67 | pub fn scale(&mut self, vec: Vector3) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 72 | pub fn reset(&mut self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `translate`, and `set_position` are never used [INFO] [stdout] --> src/object_3d/light.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 14 | impl Light { [INFO] [stdout] | ---------- associated items in this implementation [INFO] [stdout] 15 | pub fn new(position: [f32; 3], [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 31 | pub fn translate(&mut self, vec: [f32; 3]) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 38 | pub fn set_position(&mut self, position: [f32; 3]) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/object_3d/light.rs:69:12 [INFO] [stdout] | [INFO] [stdout] 68 | impl DirectionalLight { [INFO] [stdout] | --------------------- associated function in this implementation [INFO] [stdout] 69 | pub fn new(direction: [f32; 3], ambient: [f32; 3], diffuse: [f32; 3], specular: [f32; 3]) -> DirectionalLight { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `with_inner_size`, `set_window_builder`, `with_config_template_builder`, and `into_window_builder` are never used [INFO] [stdout] --> src/my_simple_window_builders.rs:38:12 [INFO] [stdout] | [INFO] [stdout] 23 | impl MySimpleWindowBuilder { [INFO] [stdout] | -------------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 38 | pub fn with_inner_size(mut self, width: u32, height: u32) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 53 | pub fn set_window_builder(mut self, window_attributes: WindowAttributes) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 60 | pub fn with_config_template_builder(mut self, config_template_builder: ConfigTemplateBuilder) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 66 | pub fn into_window_builder(self) -> WindowAttributes { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.02s [INFO] running `Command { std: "docker" "inspect" "afe3c791abf15e9c6e3306c9613a4698f4c010c5a736d536e616f298d85ad77a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "afe3c791abf15e9c6e3306c9613a4698f4c010c5a736d536e616f298d85ad77a", kill_on_drop: false }` [INFO] [stdout] afe3c791abf15e9c6e3306c9613a4698f4c010c5a736d536e616f298d85ad77a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 3fe62188f3b8bc9385fb1bade4684074ac321bbc92a59fe48fc0edbd02cb2712 [INFO] running `Command { std: "docker" "start" "-a" "3fe62188f3b8bc9385fb1bade4684074ac321bbc92a59fe48fc0edbd02cb2712", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `Quaternion` [INFO] [stderr] --> src/camera.rs:1:50 [INFO] [stderr] | [INFO] [stderr] 1 | use cgmath::{Angle, InnerSpace, Matrix4, Point3, Quaternion, Vector3}; [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `PhysicalPosition` [INFO] [stderr] --> src/main.rs:10:38 [INFO] [stderr] | [INFO] [stderr] 10 | use glium::winit::dpi::{LogicalSize, PhysicalPosition, PhysicalSize}; [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `Angle` [INFO] [stderr] --> src/camera.rs:1:14 [INFO] [stderr] | [INFO] [stderr] 1 | use cgmath::{Angle, InnerSpace, Matrix4, Point3, Quaternion, Vector3}; [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused variable: `config_template_builder` [INFO] [stderr] --> src/my_simple_window_builders.rs:90:13 [INFO] [stderr] | [INFO] [stderr] 90 | let config_template_builder = ConfigTemplateBuilder::new(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_config_template_builder` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `light_pos` [INFO] [stderr] --> src/main.rs:151:13 [INFO] [stderr] | [INFO] [stderr] 151 | let light_pos = [1.2, 1.0, 2.0]; [INFO] [stderr] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_light_pos` [INFO] [stderr] [INFO] [stderr] warning: method `change_light_color` is never used [INFO] [stderr] --> src/main.rs:414:12 [INFO] [stderr] | [INFO] [stderr] 72 | impl State { [INFO] [stderr] | ---------- method in this implementation [INFO] [stderr] ... [INFO] [stderr] 414 | pub fn change_light_color(&mut self) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: variant `Sphere` is never constructed [INFO] [stderr] --> src/object_3d/mod.rs:19:5 [INFO] [stderr] | [INFO] [stderr] 17 | pub enum Object3dKind { [INFO] [stderr] | ------------ variant in this enum [INFO] [stderr] 18 | Cube, [INFO] [stderr] 19 | Sphere [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: methods `scale` and `reset` are never used [INFO] [stderr] --> src/object_3d/mod.rs:67:12 [INFO] [stderr] | [INFO] [stderr] 45 | impl Object3d { [INFO] [stderr] | ------------- methods in this implementation [INFO] [stderr] ... [INFO] [stderr] 67 | pub fn scale(&mut self, vec: Vector3) { [INFO] [stderr] | ^^^^^ [INFO] [stderr] ... [INFO] [stderr] 72 | pub fn reset(&mut self) { [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated items `new`, `translate`, and `set_position` are never used [INFO] [stderr] --> src/object_3d/light.rs:15:12 [INFO] [stderr] | [INFO] [stderr] 14 | impl Light { [INFO] [stderr] | ---------- associated items in this implementation [INFO] [stderr] 15 | pub fn new(position: [f32; 3], [INFO] [stderr] | ^^^ [INFO] [stderr] ... [INFO] [stderr] 31 | pub fn translate(&mut self, vec: [f32; 3]) { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 38 | pub fn set_position(&mut self, position: [f32; 3]) { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function `new` is never used [INFO] [stderr] --> src/object_3d/light.rs:69:12 [INFO] [stderr] | [INFO] [stderr] 68 | impl DirectionalLight { [INFO] [stderr] | --------------------- associated function in this implementation [INFO] [stderr] 69 | pub fn new(direction: [f32; 3], ambient: [f32; 3], diffuse: [f32; 3], specular: [f32; 3]) -> DirectionalLight { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: methods `with_inner_size`, `set_window_builder`, `with_config_template_builder`, and `into_window_builder` are never used [INFO] [stderr] --> src/my_simple_window_builders.rs:38:12 [INFO] [stderr] | [INFO] [stderr] 23 | impl MySimpleWindowBuilder { [INFO] [stderr] | -------------------------- methods in this implementation [INFO] [stderr] ... [INFO] [stderr] 38 | pub fn with_inner_size(mut self, width: u32, height: u32) -> Self { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 53 | pub fn set_window_builder(mut self, window_attributes: WindowAttributes) -> Self { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 60 | pub fn with_config_template_builder(mut self, config_template_builder: ConfigTemplateBuilder) -> Self { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 66 | pub fn into_window_builder(self) -> WindowAttributes { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `learn_gluim` (bin "learn_gluim" test) generated 11 warnings (run `cargo fix --bin "learn_gluim" --tests` to apply 2 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.25s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/learn_gluim-5683beb9441aae22) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "3fe62188f3b8bc9385fb1bade4684074ac321bbc92a59fe48fc0edbd02cb2712", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3fe62188f3b8bc9385fb1bade4684074ac321bbc92a59fe48fc0edbd02cb2712", kill_on_drop: false }` [INFO] [stdout] 3fe62188f3b8bc9385fb1bade4684074ac321bbc92a59fe48fc0edbd02cb2712