[INFO] cloning repository https://github.com/gyng/rust-raytracer [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/gyng/rust-raytracer" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgyng%2Frust-raytracer", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgyng%2Frust-raytracer'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 855f2d053ac936a5fb2962d278d629f6269d6bf4 [INFO] checking gyng/rust-raytracer against master#33fdb797f59421c7bbecaa4588ed5d7a31a9494a for pr-87190-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgyng%2Frust-raytracer" "/workspace/builds/worker-96/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-96/source'... [INFO] [stderr] done. [INFO] [stderr] Updating files: 15% (12/77) Updating files: 16% (13/77) Updating files: 18% (14/77) Updating files: 19% (15/77) Updating files: 20% (16/77) Updating files: 22% (17/77) Updating files: 23% (18/77) Updating files: 24% (19/77) Updating files: 25% (20/77) Updating files: 27% (21/77) Updating files: 28% (22/77) Updating files: 29% (23/77) Updating files: 31% (24/77) Updating files: 32% (25/77) Updating files: 33% (26/77) Updating files: 35% (27/77) Updating files: 36% (28/77) Updating files: 37% (29/77) Updating files: 38% (30/77) Updating files: 40% (31/77) Updating files: 41% (32/77) Updating files: 42% (33/77) Updating files: 44% (34/77) Updating files: 45% (35/77) Updating files: 46% (36/77) Updating files: 48% (37/77) Updating files: 49% (38/77) Updating files: 50% (39/77) Updating files: 51% (40/77) Updating files: 53% (41/77) Updating files: 54% (42/77) Updating files: 55% (43/77) Updating files: 57% (44/77) Updating files: 58% (45/77) Updating files: 59% (46/77) Updating files: 61% (47/77) Updating files: 62% (48/77) Updating files: 63% (49/77) Updating files: 64% (50/77) Updating files: 66% (51/77) Updating files: 67% (52/77) Updating files: 68% (53/77) Updating files: 70% (54/77) Updating files: 71% (55/77) Updating files: 72% (56/77) Updating files: 74% (57/77) Updating files: 75% (58/77) Updating files: 76% (59/77) Updating files: 77% (60/77) Updating files: 79% (61/77) Updating files: 80% (62/77) Updating files: 81% (63/77) Updating files: 83% (64/77) Updating files: 84% (65/77) Updating files: 85% (66/77) Updating files: 87% (67/77) Updating files: 88% (68/77) Updating files: 89% (69/77) Updating files: 90% (70/77) Updating files: 92% (71/77) Updating files: 93% (72/77) Updating files: 94% (73/77) Updating files: 96% (74/77) Updating files: 97% (75/77) Updating files: 98% (76/77) Updating files: 100% (77/77) Updating files: 100% (77/77), done. [INFO] validating manifest of git repo https://github.com/gyng/rust-raytracer on toolchain 33fdb797f59421c7bbecaa4588ed5d7a31a9494a [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+33fdb797f59421c7bbecaa4588ed5d7a31a9494a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/gyng/rust-raytracer [INFO] finished tweaking git repo https://github.com/gyng/rust-raytracer [INFO] tweaked toml for git repo https://github.com/gyng/rust-raytracer written to /workspace/builds/worker-96/source/Cargo.toml [INFO] crate git repo https://github.com/gyng/rust-raytracer already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+33fdb797f59421c7bbecaa4588ed5d7a31a9494a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-96/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-96/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" "+33fdb797f59421c7bbecaa4588ed5d7a31a9494a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 02835247296d7256a651f569c032bd2ec9288c7ed8e1f0b8b5386d33bb6ff44b [INFO] running `Command { std: "docker" "start" "-a" "02835247296d7256a651f569c032bd2ec9288c7ed8e1f0b8b5386d33bb6ff44b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "02835247296d7256a651f569c032bd2ec9288c7ed8e1f0b8b5386d33bb6ff44b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "02835247296d7256a651f569c032bd2ec9288c7ed8e1f0b8b5386d33bb6ff44b", kill_on_drop: false }` [INFO] [stdout] 02835247296d7256a651f569c032bd2ec9288c7ed8e1f0b8b5386d33bb6ff44b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-96/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-96/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" "+33fdb797f59421c7bbecaa4588ed5d7a31a9494a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c2252cd6480d87b985b9fff62b0ccc988ff86df510f3a3a4c3fd595c70bee1cd [INFO] running `Command { std: "docker" "start" "-a" "c2252cd6480d87b985b9fff62b0ccc988ff86df510f3a3a4c3fd595c70bee1cd", kill_on_drop: false }` [INFO] [stderr] Compiling num-traits v0.2.5 [INFO] [stderr] Compiling num-integer v0.1.39 [INFO] [stderr] Checking libc v0.2.42 [INFO] [stderr] Checking nodrop v0.1.12 [INFO] [stderr] Checking cfg-if v0.1.4 [INFO] [stderr] Checking lazy_static v1.0.2 [INFO] [stderr] Checking memoffset v0.2.1 [INFO] [stderr] Checking scopeguard v0.3.3 [INFO] [stderr] Compiling rayon-core v1.4.1 [INFO] [stderr] Compiling num-iter v0.1.37 [INFO] [stderr] Compiling rayon v1.0.2 [INFO] [stderr] Checking adler32 v1.0.3 [INFO] [stderr] Compiling num-bigint v0.2.0 [INFO] [stderr] Checking byteorder v1.2.4 [INFO] [stderr] Compiling num-complex v0.2.0 [INFO] [stderr] Compiling num-rational v0.2.1 [INFO] [stderr] Checking either v1.5.0 [INFO] [stderr] Checking bitflags v1.0.3 [INFO] [stderr] Checking lzw v0.10.0 [INFO] [stderr] Checking color_quant v1.0.1 [INFO] [stderr] Checking rand_core v0.2.1 [INFO] [stderr] Checking scoped_threadpool v0.1.9 [INFO] [stderr] Checking rustc-serialize v0.3.24 [INFO] [stderr] Compiling proc-macro2 v0.4.9 [INFO] [stderr] Checking crossbeam-utils v0.2.2 [INFO] [stderr] Checking arrayvec v0.4.7 [INFO] [stderr] Checking inflate v0.4.3 [INFO] [stderr] Checking deflate v0.7.18 [INFO] [stderr] Checking gif v0.10.0 [INFO] [stderr] Compiling quote v0.6.4 [INFO] [stderr] Compiling syn v0.14.6 [INFO] [stderr] Checking crossbeam-epoch v0.3.1 [INFO] [stderr] Checking num_cpus v1.8.0 [INFO] [stderr] Checking rand v0.5.4 [INFO] [stderr] Checking time v0.1.40 [INFO] [stderr] Checking threadpool v1.7.1 [INFO] [stderr] Checking crossbeam-deque v0.2.0 [INFO] [stderr] Checking num-rational v0.1.42 [INFO] [stderr] Checking png v0.12.0 [INFO] [stderr] Checking jpeg-decoder v0.1.15 [INFO] [stderr] Compiling num-derive v0.2.2 [INFO] [stderr] Checking num v0.2.0 [INFO] [stderr] Checking image v0.19.0 [INFO] [stderr] Checking rust-raytracer v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated macro `RustcDecodable`: rustc-serialize is deprecated and no longer supported [INFO] [stdout] --> src/main.rs:34:10 [INFO] [stdout] | [INFO] [stdout] 34 | #[derive(RustcDecodable, RustcEncodable)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `RustcEncodable`: rustc-serialize is deprecated and no longer supported [INFO] [stdout] --> src/main.rs:34:26 [INFO] [stdout] | [INFO] [stdout] 34 | #[derive(RustcDecodable, RustcEncodable)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/geometry/prim.rs:12:37 [INFO] [stdout] | [INFO] [stdout] 12 | impl<'a> PartialBoundingBox for Box { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: use `dyn`: `dyn Prim+Send+Sync` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/geometry/mesh.rs:6:28 [INFO] [stdout] | [INFO] [stdout] 6 | pub triangles: Vec> [INFO] [stdout] | ^^^^^^^^^^^^^^ help: use `dyn`: `dyn Prim+Send+Sync` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/geometry/prims/plane.rs:16:23 [INFO] [stdout] | [INFO] [stdout] 16 | pub material: Box [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Material+Send+Sync` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/geometry/prims/sphere.rs:15:23 [INFO] [stdout] | [INFO] [stdout] 15 | pub material: Box [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Material+Send+Sync` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/geometry/prims/triangle.rs:36:26 [INFO] [stdout] | [INFO] [stdout] 36 | material: Option>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Material+Send+Sync` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/geometry/prims/triangle.rs:70:46 [INFO] [stdout] | [INFO] [stdout] 70 | pub fn material(&mut self, material: Box) -> &mut Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Material+Send+Sync` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/geometry/prims/triangle.rs:99:19 [INFO] [stdout] | [INFO] [stdout] 99 | material: Box [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Material+Send+Sync` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/material/texture.rs:5:33 [INFO] [stdout] | [INFO] [stdout] 5 | fn clone_self(&self) -> Box; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Texture+Send+Sync` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/material/texture.rs:8:20 [INFO] [stdout] | [INFO] [stdout] 8 | impl Clone for Box { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Texture+Send+Sync` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/material/texture.rs:9:28 [INFO] [stdout] | [INFO] [stdout] 9 | fn clone(&self) -> Box { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Texture+Send+Sync` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/material/materials/cooktorrancematerial.rs:22:37 [INFO] [stdout] | [INFO] [stdout] 22 | pub diffuse_texture: Option> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Texture+Send+Sync` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/material/materials/phongmaterial.rs:20:37 [INFO] [stdout] | [INFO] [stdout] 20 | pub diffuse_texture: Option> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Texture+Send+Sync` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/material/textures/checkertexture.rs:25:33 [INFO] [stdout] | [INFO] [stdout] 25 | fn clone_self(&self) -> Box { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Texture+Send+Sync` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/material/textures/checkertexture.rs:30:19 [INFO] [stdout] | [INFO] [stdout] 30 | }) as Box [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Texture+Send+Sync` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/material/textures/uvtexture.rs:16:33 [INFO] [stdout] | [INFO] [stdout] 16 | fn clone_self(&self) -> Box { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Texture+Send+Sync` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/material/textures/uvtexture.rs:17:36 [INFO] [stdout] | [INFO] [stdout] 17 | Box::new(UVTexture) as Box [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Texture+Send+Sync` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> src/material/textures/imagetexture.rs:38:9 [INFO] [stdout] | [INFO] [stdout] 38 | / ( [INFO] [stdout] 39 | | ( [INFO] [stdout] 40 | | self.image[(x , y )].channel_f64() * u_opposite [INFO] [stdout] 41 | | + self.image[(x + 1, y )].channel_f64() * u_ratio [INFO] [stdout] ... | [INFO] [stdout] 45 | | ) * v_ratio [INFO] [stdout] 46 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 38 ~ ( [INFO] [stdout] 39 + self.image[(x , y )].channel_f64() * u_opposite [INFO] [stdout] 40 + + self.image[(x + 1, y )].channel_f64() * u_ratio [INFO] [stdout] 41 + ) * v_opposite + ( [INFO] [stdout] 42 + self.image[(x , y + 1)].channel_f64() * u_opposite [INFO] [stdout] 43 + + self.image[(x + 1, y + 1)].channel_f64() * u_ratio [INFO] [stdout] ... [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/material/textures/imagetexture.rs:49:33 [INFO] [stdout] | [INFO] [stdout] 49 | fn clone_self(&self) -> Box { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Texture+Send+Sync` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/material/textures/imagetexture.rs:50:22 [INFO] [stdout] | [INFO] [stdout] 50 | let tex: Box = Box::new(ImageTexture { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Texture+Send+Sync` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/my_scene/bunny.rs:27:29 [INFO] [stdout] | [INFO] [stdout] 27 | let mut lights: Vec> = Vec::new(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Light+Send+Sync` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/my_scene/bunny.rs:35:28 [INFO] [stdout] | [INFO] [stdout] 35 | let mut prims: Vec> = Vec::new(); [INFO] [stdout] | ^^^^^^^^^^^^^^ help: use `dyn`: `dyn Prim+Send+Sync` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/my_scene/cornell.rs:28:29 [INFO] [stdout] | [INFO] [stdout] 28 | let mut lights: Vec> = Vec::new(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Light+Send+Sync` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `RustcDecodable`: rustc-serialize is deprecated and no longer supported [INFO] [stdout] --> src/main.rs:34:10 [INFO] [stdout] | [INFO] [stdout] 34 | #[derive(RustcDecodable, RustcEncodable)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/my_scene/cornell.rs:32:22 [INFO] [stdout] | [INFO] [stdout] 32 | let checker: Box = Box::new(CheckerTexture { color1: ColorRGBA::white(), color2: ColorRGBA::new_rgb(0.8, 0.1, 0.1)... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Texture+Send+Sync` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `RustcEncodable`: rustc-serialize is deprecated and no longer supported [INFO] [stdout] --> src/main.rs:34:26 [INFO] [stdout] | [INFO] [stdout] 34 | #[derive(RustcDecodable, RustcEncodable)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/my_scene/cornell.rs:46:28 [INFO] [stdout] | [INFO] [stdout] 46 | let mut prims: Vec> = Vec::new(); [INFO] [stdout] | ^^^^^^^^^^^^^^ help: use `dyn`: `dyn Prim+Send+Sync` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/my_scene/cow.rs:35:118 [INFO] [stdout] | [INFO] [stdout] 35 | let cow = ::util::import::from_obj(red, true, "./docs/assets/models/cow.obj").expect("failed to load obj model");; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(redundant_semicolons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/geometry/prim.rs:12:37 [INFO] [stdout] | [INFO] [stdout] 12 | impl<'a> PartialBoundingBox for Box { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: use `dyn`: `dyn Prim+Send+Sync` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/my_scene/cow.rs:27:29 [INFO] [stdout] | [INFO] [stdout] 27 | let mut lights: Vec> = Vec::new(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Light+Send+Sync` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/geometry/mesh.rs:6:28 [INFO] [stdout] | [INFO] [stdout] 6 | pub triangles: Vec> [INFO] [stdout] | ^^^^^^^^^^^^^^ help: use `dyn`: `dyn Prim+Send+Sync` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/my_scene/cow.rs:33:28 [INFO] [stdout] | [INFO] [stdout] 33 | let mut prims: Vec> = Vec::new(); [INFO] [stdout] | ^^^^^^^^^^^^^^ help: use `dyn`: `dyn Prim+Send+Sync` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/geometry/prims/plane.rs:16:23 [INFO] [stdout] | [INFO] [stdout] 16 | pub material: Box [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Material+Send+Sync` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/geometry/prims/sphere.rs:15:23 [INFO] [stdout] | [INFO] [stdout] 15 | pub material: Box [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Material+Send+Sync` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/my_scene/easing.rs:49:29 [INFO] [stdout] | [INFO] [stdout] 49 | let mut lights: Vec> = Vec::new(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Light+Send+Sync` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/geometry/prims/triangle.rs:36:26 [INFO] [stdout] | [INFO] [stdout] 36 | material: Option>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Material+Send+Sync` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/my_scene/easing.rs:62:22 [INFO] [stdout] | [INFO] [stdout] 62 | let checker: Box = Box::new(CheckerTexture { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Texture+Send+Sync` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/geometry/prims/triangle.rs:70:46 [INFO] [stdout] | [INFO] [stdout] 70 | pub fn material(&mut self, material: Box) -> &mut Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Material+Send+Sync` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/my_scene/easing.rs:84:28 [INFO] [stdout] | [INFO] [stdout] 84 | let mut prims: Vec> = Vec::new(); [INFO] [stdout] | ^^^^^^^^^^^^^^ help: use `dyn`: `dyn Prim+Send+Sync` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/geometry/prims/triangle.rs:99:19 [INFO] [stdout] | [INFO] [stdout] 99 | material: Box [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Material+Send+Sync` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/my_scene/fresnel.rs:74:29 [INFO] [stdout] | [INFO] [stdout] 74 | let mut lights: Vec> = Vec::new(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Light+Send+Sync` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/material/texture.rs:5:33 [INFO] [stdout] | [INFO] [stdout] 5 | fn clone_self(&self) -> Box; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Texture+Send+Sync` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/my_scene/fresnel.rs:78:22 [INFO] [stdout] | [INFO] [stdout] 78 | let checker: Box = Box::new(CheckerTexture { color1: ColorRGBA::white(), color2: ColorRGBA::new_rgb(0.1, 0.1, 0.1)... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Texture+Send+Sync` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/material/texture.rs:8:20 [INFO] [stdout] | [INFO] [stdout] 8 | impl Clone for Box { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Texture+Send+Sync` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/material/texture.rs:9:28 [INFO] [stdout] | [INFO] [stdout] 9 | fn clone(&self) -> Box { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Texture+Send+Sync` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/my_scene/fresnel.rs:84:28 [INFO] [stdout] | [INFO] [stdout] 84 | let mut prims: Vec> = Vec::new(); [INFO] [stdout] | ^^^^^^^^^^^^^^ help: use `dyn`: `dyn Prim+Send+Sync` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/material/materials/cooktorrancematerial.rs:22:37 [INFO] [stdout] | [INFO] [stdout] 22 | pub diffuse_texture: Option> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Texture+Send+Sync` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/my_scene/heptoroid.rs:43:151 [INFO] [stdout] | [INFO] [stdout] 43 | ...oroid.obj").ok().expect("failed to load obj model");; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/material/materials/phongmaterial.rs:20:37 [INFO] [stdout] | [INFO] [stdout] 20 | pub diffuse_texture: Option> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Texture+Send+Sync` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/my_scene/heptoroid.rs:27:29 [INFO] [stdout] | [INFO] [stdout] 27 | let mut lights: Vec> = Vec::new(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Light+Send+Sync` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/material/textures/checkertexture.rs:25:33 [INFO] [stdout] | [INFO] [stdout] 25 | fn clone_self(&self) -> Box { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Texture+Send+Sync` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/my_scene/heptoroid.rs:42:28 [INFO] [stdout] | [INFO] [stdout] 42 | let mut prims: Vec> = Vec::new(); [INFO] [stdout] | ^^^^^^^^^^^^^^ help: use `dyn`: `dyn Prim+Send+Sync` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/material/textures/checkertexture.rs:30:19 [INFO] [stdout] | [INFO] [stdout] 30 | }) as Box [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Texture+Send+Sync` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/my_scene/lucy.rs:33:126 [INFO] [stdout] | [INFO] [stdout] 33 | let lucy = ::util::import::from_obj(grey, true, "./docs/assets/models/lucy.obj").ok().expect("failed to load obj model");; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/material/textures/uvtexture.rs:16:33 [INFO] [stdout] | [INFO] [stdout] 16 | fn clone_self(&self) -> Box { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Texture+Send+Sync` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/material/textures/uvtexture.rs:17:36 [INFO] [stdout] | [INFO] [stdout] 17 | Box::new(UVTexture) as Box [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Texture+Send+Sync` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/my_scene/lucy.rs:27:29 [INFO] [stdout] | [INFO] [stdout] 27 | let mut lights: Vec> = Vec::new(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Light+Send+Sync` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/my_scene/lucy.rs:32:28 [INFO] [stdout] | [INFO] [stdout] 32 | let mut prims: Vec> = Vec::new(); [INFO] [stdout] | ^^^^^^^^^^^^^^ help: use `dyn`: `dyn Prim+Send+Sync` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> src/material/textures/imagetexture.rs:38:9 [INFO] [stdout] | [INFO] [stdout] 38 | / ( [INFO] [stdout] 39 | | ( [INFO] [stdout] 40 | | self.image[(x , y )].channel_f64() * u_opposite [INFO] [stdout] 41 | | + self.image[(x + 1, y )].channel_f64() * u_ratio [INFO] [stdout] ... | [INFO] [stdout] 45 | | ) * v_ratio [INFO] [stdout] 46 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 38 ~ ( [INFO] [stdout] 39 + self.image[(x , y )].channel_f64() * u_opposite [INFO] [stdout] 40 + + self.image[(x + 1, y )].channel_f64() * u_ratio [INFO] [stdout] 41 + ) * v_opposite + ( [INFO] [stdout] 42 + self.image[(x , y + 1)].channel_f64() * u_opposite [INFO] [stdout] 43 + + self.image[(x + 1, y + 1)].channel_f64() * u_ratio [INFO] [stdout] ... [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/my_scene/sibenik.rs:63:134 [INFO] [stdout] | [INFO] [stdout] 63 | let sibenik = ::util::import::from_obj(stone, false, "./docs/assets/models/sibenik.obj").ok().expect("failed to load obj model");; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/material/textures/imagetexture.rs:49:33 [INFO] [stdout] | [INFO] [stdout] 49 | fn clone_self(&self) -> Box { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Texture+Send+Sync` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/my_scene/sibenik.rs:49:29 [INFO] [stdout] | [INFO] [stdout] 49 | let mut lights: Vec> = Vec::new(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Light+Send+Sync` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/material/textures/imagetexture.rs:50:22 [INFO] [stdout] | [INFO] [stdout] 50 | let tex: Box = Box::new(ImageTexture { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Texture+Send+Sync` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/my_scene/bunny.rs:27:29 [INFO] [stdout] | [INFO] [stdout] 27 | let mut lights: Vec> = Vec::new(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Light+Send+Sync` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/my_scene/sibenik.rs:55:22 [INFO] [stdout] | [INFO] [stdout] 55 | let checker: Box = Box::new(CheckerTexture { color1: ColorRGBA::white(), color2: ColorRGBA::new_rgb(0.15, 0.11, 0.... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Texture+Send+Sync` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/my_scene/bunny.rs:35:28 [INFO] [stdout] | [INFO] [stdout] 35 | let mut prims: Vec> = Vec::new(); [INFO] [stdout] | ^^^^^^^^^^^^^^ help: use `dyn`: `dyn Prim+Send+Sync` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/my_scene/sibenik.rs:60:28 [INFO] [stdout] | [INFO] [stdout] 60 | let mut prims: Vec> = Vec::new(); [INFO] [stdout] | ^^^^^^^^^^^^^^ help: use `dyn`: `dyn Prim+Send+Sync` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/my_scene/cornell.rs:28:29 [INFO] [stdout] | [INFO] [stdout] 28 | let mut lights: Vec> = Vec::new(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Light+Send+Sync` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/my_scene/sphere.rs:84:29 [INFO] [stdout] | [INFO] [stdout] 84 | let mut lights: Vec> = Vec::new(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Light+Send+Sync` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/my_scene/cornell.rs:32:22 [INFO] [stdout] | [INFO] [stdout] 32 | let checker: Box = Box::new(CheckerTexture { color1: ColorRGBA::white(), color2: ColorRGBA::new_rgb(0.8, 0.1, 0.1)... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Texture+Send+Sync` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/my_scene/sphere.rs:87:28 [INFO] [stdout] | [INFO] [stdout] 87 | let mut prims: Vec> = Vec::new(); [INFO] [stdout] | ^^^^^^^^^^^^^^ help: use `dyn`: `dyn Prim+Send+Sync` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/my_scene/cornell.rs:46:28 [INFO] [stdout] | [INFO] [stdout] 46 | let mut prims: Vec> = Vec::new(); [INFO] [stdout] | ^^^^^^^^^^^^^^ help: use `dyn`: `dyn Prim+Send+Sync` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/my_scene/sponza.rs:42:144 [INFO] [stdout] | [INFO] [stdout] 42 | ...other.obj").ok().expect("failed to load obj model");; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/my_scene/cow.rs:35:118 [INFO] [stdout] | [INFO] [stdout] 35 | let cow = ::util::import::from_obj(red, true, "./docs/assets/models/cow.obj").expect("failed to load obj model");; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(redundant_semicolons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/my_scene/sponza.rs:45:170 [INFO] [stdout] | [INFO] [stdout] 45 | ...bbery.obj").ok().expect("failed to load obj model");; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/my_scene/cow.rs:27:29 [INFO] [stdout] | [INFO] [stdout] 27 | let mut lights: Vec> = Vec::new(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Light+Send+Sync` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/my_scene/sponza.rs:48:144 [INFO] [stdout] | [INFO] [stdout] 48 | ...cloth.obj").ok().expect("failed to load obj model");; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/my_scene/cow.rs:33:28 [INFO] [stdout] | [INFO] [stdout] 33 | let mut prims: Vec> = Vec::new(); [INFO] [stdout] | ^^^^^^^^^^^^^^ help: use `dyn`: `dyn Prim+Send+Sync` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/my_scene/easing.rs:49:29 [INFO] [stdout] | [INFO] [stdout] 49 | let mut lights: Vec> = Vec::new(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Light+Send+Sync` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/my_scene/sponza.rs:28:29 [INFO] [stdout] | [INFO] [stdout] 28 | let mut lights: Vec> = Vec::new(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Light+Send+Sync` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/my_scene/easing.rs:62:22 [INFO] [stdout] | [INFO] [stdout] 62 | let checker: Box = Box::new(CheckerTexture { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Texture+Send+Sync` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/my_scene/sponza.rs:32:22 [INFO] [stdout] | [INFO] [stdout] 32 | let checker: Box = Box::new(CheckerTexture { color1: ColorRGBA::white(), color2: ColorRGBA::new_rgb(0.15, 0.11, 0.... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Texture+Send+Sync` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/my_scene/easing.rs:84:28 [INFO] [stdout] | [INFO] [stdout] 84 | let mut prims: Vec> = Vec::new(); [INFO] [stdout] | ^^^^^^^^^^^^^^ help: use `dyn`: `dyn Prim+Send+Sync` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/my_scene/fresnel.rs:74:29 [INFO] [stdout] | [INFO] [stdout] 74 | let mut lights: Vec> = Vec::new(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Light+Send+Sync` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/my_scene/sponza.rs:39:28 [INFO] [stdout] | [INFO] [stdout] 39 | let mut prims: Vec> = Vec::new(); [INFO] [stdout] | ^^^^^^^^^^^^^^ help: use `dyn`: `dyn Prim+Send+Sync` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/my_scene/fresnel.rs:78:22 [INFO] [stdout] | [INFO] [stdout] 78 | let checker: Box = Box::new(CheckerTexture { color1: ColorRGBA::white(), color2: ColorRGBA::new_rgb(0.1, 0.1, 0.1)... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Texture+Send+Sync` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/my_scene/tachikoma.rs:35:137 [INFO] [stdout] | [INFO] [stdout] 35 | let tachikoma = ::util::import::from_obj(blue, false, "./docs/assets/models/tachikoma.obj").ok().expect("failed to load obj model");; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/my_scene/fresnel.rs:84:28 [INFO] [stdout] | [INFO] [stdout] 84 | let mut prims: Vec> = Vec::new(); [INFO] [stdout] | ^^^^^^^^^^^^^^ help: use `dyn`: `dyn Prim+Send+Sync` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/my_scene/heptoroid.rs:43:151 [INFO] [stdout] | [INFO] [stdout] 43 | ...oroid.obj").ok().expect("failed to load obj model");; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/my_scene/tachikoma.rs:26:29 [INFO] [stdout] | [INFO] [stdout] 26 | let mut lights: Vec> = Vec::new(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Light+Send+Sync` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/my_scene/heptoroid.rs:27:29 [INFO] [stdout] | [INFO] [stdout] 27 | let mut lights: Vec> = Vec::new(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Light+Send+Sync` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/my_scene/tachikoma.rs:32:28 [INFO] [stdout] | [INFO] [stdout] 32 | let mut prims: Vec> = Vec::new(); [INFO] [stdout] | ^^^^^^^^^^^^^^ help: use `dyn`: `dyn Prim+Send+Sync` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/my_scene/heptoroid.rs:42:28 [INFO] [stdout] | [INFO] [stdout] 42 | let mut prims: Vec> = Vec::new(); [INFO] [stdout] | ^^^^^^^^^^^^^^ help: use `dyn`: `dyn Prim+Send+Sync` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/my_scene/lucy.rs:33:126 [INFO] [stdout] | [INFO] [stdout] 33 | let lucy = ::util::import::from_obj(grey, true, "./docs/assets/models/lucy.obj").ok().expect("failed to load obj model");; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/my_scene/teapot.rs:38:140 [INFO] [stdout] | [INFO] [stdout] 38 | let mut teapot = ::util::import::from_obj(porcelain, false, "./docs/assets/models/teapot.obj").ok().expect("failed to load obj model");; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/my_scene/lucy.rs:27:29 [INFO] [stdout] | [INFO] [stdout] 27 | let mut lights: Vec> = Vec::new(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Light+Send+Sync` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/my_scene/lucy.rs:32:28 [INFO] [stdout] | [INFO] [stdout] 32 | let mut prims: Vec> = Vec::new(); [INFO] [stdout] | ^^^^^^^^^^^^^^ help: use `dyn`: `dyn Prim+Send+Sync` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/my_scene/teapot.rs:31:29 [INFO] [stdout] | [INFO] [stdout] 31 | let mut lights: Vec> = Vec::new(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Light+Send+Sync` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/my_scene/sibenik.rs:63:134 [INFO] [stdout] | [INFO] [stdout] 63 | let sibenik = ::util::import::from_obj(stone, false, "./docs/assets/models/sibenik.obj").ok().expect("failed to load obj model");; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/my_scene/teapot.rs:36:28 [INFO] [stdout] | [INFO] [stdout] 36 | let mut prims: Vec> = Vec::new(); [INFO] [stdout] | ^^^^^^^^^^^^^^ help: use `dyn`: `dyn Prim+Send+Sync` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/my_scene/sibenik.rs:49:29 [INFO] [stdout] | [INFO] [stdout] 49 | let mut lights: Vec> = Vec::new(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Light+Send+Sync` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/my_scene/mod.rs:27:48 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn scene_by_name(name: &str) -> Option> { [INFO] [stdout] | ^^^^^^^^^^^ help: use `dyn`: `dyn SceneConfig` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/my_scene/sibenik.rs:55:22 [INFO] [stdout] | [INFO] [stdout] 55 | let checker: Box = Box::new(CheckerTexture { color1: ColorRGBA::white(), color2: ColorRGBA::new_rgb(0.15, 0.11, 0.... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Texture+Send+Sync` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/my_scene/sibenik.rs:60:28 [INFO] [stdout] | [INFO] [stdout] 60 | let mut prims: Vec> = Vec::new(); [INFO] [stdout] | ^^^^^^^^^^^^^^ help: use `dyn`: `dyn Prim+Send+Sync` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/raytracer/animator/easing.rs:48:42 [INFO] [stdout] | [INFO] [stdout] 48 | let linear_easing = Easing::linear();; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/my_scene/sphere.rs:84:29 [INFO] [stdout] | [INFO] [stdout] 84 | let mut lights: Vec> = Vec::new(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Light+Send+Sync` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/raytracer/intersection.rs:10:27 [INFO] [stdout] | [INFO] [stdout] 10 | pub material: &'a Box [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Material + Send + Sync + 'a` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/my_scene/sphere.rs:87:28 [INFO] [stdout] | [INFO] [stdout] 87 | let mut prims: Vec> = Vec::new(); [INFO] [stdout] | ^^^^^^^^^^^^^^ help: use `dyn`: `dyn Prim+Send+Sync` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/my_scene/sponza.rs:42:144 [INFO] [stdout] | [INFO] [stdout] 42 | ...other.obj").ok().expect("failed to load obj model");; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/raytracer/ray.rs:86:25 [INFO] [stdout] | [INFO] [stdout] 86 | let lights: Vec> = Vec::new(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Light+Send+Sync` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/my_scene/sponza.rs:45:170 [INFO] [stdout] | [INFO] [stdout] 45 | ...bbery.obj").ok().expect("failed to load obj model");; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/raytracer/ray.rs:88:28 [INFO] [stdout] | [INFO] [stdout] 88 | let mut prims: Vec> = Vec::new(); [INFO] [stdout] | ^^^^^^^^^^^^^^ help: use `dyn`: `dyn Prim+Send+Sync` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/my_scene/sponza.rs:48:144 [INFO] [stdout] | [INFO] [stdout] 48 | ...cloth.obj").ok().expect("failed to load obj model");; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/my_scene/sponza.rs:28:29 [INFO] [stdout] | [INFO] [stdout] 28 | let mut lights: Vec> = Vec::new(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Light+Send+Sync` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/raytracer/renderer.rs:189:37 [INFO] [stdout] | [INFO] [stdout] 189 | light: &Box, shadow_samples: u32) -> Vec3 { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Light+Send+Sync` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/my_scene/sponza.rs:32:22 [INFO] [stdout] | [INFO] [stdout] 32 | let checker: Box = Box::new(CheckerTexture { color1: ColorRGBA::white(), color2: ColorRGBA::new_rgb(0.15, 0.11, 0.... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Texture+Send+Sync` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/scene/scene.rs:8:25 [INFO] [stdout] | [INFO] [stdout] 8 | pub lights: Vec>, [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Light+Send+Sync` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/my_scene/sponza.rs:39:28 [INFO] [stdout] | [INFO] [stdout] 39 | let mut prims: Vec> = Vec::new(); [INFO] [stdout] | ^^^^^^^^^^^^^^ help: use `dyn`: `dyn Prim+Send+Sync` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/scene/scene.rs:9:28 [INFO] [stdout] | [INFO] [stdout] 9 | pub octree: Octree>, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: use `dyn`: `dyn Prim+Send+Sync` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/my_scene/tachikoma.rs:35:137 [INFO] [stdout] | [INFO] [stdout] 35 | let tachikoma = ::util::import::from_obj(blue, false, "./docs/assets/models/tachikoma.obj").ok().expect("failed to load obj model");; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/my_scene/tachikoma.rs:26:29 [INFO] [stdout] | [INFO] [stdout] 26 | let mut lights: Vec> = Vec::new(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Light+Send+Sync` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/util/import.rs:31:32 [INFO] [stdout] | [INFO] [stdout] 31 | let mut triangles: Vec> = Vec::new(); [INFO] [stdout] | ^^^^^^^^^^^^^^ help: use `dyn`: `dyn Prim+Send+Sync` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/my_scene/tachikoma.rs:32:28 [INFO] [stdout] | [INFO] [stdout] 32 | let mut prims: Vec> = Vec::new(); [INFO] [stdout] | ^^^^^^^^^^^^^^ help: use `dyn`: `dyn Prim+Send+Sync` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/my_scene/teapot.rs:38:140 [INFO] [stdout] | [INFO] [stdout] 38 | let mut teapot = ::util::import::from_obj(porcelain, false, "./docs/assets/models/teapot.obj").ok().expect("failed to load obj model");; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/my_scene/teapot.rs:31:29 [INFO] [stdout] | [INFO] [stdout] 31 | let mut lights: Vec> = Vec::new(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Light+Send+Sync` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/my_scene/teapot.rs:36:28 [INFO] [stdout] | [INFO] [stdout] 36 | let mut prims: Vec> = Vec::new(); [INFO] [stdout] | ^^^^^^^^^^^^^^ help: use `dyn`: `dyn Prim+Send+Sync` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/my_scene/mod.rs:27:48 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn scene_by_name(name: &str) -> Option> { [INFO] [stdout] | ^^^^^^^^^^^ help: use `dyn`: `dyn SceneConfig` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/raytracer/intersection.rs:10:27 [INFO] [stdout] | [INFO] [stdout] 10 | pub material: &'a Box [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Material + Send + Sync + 'a` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/raytracer/renderer.rs:189:37 [INFO] [stdout] | [INFO] [stdout] 189 | light: &Box, shadow_samples: u32) -> Vec3 { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Light+Send+Sync` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/scene/scene.rs:8:25 [INFO] [stdout] | [INFO] [stdout] 8 | pub lights: Vec>, [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Light+Send+Sync` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/scene/scene.rs:9:28 [INFO] [stdout] | [INFO] [stdout] 9 | pub octree: Octree>, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: use `dyn`: `dyn Prim+Send+Sync` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/util/import.rs:31:32 [INFO] [stdout] | [INFO] [stdout] 31 | let mut triangles: Vec> = Vec::new(); [INFO] [stdout] | ^^^^^^^^^^^^^^ help: use `dyn`: `dyn Prim+Send+Sync` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 65 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 68 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 9.71s [INFO] running `Command { std: "docker" "inspect" "c2252cd6480d87b985b9fff62b0ccc988ff86df510f3a3a4c3fd595c70bee1cd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c2252cd6480d87b985b9fff62b0ccc988ff86df510f3a3a4c3fd595c70bee1cd", kill_on_drop: false }` [INFO] [stdout] c2252cd6480d87b985b9fff62b0ccc988ff86df510f3a3a4c3fd595c70bee1cd