[INFO] cloning repository https://github.com/velvetops/rust-rtnw [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/velvetops/rust-rtnw" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvelvetops%2Frust-rtnw", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvelvetops%2Frust-rtnw'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 0d82e0fca59fd3d84caccebb54996c05a485bd0e [INFO] checking velvetops/rust-rtnw against try#f47dd4da3ae8c32c9e65d307bfe640b143e674df for pr-77526 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvelvetops%2Frust-rtnw" "/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/velvetops/rust-rtnw on toolchain f47dd4da3ae8c32c9e65d307bfe640b143e674df [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/velvetops/rust-rtnw [INFO] finished tweaking git repo https://github.com/velvetops/rust-rtnw [INFO] tweaked toml for git repo https://github.com/velvetops/rust-rtnw written to /workspace/builds/worker-8/source/Cargo.toml [INFO] crate git repo https://github.com/velvetops/rust-rtnw already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "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:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8b91fa6031632aee257b32a35ee7d31649a37753a26970b8e9231085fe0768a3 [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" "8b91fa6031632aee257b32a35ee7d31649a37753a26970b8e9231085fe0768a3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8b91fa6031632aee257b32a35ee7d31649a37753a26970b8e9231085fe0768a3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8b91fa6031632aee257b32a35ee7d31649a37753a26970b8e9231085fe0768a3", kill_on_drop: false }` [INFO] [stdout] 8b91fa6031632aee257b32a35ee7d31649a37753a26970b8e9231085fe0768a3 [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:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f82a9d4501f481b08323a51cf806a0b2760a4ffb0bf792a31b4e9c5079842b6f [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" "f82a9d4501f481b08323a51cf806a0b2760a4ffb0bf792a31b4e9c5079842b6f", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v0.1.5 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling libc v0.2.60 [INFO] [stderr] Checking cfg-if v0.1.9 [INFO] [stderr] Compiling arrayvec v0.4.11 [INFO] [stderr] Compiling byteorder v1.3.2 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Checking nodrop v0.1.13 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Checking scopeguard v1.0.0 [INFO] [stderr] Compiling syn v0.15.42 [INFO] [stderr] Compiling rayon-core v1.5.0 [INFO] [stderr] Compiling crc32fast v1.2.0 [INFO] [stderr] Checking adler32 v1.0.3 [INFO] [stderr] Compiling bitflags v1.1.0 [INFO] [stderr] Compiling num-derive v0.2.5 [INFO] [stderr] Checking either v1.5.2 [INFO] [stderr] Checking lzw v0.10.0 [INFO] [stderr] Checking ppv-lite86 v0.2.5 [INFO] [stderr] Checking color_quant v1.0.1 [INFO] [stderr] Checking scoped_threadpool v0.1.9 [INFO] [stderr] Checking inflate v0.4.5 [INFO] [stderr] Checking crossbeam-utils v0.6.6 [INFO] [stderr] Checking gif v0.10.2 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling num-traits v0.2.8 [INFO] [stderr] Compiling num-integer v0.1.41 [INFO] [stderr] Compiling num-rational v0.2.2 [INFO] [stderr] Compiling rand_chacha v0.2.0 [INFO] [stderr] Compiling num-iter v0.1.39 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Checking crossbeam-queue v0.1.2 [INFO] [stderr] Checking c2-chacha v0.2.2 [INFO] [stderr] Checking deflate v0.7.20 [INFO] [stderr] Compiling memoffset v0.5.1 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Checking num_cpus v1.10.1 [INFO] [stderr] Checking getrandom v0.1.6 [INFO] [stderr] Checking rand_core v0.5.0 [INFO] [stderr] Checking crossbeam-epoch v0.7.2 [INFO] [stderr] Checking png v0.15.0 [INFO] [stderr] Checking crossbeam-deque v0.6.3 [INFO] [stderr] Checking rand v0.7.0 [INFO] [stderr] Checking rayon v1.1.0 [INFO] [stderr] Checking jpeg-decoder v0.1.15 [INFO] [stderr] Checking tiff v0.3.1 [INFO] [stderr] Checking image v0.22.1 [INFO] [stderr] Checking rust-rtnw v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `t0` [INFO] [stdout] --> src/block.rs:88:28 [INFO] [stdout] | [INFO] [stdout] 88 | fn bounding_box(&self, t0: f32, t1: f32) -> Option { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_t0` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `t1` [INFO] [stdout] --> src/block.rs:88:37 [INFO] [stdout] | [INFO] [stdout] 88 | fn bounding_box(&self, t0: f32, t1: f32) -> Option { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_t1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `bbox` [INFO] [stdout] --> src/hitable_list.rs:34:29 [INFO] [stdout] | [INFO] [stdout] 34 | let bbox = surrounding_box(bbox, temp_box); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_bbox` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `t0` [INFO] [stdout] --> src/sphere.rs:64:28 [INFO] [stdout] | [INFO] [stdout] 64 | fn bounding_box(&self, t0: f32, t1: f32) -> Option { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_t0` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `t1` [INFO] [stdout] --> src/sphere.rs:64:37 [INFO] [stdout] | [INFO] [stdout] 64 | fn bounding_box(&self, t0: f32, t1: f32) -> Option { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_t1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `p` [INFO] [stdout] --> src/texture.rs:90:37 [INFO] [stdout] | [INFO] [stdout] 90 | fn value(&self, u: f32, v: f32, p: &Vec3) -> Vec3 { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_p` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `t0` [INFO] [stdout] --> src/translate.rs:113:28 [INFO] [stdout] | [INFO] [stdout] 113 | fn bounding_box(&self, t0: f32, t1: f32) -> Option { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_t0` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `t1` [INFO] [stdout] --> src/translate.rs:113:37 [INFO] [stdout] | [INFO] [stdout] 113 | fn bounding_box(&self, t0: f32, t1: f32) -> Option { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_t1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `t0` [INFO] [stdout] --> src/block.rs:88:28 [INFO] [stdout] | [INFO] [stdout] 88 | fn bounding_box(&self, t0: f32, t1: f32) -> Option { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_t0` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `t1` [INFO] [stdout] --> src/block.rs:88:37 [INFO] [stdout] | [INFO] [stdout] 88 | fn bounding_box(&self, t0: f32, t1: f32) -> Option { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_t1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `bbox` [INFO] [stdout] --> src/hitable_list.rs:34:29 [INFO] [stdout] | [INFO] [stdout] 34 | let bbox = surrounding_box(bbox, temp_box); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_bbox` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `t0` [INFO] [stdout] --> src/sphere.rs:64:28 [INFO] [stdout] | [INFO] [stdout] 64 | fn bounding_box(&self, t0: f32, t1: f32) -> Option { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_t0` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `t1` [INFO] [stdout] --> src/sphere.rs:64:37 [INFO] [stdout] | [INFO] [stdout] 64 | fn bounding_box(&self, t0: f32, t1: f32) -> Option { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_t1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `p` [INFO] [stdout] --> src/texture.rs:90:37 [INFO] [stdout] | [INFO] [stdout] 90 | fn value(&self, u: f32, v: f32, p: &Vec3) -> Vec3 { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_p` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `t0` [INFO] [stdout] --> src/translate.rs:113:28 [INFO] [stdout] | [INFO] [stdout] 113 | fn bounding_box(&self, t0: f32, t1: f32) -> Option { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_t0` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `t1` [INFO] [stdout] --> src/translate.rs:113:37 [INFO] [stdout] | [INFO] [stdout] 113 | fn bounding_box(&self, t0: f32, t1: f32) -> Option { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_t1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `clamp` [INFO] [stdout] --> src/texture.rs:109:4 [INFO] [stdout] | [INFO] [stdout] 109 | fn clamp(x: f32, max: f32) -> f32 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `clamp` [INFO] [stdout] --> src/texture.rs:109:4 [INFO] [stdout] | [INFO] [stdout] 109 | fn clamp(x: f32, max: f32) -> f32 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `t0` [INFO] [stdout] --> src/block.rs:88:28 [INFO] [stdout] | [INFO] [stdout] 88 | fn bounding_box(&self, t0: f32, t1: f32) -> Option { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_t0` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `t1` [INFO] [stdout] --> src/block.rs:88:37 [INFO] [stdout] | [INFO] [stdout] 88 | fn bounding_box(&self, t0: f32, t1: f32) -> Option { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_t1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `bbox` [INFO] [stdout] --> src/hitable_list.rs:34:29 [INFO] [stdout] | [INFO] [stdout] 34 | let bbox = surrounding_box(bbox, temp_box); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_bbox` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `t0` [INFO] [stdout] --> src/sphere.rs:64:28 [INFO] [stdout] | [INFO] [stdout] 64 | fn bounding_box(&self, t0: f32, t1: f32) -> Option { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_t0` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `t1` [INFO] [stdout] --> src/sphere.rs:64:37 [INFO] [stdout] | [INFO] [stdout] 64 | fn bounding_box(&self, t0: f32, t1: f32) -> Option { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_t1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `p` [INFO] [stdout] --> src/texture.rs:90:37 [INFO] [stdout] | [INFO] [stdout] 90 | fn value(&self, u: f32, v: f32, p: &Vec3) -> Vec3 { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_p` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `t0` [INFO] [stdout] --> src/translate.rs:113:28 [INFO] [stdout] | [INFO] [stdout] 113 | fn bounding_box(&self, t0: f32, t1: f32) -> Option { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_t0` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `t1` [INFO] [stdout] --> src/translate.rs:113:37 [INFO] [stdout] | [INFO] [stdout] 113 | fn bounding_box(&self, t0: f32, t1: f32) -> Option { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_t1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `t0` [INFO] [stdout] --> src/block.rs:88:28 [INFO] [stdout] | [INFO] [stdout] 88 | fn bounding_box(&self, t0: f32, t1: f32) -> Option { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_t0` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `t1` [INFO] [stdout] --> src/block.rs:88:37 [INFO] [stdout] | [INFO] [stdout] 88 | fn bounding_box(&self, t0: f32, t1: f32) -> Option { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_t1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `bbox` [INFO] [stdout] --> src/hitable_list.rs:34:29 [INFO] [stdout] | [INFO] [stdout] 34 | let bbox = surrounding_box(bbox, temp_box); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_bbox` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `t0` [INFO] [stdout] --> src/sphere.rs:64:28 [INFO] [stdout] | [INFO] [stdout] 64 | fn bounding_box(&self, t0: f32, t1: f32) -> Option { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_t0` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `t1` [INFO] [stdout] --> src/sphere.rs:64:37 [INFO] [stdout] | [INFO] [stdout] 64 | fn bounding_box(&self, t0: f32, t1: f32) -> Option { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_t1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `p` [INFO] [stdout] --> src/texture.rs:90:37 [INFO] [stdout] | [INFO] [stdout] 90 | fn value(&self, u: f32, v: f32, p: &Vec3) -> Vec3 { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_p` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `t0` [INFO] [stdout] --> src/translate.rs:113:28 [INFO] [stdout] | [INFO] [stdout] 113 | fn bounding_box(&self, t0: f32, t1: f32) -> Option { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_t0` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `t1` [INFO] [stdout] --> src/translate.rs:113:37 [INFO] [stdout] | [INFO] [stdout] 113 | fn bounding_box(&self, t0: f32, t1: f32) -> Option { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_t1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `hit` [INFO] [stdout] --> src/aabb.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 15 | pub fn hit(&self, r: &Ray, tmin: f32, tmax: f32) -> bool { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `camera_for_random_spheres` [INFO] [stdout] --> src/camera.rs:83:8 [INFO] [stdout] | [INFO] [stdout] 83 | pub fn camera_for_random_spheres(nx: u32, ny: u32) -> Camera { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `camera_for_two_spheres` [INFO] [stdout] --> src/camera.rs:106:8 [INFO] [stdout] | [INFO] [stdout] 106 | pub fn camera_for_two_spheres(nx: u32, ny: u32) -> Camera { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/material.rs:57:12 [INFO] [stdout] | [INFO] [stdout] 57 | pub fn new(v: (f32, f32, f32), fuzz: f32) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/material.rs:114:12 [INFO] [stdout] | [INFO] [stdout] 114 | pub fn new(refract_idx: f32) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/perlin.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `perlin_generate` [INFO] [stdout] --> src/perlin.rs:55:4 [INFO] [stdout] | [INFO] [stdout] 55 | fn perlin_generate() -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `perlin_generate_perm` [INFO] [stdout] --> src/perlin.rs:68:4 [INFO] [stdout] | [INFO] [stdout] 68 | fn perlin_generate_perm() -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `random_scene` [INFO] [stdout] --> src/scene.rs:16:8 [INFO] [stdout] | [INFO] [stdout] 16 | pub fn random_scene() -> HitableList { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `random_scene_with_motion` [INFO] [stdout] --> src/scene.rs:95:8 [INFO] [stdout] | [INFO] [stdout] 95 | pub fn random_scene_with_motion() -> HitableList { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `two_spheres` [INFO] [stdout] --> src/scene.rs:181:8 [INFO] [stdout] | [INFO] [stdout] 181 | pub fn two_spheres() -> HitableList { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `two_perlin_spheres` [INFO] [stdout] --> src/scene.rs:202:8 [INFO] [stdout] | [INFO] [stdout] 202 | pub fn two_perlin_spheres() -> HitableList { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `earth` [INFO] [stdout] --> src/scene.rs:220:8 [INFO] [stdout] | [INFO] [stdout] 220 | pub fn earth() -> HitableList { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `simple_light` [INFO] [stdout] --> src/scene.rs:242:8 [INFO] [stdout] | [INFO] [stdout] 242 | pub fn simple_light() -> HitableList { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `cornell_box` [INFO] [stdout] --> src/scene.rs:269:8 [INFO] [stdout] | [INFO] [stdout] 269 | pub fn cornell_box() -> HitableList { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/sphere.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn new(center: Vec3, radius: f32, material: M) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/sphere.rs:83:12 [INFO] [stdout] | [INFO] [stdout] 83 | pub fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/texture.rs:34:12 [INFO] [stdout] | [INFO] [stdout] 34 | pub fn new(odd: T, even: U) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/texture.rs:57:12 [INFO] [stdout] | [INFO] [stdout] 57 | pub fn new(scale: f32) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/texture.rs:84:12 [INFO] [stdout] | [INFO] [stdout] 84 | pub fn new(data: Vec, nx: u32, ny: u32) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `clamp` [INFO] [stdout] --> src/texture.rs:109:4 [INFO] [stdout] | [INFO] [stdout] 109 | fn clamp(x: f32, max: f32) -> f32 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `hit` [INFO] [stdout] --> src/aabb.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 15 | pub fn hit(&self, r: &Ray, tmin: f32, tmax: f32) -> bool { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `camera_for_random_spheres` [INFO] [stdout] --> src/camera.rs:83:8 [INFO] [stdout] | [INFO] [stdout] 83 | pub fn camera_for_random_spheres(nx: u32, ny: u32) -> Camera { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `camera_for_two_spheres` [INFO] [stdout] --> src/camera.rs:106:8 [INFO] [stdout] | [INFO] [stdout] 106 | pub fn camera_for_two_spheres(nx: u32, ny: u32) -> Camera { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/material.rs:57:12 [INFO] [stdout] | [INFO] [stdout] 57 | pub fn new(v: (f32, f32, f32), fuzz: f32) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/material.rs:114:12 [INFO] [stdout] | [INFO] [stdout] 114 | pub fn new(refract_idx: f32) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/perlin.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `perlin_generate` [INFO] [stdout] --> src/perlin.rs:55:4 [INFO] [stdout] | [INFO] [stdout] 55 | fn perlin_generate() -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `perlin_generate_perm` [INFO] [stdout] --> src/perlin.rs:68:4 [INFO] [stdout] | [INFO] [stdout] 68 | fn perlin_generate_perm() -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `random_scene` [INFO] [stdout] --> src/scene.rs:16:8 [INFO] [stdout] | [INFO] [stdout] 16 | pub fn random_scene() -> HitableList { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `random_scene_with_motion` [INFO] [stdout] --> src/scene.rs:95:8 [INFO] [stdout] | [INFO] [stdout] 95 | pub fn random_scene_with_motion() -> HitableList { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `two_spheres` [INFO] [stdout] --> src/scene.rs:181:8 [INFO] [stdout] | [INFO] [stdout] 181 | pub fn two_spheres() -> HitableList { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `two_perlin_spheres` [INFO] [stdout] --> src/scene.rs:202:8 [INFO] [stdout] | [INFO] [stdout] 202 | pub fn two_perlin_spheres() -> HitableList { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `earth` [INFO] [stdout] --> src/scene.rs:220:8 [INFO] [stdout] | [INFO] [stdout] 220 | pub fn earth() -> HitableList { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `simple_light` [INFO] [stdout] --> src/scene.rs:242:8 [INFO] [stdout] | [INFO] [stdout] 242 | pub fn simple_light() -> HitableList { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `cornell_box` [INFO] [stdout] --> src/scene.rs:269:8 [INFO] [stdout] | [INFO] [stdout] 269 | pub fn cornell_box() -> HitableList { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/sphere.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn new(center: Vec3, radius: f32, material: M) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/sphere.rs:83:12 [INFO] [stdout] | [INFO] [stdout] 83 | pub fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/texture.rs:34:12 [INFO] [stdout] | [INFO] [stdout] 34 | pub fn new(odd: T, even: U) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/texture.rs:57:12 [INFO] [stdout] | [INFO] [stdout] 57 | pub fn new(scale: f32) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/texture.rs:84:12 [INFO] [stdout] | [INFO] [stdout] 84 | pub fn new(data: Vec, nx: u32, ny: u32) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `clamp` [INFO] [stdout] --> src/texture.rs:109:4 [INFO] [stdout] | [INFO] [stdout] 109 | fn clamp(x: f32, max: f32) -> f32 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 29 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 29 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 51.27s [INFO] running `Command { std: "docker" "inspect" "f82a9d4501f481b08323a51cf806a0b2760a4ffb0bf792a31b4e9c5079842b6f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f82a9d4501f481b08323a51cf806a0b2760a4ffb0bf792a31b4e9c5079842b6f", kill_on_drop: false }` [INFO] [stdout] f82a9d4501f481b08323a51cf806a0b2760a4ffb0bf792a31b4e9c5079842b6f