[INFO] cloning repository https://github.com/tanaytekin/learn_opengl
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/tanaytekin/learn_opengl" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftanaytekin%2Flearn_opengl", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftanaytekin%2Flearn_opengl'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 0d5e728e1bbbeffa11132fca95021a657ce47c20
[INFO] testing tanaytekin/learn_opengl against 1.99.0-beta.8 for beta-1.100-2
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftanaytekin%2Flearn_opengl" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/tanaytekin/learn_opengl
[INFO] finished tweaking git repo https://github.com/tanaytekin/learn_opengl
[INFO] tweaked toml for git repo https://github.com/tanaytekin/learn_opengl written to /workspace/builds/worker-5-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/tanaytekin/learn_opengl on toolchain 1.99.0-beta.8
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.99.0-beta.8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/tanaytekin/learn_opengl 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" "+1.99.0-beta.8" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded weezl v0.1.6
[INFO] [stderr]   Downloaded lebe v0.5.1
[INFO] [stderr]   Downloaded emath v0.13.0
[INFO] [stderr]   Downloaded ab_glyph v0.2.15
[INFO] [stderr]   Downloaded tobj v3.2.2
[INFO] [stderr]   Downloaded x11-clipboard v0.5.3
[INFO] [stderr]   Downloaded spin v0.9.3
[INFO] [stderr]   Downloaded raw-window-handle v0.3.4
[INFO] [stderr]   Downloaded owned_ttf_parser v0.15.0
[INFO] [stderr]   Downloaded cli-clipboard v0.2.1
[INFO] [stderr]   Downloaded bytemuck v1.9.1
[INFO] [stderr]   Downloaded gif v0.11.3
[INFO] [stderr]   Downloaded egui_glfw_gl v0.13.1
[INFO] [stderr]   Downloaded rayon-core v1.9.2
[INFO] [stderr]   Downloaded flume v0.10.12
[INFO] [stderr]   Downloaded crossbeam-epoch v0.9.8
[INFO] [stderr]   Downloaded backtrace v0.3.65
[INFO] [stderr]   Downloaded crossbeam-channel v0.5.4
[INFO] [stderr]   Downloaded image v0.24.2
[INFO] [stderr]   Downloaded quick-xml v0.22.0
[INFO] [stderr]   Downloaded glfw v0.41.0
[INFO] [stderr]   Downloaded egui v0.13.1
[INFO] [stderr]   Downloaded ttf-parser v0.15.0
[INFO] [stderr]   Downloaded xcb v0.10.1
[INFO] [stderr]   Downloaded glam v0.20.5
[INFO] [stderr]   Downloaded rayon v1.5.2
[INFO] [stderr]   Downloaded exr v1.4.2
[INFO] [stderr]   Downloaded object v0.28.4
[INFO] [stderr]   Downloaded epaint v0.13.0
[INFO] [stderr]   Downloaded jpeg-decoder v0.2.5
[INFO] [stderr]   Downloaded glfw-sys v3.3.5
[INFO] [stderr]   Downloaded tiff v0.7.2
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3111399a4047eeb3a02b7a90e478d715f38a8c6669b5c4b49d30a17385265909" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] d85516cbc5403827ccc0dbccf429fd144ce07968db91ff233b9d0b07d4331410
[INFO] running `Command { std: "docker" "start" "d85516cbc5403827ccc0dbccf429fd144ce07968db91ff233b9d0b07d4331410", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "d85516cbc5403827ccc0dbccf429fd144ce07968db91ff233b9d0b07d4331410", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "d85516cbc5403827ccc0dbccf429fd144ce07968db91ff233b9d0b07d4331410" "/opt/rustwide/cargo-home/bin/cargo" "+1.99.0-beta.8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "d85516cbc5403827ccc0dbccf429fd144ce07968db91ff233b9d0b07d4331410", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "d85516cbc5403827ccc0dbccf429fd144ce07968db91ff233b9d0b07d4331410" "/opt/rustwide/cargo-home/bin/cargo" "+1.99.0-beta.8" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.125
[INFO] [stderr]    Compiling proc-macro2 v1.0.37
[INFO] [stderr]    Compiling syn v1.0.92
[INFO] [stderr]    Compiling num-traits v0.2.15
[INFO] [stderr]    Compiling miniz_oxide v0.5.1
[INFO] [stderr]    Compiling once_cell v1.10.0
[INFO] [stderr]    Compiling crossbeam-utils v0.8.8
[INFO] [stderr]    Compiling memchr v2.5.0
[INFO] [stderr]    Compiling log v0.4.16
[INFO] [stderr]    Compiling wayland-sys v0.27.0
[INFO] [stderr]    Compiling proc-macro-error-attr v1.0.4
[INFO] [stderr]    Compiling unicase v2.6.0
[INFO] [stderr]    Compiling crossbeam-epoch v0.9.8
[INFO] [stderr]    Compiling backtrace v0.3.65
[INFO] [stderr]    Compiling proc-macro-error v1.0.4
[INFO] [stderr]    Compiling quote v1.0.18
[INFO] [stderr]    Compiling indexmap v1.8.1
[INFO] [stderr]    Compiling khronos_api v3.1.0
[INFO] [stderr]    Compiling rayon-core v1.9.2
[INFO] [stderr]    Compiling wayland-scanner v0.27.0
[INFO] [stderr]    Compiling failure_derive v0.1.8
[INFO] [stderr]    Compiling object v0.28.4
[INFO] [stderr]    Compiling quick-xml v0.22.0
[INFO] [stderr]    Compiling num-integer v0.1.45
[INFO] [stderr]    Compiling ahash v0.7.6
[INFO] [stderr]    Compiling hashbrown v0.11.2
[INFO] [stderr]    Compiling crc32fast v1.3.2
[INFO] [stderr]    Compiling unicode-width v0.1.9
[INFO] [stderr]    Compiling unicode-segmentation v1.9.0
[INFO] [stderr]    Compiling getrandom v0.2.6
[INFO] [stderr]    Compiling num_cpus v1.13.1
[INFO] [stderr]    Compiling nix v0.17.0
[INFO] [stderr]    Compiling atty v0.2.11
[INFO] [stderr]    Compiling wayland-client v0.27.0
[INFO] [stderr]    Compiling term_size v0.3.2
[INFO] [stderr]    Compiling wayland-protocols v0.27.0
[INFO] [stderr]    Compiling textwrap v0.11.0
[INFO] [stderr]    Compiling heck v0.3.3
[INFO] [stderr]    Compiling time v0.1.43
[INFO] [stderr]    Compiling parking_lot_core v0.7.2
[INFO] [stderr]    Compiling memchr v1.0.2
[INFO] [stderr]    Compiling mime_guess v2.0.4
[INFO] [stderr]    Compiling xcb v0.10.1
[INFO] [stderr]    Compiling crossbeam-deque v0.8.1
[INFO] [stderr]    Compiling crossbeam-channel v0.5.4
[INFO] [stderr]    Compiling unreachable v1.0.0
[INFO] [stderr]    Compiling rayon v1.5.2
[INFO] [stderr]    Compiling strsim v0.8.0
[INFO] [stderr]    Compiling adler32 v1.2.0
[INFO] [stderr]    Compiling fixedbitset v0.2.0
[INFO] [stderr]    Compiling futures-core v0.3.21
[INFO] [stderr]    Compiling ttf-parser v0.15.0
[INFO] [stderr]    Compiling lazy_static v0.2.11
[INFO] [stderr]    Compiling thread_local v0.3.4
[INFO] [stderr]    Compiling petgraph v0.5.1
[INFO] [stderr]    Compiling clap v2.34.0
[INFO] [stderr]    Compiling wayland-commons v0.27.0
[INFO] [stderr]    Compiling gl_generator v0.14.0
[INFO] [stderr]    Compiling parking_lot v0.10.2
[INFO] [stderr]    Compiling glfw-sys v3.3.5
[INFO] [stderr]    Compiling owned_ttf_parser v0.15.0
[INFO] [stderr]    Compiling chrono v0.4.19
[INFO] [stderr]    Compiling nom v3.2.1
[INFO] [stderr]    Compiling synstructure v0.12.6
[INFO] [stderr]    Compiling either v1.6.1
[INFO] [stderr]    Compiling convert_case v0.4.0
[INFO] [stderr]    Compiling fastrand v1.7.0
[INFO] [stderr]    Compiling remove_dir_all v0.5.3
[INFO] [stderr]    Compiling termcolor v1.1.3
[INFO] [stderr]    Compiling cty v0.2.2
[INFO] [stderr]    Compiling mime v0.3.16
[INFO] [stderr]    Compiling anyhow v1.0.57
[INFO] [stderr]    Compiling raw-window-handle v0.4.3
[INFO] [stderr]    Compiling stderrlog v0.4.3
[INFO] [stderr]    Compiling tempfile v3.3.0
[INFO] [stderr]    Compiling tree_magic v0.2.3
[INFO] [stderr]    Compiling ab_glyph v0.2.15
[INFO] [stderr]    Compiling gl v0.14.0
[INFO] [stderr]    Compiling spin v0.9.3
[INFO] [stderr]    Compiling structopt-derive v0.4.18
[INFO] [stderr]    Compiling pin-project-internal v1.0.10
[INFO] [stderr]    Compiling failure v0.1.8
[INFO] [stderr]    Compiling exitfailure v0.5.1
[INFO] [stderr]    Compiling derive-new v0.5.9
[INFO] [stderr]    Compiling derive_more v0.99.17
[INFO] [stderr]    Compiling nix v0.18.0
[INFO] [stderr]    Compiling structopt v0.3.26
[INFO] [stderr]    Compiling pin-project v1.0.10
[INFO] [stderr]    Compiling deflate v1.0.0
[INFO] [stderr]    Compiling nanorand v0.7.0
[INFO] [stderr]    Compiling os_pipe v0.9.2
[INFO] [stderr]    Compiling ordered-float v2.10.0
[INFO] [stderr]    Compiling num-iter v0.1.43
[INFO] [stderr]    Compiling num-rational v0.4.0
[INFO] [stderr]    Compiling atomic_refcell v0.1.8
[INFO] [stderr]    Compiling semver-parser v0.7.0
[INFO] [stderr]    Compiling emath v0.13.0
[INFO] [stderr]    Compiling weezl v0.1.6
[INFO] [stderr]    Compiling futures-sink v0.3.21
[INFO] [stderr]    Compiling flume v0.10.12
[INFO] [stderr]    Compiling epaint v0.13.0
[INFO] [stderr]    Compiling x11-clipboard v0.5.3
[INFO] [stderr]    Compiling semver v0.9.0
[INFO] [stderr]    Compiling jpeg-decoder v0.2.5
[INFO] [stderr]    Compiling raw-window-handle v0.3.4
[INFO] [stderr]    Compiling flate2 v1.0.23
[INFO] [stderr]    Compiling inflate v0.4.5
[INFO] [stderr]    Compiling threadpool v1.8.1
[INFO] [stderr]    Compiling lebe v0.5.1
[INFO] [stderr]    Compiling bit_field v0.10.1
[INFO] [stderr]    Compiling color_quant v1.1.0
[INFO] [stderr]    Compiling half v1.8.2
[INFO] [stderr]    Compiling tiff v0.7.2
[INFO] [stderr]    Compiling gif v0.11.3
[INFO] [stderr]    Compiling exr v1.4.2
[INFO] [stderr]    Compiling glfw v0.41.0
[INFO] [stderr]    Compiling egui v0.13.1
[INFO] [stderr]    Compiling png v0.17.5
[INFO] [stderr]    Compiling scoped_threadpool v0.1.9
[INFO] [stderr]    Compiling byteorder v1.4.3
[INFO] [stderr]    Compiling bytemuck v1.9.1
[INFO] [stderr]    Compiling tobj v3.2.2
[INFO] [stderr]    Compiling glam v0.20.5
[INFO] [stderr]    Compiling image v0.24.2
[INFO] [stderr]    Compiling wl-clipboard-rs v0.4.1
[INFO] [stderr]    Compiling cli-clipboard v0.2.1
[INFO] [stderr]    Compiling egui_glfw_gl v0.13.1
[INFO] [stderr]    Compiling learn_opengl v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `self::texture::Texture`
[INFO] [stdout]   --> src/graphics/mod.rs:16:9
[INFO] [stdout]    |
[INFO] [stdout] 16 | pub use self::texture::Texture;
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/main.rs:221:9
[INFO] [stdout]     |
[INFO] [stdout] 221 |     let mut material_ambient = Vec3::new(1.0, 1.0, 1.00);
[INFO] [stdout]     |         ----^^^^^^^^^^^^^^^^
[INFO] [stdout]     |         |
[INFO] [stdout]     |         help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/main.rs:222:9
[INFO] [stdout]     |
[INFO] [stdout] 222 |     let mut material_diffuse = Vec3::new(1.0, 1.0, 1.00);
[INFO] [stdout]     |         ----^^^^^^^^^^^^^^^^
[INFO] [stdout]     |         |
[INFO] [stdout]     |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/main.rs:223:9
[INFO] [stdout]     |
[INFO] [stdout] 223 |     let mut material_specular = Vec3::new(1.0, 1.0, 1.0);
[INFO] [stdout]     |         ----^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |         |
[INFO] [stdout]     |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/main.rs:225:9
[INFO] [stdout]     |
[INFO] [stdout] 225 |     let mut material_shininess = 32.0;
[INFO] [stdout]     |         ----^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |         |
[INFO] [stdout]     |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/main.rs:229:9
[INFO] [stdout]     |
[INFO] [stdout] 229 |     let mut md = Model::new("backpack.obj").unwrap();
[INFO] [stdout]     |         ----^^
[INFO] [stdout]     |         |
[INFO] [stdout]     |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/main.rs:301:13
[INFO] [stdout]     |
[INFO] [stdout] 301 |         let mut light_color = (light_ambient + light_diffuse + light_specular)/3.0;
[INFO] [stdout]     |             ----^^^^^^^^^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `material_ambient`
[INFO] [stdout]    --> src/main.rs:221:9
[INFO] [stdout]     |
[INFO] [stdout] 221 |     let mut material_ambient = Vec3::new(1.0, 1.0, 1.00);
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_material_ambient`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `material_diffuse`
[INFO] [stdout]    --> src/main.rs:222:9
[INFO] [stdout]     |
[INFO] [stdout] 222 |     let mut material_diffuse = Vec3::new(1.0, 1.0, 1.00);
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_material_diffuse`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `material_specular`
[INFO] [stdout]    --> src/main.rs:223:9
[INFO] [stdout]     |
[INFO] [stdout] 223 |     let mut material_specular = Vec3::new(1.0, 1.0, 1.0);
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_material_specular`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `material_shininess`
[INFO] [stdout]    --> src/main.rs:225:9
[INFO] [stdout]     |
[INFO] [stdout] 225 |     let mut material_shininess = 32.0;
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_material_shininess`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `position`, `normal`, and `tex_coords` are never read
[INFO] [stdout]   --> src/graphics/model.rs:14:9
[INFO] [stdout]    |
[INFO] [stdout] 13 | pub struct Vertex {
[INFO] [stdout]    |            ------ fields in this struct
[INFO] [stdout] 14 |     pub position: Vec3,
[INFO] [stdout]    |         ^^^^^^^^
[INFO] [stdout] 15 |     pub normal: Vec3,
[INFO] [stdout]    |         ^^^^^^
[INFO] [stdout] 16 |     pub tex_coords: Vec2,
[INFO] [stdout]    |         ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `vertices` is never read
[INFO] [stdout]   --> src/graphics/model.rs:20:5
[INFO] [stdout]    |
[INFO] [stdout] 19 | pub struct Mesh {
[INFO] [stdout]    |            ---- field in this struct
[INFO] [stdout] 20 |     vertices: Vec<Vertex>,
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `materials` is never read
[INFO] [stdout]   --> src/graphics/model.rs:39:5
[INFO] [stdout]    |
[INFO] [stdout] 38 | pub struct Model {
[INFO] [stdout]    |            ----- field in this struct
[INFO] [stdout] 39 |     materials: Vec<Rc<Material>>,
[INFO] [stdout]    |     ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused return value of `glam::Vec3::normalize` that must be used
[INFO] [stdout]    --> src/main.rs:302:9
[INFO] [stdout]     |
[INFO] [stdout] 302 |         light_color.normalize();
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 302 |         let _ = light_color.normalize();
[INFO] [stdout]     |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 2m 10s
[INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: nom v3.2.1, quick-xml v0.22.0, wl-clipboard-rs v0.4.1
[INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 5`
[INFO] running `Command { std: "docker" "inspect" "d85516cbc5403827ccc0dbccf429fd144ce07968db91ff233b9d0b07d4331410", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "d85516cbc5403827ccc0dbccf429fd144ce07968db91ff233b9d0b07d4331410" "/opt/rustwide/cargo-home/bin/cargo" "+1.99.0-beta.8" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling learn_opengl v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `self::texture::Texture`
[INFO] [stdout]   --> src/graphics/mod.rs:16:9
[INFO] [stdout]    |
[INFO] [stdout] 16 | pub use self::texture::Texture;
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/main.rs:221:9
[INFO] [stdout]     |
[INFO] [stdout] 221 |     let mut material_ambient = Vec3::new(1.0, 1.0, 1.00);
[INFO] [stdout]     |         ----^^^^^^^^^^^^^^^^
[INFO] [stdout]     |         |
[INFO] [stdout]     |         help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/main.rs:222:9
[INFO] [stdout]     |
[INFO] [stdout] 222 |     let mut material_diffuse = Vec3::new(1.0, 1.0, 1.00);
[INFO] [stdout]     |         ----^^^^^^^^^^^^^^^^
[INFO] [stdout]     |         |
[INFO] [stdout]     |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/main.rs:223:9
[INFO] [stdout]     |
[INFO] [stdout] 223 |     let mut material_specular = Vec3::new(1.0, 1.0, 1.0);
[INFO] [stdout]     |         ----^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |         |
[INFO] [stdout]     |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/main.rs:225:9
[INFO] [stdout]     |
[INFO] [stdout] 225 |     let mut material_shininess = 32.0;
[INFO] [stdout]     |         ----^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |         |
[INFO] [stdout]     |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/main.rs:229:9
[INFO] [stdout]     |
[INFO] [stdout] 229 |     let mut md = Model::new("backpack.obj").unwrap();
[INFO] [stdout]     |         ----^^
[INFO] [stdout]     |         |
[INFO] [stdout]     |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/main.rs:301:13
[INFO] [stdout]     |
[INFO] [stdout] 301 |         let mut light_color = (light_ambient + light_diffuse + light_specular)/3.0;
[INFO] [stdout]     |             ----^^^^^^^^^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `material_ambient`
[INFO] [stdout]    --> src/main.rs:221:9
[INFO] [stdout]     |
[INFO] [stdout] 221 |     let mut material_ambient = Vec3::new(1.0, 1.0, 1.00);
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_material_ambient`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `material_diffuse`
[INFO] [stdout]    --> src/main.rs:222:9
[INFO] [stdout]     |
[INFO] [stdout] 222 |     let mut material_diffuse = Vec3::new(1.0, 1.0, 1.00);
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_material_diffuse`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `material_specular`
[INFO] [stdout]    --> src/main.rs:223:9
[INFO] [stdout]     |
[INFO] [stdout] 223 |     let mut material_specular = Vec3::new(1.0, 1.0, 1.0);
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_material_specular`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `material_shininess`
[INFO] [stdout]    --> src/main.rs:225:9
[INFO] [stdout]     |
[INFO] [stdout] 225 |     let mut material_shininess = 32.0;
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_material_shininess`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `position`, `normal`, and `tex_coords` are never read
[INFO] [stdout]   --> src/graphics/model.rs:14:9
[INFO] [stdout]    |
[INFO] [stdout] 13 | pub struct Vertex {
[INFO] [stdout]    |            ------ fields in this struct
[INFO] [stdout] 14 |     pub position: Vec3,
[INFO] [stdout]    |         ^^^^^^^^
[INFO] [stdout] 15 |     pub normal: Vec3,
[INFO] [stdout]    |         ^^^^^^
[INFO] [stdout] 16 |     pub tex_coords: Vec2,
[INFO] [stdout]    |         ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `vertices` is never read
[INFO] [stdout]   --> src/graphics/model.rs:20:5
[INFO] [stdout]    |
[INFO] [stdout] 19 | pub struct Mesh {
[INFO] [stdout]    |            ---- field in this struct
[INFO] [stdout] 20 |     vertices: Vec<Vertex>,
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `materials` is never read
[INFO] [stdout]   --> src/graphics/model.rs:39:5
[INFO] [stdout]    |
[INFO] [stdout] 38 | pub struct Model {
[INFO] [stdout]    |            ----- field in this struct
[INFO] [stdout] 39 |     materials: Vec<Rc<Material>>,
[INFO] [stdout]    |     ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused return value of `glam::Vec3::normalize` that must be used
[INFO] [stdout]    --> src/main.rs:302:9
[INFO] [stdout]     |
[INFO] [stdout] 302 |         light_color.normalize();
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 302 |         let _ = light_color.normalize();
[INFO] [stdout]     |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.96s
[INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: nom v3.2.1, quick-xml v0.22.0, wl-clipboard-rs v0.4.1
[INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 5`
[INFO] running `Command { std: "docker" "inspect" "d85516cbc5403827ccc0dbccf429fd144ce07968db91ff233b9d0b07d4331410", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "d85516cbc5403827ccc0dbccf429fd144ce07968db91ff233b9d0b07d4331410" "/opt/rustwide/cargo-home/bin/cargo" "+1.99.0-beta.8" "test" "--frozen", kill_on_drop: false }`
[INFO] [stderr] warning: unused import: `self::texture::Texture`
[INFO] [stderr]   --> src/graphics/mod.rs:16:9
[INFO] [stderr]    |
[INFO] [stderr] 16 | pub use self::texture::Texture;
[INFO] [stderr]    |         ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: variable does not need to be mutable
[INFO] [stderr]    --> src/main.rs:221:9
[INFO] [stderr]     |
[INFO] [stderr] 221 |     let mut material_ambient = Vec3::new(1.0, 1.0, 1.00);
[INFO] [stderr]     |         ----^^^^^^^^^^^^^^^^
[INFO] [stderr]     |         |
[INFO] [stderr]     |         help: remove this `mut`
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: variable does not need to be mutable
[INFO] [stderr]    --> src/main.rs:222:9
[INFO] [stderr]     |
[INFO] [stderr] 222 |     let mut material_diffuse = Vec3::new(1.0, 1.0, 1.00);
[INFO] [stderr]     |         ----^^^^^^^^^^^^^^^^
[INFO] [stderr]     |         |
[INFO] [stderr]     |         help: remove this `mut`
[INFO] [stderr] 
[INFO] [stderr] warning: variable does not need to be mutable
[INFO] [stderr]    --> src/main.rs:223:9
[INFO] [stderr]     |
[INFO] [stderr] 223 |     let mut material_specular = Vec3::new(1.0, 1.0, 1.0);
[INFO] [stderr]     |         ----^^^^^^^^^^^^^^^^^
[INFO] [stderr]     |         |
[INFO] [stderr]     |         help: remove this `mut`
[INFO] [stderr] 
[INFO] [stderr] warning: variable does not need to be mutable
[INFO] [stderr]    --> src/main.rs:225:9
[INFO] [stderr]     |
[INFO] [stderr] 225 |     let mut material_shininess = 32.0;
[INFO] [stderr]     |         ----^^^^^^^^^^^^^^^^^^
[INFO] [stderr]     |         |
[INFO] [stderr]     |         help: remove this `mut`
[INFO] [stderr] 
[INFO] [stderr] warning: variable does not need to be mutable
[INFO] [stderr]    --> src/main.rs:229:9
[INFO] [stderr]     |
[INFO] [stderr] 229 |     let mut md = Model::new("backpack.obj").unwrap();
[INFO] [stderr]     |         ----^^
[INFO] [stderr]     |         |
[INFO] [stderr]     |         help: remove this `mut`
[INFO] [stderr] 
[INFO] [stderr] warning: variable does not need to be mutable
[INFO] [stderr]    --> src/main.rs:301:13
[INFO] [stderr]     |
[INFO] [stderr] 301 |         let mut light_color = (light_ambient + light_diffuse + light_specular)/3.0;
[INFO] [stderr]     |             ----^^^^^^^^^^^
[INFO] [stderr]     |             |
[INFO] [stderr]     |             help: remove this `mut`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `material_ambient`
[INFO] [stderr]    --> src/main.rs:221:9
[INFO] [stderr]     |
[INFO] [stderr] 221 |     let mut material_ambient = Vec3::new(1.0, 1.0, 1.00);
[INFO] [stderr]     |         ^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_material_ambient`
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `material_diffuse`
[INFO] [stderr]    --> src/main.rs:222:9
[INFO] [stderr]     |
[INFO] [stderr] 222 |     let mut material_diffuse = Vec3::new(1.0, 1.0, 1.00);
[INFO] [stderr]     |         ^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_material_diffuse`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `material_specular`
[INFO] [stderr]    --> src/main.rs:223:9
[INFO] [stderr]     |
[INFO] [stderr] 223 |     let mut material_specular = Vec3::new(1.0, 1.0, 1.0);
[INFO] [stderr]     |         ^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_material_specular`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `material_shininess`
[INFO] [stderr]    --> src/main.rs:225:9
[INFO] [stderr]     |
[INFO] [stderr] 225 |     let mut material_shininess = 32.0;
[INFO] [stderr]     |         ^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_material_shininess`
[INFO] [stderr] 
[INFO] [stderr] warning: fields `position`, `normal`, and `tex_coords` are never read
[INFO] [stderr]   --> src/graphics/model.rs:14:9
[INFO] [stderr]    |
[INFO] [stderr] 13 | pub struct Vertex {
[INFO] [stderr]    |            ------ fields in this struct
[INFO] [stderr] 14 |     pub position: Vec3,
[INFO] [stderr]    |         ^^^^^^^^
[INFO] [stderr] 15 |     pub normal: Vec3,
[INFO] [stderr]    |         ^^^^^^
[INFO] [stderr] 16 |     pub tex_coords: Vec2,
[INFO] [stderr]    |         ^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: field `vertices` is never read
[INFO] [stderr]   --> src/graphics/model.rs:20:5
[INFO] [stderr]    |
[INFO] [stderr] 19 | pub struct Mesh {
[INFO] [stderr]    |            ---- field in this struct
[INFO] [stderr] 20 |     vertices: Vec<Vertex>,
[INFO] [stderr]    |     ^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: field `materials` is never read
[INFO] [stderr]   --> src/graphics/model.rs:39:5
[INFO] [stderr]    |
[INFO] [stderr] 38 | pub struct Model {
[INFO] [stderr]    |            ----- field in this struct
[INFO] [stderr] 39 |     materials: Vec<Rc<Material>>,
[INFO] [stderr]    |     ^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused return value of `glam::Vec3::normalize` that must be used
[INFO] [stderr]    --> src/main.rs:302:9
[INFO] [stderr]     |
[INFO] [stderr] 302 |         light_color.normalize();
[INFO] [stderr]     |         ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] help: use `let _ = ...` to ignore the resulting value
[INFO] [stderr]     |
[INFO] [stderr] 302 |         let _ = light_color.normalize();
[INFO] [stderr]     |         +++++++
[INFO] [stderr] 
[INFO] [stderr] warning: `learn_opengl` (bin "learn_opengl" test) generated 15 warnings (run `cargo fix --bin "learn_opengl" -p learn_opengl --tests` to apply 11 suggestions)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.18s
[INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: nom v3.2.1, quick-xml v0.22.0, wl-clipboard-rs v0.4.1
[INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 5`
[INFO] [stderr]      Running unittests src/main.rs (/opt/rustwide/target/debug/deps/learn_opengl-e01b8f84e04da077)
[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" "d85516cbc5403827ccc0dbccf429fd144ce07968db91ff233b9d0b07d4331410", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "d85516cbc5403827ccc0dbccf429fd144ce07968db91ff233b9d0b07d4331410", kill_on_drop: false }`
[INFO] [stdout] d85516cbc5403827ccc0dbccf429fd144ce07968db91ff233b9d0b07d4331410
