[INFO] cloning repository https://github.com/jesseVDwolf/RustRaytracer [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/jesseVDwolf/RustRaytracer" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FjesseVDwolf%2FRustRaytracer", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FjesseVDwolf%2FRustRaytracer'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 7bfcd3e9fb0c2f7a41cc5358c29735de76bd9fae [INFO] checking jesseVDwolf/RustRaytracer against master#32cd9114712a24010b0583624dc52ac302194128 for pr-143717 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FjesseVDwolf%2FRustRaytracer" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/jesseVDwolf/RustRaytracer [INFO] finished tweaking git repo https://github.com/jesseVDwolf/RustRaytracer [INFO] tweaked toml for git repo https://github.com/jesseVDwolf/RustRaytracer written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/jesseVDwolf/RustRaytracer on toolchain 32cd9114712a24010b0583624dc52ac302194128 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+32cd9114712a24010b0583624dc52ac302194128" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/jesseVDwolf/RustRaytracer 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" "+32cd9114712a24010b0583624dc52ac302194128" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded cc v1.1.4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+32cd9114712a24010b0583624dc52ac302194128" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b61d0c6860cbbdec8d4b091c885f5e675439fee6a9c83acffd391976c540c22f [INFO] running `Command { std: "docker" "start" "-a" "b61d0c6860cbbdec8d4b091c885f5e675439fee6a9c83acffd391976c540c22f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b61d0c6860cbbdec8d4b091c885f5e675439fee6a9c83acffd391976c540c22f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b61d0c6860cbbdec8d4b091c885f5e675439fee6a9c83acffd391976c540c22f", kill_on_drop: false }` [INFO] [stdout] b61d0c6860cbbdec8d4b091c885f5e675439fee6a9c83acffd391976c540c22f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+32cd9114712a24010b0583624dc52ac302194128" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 805f3d0f12ea88fe3eb86b4c88ff58ec346206d2fe80bd145b42d35f96a77f14 [INFO] running `Command { std: "docker" "start" "-a" "805f3d0f12ea88fe3eb86b4c88ff58ec346206d2fe80bd145b42d35f96a77f14", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling autocfg v1.3.0 [INFO] [stderr] Compiling glob v0.3.1 [INFO] [stderr] Compiling rustix v0.38.34 [INFO] [stderr] Compiling prettyplease v0.2.20 [INFO] [stderr] Compiling libc v0.2.155 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling either v1.13.0 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling regex-syntax v0.8.4 [INFO] [stderr] Compiling bitflags v2.6.0 [INFO] [stderr] Compiling linux-raw-sys v0.4.14 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling bindgen v0.69.4 [INFO] [stderr] Compiling home v0.5.9 [INFO] [stderr] Compiling libloading v0.8.4 [INFO] [stderr] Compiling rustc-hash v1.1.0 [INFO] [stderr] Compiling lazycell v1.3.0 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Compiling log v0.4.22 [INFO] [stderr] Compiling itertools v0.12.1 [INFO] [stderr] Compiling cc v1.1.4 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Checking smallvec v1.13.2 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Compiling clang-sys v1.8.1 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling hashbrown v0.7.2 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Compiling fs_extra v1.3.0 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Checking nom v7.1.3 [INFO] [stderr] Checking ahash v0.3.8 [INFO] [stderr] Compiling serde v1.0.203 [INFO] [stderr] Checking mopa v0.2.2 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Checking arrayvec v0.5.2 [INFO] [stderr] Checking hibitset v0.6.4 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Checking tuple_utils v0.3.0 [INFO] [stderr] Compiling serde_json v1.0.117 [INFO] [stderr] Compiling cmake v0.1.50 [INFO] [stderr] Checking crossbeam-queue v0.2.3 [INFO] [stderr] Checking shrev v1.1.3 [INFO] [stderr] Checking itoa v1.0.11 [INFO] [stderr] Checking ryu v1.0.18 [INFO] [stderr] Compiling syn v2.0.68 [INFO] [stderr] Checking itertools v0.13.0 [INFO] [stderr] Compiling regex-automata v0.4.7 [INFO] [stderr] Compiling which v4.4.2 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Checking tynm v0.1.10 [INFO] [stderr] Compiling cexpr v0.6.0 [INFO] [stderr] Checking shred v0.10.2 [INFO] [stderr] Compiling specs-derive v0.4.1 [INFO] [stderr] Checking specs v0.16.1 [INFO] [stderr] Compiling regex v1.10.5 [INFO] [stderr] Compiling serde_derive v1.0.203 [INFO] [stderr] Compiling raylib-sys v5.0.0 [INFO] [stderr] Checking raylib v5.0.1 [INFO] [stderr] Checking raytracer v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Itertools` [INFO] [stdout] --> src/main.rs:10:27 [INFO] [stdout] | [INFO] [stdout] 10 | use itertools::{iproduct, Itertools}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::vec::Vec3` [INFO] [stdout] --> src/sphere.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::vec::Vec3; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ops` [INFO] [stdout] --> src/point.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::ops; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Itertools` [INFO] [stdout] --> src/main.rs:10:27 [INFO] [stdout] | [INFO] [stdout] 10 | use itertools::{iproduct, Itertools}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ops` [INFO] [stdout] --> src/point.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::ops; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `intersect_hits` found for reference `&sphere::Sphere` in the current scope [INFO] [stdout] --> src/color.rs:185:37 [INFO] [stdout] | [INFO] [stdout] 185 | let color = match o.intersect_hits(r) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `Intersectable` which provides `intersect_hits` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 82 + use crate::traits::Intersectable; [INFO] [stdout] | [INFO] [stdout] help: there is a method `intersect` with a similar name [INFO] [stdout] | [INFO] [stdout] 185 - let color = match o.intersect_hits(r) { [INFO] [stdout] 185 + let color = match o.intersect(r) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `Quadratic` is more private than the item `Sphere::get_quadratic` [INFO] [stdout] --> src/sphere.rs:73:5 [INFO] [stdout] | [INFO] [stdout] 73 | pub fn get_quadratic(&self, r: &Ray) -> Quadratic { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method `Sphere::get_quadratic` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `Quadratic` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/sphere.rs:20:1 [INFO] [stdout] | [INFO] [stdout] 20 | struct Quadratic { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(private_interfaces)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `Quadratic` is more private than the item `Sphere::get_quadratic_v2` [INFO] [stdout] --> src/sphere.rs:87:5 [INFO] [stdout] | [INFO] [stdout] 87 | pub fn get_quadratic_v2(&self, r: &Ray) -> Quadratic { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method `Sphere::get_quadratic_v2` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `Quadratic` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/sphere.rs:20:1 [INFO] [stdout] | [INFO] [stdout] 20 | struct Quadratic { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `version` is never read [INFO] [stdout] --> src/main.rs:60:5 [INFO] [stdout] | [INFO] [stdout] 59 | struct Config { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 60 | version: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Config` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `color` is never read [INFO] [stdout] --> src/plane.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct Plane { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] ... [INFO] [stdout] 14 | color: RGBAColor [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Plane` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `render_ppm_image_ascii` is never used [INFO] [stdout] --> src/ppm.rs:14:8 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn render_ppm_image_ascii( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `p` is never read [INFO] [stdout] --> src/hit.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Hit { [INFO] [stdout] | --- field in this struct [INFO] [stdout] 6 | pub t: f64, [INFO] [stdout] 7 | pub p: Point3, [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `Hit` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/ppm.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | image_file.write_all(b"P3\n"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 25 | let _ = image_file.write_all(b"P3\n"); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/ppm.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | image_file.write_all(resolution_header.as_bytes()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 26 | let _ = image_file.write_all(resolution_header.as_bytes()); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/ppm.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | image_file.write_all(max_color_header.as_bytes()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 27 | let _ = image_file.write_all(max_color_header.as_bytes()); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/ppm.rs:30:9 [INFO] [stdout] | [INFO] [stdout] 30 | image_file.write_all(line.as_bytes()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 30 | let _ = image_file.write_all(line.as_bytes()); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0599`. [INFO] [stdout] [INFO] [stderr] error: could not compile `raytracer` (bin "raytracer" test) due to 1 previous error; 2 warnings emitted [INFO] running `Command { std: "docker" "inspect" "805f3d0f12ea88fe3eb86b4c88ff58ec346206d2fe80bd145b42d35f96a77f14", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "805f3d0f12ea88fe3eb86b4c88ff58ec346206d2fe80bd145b42d35f96a77f14", kill_on_drop: false }` [INFO] [stdout] 805f3d0f12ea88fe3eb86b4c88ff58ec346206d2fe80bd145b42d35f96a77f14