[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] testing taraka/webgl-test against 1.59.0 for beta-1.60-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftaraka%2Fwebgl-test" "/workspace/builds/worker-4/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/taraka/webgl-test on toolchain 1.59.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.59.0" "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-4/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" "+1.59.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+1.59.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 766d15806835486cd9b2c95e1ce3248193f8aeb9364dd547cb37388d760ba452 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "766d15806835486cd9b2c95e1ce3248193f8aeb9364dd547cb37388d760ba452", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "766d15806835486cd9b2c95e1ce3248193f8aeb9364dd547cb37388d760ba452", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "766d15806835486cd9b2c95e1ce3248193f8aeb9364dd547cb37388d760ba452", kill_on_drop: false }` [INFO] [stdout] 766d15806835486cd9b2c95e1ce3248193f8aeb9364dd547cb37388d760ba452 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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=warn" "-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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+1.59.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 22f07616288dcda6925416fcee0af353cc27a7dd327deb939361fccf77501273 [INFO] running `Command { std: "docker" "start" "-a" "22f07616288dcda6925416fcee0af353cc27a7dd327deb939361fccf77501273", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling proc-macro2 v1.0.26 [INFO] [stderr] Compiling autocfg v0.1.7 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling rand_core v0.4.2 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling syn v1.0.72 [INFO] [stderr] Compiling wasm-bindgen-shared v0.2.73 [INFO] [stderr] Compiling libm v0.2.1 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling bumpalo v3.6.1 [INFO] [stderr] Compiling wasm-bindgen v0.2.73 [INFO] [stderr] Compiling libc v0.2.94 [INFO] [stderr] Compiling typenum v1.13.0 [INFO] [stderr] Compiling rawpointer v0.2.1 [INFO] [stderr] Compiling cfg-if v0.1.10 [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 matrixmultiply v0.2.4 [INFO] [stderr] Compiling rand_core v0.3.1 [INFO] [stderr] Compiling rand_jitter v0.1.4 [INFO] [stderr] Compiling rand_isaac v0.1.1 [INFO] [stderr] Compiling rand_hc v0.1.0 [INFO] [stderr] Compiling rand_xorshift v0.1.1 [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] Compiling quote v1.0.9 [INFO] [stderr] Compiling rand_os v0.1.3 [INFO] [stderr] Compiling generic-array v0.12.4 [INFO] [stderr] Compiling approx v0.3.2 [INFO] [stderr] Compiling alga v0.9.3 [INFO] [stderr] Compiling 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] Compiling js-sys v0.3.50 [INFO] [stderr] Compiling console_error_panic_hook v0.1.5 [INFO] [stderr] Compiling web-sys v0.3.50 [INFO] [stderr] Compiling tomcraft v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `crate::constants::*` [INFO] [stdout] --> src/programs/cube_3d.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::constants::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/common_funcs.rs:270:9 [INFO] [stdout] | [INFO] [stdout] 270 | let mut positions: Vec = vec![ [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/common_funcs.rs:307:9 [INFO] [stdout] | [INFO] [stdout] 307 | let mut indices: Vec = vec![ [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [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: 21 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1m 17s [INFO] running `Command { std: "docker" "inspect" "22f07616288dcda6925416fcee0af353cc27a7dd327deb939361fccf77501273", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "22f07616288dcda6925416fcee0af353cc27a7dd327deb939361fccf77501273", kill_on_drop: false }` [INFO] [stdout] 22f07616288dcda6925416fcee0af353cc27a7dd327deb939361fccf77501273 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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=warn" "-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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+1.59.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] bc99621492635bdd133eab6fea6f94184b39dbcc3fcb8bbfdae628d7affef197 [INFO] running `Command { std: "docker" "start" "-a" "bc99621492635bdd133eab6fea6f94184b39dbcc3fcb8bbfdae628d7affef197", 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] [stderr] Compiling tomcraft v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `crate::constants::*` [INFO] [stdout] --> src/programs/cube_3d.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::constants::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/common_funcs.rs:270:9 [INFO] [stdout] | [INFO] [stdout] 270 | let mut positions: Vec = vec![ [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/common_funcs.rs:307:9 [INFO] [stdout] | [INFO] [stdout] 307 | let mut indices: Vec = vec![ [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [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: 21 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 2.55s [INFO] running `Command { std: "docker" "inspect" "bc99621492635bdd133eab6fea6f94184b39dbcc3fcb8bbfdae628d7affef197", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bc99621492635bdd133eab6fea6f94184b39dbcc3fcb8bbfdae628d7affef197", kill_on_drop: false }` [INFO] [stdout] bc99621492635bdd133eab6fea6f94184b39dbcc3fcb8bbfdae628d7affef197 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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=warn" "-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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+1.59.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 5700e42e5330de4177d413cbf757afee93d04d368fa2b4575ec624880304d00a [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "5700e42e5330de4177d413cbf757afee93d04d368fa2b4575ec624880304d00a", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `crate::constants::*` [INFO] [stderr] --> src/programs/cube_3d.rs:1:5 [INFO] [stderr] | [INFO] [stderr] 1 | use crate::constants::*; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/common_funcs.rs:270:9 [INFO] [stderr] | [INFO] [stderr] 270 | let mut positions: Vec = vec![ [INFO] [stderr] | ----^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_mut)]` on by default [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/common_funcs.rs:307:9 [INFO] [stderr] | [INFO] [stderr] 307 | let mut indices: Vec = vec![ [INFO] [stderr] | ----^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: function is never used: `get_grid_normals` [INFO] [stderr] --> src/common_funcs.rs:46:8 [INFO] [stderr] | [INFO] [stderr] 46 | pub fn get_grid_normals(n: usize, y_vals: &Vec) -> Vec { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: function is never used: `get_normal_vec` [INFO] [stderr] --> src/common_funcs.rs:92:8 [INFO] [stderr] | [INFO] [stderr] 92 | pub fn get_normal_vec( [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `get_updated_3d_y_values` [INFO] [stderr] --> src/common_funcs.rs:124:8 [INFO] [stderr] | [INFO] [stderr] 124 | pub fn get_updated_3d_y_values(curr_time: f32) -> Vec { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `get_position_grid_n_by_n` [INFO] [stderr] --> src/common_funcs.rs:233:8 [INFO] [stderr] | [INFO] [stderr] 233 | pub fn get_position_grid_n_by_n(n: usize) -> (Vec, Vec) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant is never used: `GRID_SIZE` [INFO] [stderr] --> src/constants.rs:1:1 [INFO] [stderr] | [INFO] [stderr] 1 | pub const GRID_SIZE: usize = 200; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant is never used: `FREQ` [INFO] [stderr] --> src/constants.rs:6:1 [INFO] [stderr] | [INFO] [stderr] 6 | pub const FREQ: f32 = 3.0; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant is never used: `SHADER` [INFO] [stderr] --> src/shaders/fragment/color_2d.rs:1:1 [INFO] [stderr] | [INFO] [stderr] 1 | / pub const SHADER: &str = r#" [INFO] [stderr] 2 | | precision mediump float; [INFO] [stderr] 3 | | [INFO] [stderr] 4 | | uniform vec4 uColor; [INFO] [stderr] ... | [INFO] [stderr] 9 | | } [INFO] [stderr] 10 | | "#; [INFO] [stderr] | |___^ [INFO] [stderr] [INFO] [stderr] warning: constant is never used: `SHADER` [INFO] [stderr] --> src/shaders/vertex/color_2d.rs:1:1 [INFO] [stderr] | [INFO] [stderr] 1 | / pub const SHADER: &str = r#" [INFO] [stderr] 2 | | attribute vec4 aPosition; [INFO] [stderr] 3 | | uniform mat4 uTransform; [INFO] [stderr] 4 | | [INFO] [stderr] ... | [INFO] [stderr] 7 | | } [INFO] [stderr] 8 | | "#; [INFO] [stderr] | |___^ [INFO] [stderr] [INFO] [stderr] warning: constant is never used: `SHADER` [INFO] [stderr] --> src/shaders/vertex/color_2d_gradient.rs:1:1 [INFO] [stderr] | [INFO] [stderr] 1 | / pub const SHADER: &str = r#" [INFO] [stderr] 2 | | attribute vec4 aPosition; [INFO] [stderr] 3 | | attribute vec4 aColor; [INFO] [stderr] 4 | | uniform mat4 uTransform; [INFO] [stderr] ... | [INFO] [stderr] 11 | | } [INFO] [stderr] 12 | | "#; [INFO] [stderr] | |___^ [INFO] [stderr] [INFO] [stderr] warning: constant is never used: `SHADER` [INFO] [stderr] --> src/shaders/vertex/graph_3d.rs:1:1 [INFO] [stderr] | [INFO] [stderr] 1 | / pub const SHADER: &str = r#" [INFO] [stderr] 2 | | attribute vec4 aPosition; [INFO] [stderr] 3 | | attribute float aY; [INFO] [stderr] 4 | | attribute vec3 aVertexNormal; [INFO] [stderr] ... | [INFO] [stderr] 23 | | } [INFO] [stderr] 24 | | "#; [INFO] [stderr] | |___^ [INFO] [stderr] [INFO] [stderr] warning: struct is never constructed: `Color2D` [INFO] [stderr] --> src/programs/color_2d.rs:8:12 [INFO] [stderr] | [INFO] [stderr] 8 | pub struct Color2D { [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `new` [INFO] [stderr] --> src/programs/color_2d.rs:18:12 [INFO] [stderr] | [INFO] [stderr] 18 | pub fn new(gl: &GL) -> Self { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `render` [INFO] [stderr] --> src/programs/color_2d.rs:60:16 [INFO] [stderr] | [INFO] [stderr] 60 | pub fn render( [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `new` [INFO] [stderr] --> src/programs/color_2d_gradient.rs:18:12 [INFO] [stderr] | [INFO] [stderr] 18 | pub fn new(gl: &GL) -> Self { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `render` [INFO] [stderr] --> src/programs/color_2d_gradient.rs:77:16 [INFO] [stderr] | [INFO] [stderr] 77 | pub fn render( [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct is never constructed: `Graph3D` [INFO] [stderr] --> src/programs/graph_3d.rs:8:12 [INFO] [stderr] | [INFO] [stderr] 8 | pub struct Graph3D { [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `new` [INFO] [stderr] --> src/programs/graph_3d.rs:21:12 [INFO] [stderr] | [INFO] [stderr] 21 | pub fn new(gl: &GL) -> Self { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `render` [INFO] [stderr] --> src/programs/graph_3d.rs:76:12 [INFO] [stderr] | [INFO] [stderr] 76 | pub fn render( [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `tomcraft` (lib test) generated 21 warnings [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.06s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/tomcraft-4ef77b463fec1398) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "5700e42e5330de4177d413cbf757afee93d04d368fa2b4575ec624880304d00a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5700e42e5330de4177d413cbf757afee93d04d368fa2b4575ec624880304d00a", kill_on_drop: false }` [INFO] [stdout] 5700e42e5330de4177d413cbf757afee93d04d368fa2b4575ec624880304d00a