[INFO] cloning repository https://github.com/kingeta/rust_trace [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/kingeta/rust_trace" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkingeta%2Frust_trace", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkingeta%2Frust_trace'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 28c3db02ef68fb35b0d9e5691f786a2d2ba5b6f6 [INFO] checking kingeta/rust_trace against try#8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 for pr-82565 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkingeta%2Frust_trace" "/workspace/builds/worker-8/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-8/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/kingeta/rust_trace on toolchain 8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/kingeta/rust_trace [INFO] finished tweaking git repo https://github.com/kingeta/rust_trace [INFO] tweaked toml for git repo https://github.com/kingeta/rust_trace written to /workspace/builds/worker-8/source/Cargo.toml [INFO] crate git repo https://github.com/kingeta/rust_trace already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5db6537b8d3df6c37ca8b9410fafd63b0b63d49f4efbb1498484921196347b4d [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" "5db6537b8d3df6c37ca8b9410fafd63b0b63d49f4efbb1498484921196347b4d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5db6537b8d3df6c37ca8b9410fafd63b0b63d49f4efbb1498484921196347b4d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5db6537b8d3df6c37ca8b9410fafd63b0b63d49f4efbb1498484921196347b4d", kill_on_drop: false }` [INFO] [stdout] 5db6537b8d3df6c37ca8b9410fafd63b0b63d49f4efbb1498484921196347b4d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] adbebbc5649be2bf9402ae3fee823eccaf68d923d77f8c58329413eb79c80c32 [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" "adbebbc5649be2bf9402ae3fee823eccaf68d923d77f8c58329413eb79c80c32", kill_on_drop: false }` [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Checking rand_core v0.4.2 [INFO] [stderr] Compiling libc v0.2.66 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling rayon-core v1.6.1 [INFO] [stderr] Compiling cgmath v0.17.0 [INFO] [stderr] Compiling num-traits v0.2.10 [INFO] [stderr] Compiling crossbeam-utils v0.7.0 [INFO] [stderr] Compiling crossbeam-epoch v0.8.0 [INFO] [stderr] Compiling num-integer v0.1.41 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Checking crc32fast v1.2.0 [INFO] [stderr] Checking png v0.15.2 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Checking rand_core v0.3.1 [INFO] [stderr] Checking rand_jitter v0.1.4 [INFO] [stderr] Checking rand_hc v0.1.0 [INFO] [stderr] Checking rand_xorshift v0.1.1 [INFO] [stderr] Checking rand_isaac v0.1.1 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Checking crossbeam-queue v0.2.0 [INFO] [stderr] Compiling memoffset v0.5.3 [INFO] [stderr] Checking num_cpus v1.11.1 [INFO] [stderr] Checking rand_os v0.1.3 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Checking approx v0.3.2 [INFO] [stderr] Checking num-rational v0.2.2 [INFO] [stderr] Checking num-iter v0.1.39 [INFO] [stderr] Checking crossbeam-deque v0.7.2 [INFO] [stderr] Checking rayon v1.2.1 [INFO] [stderr] Checking jpeg-decoder v0.1.18 [INFO] [stderr] Compiling num-derive v0.2.5 [INFO] [stderr] Checking tiff v0.3.1 [INFO] [stderr] Checking image v0.22.3 [INFO] [stderr] Checking raytracer v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `GenericImageView`, `GenericImage`, `ImageBuffer`, `Pixel`, `RgbImage`, `Rgb` [INFO] [stdout] --> src/main.rs:1:13 [INFO] [stdout] | [INFO] [stdout] 1 | use image::{ImageBuffer, Rgb, RgbImage, Pixel, GenericImageView, GenericImage}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^ ^^^^^^^^ ^^^^^ ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `Rect_XY` should have an upper camel case name [INFO] [stdout] --> src/primitive.rs:126:12 [INFO] [stdout] | [INFO] [stdout] 126 | pub struct Rect_XY { [INFO] [stdout] | ^^^^^^^ help: convert the identifier to upper camel case: `RectXy` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `texture::*` [INFO] [stdout] --> src/main.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use texture::*; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `GenericImageView`, `GenericImage`, `ImageBuffer`, `Pixel`, `RgbImage`, `Rgb` [INFO] [stdout] --> src/main.rs:1:13 [INFO] [stdout] | [INFO] [stdout] 1 | use image::{ImageBuffer, Rgb, RgbImage, Pixel, GenericImageView, GenericImage}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^ ^^^^^^^^ ^^^^^ ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `Rect_XY` should have an upper camel case name [INFO] [stdout] --> src/primitive.rs:126:12 [INFO] [stdout] | [INFO] [stdout] 126 | pub struct Rect_XY { [INFO] [stdout] | ^^^^^^^ help: convert the identifier to upper camel case: `RectXy` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `texture::*` [INFO] [stdout] --> src/main.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use texture::*; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::texture` [INFO] [stdout] --> src/primitive.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use super::texture::*; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::texture` [INFO] [stdout] --> src/primitive.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use super::texture::*; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `check2` [INFO] [stdout] --> src/main.rs:101:9 [INFO] [stdout] | [INFO] [stdout] 101 | let check2 = March { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_check2` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cube` [INFO] [stdout] --> src/main.rs:116:9 [INFO] [stdout] | [INFO] [stdout] 116 | let cube = AABB { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_cube` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `trig` [INFO] [stdout] --> src/main.rs:123:9 [INFO] [stdout] | [INFO] [stdout] 123 | let trig = Triangle { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_trig` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rect` [INFO] [stdout] --> src/main.rs:131:9 [INFO] [stdout] | [INFO] [stdout] 131 | let rect = Rect_XY { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_rect` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `area2` [INFO] [stdout] --> src/primitive.rs:164:13 [INFO] [stdout] | [INFO] [stdout] 164 | let area2 = norm.length(); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_area2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `norm` [INFO] [stdout] --> src/primitive.rs:214:13 [INFO] [stdout] | [INFO] [stdout] 214 | let mut norm = Vec3::new(0., 0., 0.); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_norm` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `t_2` [INFO] [stdout] --> src/primitive.rs:231:26 [INFO] [stdout] | [INFO] [stdout] 231 | let (t_2, t_1) = (t_1, t_2); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_t_2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `t_1` [INFO] [stdout] --> src/primitive.rs:231:31 [INFO] [stdout] | [INFO] [stdout] 231 | let (t_2, t_1) = (t_1, t_2); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_t_1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dist` [INFO] [stdout] --> src/render.rs:40:18 [INFO] [stdout] | [INFO] [stdout] 40 | Some(Hit(dist, hitpos, mat, col, norm)) => { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_dist` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `half_width` [INFO] [stdout] --> src/render.rs:171:13 [INFO] [stdout] | [INFO] [stdout] 171 | let half_width = half_height * (width as f32) / (height as f32); [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_half_width` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `check2` [INFO] [stdout] --> src/main.rs:101:9 [INFO] [stdout] | [INFO] [stdout] 101 | let check2 = March { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_check2` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cube` [INFO] [stdout] --> src/main.rs:116:9 [INFO] [stdout] | [INFO] [stdout] 116 | let cube = AABB { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_cube` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `trig` [INFO] [stdout] --> src/main.rs:123:9 [INFO] [stdout] | [INFO] [stdout] 123 | let trig = Triangle { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_trig` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rect` [INFO] [stdout] --> src/main.rs:131:9 [INFO] [stdout] | [INFO] [stdout] 131 | let rect = Rect_XY { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_rect` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `area2` [INFO] [stdout] --> src/primitive.rs:164:13 [INFO] [stdout] | [INFO] [stdout] 164 | let area2 = norm.length(); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_area2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `norm` [INFO] [stdout] --> src/primitive.rs:214:13 [INFO] [stdout] | [INFO] [stdout] 214 | let mut norm = Vec3::new(0., 0., 0.); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_norm` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `t_2` [INFO] [stdout] --> src/primitive.rs:231:26 [INFO] [stdout] | [INFO] [stdout] 231 | let (t_2, t_1) = (t_1, t_2); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_t_2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `t_1` [INFO] [stdout] --> src/primitive.rs:231:31 [INFO] [stdout] | [INFO] [stdout] 231 | let (t_2, t_1) = (t_1, t_2); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_t_1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dist` [INFO] [stdout] --> src/render.rs:40:18 [INFO] [stdout] | [INFO] [stdout] 40 | Some(Hit(dist, hitpos, mat, col, norm)) => { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_dist` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `half_width` [INFO] [stdout] --> src/render.rs:171:13 [INFO] [stdout] | [INFO] [stdout] 171 | let half_width = half_height * (width as f32) / (height as f32); [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_half_width` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/primitive.rs:214:13 [INFO] [stdout] | [INFO] [stdout] 214 | let mut norm = Vec3::new(0., 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 is never used: `brdf_metal` [INFO] [stdout] --> src/material.rs:89:4 [INFO] [stdout] | [INFO] [stdout] 89 | fn brdf_metal(n: Vec3, d: Vec3, seed: &mut u32) -> Vec3 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `LIGHT` [INFO] [stdout] --> src/material.rs:140:1 [INFO] [stdout] | [INFO] [stdout] 140 | / pub const LIGHT: Material = Material { [INFO] [stdout] 141 | | albedo: 1., [INFO] [stdout] 142 | | brdf: brdf_lambert, [INFO] [stdout] 143 | | prob: 1./PI, [INFO] [stdout] 144 | | cos: false, [INFO] [stdout] 145 | | emission: 0.99, [INFO] [stdout] 146 | | }; [INFO] [stdout] | |__^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `METAL` [INFO] [stdout] --> src/material.rs:156:1 [INFO] [stdout] | [INFO] [stdout] 156 | / pub const METAL: Material = Material { [INFO] [stdout] 157 | | albedo: 0.9, [INFO] [stdout] 158 | | brdf: brdf_metal, [INFO] [stdout] 159 | | prob: 1./PI, [INFO] [stdout] 160 | | cos: true, [INFO] [stdout] 161 | | emission: 0., [INFO] [stdout] 162 | | }; [INFO] [stdout] | |__^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `to_angles` [INFO] [stdout] --> src/texture.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 7 | pub fn to_angles(v: Vec3) -> (f32, f32) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `text_check` [INFO] [stdout] --> src/texture.rs:38:8 [INFO] [stdout] | [INFO] [stdout] 38 | pub fn text_check(v: Vec3) -> Colour { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `text_image` [INFO] [stdout] --> src/texture.rs:43:4 [INFO] [stdout] | [INFO] [stdout] 43 | fn text_image(v: Vec3, img: image::DynamicImage) -> Colour { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `sphere_dist` [INFO] [stdout] --> src/main.rs:69:8 [INFO] [stdout] | [INFO] [stdout] 69 | fn sphere_dist(p: Vec3) -> f32 { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/primitive.rs:214:13 [INFO] [stdout] | [INFO] [stdout] 214 | let mut norm = Vec3::new(0., 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: 22 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `brdf_metal` [INFO] [stdout] --> src/material.rs:89:4 [INFO] [stdout] | [INFO] [stdout] 89 | fn brdf_metal(n: Vec3, d: Vec3, seed: &mut u32) -> Vec3 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `LIGHT` [INFO] [stdout] --> src/material.rs:140:1 [INFO] [stdout] | [INFO] [stdout] 140 | / pub const LIGHT: Material = Material { [INFO] [stdout] 141 | | albedo: 1., [INFO] [stdout] 142 | | brdf: brdf_lambert, [INFO] [stdout] 143 | | prob: 1./PI, [INFO] [stdout] 144 | | cos: false, [INFO] [stdout] 145 | | emission: 0.99, [INFO] [stdout] 146 | | }; [INFO] [stdout] | |__^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `METAL` [INFO] [stdout] --> src/material.rs:156:1 [INFO] [stdout] | [INFO] [stdout] 156 | / pub const METAL: Material = Material { [INFO] [stdout] 157 | | albedo: 0.9, [INFO] [stdout] 158 | | brdf: brdf_metal, [INFO] [stdout] 159 | | prob: 1./PI, [INFO] [stdout] 160 | | cos: true, [INFO] [stdout] 161 | | emission: 0., [INFO] [stdout] 162 | | }; [INFO] [stdout] | |__^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `to_angles` [INFO] [stdout] --> src/texture.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 7 | pub fn to_angles(v: Vec3) -> (f32, f32) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `text_check` [INFO] [stdout] --> src/texture.rs:38:8 [INFO] [stdout] | [INFO] [stdout] 38 | pub fn text_check(v: Vec3) -> Colour { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `text_image` [INFO] [stdout] --> src/texture.rs:43:4 [INFO] [stdout] | [INFO] [stdout] 43 | fn text_image(v: Vec3, img: image::DynamicImage) -> Colour { [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 38.05s [INFO] running `Command { std: "docker" "inspect" "adbebbc5649be2bf9402ae3fee823eccaf68d923d77f8c58329413eb79c80c32", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "adbebbc5649be2bf9402ae3fee823eccaf68d923d77f8c58329413eb79c80c32", kill_on_drop: false }` [INFO] [stdout] adbebbc5649be2bf9402ae3fee823eccaf68d923d77f8c58329413eb79c80c32