[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#5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f for pr-87248 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgyng%2Frust-raytracer" "/workspace/builds/worker-14/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-14/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/gyng/rust-raytracer 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/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-14/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" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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] 661e4ec045306033dd02c4528ef1a112b0f6043e93d45fad72261b11215ac183 [INFO] running `Command { std: "docker" "start" "-a" "661e4ec045306033dd02c4528ef1a112b0f6043e93d45fad72261b11215ac183", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "661e4ec045306033dd02c4528ef1a112b0f6043e93d45fad72261b11215ac183", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "661e4ec045306033dd02c4528ef1a112b0f6043e93d45fad72261b11215ac183", kill_on_drop: false }` [INFO] [stdout] 661e4ec045306033dd02c4528ef1a112b0f6043e93d45fad72261b11215ac183 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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] 67b2250b91dc08cfda575bc0b7d7cbc73f4e9c1be38414d2f42878188224088c [INFO] running `Command { std: "docker" "start" "-a" "67b2250b91dc08cfda575bc0b7d7cbc73f4e9c1be38414d2f42878188224088c", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Checking nodrop v0.1.12 [INFO] [stderr] Compiling rayon-core v1.4.1 [INFO] [stderr] Compiling rayon v1.0.2 [INFO] [stderr] Compiling num-bigint v0.2.0 [INFO] [stderr] Compiling num-rational v0.2.1 [INFO] [stderr] Compiling num-complex v0.2.0 [INFO] [stderr] Checking scoped_threadpool v0.1.9 [INFO] [stderr] Compiling num-integer v0.1.39 [INFO] [stderr] Checking crossbeam-utils v0.2.2 [INFO] [stderr] Compiling proc-macro2 v0.4.9 [INFO] [stderr] Checking inflate v0.4.3 [INFO] [stderr] Compiling num-traits v0.2.5 [INFO] [stderr] Checking deflate v0.7.18 [INFO] [stderr] Checking gif v0.10.0 [INFO] [stderr] Checking threadpool v1.7.1 [INFO] [stderr] Checking arrayvec v0.4.7 [INFO] [stderr] Compiling quote v0.6.4 [INFO] [stderr] Checking crossbeam-epoch v0.3.1 [INFO] [stderr] Checking num-iter v0.1.37 [INFO] [stderr] Checking num-rational v0.1.42 [INFO] [stderr] Compiling syn v0.14.6 [INFO] [stderr] Checking crossbeam-deque v0.2.0 [INFO] [stderr] Checking png v0.12.0 [INFO] [stderr] Checking num v0.2.0 [INFO] [stderr] Checking jpeg-decoder v0.1.15 [INFO] [stderr] Compiling num-derive v0.2.2 [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 issue #80165 [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 issue #80165 [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 issue #80165 [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 issue #80165 [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 issue #80165 [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 issue #80165 [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 issue #80165 [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 issue #80165 [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 issue #80165 [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 issue #80165 [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 issue #80165 [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 issue #80165 [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 issue #80165 [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 issue #80165 [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 issue #80165 [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 issue #80165 [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 issue #80165 [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 issue #80165 [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 issue #80165 [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 issue #80165 [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 issue #80165 [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 issue #80165 [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 issue #80165 [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/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 issue #80165 [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 issue #80165 [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 issue #80165 [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 issue #80165 [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 issue #80165 [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 issue #80165 [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 issue #80165 [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 issue #80165 [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/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 issue #80165 [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 issue #80165 [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/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 issue #80165 [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 issue #80165 [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/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 issue #80165 [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 issue #80165 [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 issue #80165 [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 issue #80165 [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 issue #80165 [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/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: 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 issue #80165 [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 issue #80165 [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 issue #80165 [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 issue #80165 [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 issue #80165 [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 issue #80165 [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 issue #80165 [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 issue #80165 [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 issue #80165 [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 issue #80165 [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 issue #80165 [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 issue #80165 [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 issue #80165 [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: 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 issue #80165 [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 issue #80165 [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 issue #80165 [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 issue #80165 [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 issue #80165 [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 issue #80165 [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 issue #80165 [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 issue #80165 [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 issue #80165 [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 issue #80165 [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 issue #80165 [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 issue #80165 [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 issue #80165 [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 issue #80165 [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 issue #80165 [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 issue #80165 [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 issue #80165 [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 issue #80165 [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 issue #80165 [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 issue #80165 [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 issue #80165 [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 issue #80165 [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 issue #80165 [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/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 issue #80165 [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 issue #80165 [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 issue #80165 [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 issue #80165 [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 issue #80165 [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 issue #80165 [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 issue #80165 [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 issue #80165 [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/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 issue #80165 [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 issue #80165 [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/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 issue #80165 [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 issue #80165 [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/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 issue #80165 [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 issue #80165 [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 issue #80165 [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 issue #80165 [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 issue #80165 [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/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: 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 issue #80165 [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 issue #80165 [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 issue #80165 [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 issue #80165 [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 issue #80165 [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 issue #80165 [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 issue #80165 [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 issue #80165 [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/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 issue #80165 [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 issue #80165 [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 issue #80165 [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 issue #80165 [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 issue #80165 [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 issue #80165 [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 issue #80165 [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 11.66s [INFO] running `Command { std: "docker" "inspect" "67b2250b91dc08cfda575bc0b7d7cbc73f4e9c1be38414d2f42878188224088c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "67b2250b91dc08cfda575bc0b7d7cbc73f4e9c1be38414d2f42878188224088c", kill_on_drop: false }` [INFO] [stdout] 67b2250b91dc08cfda575bc0b7d7cbc73f4e9c1be38414d2f42878188224088c