[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/16c4ade782e17893ab6f0d8d646422677c2b210e against master#e23ae72ac7a393961886ea62df065ebb6def7d51 for pr-126571 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgam0022%2Fhanamaru-renderer" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/gam0022/hanamaru-renderer on toolchain e23ae72ac7a393961886ea62df065ebb6def7d51 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+e23ae72ac7a393961886ea62df065ebb6def7d51" "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-4-tc1/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: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+e23ae72ac7a393961886ea62df065ebb6def7d51" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded proc-macro2 v0.4.13 [INFO] [stderr] Downloaded num-bigint v0.2.0 [INFO] [stderr] Downloaded getopts v0.2.18 [INFO] [stderr] Downloaded num-complex v0.2.0 [INFO] [stderr] Downloaded num-derive v0.2.2 [INFO] [stderr] Downloaded gif v0.10.0 [INFO] [stderr] Downloaded deflate v0.7.18 [INFO] [stderr] Downloaded rayon v1.0.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/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:dff56e7819e73ed36160586b3445e93eb0be776c16704aeeded9c3fb668b2384" "/opt/rustwide/cargo-home/bin/cargo" "+e23ae72ac7a393961886ea62df065ebb6def7d51" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f4066b3d294107c339f5b1305b3cefd2740358ef8c487a220cd59f620288dff1 [INFO] running `Command { std: "docker" "start" "-a" "f4066b3d294107c339f5b1305b3cefd2740358ef8c487a220cd59f620288dff1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f4066b3d294107c339f5b1305b3cefd2740358ef8c487a220cd59f620288dff1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f4066b3d294107c339f5b1305b3cefd2740358ef8c487a220cd59f620288dff1", kill_on_drop: false }` [INFO] [stdout] f4066b3d294107c339f5b1305b3cefd2740358ef8c487a220cd59f620288dff1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/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" "RUSTDOCFLAGS=--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:dff56e7819e73ed36160586b3445e93eb0be776c16704aeeded9c3fb668b2384" "/opt/rustwide/cargo-home/bin/cargo" "+e23ae72ac7a393961886ea62df065ebb6def7d51" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 40f849a917da4c5fd17b50347400e1a06baf2d9d5f512f153b0e9a315bf1c51b [INFO] running `Command { std: "docker" "start" "-a" "40f849a917da4c5fd17b50347400e1a06baf2d9d5f512f153b0e9a315bf1c51b", kill_on_drop: false }` [INFO] [stderr] Compiling num-traits v0.2.5 [INFO] [stderr] Compiling version_check v0.1.4 [INFO] [stderr] Compiling num-integer v0.1.39 [INFO] [stderr] Checking libc v0.2.43 [INFO] [stderr] Checking nodrop v0.1.12 [INFO] [stderr] Checking cfg-if v0.1.5 [INFO] [stderr] Compiling proc-macro2 v0.4.13 [INFO] [stderr] Compiling rayon-core v1.4.1 [INFO] [stderr] Compiling num-iter v0.1.37 [INFO] [stderr] Checking crossbeam-utils v0.2.2 [INFO] [stderr] Checking arrayvec v0.4.7 [INFO] [stderr] Compiling num-bigint v0.2.0 [INFO] [stderr] Checking adler32 v1.0.3 [INFO] [stderr] Compiling rayon v1.0.2 [INFO] [stderr] Compiling lazy_static v1.1.0 [INFO] [stderr] Checking byteorder v1.2.6 [INFO] [stderr] Compiling num-rational v0.2.1 [INFO] [stderr] Compiling num-complex v0.2.0 [INFO] [stderr] Checking num_cpus v1.8.0 [INFO] [stderr] Compiling quote v0.6.8 [INFO] [stderr] Checking either v1.5.0 [INFO] [stderr] Checking crossbeam-epoch v0.3.1 [INFO] [stderr] Checking deflate v0.7.18 [INFO] [stderr] Checking inflate v0.4.3 [INFO] [stderr] Compiling syn v0.14.9 [INFO] [stderr] Checking lzw v0.10.0 [INFO] [stderr] Checking crossbeam-deque v0.2.0 [INFO] [stderr] Checking color_quant v1.0.1 [INFO] [stderr] Checking rand v0.4.3 [INFO] [stderr] Checking scoped_threadpool v0.1.9 [INFO] [stderr] Checking gif v0.10.0 [INFO] [stderr] Checking getopts v0.2.18 [INFO] [stderr] Checking time v0.1.40 [INFO] [stderr] Checking num-rational v0.1.42 [INFO] [stderr] Checking png v0.12.0 [INFO] [stderr] Checking rand v0.3.22 [INFO] [stderr] Checking num v0.2.0 [INFO] [stderr] Compiling num-derive v0.2.2 [INFO] [stderr] Checking jpeg-decoder v0.1.15 [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] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 36 - (self.x * self.x + self.y * self.y + self.z * self.z) [INFO] [stdout] 36 + self.x * self.x + self.y * self.y + self.z * self.z [INFO] [stdout] | [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] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 273 - (self.x * self.x + self.y * self.y) [INFO] [stdout] 273 + self.x * self.x + self.y * self.y [INFO] [stdout] | [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] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 36 - (self.x * self.x + self.y * self.y + self.z * self.z) [INFO] [stdout] 36 + self.x * self.x + self.y * self.y + self.z * self.z [INFO] [stdout] | [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] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 273 - (self.x * self.x + self.y * self.y) [INFO] [stdout] 273 + self.x * self.x + self.y * self.y [INFO] [stdout] | [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] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 328 | pub elements: Vec>, [INFO] [stdout] | +++ [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] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 328 | pub elements: Vec>, [INFO] [stdout] | +++ [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] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 324 | fn emissions(&self) -> Vec<&Box>; [INFO] [stdout] | +++ [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] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 356 | fn emissions(&self) -> Vec<&Box> { [INFO] [stdout] | +++ [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] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 403 | fn emissions(&self) -> Vec<&Box> { [INFO] [stdout] | +++ [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] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 362 | pub fn add(&mut self, element: Box) { [INFO] [stdout] | +++ [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] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 366 | pub fn add_with_check_collisions(&mut self, element: Box) -> bool { [INFO] [stdout] | +++ [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] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 23 | fn calc_pixel(&self, scene: &dyn SceneTrait, camera: &Camera, emissions: &Vec<&Box>, normalized_coord: &Vector2, sampling: u32) -> Color; [INFO] [stdout] | +++ [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] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 23 | fn calc_pixel(&self, scene: &SceneTrait, camera: &Camera, emissions: &Vec<&Box>, normalized_coord: &Vector2, sampling: u32) -> Color; [INFO] [stdout] | +++ [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] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 25 | fn render(&mut self, scene: &dyn SceneTrait, camera: &Camera, imgbuf: &mut ImageBuffer, Vec>) -> u32 { [INFO] [stdout] | +++ [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] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 48 | fn supersampling(&self, scene: &dyn SceneTrait, camera: &Camera, emissions: &Vec<&Box>, frag_coord: &Vector2, resolution: &Vector2, sampling: u32) -> Color { [INFO] [stdout] | +++ [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 | fn supersampling(&self, scene: &SceneTrait, camera: &Camera, emissions: &Vec<&Box>, frag_coord: &Vector2, resolution: ... [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 48 | fn supersampling(&self, scene: &SceneTrait, camera: &Camera, emissions: &Vec<&Box>, frag_coord: &Vector2, resolution: &Vector2, sampling: u32) -> Color { [INFO] [stdout] | +++ [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] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 116 | fn calc_pixel(&self, scene: &dyn SceneTrait, camera: &Camera, _emissions: &Vec<&Box>, normalized_coord: &Vector2, _: u32) -> Color { [INFO] [stdout] | +++ [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] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 116 | fn calc_pixel(&self, scene: &SceneTrait, camera: &Camera, _emissions: &Vec<&Box>, normalized_coord: &Vector2, _: u32) -> Color { [INFO] [stdout] | +++ [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] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 163 | fn calc_pixel(&self, scene: &dyn SceneTrait, camera: &Camera, emissions: &Vec<&Box>, normalized_coord: &Vector2, sampling: u32) -> Color { [INFO] [stdout] | +++ [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] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 163 | fn calc_pixel(&self, scene: &SceneTrait, camera: &Camera, emissions: &Vec<&Box>, normalized_coord: &Vector2, sampling: u32) -> Color { [INFO] [stdout] | +++ [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] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 270 | scene: &dyn SceneTrait, emissions: &Vec<&Box>, material: &PointMaterial) -> Vector3 { [INFO] [stdout] | +++ [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] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 270 | scene: &SceneTrait, emissions: &Vec<&Box>, material: &PointMaterial) -> Vector3 { [INFO] [stdout] | +++ [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] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 324 | fn emissions(&self) -> Vec<&Box>; [INFO] [stdout] | +++ [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] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 356 | fn emissions(&self) -> Vec<&Box> { [INFO] [stdout] | +++ [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] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 403 | fn emissions(&self) -> Vec<&Box> { [INFO] [stdout] | +++ [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] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 362 | pub fn add(&mut self, element: Box) { [INFO] [stdout] | +++ [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] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 366 | pub fn add_with_check_collisions(&mut self, element: Box) -> bool { [INFO] [stdout] | +++ [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] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 23 | fn calc_pixel(&self, scene: &dyn SceneTrait, camera: &Camera, emissions: &Vec<&Box>, normalized_coord: &Vector2, sampling: u32) -> Color; [INFO] [stdout] | +++ [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] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 23 | fn calc_pixel(&self, scene: &SceneTrait, camera: &Camera, emissions: &Vec<&Box>, normalized_coord: &Vector2, sampling: u32) -> Color; [INFO] [stdout] | +++ [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] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 25 | fn render(&mut self, scene: &dyn SceneTrait, camera: &Camera, imgbuf: &mut ImageBuffer, Vec>) -> u32 { [INFO] [stdout] | +++ [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] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 48 | fn supersampling(&self, scene: &dyn SceneTrait, camera: &Camera, emissions: &Vec<&Box>, frag_coord: &Vector2, resolution: &Vector2, sampling: u32) -> Color { [INFO] [stdout] | +++ [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 | fn supersampling(&self, scene: &SceneTrait, camera: &Camera, emissions: &Vec<&Box>, frag_coord: &Vector2, resolution: ... [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 48 | fn supersampling(&self, scene: &SceneTrait, camera: &Camera, emissions: &Vec<&Box>, frag_coord: &Vector2, resolution: &Vector2, sampling: u32) -> Color { [INFO] [stdout] | +++ [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] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 116 | fn calc_pixel(&self, scene: &dyn SceneTrait, camera: &Camera, _emissions: &Vec<&Box>, normalized_coord: &Vector2, _: u32) -> Color { [INFO] [stdout] | +++ [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] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 116 | fn calc_pixel(&self, scene: &SceneTrait, camera: &Camera, _emissions: &Vec<&Box>, normalized_coord: &Vector2, _: u32) -> Color { [INFO] [stdout] | +++ [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] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 163 | fn calc_pixel(&self, scene: &dyn SceneTrait, camera: &Camera, emissions: &Vec<&Box>, normalized_coord: &Vector2, sampling: u32) -> Color { [INFO] [stdout] | +++ [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] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 163 | fn calc_pixel(&self, scene: &SceneTrait, camera: &Camera, emissions: &Vec<&Box>, normalized_coord: &Vector2, sampling: u32) -> Color { [INFO] [stdout] | +++ [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] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 270 | scene: &dyn SceneTrait, emissions: &Vec<&Box>, material: &PointMaterial) -> Vector3 { [INFO] [stdout] | +++ [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] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 270 | scene: &SceneTrait, emissions: &Vec<&Box>, material: &PointMaterial) -> Vector3 { [INFO] [stdout] | +++ [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] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 335 | let mut nearest: Option<&Box> = None; [INFO] [stdout] | +++ [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] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 335 | let mut nearest: Option<&Box> = None; [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: 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: function `mix` is never used [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] = note: `#[warn(dead_code)]` 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: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [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: function `mix` is never used [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] = note: `#[warn(dead_code)]` 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: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [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: 23 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 23 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2.93s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: syn v0.14.9 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 2` [INFO] running `Command { std: "docker" "inspect" "40f849a917da4c5fd17b50347400e1a06baf2d9d5f512f153b0e9a315bf1c51b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "40f849a917da4c5fd17b50347400e1a06baf2d9d5f512f153b0e9a315bf1c51b", kill_on_drop: false }` [INFO] [stdout] 40f849a917da4c5fd17b50347400e1a06baf2d9d5f512f153b0e9a315bf1c51b