[INFO] cloning repository https://github.com/christopherwebb/rust_ray_tracer [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/christopherwebb/rust_ray_tracer" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fchristopherwebb%2Frust_ray_tracer", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fchristopherwebb%2Frust_ray_tracer'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 52460c9acf71130fa146ca446e2d50f602afe972 [INFO] checking christopherwebb/rust_ray_tracer against try#3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f for pr-87248 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fchristopherwebb%2Frust_ray_tracer" "/workspace/builds/worker-1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/christopherwebb/rust_ray_tracer on toolchain 3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/christopherwebb/rust_ray_tracer [INFO] finished tweaking git repo https://github.com/christopherwebb/rust_ray_tracer [INFO] tweaked toml for git repo https://github.com/christopherwebb/rust_ray_tracer written to /workspace/builds/worker-1/source/Cargo.toml [INFO] crate git repo https://github.com/christopherwebb/rust_ray_tracer already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] efef1b87ae3078f705d61b2fd176e68397ce8b3fa4132b91ac80b6b0749d1f50 [INFO] running `Command { std: "docker" "start" "-a" "efef1b87ae3078f705d61b2fd176e68397ce8b3fa4132b91ac80b6b0749d1f50", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "efef1b87ae3078f705d61b2fd176e68397ce8b3fa4132b91ac80b6b0749d1f50", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "efef1b87ae3078f705d61b2fd176e68397ce8b3fa4132b91ac80b6b0749d1f50", kill_on_drop: false }` [INFO] [stdout] efef1b87ae3078f705d61b2fd176e68397ce8b3fa4132b91ac80b6b0749d1f50 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4638b9cc54abd171561321149c43d320d60c0a8f24f491f45cca055883bf7739 [INFO] running `Command { std: "docker" "start" "-a" "4638b9cc54abd171561321149c43d320d60c0a8f24f491f45cca055883bf7739", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling syn v1.0.9 [INFO] [stderr] Checking ppv-lite86 v0.2.5 [INFO] [stderr] Compiling ryu v1.0.2 [INFO] [stderr] Compiling serde v1.0.97 [INFO] [stderr] Checking regex-syntax v0.6.12 [INFO] [stderr] Checking strsim v0.8.0 [INFO] [stderr] Checking ansi_term v0.11.0 [INFO] [stderr] Checking lazy_static v1.3.0 [INFO] [stderr] Compiling rand_chacha v0.2.0 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling proc-macro2 v1.0.6 [INFO] [stderr] Checking termios v0.3.1 [INFO] [stderr] Checking atty v0.2.13 [INFO] [stderr] Checking getrandom v0.1.6 [INFO] [stderr] Checking clicolors-control v1.0.1 [INFO] [stderr] Checking clap v2.33.0 [INFO] [stderr] Checking rand_core v0.5.0 [INFO] [stderr] Checking c2-chacha v0.2.2 [INFO] [stderr] Compiling quote v1.0.2 [INFO] [stderr] Checking rand v0.7.0 [INFO] [stderr] Checking regex v1.3.1 [INFO] [stderr] Checking float-cmp v0.8.0 [INFO] [stderr] Checking console v0.9.1 [INFO] [stderr] Checking indicatif v0.13.0 [INFO] [stderr] Compiling serde_derive v1.0.103 [INFO] [stderr] Checking serde_json v1.0.42 [INFO] [stderr] Checking rust_ray_tracing v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `Matrix4x4f`, `Normal3f`, `dot_vn`, `dot_vv` [INFO] [stdout] --> src/aabb.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | Normal3f, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 3 | Point3f, [INFO] [stdout] 4 | Matrix4x4f, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 5 | dot_vv, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 6 | dot_vn, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rand::thread_rng` [INFO] [stdout] --> src/vector.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use rand::thread_rng; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rand::Rng` [INFO] [stdout] --> src/vector.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use rand::Rng; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `dot_vv` [INFO] [stdout] --> src/shapes/cylinder.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | dot_vv, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `solve_quadratic` [INFO] [stdout] --> src/shapes/sphere.rs:15:27 [INFO] [stdout] | [INFO] [stdout] 15 | use crate::shapes::base::{solve_quadratic, Hitable}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Matrix4x4f` [INFO] [stdout] --> src/shapes/base.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | Matrix4x4f, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Matrix4x4f`, `dot_vn` [INFO] [stdout] --> src/shapes/sphere2.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | Matrix4x4f, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 9 | dot_vv, [INFO] [stdout] 10 | dot_vn, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Matrix4x4f`, `Normal3f`, `dot_vn`, `dot_vv` [INFO] [stdout] --> src/aabb.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | Normal3f, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 3 | Point3f, [INFO] [stdout] 4 | Matrix4x4f, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 5 | dot_vv, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 6 | dot_vn, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rand::thread_rng` [INFO] [stdout] --> src/vector.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use rand::thread_rng; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rand::Rng` [INFO] [stdout] --> src/vector.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use rand::Rng; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `dot_vv` [INFO] [stdout] --> src/shapes/cylinder.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | dot_vv, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `solve_quadratic` [INFO] [stdout] --> src/shapes/sphere.rs:15:27 [INFO] [stdout] | [INFO] [stdout] 15 | use crate::shapes::base::{solve_quadratic, Hitable}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Matrix4x4f` [INFO] [stdout] --> src/shapes/base.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | Matrix4x4f, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Matrix4x4f`, `dot_vn` [INFO] [stdout] --> src/shapes/sphere2.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | Matrix4x4f, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 9 | dot_vv, [INFO] [stdout] 10 | dot_vn, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 3 arguments but 5 arguments were supplied [INFO] [stdout] --> src/shapes/sphere2.rs:139:36 [INFO] [stdout] | [INFO] [stdout] 139 | let result_option = sphere.collide( [INFO] [stdout] | ^^^^^^^ expected 3 arguments [INFO] [stdout] 140 | / Ray { [INFO] [stdout] 141 | | a: Point3f { [INFO] [stdout] 142 | | x: 0.0, [INFO] [stdout] 143 | | y: 0.0, [INFO] [stdout] ... | [INFO] [stdout] 151 | | time: 0.0, [INFO] [stdout] 152 | | }, [INFO] [stdout] | |_____________- [INFO] [stdout] 153 | indentity(), [INFO] [stdout] | ----------- [INFO] [stdout] 154 | indentity(), [INFO] [stdout] | ----------- [INFO] [stdout] 155 | 0.0, [INFO] [stdout] | --- [INFO] [stdout] 156 | 20.0, [INFO] [stdout] | ---- supplied 5 arguments [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/shapes/base.rs:32:8 [INFO] [stdout] | [INFO] [stdout] 32 | fn collide( [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 3 arguments but 5 arguments were supplied [INFO] [stdout] --> src/shapes/sphere2.rs:173:36 [INFO] [stdout] | [INFO] [stdout] 173 | let result_option = sphere.collide( [INFO] [stdout] | ^^^^^^^ expected 3 arguments [INFO] [stdout] 174 | / Ray { [INFO] [stdout] 175 | | a: Point3f { [INFO] [stdout] 176 | | x: 0.0, [INFO] [stdout] 177 | | y: 1.0, [INFO] [stdout] ... | [INFO] [stdout] 185 | | time: 0.0, [INFO] [stdout] 186 | | }, [INFO] [stdout] | |_____________- [INFO] [stdout] 187 | indentity(), [INFO] [stdout] | ----------- [INFO] [stdout] 188 | indentity(), [INFO] [stdout] | ----------- [INFO] [stdout] 189 | 4.999, [INFO] [stdout] | ----- [INFO] [stdout] 190 | 5.001, [INFO] [stdout] | ----- supplied 5 arguments [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/shapes/base.rs:32:8 [INFO] [stdout] | [INFO] [stdout] 32 | fn collide( [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 3 arguments but 5 arguments were supplied [INFO] [stdout] --> src/shapes/sphere2.rs:205:36 [INFO] [stdout] | [INFO] [stdout] 205 | let result_option = sphere.collide( [INFO] [stdout] | ^^^^^^^ expected 3 arguments [INFO] [stdout] 206 | / Ray { [INFO] [stdout] 207 | | a: Point3f { [INFO] [stdout] 208 | | x: 0.0, [INFO] [stdout] 209 | | y: 2.0, [INFO] [stdout] ... | [INFO] [stdout] 217 | | time: 0.0, [INFO] [stdout] 218 | | }, [INFO] [stdout] | |_____________- [INFO] [stdout] 219 | indentity(), [INFO] [stdout] | ----------- [INFO] [stdout] 220 | indentity(), [INFO] [stdout] | ----------- [INFO] [stdout] 221 | 0.0, [INFO] [stdout] | --- [INFO] [stdout] 222 | 20.0, [INFO] [stdout] | ---- supplied 5 arguments [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/shapes/base.rs:32:8 [INFO] [stdout] | [INFO] [stdout] 32 | fn collide( [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 3 arguments but 5 arguments were supplied [INFO] [stdout] --> src/shapes/sphere2.rs:239:36 [INFO] [stdout] | [INFO] [stdout] 239 | let result_option = sphere.collide( [INFO] [stdout] | ^^^^^^^ expected 3 arguments [INFO] [stdout] 240 | / Ray { [INFO] [stdout] 241 | | a: Point3f { [INFO] [stdout] 242 | | x: 0.0, [INFO] [stdout] 243 | | y: 0.0, [INFO] [stdout] ... | [INFO] [stdout] 251 | | time: 0.0, [INFO] [stdout] 252 | | }, [INFO] [stdout] | |_____________- [INFO] [stdout] 253 | indentity(), [INFO] [stdout] | ----------- [INFO] [stdout] 254 | indentity(), [INFO] [stdout] | ----------- [INFO] [stdout] 255 | 0.0, [INFO] [stdout] | --- [INFO] [stdout] 256 | 20.0, [INFO] [stdout] | ---- supplied 5 arguments [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/shapes/base.rs:32:8 [INFO] [stdout] | [INFO] [stdout] 32 | fn collide( [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 3 arguments but 5 arguments were supplied [INFO] [stdout] --> src/shapes/sphere2.rs:309:36 [INFO] [stdout] | [INFO] [stdout] 309 | let result_option = sphere.collide( [INFO] [stdout] | ^^^^^^^ expected 3 arguments [INFO] [stdout] 310 | ray, [INFO] [stdout] | --- [INFO] [stdout] 311 | transform.m, [INFO] [stdout] | ----------- [INFO] [stdout] 312 | transform.m_inv, [INFO] [stdout] | --------------- [INFO] [stdout] 313 | original_t_min, [INFO] [stdout] | -------------- [INFO] [stdout] 314 | original_t_max, [INFO] [stdout] | -------------- supplied 5 arguments [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/shapes/base.rs:32:8 [INFO] [stdout] | [INFO] [stdout] 32 | fn collide( [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 3 arguments but 5 arguments were supplied [INFO] [stdout] --> src/shapes/sphere2.rs:335:36 [INFO] [stdout] | [INFO] [stdout] 335 | let result_option = sphere.collide( [INFO] [stdout] | ^^^^^^^ expected 3 arguments [INFO] [stdout] 336 | / Ray { [INFO] [stdout] 337 | | a: Point3f { [INFO] [stdout] 338 | | x: 0.0, [INFO] [stdout] 339 | | y: 0.0, [INFO] [stdout] ... | [INFO] [stdout] 347 | | time: 0.0, [INFO] [stdout] 348 | | }, [INFO] [stdout] | |_____________- [INFO] [stdout] 349 | transform.m, [INFO] [stdout] | ----------- [INFO] [stdout] 350 | transform.m_inv, [INFO] [stdout] | --------------- [INFO] [stdout] 351 | 0.0, [INFO] [stdout] | --- [INFO] [stdout] 352 | 20.0, [INFO] [stdout] | ---- supplied 5 arguments [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/shapes/base.rs:32:8 [INFO] [stdout] | [INFO] [stdout] 32 | fn collide( [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 3 arguments but 5 arguments were supplied [INFO] [stdout] --> src/shapes/sphere2.rs:373:36 [INFO] [stdout] | [INFO] [stdout] 373 | let result_option = sphere.collide( [INFO] [stdout] | ^^^^^^^ expected 3 arguments [INFO] [stdout] 374 | / Ray { [INFO] [stdout] 375 | | a: Point3f { [INFO] [stdout] 376 | | x: -5.0, [INFO] [stdout] 377 | | y: 0.0, [INFO] [stdout] ... | [INFO] [stdout] 385 | | time: 0.0, [INFO] [stdout] 386 | | }, [INFO] [stdout] | |_____________- [INFO] [stdout] 387 | transform.m, [INFO] [stdout] | ----------- [INFO] [stdout] 388 | transform.m_inv, [INFO] [stdout] | --------------- [INFO] [stdout] 389 | 0.0, [INFO] [stdout] | --- [INFO] [stdout] 390 | 20.0, [INFO] [stdout] | ---- supplied 5 arguments [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/shapes/base.rs:32:8 [INFO] [stdout] | [INFO] [stdout] 32 | fn collide( [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 3 arguments but 5 arguments were supplied [INFO] [stdout] --> src/shapes/sphere2.rs:405:36 [INFO] [stdout] | [INFO] [stdout] 405 | let result_option = sphere.collide( [INFO] [stdout] | ^^^^^^^ expected 3 arguments [INFO] [stdout] 406 | / Ray { [INFO] [stdout] 407 | | a: Point3f { [INFO] [stdout] 408 | | x: 0.0, [INFO] [stdout] 409 | | y: 0.0, [INFO] [stdout] ... | [INFO] [stdout] 417 | | time: 0.0, [INFO] [stdout] 418 | | }, [INFO] [stdout] | |_____________- [INFO] [stdout] 419 | transform.m, [INFO] [stdout] | ----------- [INFO] [stdout] 420 | transform.m_inv, [INFO] [stdout] | --------------- [INFO] [stdout] 421 | 0.0, [INFO] [stdout] | --- [INFO] [stdout] 422 | 20.0, [INFO] [stdout] | ---- supplied 5 arguments [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/shapes/base.rs:32:8 [INFO] [stdout] | [INFO] [stdout] 32 | fn collide( [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 3 arguments but 5 arguments were supplied [INFO] [stdout] --> src/shapes/sphere2.rs:443:36 [INFO] [stdout] | [INFO] [stdout] 443 | let result_option = sphere.collide( [INFO] [stdout] | ^^^^^^^ expected 3 arguments [INFO] [stdout] 444 | / Ray { [INFO] [stdout] 445 | | a: Point3f { [INFO] [stdout] 446 | | x: 0.0, [INFO] [stdout] 447 | | y: 0.0, [INFO] [stdout] ... | [INFO] [stdout] 455 | | time: 0.0, [INFO] [stdout] 456 | | }, [INFO] [stdout] | |_____________- [INFO] [stdout] 457 | transform.m, [INFO] [stdout] | ----------- [INFO] [stdout] 458 | transform.m_inv, [INFO] [stdout] | --------------- [INFO] [stdout] 459 | 0.0, [INFO] [stdout] | --- [INFO] [stdout] 460 | 50.0, [INFO] [stdout] | ---- supplied 5 arguments [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/shapes/base.rs:32:8 [INFO] [stdout] | [INFO] [stdout] 32 | fn collide( [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 3 arguments but 5 arguments were supplied [INFO] [stdout] --> src/shapes/sphere2.rs:494:36 [INFO] [stdout] | [INFO] [stdout] 494 | let result_option = sphere.collide( [INFO] [stdout] | ^^^^^^^ expected 3 arguments [INFO] [stdout] 495 | / Ray { [INFO] [stdout] 496 | | a: Point3f { [INFO] [stdout] 497 | | x: 0.0, [INFO] [stdout] 498 | | y: 0.0, [INFO] [stdout] ... | [INFO] [stdout] 502 | | time: 0.0, [INFO] [stdout] 503 | | }, [INFO] [stdout] | |_____________- [INFO] [stdout] 504 | transform.m, [INFO] [stdout] | ----------- [INFO] [stdout] 505 | transform.m_inv, [INFO] [stdout] | --------------- [INFO] [stdout] 506 | t_val * 0.99, [INFO] [stdout] | ------------ [INFO] [stdout] 507 | t_val * 1.01, [INFO] [stdout] | ------------ supplied 5 arguments [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/shapes/base.rs:32:8 [INFO] [stdout] | [INFO] [stdout] 32 | fn collide( [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 10 previous errors; 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0061`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rust_ray_tracing` due to 11 previous errors; 7 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: unused variable: `t_min` [INFO] [stdout] --> src/aabb.rs:28:13 [INFO] [stdout] | [INFO] [stdout] 28 | let t_min = if t0 > t_min { t0 } else { t_min }; [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_t_min` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `t_min` [INFO] [stdout] --> src/aabb.rs:45:13 [INFO] [stdout] | [INFO] [stdout] 45 | let t_min = if t0 > t_min { t0 } else { t_min }; [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_t_min` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `t_min` [INFO] [stdout] --> src/aabb.rs:62:13 [INFO] [stdout] | [INFO] [stdout] 62 | let t_min = if t0 > t_min { t0 } else { t_min }; [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_t_min` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `phi` is never read [INFO] [stdout] --> src/shapes/cylinder.rs:78:17 [INFO] [stdout] | [INFO] [stdout] 78 | phi += 2.0 * f32::consts::PI; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `time_0` [INFO] [stdout] --> src/shapes/sphere2.rs:78:9 [INFO] [stdout] | [INFO] [stdout] 78 | time_0: f32, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_time_0` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `time_1` [INFO] [stdout] --> src/shapes/sphere2.rs:79:9 [INFO] [stdout] | [INFO] [stdout] 79 | time_1: f32, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_time_1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `dot` [INFO] [stdout] --> src/core/normal.rs:55:8 [INFO] [stdout] | [INFO] [stdout] 55 | pub fn dot(l: &Normal3T, r: &Normal3T) -> T [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `N` should have a snake case name [INFO] [stdout] --> src/shapes/cylinder.rs:139:17 [INFO] [stdout] | [INFO] [stdout] 139 | let N = &cross(&dpdu, &dpdv).unit_vector(); [INFO] [stdout] | ^ help: convert the identifier to snake case: `n` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 15 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "4638b9cc54abd171561321149c43d320d60c0a8f24f491f45cca055883bf7739", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4638b9cc54abd171561321149c43d320d60c0a8f24f491f45cca055883bf7739", kill_on_drop: false }` [INFO] [stdout] 4638b9cc54abd171561321149c43d320d60c0a8f24f491f45cca055883bf7739