[INFO] cloning repository https://github.com/joseyose/raytracer-rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/joseyose/raytracer-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjoseyose%2Fraytracer-rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjoseyose%2Fraytracer-rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] cc32b2534db61537e693fcc1108524104f13ca3d [INFO] checking joseyose/raytracer-rust against master#91c0823ee63e793d990bb9fed898dc95b5d6db51 for pr-125741 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjoseyose%2Fraytracer-rust" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/joseyose/raytracer-rust on toolchain 91c0823ee63e793d990bb9fed898dc95b5d6db51 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+91c0823ee63e793d990bb9fed898dc95b5d6db51" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/joseyose/raytracer-rust [INFO] finished tweaking git repo https://github.com/joseyose/raytracer-rust [INFO] tweaked toml for git repo https://github.com/joseyose/raytracer-rust written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/joseyose/raytracer-rust 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" "+91c0823ee63e793d990bb9fed898dc95b5d6db51" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [ERROR] error running command: no output for 300 seconds [ERROR] this task or one of its parent failed! [ERROR] no output for 300 seconds [ERROR] note: run with `RUST_BACKTRACE=1` to display a backtrace. [INFO] checking joseyose/raytracer-rust against try#0525276e4a85ae0a91f6f7447e501e2981e77908 for pr-125741 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjoseyose%2Fraytracer-rust" "/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/joseyose/raytracer-rust on toolchain 0525276e4a85ae0a91f6f7447e501e2981e77908 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+0525276e4a85ae0a91f6f7447e501e2981e77908" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/joseyose/raytracer-rust [INFO] finished tweaking git repo https://github.com/joseyose/raytracer-rust [INFO] tweaked toml for git repo https://github.com/joseyose/raytracer-rust written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/joseyose/raytracer-rust 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" "+0525276e4a85ae0a91f6f7447e501e2981e77908" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [ERROR] error running command: no output for 300 seconds [INFO] checking joseyose/raytracer-rust against try#0525276e4a85ae0a91f6f7447e501e2981e77908 for pr-125741 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjoseyose%2Fraytracer-rust" "/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/joseyose/raytracer-rust on toolchain 0525276e4a85ae0a91f6f7447e501e2981e77908 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+0525276e4a85ae0a91f6f7447e501e2981e77908" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/joseyose/raytracer-rust [INFO] finished tweaking git repo https://github.com/joseyose/raytracer-rust [INFO] tweaked toml for git repo https://github.com/joseyose/raytracer-rust written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/joseyose/raytracer-rust 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" "+0525276e4a85ae0a91f6f7447e501e2981e77908" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-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:dff56e7819e73ed36160586b3445e93eb0be776c16704aeeded9c3fb668b2384" "/opt/rustwide/cargo-home/bin/cargo" "+0525276e4a85ae0a91f6f7447e501e2981e77908" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] fd89beb2a7da48985d4dd32418023a432bc08329868b138c863f7db9b6a05e8e [INFO] running `Command { std: "docker" "start" "-a" "fd89beb2a7da48985d4dd32418023a432bc08329868b138c863f7db9b6a05e8e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "fd89beb2a7da48985d4dd32418023a432bc08329868b138c863f7db9b6a05e8e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fd89beb2a7da48985d4dd32418023a432bc08329868b138c863f7db9b6a05e8e", kill_on_drop: false }` [INFO] [stdout] fd89beb2a7da48985d4dd32418023a432bc08329868b138c863f7db9b6a05e8e [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:dff56e7819e73ed36160586b3445e93eb0be776c16704aeeded9c3fb668b2384" "/opt/rustwide/cargo-home/bin/cargo" "+0525276e4a85ae0a91f6f7447e501e2981e77908" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 46ee4976ab26390a9818b11aed7c43661a496c89b8c215bb81391b3dc480d298 [INFO] running `Command { std: "docker" "start" "-a" "46ee4976ab26390a9818b11aed7c43661a496c89b8c215bb81391b3dc480d298", kill_on_drop: false }` [INFO] [stderr] Checking raytracer-rust v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0583]: file not found for module `Vec3` [INFO] [stdout] --> src/libs/mod.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | pub mod Vec3; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: to create the module `Vec3`, create file "src/libs/Vec3.rs" or "src/libs/Vec3/mod.rs" [INFO] [stdout] = note: if there is a `mod Vec3` elsewhere in the crate already, import it with `use crate::...` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0583]: file not found for module `Vec3` [INFO] [stdout] --> src/libs/mod.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | pub mod Vec3; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: to create the module `Vec3`, create file "src/libs/Vec3.rs" or "src/libs/Vec3/mod.rs" [INFO] [stdout] = note: if there is a `mod Vec3` elsewhere in the crate already, import it with `use crate::...` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::libs::Vec3::Vec3` [INFO] [stdout] --> src/libs/ray.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::libs::Vec3::Vec3; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ no `Vec3` in `libs::Vec3` [INFO] [stdout] | [INFO] [stdout] help: consider importing this module instead [INFO] [stdout] | [INFO] [stdout] 1 | use crate::libs::Vec3; [INFO] [stdout] | ~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::libs::Vec3::Vec3` [INFO] [stdout] --> src/libs/ray.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::libs::Vec3::Vec3; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ no `Vec3` in `libs::Vec3` [INFO] [stdout] | [INFO] [stdout] help: consider importing this module instead [INFO] [stdout] | [INFO] [stdout] 1 | use crate::libs::Vec3; [INFO] [stdout] | ~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::libs::Vec3::Vec3` [INFO] [stdout] --> src/libs/color.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::libs::Vec3::Vec3; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ no `Vec3` in `libs::Vec3` [INFO] [stdout] | [INFO] [stdout] help: consider importing this module instead [INFO] [stdout] | [INFO] [stdout] 1 | use crate::libs::Vec3; [INFO] [stdout] | ~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::libs::Vec3::Vec3` [INFO] [stdout] --> src/libs/color.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::libs::Vec3::Vec3; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ no `Vec3` in `libs::Vec3` [INFO] [stdout] | [INFO] [stdout] help: consider importing this module instead [INFO] [stdout] | [INFO] [stdout] 1 | use crate::libs::Vec3; [INFO] [stdout] | ~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Vec3` in `Vec3` [INFO] [stdout] --> src/main.rs:5:25 [INFO] [stdout] | [INFO] [stdout] 5 | let a = libs::Vec3::Vec3::dot(r.direction(), r.direction()); [INFO] [stdout] | ^^^^ could not find `Vec3` in `Vec3` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Vec3` in `Vec3` [INFO] [stdout] --> src/main.rs:5:25 [INFO] [stdout] | [INFO] [stdout] 5 | let a = libs::Vec3::Vec3::dot(r.direction(), r.direction()); [INFO] [stdout] | ^^^^ could not find `Vec3` in `Vec3` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Vec3` in `Vec3` [INFO] [stdout] --> src/main.rs:6:31 [INFO] [stdout] | [INFO] [stdout] 6 | let b = 2.0 * libs::Vec3::Vec3::dot(oc, r.direction()); [INFO] [stdout] | ^^^^ could not find `Vec3` in `Vec3` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Vec3` in `Vec3` [INFO] [stdout] --> src/main.rs:6:31 [INFO] [stdout] | [INFO] [stdout] 6 | let b = 2.0 * libs::Vec3::Vec3::dot(oc, r.direction()); [INFO] [stdout] | ^^^^ could not find `Vec3` in `Vec3` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Vec3` in `Vec3` [INFO] [stdout] --> src/main.rs:7:25 [INFO] [stdout] | [INFO] [stdout] 7 | let c = libs::Vec3::Vec3::dot(oc, oc) - radius * radius; [INFO] [stdout] | ^^^^ could not find `Vec3` in `Vec3` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Vec3` in `Vec3` [INFO] [stdout] --> src/main.rs:7:25 [INFO] [stdout] | [INFO] [stdout] 7 | let c = libs::Vec3::Vec3::dot(oc, oc) - radius * radius; [INFO] [stdout] | ^^^^ could not find `Vec3` in `Vec3` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Vec3` in `Vec3` [INFO] [stdout] --> src/main.rs:17:36 [INFO] [stdout] | [INFO] [stdout] 17 | let t = hit_sphere(libs::Vec3::Vec3::initialize(0.0, 0.0, -1.0), 0.5, r); [INFO] [stdout] | ^^^^ could not find `Vec3` in `Vec3` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Vec3` in `Vec3` [INFO] [stdout] --> src/main.rs:17:36 [INFO] [stdout] | [INFO] [stdout] 17 | let t = hit_sphere(libs::Vec3::Vec3::initialize(0.0, 0.0, -1.0), 0.5, r); [INFO] [stdout] | ^^^^ could not find `Vec3` in `Vec3` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Vec3` in `Vec3` [INFO] [stdout] --> src/main.rs:20:29 [INFO] [stdout] | [INFO] [stdout] 20 | let N = libs::Vec3::Vec3::unit_vector(r.at(t) - libs::Vec3::Vec3::initialize(0.0, 0.0, -1.0)); [INFO] [stdout] | ^^^^ could not find `Vec3` in `Vec3` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Vec3` in `Vec3` [INFO] [stdout] --> src/main.rs:20:29 [INFO] [stdout] | [INFO] [stdout] 20 | let N = libs::Vec3::Vec3::unit_vector(r.at(t) - libs::Vec3::Vec3::initialize(0.0, 0.0, -1.0)); [INFO] [stdout] | ^^^^ could not find `Vec3` in `Vec3` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Vec3` in `Vec3` [INFO] [stdout] --> src/main.rs:20:69 [INFO] [stdout] | [INFO] [stdout] 20 | let N = libs::Vec3::Vec3::unit_vector(r.at(t) - libs::Vec3::Vec3::initialize(0.0, 0.0, -1.0)); [INFO] [stdout] | ^^^^ could not find `Vec3` in `Vec3` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Vec3` in `Vec3` [INFO] [stdout] --> src/main.rs:20:69 [INFO] [stdout] | [INFO] [stdout] 20 | let N = libs::Vec3::Vec3::unit_vector(r.at(t) - libs::Vec3::Vec3::initialize(0.0, 0.0, -1.0)); [INFO] [stdout] | ^^^^ could not find `Vec3` in `Vec3` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Vec3` in `Vec3` [INFO] [stdout] --> src/main.rs:21:34 [INFO] [stdout] | [INFO] [stdout] 21 | return 0.5 * libs::Vec3::Vec3::initialize(N.x() + 1.0, N.y() + 1.0, N.z() + 1.0); [INFO] [stdout] | ^^^^ could not find `Vec3` in `Vec3` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Vec3` in `Vec3` [INFO] [stdout] --> src/main.rs:21:34 [INFO] [stdout] | [INFO] [stdout] 21 | return 0.5 * libs::Vec3::Vec3::initialize(N.x() + 1.0, N.y() + 1.0, N.z() + 1.0); [INFO] [stdout] | ^^^^ could not find `Vec3` in `Vec3` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Vec3` in `Vec3` [INFO] [stdout] --> src/main.rs:24:38 [INFO] [stdout] | [INFO] [stdout] 24 | let unit_direction = libs::Vec3::Vec3::unit_vector(r.direction()); [INFO] [stdout] | ^^^^ could not find `Vec3` in `Vec3` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Vec3` in `Vec3` [INFO] [stdout] --> src/main.rs:24:38 [INFO] [stdout] | [INFO] [stdout] 24 | let unit_direction = libs::Vec3::Vec3::unit_vector(r.direction()); [INFO] [stdout] | ^^^^ could not find `Vec3` in `Vec3` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Vec3` in `Vec3` [INFO] [stdout] --> src/main.rs:26:36 [INFO] [stdout] | [INFO] [stdout] 26 | return (1.0 - t) * libs::Vec3::Vec3::initialize(1.0, 1.0, 1.0) + t * libs::Vec3::Vec3::initialize(0.5, 0.7, 1.0); [INFO] [stdout] | ^^^^ could not find `Vec3` in `Vec3` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Vec3` in `Vec3` [INFO] [stdout] --> src/main.rs:26:36 [INFO] [stdout] | [INFO] [stdout] 26 | return (1.0 - t) * libs::Vec3::Vec3::initialize(1.0, 1.0, 1.0) + t * libs::Vec3::Vec3::initialize(0.5, 0.7, 1.0); [INFO] [stdout] | ^^^^ could not find `Vec3` in `Vec3` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Vec3` in `Vec3` [INFO] [stdout] --> src/main.rs:26:86 [INFO] [stdout] | [INFO] [stdout] 26 | return (1.0 - t) * libs::Vec3::Vec3::initialize(1.0, 1.0, 1.0) + t * libs::Vec3::Vec3::initialize(0.5, 0.7, 1.0); [INFO] [stdout] | ^^^^ could not find `Vec3` in `Vec3` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Vec3` in `Vec3` [INFO] [stdout] --> src/main.rs:26:86 [INFO] [stdout] | [INFO] [stdout] 26 | return (1.0 - t) * libs::Vec3::Vec3::initialize(1.0, 1.0, 1.0) + t * libs::Vec3::Vec3::initialize(0.5, 0.7, 1.0); [INFO] [stdout] | ^^^^ could not find `Vec3` in `Vec3` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Vec3` in `Vec3` [INFO] [stdout] --> src/main.rs:41:30 [INFO] [stdout] | [INFO] [stdout] 41 | let origin = libs::Vec3::Vec3::initialize(0.0, 0.0, 0.0); [INFO] [stdout] | ^^^^ could not find `Vec3` in `Vec3` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Vec3` in `Vec3` [INFO] [stdout] --> src/main.rs:41:30 [INFO] [stdout] | [INFO] [stdout] 41 | let origin = libs::Vec3::Vec3::initialize(0.0, 0.0, 0.0); [INFO] [stdout] | ^^^^ could not find `Vec3` in `Vec3` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Vec3` in `Vec3` [INFO] [stdout] --> src/main.rs:42:34 [INFO] [stdout] | [INFO] [stdout] 42 | let horizontal = libs::Vec3::Vec3::initialize(viewport_width, 0.0, 0.0); [INFO] [stdout] | ^^^^ could not find `Vec3` in `Vec3` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Vec3` in `Vec3` [INFO] [stdout] --> src/main.rs:42:34 [INFO] [stdout] | [INFO] [stdout] 42 | let horizontal = libs::Vec3::Vec3::initialize(viewport_width, 0.0, 0.0); [INFO] [stdout] | ^^^^ could not find `Vec3` in `Vec3` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Vec3` in `Vec3` [INFO] [stdout] --> src/main.rs:43:32 [INFO] [stdout] | [INFO] [stdout] 43 | let vertical = libs::Vec3::Vec3::initialize(0.0, viewport_height, 0.0); [INFO] [stdout] | ^^^^ could not find `Vec3` in `Vec3` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Vec3` in `Vec3` [INFO] [stdout] --> src/main.rs:43:32 [INFO] [stdout] | [INFO] [stdout] 43 | let vertical = libs::Vec3::Vec3::initialize(0.0, viewport_height, 0.0); [INFO] [stdout] | ^^^^ could not find `Vec3` in `Vec3` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Vec3` in `Vec3` [INFO] [stdout] --> src/main.rs:44:82 [INFO] [stdout] | [INFO] [stdout] 44 | let lower_left_corner = origin - horizontal/2.0 - vertical/2.0 - libs::Vec3::Vec3::initialize(0.0, 0.0, focal_length); [INFO] [stdout] | ^^^^ could not find `Vec3` in `Vec3` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Vec3` in module `libs::Vec3` [INFO] [stdout] --> src/main.rs:3:35 [INFO] [stdout] | [INFO] [stdout] 3 | fn hit_sphere(center: libs::Vec3::Vec3, radius: f64, r: libs::ray::ray) -> f64 { [INFO] [stdout] | ^^^^ not found in `libs::Vec3` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Vec3` in module `libs::Vec3` [INFO] [stdout] --> src/main.rs:16:48 [INFO] [stdout] | [INFO] [stdout] 16 | fn ray_color(r: libs::ray::ray) -> libs::Vec3::Vec3 { [INFO] [stdout] | ^^^^ not found in `libs::Vec3` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `ray` should have an upper camel case name [INFO] [stdout] --> src/libs/ray.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct ray { [INFO] [stdout] | ^^^ help: convert the identifier to upper camel case: `Ray` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/main.rs:19:8 [INFO] [stdout] | [INFO] [stdout] 19 | if (t > 0.0) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 19 - if (t > 0.0) { [INFO] [stdout] 19 + if t > 0.0 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Vec3` in `Vec3` [INFO] [stdout] --> src/main.rs:44:82 [INFO] [stdout] | [INFO] [stdout] 44 | let lower_left_corner = origin - horizontal/2.0 - vertical/2.0 - libs::Vec3::Vec3::initialize(0.0, 0.0, focal_length); [INFO] [stdout] | ^^^^ could not find `Vec3` in `Vec3` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Vec3` in module `libs::Vec3` [INFO] [stdout] --> src/main.rs:3:35 [INFO] [stdout] | [INFO] [stdout] 3 | fn hit_sphere(center: libs::Vec3::Vec3, radius: f64, r: libs::ray::ray) -> f64 { [INFO] [stdout] | ^^^^ not found in `libs::Vec3` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Vec3` in module `libs::Vec3` [INFO] [stdout] --> src/main.rs:16:48 [INFO] [stdout] | [INFO] [stdout] 16 | fn ray_color(r: libs::ray::ray) -> libs::Vec3::Vec3 { [INFO] [stdout] | ^^^^ not found in `libs::Vec3` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `ray` should have an upper camel case name [INFO] [stdout] --> src/libs/ray.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct ray { [INFO] [stdout] | ^^^ help: convert the identifier to upper camel case: `Ray` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/main.rs:19:8 [INFO] [stdout] | [INFO] [stdout] 19 | if (t > 0.0) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 19 - if (t > 0.0) { [INFO] [stdout] 19 + if t > 0.0 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0689]: can't call method `sqrt` on ambiguous numeric type `{float}` [INFO] [stdout] --> src/main.rs:12:28 [INFO] [stdout] | [INFO] [stdout] 12 | (-b - discriminant.sqrt()) / (2.0 * a) [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] help: you must specify a type for this binding, like `f32` [INFO] [stdout] | [INFO] [stdout] 8 | let discriminant: f32 = b * b - 4.0 * a * c; [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0689]: can't call method `sqrt` on ambiguous numeric type `{float}` [INFO] [stdout] --> src/main.rs:12:28 [INFO] [stdout] | [INFO] [stdout] 12 | (-b - discriminant.sqrt()) / (2.0 * a) [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] help: you must specify a type for this binding, like `f32` [INFO] [stdout] | [INFO] [stdout] 8 | let discriminant: f32 = b * b - 4.0 * a * c; [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 20 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0432, E0433, E0583, E0689. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 20 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0432, E0433, E0583, E0689. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: could not compile `raytracer-rust` (bin "raytracer-rust") due to 21 previous errors; 2 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `raytracer-rust` (bin "raytracer-rust" test) due to 21 previous errors; 2 warnings emitted [INFO] running `Command { std: "docker" "inspect" "46ee4976ab26390a9818b11aed7c43661a496c89b8c215bb81391b3dc480d298", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "46ee4976ab26390a9818b11aed7c43661a496c89b8c215bb81391b3dc480d298", kill_on_drop: false }` [INFO] [stdout] 46ee4976ab26390a9818b11aed7c43661a496c89b8c215bb81391b3dc480d298