[INFO] cloning repository https://github.com/mathiatp/TDT4195_Visdat [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/mathiatp/TDT4195_Visdat" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmathiatp%2FTDT4195_Visdat", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmathiatp%2FTDT4195_Visdat'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] a366873716605327e2957d908b9a8d8d167188eb [INFO] checking mathiatp/TDT4195_Visdat against master#84e729a59f216cc64755788a470f165429a731f4 for pr-123737-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmathiatp%2FTDT4195_Visdat" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/mathiatp/TDT4195_Visdat on toolchain 84e729a59f216cc64755788a470f165429a731f4 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+84e729a59f216cc64755788a470f165429a731f4" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/mathiatp/TDT4195_Visdat [INFO] finished tweaking git repo https://github.com/mathiatp/TDT4195_Visdat [INFO] tweaked toml for git repo https://github.com/mathiatp/TDT4195_Visdat written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/mathiatp/TDT4195_Visdat already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+84e729a59f216cc64755788a470f165429a731f4" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded simba v0.6.0 [INFO] [stderr] Downloaded tobj v3.1.0 [INFO] [stderr] Downloaded wide v0.7.0 [INFO] [stderr] Downloaded nalgebra-glm v0.15.0 [INFO] [stderr] Downloaded gl v0.14.0 [INFO] [stderr] Downloaded num_enum_derive v0.5.4 [INFO] [stderr] Downloaded nalgebra v0.29.0 [INFO] [stderr] Downloaded libc v0.2.99 [INFO] [stderr] Downloaded num_enum v0.5.4 [INFO] [stderr] Downloaded matrixmultiply v0.3.1 [INFO] [stderr] Downloaded typenum v1.13.0 [INFO] [stderr] Downloaded paste v1.0.5 [INFO] [stderr] Downloaded ahash v0.7.4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+84e729a59f216cc64755788a470f165429a731f4" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] dfd26fb480d5f599cb5359dd08903df9f0cc5392fb9e49128bdb6d9bb29981ad [INFO] running `Command { std: "docker" "start" "-a" "dfd26fb480d5f599cb5359dd08903df9f0cc5392fb9e49128bdb6d9bb29981ad", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "dfd26fb480d5f599cb5359dd08903df9f0cc5392fb9e49128bdb6d9bb29981ad", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dfd26fb480d5f599cb5359dd08903df9f0cc5392fb9e49128bdb6d9bb29981ad", kill_on_drop: false }` [INFO] [stdout] dfd26fb480d5f599cb5359dd08903df9f0cc5392fb9e49128bdb6d9bb29981ad [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+84e729a59f216cc64755788a470f165429a731f4" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3948e37afc5e1e87451355c48b02b02f4ed60cc9c252967fc0c8eafaa5611d62 [INFO] running `Command { std: "docker" "start" "-a" "3948e37afc5e1e87451355c48b02b02f4ed60cc9c252967fc0c8eafaa5611d62", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling libc v0.2.99 [INFO] [stderr] Compiling xml-rs v0.8.4 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling crossbeam-utils v0.8.5 [INFO] [stderr] Compiling proc-macro2 v1.0.28 [INFO] [stderr] Compiling pkg-config v0.3.19 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Compiling crossbeam-epoch v0.9.5 [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Compiling memoffset v0.6.4 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Checking libloading v0.7.0 [INFO] [stderr] Compiling wayland-sys v0.28.6 [INFO] [stderr] Checking once_cell v1.8.0 [INFO] [stderr] Compiling gl_generator v0.14.0 [INFO] [stderr] Checking smallvec v1.6.1 [INFO] [stderr] Checking dlib v0.5.0 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Checking crossbeam-deque v0.8.1 [INFO] [stderr] Checking crossbeam-channel v0.5.1 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling wayland-scanner v0.28.6 [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Compiling nom v6.2.1 [INFO] [stderr] Checking scoped-tls v1.0.0 [INFO] [stderr] Compiling rayon-core v1.9.1 [INFO] [stderr] Checking downcast-rs v1.2.0 [INFO] [stderr] Checking bytemuck v1.7.2 [INFO] [stderr] Compiling crossbeam-queue v0.3.2 [INFO] [stderr] Compiling nix v0.18.0 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Checking ttf-parser v0.6.2 [INFO] [stderr] Compiling x11-dl v2.18.5 [INFO] [stderr] Checking nix v0.20.0 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Compiling rayon v1.5.1 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Checking ab_glyph_rasterizer v0.1.4 [INFO] [stderr] Checking same-file v1.0.6 [INFO] [stderr] Checking walkdir v2.3.2 [INFO] [stderr] Checking safe_arch v0.6.0 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Compiling num-rational v0.4.0 [INFO] [stderr] Checking libloading v0.6.7 [INFO] [stderr] Checking instant v0.1.10 [INFO] [stderr] Checking xdg v2.2.0 [INFO] [stderr] Checking adler32 v1.2.0 [INFO] [stderr] Checking either v1.6.1 [INFO] [stderr] Compiling wayland-client v0.28.6 [INFO] [stderr] Checking owned_ttf_parser v0.6.0 [INFO] [stderr] Compiling wayland-protocols v0.28.6 [INFO] [stderr] Checking rusttype v0.9.2 [INFO] [stderr] Compiling typenum v1.13.0 [INFO] [stderr] Compiling crc32fast v1.2.1 [INFO] [stderr] Checking andrew v0.3.1 [INFO] [stderr] Checking xcursor v0.3.3 [INFO] [stderr] Checking dlib v0.4.2 [INFO] [stderr] Checking parking_lot_core v0.8.3 [INFO] [stderr] Checking wide v0.7.0 [INFO] [stderr] Checking crossbeam v0.8.1 [INFO] [stderr] Checking mio v0.7.13 [INFO] [stderr] Checking memmap2 v0.1.0 [INFO] [stderr] Compiling glutin_glx_sys v0.1.7 [INFO] [stderr] Compiling glutin_egl_sys v0.1.5 [INFO] [stderr] Checking num-complex v0.4.0 [INFO] [stderr] Checking approx v0.5.0 [INFO] [stderr] Compiling ahash v0.7.4 [INFO] [stderr] Compiling num-iter v0.1.42 [INFO] [stderr] Compiling num-rational v0.3.2 [INFO] [stderr] Checking lock_api v0.4.4 [INFO] [stderr] Checking rawpointer v0.2.1 [INFO] [stderr] Checking weezl v0.1.5 [INFO] [stderr] Checking wayland-commons v0.28.6 [INFO] [stderr] Compiling paste v1.0.5 [INFO] [stderr] Compiling winit v0.25.0 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Checking calloop v0.6.5 [INFO] [stderr] Checking deflate v0.8.6 [INFO] [stderr] Checking matrixmultiply v0.3.1 [INFO] [stderr] Checking parking_lot v0.11.1 [INFO] [stderr] Checking jpeg-decoder v0.1.22 [INFO] [stderr] Checking simba v0.6.0 [INFO] [stderr] Checking mio-misc v1.2.1 [INFO] [stderr] Checking miniz_oxide v0.3.7 [INFO] [stderr] Checking raw-window-handle v0.3.3 [INFO] [stderr] Checking getrandom v0.2.3 [INFO] [stderr] Checking shared_library v0.1.9 [INFO] [stderr] Compiling gl v0.14.0 [INFO] [stderr] Checking percent-encoding v2.1.0 [INFO] [stderr] Checking gif v0.11.2 [INFO] [stderr] Checking osmesa-sys v0.1.2 [INFO] [stderr] Checking png v0.16.8 [INFO] [stderr] Checking tiff v0.6.1 [INFO] [stderr] Checking wayland-cursor v0.28.6 [INFO] [stderr] Checking wayland-egl v0.28.6 [INFO] [stderr] Checking scoped_threadpool v0.1.9 [INFO] [stderr] Checking tobj v3.1.0 [INFO] [stderr] Checking image v0.23.14 [INFO] [stderr] Checking nalgebra v0.29.0 [INFO] [stderr] Checking smithay-client-toolkit v0.12.3 [INFO] [stderr] Checking glutin v0.27.0 [INFO] [stderr] Checking nalgebra-glm v0.15.0 [INFO] [stderr] Checking gloom-rs v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `theta` [INFO] [stdout] --> src/main.rs:181:17 [INFO] [stdout] | [INFO] [stdout] 181 | let mut theta:f32 = 0.0; [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_theta` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `theta` [INFO] [stdout] --> src/main.rs:181:17 [INFO] [stdout] | [INFO] [stdout] 181 | let mut theta:f32 = 0.0; [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_theta` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `x` is never read [INFO] [stdout] --> src/main.rs:182:17 [INFO] [stdout] | [INFO] [stdout] 182 | let mut x: f32 = 0.0; [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `y` is never read [INFO] [stdout] --> src/main.rs:183:17 [INFO] [stdout] | [INFO] [stdout] 183 | let mut y:f32 = 0.0; [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `vao5` [INFO] [stdout] --> src/main.rs:201:13 [INFO] [stdout] | [INFO] [stdout] 201 | let vao5: u32 = unsafe {vao_setup(&vertex_cooridnates_circle, &arr_indices_circle)}; [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_vao5` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `elapsed` [INFO] [stdout] --> src/main.rs:227:17 [INFO] [stdout] | [INFO] [stdout] 227 | let elapsed = now.duration_since(first_frame_time).as_secs_f32(); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_elapsed` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `x` is never read [INFO] [stdout] --> src/main.rs:182:17 [INFO] [stdout] | [INFO] [stdout] 182 | let mut x: f32 = 0.0; [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `y` is never read [INFO] [stdout] --> src/main.rs:183:17 [INFO] [stdout] | [INFO] [stdout] 183 | let mut y:f32 = 0.0; [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `vao5` [INFO] [stdout] --> src/main.rs:201:13 [INFO] [stdout] | [INFO] [stdout] 201 | let vao5: u32 = unsafe {vao_setup(&vertex_cooridnates_circle, &arr_indices_circle)}; [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_vao5` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `elapsed` [INFO] [stdout] --> src/main.rs:227:17 [INFO] [stdout] | [INFO] [stdout] 227 | let elapsed = now.duration_since(first_frame_time).as_secs_f32(); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_elapsed` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:181:13 [INFO] [stdout] | [INFO] [stdout] 181 | let mut theta:f32 = 0.0; [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:181:13 [INFO] [stdout] | [INFO] [stdout] 181 | let mut theta:f32 = 0.0; [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: function `size_of` is never used [INFO] [stdout] --> src/main.rs:27:4 [INFO] [stdout] | [INFO] [stdout] 27 | fn size_of() -> i32 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `offset` is never used [INFO] [stdout] --> src/main.rs:32:4 [INFO] [stdout] | [INFO] [stdout] 32 | fn offset(n: u32) -> *const c_void { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_uniform_location` is never used [INFO] [stdout] --> src/shader.rs:29:19 [INFO] [stdout] | [INFO] [stdout] 27 | impl Shader { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] 28 | // Make sure the shader is active before calling this [INFO] [stdout] 29 | pub unsafe fn get_uniform_location(&self, name: &str) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `vao_ID` should have a snake case name [INFO] [stdout] --> src/main.rs:43:13 [INFO] [stdout] | [INFO] [stdout] 43 | let mut vao_ID:u32 = 0; [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `vao_id` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `size_of` is never used [INFO] [stdout] --> src/main.rs:27:4 [INFO] [stdout] | [INFO] [stdout] 27 | fn size_of() -> i32 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `offset` is never used [INFO] [stdout] --> src/main.rs:32:4 [INFO] [stdout] | [INFO] [stdout] 32 | fn offset(n: u32) -> *const c_void { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `buf_IDs` should have a snake case name [INFO] [stdout] --> src/main.rs:47:13 [INFO] [stdout] | [INFO] [stdout] 47 | let mut buf_IDs:u32 = 0; [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `buf_ids` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `index_buf_IDs` should have a snake case name [INFO] [stdout] --> src/main.rs:60:17 [INFO] [stdout] | [INFO] [stdout] 60 | let mut index_buf_IDs:u32 = 0; [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `index_buf_ids` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_uniform_location` is never used [INFO] [stdout] --> src/shader.rs:29:19 [INFO] [stdout] | [INFO] [stdout] 27 | impl Shader { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] 28 | // Make sure the shader is active before calling this [INFO] [stdout] 29 | pub unsafe fn get_uniform_location(&self, name: &str) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `vao_ID` should have a snake case name [INFO] [stdout] --> src/main.rs:43:13 [INFO] [stdout] | [INFO] [stdout] 43 | let mut vao_ID:u32 = 0; [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `vao_id` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `buf_IDs` should have a snake case name [INFO] [stdout] --> src/main.rs:47:13 [INFO] [stdout] | [INFO] [stdout] 47 | let mut buf_IDs:u32 = 0; [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `buf_ids` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `index_buf_IDs` should have a snake case name [INFO] [stdout] --> src/main.rs:60:17 [INFO] [stdout] | [INFO] [stdout] 60 | let mut index_buf_IDs:u32 = 0; [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `index_buf_ids` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 17s [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" "3948e37afc5e1e87451355c48b02b02f4ed60cc9c252967fc0c8eafaa5611d62", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3948e37afc5e1e87451355c48b02b02f4ed60cc9c252967fc0c8eafaa5611d62", kill_on_drop: false }` [INFO] [stdout] 3948e37afc5e1e87451355c48b02b02f4ed60cc9c252967fc0c8eafaa5611d62 [INFO] checking mathiatp/TDT4195_Visdat against try#8d9ad7790f77ffaa434059a58807949d4583c045 for pr-123737-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmathiatp%2FTDT4195_Visdat" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/mathiatp/TDT4195_Visdat on toolchain 8d9ad7790f77ffaa434059a58807949d4583c045 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8d9ad7790f77ffaa434059a58807949d4583c045" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/mathiatp/TDT4195_Visdat [INFO] finished tweaking git repo https://github.com/mathiatp/TDT4195_Visdat [INFO] tweaked toml for git repo https://github.com/mathiatp/TDT4195_Visdat written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/mathiatp/TDT4195_Visdat 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" "+8d9ad7790f77ffaa434059a58807949d4583c045" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+8d9ad7790f77ffaa434059a58807949d4583c045" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] eef183f4470b8c99b508746cc80ad634b96fde36f0db3b05a9253da384a91b9d [INFO] running `Command { std: "docker" "start" "-a" "eef183f4470b8c99b508746cc80ad634b96fde36f0db3b05a9253da384a91b9d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "eef183f4470b8c99b508746cc80ad634b96fde36f0db3b05a9253da384a91b9d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "eef183f4470b8c99b508746cc80ad634b96fde36f0db3b05a9253da384a91b9d", kill_on_drop: false }` [INFO] [stdout] eef183f4470b8c99b508746cc80ad634b96fde36f0db3b05a9253da384a91b9d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+8d9ad7790f77ffaa434059a58807949d4583c045" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a36ffee07f247c1d2f4c51a767e79124cf140e5d7d9a42731b551c6f5bc2f22a [INFO] running `Command { std: "docker" "start" "-a" "a36ffee07f247c1d2f4c51a767e79124cf140e5d7d9a42731b551c6f5bc2f22a", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling libc v0.2.99 [INFO] [stderr] Compiling xml-rs v0.8.4 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling proc-macro2 v1.0.28 [INFO] [stderr] Compiling pkg-config v0.3.19 [INFO] [stderr] Compiling crossbeam-utils v0.8.5 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Compiling crossbeam-epoch v0.9.5 [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Compiling memoffset v0.6.4 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling wayland-sys v0.28.6 [INFO] [stderr] Checking libloading v0.7.0 [INFO] [stderr] Compiling gl_generator v0.14.0 [INFO] [stderr] Checking once_cell v1.8.0 [INFO] [stderr] Checking smallvec v1.6.1 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Checking dlib v0.5.0 [INFO] [stderr] Checking crossbeam-channel v0.5.1 [INFO] [stderr] Checking crossbeam-deque v0.8.1 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling wayland-scanner v0.28.6 [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Compiling nom v6.2.1 [INFO] [stderr] Checking downcast-rs v1.2.0 [INFO] [stderr] Compiling rayon-core v1.9.1 [INFO] [stderr] Checking scoped-tls v1.0.0 [INFO] [stderr] Compiling nix v0.18.0 [INFO] [stderr] Checking bytemuck v1.7.2 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Compiling crossbeam-queue v0.3.2 [INFO] [stderr] Checking ttf-parser v0.6.2 [INFO] [stderr] Checking nix v0.20.0 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Compiling x11-dl v2.18.5 [INFO] [stderr] Compiling rayon v1.5.1 [INFO] [stderr] Checking same-file v1.0.6 [INFO] [stderr] Checking ab_glyph_rasterizer v0.1.4 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Checking walkdir v2.3.2 [INFO] [stderr] Checking safe_arch v0.6.0 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Compiling num-rational v0.4.0 [INFO] [stderr] Checking libloading v0.6.7 [INFO] [stderr] Checking instant v0.1.10 [INFO] [stderr] Compiling typenum v1.13.0 [INFO] [stderr] Checking either v1.6.1 [INFO] [stderr] Compiling crc32fast v1.2.1 [INFO] [stderr] Compiling wayland-client v0.28.6 [INFO] [stderr] Checking owned_ttf_parser v0.6.0 [INFO] [stderr] Compiling wayland-protocols v0.28.6 [INFO] [stderr] Checking rusttype v0.9.2 [INFO] [stderr] Checking xdg v2.2.0 [INFO] [stderr] Checking adler32 v1.2.0 [INFO] [stderr] Checking andrew v0.3.1 [INFO] [stderr] Checking xcursor v0.3.3 [INFO] [stderr] Checking wide v0.7.0 [INFO] [stderr] Checking parking_lot_core v0.8.3 [INFO] [stderr] Checking dlib v0.4.2 [INFO] [stderr] Checking crossbeam v0.8.1 [INFO] [stderr] Checking mio v0.7.13 [INFO] [stderr] Checking memmap2 v0.1.0 [INFO] [stderr] Checking approx v0.5.0 [INFO] [stderr] Checking num-complex v0.4.0 [INFO] [stderr] Compiling glutin_glx_sys v0.1.7 [INFO] [stderr] Checking calloop v0.6.5 [INFO] [stderr] Compiling glutin_egl_sys v0.1.5 [INFO] [stderr] Compiling ahash v0.7.4 [INFO] [stderr] Compiling num-rational v0.3.2 [INFO] [stderr] Compiling num-iter v0.1.42 [INFO] [stderr] Checking wayland-commons v0.28.6 [INFO] [stderr] Checking lock_api v0.4.4 [INFO] [stderr] Compiling paste v1.0.5 [INFO] [stderr] Compiling winit v0.25.0 [INFO] [stderr] Checking weezl v0.1.5 [INFO] [stderr] Checking rawpointer v0.2.1 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Checking matrixmultiply v0.3.1 [INFO] [stderr] Checking parking_lot v0.11.1 [INFO] [stderr] Checking deflate v0.8.6 [INFO] [stderr] Checking simba v0.6.0 [INFO] [stderr] Checking jpeg-decoder v0.1.22 [INFO] [stderr] Checking mio-misc v1.2.1 [INFO] [stderr] Checking miniz_oxide v0.3.7 [INFO] [stderr] Checking getrandom v0.2.3 [INFO] [stderr] Checking shared_library v0.1.9 [INFO] [stderr] Checking raw-window-handle v0.3.3 [INFO] [stderr] Compiling gl v0.14.0 [INFO] [stderr] Checking percent-encoding v2.1.0 [INFO] [stderr] Checking gif v0.11.2 [INFO] [stderr] Checking osmesa-sys v0.1.2 [INFO] [stderr] Checking png v0.16.8 [INFO] [stderr] Checking wayland-cursor v0.28.6 [INFO] [stderr] Checking wayland-egl v0.28.6 [INFO] [stderr] Checking tiff v0.6.1 [INFO] [stderr] Checking scoped_threadpool v0.1.9 [INFO] [stderr] Checking tobj v3.1.0 [INFO] [stderr] Checking image v0.23.14 [INFO] [stderr] Checking nalgebra v0.29.0 [INFO] [stderr] Checking smithay-client-toolkit v0.12.3 [INFO] [stderr] Checking glutin v0.27.0 [INFO] [stderr] Checking nalgebra-glm v0.15.0 [INFO] [stderr] Checking gloom-rs v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `theta` [INFO] [stdout] --> src/main.rs:181:17 [INFO] [stdout] | [INFO] [stdout] 181 | let mut theta:f32 = 0.0; [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_theta` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `x` is never read [INFO] [stdout] --> src/main.rs:182:17 [INFO] [stdout] | [INFO] [stdout] 182 | let mut x: f32 = 0.0; [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `y` is never read [INFO] [stdout] --> src/main.rs:183:17 [INFO] [stdout] | [INFO] [stdout] 183 | let mut y:f32 = 0.0; [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `vao5` [INFO] [stdout] --> src/main.rs:201:13 [INFO] [stdout] | [INFO] [stdout] 201 | let vao5: u32 = unsafe {vao_setup(&vertex_cooridnates_circle, &arr_indices_circle)}; [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_vao5` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `elapsed` [INFO] [stdout] --> src/main.rs:227:17 [INFO] [stdout] | [INFO] [stdout] 227 | let elapsed = now.duration_since(first_frame_time).as_secs_f32(); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_elapsed` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `theta` [INFO] [stdout] --> src/main.rs:181:17 [INFO] [stdout] | [INFO] [stdout] 181 | let mut theta:f32 = 0.0; [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_theta` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `x` is never read [INFO] [stdout] --> src/main.rs:182:17 [INFO] [stdout] | [INFO] [stdout] 182 | let mut x: f32 = 0.0; [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `y` is never read [INFO] [stdout] --> src/main.rs:183:17 [INFO] [stdout] | [INFO] [stdout] 183 | let mut y:f32 = 0.0; [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `vao5` [INFO] [stdout] --> src/main.rs:201:13 [INFO] [stdout] | [INFO] [stdout] 201 | let vao5: u32 = unsafe {vao_setup(&vertex_cooridnates_circle, &arr_indices_circle)}; [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_vao5` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `elapsed` [INFO] [stdout] --> src/main.rs:227:17 [INFO] [stdout] | [INFO] [stdout] 227 | let elapsed = now.duration_since(first_frame_time).as_secs_f32(); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_elapsed` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:181:13 [INFO] [stdout] | [INFO] [stdout] 181 | let mut theta:f32 = 0.0; [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: function `size_of` is never used [INFO] [stdout] --> src/main.rs:27:4 [INFO] [stdout] | [INFO] [stdout] 27 | fn size_of() -> i32 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `offset` is never used [INFO] [stdout] --> src/main.rs:32:4 [INFO] [stdout] | [INFO] [stdout] 32 | fn offset(n: u32) -> *const c_void { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_uniform_location` is never used [INFO] [stdout] --> src/shader.rs:29:19 [INFO] [stdout] | [INFO] [stdout] 27 | impl Shader { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] 28 | // Make sure the shader is active before calling this [INFO] [stdout] 29 | pub unsafe fn get_uniform_location(&self, name: &str) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `vao_ID` should have a snake case name [INFO] [stdout] --> src/main.rs:43:13 [INFO] [stdout] | [INFO] [stdout] 43 | let mut vao_ID:u32 = 0; [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `vao_id` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `buf_IDs` should have a snake case name [INFO] [stdout] --> src/main.rs:47:13 [INFO] [stdout] | [INFO] [stdout] 47 | let mut buf_IDs:u32 = 0; [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `buf_ids` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `index_buf_IDs` should have a snake case name [INFO] [stdout] --> src/main.rs:60:17 [INFO] [stdout] | [INFO] [stdout] 60 | let mut index_buf_IDs:u32 = 0; [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `index_buf_ids` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:181:13 [INFO] [stdout] | [INFO] [stdout] 181 | let mut theta:f32 = 0.0; [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: function `size_of` is never used [INFO] [stdout] --> src/main.rs:27:4 [INFO] [stdout] | [INFO] [stdout] 27 | fn size_of() -> i32 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `offset` is never used [INFO] [stdout] --> src/main.rs:32:4 [INFO] [stdout] | [INFO] [stdout] 32 | fn offset(n: u32) -> *const c_void { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_uniform_location` is never used [INFO] [stdout] --> src/shader.rs:29:19 [INFO] [stdout] | [INFO] [stdout] 27 | impl Shader { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] 28 | // Make sure the shader is active before calling this [INFO] [stdout] 29 | pub unsafe fn get_uniform_location(&self, name: &str) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `vao_ID` should have a snake case name [INFO] [stdout] --> src/main.rs:43:13 [INFO] [stdout] | [INFO] [stdout] 43 | let mut vao_ID:u32 = 0; [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `vao_id` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `buf_IDs` should have a snake case name [INFO] [stdout] --> src/main.rs:47:13 [INFO] [stdout] | [INFO] [stdout] 47 | let mut buf_IDs:u32 = 0; [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `buf_ids` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `index_buf_IDs` should have a snake case name [INFO] [stdout] --> src/main.rs:60:17 [INFO] [stdout] | [INFO] [stdout] 60 | let mut index_buf_IDs:u32 = 0; [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `index_buf_ids` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 14s [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" "a36ffee07f247c1d2f4c51a767e79124cf140e5d7d9a42731b551c6f5bc2f22a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a36ffee07f247c1d2f4c51a767e79124cf140e5d7d9a42731b551c6f5bc2f22a", kill_on_drop: false }` [INFO] [stdout] a36ffee07f247c1d2f4c51a767e79124cf140e5d7d9a42731b551c6f5bc2f22a