[INFO] cloning repository https://github.com/CarterTS/RustRayTracer [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/CarterTS/RustRayTracer" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FCarterTS%2FRustRayTracer", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FCarterTS%2FRustRayTracer'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] e29af1b3b19f428c645c10f305397f6eb6b6edfe [INFO] checking CarterTS/RustRayTracer against beta for pr-78714 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FCarterTS%2FRustRayTracer" "/workspace/builds/worker-13/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-13/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/CarterTS/RustRayTracer on toolchain beta [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/CarterTS/RustRayTracer [INFO] removed path dependency vec3 from git repo https://github.com/CarterTS/RustRayTracer [INFO] finished tweaking git repo https://github.com/CarterTS/RustRayTracer [INFO] tweaked toml for git repo https://github.com/CarterTS/RustRayTracer written to /workspace/builds/worker-13/source/Cargo.toml [INFO] crate git repo https://github.com/CarterTS/RustRayTracer already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: dependency (vec3) specified without providing a local path, Git repository, or version to use. This will be considered an error in future versions [INFO] [stderr] Updating crates.io index [INFO] [stderr] error: the lock file /workspace/builds/worker-13/source/Cargo.lock needs to be updated but --locked was passed to prevent this [INFO] [stderr] If you want to try to generate the lock file without accessing the network, use the --offline flag. [INFO] the lockfile is outdated, regenerating it [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] [stderr] Updating git repository `https://github.com/ACRONYM-Group/clilib` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: dependency (vec3) specified without providing a local path, Git repository, or version to use. This will be considered an error in future versions [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+beta" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 33f567764584a2b8db162465e64d2286026b169af2a2e2c4a97d9bbb470f54d0 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "33f567764584a2b8db162465e64d2286026b169af2a2e2c4a97d9bbb470f54d0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "33f567764584a2b8db162465e64d2286026b169af2a2e2c4a97d9bbb470f54d0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "33f567764584a2b8db162465e64d2286026b169af2a2e2c4a97d9bbb470f54d0", kill_on_drop: false }` [INFO] [stdout] 33f567764584a2b8db162465e64d2286026b169af2a2e2c4a97d9bbb470f54d0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+beta" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2958af0e6f2f0333d6e613110ff01248c24c5ce723b5233aa580b124082557dd [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "2958af0e6f2f0333d6e613110ff01248c24c5ce723b5233aa580b124082557dd", kill_on_drop: false }` [INFO] [stderr] warning: dependency (vec3) specified without providing a local path, Git repository, or version to use. This will be considered an error in future versions [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Checking cast_trait v0.1.2 [INFO] [stderr] Checking cli v0.3.3 (https://github.com/ACRONYM-Group/clilib#bc9432ca) [INFO] [stderr] Checking rson_rs v0.2.1 [INFO] [stderr] Checking vec3 v0.2.1 [INFO] [stderr] Checking ray_trace v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `vec3::Vec3` [INFO] [stdout] --> src/main.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use vec3::Vec3; [INFO] [stdout] | ^^^^^^^^^^ no `Vec3` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `vec3::Vec3` [INFO] [stdout] --> src/main.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use vec3::Vec3; [INFO] [stdout] | ^^^^^^^^^^ no `Vec3` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Vec3` [INFO] [stdout] --> src/raytracer/./rotations.rs:9:28 [INFO] [stdout] | [INFO] [stdout] 9 | let mut v = axis.cross(Vec3::new(1.0, 1.0, 1.0)).get_normalized(); [INFO] [stdout] | ^^^^ use of undeclared type `Vec3` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Vec3` [INFO] [stdout] --> src/raytracer/./rotations.rs:9:28 [INFO] [stdout] | [INFO] [stdout] 9 | let mut v = axis.cross(Vec3::new(1.0, 1.0, 1.0)).get_normalized(); [INFO] [stdout] | ^^^^ use of undeclared type `Vec3` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Vec3` [INFO] [stdout] --> src/raytracer/./rotations.rs:13:24 [INFO] [stdout] | [INFO] [stdout] 13 | v = axis.cross(Vec3::new(1.0, -1.0, 1.0)).get_normalized(); [INFO] [stdout] | ^^^^ use of undeclared type `Vec3` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Vec3` [INFO] [stdout] --> src/raytracer/./rotations.rs:13:24 [INFO] [stdout] | [INFO] [stdout] 13 | v = axis.cross(Vec3::new(1.0, -1.0, 1.0)).get_normalized(); [INFO] [stdout] | ^^^^ use of undeclared type `Vec3` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Vec3` [INFO] [stdout] --> src/raytracer/./rotations.rs:18:27 [INFO] [stdout] | [INFO] [stdout] 18 | let direction_prime = Vec3::new( [INFO] [stdout] | ^^^^ use of undeclared type `Vec3` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Vec3` [INFO] [stdout] --> src/raytracer/./rotations.rs:18:27 [INFO] [stdout] | [INFO] [stdout] 18 | let direction_prime = Vec3::new( [INFO] [stdout] | ^^^^ use of undeclared type `Vec3` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Vec3` [INFO] [stdout] --> src/raytracer/./rotations.rs:25:25 [INFO] [stdout] | [INFO] [stdout] 25 | let rotated_prime = Vec3::new( [INFO] [stdout] | ^^^^ use of undeclared type `Vec3` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Vec3` [INFO] [stdout] --> src/raytracer/./rotations.rs:25:25 [INFO] [stdout] | [INFO] [stdout] 25 | let rotated_prime = Vec3::new( [INFO] [stdout] | ^^^^ use of undeclared type `Vec3` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Vec3` [INFO] [stdout] --> src/raytracer/./rotations.rs:41:60 [INFO] [stdout] | [INFO] [stdout] 41 | let pitched_direction = rotate_through_axis(direction, Vec3::new(0.0, 0.0, 1.0), pitch); [INFO] [stdout] | ^^^^ use of undeclared type `Vec3` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Vec3` [INFO] [stdout] --> src/raytracer/./rotations.rs:44:20 [INFO] [stdout] | [INFO] [stdout] 44 | let mut perp = Vec3::new(0.0, 0.0, 1.0).cross(pitched_direction).get_normalized(); [INFO] [stdout] | ^^^^ use of undeclared type `Vec3` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Vec3` [INFO] [stdout] --> src/raytracer/./rotations.rs:49:16 [INFO] [stdout] | [INFO] [stdout] 49 | perp = Vec3::new(1.0,0.0, 0.0); [INFO] [stdout] | ^^^^ use of undeclared type `Vec3` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Vec3` [INFO] [stdout] --> src/raytracer/./rotations.rs:41:60 [INFO] [stdout] | [INFO] [stdout] 41 | let pitched_direction = rotate_through_axis(direction, Vec3::new(0.0, 0.0, 1.0), pitch); [INFO] [stdout] | ^^^^ use of undeclared type `Vec3` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Vec3` [INFO] [stdout] --> src/raytracer/./rotations.rs:44:20 [INFO] [stdout] | [INFO] [stdout] 44 | let mut perp = Vec3::new(0.0, 0.0, 1.0).cross(pitched_direction).get_normalized(); [INFO] [stdout] | ^^^^ use of undeclared type `Vec3` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Vec3` [INFO] [stdout] --> src/raytracer/./rotations.rs:49:16 [INFO] [stdout] | [INFO] [stdout] 49 | perp = Vec3::new(1.0,0.0, 0.0); [INFO] [stdout] | ^^^^ use of undeclared type `Vec3` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Vec3` [INFO] [stdout] --> src/raytracer/./rotations.rs:59:5 [INFO] [stdout] | [INFO] [stdout] 59 | Vec3::new( [INFO] [stdout] | ^^^^ use of undeclared type `Vec3` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Vec3` [INFO] [stdout] --> src/raytracer/./rotations.rs:59:5 [INFO] [stdout] | [INFO] [stdout] 59 | Vec3::new( [INFO] [stdout] | ^^^^ use of undeclared type `Vec3` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Vec3` [INFO] [stdout] --> src/raytracer/objects.rs:12:21 [INFO] [stdout] | [INFO] [stdout] 12 | let mut along = Vec3::new(1.0, 0.0, 0.0); [INFO] [stdout] | ^^^^ use of undeclared type `Vec3` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Vec3` [INFO] [stdout] --> src/raytracer/objects.rs:13:25 [INFO] [stdout] | [INFO] [stdout] 13 | let mut pitch_vec = Vec3::new(0.0, 1.0, 0.0); [INFO] [stdout] | ^^^^ use of undeclared type `Vec3` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Vec3` [INFO] [stdout] --> src/raytracer/objects.rs:15:48 [INFO] [stdout] | [INFO] [stdout] 15 | pitch_vec = rotate_through_axis(pitch_vec, Vec3::new(0.0, 0.0, 1.0), yaw); [INFO] [stdout] | ^^^^ use of undeclared type `Vec3` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Vec3` [INFO] [stdout] --> src/raytracer/objects.rs:16:40 [INFO] [stdout] | [INFO] [stdout] 16 | along = rotate_through_axis(along, Vec3::new(0.0, 0.0, 1.0), yaw); [INFO] [stdout] | ^^^^ use of undeclared type `Vec3` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Vec3` [INFO] [stdout] --> src/raytracer/objects.rs:20:48 [INFO] [stdout] | [INFO] [stdout] 20 | let mut final_vec = rotate_through_axis(v, Vec3::new(0.0, 0.0, 1.0), yaw); [INFO] [stdout] | ^^^^ use of undeclared type `Vec3` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Vec3` [INFO] [stdout] --> src/raytracer/objects.rs:12:21 [INFO] [stdout] | [INFO] [stdout] 12 | let mut along = Vec3::new(1.0, 0.0, 0.0); [INFO] [stdout] | ^^^^ use of undeclared type `Vec3` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Vec3` [INFO] [stdout] --> src/raytracer/objects.rs:13:25 [INFO] [stdout] | [INFO] [stdout] 13 | let mut pitch_vec = Vec3::new(0.0, 1.0, 0.0); [INFO] [stdout] | ^^^^ use of undeclared type `Vec3` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Vec3` [INFO] [stdout] --> src/raytracer/objects.rs:15:48 [INFO] [stdout] | [INFO] [stdout] 15 | pitch_vec = rotate_through_axis(pitch_vec, Vec3::new(0.0, 0.0, 1.0), yaw); [INFO] [stdout] | ^^^^ use of undeclared type `Vec3` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Vec3` [INFO] [stdout] --> src/raytracer/objects.rs:16:40 [INFO] [stdout] | [INFO] [stdout] 16 | along = rotate_through_axis(along, Vec3::new(0.0, 0.0, 1.0), yaw); [INFO] [stdout] | ^^^^ use of undeclared type `Vec3` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Vec3` [INFO] [stdout] --> src/raytracer/objects.rs:20:48 [INFO] [stdout] | [INFO] [stdout] 20 | let mut final_vec = rotate_through_axis(v, Vec3::new(0.0, 0.0, 1.0), yaw); [INFO] [stdout] | ^^^^ use of undeclared type `Vec3` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Vec3` [INFO] [stdout] --> src/raytracer/objects.rs:366:22 [INFO] [stdout] | [INFO] [stdout] 366 | let prime = (Vec3::new(0.0, 0.0, 0.0), [INFO] [stdout] | ^^^^ use of undeclared type `Vec3` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Vec3` [INFO] [stdout] --> src/raytracer/objects.rs:366:22 [INFO] [stdout] | [INFO] [stdout] 366 | let prime = (Vec3::new(0.0, 0.0, 0.0), [INFO] [stdout] | ^^^^ use of undeclared type `Vec3` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Vec3` [INFO] [stdout] --> src/raytracer/objects.rs:487:27 [INFO] [stdout] | [INFO] [stdout] 487 | let points = vec![Vec3::new(-1.0, 1.0, -1.0), [INFO] [stdout] | ^^^^ use of undeclared type `Vec3` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Vec3` [INFO] [stdout] --> src/raytracer/objects.rs:488:27 [INFO] [stdout] | [INFO] [stdout] 488 | Vec3::new(1.0, 1.0, -1.0), [INFO] [stdout] | ^^^^ use of undeclared type `Vec3` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Vec3` [INFO] [stdout] --> src/raytracer/objects.rs:489:27 [INFO] [stdout] | [INFO] [stdout] 489 | Vec3::new(-1.0, -1.0, -1.0), [INFO] [stdout] | ^^^^ use of undeclared type `Vec3` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Vec3` [INFO] [stdout] --> src/raytracer/objects.rs:490:27 [INFO] [stdout] | [INFO] [stdout] 490 | Vec3::new(1.0, -1.0, -1.0), [INFO] [stdout] | ^^^^ use of undeclared type `Vec3` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Vec3` [INFO] [stdout] --> src/raytracer/objects.rs:491:27 [INFO] [stdout] | [INFO] [stdout] 491 | Vec3::new(-1.0, 1.0, 1.0), [INFO] [stdout] | ^^^^ use of undeclared type `Vec3` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Vec3` [INFO] [stdout] --> src/raytracer/objects.rs:492:27 [INFO] [stdout] | [INFO] [stdout] 492 | Vec3::new(1.0, 1.0, 1.0), [INFO] [stdout] | ^^^^ use of undeclared type `Vec3` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Vec3` [INFO] [stdout] --> src/raytracer/objects.rs:493:27 [INFO] [stdout] | [INFO] [stdout] 493 | Vec3::new(-1.0, -1.0, 1.0), [INFO] [stdout] | ^^^^ use of undeclared type `Vec3` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Vec3` [INFO] [stdout] --> src/raytracer/objects.rs:487:27 [INFO] [stdout] | [INFO] [stdout] 487 | let points = vec![Vec3::new(-1.0, 1.0, -1.0), [INFO] [stdout] | ^^^^ use of undeclared type `Vec3` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Vec3` [INFO] [stdout] --> src/raytracer/objects.rs:488:27 [INFO] [stdout] | [INFO] [stdout] 488 | Vec3::new(1.0, 1.0, -1.0), [INFO] [stdout] | ^^^^ use of undeclared type `Vec3` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Vec3` [INFO] [stdout] --> src/raytracer/objects.rs:494:27 [INFO] [stdout] | [INFO] [stdout] 494 | Vec3::new(1.0, -1.0, 1.0)]; [INFO] [stdout] | ^^^^ use of undeclared type `Vec3` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Vec3` [INFO] [stdout] --> src/raytracer/objects.rs:489:27 [INFO] [stdout] | [INFO] [stdout] 489 | Vec3::new(-1.0, -1.0, -1.0), [INFO] [stdout] | ^^^^ use of undeclared type `Vec3` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Vec3` [INFO] [stdout] --> src/raytracer/objects.rs:490:27 [INFO] [stdout] | [INFO] [stdout] 490 | Vec3::new(1.0, -1.0, -1.0), [INFO] [stdout] | ^^^^ use of undeclared type `Vec3` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Vec3` [INFO] [stdout] --> src/raytracer/objects.rs:491:27 [INFO] [stdout] | [INFO] [stdout] 491 | Vec3::new(-1.0, 1.0, 1.0), [INFO] [stdout] | ^^^^ use of undeclared type `Vec3` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Vec3` [INFO] [stdout] --> src/raytracer/objects.rs:492:27 [INFO] [stdout] | [INFO] [stdout] 492 | Vec3::new(1.0, 1.0, 1.0), [INFO] [stdout] | ^^^^ use of undeclared type `Vec3` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Vec3` [INFO] [stdout] --> src/raytracer/objects.rs:493:27 [INFO] [stdout] | [INFO] [stdout] 493 | Vec3::new(-1.0, -1.0, 1.0), [INFO] [stdout] | ^^^^ use of undeclared type `Vec3` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Vec3` [INFO] [stdout] --> src/raytracer/objects.rs:494:27 [INFO] [stdout] | [INFO] [stdout] 494 | Vec3::new(1.0, -1.0, 1.0)]; [INFO] [stdout] | ^^^^ use of undeclared type `Vec3` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Vec3` [INFO] [stdout] --> src/raytracer/objects.rs:675:18 [INFO] [stdout] | [INFO] [stdout] 675 | Ray::new(Vec3::new(0.0, 0.0, 0.0), Vec3::new(x, y, z)) [INFO] [stdout] | ^^^^ use of undeclared type `Vec3` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Vec3` [INFO] [stdout] --> src/raytracer/objects.rs:675:44 [INFO] [stdout] | [INFO] [stdout] 675 | Ray::new(Vec3::new(0.0, 0.0, 0.0), Vec3::new(x, y, z)) [INFO] [stdout] | ^^^^ use of undeclared type `Vec3` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Vec3` [INFO] [stdout] --> src/raytracer/objects.rs:685:44 [INFO] [stdout] | [INFO] [stdout] 685 | let facing_vector = apply_rotation(Vec3::new(1.0, 0.0, 0.0), [INFO] [stdout] | ^^^^ use of undeclared type `Vec3` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Vec3` [INFO] [stdout] --> src/raytracer/objects.rs:690:37 [INFO] [stdout] | [INFO] [stdout] 690 | let mut up = apply_rotation(Vec3::new(1.0, 0.0, 0.0), [INFO] [stdout] | ^^^^ use of undeclared type `Vec3` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Vec3` [INFO] [stdout] --> src/raytracer/mod.rs:157:46 [INFO] [stdout] | [INFO] [stdout] 157 | best_hit = Some(Hit::new(Vec3::new(x, y, self.settings.floor_height), Vec3::new(0.0, 0.0, 1.0), [INFO] [stdout] | ^^^^ use of undeclared type `Vec3` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Vec3` [INFO] [stdout] --> src/raytracer/mod.rs:157:91 [INFO] [stdout] | [INFO] [stdout] 157 | best_hit = Some(Hit::new(Vec3::new(x, y, self.settings.floor_height), Vec3::new(0.0, 0.0, 1.0), [INFO] [stdout] | ^^^^ use of undeclared type `Vec3` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Vec3` in this scope [INFO] [stdout] --> src/raytracer/./rotations.rs:5:39 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn rotate_through_axis(direction: Vec3, axis: Vec3, theta: f64) -> Vec3 [INFO] [stdout] | ^^^^ help: a struct with a similar name exists: `Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Vec3` in this scope [INFO] [stdout] --> src/raytracer/./rotations.rs:5:51 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn rotate_through_axis(direction: Vec3, axis: Vec3, theta: f64) -> Vec3 [INFO] [stdout] | ^^^^ help: a struct with a similar name exists: `Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Vec3` in this scope [INFO] [stdout] --> src/raytracer/./rotations.rs:5:72 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn rotate_through_axis(direction: Vec3, axis: Vec3, theta: f64) -> Vec3 [INFO] [stdout] | ^^^^ help: a struct with a similar name exists: `Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Vec3` [INFO] [stdout] --> src/raytracer/objects.rs:675:18 [INFO] [stdout] | [INFO] [stdout] 675 | Ray::new(Vec3::new(0.0, 0.0, 0.0), Vec3::new(x, y, z)) [INFO] [stdout] | ^^^^ use of undeclared type `Vec3` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Vec3` in this scope [INFO] [stdout] --> src/raytracer/./rotations.rs:38:34 [INFO] [stdout] | [INFO] [stdout] 38 | pub fn apply_rotation(direction: Vec3, pitch: f64, yaw: f64) -> Vec3 [INFO] [stdout] | ^^^^ help: a struct with a similar name exists: `Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Vec3` in this scope [INFO] [stdout] --> src/raytracer/./rotations.rs:38:65 [INFO] [stdout] | [INFO] [stdout] 38 | pub fn apply_rotation(direction: Vec3, pitch: f64, yaw: f64) -> Vec3 [INFO] [stdout] | ^^^^ help: a struct with a similar name exists: `Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Vec3` in this scope [INFO] [stdout] --> src/raytracer/./rotations.rs:57:24 [INFO] [stdout] | [INFO] [stdout] 57 | pub fn convert_to(vec: Vec3, i_hat: Vec3, j_hat: Vec3, k_hat: Vec3) -> Vec3 [INFO] [stdout] | ^^^^ help: a struct with a similar name exists: `Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Vec3` in this scope [INFO] [stdout] --> src/raytracer/./rotations.rs:57:37 [INFO] [stdout] | [INFO] [stdout] 57 | pub fn convert_to(vec: Vec3, i_hat: Vec3, j_hat: Vec3, k_hat: Vec3) -> Vec3 [INFO] [stdout] | ^^^^ help: a struct with a similar name exists: `Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Vec3` in this scope [INFO] [stdout] --> src/raytracer/./rotations.rs:57:50 [INFO] [stdout] | [INFO] [stdout] 57 | pub fn convert_to(vec: Vec3, i_hat: Vec3, j_hat: Vec3, k_hat: Vec3) -> Vec3 [INFO] [stdout] | ^^^^ help: a struct with a similar name exists: `Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Vec3` in this scope [INFO] [stdout] --> src/raytracer/./rotations.rs:57:63 [INFO] [stdout] | [INFO] [stdout] 57 | pub fn convert_to(vec: Vec3, i_hat: Vec3, j_hat: Vec3, k_hat: Vec3) -> Vec3 [INFO] [stdout] | ^^^^ help: a struct with a similar name exists: `Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Vec3` in this scope [INFO] [stdout] --> src/raytracer/./rotations.rs:57:72 [INFO] [stdout] | [INFO] [stdout] 57 | pub fn convert_to(vec: Vec3, i_hat: Vec3, j_hat: Vec3, k_hat: Vec3) -> Vec3 [INFO] [stdout] | ^^^^ help: a struct with a similar name exists: `Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Vec3` in this scope [INFO] [stdout] --> src/raytracer/./rotations.rs:67:26 [INFO] [stdout] | [INFO] [stdout] 67 | pub fn convert_from(vec: Vec3, i_hat: Vec3, j_hat: Vec3, k_hat: Vec3) -> Vec3 [INFO] [stdout] | ^^^^ help: a struct with a similar name exists: `Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Vec3` in this scope [INFO] [stdout] --> src/raytracer/./rotations.rs:67:39 [INFO] [stdout] | [INFO] [stdout] 67 | pub fn convert_from(vec: Vec3, i_hat: Vec3, j_hat: Vec3, k_hat: Vec3) -> Vec3 [INFO] [stdout] | ^^^^ help: a struct with a similar name exists: `Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Vec3` in this scope [INFO] [stdout] --> src/raytracer/./rotations.rs:67:52 [INFO] [stdout] | [INFO] [stdout] 67 | pub fn convert_from(vec: Vec3, i_hat: Vec3, j_hat: Vec3, k_hat: Vec3) -> Vec3 [INFO] [stdout] | ^^^^ help: a struct with a similar name exists: `Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Vec3` in this scope [INFO] [stdout] --> src/raytracer/./rotations.rs:67:65 [INFO] [stdout] | [INFO] [stdout] 67 | pub fn convert_from(vec: Vec3, i_hat: Vec3, j_hat: Vec3, k_hat: Vec3) -> Vec3 [INFO] [stdout] | ^^^^ help: a struct with a similar name exists: `Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Vec3` in this scope [INFO] [stdout] --> src/raytracer/./rotations.rs:67:74 [INFO] [stdout] | [INFO] [stdout] 67 | pub fn convert_from(vec: Vec3, i_hat: Vec3, j_hat: Vec3, k_hat: Vec3) -> Vec3 [INFO] [stdout] | ^^^^ help: a struct with a similar name exists: `Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Vec3` in this scope [INFO] [stdout] --> src/raytracer/objects.rs:9:19 [INFO] [stdout] | [INFO] [stdout] 9 | fn cube_rotate(v: Vec3, pitch: f64, yaw: f64, roll: f64) -> Vec3 [INFO] [stdout] | ^^^^ help: a struct with a similar name exists: `Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Vec3` in this scope [INFO] [stdout] --> src/raytracer/objects.rs:9:61 [INFO] [stdout] | [INFO] [stdout] 9 | fn cube_rotate(v: Vec3, pitch: f64, yaw: f64, roll: f64) -> Vec3 [INFO] [stdout] | ^^^^ help: a struct with a similar name exists: `Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Vec3` in this scope [INFO] [stdout] --> src/raytracer/objects.rs:30:17 [INFO] [stdout] | [INFO] [stdout] 30 | pub origin: Vec3, [INFO] [stdout] | ^^^^ help: a struct with a similar name exists: `Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Vec3` in this scope [INFO] [stdout] --> src/raytracer/objects.rs:32:20 [INFO] [stdout] | [INFO] [stdout] 32 | pub direction: Vec3 [INFO] [stdout] | ^^^^ help: a struct with a similar name exists: `Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Vec3` in this scope [INFO] [stdout] --> src/raytracer/objects.rs:38:24 [INFO] [stdout] | [INFO] [stdout] 38 | pub fn new(origin: Vec3, direction: Vec3) -> Self [INFO] [stdout] | ^^^^ help: a struct with a similar name exists: `Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Vec3` in this scope [INFO] [stdout] --> src/raytracer/objects.rs:38:41 [INFO] [stdout] | [INFO] [stdout] 38 | pub fn new(origin: Vec3, direction: Vec3) -> Self [INFO] [stdout] | ^^^^ help: a struct with a similar name exists: `Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Vec3` in this scope [INFO] [stdout] --> src/raytracer/objects.rs:208:13 [INFO] [stdout] | [INFO] [stdout] 208 | center: Vec3, [INFO] [stdout] | ^^^^ help: a struct with a similar name exists: `Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Vec3` in this scope [INFO] [stdout] --> src/raytracer/objects.rs:217:24 [INFO] [stdout] | [INFO] [stdout] 217 | pub fn new(center: Vec3, radius: f64, material: Material) -> Self [INFO] [stdout] | ^^^^ help: a struct with a similar name exists: `Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Vec3` in this scope [INFO] [stdout] --> src/raytracer/objects.rs:334:9 [INFO] [stdout] | [INFO] [stdout] 334 | p0: Vec3, [INFO] [stdout] | ^^^^ help: a struct with a similar name exists: `Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Vec3` in this scope [INFO] [stdout] --> src/raytracer/objects.rs:335:9 [INFO] [stdout] | [INFO] [stdout] 335 | p1: Vec3, [INFO] [stdout] | ^^^^ help: a struct with a similar name exists: `Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Vec3` in this scope [INFO] [stdout] --> src/raytracer/objects.rs:336:9 [INFO] [stdout] | [INFO] [stdout] 336 | p2: Vec3, [INFO] [stdout] | ^^^^ help: a struct with a similar name exists: `Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Vec3` in this scope [INFO] [stdout] --> src/raytracer/objects.rs:342:20 [INFO] [stdout] | [INFO] [stdout] 342 | pub fn new(p0: Vec3, p1: Vec3, p2: Vec3, material: Material) -> Self [INFO] [stdout] | ^^^^ help: a struct with a similar name exists: `Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Vec3` in this scope [INFO] [stdout] --> src/raytracer/objects.rs:342:30 [INFO] [stdout] | [INFO] [stdout] 342 | pub fn new(p0: Vec3, p1: Vec3, p2: Vec3, material: Material) -> Self [INFO] [stdout] | ^^^^ help: a struct with a similar name exists: `Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Vec3` in this scope [INFO] [stdout] --> src/raytracer/objects.rs:342:40 [INFO] [stdout] | [INFO] [stdout] 342 | pub fn new(p0: Vec3, p1: Vec3, p2: Vec3, material: Material) -> Self [INFO] [stdout] | ^^^^ help: a struct with a similar name exists: `Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Vec3` in this scope [INFO] [stdout] --> src/raytracer/objects.rs:433:20 [INFO] [stdout] | [INFO] [stdout] 433 | pub fn new(p0: Vec3, p1: Vec3, p2: Vec3, p3: Vec3, material: Material) -> Self [INFO] [stdout] | ^^^^ help: a struct with a similar name exists: `Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Vec3` [INFO] [stdout] --> src/raytracer/objects.rs:675:44 [INFO] [stdout] | [INFO] [stdout] 675 | Ray::new(Vec3::new(0.0, 0.0, 0.0), Vec3::new(x, y, z)) [INFO] [stdout] | ^^^^ use of undeclared type `Vec3` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Vec3` in this scope [INFO] [stdout] --> src/raytracer/objects.rs:433:30 [INFO] [stdout] | [INFO] [stdout] 433 | pub fn new(p0: Vec3, p1: Vec3, p2: Vec3, p3: Vec3, material: Material) -> Self [INFO] [stdout] | ^^^^ help: a struct with a similar name exists: `Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Vec3` in this scope [INFO] [stdout] --> src/raytracer/objects.rs:433:40 [INFO] [stdout] | [INFO] [stdout] 433 | pub fn new(p0: Vec3, p1: Vec3, p2: Vec3, p3: Vec3, material: Material) -> Self [INFO] [stdout] | ^^^^ help: a struct with a similar name exists: `Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Vec3` in this scope [INFO] [stdout] --> src/raytracer/objects.rs:433:50 [INFO] [stdout] | [INFO] [stdout] 433 | pub fn new(p0: Vec3, p1: Vec3, p2: Vec3, p3: Vec3, material: Material) -> Self [INFO] [stdout] | ^^^^ help: a struct with a similar name exists: `Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Vec3` [INFO] [stdout] --> src/raytracer/objects.rs:685:44 [INFO] [stdout] | [INFO] [stdout] 685 | let facing_vector = apply_rotation(Vec3::new(1.0, 0.0, 0.0), [INFO] [stdout] | ^^^^ use of undeclared type `Vec3` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Vec3` in this scope [INFO] [stdout] --> src/raytracer/objects.rs:485:24 [INFO] [stdout] | [INFO] [stdout] 485 | pub fn new(offset: Vec3, rotation: Vec3, scale: f64, material: Material) -> Self [INFO] [stdout] | ^^^^ help: a struct with a similar name exists: `Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Vec3` in this scope [INFO] [stdout] --> src/raytracer/objects.rs:485:40 [INFO] [stdout] | [INFO] [stdout] 485 | pub fn new(offset: Vec3, rotation: Vec3, scale: f64, material: Material) -> Self [INFO] [stdout] | ^^^^ help: a struct with a similar name exists: `Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Vec3` in this scope [INFO] [stdout] --> src/raytracer/objects.rs:570:14 [INFO] [stdout] | [INFO] [stdout] 570 | pub pos: Vec3, [INFO] [stdout] | ^^^^ help: a struct with a similar name exists: `Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Vec3` in this scope [INFO] [stdout] --> src/raytracer/objects.rs:578:21 [INFO] [stdout] | [INFO] [stdout] 578 | pub fn new(pos: Vec3, color: Color, brightness: f64) -> Self [INFO] [stdout] | ^^^^ help: a struct with a similar name exists: `Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Vec3` in this scope [INFO] [stdout] --> src/raytracer/objects.rs:600:19 [INFO] [stdout] | [INFO] [stdout] 600 | pub location: Vec3, [INFO] [stdout] | ^^^^ help: a struct with a similar name exists: `Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Vec3` in this scope [INFO] [stdout] --> src/raytracer/objects.rs:601:17 [INFO] [stdout] | [INFO] [stdout] 601 | pub normal: Vec3, [INFO] [stdout] | ^^^^ help: a struct with a similar name exists: `Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Vec3` in this scope [INFO] [stdout] --> src/raytracer/objects.rs:610:26 [INFO] [stdout] | [INFO] [stdout] 610 | pub fn new(location: Vec3, normal: Vec3, depth: f64, material: Material, incoming_ray: Ray) -> Self [INFO] [stdout] | ^^^^ help: a struct with a similar name exists: `Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Vec3` in this scope [INFO] [stdout] --> src/raytracer/objects.rs:610:40 [INFO] [stdout] | [INFO] [stdout] 610 | pub fn new(location: Vec3, normal: Vec3, depth: f64, material: Material, incoming_ray: Ray) -> Self [INFO] [stdout] | ^^^^ help: a struct with a similar name exists: `Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Vec3` in this scope [INFO] [stdout] --> src/raytracer/objects.rs:639:15 [INFO] [stdout] | [INFO] [stdout] 639 | position: Vec3, [INFO] [stdout] | ^^^^ help: a struct with a similar name exists: `Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Vec3` in this scope [INFO] [stdout] --> src/raytracer/objects.rs:645:15 [INFO] [stdout] | [INFO] [stdout] 645 | rotation: Vec3 [INFO] [stdout] | ^^^^ help: a struct with a similar name exists: `Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Vec3` in this scope [INFO] [stdout] --> src/raytracer/objects.rs:651:26 [INFO] [stdout] | [INFO] [stdout] 651 | pub fn new(position: Vec3, fov: f64, aspect_ratio: f64, rotation: Vec3) -> Self [INFO] [stdout] | ^^^^ help: a struct with a similar name exists: `Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Vec3` in this scope [INFO] [stdout] --> src/raytracer/objects.rs:651:71 [INFO] [stdout] | [INFO] [stdout] 651 | pub fn new(position: Vec3, fov: f64, aspect_ratio: f64, rotation: Vec3) -> Self [INFO] [stdout] | ^^^^ help: a struct with a similar name exists: `Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Vec3` [INFO] [stdout] --> src/raytracer/objects.rs:690:37 [INFO] [stdout] | [INFO] [stdout] 690 | let mut up = apply_rotation(Vec3::new(1.0, 0.0, 0.0), [INFO] [stdout] | ^^^^ use of undeclared type `Vec3` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `vec3::*` [INFO] [stdout] --> src/raytracer/objects.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use vec3::*; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `vec3::*` [INFO] [stdout] --> src/raytracer/./rotations.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use vec3::*; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `vec3::*` [INFO] [stdout] --> src/raytracer/mod.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use vec3::*; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Vec3` [INFO] [stdout] --> src/raytracer/mod.rs:157:46 [INFO] [stdout] | [INFO] [stdout] 157 | best_hit = Some(Hit::new(Vec3::new(x, y, self.settings.floor_height), Vec3::new(0.0, 0.0, 1.0), [INFO] [stdout] | ^^^^ use of undeclared type `Vec3` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Vec3` [INFO] [stdout] --> src/raytracer/mod.rs:157:91 [INFO] [stdout] | [INFO] [stdout] 157 | best_hit = Some(Hit::new(Vec3::new(x, y, self.settings.floor_height), Vec3::new(0.0, 0.0, 1.0), [INFO] [stdout] | ^^^^ use of undeclared type `Vec3` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Vec3` in this scope [INFO] [stdout] --> src/raytracer/./rotations.rs:5:39 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn rotate_through_axis(direction: Vec3, axis: Vec3, theta: f64) -> Vec3 [INFO] [stdout] | ^^^^ help: a struct with a similar name exists: `Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Vec3` in this scope [INFO] [stdout] --> src/raytracer/./rotations.rs:5:51 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn rotate_through_axis(direction: Vec3, axis: Vec3, theta: f64) -> Vec3 [INFO] [stdout] | ^^^^ help: a struct with a similar name exists: `Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Vec3` in this scope [INFO] [stdout] --> src/raytracer/./rotations.rs:5:72 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn rotate_through_axis(direction: Vec3, axis: Vec3, theta: f64) -> Vec3 [INFO] [stdout] | ^^^^ help: a struct with a similar name exists: `Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Vec3` in this scope [INFO] [stdout] --> src/raytracer/./rotations.rs:38:34 [INFO] [stdout] | [INFO] [stdout] 38 | pub fn apply_rotation(direction: Vec3, pitch: f64, yaw: f64) -> Vec3 [INFO] [stdout] | ^^^^ help: a struct with a similar name exists: `Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Vec3` in this scope [INFO] [stdout] --> src/raytracer/./rotations.rs:38:65 [INFO] [stdout] | [INFO] [stdout] 38 | pub fn apply_rotation(direction: Vec3, pitch: f64, yaw: f64) -> Vec3 [INFO] [stdout] | ^^^^ help: a struct with a similar name exists: `Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Vec3` in this scope [INFO] [stdout] --> src/raytracer/./rotations.rs:57:24 [INFO] [stdout] | [INFO] [stdout] 57 | pub fn convert_to(vec: Vec3, i_hat: Vec3, j_hat: Vec3, k_hat: Vec3) -> Vec3 [INFO] [stdout] | ^^^^ help: a struct with a similar name exists: `Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Vec3` in this scope [INFO] [stdout] --> src/raytracer/./rotations.rs:57:37 [INFO] [stdout] | [INFO] [stdout] 57 | pub fn convert_to(vec: Vec3, i_hat: Vec3, j_hat: Vec3, k_hat: Vec3) -> Vec3 [INFO] [stdout] | ^^^^ help: a struct with a similar name exists: `Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Vec3` in this scope [INFO] [stdout] --> src/raytracer/./rotations.rs:57:50 [INFO] [stdout] | [INFO] [stdout] 57 | pub fn convert_to(vec: Vec3, i_hat: Vec3, j_hat: Vec3, k_hat: Vec3) -> Vec3 [INFO] [stdout] | ^^^^ help: a struct with a similar name exists: `Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Vec3` in this scope [INFO] [stdout] --> src/raytracer/./rotations.rs:57:63 [INFO] [stdout] | [INFO] [stdout] 57 | pub fn convert_to(vec: Vec3, i_hat: Vec3, j_hat: Vec3, k_hat: Vec3) -> Vec3 [INFO] [stdout] | ^^^^ help: a struct with a similar name exists: `Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Vec3` in this scope [INFO] [stdout] --> src/raytracer/./rotations.rs:57:72 [INFO] [stdout] | [INFO] [stdout] 57 | pub fn convert_to(vec: Vec3, i_hat: Vec3, j_hat: Vec3, k_hat: Vec3) -> Vec3 [INFO] [stdout] | ^^^^ help: a struct with a similar name exists: `Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Vec3` in this scope [INFO] [stdout] --> src/raytracer/./rotations.rs:67:26 [INFO] [stdout] | [INFO] [stdout] 67 | pub fn convert_from(vec: Vec3, i_hat: Vec3, j_hat: Vec3, k_hat: Vec3) -> Vec3 [INFO] [stdout] | ^^^^ help: a struct with a similar name exists: `Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Vec3` in this scope [INFO] [stdout] --> src/raytracer/./rotations.rs:67:39 [INFO] [stdout] | [INFO] [stdout] 67 | pub fn convert_from(vec: Vec3, i_hat: Vec3, j_hat: Vec3, k_hat: Vec3) -> Vec3 [INFO] [stdout] | ^^^^ help: a struct with a similar name exists: `Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Vec3` in this scope [INFO] [stdout] --> src/raytracer/./rotations.rs:67:52 [INFO] [stdout] | [INFO] [stdout] 67 | pub fn convert_from(vec: Vec3, i_hat: Vec3, j_hat: Vec3, k_hat: Vec3) -> Vec3 [INFO] [stdout] | ^^^^ help: a struct with a similar name exists: `Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Vec3` in this scope [INFO] [stdout] --> src/raytracer/./rotations.rs:67:65 [INFO] [stdout] | [INFO] [stdout] 67 | pub fn convert_from(vec: Vec3, i_hat: Vec3, j_hat: Vec3, k_hat: Vec3) -> Vec3 [INFO] [stdout] | ^^^^ help: a struct with a similar name exists: `Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Vec3` in this scope [INFO] [stdout] --> src/raytracer/./rotations.rs:67:74 [INFO] [stdout] | [INFO] [stdout] 67 | pub fn convert_from(vec: Vec3, i_hat: Vec3, j_hat: Vec3, k_hat: Vec3) -> Vec3 [INFO] [stdout] | ^^^^ help: a struct with a similar name exists: `Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Vec3` in this scope [INFO] [stdout] --> src/raytracer/objects.rs:9:19 [INFO] [stdout] | [INFO] [stdout] 9 | fn cube_rotate(v: Vec3, pitch: f64, yaw: f64, roll: f64) -> Vec3 [INFO] [stdout] | ^^^^ help: a struct with a similar name exists: `Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Vec3` in this scope [INFO] [stdout] --> src/raytracer/objects.rs:9:61 [INFO] [stdout] | [INFO] [stdout] 9 | fn cube_rotate(v: Vec3, pitch: f64, yaw: f64, roll: f64) -> Vec3 [INFO] [stdout] | ^^^^ help: a struct with a similar name exists: `Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Vec3` in this scope [INFO] [stdout] --> src/raytracer/objects.rs:30:17 [INFO] [stdout] | [INFO] [stdout] 30 | pub origin: Vec3, [INFO] [stdout] | ^^^^ help: a struct with a similar name exists: `Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Vec3` in this scope [INFO] [stdout] --> src/raytracer/objects.rs:32:20 [INFO] [stdout] | [INFO] [stdout] 32 | pub direction: Vec3 [INFO] [stdout] | ^^^^ help: a struct with a similar name exists: `Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Vec3` in this scope [INFO] [stdout] --> src/raytracer/objects.rs:38:24 [INFO] [stdout] | [INFO] [stdout] 38 | pub fn new(origin: Vec3, direction: Vec3) -> Self [INFO] [stdout] | ^^^^ help: a struct with a similar name exists: `Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Vec3` in this scope [INFO] [stdout] --> src/raytracer/objects.rs:38:41 [INFO] [stdout] | [INFO] [stdout] 38 | pub fn new(origin: Vec3, direction: Vec3) -> Self [INFO] [stdout] | ^^^^ help: a struct with a similar name exists: `Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Vec3` in this scope [INFO] [stdout] --> src/raytracer/objects.rs:208:13 [INFO] [stdout] | [INFO] [stdout] 208 | center: Vec3, [INFO] [stdout] | ^^^^ help: a struct with a similar name exists: `Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Vec3` in this scope [INFO] [stdout] --> src/raytracer/objects.rs:217:24 [INFO] [stdout] | [INFO] [stdout] 217 | pub fn new(center: Vec3, radius: f64, material: Material) -> Self [INFO] [stdout] | ^^^^ help: a struct with a similar name exists: `Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Vec3` in this scope [INFO] [stdout] --> src/raytracer/objects.rs:334:9 [INFO] [stdout] | [INFO] [stdout] 334 | p0: Vec3, [INFO] [stdout] | ^^^^ help: a struct with a similar name exists: `Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Vec3` in this scope [INFO] [stdout] --> src/raytracer/objects.rs:335:9 [INFO] [stdout] | [INFO] [stdout] 335 | p1: Vec3, [INFO] [stdout] | ^^^^ help: a struct with a similar name exists: `Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Vec3` in this scope [INFO] [stdout] --> src/raytracer/objects.rs:336:9 [INFO] [stdout] | [INFO] [stdout] 336 | p2: Vec3, [INFO] [stdout] | ^^^^ help: a struct with a similar name exists: `Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Vec3` in this scope [INFO] [stdout] --> src/raytracer/objects.rs:342:20 [INFO] [stdout] | [INFO] [stdout] 342 | pub fn new(p0: Vec3, p1: Vec3, p2: Vec3, material: Material) -> Self [INFO] [stdout] | ^^^^ help: a struct with a similar name exists: `Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Vec3` in this scope [INFO] [stdout] --> src/raytracer/objects.rs:342:30 [INFO] [stdout] | [INFO] [stdout] 342 | pub fn new(p0: Vec3, p1: Vec3, p2: Vec3, material: Material) -> Self [INFO] [stdout] | ^^^^ help: a struct with a similar name exists: `Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Vec3` in this scope [INFO] [stdout] --> src/raytracer/objects.rs:342:40 [INFO] [stdout] | [INFO] [stdout] 342 | pub fn new(p0: Vec3, p1: Vec3, p2: Vec3, material: Material) -> Self [INFO] [stdout] | ^^^^ help: a struct with a similar name exists: `Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Vec3` in this scope [INFO] [stdout] --> src/raytracer/objects.rs:433:20 [INFO] [stdout] | [INFO] [stdout] 433 | pub fn new(p0: Vec3, p1: Vec3, p2: Vec3, p3: Vec3, material: Material) -> Self [INFO] [stdout] | ^^^^ help: a struct with a similar name exists: `Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Vec3` in this scope [INFO] [stdout] --> src/raytracer/objects.rs:433:30 [INFO] [stdout] | [INFO] [stdout] 433 | pub fn new(p0: Vec3, p1: Vec3, p2: Vec3, p3: Vec3, material: Material) -> Self [INFO] [stdout] | ^^^^ help: a struct with a similar name exists: `Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Vec3` in this scope [INFO] [stdout] --> src/raytracer/objects.rs:433:40 [INFO] [stdout] | [INFO] [stdout] 433 | pub fn new(p0: Vec3, p1: Vec3, p2: Vec3, p3: Vec3, material: Material) -> Self [INFO] [stdout] | ^^^^ help: a struct with a similar name exists: `Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Vec3` in this scope [INFO] [stdout] --> src/raytracer/objects.rs:433:50 [INFO] [stdout] | [INFO] [stdout] 433 | pub fn new(p0: Vec3, p1: Vec3, p2: Vec3, p3: Vec3, material: Material) -> Self [INFO] [stdout] | ^^^^ help: a struct with a similar name exists: `Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Vec3` in this scope [INFO] [stdout] --> src/raytracer/objects.rs:485:24 [INFO] [stdout] | [INFO] [stdout] 485 | pub fn new(offset: Vec3, rotation: Vec3, scale: f64, material: Material) -> Self [INFO] [stdout] | ^^^^ help: a struct with a similar name exists: `Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Vec3` in this scope [INFO] [stdout] --> src/raytracer/objects.rs:485:40 [INFO] [stdout] | [INFO] [stdout] 485 | pub fn new(offset: Vec3, rotation: Vec3, scale: f64, material: Material) -> Self [INFO] [stdout] | ^^^^ help: a struct with a similar name exists: `Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Vec3` in this scope [INFO] [stdout] --> src/raytracer/objects.rs:570:14 [INFO] [stdout] | [INFO] [stdout] 570 | pub pos: Vec3, [INFO] [stdout] | ^^^^ help: a struct with a similar name exists: `Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Vec3` in this scope [INFO] [stdout] --> src/raytracer/objects.rs:578:21 [INFO] [stdout] | [INFO] [stdout] 578 | pub fn new(pos: Vec3, color: Color, brightness: f64) -> Self [INFO] [stdout] | ^^^^ help: a struct with a similar name exists: `Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Vec3` in this scope [INFO] [stdout] --> src/raytracer/objects.rs:600:19 [INFO] [stdout] | [INFO] [stdout] 600 | pub location: Vec3, [INFO] [stdout] | ^^^^ help: a struct with a similar name exists: `Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Vec3` in this scope [INFO] [stdout] --> src/raytracer/objects.rs:601:17 [INFO] [stdout] | [INFO] [stdout] 601 | pub normal: Vec3, [INFO] [stdout] | ^^^^ help: a struct with a similar name exists: `Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Vec3` in this scope [INFO] [stdout] --> src/raytracer/objects.rs:610:26 [INFO] [stdout] | [INFO] [stdout] 610 | pub fn new(location: Vec3, normal: Vec3, depth: f64, material: Material, incoming_ray: Ray) -> Self [INFO] [stdout] | ^^^^ help: a struct with a similar name exists: `Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Vec3` in this scope [INFO] [stdout] --> src/raytracer/objects.rs:610:40 [INFO] [stdout] | [INFO] [stdout] 610 | pub fn new(location: Vec3, normal: Vec3, depth: f64, material: Material, incoming_ray: Ray) -> Self [INFO] [stdout] | ^^^^ help: a struct with a similar name exists: `Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Vec3` in this scope [INFO] [stdout] --> src/raytracer/objects.rs:639:15 [INFO] [stdout] | [INFO] [stdout] 639 | position: Vec3, [INFO] [stdout] | ^^^^ help: a struct with a similar name exists: `Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Vec3` in this scope [INFO] [stdout] --> src/raytracer/objects.rs:645:15 [INFO] [stdout] | [INFO] [stdout] 645 | rotation: Vec3 [INFO] [stdout] | ^^^^ help: a struct with a similar name exists: `Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Vec3` in this scope [INFO] [stdout] --> src/raytracer/objects.rs:651:26 [INFO] [stdout] | [INFO] [stdout] 651 | pub fn new(position: Vec3, fov: f64, aspect_ratio: f64, rotation: Vec3) -> Self [INFO] [stdout] | ^^^^ help: a struct with a similar name exists: `Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Vec3` in this scope [INFO] [stdout] --> src/raytracer/objects.rs:651:71 [INFO] [stdout] | [INFO] [stdout] 651 | pub fn new(position: Vec3, fov: f64, aspect_ratio: f64, rotation: Vec3) -> Self [INFO] [stdout] | ^^^^ help: a struct with a similar name exists: `Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `vec3::*` [INFO] [stdout] --> src/raytracer/objects.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use vec3::*; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `vec3::*` [INFO] [stdout] --> src/raytracer/./rotations.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use vec3::*; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `vec3::*` [INFO] [stdout] --> src/raytracer/mod.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use vec3::*; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0689]: can't call method `powf` on ambiguous numeric type `{float}` [INFO] [stdout] --> src/raytracer/objects.rs:234:23 [INFO] [stdout] | [INFO] [stdout] 234 | let under = b.powf(2.0) - 4.0 * a * c; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] help: you must specify a type for this binding, like `f32` [INFO] [stdout] | [INFO] [stdout] 231 | let b: f32 = 2.0*(ray.direction.get_normalized().dot(ray.origin - self.center)); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0689]: can't call method `powf` on ambiguous numeric type `{float}` [INFO] [stdout] --> src/raytracer/objects.rs:272:23 [INFO] [stdout] | [INFO] [stdout] 272 | let under = b.powf(2.0) - 4.0 * a * c; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] help: you must specify a type for this binding, like `f32` [INFO] [stdout] | [INFO] [stdout] 269 | let b: f32 = 2.0*(ray.direction.get_normalized().dot(ray.origin - self.center)); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0689]: can't call method `powf` on ambiguous numeric type `{float}` [INFO] [stdout] --> src/raytracer/objects.rs:293:23 [INFO] [stdout] | [INFO] [stdout] 293 | let under = b.powf(2.0) - 4.0 * a * c; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] help: you must specify a type for this binding, like `f32` [INFO] [stdout] | [INFO] [stdout] 290 | let b: f32 = 2.0*(ray.direction.get_normalized().dot(ray.origin - self.center)); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0689]: can't call method `min` on ambiguous numeric type `{float}` [INFO] [stdout] --> src/raytracer/objects.rs:303:15 [INFO] [stdout] | [INFO] [stdout] 303 | ).min( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get_normalized` found for type `{float}` in the current scope [INFO] [stdout] --> src/raytracer/objects.rs:362:25 [INFO] [stdout] | [INFO] [stdout] 362 | let zp = normal.get_normalized(); [INFO] [stdout] | ^^^^^^^^^^^^^^ method not found in `{float}` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0689]: can't call method `powf` on ambiguous numeric type `{float}` [INFO] [stdout] --> src/raytracer/objects.rs:234:23 [INFO] [stdout] | [INFO] [stdout] 234 | let under = b.powf(2.0) - 4.0 * a * c; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] help: you must specify a type for this binding, like `f32` [INFO] [stdout] | [INFO] [stdout] 231 | let b: f32 = 2.0*(ray.direction.get_normalized().dot(ray.origin - self.center)); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `cross` found for type `{float}` in the current scope [INFO] [stdout] --> src/raytracer/./rotations.rs:15:15 [INFO] [stdout] | [INFO] [stdout] 15 | let u = w.cross(v); [INFO] [stdout] | ^^^^^ method not found in `{float}` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `dot` found for type `{float}` in the current scope [INFO] [stdout] --> src/raytracer/./rotations.rs:21:11 [INFO] [stdout] | [INFO] [stdout] 21 | w.dot(direction) [INFO] [stdout] | ^^^ method not found in `{float}` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 81 previous errors; 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0689]: can't call method `powf` on ambiguous numeric type `{float}` [INFO] [stdout] --> src/raytracer/objects.rs:272:23 [INFO] [stdout] | [INFO] [stdout] 272 | let under = b.powf(2.0) - 4.0 * a * c; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] help: you must specify a type for this binding, like `f32` [INFO] [stdout] | [INFO] [stdout] 269 | let b: f32 = 2.0*(ray.direction.get_normalized().dot(ray.origin - self.center)); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0432, E0433, E0599, E0689. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stdout] error[E0689]: can't call method `powf` on ambiguous numeric type `{float}` [INFO] [stdout] --> src/raytracer/objects.rs:293:23 [INFO] [stdout] | [INFO] [stdout] 293 | let under = b.powf(2.0) - 4.0 * a * c; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] help: you must specify a type for this binding, like `f32` [INFO] [stdout] | [INFO] [stdout] 290 | let b: f32 = 2.0*(ray.direction.get_normalized().dot(ray.origin - self.center)); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0689]: can't call method `min` on ambiguous numeric type `{float}` [INFO] [stdout] --> src/raytracer/objects.rs:303:15 [INFO] [stdout] | [INFO] [stdout] 303 | ).min( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `ray_trace` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0599]: no method named `get_normalized` found for type `{float}` in the current scope [INFO] [stdout] --> src/raytracer/objects.rs:362:25 [INFO] [stdout] | [INFO] [stdout] 362 | let zp = normal.get_normalized(); [INFO] [stdout] | ^^^^^^^^^^^^^^ method not found in `{float}` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `cross` found for type `{float}` in the current scope [INFO] [stdout] --> src/raytracer/./rotations.rs:15:15 [INFO] [stdout] | [INFO] [stdout] 15 | let u = w.cross(v); [INFO] [stdout] | ^^^^^ method not found in `{float}` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `dot` found for type `{float}` in the current scope [INFO] [stdout] --> src/raytracer/./rotations.rs:21:11 [INFO] [stdout] | [INFO] [stdout] 21 | w.dot(direction) [INFO] [stdout] | ^^^ method not found in `{float}` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 81 previous errors; 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0432, E0433, E0599, E0689. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "2958af0e6f2f0333d6e613110ff01248c24c5ce723b5233aa580b124082557dd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2958af0e6f2f0333d6e613110ff01248c24c5ce723b5233aa580b124082557dd", kill_on_drop: false }` [INFO] [stdout] 2958af0e6f2f0333d6e613110ff01248c24c5ce723b5233aa580b124082557dd