[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] checking lxyWS/ray_tracer against try#c659ee110de67e82444e4b6c8407c1a9af9c2cf6 for pr-145608-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FlxyWS%2Fray_tracer" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/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-4-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/lxyWS/ray_tracer on toolchain c659ee110de67e82444e4b6c8407c1a9af9c2cf6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "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" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 41 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.5) [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.2 [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.3+wasi-0.2.4 [INFO] [stderr] Adding weezl v0.1.10 [INFO] [stderr] Adding wit-bindgen v0.45.0 [INFO] [stderr] Adding zune-inflate v0.2.54 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 43eb3df26ef99fb8dde5435936476aa483e30fb2919fc7a9c198059a431bc3c4 [INFO] running `Command { std: "docker" "start" "-a" "43eb3df26ef99fb8dde5435936476aa483e30fb2919fc7a9c198059a431bc3c4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "43eb3df26ef99fb8dde5435936476aa483e30fb2919fc7a9c198059a431bc3c4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "43eb3df26ef99fb8dde5435936476aa483e30fb2919fc7a9c198059a431bc3c4", kill_on_drop: false }` [INFO] [stdout] 43eb3df26ef99fb8dde5435936476aa483e30fb2919fc7a9c198059a431bc3c4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] fb606b5e041890816d15560d906265ee71de9e00f161b2c32821e8283c4290b3 [INFO] running `Command { std: "docker" "start" "-a" "fb606b5e041890816d15560d906265ee71de9e00f161b2c32821e8283c4290b3", kill_on_drop: false }` [INFO] [stderr] Checking cfg-if v1.0.1 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Compiling libc v0.2.174 [INFO] [stderr] Checking simd-adler32 v0.3.7 [INFO] [stderr] Compiling rayon-core v1.13.0 [INFO] [stderr] Compiling zerocopy v0.8.26 [INFO] [stderr] Compiling crc32fast v1.5.0 [INFO] [stderr] Checking adler2 v2.0.1 [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling autocfg v1.5.0 [INFO] [stderr] Checking either v1.15.0 [INFO] [stderr] Checking weezl v0.1.10 [INFO] [stderr] Checking bytemuck v1.23.2 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Checking once_cell v1.21.3 [INFO] [stderr] Checking half v2.6.0 [INFO] [stderr] Checking color_quant v1.1.0 [INFO] [stderr] Checking smallvec v1.15.1 [INFO] [stderr] Checking lebe v0.5.2 [INFO] [stderr] Checking miniz_oxide v0.8.9 [INFO] [stderr] Checking fdeflate v0.3.7 [INFO] [stderr] Checking zune-inflate v0.2.54 [INFO] [stderr] Checking bit_field v0.10.3 [INFO] [stderr] Checking qoi v0.4.1 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Checking gif v0.13.3 [INFO] [stderr] Checking glam v0.24.2 [INFO] [stderr] Compiling ahash v0.8.12 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking flate2 v1.1.2 [INFO] [stderr] Checking crossbeam-epoch v0.9.18 [INFO] [stderr] Checking png v0.17.16 [INFO] [stderr] Checking crossbeam-deque v0.8.6 [INFO] [stderr] Checking getrandom v0.2.16 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking rayon v1.11.0 [INFO] [stderr] Checking exr v1.73.0 [INFO] [stderr] Checking ppv-lite86 v0.2.21 [INFO] [stderr] Checking tobj v4.0.3 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking jpeg-decoder v0.3.2 [INFO] [stderr] Checking tiff v0.9.1 [INFO] [stderr] Checking image v0.24.9 [INFO] [stderr] Checking 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` [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 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/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 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::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 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/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 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::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::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::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::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`, `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` [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::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[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[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/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] 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)]` 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] 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)]` 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: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: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/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[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[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: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: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/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: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/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/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] 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] [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] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `ray_tracer` (bin "ray_tracer" test) due to 36 previous errors; 2 warnings emitted [INFO] running `Command { std: "docker" "inspect" "fb606b5e041890816d15560d906265ee71de9e00f161b2c32821e8283c4290b3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fb606b5e041890816d15560d906265ee71de9e00f161b2c32821e8283c4290b3", kill_on_drop: false }` [INFO] [stdout] fb606b5e041890816d15560d906265ee71de9e00f161b2c32821e8283c4290b3