[INFO] fetching crate arendur 0.0.5... [INFO] testing arendur-0.0.5 against master#a77da2d454e6caa227a85b16410b95f93495e7e0 for pr-91031 [INFO] extracting crate arendur 0.0.5 into /workspace/builds/worker-13/source [INFO] validating manifest of crates.io crate arendur 0.0.5 on toolchain a77da2d454e6caa227a85b16410b95f93495e7e0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate arendur 0.0.5 [INFO] removed 0 missing examples [INFO] finished tweaking crates.io crate arendur 0.0.5 [INFO] tweaked toml for crates.io crate arendur 0.0.5 written to /workspace/builds/worker-13/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f6ced572989b50c9a4373faa86962810da1b45c52d49afe616a4d51f8eeb7f56 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "f6ced572989b50c9a4373faa86962810da1b45c52d49afe616a4d51f8eeb7f56", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f6ced572989b50c9a4373faa86962810da1b45c52d49afe616a4d51f8eeb7f56", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f6ced572989b50c9a4373faa86962810da1b45c52d49afe616a4d51f8eeb7f56", kill_on_drop: false }` [INFO] [stdout] f6ced572989b50c9a4373faa86962810da1b45c52d49afe616a4d51f8eeb7f56 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b43f0228efb907768787295a96ff8b2e5891a006a45adb2f0687ce1c39e77c41 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "b43f0228efb907768787295a96ff8b2e5891a006a45adb2f0687ce1c39e77c41", kill_on_drop: false }` [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling crossbeam-utils v0.8.5 [INFO] [stderr] Compiling crossbeam-epoch v0.9.5 [INFO] [stderr] Compiling rayon-core v1.9.1 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling proc-macro2 v1.0.32 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.81 [INFO] [stderr] Compiling serde_derive v1.0.130 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling serde v1.0.130 [INFO] [stderr] Compiling adler32 v1.2.0 [INFO] [stderr] Compiling bitflags v0.7.0 [INFO] [stderr] Compiling inflate v0.1.1 [INFO] [stderr] Compiling lzw v0.10.0 [INFO] [stderr] Compiling color_quant v1.1.0 [INFO] [stderr] Compiling scoped_threadpool v0.1.9 [INFO] [stderr] Compiling aren_alloc v0.2.1 [INFO] [stderr] Compiling lazy_static v0.2.11 [INFO] [stderr] Compiling copy_arena v0.1.1 [INFO] [stderr] Compiling tobj v0.1.12 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling memoffset v0.6.4 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling num-iter v0.1.42 [INFO] [stderr] Compiling rayon v1.5.1 [INFO] [stderr] Compiling deflate v0.7.20 [INFO] [stderr] Compiling gif v0.9.2 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling rand v0.3.23 [INFO] [stderr] Compiling log v0.3.9 [INFO] [stderr] Compiling crossbeam-channel v0.5.1 [INFO] [stderr] Compiling crossbeam-deque v0.8.1 [INFO] [stderr] Compiling quote v1.0.10 [INFO] [stderr] Compiling num-traits v0.1.43 [INFO] [stderr] Compiling enum_primitive v0.1.1 [INFO] [stderr] Compiling num-rational v0.1.42 [INFO] [stderr] Compiling rayon v0.7.1 [INFO] [stderr] Compiling png v0.6.2 [INFO] [stderr] Compiling jpeg-decoder v0.1.22 [INFO] [stderr] Compiling image v0.12.4 [INFO] [stderr] Compiling cgmath v0.14.1 [INFO] [stderr] Compiling arendur v0.0.5 (/opt/rustwide/workdir) [INFO] [stdout] warning: the feature `specialization` is incomplete and may not be safe to use and/or cause compiler crashes [INFO] [stdout] --> src/lib.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 10 | #![feature(specialization)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(incomplete_features)]` on by default [INFO] [stdout] = note: see issue #31844 for more information [INFO] [stdout] = help: consider using `min_specialization` instead, which is more stable and complete [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/geometry/interaction.rs:119:35 [INFO] [stdout] | [INFO] [stdout] 119 | pub primitive_hit: Option<&'b Primitive>, [INFO] [stdout] | ^^^^^^^^^ help: use `dyn`: `dyn Primitive` [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/shape/triangle.rs:33:19 [INFO] [stdout] | [INFO] [stdout] 33 | material: Arc, [INFO] [stdout] | ^^^^^^^^ help: use `dyn`: `dyn Material` [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/shape/triangle.rs:34:34 [INFO] [stdout] | [INFO] [stdout] 34 | lighting_profile: Option>>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Texture` [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/shape/triangle.rs:84:23 [INFO] [stdout] | [INFO] [stdout] 84 | material: Arc, [INFO] [stdout] | ^^^^^^^^ help: use `dyn`: `dyn Material` [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/shape/triangle.rs:85:38 [INFO] [stdout] | [INFO] [stdout] 85 | lighting_profile: Option>> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Texture` [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/shape/triangle.rs:123:23 [INFO] [stdout] | [INFO] [stdout] 123 | material: Arc, [INFO] [stdout] | ^^^^^^^^ help: use `dyn`: `dyn Material` [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/shape/triangle.rs:124:38 [INFO] [stdout] | [INFO] [stdout] 124 | lighting_profile: Option>> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Texture` [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/shape/triangle.rs:499:13 [INFO] [stdout] | [INFO] [stdout] 499 | ... (norms[self.vidx(0)] * barycentrc.x + norms[self.vidx(1)] * barycentrc.y + norms[self.vidx(2)] * (1. as Float - barycentrc.x - barycentrc.y)) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 499 - (norms[self.vidx(0)] * barycentrc.x + norms[self.vidx(1)] * barycentrc.y + norms[self.vidx(2)] * (1. as Float - barycentrc.x - barycentrc.y)) [INFO] [stdout] 499 + norms[self.vidx(0)] * barycentrc.x + norms[self.vidx(1)] * barycentrc.y + norms[self.vidx(2)] * (1. as Float - barycentrc.x - barycentrc.y) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/shape/triangle.rs:531:28 [INFO] [stdout] | [INFO] [stdout] 531 | fn as_light(&self) -> &Light { [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Light` [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/shape/triangle.rs:630:32 [INFO] [stdout] | [INFO] [stdout] 630 | fn get_material(&self) -> &Material { [INFO] [stdout] | ^^^^^^^^ help: use `dyn`: `dyn Material` [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/component/mod.rs:40:28 [INFO] [stdout] | [INFO] [stdout] 40 | fn as_light(&self) -> &Light { [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Light` [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/component/mod.rs:61:32 [INFO] [stdout] | [INFO] [stdout] 61 | fn get_material(&self) -> &Material; [INFO] [stdout] | ^^^^^^^^ help: use `dyn`: `dyn Material` [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/component/mod.rs:70:32 [INFO] [stdout] | [INFO] [stdout] 70 | let mut materials: Vec> = Vec::with_capacity(mtls.len()+1); [INFO] [stdout] | ^^^^^^^^ help: use `dyn`: `dyn Material` [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/component/mod.rs:193:13 [INFO] [stdout] | [INFO] [stdout] 193 | Arc(Arc), [INFO] [stdout] | ^^^^^^^^^^ help: use `dyn`: `dyn Composable` [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/component/mod.rs:224:28 [INFO] [stdout] | [INFO] [stdout] 224 | fn as_light(&self) -> &Light { [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Light` [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/component/mod.rs:240:15 [INFO] [stdout] | [INFO] [stdout] 240 | impl From> for ComponentPointer { [INFO] [stdout] | ^^^^^^^^^^ help: use `dyn`: `dyn Composable` [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/component/mod.rs:242:22 [INFO] [stdout] | [INFO] [stdout] 242 | fn from(arc: Arc) -> ComponentPointer { [INFO] [stdout] | ^^^^^^^^^^ help: use `dyn`: `dyn Composable` [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/component/shape.rs:24:38 [INFO] [stdout] | [INFO] [stdout] 24 | pub lighting_profile: Option>>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Texture` [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/component/shape.rs:35:38 [INFO] [stdout] | [INFO] [stdout] 35 | lighting_profile: Option>> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Texture` [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/component/shape.rs:69:28 [INFO] [stdout] | [INFO] [stdout] 69 | fn as_light(&self) -> &Light { [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Light` [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/component/shape.rs:174:32 [INFO] [stdout] | [INFO] [stdout] 174 | fn get_material(&self) -> &Material { [INFO] [stdout] | ^^^^^^^^ help: use `dyn`: `dyn Material` [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/component/transformed.rs:65:36 [INFO] [stdout] | [INFO] [stdout] 65 | default fn as_light(&self) -> &Light { [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Light` [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/component/transformed.rs:85:28 [INFO] [stdout] | [INFO] [stdout] 85 | fn as_light(&self) -> &Light { [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Light` [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/component/transformed.rs:98:32 [INFO] [stdout] | [INFO] [stdout] 98 | fn get_material(&self) -> &Material { [INFO] [stdout] | ^^^^^^^^ help: use `dyn`: `dyn Material` [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/component/transformed.rs:184:36 [INFO] [stdout] | [INFO] [stdout] 184 | default fn as_light(&self) -> &Light { [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Light` [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/component/transformed.rs:204:28 [INFO] [stdout] | [INFO] [stdout] 204 | fn as_light(&self) -> &Light { [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Light` [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/component/transformed.rs:217:32 [INFO] [stdout] | [INFO] [stdout] 217 | fn get_material(&self) -> &Material { [INFO] [stdout] | ^^^^^^^^ help: use `dyn`: `dyn Material` [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/component/transformed.rs:274:47 [INFO] [stdout] | [INFO] [stdout] 274 | impl Composable for TransformedComposable> [INFO] [stdout] | ^^^^^^^^^^ help: use `dyn`: `dyn Composable` [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/component/transformed.rs:298:28 [INFO] [stdout] | [INFO] [stdout] 298 | fn as_light(&self) -> &Light { [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Light` [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/component/transformed.rs:303:47 [INFO] [stdout] | [INFO] [stdout] 303 | impl Composable for TransformedComposable> [INFO] [stdout] | ^^^^^^^^^ help: use `dyn`: `dyn Primitive` [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/component/transformed.rs:328:28 [INFO] [stdout] | [INFO] [stdout] 328 | fn as_light(&self) -> &Light { [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Light` [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/component/transformed.rs:333:46 [INFO] [stdout] | [INFO] [stdout] 333 | impl Primitive for TransformedComposable> [INFO] [stdout] | ^^^^^^^^^ help: use `dyn`: `dyn Primitive` [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/component/transformed.rs:341:32 [INFO] [stdout] | [INFO] [stdout] 341 | fn get_material(&self) -> &Material { [INFO] [stdout] | ^^^^^^^^ help: use `dyn`: `dyn Material` [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/component/transformed.rs:346:42 [INFO] [stdout] | [INFO] [stdout] 346 | impl Light for TransformedComposable> [INFO] [stdout] | ^^^^^^^^^ help: use `dyn`: `dyn Primitive` [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/component/naive.rs:16:27 [INFO] [stdout] | [INFO] [stdout] 16 | pub elements: Vec>, [INFO] [stdout] | ^^^^^^^^^^ help: use `dyn`: `dyn Composable` [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/component/naive.rs:21:34 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn new(elements: Vec>) -> Naive { [INFO] [stdout] | ^^^^^^^^^^ help: use `dyn`: `dyn Composable` [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/component/naive.rs:33:34 [INFO] [stdout] | [INFO] [stdout] 33 | pub fn from_one(element: Arc) -> Naive { [INFO] [stdout] | ^^^^^^^^^^ help: use `dyn`: `dyn Composable` [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/component/naive.rs:42:43 [INFO] [stdout] | [INFO] [stdout] 42 | pub fn append(&mut self, element: Arc) { [INFO] [stdout] | ^^^^^^^^^^ help: use `dyn`: `dyn Composable` [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/filming/film.rs:42:17 [INFO] [stdout] | [INFO] [stdout] 42 | filter: Arc, [INFO] [stdout] | ^^^^^^ help: use `dyn`: `dyn Filter` [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/filming/film.rs:47:29 [INFO] [stdout] | [INFO] [stdout] 47 | fn lanczos_default() -> Arc { [INFO] [stdout] | ^^^^^^ help: use `dyn`: `dyn Filter` [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/filming/film.rs:55:76 [INFO] [stdout] | [INFO] [stdout] 55 | pub fn new(resolution: Point2, crop_window: BBox2f, filter: Arc) -> Film { [INFO] [stdout] | ^^^^^^ help: use `dyn`: `dyn Filter` [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/filming/film.rs:282:17 [INFO] [stdout] | [INFO] [stdout] 282 | filter: &'a Filter, [INFO] [stdout] | ^^^^^^ help: use `dyn`: `dyn Filter` [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 function argument [INFO] [stdout] --> src/sample/filters.rs:216:33 [INFO] [stdout] | [INFO] [stdout] 216 | LanczosSincFilter::sinc((x*inv_tau)) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 216 - LanczosSincFilter::sinc((x*inv_tau)) [INFO] [stdout] 216 + LanczosSincFilter::sinc(x*inv_tau) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/bxdf/mod.rs:119:1 [INFO] [stdout] | [INFO] [stdout] 119 | / bitflags! { [INFO] [stdout] 120 | | pub flags BxdfType: u32 { [INFO] [stdout] 121 | | const BXDF_REFLECTION = 0x01, [INFO] [stdout] 122 | | const BXDF_TRANSMISSION = 0x02, [INFO] [stdout] ... | [INFO] [stdout] 131 | | } [INFO] [stdout] 132 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in the macro `bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/bxdf/mod.rs:119:1 [INFO] [stdout] | [INFO] [stdout] 119 | / bitflags! { [INFO] [stdout] 120 | | pub flags BxdfType: u32 { [INFO] [stdout] 121 | | const BXDF_REFLECTION = 0x01, [INFO] [stdout] 122 | | const BXDF_TRANSMISSION = 0x02, [INFO] [stdout] ... | [INFO] [stdout] 131 | | } [INFO] [stdout] 132 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/material/bsdf.rs:48:45 [INFO] [stdout] | [INFO] [stdout] 48 | pub fn add(&mut self, bxdf: Pointer<'a, Bxdf>) { [INFO] [stdout] | ^^^^ help: use `dyn`: `dyn Bxdf` [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/bsdf.rs:243:32 [INFO] [stdout] | [INFO] [stdout] 243 | bxdfs: [Option>; 8], [INFO] [stdout] | ^^^^ help: use `dyn`: `dyn Bxdf` [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/bsdf.rs:259:41 [INFO] [stdout] | [INFO] [stdout] 259 | fn add(&mut self, bxdf: Pointer<'a, Bxdf>) { [INFO] [stdout] | ^^^^ help: use `dyn`: `dyn Bxdf` [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/bsdf.rs:281:21 [INFO] [stdout] | [INFO] [stdout] 281 | type Item = &'a Bxdf; [INFO] [stdout] | ^^^^ help: use `dyn`: `dyn Bxdf` [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/bsdf.rs:282:38 [INFO] [stdout] | [INFO] [stdout] 282 | fn next(&mut self) -> Option<&'a Bxdf> { [INFO] [stdout] | ^^^^ help: use `dyn`: `dyn Bxdf` [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/bsdf.rs:289:37 [INFO] [stdout] | [INFO] [stdout] 289 | let ret: *const Bxdf = &**p; [INFO] [stdout] | ^^^^ help: use `dyn`: `dyn Bxdf` [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/matte.rs:21:17 [INFO] [stdout] | [INFO] [stdout] 21 | pub kd: Arc>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Texture` [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/matte.rs:22:20 [INFO] [stdout] | [INFO] [stdout] 22 | pub sigma: Arc>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Texture` [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/matte.rs:23:26 [INFO] [stdout] | [INFO] [stdout] 23 | pub bump: Option>>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Texture` [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/matte.rs:29:24 [INFO] [stdout] | [INFO] [stdout] 29 | pub fn new(kd: Arc>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Texture` [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/matte.rs:30:16 [INFO] [stdout] | [INFO] [stdout] 30 | sigma: Arc>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Texture` [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/matte.rs:31:22 [INFO] [stdout] | [INFO] [stdout] 31 | bump: Option>>) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Texture` [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/plastic.rs:20:22 [INFO] [stdout] | [INFO] [stdout] 20 | pub diffuse: Arc>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Texture` [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/plastic.rs:21:23 [INFO] [stdout] | [INFO] [stdout] 21 | pub specular: Arc>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Texture` [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/plastic.rs:22:24 [INFO] [stdout] | [INFO] [stdout] 22 | pub roughness: Arc>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Texture` [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/plastic.rs:23:26 [INFO] [stdout] | [INFO] [stdout] 23 | pub bump: Option>>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Texture` [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/plastic.rs:28:22 [INFO] [stdout] | [INFO] [stdout] 28 | diffuse: Arc>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Texture` [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/plastic.rs:29:23 [INFO] [stdout] | [INFO] [stdout] 29 | specular: Arc>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Texture` [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/plastic.rs:30:24 [INFO] [stdout] | [INFO] [stdout] 30 | roughness: Arc>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Texture` [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/plastic.rs:31:26 [INFO] [stdout] | [INFO] [stdout] 31 | bump: Option>> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Texture` [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/glass.rs:20:22 [INFO] [stdout] | [INFO] [stdout] 20 | pub diffuse: Arc>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Texture` [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/glass.rs:21:23 [INFO] [stdout] | [INFO] [stdout] 21 | pub specular: Arc>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Texture` [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/glass.rs:22:24 [INFO] [stdout] | [INFO] [stdout] 22 | pub roughness: Arc>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Texture` [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/glass.rs:24:26 [INFO] [stdout] | [INFO] [stdout] 24 | pub bump: Option>>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Texture` [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/glass.rs:29:22 [INFO] [stdout] | [INFO] [stdout] 29 | diffuse: Arc>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Texture` [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/glass.rs:30:23 [INFO] [stdout] | [INFO] [stdout] 30 | specular: Arc>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Texture` [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/glass.rs:31:24 [INFO] [stdout] | [INFO] [stdout] 31 | roughness: Arc>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Texture` [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/glass.rs:33:26 [INFO] [stdout] | [INFO] [stdout] 33 | bump: Option>> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Texture` [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/translucent.rs:20:22 [INFO] [stdout] | [INFO] [stdout] 20 | pub diffuse: Arc>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Texture` [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/translucent.rs:21:23 [INFO] [stdout] | [INFO] [stdout] 21 | pub specular: Arc>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Texture` [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/translucent.rs:22:24 [INFO] [stdout] | [INFO] [stdout] 22 | pub roughness: Arc>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Texture` [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/translucent.rs:24:26 [INFO] [stdout] | [INFO] [stdout] 24 | pub bump: Option>>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Texture` [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/translucent.rs:29:22 [INFO] [stdout] | [INFO] [stdout] 29 | diffuse: Arc>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Texture` [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/translucent.rs:30:23 [INFO] [stdout] | [INFO] [stdout] 30 | specular: Arc>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Texture` [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/translucent.rs:31:24 [INFO] [stdout] | [INFO] [stdout] 31 | roughness: Arc>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Texture` [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/translucent.rs:33:26 [INFO] [stdout] | [INFO] [stdout] 33 | bump: Option>> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Texture` [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/texturing/textures/image.rs:142:21 [INFO] [stdout] | [INFO] [stdout] 142 | ) -> Option>>> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Texture>` [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/texturing/textures/image.rs:197:21 [INFO] [stdout] | [INFO] [stdout] 197 | ) -> Option>> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Texture` [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 `try`: use the `?` operator instead [INFO] [stdout] --> src/lighting/mod.rs:84:1 [INFO] [stdout] | [INFO] [stdout] 84 | / bitflags! { [INFO] [stdout] 85 | | pub flags LightFlag: u32 { [INFO] [stdout] 86 | | const LIGHT_DPOS = 0x1, [INFO] [stdout] 87 | | const LIGHT_DDIR = 0x2, [INFO] [stdout] ... | [INFO] [stdout] 90 | | } [INFO] [stdout] 91 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lighting/mod.rs:84:1 [INFO] [stdout] | [INFO] [stdout] 84 | / bitflags! { [INFO] [stdout] 85 | | pub flags LightFlag: u32 { [INFO] [stdout] 86 | | const LIGHT_DPOS = 0x1, [INFO] [stdout] 87 | | const LIGHT_DDIR = 0x2, [INFO] [stdout] ... | [INFO] [stdout] 90 | | } [INFO] [stdout] 91 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/lighting/distantlight.rs:88:9 [INFO] [stdout] | [INFO] [stdout] 88 | /// extend accordingly [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 89 | let pdisk = self.world_center + self.world_radius*(pdisk.x * u + pdisk.y * v); [INFO] [stdout] | ------------------------------------------------------------------------------ rustdoc does not generate documentation for statements [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_doc_comments)]` on by default [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/renderer/scene.rs:24:25 [INFO] [stdout] | [INFO] [stdout] 24 | pub lights: Vec>, [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Light` [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/renderer/scene.rs:27:24 [INFO] [stdout] | [INFO] [stdout] 27 | pub aggregate: Arc, [INFO] [stdout] | ^^^^^^^^^^ help: use `dyn`: `dyn Composable` [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/renderer/scene.rs:32:25 [INFO] [stdout] | [INFO] [stdout] 32 | lights: Vec>, [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Light` [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/renderer/scene.rs:34:24 [INFO] [stdout] | [INFO] [stdout] 34 | aggregate: Arc [INFO] [stdout] | ^^^^^^^^^^ help: use `dyn`: `dyn Composable` [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/renderer/scene.rs:54:45 [INFO] [stdout] | [INFO] [stdout] 54 | pub fn get_light(&self, idx: usize) -> &Light { [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Light` [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/renderer/scene.rs:84:17 [INFO] [stdout] | [INFO] [stdout] 84 | light: &Light, ulight: Point2f, uscattering: Point2f, [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Light` [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/renderer/scene.rs:170:51 [INFO] [stdout] | [INFO] [stdout] 170 | pub fn sample_one_light(&self, u: Float) -> (&Light, Float) { [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Light` [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/renderer/whitted.rs:27:17 [INFO] [stdout] | [INFO] [stdout] 27 | camera: Arc, [INFO] [stdout] | ^^^^^^ help: use `dyn`: `dyn Camera` [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/renderer/whitted.rs:32:65 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn new + ?Sized>(sampler: S, camera: Arc, path: &P) -> WhittedRenderer { [INFO] [stdout] | ^^^^^^ help: use `dyn`: `dyn Camera` [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/renderer/pt.rs:28:17 [INFO] [stdout] | [INFO] [stdout] 28 | camera: Arc, [INFO] [stdout] | ^^^^^^ help: use `dyn`: `dyn Camera` [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/renderer/pt.rs:38:33 [INFO] [stdout] | [INFO] [stdout] 38 | sampler: S, camera: Arc, [INFO] [stdout] | ^^^^^^ help: use `dyn`: `dyn Camera` [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 function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/geometry/ray.rs:79:31 [INFO] [stdout] | [INFO] [stdout] 79 | stc: unsafe {mem::uninitialized()}, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/component/bvh.rs:179:18 [INFO] [stdout] | [INFO] [stdout] 179 | mem::uninitialized() [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/component/bvh.rs:353:32 [INFO] [stdout] | [INFO] [stdout] 353 | bound: unsafe{mem::uninitialized()}, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/filming/film.rs:211:23 [INFO] [stdout] | [INFO] [stdout] 211 | vec![mem::uninitialized(); (diagonal.x * diagonal.y) as usize] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/sample/strata.rs:172:32 [INFO] [stdout] | [INFO] [stdout] 172 | vec![std::mem::uninitialized(); nsample] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/sample/strata.rs:183:32 [INFO] [stdout] | [INFO] [stdout] 183 | vec![std::mem::uninitialized(); nsample] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/sample/strata.rs:236:28 [INFO] [stdout] | [INFO] [stdout] 236 | vec![std::mem::uninitialized(); buf.len()] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/sample/filters.rs:268:37 [INFO] [stdout] | [INFO] [stdout] 268 | buf: unsafe { vec![mem::uninitialized(); PREC_FILTER_SIZE] }, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/sample/sink.rs:36:28 [INFO] [stdout] | [INFO] [stdout] 36 | vec![std::mem::uninitialized(); ndim * nsample] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/texturing/textures/image.rs:631:1 [INFO] [stdout] | [INFO] [stdout] 631 | / lazy_static! { [INFO] [stdout] 632 | | static ref WEIGHT_LUT: Vec = { [INFO] [stdout] 633 | | let mut v = Vec::with_capacity(WEIGHT_LUT_SIZE); [INFO] [stdout] 634 | | for i in 0..WEIGHT_LUT_SIZE { [INFO] [stdout] ... | [INFO] [stdout] 640 | | }; [INFO] [stdout] 641 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type annotations needed [INFO] [stdout] --> src/spectrum/mod.rs:162:17 [INFO] [stdout] | [INFO] [stdout] 162 | ptr.as_ref().unwrap() [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(tyvar_behind_raw_pointer)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #46906 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type annotations needed [INFO] [stdout] --> src/spectrum/mod.rs:170:17 [INFO] [stdout] | [INFO] [stdout] 170 | ptr.as_mut().unwrap() [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #46906 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `float_bits_conv` has been stable since 1.20.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/lib.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 12 | #![feature(float_bits_conv)] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `ShearingTransformCache` does not permit being left uninitialized [INFO] [stdout] --> src/geometry/ray.rs:79:26 [INFO] [stdout] | [INFO] [stdout] 79 | stc: unsafe {mem::uninitialized()}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(invalid_value)]` on by default [INFO] [stdout] note: enums have to be initialized to a variant [INFO] [stdout] --> src/geometry/ray.rs:184:1 [INFO] [stdout] | [INFO] [stdout] 184 | / enum Permulation { [INFO] [stdout] 185 | | XZ, [INFO] [stdout] 186 | | YZ, [INFO] [stdout] 187 | | ZZ, [INFO] [stdout] 188 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 112 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 52.05s [INFO] running `Command { std: "docker" "inspect" "b43f0228efb907768787295a96ff8b2e5891a006a45adb2f0687ce1c39e77c41", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b43f0228efb907768787295a96ff8b2e5891a006a45adb2f0687ce1c39e77c41", kill_on_drop: false }` [INFO] [stdout] b43f0228efb907768787295a96ff8b2e5891a006a45adb2f0687ce1c39e77c41 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] beff42b4473894b6ffc5de2d6f6377802f0d81593f82d9e17b24f5a6da4c98d8 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "beff42b4473894b6ffc5de2d6f6377802f0d81593f82d9e17b24f5a6da4c98d8", kill_on_drop: false }` [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling thread_local v0.3.6 [INFO] [stderr] Compiling thread-id v3.3.0 [INFO] [stdout] warning: the feature `specialization` is incomplete and may not be safe to use and/or cause compiler crashes [INFO] [stdout] --> src/lib.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 10 | #![feature(specialization)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(incomplete_features)]` on by default [INFO] [stdout] = note: see issue #31844 for more information [INFO] [stdout] = help: consider using `min_specialization` instead, which is more stable and complete [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/geometry/interaction.rs:119:35 [INFO] [stdout] | [INFO] [stdout] 119 | pub primitive_hit: Option<&'b Primitive>, [INFO] [stdout] | ^^^^^^^^^ help: use `dyn`: `dyn Primitive` [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/shape/triangle.rs:33:19 [INFO] [stdout] | [INFO] [stdout] 33 | material: Arc, [INFO] [stdout] | ^^^^^^^^ help: use `dyn`: `dyn Material` [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/shape/triangle.rs:34:34 [INFO] [stdout] | [INFO] [stdout] 34 | lighting_profile: Option>>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Texture` [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/shape/triangle.rs:84:23 [INFO] [stdout] | [INFO] [stdout] 84 | material: Arc, [INFO] [stdout] | ^^^^^^^^ help: use `dyn`: `dyn Material` [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/shape/triangle.rs:85:38 [INFO] [stdout] | [INFO] [stdout] 85 | lighting_profile: Option>> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Texture` [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/shape/triangle.rs:123:23 [INFO] [stdout] | [INFO] [stdout] 123 | material: Arc, [INFO] [stdout] | ^^^^^^^^ help: use `dyn`: `dyn Material` [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/shape/triangle.rs:124:38 [INFO] [stdout] | [INFO] [stdout] 124 | lighting_profile: Option>> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Texture` [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/shape/triangle.rs:499:13 [INFO] [stdout] | [INFO] [stdout] 499 | ... (norms[self.vidx(0)] * barycentrc.x + norms[self.vidx(1)] * barycentrc.y + norms[self.vidx(2)] * (1. as Float - barycentrc.x - barycentrc.y)) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 499 - (norms[self.vidx(0)] * barycentrc.x + norms[self.vidx(1)] * barycentrc.y + norms[self.vidx(2)] * (1. as Float - barycentrc.x - barycentrc.y)) [INFO] [stdout] 499 + norms[self.vidx(0)] * barycentrc.x + norms[self.vidx(1)] * barycentrc.y + norms[self.vidx(2)] * (1. as Float - barycentrc.x - barycentrc.y) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/shape/triangle.rs:531:28 [INFO] [stdout] | [INFO] [stdout] 531 | fn as_light(&self) -> &Light { [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Light` [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/shape/triangle.rs:630:32 [INFO] [stdout] | [INFO] [stdout] 630 | fn get_material(&self) -> &Material { [INFO] [stdout] | ^^^^^^^^ help: use `dyn`: `dyn Material` [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/component/mod.rs:40:28 [INFO] [stdout] | [INFO] [stdout] 40 | fn as_light(&self) -> &Light { [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Light` [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/component/mod.rs:61:32 [INFO] [stdout] | [INFO] [stdout] 61 | fn get_material(&self) -> &Material; [INFO] [stdout] | ^^^^^^^^ help: use `dyn`: `dyn Material` [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/component/mod.rs:70:32 [INFO] [stdout] | [INFO] [stdout] 70 | let mut materials: Vec> = Vec::with_capacity(mtls.len()+1); [INFO] [stdout] | ^^^^^^^^ help: use `dyn`: `dyn Material` [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/component/mod.rs:193:13 [INFO] [stdout] | [INFO] [stdout] 193 | Arc(Arc), [INFO] [stdout] | ^^^^^^^^^^ help: use `dyn`: `dyn Composable` [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/component/mod.rs:224:28 [INFO] [stdout] | [INFO] [stdout] 224 | fn as_light(&self) -> &Light { [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Light` [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/component/mod.rs:240:15 [INFO] [stdout] | [INFO] [stdout] 240 | impl From> for ComponentPointer { [INFO] [stdout] | ^^^^^^^^^^ help: use `dyn`: `dyn Composable` [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/component/mod.rs:242:22 [INFO] [stdout] | [INFO] [stdout] 242 | fn from(arc: Arc) -> ComponentPointer { [INFO] [stdout] | ^^^^^^^^^^ help: use `dyn`: `dyn Composable` [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/component/shape.rs:24:38 [INFO] [stdout] | [INFO] [stdout] 24 | pub lighting_profile: Option>>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Texture` [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/component/shape.rs:35:38 [INFO] [stdout] | [INFO] [stdout] 35 | lighting_profile: Option>> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Texture` [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/component/shape.rs:69:28 [INFO] [stdout] | [INFO] [stdout] 69 | fn as_light(&self) -> &Light { [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Light` [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/component/shape.rs:174:32 [INFO] [stdout] | [INFO] [stdout] 174 | fn get_material(&self) -> &Material { [INFO] [stdout] | ^^^^^^^^ help: use `dyn`: `dyn Material` [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/component/transformed.rs:65:36 [INFO] [stdout] | [INFO] [stdout] 65 | default fn as_light(&self) -> &Light { [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Light` [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/component/transformed.rs:85:28 [INFO] [stdout] | [INFO] [stdout] 85 | fn as_light(&self) -> &Light { [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Light` [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/component/transformed.rs:98:32 [INFO] [stdout] | [INFO] [stdout] 98 | fn get_material(&self) -> &Material { [INFO] [stdout] | ^^^^^^^^ help: use `dyn`: `dyn Material` [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/component/transformed.rs:184:36 [INFO] [stdout] | [INFO] [stdout] 184 | default fn as_light(&self) -> &Light { [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Light` [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/component/transformed.rs:204:28 [INFO] [stdout] | [INFO] [stdout] 204 | fn as_light(&self) -> &Light { [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Light` [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/component/transformed.rs:217:32 [INFO] [stdout] | [INFO] [stdout] 217 | fn get_material(&self) -> &Material { [INFO] [stdout] | ^^^^^^^^ help: use `dyn`: `dyn Material` [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/component/transformed.rs:274:47 [INFO] [stdout] | [INFO] [stdout] 274 | impl Composable for TransformedComposable> [INFO] [stdout] | ^^^^^^^^^^ help: use `dyn`: `dyn Composable` [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/component/transformed.rs:298:28 [INFO] [stdout] | [INFO] [stdout] 298 | fn as_light(&self) -> &Light { [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Light` [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/component/transformed.rs:303:47 [INFO] [stdout] | [INFO] [stdout] 303 | impl Composable for TransformedComposable> [INFO] [stdout] | ^^^^^^^^^ help: use `dyn`: `dyn Primitive` [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/component/transformed.rs:328:28 [INFO] [stdout] | [INFO] [stdout] 328 | fn as_light(&self) -> &Light { [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Light` [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/component/transformed.rs:333:46 [INFO] [stdout] | [INFO] [stdout] 333 | impl Primitive for TransformedComposable> [INFO] [stdout] | ^^^^^^^^^ help: use `dyn`: `dyn Primitive` [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/component/transformed.rs:341:32 [INFO] [stdout] | [INFO] [stdout] 341 | fn get_material(&self) -> &Material { [INFO] [stdout] | ^^^^^^^^ help: use `dyn`: `dyn Material` [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/component/transformed.rs:346:42 [INFO] [stdout] | [INFO] [stdout] 346 | impl Light for TransformedComposable> [INFO] [stdout] | ^^^^^^^^^ help: use `dyn`: `dyn Primitive` [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/component/naive.rs:16:27 [INFO] [stdout] | [INFO] [stdout] 16 | pub elements: Vec>, [INFO] [stdout] | ^^^^^^^^^^ help: use `dyn`: `dyn Composable` [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/component/naive.rs:21:34 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn new(elements: Vec>) -> Naive { [INFO] [stdout] | ^^^^^^^^^^ help: use `dyn`: `dyn Composable` [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/component/naive.rs:33:34 [INFO] [stdout] | [INFO] [stdout] 33 | pub fn from_one(element: Arc) -> Naive { [INFO] [stdout] | ^^^^^^^^^^ help: use `dyn`: `dyn Composable` [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/component/naive.rs:42:43 [INFO] [stdout] | [INFO] [stdout] 42 | pub fn append(&mut self, element: Arc) { [INFO] [stdout] | ^^^^^^^^^^ help: use `dyn`: `dyn Composable` [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/filming/film.rs:42:17 [INFO] [stdout] | [INFO] [stdout] 42 | filter: Arc, [INFO] [stdout] | ^^^^^^ help: use `dyn`: `dyn Filter` [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/filming/film.rs:47:29 [INFO] [stdout] | [INFO] [stdout] 47 | fn lanczos_default() -> Arc { [INFO] [stdout] | ^^^^^^ help: use `dyn`: `dyn Filter` [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/filming/film.rs:55:76 [INFO] [stdout] | [INFO] [stdout] 55 | pub fn new(resolution: Point2, crop_window: BBox2f, filter: Arc) -> Film { [INFO] [stdout] | ^^^^^^ help: use `dyn`: `dyn Filter` [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/filming/film.rs:282:17 [INFO] [stdout] | [INFO] [stdout] 282 | filter: &'a Filter, [INFO] [stdout] | ^^^^^^ help: use `dyn`: `dyn Filter` [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 function argument [INFO] [stdout] --> src/sample/filters.rs:216:33 [INFO] [stdout] | [INFO] [stdout] 216 | LanczosSincFilter::sinc((x*inv_tau)) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 216 - LanczosSincFilter::sinc((x*inv_tau)) [INFO] [stdout] 216 + LanczosSincFilter::sinc(x*inv_tau) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/bxdf/mod.rs:119:1 [INFO] [stdout] | [INFO] [stdout] 119 | / bitflags! { [INFO] [stdout] 120 | | pub flags BxdfType: u32 { [INFO] [stdout] 121 | | const BXDF_REFLECTION = 0x01, [INFO] [stdout] 122 | | const BXDF_TRANSMISSION = 0x02, [INFO] [stdout] ... | [INFO] [stdout] 131 | | } [INFO] [stdout] 132 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in the macro `bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/bxdf/mod.rs:119:1 [INFO] [stdout] | [INFO] [stdout] 119 | / bitflags! { [INFO] [stdout] 120 | | pub flags BxdfType: u32 { [INFO] [stdout] 121 | | const BXDF_REFLECTION = 0x01, [INFO] [stdout] 122 | | const BXDF_TRANSMISSION = 0x02, [INFO] [stdout] ... | [INFO] [stdout] 131 | | } [INFO] [stdout] 132 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/material/bsdf.rs:48:45 [INFO] [stdout] | [INFO] [stdout] 48 | pub fn add(&mut self, bxdf: Pointer<'a, Bxdf>) { [INFO] [stdout] | ^^^^ help: use `dyn`: `dyn Bxdf` [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/bsdf.rs:243:32 [INFO] [stdout] | [INFO] [stdout] 243 | bxdfs: [Option>; 8], [INFO] [stdout] | ^^^^ help: use `dyn`: `dyn Bxdf` [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/bsdf.rs:259:41 [INFO] [stdout] | [INFO] [stdout] 259 | fn add(&mut self, bxdf: Pointer<'a, Bxdf>) { [INFO] [stdout] | ^^^^ help: use `dyn`: `dyn Bxdf` [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/bsdf.rs:281:21 [INFO] [stdout] | [INFO] [stdout] 281 | type Item = &'a Bxdf; [INFO] [stdout] | ^^^^ help: use `dyn`: `dyn Bxdf` [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/bsdf.rs:282:38 [INFO] [stdout] | [INFO] [stdout] 282 | fn next(&mut self) -> Option<&'a Bxdf> { [INFO] [stdout] | ^^^^ help: use `dyn`: `dyn Bxdf` [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/bsdf.rs:289:37 [INFO] [stdout] | [INFO] [stdout] 289 | let ret: *const Bxdf = &**p; [INFO] [stdout] | ^^^^ help: use `dyn`: `dyn Bxdf` [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/matte.rs:21:17 [INFO] [stdout] | [INFO] [stdout] 21 | pub kd: Arc>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Texture` [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/matte.rs:22:20 [INFO] [stdout] | [INFO] [stdout] 22 | pub sigma: Arc>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Texture` [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/matte.rs:23:26 [INFO] [stdout] | [INFO] [stdout] 23 | pub bump: Option>>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Texture` [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/matte.rs:29:24 [INFO] [stdout] | [INFO] [stdout] 29 | pub fn new(kd: Arc>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Texture` [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/matte.rs:30:16 [INFO] [stdout] | [INFO] [stdout] 30 | sigma: Arc>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Texture` [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/matte.rs:31:22 [INFO] [stdout] | [INFO] [stdout] 31 | bump: Option>>) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Texture` [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/plastic.rs:20:22 [INFO] [stdout] | [INFO] [stdout] 20 | pub diffuse: Arc>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Texture` [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/plastic.rs:21:23 [INFO] [stdout] | [INFO] [stdout] 21 | pub specular: Arc>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Texture` [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/plastic.rs:22:24 [INFO] [stdout] | [INFO] [stdout] 22 | pub roughness: Arc>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Texture` [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/plastic.rs:23:26 [INFO] [stdout] | [INFO] [stdout] 23 | pub bump: Option>>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Texture` [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/plastic.rs:28:22 [INFO] [stdout] | [INFO] [stdout] 28 | diffuse: Arc>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Texture` [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/plastic.rs:29:23 [INFO] [stdout] | [INFO] [stdout] 29 | specular: Arc>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Texture` [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/plastic.rs:30:24 [INFO] [stdout] | [INFO] [stdout] 30 | roughness: Arc>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Texture` [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/plastic.rs:31:26 [INFO] [stdout] | [INFO] [stdout] 31 | bump: Option>> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Texture` [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/glass.rs:20:22 [INFO] [stdout] | [INFO] [stdout] 20 | pub diffuse: Arc>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Texture` [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/glass.rs:21:23 [INFO] [stdout] | [INFO] [stdout] 21 | pub specular: Arc>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Texture` [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/glass.rs:22:24 [INFO] [stdout] | [INFO] [stdout] 22 | pub roughness: Arc>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Texture` [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/glass.rs:24:26 [INFO] [stdout] | [INFO] [stdout] 24 | pub bump: Option>>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Texture` [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/glass.rs:29:22 [INFO] [stdout] | [INFO] [stdout] 29 | diffuse: Arc>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Texture` [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/glass.rs:30:23 [INFO] [stdout] | [INFO] [stdout] 30 | specular: Arc>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Texture` [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/glass.rs:31:24 [INFO] [stdout] | [INFO] [stdout] 31 | roughness: Arc>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Texture` [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/glass.rs:33:26 [INFO] [stdout] | [INFO] [stdout] 33 | bump: Option>> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Texture` [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/translucent.rs:20:22 [INFO] [stdout] | [INFO] [stdout] 20 | pub diffuse: Arc>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Texture` [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/translucent.rs:21:23 [INFO] [stdout] | [INFO] [stdout] 21 | pub specular: Arc>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Texture` [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/translucent.rs:22:24 [INFO] [stdout] | [INFO] [stdout] 22 | pub roughness: Arc>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Texture` [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/translucent.rs:24:26 [INFO] [stdout] | [INFO] [stdout] 24 | pub bump: Option>>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Texture` [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/translucent.rs:29:22 [INFO] [stdout] | [INFO] [stdout] 29 | diffuse: Arc>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Texture` [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/translucent.rs:30:23 [INFO] [stdout] | [INFO] [stdout] 30 | specular: Arc>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Texture` [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/translucent.rs:31:24 [INFO] [stdout] | [INFO] [stdout] 31 | roughness: Arc>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Texture` [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/translucent.rs:33:26 [INFO] [stdout] | [INFO] [stdout] 33 | bump: Option>> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Texture` [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/texturing/textures/image.rs:142:21 [INFO] [stdout] | [INFO] [stdout] 142 | ) -> Option>>> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Texture>` [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/texturing/textures/image.rs:197:21 [INFO] [stdout] | [INFO] [stdout] 197 | ) -> Option>> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Texture` [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 `try`: use the `?` operator instead [INFO] [stdout] --> src/lighting/mod.rs:84:1 [INFO] [stdout] | [INFO] [stdout] 84 | / bitflags! { [INFO] [stdout] 85 | | pub flags LightFlag: u32 { [INFO] [stdout] 86 | | const LIGHT_DPOS = 0x1, [INFO] [stdout] 87 | | const LIGHT_DDIR = 0x2, [INFO] [stdout] ... | [INFO] [stdout] 90 | | } [INFO] [stdout] 91 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lighting/mod.rs:84:1 [INFO] [stdout] | [INFO] [stdout] 84 | / bitflags! { [INFO] [stdout] 85 | | pub flags LightFlag: u32 { [INFO] [stdout] 86 | | const LIGHT_DPOS = 0x1, [INFO] [stdout] 87 | | const LIGHT_DDIR = 0x2, [INFO] [stdout] ... | [INFO] [stdout] 90 | | } [INFO] [stdout] 91 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/lighting/distantlight.rs:88:9 [INFO] [stdout] | [INFO] [stdout] 88 | /// extend accordingly [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 89 | let pdisk = self.world_center + self.world_radius*(pdisk.x * u + pdisk.y * v); [INFO] [stdout] | ------------------------------------------------------------------------------ rustdoc does not generate documentation for statements [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_doc_comments)]` on by default [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/renderer/scene.rs:24:25 [INFO] [stdout] | [INFO] [stdout] 24 | pub lights: Vec>, [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Light` [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/renderer/scene.rs:27:24 [INFO] [stdout] | [INFO] [stdout] 27 | pub aggregate: Arc, [INFO] [stdout] | ^^^^^^^^^^ help: use `dyn`: `dyn Composable` [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/renderer/scene.rs:32:25 [INFO] [stdout] | [INFO] [stdout] 32 | lights: Vec>, [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Light` [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/renderer/scene.rs:34:24 [INFO] [stdout] | [INFO] [stdout] 34 | aggregate: Arc [INFO] [stdout] | ^^^^^^^^^^ help: use `dyn`: `dyn Composable` [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/renderer/scene.rs:54:45 [INFO] [stdout] | [INFO] [stdout] 54 | pub fn get_light(&self, idx: usize) -> &Light { [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Light` [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/renderer/scene.rs:84:17 [INFO] [stdout] | [INFO] [stdout] 84 | light: &Light, ulight: Point2f, uscattering: Point2f, [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Light` [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/renderer/scene.rs:170:51 [INFO] [stdout] | [INFO] [stdout] 170 | pub fn sample_one_light(&self, u: Float) -> (&Light, Float) { [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Light` [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/renderer/whitted.rs:27:17 [INFO] [stdout] | [INFO] [stdout] 27 | camera: Arc, [INFO] [stdout] | ^^^^^^ help: use `dyn`: `dyn Camera` [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/renderer/whitted.rs:32:65 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn new + ?Sized>(sampler: S, camera: Arc, path: &P) -> WhittedRenderer { [INFO] [stdout] | ^^^^^^ help: use `dyn`: `dyn Camera` [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/renderer/pt.rs:28:17 [INFO] [stdout] | [INFO] [stdout] 28 | camera: Arc, [INFO] [stdout] | ^^^^^^ help: use `dyn`: `dyn Camera` [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/renderer/pt.rs:38:33 [INFO] [stdout] | [INFO] [stdout] 38 | sampler: S, camera: Arc, [INFO] [stdout] | ^^^^^^ help: use `dyn`: `dyn Camera` [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 function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/geometry/ray.rs:79:31 [INFO] [stdout] | [INFO] [stdout] 79 | stc: unsafe {mem::uninitialized()}, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/component/bvh.rs:179:18 [INFO] [stdout] | [INFO] [stdout] 179 | mem::uninitialized() [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/component/bvh.rs:353:32 [INFO] [stdout] | [INFO] [stdout] 353 | bound: unsafe{mem::uninitialized()}, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/filming/film.rs:211:23 [INFO] [stdout] | [INFO] [stdout] 211 | vec![mem::uninitialized(); (diagonal.x * diagonal.y) as usize] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/sample/strata.rs:172:32 [INFO] [stdout] | [INFO] [stdout] 172 | vec![std::mem::uninitialized(); nsample] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/sample/strata.rs:183:32 [INFO] [stdout] | [INFO] [stdout] 183 | vec![std::mem::uninitialized(); nsample] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/sample/strata.rs:236:28 [INFO] [stdout] | [INFO] [stdout] 236 | vec![std::mem::uninitialized(); buf.len()] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/sample/filters.rs:268:37 [INFO] [stdout] | [INFO] [stdout] 268 | buf: unsafe { vec![mem::uninitialized(); PREC_FILTER_SIZE] }, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/sample/sink.rs:36:28 [INFO] [stdout] | [INFO] [stdout] 36 | vec![std::mem::uninitialized(); ndim * nsample] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/texturing/textures/image.rs:631:1 [INFO] [stdout] | [INFO] [stdout] 631 | / lazy_static! { [INFO] [stdout] 632 | | static ref WEIGHT_LUT: Vec = { [INFO] [stdout] 633 | | let mut v = Vec::with_capacity(WEIGHT_LUT_SIZE); [INFO] [stdout] 634 | | for i in 0..WEIGHT_LUT_SIZE { [INFO] [stdout] ... | [INFO] [stdout] 640 | | }; [INFO] [stdout] 641 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type annotations needed [INFO] [stdout] --> src/spectrum/mod.rs:162:17 [INFO] [stdout] | [INFO] [stdout] 162 | ptr.as_ref().unwrap() [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(tyvar_behind_raw_pointer)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #46906 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type annotations needed [INFO] [stdout] --> src/spectrum/mod.rs:170:17 [INFO] [stdout] | [INFO] [stdout] 170 | ptr.as_mut().unwrap() [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #46906 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `float_bits_conv` has been stable since 1.20.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/lib.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 12 | #![feature(float_bits_conv)] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `ShearingTransformCache` does not permit being left uninitialized [INFO] [stdout] --> src/geometry/ray.rs:79:26 [INFO] [stdout] | [INFO] [stdout] 79 | stc: unsafe {mem::uninitialized()}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(invalid_value)]` on by default [INFO] [stdout] note: enums have to be initialized to a variant [INFO] [stdout] --> src/geometry/ray.rs:184:1 [INFO] [stdout] | [INFO] [stdout] 184 | / enum Permulation { [INFO] [stdout] 185 | | XZ, [INFO] [stdout] 186 | | YZ, [INFO] [stdout] 187 | | ZZ, [INFO] [stdout] 188 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 112 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling serde_json v1.0.71 [INFO] [stderr] Compiling aho-corasick v0.6.10 [INFO] [stderr] Compiling regex v0.2.11 [INFO] [stderr] Compiling flame v0.1.12 [INFO] [stderr] Compiling env_logger v0.4.3 [INFO] [stderr] Compiling arendur v0.0.5 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> examples/arencli.rs:86:40 [INFO] [stdout] | [INFO] [stdout] 86 | let mut primitives: HashMap<_, Arc> = HashMap::new(); [INFO] [stdout] | ^^^^^^^^^^ help: use `dyn`: `dyn Composable` [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] --> examples/arencli.rs:136:33 [INFO] [stdout] | [INFO] [stdout] 136 | let sp: Arc = if let Some(transform) = *transform { [INFO] [stdout] | ^^^^^^^^^^ help: use `dyn`: `dyn Composable` [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] --> examples/arencli.rs:294:40 [INFO] [stdout] | [INFO] [stdout] 294 | rgbs: &mut HashMap>>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Texture` [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] --> examples/arencli.rs:295:41 [INFO] [stdout] | [INFO] [stdout] 295 | grays: &mut HashMap>>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Texture` [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] --> examples/arencli.rs:298:21 [INFO] [stdout] | [INFO] [stdout] 298 | ) -> Option> { [INFO] [stdout] | ^^^^^^^^ help: use `dyn`: `dyn Material` [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] --> examples/arencli.rs:393:44 [INFO] [stdout] | [INFO] [stdout] 393 | textures: &mut HashMap>>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Texture` [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] --> examples/arencli.rs:395:21 [INFO] [stdout] | [INFO] [stdout] 395 | ) -> Option>> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Texture` [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] --> examples/arencli.rs:449:44 [INFO] [stdout] | [INFO] [stdout] 449 | textures: &mut HashMap>>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Texture` [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] --> examples/arencli.rs:451:21 [INFO] [stdout] | [INFO] [stdout] 451 | ) -> Option>> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Texture` [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] --> examples/arencli.rs:496:29 [INFO] [stdout] | [INFO] [stdout] 496 | fn to_arc(&self) -> Arc { [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Light` [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 function `rayon::initialize`: use `ThreadPoolBuilder::build_global` [INFO] [stdout] --> examples/arencli.rs:49:16 [INFO] [stdout] | [INFO] [stdout] 49 | rayon::initialize(rayon::Configuration::new().num_threads(threads)).unwrap(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `rayon::Configuration`: Use `ThreadPoolBuilder` [INFO] [stdout] --> examples/arencli.rs:49:34 [INFO] [stdout] | [INFO] [stdout] 49 | rayon::initialize(rayon::Configuration::new().num_threads(threads)).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `specialization` is incomplete and may not be safe to use and/or cause compiler crashes [INFO] [stdout] --> src/lib.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 10 | #![feature(specialization)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(incomplete_features)]` on by default [INFO] [stdout] = note: see issue #31844 for more information [INFO] [stdout] = help: consider using `min_specialization` instead, which is more stable and complete [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/geometry/interaction.rs:119:35 [INFO] [stdout] | [INFO] [stdout] 119 | pub primitive_hit: Option<&'b Primitive>, [INFO] [stdout] | ^^^^^^^^^ help: use `dyn`: `dyn Primitive` [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/shape/triangle.rs:33:19 [INFO] [stdout] | [INFO] [stdout] 33 | material: Arc, [INFO] [stdout] | ^^^^^^^^ help: use `dyn`: `dyn Material` [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/shape/triangle.rs:34:34 [INFO] [stdout] | [INFO] [stdout] 34 | lighting_profile: Option>>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Texture` [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/shape/triangle.rs:84:23 [INFO] [stdout] | [INFO] [stdout] 84 | material: Arc, [INFO] [stdout] | ^^^^^^^^ help: use `dyn`: `dyn Material` [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/shape/triangle.rs:85:38 [INFO] [stdout] | [INFO] [stdout] 85 | lighting_profile: Option>> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Texture` [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/shape/triangle.rs:123:23 [INFO] [stdout] | [INFO] [stdout] 123 | material: Arc, [INFO] [stdout] | ^^^^^^^^ help: use `dyn`: `dyn Material` [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/shape/triangle.rs:124:38 [INFO] [stdout] | [INFO] [stdout] 124 | lighting_profile: Option>> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Texture` [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/shape/triangle.rs:499:13 [INFO] [stdout] | [INFO] [stdout] 499 | ... (norms[self.vidx(0)] * barycentrc.x + norms[self.vidx(1)] * barycentrc.y + norms[self.vidx(2)] * (1. as Float - barycentrc.x - barycentrc.y)) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 499 - (norms[self.vidx(0)] * barycentrc.x + norms[self.vidx(1)] * barycentrc.y + norms[self.vidx(2)] * (1. as Float - barycentrc.x - barycentrc.y)) [INFO] [stdout] 499 + norms[self.vidx(0)] * barycentrc.x + norms[self.vidx(1)] * barycentrc.y + norms[self.vidx(2)] * (1. as Float - barycentrc.x - barycentrc.y) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/shape/triangle.rs:531:28 [INFO] [stdout] | [INFO] [stdout] 531 | fn as_light(&self) -> &Light { [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Light` [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/shape/triangle.rs:630:32 [INFO] [stdout] | [INFO] [stdout] 630 | fn get_material(&self) -> &Material { [INFO] [stdout] | ^^^^^^^^ help: use `dyn`: `dyn Material` [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/component/mod.rs:40:28 [INFO] [stdout] | [INFO] [stdout] 40 | fn as_light(&self) -> &Light { [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Light` [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/component/mod.rs:61:32 [INFO] [stdout] | [INFO] [stdout] 61 | fn get_material(&self) -> &Material; [INFO] [stdout] | ^^^^^^^^ help: use `dyn`: `dyn Material` [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/component/mod.rs:70:32 [INFO] [stdout] | [INFO] [stdout] 70 | let mut materials: Vec> = Vec::with_capacity(mtls.len()+1); [INFO] [stdout] | ^^^^^^^^ help: use `dyn`: `dyn Material` [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/component/mod.rs:193:13 [INFO] [stdout] | [INFO] [stdout] 193 | Arc(Arc), [INFO] [stdout] | ^^^^^^^^^^ help: use `dyn`: `dyn Composable` [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/component/mod.rs:224:28 [INFO] [stdout] | [INFO] [stdout] 224 | fn as_light(&self) -> &Light { [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Light` [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/component/mod.rs:240:15 [INFO] [stdout] | [INFO] [stdout] 240 | impl From> for ComponentPointer { [INFO] [stdout] | ^^^^^^^^^^ help: use `dyn`: `dyn Composable` [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/component/mod.rs:242:22 [INFO] [stdout] | [INFO] [stdout] 242 | fn from(arc: Arc) -> ComponentPointer { [INFO] [stdout] | ^^^^^^^^^^ help: use `dyn`: `dyn Composable` [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/component/shape.rs:24:38 [INFO] [stdout] | [INFO] [stdout] 24 | pub lighting_profile: Option>>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Texture` [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/component/shape.rs:35:38 [INFO] [stdout] | [INFO] [stdout] 35 | lighting_profile: Option>> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Texture` [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/component/shape.rs:69:28 [INFO] [stdout] | [INFO] [stdout] 69 | fn as_light(&self) -> &Light { [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Light` [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/component/shape.rs:174:32 [INFO] [stdout] | [INFO] [stdout] 174 | fn get_material(&self) -> &Material { [INFO] [stdout] | ^^^^^^^^ help: use `dyn`: `dyn Material` [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/component/transformed.rs:65:36 [INFO] [stdout] | [INFO] [stdout] 65 | default fn as_light(&self) -> &Light { [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Light` [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/component/transformed.rs:85:28 [INFO] [stdout] | [INFO] [stdout] 85 | fn as_light(&self) -> &Light { [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Light` [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/component/transformed.rs:98:32 [INFO] [stdout] | [INFO] [stdout] 98 | fn get_material(&self) -> &Material { [INFO] [stdout] | ^^^^^^^^ help: use `dyn`: `dyn Material` [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/component/transformed.rs:184:36 [INFO] [stdout] | [INFO] [stdout] 184 | default fn as_light(&self) -> &Light { [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Light` [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/component/transformed.rs:204:28 [INFO] [stdout] | [INFO] [stdout] 204 | fn as_light(&self) -> &Light { [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Light` [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/component/transformed.rs:217:32 [INFO] [stdout] | [INFO] [stdout] 217 | fn get_material(&self) -> &Material { [INFO] [stdout] | ^^^^^^^^ help: use `dyn`: `dyn Material` [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/component/transformed.rs:274:47 [INFO] [stdout] | [INFO] [stdout] 274 | impl Composable for TransformedComposable> [INFO] [stdout] | ^^^^^^^^^^ help: use `dyn`: `dyn Composable` [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/component/transformed.rs:298:28 [INFO] [stdout] | [INFO] [stdout] 298 | fn as_light(&self) -> &Light { [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Light` [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/component/transformed.rs:303:47 [INFO] [stdout] | [INFO] [stdout] 303 | impl Composable for TransformedComposable> [INFO] [stdout] | ^^^^^^^^^ help: use `dyn`: `dyn Primitive` [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/component/transformed.rs:328:28 [INFO] [stdout] | [INFO] [stdout] 328 | fn as_light(&self) -> &Light { [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Light` [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/component/transformed.rs:333:46 [INFO] [stdout] | [INFO] [stdout] 333 | impl Primitive for TransformedComposable> [INFO] [stdout] | ^^^^^^^^^ help: use `dyn`: `dyn Primitive` [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/component/transformed.rs:341:32 [INFO] [stdout] | [INFO] [stdout] 341 | fn get_material(&self) -> &Material { [INFO] [stdout] | ^^^^^^^^ help: use `dyn`: `dyn Material` [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/component/transformed.rs:346:42 [INFO] [stdout] | [INFO] [stdout] 346 | impl Light for TransformedComposable> [INFO] [stdout] | ^^^^^^^^^ help: use `dyn`: `dyn Primitive` [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/component/naive.rs:16:27 [INFO] [stdout] | [INFO] [stdout] 16 | pub elements: Vec>, [INFO] [stdout] | ^^^^^^^^^^ help: use `dyn`: `dyn Composable` [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/component/naive.rs:21:34 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn new(elements: Vec>) -> Naive { [INFO] [stdout] | ^^^^^^^^^^ help: use `dyn`: `dyn Composable` [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/component/naive.rs:33:34 [INFO] [stdout] | [INFO] [stdout] 33 | pub fn from_one(element: Arc) -> Naive { [INFO] [stdout] | ^^^^^^^^^^ help: use `dyn`: `dyn Composable` [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/component/naive.rs:42:43 [INFO] [stdout] | [INFO] [stdout] 42 | pub fn append(&mut self, element: Arc) { [INFO] [stdout] | ^^^^^^^^^^ help: use `dyn`: `dyn Composable` [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/filming/film.rs:42:17 [INFO] [stdout] | [INFO] [stdout] 42 | filter: Arc, [INFO] [stdout] | ^^^^^^ help: use `dyn`: `dyn Filter` [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/filming/film.rs:47:29 [INFO] [stdout] | [INFO] [stdout] 47 | fn lanczos_default() -> Arc { [INFO] [stdout] | ^^^^^^ help: use `dyn`: `dyn Filter` [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/filming/film.rs:55:76 [INFO] [stdout] | [INFO] [stdout] 55 | pub fn new(resolution: Point2, crop_window: BBox2f, filter: Arc) -> Film { [INFO] [stdout] | ^^^^^^ help: use `dyn`: `dyn Filter` [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/filming/film.rs:282:17 [INFO] [stdout] | [INFO] [stdout] 282 | filter: &'a Filter, [INFO] [stdout] | ^^^^^^ help: use `dyn`: `dyn Filter` [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: unused import: `super::*` [INFO] [stdout] --> src/filming/tests.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 14 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::projective::*` [INFO] [stdout] --> src/filming/tests.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 15 | use super::projective::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::perspective::*` [INFO] [stdout] --> src/filming/tests.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 16 | use super::perspective::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around function argument [INFO] [stdout] --> src/sample/filters.rs:216:33 [INFO] [stdout] | [INFO] [stdout] 216 | LanczosSincFilter::sinc((x*inv_tau)) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 216 - LanczosSincFilter::sinc((x*inv_tau)) [INFO] [stdout] 216 + LanczosSincFilter::sinc(x*inv_tau) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/bxdf/mod.rs:119:1 [INFO] [stdout] | [INFO] [stdout] 119 | / bitflags! { [INFO] [stdout] 120 | | pub flags BxdfType: u32 { [INFO] [stdout] 121 | | const BXDF_REFLECTION = 0x01, [INFO] [stdout] 122 | | const BXDF_TRANSMISSION = 0x02, [INFO] [stdout] ... | [INFO] [stdout] 131 | | } [INFO] [stdout] 132 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in the macro `bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/bxdf/mod.rs:119:1 [INFO] [stdout] | [INFO] [stdout] 119 | / bitflags! { [INFO] [stdout] 120 | | pub flags BxdfType: u32 { [INFO] [stdout] 121 | | const BXDF_REFLECTION = 0x01, [INFO] [stdout] 122 | | const BXDF_TRANSMISSION = 0x02, [INFO] [stdout] ... | [INFO] [stdout] 131 | | } [INFO] [stdout] 132 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/material/bsdf.rs:48:45 [INFO] [stdout] | [INFO] [stdout] 48 | pub fn add(&mut self, bxdf: Pointer<'a, Bxdf>) { [INFO] [stdout] | ^^^^ help: use `dyn`: `dyn Bxdf` [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/bsdf.rs:243:32 [INFO] [stdout] | [INFO] [stdout] 243 | bxdfs: [Option>; 8], [INFO] [stdout] | ^^^^ help: use `dyn`: `dyn Bxdf` [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/bsdf.rs:259:41 [INFO] [stdout] | [INFO] [stdout] 259 | fn add(&mut self, bxdf: Pointer<'a, Bxdf>) { [INFO] [stdout] | ^^^^ help: use `dyn`: `dyn Bxdf` [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/bsdf.rs:281:21 [INFO] [stdout] | [INFO] [stdout] 281 | type Item = &'a Bxdf; [INFO] [stdout] | ^^^^ help: use `dyn`: `dyn Bxdf` [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/bsdf.rs:282:38 [INFO] [stdout] | [INFO] [stdout] 282 | fn next(&mut self) -> Option<&'a Bxdf> { [INFO] [stdout] | ^^^^ help: use `dyn`: `dyn Bxdf` [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/bsdf.rs:289:37 [INFO] [stdout] | [INFO] [stdout] 289 | let ret: *const Bxdf = &**p; [INFO] [stdout] | ^^^^ help: use `dyn`: `dyn Bxdf` [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/matte.rs:21:17 [INFO] [stdout] | [INFO] [stdout] 21 | pub kd: Arc>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Texture` [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/matte.rs:22:20 [INFO] [stdout] | [INFO] [stdout] 22 | pub sigma: Arc>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Texture` [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/matte.rs:23:26 [INFO] [stdout] | [INFO] [stdout] 23 | pub bump: Option>>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Texture` [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/matte.rs:29:24 [INFO] [stdout] | [INFO] [stdout] 29 | pub fn new(kd: Arc>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Texture` [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/matte.rs:30:16 [INFO] [stdout] | [INFO] [stdout] 30 | sigma: Arc>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Texture` [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/matte.rs:31:22 [INFO] [stdout] | [INFO] [stdout] 31 | bump: Option>>) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Texture` [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/plastic.rs:20:22 [INFO] [stdout] | [INFO] [stdout] 20 | pub diffuse: Arc>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Texture` [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/plastic.rs:21:23 [INFO] [stdout] | [INFO] [stdout] 21 | pub specular: Arc>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Texture` [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/plastic.rs:22:24 [INFO] [stdout] | [INFO] [stdout] 22 | pub roughness: Arc>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Texture` [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/plastic.rs:23:26 [INFO] [stdout] | [INFO] [stdout] 23 | pub bump: Option>>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Texture` [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/plastic.rs:28:22 [INFO] [stdout] | [INFO] [stdout] 28 | diffuse: Arc>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Texture` [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/plastic.rs:29:23 [INFO] [stdout] | [INFO] [stdout] 29 | specular: Arc>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Texture` [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/plastic.rs:30:24 [INFO] [stdout] | [INFO] [stdout] 30 | roughness: Arc>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Texture` [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/plastic.rs:31:26 [INFO] [stdout] | [INFO] [stdout] 31 | bump: Option>> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Texture` [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/glass.rs:20:22 [INFO] [stdout] | [INFO] [stdout] 20 | pub diffuse: Arc>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Texture` [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/glass.rs:21:23 [INFO] [stdout] | [INFO] [stdout] 21 | pub specular: Arc>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Texture` [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/glass.rs:22:24 [INFO] [stdout] | [INFO] [stdout] 22 | pub roughness: Arc>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Texture` [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/glass.rs:24:26 [INFO] [stdout] | [INFO] [stdout] 24 | pub bump: Option>>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Texture` [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/glass.rs:29:22 [INFO] [stdout] | [INFO] [stdout] 29 | diffuse: Arc>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Texture` [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/glass.rs:30:23 [INFO] [stdout] | [INFO] [stdout] 30 | specular: Arc>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Texture` [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/glass.rs:31:24 [INFO] [stdout] | [INFO] [stdout] 31 | roughness: Arc>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Texture` [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/glass.rs:33:26 [INFO] [stdout] | [INFO] [stdout] 33 | bump: Option>> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Texture` [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/translucent.rs:20:22 [INFO] [stdout] | [INFO] [stdout] 20 | pub diffuse: Arc>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Texture` [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/translucent.rs:21:23 [INFO] [stdout] | [INFO] [stdout] 21 | pub specular: Arc>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Texture` [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/translucent.rs:22:24 [INFO] [stdout] | [INFO] [stdout] 22 | pub roughness: Arc>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Texture` [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/translucent.rs:24:26 [INFO] [stdout] | [INFO] [stdout] 24 | pub bump: Option>>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Texture` [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/translucent.rs:29:22 [INFO] [stdout] | [INFO] [stdout] 29 | diffuse: Arc>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Texture` [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/translucent.rs:30:23 [INFO] [stdout] | [INFO] [stdout] 30 | specular: Arc>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Texture` [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/translucent.rs:31:24 [INFO] [stdout] | [INFO] [stdout] 31 | roughness: Arc>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Texture` [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/translucent.rs:33:26 [INFO] [stdout] | [INFO] [stdout] 33 | bump: Option>> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Texture` [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/texturing/textures/image.rs:142:21 [INFO] [stdout] | [INFO] [stdout] 142 | ) -> Option>>> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Texture>` [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/texturing/textures/image.rs:197:21 [INFO] [stdout] | [INFO] [stdout] 197 | ) -> Option>> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Texture` [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 `try`: use the `?` operator instead [INFO] [stdout] --> src/lighting/mod.rs:84:1 [INFO] [stdout] | [INFO] [stdout] 84 | / bitflags! { [INFO] [stdout] 85 | | pub flags LightFlag: u32 { [INFO] [stdout] 86 | | const LIGHT_DPOS = 0x1, [INFO] [stdout] 87 | | const LIGHT_DDIR = 0x2, [INFO] [stdout] ... | [INFO] [stdout] 90 | | } [INFO] [stdout] 91 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lighting/mod.rs:84:1 [INFO] [stdout] | [INFO] [stdout] 84 | / bitflags! { [INFO] [stdout] 85 | | pub flags LightFlag: u32 { [INFO] [stdout] 86 | | const LIGHT_DPOS = 0x1, [INFO] [stdout] 87 | | const LIGHT_DDIR = 0x2, [INFO] [stdout] ... | [INFO] [stdout] 90 | | } [INFO] [stdout] 91 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/lighting/distantlight.rs:88:9 [INFO] [stdout] | [INFO] [stdout] 88 | /// extend accordingly [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 89 | let pdisk = self.world_center + self.world_radius*(pdisk.x * u + pdisk.y * v); [INFO] [stdout] | ------------------------------------------------------------------------------ rustdoc does not generate documentation for statements [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_doc_comments)]` on by default [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/renderer/scene.rs:24:25 [INFO] [stdout] | [INFO] [stdout] 24 | pub lights: Vec>, [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Light` [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/renderer/scene.rs:27:24 [INFO] [stdout] | [INFO] [stdout] 27 | pub aggregate: Arc, [INFO] [stdout] | ^^^^^^^^^^ help: use `dyn`: `dyn Composable` [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/renderer/scene.rs:32:25 [INFO] [stdout] | [INFO] [stdout] 32 | lights: Vec>, [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Light` [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/renderer/scene.rs:34:24 [INFO] [stdout] | [INFO] [stdout] 34 | aggregate: Arc [INFO] [stdout] | ^^^^^^^^^^ help: use `dyn`: `dyn Composable` [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/renderer/scene.rs:54:45 [INFO] [stdout] | [INFO] [stdout] 54 | pub fn get_light(&self, idx: usize) -> &Light { [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Light` [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/renderer/scene.rs:84:17 [INFO] [stdout] | [INFO] [stdout] 84 | light: &Light, ulight: Point2f, uscattering: Point2f, [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Light` [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/renderer/scene.rs:170:51 [INFO] [stdout] | [INFO] [stdout] 170 | pub fn sample_one_light(&self, u: Float) -> (&Light, Float) { [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Light` [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/renderer/whitted.rs:27:17 [INFO] [stdout] | [INFO] [stdout] 27 | camera: Arc, [INFO] [stdout] | ^^^^^^ help: use `dyn`: `dyn Camera` [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/renderer/whitted.rs:32:65 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn new + ?Sized>(sampler: S, camera: Arc, path: &P) -> WhittedRenderer { [INFO] [stdout] | ^^^^^^ help: use `dyn`: `dyn Camera` [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/renderer/pt.rs:28:17 [INFO] [stdout] | [INFO] [stdout] 28 | camera: Arc, [INFO] [stdout] | ^^^^^^ help: use `dyn`: `dyn Camera` [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/renderer/pt.rs:38:33 [INFO] [stdout] | [INFO] [stdout] 38 | sampler: S, camera: Arc, [INFO] [stdout] | ^^^^^^ help: use `dyn`: `dyn Camera` [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 function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/geometry/ray.rs:79:31 [INFO] [stdout] | [INFO] [stdout] 79 | stc: unsafe {mem::uninitialized()}, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/component/bvh.rs:179:18 [INFO] [stdout] | [INFO] [stdout] 179 | mem::uninitialized() [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/component/bvh.rs:353:32 [INFO] [stdout] | [INFO] [stdout] 353 | bound: unsafe{mem::uninitialized()}, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/filming/film.rs:211:23 [INFO] [stdout] | [INFO] [stdout] 211 | vec![mem::uninitialized(); (diagonal.x * diagonal.y) as usize] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/sample/strata.rs:172:32 [INFO] [stdout] | [INFO] [stdout] 172 | vec![std::mem::uninitialized(); nsample] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/sample/strata.rs:183:32 [INFO] [stdout] | [INFO] [stdout] 183 | vec![std::mem::uninitialized(); nsample] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/sample/strata.rs:236:28 [INFO] [stdout] | [INFO] [stdout] 236 | vec![std::mem::uninitialized(); buf.len()] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/sample/filters.rs:268:37 [INFO] [stdout] | [INFO] [stdout] 268 | buf: unsafe { vec![mem::uninitialized(); PREC_FILTER_SIZE] }, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/sample/sink.rs:36:28 [INFO] [stdout] | [INFO] [stdout] 36 | vec![std::mem::uninitialized(); ndim * nsample] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/texturing/textures/image.rs:631:1 [INFO] [stdout] | [INFO] [stdout] 631 | / lazy_static! { [INFO] [stdout] 632 | | static ref WEIGHT_LUT: Vec = { [INFO] [stdout] 633 | | let mut v = Vec::with_capacity(WEIGHT_LUT_SIZE); [INFO] [stdout] 634 | | for i in 0..WEIGHT_LUT_SIZE { [INFO] [stdout] ... | [INFO] [stdout] 640 | | }; [INFO] [stdout] 641 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type annotations needed [INFO] [stdout] --> src/spectrum/mod.rs:162:17 [INFO] [stdout] | [INFO] [stdout] 162 | ptr.as_ref().unwrap() [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(tyvar_behind_raw_pointer)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #46906 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type annotations needed [INFO] [stdout] --> src/spectrum/mod.rs:170:17 [INFO] [stdout] | [INFO] [stdout] 170 | ptr.as_mut().unwrap() [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #46906 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `t` [INFO] [stdout] --> src/shape/tests.rs:48:14 [INFO] [stdout] | [INFO] [stdout] 48 | let (t, si) = sphere.intersect_ray(&ray).unwrap(); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_t` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/shape/tests.rs:59:13 [INFO] [stdout] | [INFO] [stdout] 59 | for i in 0..ROUNDS { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `j` [INFO] [stdout] --> src/shape/tests.rs:65:17 [INFO] [stdout] | [INFO] [stdout] 65 | for j in 0..ROUNDS { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_j` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `t` [INFO] [stdout] --> src/shape/tests.rs:70:30 [INFO] [stdout] | [INFO] [stdout] 70 | if let Some((t, si)) = spheref.intersect_ray(&ray) { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_t` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `float_bits_conv` has been stable since 1.20.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/lib.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 12 | #![feature(float_bits_conv)] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `ShearingTransformCache` does not permit being left uninitialized [INFO] [stdout] --> src/geometry/ray.rs:79:26 [INFO] [stdout] | [INFO] [stdout] 79 | stc: unsafe {mem::uninitialized()}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(invalid_value)]` on by default [INFO] [stdout] note: enums have to be initialized to a variant [INFO] [stdout] --> src/geometry/ray.rs:184:1 [INFO] [stdout] | [INFO] [stdout] 184 | / enum Permulation { [INFO] [stdout] 185 | | XZ, [INFO] [stdout] 186 | | YZ, [INFO] [stdout] 187 | | ZZ, [INFO] [stdout] 188 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 119 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 21.24s [INFO] running `Command { std: "docker" "inspect" "beff42b4473894b6ffc5de2d6f6377802f0d81593f82d9e17b24f5a6da4c98d8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "beff42b4473894b6ffc5de2d6f6377802f0d81593f82d9e17b24f5a6da4c98d8", kill_on_drop: false }` [INFO] [stdout] beff42b4473894b6ffc5de2d6f6377802f0d81593f82d9e17b24f5a6da4c98d8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] f98d9bc5f406e29852f6d8c59d0f3dfdce6274fa4b0efa232329872a0c710a67 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "f98d9bc5f406e29852f6d8c59d0f3dfdce6274fa4b0efa232329872a0c710a67", kill_on_drop: false }` [INFO] [stderr] warning: the feature `specialization` is incomplete and may not be safe to use and/or cause compiler crashes [INFO] [stderr] --> src/lib.rs:10:12 [INFO] [stderr] | [INFO] [stderr] 10 | #![feature(specialization)] [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(incomplete_features)]` on by default [INFO] [stderr] = note: see issue #31844 for more information [INFO] [stderr] = help: consider using `min_specialization` instead, which is more stable and complete [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/geometry/interaction.rs:119:35 [INFO] [stderr] | [INFO] [stderr] 119 | pub primitive_hit: Option<&'b Primitive>, [INFO] [stderr] | ^^^^^^^^^ help: use `dyn`: `dyn Primitive` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/shape/triangle.rs:33:19 [INFO] [stderr] | [INFO] [stderr] 33 | material: Arc, [INFO] [stderr] | ^^^^^^^^ help: use `dyn`: `dyn Material` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/shape/triangle.rs:34:34 [INFO] [stderr] | [INFO] [stderr] 34 | lighting_profile: Option>>, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Texture` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/shape/triangle.rs:84:23 [INFO] [stderr] | [INFO] [stderr] 84 | material: Arc, [INFO] [stderr] | ^^^^^^^^ help: use `dyn`: `dyn Material` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/shape/triangle.rs:85:38 [INFO] [stderr] | [INFO] [stderr] 85 | lighting_profile: Option>> [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Texture` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/shape/triangle.rs:123:23 [INFO] [stderr] | [INFO] [stderr] 123 | material: Arc, [INFO] [stderr] | ^^^^^^^^ help: use `dyn`: `dyn Material` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/shape/triangle.rs:124:38 [INFO] [stderr] | [INFO] [stderr] 124 | lighting_profile: Option>> [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Texture` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around block return value [INFO] [stderr] --> src/shape/triangle.rs:499:13 [INFO] [stderr] | [INFO] [stderr] 499 | ... (norms[self.vidx(0)] * barycentrc.x + norms[self.vidx(1)] * barycentrc.y + norms[self.vidx(2)] * (1. as Float - barycentrc.x - barycentrc.y)) [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_parens)]` on by default [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 499 - (norms[self.vidx(0)] * barycentrc.x + norms[self.vidx(1)] * barycentrc.y + norms[self.vidx(2)] * (1. as Float - barycentrc.x - barycentrc.y)) [INFO] [stderr] 499 + norms[self.vidx(0)] * barycentrc.x + norms[self.vidx(1)] * barycentrc.y + norms[self.vidx(2)] * (1. as Float - barycentrc.x - barycentrc.y) [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/shape/triangle.rs:531:28 [INFO] [stderr] | [INFO] [stderr] 531 | fn as_light(&self) -> &Light { [INFO] [stderr] | ^^^^^ help: use `dyn`: `dyn Light` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/shape/triangle.rs:630:32 [INFO] [stderr] | [INFO] [stderr] 630 | fn get_material(&self) -> &Material { [INFO] [stderr] | ^^^^^^^^ help: use `dyn`: `dyn Material` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/component/mod.rs:40:28 [INFO] [stderr] | [INFO] [stderr] 40 | fn as_light(&self) -> &Light { [INFO] [stderr] | ^^^^^ help: use `dyn`: `dyn Light` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/component/mod.rs:61:32 [INFO] [stderr] | [INFO] [stderr] 61 | fn get_material(&self) -> &Material; [INFO] [stderr] | ^^^^^^^^ help: use `dyn`: `dyn Material` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/component/mod.rs:70:32 [INFO] [stderr] | [INFO] [stderr] 70 | let mut materials: Vec> = Vec::with_capacity(mtls.len()+1); [INFO] [stderr] | ^^^^^^^^ help: use `dyn`: `dyn Material` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/component/mod.rs:193:13 [INFO] [stderr] | [INFO] [stderr] 193 | Arc(Arc), [INFO] [stderr] | ^^^^^^^^^^ help: use `dyn`: `dyn Composable` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/component/mod.rs:224:28 [INFO] [stderr] | [INFO] [stderr] 224 | fn as_light(&self) -> &Light { [INFO] [stderr] | ^^^^^ help: use `dyn`: `dyn Light` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/component/mod.rs:240:15 [INFO] [stderr] | [INFO] [stderr] 240 | impl From> for ComponentPointer { [INFO] [stderr] | ^^^^^^^^^^ help: use `dyn`: `dyn Composable` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/component/mod.rs:242:22 [INFO] [stderr] | [INFO] [stderr] 242 | fn from(arc: Arc) -> ComponentPointer { [INFO] [stderr] | ^^^^^^^^^^ help: use `dyn`: `dyn Composable` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/component/shape.rs:24:38 [INFO] [stderr] | [INFO] [stderr] 24 | pub lighting_profile: Option>>, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Texture` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/component/shape.rs:35:38 [INFO] [stderr] | [INFO] [stderr] 35 | lighting_profile: Option>> [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Texture` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/component/shape.rs:69:28 [INFO] [stderr] | [INFO] [stderr] 69 | fn as_light(&self) -> &Light { [INFO] [stderr] | ^^^^^ help: use `dyn`: `dyn Light` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/component/shape.rs:174:32 [INFO] [stderr] | [INFO] [stderr] 174 | fn get_material(&self) -> &Material { [INFO] [stderr] | ^^^^^^^^ help: use `dyn`: `dyn Material` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/component/transformed.rs:65:36 [INFO] [stderr] | [INFO] [stderr] 65 | default fn as_light(&self) -> &Light { [INFO] [stderr] | ^^^^^ help: use `dyn`: `dyn Light` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/component/transformed.rs:85:28 [INFO] [stderr] | [INFO] [stderr] 85 | fn as_light(&self) -> &Light { [INFO] [stderr] | ^^^^^ help: use `dyn`: `dyn Light` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/component/transformed.rs:98:32 [INFO] [stderr] | [INFO] [stderr] 98 | fn get_material(&self) -> &Material { [INFO] [stderr] | ^^^^^^^^ help: use `dyn`: `dyn Material` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/component/transformed.rs:184:36 [INFO] [stderr] | [INFO] [stderr] 184 | default fn as_light(&self) -> &Light { [INFO] [stderr] | ^^^^^ help: use `dyn`: `dyn Light` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/component/transformed.rs:204:28 [INFO] [stderr] | [INFO] [stderr] 204 | fn as_light(&self) -> &Light { [INFO] [stderr] | ^^^^^ help: use `dyn`: `dyn Light` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/component/transformed.rs:217:32 [INFO] [stderr] | [INFO] [stderr] 217 | fn get_material(&self) -> &Material { [INFO] [stderr] | ^^^^^^^^ help: use `dyn`: `dyn Material` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/component/transformed.rs:274:47 [INFO] [stderr] | [INFO] [stderr] 274 | impl Composable for TransformedComposable> [INFO] [stderr] | ^^^^^^^^^^ help: use `dyn`: `dyn Composable` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/component/transformed.rs:298:28 [INFO] [stderr] | [INFO] [stderr] 298 | fn as_light(&self) -> &Light { [INFO] [stderr] | ^^^^^ help: use `dyn`: `dyn Light` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/component/transformed.rs:303:47 [INFO] [stderr] | [INFO] [stderr] 303 | impl Composable for TransformedComposable> [INFO] [stderr] | ^^^^^^^^^ help: use `dyn`: `dyn Primitive` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/component/transformed.rs:328:28 [INFO] [stderr] | [INFO] [stderr] 328 | fn as_light(&self) -> &Light { [INFO] [stderr] | ^^^^^ help: use `dyn`: `dyn Light` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/component/transformed.rs:333:46 [INFO] [stderr] | [INFO] [stderr] 333 | impl Primitive for TransformedComposable> [INFO] [stderr] | ^^^^^^^^^ help: use `dyn`: `dyn Primitive` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/component/transformed.rs:341:32 [INFO] [stderr] | [INFO] [stderr] 341 | fn get_material(&self) -> &Material { [INFO] [stderr] | ^^^^^^^^ help: use `dyn`: `dyn Material` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/component/transformed.rs:346:42 [INFO] [stderr] | [INFO] [stderr] 346 | impl Light for TransformedComposable> [INFO] [stderr] | ^^^^^^^^^ help: use `dyn`: `dyn Primitive` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/component/naive.rs:16:27 [INFO] [stderr] | [INFO] [stderr] 16 | pub elements: Vec>, [INFO] [stderr] | ^^^^^^^^^^ help: use `dyn`: `dyn Composable` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/component/naive.rs:21:34 [INFO] [stderr] | [INFO] [stderr] 21 | pub fn new(elements: Vec>) -> Naive { [INFO] [stderr] | ^^^^^^^^^^ help: use `dyn`: `dyn Composable` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/component/naive.rs:33:34 [INFO] [stderr] | [INFO] [stderr] 33 | pub fn from_one(element: Arc) -> Naive { [INFO] [stderr] | ^^^^^^^^^^ help: use `dyn`: `dyn Composable` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/component/naive.rs:42:43 [INFO] [stderr] | [INFO] [stderr] 42 | pub fn append(&mut self, element: Arc) { [INFO] [stderr] | ^^^^^^^^^^ help: use `dyn`: `dyn Composable` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/filming/film.rs:42:17 [INFO] [stderr] | [INFO] [stderr] 42 | filter: Arc, [INFO] [stderr] | ^^^^^^ help: use `dyn`: `dyn Filter` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/filming/film.rs:47:29 [INFO] [stderr] | [INFO] [stderr] 47 | fn lanczos_default() -> Arc { [INFO] [stderr] | ^^^^^^ help: use `dyn`: `dyn Filter` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/filming/film.rs:55:76 [INFO] [stderr] | [INFO] [stderr] 55 | pub fn new(resolution: Point2, crop_window: BBox2f, filter: Arc) -> Film { [INFO] [stderr] | ^^^^^^ help: use `dyn`: `dyn Filter` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/filming/film.rs:282:17 [INFO] [stderr] | [INFO] [stderr] 282 | filter: &'a Filter, [INFO] [stderr] | ^^^^^^ help: use `dyn`: `dyn Filter` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around function argument [INFO] [stderr] --> src/sample/filters.rs:216:33 [INFO] [stderr] | [INFO] [stderr] 216 | LanczosSincFilter::sinc((x*inv_tau)) [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 216 - LanczosSincFilter::sinc((x*inv_tau)) [INFO] [stderr] 216 + LanczosSincFilter::sinc(x*inv_tau) [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/bxdf/mod.rs:119:1 [INFO] [stderr] | [INFO] [stderr] 119 | / bitflags! { [INFO] [stderr] 120 | | pub flags BxdfType: u32 { [INFO] [stderr] 121 | | const BXDF_REFLECTION = 0x01, [INFO] [stderr] 122 | | const BXDF_TRANSMISSION = 0x02, [INFO] [stderr] ... | [INFO] [stderr] 131 | | } [INFO] [stderr] 132 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] = note: this warning originates in the macro `bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/bxdf/mod.rs:119:1 [INFO] [stderr] | [INFO] [stderr] 119 | / bitflags! { [INFO] [stderr] 120 | | pub flags BxdfType: u32 { [INFO] [stderr] 121 | | const BXDF_REFLECTION = 0x01, [INFO] [stderr] 122 | | const BXDF_TRANSMISSION = 0x02, [INFO] [stderr] ... | [INFO] [stderr] 131 | | } [INFO] [stderr] 132 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/material/bsdf.rs:48:45 [INFO] [stderr] | [INFO] [stderr] 48 | pub fn add(&mut self, bxdf: Pointer<'a, Bxdf>) { [INFO] [stderr] | ^^^^ help: use `dyn`: `dyn Bxdf` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/material/bsdf.rs:243:32 [INFO] [stderr] | [INFO] [stderr] 243 | bxdfs: [Option>; 8], [INFO] [stderr] | ^^^^ help: use `dyn`: `dyn Bxdf` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/material/bsdf.rs:259:41 [INFO] [stderr] | [INFO] [stderr] 259 | fn add(&mut self, bxdf: Pointer<'a, Bxdf>) { [INFO] [stderr] | ^^^^ help: use `dyn`: `dyn Bxdf` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/material/bsdf.rs:281:21 [INFO] [stderr] | [INFO] [stderr] 281 | type Item = &'a Bxdf; [INFO] [stderr] | ^^^^ help: use `dyn`: `dyn Bxdf` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/material/bsdf.rs:282:38 [INFO] [stderr] | [INFO] [stderr] 282 | fn next(&mut self) -> Option<&'a Bxdf> { [INFO] [stderr] | ^^^^ help: use `dyn`: `dyn Bxdf` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/material/bsdf.rs:289:37 [INFO] [stderr] | [INFO] [stderr] 289 | let ret: *const Bxdf = &**p; [INFO] [stderr] | ^^^^ help: use `dyn`: `dyn Bxdf` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/material/matte.rs:21:17 [INFO] [stderr] | [INFO] [stderr] 21 | pub kd: Arc>, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Texture` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/material/matte.rs:22:20 [INFO] [stderr] | [INFO] [stderr] 22 | pub sigma: Arc>, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Texture` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/material/matte.rs:23:26 [INFO] [stderr] | [INFO] [stderr] 23 | pub bump: Option>>, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Texture` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/material/matte.rs:29:24 [INFO] [stderr] | [INFO] [stderr] 29 | pub fn new(kd: Arc>, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Texture` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/material/matte.rs:30:16 [INFO] [stderr] | [INFO] [stderr] 30 | sigma: Arc>, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Texture` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/material/matte.rs:31:22 [INFO] [stderr] | [INFO] [stderr] 31 | bump: Option>>) -> Self { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Texture` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/material/plastic.rs:20:22 [INFO] [stderr] | [INFO] [stderr] 20 | pub diffuse: Arc>, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Texture` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/material/plastic.rs:21:23 [INFO] [stderr] | [INFO] [stderr] 21 | pub specular: Arc>, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Texture` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/material/plastic.rs:22:24 [INFO] [stderr] | [INFO] [stderr] 22 | pub roughness: Arc>, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Texture` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/material/plastic.rs:23:26 [INFO] [stderr] | [INFO] [stderr] 23 | pub bump: Option>>, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Texture` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/material/plastic.rs:28:22 [INFO] [stderr] | [INFO] [stderr] 28 | diffuse: Arc>, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Texture` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/material/plastic.rs:29:23 [INFO] [stderr] | [INFO] [stderr] 29 | specular: Arc>, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Texture` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/material/plastic.rs:30:24 [INFO] [stderr] | [INFO] [stderr] 30 | roughness: Arc>, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Texture` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/material/plastic.rs:31:26 [INFO] [stderr] | [INFO] [stderr] 31 | bump: Option>> [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Texture` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/material/glass.rs:20:22 [INFO] [stderr] | [INFO] [stderr] 20 | pub diffuse: Arc>, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Texture` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/material/glass.rs:21:23 [INFO] [stderr] | [INFO] [stderr] 21 | pub specular: Arc>, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Texture` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/material/glass.rs:22:24 [INFO] [stderr] | [INFO] [stderr] 22 | pub roughness: Arc>, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Texture` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/material/glass.rs:24:26 [INFO] [stderr] | [INFO] [stderr] 24 | pub bump: Option>>, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Texture` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/material/glass.rs:29:22 [INFO] [stderr] | [INFO] [stderr] 29 | diffuse: Arc>, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Texture` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/material/glass.rs:30:23 [INFO] [stderr] | [INFO] [stderr] 30 | specular: Arc>, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Texture` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/material/glass.rs:31:24 [INFO] [stderr] | [INFO] [stderr] 31 | roughness: Arc>, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Texture` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/material/glass.rs:33:26 [INFO] [stderr] | [INFO] [stderr] 33 | bump: Option>> [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Texture` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/material/translucent.rs:20:22 [INFO] [stderr] | [INFO] [stderr] 20 | pub diffuse: Arc>, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Texture` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/material/translucent.rs:21:23 [INFO] [stderr] | [INFO] [stderr] 21 | pub specular: Arc>, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Texture` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/material/translucent.rs:22:24 [INFO] [stderr] | [INFO] [stderr] 22 | pub roughness: Arc>, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Texture` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/material/translucent.rs:24:26 [INFO] [stderr] | [INFO] [stderr] 24 | pub bump: Option>>, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Texture` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/material/translucent.rs:29:22 [INFO] [stderr] | [INFO] [stderr] 29 | diffuse: Arc>, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Texture` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/material/translucent.rs:30:23 [INFO] [stderr] | [INFO] [stderr] 30 | specular: Arc>, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Texture` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/material/translucent.rs:31:24 [INFO] [stderr] | [INFO] [stderr] 31 | roughness: Arc>, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Texture` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/material/translucent.rs:33:26 [INFO] [stderr] | [INFO] [stderr] 33 | bump: Option>> [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Texture` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/texturing/textures/image.rs:142:21 [INFO] [stderr] | [INFO] [stderr] 142 | ) -> Option>>> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Texture>` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/texturing/textures/image.rs:197:21 [INFO] [stderr] | [INFO] [stderr] 197 | ) -> Option>> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Texture` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/lighting/mod.rs:84:1 [INFO] [stderr] | [INFO] [stderr] 84 | / bitflags! { [INFO] [stderr] 85 | | pub flags LightFlag: u32 { [INFO] [stderr] 86 | | const LIGHT_DPOS = 0x1, [INFO] [stderr] 87 | | const LIGHT_DDIR = 0x2, [INFO] [stderr] ... | [INFO] [stderr] 90 | | } [INFO] [stderr] 91 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unused doc comment [INFO] [stderr] --> src/lighting/distantlight.rs:88:9 [INFO] [stderr] | [INFO] [stderr] 88 | /// extend accordingly [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] 89 | let pdisk = self.world_center + self.world_radius*(pdisk.x * u + pdisk.y * v); [INFO] [stderr] | ------------------------------------------------------------------------------ rustdoc does not generate documentation for statements [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_doc_comments)]` on by default [INFO] [stderr] = help: use `//` for a plain comment [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/renderer/scene.rs:24:25 [INFO] [stderr] | [INFO] [stderr] 24 | pub lights: Vec>, [INFO] [stderr] | ^^^^^ help: use `dyn`: `dyn Light` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/renderer/scene.rs:27:24 [INFO] [stderr] | [INFO] [stderr] 27 | pub aggregate: Arc, [INFO] [stderr] | ^^^^^^^^^^ help: use `dyn`: `dyn Composable` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/renderer/scene.rs:32:25 [INFO] [stderr] | [INFO] [stderr] 32 | lights: Vec>, [INFO] [stderr] | ^^^^^ help: use `dyn`: `dyn Light` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/renderer/scene.rs:34:24 [INFO] [stderr] | [INFO] [stderr] 34 | aggregate: Arc [INFO] [stderr] | ^^^^^^^^^^ help: use `dyn`: `dyn Composable` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/renderer/scene.rs:54:45 [INFO] [stderr] | [INFO] [stderr] 54 | pub fn get_light(&self, idx: usize) -> &Light { [INFO] [stderr] | ^^^^^ help: use `dyn`: `dyn Light` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/renderer/scene.rs:84:17 [INFO] [stderr] | [INFO] [stderr] 84 | light: &Light, ulight: Point2f, uscattering: Point2f, [INFO] [stderr] | ^^^^^ help: use `dyn`: `dyn Light` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/renderer/scene.rs:170:51 [INFO] [stderr] | [INFO] [stderr] 170 | pub fn sample_one_light(&self, u: Float) -> (&Light, Float) { [INFO] [stderr] | ^^^^^ help: use `dyn`: `dyn Light` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/renderer/whitted.rs:27:17 [INFO] [stderr] | [INFO] [stderr] 27 | camera: Arc, [INFO] [stderr] | ^^^^^^ help: use `dyn`: `dyn Camera` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/renderer/whitted.rs:32:65 [INFO] [stderr] | [INFO] [stderr] 32 | pub fn new + ?Sized>(sampler: S, camera: Arc, path: &P) -> WhittedRenderer { [INFO] [stderr] | ^^^^^^ help: use `dyn`: `dyn Camera` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/renderer/pt.rs:28:17 [INFO] [stderr] | [INFO] [stderr] 28 | camera: Arc, [INFO] [stderr] | ^^^^^^ help: use `dyn`: `dyn Camera` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/renderer/pt.rs:38:33 [INFO] [stderr] | [INFO] [stderr] 38 | sampler: S, camera: Arc, [INFO] [stderr] | ^^^^^^ help: use `dyn`: `dyn Camera` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stderr] --> src/geometry/ray.rs:79:31 [INFO] [stderr] | [INFO] [stderr] 79 | stc: unsafe {mem::uninitialized()}, [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stderr] --> src/component/bvh.rs:179:18 [INFO] [stderr] | [INFO] [stderr] 179 | mem::uninitialized() [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stderr] --> src/component/bvh.rs:353:32 [INFO] [stderr] | [INFO] [stderr] 353 | bound: unsafe{mem::uninitialized()}, [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stderr] --> src/filming/film.rs:211:23 [INFO] [stderr] | [INFO] [stderr] 211 | vec![mem::uninitialized(); (diagonal.x * diagonal.y) as usize] [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stderr] --> src/sample/strata.rs:172:32 [INFO] [stderr] | [INFO] [stderr] 172 | vec![std::mem::uninitialized(); nsample] [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stderr] --> src/sample/strata.rs:183:32 [INFO] [stderr] | [INFO] [stderr] 183 | vec![std::mem::uninitialized(); nsample] [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stderr] --> src/sample/strata.rs:236:28 [INFO] [stderr] | [INFO] [stderr] 236 | vec![std::mem::uninitialized(); buf.len()] [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stderr] --> src/sample/filters.rs:268:37 [INFO] [stderr] | [INFO] [stderr] 268 | buf: unsafe { vec![mem::uninitialized(); PREC_FILTER_SIZE] }, [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stderr] --> src/sample/sink.rs:36:28 [INFO] [stderr] | [INFO] [stderr] 36 | vec![std::mem::uninitialized(); ndim * nsample] [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stderr] --> src/texturing/textures/image.rs:631:1 [INFO] [stderr] | [INFO] [stderr] 631 | / lazy_static! { [INFO] [stderr] 632 | | static ref WEIGHT_LUT: Vec = { [INFO] [stderr] 633 | | let mut v = Vec::with_capacity(WEIGHT_LUT_SIZE); [INFO] [stderr] 634 | | for i in 0..WEIGHT_LUT_SIZE { [INFO] [stderr] ... | [INFO] [stderr] 640 | | }; [INFO] [stderr] 641 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: type annotations needed [INFO] [stderr] --> src/spectrum/mod.rs:162:17 [INFO] [stderr] | [INFO] [stderr] 162 | ptr.as_ref().unwrap() [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(tyvar_behind_raw_pointer)]` on by default [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stderr] = note: for more information, see issue #46906 [INFO] [stderr] [INFO] [stderr] warning: type annotations needed [INFO] [stderr] --> src/spectrum/mod.rs:170:17 [INFO] [stderr] | [INFO] [stderr] 170 | ptr.as_mut().unwrap() [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stderr] = note: for more information, see issue #46906 [INFO] [stderr] [INFO] [stderr] warning: the feature `float_bits_conv` has been stable since 1.20.0 and no longer requires an attribute to enable [INFO] [stderr] --> src/lib.rs:12:12 [INFO] [stderr] | [INFO] [stderr] 12 | #![feature(float_bits_conv)] [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(stable_features)]` on by default [INFO] [stderr] [INFO] [stderr] warning: the type `ShearingTransformCache` does not permit being left uninitialized [INFO] [stderr] --> src/geometry/ray.rs:79:26 [INFO] [stderr] | [INFO] [stderr] 79 | stc: unsafe {mem::uninitialized()}, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | this code causes undefined behavior when executed [INFO] [stderr] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(invalid_value)]` on by default [INFO] [stderr] note: enums have to be initialized to a variant [INFO] [stderr] --> src/geometry/ray.rs:184:1 [INFO] [stderr] | [INFO] [stderr] 184 | / enum Permulation { [INFO] [stderr] 185 | | XZ, [INFO] [stderr] 186 | | YZ, [INFO] [stderr] 187 | | ZZ, [INFO] [stderr] 188 | | } [INFO] [stderr] | |_^ [INFO] [stderr] [INFO] [stderr] warning: `arendur` (lib) generated 112 warnings (1 duplicate) [INFO] [stderr] warning: unused import: `super::*` [INFO] [stderr] --> src/filming/tests.rs:14:9 [INFO] [stderr] | [INFO] [stderr] 14 | use super::*; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `super::projective::*` [INFO] [stderr] --> src/filming/tests.rs:15:9 [INFO] [stderr] | [INFO] [stderr] 15 | use super::projective::*; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `super::perspective::*` [INFO] [stderr] --> src/filming/tests.rs:16:9 [INFO] [stderr] | [INFO] [stderr] 16 | use super::perspective::*; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused variable: `t` [INFO] [stderr] --> src/shape/tests.rs:48:14 [INFO] [stderr] | [INFO] [stderr] 48 | let (t, si) = sphere.intersect_ray(&ray).unwrap(); [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_t` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `i` [INFO] [stderr] --> src/shape/tests.rs:59:13 [INFO] [stderr] | [INFO] [stderr] 59 | for i in 0..ROUNDS { [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `j` [INFO] [stderr] --> src/shape/tests.rs:65:17 [INFO] [stderr] | [INFO] [stderr] 65 | for j in 0..ROUNDS { [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_j` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `t` [INFO] [stderr] --> src/shape/tests.rs:70:30 [INFO] [stderr] | [INFO] [stderr] 70 | if let Some((t, si)) = spheref.intersect_ray(&ray) { [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_t` [INFO] [stderr] [INFO] [stderr] warning: `arendur` (lib test) generated 119 warnings (112 duplicates) [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> examples/arencli.rs:86:40 [INFO] [stderr] | [INFO] [stderr] 86 | let mut primitives: HashMap<_, Arc> = HashMap::new(); [INFO] [stderr] | ^^^^^^^^^^ help: use `dyn`: `dyn Composable` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> examples/arencli.rs:136:33 [INFO] [stderr] | [INFO] [stderr] 136 | let sp: Arc = if let Some(transform) = *transform { [INFO] [stderr] | ^^^^^^^^^^ help: use `dyn`: `dyn Composable` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> examples/arencli.rs:294:40 [INFO] [stderr] | [INFO] [stderr] 294 | rgbs: &mut HashMap>>, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Texture` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> examples/arencli.rs:295:41 [INFO] [stderr] | [INFO] [stderr] 295 | grays: &mut HashMap>>, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Texture` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> examples/arencli.rs:298:21 [INFO] [stderr] | [INFO] [stderr] 298 | ) -> Option> { [INFO] [stderr] | ^^^^^^^^ help: use `dyn`: `dyn Material` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> examples/arencli.rs:393:44 [INFO] [stderr] | [INFO] [stderr] 393 | textures: &mut HashMap>>, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Texture` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> examples/arencli.rs:395:21 [INFO] [stderr] | [INFO] [stderr] 395 | ) -> Option>> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Texture` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> examples/arencli.rs:449:44 [INFO] [stderr] | [INFO] [stderr] 449 | textures: &mut HashMap>>, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Texture` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> examples/arencli.rs:451:21 [INFO] [stderr] | [INFO] [stderr] 451 | ) -> Option>> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Texture` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> examples/arencli.rs:496:29 [INFO] [stderr] | [INFO] [stderr] 496 | fn to_arc(&self) -> Arc { [INFO] [stderr] | ^^^^^ help: use `dyn`: `dyn Light` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: use of deprecated function `rayon::initialize`: use `ThreadPoolBuilder::build_global` [INFO] [stderr] --> examples/arencli.rs:49:16 [INFO] [stderr] | [INFO] [stderr] 49 | rayon::initialize(rayon::Configuration::new().num_threads(threads)).unwrap(); [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated struct `rayon::Configuration`: Use `ThreadPoolBuilder` [INFO] [stderr] --> examples/arencli.rs:49:34 [INFO] [stderr] | [INFO] [stderr] 49 | rayon::initialize(rayon::Configuration::new().num_threads(threads)).unwrap(); [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `arendur` (example "arencli") generated 12 warnings [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.12s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/arendur-8d1bd2ab68e180aa) [INFO] [stdout] [INFO] [stdout] running 13 tests [INFO] [stdout] test geometry::tests::bbox::test_bbox2_corner ... ok [INFO] [stdout] test geometry::tests::bbox::test_bbox2_expand_by ... ok [INFO] [stdout] test geometry::tests::bbox::test_bbox2_extend_contain ... ok [INFO] [stdout] test geometry::tests::bbox::test_bbox2_iter ... ok [INFO] [stdout] test geometry::tests::bbox::test_bbox2_max_extent ... ok [INFO] [stdout] test geometry::tests::bbox::test_bbox2_lerp ... ok [INFO] [stdout] test geometry::tests::bbox::test_bbox2_new ... ok [INFO] [stdout] test geometry::tests::bbox::test_bbox2_surface_area ... ok [INFO] [stdout] test geometry::tests::bbox::test_bbox2_union ... ok [INFO] [stdout] test geometry::tests::bbox::test_bbox2_overlap ... ok [INFO] [stdout] test geometry::tests::bbox::test_bbox2_intersect ... ok [INFO] [stdout] test shape::tests::test_sphere::test_random_intersect ... FAILED [INFO] [stdout] test shape::tests::test_sphere::test_sy_intersect ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- shape::tests::test_sphere::test_random_intersect stdout ---- [INFO] [stdout] thread 'shape::tests::test_sphere::test_random_intersect' panicked at 'attempted to leave type `geometry::ray::ShearingTransformCache` uninitialized, which is invalid', src/geometry/ray.rs:79:26 [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x55daa6d2fe4c - std::backtrace_rs::backtrace::libunwind::trace::h7630ba4cba718aa0 [INFO] [stdout] at /rustc/a77da2d454e6caa227a85b16410b95f93495e7e0/library/std/src/../../backtrace/src/backtrace/libunwind.rs:93:5 [INFO] [stdout] 1: 0x55daa6d2fe4c - std::backtrace_rs::backtrace::trace_unsynchronized::he7498e79c157f5ac [INFO] [stdout] at /rustc/a77da2d454e6caa227a85b16410b95f93495e7e0/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5 [INFO] [stdout] 2: 0x55daa6d2fe4c - std::sys_common::backtrace::_print_fmt::hdaebadaee17bca49 [INFO] [stdout] at /rustc/a77da2d454e6caa227a85b16410b95f93495e7e0/library/std/src/sys_common/backtrace.rs:67:5 [INFO] [stdout] 3: 0x55daa6d2fe4c - ::fmt::h82b0e3aaf8a96140 [INFO] [stdout] at /rustc/a77da2d454e6caa227a85b16410b95f93495e7e0/library/std/src/sys_common/backtrace.rs:46:22 [INFO] [stdout] 4: 0x55daa6d5363c - core::fmt::write::h72801a82c94e6ff1 [INFO] [stdout] at /rustc/a77da2d454e6caa227a85b16410b95f93495e7e0/library/core/src/fmt/mod.rs:1149:17 [INFO] [stdout] 5: 0x55daa6d2bd85 - std::io::Write::write_fmt::h21d7683cabdb4c35 [INFO] [stdout] at /rustc/a77da2d454e6caa227a85b16410b95f93495e7e0/library/std/src/io/mod.rs:1697:15 [INFO] [stdout] 6: 0x55daa6d318a0 - std::sys_common::backtrace::_print::h1c9a1d19c48821c1 [INFO] [stdout] at /rustc/a77da2d454e6caa227a85b16410b95f93495e7e0/library/std/src/sys_common/backtrace.rs:49:5 [INFO] [stdout] 7: 0x55daa6d318a0 - std::sys_common::backtrace::print::h7ce8802039fa9d0e [INFO] [stdout] at /rustc/a77da2d454e6caa227a85b16410b95f93495e7e0/library/std/src/sys_common/backtrace.rs:36:9 [INFO] [stdout] 8: 0x55daa6d318a0 - std::panicking::default_hook::{{closure}}::hb2a74a8c1499c326 [INFO] [stdout] at /rustc/a77da2d454e6caa227a85b16410b95f93495e7e0/library/std/src/panicking.rs:211:50 [INFO] [stdout] 9: 0x55daa6d31486 - std::panicking::default_hook::hf4f180b00076f2b2 [INFO] [stdout] at /rustc/a77da2d454e6caa227a85b16410b95f93495e7e0/library/std/src/panicking.rs:225:9 [INFO] [stdout] 10: 0x55daa6d31f54 - std::panicking::rust_panic_with_hook::he85ce8435493b711 [INFO] [stdout] at /rustc/a77da2d454e6caa227a85b16410b95f93495e7e0/library/std/src/panicking.rs:606:17 [INFO] [stdout] 11: 0x55daa6d31a02 - std::panicking::begin_panic_handler::{{closure}}::h31e15f69e6235bd2 [INFO] [stdout] at /rustc/a77da2d454e6caa227a85b16410b95f93495e7e0/library/std/src/panicking.rs:500:13 [INFO] [stdout] 12: 0x55daa6d30304 - std::sys_common::backtrace::__rust_end_short_backtrace::hfce2fadb61aaa3ae [INFO] [stdout] at /rustc/a77da2d454e6caa227a85b16410b95f93495e7e0/library/std/src/sys_common/backtrace.rs:139:18 [INFO] [stdout] 13: 0x55daa6d31999 - rust_begin_unwind [INFO] [stdout] at /rustc/a77da2d454e6caa227a85b16410b95f93495e7e0/library/std/src/panicking.rs:498:5 [INFO] [stdout] 14: 0x55daa6cba871 - core::panicking::panic_fmt::h7b8580d81fcbbacd [INFO] [stdout] at /rustc/a77da2d454e6caa227a85b16410b95f93495e7e0/library/core/src/panicking.rs:107:14 [INFO] [stdout] 15: 0x55daa6cba7bd - core::panicking::panic::h50b51d19800453c0 [INFO] [stdout] at /rustc/a77da2d454e6caa227a85b16410b95f93495e7e0/library/core/src/panicking.rs:48:5 [INFO] [stdout] 16: 0x55daa6cbe028 - core::mem::uninitialized::hd690daec6dbbbfa5 [INFO] [stdout] at /rustc/a77da2d454e6caa227a85b16410b95f93495e7e0/library/core/src/mem/mod.rs:676:9 [INFO] [stdout] 17: 0x55daa6cbe028 - arendur::geometry::ray::RawRay::new::h0053b06aad5d02c8 [INFO] [stdout] at /opt/rustwide/workdir/src/geometry/ray.rs:79:26 [INFO] [stdout] 18: 0x55daa6cbe22d - arendur::geometry::ray::RawRay::from_od::h26abbaf0cd737bd2 [INFO] [stdout] at /opt/rustwide/workdir/src/geometry/ray.rs:89:9 [INFO] [stdout] 19: 0x55daa6cc4b15 - arendur::shape::tests::test_sphere::test_random_intersect::h175935ec941d7497 [INFO] [stdout] at /opt/rustwide/workdir/src/shape/tests.rs:69:27 [INFO] [stdout] 20: 0x55daa6cc437a - arendur::shape::tests::test_sphere::test_random_intersect::{{closure}}::h522cd4342376d64a [INFO] [stdout] at /opt/rustwide/workdir/src/shape/tests.rs:53:5 [INFO] [stdout] 21: 0x55daa6cbfa8e - core::ops::function::FnOnce::call_once::hc7d9674a8668500d [INFO] [stdout] at /rustc/a77da2d454e6caa227a85b16410b95f93495e7e0/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 22: 0x55daa6cfbf23 - core::ops::function::FnOnce::call_once::h449577f1c5b077cb [INFO] [stdout] at /rustc/a77da2d454e6caa227a85b16410b95f93495e7e0/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 23: 0x55daa6cfbf23 - test::__rust_begin_short_backtrace::h8c2a0a5090591869 [INFO] [stdout] at /rustc/a77da2d454e6caa227a85b16410b95f93495e7e0/library/test/src/lib.rs:585:5 [INFO] [stdout] 24: 0x55daa6cfaab7 - as core::ops::function::FnOnce>::call_once::hea00a22128a38543 [INFO] [stdout] at /rustc/a77da2d454e6caa227a85b16410b95f93495e7e0/library/alloc/src/boxed.rs:1694:9 [INFO] [stdout] 25: 0x55daa6cfaab7 - as core::ops::function::FnOnce<()>>::call_once::he10b35c3c50d78a0 [INFO] [stdout] at /rustc/a77da2d454e6caa227a85b16410b95f93495e7e0/library/core/src/panic/unwind_safe.rs:271:9 [INFO] [stdout] 26: 0x55daa6cfaab7 - std::panicking::try::do_call::hc868e78bbc5af2ab [INFO] [stdout] at /rustc/a77da2d454e6caa227a85b16410b95f93495e7e0/library/std/src/panicking.rs:406:40 [INFO] [stdout] 27: 0x55daa6cfaab7 - std::panicking::try::he468aede74df1b04 [INFO] [stdout] at /rustc/a77da2d454e6caa227a85b16410b95f93495e7e0/library/std/src/panicking.rs:370:19 [INFO] [stdout] 28: 0x55daa6cfaab7 - std::panic::catch_unwind::hce3c9152e1cf772d [INFO] [stdout] at /rustc/a77da2d454e6caa227a85b16410b95f93495e7e0/library/std/src/panic.rs:133:14 [INFO] [stdout] 29: 0x55daa6cfaab7 - test::run_test_in_process::h9c4ab8162080cf8c [INFO] [stdout] at /rustc/a77da2d454e6caa227a85b16410b95f93495e7e0/library/test/src/lib.rs:608:18 [INFO] [stdout] 30: 0x55daa6cfaab7 - test::run_test::run_test_inner::{{closure}}::he9483433cef16afe [INFO] [stdout] at /rustc/a77da2d454e6caa227a85b16410b95f93495e7e0/library/test/src/lib.rs:500:39 [INFO] [stdout] 31: 0x55daa6cc7dfe - test::run_test::run_test_inner::{{closure}}::h479f1f872a5501ea [INFO] [stdout] at /rustc/a77da2d454e6caa227a85b16410b95f93495e7e0/library/test/src/lib.rs:527:37 [INFO] [stdout] 32: 0x55daa6cc7dfe - std::sys_common::backtrace::__rust_begin_short_backtrace::h0f1e9b1f279687bc [INFO] [stdout] at /rustc/a77da2d454e6caa227a85b16410b95f93495e7e0/library/std/src/sys_common/backtrace.rs:123:18 [INFO] [stdout] 33: 0x55daa6cccc28 - std::thread::Builder::spawn_unchecked::{{closure}}::{{closure}}::he5560613c5f5cb83 [INFO] [stdout] at /rustc/a77da2d454e6caa227a85b16410b95f93495e7e0/library/std/src/thread/mod.rs:484:17 [INFO] [stdout] 34: 0x55daa6cccc28 - as core::ops::function::FnOnce<()>>::call_once::h8190a68cb05ab92f [INFO] [stdout] at /rustc/a77da2d454e6caa227a85b16410b95f93495e7e0/library/core/src/panic/unwind_safe.rs:271:9 [INFO] [stdout] 35: 0x55daa6cccc28 - std::panicking::try::do_call::h6ae22f5ac22596e4 [INFO] [stdout] at /rustc/a77da2d454e6caa227a85b16410b95f93495e7e0/library/std/src/panicking.rs:406:40 [INFO] [stdout] 36: 0x55daa6cccc28 - std::panicking::try::h2381c25487d6a7c2 [INFO] [stdout] at /rustc/a77da2d454e6caa227a85b16410b95f93495e7e0/library/std/src/panicking.rs:370:19 [INFO] [stdout] 37: 0x55daa6cccc28 - std::panic::catch_unwind::hfe902f4d5c9d7b6d [INFO] [stdout] at /rustc/a77da2d454e6caa227a85b16410b95f93495e7e0/library/std/src/panic.rs:133:14 [INFO] [stdout] 38: 0x55daa6cccc28 - std::thread::Builder::spawn_unchecked::{{closure}}::h547fad40771a584e [INFO] [stdout] at /rustc/a77da2d454e6caa227a85b16410b95f93495e7e0/library/std/src/thread/mod.rs:483:30 [INFO] [stdout] 39: 0x55daa6cccc28 - core::ops::function::FnOnce::call_once{{vtable.shim}}::he8602a9971738410 [INFO] [stdout] at /rustc/a77da2d454e6caa227a85b16410b95f93495e7e0/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 40: 0x55daa6d369f3 - as core::ops::function::FnOnce>::call_once::he162a5c338a10a39 [INFO] [stdout] at /rustc/a77da2d454e6caa227a85b16410b95f93495e7e0/library/alloc/src/boxed.rs:1694:9 [INFO] [stdout] 41: 0x55daa6d369f3 - as core::ops::function::FnOnce>::call_once::hb27497b21740dd97 [INFO] [stdout] at /rustc/a77da2d454e6caa227a85b16410b95f93495e7e0/library/alloc/src/boxed.rs:1694:9 [INFO] [stdout] 42: 0x55daa6d369f3 - std::sys::unix::thread::Thread::new::thread_start::he467e990e49c5136 [INFO] [stdout] at /rustc/a77da2d454e6caa227a85b16410b95f93495e7e0/library/std/src/sys/unix/thread.rs:106:17 [INFO] [stdout] 43: 0x7f84842ba609 - start_thread [INFO] [stdout] 44: 0x7f848408c293 - clone [INFO] [stdout] 45: 0x0 - [INFO] [stdout] [INFO] [stdout] ---- shape::tests::test_sphere::test_sy_intersect stdout ---- [INFO] [stdout] thread 'shape::tests::test_sphere::test_sy_intersect' panicked at 'attempted to leave type `geometry::ray::ShearingTransformCache` uninitialized, which is invalid', src/geometry/ray.rs:79:26 [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x55daa6d2fe4c - std::backtrace_rs::backtrace::libunwind::trace::h7630ba4cba718aa0 [INFO] [stdout] at /rustc/a77da2d454e6caa227a85b16410b95f93495e7e0/library/std/src/../../backtrace/src/backtrace/libunwind.rs:93:5 [INFO] [stdout] 1: 0x55daa6d2fe4c - std::backtrace_rs::backtrace::trace_unsynchronized::he7498e79c157f5ac [INFO] [stdout] at /rustc/a77da2d454e6caa227a85b16410b95f93495e7e0/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5 [INFO] [stdout] 2: 0x55daa6d2fe4c - std::sys_common::backtrace::_print_fmt::hdaebadaee17bca49 [INFO] [stdout] at /rustc/a77da2d454e6caa227a85b16410b95f93495e7e0/library/std/src/sys_common/backtrace.rs:67:5 [INFO] [stdout] 3: 0x55daa6d2fe4c - ::fmt::h82b0e3aaf8a96140 [INFO] [stdout] at /rustc/a77da2d454e6caa227a85b16410b95f93495e7e0/library/std/src/sys_common/backtrace.rs:46:22 [INFO] [stdout] 4: 0x55daa6d5363c - core::fmt::write::h72801a82c94e6ff1 [INFO] [stdout] at /rustc/a77da2d454e6caa227a85b16410b95f93495e7e0/library/core/src/fmt/mod.rs:1149:17 [INFO] [stdout] 5: 0x55daa6d2bd85 - std::io::Write::write_fmt::h21d7683cabdb4c35 [INFO] [stdout] at /rustc/a77da2d454e6caa227a85b16410b95f93495e7e0/library/std/src/io/mod.rs:1697:15 [INFO] [stdout] 6: 0x55daa6d318a0 - std::sys_common::backtrace::_print::h1c9a1d19c48821c1 [INFO] [stdout] at /rustc/a77da2d454e6caa227a85b16410b95f93495e7e0/library/std/src/sys_common/backtrace.rs:49:5 [INFO] [stdout] 7: 0x55daa6d318a0 - std::sys_common::backtrace::print::h7ce8802039fa9d0e [INFO] [stdout] at /rustc/a77da2d454e6caa227a85b16410b95f93495e7e0/library/std/src/sys_common/backtrace.rs:36:9 [INFO] [stdout] 8: 0x55daa6d318a0 - std::panicking::default_hook::{{closure}}::hb2a74a8c1499c326 [INFO] [stdout] at /rustc/a77da2d454e6caa227a85b16410b95f93495e7e0/library/std/src/panicking.rs:211:50 [INFO] [stdout] 9: 0x55daa6d31486 - std::panicking::default_hook::hf4f180b00076f2b2 [INFO] [stdout] at /rustc/a77da2d454e6caa227a85b16410b95f93495e7e0/library/std/src/panicking.rs:225:9 [INFO] [stdout] 10: 0x55daa6d31f54 - std::panicking::rust_panic_with_hook::he85ce8435493b711 [INFO] [stdout] at /rustc/a77da2d454e6caa227a85b16410b95f93495e7e0/library/std/src/panicking.rs:606:17 [INFO] [stdout] 11: 0x55daa6d31a02 - std::panicking::begin_panic_handler::{{closure}}::h31e15f69e6235bd2 [INFO] [stdout] at /rustc/a77da2d454e6caa227a85b16410b95f93495e7e0/library/std/src/panicking.rs:500:13 [INFO] [stdout] 12: 0x55daa6d30304 - std::sys_common::backtrace::__rust_end_short_backtrace::hfce2fadb61aaa3ae [INFO] [stdout] at /rustc/a77da2d454e6caa227a85b16410b95f93495e7e0/library/std/src/sys_common/backtrace.rs:139:18 [INFO] [stdout] 13: 0x55daa6d31999 - rust_begin_unwind [INFO] [stdout] at /rustc/a77da2d454e6caa227a85b16410b95f93495e7e0/library/std/src/panicking.rs:498:5 [INFO] [stdout] 14: 0x55daa6cba871 - core::panicking::panic_fmt::h7b8580d81fcbbacd [INFO] [stdout] at /rustc/a77da2d454e6caa227a85b16410b95f93495e7e0/library/core/src/panicking.rs:107:14 [INFO] [stdout] 15: 0x55daa6cba7bd - core::panicking::panic::h50b51d19800453c0 [INFO] [stdout] at /rustc/a77da2d454e6caa227a85b16410b95f93495e7e0/library/core/src/panicking.rs:48:5 [INFO] [stdout] 16: 0x55daa6cbe028 - core::mem::uninitialized::hd690daec6dbbbfa5 [INFO] [stdout] at /rustc/a77da2d454e6caa227a85b16410b95f93495e7e0/library/core/src/mem/mod.rs:676:9 [INFO] [stdout] 17: 0x55daa6cbe028 - arendur::geometry::ray::RawRay::new::h0053b06aad5d02c8 [INFO] [stdout] at /opt/rustwide/workdir/src/geometry/ray.rs:79:26 [INFO] [stdout] 18: 0x55daa6cbe22d - arendur::geometry::ray::RawRay::from_od::h26abbaf0cd737bd2 [INFO] [stdout] at /opt/rustwide/workdir/src/geometry/ray.rs:89:9 [INFO] [stdout] 19: 0x55daa6cc3e4d - arendur::shape::tests::test_sphere::test_sy_intersect::hb2ff09d8fcc47a4b [INFO] [stdout] at /opt/rustwide/workdir/src/shape/tests.rs:26:19 [INFO] [stdout] 20: 0x55daa6cc3d6a - arendur::shape::tests::test_sphere::test_sy_intersect::{{closure}}::h1e55af5264901fd6 [INFO] [stdout] at /opt/rustwide/workdir/src/shape/tests.rs:22:5 [INFO] [stdout] 21: 0x55daa6cbf7ae - core::ops::function::FnOnce::call_once::h3bb940bcc1e457c3 [INFO] [stdout] at /rustc/a77da2d454e6caa227a85b16410b95f93495e7e0/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 22: 0x55daa6cfbf23 - core::ops::function::FnOnce::call_once::h449577f1c5b077cb [INFO] [stdout] at /rustc/a77da2d454e6caa227a85b16410b95f93495e7e0/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 23: 0x55daa6cfbf23 - test::__rust_begin_short_backtrace::h8c2a0a5090591869 [INFO] [stdout] at /rustc/a77da2d454e6caa227a85b16410b95f93495e7e0/library/test/src/lib.rs:585:5 [INFO] [stdout] 24: 0x55daa6cfaab7 - as core::ops::function::FnOnce>::call_once::hea00a22128a38543 [INFO] [stdout] at /rustc/a77da2d454e6caa227a85b16410b95f93495e7e0/library/alloc/src/boxed.rs:1694:9 [INFO] [stdout] 25: 0x55daa6cfaab7 - as core::ops::function::FnOnce<()>>::call_once::he10b35c3c50d78a0 [INFO] [stdout] at /rustc/a77da2d454e6caa227a85b16410b95f93495e7e0/library/core/src/panic/unwind_safe.rs:271:9 [INFO] [stdout] 26: 0x55daa6cfaab7 - std::panicking::try::do_call::hc868e78bbc5af2ab [INFO] [stdout] at /rustc/a77da2d454e6caa227a85b16410b95f93495e7e0/library/std/src/panicking.rs:406:40 [INFO] [stdout] 27: 0x55daa6cfaab7 - std::panicking::try::he468aede74df1b04 [INFO] [stdout] at /rustc/a77da2d454e6caa227a85b16410b95f93495e7e0/library/std/src/panicking.rs:370:19 [INFO] [stdout] 28: 0x55daa6cfaab7 - std::panic::catch_unwind::hce3c9152e1cf772d [INFO] [stdout] at /rustc/a77da2d454e6caa227a85b16410b95f93495e7e0/library/std/src/panic.rs:133:14 [INFO] [stdout] 29: 0x55daa6cfaab7 - test::run_test_in_process::h9c4ab8162080cf8c [INFO] [stdout] at /rustc/a77da2d454e6caa227a85b16410b95f93495e7e0/library/test/src/lib.rs:608:18 [INFO] [stdout] 30: 0x55daa6cfaab7 - test::run_test::run_test_inner::{{closure}}::he9483433cef16afe [INFO] [stdout] at /rustc/a77da2d454e6caa227a85b16410b95f93495e7e0/library/test/src/lib.rs:500:39 [INFO] [stdout] 31: 0x55daa6cc7dfe - test::run_test::run_test_inner::{{closure}}::h479f1f872a5501ea [INFO] [stdout] at /rustc/a77da2d454e6caa227a85b16410b95f93495e7e0/library/test/src/lib.rs:527:37 [INFO] [stdout] 32: 0x55daa6cc7dfe - std::sys_common::backtrace::__rust_begin_short_backtrace::h0f1e9b1f279687bc [INFO] [stdout] at /rustc/a77da2d454e6caa227a85b16410b95f93495e7e0/library/std/src/sys_common/backtrace.rs:123:18 [INFO] [stdout] 33: 0x55daa6cccc28 - std::thread::Builder::spawn_unchecked::{{closure}}::{{closure}}::he5560613c5f5cb83 [INFO] [stdout] at /rustc/a77da2d454e6caa227a85b16410b95f93495e7e0/library/std/src/thread/mod.rs:484:17 [INFO] [stdout] 34: 0x55daa6cccc28 - as core::ops::function::FnOnce<()>>::call_once::h8190a68cb05ab92f [INFO] [stdout] at /rustc/a77da2d454e6caa227a85b16410b95f93495e7e0/library/core/src/panic/unwind_safe.rs:271:9 [INFO] [stdout] 35: 0x55daa6cccc28 - std::panicking::try::do_call::h6ae22f5ac22596e4 [INFO] [stdout] at /rustc/a77da2d454e6caa227a85b16410b95f93495e7e0/library/std/src/panicking.rs:406:40 [INFO] [stdout] 36: 0x55daa6cccc28 - std::panicking::try::h2381c25487d6a7c2 [INFO] [stdout] at /rustc/a77da2d454e6caa227a85b16410b95f93495e7e0/library/std/src/panicking.rs:370:19 [INFO] [stdout] 37: 0x55daa6cccc28 - std::panic::catch_unwind::hfe902f4d5c9d7b6d [INFO] [stdout] at /rustc/a77da2d454e6caa227a85b16410b95f93495e7e0/library/std/src/panic.rs:133:14 [INFO] [stdout] 38: 0x55daa6cccc28 - std::thread::Builder::spawn_unchecked::{{closure}}::h547fad40771a584e [INFO] [stdout] at /rustc/a77da2d454e6caa227a85b16410b95f93495e7e0/library/std/src/thread/mod.rs:483:30 [INFO] [stdout] 39: 0x55daa6cccc28 - core::ops::function::FnOnce::call_once{{vtable.shim}}::he8602a9971738410 [INFO] [stdout] at /rustc/a77da2d454e6caa227a85b16410b95f93495e7e0/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 40: 0x55daa6d369f3 - as core::ops::function::FnOnce>::call_once::he162a5c338a10a39 [INFO] [stdout] at /rustc/a77da2d454e6caa227a85b16410b95f93495e7e0/library/alloc/src/boxed.rs:1694:9 [INFO] [stdout] 41: 0x55daa6d369f3 - as core::ops::function::FnOnce>::call_once::hb27497b21740dd97 [INFO] [stdout] at /rustc/a77da2d454e6caa227a85b16410b95f93495e7e0/library/alloc/src/boxed.rs:1694:9 [INFO] [stdout] 42: 0x55daa6d369f3 - std::sys::unix::thread::Thread::new::thread_start::he467e990e49c5136 [INFO] [stdout] at /rustc/a77da2d454e6caa227a85b16410b95f93495e7e0/library/std/src/sys/unix/thread.rs:106:17 [INFO] [stdout] 43: 0x7f84842ba609 - start_thread [INFO] [stdout] 44: 0x7f848408c293 - clone [INFO] [stdout] 45: 0x0 - [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] shape::tests::test_sphere::test_random_intersect [INFO] [stdout] shape::tests::test_sphere::test_sy_intersect [INFO] [stdout] [INFO] [stdout] test result: FAILED. 11 passed; 2 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.03s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass '--lib' [INFO] running `Command { std: "docker" "inspect" "f98d9bc5f406e29852f6d8c59d0f3dfdce6274fa4b0efa232329872a0c710a67", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f98d9bc5f406e29852f6d8c59d0f3dfdce6274fa4b0efa232329872a0c710a67", kill_on_drop: false }` [INFO] [stdout] f98d9bc5f406e29852f6d8c59d0f3dfdce6274fa4b0efa232329872a0c710a67