[INFO] cloning repository https://github.com/higumachan/ray-tracing-in-one-week-rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/higumachan/ray-tracing-in-one-week-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhigumachan%2Fray-tracing-in-one-week-rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhigumachan%2Fray-tracing-in-one-week-rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] a02b658fa79c16ab3da36da43086aae8dbcf491a [INFO] checking higumachan/ray-tracing-in-one-week-rust against master#506512391b1a75ae450d36c9420978402a91abcc for pr-125384 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhigumachan%2Fray-tracing-in-one-week-rust" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/higumachan/ray-tracing-in-one-week-rust on toolchain 506512391b1a75ae450d36c9420978402a91abcc [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+506512391b1a75ae450d36c9420978402a91abcc" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/higumachan/ray-tracing-in-one-week-rust [INFO] finished tweaking git repo https://github.com/higumachan/ray-tracing-in-one-week-rust [INFO] tweaked toml for git repo https://github.com/higumachan/ray-tracing-in-one-week-rust written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/higumachan/ray-tracing-in-one-week-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" "+506512391b1a75ae450d36c9420978402a91abcc" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded unwrap-ord v0.1.1 [INFO] [stderr] Downloaded wasm-bindgen-shared v0.2.71 [INFO] [stderr] Downloaded wasm-bindgen-macro v0.2.71 [INFO] [stderr] Downloaded wasm-bindgen-macro-support v0.2.71 [INFO] [stderr] Downloaded serde v1.0.124 [INFO] [stderr] Downloaded js-sys v0.3.48 [INFO] [stderr] Downloaded wasm-bindgen-backend v0.2.71 [INFO] [stderr] Downloaded wasm-bindgen v0.2.71 [INFO] [stderr] Downloaded libc v0.2.88 [INFO] [stderr] Downloaded web-sys v0.3.48 [INFO] [stderr] Downloaded syn v1.0.62 [INFO] [stderr] Downloaded serde_derive v1.0.124 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:beeedbb442662e57d416641ecc3200b38e573c25b057896194468d05594dd835" "/opt/rustwide/cargo-home/bin/cargo" "+506512391b1a75ae450d36c9420978402a91abcc" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e9e4ea55c8a53e105c21172e0f9a882afb799718fca32356d0d5f6422b29eaf2 [INFO] running `Command { std: "docker" "start" "-a" "e9e4ea55c8a53e105c21172e0f9a882afb799718fca32356d0d5f6422b29eaf2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e9e4ea55c8a53e105c21172e0f9a882afb799718fca32356d0d5f6422b29eaf2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e9e4ea55c8a53e105c21172e0f9a882afb799718fca32356d0d5f6422b29eaf2", kill_on_drop: false }` [INFO] [stdout] e9e4ea55c8a53e105c21172e0f9a882afb799718fca32356d0d5f6422b29eaf2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:beeedbb442662e57d416641ecc3200b38e573c25b057896194468d05594dd835" "/opt/rustwide/cargo-home/bin/cargo" "+506512391b1a75ae450d36c9420978402a91abcc" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5de246d1026f59fa53e0396f908597c5c804f0bfc1113c0ac4cd107559e2445a [INFO] running `Command { std: "docker" "start" "-a" "5de246d1026f59fa53e0396f908597c5c804f0bfc1113c0ac4cd107559e2445a", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.88 [INFO] [stderr] Compiling crossbeam-utils v0.8.3 [INFO] [stderr] Compiling memoffset v0.6.1 [INFO] [stderr] Compiling serde v1.0.124 [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling getrandom v0.2.2 [INFO] [stderr] Compiling rayon-core v1.9.0 [INFO] [stderr] Checking either v1.6.1 [INFO] [stderr] Compiling rayon v1.5.0 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling syn v1.0.62 [INFO] [stderr] Checking byteorder v1.4.2 [INFO] [stderr] Checking itoa v0.4.7 [INFO] [stderr] Compiling cast v0.2.3 [INFO] [stderr] Checking ppv-lite86 v0.2.10 [INFO] [stderr] Compiling serde_derive v1.0.124 [INFO] [stderr] Checking plotters-backend v0.3.0 [INFO] [stderr] Checking itertools v0.9.0 [INFO] [stderr] Checking regex-automata v0.1.9 [INFO] [stderr] Checking itertools v0.10.5 [INFO] [stderr] Checking regex-syntax v0.6.22 [INFO] [stderr] Checking half v1.7.1 [INFO] [stderr] Checking clap v2.33.3 [INFO] [stderr] Checking plotters-svg v0.3.0 [INFO] [stderr] Checking unwrap-ord v0.1.1 [INFO] [stderr] Checking oorandom v11.1.3 [INFO] [stderr] Checking csv-core v0.1.10 [INFO] [stderr] Checking crossbeam-epoch v0.9.3 [INFO] [stderr] Checking crossbeam-channel v0.5.0 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Checking crossbeam-deque v0.8.0 [INFO] [stderr] Checking rand_core v0.6.2 [INFO] [stderr] Checking criterion-plot v0.4.3 [INFO] [stderr] Checking plotters v0.3.0 [INFO] [stderr] Checking rand_chacha v0.3.0 [INFO] [stderr] Checking rand v0.8.3 [INFO] [stderr] Checking regex v1.4.3 [INFO] [stderr] Checking bstr v0.2.15 [INFO] [stderr] Checking serde_json v1.0.64 [INFO] [stderr] Checking serde_cbor v0.11.1 [INFO] [stderr] Checking ray-tracing-in-one-week-rust v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Checking csv v1.1.5 [INFO] [stderr] Checking tinytemplate v1.2.1 [INFO] [stderr] Checking criterion v0.3.4 [INFO] [stdout] error[E0432]: unresolved import `ray_tracing_in_one_week_rust::lambertian` [INFO] [stdout] --> examples/9_6_fuzzy_reflection.rs:6:35 [INFO] [stdout] | [INFO] [stdout] 6 | use ray_tracing_in_one_week_rust::lambertian::Lambertian; [INFO] [stdout] | ^^^^^^^^^^ could not find `lambertian` in `ray_tracing_in_one_week_rust` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `ray_tracing_in_one_week_rust::metal` [INFO] [stdout] --> examples/9_6_fuzzy_reflection.rs:7:35 [INFO] [stdout] | [INFO] [stdout] 7 | use ray_tracing_in_one_week_rust::metal::Metal; [INFO] [stdout] | ^^^^^ could not find `metal` in `ray_tracing_in_one_week_rust` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 3 arguments but 2 arguments were supplied [INFO] [stdout] --> examples/6_7_common_constants_and_utility_functions.rs:38:24 [INFO] [stdout] | [INFO] [stdout] 38 | world.add(Box::new(Sphere::new(Point3::new_z(-1.0), 0.5))); [INFO] [stdout] | ^^^^^^^^^^^-------------------------- an argument of type `Arc<(dyn Material + 'static)>` is missing [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/sphere.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn new(center: Point3, radius: f64, material: Arc) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] help: provide the argument [INFO] [stdout] | [INFO] [stdout] 38 | world.add(Box::new(Sphere::new(Point3::new_z(-1.0), 0.5, /* Arc<(dyn Material + 'static)> */))); [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `ray_tracing_in_one_week_rust::lambertian` [INFO] [stdout] --> examples/9_5_a_scene_with_metal_spheres.rs:6:35 [INFO] [stdout] | [INFO] [stdout] 6 | use ray_tracing_in_one_week_rust::lambertian::Lambertian; [INFO] [stdout] | ^^^^^^^^^^ could not find `lambertian` in `ray_tracing_in_one_week_rust` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `ray_tracing_in_one_week_rust::metal` [INFO] [stdout] --> examples/9_5_a_scene_with_metal_spheres.rs:7:35 [INFO] [stdout] | [INFO] [stdout] 7 | use ray_tracing_in_one_week_rust::metal::Metal; [INFO] [stdout] | ^^^^^ could not find `metal` in `ray_tracing_in_one_week_rust` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 9 arguments but 7 arguments were supplied [INFO] [stdout] --> benches/ray_color.rs:124:18 [INFO] [stdout] | [INFO] [stdout] 124 | let camera = Camera::new( [INFO] [stdout] | __________________^^^^^^^^^^^- [INFO] [stdout] 125 | | look_from, [INFO] [stdout] 126 | | look_at, [INFO] [stdout] 127 | | vup, [INFO] [stdout] ... | [INFO] [stdout] 131 | | dist_to_focus, [INFO] [stdout] 132 | | ); [INFO] [stdout] | |_____- two arguments of type `f64` and `f64` are missing [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/camera.rs:26:12 [INFO] [stdout] | [INFO] [stdout] 26 | pub fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] help: provide the arguments [INFO] [stdout] | [INFO] [stdout] 124 | let camera = Camera::new(look_from, look_at, vup, 20.0, aspect_ratio, aperture, dist_to_focus, /* f64 */, /* f64 */); [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 3 arguments but 2 arguments were supplied [INFO] [stdout] --> examples/7_2_generating_pixels_with_multiple_samples.rs:43:24 [INFO] [stdout] | [INFO] [stdout] 43 | world.add(Box::new(Sphere::new(Point3::new_z(-1.0), 0.5))); [INFO] [stdout] | ^^^^^^^^^^^-------------------------- an argument of type `Arc<(dyn Material + 'static)>` is missing [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/sphere.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn new(center: Point3, radius: f64, material: Arc) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] help: provide the argument [INFO] [stdout] | [INFO] [stdout] 43 | world.add(Box::new(Sphere::new(Point3::new_z(-1.0), 0.5, /* Arc<(dyn Material + 'static)> */))); [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 3 arguments but 2 arguments were supplied [INFO] [stdout] --> examples/5_2_creating_or_first_raytraced_image.rs:59:21 [INFO] [stdout] | [INFO] [stdout] 59 | let r = Ray::new( [INFO] [stdout] | _____________________^^^^^^^^- [INFO] [stdout] 60 | | origin.clone(), [INFO] [stdout] 61 | | &lower_left_corner + &hv + vv - Vector3::from(origin.clone()), [INFO] [stdout] 62 | | ); [INFO] [stdout] | |_____________- an argument of type `f64` is missing [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/ray.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn new(origin: Point3, direction: Vector3, time: f64) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] help: provide the argument [INFO] [stdout] | [INFO] [stdout] 59 | let r = Ray::new(origin.clone(), &lower_left_corner + &hv + vv - Vector3::from(origin.clone()), /* f64 */); [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 9 arguments but 7 arguments were supplied [INFO] [stdout] --> examples/14_1_parallel.rs:127:18 [INFO] [stdout] | [INFO] [stdout] 127 | let camera = Camera::new( [INFO] [stdout] | __________________^^^^^^^^^^^- [INFO] [stdout] 128 | | look_from, [INFO] [stdout] 129 | | look_at, [INFO] [stdout] 130 | | vup, [INFO] [stdout] ... | [INFO] [stdout] 134 | | dist_to_focus, [INFO] [stdout] 135 | | ); [INFO] [stdout] | |_____- two arguments of type `f64` and `f64` are missing [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/camera.rs:26:12 [INFO] [stdout] | [INFO] [stdout] 26 | pub fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] help: provide the arguments [INFO] [stdout] | [INFO] [stdout] 127 | let camera = Camera::new(look_from, look_at, vup, 20.0, aspect_ratio, aperture, dist_to_focus, /* f64 */, /* f64 */); [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 3 arguments but 2 arguments were supplied [INFO] [stdout] --> examples/8_5_true_lambertian_reflection.rs:24:14 [INFO] [stdout] | [INFO] [stdout] 24 | &Ray::new(r.point().clone(), &target - r.point()), [INFO] [stdout] | ^^^^^^^^---------------------------------------- an argument of type `f64` is missing [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/ray.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn new(origin: Point3, direction: Vector3, time: f64) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] help: provide the argument [INFO] [stdout] | [INFO] [stdout] 24 | &Ray::new(r.point().clone(), &target - r.point(), /* f64 */), [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0061`. [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 3 arguments but 2 arguments were supplied [INFO] [stdout] --> examples/8_1_a_simple_diffuse_material.rs:20:14 [INFO] [stdout] | [INFO] [stdout] 20 | &Ray::new(r.point().clone(), &target - r.point()), [INFO] [stdout] | ^^^^^^^^---------------------------------------- an argument of type `f64` is missing [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/ray.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn new(origin: Point3, direction: Vector3, time: f64) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] help: provide the argument [INFO] [stdout] | [INFO] [stdout] 20 | &Ray::new(r.point().clone(), &target - r.point(), /* f64 */), [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0061`. [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> examples/6_7_common_constants_and_utility_functions.rs:38:15 [INFO] [stdout] | [INFO] [stdout] 38 | world.add(Box::new(Sphere::new(Point3::new_z(-1.0), 0.5))); [INFO] [stdout] | --- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `HitObject`, found `Box` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected enum `HitObject` [INFO] [stdout] found struct `Box` [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/hit_objects.rs:54:12 [INFO] [stdout] | [INFO] [stdout] 54 | pub fn add(&mut self, object: HitObject) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `ray-tracing-in-one-week-rust` (example "5_2_creating_or_first_raytraced_image") due to 2 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0061]: this function takes 3 arguments but 2 arguments were supplied [INFO] [stdout] --> examples/6_7_common_constants_and_utility_functions.rs:39:24 [INFO] [stdout] | [INFO] [stdout] 39 | world.add(Box::new(Sphere::new(Point3::new(0.0, -100.5, -1.0), 100.0))); [INFO] [stdout] | ^^^^^^^^^^^--------------------------------------- an argument of type `Arc<(dyn Material + 'static)>` is missing [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/sphere.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn new(center: Point3, radius: f64, material: Arc) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] help: provide the argument [INFO] [stdout] | [INFO] [stdout] 39 | world.add(Box::new(Sphere::new(Point3::new(0.0, -100.5, -1.0), 100.0, /* Arc<(dyn Material + 'static)> */))); [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 3 arguments but 2 arguments were supplied [INFO] [stdout] --> examples/8_5_true_lambertian_reflection.rs:58:24 [INFO] [stdout] | [INFO] [stdout] 58 | world.add(Box::new(Sphere::new(Point3::new_z(-1.0), 0.5))); [INFO] [stdout] | ^^^^^^^^^^^-------------------------- an argument of type `Arc<(dyn Material + 'static)>` is missing [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/sphere.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn new(center: Point3, radius: f64, material: Arc) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] help: provide the argument [INFO] [stdout] | [INFO] [stdout] 58 | world.add(Box::new(Sphere::new(Point3::new_z(-1.0), 0.5, /* Arc<(dyn Material + 'static)> */))); [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> examples/7_2_generating_pixels_with_multiple_samples.rs:43:15 [INFO] [stdout] | [INFO] [stdout] 43 | world.add(Box::new(Sphere::new(Point3::new_z(-1.0), 0.5))); [INFO] [stdout] | --- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `HitObject`, found `Box` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected enum `HitObject` [INFO] [stdout] found struct `Box` [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/hit_objects.rs:54:12 [INFO] [stdout] | [INFO] [stdout] 54 | pub fn add(&mut self, object: HitObject) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0061`. [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> examples/6_7_common_constants_and_utility_functions.rs:39:15 [INFO] [stdout] | [INFO] [stdout] 39 | world.add(Box::new(Sphere::new(Point3::new(0.0, -100.5, -1.0), 100.0))); [INFO] [stdout] | --- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `HitObject`, found `Box` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected enum `HitObject` [INFO] [stdout] found struct `Box` [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/hit_objects.rs:54:12 [INFO] [stdout] | [INFO] [stdout] 54 | pub fn add(&mut self, object: HitObject) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 3 arguments but 2 arguments were supplied [INFO] [stdout] --> examples/7_2_generating_pixels_with_multiple_samples.rs:44:24 [INFO] [stdout] | [INFO] [stdout] 44 | world.add(Box::new(Sphere::new(Point3::new(0.0, -100.5, -1.0), 100.0))); [INFO] [stdout] | ^^^^^^^^^^^--------------------------------------- an argument of type `Arc<(dyn Material + 'static)>` is missing [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/sphere.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn new(center: Point3, radius: f64, material: Arc) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] help: provide the argument [INFO] [stdout] | [INFO] [stdout] 44 | world.add(Box::new(Sphere::new(Point3::new(0.0, -100.5, -1.0), 100.0, /* Arc<(dyn Material + 'static)> */))); [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 3 arguments but 2 arguments were supplied [INFO] [stdout] --> examples/8_1_a_simple_diffuse_material.rs:52:24 [INFO] [stdout] | [INFO] [stdout] 52 | world.add(Box::new(Sphere::new(Point3::new_z(-1.0), 0.5))); [INFO] [stdout] | ^^^^^^^^^^^-------------------------- an argument of type `Arc<(dyn Material + 'static)>` is missing [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/sphere.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn new(center: Point3, radius: f64, material: Arc) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] help: provide the argument [INFO] [stdout] | [INFO] [stdout] 52 | world.add(Box::new(Sphere::new(Point3::new_z(-1.0), 0.5, /* Arc<(dyn Material + 'static)> */))); [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `ray-tracing-in-one-week-rust` (bench "ray_color") due to 2 previous errors [INFO] [stdout] error[E0061]: this method takes 3 arguments but 2 arguments were supplied [INFO] [stdout] --> examples/9_6_fuzzy_reflection.rs:26:18 [INFO] [stdout] | [INFO] [stdout] 26 | .scatter(ray, &r) [INFO] [stdout] | ^^^^^^^ --- an argument of type `&mut ThreadRng` is missing [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/material/material.rs:24:8 [INFO] [stdout] | [INFO] [stdout] 24 | fn scatter( [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] help: provide the argument [INFO] [stdout] | [INFO] [stdout] 26 | .scatter(/* &mut ThreadRng */, ray, &r) [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 9 arguments but 7 arguments were supplied [INFO] [stdout] --> benches/world_hit.rs:89:18 [INFO] [stdout] | [INFO] [stdout] 89 | let camera = Camera::new( [INFO] [stdout] | __________________^^^^^^^^^^^- [INFO] [stdout] 90 | | look_from, [INFO] [stdout] 91 | | look_at, [INFO] [stdout] 92 | | vup, [INFO] [stdout] ... | [INFO] [stdout] 96 | | dist_to_focus, [INFO] [stdout] 97 | | ); [INFO] [stdout] | |_____- two arguments of type `f64` and `f64` are missing [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/camera.rs:26:12 [INFO] [stdout] | [INFO] [stdout] 26 | pub fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] help: provide the arguments [INFO] [stdout] | [INFO] [stdout] 89 | let camera = Camera::new(look_from, look_at, vup, 20.0, aspect_ratio, aperture, dist_to_focus, /* f64 */, /* f64 */); [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this method takes 3 arguments but 2 arguments were supplied [INFO] [stdout] --> examples/9_5_a_scene_with_metal_spheres.rs:26:18 [INFO] [stdout] | [INFO] [stdout] 26 | .scatter(ray, &r) [INFO] [stdout] | ^^^^^^^ --- an argument of type `&mut ThreadRng` is missing [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/material/material.rs:24:8 [INFO] [stdout] | [INFO] [stdout] 24 | fn scatter( [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] help: provide the argument [INFO] [stdout] | [INFO] [stdout] 26 | .scatter(/* &mut ThreadRng */, ray, &r) [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> examples/7_2_generating_pixels_with_multiple_samples.rs:44:15 [INFO] [stdout] | [INFO] [stdout] 44 | world.add(Box::new(Sphere::new(Point3::new(0.0, -100.5, -1.0), 100.0))); [INFO] [stdout] | --- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `HitObject`, found `Box` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected enum `HitObject` [INFO] [stdout] found struct `Box` [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/hit_objects.rs:54:12 [INFO] [stdout] | [INFO] [stdout] 54 | pub fn add(&mut self, object: HitObject) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 3 arguments but 2 arguments were supplied [INFO] [stdout] --> examples/6_7_common_constants_and_utility_functions.rs:68:21 [INFO] [stdout] | [INFO] [stdout] 68 | let r = Ray::new( [INFO] [stdout] | _____________________^^^^^^^^- [INFO] [stdout] 69 | | origin.clone(), [INFO] [stdout] 70 | | &lower_left_corner + &hv + vv - Vector3::from(origin.clone()), [INFO] [stdout] 71 | | ); [INFO] [stdout] | |_____________- an argument of type `f64` is missing [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/ray.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn new(origin: Point3, direction: Vector3, time: f64) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] help: provide the argument [INFO] [stdout] | [INFO] [stdout] 68 | let r = Ray::new(origin.clone(), &lower_left_corner + &hv + vv - Vector3::from(origin.clone()), /* f64 */); [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `ray-tracing-in-one-week-rust` (example "14_1_parallel") due to 2 previous errors [INFO] [stdout] error: aborting due to 5 previous errors [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] [stdout] error[E0061]: this method takes 3 arguments but 2 arguments were supplied [INFO] [stdout] --> examples/7_2_generating_pixels_with_multiple_samples.rs:62:36 [INFO] [stdout] | [INFO] [stdout] 62 | let r = camera.ray(u, v); [INFO] [stdout] | ^^^ - an argument of type `&mut _` is missing [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/camera.rs:67:12 [INFO] [stdout] | [INFO] [stdout] 67 | pub fn ray(&self, rng: &mut R, s: f64, t: f64) -> Ray { [INFO] [stdout] | ^^^ [INFO] [stdout] help: provide the argument [INFO] [stdout] | [INFO] [stdout] 62 | let r = camera.ray(/* rng */, v, u); [INFO] [stdout] | ~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> examples/10_3_total_internal_reflection.rs:65:9 [INFO] [stdout] | [INFO] [stdout] 62 | world.add(Box::new(Sphere::new( [INFO] [stdout] | ----------- arguments to this function are incorrect [INFO] [stdout] ... [INFO] [stdout] 65 | material_ground, [INFO] [stdout] | ^^^^^^^^^^^^^^^ expected `Arc`, found `Rc` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Arc<(dyn Material + 'static)>` [INFO] [stdout] found struct `Rc` [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/sphere.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn new(center: Point3, radius: f64, material: Arc) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> examples/8_5_true_lambertian_reflection.rs:58:15 [INFO] [stdout] | [INFO] [stdout] 58 | world.add(Box::new(Sphere::new(Point3::new_z(-1.0), 0.5))); [INFO] [stdout] | --- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `HitObject`, found `Box` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected enum `HitObject` [INFO] [stdout] found struct `Box` [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/hit_objects.rs:54:12 [INFO] [stdout] | [INFO] [stdout] 54 | pub fn add(&mut self, object: HitObject) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 3 arguments but 2 arguments were supplied [INFO] [stdout] --> examples/8_5_true_lambertian_reflection.rs:59:24 [INFO] [stdout] | [INFO] [stdout] 59 | world.add(Box::new(Sphere::new(Point3::new(0.0, -100.5, -1.0), 100.0))); [INFO] [stdout] | ^^^^^^^^^^^--------------------------------------- an argument of type `Arc<(dyn Material + 'static)>` is missing [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/sphere.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn new(center: Point3, radius: f64, material: Arc) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] help: provide the argument [INFO] [stdout] | [INFO] [stdout] 59 | world.add(Box::new(Sphere::new(Point3::new(0.0, -100.5, -1.0), 100.0, /* Arc<(dyn Material + 'static)> */))); [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> examples/10_3_total_internal_reflection.rs:62:15 [INFO] [stdout] | [INFO] [stdout] 62 | world.add(Box::new(Sphere::new( [INFO] [stdout] | ___________---_^ [INFO] [stdout] | | | [INFO] [stdout] | | arguments to this method are incorrect [INFO] [stdout] 63 | | Point3::new(0.0, -100.5, -1.0), [INFO] [stdout] 64 | | 100.0, [INFO] [stdout] 65 | | material_ground, [INFO] [stdout] 66 | | ))); [INFO] [stdout] | |______^ expected `HitObject`, found `Box` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `HitObject` [INFO] [stdout] found struct `Box` [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/hit_objects.rs:54:12 [INFO] [stdout] | [INFO] [stdout] 54 | pub fn add(&mut self, object: HitObject) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `ray-tracing-in-one-week-rust` (example "6_7_common_constants_and_utility_functions") due to 6 previous errors [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> examples/8_1_a_simple_diffuse_material.rs:52:15 [INFO] [stdout] | [INFO] [stdout] 52 | world.add(Box::new(Sphere::new(Point3::new_z(-1.0), 0.5))); [INFO] [stdout] | --- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `HitObject`, found `Box` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected enum `HitObject` [INFO] [stdout] found struct `Box` [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/hit_objects.rs:54:12 [INFO] [stdout] | [INFO] [stdout] 54 | pub fn add(&mut self, object: HitObject) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> examples/10_3_total_internal_reflection.rs:70:9 [INFO] [stdout] | [INFO] [stdout] 67 | world.add(Box::new(Sphere::new( [INFO] [stdout] | ----------- arguments to this function are incorrect [INFO] [stdout] ... [INFO] [stdout] 70 | material_center, [INFO] [stdout] | ^^^^^^^^^^^^^^^ expected `Arc`, found `Rc` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Arc<(dyn Material + 'static)>` [INFO] [stdout] found struct `Rc` [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/sphere.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn new(center: Point3, radius: f64, material: Arc) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 3 arguments but 2 arguments were supplied [INFO] [stdout] --> examples/8_1_a_simple_diffuse_material.rs:53:24 [INFO] [stdout] | [INFO] [stdout] 53 | world.add(Box::new(Sphere::new(Point3::new(0.0, -100.5, -1.0), 100.0))); [INFO] [stdout] | ^^^^^^^^^^^--------------------------------------- an argument of type `Arc<(dyn Material + 'static)>` is missing [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/sphere.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn new(center: Point3, radius: f64, material: Arc) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] help: provide the argument [INFO] [stdout] | [INFO] [stdout] 53 | world.add(Box::new(Sphere::new(Point3::new(0.0, -100.5, -1.0), 100.0, /* Arc<(dyn Material + 'static)> */))); [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0061`. [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> examples/8_5_true_lambertian_reflection.rs:59:15 [INFO] [stdout] | [INFO] [stdout] 59 | world.add(Box::new(Sphere::new(Point3::new(0.0, -100.5, -1.0), 100.0))); [INFO] [stdout] | --- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `HitObject`, found `Box` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected enum `HitObject` [INFO] [stdout] found struct `Box` [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/hit_objects.rs:54:12 [INFO] [stdout] | [INFO] [stdout] 54 | pub fn add(&mut self, object: HitObject) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors [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] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> examples/10_3_total_internal_reflection.rs:67:15 [INFO] [stdout] | [INFO] [stdout] 67 | world.add(Box::new(Sphere::new( [INFO] [stdout] | ___________---_^ [INFO] [stdout] | | | [INFO] [stdout] | | arguments to this method are incorrect [INFO] [stdout] 68 | | Point3::new_z(-1.0), [INFO] [stdout] 69 | | 0.5, [INFO] [stdout] 70 | | material_center, [INFO] [stdout] 71 | | ))); [INFO] [stdout] | |______^ expected `HitObject`, found `Box` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `HitObject` [INFO] [stdout] found struct `Box` [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/hit_objects.rs:54:12 [INFO] [stdout] | [INFO] [stdout] 54 | pub fn add(&mut self, object: HitObject) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> examples/10_3_total_internal_reflection.rs:75:9 [INFO] [stdout] | [INFO] [stdout] 72 | world.add(Box::new(Sphere::new( [INFO] [stdout] | ----------- arguments to this function are incorrect [INFO] [stdout] ... [INFO] [stdout] 75 | material_left, [INFO] [stdout] | ^^^^^^^^^^^^^ expected `Arc`, found `Rc` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Arc<(dyn Material + 'static)>` [INFO] [stdout] found struct `Rc` [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/sphere.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn new(center: Point3, radius: f64, material: Arc) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> examples/8_1_a_simple_diffuse_material.rs:53:15 [INFO] [stdout] | [INFO] [stdout] 53 | world.add(Box::new(Sphere::new(Point3::new(0.0, -100.5, -1.0), 100.0))); [INFO] [stdout] | --- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `HitObject`, found `Box` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected enum `HitObject` [INFO] [stdout] found struct `Box` [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/hit_objects.rs:54:12 [INFO] [stdout] | [INFO] [stdout] 54 | pub fn add(&mut self, object: HitObject) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `ray-tracing-in-one-week-rust` (bench "world_hit") due to 2 previous errors [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> examples/10_3_total_internal_reflection.rs:72:15 [INFO] [stdout] | [INFO] [stdout] 72 | world.add(Box::new(Sphere::new( [INFO] [stdout] | ___________---_^ [INFO] [stdout] | | | [INFO] [stdout] | | arguments to this method are incorrect [INFO] [stdout] 73 | | Point3::new(-1.0, 0.0, -1.0), [INFO] [stdout] 74 | | 0.5, [INFO] [stdout] 75 | | material_left, [INFO] [stdout] 76 | | ))); [INFO] [stdout] | |______^ expected `HitObject`, found `Box` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `HitObject` [INFO] [stdout] found struct `Box` [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/hit_objects.rs:54:12 [INFO] [stdout] | [INFO] [stdout] 54 | pub fn add(&mut self, object: HitObject) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this method takes 3 arguments but 2 arguments were supplied [INFO] [stdout] --> examples/8_5_true_lambertian_reflection.rs:77:36 [INFO] [stdout] | [INFO] [stdout] 77 | let r = camera.ray(u, v); [INFO] [stdout] | ^^^ - an argument of type `&mut _` is missing [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/camera.rs:67:12 [INFO] [stdout] | [INFO] [stdout] 67 | pub fn ray(&self, rng: &mut R, s: f64, t: f64) -> Ray { [INFO] [stdout] | ^^^ [INFO] [stdout] help: provide the argument [INFO] [stdout] | [INFO] [stdout] 77 | let r = camera.ray(/* rng */, v, u); [INFO] [stdout] | ~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> examples/10_3_total_internal_reflection.rs:80:9 [INFO] [stdout] | [INFO] [stdout] 77 | world.add(Box::new(Sphere::new( [INFO] [stdout] | ----------- arguments to this function are incorrect [INFO] [stdout] ... [INFO] [stdout] 80 | material_right, [INFO] [stdout] | ^^^^^^^^^^^^^^ expected `Arc`, found `Rc` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Arc<(dyn Material + 'static)>` [INFO] [stdout] found struct `Rc` [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/sphere.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn new(center: Point3, radius: f64, material: Arc) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `ray-tracing-in-one-week-rust` (example "7_2_generating_pixels_with_multiple_samples") due to 6 previous errors [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> examples/10_3_total_internal_reflection.rs:77:15 [INFO] [stdout] | [INFO] [stdout] 77 | world.add(Box::new(Sphere::new( [INFO] [stdout] | ___________---_^ [INFO] [stdout] | | | [INFO] [stdout] | | arguments to this method are incorrect [INFO] [stdout] 78 | | Point3::new(1.0, 0.0, -1.0), [INFO] [stdout] 79 | | 0.5, [INFO] [stdout] 80 | | material_right, [INFO] [stdout] 81 | | ))); [INFO] [stdout] | |______^ expected `HitObject`, found `Box` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `HitObject` [INFO] [stdout] found struct `Box` [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/hit_objects.rs:54:12 [INFO] [stdout] | [INFO] [stdout] 54 | pub fn add(&mut self, object: HitObject) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this method takes 3 arguments but 2 arguments were supplied [INFO] [stdout] --> examples/8_1_a_simple_diffuse_material.rs:71:36 [INFO] [stdout] | [INFO] [stdout] 71 | let r = camera.ray(u, v); [INFO] [stdout] | ^^^ - an argument of type `&mut _` is missing [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/camera.rs:67:12 [INFO] [stdout] | [INFO] [stdout] 67 | pub fn ray(&self, rng: &mut R, s: f64, t: f64) -> Ray { [INFO] [stdout] | ^^^ [INFO] [stdout] help: provide the argument [INFO] [stdout] | [INFO] [stdout] 71 | let r = camera.ray(/* rng */, v, u); [INFO] [stdout] | ~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> examples/9_5_a_scene_with_metal_spheres.rs:71:15 [INFO] [stdout] | [INFO] [stdout] 71 | world.add(Box::new(Sphere::new( [INFO] [stdout] | ___________---_^ [INFO] [stdout] | | | [INFO] [stdout] | | arguments to this method are incorrect [INFO] [stdout] 72 | | Point3::new(0.0, -100.5, -1.0), [INFO] [stdout] 73 | | 100.0, [INFO] [stdout] 74 | | material_ground, [INFO] [stdout] 75 | | ))); [INFO] [stdout] | |______^ expected `HitObject`, found `Box` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `HitObject` [INFO] [stdout] found struct `Box` [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/hit_objects.rs:54:12 [INFO] [stdout] | [INFO] [stdout] 54 | pub fn add(&mut self, object: HitObject) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors [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] [stdout] error[E0061]: this method takes 3 arguments but 2 arguments were supplied [INFO] [stdout] --> examples/10_3_total_internal_reflection.rs:99:36 [INFO] [stdout] | [INFO] [stdout] 99 | let r = camera.ray(u, v); [INFO] [stdout] | ^^^ - an argument of type `&mut _` is missing [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/camera.rs:67:12 [INFO] [stdout] | [INFO] [stdout] 67 | pub fn ray(&self, rng: &mut R, s: f64, t: f64) -> Ray { [INFO] [stdout] | ^^^ [INFO] [stdout] help: provide the argument [INFO] [stdout] | [INFO] [stdout] 99 | let r = camera.ray(/* rng */, v, u); [INFO] [stdout] | ~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors [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] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> examples/9_5_a_scene_with_metal_spheres.rs:76:15 [INFO] [stdout] | [INFO] [stdout] 76 | world.add(Box::new(Sphere::new( [INFO] [stdout] | ___________---_^ [INFO] [stdout] | | | [INFO] [stdout] | | arguments to this method are incorrect [INFO] [stdout] 77 | | Point3::new_z(-1.0), [INFO] [stdout] 78 | | 0.5, [INFO] [stdout] 79 | | material_center, [INFO] [stdout] 80 | | ))); [INFO] [stdout] | |______^ expected `HitObject`, found `Box` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `HitObject` [INFO] [stdout] found struct `Box` [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/hit_objects.rs:54:12 [INFO] [stdout] | [INFO] [stdout] 54 | pub fn add(&mut self, object: HitObject) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> examples/9_6_fuzzy_reflection.rs:71:15 [INFO] [stdout] | [INFO] [stdout] 71 | world.add(Box::new(Sphere::new( [INFO] [stdout] | ___________---_^ [INFO] [stdout] | | | [INFO] [stdout] | | arguments to this method are incorrect [INFO] [stdout] 72 | | Point3::new(0.0, -100.5, -1.0), [INFO] [stdout] 73 | | 100.0, [INFO] [stdout] 74 | | material_ground, [INFO] [stdout] 75 | | ))); [INFO] [stdout] | |______^ expected `HitObject`, found `Box` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `HitObject` [INFO] [stdout] found struct `Box` [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/hit_objects.rs:54:12 [INFO] [stdout] | [INFO] [stdout] 54 | pub fn add(&mut self, object: HitObject) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `ray-tracing-in-one-week-rust` (example "8_5_true_lambertian_reflection") due to 7 previous errors [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> examples/9_5_a_scene_with_metal_spheres.rs:81:15 [INFO] [stdout] | [INFO] [stdout] 81 | world.add(Box::new(Sphere::new( [INFO] [stdout] | ___________---_^ [INFO] [stdout] | | | [INFO] [stdout] | | arguments to this method are incorrect [INFO] [stdout] 82 | | Point3::new(-1.0, 0.0, -1.0), [INFO] [stdout] 83 | | 0.5, [INFO] [stdout] 84 | | material_left, [INFO] [stdout] 85 | | ))); [INFO] [stdout] | |______^ expected `HitObject`, found `Box` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `HitObject` [INFO] [stdout] found struct `Box` [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/hit_objects.rs:54:12 [INFO] [stdout] | [INFO] [stdout] 54 | pub fn add(&mut self, object: HitObject) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 9 previous errors [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 `ray-tracing-in-one-week-rust` (example "8_1_a_simple_diffuse_material") due to 7 previous errors [INFO] [stdout] error[E0061]: this function takes 3 arguments but 2 arguments were supplied [INFO] [stdout] --> examples/6_1_shading_with_surface_normals.rs:60:21 [INFO] [stdout] | [INFO] [stdout] 60 | let r = Ray::new( [INFO] [stdout] | _____________________^^^^^^^^- [INFO] [stdout] 61 | | origin.clone(), [INFO] [stdout] 62 | | &lower_left_corner + &hv + vv - Vector3::from(origin.clone()), [INFO] [stdout] 63 | | ); [INFO] [stdout] | |_____________- an argument of type `f64` is missing [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/ray.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn new(origin: Point3, direction: Vector3, time: f64) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] help: provide the argument [INFO] [stdout] | [INFO] [stdout] 60 | let r = Ray::new(origin.clone(), &lower_left_corner + &hv + vv - Vector3::from(origin.clone()), /* f64 */); [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> examples/9_6_fuzzy_reflection.rs:76:15 [INFO] [stdout] | [INFO] [stdout] 76 | world.add(Box::new(Sphere::new( [INFO] [stdout] | ___________---_^ [INFO] [stdout] | | | [INFO] [stdout] | | arguments to this method are incorrect [INFO] [stdout] 77 | | Point3::new_z(-1.0), [INFO] [stdout] 78 | | 0.5, [INFO] [stdout] 79 | | material_center, [INFO] [stdout] 80 | | ))); [INFO] [stdout] | |______^ expected `HitObject`, found `Box` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `HitObject` [INFO] [stdout] found struct `Box` [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/hit_objects.rs:54:12 [INFO] [stdout] | [INFO] [stdout] 54 | pub fn add(&mut self, object: HitObject) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> examples/9_5_a_scene_with_metal_spheres.rs:86:15 [INFO] [stdout] | [INFO] [stdout] 86 | world.add(Box::new(Sphere::new( [INFO] [stdout] | ___________---_^ [INFO] [stdout] | | | [INFO] [stdout] | | arguments to this method are incorrect [INFO] [stdout] 87 | | Point3::new(1.0, 0.0, -1.0), [INFO] [stdout] 88 | | 0.5, [INFO] [stdout] 89 | | material_right, [INFO] [stdout] 90 | | ))); [INFO] [stdout] | |______^ expected `HitObject`, found `Box` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `HitObject` [INFO] [stdout] found struct `Box` [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/hit_objects.rs:54:12 [INFO] [stdout] | [INFO] [stdout] 54 | pub fn add(&mut self, object: HitObject) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0061`. [INFO] [stdout] [INFO] [stderr] error: could not compile `ray-tracing-in-one-week-rust` (example "10_3_total_internal_reflection") due to 10 previous errors [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> examples/9_6_fuzzy_reflection.rs:81:15 [INFO] [stdout] | [INFO] [stdout] 81 | world.add(Box::new(Sphere::new( [INFO] [stdout] | ___________---_^ [INFO] [stdout] | | | [INFO] [stdout] | | arguments to this method are incorrect [INFO] [stdout] 82 | | Point3::new(-1.0, 0.0, -1.0), [INFO] [stdout] 83 | | 0.5, [INFO] [stdout] 84 | | material_left, [INFO] [stdout] 85 | | ))); [INFO] [stdout] | |______^ expected `HitObject`, found `Box` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `HitObject` [INFO] [stdout] found struct `Box` [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/hit_objects.rs:54:12 [INFO] [stdout] | [INFO] [stdout] 54 | pub fn add(&mut self, object: HitObject) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this method takes 3 arguments but 2 arguments were supplied [INFO] [stdout] --> examples/9_5_a_scene_with_metal_spheres.rs:108:36 [INFO] [stdout] | [INFO] [stdout] 108 | let r = camera.ray(u, v); [INFO] [stdout] | ^^^ - an argument of type `&mut _` is missing [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/camera.rs:67:12 [INFO] [stdout] | [INFO] [stdout] 67 | pub fn ray(&self, rng: &mut R, s: f64, t: f64) -> Ray { [INFO] [stdout] | ^^^ [INFO] [stdout] help: provide the argument [INFO] [stdout] | [INFO] [stdout] 108 | let r = camera.ray(/* rng */, v, u); [INFO] [stdout] | ~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `ray-tracing-in-one-week-rust` (example "6_1_shading_with_surface_normals") due to 2 previous errors [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> examples/9_6_fuzzy_reflection.rs:86:15 [INFO] [stdout] | [INFO] [stdout] 86 | world.add(Box::new(Sphere::new( [INFO] [stdout] | ___________---_^ [INFO] [stdout] | | | [INFO] [stdout] | | arguments to this method are incorrect [INFO] [stdout] 87 | | Point3::new(1.0, 0.0, -1.0), [INFO] [stdout] 88 | | 0.5, [INFO] [stdout] 89 | | material_right, [INFO] [stdout] 90 | | ))); [INFO] [stdout] | |______^ expected `HitObject`, found `Box` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `HitObject` [INFO] [stdout] found struct `Box` [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/hit_objects.rs:54:12 [INFO] [stdout] | [INFO] [stdout] 54 | pub fn add(&mut self, object: HitObject) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 8 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0061, E0308, E0432. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0061`. [INFO] [stdout] [INFO] [stdout] error[E0061]: this method takes 3 arguments but 2 arguments were supplied [INFO] [stdout] --> examples/9_6_fuzzy_reflection.rs:108:36 [INFO] [stdout] | [INFO] [stdout] 108 | let r = camera.ray(u, v); [INFO] [stdout] | ^^^ - an argument of type `&mut _` is missing [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/camera.rs:67:12 [INFO] [stdout] | [INFO] [stdout] 67 | pub fn ray(&self, rng: &mut R, s: f64, t: f64) -> Ray { [INFO] [stdout] | ^^^ [INFO] [stdout] help: provide the argument [INFO] [stdout] | [INFO] [stdout] 108 | let r = camera.ray(/* rng */, v, u); [INFO] [stdout] | ~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 8 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0061, E0308, E0432. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0061`. [INFO] [stdout] [INFO] [stderr] error: could not compile `ray-tracing-in-one-week-rust` (example "9_5_a_scene_with_metal_spheres") due to 9 previous errors [INFO] [stderr] error: could not compile `ray-tracing-in-one-week-rust` (example "9_6_fuzzy_reflection") due to 9 previous errors [INFO] running `Command { std: "docker" "inspect" "5de246d1026f59fa53e0396f908597c5c804f0bfc1113c0ac4cd107559e2445a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5de246d1026f59fa53e0396f908597c5c804f0bfc1113c0ac4cd107559e2445a", kill_on_drop: false }` [INFO] [stdout] 5de246d1026f59fa53e0396f908597c5c804f0bfc1113c0ac4cd107559e2445a