[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/52460c9acf71130fa146ca446e2d50f602afe972 against master#ff1737bb00913444173658b4e0b274fd79aabf66 for pr-132712-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fchristopherwebb%2Frust_ray_tracer" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/christopherwebb/rust_ray_tracer on toolchain ff1737bb00913444173658b4e0b274fd79aabf66 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ff1737bb00913444173658b4e0b274fd79aabf66" "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-5-tc1/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: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ff1737bb00913444173658b4e0b274fd79aabf66" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded console v0.9.1 [INFO] [stderr] Downloaded indicatif v0.13.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+ff1737bb00913444173658b4e0b274fd79aabf66" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0c18318a3e7d78190bc688c1c9896db4aa1923bd2597ee11beab61e6639fec71 [INFO] running `Command { std: "docker" "start" "-a" "0c18318a3e7d78190bc688c1c9896db4aa1923bd2597ee11beab61e6639fec71", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0c18318a3e7d78190bc688c1c9896db4aa1923bd2597ee11beab61e6639fec71", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0c18318a3e7d78190bc688c1c9896db4aa1923bd2597ee11beab61e6639fec71", kill_on_drop: false }` [INFO] [stdout] 0c18318a3e7d78190bc688c1c9896db4aa1923bd2597ee11beab61e6639fec71 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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=allow" "-e" "RUSTDOCFLAGS=--cap-lints=allow" "-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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+ff1737bb00913444173658b4e0b274fd79aabf66" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2db67c632d41f11dcec9567e77841e1b78916110c11caf3d82258a6bead1a007 [INFO] running `Command { std: "docker" "start" "-a" "2db67c632d41f11dcec9567e77841e1b78916110c11caf3d82258a6bead1a007", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.58 [INFO] [stderr] Checking spin v0.5.0 [INFO] [stderr] Compiling proc-macro2 v1.0.6 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Compiling syn v1.0.9 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling autocfg v0.1.4 [INFO] [stderr] Checking unicode-width v0.1.6 [INFO] [stderr] Compiling serde v1.0.97 [INFO] [stderr] Checking regex-syntax v0.6.12 [INFO] [stderr] Checking lazy_static v1.3.0 [INFO] [stderr] Compiling ryu v1.0.2 [INFO] [stderr] Checking ppv-lite86 v0.2.5 [INFO] [stderr] Compiling rand_chacha v0.2.0 [INFO] [stderr] Compiling bitflags v1.1.0 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking strsim v0.8.0 [INFO] [stderr] Checking number_prefix v0.3.0 [INFO] [stderr] Checking vec_map v0.8.1 [INFO] [stderr] Checking ansi_term v0.11.0 [INFO] [stderr] Checking itoa v0.4.4 [INFO] [stderr] Checking c2-chacha v0.2.2 [INFO] [stderr] Checking getrandom v0.1.6 [INFO] [stderr] Checking clicolors-control v1.0.1 [INFO] [stderr] Compiling quote v1.0.2 [INFO] [stderr] Checking termios v0.3.1 [INFO] [stderr] Checking atty v0.2.13 [INFO] [stderr] Checking num_cpus v1.10.1 [INFO] [stderr] Checking rand_core v0.5.0 [INFO] [stderr] Checking clap v2.33.0 [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] error[E0061]: this method 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] | ^^^^^^^ [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] | |_____________- expected `&Ray`, found `Ray` [INFO] [stdout] 153 | indentity(), [INFO] [stdout] | ----------- unexpected argument #2 of type `Matrix4x4` [INFO] [stdout] 154 | indentity(), [INFO] [stdout] | ----------- unexpected argument #3 of type `Matrix4x4` [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> src/shapes/base.rs:32:8 [INFO] [stdout] | [INFO] [stdout] 32 | fn collide( [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] help: consider borrowing here [INFO] [stdout] | [INFO] [stdout] 140 | &Ray { [INFO] [stdout] | + [INFO] [stdout] help: remove the extra arguments [INFO] [stdout] | [INFO] [stdout] 140 - Ray { [INFO] [stdout] 141 - a: Point3f { [INFO] [stdout] 142 - x: 0.0, [INFO] [stdout] 143 - y: 0.0, [INFO] [stdout] 144 - z: -5.0, [INFO] [stdout] 145 - }, [INFO] [stdout] 146 - b: Vector3f { [INFO] [stdout] 147 - x: 0.0, [INFO] [stdout] 148 - y: 0.0, [INFO] [stdout] 149 - z: 1.0, [INFO] [stdout] 150 - }, [INFO] [stdout] 151 - time: 0.0, [INFO] [stdout] 152 - }, [INFO] [stdout] 140 + /* &Ray */, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this method 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] | ^^^^^^^ [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] | |_____________- expected `&Ray`, found `Ray` [INFO] [stdout] 187 | indentity(), [INFO] [stdout] | ----------- unexpected argument #2 of type `Matrix4x4` [INFO] [stdout] 188 | indentity(), [INFO] [stdout] | ----------- unexpected argument #3 of type `Matrix4x4` [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> src/shapes/base.rs:32:8 [INFO] [stdout] | [INFO] [stdout] 32 | fn collide( [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] help: consider borrowing here [INFO] [stdout] | [INFO] [stdout] 174 | &Ray { [INFO] [stdout] | + [INFO] [stdout] help: remove the extra arguments [INFO] [stdout] | [INFO] [stdout] 174 - Ray { [INFO] [stdout] 175 - a: Point3f { [INFO] [stdout] 176 - x: 0.0, [INFO] [stdout] 177 - y: 1.0, [INFO] [stdout] 178 - z: -5.0, [INFO] [stdout] 179 - }, [INFO] [stdout] 180 - b: Vector3f { [INFO] [stdout] 181 - x: 0.0, [INFO] [stdout] 182 - y: 0.0, [INFO] [stdout] 183 - z: 1.0, [INFO] [stdout] 184 - }, [INFO] [stdout] 185 - time: 0.0, [INFO] [stdout] 186 - }, [INFO] [stdout] 174 + /* &Ray */, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this method 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] | ^^^^^^^ [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] | |_____________- expected `&Ray`, found `Ray` [INFO] [stdout] 219 | indentity(), [INFO] [stdout] | ----------- unexpected argument #2 of type `Matrix4x4` [INFO] [stdout] 220 | indentity(), [INFO] [stdout] | ----------- unexpected argument #3 of type `Matrix4x4` [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> src/shapes/base.rs:32:8 [INFO] [stdout] | [INFO] [stdout] 32 | fn collide( [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] help: consider borrowing here [INFO] [stdout] | [INFO] [stdout] 206 | &Ray { [INFO] [stdout] | + [INFO] [stdout] help: remove the extra arguments [INFO] [stdout] | [INFO] [stdout] 206 - Ray { [INFO] [stdout] 207 - a: Point3f { [INFO] [stdout] 208 - x: 0.0, [INFO] [stdout] 209 - y: 2.0, [INFO] [stdout] 210 - z: -5.0, [INFO] [stdout] 211 - }, [INFO] [stdout] 212 - b: Vector3f { [INFO] [stdout] 213 - x: 0.0, [INFO] [stdout] 214 - y: 0.0, [INFO] [stdout] 215 - z: 1.0, [INFO] [stdout] 216 - }, [INFO] [stdout] 217 - time: 0.0, [INFO] [stdout] 218 - }, [INFO] [stdout] 206 + /* &Ray */, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this method 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] | ^^^^^^^ [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] | |_____________- expected `&Ray`, found `Ray` [INFO] [stdout] 253 | indentity(), [INFO] [stdout] | ----------- unexpected argument #2 of type `Matrix4x4` [INFO] [stdout] 254 | indentity(), [INFO] [stdout] | ----------- unexpected argument #3 of type `Matrix4x4` [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> src/shapes/base.rs:32:8 [INFO] [stdout] | [INFO] [stdout] 32 | fn collide( [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] help: consider borrowing here [INFO] [stdout] | [INFO] [stdout] 240 | &Ray { [INFO] [stdout] | + [INFO] [stdout] help: remove the extra arguments [INFO] [stdout] | [INFO] [stdout] 240 - Ray { [INFO] [stdout] 241 - a: Point3f { [INFO] [stdout] 242 - x: 0.0, [INFO] [stdout] 243 - y: 0.0, [INFO] [stdout] 244 - z: 0.0, [INFO] [stdout] 245 - }, [INFO] [stdout] 246 - b: Vector3f { [INFO] [stdout] 247 - x: 0.0, [INFO] [stdout] 248 - y: 0.0, [INFO] [stdout] 249 - z: 1.0, [INFO] [stdout] 250 - }, [INFO] [stdout] 251 - time: 0.0, [INFO] [stdout] 252 - }, [INFO] [stdout] 240 + /* &Ray */, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this method 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] | ^^^^^^^ [INFO] [stdout] 310 | ray, [INFO] [stdout] | --- expected `&Ray`, found `Ray` [INFO] [stdout] 311 | transform.m, [INFO] [stdout] | ----------- unexpected argument #2 of type `Matrix4x4` [INFO] [stdout] 312 | transform.m_inv, [INFO] [stdout] | --------------- unexpected argument #3 of type `Matrix4x4` [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> src/shapes/base.rs:32:8 [INFO] [stdout] | [INFO] [stdout] 32 | fn collide( [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] help: consider borrowing here [INFO] [stdout] | [INFO] [stdout] 310 | &ray, [INFO] [stdout] | + [INFO] [stdout] help: remove the extra arguments [INFO] [stdout] | [INFO] [stdout] 310 - ray, [INFO] [stdout] 310 + /* &Ray */, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this method 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] | ^^^^^^^ [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] | |_____________- expected `&Ray`, found `Ray` [INFO] [stdout] 349 | transform.m, [INFO] [stdout] | ----------- unexpected argument #2 of type `Matrix4x4` [INFO] [stdout] 350 | transform.m_inv, [INFO] [stdout] | --------------- unexpected argument #3 of type `Matrix4x4` [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> src/shapes/base.rs:32:8 [INFO] [stdout] | [INFO] [stdout] 32 | fn collide( [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] help: consider borrowing here [INFO] [stdout] | [INFO] [stdout] 336 | &Ray { [INFO] [stdout] | + [INFO] [stdout] help: remove the extra arguments [INFO] [stdout] | [INFO] [stdout] 336 - Ray { [INFO] [stdout] 337 - a: Point3f { [INFO] [stdout] 338 - x: 0.0, [INFO] [stdout] 339 - y: 0.0, [INFO] [stdout] 340 - z: -5.0, [INFO] [stdout] 341 - }, [INFO] [stdout] 342 - b: Vector3f { [INFO] [stdout] 343 - x: 0.0, [INFO] [stdout] 344 - y: 0.0, [INFO] [stdout] 345 - z: 1.0, [INFO] [stdout] 346 - }, [INFO] [stdout] 347 - time: 0.0, [INFO] [stdout] 348 - }, [INFO] [stdout] 336 + /* &Ray */, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this method 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] | ^^^^^^^ [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] | |_____________- expected `&Ray`, found `Ray` [INFO] [stdout] 387 | transform.m, [INFO] [stdout] | ----------- unexpected argument #2 of type `Matrix4x4` [INFO] [stdout] 388 | transform.m_inv, [INFO] [stdout] | --------------- unexpected argument #3 of type `Matrix4x4` [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> src/shapes/base.rs:32:8 [INFO] [stdout] | [INFO] [stdout] 32 | fn collide( [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] help: consider borrowing here [INFO] [stdout] | [INFO] [stdout] 374 | &Ray { [INFO] [stdout] | + [INFO] [stdout] help: remove the extra arguments [INFO] [stdout] | [INFO] [stdout] 374 - Ray { [INFO] [stdout] 375 - a: Point3f { [INFO] [stdout] 376 - x: -5.0, [INFO] [stdout] 377 - y: 0.0, [INFO] [stdout] 378 - z: 0.0, [INFO] [stdout] 379 - }, [INFO] [stdout] 380 - b: Vector3f { [INFO] [stdout] 381 - x: 1.0, [INFO] [stdout] 382 - y: 0.0, [INFO] [stdout] 383 - z: 0.0, [INFO] [stdout] 384 - }, [INFO] [stdout] 385 - time: 0.0, [INFO] [stdout] 386 - }, [INFO] [stdout] 374 + /* &Ray */, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this method 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] | ^^^^^^^ [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] | |_____________- expected `&Ray`, found `Ray` [INFO] [stdout] 419 | transform.m, [INFO] [stdout] | ----------- unexpected argument #2 of type `Matrix4x4` [INFO] [stdout] 420 | transform.m_inv, [INFO] [stdout] | --------------- unexpected argument #3 of type `Matrix4x4` [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> src/shapes/base.rs:32:8 [INFO] [stdout] | [INFO] [stdout] 32 | fn collide( [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] help: consider borrowing here [INFO] [stdout] | [INFO] [stdout] 406 | &Ray { [INFO] [stdout] | + [INFO] [stdout] help: remove the extra arguments [INFO] [stdout] | [INFO] [stdout] 406 - Ray { [INFO] [stdout] 407 - a: Point3f { [INFO] [stdout] 408 - x: 0.0, [INFO] [stdout] 409 - y: 0.0, [INFO] [stdout] 410 - z: -5.0, [INFO] [stdout] 411 - }, [INFO] [stdout] 412 - b: Vector3f { [INFO] [stdout] 413 - x: 0.0, [INFO] [stdout] 414 - y: 0.0, [INFO] [stdout] 415 - z: 1.0, [INFO] [stdout] 416 - }, [INFO] [stdout] 417 - time: 0.0, [INFO] [stdout] 418 - }, [INFO] [stdout] 406 + /* &Ray */, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this method 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] | ^^^^^^^ [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] | |_____________- expected `&Ray`, found `Ray` [INFO] [stdout] 457 | transform.m, [INFO] [stdout] | ----------- unexpected argument #2 of type `Matrix4x4` [INFO] [stdout] 458 | transform.m_inv, [INFO] [stdout] | --------------- unexpected argument #3 of type `Matrix4x4` [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> src/shapes/base.rs:32:8 [INFO] [stdout] | [INFO] [stdout] 32 | fn collide( [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] help: consider borrowing here [INFO] [stdout] | [INFO] [stdout] 444 | &Ray { [INFO] [stdout] | + [INFO] [stdout] help: remove the extra arguments [INFO] [stdout] | [INFO] [stdout] 444 - Ray { [INFO] [stdout] 445 - a: Point3f { [INFO] [stdout] 446 - x: 0.0, [INFO] [stdout] 447 - y: 0.0, [INFO] [stdout] 448 - z: 0.0, [INFO] [stdout] 449 - }, [INFO] [stdout] 450 - b: Vector3f { [INFO] [stdout] 451 - x: 0.0, [INFO] [stdout] 452 - y: 1.0, [INFO] [stdout] 453 - z: 0.0, [INFO] [stdout] 454 - }, [INFO] [stdout] 455 - time: 0.0, [INFO] [stdout] 456 - }, [INFO] [stdout] 444 + /* &Ray */, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this method 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] | ^^^^^^^ [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] | |_____________- expected `&Ray`, found `Ray` [INFO] [stdout] 504 | transform.m, [INFO] [stdout] | ----------- unexpected argument #2 of type `Matrix4x4` [INFO] [stdout] 505 | transform.m_inv, [INFO] [stdout] | --------------- unexpected argument #3 of type `Matrix4x4` [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> src/shapes/base.rs:32:8 [INFO] [stdout] | [INFO] [stdout] 32 | fn collide( [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] help: consider borrowing here [INFO] [stdout] | [INFO] [stdout] 495 | &Ray { [INFO] [stdout] | + [INFO] [stdout] help: remove the extra arguments [INFO] [stdout] | [INFO] [stdout] 495 - Ray { [INFO] [stdout] 496 - a: Point3f { [INFO] [stdout] 497 - x: 0.0, [INFO] [stdout] 498 - y: 0.0, [INFO] [stdout] 499 - z: 0.0, [INFO] [stdout] 500 - }, [INFO] [stdout] 501 - b: look_at, [INFO] [stdout] 502 - time: 0.0, [INFO] [stdout] 503 - }, [INFO] [stdout] 495 + /* &Ray */, [INFO] [stdout] | [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` (lib test) due to 10 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/primative.rs:174:45 [INFO] [stdout] | [INFO] [stdout] 174 | let interaction = primative.collide(ray, 0.0, 10.0).unwrap(); [INFO] [stdout] | ------- ^^^ expected `&Ray`, found `Ray` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> src/primative.rs:19:12 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn collide(self, ray: &Ray, t_min: f32, t_max: f32) -> Option { [INFO] [stdout] | ^^^^^^^ --------- [INFO] [stdout] help: consider borrowing here [INFO] [stdout] | [INFO] [stdout] 174 | let interaction = primative.collide(&ray, 0.0, 10.0).unwrap(); [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/primative.rs:208:60 [INFO] [stdout] | [INFO] [stdout] 208 | let interaction_result = primative.collide(ray, 0.0, 10.0); [INFO] [stdout] | ------- ^^^ expected `&Ray`, found `Ray` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> src/primative.rs:19:12 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn collide(self, ray: &Ray, t_min: f32, t_max: f32) -> Option { [INFO] [stdout] | ^^^^^^^ --------- [INFO] [stdout] help: consider borrowing here [INFO] [stdout] | [INFO] [stdout] 208 | let interaction_result = primative.collide(&ray, 0.0, 10.0); [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/primative.rs:267:60 [INFO] [stdout] | [INFO] [stdout] 267 | let interaction_result = primative.collide(ray, 0.0, 10.0); [INFO] [stdout] | ------- ^^^ expected `&Ray`, found `Ray` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> src/primative.rs:19:12 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn collide(self, ray: &Ray, t_min: f32, t_max: f32) -> Option { [INFO] [stdout] | ^^^^^^^ --------- [INFO] [stdout] help: consider borrowing here [INFO] [stdout] | [INFO] [stdout] 267 | let interaction_result = primative.collide(&ray, 0.0, 10.0); [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/primative.rs:332:60 [INFO] [stdout] | [INFO] [stdout] 332 | let interaction_result = primative.collide(ray, 0.0, 10.0); [INFO] [stdout] | ------- ^^^ expected `&Ray`, found `Ray` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> src/primative.rs:19:12 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn collide(self, ray: &Ray, t_min: f32, t_max: f32) -> Option { [INFO] [stdout] | ^^^^^^^ --------- [INFO] [stdout] help: consider borrowing here [INFO] [stdout] | [INFO] [stdout] 332 | let interaction_result = primative.collide(&ray, 0.0, 10.0); [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this method 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] | ^^^^^^^ [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] | |_____________- expected `&Ray`, found `Ray` [INFO] [stdout] 153 | indentity(), [INFO] [stdout] | ----------- unexpected argument #2 of type `Matrix4x4` [INFO] [stdout] 154 | indentity(), [INFO] [stdout] | ----------- unexpected argument #3 of type `Matrix4x4` [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> src/shapes/base.rs:32:8 [INFO] [stdout] | [INFO] [stdout] 32 | fn collide( [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] help: consider borrowing here [INFO] [stdout] | [INFO] [stdout] 140 | &Ray { [INFO] [stdout] | + [INFO] [stdout] help: remove the extra arguments [INFO] [stdout] | [INFO] [stdout] 140 - Ray { [INFO] [stdout] 141 - a: Point3f { [INFO] [stdout] 142 - x: 0.0, [INFO] [stdout] 143 - y: 0.0, [INFO] [stdout] 144 - z: -5.0, [INFO] [stdout] 145 - }, [INFO] [stdout] 146 - b: Vector3f { [INFO] [stdout] 147 - x: 0.0, [INFO] [stdout] 148 - y: 0.0, [INFO] [stdout] 149 - z: 1.0, [INFO] [stdout] 150 - }, [INFO] [stdout] 151 - time: 0.0, [INFO] [stdout] 152 - }, [INFO] [stdout] 140 + /* &Ray */, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this method 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] | ^^^^^^^ [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] | |_____________- expected `&Ray`, found `Ray` [INFO] [stdout] 187 | indentity(), [INFO] [stdout] | ----------- unexpected argument #2 of type `Matrix4x4` [INFO] [stdout] 188 | indentity(), [INFO] [stdout] | ----------- unexpected argument #3 of type `Matrix4x4` [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> src/shapes/base.rs:32:8 [INFO] [stdout] | [INFO] [stdout] 32 | fn collide( [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] help: consider borrowing here [INFO] [stdout] | [INFO] [stdout] 174 | &Ray { [INFO] [stdout] | + [INFO] [stdout] help: remove the extra arguments [INFO] [stdout] | [INFO] [stdout] 174 - Ray { [INFO] [stdout] 175 - a: Point3f { [INFO] [stdout] 176 - x: 0.0, [INFO] [stdout] 177 - y: 1.0, [INFO] [stdout] 178 - z: -5.0, [INFO] [stdout] 179 - }, [INFO] [stdout] 180 - b: Vector3f { [INFO] [stdout] 181 - x: 0.0, [INFO] [stdout] 182 - y: 0.0, [INFO] [stdout] 183 - z: 1.0, [INFO] [stdout] 184 - }, [INFO] [stdout] 185 - time: 0.0, [INFO] [stdout] 186 - }, [INFO] [stdout] 174 + /* &Ray */, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this method 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] | ^^^^^^^ [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] | |_____________- expected `&Ray`, found `Ray` [INFO] [stdout] 219 | indentity(), [INFO] [stdout] | ----------- unexpected argument #2 of type `Matrix4x4` [INFO] [stdout] 220 | indentity(), [INFO] [stdout] | ----------- unexpected argument #3 of type `Matrix4x4` [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> src/shapes/base.rs:32:8 [INFO] [stdout] | [INFO] [stdout] 32 | fn collide( [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] help: consider borrowing here [INFO] [stdout] | [INFO] [stdout] 206 | &Ray { [INFO] [stdout] | + [INFO] [stdout] help: remove the extra arguments [INFO] [stdout] | [INFO] [stdout] 206 - Ray { [INFO] [stdout] 207 - a: Point3f { [INFO] [stdout] 208 - x: 0.0, [INFO] [stdout] 209 - y: 2.0, [INFO] [stdout] 210 - z: -5.0, [INFO] [stdout] 211 - }, [INFO] [stdout] 212 - b: Vector3f { [INFO] [stdout] 213 - x: 0.0, [INFO] [stdout] 214 - y: 0.0, [INFO] [stdout] 215 - z: 1.0, [INFO] [stdout] 216 - }, [INFO] [stdout] 217 - time: 0.0, [INFO] [stdout] 218 - }, [INFO] [stdout] 206 + /* &Ray */, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this method 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] | ^^^^^^^ [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] | |_____________- expected `&Ray`, found `Ray` [INFO] [stdout] 253 | indentity(), [INFO] [stdout] | ----------- unexpected argument #2 of type `Matrix4x4` [INFO] [stdout] 254 | indentity(), [INFO] [stdout] | ----------- unexpected argument #3 of type `Matrix4x4` [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> src/shapes/base.rs:32:8 [INFO] [stdout] | [INFO] [stdout] 32 | fn collide( [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] help: consider borrowing here [INFO] [stdout] | [INFO] [stdout] 240 | &Ray { [INFO] [stdout] | + [INFO] [stdout] help: remove the extra arguments [INFO] [stdout] | [INFO] [stdout] 240 - Ray { [INFO] [stdout] 241 - a: Point3f { [INFO] [stdout] 242 - x: 0.0, [INFO] [stdout] 243 - y: 0.0, [INFO] [stdout] 244 - z: 0.0, [INFO] [stdout] 245 - }, [INFO] [stdout] 246 - b: Vector3f { [INFO] [stdout] 247 - x: 0.0, [INFO] [stdout] 248 - y: 0.0, [INFO] [stdout] 249 - z: 1.0, [INFO] [stdout] 250 - }, [INFO] [stdout] 251 - time: 0.0, [INFO] [stdout] 252 - }, [INFO] [stdout] 240 + /* &Ray */, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this method 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] | ^^^^^^^ [INFO] [stdout] 310 | ray, [INFO] [stdout] | --- expected `&Ray`, found `Ray` [INFO] [stdout] 311 | transform.m, [INFO] [stdout] | ----------- unexpected argument #2 of type `Matrix4x4` [INFO] [stdout] 312 | transform.m_inv, [INFO] [stdout] | --------------- unexpected argument #3 of type `Matrix4x4` [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> src/shapes/base.rs:32:8 [INFO] [stdout] | [INFO] [stdout] 32 | fn collide( [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] help: consider borrowing here [INFO] [stdout] | [INFO] [stdout] 310 | &ray, [INFO] [stdout] | + [INFO] [stdout] help: remove the extra arguments [INFO] [stdout] | [INFO] [stdout] 310 - ray, [INFO] [stdout] 310 + /* &Ray */, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this method 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] | ^^^^^^^ [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] | |_____________- expected `&Ray`, found `Ray` [INFO] [stdout] 349 | transform.m, [INFO] [stdout] | ----------- unexpected argument #2 of type `Matrix4x4` [INFO] [stdout] 350 | transform.m_inv, [INFO] [stdout] | --------------- unexpected argument #3 of type `Matrix4x4` [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> src/shapes/base.rs:32:8 [INFO] [stdout] | [INFO] [stdout] 32 | fn collide( [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] help: consider borrowing here [INFO] [stdout] | [INFO] [stdout] 336 | &Ray { [INFO] [stdout] | + [INFO] [stdout] help: remove the extra arguments [INFO] [stdout] | [INFO] [stdout] 336 - Ray { [INFO] [stdout] 337 - a: Point3f { [INFO] [stdout] 338 - x: 0.0, [INFO] [stdout] 339 - y: 0.0, [INFO] [stdout] 340 - z: -5.0, [INFO] [stdout] 341 - }, [INFO] [stdout] 342 - b: Vector3f { [INFO] [stdout] 343 - x: 0.0, [INFO] [stdout] 344 - y: 0.0, [INFO] [stdout] 345 - z: 1.0, [INFO] [stdout] 346 - }, [INFO] [stdout] 347 - time: 0.0, [INFO] [stdout] 348 - }, [INFO] [stdout] 336 + /* &Ray */, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this method 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] | ^^^^^^^ [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] | |_____________- expected `&Ray`, found `Ray` [INFO] [stdout] 387 | transform.m, [INFO] [stdout] | ----------- unexpected argument #2 of type `Matrix4x4` [INFO] [stdout] 388 | transform.m_inv, [INFO] [stdout] | --------------- unexpected argument #3 of type `Matrix4x4` [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> src/shapes/base.rs:32:8 [INFO] [stdout] | [INFO] [stdout] 32 | fn collide( [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] help: consider borrowing here [INFO] [stdout] | [INFO] [stdout] 374 | &Ray { [INFO] [stdout] | + [INFO] [stdout] help: remove the extra arguments [INFO] [stdout] | [INFO] [stdout] 374 - Ray { [INFO] [stdout] 375 - a: Point3f { [INFO] [stdout] 376 - x: -5.0, [INFO] [stdout] 377 - y: 0.0, [INFO] [stdout] 378 - z: 0.0, [INFO] [stdout] 379 - }, [INFO] [stdout] 380 - b: Vector3f { [INFO] [stdout] 381 - x: 1.0, [INFO] [stdout] 382 - y: 0.0, [INFO] [stdout] 383 - z: 0.0, [INFO] [stdout] 384 - }, [INFO] [stdout] 385 - time: 0.0, [INFO] [stdout] 386 - }, [INFO] [stdout] 374 + /* &Ray */, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this method 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] | ^^^^^^^ [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] | |_____________- expected `&Ray`, found `Ray` [INFO] [stdout] 419 | transform.m, [INFO] [stdout] | ----------- unexpected argument #2 of type `Matrix4x4` [INFO] [stdout] 420 | transform.m_inv, [INFO] [stdout] | --------------- unexpected argument #3 of type `Matrix4x4` [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> src/shapes/base.rs:32:8 [INFO] [stdout] | [INFO] [stdout] 32 | fn collide( [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] help: consider borrowing here [INFO] [stdout] | [INFO] [stdout] 406 | &Ray { [INFO] [stdout] | + [INFO] [stdout] help: remove the extra arguments [INFO] [stdout] | [INFO] [stdout] 406 - Ray { [INFO] [stdout] 407 - a: Point3f { [INFO] [stdout] 408 - x: 0.0, [INFO] [stdout] 409 - y: 0.0, [INFO] [stdout] 410 - z: -5.0, [INFO] [stdout] 411 - }, [INFO] [stdout] 412 - b: Vector3f { [INFO] [stdout] 413 - x: 0.0, [INFO] [stdout] 414 - y: 0.0, [INFO] [stdout] 415 - z: 1.0, [INFO] [stdout] 416 - }, [INFO] [stdout] 417 - time: 0.0, [INFO] [stdout] 418 - }, [INFO] [stdout] 406 + /* &Ray */, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this method 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] | ^^^^^^^ [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] | |_____________- expected `&Ray`, found `Ray` [INFO] [stdout] 457 | transform.m, [INFO] [stdout] | ----------- unexpected argument #2 of type `Matrix4x4` [INFO] [stdout] 458 | transform.m_inv, [INFO] [stdout] | --------------- unexpected argument #3 of type `Matrix4x4` [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> src/shapes/base.rs:32:8 [INFO] [stdout] | [INFO] [stdout] 32 | fn collide( [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] help: consider borrowing here [INFO] [stdout] | [INFO] [stdout] 444 | &Ray { [INFO] [stdout] | + [INFO] [stdout] help: remove the extra arguments [INFO] [stdout] | [INFO] [stdout] 444 - Ray { [INFO] [stdout] 445 - a: Point3f { [INFO] [stdout] 446 - x: 0.0, [INFO] [stdout] 447 - y: 0.0, [INFO] [stdout] 448 - z: 0.0, [INFO] [stdout] 449 - }, [INFO] [stdout] 450 - b: Vector3f { [INFO] [stdout] 451 - x: 0.0, [INFO] [stdout] 452 - y: 1.0, [INFO] [stdout] 453 - z: 0.0, [INFO] [stdout] 454 - }, [INFO] [stdout] 455 - time: 0.0, [INFO] [stdout] 456 - }, [INFO] [stdout] 444 + /* &Ray */, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this method 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] | ^^^^^^^ [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] | |_____________- expected `&Ray`, found `Ray` [INFO] [stdout] 504 | transform.m, [INFO] [stdout] | ----------- unexpected argument #2 of type `Matrix4x4` [INFO] [stdout] 505 | transform.m_inv, [INFO] [stdout] | --------------- unexpected argument #3 of type `Matrix4x4` [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> src/shapes/base.rs:32:8 [INFO] [stdout] | [INFO] [stdout] 32 | fn collide( [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] help: consider borrowing here [INFO] [stdout] | [INFO] [stdout] 495 | &Ray { [INFO] [stdout] | + [INFO] [stdout] help: remove the extra arguments [INFO] [stdout] | [INFO] [stdout] 495 - Ray { [INFO] [stdout] 496 - a: Point3f { [INFO] [stdout] 497 - x: 0.0, [INFO] [stdout] 498 - y: 0.0, [INFO] [stdout] 499 - z: 0.0, [INFO] [stdout] 500 - }, [INFO] [stdout] 501 - b: look_at, [INFO] [stdout] 502 - time: 0.0, [INFO] [stdout] 503 - }, [INFO] [stdout] 495 + /* &Ray */, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0061, E0308. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0061`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rust_ray_tracing` (bin "rust_ray_tracing" test) due to 14 previous errors [INFO] running `Command { std: "docker" "inspect" "2db67c632d41f11dcec9567e77841e1b78916110c11caf3d82258a6bead1a007", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2db67c632d41f11dcec9567e77841e1b78916110c11caf3d82258a6bead1a007", kill_on_drop: false }` [INFO] [stdout] 2db67c632d41f11dcec9567e77841e1b78916110c11caf3d82258a6bead1a007