[INFO] cloning repository https://github.com/gam0022/hanamaru-renderer [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/gam0022/hanamaru-renderer" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgam0022%2Fhanamaru-renderer", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgam0022%2Fhanamaru-renderer'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 16c4ade782e17893ab6f0d8d646422677c2b210e [INFO] checking gam0022/hanamaru-renderer against master#33fdb797f59421c7bbecaa4588ed5d7a31a9494a for pr-87190-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgam0022%2Fhanamaru-renderer" "/workspace/builds/worker-1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/gam0022/hanamaru-renderer on toolchain 33fdb797f59421c7bbecaa4588ed5d7a31a9494a [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+33fdb797f59421c7bbecaa4588ed5d7a31a9494a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/gam0022/hanamaru-renderer [INFO] finished tweaking git repo https://github.com/gam0022/hanamaru-renderer [INFO] tweaked toml for git repo https://github.com/gam0022/hanamaru-renderer written to /workspace/builds/worker-1/source/Cargo.toml [INFO] crate git repo https://github.com/gam0022/hanamaru-renderer already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+33fdb797f59421c7bbecaa4588ed5d7a31a9494a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+33fdb797f59421c7bbecaa4588ed5d7a31a9494a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 57bbd4171e096435db31b5d24b37c1e8438746a9a4f14c7e4d17d05fad7b895c [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" "57bbd4171e096435db31b5d24b37c1e8438746a9a4f14c7e4d17d05fad7b895c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "57bbd4171e096435db31b5d24b37c1e8438746a9a4f14c7e4d17d05fad7b895c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "57bbd4171e096435db31b5d24b37c1e8438746a9a4f14c7e4d17d05fad7b895c", kill_on_drop: false }` [INFO] [stdout] 57bbd4171e096435db31b5d24b37c1e8438746a9a4f14c7e4d17d05fad7b895c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+33fdb797f59421c7bbecaa4588ed5d7a31a9494a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ca7ab859de1a5ed23082e079adcb0743493864782869a65856586430808eee50 [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" "ca7ab859de1a5ed23082e079adcb0743493864782869a65856586430808eee50", kill_on_drop: false }` [INFO] [stderr] Checking libc v0.2.43 [INFO] [stderr] Checking cfg-if v0.1.5 [INFO] [stderr] Checking scopeguard v0.3.3 [INFO] [stderr] Checking memoffset v0.2.1 [INFO] [stderr] Compiling rayon-core v1.4.1 [INFO] [stderr] Compiling num-iter v0.1.37 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Checking adler32 v1.0.3 [INFO] [stderr] Compiling rayon v1.0.2 [INFO] [stderr] Checking either v1.5.0 [INFO] [stderr] Checking bitflags v1.0.4 [INFO] [stderr] Checking unicode-width v0.1.5 [INFO] [stderr] Checking scoped_threadpool v0.1.9 [INFO] [stderr] Checking arrayvec v0.4.7 [INFO] [stderr] Checking gif v0.10.0 [INFO] [stderr] Checking num-integer v0.1.39 [INFO] [stderr] Checking getopts v0.2.18 [INFO] [stderr] Checking deflate v0.7.18 [INFO] [stderr] Checking inflate v0.4.3 [INFO] [stderr] Compiling proc-macro2 v0.4.13 [INFO] [stderr] Checking crossbeam-utils v0.2.2 [INFO] [stderr] Checking num-bigint v0.2.0 [INFO] [stderr] Checking num-rational v0.1.42 [INFO] [stderr] Checking crossbeam-epoch v0.3.1 [INFO] [stderr] Compiling quote v0.6.8 [INFO] [stderr] Checking num_cpus v1.8.0 [INFO] [stderr] Checking rand v0.4.3 [INFO] [stderr] Checking time v0.1.40 [INFO] [stderr] Checking png v0.12.0 [INFO] [stderr] Checking crossbeam-deque v0.2.0 [INFO] [stderr] Compiling syn v0.14.9 [INFO] [stderr] Checking rand v0.3.22 [INFO] [stderr] Checking num-rational v0.2.1 [INFO] [stderr] Checking num v0.2.0 [INFO] [stderr] Checking jpeg-decoder v0.1.15 [INFO] [stderr] Compiling num-derive v0.2.2 [INFO] [stderr] Checking image v0.19.0 [INFO] [stderr] Checking hanamaru-renderer v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> src/vector.rs:36:9 [INFO] [stdout] | [INFO] [stdout] 36 | (self.x * self.x + self.y * self.y + self.z * self.z) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> src/vector.rs:273:9 [INFO] [stdout] | [INFO] [stdout] 273 | (self.x * self.x + self.y * self.y) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/scene.rs:324:37 [INFO] [stdout] | [INFO] [stdout] 324 | fn emissions(&self) -> Vec<&Box>; [INFO] [stdout] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn Intersectable` [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/scene.rs:328:27 [INFO] [stdout] | [INFO] [stdout] 328 | pub elements: Vec>, [INFO] [stdout] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn Intersectable` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/scene.rs:335:38 [INFO] [stdout] | [INFO] [stdout] 335 | let mut nearest: Option<&Box> = None; [INFO] [stdout] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn Intersectable` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (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/vector.rs:36:9 [INFO] [stdout] | [INFO] [stdout] 36 | (self.x * self.x + self.y * self.y + self.z * self.z) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> src/vector.rs:273:9 [INFO] [stdout] | [INFO] [stdout] 273 | (self.x * self.x + self.y * self.y) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/scene.rs:356:37 [INFO] [stdout] | [INFO] [stdout] 356 | fn emissions(&self) -> Vec<&Box> { [INFO] [stdout] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn Intersectable` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/scene.rs:362:40 [INFO] [stdout] | [INFO] [stdout] 362 | pub fn add(&mut self, element: Box) { [INFO] [stdout] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn Intersectable` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/scene.rs:324:37 [INFO] [stdout] | [INFO] [stdout] 324 | fn emissions(&self) -> Vec<&Box>; [INFO] [stdout] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn Intersectable` [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/scene.rs:366:62 [INFO] [stdout] | [INFO] [stdout] 366 | pub fn add_with_check_collisions(&mut self, element: Box) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn Intersectable` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/scene.rs:403:37 [INFO] [stdout] | [INFO] [stdout] 403 | fn emissions(&self) -> Vec<&Box> { [INFO] [stdout] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn Intersectable` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/scene.rs:328:27 [INFO] [stdout] | [INFO] [stdout] 328 | pub elements: Vec>, [INFO] [stdout] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn Intersectable` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [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.rs:23:34 [INFO] [stdout] | [INFO] [stdout] 23 | fn calc_pixel(&self, scene: &SceneTrait, camera: &Camera, emissions: &Vec<&Box>, normalized_coord: &Vector2, sampling:... [INFO] [stdout] | ^^^^^^^^^^ help: use `dyn`: `dyn SceneTrait` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [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.rs:23:84 [INFO] [stdout] | [INFO] [stdout] 23 | fn calc_pixel(&self, scene: &SceneTrait, camera: &Camera, emissions: &Vec<&Box>, normalized_coord: &Vector2, sampling:... [INFO] [stdout] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn Intersectable` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/scene.rs:335:38 [INFO] [stdout] | [INFO] [stdout] 335 | let mut nearest: Option<&Box> = None; [INFO] [stdout] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn Intersectable` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [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.rs:25:34 [INFO] [stdout] | [INFO] [stdout] 25 | fn render(&mut self, scene: &SceneTrait, camera: &Camera, imgbuf: &mut ImageBuffer, Vec>) -> u32 { [INFO] [stdout] | ^^^^^^^^^^ help: use `dyn`: `dyn SceneTrait` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [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.rs:48:37 [INFO] [stdout] | [INFO] [stdout] 48 | fn supersampling(&self, scene: &SceneTrait, camera: &Camera, emissions: &Vec<&Box>, frag_coord: &Vector2, resolution: ... [INFO] [stdout] | ^^^^^^^^^^ help: use `dyn`: `dyn SceneTrait` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/scene.rs:356:37 [INFO] [stdout] | [INFO] [stdout] 356 | fn emissions(&self) -> Vec<&Box> { [INFO] [stdout] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn Intersectable` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [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.rs:48:87 [INFO] [stdout] | [INFO] [stdout] 48 | ...it, camera: &Camera, emissions: &Vec<&Box>, frag_coord: &Vector2, resolution: &Vector2, sampling: u32) -> Color { [INFO] [stdout] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn Intersectable` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [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.rs:116:34 [INFO] [stdout] | [INFO] [stdout] 116 | fn calc_pixel(&self, scene: &SceneTrait, camera: &Camera, _emissions: &Vec<&Box>, normalized_coord: &Vector2, _: u32) ... [INFO] [stdout] | ^^^^^^^^^^ help: use `dyn`: `dyn SceneTrait` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/scene.rs:362:40 [INFO] [stdout] | [INFO] [stdout] 362 | pub fn add(&mut self, element: Box) { [INFO] [stdout] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn Intersectable` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [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.rs:116:85 [INFO] [stdout] | [INFO] [stdout] 116 | fn calc_pixel(&self, scene: &SceneTrait, camera: &Camera, _emissions: &Vec<&Box>, normalized_coord: &Vector2, _: u32) ... [INFO] [stdout] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn Intersectable` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [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.rs:163:34 [INFO] [stdout] | [INFO] [stdout] 163 | fn calc_pixel(&self, scene: &SceneTrait, camera: &Camera, emissions: &Vec<&Box>, normalized_coord: &Vector2, sampling:... [INFO] [stdout] | ^^^^^^^^^^ help: use `dyn`: `dyn SceneTrait` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/scene.rs:366:62 [INFO] [stdout] | [INFO] [stdout] 366 | pub fn add_with_check_collisions(&mut self, element: Box) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn Intersectable` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [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.rs:163:84 [INFO] [stdout] | [INFO] [stdout] 163 | fn calc_pixel(&self, scene: &SceneTrait, camera: &Camera, emissions: &Vec<&Box>, normalized_coord: &Vector2, sampling:... [INFO] [stdout] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn Intersectable` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [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.rs:270:38 [INFO] [stdout] | [INFO] [stdout] 270 | ... scene: &SceneTrait, emissions: &Vec<&Box>, material: &PointMaterial) -> Vector3 { [INFO] [stdout] | ^^^^^^^^^^ help: use `dyn`: `dyn SceneTrait` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/scene.rs:403:37 [INFO] [stdout] | [INFO] [stdout] 403 | fn emissions(&self) -> Vec<&Box> { [INFO] [stdout] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn Intersectable` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [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.rs:270:71 [INFO] [stdout] | [INFO] [stdout] 270 | ... scene: &SceneTrait, emissions: &Vec<&Box>, material: &PointMaterial) -> Vector3 { [INFO] [stdout] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn Intersectable` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [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.rs:23:34 [INFO] [stdout] | [INFO] [stdout] 23 | fn calc_pixel(&self, scene: &SceneTrait, camera: &Camera, emissions: &Vec<&Box>, normalized_coord: &Vector2, sampling:... [INFO] [stdout] | ^^^^^^^^^^ help: use `dyn`: `dyn SceneTrait` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [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.rs:23:84 [INFO] [stdout] | [INFO] [stdout] 23 | fn calc_pixel(&self, scene: &SceneTrait, camera: &Camera, emissions: &Vec<&Box>, normalized_coord: &Vector2, sampling:... [INFO] [stdout] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn Intersectable` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [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.rs:25:34 [INFO] [stdout] | [INFO] [stdout] 25 | fn render(&mut self, scene: &SceneTrait, camera: &Camera, imgbuf: &mut ImageBuffer, Vec>) -> u32 { [INFO] [stdout] | ^^^^^^^^^^ help: use `dyn`: `dyn SceneTrait` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [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.rs:48:37 [INFO] [stdout] | [INFO] [stdout] 48 | fn supersampling(&self, scene: &SceneTrait, camera: &Camera, emissions: &Vec<&Box>, frag_coord: &Vector2, resolution: ... [INFO] [stdout] | ^^^^^^^^^^ help: use `dyn`: `dyn SceneTrait` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [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.rs:48:87 [INFO] [stdout] | [INFO] [stdout] 48 | ...it, camera: &Camera, emissions: &Vec<&Box>, frag_coord: &Vector2, resolution: &Vector2, sampling: u32) -> Color { [INFO] [stdout] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn Intersectable` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [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.rs:116:34 [INFO] [stdout] | [INFO] [stdout] 116 | fn calc_pixel(&self, scene: &SceneTrait, camera: &Camera, _emissions: &Vec<&Box>, normalized_coord: &Vector2, _: u32) ... [INFO] [stdout] | ^^^^^^^^^^ help: use `dyn`: `dyn SceneTrait` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [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.rs:116:85 [INFO] [stdout] | [INFO] [stdout] 116 | fn calc_pixel(&self, scene: &SceneTrait, camera: &Camera, _emissions: &Vec<&Box>, normalized_coord: &Vector2, _: u32) ... [INFO] [stdout] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn Intersectable` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [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.rs:163:34 [INFO] [stdout] | [INFO] [stdout] 163 | fn calc_pixel(&self, scene: &SceneTrait, camera: &Camera, emissions: &Vec<&Box>, normalized_coord: &Vector2, sampling:... [INFO] [stdout] | ^^^^^^^^^^ help: use `dyn`: `dyn SceneTrait` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [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.rs:163:84 [INFO] [stdout] | [INFO] [stdout] 163 | fn calc_pixel(&self, scene: &SceneTrait, camera: &Camera, emissions: &Vec<&Box>, normalized_coord: &Vector2, sampling:... [INFO] [stdout] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn Intersectable` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [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.rs:270:38 [INFO] [stdout] | [INFO] [stdout] 270 | ... scene: &SceneTrait, emissions: &Vec<&Box>, material: &PointMaterial) -> Vector3 { [INFO] [stdout] | ^^^^^^^^^^ help: use `dyn`: `dyn SceneTrait` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [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.rs:270:71 [INFO] [stdout] | [INFO] [stdout] 270 | ... scene: &SceneTrait, emissions: &Vec<&Box>, material: &PointMaterial) -> Vector3 { [INFO] [stdout] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn Intersectable` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/renderer.rs:176:23 [INFO] [stdout] | [INFO] [stdout] 176 | let (hit, mut intersection) = scene.intersect(&ray); [INFO] [stdout] | ----^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `rotate_z` [INFO] [stdout] --> src/matrix.rs:59:12 [INFO] [stdout] | [INFO] [stdout] 59 | pub fn rotate_z(t: f64) -> Matrix44 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `inverse` [INFO] [stdout] --> src/matrix.rs:80:12 [INFO] [stdout] | [INFO] [stdout] 80 | pub fn inverse(&self) -> Matrix44 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `mix` [INFO] [stdout] --> src/math.rs:34:8 [INFO] [stdout] | [INFO] [stdout] 34 | pub fn mix(x: &Vector3, y: &Vector3, a: f64) -> Vector3 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/renderer.rs:176:23 [INFO] [stdout] | [INFO] [stdout] 176 | let (hit, mut intersection) = scene.intersect(&ray); [INFO] [stdout] | ----^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/main.rs:1241:28 [INFO] [stdout] | [INFO] [stdout] 1241 | Err(f) => { panic!(f.to_string()) } [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 1241 | Err(f) => { panic!("{}", f.to_string()) } [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `rotate_z` [INFO] [stdout] --> src/matrix.rs:59:12 [INFO] [stdout] | [INFO] [stdout] 59 | pub fn rotate_z(t: f64) -> Matrix44 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `inverse` [INFO] [stdout] --> src/matrix.rs:80:12 [INFO] [stdout] | [INFO] [stdout] 80 | pub fn inverse(&self) -> Matrix44 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `mix` [INFO] [stdout] --> src/math.rs:34:8 [INFO] [stdout] | [INFO] [stdout] 34 | pub fn mix(x: &Vector3, y: &Vector3, a: f64) -> Vector3 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/main.rs:1241:28 [INFO] [stdout] | [INFO] [stdout] 1241 | Err(f) => { panic!(f.to_string()) } [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 1241 | Err(f) => { panic!("{}", f.to_string()) } [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 25 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 25 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 18.94s [INFO] running `Command { std: "docker" "inspect" "ca7ab859de1a5ed23082e079adcb0743493864782869a65856586430808eee50", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ca7ab859de1a5ed23082e079adcb0743493864782869a65856586430808eee50", kill_on_drop: false }` [INFO] [stdout] ca7ab859de1a5ed23082e079adcb0743493864782869a65856586430808eee50