[INFO] cloning repository https://github.com/lxyWS/ray_tracer [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/lxyWS/ray_tracer" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FlxyWS%2Fray_tracer", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FlxyWS%2Fray_tracer'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 43db431979c71414d63dca5e2061c71edf96bc3f [INFO] building lxyWS/ray_tracer against master#ad85bc524b1ad696e42061ad8338d382dffbdbe5 for pr-146237-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FlxyWS%2Fray_tracer" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/lxyWS/ray_tracer [INFO] finished tweaking git repo https://github.com/lxyWS/ray_tracer [INFO] tweaked toml for git repo https://github.com/lxyWS/ray_tracer written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/lxyWS/ray_tracer on toolchain ad85bc524b1ad696e42061ad8338d382dffbdbe5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/lxyWS/ray_tracer 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" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 42 packages to latest Rust 1.91.0-nightly compatible versions [INFO] [stderr] Adding adler2 v2.0.1 [INFO] [stderr] Adding ahash v0.8.12 [INFO] [stderr] Adding autocfg v1.5.0 [INFO] [stderr] Adding bit_field v0.10.3 [INFO] [stderr] Adding bitflags v1.3.2 [INFO] [stderr] Adding bytemuck v1.23.2 [INFO] [stderr] Adding byteorder v1.5.0 [INFO] [stderr] Adding color_quant v1.1.0 [INFO] [stderr] Adding crc32fast v1.5.0 [INFO] [stderr] Adding crossbeam-deque v0.8.6 [INFO] [stderr] Adding crossbeam-epoch v0.9.18 [INFO] [stderr] Adding crossbeam-utils v0.8.21 [INFO] [stderr] Adding crunchy v0.2.4 [INFO] [stderr] Adding either v1.15.0 [INFO] [stderr] Adding exr v1.73.0 [INFO] [stderr] Adding fdeflate v0.3.7 [INFO] [stderr] Adding flate2 v1.1.2 [INFO] [stderr] Adding getrandom v0.3.3 [INFO] [stderr] Adding gif v0.13.3 [INFO] [stderr] Adding glam v0.24.2 (available: v0.30.8) [INFO] [stderr] Adding half v2.6.0 [INFO] [stderr] Adding image v0.24.9 (available: v0.25.8) [INFO] [stderr] Adding jpeg-decoder v0.3.2 [INFO] [stderr] Adding lebe v0.5.3 [INFO] [stderr] Adding miniz_oxide v0.8.9 [INFO] [stderr] Adding num-traits v0.2.19 [INFO] [stderr] Adding once_cell v1.21.3 [INFO] [stderr] Adding png v0.17.16 [INFO] [stderr] Adding qoi v0.4.1 [INFO] [stderr] Adding r-efi v5.3.0 [INFO] [stderr] Adding rayon v1.11.0 [INFO] [stderr] Adding rayon-core v1.13.0 [INFO] [stderr] Adding simd-adler32 v0.3.7 [INFO] [stderr] Adding smallvec v1.15.1 [INFO] [stderr] Adding tiff v0.9.1 [INFO] [stderr] Adding tobj v4.0.3 [INFO] [stderr] Adding version_check v0.9.5 [INFO] [stderr] Adding wasi v0.14.7+wasi-0.2.4 [INFO] [stderr] Adding wasip2 v1.0.1+wasi-0.2.4 [INFO] [stderr] Adding weezl v0.1.10 [INFO] [stderr] Adding wit-bindgen v0.46.0 [INFO] [stderr] Adding zune-inflate v0.2.54 [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded tobj v4.0.3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d396c731c08f665fffaed55c91c1f6d7fbfe959ce2b62b7514023e259cf5d4ff [INFO] running `Command { std: "docker" "start" "-a" "d396c731c08f665fffaed55c91c1f6d7fbfe959ce2b62b7514023e259cf5d4ff", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d396c731c08f665fffaed55c91c1f6d7fbfe959ce2b62b7514023e259cf5d4ff", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d396c731c08f665fffaed55c91c1f6d7fbfe959ce2b62b7514023e259cf5d4ff", kill_on_drop: false }` [INFO] [stdout] d396c731c08f665fffaed55c91c1f6d7fbfe959ce2b62b7514023e259cf5d4ff [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0f1d2ac3c5ba69042b99b7b7b2b88555e0997ccd9adff08352ec177269d5b907 [INFO] running `Command { std: "docker" "start" "-a" "0f1d2ac3c5ba69042b99b7b7b2b88555e0997ccd9adff08352ec177269d5b907", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.174 [INFO] [stderr] Compiling rayon-core v1.13.0 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling half v2.6.0 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling bit_field v0.10.3 [INFO] [stderr] Compiling crc32fast v1.5.0 [INFO] [stderr] Compiling lebe v0.5.3 [INFO] [stderr] Compiling once_cell v1.21.3 [INFO] [stderr] Compiling qoi v0.4.1 [INFO] [stderr] Compiling gif v0.13.3 [INFO] [stderr] Compiling glam v0.24.2 [INFO] [stderr] Compiling flate2 v1.1.2 [INFO] [stderr] Compiling png v0.17.16 [INFO] [stderr] Compiling rayon v1.11.0 [INFO] [stderr] Compiling exr v1.73.0 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling ahash v0.8.12 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling tobj v4.0.3 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling jpeg-decoder v0.3.2 [INFO] [stderr] Compiling tiff v0.9.1 [INFO] [stderr] Compiling image v0.24.9 [INFO] [stderr] Compiling ray_tracer v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved imports `crate::vec3::Point3`, `crate::vec3::Vec3` [INFO] [stdout] --> src/aabb.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | vec3::{Point3, Vec3}, [INFO] [stdout] | ^^^^^^ ^^^^ no `Vec3` in `vec3` [INFO] [stdout] | | [INFO] [stdout] | no `Point3` in `vec3` [INFO] [stdout] | [INFO] [stdout] = help: consider importing this struct instead: [INFO] [stdout] glam::Vec3 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `crate::vec3::Point3`, `crate::vec3::Vec3`, `crate::vec3::cross`, `crate::vec3::random_in_unit_disk`, `crate::vec3::unit_vector` [INFO] [stdout] --> src/camera.rs:8:19 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::vec3::{Point3, Vec3, cross, random_in_unit_disk, unit_vector}; [INFO] [stdout] | ^^^^^^ ^^^^ ^^^^^ ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^ no `unit_vector` in `vec3` [INFO] [stdout] | | | | | [INFO] [stdout] | | | | no `random_in_unit_disk` in `vec3` [INFO] [stdout] | | | no `cross` in `vec3` [INFO] [stdout] | | no `Vec3` in `vec3` [INFO] [stdout] | no `Point3` in `vec3` [INFO] [stdout] | [INFO] [stdout] = help: consider importing this struct instead: [INFO] [stdout] glam::Vec3 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::vec3::Vec3` [INFO] [stdout] --> src/color.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::vec3::Vec3; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ no `Vec3` in `vec3` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct instead [INFO] [stdout] | [INFO] [stdout] 2 - use crate::vec3::Vec3; [INFO] [stdout] 2 + use glam::Vec3; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::vec3::Vec3` [INFO] [stdout] --> src/constant_medium.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | vec3::Vec3, [INFO] [stdout] | ^^^^^^^^^^ no `Vec3` in `vec3` [INFO] [stdout] | [INFO] [stdout] = help: consider importing this struct instead: [INFO] [stdout] glam::Vec3 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `crate::vec3::Point3`, `crate::vec3::Vec3`, `crate::vec3::dot` [INFO] [stdout] --> src/hittable.rs:10:19 [INFO] [stdout] | [INFO] [stdout] 10 | use crate::vec3::{Point3, Vec3, dot}; [INFO] [stdout] | ^^^^^^ ^^^^ ^^^ no `dot` in `vec3` [INFO] [stdout] | | | [INFO] [stdout] | | no `Vec3` in `vec3` [INFO] [stdout] | no `Point3` in `vec3` [INFO] [stdout] | [INFO] [stdout] = help: consider importing this struct instead: [INFO] [stdout] glam::Vec3 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `crate::vec3::Point3`, `crate::vec3::dot`, `crate::vec3::random_cosine_direction`, `crate::vec3::random_unit_vector`, `crate::vec3::reflect`, `crate::vec3::refract`, `crate::vec3::unit_vector` [INFO] [stdout] --> src/material.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | Point3, dot, random_cosine_direction, random_unit_vector, reflect, refract, unit_vector, [INFO] [stdout] | ^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ ^^^^^^^ ^^^^^^^ ^^^^^^^^^^^ no `unit_vector` in `vec3` [INFO] [stdout] | | | | | | | [INFO] [stdout] | | | | | | no `refract` in `vec3` [INFO] [stdout] | | | | | no `reflect` in `vec3` [INFO] [stdout] | | | | no `random_unit_vector` in `vec3` [INFO] [stdout] | | | no `random_cosine_direction` in `vec3` [INFO] [stdout] | | no `dot` in `vec3` [INFO] [stdout] | no `Point3` in `vec3` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::vec3::Point3` [INFO] [stdout] --> src/mesh.rs:92:25 [INFO] [stdout] | [INFO] [stdout] 92 | triangle::Triangle, vec3::Point3, [INFO] [stdout] | ^^^^^^^^^^^^ no `Point3` in `vec3` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::vec3::Point3` [INFO] [stdout] --> src/obj_loader.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | vec3::Point3, [INFO] [stdout] | ^^^^^^^^^^^^ no `Point3` in `vec3` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `crate::vec3::Vec3`, `crate::vec3::cross`, `crate::vec3::unit_vector` [INFO] [stdout] --> src/onb.rs:1:19 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::vec3::{Vec3, cross, unit_vector}; [INFO] [stdout] | ^^^^ ^^^^^ ^^^^^^^^^^^ no `unit_vector` in `vec3` [INFO] [stdout] | | | [INFO] [stdout] | | no `cross` in `vec3` [INFO] [stdout] | no `Vec3` in `vec3` [INFO] [stdout] | [INFO] [stdout] = help: consider importing this struct instead: [INFO] [stdout] glam::Vec3 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `crate::vec3::Point3`, `crate::vec3::unit_vector` [INFO] [stdout] --> src/pdf.rs:3:19 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::vec3::{Point3, unit_vector}; [INFO] [stdout] | ^^^^^^ ^^^^^^^^^^^ no `unit_vector` in `vec3` [INFO] [stdout] | | [INFO] [stdout] | no `Point3` in `vec3` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `crate::vec3::Vec3`, `crate::vec3::dot`, `crate::vec3::random_cosine_direction`, `crate::vec3::random_unit_vector` [INFO] [stdout] --> src/pdf.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | vec3::{Vec3, dot, random_cosine_direction, random_unit_vector}, [INFO] [stdout] | ^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ no `random_unit_vector` in `vec3` [INFO] [stdout] | | | | [INFO] [stdout] | | | no `random_cosine_direction` in `vec3` [INFO] [stdout] | | no `dot` in `vec3` [INFO] [stdout] | no `Vec3` in `vec3` [INFO] [stdout] | [INFO] [stdout] = help: consider importing this struct instead: [INFO] [stdout] glam::Vec3 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `crate::vec3::Point3`, `crate::vec3::Vec3`, `crate::vec3::dot`, `crate::vec3::unit_vector` [INFO] [stdout] --> src/perlin.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | vec3::{Point3, Vec3, dot, unit_vector}, [INFO] [stdout] | ^^^^^^ ^^^^ ^^^ ^^^^^^^^^^^ no `unit_vector` in `vec3` [INFO] [stdout] | | | | [INFO] [stdout] | | | no `dot` in `vec3` [INFO] [stdout] | | no `Vec3` in `vec3` [INFO] [stdout] | no `Point3` in `vec3` [INFO] [stdout] | [INFO] [stdout] = help: consider importing this struct instead: [INFO] [stdout] glam::Vec3 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `crate::vec3::Point3`, `crate::vec3::Vec3`, `crate::vec3::cross`, `crate::vec3::dot`, `crate::vec3::unit_vector` [INFO] [stdout] --> src/quad.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | vec3::{Point3, Vec3, cross, dot, unit_vector}, [INFO] [stdout] | ^^^^^^ ^^^^ ^^^^^ ^^^ ^^^^^^^^^^^ no `unit_vector` in `vec3` [INFO] [stdout] | | | | | [INFO] [stdout] | | | | no `dot` in `vec3` [INFO] [stdout] | | | no `cross` in `vec3` [INFO] [stdout] | | no `Vec3` in `vec3` [INFO] [stdout] | no `Point3` in `vec3` [INFO] [stdout] | [INFO] [stdout] = help: consider importing this struct instead: [INFO] [stdout] glam::Vec3 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `crate::vec3::Point3`, `crate::vec3::Vec3` [INFO] [stdout] --> src/ray.rs:1:19 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::vec3::{Point3, Vec3}; [INFO] [stdout] | ^^^^^^ ^^^^ no `Vec3` in `vec3` [INFO] [stdout] | | [INFO] [stdout] | no `Point3` in `vec3` [INFO] [stdout] | [INFO] [stdout] = help: consider importing this struct instead: [INFO] [stdout] glam::Vec3 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `crate::vec3::Point3`, `crate::vec3::Vec3`, `crate::vec3::dot` [INFO] [stdout] --> src/sphere.rs:8:19 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::vec3::{Point3, Vec3, dot}; [INFO] [stdout] | ^^^^^^ ^^^^ ^^^ no `dot` in `vec3` [INFO] [stdout] | | | [INFO] [stdout] | | no `Vec3` in `vec3` [INFO] [stdout] | no `Point3` in `vec3` [INFO] [stdout] | [INFO] [stdout] = help: consider importing this struct instead: [INFO] [stdout] glam::Vec3 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::vec3::Point3` [INFO] [stdout] --> src/texture.rs:4:68 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::{color::Color, perlin::Perlin, rtw_stb_image::RtwImage, vec3::Point3}; [INFO] [stdout] | ^^^^^^^^^^^^ no `Point3` in `vec3` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `crate::vec3::Point3`, `crate::vec3::Vec3`, `crate::vec3::cross`, `crate::vec3::dot`, `crate::vec3::unit_vector` [INFO] [stdout] --> src/triangle.rs:108:12 [INFO] [stdout] | [INFO] [stdout] 108 | vec3::{Point3, Vec3, cross, dot, unit_vector}, [INFO] [stdout] | ^^^^^^ ^^^^ ^^^^^ ^^^ ^^^^^^^^^^^ no `unit_vector` in `vec3` [INFO] [stdout] | | | | | [INFO] [stdout] | | | | no `dot` in `vec3` [INFO] [stdout] | | | no `cross` in `vec3` [INFO] [stdout] | | no `Vec3` in `vec3` [INFO] [stdout] | no `Point3` in `vec3` [INFO] [stdout] | [INFO] [stdout] = help: consider importing this struct instead: [INFO] [stdout] glam::Vec3 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::vec3::Point3` [INFO] [stdout] --> src/vec3.rs:4:68 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::{color::Color, perlin::Perlin, rtw_stb_image::RtwImage, vec3::Point3}; [INFO] [stdout] | ^^^^^^^^^^^^ no `Point3` in `vec3` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::vec3::Vec3` [INFO] [stdout] --> src/main.rs:36:27 [INFO] [stdout] | [INFO] [stdout] 36 | use crate::vec3::{Point3, Vec3}; [INFO] [stdout] | ^^^^ no `Vec3` in `vec3` [INFO] [stdout] | [INFO] [stdout] = help: consider importing this struct instead: [INFO] [stdout] glam::Vec3 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Vec3` in module `crate::vec3` [INFO] [stdout] --> src/hittable_list.rs:67:80 [INFO] [stdout] | [INFO] [stdout] 67 | fn pdf_value(&self, origin: &crate::vec3::Point3, direction: &crate::vec3::Vec3) -> f64 { [INFO] [stdout] | ^^^^ not found in `crate::vec3` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use glam::Vec3; [INFO] [stdout] | [INFO] [stdout] help: if you import `Vec3`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 67 - fn pdf_value(&self, origin: &crate::vec3::Point3, direction: &crate::vec3::Vec3) -> f64 { [INFO] [stdout] 67 + fn pdf_value(&self, origin: &crate::vec3::Point3, direction: &Vec3) -> f64 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Vec3` in module `crate::vec3` [INFO] [stdout] --> src/hittable_list.rs:78:68 [INFO] [stdout] | [INFO] [stdout] 78 | fn random(&self, origin: &crate::vec3::Point3) -> crate::vec3::Vec3 { [INFO] [stdout] | ^^^^ not found in `crate::vec3` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use glam::Vec3; [INFO] [stdout] | [INFO] [stdout] help: if you import `Vec3`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 78 - fn random(&self, origin: &crate::vec3::Point3) -> crate::vec3::Vec3 { [INFO] [stdout] 78 + fn random(&self, origin: &crate::vec3::Point3) -> Vec3 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0603]: unresolved item import `Point3` is private [INFO] [stdout] --> src/main.rs:36:19 [INFO] [stdout] | [INFO] [stdout] 36 | use crate::vec3::{Point3, Vec3}; [INFO] [stdout] | ^^^^^^ private unresolved item import [INFO] [stdout] | [INFO] [stdout] note: the unresolved item import `Point3` is defined here [INFO] [stdout] --> src/vec3.rs:4:68 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::{color::Color, perlin::Perlin, rtw_stb_image::RtwImage, vec3::Point3}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] help: import `Point3` through the re-export [INFO] [stdout] | [INFO] [stdout] 36 | use crate::vec3::{vec3::Point3, Vec3}; [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0603]: unresolved item import `Point3` is private [INFO] [stdout] --> src/hittable_list.rs:67:47 [INFO] [stdout] | [INFO] [stdout] 67 | fn pdf_value(&self, origin: &crate::vec3::Point3, direction: &crate::vec3::Vec3) -> f64 { [INFO] [stdout] | ^^^^^^ private unresolved item import [INFO] [stdout] | [INFO] [stdout] note: the unresolved item import `Point3` is defined here [INFO] [stdout] --> src/vec3.rs:4:68 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::{color::Color, perlin::Perlin, rtw_stb_image::RtwImage, vec3::Point3}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] help: consider importing this unresolved item through its public re-export instead [INFO] [stdout] | [INFO] [stdout] 67 - fn pdf_value(&self, origin: &crate::vec3::Point3, direction: &crate::vec3::Vec3) -> f64 { [INFO] [stdout] 67 + fn pdf_value(&self, origin: &crate::Point3, direction: &crate::vec3::Vec3) -> f64 { [INFO] [stdout] | [INFO] [stdout] help: import `Point3` through the re-export [INFO] [stdout] | [INFO] [stdout] 67 - fn pdf_value(&self, origin: &crate::vec3::Point3, direction: &crate::vec3::Vec3) -> f64 { [INFO] [stdout] 67 + fn pdf_value(&self, origin: &vec3::Point3, direction: &crate::vec3::Vec3) -> f64 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0603]: unresolved item import `Point3` is private [INFO] [stdout] --> src/hittable_list.rs:78:44 [INFO] [stdout] | [INFO] [stdout] 78 | fn random(&self, origin: &crate::vec3::Point3) -> crate::vec3::Vec3 { [INFO] [stdout] | ^^^^^^ private unresolved item import [INFO] [stdout] | [INFO] [stdout] note: the unresolved item import `Point3` is defined here [INFO] [stdout] --> src/vec3.rs:4:68 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::{color::Color, perlin::Perlin, rtw_stb_image::RtwImage, vec3::Point3}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] help: consider importing this unresolved item through its public re-export instead [INFO] [stdout] | [INFO] [stdout] 78 - fn random(&self, origin: &crate::vec3::Point3) -> crate::vec3::Vec3 { [INFO] [stdout] 78 + fn random(&self, origin: &crate::Point3) -> crate::vec3::Vec3 { [INFO] [stdout] | [INFO] [stdout] help: import `Point3` through the re-export [INFO] [stdout] | [INFO] [stdout] 78 - fn random(&self, origin: &crate::vec3::Point3) -> crate::vec3::Vec3 { [INFO] [stdout] 78 + fn random(&self, origin: &vec3::Point3) -> crate::vec3::Vec3 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `CosinePdf` [INFO] [stdout] --> src/camera.rs:5:18 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::pdf::{CosinePdf, HittablePdf, MixturePdf, Pdf}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `onb::Onb` [INFO] [stdout] --> src/material.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | onb::Onb, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/camera.rs:200:50 [INFO] [stdout] | [INFO] [stdout] 200 | self.pixel00_loc = viewport_upper_left + 0.5 * (self.pixel_delta_u + self.pixel_delta_v); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `Aabb`, found floating-point number [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/camera.rs:212:15 [INFO] [stdout] | [INFO] [stdout] 212 | + ((i as f64 + offset.x()) * self.pixel_delta_u) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `Aabb`, found `f64` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/camera.rs:213:15 [INFO] [stdout] | [INFO] [stdout] 213 | + ((j as f64 + offset.y()) * self.pixel_delta_v); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `Aabb`, found `f64` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/material.rs:146:46 [INFO] [stdout] | [INFO] [stdout] 146 | reflected = unit_vector(reflected) + self.fuzz * random_unit_vector(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `Aabb`, found `f64` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0689]: can't call method `sqrt` on ambiguous numeric type `{float}` [INFO] [stdout] --> src/material.rs:205:55 [INFO] [stdout] | [INFO] [stdout] 205 | let sin_theta = (1.0 - cos_theta * cos_theta).sqrt(); [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/perlin.rs:117:41 [INFO] [stdout] | [INFO] [stdout] 117 | let x_index = ((i + di) & 255) as usize; [INFO] [stdout] | ^^ expected `Aabb`, found integer [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/perlin.rs:118:41 [INFO] [stdout] | [INFO] [stdout] 118 | let y_index = ((j + dj) & 255) as usize; [INFO] [stdout] | ^^ expected `Aabb`, found integer [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/perlin.rs:119:41 [INFO] [stdout] | [INFO] [stdout] 119 | let z_index = ((k + dk) & 255) as usize; [INFO] [stdout] | ^^ expected `Aabb`, found integer [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/quad.rs:134:26 [INFO] [stdout] | [INFO] [stdout] 134 | let p = self.q + (random_double() * self.u) + (random_double() * self.v); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `Aabb`, found `f64` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/quad.rs:134:55 [INFO] [stdout] | [INFO] [stdout] 134 | let p = self.q + (random_double() * self.u) + (random_double() * self.v); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `Aabb`, found `f64` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/ray.rs:55:21 [INFO] [stdout] | [INFO] [stdout] 55 | self.orig + t * self.dir [INFO] [stdout] | ^^^^^^^^^^^^ expected `Aabb`, found `f64` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/sphere.rs:49:43 [INFO] [stdout] | [INFO] [stdout] 49 | let phi = (-p.z()).atan2(p.x()) + PI; [INFO] [stdout] | ^^ expected `Aabb`, found `f64` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0412, E0432, E0603, E0689. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `ray_tracer` (bin "ray_tracer") due to 36 previous errors; 2 warnings emitted [INFO] running `Command { std: "docker" "inspect" "0f1d2ac3c5ba69042b99b7b7b2b88555e0997ccd9adff08352ec177269d5b907", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0f1d2ac3c5ba69042b99b7b7b2b88555e0997ccd9adff08352ec177269d5b907", kill_on_drop: false }` [INFO] [stdout] 0f1d2ac3c5ba69042b99b7b7b2b88555e0997ccd9adff08352ec177269d5b907