[INFO] cloning repository https://github.com/PeterJFB/opengl-rs-project [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/PeterJFB/opengl-rs-project" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FPeterJFB%2Fopengl-rs-project", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FPeterJFB%2Fopengl-rs-project'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 09058c14ef5993eec33a1ceed576a923abc44a33 [INFO] building PeterJFB/opengl-rs-project against master#ad85bc524b1ad696e42061ad8338d382dffbdbe5 for pr-146237-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FPeterJFB%2Fopengl-rs-project" "/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/PeterJFB/opengl-rs-project [INFO] finished tweaking git repo https://github.com/PeterJFB/opengl-rs-project [INFO] tweaked toml for git repo https://github.com/PeterJFB/opengl-rs-project written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/PeterJFB/opengl-rs-project 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/PeterJFB/opengl-rs-project 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] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded glutin_glx_sys v0.1.8 [INFO] [stderr] Downloaded inflate v0.4.5 [INFO] [stderr] Downloaded raw-window-handle v0.5.0 [INFO] [stderr] Downloaded bit_field v0.10.1 [INFO] [stderr] Downloaded approx v0.5.0 [INFO] [stderr] Downloaded wayland-protocols v0.29.4 [INFO] [stderr] Downloaded smithay-client-toolkit v0.16.0 [INFO] [stderr] Downloaded nalgebra-glm v0.17.0 [INFO] [stderr] Downloaded dwrote v0.11.0 [INFO] [stderr] Downloaded foreign-types-macros v0.2.2 [INFO] [stderr] Downloaded wayland-scanner v0.29.4 [INFO] [stderr] Downloaded core-text v19.2.0 [INFO] [stderr] Downloaded wayland-egl v0.29.4 [INFO] [stderr] Downloaded futures-sink v0.3.23 [INFO] [stderr] Downloaded glutin_egl_sys v0.1.6 [INFO] [stderr] Downloaded futures-core v0.3.23 [INFO] [stderr] Downloaded nanorand v0.7.0 [INFO] [stderr] Downloaded smallvec v1.9.0 [INFO] [stderr] Downloaded winit v0.27.2 [INFO] [stderr] Downloaded pin-project-internal v1.0.12 [INFO] [stderr] Downloaded nalgebra v0.31.1 [INFO] [stderr] Downloaded jpeg-decoder v0.2.6 [INFO] [stderr] Downloaded nom v6.2.1 [INFO] [stderr] Downloaded wayland-commons v0.29.4 [INFO] [stderr] Downloaded spin v0.9.4 [INFO] [stderr] Downloaded serde v1.0.127 [INFO] [stderr] Downloaded syn v1.0.74 [INFO] [stderr] Downloaded nix v0.24.2 [INFO] [stderr] Downloaded png v0.17.5 [INFO] [stderr] Downloaded wayland-cursor v0.29.4 [INFO] [stderr] Downloaded crossfont v0.5.0 [INFO] [stderr] Downloaded tiff v0.7.3 [INFO] [stderr] Downloaded image v0.24.3 [INFO] [stderr] Downloaded pin-project v1.0.12 [INFO] [stderr] Downloaded exr v1.4.2 [INFO] [stderr] Downloaded deflate v1.0.0 [INFO] [stderr] Downloaded flate2 v1.0.24 [INFO] [stderr] Downloaded ndk-sys v0.4.0 [INFO] [stderr] Downloaded matrixmultiply v0.3.1 [INFO] [stderr] Downloaded wide v0.7.0 [INFO] [stderr] Downloaded wayland-client v0.29.4 [INFO] [stderr] Downloaded calloop v0.10.1 [INFO] [stderr] Downloaded xcursor v0.3.3 [INFO] [stderr] Downloaded wayland-sys v0.29.4 [INFO] [stderr] Downloaded glutin v0.29.1 [INFO] [stderr] Downloaded once_cell v1.13.1 [INFO] [stderr] Downloaded memmap2 v0.5.7 [INFO] [stderr] Downloaded half v1.8.2 [INFO] [stderr] Downloaded gif v0.11.2 [INFO] [stderr] Downloaded simba v0.7.2 [INFO] [stderr] Downloaded libc v0.2.132 [INFO] [stderr] Downloaded sctk-adwaita v0.4.2 [INFO] [stderr] Downloaded tobj v3.1.0 [INFO] [stderr] Downloaded bytemuck v1.7.2 [INFO] [stderr] Downloaded paste v1.0.5 [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0ae52c769c097285e4e6605861d9c725195dd53f914d01a9d0fb858538881f33 [INFO] running `Command { std: "docker" "start" "-a" "0ae52c769c097285e4e6605861d9c725195dd53f914d01a9d0fb858538881f33", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0ae52c769c097285e4e6605861d9c725195dd53f914d01a9d0fb858538881f33", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0ae52c769c097285e4e6605861d9c725195dd53f914d01a9d0fb858538881f33", kill_on_drop: false }` [INFO] [stdout] 0ae52c769c097285e4e6605861d9c725195dd53f914d01a9d0fb858538881f33 [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2ffe048184cb7765f01c431170771448ef442682912736d66aac09026680ebf4 [INFO] running `Command { std: "docker" "start" "-a" "2ffe048184cb7765f01c431170771448ef442682912736d66aac09026680ebf4", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.132 [INFO] [stderr] Compiling pkg-config v0.3.19 [INFO] [stderr] Compiling proc-macro2 v1.0.28 [INFO] [stderr] Compiling xml-rs v0.8.4 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Compiling syn v1.0.74 [INFO] [stderr] Compiling smallvec v1.9.0 [INFO] [stderr] Compiling bytemuck v1.7.2 [INFO] [stderr] Compiling memoffset v0.6.4 [INFO] [stderr] Compiling cmake v0.1.48 [INFO] [stderr] Compiling libloading v0.7.0 [INFO] [stderr] Compiling once_cell v1.13.1 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling crc32fast v1.2.1 [INFO] [stderr] Compiling crossbeam-utils v0.8.5 [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Compiling dlib v0.5.0 [INFO] [stderr] Compiling miniz_oxide v0.5.3 [INFO] [stderr] Compiling crossbeam-epoch v0.9.5 [INFO] [stderr] Compiling deflate v1.0.0 [INFO] [stderr] Compiling rayon-core v1.9.1 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling wayland-sys v0.29.4 [INFO] [stderr] Compiling gl_generator v0.14.0 [INFO] [stderr] Compiling servo-fontconfig-sys v5.1.0 [INFO] [stderr] Compiling smithay-client-toolkit v0.16.0 [INFO] [stderr] Compiling crossfont v0.5.0 [INFO] [stderr] Compiling x11-dl v2.18.5 [INFO] [stderr] Compiling crossbeam-channel v0.5.1 [INFO] [stderr] Compiling rayon v1.5.1 [INFO] [stderr] Compiling nom v6.2.1 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling slotmap v1.0.6 [INFO] [stderr] Compiling png v0.17.5 [INFO] [stderr] Compiling num-rational v0.4.0 [INFO] [stderr] Compiling futures-core v0.3.23 [INFO] [stderr] Compiling freetype-sys v0.13.1 [INFO] [stderr] Compiling wayland-scanner v0.29.4 [INFO] [stderr] Compiling expat-sys v2.1.6 [INFO] [stderr] Compiling foreign-types-shared v0.3.1 [INFO] [stderr] Compiling arrayref v0.3.6 [INFO] [stderr] Compiling parking_lot_core v0.9.3 [INFO] [stderr] Compiling tiny-skia-path v0.7.0 [INFO] [stderr] Compiling crossbeam-deque v0.8.1 [INFO] [stderr] Compiling getrandom v0.2.7 [INFO] [stderr] Compiling nix v0.22.3 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling nix v0.24.2 [INFO] [stderr] Compiling memmap2 v0.5.7 [INFO] [stderr] Compiling freetype-rs v0.26.0 [INFO] [stderr] Compiling safe_arch v0.5.2 [INFO] [stderr] Compiling servo-fontconfig v0.5.1 [INFO] [stderr] Compiling safe_arch v0.6.0 [INFO] [stderr] Compiling typenum v1.13.0 [INFO] [stderr] Compiling arrayvec v0.5.2 [INFO] [stderr] Compiling wide v0.7.0 [INFO] [stderr] Compiling nanorand v0.7.0 [INFO] [stderr] Compiling num-complex v0.4.0 [INFO] [stderr] Compiling approx v0.5.0 [INFO] [stderr] Compiling glutin_egl_sys v0.1.6 [INFO] [stderr] Compiling glutin_glx_sys v0.1.8 [INFO] [stderr] Compiling tiny-skia v0.7.0 [INFO] [stderr] Compiling ahash v0.7.4 [INFO] [stderr] Compiling spin v0.9.4 [INFO] [stderr] Compiling paste v1.0.5 [INFO] [stderr] Compiling futures-sink v0.3.23 [INFO] [stderr] Compiling weezl v0.1.5 [INFO] [stderr] Compiling rawpointer v0.2.1 [INFO] [stderr] Compiling matrixmultiply v0.3.1 [INFO] [stderr] Compiling parking_lot v0.12.1 [INFO] [stderr] Compiling wayland-client v0.29.4 [INFO] [stderr] Compiling wayland-protocols v0.29.4 [INFO] [stderr] Compiling xcursor v0.3.3 [INFO] [stderr] Compiling raw-window-handle v0.5.0 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling threadpool v1.8.1 [INFO] [stderr] Compiling mio v0.8.4 [INFO] [stderr] Compiling shared_library v0.1.9 [INFO] [stderr] Compiling gl v0.14.0 [INFO] [stderr] Compiling flate2 v1.0.24 [INFO] [stderr] Compiling inflate v0.4.5 [INFO] [stderr] Compiling instant v0.1.10 [INFO] [stderr] Compiling bit_field v0.10.1 [INFO] [stderr] Compiling ppv-lite86 v0.2.10 [INFO] [stderr] Compiling half v1.8.2 [INFO] [stderr] Compiling gif v0.11.2 [INFO] [stderr] Compiling osmesa-sys v0.1.2 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling simba v0.7.2 [INFO] [stderr] Compiling scoped_threadpool v0.1.9 [INFO] [stderr] Compiling rand v0.8.4 [INFO] [stderr] Compiling tobj v3.1.0 [INFO] [stderr] Compiling jpeg-decoder v0.2.6 [INFO] [stderr] Compiling wayland-commons v0.29.4 [INFO] [stderr] Compiling tiff v0.7.3 [INFO] [stderr] Compiling wayland-cursor v0.29.4 [INFO] [stderr] Compiling wayland-egl v0.29.4 [INFO] [stderr] Compiling thiserror-impl v1.0.26 [INFO] [stderr] Compiling foreign-types-macros v0.2.2 [INFO] [stderr] Compiling pin-project-internal v1.0.12 [INFO] [stderr] Compiling foreign-types v0.5.0 [INFO] [stderr] Compiling thiserror v1.0.26 [INFO] [stderr] Compiling calloop v0.10.1 [INFO] [stderr] Compiling pin-project v1.0.12 [INFO] [stderr] Compiling flume v0.10.14 [INFO] [stderr] Compiling exr v1.4.2 [INFO] [stderr] Compiling nalgebra v0.31.1 [INFO] [stderr] Compiling image v0.24.3 [INFO] [stderr] Compiling nalgebra-glm v0.17.0 [INFO] [stderr] Compiling sctk-adwaita v0.4.2 [INFO] [stderr] Compiling winit v0.27.2 [INFO] [stderr] Compiling glutin v0.29.1 [INFO] [stderr] Compiling gloom-rs v0.3.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `glm::pi` [INFO] [stdout] --> src/main.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | use glm::pi; [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: `obj_reader::ObjReader` [INFO] [stdout] --> src/main.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 34 | use obj_reader::ObjReader; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rand::Rng` [INFO] [stdout] --> src/main.rs:35:5 [INFO] [stdout] | [INFO] [stdout] 35 | use rand::Rng; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `shape_generator::ShapeGenerator` [INFO] [stdout] --> src/main.rs:37:5 [INFO] [stdout] | [INFO] [stdout] 37 | use shape_generator::ShapeGenerator; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `door` is never read [INFO] [stdout] --> src/main.rs:79:5 [INFO] [stdout] | [INFO] [stdout] 77 | struct HelicopterNode { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] 78 | body: ManuallyDrop>>, [INFO] [stdout] 79 | door: ManuallyDrop>>, [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 `index_count` is never read [INFO] [stdout] --> src/mesh.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct Mesh { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] ... [INFO] [stdout] 15 | pub index_count : i32, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ObjReader` is never constructed [INFO] [stdout] --> src/obj_reader.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct ObjReader {} [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `ObjEntry` is never used [INFO] [stdout] --> src/obj_reader.rs:5:10 [INFO] [stdout] | [INFO] [stdout] 5 | pub enum ObjEntry { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `from_code` is never used [INFO] [stdout] --> src/obj_reader.rs:12:8 [INFO] [stdout] | [INFO] [stdout] 11 | impl ObjEntry { [INFO] [stdout] | ------------- associated function in this implementation [INFO] [stdout] 12 | fn from_code(code: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `read` and `parse_obj_src` are never used [INFO] [stdout] --> src/obj_reader.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 22 | impl ObjReader { [INFO] [stdout] | -------------- associated functions in this implementation [INFO] [stdout] 23 | pub fn read(obj_path: &str) -> (Vec, Vec) { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 50 | pub fn parse_obj_src(obj_src: &str) -> (Vec, Vec) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `scale` is never read [INFO] [stdout] --> src/scene_graph.rs:22:9 [INFO] [stdout] | [INFO] [stdout] 19 | pub struct SceneNode { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 22 | pub scale : glm::Vec3, // How I should be scaled [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ShapeGenerator` is never constructed [INFO] [stdout] --> src/shape_generator.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct ShapeGenerator {} [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated functions are never used [INFO] [stdout] --> src/shape_generator.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 7 | impl ShapeGenerator { [INFO] [stdout] | ------------------- associated functions in this implementation [INFO] [stdout] 8 | pub fn generate_n_force( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 54 | pub fn generate_circle(n_perimeter_verticies: usize, rad: f32) -> (Vec, Vec) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 80 | pub fn generate_spiral( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 123 | pub fn generate_square(side_length: f32) -> (Vec, Vec) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 147 | pub fn generate_sine(n_points: usize, width: f32, angle_rate: f32) -> (Vec, Vec) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 197 | pub fn overlapping_triangles(width: f32, height: f32, overlap: f32) -> (Vec, Vec) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 244 | pub fn flat_thing() -> (Vec, Vec) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `uniform_time_location` should have an upper case name [INFO] [stdout] --> src/main.rs:84:12 [INFO] [stdout] | [INFO] [stdout] 84 | static mut uniform_time_location: i32 = 0; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_upper_case_globals)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] help: convert the identifier to upper case [INFO] [stdout] | [INFO] [stdout] 84 - static mut uniform_time_location: i32 = 0; [INFO] [stdout] 84 + static mut UNIFORM_TIME_LOCATION: i32 = 0; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `uniform_matrix_location` should have an upper case name [INFO] [stdout] --> src/main.rs:85:12 [INFO] [stdout] | [INFO] [stdout] 85 | static mut uniform_matrix_location: i32 = 0; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: convert the identifier to upper case [INFO] [stdout] | [INFO] [stdout] 85 - static mut uniform_matrix_location: i32 = 0; [INFO] [stdout] 85 + static mut UNIFORM_MATRIX_LOCATION: i32 = 0; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `uniform_normal_matrix_location` should have an upper case name [INFO] [stdout] --> src/main.rs:86:12 [INFO] [stdout] | [INFO] [stdout] 86 | static mut uniform_normal_matrix_location: i32 = 0; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: convert the identifier to upper case [INFO] [stdout] | [INFO] [stdout] 86 - static mut uniform_normal_matrix_location: i32 = 0; [INFO] [stdout] 86 + static mut UNIFORM_NORMAL_MATRIX_LOCATION: i32 = 0; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 37s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: nom v6.2.1 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "2ffe048184cb7765f01c431170771448ef442682912736d66aac09026680ebf4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2ffe048184cb7765f01c431170771448ef442682912736d66aac09026680ebf4", kill_on_drop: false }` [INFO] [stdout] 2ffe048184cb7765f01c431170771448ef442682912736d66aac09026680ebf4 [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 06da29a3f848e0ae42b424f8952fbbad6dc4b4ff997d03bde9494bb1b0a33360 [INFO] running `Command { std: "docker" "start" "-a" "06da29a3f848e0ae42b424f8952fbbad6dc4b4ff997d03bde9494bb1b0a33360", kill_on_drop: false }` [INFO] [stderr] Compiling gloom-rs v0.3.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `glm::pi` [INFO] [stdout] --> src/main.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | use glm::pi; [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: `obj_reader::ObjReader` [INFO] [stdout] --> src/main.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 34 | use obj_reader::ObjReader; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rand::Rng` [INFO] [stdout] --> src/main.rs:35:5 [INFO] [stdout] | [INFO] [stdout] 35 | use rand::Rng; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `shape_generator::ShapeGenerator` [INFO] [stdout] --> src/main.rs:37:5 [INFO] [stdout] | [INFO] [stdout] 37 | use shape_generator::ShapeGenerator; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `door` is never read [INFO] [stdout] --> src/main.rs:79:5 [INFO] [stdout] | [INFO] [stdout] 77 | struct HelicopterNode { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] 78 | body: ManuallyDrop>>, [INFO] [stdout] 79 | door: ManuallyDrop>>, [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 `index_count` is never read [INFO] [stdout] --> src/mesh.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct Mesh { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] ... [INFO] [stdout] 15 | pub index_count : i32, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ObjReader` is never constructed [INFO] [stdout] --> src/obj_reader.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct ObjReader {} [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `ObjEntry` is never used [INFO] [stdout] --> src/obj_reader.rs:5:10 [INFO] [stdout] | [INFO] [stdout] 5 | pub enum ObjEntry { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `from_code` is never used [INFO] [stdout] --> src/obj_reader.rs:12:8 [INFO] [stdout] | [INFO] [stdout] 11 | impl ObjEntry { [INFO] [stdout] | ------------- associated function in this implementation [INFO] [stdout] 12 | fn from_code(code: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `read` and `parse_obj_src` are never used [INFO] [stdout] --> src/obj_reader.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 22 | impl ObjReader { [INFO] [stdout] | -------------- associated functions in this implementation [INFO] [stdout] 23 | pub fn read(obj_path: &str) -> (Vec, Vec) { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 50 | pub fn parse_obj_src(obj_src: &str) -> (Vec, Vec) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `scale` is never read [INFO] [stdout] --> src/scene_graph.rs:22:9 [INFO] [stdout] | [INFO] [stdout] 19 | pub struct SceneNode { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 22 | pub scale : glm::Vec3, // How I should be scaled [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ShapeGenerator` is never constructed [INFO] [stdout] --> src/shape_generator.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct ShapeGenerator {} [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated functions are never used [INFO] [stdout] --> src/shape_generator.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 7 | impl ShapeGenerator { [INFO] [stdout] | ------------------- associated functions in this implementation [INFO] [stdout] 8 | pub fn generate_n_force( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 54 | pub fn generate_circle(n_perimeter_verticies: usize, rad: f32) -> (Vec, Vec) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 80 | pub fn generate_spiral( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 123 | pub fn generate_square(side_length: f32) -> (Vec, Vec) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 147 | pub fn generate_sine(n_points: usize, width: f32, angle_rate: f32) -> (Vec, Vec) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 197 | pub fn overlapping_triangles(width: f32, height: f32, overlap: f32) -> (Vec, Vec) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 244 | pub fn flat_thing() -> (Vec, Vec) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `uniform_time_location` should have an upper case name [INFO] [stdout] --> src/main.rs:84:12 [INFO] [stdout] | [INFO] [stdout] 84 | static mut uniform_time_location: i32 = 0; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_upper_case_globals)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] help: convert the identifier to upper case [INFO] [stdout] | [INFO] [stdout] 84 - static mut uniform_time_location: i32 = 0; [INFO] [stdout] 84 + static mut UNIFORM_TIME_LOCATION: i32 = 0; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `uniform_matrix_location` should have an upper case name [INFO] [stdout] --> src/main.rs:85:12 [INFO] [stdout] | [INFO] [stdout] 85 | static mut uniform_matrix_location: i32 = 0; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: convert the identifier to upper case [INFO] [stdout] | [INFO] [stdout] 85 - static mut uniform_matrix_location: i32 = 0; [INFO] [stdout] 85 + static mut UNIFORM_MATRIX_LOCATION: i32 = 0; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `uniform_normal_matrix_location` should have an upper case name [INFO] [stdout] --> src/main.rs:86:12 [INFO] [stdout] | [INFO] [stdout] 86 | static mut uniform_normal_matrix_location: i32 = 0; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: convert the identifier to upper case [INFO] [stdout] | [INFO] [stdout] 86 - static mut uniform_normal_matrix_location: i32 = 0; [INFO] [stdout] 86 + static mut UNIFORM_NORMAL_MATRIX_LOCATION: i32 = 0; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.88s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: nom v6.2.1 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "06da29a3f848e0ae42b424f8952fbbad6dc4b4ff997d03bde9494bb1b0a33360", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "06da29a3f848e0ae42b424f8952fbbad6dc4b4ff997d03bde9494bb1b0a33360", kill_on_drop: false }` [INFO] [stdout] 06da29a3f848e0ae42b424f8952fbbad6dc4b4ff997d03bde9494bb1b0a33360