[INFO] cloning repository https://github.com/taraka/webgl-test [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/taraka/webgl-test" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftaraka%2Fwebgl-test", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftaraka%2Fwebgl-test'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 7568fbc4c730f02eec5563406c349f206641281e [INFO] checking taraka/webgl-test against try#a7a572ce3edd6d476191fbfe92c9c1986e009b34 for pr-87190-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftaraka%2Fwebgl-test" "/workspace/builds/worker-95/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-95/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/taraka/webgl-test on toolchain a7a572ce3edd6d476191fbfe92c9c1986e009b34 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/taraka/webgl-test [INFO] finished tweaking git repo https://github.com/taraka/webgl-test [INFO] tweaked toml for git repo https://github.com/taraka/webgl-test written to /workspace/builds/worker-95/source/Cargo.toml [INFO] crate git repo https://github.com/taraka/webgl-test already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-95/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-95/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 10d974c434278acb7ce62d2b6f5bfbf2f68715fc9af39d75d3a5a7a1d01c9f21 [INFO] running `Command { std: "docker" "start" "-a" "10d974c434278acb7ce62d2b6f5bfbf2f68715fc9af39d75d3a5a7a1d01c9f21", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "10d974c434278acb7ce62d2b6f5bfbf2f68715fc9af39d75d3a5a7a1d01c9f21", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "10d974c434278acb7ce62d2b6f5bfbf2f68715fc9af39d75d3a5a7a1d01c9f21", kill_on_drop: false }` [INFO] [stdout] 10d974c434278acb7ce62d2b6f5bfbf2f68715fc9af39d75d3a5a7a1d01c9f21 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-95/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-95/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0732dbc311b1d7cf92964f725ad2586d3c24239604a32f0f495f17dfd00f92db [INFO] running `Command { std: "docker" "start" "-a" "0732dbc311b1d7cf92964f725ad2586d3c24239604a32f0f495f17dfd00f92db", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling proc-macro2 v1.0.26 [INFO] [stderr] Compiling autocfg v0.1.7 [INFO] [stderr] Checking rand_core v0.4.2 [INFO] [stderr] Compiling syn v1.0.72 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling wasm-bindgen-shared v0.2.73 [INFO] [stderr] Compiling libm v0.2.1 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling bumpalo v3.6.1 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling libc v0.2.94 [INFO] [stderr] Compiling wasm-bindgen v0.2.73 [INFO] [stderr] Compiling typenum v1.13.0 [INFO] [stderr] Checking rawpointer v0.2.1 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Checking matrixmultiply v0.2.4 [INFO] [stderr] Checking rand_core v0.3.1 [INFO] [stderr] Checking rand_jitter v0.1.4 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling num-complex v0.2.4 [INFO] [stderr] Compiling num-rational v0.2.4 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Checking rand_xorshift v0.1.1 [INFO] [stderr] Checking rand_hc v0.1.0 [INFO] [stderr] Checking rand_isaac v0.1.1 [INFO] [stderr] Checking rand_os v0.1.3 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Checking generic-array v0.12.4 [INFO] [stderr] Checking approx v0.3.2 [INFO] [stderr] Checking alga v0.9.3 [INFO] [stderr] Checking nalgebra v0.18.1 [INFO] [stderr] Compiling wasm-bindgen-backend v0.2.73 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.73 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.73 [INFO] [stderr] Checking js-sys v0.3.50 [INFO] [stderr] Checking console_error_panic_hook v0.1.5 [INFO] [stderr] Checking web-sys v0.3.50 [INFO] [stderr] Checking tomcraft v0.1.0 (/tmp/fixit) [INFO] [stderr] Migrating src/lib.rs from 2018 edition to 2021 [INFO] [stderr] Fixed src/common_funcs.rs (2 fixes) [INFO] [stderr] Fixed src/programs/cube_3d.rs (1 fix) [INFO] [stdout] warning: function is never used: `get_grid_normals` [INFO] [stdout] --> src/common_funcs.rs:46:8 [INFO] [stdout] | [INFO] [stdout] 46 | pub fn get_grid_normals(n: usize, y_vals: &Vec) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `get_normal_vec` [INFO] [stdout] --> src/common_funcs.rs:92:8 [INFO] [stdout] | [INFO] [stdout] 92 | pub fn get_normal_vec( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `get_updated_3d_y_values` [INFO] [stdout] --> src/common_funcs.rs:124:8 [INFO] [stdout] | [INFO] [stdout] 124 | pub fn get_updated_3d_y_values(curr_time: f32) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `get_position_grid_n_by_n` [INFO] [stdout] --> src/common_funcs.rs:233:8 [INFO] [stdout] | [INFO] [stdout] 233 | pub fn get_position_grid_n_by_n(n: usize) -> (Vec, Vec) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `GRID_SIZE` [INFO] [stdout] --> src/constants.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | pub const GRID_SIZE: usize = 200; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `FREQ` [INFO] [stdout] --> src/constants.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | pub const FREQ: f32 = 3.0; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `SHADER` [INFO] [stdout] --> src/shaders/fragment/color_2d.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / pub const SHADER: &str = r#" [INFO] [stdout] 2 | | precision mediump float; [INFO] [stdout] 3 | | [INFO] [stdout] 4 | | uniform vec4 uColor; [INFO] [stdout] ... | [INFO] [stdout] 9 | | } [INFO] [stdout] 10 | | "#; [INFO] [stdout] | |___^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `SHADER` [INFO] [stdout] --> src/shaders/vertex/color_2d.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / pub const SHADER: &str = r#" [INFO] [stdout] 2 | | attribute vec4 aPosition; [INFO] [stdout] 3 | | uniform mat4 uTransform; [INFO] [stdout] 4 | | [INFO] [stdout] ... | [INFO] [stdout] 7 | | } [INFO] [stdout] 8 | | "#; [INFO] [stdout] | |___^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `SHADER` [INFO] [stdout] --> src/shaders/vertex/color_2d_gradient.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / pub const SHADER: &str = r#" [INFO] [stdout] 2 | | attribute vec4 aPosition; [INFO] [stdout] 3 | | attribute vec4 aColor; [INFO] [stdout] 4 | | uniform mat4 uTransform; [INFO] [stdout] ... | [INFO] [stdout] 11 | | } [INFO] [stdout] 12 | | "#; [INFO] [stdout] | |___^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `SHADER` [INFO] [stdout] --> src/shaders/vertex/graph_3d.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / pub const SHADER: &str = r#" [INFO] [stdout] 2 | | attribute vec4 aPosition; [INFO] [stdout] 3 | | attribute float aY; [INFO] [stdout] 4 | | attribute vec3 aVertexNormal; [INFO] [stdout] ... | [INFO] [stdout] 23 | | } [INFO] [stdout] 24 | | "#; [INFO] [stdout] | |___^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Color2D` [INFO] [stdout] --> src/programs/color_2d.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct Color2D { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/programs/color_2d.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn new(gl: &GL) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `render` [INFO] [stdout] --> src/programs/color_2d.rs:60:16 [INFO] [stdout] | [INFO] [stdout] 60 | pub fn render( [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/programs/color_2d_gradient.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn new(gl: &GL) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `render` [INFO] [stdout] --> src/programs/color_2d_gradient.rs:77:16 [INFO] [stdout] | [INFO] [stdout] 77 | pub fn render( [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Graph3D` [INFO] [stdout] --> src/programs/graph_3d.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct Graph3D { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/programs/graph_3d.rs:21:12 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn new(gl: &GL) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `render` [INFO] [stdout] --> src/programs/graph_3d.rs:76:12 [INFO] [stdout] | [INFO] [stdout] 76 | pub fn render( [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `get_grid_normals` [INFO] [stdout] --> src/common_funcs.rs:46:8 [INFO] [stdout] | [INFO] [stdout] 46 | pub fn get_grid_normals(n: usize, y_vals: &Vec) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `get_normal_vec` [INFO] [stdout] --> src/common_funcs.rs:92:8 [INFO] [stdout] | [INFO] [stdout] 92 | pub fn get_normal_vec( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `get_updated_3d_y_values` [INFO] [stdout] --> src/common_funcs.rs:124:8 [INFO] [stdout] | [INFO] [stdout] 124 | pub fn get_updated_3d_y_values(curr_time: f32) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `get_position_grid_n_by_n` [INFO] [stdout] --> src/common_funcs.rs:233:8 [INFO] [stdout] | [INFO] [stdout] 233 | pub fn get_position_grid_n_by_n(n: usize) -> (Vec, Vec) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `GRID_SIZE` [INFO] [stdout] --> src/constants.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | pub const GRID_SIZE: usize = 200; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `FREQ` [INFO] [stdout] --> src/constants.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | pub const FREQ: f32 = 3.0; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `SHADER` [INFO] [stdout] --> src/shaders/fragment/color_2d.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / pub const SHADER: &str = r#" [INFO] [stdout] 2 | | precision mediump float; [INFO] [stdout] 3 | | [INFO] [stdout] 4 | | uniform vec4 uColor; [INFO] [stdout] ... | [INFO] [stdout] 9 | | } [INFO] [stdout] 10 | | "#; [INFO] [stdout] | |___^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `SHADER` [INFO] [stdout] --> src/shaders/vertex/color_2d.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / pub const SHADER: &str = r#" [INFO] [stdout] 2 | | attribute vec4 aPosition; [INFO] [stdout] 3 | | uniform mat4 uTransform; [INFO] [stdout] 4 | | [INFO] [stdout] ... | [INFO] [stdout] 7 | | } [INFO] [stdout] 8 | | "#; [INFO] [stdout] | |___^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `SHADER` [INFO] [stdout] --> src/shaders/vertex/color_2d_gradient.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / pub const SHADER: &str = r#" [INFO] [stdout] 2 | | attribute vec4 aPosition; [INFO] [stdout] 3 | | attribute vec4 aColor; [INFO] [stdout] 4 | | uniform mat4 uTransform; [INFO] [stdout] ... | [INFO] [stdout] 11 | | } [INFO] [stdout] 12 | | "#; [INFO] [stdout] | |___^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `SHADER` [INFO] [stdout] --> src/shaders/vertex/graph_3d.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / pub const SHADER: &str = r#" [INFO] [stdout] 2 | | attribute vec4 aPosition; [INFO] [stdout] 3 | | attribute float aY; [INFO] [stdout] 4 | | attribute vec3 aVertexNormal; [INFO] [stdout] ... | [INFO] [stdout] 23 | | } [INFO] [stdout] 24 | | "#; [INFO] [stdout] | |___^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Color2D` [INFO] [stdout] --> src/programs/color_2d.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct Color2D { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/programs/color_2d.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn new(gl: &GL) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `render` [INFO] [stdout] --> src/programs/color_2d.rs:60:16 [INFO] [stdout] | [INFO] [stdout] 60 | pub fn render( [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/programs/color_2d_gradient.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn new(gl: &GL) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `render` [INFO] [stdout] --> src/programs/color_2d_gradient.rs:77:16 [INFO] [stdout] | [INFO] [stdout] 77 | pub fn render( [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Graph3D` [INFO] [stdout] --> src/programs/graph_3d.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct Graph3D { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/programs/graph_3d.rs:21:12 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn new(gl: &GL) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `render` [INFO] [stdout] --> src/programs/graph_3d.rs:76:12 [INFO] [stdout] | [INFO] [stdout] 76 | pub fn render( [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 18 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 18 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 46.92s [INFO] [stderr] Running `cargo check` to verify 2021 [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Checking tomcraft v0.1.0 (/tmp/fixit) [INFO] [stdout] warning: function is never used: `get_grid_normals` [INFO] [stdout] --> src/common_funcs.rs:46:8 [INFO] [stdout] | [INFO] [stdout] 46 | pub fn get_grid_normals(n: usize, y_vals: &Vec) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `get_grid_normals` [INFO] [stdout] --> src/common_funcs.rs:46:8 [INFO] [stdout] | [INFO] [stdout] 46 | pub fn get_grid_normals(n: usize, y_vals: &Vec) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `get_normal_vec` [INFO] [stdout] --> src/common_funcs.rs:92:8 [INFO] [stdout] | [INFO] [stdout] 92 | pub fn get_normal_vec( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `get_updated_3d_y_values` [INFO] [stdout] --> src/common_funcs.rs:124:8 [INFO] [stdout] | [INFO] [stdout] 124 | pub fn get_updated_3d_y_values(curr_time: f32) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `get_normal_vec` [INFO] [stdout] --> src/common_funcs.rs:92:8 [INFO] [stdout] | [INFO] [stdout] 92 | pub fn get_normal_vec( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `get_position_grid_n_by_n` [INFO] [stdout] --> src/common_funcs.rs:233:8 [INFO] [stdout] | [INFO] [stdout] 233 | pub fn get_position_grid_n_by_n(n: usize) -> (Vec, Vec) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `get_updated_3d_y_values` [INFO] [stdout] --> src/common_funcs.rs:124:8 [INFO] [stdout] | [INFO] [stdout] 124 | pub fn get_updated_3d_y_values(curr_time: f32) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `GRID_SIZE` [INFO] [stdout] --> src/constants.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | pub const GRID_SIZE: usize = 200; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `FREQ` [INFO] [stdout] --> src/constants.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | pub const FREQ: f32 = 3.0; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `SHADER` [INFO] [stdout] --> src/shaders/fragment/color_2d.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / pub const SHADER: &str = r#" [INFO] [stdout] 2 | | precision mediump float; [INFO] [stdout] 3 | | [INFO] [stdout] 4 | | uniform vec4 uColor; [INFO] [stdout] ... | [INFO] [stdout] 9 | | } [INFO] [stdout] 10 | | "#; [INFO] [stdout] | |___^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `SHADER` [INFO] [stdout] --> src/shaders/vertex/color_2d.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / pub const SHADER: &str = r#" [INFO] [stdout] 2 | | attribute vec4 aPosition; [INFO] [stdout] 3 | | uniform mat4 uTransform; [INFO] [stdout] 4 | | [INFO] [stdout] ... | [INFO] [stdout] 7 | | } [INFO] [stdout] 8 | | "#; [INFO] [stdout] | |___^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `SHADER` [INFO] [stdout] --> src/shaders/vertex/color_2d_gradient.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / pub const SHADER: &str = r#" [INFO] [stdout] 2 | | attribute vec4 aPosition; [INFO] [stdout] 3 | | attribute vec4 aColor; [INFO] [stdout] 4 | | uniform mat4 uTransform; [INFO] [stdout] ... | [INFO] [stdout] 11 | | } [INFO] [stdout] 12 | | "#; [INFO] [stdout] | |___^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `SHADER` [INFO] [stdout] --> src/shaders/vertex/graph_3d.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / pub const SHADER: &str = r#" [INFO] [stdout] 2 | | attribute vec4 aPosition; [INFO] [stdout] 3 | | attribute float aY; [INFO] [stdout] 4 | | attribute vec3 aVertexNormal; [INFO] [stdout] ... | [INFO] [stdout] 23 | | } [INFO] [stdout] 24 | | "#; [INFO] [stdout] | |___^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `get_position_grid_n_by_n` [INFO] [stdout] --> src/common_funcs.rs:233:8 [INFO] [stdout] | [INFO] [stdout] 233 | pub fn get_position_grid_n_by_n(n: usize) -> (Vec, Vec) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Color2D` [INFO] [stdout] --> src/programs/color_2d.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct Color2D { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/programs/color_2d.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn new(gl: &GL) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `GRID_SIZE` [INFO] [stdout] --> src/constants.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | pub const GRID_SIZE: usize = 200; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `render` [INFO] [stdout] --> src/programs/color_2d.rs:60:16 [INFO] [stdout] | [INFO] [stdout] 60 | pub fn render( [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/programs/color_2d_gradient.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn new(gl: &GL) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `render` [INFO] [stdout] --> src/programs/color_2d_gradient.rs:77:16 [INFO] [stdout] | [INFO] [stdout] 77 | pub fn render( [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Graph3D` [INFO] [stdout] --> src/programs/graph_3d.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct Graph3D { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/programs/graph_3d.rs:21:12 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn new(gl: &GL) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `FREQ` [INFO] [stdout] --> src/constants.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | pub const FREQ: f32 = 3.0; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `render` [INFO] [stdout] --> src/programs/graph_3d.rs:76:12 [INFO] [stdout] | [INFO] [stdout] 76 | pub fn render( [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `SHADER` [INFO] [stdout] --> src/shaders/fragment/color_2d.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / pub const SHADER: &str = r#" [INFO] [stdout] 2 | | precision mediump float; [INFO] [stdout] 3 | | [INFO] [stdout] 4 | | uniform vec4 uColor; [INFO] [stdout] ... | [INFO] [stdout] 9 | | } [INFO] [stdout] 10 | | "#; [INFO] [stdout] | |___^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `SHADER` [INFO] [stdout] --> src/shaders/vertex/color_2d.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / pub const SHADER: &str = r#" [INFO] [stdout] 2 | | attribute vec4 aPosition; [INFO] [stdout] 3 | | uniform mat4 uTransform; [INFO] [stdout] 4 | | [INFO] [stdout] ... | [INFO] [stdout] 7 | | } [INFO] [stdout] 8 | | "#; [INFO] [stdout] | |___^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `SHADER` [INFO] [stdout] --> src/shaders/vertex/color_2d_gradient.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / pub const SHADER: &str = r#" [INFO] [stdout] 2 | | attribute vec4 aPosition; [INFO] [stdout] 3 | | attribute vec4 aColor; [INFO] [stdout] 4 | | uniform mat4 uTransform; [INFO] [stdout] ... | [INFO] [stdout] 11 | | } [INFO] [stdout] 12 | | "#; [INFO] [stdout] | |___^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `SHADER` [INFO] [stdout] --> src/shaders/vertex/graph_3d.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / pub const SHADER: &str = r#" [INFO] [stdout] 2 | | attribute vec4 aPosition; [INFO] [stdout] 3 | | attribute float aY; [INFO] [stdout] 4 | | attribute vec3 aVertexNormal; [INFO] [stdout] ... | [INFO] [stdout] 23 | | } [INFO] [stdout] 24 | | "#; [INFO] [stdout] | |___^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Color2D` [INFO] [stdout] --> src/programs/color_2d.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct Color2D { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/programs/color_2d.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn new(gl: &GL) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `render` [INFO] [stdout] --> src/programs/color_2d.rs:60:16 [INFO] [stdout] | [INFO] [stdout] 60 | pub fn render( [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/programs/color_2d_gradient.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn new(gl: &GL) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `render` [INFO] [stdout] --> src/programs/color_2d_gradient.rs:77:16 [INFO] [stdout] | [INFO] [stdout] 77 | pub fn render( [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Graph3D` [INFO] [stdout] --> src/programs/graph_3d.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct Graph3D { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/programs/graph_3d.rs:21:12 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn new(gl: &GL) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `render` [INFO] [stdout] --> src/programs/graph_3d.rs:76:12 [INFO] [stdout] | [INFO] [stdout] 76 | pub fn render( [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 18 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 18 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 3.34s [INFO] running `Command { std: "docker" "inspect" "0732dbc311b1d7cf92964f725ad2586d3c24239604a32f0f495f17dfd00f92db", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0732dbc311b1d7cf92964f725ad2586d3c24239604a32f0f495f17dfd00f92db", kill_on_drop: false }` [INFO] [stdout] 0732dbc311b1d7cf92964f725ad2586d3c24239604a32f0f495f17dfd00f92db