[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] testing gam0022/hanamaru-renderer against master#99e3aef02079e9c10583638520cd0c134dc3a01d for pr-85530 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgam0022%2Fhanamaru-renderer" "/workspace/builds/worker-3/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3/source'... [INFO] [stderr] done. [INFO] [stderr] Updating files: 71% (155/216) Updating files: 72% (156/216) Updating files: 73% (158/216) Updating files: 74% (160/216) Updating files: 75% (162/216) Updating files: 76% (165/216) Updating files: 77% (167/216) Updating files: 78% (169/216) Updating files: 79% (171/216) Updating files: 80% (173/216) Updating files: 81% (175/216) Updating files: 82% (178/216) Updating files: 83% (180/216) Updating files: 84% (182/216) Updating files: 85% (184/216) Updating files: 86% (186/216) Updating files: 87% (188/216) Updating files: 88% (191/216) Updating files: 89% (193/216) Updating files: 90% (195/216) Updating files: 91% (197/216) Updating files: 92% (199/216) Updating files: 93% (201/216) Updating files: 94% (204/216) Updating files: 95% (206/216) Updating files: 96% (208/216) Updating files: 97% (210/216) Updating files: 98% (212/216) Updating files: 99% (214/216) Updating files: 100% (216/216) Updating files: 100% (216/216), done. [INFO] validating manifest of git repo https://github.com/gam0022/hanamaru-renderer on toolchain 99e3aef02079e9c10583638520cd0c134dc3a01d [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "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-3/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" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "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-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2073fe52c4d05040c8c5de8de6bf378d8864535f08b0a586f8c0dcdf08b08246 [INFO] running `Command { std: "docker" "start" "-a" "2073fe52c4d05040c8c5de8de6bf378d8864535f08b0a586f8c0dcdf08b08246", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2073fe52c4d05040c8c5de8de6bf378d8864535f08b0a586f8c0dcdf08b08246", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2073fe52c4d05040c8c5de8de6bf378d8864535f08b0a586f8c0dcdf08b08246", kill_on_drop: false }` [INFO] [stdout] 2073fe52c4d05040c8c5de8de6bf378d8864535f08b0a586f8c0dcdf08b08246 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 69d60d57fc437931212680301fb17b4b3095c48d3118d7a96fb4219d49eb7321 [INFO] running `Command { std: "docker" "start" "-a" "69d60d57fc437931212680301fb17b4b3095c48d3118d7a96fb4219d49eb7321", kill_on_drop: false }` [INFO] [stderr] Compiling nodrop v0.1.12 [INFO] [stderr] Compiling scopeguard v0.3.3 [INFO] [stderr] Compiling memoffset v0.2.1 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling num-bigint v0.2.0 [INFO] [stderr] Compiling num-complex v0.2.0 [INFO] [stderr] Compiling num-rational v0.2.1 [INFO] [stderr] Compiling lzw v0.10.0 [INFO] [stderr] Compiling color_quant v1.0.1 [INFO] [stderr] Compiling scoped_threadpool v0.1.9 [INFO] [stderr] Compiling unicode-width v0.1.5 [INFO] [stderr] Compiling num_cpus v1.8.0 [INFO] [stderr] Compiling deflate v0.7.18 [INFO] [stderr] Compiling rand v0.4.3 [INFO] [stderr] Compiling time v0.1.40 [INFO] [stderr] Compiling arrayvec v0.4.7 [INFO] [stderr] Compiling getopts v0.2.18 [INFO] [stderr] Compiling proc-macro2 v0.4.13 [INFO] [stderr] Compiling gif v0.10.0 [INFO] [stderr] Compiling quote v0.6.8 [INFO] [stderr] Compiling crossbeam-epoch v0.3.1 [INFO] [stderr] Compiling syn v0.14.9 [INFO] [stderr] Compiling crossbeam-deque v0.2.0 [INFO] [stderr] Compiling rayon-core v1.4.1 [INFO] [stderr] Compiling rand v0.3.22 [INFO] [stderr] Compiling png v0.12.0 [INFO] [stderr] Compiling rayon v1.0.2 [INFO] [stderr] Compiling num v0.2.0 [INFO] [stderr] Compiling num-derive v0.2.2 [INFO] [stderr] Compiling jpeg-decoder v0.1.15 [INFO] [stderr] Compiling image v0.19.0 [INFO] [stderr] Compiling 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 was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/scene.rs:328:27 [INFO] [stdout] | [INFO] [stdout] 328 | pub elements: Vec>, [INFO] [stdout] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn Intersectable` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/scene.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 was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/scene.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 was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/scene.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 was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/scene.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 was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/scene.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 was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/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 was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/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 was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/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 was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/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 was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/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 was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/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 was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/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 was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/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 was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/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 was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/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 was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/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 was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [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: 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_panic)]` on by default [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [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] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 1241 | Err(f) => { std::panic::panic_any(f.to_string()) } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 25 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 25.11s [INFO] running `Command { std: "docker" "inspect" "69d60d57fc437931212680301fb17b4b3095c48d3118d7a96fb4219d49eb7321", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "69d60d57fc437931212680301fb17b4b3095c48d3118d7a96fb4219d49eb7321", kill_on_drop: false }` [INFO] [stdout] 69d60d57fc437931212680301fb17b4b3095c48d3118d7a96fb4219d49eb7321 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d9d72642c142ba77c3caa764dfc71baf4697f77cf52a8f90f8e95d18548bfbca [INFO] running `Command { std: "docker" "start" "-a" "d9d72642c142ba77c3caa764dfc71baf4697f77cf52a8f90f8e95d18548bfbca", kill_on_drop: false }` [INFO] [stderr] Compiling 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 was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/scene.rs:328:27 [INFO] [stdout] | [INFO] [stdout] 328 | pub elements: Vec>, [INFO] [stdout] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn Intersectable` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/scene.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 was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/scene.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 was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/scene.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 was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/scene.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 was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/scene.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 was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/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 was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/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 was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/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 was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/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 was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/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 was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/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 was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/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 was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/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 was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/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 was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/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 was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/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 was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [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: 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_panic)]` on by default [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [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] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 1241 | Err(f) => { std::panic::panic_any(f.to_string()) } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 25 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 1.12s [INFO] running `Command { std: "docker" "inspect" "d9d72642c142ba77c3caa764dfc71baf4697f77cf52a8f90f8e95d18548bfbca", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d9d72642c142ba77c3caa764dfc71baf4697f77cf52a8f90f8e95d18548bfbca", kill_on_drop: false }` [INFO] [stdout] d9d72642c142ba77c3caa764dfc71baf4697f77cf52a8f90f8e95d18548bfbca [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 423bbcce8e7a0985278a175ac56ea861246ce70de7b86aa29e78348204649ff4 [INFO] running `Command { std: "docker" "start" "-a" "423bbcce8e7a0985278a175ac56ea861246ce70de7b86aa29e78348204649ff4", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] warning: unnecessary parentheses around block return value [INFO] [stderr] --> src/vector.rs:36:9 [INFO] [stderr] | [INFO] [stderr] 36 | (self.x * self.x + self.y * self.y + self.z * self.z) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_parens)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around block return value [INFO] [stderr] --> src/vector.rs:273:9 [INFO] [stderr] | [INFO] [stderr] 273 | (self.x * self.x + self.y * self.y) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/scene.rs:324:37 [INFO] [stderr] | [INFO] [stderr] 324 | fn emissions(&self) -> Vec<&Box>; [INFO] [stderr] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn Intersectable` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stderr] = note: for more information, see issue #80165 [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/scene.rs:328:27 [INFO] [stderr] | [INFO] [stderr] 328 | pub elements: Vec>, [INFO] [stderr] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn Intersectable` [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stderr] = note: for more information, see issue #80165 [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/scene.rs:335:38 [INFO] [stderr] | [INFO] [stderr] 335 | let mut nearest: Option<&Box> = None; [INFO] [stderr] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn Intersectable` [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stderr] = note: for more information, see issue #80165 [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/scene.rs:356:37 [INFO] [stderr] | [INFO] [stderr] 356 | fn emissions(&self) -> Vec<&Box> { [INFO] [stderr] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn Intersectable` [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stderr] = note: for more information, see issue #80165 [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/scene.rs:362:40 [INFO] [stderr] | [INFO] [stderr] 362 | pub fn add(&mut self, element: Box) { [INFO] [stderr] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn Intersectable` [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stderr] = note: for more information, see issue #80165 [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/scene.rs:366:62 [INFO] [stderr] | [INFO] [stderr] 366 | pub fn add_with_check_collisions(&mut self, element: Box) -> bool { [INFO] [stderr] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn Intersectable` [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stderr] = note: for more information, see issue #80165 [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/scene.rs:403:37 [INFO] [stderr] | [INFO] [stderr] 403 | fn emissions(&self) -> Vec<&Box> { [INFO] [stderr] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn Intersectable` [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stderr] = note: for more information, see issue #80165 [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/renderer.rs:23:34 [INFO] [stderr] | [INFO] [stderr] 23 | fn calc_pixel(&self, scene: &SceneTrait, camera: &Camera, emissions: &Vec<&Box>, normalized_coord: &Vector2, sampling:... [INFO] [stderr] | ^^^^^^^^^^ help: use `dyn`: `dyn SceneTrait` [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stderr] = note: for more information, see issue #80165 [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/renderer.rs:23:84 [INFO] [stderr] | [INFO] [stderr] 23 | fn calc_pixel(&self, scene: &SceneTrait, camera: &Camera, emissions: &Vec<&Box>, normalized_coord: &Vector2, sampling:... [INFO] [stderr] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn Intersectable` [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stderr] = note: for more information, see issue #80165 [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/renderer.rs:25:34 [INFO] [stderr] | [INFO] [stderr] 25 | fn render(&mut self, scene: &SceneTrait, camera: &Camera, imgbuf: &mut ImageBuffer, Vec>) -> u32 { [INFO] [stderr] | ^^^^^^^^^^ help: use `dyn`: `dyn SceneTrait` [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stderr] = note: for more information, see issue #80165 [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/renderer.rs:48:37 [INFO] [stderr] | [INFO] [stderr] 48 | fn supersampling(&self, scene: &SceneTrait, camera: &Camera, emissions: &Vec<&Box>, frag_coord: &Vector2, resolution: ... [INFO] [stderr] | ^^^^^^^^^^ help: use `dyn`: `dyn SceneTrait` [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stderr] = note: for more information, see issue #80165 [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/renderer.rs:48:87 [INFO] [stderr] | [INFO] [stderr] 48 | ...it, camera: &Camera, emissions: &Vec<&Box>, frag_coord: &Vector2, resolution: &Vector2, sampling: u32) -> Color { [INFO] [stderr] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn Intersectable` [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stderr] = note: for more information, see issue #80165 [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/renderer.rs:116:34 [INFO] [stderr] | [INFO] [stderr] 116 | fn calc_pixel(&self, scene: &SceneTrait, camera: &Camera, _emissions: &Vec<&Box>, normalized_coord: &Vector2, _: u32) ... [INFO] [stderr] | ^^^^^^^^^^ help: use `dyn`: `dyn SceneTrait` [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stderr] = note: for more information, see issue #80165 [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/renderer.rs:116:85 [INFO] [stderr] | [INFO] [stderr] 116 | fn calc_pixel(&self, scene: &SceneTrait, camera: &Camera, _emissions: &Vec<&Box>, normalized_coord: &Vector2, _: u32) ... [INFO] [stderr] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn Intersectable` [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stderr] = note: for more information, see issue #80165 [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/renderer.rs:163:34 [INFO] [stderr] | [INFO] [stderr] 163 | fn calc_pixel(&self, scene: &SceneTrait, camera: &Camera, emissions: &Vec<&Box>, normalized_coord: &Vector2, sampling:... [INFO] [stderr] | ^^^^^^^^^^ help: use `dyn`: `dyn SceneTrait` [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stderr] = note: for more information, see issue #80165 [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/renderer.rs:163:84 [INFO] [stderr] | [INFO] [stderr] 163 | fn calc_pixel(&self, scene: &SceneTrait, camera: &Camera, emissions: &Vec<&Box>, normalized_coord: &Vector2, sampling:... [INFO] [stderr] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn Intersectable` [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stderr] = note: for more information, see issue #80165 [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/renderer.rs:270:38 [INFO] [stderr] | [INFO] [stderr] 270 | ... scene: &SceneTrait, emissions: &Vec<&Box>, material: &PointMaterial) -> Vector3 { [INFO] [stderr] | ^^^^^^^^^^ help: use `dyn`: `dyn SceneTrait` [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stderr] = note: for more information, see issue #80165 [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/renderer.rs:270:71 [INFO] [stderr] | [INFO] [stderr] 270 | ... scene: &SceneTrait, emissions: &Vec<&Box>, material: &PointMaterial) -> Vector3 { [INFO] [stderr] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn Intersectable` [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stderr] = note: for more information, see issue #80165 [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/renderer.rs:176:23 [INFO] [stderr] | [INFO] [stderr] 176 | let (hit, mut intersection) = scene.intersect(&ray); [INFO] [stderr] | ----^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_mut)]` on by default [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `rotate_z` [INFO] [stderr] --> src/matrix.rs:59:12 [INFO] [stderr] | [INFO] [stderr] 59 | pub fn rotate_z(t: f64) -> Matrix44 { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `inverse` [INFO] [stderr] --> src/matrix.rs:80:12 [INFO] [stderr] | [INFO] [stderr] 80 | pub fn inverse(&self) -> Matrix44 { [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `mix` [INFO] [stderr] --> src/math.rs:34:8 [INFO] [stderr] | [INFO] [stderr] 34 | pub fn mix(x: &Vector3, y: &Vector3, a: f64) -> Vector3 { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/main.rs:1241:28 [INFO] [stderr] | [INFO] [stderr] 1241 | Err(f) => { panic!(f.to_string()) } [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(non_fmt_panic)]` on by default [INFO] [stderr] = note: this is no longer accepted in Rust 2021 [INFO] [stderr] help: add a "{}" format string to Display the message [INFO] [stderr] | [INFO] [stderr] 1241 | Err(f) => { panic!("{}", f.to_string()) } [INFO] [stderr] | ^^^^^ [INFO] [stderr] help: or use std::panic::panic_any instead [INFO] [stderr] | [INFO] [stderr] 1241 | Err(f) => { std::panic::panic_any(f.to_string()) } [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: 25 warnings emitted [INFO] [stderr] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.67s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/hanamaru_renderer-28340ae32f415e5b) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "423bbcce8e7a0985278a175ac56ea861246ce70de7b86aa29e78348204649ff4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "423bbcce8e7a0985278a175ac56ea861246ce70de7b86aa29e78348204649ff4", kill_on_drop: false }` [INFO] [stdout] 423bbcce8e7a0985278a175ac56ea861246ce70de7b86aa29e78348204649ff4