[INFO] cloning repository https://github.com/rumbogs/rust-raytracer-one-weekend [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/rumbogs/rust-raytracer-one-weekend" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frumbogs%2Frust-raytracer-one-weekend", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frumbogs%2Frust-raytracer-one-weekend'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] aec68f58611feb2e96a72596d7a1ccdc553940ae [INFO] checking rumbogs/rust-raytracer-one-weekend against try#a7a572ce3edd6d476191fbfe92c9c1986e009b34 for pr-87190-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frumbogs%2Frust-raytracer-one-weekend" "/workspace/builds/worker-28/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-28/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/rumbogs/rust-raytracer-one-weekend on toolchain a7a572ce3edd6d476191fbfe92c9c1986e009b34 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/rumbogs/rust-raytracer-one-weekend [INFO] finished tweaking git repo https://github.com/rumbogs/rust-raytracer-one-weekend [INFO] tweaked toml for git repo https://github.com/rumbogs/rust-raytracer-one-weekend written to /workspace/builds/worker-28/source/Cargo.toml [INFO] crate git repo https://github.com/rumbogs/rust-raytracer-one-weekend already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-28/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-28/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 95309bc2fcca43fedc50db972d3abaff898532b2270533503f54207c0ba788ee [INFO] running `Command { std: "docker" "start" "-a" "95309bc2fcca43fedc50db972d3abaff898532b2270533503f54207c0ba788ee", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "95309bc2fcca43fedc50db972d3abaff898532b2270533503f54207c0ba788ee", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "95309bc2fcca43fedc50db972d3abaff898532b2270533503f54207c0ba788ee", kill_on_drop: false }` [INFO] [stdout] 95309bc2fcca43fedc50db972d3abaff898532b2270533503f54207c0ba788ee [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-28/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-28/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 39b431d1c7a5cb9e61fa097af2e93989c9b038a6c918c5ce29613768ae2c5ed5 [INFO] running `Command { std: "docker" "start" "-a" "39b431d1c7a5cb9e61fa097af2e93989c9b038a6c918c5ce29613768ae2c5ed5", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] Checking cfg-if v0.1.9 [INFO] [stderr] Checking lazy_static v1.3.0 [INFO] [stderr] Compiling autocfg v0.1.5 [INFO] [stderr] Compiling libc v0.2.60 [INFO] [stderr] Compiling arrayvec v0.4.11 [INFO] [stderr] Checking nodrop v0.1.13 [INFO] [stderr] Checking scopeguard v1.0.0 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling byteorder v1.3.2 [INFO] [stderr] Compiling syn v0.15.42 [INFO] [stderr] Compiling rayon-core v1.5.0 [INFO] [stderr] Compiling bitflags v1.1.0 [INFO] [stderr] Compiling num-derive v0.2.5 [INFO] [stderr] Checking adler32 v1.0.3 [INFO] [stderr] Compiling crc32fast v1.2.0 [INFO] [stderr] Checking lzw v0.10.0 [INFO] [stderr] Checking either v1.5.2 [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] Compiling memoffset v0.5.1 [INFO] [stderr] Checking crossbeam-utils v0.6.6 [INFO] [stderr] Checking inflate v0.4.5 [INFO] [stderr] Checking gif v0.10.2 [INFO] [stderr] Checking c2-chacha v0.2.2 [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 num-iter v0.1.39 [INFO] [stderr] Checking crossbeam-queue v0.1.2 [INFO] [stderr] Checking crossbeam-channel v0.3.9 [INFO] [stderr] Checking crossbeam-epoch v0.7.2 [INFO] [stderr] Checking deflate v0.7.20 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Checking num_cpus v1.10.1 [INFO] [stderr] Checking getrandom v0.1.7 [INFO] [stderr] Checking crossbeam-deque v0.6.3 [INFO] [stderr] Checking crossbeam-deque v0.7.1 [INFO] [stderr] Checking rand_core v0.5.0 [INFO] [stderr] Checking png v0.15.0 [INFO] [stderr] Checking crossbeam v0.7.2 [INFO] [stderr] Checking rand_chacha v0.2.1 [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.0 [INFO] [stderr] Checking raytracing-one-weekend v0.1.0 (/tmp/fixit) [INFO] [stderr] Migrating src/main.rs from 2018 edition to 2021 [INFO] [stderr] Fixed src/modifiers/flip_normals.rs (2 fixes) [INFO] [stderr] Fixed src/objects/constant_medium.rs (2 fixes) [INFO] [stderr] Fixed src/material.rs (5 fixes) [INFO] [stderr] Fixed src/objects/cube.rs (3 fixes) [INFO] [stderr] Fixed src/modifiers/translate.rs (1 fix) [INFO] [stderr] Fixed src/objects/object_list.rs (2 fixes) [INFO] [stderr] Fixed src/objects/moving_sphere.rs (2 fixes) [INFO] [stderr] Fixed src/pdf.rs (4 fixes) [INFO] [stderr] Fixed src/main.rs (18 fixes) [INFO] [stderr] Fixed src/objects/plane.rs (6 fixes) [INFO] [stderr] Fixed src/objects/sphere.rs (4 fixes) [INFO] [stderr] Fixed src/objects/bvh_tree.rs (10 fixes) [INFO] [stderr] Fixed src/hittable.rs (3 fixes) [INFO] [stderr] Fixed src/modifiers/rotate.rs (2 fixes) [INFO] [stdout] warning: field is never read: `w` [INFO] [stdout] --> src/camera.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | w: Vector3, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Isotropic` [INFO] [stdout] --> src/material.rs:47:5 [INFO] [stdout] | [INFO] [stdout] 47 | Isotropic { texture: Texture }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Leaf` [INFO] [stdout] --> src/objects/bvh_tree.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | Leaf(Box), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Node` [INFO] [stdout] --> src/objects/bvh_tree.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | Node(Box, Box), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `box_x_compare` [INFO] [stdout] --> src/objects/bvh_tree.rs:19:4 [INFO] [stdout] | [INFO] [stdout] 19 | fn box_x_compare(a: &Box, b: &Box) -> Ordering { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `box_y_compare` [INFO] [stdout] --> src/objects/bvh_tree.rs:37:4 [INFO] [stdout] | [INFO] [stdout] 37 | fn box_y_compare(a: &Box, b: &Box) -> Ordering { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `box_z_compare` [INFO] [stdout] --> src/objects/bvh_tree.rs:55:4 [INFO] [stdout] | [INFO] [stdout] 55 | fn box_z_compare(a: &Box, b: &Box) -> Ordering { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/objects/bvh_tree.rs:74:12 [INFO] [stdout] | [INFO] [stdout] 74 | pub fn new(mut list: Vec>, t0: f32, t1: f32) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/objects/constant_medium.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn new(boundary: Box, density: f32, texture: Texture) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `local` [INFO] [stdout] --> src/onb.rs:29:12 [INFO] [stdout] | [INFO] [stdout] 29 | pub fn local(&self, a: f32, b: f32, c: f32) -> Vector3 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `perlin_generate` [INFO] [stdout] --> src/perlin.rs:26:4 [INFO] [stdout] | [INFO] [stdout] 26 | fn perlin_generate() -> [Vector3; 256] { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `permute` [INFO] [stdout] --> src/perlin.rs:39:4 [INFO] [stdout] | [INFO] [stdout] 39 | fn permute(p: &mut [usize; 256]) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `perlin_generate_perm` [INFO] [stdout] --> src/perlin.rs:49:4 [INFO] [stdout] | [INFO] [stdout] 49 | fn perlin_generate_perm() -> [usize; 256] { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/perlin.rs:67:12 [INFO] [stdout] | [INFO] [stdout] 67 | pub fn new() -> Perlin { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `CheckerTexture` [INFO] [stdout] --> src/texture.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | / CheckerTexture { [INFO] [stdout] 11 | | even: Box, [INFO] [stdout] 12 | | odd: Box, [INFO] [stdout] 13 | | }, [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `NoiseTexture` [INFO] [stdout] --> src/texture.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | / NoiseTexture { [INFO] [stdout] 15 | | noise: Perlin, [INFO] [stdout] 16 | | scale: f32, [INFO] [stdout] 17 | | }, [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `ImageTexture` [INFO] [stdout] --> src/texture.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | / ImageTexture { [INFO] [stdout] 19 | | img: DynamicImage, [INFO] [stdout] 20 | | }, [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `random_scene` [INFO] [stdout] --> src/main.rs:44:4 [INFO] [stdout] | [INFO] [stdout] 44 | fn random_scene() -> Vec> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `cornell_smoke` [INFO] [stdout] --> src/main.rs:228:4 [INFO] [stdout] | [INFO] [stdout] 228 | fn cornell_smoke() -> Vec> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `random_scene2` [INFO] [stdout] --> src/main.rs:339:4 [INFO] [stdout] | [INFO] [stdout] 339 | fn random_scene2() -> Vec> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `final_scene` [INFO] [stdout] --> src/main.rs:398:4 [INFO] [stdout] | [INFO] [stdout] 398 | fn final_scene() -> Vec> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 21 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `w` [INFO] [stdout] --> src/camera.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | w: Vector3, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Isotropic` [INFO] [stdout] --> src/material.rs:47:5 [INFO] [stdout] | [INFO] [stdout] 47 | Isotropic { texture: Texture }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Leaf` [INFO] [stdout] --> src/objects/bvh_tree.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | Leaf(Box), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Node` [INFO] [stdout] --> src/objects/bvh_tree.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | Node(Box, Box), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `box_x_compare` [INFO] [stdout] --> src/objects/bvh_tree.rs:19:4 [INFO] [stdout] | [INFO] [stdout] 19 | fn box_x_compare(a: &Box, b: &Box) -> Ordering { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `box_y_compare` [INFO] [stdout] --> src/objects/bvh_tree.rs:37:4 [INFO] [stdout] | [INFO] [stdout] 37 | fn box_y_compare(a: &Box, b: &Box) -> Ordering { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `box_z_compare` [INFO] [stdout] --> src/objects/bvh_tree.rs:55:4 [INFO] [stdout] | [INFO] [stdout] 55 | fn box_z_compare(a: &Box, b: &Box) -> Ordering { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/objects/bvh_tree.rs:74:12 [INFO] [stdout] | [INFO] [stdout] 74 | pub fn new(mut list: Vec>, t0: f32, t1: f32) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/objects/constant_medium.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn new(boundary: Box, density: f32, texture: Texture) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `local` [INFO] [stdout] --> src/onb.rs:29:12 [INFO] [stdout] | [INFO] [stdout] 29 | pub fn local(&self, a: f32, b: f32, c: f32) -> Vector3 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `perlin_generate` [INFO] [stdout] --> src/perlin.rs:26:4 [INFO] [stdout] | [INFO] [stdout] 26 | fn perlin_generate() -> [Vector3; 256] { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `permute` [INFO] [stdout] --> src/perlin.rs:39:4 [INFO] [stdout] | [INFO] [stdout] 39 | fn permute(p: &mut [usize; 256]) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `perlin_generate_perm` [INFO] [stdout] --> src/perlin.rs:49:4 [INFO] [stdout] | [INFO] [stdout] 49 | fn perlin_generate_perm() -> [usize; 256] { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/perlin.rs:67:12 [INFO] [stdout] | [INFO] [stdout] 67 | pub fn new() -> Perlin { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `CheckerTexture` [INFO] [stdout] --> src/texture.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | / CheckerTexture { [INFO] [stdout] 11 | | even: Box, [INFO] [stdout] 12 | | odd: Box, [INFO] [stdout] 13 | | }, [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `NoiseTexture` [INFO] [stdout] --> src/texture.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | / NoiseTexture { [INFO] [stdout] 15 | | noise: Perlin, [INFO] [stdout] 16 | | scale: f32, [INFO] [stdout] 17 | | }, [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `ImageTexture` [INFO] [stdout] --> src/texture.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | / ImageTexture { [INFO] [stdout] 19 | | img: DynamicImage, [INFO] [stdout] 20 | | }, [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `random_scene` [INFO] [stdout] --> src/main.rs:44:4 [INFO] [stdout] | [INFO] [stdout] 44 | fn random_scene() -> Vec> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `cornell_smoke` [INFO] [stdout] --> src/main.rs:228:4 [INFO] [stdout] | [INFO] [stdout] 228 | fn cornell_smoke() -> Vec> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `random_scene2` [INFO] [stdout] --> src/main.rs:339:4 [INFO] [stdout] | [INFO] [stdout] 339 | fn random_scene2() -> Vec> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `final_scene` [INFO] [stdout] --> src/main.rs:398:4 [INFO] [stdout] | [INFO] [stdout] 398 | fn final_scene() -> Vec> { [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 17.74s [INFO] [stderr] Running `cargo check` to verify 2021 [INFO] [stderr] Checking raytracing-one-weekend v0.1.0 (/tmp/fixit) [INFO] [stdout] warning: field is never read: `w` [INFO] [stdout] --> src/camera.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | w: Vector3, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Isotropic` [INFO] [stdout] --> src/material.rs:47:5 [INFO] [stdout] | [INFO] [stdout] 47 | Isotropic { texture: Texture }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Leaf` [INFO] [stdout] --> src/objects/bvh_tree.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | Leaf(Box), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Node` [INFO] [stdout] --> src/objects/bvh_tree.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | Node(Box, Box), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `box_x_compare` [INFO] [stdout] --> src/objects/bvh_tree.rs:19:4 [INFO] [stdout] | [INFO] [stdout] 19 | fn box_x_compare(a: &Box, b: &Box) -> Ordering { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `box_y_compare` [INFO] [stdout] --> src/objects/bvh_tree.rs:37:4 [INFO] [stdout] | [INFO] [stdout] 37 | fn box_y_compare(a: &Box, b: &Box) -> Ordering { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `box_z_compare` [INFO] [stdout] --> src/objects/bvh_tree.rs:55:4 [INFO] [stdout] | [INFO] [stdout] 55 | fn box_z_compare(a: &Box, b: &Box) -> Ordering { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/objects/bvh_tree.rs:74:12 [INFO] [stdout] | [INFO] [stdout] 74 | pub fn new(mut list: Vec>, t0: f32, t1: f32) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/objects/constant_medium.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn new(boundary: Box, density: f32, texture: Texture) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `local` [INFO] [stdout] --> src/onb.rs:29:12 [INFO] [stdout] | [INFO] [stdout] 29 | pub fn local(&self, a: f32, b: f32, c: f32) -> Vector3 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `perlin_generate` [INFO] [stdout] --> src/perlin.rs:26:4 [INFO] [stdout] | [INFO] [stdout] 26 | fn perlin_generate() -> [Vector3; 256] { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `permute` [INFO] [stdout] --> src/perlin.rs:39:4 [INFO] [stdout] | [INFO] [stdout] 39 | fn permute(p: &mut [usize; 256]) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `perlin_generate_perm` [INFO] [stdout] --> src/perlin.rs:49:4 [INFO] [stdout] | [INFO] [stdout] 49 | fn perlin_generate_perm() -> [usize; 256] { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/perlin.rs:67:12 [INFO] [stdout] | [INFO] [stdout] 67 | pub fn new() -> Perlin { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `CheckerTexture` [INFO] [stdout] --> src/texture.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | / CheckerTexture { [INFO] [stdout] 11 | | even: Box, [INFO] [stdout] 12 | | odd: Box, [INFO] [stdout] 13 | | }, [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `NoiseTexture` [INFO] [stdout] --> src/texture.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | / NoiseTexture { [INFO] [stdout] 15 | | noise: Perlin, [INFO] [stdout] 16 | | scale: f32, [INFO] [stdout] 17 | | }, [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `ImageTexture` [INFO] [stdout] --> src/texture.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | / ImageTexture { [INFO] [stdout] 19 | | img: DynamicImage, [INFO] [stdout] 20 | | }, [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `random_scene` [INFO] [stdout] --> src/main.rs:44:4 [INFO] [stdout] | [INFO] [stdout] 44 | fn random_scene() -> Vec> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `cornell_smoke` [INFO] [stdout] --> src/main.rs:228:4 [INFO] [stdout] | [INFO] [stdout] 228 | fn cornell_smoke() -> Vec> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `random_scene2` [INFO] [stdout] --> src/main.rs:339:4 [INFO] [stdout] | [INFO] [stdout] 339 | fn random_scene2() -> Vec> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `final_scene` [INFO] [stdout] --> src/main.rs:398:4 [INFO] [stdout] | [INFO] [stdout] 398 | fn final_scene() -> Vec> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 21 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `w` [INFO] [stdout] --> src/camera.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | w: Vector3, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Isotropic` [INFO] [stdout] --> src/material.rs:47:5 [INFO] [stdout] | [INFO] [stdout] 47 | Isotropic { texture: Texture }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Leaf` [INFO] [stdout] --> src/objects/bvh_tree.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | Leaf(Box), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Node` [INFO] [stdout] --> src/objects/bvh_tree.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | Node(Box, Box), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `box_x_compare` [INFO] [stdout] --> src/objects/bvh_tree.rs:19:4 [INFO] [stdout] | [INFO] [stdout] 19 | fn box_x_compare(a: &Box, b: &Box) -> Ordering { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `box_y_compare` [INFO] [stdout] --> src/objects/bvh_tree.rs:37:4 [INFO] [stdout] | [INFO] [stdout] 37 | fn box_y_compare(a: &Box, b: &Box) -> Ordering { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `box_z_compare` [INFO] [stdout] --> src/objects/bvh_tree.rs:55:4 [INFO] [stdout] | [INFO] [stdout] 55 | fn box_z_compare(a: &Box, b: &Box) -> Ordering { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/objects/bvh_tree.rs:74:12 [INFO] [stdout] | [INFO] [stdout] 74 | pub fn new(mut list: Vec>, t0: f32, t1: f32) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/objects/constant_medium.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn new(boundary: Box, density: f32, texture: Texture) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `local` [INFO] [stdout] --> src/onb.rs:29:12 [INFO] [stdout] | [INFO] [stdout] 29 | pub fn local(&self, a: f32, b: f32, c: f32) -> Vector3 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `perlin_generate` [INFO] [stdout] --> src/perlin.rs:26:4 [INFO] [stdout] | [INFO] [stdout] 26 | fn perlin_generate() -> [Vector3; 256] { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `permute` [INFO] [stdout] --> src/perlin.rs:39:4 [INFO] [stdout] | [INFO] [stdout] 39 | fn permute(p: &mut [usize; 256]) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `perlin_generate_perm` [INFO] [stdout] --> src/perlin.rs:49:4 [INFO] [stdout] | [INFO] [stdout] 49 | fn perlin_generate_perm() -> [usize; 256] { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/perlin.rs:67:12 [INFO] [stdout] | [INFO] [stdout] 67 | pub fn new() -> Perlin { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `CheckerTexture` [INFO] [stdout] --> src/texture.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | / CheckerTexture { [INFO] [stdout] 11 | | even: Box, [INFO] [stdout] 12 | | odd: Box, [INFO] [stdout] 13 | | }, [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `NoiseTexture` [INFO] [stdout] --> src/texture.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | / NoiseTexture { [INFO] [stdout] 15 | | noise: Perlin, [INFO] [stdout] 16 | | scale: f32, [INFO] [stdout] 17 | | }, [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `ImageTexture` [INFO] [stdout] --> src/texture.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | / ImageTexture { [INFO] [stdout] 19 | | img: DynamicImage, [INFO] [stdout] 20 | | }, [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `random_scene` [INFO] [stdout] --> src/main.rs:44:4 [INFO] [stdout] | [INFO] [stdout] 44 | fn random_scene() -> Vec> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `cornell_smoke` [INFO] [stdout] --> src/main.rs:228:4 [INFO] [stdout] | [INFO] [stdout] 228 | fn cornell_smoke() -> Vec> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `random_scene2` [INFO] [stdout] --> src/main.rs:339:4 [INFO] [stdout] | [INFO] [stdout] 339 | fn random_scene2() -> Vec> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `final_scene` [INFO] [stdout] --> src/main.rs:398:4 [INFO] [stdout] | [INFO] [stdout] 398 | fn final_scene() -> Vec> { [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 0.50s [INFO] running `Command { std: "docker" "inspect" "39b431d1c7a5cb9e61fa097af2e93989c9b038a6c918c5ce29613768ae2c5ed5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "39b431d1c7a5cb9e61fa097af2e93989c9b038a6c918c5ce29613768ae2c5ed5", kill_on_drop: false }` [INFO] [stdout] 39b431d1c7a5cb9e61fa097af2e93989c9b038a6c918c5ce29613768ae2c5ed5