[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] 41ca2bc4e396c40e30b0abd2d05c0792426b1d68 [INFO] checking higumachan/ray-tracing-in-one-week-rust against master#5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f for pr-87248 [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-1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/higumachan/ray-tracing-in-one-week-rust on toolchain 5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "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-1/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: "/workspace/cargo-home/bin/cargo" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0d77f1132a5bfaee3547189aac7002b9651828e08040087aa03ce75d52af1d82 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "0d77f1132a5bfaee3547189aac7002b9651828e08040087aa03ce75d52af1d82", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0d77f1132a5bfaee3547189aac7002b9651828e08040087aa03ce75d52af1d82", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0d77f1132a5bfaee3547189aac7002b9651828e08040087aa03ce75d52af1d82", kill_on_drop: false }` [INFO] [stdout] 0d77f1132a5bfaee3547189aac7002b9651828e08040087aa03ce75d52af1d82 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] be12025986c1c1e1cc2647f1ddee86a80b2c29ea7e7286a248416a508793ca99 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "be12025986c1c1e1cc2647f1ddee86a80b2c29ea7e7286a248416a508793ca99", kill_on_drop: false }` [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling getrandom v0.2.2 [INFO] [stderr] Compiling syn v1.0.62 [INFO] [stderr] Checking ppv-lite86 v0.2.10 [INFO] [stderr] Compiling serde_derive v1.0.124 [INFO] [stderr] Checking unwrap-ord v0.1.1 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Checking itertools v0.10.0 [INFO] [stderr] Checking regex v1.4.3 [INFO] [stderr] Checking serde_cbor v0.11.1 [INFO] [stderr] Checking serde_json v1.0.64 [INFO] [stderr] Checking clap v2.33.3 [INFO] [stderr] Checking crossbeam-utils v0.8.3 [INFO] [stderr] Checking bstr v0.2.15 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Checking crossbeam-epoch v0.9.3 [INFO] [stderr] Checking crossbeam-channel v0.5.0 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Checking rand_core v0.6.2 [INFO] [stderr] Compiling cast v0.2.3 [INFO] [stderr] Checking rand_chacha v0.3.0 [INFO] [stderr] Checking crossbeam-deque v0.8.0 [INFO] [stderr] Checking csv v1.1.5 [INFO] [stderr] Checking tinytemplate v1.2.1 [INFO] [stderr] Checking rand v0.8.3 [INFO] [stderr] Checking rayon-core v1.9.0 [INFO] [stderr] Checking criterion-plot v0.4.3 [INFO] [stderr] Checking plotters v0.3.0 [INFO] [stderr] Checking rayon v1.5.0 [INFO] [stderr] Checking ray-tracing-in-one-week-rust v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::cmp::min` [INFO] [stdout] --> src/bvh/aabb.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::cmp::min; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::mem::swap` [INFO] [stdout] --> src/bvh/aabb.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::mem::swap; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Div`, `Sub` [INFO] [stdout] --> src/bvh/aabb.rs:5:16 [INFO] [stdout] | [INFO] [stdout] 5 | use std::ops::{Div, Sub}; [INFO] [stdout] | ^^^ ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::sync::Arc` [INFO] [stdout] --> src/bvh/node.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use std::sync::Arc; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::rc::Rc` [INFO] [stdout] --> src/hit.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::rc::Rc; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `RngCore` [INFO] [stdout] --> src/material/dielectric.rs:6:17 [INFO] [stdout] | [INFO] [stdout] 6 | use rand::{Rng, RngCore}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `RngCore`, `thread_rng` [INFO] [stdout] --> src/material/lambertian.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | use rand::{thread_rng, RngCore}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::cell::RefCell` [INFO] [stdout] --> src/material/lambertian.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use std::cell::RefCell; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ops::DerefMut` [INFO] [stdout] --> src/material/lambertian.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use std::ops::DerefMut; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rand::RngCore` [INFO] [stdout] --> src/material/material.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use rand::RngCore; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `RngCore`, `thread_rng` [INFO] [stdout] --> src/material/metal.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | use rand::{thread_rng, RngCore}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::cell::RefCell` [INFO] [stdout] --> src/material/metal.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use std::cell::RefCell; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ops::DerefMut` [INFO] [stdout] --> src/material/metal.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use std::ops::DerefMut; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `DerefMut`, `Deref` [INFO] [stdout] --> src/vector3.rs:6:32 [INFO] [stdout] | [INFO] [stdout] 6 | use std::ops::{Add, AddAssign, Deref, DerefMut, Div, Mul, MulAssign, Neg, Range, Sub, SubAssign}; [INFO] [stdout] | ^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `point` [INFO] [stdout] --> src/bvh/node.rs:31:31 [INFO] [stdout] | [INFO] [stdout] 31 | fn nearest_squared(&self, point: &Point3) -> f64 { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_point` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `point` [INFO] [stdout] --> src/bvh/node.rs:35:30 [INFO] [stdout] | [INFO] [stdout] 35 | fn farest_squared(&self, point: &Point3) -> f64 { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_point` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `point` [INFO] [stdout] --> src/bvh/node.rs:163:31 [INFO] [stdout] | [INFO] [stdout] 163 | fn nearest_squared(&self, point: &Point3) -> f64 { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_point` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `point` [INFO] [stdout] --> src/bvh/node.rs:167:30 [INFO] [stdout] | [INFO] [stdout] 167 | fn farest_squared(&self, point: &Point3) -> f64 { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_point` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `point` [INFO] [stdout] --> src/hit_objects.rs:31:31 [INFO] [stdout] | [INFO] [stdout] 31 | fn nearest_squared(&self, point: &Point3) -> f64 { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_point` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `point` [INFO] [stdout] --> src/hit_objects.rs:35:30 [INFO] [stdout] | [INFO] [stdout] 35 | fn farest_squared(&self, point: &Point3) -> f64 { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_point` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `point` [INFO] [stdout] --> src/hit_objects.rs:95:31 [INFO] [stdout] | [INFO] [stdout] 95 | fn nearest_squared(&self, point: &Point3) -> f64 { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_point` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `point` [INFO] [stdout] --> src/hit_objects.rs:99:30 [INFO] [stdout] | [INFO] [stdout] 99 | fn farest_squared(&self, point: &Point3) -> f64 { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_point` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `point` [INFO] [stdout] --> src/moving_sphere.rs:32:31 [INFO] [stdout] | [INFO] [stdout] 32 | fn nearest_squared(&self, point: &Point3) -> f64 { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_point` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `point` [INFO] [stdout] --> src/moving_sphere.rs:36:30 [INFO] [stdout] | [INFO] [stdout] 36 | fn farest_squared(&self, point: &Point3) -> f64 { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_point` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `u` [INFO] [stdout] --> src/texture/solid_color.rs:16:21 [INFO] [stdout] | [INFO] [stdout] 16 | fn value(&self, u: f64, v: f64, p: &Point3) -> Color { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_u` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `v` [INFO] [stdout] --> src/texture/solid_color.rs:16:29 [INFO] [stdout] | [INFO] [stdout] 16 | fn value(&self, u: f64, v: f64, p: &Point3) -> Color { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_v` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `p` [INFO] [stdout] --> src/texture/solid_color.rs:16:37 [INFO] [stdout] | [INFO] [stdout] 16 | fn value(&self, u: f64, v: f64, p: &Point3) -> Color { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_p` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `w` [INFO] [stdout] --> src/camera.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | w: Vector3, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 28 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking criterion v0.3.4 [INFO] [stdout] warning: unused import: `std::thread::sleep` [INFO] [stdout] --> examples/6_1_shading_with_surface_normals.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::thread::sleep; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::time::Duration` [INFO] [stdout] --> examples/6_1_shading_with_surface_normals.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::time::Duration; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [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] | ^^^^^^^^ expected 3 arguments [INFO] [stdout] 61 | origin.clone(), [INFO] [stdout] | -------------- [INFO] [stdout] 62 | &lower_left_corner + &hv + vv - Vector3::from(origin.clone()), [INFO] [stdout] | ------------------------------------------------------------- supplied 2 arguments [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] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0061`. [INFO] [stdout] [INFO] [stderr] error: could not compile `ray-tracing-in-one-week-rust` due to 2 previous errors; 2 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: unused import: `std::thread::sleep` [INFO] [stdout] --> examples/6_7_common_constants_and_utility_functions.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use std::thread::sleep; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::time::Duration` [INFO] [stdout] --> examples/6_7_common_constants_and_utility_functions.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use std::time::Duration; [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:38:24 [INFO] [stdout] | [INFO] [stdout] 38 | world.add(Box::new(Sphere::new(Point3::new_z(-1.0), 0.5))); [INFO] [stdout] | ^^^^^^^^^^^ ------------------- --- supplied 2 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 3 arguments [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] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::hash_map::RandomState` [INFO] [stdout] --> examples/10_3_total_internal_reflection.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use std::collections::hash_map::RandomState; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::hash_map::RandomState` [INFO] [stdout] --> examples/10_5_total_internal_reflection.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use std::collections::hash_map::RandomState; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::thread::sleep` [INFO] [stdout] --> examples/10_3_total_internal_reflection.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use std::thread::sleep; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::time::Duration` [INFO] [stdout] --> examples/10_3_total_internal_reflection.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | use std::time::Duration; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `for` iterator expression [INFO] [stdout] --> examples/10_3_total_internal_reflection.rs:94:18 [INFO] [stdout] | [INFO] [stdout] 94 | for i in (0..image_width) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::hash_map::RandomState` [INFO] [stdout] --> examples/8_4_fixing_shadow_acne.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use std::collections::hash_map::RandomState; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::thread::sleep` [INFO] [stdout] --> examples/8_4_fixing_shadow_acne.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use std::thread::sleep; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::time::Duration` [INFO] [stdout] --> examples/8_4_fixing_shadow_acne.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use std::time::Duration; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::thread::sleep` [INFO] [stdout] --> examples/10_5_total_internal_reflection.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use std::thread::sleep; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::time::Duration` [INFO] [stdout] --> examples/10_5_total_internal_reflection.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | use std::time::Duration; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `for` iterator expression [INFO] [stdout] --> examples/10_5_total_internal_reflection.rs:99:18 [INFO] [stdout] | [INFO] [stdout] 99 | for i in (0..image_width) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 3 arguments but 2 arguments were supplied [INFO] [stdout] --> examples/8_4_fixing_shadow_acne.rs:24:14 [INFO] [stdout] | [INFO] [stdout] 24 | &Ray::new(r.point().clone(), &target - r.point()), [INFO] [stdout] | ^^^^^^^^ ----------------- ------------------- supplied 2 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 3 arguments [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] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 3 arguments but 2 arguments were supplied [INFO] [stdout] --> examples/8_4_fixing_shadow_acne.rs:58:24 [INFO] [stdout] | [INFO] [stdout] 58 | world.add(Box::new(Sphere::new(Point3::new_z(-1.0), 0.5))); [INFO] [stdout] | ^^^^^^^^^^^ ------------------- --- supplied 2 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 3 arguments [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] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::hash_map::RandomState` [INFO] [stdout] --> examples/11_2_positioning_and_orienting_the_camera.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use std::collections::hash_map::RandomState; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::thread::sleep` [INFO] [stdout] --> examples/11_2_positioning_and_orienting_the_camera.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use std::thread::sleep; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::time::Duration` [INFO] [stdout] --> examples/11_2_positioning_and_orienting_the_camera.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | use std::time::Duration; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `for` iterator expression [INFO] [stdout] --> examples/11_2_positioning_and_orienting_the_camera.rs:105:18 [INFO] [stdout] | [INFO] [stdout] 105 | for i in (0..image_width) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::thread::sleep` [INFO] [stdout] --> examples/6_2_simplifying_the_ray-shphere_intersection_code.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::thread::sleep; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::time::Duration` [INFO] [stdout] --> examples/6_2_simplifying_the_ray-shphere_intersection_code.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::time::Duration; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `HitRecord` [INFO] [stdout] --> examples/13_1_a_final_render.rs:4:46 [INFO] [stdout] | [INFO] [stdout] 4 | use ray_tracing_in_one_week_rust::hit::{Hit, HitRecord}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 3 arguments but 2 arguments were supplied [INFO] [stdout] --> examples/6_2_simplifying_the_ray-shphere_intersection_code.rs:60:21 [INFO] [stdout] | [INFO] [stdout] 60 | let r = Ray::new( [INFO] [stdout] | ^^^^^^^^ expected 3 arguments [INFO] [stdout] 61 | origin.clone(), [INFO] [stdout] | -------------- [INFO] [stdout] 62 | &lower_left_corner + &hv + vv - Vector3::from(origin.clone()), [INFO] [stdout] | ------------------------------------------------------------- supplied 2 arguments [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] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::hash_map::RandomState` [INFO] [stdout] --> examples/13_1_a_final_render.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use std::collections::hash_map::RandomState; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::thread::sleep` [INFO] [stdout] --> examples/13_1_a_final_render.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | use std::thread::sleep; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::time::Duration` [INFO] [stdout] --> examples/13_1_a_final_render.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use std::time::Duration; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `for` iterator expression [INFO] [stdout] --> examples/13_1_a_final_render.rs:144:18 [INFO] [stdout] | [INFO] [stdout] 144 | for i in (0..image_width) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0061`. [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::hash_map::RandomState` [INFO] [stdout] --> examples/8_3_using_gamma_correction_for_accurate_color_intensity.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use std::collections::hash_map::RandomState; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::thread::sleep` [INFO] [stdout] --> examples/8_3_using_gamma_correction_for_accurate_color_intensity.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use std::thread::sleep; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::time::Duration` [INFO] [stdout] --> examples/8_3_using_gamma_correction_for_accurate_color_intensity.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use std::time::Duration; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ray_tracing_in_one_week_rust::to_pixel_value` [INFO] [stdout] --> examples/3_3_color_utility_functions.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use ray_tracing_in_one_week_rust::to_pixel_value; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `HitRecord` [INFO] [stdout] --> examples/15_1_parallel_with_bvh.rs:5:46 [INFO] [stdout] | [INFO] [stdout] 5 | use ray_tracing_in_one_week_rust::hit::{Hit, HitRecord}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::hash_map::RandomState` [INFO] [stdout] --> examples/15_1_parallel_with_bvh.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use std::collections::hash_map::RandomState; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::thread::sleep` [INFO] [stdout] --> examples/15_1_parallel_with_bvh.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | use std::thread::sleep; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::time::Duration` [INFO] [stdout] --> examples/15_1_parallel_with_bvh.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | use std::time::Duration; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `for` iterator expression [INFO] [stdout] --> examples/15_1_parallel_with_bvh.rs:149:18 [INFO] [stdout] | [INFO] [stdout] 149 | for i in (0..image_width) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::hash_map::RandomState` [INFO] [stdout] --> examples/8_2_limiting_the_number_of_child_rays.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use std::collections::hash_map::RandomState; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::thread::sleep` [INFO] [stdout] --> examples/8_2_limiting_the_number_of_child_rays.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use std::thread::sleep; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::time::Duration` [INFO] [stdout] --> examples/8_2_limiting_the_number_of_child_rays.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use std::time::Duration; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 3 arguments but 2 arguments were supplied [INFO] [stdout] --> examples/8_3_using_gamma_correction_for_accurate_color_intensity.rs:24:14 [INFO] [stdout] | [INFO] [stdout] 24 | &Ray::new(r.point().clone(), &target - r.point()), [INFO] [stdout] | ^^^^^^^^ ----------------- ------------------- supplied 2 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 3 arguments [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] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 3 arguments but 2 arguments were supplied [INFO] [stdout] --> examples/8_3_using_gamma_correction_for_accurate_color_intensity.rs:58:24 [INFO] [stdout] | [INFO] [stdout] 58 | world.add(Box::new(Sphere::new(Point3::new_z(-1.0), 0.5))); [INFO] [stdout] | ^^^^^^^^^^^ ------------------- --- supplied 2 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 3 arguments [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] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 9 arguments but 7 arguments were supplied [INFO] [stdout] --> examples/13_1_a_final_render.rs:126:18 [INFO] [stdout] | [INFO] [stdout] 126 | let camera = Camera::new( [INFO] [stdout] | ^^^^^^^^^^^ expected 9 arguments [INFO] [stdout] 127 | look_from, [INFO] [stdout] | --------- [INFO] [stdout] 128 | look_at, [INFO] [stdout] | ------- [INFO] [stdout] 129 | vup, [INFO] [stdout] | --- [INFO] [stdout] 130 | 20.0, [INFO] [stdout] | ---- [INFO] [stdout] 131 | aspect_ratio, [INFO] [stdout] | ------------ [INFO] [stdout] 132 | aperture, [INFO] [stdout] | -------- [INFO] [stdout] 133 | dist_to_focus, [INFO] [stdout] | ------------- supplied 7 arguments [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] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 3 arguments but 2 arguments were supplied [INFO] [stdout] --> examples/8_2_limiting_the_number_of_child_rays.rs:24:14 [INFO] [stdout] | [INFO] [stdout] 24 | &Ray::new(r.point().clone(), &target - r.point()), [INFO] [stdout] | ^^^^^^^^ ----------------- ------------------- supplied 2 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 3 arguments [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] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 3 arguments but 2 arguments were supplied [INFO] [stdout] --> examples/8_2_limiting_the_number_of_child_rays.rs:58:24 [INFO] [stdout] | [INFO] [stdout] 58 | world.add(Box::new(Sphere::new(Point3::new_z(-1.0), 0.5))); [INFO] [stdout] | ^^^^^^^^^^^ ------------------- --- supplied 2 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 3 arguments [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] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error; 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0061`. [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [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 enum `HitObject`, found struct `Box` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `HitObject` [INFO] [stdout] found struct `Box` [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: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] | ^^^^^^^^^^^ ------------------------------ ----- supplied 2 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 3 arguments [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] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> examples/8_4_fixing_shadow_acne.rs:58:15 [INFO] [stdout] | [INFO] [stdout] 58 | world.add(Box::new(Sphere::new(Point3::new_z(-1.0), 0.5))); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected enum `HitObject`, found struct `Box` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `HitObject` [INFO] [stdout] found struct `Box` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 3 arguments but 2 arguments were supplied [INFO] [stdout] --> examples/8_4_fixing_shadow_acne.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] | ^^^^^^^^^^^ ------------------------------ ----- supplied 2 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 3 arguments [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] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> examples/8_3_using_gamma_correction_for_accurate_color_intensity.rs:58:15 [INFO] [stdout] | [INFO] [stdout] 58 | world.add(Box::new(Sphere::new(Point3::new_z(-1.0), 0.5))); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected enum `HitObject`, found struct `Box` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `HitObject` [INFO] [stdout] found struct `Box` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 3 arguments but 2 arguments were supplied [INFO] [stdout] --> examples/8_3_using_gamma_correction_for_accurate_color_intensity.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] | ^^^^^^^^^^^ ------------------------------ ----- supplied 2 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 3 arguments [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] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> examples/10_5_total_internal_reflection.rs:65:9 [INFO] [stdout] | [INFO] [stdout] 65 | material_ground, [INFO] [stdout] | ^^^^^^^^^^^^^^^ expected struct `Arc`, found struct `Rc` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Arc<(dyn Material + 'static)>` [INFO] [stdout] found struct `Rc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> examples/8_4_fixing_shadow_acne.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 enum `HitObject`, found struct `Box` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `HitObject` [INFO] [stdout] found struct `Box` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 3 arguments but 2 arguments were supplied [INFO] [stdout] --> examples/8_4_fixing_shadow_acne.rs:77:36 [INFO] [stdout] | [INFO] [stdout] 77 | let r = camera.ray(u, v); [INFO] [stdout] | ^^^ - - supplied 2 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 3 arguments [INFO] [stdout] | [INFO] [stdout] note: associated function 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] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> examples/8_3_using_gamma_correction_for_accurate_color_intensity.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 enum `HitObject`, found struct `Box` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `HitObject` [INFO] [stdout] found struct `Box` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 3 arguments but 2 arguments were supplied [INFO] [stdout] --> examples/8_3_using_gamma_correction_for_accurate_color_intensity.rs:77:36 [INFO] [stdout] | [INFO] [stdout] 77 | let r = camera.ray(u, v); [INFO] [stdout] | ^^^ - - supplied 2 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 3 arguments [INFO] [stdout] | [INFO] [stdout] note: associated function 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] [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors; 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> examples/10_5_total_internal_reflection.rs:62:15 [INFO] [stdout] | [INFO] [stdout] 62 | world.add(Box::new(Sphere::new( [INFO] [stdout] | _______________^ [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 enum `HitObject`, found struct `Box` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `HitObject` [INFO] [stdout] found struct `Box` [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: aborting due to 6 previous errors; 3 warnings emitted [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/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 enum `HitObject`, found struct `Box` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `HitObject` [INFO] [stdout] found struct `Box` [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] | ^^^^^^^^ expected 3 arguments [INFO] [stdout] 69 | origin.clone(), [INFO] [stdout] | -------------- [INFO] [stdout] 70 | &lower_left_corner + &hv + vv - Vector3::from(origin.clone()), [INFO] [stdout] | ------------------------------------------------------------- supplied 2 arguments [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] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> examples/11_2_positioning_and_orienting_the_camera.rs:65:9 [INFO] [stdout] | [INFO] [stdout] 65 | material_ground, [INFO] [stdout] | ^^^^^^^^^^^^^^^ expected struct `Arc`, found struct `Rc` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Arc<(dyn Material + 'static)>` [INFO] [stdout] found struct `Rc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors; 2 warnings emitted [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_5_total_internal_reflection.rs:70:9 [INFO] [stdout] | [INFO] [stdout] 70 | material_center, [INFO] [stdout] | ^^^^^^^^^^^^^^^ expected struct `Arc`, found struct `Rc` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Arc<(dyn Material + 'static)>` [INFO] [stdout] found struct `Rc` [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] 65 | material_ground, [INFO] [stdout] | ^^^^^^^^^^^^^^^ expected struct `Arc`, found struct `Rc` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Arc<(dyn Material + 'static)>` [INFO] [stdout] found struct `Rc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> examples/11_2_positioning_and_orienting_the_camera.rs:62:15 [INFO] [stdout] | [INFO] [stdout] 62 | world.add(Box::new(Sphere::new( [INFO] [stdout] | _______________^ [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 enum `HitObject`, found struct `Box` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `HitObject` [INFO] [stdout] found struct `Box` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> examples/10_5_total_internal_reflection.rs:67:15 [INFO] [stdout] | [INFO] [stdout] 67 | world.add(Box::new(Sphere::new( [INFO] [stdout] | _______________^ [INFO] [stdout] 68 | | Point3::new_z(-1.0), [INFO] [stdout] 69 | | 0.5, [INFO] [stdout] 70 | | material_center, [INFO] [stdout] 71 | | ))); [INFO] [stdout] | |______^ expected enum `HitObject`, found struct `Box` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `HitObject` [INFO] [stdout] found struct `Box` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> examples/11_2_positioning_and_orienting_the_camera.rs:70:9 [INFO] [stdout] | [INFO] [stdout] 70 | material_center, [INFO] [stdout] | ^^^^^^^^^^^^^^^ expected struct `Arc`, found struct `Rc` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Arc<(dyn Material + 'static)>` [INFO] [stdout] found struct `Rc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> examples/8_2_limiting_the_number_of_child_rays.rs:58:15 [INFO] [stdout] | [INFO] [stdout] 58 | world.add(Box::new(Sphere::new(Point3::new_z(-1.0), 0.5))); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected enum `HitObject`, found struct `Box` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `HitObject` [INFO] [stdout] found struct `Box` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 3 arguments but 2 arguments were supplied [INFO] [stdout] --> examples/8_2_limiting_the_number_of_child_rays.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] | ^^^^^^^^^^^ ------------------------------ ----- supplied 2 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 3 arguments [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] [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] 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 enum `HitObject`, found struct `Box` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `HitObject` [INFO] [stdout] found struct `Box` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> examples/10_5_total_internal_reflection.rs:75:9 [INFO] [stdout] | [INFO] [stdout] 75 | material_left.clone(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ expected struct `Arc`, found struct `Rc` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Arc<(dyn Material + 'static)>` [INFO] [stdout] found struct `Rc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> examples/11_2_positioning_and_orienting_the_camera.rs:67:15 [INFO] [stdout] | [INFO] [stdout] 67 | world.add(Box::new(Sphere::new( [INFO] [stdout] | _______________^ [INFO] [stdout] 68 | | Point3::new_z(-1.0), [INFO] [stdout] 69 | | 0.5, [INFO] [stdout] 70 | | material_center, [INFO] [stdout] 71 | | ))); [INFO] [stdout] | |______^ expected enum `HitObject`, found struct `Box` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `HitObject` [INFO] [stdout] found struct `Box` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> examples/8_2_limiting_the_number_of_child_rays.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 enum `HitObject`, found struct `Box` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `HitObject` [INFO] [stdout] found struct `Box` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 3 arguments but 2 arguments were supplied [INFO] [stdout] --> examples/8_2_limiting_the_number_of_child_rays.rs:77:36 [INFO] [stdout] | [INFO] [stdout] 77 | let r = camera.ray(u, v); [INFO] [stdout] | ^^^ - - supplied 2 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 3 arguments [INFO] [stdout] | [INFO] [stdout] note: associated function 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] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> examples/11_2_positioning_and_orienting_the_camera.rs:75:9 [INFO] [stdout] | [INFO] [stdout] 75 | material_left.clone(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ expected struct `Arc`, found struct `Rc` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Arc<(dyn Material + 'static)>` [INFO] [stdout] found struct `Rc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors; 3 warnings emitted [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:70:9 [INFO] [stdout] | [INFO] [stdout] 70 | material_center, [INFO] [stdout] | ^^^^^^^^^^^^^^^ expected struct `Arc`, found struct `Rc` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Arc<(dyn Material + 'static)>` [INFO] [stdout] found struct `Rc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> examples/11_2_positioning_and_orienting_the_camera.rs:72:15 [INFO] [stdout] | [INFO] [stdout] 72 | world.add(Box::new(Sphere::new( [INFO] [stdout] | _______________^ [INFO] [stdout] 73 | | Point3::new(-1.0, 0.0, -1.0), [INFO] [stdout] 74 | | 0.5, [INFO] [stdout] 75 | | material_left.clone(), [INFO] [stdout] 76 | | ))); [INFO] [stdout] | |______^ expected enum `HitObject`, found struct `Box` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `HitObject` [INFO] [stdout] found struct `Box` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> examples/10_5_total_internal_reflection.rs:72:15 [INFO] [stdout] | [INFO] [stdout] 72 | world.add(Box::new(Sphere::new( [INFO] [stdout] | _______________^ [INFO] [stdout] 73 | | Point3::new(-1.0, 0.0, -1.0), [INFO] [stdout] 74 | | 0.5, [INFO] [stdout] 75 | | material_left.clone(), [INFO] [stdout] 76 | | ))); [INFO] [stdout] | |______^ expected enum `HitObject`, found struct `Box` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `HitObject` [INFO] [stdout] found struct `Box` [INFO] [stdout] [INFO] [stdout] [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] warning: unused import: `std::collections::hash_map::RandomState` [INFO] [stdout] --> examples/9_6_fuzzy_reflection.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use std::collections::hash_map::RandomState; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::thread::sleep` [INFO] [stdout] --> examples/9_6_fuzzy_reflection.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use std::thread::sleep; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::time::Duration` [INFO] [stdout] --> examples/9_6_fuzzy_reflection.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use std::time::Duration; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `for` iterator expression [INFO] [stdout] --> examples/9_6_fuzzy_reflection.rs:103:18 [INFO] [stdout] | [INFO] [stdout] 103 | for i in (0..image_width) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] [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] 68 | | Point3::new_z(-1.0), [INFO] [stdout] 69 | | 0.5, [INFO] [stdout] 70 | | material_center, [INFO] [stdout] 71 | | ))); [INFO] [stdout] | |______^ expected enum `HitObject`, found struct `Box` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `HitObject` [INFO] [stdout] found struct `Box` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function 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] | ^^^^^^^ --- -- supplied 2 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 3 arguments [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/material/material.rs:24:8 [INFO] [stdout] | [INFO] [stdout] 24 | fn scatter( [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> examples/11_2_positioning_and_orienting_the_camera.rs:80:9 [INFO] [stdout] | [INFO] [stdout] 80 | material_left, [INFO] [stdout] | ^^^^^^^^^^^^^ expected struct `Arc`, found struct `Rc` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Arc<(dyn Material + 'static)>` [INFO] [stdout] found struct `Rc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> examples/10_5_total_internal_reflection.rs:80:9 [INFO] [stdout] | [INFO] [stdout] 80 | material_left, [INFO] [stdout] | ^^^^^^^^^^^^^ expected struct `Arc`, found struct `Rc` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Arc<(dyn Material + 'static)>` [INFO] [stdout] found struct `Rc` [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] 75 | material_left, [INFO] [stdout] | ^^^^^^^^^^^^^ expected struct `Arc`, found struct `Rc` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Arc<(dyn Material + 'static)>` [INFO] [stdout] found struct `Rc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> examples/11_2_positioning_and_orienting_the_camera.rs:77:15 [INFO] [stdout] | [INFO] [stdout] 77 | world.add(Box::new(Sphere::new( [INFO] [stdout] | _______________^ [INFO] [stdout] 78 | | Point3::new(-1.0, 0.0, -1.0), [INFO] [stdout] 79 | | -0.4, [INFO] [stdout] 80 | | material_left, [INFO] [stdout] 81 | | ))); [INFO] [stdout] | |______^ expected enum `HitObject`, found struct `Box` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `HitObject` [INFO] [stdout] found struct `Box` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> examples/10_5_total_internal_reflection.rs:77:15 [INFO] [stdout] | [INFO] [stdout] 77 | world.add(Box::new(Sphere::new( [INFO] [stdout] | _______________^ [INFO] [stdout] 78 | | Point3::new(-1.0, 0.0, -1.0), [INFO] [stdout] 79 | | -0.4, [INFO] [stdout] 80 | | material_left, [INFO] [stdout] 81 | | ))); [INFO] [stdout] | |______^ expected enum `HitObject`, found struct `Box` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `HitObject` [INFO] [stdout] found struct `Box` [INFO] [stdout] [INFO] [stdout] [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] 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 enum `HitObject`, found struct `Box` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `HitObject` [INFO] [stdout] found struct `Box` [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] warning: unused import: `std::collections::hash_map::RandomState` [INFO] [stdout] --> examples/9_5_a_scene_with_metal_spheres.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use std::collections::hash_map::RandomState; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::thread::sleep` [INFO] [stdout] --> examples/9_5_a_scene_with_metal_spheres.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use std::thread::sleep; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::time::Duration` [INFO] [stdout] --> examples/9_5_a_scene_with_metal_spheres.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use std::time::Duration; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> examples/11_2_positioning_and_orienting_the_camera.rs:85:9 [INFO] [stdout] | [INFO] [stdout] 85 | material_right, [INFO] [stdout] | ^^^^^^^^^^^^^^ expected struct `Arc`, found struct `Rc` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Arc<(dyn Material + 'static)>` [INFO] [stdout] found struct `Rc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> examples/10_5_total_internal_reflection.rs:85:9 [INFO] [stdout] | [INFO] [stdout] 85 | material_right, [INFO] [stdout] | ^^^^^^^^^^^^^^ expected struct `Arc`, found struct `Rc` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Arc<(dyn Material + 'static)>` [INFO] [stdout] found struct `Rc` [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] 80 | material_right, [INFO] [stdout] | ^^^^^^^^^^^^^^ expected struct `Arc`, found struct `Rc` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Arc<(dyn Material + 'static)>` [INFO] [stdout] found struct `Rc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `black_box` [INFO] [stdout] --> benches/world_hit.rs:1:17 [INFO] [stdout] | [INFO] [stdout] 1 | use criterion::{black_box, criterion_group, criterion_main, Criterion}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> examples/11_2_positioning_and_orienting_the_camera.rs:82:15 [INFO] [stdout] | [INFO] [stdout] 82 | world.add(Box::new(Sphere::new( [INFO] [stdout] | _______________^ [INFO] [stdout] 83 | | Point3::new(1.0, 0.0, -1.0), [INFO] [stdout] 84 | | 0.5, [INFO] [stdout] 85 | | material_right, [INFO] [stdout] 86 | | ))); [INFO] [stdout] | |______^ expected enum `HitObject`, found struct `Box` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `HitObject` [INFO] [stdout] found struct `Box` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> examples/10_5_total_internal_reflection.rs:82:15 [INFO] [stdout] | [INFO] [stdout] 82 | world.add(Box::new(Sphere::new( [INFO] [stdout] | _______________^ [INFO] [stdout] 83 | | Point3::new(1.0, 0.0, -1.0), [INFO] [stdout] 84 | | 0.5, [INFO] [stdout] 85 | | material_right, [INFO] [stdout] 86 | | ))); [INFO] [stdout] | |______^ expected enum `HitObject`, found struct `Box` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `HitObject` [INFO] [stdout] found struct `Box` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 9 arguments but 5 arguments were supplied [INFO] [stdout] --> examples/11_2_positioning_and_orienting_the_camera.rs:89:18 [INFO] [stdout] | [INFO] [stdout] 89 | let camera = Camera::new( [INFO] [stdout] | ^^^^^^^^^^^ expected 9 arguments [INFO] [stdout] 90 | Point3::new(-2.0, 2.0, 1.0), [INFO] [stdout] | --------------------------- [INFO] [stdout] 91 | Point3::new_z(-1.0), [INFO] [stdout] | ------------------- [INFO] [stdout] 92 | Vector3::new_y(1.0), [INFO] [stdout] | ------------------- [INFO] [stdout] 93 | 20.0, [INFO] [stdout] | ---- [INFO] [stdout] 94 | aspect_ratio, [INFO] [stdout] | ------------ supplied 5 arguments [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] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 3 arguments but 2 arguments were supplied [INFO] [stdout] --> examples/10_5_total_internal_reflection.rs:104:36 [INFO] [stdout] | [INFO] [stdout] 104 | let r = camera.ray(u, v); [INFO] [stdout] | ^^^ - - supplied 2 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 3 arguments [INFO] [stdout] | [INFO] [stdout] note: associated function 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] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 3 arguments but 2 arguments were supplied [INFO] [stdout] --> examples/11_2_positioning_and_orienting_the_camera.rs:110:36 [INFO] [stdout] | [INFO] [stdout] 110 | let r = camera.ray(u, v); [INFO] [stdout] | ^^^ - - supplied 2 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 3 arguments [INFO] [stdout] | [INFO] [stdout] note: associated function 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] [INFO] [stdout] [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] 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 enum `HitObject`, found struct `Box` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `HitObject` [INFO] [stdout] found struct `Box` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function 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] | ^^^^^^^ --- -- supplied 2 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 3 arguments [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/material/material.rs:24:8 [INFO] [stdout] | [INFO] [stdout] 24 | fn scatter( [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 12 previous errors; 4 warnings emitted [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 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] | ^^^^^^^^^^^ expected 9 arguments [INFO] [stdout] 90 | look_from, [INFO] [stdout] | --------- [INFO] [stdout] 91 | look_at, [INFO] [stdout] | ------- [INFO] [stdout] 92 | vup, [INFO] [stdout] | --- [INFO] [stdout] 93 | 20.0, [INFO] [stdout] | ---- [INFO] [stdout] 94 | aspect_ratio, [INFO] [stdout] | ------------ [INFO] [stdout] 95 | aperture, [INFO] [stdout] | -------- [INFO] [stdout] 96 | dist_to_focus, [INFO] [stdout] | ------------- supplied 7 arguments [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] [INFO] [stdout] [INFO] [stdout] error: aborting due to 11 previous errors; 4 warnings emitted [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: aborting due to previous error; 1 warning emitted [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/10_3_total_internal_reflection.rs:99:36 [INFO] [stdout] | [INFO] [stdout] 99 | let r = camera.ray(u, v); [INFO] [stdout] | ^^^ - - supplied 2 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 3 arguments [INFO] [stdout] | [INFO] [stdout] note: associated function 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] [INFO] [stdout] [INFO] [stdout] error: aborting due to 9 previous errors; 4 warnings emitted [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_6_fuzzy_reflection.rs:74:9 [INFO] [stdout] | [INFO] [stdout] 74 | material_ground, [INFO] [stdout] | ^^^^^^^^^^^^^^^ expected struct `Arc`, found struct `Rc` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Arc<(dyn Material + 'static)>` [INFO] [stdout] found struct `Rc<_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> examples/9_5_a_scene_with_metal_spheres.rs:74:9 [INFO] [stdout] | [INFO] [stdout] 74 | material_ground, [INFO] [stdout] | ^^^^^^^^^^^^^^^ expected struct `Arc`, found struct `Rc` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Arc<(dyn Material + 'static)>` [INFO] [stdout] found struct `Rc<_>` [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] 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 enum `HitObject`, found struct `Box` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `HitObject` [INFO] [stdout] found struct `Box` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> examples/9_6_fuzzy_reflection.rs:79:9 [INFO] [stdout] | [INFO] [stdout] 79 | material_center, [INFO] [stdout] | ^^^^^^^^^^^^^^^ expected struct `Arc`, found struct `Rc` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Arc<(dyn Material + 'static)>` [INFO] [stdout] found struct `Rc<_>` [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] 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 enum `HitObject`, found struct `Box` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `HitObject` [INFO] [stdout] found struct `Box` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> examples/9_5_a_scene_with_metal_spheres.rs:79:9 [INFO] [stdout] | [INFO] [stdout] 79 | material_center, [INFO] [stdout] | ^^^^^^^^^^^^^^^ expected struct `Arc`, found struct `Rc` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Arc<(dyn Material + 'static)>` [INFO] [stdout] found struct `Rc<_>` [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] 77 | | Point3::new_z(-1.0), [INFO] [stdout] 78 | | 0.5, [INFO] [stdout] 79 | | material_center, [INFO] [stdout] 80 | | ))); [INFO] [stdout] | |______^ expected enum `HitObject`, found struct `Box` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `HitObject` [INFO] [stdout] found struct `Box` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> examples/9_6_fuzzy_reflection.rs:84:9 [INFO] [stdout] | [INFO] [stdout] 84 | material_left, [INFO] [stdout] | ^^^^^^^^^^^^^ expected struct `Arc`, found struct `Rc` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Arc<(dyn Material + 'static)>` [INFO] [stdout] found struct `Rc<_>` [INFO] [stdout] [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] 77 | | Point3::new_z(-1.0), [INFO] [stdout] 78 | | 0.5, [INFO] [stdout] 79 | | material_center, [INFO] [stdout] 80 | | ))); [INFO] [stdout] | |______^ expected enum `HitObject`, found struct `Box` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `HitObject` [INFO] [stdout] found struct `Box` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> examples/9_5_a_scene_with_metal_spheres.rs:84:9 [INFO] [stdout] | [INFO] [stdout] 84 | material_left, [INFO] [stdout] | ^^^^^^^^^^^^^ expected struct `Arc`, found struct `Rc` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Arc<(dyn Material + 'static)>` [INFO] [stdout] found struct `Rc<_>` [INFO] [stdout] [INFO] [stdout] [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] 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 enum `HitObject`, found struct `Box` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `HitObject` [INFO] [stdout] found struct `Box` [INFO] [stdout] [INFO] [stdout] [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] 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 enum `HitObject`, found struct `Box` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `HitObject` [INFO] [stdout] found struct `Box` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> examples/9_6_fuzzy_reflection.rs:89:9 [INFO] [stdout] | [INFO] [stdout] 89 | material_right, [INFO] [stdout] | ^^^^^^^^^^^^^^ expected struct `Arc`, found struct `Rc` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Arc<(dyn Material + 'static)>` [INFO] [stdout] found struct `Rc<_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> examples/9_5_a_scene_with_metal_spheres.rs:89:9 [INFO] [stdout] | [INFO] [stdout] 89 | material_right, [INFO] [stdout] | ^^^^^^^^^^^^^^ expected struct `Arc`, found struct `Rc` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Arc<(dyn Material + 'static)>` [INFO] [stdout] found struct `Rc<_>` [INFO] [stdout] [INFO] [stdout] [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] 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 enum `HitObject`, found struct `Box` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `HitObject` [INFO] [stdout] found struct `Box` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function 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] | ^^^ - - supplied 2 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 3 arguments [INFO] [stdout] | [INFO] [stdout] note: associated function 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] [INFO] [stdout] [INFO] [stdout] error: aborting due to 12 previous errors; 4 warnings emitted [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[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] 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 enum `HitObject`, found struct `Box` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `HitObject` [INFO] [stdout] found struct `Box` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function 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] | ^^^ - - supplied 2 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 3 arguments [INFO] [stdout] | [INFO] [stdout] note: associated function 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] [INFO] [stdout] [INFO] [stdout] error: aborting due to 12 previous errors; 3 warnings emitted [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: build failed [INFO] running `Command { std: "docker" "inspect" "be12025986c1c1e1cc2647f1ddee86a80b2c29ea7e7286a248416a508793ca99", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "be12025986c1c1e1cc2647f1ddee86a80b2c29ea7e7286a248416a508793ca99", kill_on_drop: false }` [INFO] [stdout] be12025986c1c1e1cc2647f1ddee86a80b2c29ea7e7286a248416a508793ca99