[INFO] cloning repository https://github.com/pcn/rtiow [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/pcn/rtiow" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpcn%2Frtiow", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpcn%2Frtiow'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 6f6ec67ba6eeb7f5d738020bc824feb69137c8ee [INFO] checking pcn/rtiow against try#a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d for pr-145342-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpcn%2Frtiow" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/pcn/rtiow [INFO] finished tweaking git repo https://github.com/pcn/rtiow [INFO] tweaked toml for git repo https://github.com/pcn/rtiow written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/pcn/rtiow on toolchain a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/pcn/rtiow 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" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] fadc06442bc82b8b8d30a23dce4827b0b6eeee0cb3c28e6bafaab343891d03bd [INFO] running `Command { std: "docker" "start" "-a" "fadc06442bc82b8b8d30a23dce4827b0b6eeee0cb3c28e6bafaab343891d03bd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "fadc06442bc82b8b8d30a23dce4827b0b6eeee0cb3c28e6bafaab343891d03bd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fadc06442bc82b8b8d30a23dce4827b0b6eeee0cb3c28e6bafaab343891d03bd", kill_on_drop: false }` [INFO] [stdout] fadc06442bc82b8b8d30a23dce4827b0b6eeee0cb3c28e6bafaab343891d03bd [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] bed46dfe22c5b7e2200624c536ce55b4a92e57df35e10aa1b3edb14ea3f17b9b [INFO] running `Command { std: "docker" "start" "-a" "bed46dfe22c5b7e2200624c536ce55b4a92e57df35e10aa1b3edb14ea3f17b9b", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling proc-macro2 v1.0.66 [INFO] [stderr] Compiling unicode-ident v1.0.11 [INFO] [stderr] Checking bytemuck v1.13.1 [INFO] [stderr] Compiling paste v1.0.14 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling typenum v1.16.0 [INFO] [stderr] Checking rawpointer v0.2.1 [INFO] [stderr] Checking safe_arch v0.7.1 [INFO] [stderr] Checking wide v0.7.11 [INFO] [stderr] Compiling num-traits v0.2.16 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling num-rational v0.4.1 [INFO] [stderr] Compiling matrixmultiply v0.3.7 [INFO] [stderr] Compiling quote v1.0.31 [INFO] [stderr] Checking num-complex v0.4.3 [INFO] [stderr] Checking approx v0.5.1 [INFO] [stderr] Checking simba v0.8.1 [INFO] [stderr] Compiling nalgebra-macros v0.2.1 [INFO] [stderr] Checking nalgebra v0.32.3 [INFO] [stderr] Checking rtiow v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0599]: no method named `hit` found for reference `&HitRecord` in the current scope [INFO] [stdout] --> src/hit.rs:78:18 [INFO] [stdout] | [INFO] [stdout] 78 | if h.hit(r, t_min, closest_so_far, temp_rec) { [INFO] [stdout] | ^^^ method not found in `&HitRecord` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/hit.rs:83:12 [INFO] [stdout] | [INFO] [stdout] 83 | if temp_rec { [INFO] [stdout] | ^^^^^^^^ expected `bool`, found `HitRecord` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/hit.rs:84:19 [INFO] [stdout] | [INFO] [stdout] 70 | pub fn hit(&self, r: &Ray, t_min: f32, t_max: f32, rec: &HitRecord) -> Option { [INFO] [stdout] | ---------- expected due to this parameter type [INFO] [stdout] ... [INFO] [stdout] 84 | rec = temp_rec; [INFO] [stdout] | ^^^^^^^^ expected `&HitRecord`, found `HitRecord` [INFO] [stdout] | [INFO] [stdout] help: consider borrowing here [INFO] [stdout] | [INFO] [stdout] 84 | rec = &temp_rec; [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/hit.rs:86:9 [INFO] [stdout] | [INFO] [stdout] 70 | pub fn hit(&self, r: &Ray, t_min: f32, t_max: f32, rec: &HitRecord) -> Option { [INFO] [stdout] | ----------------- expected `Option` because of return type [INFO] [stdout] ... [INFO] [stdout] 86 | hit_anything // I think this should return the temp_rec and hit_anything [INFO] [stdout] | ^^^^^^^^^^^^ expected `Option`, found `bool` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Option` [INFO] [stdout] found type `bool` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rtiow` (bin "rtiow" test) due to 4 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0599]: no method named `hit` found for reference `&HitRecord` in the current scope [INFO] [stdout] --> src/hit.rs:78:18 [INFO] [stdout] | [INFO] [stdout] 78 | if h.hit(r, t_min, closest_so_far, temp_rec) { [INFO] [stdout] | ^^^ method not found in `&HitRecord` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/hit.rs:83:12 [INFO] [stdout] | [INFO] [stdout] 83 | if temp_rec { [INFO] [stdout] | ^^^^^^^^ expected `bool`, found `HitRecord` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/hit.rs:84:19 [INFO] [stdout] | [INFO] [stdout] 70 | pub fn hit(&self, r: &Ray, t_min: f32, t_max: f32, rec: &HitRecord) -> Option { [INFO] [stdout] | ---------- expected due to this parameter type [INFO] [stdout] ... [INFO] [stdout] 84 | rec = temp_rec; [INFO] [stdout] | ^^^^^^^^ expected `&HitRecord`, found `HitRecord` [INFO] [stdout] | [INFO] [stdout] help: consider borrowing here [INFO] [stdout] | [INFO] [stdout] 84 | rec = &temp_rec; [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/hit.rs:86:9 [INFO] [stdout] | [INFO] [stdout] 70 | pub fn hit(&self, r: &Ray, t_min: f32, t_max: f32, rec: &HitRecord) -> Option { [INFO] [stdout] | ----------------- expected `Option` because of return type [INFO] [stdout] ... [INFO] [stdout] 86 | hit_anything // I think this should return the temp_rec and hit_anything [INFO] [stdout] | ^^^^^^^^^^^^ expected `Option`, found `bool` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Option` [INFO] [stdout] found type `bool` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rtiow` (bin "rtiow") due to 4 previous errors [INFO] running `Command { std: "docker" "inspect" "bed46dfe22c5b7e2200624c536ce55b4a92e57df35e10aa1b3edb14ea3f17b9b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bed46dfe22c5b7e2200624c536ce55b4a92e57df35e10aa1b3edb14ea3f17b9b", kill_on_drop: false }` [INFO] [stdout] bed46dfe22c5b7e2200624c536ce55b4a92e57df35e10aa1b3edb14ea3f17b9b