[INFO] cloning repository https://github.com/Raunak-S/tinyrender [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Raunak-S/tinyrender" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FRaunak-S%2Ftinyrender", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FRaunak-S%2Ftinyrender'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 9f53199d7a899d61cf3f70f4826035cda9d51f15 [INFO] checking Raunak-S/tinyrender/9f53199d7a899d61cf3f70f4826035cda9d51f15 against master#ab869e094a907cc5d19b4080f22eccaf347f1f95 for pr-129604 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FRaunak-S%2Ftinyrender" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Raunak-S/tinyrender on toolchain ab869e094a907cc5d19b4080f22eccaf347f1f95 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Raunak-S/tinyrender [INFO] finished tweaking git repo https://github.com/Raunak-S/tinyrender [INFO] tweaked toml for git repo https://github.com/Raunak-S/tinyrender written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/Raunak-S/tinyrender 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" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded obj v0.10.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] cfc1e3db4fa54f2a0f3b3f783a1b5e1b666735ae3b0413365258a30555ebb279 [INFO] running `Command { std: "docker" "start" "-a" "cfc1e3db4fa54f2a0f3b3f783a1b5e1b666735ae3b0413365258a30555ebb279", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "cfc1e3db4fa54f2a0f3b3f783a1b5e1b666735ae3b0413365258a30555ebb279", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cfc1e3db4fa54f2a0f3b3f783a1b5e1b666735ae3b0413365258a30555ebb279", kill_on_drop: false }` [INFO] [stdout] cfc1e3db4fa54f2a0f3b3f783a1b5e1b666735ae3b0413365258a30555ebb279 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 36ebff518e8ff9e7d69defe7ed49cb9510d969b6700ba4a9d77b607b5f31a3d0 [INFO] running `Command { std: "docker" "start" "-a" "36ebff518e8ff9e7d69defe7ed49cb9510d969b6700ba4a9d77b607b5f31a3d0", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling proc-macro2 v1.0.39 [INFO] [stderr] Compiling unicode-ident v1.0.0 [INFO] [stderr] Compiling libc v0.2.122 [INFO] [stderr] Compiling syn v1.0.95 [INFO] [stderr] Checking os_str_bytes v6.1.0 [INFO] [stderr] Compiling heck v0.4.0 [INFO] [stderr] Checking hashbrown v0.11.2 [INFO] [stderr] Checking textwrap v0.15.0 [INFO] [stderr] Checking termcolor v1.1.3 [INFO] [stderr] Checking num_threads v0.1.5 [INFO] [stderr] Checking obj v0.10.2 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Checking clap_lex v0.2.0 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling num-bigint v0.4.3 [INFO] [stderr] Compiling indexmap v1.8.2 [INFO] [stderr] Compiling num-rational v0.4.0 [INFO] [stderr] Compiling num-iter v0.1.42 [INFO] [stderr] Compiling quote v1.0.18 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking time v0.3.9 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Checking num-complex v0.4.0 [INFO] [stderr] Checking num v0.4.0 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling clap_derive v3.1.18 [INFO] [stderr] Checking clap v3.1.18 [INFO] [stderr] Checking tinyrender v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: type `dt` should have an upper camel case name [INFO] [stdout] --> src/geometry.rs:290:12 [INFO] [stdout] | [INFO] [stdout] 290 | pub struct dt; [INFO] [stdout] | ^^ help: convert the identifier to upper camel case: `Dt` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `dt` should have an upper camel case name [INFO] [stdout] --> src/geometry.rs:290:12 [INFO] [stdout] | [INFO] [stdout] 290 | pub struct dt; [INFO] [stdout] | ^^ help: convert the identifier to upper camel case: `Dt` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `developer_area_ref` [INFO] [stdout] --> src/tga.rs:225:13 [INFO] [stdout] | [INFO] [stdout] 225 | let developer_area_ref: [u8; 4] = [0, 0, 0, 0]; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_developer_area_ref` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `extension_area_ref` [INFO] [stdout] --> src/tga.rs:226:13 [INFO] [stdout] | [INFO] [stdout] 226 | let extension_area_ref: [u8; 4] = [0, 0, 0, 0]; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_extension_area_ref` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `developer_area_ref` [INFO] [stdout] --> src/tga.rs:225:13 [INFO] [stdout] | [INFO] [stdout] 225 | let developer_area_ref: [u8; 4] = [0, 0, 0, 0]; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_developer_area_ref` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `extension_area_ref` [INFO] [stdout] --> src/tga.rs:226:13 [INFO] [stdout] | [INFO] [stdout] 226 | let extension_area_ref: [u8; 4] = [0, 0, 0, 0]; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_extension_area_ref` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `embed_refactor` is never used [INFO] [stdout] --> src/geometry.rs:505:8 [INFO] [stdout] | [INFO] [stdout] 505 | pub fn embed_refactor(v: &Vec, fill: Option) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `bytespp` is never read [INFO] [stdout] --> src/tga.rs:45:9 [INFO] [stdout] | [INFO] [stdout] 43 | pub struct TGAColor { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] 44 | pub bgra: [u8; 4], [INFO] [stdout] 45 | pub bytespp: u8, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TGAColor` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `RGBA` is never constructed [INFO] [stdout] --> src/tga.rs:92:5 [INFO] [stdout] | [INFO] [stdout] 89 | pub enum TGAFormat { [INFO] [stdout] | --------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 92 | RGBA = 4, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `light_dir` should have an upper case name [INFO] [stdout] --> src/main.rs:14:7 [INFO] [stdout] | [INFO] [stdout] 14 | const light_dir: Vec3f = Vec3f { [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to upper case: `LIGHT_DIR` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_upper_case_globals)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `eye` should have an upper case name [INFO] [stdout] --> src/main.rs:19:7 [INFO] [stdout] | [INFO] [stdout] 19 | const eye: Vec3f = Vec3f { [INFO] [stdout] | ^^^ help: convert the identifier to upper case: `EYE` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `center` should have an upper case name [INFO] [stdout] --> src/main.rs:24:7 [INFO] [stdout] | [INFO] [stdout] 24 | const center: Vec3f = Vec3f { [INFO] [stdout] | ^^^^^^ help: convert the identifier to upper case: `CENTER` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `up` should have an upper case name [INFO] [stdout] --> src/main.rs:29:7 [INFO] [stdout] | [INFO] [stdout] 29 | const up: Vec3f = Vec3f { [INFO] [stdout] | ^^ help: convert the identifier to upper case: `UP` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `gl_Position` should have a snake case name [INFO] [stdout] --> src/main.rs:78:17 [INFO] [stdout] | [INFO] [stdout] 78 | let mut gl_Position = [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `gl_position` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `AI` should have a snake case name [INFO] [stdout] --> src/main.rs:97:17 [INFO] [stdout] | [INFO] [stdout] 97 | let mut AI = Matrix::new(Some(3), Some(3)); [INFO] [stdout] | ^^ help: convert the identifier to snake case: `ai` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `B` should have a snake case name [INFO] [stdout] --> src/main.rs:118:17 [INFO] [stdout] | [INFO] [stdout] 118 | let mut B = Matrix::new(Some(3), Some(3)); [INFO] [stdout] | ^ help: convert the identifier to snake case: `b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `gl_FragColor` should have a snake case name [INFO] [stdout] --> src/main.rs:150:17 [INFO] [stdout] | [INFO] [stdout] 150 | let mut gl_FragColor = TGAColor::new_rgba(255, 255, 255, 0); [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `gl_frag_color` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `INPUT` should have a snake case name [INFO] [stdout] --> src/main.rs:172:9 [INFO] [stdout] | [INFO] [stdout] 172 | let INPUT = &args.obj_path[..]; [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case: `input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `ModelView` should have a snake case name [INFO] [stdout] --> src/main.rs:175:9 [INFO] [stdout] | [INFO] [stdout] 175 | let ModelView = lookat(eye, center, up); [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `model_view` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `ViewPort` should have a snake case name [INFO] [stdout] --> src/main.rs:176:9 [INFO] [stdout] | [INFO] [stdout] 176 | let ViewPort = viewport(WIDTH / 8, HEIGHT / 8, WIDTH * 3 / 4, HEIGHT * 3 / 4); [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `view_port` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Projection` should have a snake case name [INFO] [stdout] --> src/main.rs:177:9 [INFO] [stdout] | [INFO] [stdout] 177 | let Projection = projection((eye - center).norm()); [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `projection` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Projection` should have a snake case name [INFO] [stdout] --> src/our_gl.rs:13:13 [INFO] [stdout] | [INFO] [stdout] 13 | let mut Projection = Matrix::new(Some(4), Some(4)); [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `projection` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Minv` should have a snake case name [INFO] [stdout] --> src/our_gl.rs:25:13 [INFO] [stdout] | [INFO] [stdout] 25 | let mut Minv = Matrix::new(Some(4), Some(4)); [INFO] [stdout] | ^^^^ help: convert the identifier to snake case: `minv` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Tr` should have a snake case name [INFO] [stdout] --> src/our_gl.rs:30:13 [INFO] [stdout] | [INFO] [stdout] 30 | let mut Tr = Matrix::new(Some(4), Some(4)); [INFO] [stdout] | ^^ help: convert the identifier to snake case: `tr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `P` should have a snake case name [INFO] [stdout] --> src/our_gl.rs:38:38 [INFO] [stdout] | [INFO] [stdout] 38 | pub fn barycentric(tri: &[Vec2f; 3], P: &Vec2f) -> Vec3f { [INFO] [stdout] | ^ help: convert the identifier to snake case: `p` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `ABC` should have a snake case name [INFO] [stdout] --> src/our_gl.rs:39:13 [INFO] [stdout] | [INFO] [stdout] 39 | let mut ABC = Matrix::new(Some(3), Some(3)); [INFO] [stdout] | ^^^ help: convert the identifier to snake case: `abc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `ModelView` should have a snake case name [INFO] [stdout] --> src/our_gl.rs:50:9 [INFO] [stdout] | [INFO] [stdout] 50 | pub ModelView: Matrix, [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `model_view` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `ViewPort` should have a snake case name [INFO] [stdout] --> src/our_gl.rs:51:9 [INFO] [stdout] | [INFO] [stdout] 51 | pub ViewPort: Matrix, [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `view_port` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `Projection` should have a snake case name [INFO] [stdout] --> src/our_gl.rs:52:9 [INFO] [stdout] | [INFO] [stdout] 52 | pub Projection: Matrix, [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `projection` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait method `sample2D` should have a snake case name [INFO] [stdout] --> src/our_gl.rs:56:8 [INFO] [stdout] | [INFO] [stdout] 56 | fn sample2D(img: &TGAImage, uvf: &Vec2f) -> TGAColor { [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `sample2_d` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Viewport` should have a snake case name [INFO] [stdout] --> src/our_gl.rs:73:9 [INFO] [stdout] | [INFO] [stdout] 73 | let Viewport = view_bundle.ViewPort.clone(); [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `viewport` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `embed_refactor` is never used [INFO] [stdout] --> src/geometry.rs:505:8 [INFO] [stdout] | [INFO] [stdout] 505 | pub fn embed_refactor(v: &Vec, fill: Option) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `bytespp` is never read [INFO] [stdout] --> src/tga.rs:45:9 [INFO] [stdout] | [INFO] [stdout] 43 | pub struct TGAColor { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] 44 | pub bgra: [u8; 4], [INFO] [stdout] 45 | pub bytespp: u8, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TGAColor` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `RGBA` is never constructed [INFO] [stdout] --> src/tga.rs:92:5 [INFO] [stdout] | [INFO] [stdout] 89 | pub enum TGAFormat { [INFO] [stdout] | --------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 92 | RGBA = 4, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `light_dir` should have an upper case name [INFO] [stdout] --> src/main.rs:14:7 [INFO] [stdout] | [INFO] [stdout] 14 | const light_dir: Vec3f = Vec3f { [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to upper case: `LIGHT_DIR` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_upper_case_globals)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `eye` should have an upper case name [INFO] [stdout] --> src/main.rs:19:7 [INFO] [stdout] | [INFO] [stdout] 19 | const eye: Vec3f = Vec3f { [INFO] [stdout] | ^^^ help: convert the identifier to upper case: `EYE` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `center` should have an upper case name [INFO] [stdout] --> src/main.rs:24:7 [INFO] [stdout] | [INFO] [stdout] 24 | const center: Vec3f = Vec3f { [INFO] [stdout] | ^^^^^^ help: convert the identifier to upper case: `CENTER` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `up` should have an upper case name [INFO] [stdout] --> src/main.rs:29:7 [INFO] [stdout] | [INFO] [stdout] 29 | const up: Vec3f = Vec3f { [INFO] [stdout] | ^^ help: convert the identifier to upper case: `UP` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `gl_Position` should have a snake case name [INFO] [stdout] --> src/main.rs:78:17 [INFO] [stdout] | [INFO] [stdout] 78 | let mut gl_Position = [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `gl_position` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `AI` should have a snake case name [INFO] [stdout] --> src/main.rs:97:17 [INFO] [stdout] | [INFO] [stdout] 97 | let mut AI = Matrix::new(Some(3), Some(3)); [INFO] [stdout] | ^^ help: convert the identifier to snake case: `ai` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `B` should have a snake case name [INFO] [stdout] --> src/main.rs:118:17 [INFO] [stdout] | [INFO] [stdout] 118 | let mut B = Matrix::new(Some(3), Some(3)); [INFO] [stdout] | ^ help: convert the identifier to snake case: `b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `gl_FragColor` should have a snake case name [INFO] [stdout] --> src/main.rs:150:17 [INFO] [stdout] | [INFO] [stdout] 150 | let mut gl_FragColor = TGAColor::new_rgba(255, 255, 255, 0); [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `gl_frag_color` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `INPUT` should have a snake case name [INFO] [stdout] --> src/main.rs:172:9 [INFO] [stdout] | [INFO] [stdout] 172 | let INPUT = &args.obj_path[..]; [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case: `input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `ModelView` should have a snake case name [INFO] [stdout] --> src/main.rs:175:9 [INFO] [stdout] | [INFO] [stdout] 175 | let ModelView = lookat(eye, center, up); [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `model_view` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `ViewPort` should have a snake case name [INFO] [stdout] --> src/main.rs:176:9 [INFO] [stdout] | [INFO] [stdout] 176 | let ViewPort = viewport(WIDTH / 8, HEIGHT / 8, WIDTH * 3 / 4, HEIGHT * 3 / 4); [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `view_port` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Projection` should have a snake case name [INFO] [stdout] --> src/main.rs:177:9 [INFO] [stdout] | [INFO] [stdout] 177 | let Projection = projection((eye - center).norm()); [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `projection` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Projection` should have a snake case name [INFO] [stdout] --> src/our_gl.rs:13:13 [INFO] [stdout] | [INFO] [stdout] 13 | let mut Projection = Matrix::new(Some(4), Some(4)); [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `projection` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Minv` should have a snake case name [INFO] [stdout] --> src/our_gl.rs:25:13 [INFO] [stdout] | [INFO] [stdout] 25 | let mut Minv = Matrix::new(Some(4), Some(4)); [INFO] [stdout] | ^^^^ help: convert the identifier to snake case: `minv` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Tr` should have a snake case name [INFO] [stdout] --> src/our_gl.rs:30:13 [INFO] [stdout] | [INFO] [stdout] 30 | let mut Tr = Matrix::new(Some(4), Some(4)); [INFO] [stdout] | ^^ help: convert the identifier to snake case: `tr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `P` should have a snake case name [INFO] [stdout] --> src/our_gl.rs:38:38 [INFO] [stdout] | [INFO] [stdout] 38 | pub fn barycentric(tri: &[Vec2f; 3], P: &Vec2f) -> Vec3f { [INFO] [stdout] | ^ help: convert the identifier to snake case: `p` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `ABC` should have a snake case name [INFO] [stdout] --> src/our_gl.rs:39:13 [INFO] [stdout] | [INFO] [stdout] 39 | let mut ABC = Matrix::new(Some(3), Some(3)); [INFO] [stdout] | ^^^ help: convert the identifier to snake case: `abc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `ModelView` should have a snake case name [INFO] [stdout] --> src/our_gl.rs:50:9 [INFO] [stdout] | [INFO] [stdout] 50 | pub ModelView: Matrix, [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `model_view` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `ViewPort` should have a snake case name [INFO] [stdout] --> src/our_gl.rs:51:9 [INFO] [stdout] | [INFO] [stdout] 51 | pub ViewPort: Matrix, [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `view_port` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `Projection` should have a snake case name [INFO] [stdout] --> src/our_gl.rs:52:9 [INFO] [stdout] | [INFO] [stdout] 52 | pub Projection: Matrix, [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `projection` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait method `sample2D` should have a snake case name [INFO] [stdout] --> src/our_gl.rs:56:8 [INFO] [stdout] | [INFO] [stdout] 56 | fn sample2D(img: &TGAImage, uvf: &Vec2f) -> TGAColor { [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `sample2_d` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Viewport` should have a snake case name [INFO] [stdout] --> src/our_gl.rs:73:9 [INFO] [stdout] | [INFO] [stdout] 73 | let Viewport = view_bundle.ViewPort.clone(); [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `viewport` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 28 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 28 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 11.14s [INFO] running `Command { std: "docker" "inspect" "36ebff518e8ff9e7d69defe7ed49cb9510d969b6700ba4a9d77b607b5f31a3d0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "36ebff518e8ff9e7d69defe7ed49cb9510d969b6700ba4a9d77b607b5f31a3d0", kill_on_drop: false }` [INFO] [stdout] 36ebff518e8ff9e7d69defe7ed49cb9510d969b6700ba4a9d77b607b5f31a3d0