[INFO] cloning repository https://github.com/MezoBlast/Rustracer [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/MezoBlast/Rustracer" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMezoBlast%2FRustracer", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMezoBlast%2FRustracer'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] dbf0516fa533cbd359ca6eb88f47f30344953850 [INFO] checking MezoBlast/Rustracer/dbf0516fa533cbd359ca6eb88f47f30344953850 against try#ccf408f4326a858c00dd845a64a86b16f360a801 for pr-129466-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMezoBlast%2FRustracer" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/MezoBlast/Rustracer on toolchain ccf408f4326a858c00dd845a64a86b16f360a801 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/MezoBlast/Rustracer [INFO] finished tweaking git repo https://github.com/MezoBlast/Rustracer [INFO] tweaked toml for git repo https://github.com/MezoBlast/Rustracer written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/MezoBlast/Rustracer 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" "+ccf408f4326a858c00dd845a64a86b16f360a801" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a2acd781156d71bc8ae9de1bd4ab3e7812cc2d2a2ed6f10a812922d9ffe2a436 [INFO] running `Command { std: "docker" "start" "-a" "a2acd781156d71bc8ae9de1bd4ab3e7812cc2d2a2ed6f10a812922d9ffe2a436", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a2acd781156d71bc8ae9de1bd4ab3e7812cc2d2a2ed6f10a812922d9ffe2a436", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a2acd781156d71bc8ae9de1bd4ab3e7812cc2d2a2ed6f10a812922d9ffe2a436", kill_on_drop: false }` [INFO] [stdout] a2acd781156d71bc8ae9de1bd4ab3e7812cc2d2a2ed6f10a812922d9ffe2a436 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7cb556bf54d3411c5d005d937453124771a92d84b547ed991fabe9f66b6391e0 [INFO] running `Command { std: "docker" "start" "-a" "7cb556bf54d3411c5d005d937453124771a92d84b547ed991fabe9f66b6391e0", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] Migrating Cargo.toml from 2021 edition to 2024 [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Checking ppv-lite86 v0.2.17 [INFO] [stderr] Checking getrandom v0.2.12 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking ray_tracing v0.1.0 (/tmp/fixit) [INFO] [stderr] Migrating src/lib.rs from 2021 edition to 2024 [INFO] [stderr] Fixed src/basic.rs (1 fix) [INFO] [stderr] Fixed src/tracer.rs (4 fixes) [INFO] [stdout] warning: unused variable: `camera` [INFO] [stdout] --> src/tracer.rs:110:9 [INFO] [stdout] | [INFO] [stdout] 110 | let camera = job.camera.lock().unwrap(); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_camera` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `job_res` [INFO] [stdout] --> src/tracer.rs:112:9 [INFO] [stdout] | [INFO] [stdout] 112 | let job_res = cur_scene.is_hit(&job.ray, &job.interv); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_job_res` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Fixed src/tests.rs (3 fixes) [INFO] [stdout] warning: unused variable: `camera` [INFO] [stdout] --> src/tracer.rs:110:9 [INFO] [stdout] | [INFO] [stdout] 110 | let camera = job.camera.lock().unwrap(); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_camera` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `job_res` [INFO] [stdout] --> src/tracer.rs:112:9 [INFO] [stdout] | [INFO] [stdout] 112 | let job_res = cur_scene.is_hit(&job.ray, &job.interv); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_job_res` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Migrating src/main.rs from 2021 edition to 2024 [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1.48s [INFO] [stderr] Running `cargo check` to verify 2024 [INFO] [stderr] Checking ray_tracing v0.1.0 (/tmp/fixit) [INFO] [stdout] warning: unused variable: `camera` [INFO] [stdout] --> src/tracer.rs:110:9 [INFO] [stdout] | [INFO] [stdout] 110 | let camera = job.camera.lock().unwrap(); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_camera` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `job_res` [INFO] [stdout] --> src/tracer.rs:112:9 [INFO] [stdout] | [INFO] [stdout] 112 | let job_res = cur_scene.is_hit(&job.ray, &job.interv); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_job_res` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Vec3` in this scope [INFO] [stdout] --> src/tests.rs:8:20 [INFO] [stdout] | [INFO] [stdout] 8 | let mut v: Vec3 = Vec3::new(); [INFO] [stdout] | ^^^^ [INFO] [stdout] --> /rustc/ccf408f4326a858c00dd845a64a86b16f360a801/library/alloc/src/vec/mod.rs:397:1 [INFO] [stdout] | [INFO] [stdout] = note: similarly named struct `Vec` defined here [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 8 | let mut v: Vec = Vec3::new(); [INFO] [stdout] | ~~~ [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 4 + use crate::basic::Vec3; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Vec3` [INFO] [stdout] --> src/tests.rs:8:27 [INFO] [stdout] | [INFO] [stdout] 8 | let mut v: Vec3 = Vec3::new(); [INFO] [stdout] | ^^^^ use of undeclared type `Vec3` [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 8 | let mut v: Vec3 = Vec::new(); [INFO] [stdout] | ~~~ [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 4 + use crate::basic::Vec3; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Vec3` in this scope [INFO] [stdout] --> src/tests.rs:15:20 [INFO] [stdout] | [INFO] [stdout] 15 | let mut v: Vec3 = Vec3::new(); [INFO] [stdout] | ^^^^ [INFO] [stdout] --> /rustc/ccf408f4326a858c00dd845a64a86b16f360a801/library/alloc/src/vec/mod.rs:397:1 [INFO] [stdout] | [INFO] [stdout] = note: similarly named struct `Vec` defined here [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 15 | let mut v: Vec = Vec3::new(); [INFO] [stdout] | ~~~ [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 4 + use crate::basic::Vec3; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Vec3` [INFO] [stdout] --> src/tests.rs:15:27 [INFO] [stdout] | [INFO] [stdout] 15 | let mut v: Vec3 = Vec3::new(); [INFO] [stdout] | ^^^^ use of undeclared type `Vec3` [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 15 | let mut v: Vec3 = Vec::new(); [INFO] [stdout] | ~~~ [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 4 + use crate::basic::Vec3; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Vec3` in this scope [INFO] [stdout] --> src/tests.rs:23:17 [INFO] [stdout] | [INFO] [stdout] 23 | let v1: Vec3 = Vec3 { x: 1.0, y: 0.0, z: 0.0 }; [INFO] [stdout] | ^^^^ [INFO] [stdout] --> /rustc/ccf408f4326a858c00dd845a64a86b16f360a801/library/alloc/src/vec/mod.rs:397:1 [INFO] [stdout] | [INFO] [stdout] = note: similarly named struct `Vec` defined here [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 23 | let v1: Vec = Vec3 { x: 1.0, y: 0.0, z: 0.0 }; [INFO] [stdout] | ~~~ [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 4 + use crate::basic::Vec3; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Vec3` in this scope [INFO] [stdout] --> src/tests.rs:23:24 [INFO] [stdout] | [INFO] [stdout] 23 | let v1: Vec3 = Vec3 { x: 1.0, y: 0.0, z: 0.0 }; [INFO] [stdout] | ^^^^ [INFO] [stdout] --> /rustc/ccf408f4326a858c00dd845a64a86b16f360a801/library/alloc/src/vec/mod.rs:397:1 [INFO] [stdout] | [INFO] [stdout] = note: similarly named struct `Vec` defined here [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 23 | let v1: Vec3 = Vec { x: 1.0, y: 0.0, z: 0.0 }; [INFO] [stdout] | ~~~ [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 4 + use crate::basic::Vec3; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Vec3` in this scope [INFO] [stdout] --> src/tests.rs:24:17 [INFO] [stdout] | [INFO] [stdout] 24 | let v2: Vec3 = Vec3 { x: -1.0, y: 0.0, z: 0.0 }; [INFO] [stdout] | ^^^^ [INFO] [stdout] --> /rustc/ccf408f4326a858c00dd845a64a86b16f360a801/library/alloc/src/vec/mod.rs:397:1 [INFO] [stdout] | [INFO] [stdout] = note: similarly named struct `Vec` defined here [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 24 | let v2: Vec = Vec3 { x: -1.0, y: 0.0, z: 0.0 }; [INFO] [stdout] | ~~~ [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 4 + use crate::basic::Vec3; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Vec3` in this scope [INFO] [stdout] --> src/tests.rs:24:24 [INFO] [stdout] | [INFO] [stdout] 24 | let v2: Vec3 = Vec3 { x: -1.0, y: 0.0, z: 0.0 }; [INFO] [stdout] | ^^^^ [INFO] [stdout] --> /rustc/ccf408f4326a858c00dd845a64a86b16f360a801/library/alloc/src/vec/mod.rs:397:1 [INFO] [stdout] | [INFO] [stdout] = note: similarly named struct `Vec` defined here [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 24 | let v2: Vec3 = Vec { x: -1.0, y: 0.0, z: 0.0 }; [INFO] [stdout] | ~~~ [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 4 + use crate::basic::Vec3; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `dot` in this scope [INFO] [stdout] --> src/tests.rs:25:20 [INFO] [stdout] | [INFO] [stdout] 25 | assert_eq!(dot(&v1, &v2), -1.0); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 4 + use crate::basic::dot; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Vec3` in this scope [INFO] [stdout] --> src/tests.rs:26:17 [INFO] [stdout] | [INFO] [stdout] 26 | let v3: Vec3 = v1 + v2; [INFO] [stdout] | ^^^^ [INFO] [stdout] --> /rustc/ccf408f4326a858c00dd845a64a86b16f360a801/library/alloc/src/vec/mod.rs:397:1 [INFO] [stdout] | [INFO] [stdout] = note: similarly named struct `Vec` defined here [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 26 | let v3: Vec = v1 + v2; [INFO] [stdout] | ~~~ [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 4 + use crate::basic::Vec3; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Vec3` in this scope [INFO] [stdout] --> src/tests.rs:34:21 [INFO] [stdout] | [INFO] [stdout] 34 | let mut v1: Vec3 = Vec3 { x: 1.0, y: 0.0, z: 0.0 }; [INFO] [stdout] | ^^^^ [INFO] [stdout] --> /rustc/ccf408f4326a858c00dd845a64a86b16f360a801/library/alloc/src/vec/mod.rs:397:1 [INFO] [stdout] | [INFO] [stdout] = note: similarly named struct `Vec` defined here [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 34 | let mut v1: Vec = Vec3 { x: 1.0, y: 0.0, z: 0.0 }; [INFO] [stdout] | ~~~ [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 4 + use crate::basic::Vec3; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Vec3` in this scope [INFO] [stdout] --> src/tests.rs:34:28 [INFO] [stdout] | [INFO] [stdout] 34 | let mut v1: Vec3 = Vec3 { x: 1.0, y: 0.0, z: 0.0 }; [INFO] [stdout] | ^^^^ [INFO] [stdout] --> /rustc/ccf408f4326a858c00dd845a64a86b16f360a801/library/alloc/src/vec/mod.rs:397:1 [INFO] [stdout] | [INFO] [stdout] = note: similarly named struct `Vec` defined here [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 34 | let mut v1: Vec3 = Vec { x: 1.0, y: 0.0, z: 0.0 }; [INFO] [stdout] | ~~~ [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 4 + use crate::basic::Vec3; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Vec3` in this scope [INFO] [stdout] --> src/tests.rs:35:17 [INFO] [stdout] | [INFO] [stdout] 35 | let v2: Vec3 = Vec3 { x: -1.0, y: 0.0, z: 0.0 }; [INFO] [stdout] | ^^^^ [INFO] [stdout] --> /rustc/ccf408f4326a858c00dd845a64a86b16f360a801/library/alloc/src/vec/mod.rs:397:1 [INFO] [stdout] | [INFO] [stdout] = note: similarly named struct `Vec` defined here [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 35 | let v2: Vec = Vec3 { x: -1.0, y: 0.0, z: 0.0 }; [INFO] [stdout] | ~~~ [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 4 + use crate::basic::Vec3; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Vec3` in this scope [INFO] [stdout] --> src/tests.rs:35:24 [INFO] [stdout] | [INFO] [stdout] 35 | let v2: Vec3 = Vec3 { x: -1.0, y: 0.0, z: 0.0 }; [INFO] [stdout] | ^^^^ [INFO] [stdout] --> /rustc/ccf408f4326a858c00dd845a64a86b16f360a801/library/alloc/src/vec/mod.rs:397:1 [INFO] [stdout] | [INFO] [stdout] = note: similarly named struct `Vec` defined here [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 35 | let v2: Vec3 = Vec { x: -1.0, y: 0.0, z: 0.0 }; [INFO] [stdout] | ~~~ [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 4 + use crate::basic::Vec3; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Vec3` in this scope [INFO] [stdout] --> src/tests.rs:44:21 [INFO] [stdout] | [INFO] [stdout] 44 | let mut v1: Vec3 = Vec3 { x: 1.0, y: 0.0, z: 0.0 }; [INFO] [stdout] | ^^^^ [INFO] [stdout] --> /rustc/ccf408f4326a858c00dd845a64a86b16f360a801/library/alloc/src/vec/mod.rs:397:1 [INFO] [stdout] | [INFO] [stdout] = note: similarly named struct `Vec` defined here [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 44 | let mut v1: Vec = Vec3 { x: 1.0, y: 0.0, z: 0.0 }; [INFO] [stdout] | ~~~ [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 4 + use crate::basic::Vec3; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Vec3` in this scope [INFO] [stdout] --> src/tests.rs:44:28 [INFO] [stdout] | [INFO] [stdout] 44 | let mut v1: Vec3 = Vec3 { x: 1.0, y: 0.0, z: 0.0 }; [INFO] [stdout] | ^^^^ [INFO] [stdout] --> /rustc/ccf408f4326a858c00dd845a64a86b16f360a801/library/alloc/src/vec/mod.rs:397:1 [INFO] [stdout] | [INFO] [stdout] = note: similarly named struct `Vec` defined here [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 44 | let mut v1: Vec3 = Vec { x: 1.0, y: 0.0, z: 0.0 }; [INFO] [stdout] | ~~~ [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 4 + use crate::basic::Vec3; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Vec3` in this scope [INFO] [stdout] --> src/tests.rs:45:17 [INFO] [stdout] | [INFO] [stdout] 45 | let v2: Vec3 = Vec3 { x: -1.0, y: 0.0, z: 0.0 }; [INFO] [stdout] | ^^^^ [INFO] [stdout] --> /rustc/ccf408f4326a858c00dd845a64a86b16f360a801/library/alloc/src/vec/mod.rs:397:1 [INFO] [stdout] | [INFO] [stdout] = note: similarly named struct `Vec` defined here [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 45 | let v2: Vec = Vec3 { x: -1.0, y: 0.0, z: 0.0 }; [INFO] [stdout] | ~~~ [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 4 + use crate::basic::Vec3; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Vec3` in this scope [INFO] [stdout] --> src/tests.rs:45:24 [INFO] [stdout] | [INFO] [stdout] 45 | let v2: Vec3 = Vec3 { x: -1.0, y: 0.0, z: 0.0 }; [INFO] [stdout] | ^^^^ [INFO] [stdout] --> /rustc/ccf408f4326a858c00dd845a64a86b16f360a801/library/alloc/src/vec/mod.rs:397:1 [INFO] [stdout] | [INFO] [stdout] = note: similarly named struct `Vec` defined here [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 45 | let v2: Vec3 = Vec { x: -1.0, y: 0.0, z: 0.0 }; [INFO] [stdout] | ~~~ [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 4 + use crate::basic::Vec3; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Vec3` in this scope [INFO] [stdout] --> src/tests.rs:54:17 [INFO] [stdout] | [INFO] [stdout] 54 | let v1: Vec3 = Vec3::new(); [INFO] [stdout] | ^^^^ [INFO] [stdout] --> /rustc/ccf408f4326a858c00dd845a64a86b16f360a801/library/alloc/src/vec/mod.rs:397:1 [INFO] [stdout] | [INFO] [stdout] = note: similarly named struct `Vec` defined here [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 54 | let v1: Vec = Vec3::new(); [INFO] [stdout] | ~~~ [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 4 + use crate::basic::Vec3; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Vec3` [INFO] [stdout] --> src/tests.rs:54:24 [INFO] [stdout] | [INFO] [stdout] 54 | let v1: Vec3 = Vec3::new(); [INFO] [stdout] | ^^^^ use of undeclared type `Vec3` [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 54 | let v1: Vec3 = Vec::new(); [INFO] [stdout] | ~~~ [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 4 + use crate::basic::Vec3; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Vec3` in this scope [INFO] [stdout] --> src/tests.rs:55:17 [INFO] [stdout] | [INFO] [stdout] 55 | let v2: Vec3 = Vec3::new(); [INFO] [stdout] | ^^^^ [INFO] [stdout] --> /rustc/ccf408f4326a858c00dd845a64a86b16f360a801/library/alloc/src/vec/mod.rs:397:1 [INFO] [stdout] | [INFO] [stdout] = note: similarly named struct `Vec` defined here [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 55 | let v2: Vec = Vec3::new(); [INFO] [stdout] | ~~~ [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 4 + use crate::basic::Vec3; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Vec3` [INFO] [stdout] --> src/tests.rs:55:24 [INFO] [stdout] | [INFO] [stdout] 55 | let v2: Vec3 = Vec3::new(); [INFO] [stdout] | ^^^^ use of undeclared type `Vec3` [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 55 | let v2: Vec3 = Vec::new(); [INFO] [stdout] | ~~~ [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 4 + use crate::basic::Vec3; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Vec3` in this scope [INFO] [stdout] --> src/tests.rs:56:17 [INFO] [stdout] | [INFO] [stdout] 56 | let v3: Vec3 = v1 + v2; [INFO] [stdout] | ^^^^ [INFO] [stdout] --> /rustc/ccf408f4326a858c00dd845a64a86b16f360a801/library/alloc/src/vec/mod.rs:397:1 [INFO] [stdout] | [INFO] [stdout] = note: similarly named struct `Vec` defined here [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 56 | let v3: Vec = v1 + v2; [INFO] [stdout] | ~~~ [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 4 + use crate::basic::Vec3; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Pix` [INFO] [stdout] --> src/tests.rs:65:23 [INFO] [stdout] | [INFO] [stdout] 65 | let mut pix = Pix::new(); [INFO] [stdout] | ^^^ use of undeclared type `Pix` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 4 + use crate::basic::Pix; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Pix` [INFO] [stdout] --> src/tests.rs:72:23 [INFO] [stdout] | [INFO] [stdout] 72 | let mut pix = Pix::new(); [INFO] [stdout] | ^^^ use of undeclared type `Pix` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 4 + use crate::basic::Pix; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Pix` [INFO] [stdout] --> src/tests.rs:79:23 [INFO] [stdout] | [INFO] [stdout] 79 | let mut pix = Pix::new(); [INFO] [stdout] | ^^^ use of undeclared type `Pix` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 4 + use crate::basic::Pix; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Pix` in this scope [INFO] [stdout] --> src/tests.rs:81:20 [INFO] [stdout] | [INFO] [stdout] 81 | let pix2 = Pix { r: 255u8, g: 0u8, b: 0u8}; [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 4 + use crate::basic::Pix; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Image` [INFO] [stdout] --> src/tests.rs:88:21 [INFO] [stdout] | [INFO] [stdout] 88 | let image = Image::new(2, 2); [INFO] [stdout] | ^^^^^ use of undeclared type `Image` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 4 + use crate::basic::Image; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Image` [INFO] [stdout] --> src/tests.rs:94:25 [INFO] [stdout] | [INFO] [stdout] 94 | let mut image = Image::new(2, 2); [INFO] [stdout] | ^^^^^ use of undeclared type `Image` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 4 + use crate::basic::Image; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Image` [INFO] [stdout] --> src/tests.rs:106:25 [INFO] [stdout] | [INFO] [stdout] 106 | let mut image = Image::new(width, height); [INFO] [stdout] | ^^^^^ use of undeclared type `Image` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 4 + use crate::basic::Image; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `write_p3_file` in this scope [INFO] [stdout] --> src/tests.rs:115:9 [INFO] [stdout] | [INFO] [stdout] 115 | write_p3_file("./tests/test_write_p3_file.ppm", &image); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 4 + use crate::basic::write_p3_file; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Vec3` in this scope [INFO] [stdout] --> src/tests.rs:120:21 [INFO] [stdout] | [INFO] [stdout] 120 | let origin: Vec3 = Vec3 { x: 0.0, y: 0.0, z: 0.0 }; [INFO] [stdout] | ^^^^ [INFO] [stdout] --> /rustc/ccf408f4326a858c00dd845a64a86b16f360a801/library/alloc/src/vec/mod.rs:397:1 [INFO] [stdout] | [INFO] [stdout] = note: similarly named struct `Vec` defined here [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 120 | let origin: Vec = Vec3 { x: 0.0, y: 0.0, z: 0.0 }; [INFO] [stdout] | ~~~ [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 4 + use crate::basic::Vec3; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Vec3` in this scope [INFO] [stdout] --> src/tests.rs:120:28 [INFO] [stdout] | [INFO] [stdout] 120 | let origin: Vec3 = Vec3 { x: 0.0, y: 0.0, z: 0.0 }; [INFO] [stdout] | ^^^^ [INFO] [stdout] --> /rustc/ccf408f4326a858c00dd845a64a86b16f360a801/library/alloc/src/vec/mod.rs:397:1 [INFO] [stdout] | [INFO] [stdout] = note: similarly named struct `Vec` defined here [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 120 | let origin: Vec3 = Vec { x: 0.0, y: 0.0, z: 0.0 }; [INFO] [stdout] | ~~~ [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 4 + use crate::basic::Vec3; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Vec3` in this scope [INFO] [stdout] --> src/tests.rs:121:24 [INFO] [stdout] | [INFO] [stdout] 121 | let direction: Vec3 = Vec3 { x: 1.0, y: 0.0, z: 0.0 }; [INFO] [stdout] | ^^^^ [INFO] [stdout] --> /rustc/ccf408f4326a858c00dd845a64a86b16f360a801/library/alloc/src/vec/mod.rs:397:1 [INFO] [stdout] | [INFO] [stdout] = note: similarly named struct `Vec` defined here [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 121 | let direction: Vec = Vec3 { x: 1.0, y: 0.0, z: 0.0 }; [INFO] [stdout] | ~~~ [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 4 + use crate::basic::Vec3; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Vec3` in this scope [INFO] [stdout] --> src/tests.rs:121:31 [INFO] [stdout] | [INFO] [stdout] 121 | let direction: Vec3 = Vec3 { x: 1.0, y: 0.0, z: 0.0 }; [INFO] [stdout] | ^^^^ [INFO] [stdout] --> /rustc/ccf408f4326a858c00dd845a64a86b16f360a801/library/alloc/src/vec/mod.rs:397:1 [INFO] [stdout] | [INFO] [stdout] = note: similarly named struct `Vec` defined here [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 121 | let direction: Vec3 = Vec { x: 1.0, y: 0.0, z: 0.0 }; [INFO] [stdout] | ~~~ [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 4 + use crate::basic::Vec3; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Ray` in this scope [INFO] [stdout] --> src/tests.rs:122:18 [INFO] [stdout] | [INFO] [stdout] 122 | let ray: Ray = Ray { origin, direction }; [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 4 + use crate::tracer::Ray; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Ray` in this scope [INFO] [stdout] --> src/tests.rs:122:24 [INFO] [stdout] | [INFO] [stdout] 122 | let ray: Ray = Ray { origin, direction }; [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 4 + use crate::tracer::Ray; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Vec3` in this scope [INFO] [stdout] --> src/tests.rs:123:20 [INFO] [stdout] | [INFO] [stdout] 123 | let point: Vec3 = ray.at(2.0); [INFO] [stdout] | ^^^^ [INFO] [stdout] --> /rustc/ccf408f4326a858c00dd845a64a86b16f360a801/library/alloc/src/vec/mod.rs:397:1 [INFO] [stdout] | [INFO] [stdout] = note: similarly named struct `Vec` defined here [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 123 | let point: Vec = ray.at(2.0); [INFO] [stdout] | ~~~ [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 4 + use crate::basic::Vec3; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Screen` in this scope [INFO] [stdout] --> src/tests.rs:131:21 [INFO] [stdout] | [INFO] [stdout] 131 | let screen: Screen = Screen::new(4.0, 2.0); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 4 + use crate::tracer::Screen; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Screen` [INFO] [stdout] --> src/tests.rs:131:30 [INFO] [stdout] | [INFO] [stdout] 131 | let screen: Screen = Screen::new(4.0, 2.0); [INFO] [stdout] | ^^^^^^ use of undeclared type `Screen` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 4 + use crate::tracer::Screen; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Screen` in this scope [INFO] [stdout] --> src/tests.rs:139:21 [INFO] [stdout] | [INFO] [stdout] 139 | let screen: Screen = Screen::new(4.0, 2.0); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 4 + use crate::tracer::Screen; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Screen` [INFO] [stdout] --> src/tests.rs:139:30 [INFO] [stdout] | [INFO] [stdout] 139 | let screen: Screen = Screen::new(4.0, 2.0); [INFO] [stdout] | ^^^^^^ use of undeclared type `Screen` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 4 + use crate::tracer::Screen; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Vec3` in this scope [INFO] [stdout] --> src/tests.rs:140:21 [INFO] [stdout] | [INFO] [stdout] 140 | let camera: Vec3 = Vec3 { x: 0.0, y: 0.0, z: 1.0 }; [INFO] [stdout] | ^^^^ [INFO] [stdout] --> /rustc/ccf408f4326a858c00dd845a64a86b16f360a801/library/alloc/src/vec/mod.rs:397:1 [INFO] [stdout] | [INFO] [stdout] = note: similarly named struct `Vec` defined here [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 140 | let camera: Vec = Vec3 { x: 0.0, y: 0.0, z: 1.0 }; [INFO] [stdout] | ~~~ [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 4 + use crate::basic::Vec3; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Vec3` in this scope [INFO] [stdout] --> src/tests.rs:140:28 [INFO] [stdout] | [INFO] [stdout] 140 | let camera: Vec3 = Vec3 { x: 0.0, y: 0.0, z: 1.0 }; [INFO] [stdout] | ^^^^ [INFO] [stdout] --> /rustc/ccf408f4326a858c00dd845a64a86b16f360a801/library/alloc/src/vec/mod.rs:397:1 [INFO] [stdout] | [INFO] [stdout] = note: similarly named struct `Vec` defined here [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 140 | let camera: Vec3 = Vec { x: 0.0, y: 0.0, z: 1.0 }; [INFO] [stdout] | ~~~ [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 4 + use crate::basic::Vec3; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Ray` in this scope [INFO] [stdout] --> src/tests.rs:191:19 [INFO] [stdout] | [INFO] [stdout] 191 | let ray = Ray { [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 4 + use crate::tracer::Ray; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Vec3` in this scope [INFO] [stdout] --> src/tests.rs:192:21 [INFO] [stdout] | [INFO] [stdout] 192 | origin: Vec3 { x: 0.0, y: 0.0, z: 0.0 }, [INFO] [stdout] | ^^^^ [INFO] [stdout] --> /rustc/ccf408f4326a858c00dd845a64a86b16f360a801/library/alloc/src/vec/mod.rs:397:1 [INFO] [stdout] | [INFO] [stdout] = note: similarly named struct `Vec` defined here [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 192 | origin: Vec { x: 0.0, y: 0.0, z: 0.0 }, [INFO] [stdout] | ~~~ [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 4 + use crate::basic::Vec3; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Vec3` in this scope [INFO] [stdout] --> src/tests.rs:193:24 [INFO] [stdout] | [INFO] [stdout] 193 | direction: Vec3 { x: 0.0, y: 0.0, z: 1.0 }, [INFO] [stdout] | ^^^^ [INFO] [stdout] --> /rustc/ccf408f4326a858c00dd845a64a86b16f360a801/library/alloc/src/vec/mod.rs:397:1 [INFO] [stdout] | [INFO] [stdout] = note: similarly named struct `Vec` defined here [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 193 | direction: Vec { x: 0.0, y: 0.0, z: 1.0 }, [INFO] [stdout] | ~~~ [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 4 + use crate::basic::Vec3; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Triangle` [INFO] [stdout] --> src/tests.rs:195:24 [INFO] [stdout] | [INFO] [stdout] 195 | let triangle = Triangle::new( [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Triangle` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 4 + use crate::mesh::Triangle; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Vec3` in this scope [INFO] [stdout] --> src/tests.rs:196:13 [INFO] [stdout] | [INFO] [stdout] 196 | Vec3 { x: 0.0, y: 0.0, z: 1.0 }, [INFO] [stdout] | ^^^^ [INFO] [stdout] --> /rustc/ccf408f4326a858c00dd845a64a86b16f360a801/library/alloc/src/vec/mod.rs:397:1 [INFO] [stdout] | [INFO] [stdout] = note: similarly named struct `Vec` defined here [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 196 | Vec { x: 0.0, y: 0.0, z: 1.0 }, [INFO] [stdout] | ~~~ [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 4 + use crate::basic::Vec3; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Vec3` in this scope [INFO] [stdout] --> src/tests.rs:197:13 [INFO] [stdout] | [INFO] [stdout] 197 | Vec3 { x: 1.0, y: 0.0, z: 1.0 }, [INFO] [stdout] | ^^^^ [INFO] [stdout] --> /rustc/ccf408f4326a858c00dd845a64a86b16f360a801/library/alloc/src/vec/mod.rs:397:1 [INFO] [stdout] | [INFO] [stdout] = note: similarly named struct `Vec` defined here [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 197 | Vec { x: 1.0, y: 0.0, z: 1.0 }, [INFO] [stdout] | ~~~ [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 4 + use crate::basic::Vec3; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Vec3` in this scope [INFO] [stdout] --> src/tests.rs:198:13 [INFO] [stdout] | [INFO] [stdout] 198 | Vec3 { x: 0.0, y: 1.0, z: 1.0 }, [INFO] [stdout] | ^^^^ [INFO] [stdout] --> /rustc/ccf408f4326a858c00dd845a64a86b16f360a801/library/alloc/src/vec/mod.rs:397:1 [INFO] [stdout] | [INFO] [stdout] = note: similarly named struct `Vec` defined here [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 198 | Vec { x: 0.0, y: 1.0, z: 1.0 }, [INFO] [stdout] | ~~~ [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 4 + use crate::basic::Vec3; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Interval` [INFO] [stdout] --> src/tests.rs:200:22 [INFO] [stdout] | [INFO] [stdout] 200 | let interv = Interval::new(); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Interval` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 4 + use crate::tracer::Interval; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Ray` in this scope [INFO] [stdout] --> src/tests.rs:207:19 [INFO] [stdout] | [INFO] [stdout] 207 | let ray = Ray { [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 4 + use crate::tracer::Ray; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Vec3` in this scope [INFO] [stdout] --> src/tests.rs:208:21 [INFO] [stdout] | [INFO] [stdout] 208 | origin: Vec3 { x: 0.0, y: 0.0, z: 0.0 }, [INFO] [stdout] | ^^^^ [INFO] [stdout] --> /rustc/ccf408f4326a858c00dd845a64a86b16f360a801/library/alloc/src/vec/mod.rs:397:1 [INFO] [stdout] | [INFO] [stdout] = note: similarly named struct `Vec` defined here [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 208 | origin: Vec { x: 0.0, y: 0.0, z: 0.0 }, [INFO] [stdout] | ~~~ [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 4 + use crate::basic::Vec3; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Vec3` in this scope [INFO] [stdout] --> src/tests.rs:209:24 [INFO] [stdout] | [INFO] [stdout] 209 | direction: Vec3 { x: 0.0, y: 0.0, z: 1.0 }, [INFO] [stdout] | ^^^^ [INFO] [stdout] --> /rustc/ccf408f4326a858c00dd845a64a86b16f360a801/library/alloc/src/vec/mod.rs:397:1 [INFO] [stdout] | [INFO] [stdout] = note: similarly named struct `Vec` defined here [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 209 | direction: Vec { x: 0.0, y: 0.0, z: 1.0 }, [INFO] [stdout] | ~~~ [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 4 + use crate::basic::Vec3; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Triangle` [INFO] [stdout] --> src/tests.rs:211:24 [INFO] [stdout] | [INFO] [stdout] 211 | let triangle = Triangle::new( [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Triangle` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 4 + use crate::mesh::Triangle; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Vec3` in this scope [INFO] [stdout] --> src/tests.rs:212:13 [INFO] [stdout] | [INFO] [stdout] 212 | Vec3 { x: -1.0, y: -1.0, z: 1.0 }, [INFO] [stdout] | ^^^^ [INFO] [stdout] --> /rustc/ccf408f4326a858c00dd845a64a86b16f360a801/library/alloc/src/vec/mod.rs:397:1 [INFO] [stdout] | [INFO] [stdout] = note: similarly named struct `Vec` defined here [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 212 | Vec { x: -1.0, y: -1.0, z: 1.0 }, [INFO] [stdout] | ~~~ [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 4 + use crate::basic::Vec3; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Vec3` in this scope [INFO] [stdout] --> src/tests.rs:213:13 [INFO] [stdout] | [INFO] [stdout] 213 | Vec3 { x: -1.0, y: 0.0, z: 1.0 }, [INFO] [stdout] | ^^^^ [INFO] [stdout] --> /rustc/ccf408f4326a858c00dd845a64a86b16f360a801/library/alloc/src/vec/mod.rs:397:1 [INFO] [stdout] | [INFO] [stdout] = note: similarly named struct `Vec` defined here [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 213 | Vec { x: -1.0, y: 0.0, z: 1.0 }, [INFO] [stdout] | ~~~ [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 4 + use crate::basic::Vec3; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Vec3` in this scope [INFO] [stdout] --> src/tests.rs:214:13 [INFO] [stdout] | [INFO] [stdout] 214 | Vec3 { x: 0.0, y: -1.0, z: 1.0 }, [INFO] [stdout] | ^^^^ [INFO] [stdout] --> /rustc/ccf408f4326a858c00dd845a64a86b16f360a801/library/alloc/src/vec/mod.rs:397:1 [INFO] [stdout] | [INFO] [stdout] = note: similarly named struct `Vec` defined here [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 214 | Vec { x: 0.0, y: -1.0, z: 1.0 }, [INFO] [stdout] | ~~~ [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 4 + use crate::basic::Vec3; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Interval` [INFO] [stdout] --> src/tests.rs:216:22 [INFO] [stdout] | [INFO] [stdout] 216 | let interv = Interval::new(); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Interval` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 4 + use crate::tracer::Interval; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Ray` in this scope [INFO] [stdout] --> src/tests.rs:222:19 [INFO] [stdout] | [INFO] [stdout] 222 | let ray = Ray { [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 4 + use crate::tracer::Ray; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Vec3` in this scope [INFO] [stdout] --> src/tests.rs:223:21 [INFO] [stdout] | [INFO] [stdout] 223 | origin: Vec3 { x: 0.0, y: 0.0, z: 0.0 }, [INFO] [stdout] | ^^^^ [INFO] [stdout] --> /rustc/ccf408f4326a858c00dd845a64a86b16f360a801/library/alloc/src/vec/mod.rs:397:1 [INFO] [stdout] | [INFO] [stdout] = note: similarly named struct `Vec` defined here [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 223 | origin: Vec { x: 0.0, y: 0.0, z: 0.0 }, [INFO] [stdout] | ~~~ [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 4 + use crate::basic::Vec3; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Vec3` in this scope [INFO] [stdout] --> src/tests.rs:224:24 [INFO] [stdout] | [INFO] [stdout] 224 | direction: Vec3 { x: 0.0, y: 0.0, z: 1.0 }, [INFO] [stdout] | ^^^^ [INFO] [stdout] --> /rustc/ccf408f4326a858c00dd845a64a86b16f360a801/library/alloc/src/vec/mod.rs:397:1 [INFO] [stdout] | [INFO] [stdout] = note: similarly named struct `Vec` defined here [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 224 | direction: Vec { x: 0.0, y: 0.0, z: 1.0 }, [INFO] [stdout] | ~~~ [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 4 + use crate::basic::Vec3; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Triangle` [INFO] [stdout] --> src/tests.rs:226:24 [INFO] [stdout] | [INFO] [stdout] 226 | let triangle = Triangle::new( [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Triangle` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 4 + use crate::mesh::Triangle; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Vec3` in this scope [INFO] [stdout] --> src/tests.rs:227:13 [INFO] [stdout] | [INFO] [stdout] 227 | Vec3 { x: -1.0, y: 1.0, z: 1.0 }, [INFO] [stdout] | ^^^^ [INFO] [stdout] --> /rustc/ccf408f4326a858c00dd845a64a86b16f360a801/library/alloc/src/vec/mod.rs:397:1 [INFO] [stdout] | [INFO] [stdout] = note: similarly named struct `Vec` defined here [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 227 | Vec { x: -1.0, y: 1.0, z: 1.0 }, [INFO] [stdout] | ~~~ [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 4 + use crate::basic::Vec3; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Vec3` in this scope [INFO] [stdout] --> src/tests.rs:228:13 [INFO] [stdout] | [INFO] [stdout] 228 | Vec3 { x: 1.0, y: 1.0, z: 1.0 }, [INFO] [stdout] | ^^^^ [INFO] [stdout] --> /rustc/ccf408f4326a858c00dd845a64a86b16f360a801/library/alloc/src/vec/mod.rs:397:1 [INFO] [stdout] | [INFO] [stdout] = note: similarly named struct `Vec` defined here [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 228 | Vec { x: 1.0, y: 1.0, z: 1.0 }, [INFO] [stdout] | ~~~ [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 4 + use crate::basic::Vec3; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Vec3` in this scope [INFO] [stdout] --> src/tests.rs:229:13 [INFO] [stdout] | [INFO] [stdout] 229 | Vec3 { x: 0.0, y: -2.0, z: 1.0 }, [INFO] [stdout] | ^^^^ [INFO] [stdout] --> /rustc/ccf408f4326a858c00dd845a64a86b16f360a801/library/alloc/src/vec/mod.rs:397:1 [INFO] [stdout] | [INFO] [stdout] = note: similarly named struct `Vec` defined here [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 229 | Vec { x: 0.0, y: -2.0, z: 1.0 }, [INFO] [stdout] | ~~~ [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 4 + use crate::basic::Vec3; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Interval` [INFO] [stdout] --> src/tests.rs:231:22 [INFO] [stdout] | [INFO] [stdout] 231 | let interv = Interval::new(); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Interval` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 4 + use crate::tracer::Interval; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Mesh` [INFO] [stdout] --> src/tests.rs:237:24 [INFO] [stdout] | [INFO] [stdout] 237 | let mut mesh = Mesh::new(); [INFO] [stdout] | ^^^^ use of undeclared type `Mesh` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 4 + use crate::mesh::Mesh; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Triangle` [INFO] [stdout] --> src/tests.rs:238:18 [INFO] [stdout] | [INFO] [stdout] 238 | let t1 = Triangle::new( [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Triangle` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 4 + use crate::mesh::Triangle; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Vec3` in this scope [INFO] [stdout] --> src/tests.rs:239:13 [INFO] [stdout] | [INFO] [stdout] 239 | Vec3 { x: 0.0, y: 0.0, z: 1.0 }, [INFO] [stdout] | ^^^^ [INFO] [stdout] --> /rustc/ccf408f4326a858c00dd845a64a86b16f360a801/library/alloc/src/vec/mod.rs:397:1 [INFO] [stdout] | [INFO] [stdout] = note: similarly named struct `Vec` defined here [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 239 | Vec { x: 0.0, y: 0.0, z: 1.0 }, [INFO] [stdout] | ~~~ [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 4 + use crate::basic::Vec3; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Vec3` in this scope [INFO] [stdout] --> src/tests.rs:240:13 [INFO] [stdout] | [INFO] [stdout] 240 | Vec3 { x: 1.0, y: 0.0, z: 1.0 }, [INFO] [stdout] | ^^^^ [INFO] [stdout] --> /rustc/ccf408f4326a858c00dd845a64a86b16f360a801/library/alloc/src/vec/mod.rs:397:1 [INFO] [stdout] | [INFO] [stdout] = note: similarly named struct `Vec` defined here [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 240 | Vec { x: 1.0, y: 0.0, z: 1.0 }, [INFO] [stdout] | ~~~ [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 4 + use crate::basic::Vec3; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Vec3` in this scope [INFO] [stdout] --> src/tests.rs:241:13 [INFO] [stdout] | [INFO] [stdout] 241 | Vec3 { x: 0.0, y: 1.0, z: 1.0 }, [INFO] [stdout] | ^^^^ [INFO] [stdout] --> /rustc/ccf408f4326a858c00dd845a64a86b16f360a801/library/alloc/src/vec/mod.rs:397:1 [INFO] [stdout] | [INFO] [stdout] = note: similarly named struct `Vec` defined here [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 241 | Vec { x: 0.0, y: 1.0, z: 1.0 }, [INFO] [stdout] | ~~~ [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 4 + use crate::basic::Vec3; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Triangle` [INFO] [stdout] --> src/tests.rs:243:18 [INFO] [stdout] | [INFO] [stdout] 243 | let t2 = Triangle::new( [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Triangle` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 4 + use crate::mesh::Triangle; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Vec3` in this scope [INFO] [stdout] --> src/tests.rs:244:13 [INFO] [stdout] | [INFO] [stdout] 244 | Vec3 { x: 0.0, y: 0.0, z: 2.0 }, [INFO] [stdout] | ^^^^ [INFO] [stdout] --> /rustc/ccf408f4326a858c00dd845a64a86b16f360a801/library/alloc/src/vec/mod.rs:397:1 [INFO] [stdout] | [INFO] [stdout] = note: similarly named struct `Vec` defined here [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 244 | Vec { x: 0.0, y: 0.0, z: 2.0 }, [INFO] [stdout] | ~~~ [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 4 + use crate::basic::Vec3; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Vec3` in this scope [INFO] [stdout] --> src/tests.rs:245:13 [INFO] [stdout] | [INFO] [stdout] 245 | Vec3 { x: 1.0, y: 0.0, z: 2.0 }, [INFO] [stdout] | ^^^^ [INFO] [stdout] --> /rustc/ccf408f4326a858c00dd845a64a86b16f360a801/library/alloc/src/vec/mod.rs:397:1 [INFO] [stdout] | [INFO] [stdout] = note: similarly named struct `Vec` defined here [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 245 | Vec { x: 1.0, y: 0.0, z: 2.0 }, [INFO] [stdout] | ~~~ [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 4 + use crate::basic::Vec3; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Vec3` in this scope [INFO] [stdout] --> src/tests.rs:246:13 [INFO] [stdout] | [INFO] [stdout] 246 | Vec3 { x: 0.0, y: 1.0, z: 2.0 }, [INFO] [stdout] | ^^^^ [INFO] [stdout] --> /rustc/ccf408f4326a858c00dd845a64a86b16f360a801/library/alloc/src/vec/mod.rs:397:1 [INFO] [stdout] | [INFO] [stdout] = note: similarly named struct `Vec` defined here [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 246 | Vec { x: 0.0, y: 1.0, z: 2.0 }, [INFO] [stdout] | ~~~ [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 4 + use crate::basic::Vec3; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Ray` in this scope [INFO] [stdout] --> src/tests.rs:250:19 [INFO] [stdout] | [INFO] [stdout] 250 | let ray = Ray { [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 4 + use crate::tracer::Ray; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Vec3` in this scope [INFO] [stdout] --> src/tests.rs:251:21 [INFO] [stdout] | [INFO] [stdout] 251 | origin: Vec3 { x: 0.0, y: 0.0, z: 0.0 }, [INFO] [stdout] | ^^^^ [INFO] [stdout] --> /rustc/ccf408f4326a858c00dd845a64a86b16f360a801/library/alloc/src/vec/mod.rs:397:1 [INFO] [stdout] | [INFO] [stdout] = note: similarly named struct `Vec` defined here [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 251 | origin: Vec { x: 0.0, y: 0.0, z: 0.0 }, [INFO] [stdout] | ~~~ [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 4 + use crate::basic::Vec3; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Vec3` in this scope [INFO] [stdout] --> src/tests.rs:252:24 [INFO] [stdout] | [INFO] [stdout] 252 | direction: Vec3 { x: 0.0, y: 0.0, z: 1.0 }, [INFO] [stdout] | ^^^^ [INFO] [stdout] --> /rustc/ccf408f4326a858c00dd845a64a86b16f360a801/library/alloc/src/vec/mod.rs:397:1 [INFO] [stdout] | [INFO] [stdout] = note: similarly named struct `Vec` defined here [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 252 | direction: Vec { x: 0.0, y: 0.0, z: 1.0 }, [INFO] [stdout] | ~~~ [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 4 + use crate::basic::Vec3; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Interval` [INFO] [stdout] --> src/tests.rs:254:22 [INFO] [stdout] | [INFO] [stdout] 254 | let interv = Interval::new(); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Interval` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 4 + use crate::tracer::Interval; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::*` [INFO] [stdout] --> src/tests.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `camera` [INFO] [stdout] --> src/tracer.rs:110:9 [INFO] [stdout] | [INFO] [stdout] 110 | let camera = job.camera.lock().unwrap(); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_camera` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `job_res` [INFO] [stdout] --> src/tracer.rs:112:9 [INFO] [stdout] | [INFO] [stdout] 112 | let job_res = cur_scene.is_hit(&job.ray, &job.interv); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_job_res` [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, E0422, E0425, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: could not compile `ray_tracing` (lib test) due to 82 previous errors; 3 warnings emitted [INFO] [stderr] error: failed to check after updating to 2024 [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `cargo check --frozen --all --all-targets --message-format=json` (exit status: 101) [INFO] running `Command { std: "docker" "inspect" "7cb556bf54d3411c5d005d937453124771a92d84b547ed991fabe9f66b6391e0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7cb556bf54d3411c5d005d937453124771a92d84b547ed991fabe9f66b6391e0", kill_on_drop: false }` [INFO] [stdout] 7cb556bf54d3411c5d005d937453124771a92d84b547ed991fabe9f66b6391e0