[INFO] cloning repository https://github.com/firephyz/RustRaytracer [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/firephyz/RustRaytracer" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffirephyz%2FRustRaytracer", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffirephyz%2FRustRaytracer'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 1e3ef73fa7f48b92c4e67ed5bd27e6f28669e210 [INFO] checking firephyz/RustRaytracer against master#1f12b9b0fdbe735968ac002792a720f0ba4faca6 for crater-rollup-uwu [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffirephyz%2FRustRaytracer" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/firephyz/RustRaytracer on toolchain 1f12b9b0fdbe735968ac002792a720f0ba4faca6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/firephyz/RustRaytracer [INFO] finished tweaking git repo https://github.com/firephyz/RustRaytracer [INFO] tweaked toml for git repo https://github.com/firephyz/RustRaytracer written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/firephyz/RustRaytracer 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" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded sdl2 v0.33.0 [INFO] [stderr] Downloaded sdl2-sys v0.33.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 46cea41eb00bdc1f91dc8e9e7ea9abd193d587cbec02ba3f89ddaffa50b96989 [INFO] running `Command { std: "docker" "start" "-a" "46cea41eb00bdc1f91dc8e9e7ea9abd193d587cbec02ba3f89ddaffa50b96989", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "46cea41eb00bdc1f91dc8e9e7ea9abd193d587cbec02ba3f89ddaffa50b96989", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "46cea41eb00bdc1f91dc8e9e7ea9abd193d587cbec02ba3f89ddaffa50b96989", kill_on_drop: false }` [INFO] [stdout] 46cea41eb00bdc1f91dc8e9e7ea9abd193d587cbec02ba3f89ddaffa50b96989 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d44fb2ac7ae6cf72d09cf9b5186a477d5090fbeb36076c9896993854e98edae8 [INFO] running `Command { std: "docker" "start" "-a" "d44fb2ac7ae6cf72d09cf9b5186a477d5090fbeb36076c9896993854e98edae8", kill_on_drop: false }` [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling libc v0.2.67 [INFO] [stderr] Compiling sdl2 v0.33.0 [INFO] [stderr] Compiling sdl2-sys v0.33.0 [INFO] [stderr] Checking rust_raytracer v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::fs::File` [INFO] [stdout] --> src/main.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::fs::File; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::boxed::Box` [INFO] [stdout] --> src/main.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use std::boxed::Box; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `PixelFormatEnum` [INFO] [stdout] --> src/main.rs:13:20 [INFO] [stdout] | [INFO] [stdout] 13 | use sdl2::pixels::{PixelFormatEnum}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fmt` [INFO] [stdout] --> src/err_enum.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::fmt; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::convert::From` [INFO] [stdout] --> src/err_enum.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::convert::From; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `sdl2::keyboard::Keycode` [INFO] [stdout] --> src/input.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use sdl2::keyboard::Keycode; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fs::File` [INFO] [stdout] --> src/main.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::fs::File; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::boxed::Box` [INFO] [stdout] --> src/main.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use std::boxed::Box; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `PixelFormatEnum` [INFO] [stdout] --> src/main.rs:13:20 [INFO] [stdout] | [INFO] [stdout] 13 | use sdl2::pixels::{PixelFormatEnum}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fmt` [INFO] [stdout] --> src/err_enum.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::fmt; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::convert::From` [INFO] [stdout] --> src/err_enum.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::convert::From; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `sdl2::keyboard::Keycode` [INFO] [stdout] --> src/input.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use sdl2::keyboard::Keycode; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `normal` [INFO] [stdout] --> src/scene/light_ray.rs:123:23 [INFO] [stdout] | [INFO] [stdout] 123 | fn reflect(&self, normal: &Ray) -> Point { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_normal` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `normal` [INFO] [stdout] --> src/scene/light_ray.rs:123:23 [INFO] [stdout] | [INFO] [stdout] 123 | fn reflect(&self, normal: &Ray) -> Point { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_normal` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `timestamp` [INFO] [stdout] --> src/main.rs:130:17 [INFO] [stdout] | [INFO] [stdout] 130 | timestamp, [INFO] [stdout] | ^^^^^^^^^ help: try ignoring the field: `timestamp: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `window_id` [INFO] [stdout] --> src/main.rs:131:17 [INFO] [stdout] | [INFO] [stdout] 131 | window_id, [INFO] [stdout] | ^^^^^^^^^ help: try ignoring the field: `window_id: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `timestamp` [INFO] [stdout] --> src/main.rs:145:17 [INFO] [stdout] | [INFO] [stdout] 145 | timestamp, window_id, which, [INFO] [stdout] | ^^^^^^^^^ help: try ignoring the field: `timestamp: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `window_id` [INFO] [stdout] --> src/main.rs:145:28 [INFO] [stdout] | [INFO] [stdout] 145 | timestamp, window_id, which, [INFO] [stdout] | ^^^^^^^^^ help: try ignoring the field: `window_id: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `which` [INFO] [stdout] --> src/main.rs:145:39 [INFO] [stdout] | [INFO] [stdout] 145 | timestamp, window_id, which, [INFO] [stdout] | ^^^^^ help: try ignoring the field: `which: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `mouse_btn` [INFO] [stdout] --> src/main.rs:146:17 [INFO] [stdout] | [INFO] [stdout] 146 | mouse_btn, clicks, x, y, [INFO] [stdout] | ^^^^^^^^^ help: try ignoring the field: `mouse_btn: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `clicks` [INFO] [stdout] --> src/main.rs:146:28 [INFO] [stdout] | [INFO] [stdout] 146 | mouse_btn, clicks, x, y, [INFO] [stdout] | ^^^^^^ help: try ignoring the field: `clicks: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/main.rs:146:36 [INFO] [stdout] | [INFO] [stdout] 146 | mouse_btn, clicks, x, y, [INFO] [stdout] | ^ help: try ignoring the field: `x: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y` [INFO] [stdout] --> src/main.rs:146:39 [INFO] [stdout] | [INFO] [stdout] 146 | mouse_btn, clicks, x, y, [INFO] [stdout] | ^ help: try ignoring the field: `y: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `timestamp` [INFO] [stdout] --> src/main.rs:151:17 [INFO] [stdout] | [INFO] [stdout] 151 | timestamp, window_id, which, [INFO] [stdout] | ^^^^^^^^^ help: try ignoring the field: `timestamp: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `window_id` [INFO] [stdout] --> src/main.rs:151:28 [INFO] [stdout] | [INFO] [stdout] 151 | timestamp, window_id, which, [INFO] [stdout] | ^^^^^^^^^ help: try ignoring the field: `window_id: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `which` [INFO] [stdout] --> src/main.rs:151:39 [INFO] [stdout] | [INFO] [stdout] 151 | timestamp, window_id, which, [INFO] [stdout] | ^^^^^ help: try ignoring the field: `which: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `mouse_btn` [INFO] [stdout] --> src/main.rs:152:17 [INFO] [stdout] | [INFO] [stdout] 152 | mouse_btn, clicks, x, y, [INFO] [stdout] | ^^^^^^^^^ help: try ignoring the field: `mouse_btn: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `clicks` [INFO] [stdout] --> src/main.rs:152:28 [INFO] [stdout] | [INFO] [stdout] 152 | mouse_btn, clicks, x, y, [INFO] [stdout] | ^^^^^^ help: try ignoring the field: `clicks: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/main.rs:152:36 [INFO] [stdout] | [INFO] [stdout] 152 | mouse_btn, clicks, x, y, [INFO] [stdout] | ^ help: try ignoring the field: `x: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y` [INFO] [stdout] --> src/main.rs:152:39 [INFO] [stdout] | [INFO] [stdout] 152 | mouse_btn, clicks, x, y, [INFO] [stdout] | ^ help: try ignoring the field: `y: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `timestamp` [INFO] [stdout] --> src/main.rs:157:17 [INFO] [stdout] | [INFO] [stdout] 157 | timestamp, window_id, which, [INFO] [stdout] | ^^^^^^^^^ help: try ignoring the field: `timestamp: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `window_id` [INFO] [stdout] --> src/main.rs:157:28 [INFO] [stdout] | [INFO] [stdout] 157 | timestamp, window_id, which, [INFO] [stdout] | ^^^^^^^^^ help: try ignoring the field: `window_id: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `which` [INFO] [stdout] --> src/main.rs:157:39 [INFO] [stdout] | [INFO] [stdout] 157 | timestamp, window_id, which, [INFO] [stdout] | ^^^^^ help: try ignoring the field: `which: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `mousestate` [INFO] [stdout] --> src/main.rs:158:17 [INFO] [stdout] | [INFO] [stdout] 158 | mousestate, x, y, xrel, yrel [INFO] [stdout] | ^^^^^^^^^^ help: try ignoring the field: `mousestate: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/main.rs:158:29 [INFO] [stdout] | [INFO] [stdout] 158 | mousestate, x, y, xrel, yrel [INFO] [stdout] | ^ help: try ignoring the field: `x: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y` [INFO] [stdout] --> src/main.rs:158:32 [INFO] [stdout] | [INFO] [stdout] 158 | mousestate, x, y, xrel, yrel [INFO] [stdout] | ^ help: try ignoring the field: `y: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `timestamp` [INFO] [stdout] --> src/main.rs:166:17 [INFO] [stdout] | [INFO] [stdout] 166 | timestamp, window_id, [INFO] [stdout] | ^^^^^^^^^ help: try ignoring the field: `timestamp: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `window_id` [INFO] [stdout] --> src/main.rs:166:28 [INFO] [stdout] | [INFO] [stdout] 166 | timestamp, window_id, [INFO] [stdout] | ^^^^^^^^^ help: try ignoring the field: `window_id: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `scancode` [INFO] [stdout] --> src/main.rs:167:26 [INFO] [stdout] | [INFO] [stdout] 167 | keycode, scancode, keymod, repeat [INFO] [stdout] | ^^^^^^^^ help: try ignoring the field: `scancode: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `keymod` [INFO] [stdout] --> src/main.rs:167:36 [INFO] [stdout] | [INFO] [stdout] 167 | keycode, scancode, keymod, repeat [INFO] [stdout] | ^^^^^^ help: try ignoring the field: `keymod: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `timestamp` [INFO] [stdout] --> src/main.rs:188:17 [INFO] [stdout] | [INFO] [stdout] 188 | timestamp, window_id, [INFO] [stdout] | ^^^^^^^^^ help: try ignoring the field: `timestamp: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `window_id` [INFO] [stdout] --> src/main.rs:188:28 [INFO] [stdout] | [INFO] [stdout] 188 | timestamp, window_id, [INFO] [stdout] | ^^^^^^^^^ help: try ignoring the field: `window_id: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `scancode` [INFO] [stdout] --> src/main.rs:189:26 [INFO] [stdout] | [INFO] [stdout] 189 | keycode, scancode, keymod, repeat [INFO] [stdout] | ^^^^^^^^ help: try ignoring the field: `scancode: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `keymod` [INFO] [stdout] --> src/main.rs:189:36 [INFO] [stdout] | [INFO] [stdout] 189 | keycode, scancode, keymod, repeat [INFO] [stdout] | ^^^^^^ help: try ignoring the field: `keymod: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `repeat` [INFO] [stdout] --> src/main.rs:189:44 [INFO] [stdout] | [INFO] [stdout] 189 | keycode, scancode, keymod, repeat [INFO] [stdout] | ^^^^^^ help: try ignoring the field: `repeat: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `timestamp` [INFO] [stdout] --> src/main.rs:130:17 [INFO] [stdout] | [INFO] [stdout] 130 | timestamp, [INFO] [stdout] | ^^^^^^^^^ help: try ignoring the field: `timestamp: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `window_id` [INFO] [stdout] --> src/main.rs:131:17 [INFO] [stdout] | [INFO] [stdout] 131 | window_id, [INFO] [stdout] | ^^^^^^^^^ help: try ignoring the field: `window_id: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `timestamp` [INFO] [stdout] --> src/main.rs:145:17 [INFO] [stdout] | [INFO] [stdout] 145 | timestamp, window_id, which, [INFO] [stdout] | ^^^^^^^^^ help: try ignoring the field: `timestamp: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `window_id` [INFO] [stdout] --> src/main.rs:145:28 [INFO] [stdout] | [INFO] [stdout] 145 | timestamp, window_id, which, [INFO] [stdout] | ^^^^^^^^^ help: try ignoring the field: `window_id: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `which` [INFO] [stdout] --> src/main.rs:145:39 [INFO] [stdout] | [INFO] [stdout] 145 | timestamp, window_id, which, [INFO] [stdout] | ^^^^^ help: try ignoring the field: `which: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `mouse_btn` [INFO] [stdout] --> src/main.rs:146:17 [INFO] [stdout] | [INFO] [stdout] 146 | mouse_btn, clicks, x, y, [INFO] [stdout] | ^^^^^^^^^ help: try ignoring the field: `mouse_btn: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `clicks` [INFO] [stdout] --> src/main.rs:146:28 [INFO] [stdout] | [INFO] [stdout] 146 | mouse_btn, clicks, x, y, [INFO] [stdout] | ^^^^^^ help: try ignoring the field: `clicks: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/main.rs:146:36 [INFO] [stdout] | [INFO] [stdout] 146 | mouse_btn, clicks, x, y, [INFO] [stdout] | ^ help: try ignoring the field: `x: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y` [INFO] [stdout] --> src/main.rs:146:39 [INFO] [stdout] | [INFO] [stdout] 146 | mouse_btn, clicks, x, y, [INFO] [stdout] | ^ help: try ignoring the field: `y: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `timestamp` [INFO] [stdout] --> src/main.rs:151:17 [INFO] [stdout] | [INFO] [stdout] 151 | timestamp, window_id, which, [INFO] [stdout] | ^^^^^^^^^ help: try ignoring the field: `timestamp: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `window_id` [INFO] [stdout] --> src/main.rs:151:28 [INFO] [stdout] | [INFO] [stdout] 151 | timestamp, window_id, which, [INFO] [stdout] | ^^^^^^^^^ help: try ignoring the field: `window_id: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `which` [INFO] [stdout] --> src/main.rs:151:39 [INFO] [stdout] | [INFO] [stdout] 151 | timestamp, window_id, which, [INFO] [stdout] | ^^^^^ help: try ignoring the field: `which: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `mouse_btn` [INFO] [stdout] --> src/main.rs:152:17 [INFO] [stdout] | [INFO] [stdout] 152 | mouse_btn, clicks, x, y, [INFO] [stdout] | ^^^^^^^^^ help: try ignoring the field: `mouse_btn: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `clicks` [INFO] [stdout] --> src/main.rs:152:28 [INFO] [stdout] | [INFO] [stdout] 152 | mouse_btn, clicks, x, y, [INFO] [stdout] | ^^^^^^ help: try ignoring the field: `clicks: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/main.rs:152:36 [INFO] [stdout] | [INFO] [stdout] 152 | mouse_btn, clicks, x, y, [INFO] [stdout] | ^ help: try ignoring the field: `x: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y` [INFO] [stdout] --> src/main.rs:152:39 [INFO] [stdout] | [INFO] [stdout] 152 | mouse_btn, clicks, x, y, [INFO] [stdout] | ^ help: try ignoring the field: `y: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `timestamp` [INFO] [stdout] --> src/main.rs:157:17 [INFO] [stdout] | [INFO] [stdout] 157 | timestamp, window_id, which, [INFO] [stdout] | ^^^^^^^^^ help: try ignoring the field: `timestamp: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `window_id` [INFO] [stdout] --> src/main.rs:157:28 [INFO] [stdout] | [INFO] [stdout] 157 | timestamp, window_id, which, [INFO] [stdout] | ^^^^^^^^^ help: try ignoring the field: `window_id: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `which` [INFO] [stdout] --> src/main.rs:157:39 [INFO] [stdout] | [INFO] [stdout] 157 | timestamp, window_id, which, [INFO] [stdout] | ^^^^^ help: try ignoring the field: `which: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `mousestate` [INFO] [stdout] --> src/main.rs:158:17 [INFO] [stdout] | [INFO] [stdout] 158 | mousestate, x, y, xrel, yrel [INFO] [stdout] | ^^^^^^^^^^ help: try ignoring the field: `mousestate: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/main.rs:158:29 [INFO] [stdout] | [INFO] [stdout] 158 | mousestate, x, y, xrel, yrel [INFO] [stdout] | ^ help: try ignoring the field: `x: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y` [INFO] [stdout] --> src/main.rs:158:32 [INFO] [stdout] | [INFO] [stdout] 158 | mousestate, x, y, xrel, yrel [INFO] [stdout] | ^ help: try ignoring the field: `y: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `timestamp` [INFO] [stdout] --> src/main.rs:166:17 [INFO] [stdout] | [INFO] [stdout] 166 | timestamp, window_id, [INFO] [stdout] | ^^^^^^^^^ help: try ignoring the field: `timestamp: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `window_id` [INFO] [stdout] --> src/main.rs:166:28 [INFO] [stdout] | [INFO] [stdout] 166 | timestamp, window_id, [INFO] [stdout] | ^^^^^^^^^ help: try ignoring the field: `window_id: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `scancode` [INFO] [stdout] --> src/main.rs:167:26 [INFO] [stdout] | [INFO] [stdout] 167 | keycode, scancode, keymod, repeat [INFO] [stdout] | ^^^^^^^^ help: try ignoring the field: `scancode: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `keymod` [INFO] [stdout] --> src/main.rs:167:36 [INFO] [stdout] | [INFO] [stdout] 167 | keycode, scancode, keymod, repeat [INFO] [stdout] | ^^^^^^ help: try ignoring the field: `keymod: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `timestamp` [INFO] [stdout] --> src/main.rs:188:17 [INFO] [stdout] | [INFO] [stdout] 188 | timestamp, window_id, [INFO] [stdout] | ^^^^^^^^^ help: try ignoring the field: `timestamp: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `window_id` [INFO] [stdout] --> src/main.rs:188:28 [INFO] [stdout] | [INFO] [stdout] 188 | timestamp, window_id, [INFO] [stdout] | ^^^^^^^^^ help: try ignoring the field: `window_id: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `scancode` [INFO] [stdout] --> src/main.rs:189:26 [INFO] [stdout] | [INFO] [stdout] 189 | keycode, scancode, keymod, repeat [INFO] [stdout] | ^^^^^^^^ help: try ignoring the field: `scancode: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `keymod` [INFO] [stdout] --> src/main.rs:189:36 [INFO] [stdout] | [INFO] [stdout] 189 | keycode, scancode, keymod, repeat [INFO] [stdout] | ^^^^^^ help: try ignoring the field: `keymod: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `repeat` [INFO] [stdout] --> src/main.rs:189:44 [INFO] [stdout] | [INFO] [stdout] 189 | keycode, scancode, keymod, repeat [INFO] [stdout] | ^^^^^^ help: try ignoring the field: `repeat: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `sdl_context` and `video` are never read [INFO] [stdout] --> src/main.rs:38:5 [INFO] [stdout] | [INFO] [stdout] 37 | pub struct AppContext { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 38 | sdl_context: Sdl, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 39 | video: VideoSubsystem, [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:95:20 [INFO] [stdout] | [INFO] [stdout] 95 | panic!(estring); [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] 95 | panic!("{}", estring); [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `sdl_context` and `video` are never read [INFO] [stdout] --> src/main.rs:38:5 [INFO] [stdout] | [INFO] [stdout] 37 | pub struct AppContext { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 38 | sdl_context: Sdl, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 39 | video: VideoSubsystem, [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:95:20 [INFO] [stdout] | [INFO] [stdout] 95 | panic!(estring); [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] 95 | panic!("{}", estring); [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/scene/light_ray.rs:136:9 [INFO] [stdout] | [INFO] [stdout] 136 | / write!(fmt, "({}, {}, {})\t({}, {}, {})", [INFO] [stdout] 137 | | self.ray.position.x, [INFO] [stdout] 138 | | self.ray.position.y, [INFO] [stdout] 139 | | self.ray.position.z, [INFO] [stdout] 140 | | self.ray.direction.x, [INFO] [stdout] 141 | | self.ray.direction.y, [INFO] [stdout] 142 | | self.ray.direction.z); [INFO] [stdout] | |_________________________________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/scene/light_ray.rs:136:9 [INFO] [stdout] | [INFO] [stdout] 136 | / write!(fmt, "({}, {}, {})\t({}, {}, {})", [INFO] [stdout] 137 | | self.ray.position.x, [INFO] [stdout] 138 | | self.ray.position.y, [INFO] [stdout] 139 | | self.ray.position.z, [INFO] [stdout] 140 | | self.ray.direction.x, [INFO] [stdout] 141 | | self.ray.direction.y, [INFO] [stdout] 142 | | self.ray.direction.z); [INFO] [stdout] | |_________________________________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 41 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 41 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1.67s [INFO] running `Command { std: "docker" "inspect" "d44fb2ac7ae6cf72d09cf9b5186a477d5090fbeb36076c9896993854e98edae8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d44fb2ac7ae6cf72d09cf9b5186a477d5090fbeb36076c9896993854e98edae8", kill_on_drop: false }` [INFO] [stdout] d44fb2ac7ae6cf72d09cf9b5186a477d5090fbeb36076c9896993854e98edae8 [INFO] checking firephyz/RustRaytracer against try#f9935d29d867449445ee008640ccca1bf1ae0889+rustflags=-Dtail_expr_drop_order for crater-rollup-uwu [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffirephyz%2FRustRaytracer" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/firephyz/RustRaytracer on toolchain f9935d29d867449445ee008640ccca1bf1ae0889 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f9935d29d867449445ee008640ccca1bf1ae0889" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/firephyz/RustRaytracer [INFO] finished tweaking git repo https://github.com/firephyz/RustRaytracer [INFO] tweaked toml for git repo https://github.com/firephyz/RustRaytracer written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/firephyz/RustRaytracer 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" "+f9935d29d867449445ee008640ccca1bf1ae0889" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+f9935d29d867449445ee008640ccca1bf1ae0889" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ba1a697bc75541e6618134e4825db597ca8774133bd983f6872cccbfde246a72 [INFO] running `Command { std: "docker" "start" "-a" "ba1a697bc75541e6618134e4825db597ca8774133bd983f6872cccbfde246a72", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ba1a697bc75541e6618134e4825db597ca8774133bd983f6872cccbfde246a72", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ba1a697bc75541e6618134e4825db597ca8774133bd983f6872cccbfde246a72", kill_on_drop: false }` [INFO] [stdout] ba1a697bc75541e6618134e4825db597ca8774133bd983f6872cccbfde246a72 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/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 -Dtail_expr_drop_order" "-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+f9935d29d867449445ee008640ccca1bf1ae0889" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 88e99c0536f55442b6529ee6f27170ca72fe5a354cfc3862035ef5061c3f4a57 [INFO] running `Command { std: "docker" "start" "-a" "88e99c0536f55442b6529ee6f27170ca72fe5a354cfc3862035ef5061c3f4a57", kill_on_drop: false }` [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling libc v0.2.67 [INFO] [stderr] Compiling sdl2 v0.33.0 [INFO] [stderr] Compiling sdl2-sys v0.33.0 [INFO] [stderr] Checking rust_raytracer v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::fs::File` [INFO] [stdout] --> src/main.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::fs::File; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::boxed::Box` [INFO] [stdout] --> src/main.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use std::boxed::Box; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `PixelFormatEnum` [INFO] [stdout] --> src/main.rs:13:20 [INFO] [stdout] | [INFO] [stdout] 13 | use sdl2::pixels::{PixelFormatEnum}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fs::File` [INFO] [stdout] --> src/main.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::fs::File; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fmt` [INFO] [stdout] --> src/err_enum.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::fmt; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::convert::From` [INFO] [stdout] --> src/err_enum.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::convert::From; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::boxed::Box` [INFO] [stdout] --> src/main.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use std::boxed::Box; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `sdl2::keyboard::Keycode` [INFO] [stdout] --> src/input.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use sdl2::keyboard::Keycode; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `PixelFormatEnum` [INFO] [stdout] --> src/main.rs:13:20 [INFO] [stdout] | [INFO] [stdout] 13 | use sdl2::pixels::{PixelFormatEnum}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fmt` [INFO] [stdout] --> src/err_enum.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::fmt; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::convert::From` [INFO] [stdout] --> src/err_enum.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::convert::From; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `sdl2::keyboard::Keycode` [INFO] [stdout] --> src/input.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use sdl2::keyboard::Keycode; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `normal` [INFO] [stdout] --> src/scene/light_ray.rs:123:23 [INFO] [stdout] | [INFO] [stdout] 123 | fn reflect(&self, normal: &Ray) -> Point { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_normal` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `normal` [INFO] [stdout] --> src/scene/light_ray.rs:123:23 [INFO] [stdout] | [INFO] [stdout] 123 | fn reflect(&self, normal: &Ray) -> Point { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_normal` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `timestamp` [INFO] [stdout] --> src/main.rs:130:17 [INFO] [stdout] | [INFO] [stdout] 130 | timestamp, [INFO] [stdout] | ^^^^^^^^^ help: try ignoring the field: `timestamp: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `window_id` [INFO] [stdout] --> src/main.rs:131:17 [INFO] [stdout] | [INFO] [stdout] 131 | window_id, [INFO] [stdout] | ^^^^^^^^^ help: try ignoring the field: `window_id: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `timestamp` [INFO] [stdout] --> src/main.rs:145:17 [INFO] [stdout] | [INFO] [stdout] 145 | timestamp, window_id, which, [INFO] [stdout] | ^^^^^^^^^ help: try ignoring the field: `timestamp: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `window_id` [INFO] [stdout] --> src/main.rs:145:28 [INFO] [stdout] | [INFO] [stdout] 145 | timestamp, window_id, which, [INFO] [stdout] | ^^^^^^^^^ help: try ignoring the field: `window_id: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `which` [INFO] [stdout] --> src/main.rs:145:39 [INFO] [stdout] | [INFO] [stdout] 145 | timestamp, window_id, which, [INFO] [stdout] | ^^^^^ help: try ignoring the field: `which: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `mouse_btn` [INFO] [stdout] --> src/main.rs:146:17 [INFO] [stdout] | [INFO] [stdout] 146 | mouse_btn, clicks, x, y, [INFO] [stdout] | ^^^^^^^^^ help: try ignoring the field: `mouse_btn: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `clicks` [INFO] [stdout] --> src/main.rs:146:28 [INFO] [stdout] | [INFO] [stdout] 146 | mouse_btn, clicks, x, y, [INFO] [stdout] | ^^^^^^ help: try ignoring the field: `clicks: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/main.rs:146:36 [INFO] [stdout] | [INFO] [stdout] 146 | mouse_btn, clicks, x, y, [INFO] [stdout] | ^ help: try ignoring the field: `x: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y` [INFO] [stdout] --> src/main.rs:146:39 [INFO] [stdout] | [INFO] [stdout] 146 | mouse_btn, clicks, x, y, [INFO] [stdout] | ^ help: try ignoring the field: `y: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `timestamp` [INFO] [stdout] --> src/main.rs:151:17 [INFO] [stdout] | [INFO] [stdout] 151 | timestamp, window_id, which, [INFO] [stdout] | ^^^^^^^^^ help: try ignoring the field: `timestamp: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `window_id` [INFO] [stdout] --> src/main.rs:151:28 [INFO] [stdout] | [INFO] [stdout] 151 | timestamp, window_id, which, [INFO] [stdout] | ^^^^^^^^^ help: try ignoring the field: `window_id: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `timestamp` [INFO] [stdout] --> src/main.rs:130:17 [INFO] [stdout] | [INFO] [stdout] 130 | timestamp, [INFO] [stdout] | ^^^^^^^^^ help: try ignoring the field: `timestamp: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `which` [INFO] [stdout] --> src/main.rs:151:39 [INFO] [stdout] | [INFO] [stdout] 151 | timestamp, window_id, which, [INFO] [stdout] | ^^^^^ help: try ignoring the field: `which: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `mouse_btn` [INFO] [stdout] --> src/main.rs:152:17 [INFO] [stdout] | [INFO] [stdout] 152 | mouse_btn, clicks, x, y, [INFO] [stdout] | ^^^^^^^^^ help: try ignoring the field: `mouse_btn: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `window_id` [INFO] [stdout] --> src/main.rs:131:17 [INFO] [stdout] | [INFO] [stdout] 131 | window_id, [INFO] [stdout] | ^^^^^^^^^ help: try ignoring the field: `window_id: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `clicks` [INFO] [stdout] --> src/main.rs:152:28 [INFO] [stdout] | [INFO] [stdout] 152 | mouse_btn, clicks, x, y, [INFO] [stdout] | ^^^^^^ help: try ignoring the field: `clicks: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `timestamp` [INFO] [stdout] --> src/main.rs:145:17 [INFO] [stdout] | [INFO] [stdout] 145 | timestamp, window_id, which, [INFO] [stdout] | ^^^^^^^^^ help: try ignoring the field: `timestamp: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/main.rs:152:36 [INFO] [stdout] | [INFO] [stdout] 152 | mouse_btn, clicks, x, y, [INFO] [stdout] | ^ help: try ignoring the field: `x: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `window_id` [INFO] [stdout] --> src/main.rs:145:28 [INFO] [stdout] | [INFO] [stdout] 145 | timestamp, window_id, which, [INFO] [stdout] | ^^^^^^^^^ help: try ignoring the field: `window_id: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y` [INFO] [stdout] --> src/main.rs:152:39 [INFO] [stdout] | [INFO] [stdout] 152 | mouse_btn, clicks, x, y, [INFO] [stdout] | ^ help: try ignoring the field: `y: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `which` [INFO] [stdout] --> src/main.rs:145:39 [INFO] [stdout] | [INFO] [stdout] 145 | timestamp, window_id, which, [INFO] [stdout] | ^^^^^ help: try ignoring the field: `which: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `timestamp` [INFO] [stdout] --> src/main.rs:157:17 [INFO] [stdout] | [INFO] [stdout] 157 | timestamp, window_id, which, [INFO] [stdout] | ^^^^^^^^^ help: try ignoring the field: `timestamp: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `mouse_btn` [INFO] [stdout] --> src/main.rs:146:17 [INFO] [stdout] | [INFO] [stdout] 146 | mouse_btn, clicks, x, y, [INFO] [stdout] | ^^^^^^^^^ help: try ignoring the field: `mouse_btn: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `window_id` [INFO] [stdout] --> src/main.rs:157:28 [INFO] [stdout] | [INFO] [stdout] 157 | timestamp, window_id, which, [INFO] [stdout] | ^^^^^^^^^ help: try ignoring the field: `window_id: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `which` [INFO] [stdout] --> src/main.rs:157:39 [INFO] [stdout] | [INFO] [stdout] 157 | timestamp, window_id, which, [INFO] [stdout] | ^^^^^ help: try ignoring the field: `which: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `clicks` [INFO] [stdout] --> src/main.rs:146:28 [INFO] [stdout] | [INFO] [stdout] 146 | mouse_btn, clicks, x, y, [INFO] [stdout] | ^^^^^^ help: try ignoring the field: `clicks: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `mousestate` [INFO] [stdout] --> src/main.rs:158:17 [INFO] [stdout] | [INFO] [stdout] 158 | mousestate, x, y, xrel, yrel [INFO] [stdout] | ^^^^^^^^^^ help: try ignoring the field: `mousestate: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/main.rs:146:36 [INFO] [stdout] | [INFO] [stdout] 146 | mouse_btn, clicks, x, y, [INFO] [stdout] | ^ help: try ignoring the field: `x: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/main.rs:158:29 [INFO] [stdout] | [INFO] [stdout] 158 | mousestate, x, y, xrel, yrel [INFO] [stdout] | ^ help: try ignoring the field: `x: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y` [INFO] [stdout] --> src/main.rs:158:32 [INFO] [stdout] | [INFO] [stdout] 158 | mousestate, x, y, xrel, yrel [INFO] [stdout] | ^ help: try ignoring the field: `y: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y` [INFO] [stdout] --> src/main.rs:146:39 [INFO] [stdout] | [INFO] [stdout] 146 | mouse_btn, clicks, x, y, [INFO] [stdout] | ^ help: try ignoring the field: `y: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `timestamp` [INFO] [stdout] --> src/main.rs:166:17 [INFO] [stdout] | [INFO] [stdout] 166 | timestamp, window_id, [INFO] [stdout] | ^^^^^^^^^ help: try ignoring the field: `timestamp: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `timestamp` [INFO] [stdout] --> src/main.rs:151:17 [INFO] [stdout] | [INFO] [stdout] 151 | timestamp, window_id, which, [INFO] [stdout] | ^^^^^^^^^ help: try ignoring the field: `timestamp: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `window_id` [INFO] [stdout] --> src/main.rs:166:28 [INFO] [stdout] | [INFO] [stdout] 166 | timestamp, window_id, [INFO] [stdout] | ^^^^^^^^^ help: try ignoring the field: `window_id: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `window_id` [INFO] [stdout] --> src/main.rs:151:28 [INFO] [stdout] | [INFO] [stdout] 151 | timestamp, window_id, which, [INFO] [stdout] | ^^^^^^^^^ help: try ignoring the field: `window_id: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `scancode` [INFO] [stdout] --> src/main.rs:167:26 [INFO] [stdout] | [INFO] [stdout] 167 | keycode, scancode, keymod, repeat [INFO] [stdout] | ^^^^^^^^ help: try ignoring the field: `scancode: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `keymod` [INFO] [stdout] --> src/main.rs:167:36 [INFO] [stdout] | [INFO] [stdout] 167 | keycode, scancode, keymod, repeat [INFO] [stdout] | ^^^^^^ help: try ignoring the field: `keymod: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `which` [INFO] [stdout] --> src/main.rs:151:39 [INFO] [stdout] | [INFO] [stdout] 151 | timestamp, window_id, which, [INFO] [stdout] | ^^^^^ help: try ignoring the field: `which: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `timestamp` [INFO] [stdout] --> src/main.rs:188:17 [INFO] [stdout] | [INFO] [stdout] 188 | timestamp, window_id, [INFO] [stdout] | ^^^^^^^^^ help: try ignoring the field: `timestamp: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `mouse_btn` [INFO] [stdout] --> src/main.rs:152:17 [INFO] [stdout] | [INFO] [stdout] 152 | mouse_btn, clicks, x, y, [INFO] [stdout] | ^^^^^^^^^ help: try ignoring the field: `mouse_btn: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `window_id` [INFO] [stdout] --> src/main.rs:188:28 [INFO] [stdout] | [INFO] [stdout] 188 | timestamp, window_id, [INFO] [stdout] | ^^^^^^^^^ help: try ignoring the field: `window_id: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `scancode` [INFO] [stdout] --> src/main.rs:189:26 [INFO] [stdout] | [INFO] [stdout] 189 | keycode, scancode, keymod, repeat [INFO] [stdout] | ^^^^^^^^ help: try ignoring the field: `scancode: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `clicks` [INFO] [stdout] --> src/main.rs:152:28 [INFO] [stdout] | [INFO] [stdout] 152 | mouse_btn, clicks, x, y, [INFO] [stdout] | ^^^^^^ help: try ignoring the field: `clicks: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `keymod` [INFO] [stdout] --> src/main.rs:189:36 [INFO] [stdout] | [INFO] [stdout] 189 | keycode, scancode, keymod, repeat [INFO] [stdout] | ^^^^^^ help: try ignoring the field: `keymod: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/main.rs:152:36 [INFO] [stdout] | [INFO] [stdout] 152 | mouse_btn, clicks, x, y, [INFO] [stdout] | ^ help: try ignoring the field: `x: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `repeat` [INFO] [stdout] --> src/main.rs:189:44 [INFO] [stdout] | [INFO] [stdout] 189 | keycode, scancode, keymod, repeat [INFO] [stdout] | ^^^^^^ help: try ignoring the field: `repeat: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y` [INFO] [stdout] --> src/main.rs:152:39 [INFO] [stdout] | [INFO] [stdout] 152 | mouse_btn, clicks, x, y, [INFO] [stdout] | ^ help: try ignoring the field: `y: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `timestamp` [INFO] [stdout] --> src/main.rs:157:17 [INFO] [stdout] | [INFO] [stdout] 157 | timestamp, window_id, which, [INFO] [stdout] | ^^^^^^^^^ help: try ignoring the field: `timestamp: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `window_id` [INFO] [stdout] --> src/main.rs:157:28 [INFO] [stdout] | [INFO] [stdout] 157 | timestamp, window_id, which, [INFO] [stdout] | ^^^^^^^^^ help: try ignoring the field: `window_id: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `which` [INFO] [stdout] --> src/main.rs:157:39 [INFO] [stdout] | [INFO] [stdout] 157 | timestamp, window_id, which, [INFO] [stdout] | ^^^^^ help: try ignoring the field: `which: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `mousestate` [INFO] [stdout] --> src/main.rs:158:17 [INFO] [stdout] | [INFO] [stdout] 158 | mousestate, x, y, xrel, yrel [INFO] [stdout] | ^^^^^^^^^^ help: try ignoring the field: `mousestate: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/main.rs:158:29 [INFO] [stdout] | [INFO] [stdout] 158 | mousestate, x, y, xrel, yrel [INFO] [stdout] | ^ help: try ignoring the field: `x: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y` [INFO] [stdout] --> src/main.rs:158:32 [INFO] [stdout] | [INFO] [stdout] 158 | mousestate, x, y, xrel, yrel [INFO] [stdout] | ^ help: try ignoring the field: `y: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `timestamp` [INFO] [stdout] --> src/main.rs:166:17 [INFO] [stdout] | [INFO] [stdout] 166 | timestamp, window_id, [INFO] [stdout] | ^^^^^^^^^ help: try ignoring the field: `timestamp: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `window_id` [INFO] [stdout] --> src/main.rs:166:28 [INFO] [stdout] | [INFO] [stdout] 166 | timestamp, window_id, [INFO] [stdout] | ^^^^^^^^^ help: try ignoring the field: `window_id: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `scancode` [INFO] [stdout] --> src/main.rs:167:26 [INFO] [stdout] | [INFO] [stdout] 167 | keycode, scancode, keymod, repeat [INFO] [stdout] | ^^^^^^^^ help: try ignoring the field: `scancode: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `keymod` [INFO] [stdout] --> src/main.rs:167:36 [INFO] [stdout] | [INFO] [stdout] 167 | keycode, scancode, keymod, repeat [INFO] [stdout] | ^^^^^^ help: try ignoring the field: `keymod: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `timestamp` [INFO] [stdout] --> src/main.rs:188:17 [INFO] [stdout] | [INFO] [stdout] 188 | timestamp, window_id, [INFO] [stdout] | ^^^^^^^^^ help: try ignoring the field: `timestamp: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `window_id` [INFO] [stdout] --> src/main.rs:188:28 [INFO] [stdout] | [INFO] [stdout] 188 | timestamp, window_id, [INFO] [stdout] | ^^^^^^^^^ help: try ignoring the field: `window_id: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `scancode` [INFO] [stdout] --> src/main.rs:189:26 [INFO] [stdout] | [INFO] [stdout] 189 | keycode, scancode, keymod, repeat [INFO] [stdout] | ^^^^^^^^ help: try ignoring the field: `scancode: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `keymod` [INFO] [stdout] --> src/main.rs:189:36 [INFO] [stdout] | [INFO] [stdout] 189 | keycode, scancode, keymod, repeat [INFO] [stdout] | ^^^^^^ help: try ignoring the field: `keymod: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `repeat` [INFO] [stdout] --> src/main.rs:189:44 [INFO] [stdout] | [INFO] [stdout] 189 | keycode, scancode, keymod, repeat [INFO] [stdout] | ^^^^^^ help: try ignoring the field: `repeat: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `sdl_context` and `video` are never read [INFO] [stdout] --> src/main.rs:38:5 [INFO] [stdout] | [INFO] [stdout] 37 | pub struct AppContext { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 38 | sdl_context: Sdl, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 39 | video: VideoSubsystem, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `sdl_context` and `video` are never read [INFO] [stdout] --> src/main.rs:38:5 [INFO] [stdout] | [INFO] [stdout] 37 | pub struct AppContext { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 38 | sdl_context: Sdl, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 39 | video: VideoSubsystem, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/main.rs:79:8 [INFO] [stdout] | [INFO] [stdout] 48 | let sdl_context = sdl2::init()?; [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 49 | let video_subsystem = sdl_context.video()?; [INFO] [stdout] | --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 50 | let mut event_pump = sdl_context.event_pump()?; [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 51 | [INFO] [stdout] 52 | let window = video_subsystem.window("raytracer", 300, 300) [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 56 | let canvas = window.into_canvas() [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 77 | let scene = scene::Scene::new(input.get_camera()); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 78 | [INFO] [stdout] 79 | Ok(AppContext { [INFO] [stdout] | ________^ [INFO] [stdout] 80 | | sdl_context: sdl_context, [INFO] [stdout] 81 | | video: video_subsystem, [INFO] [stdout] 82 | | canvas: canvas, [INFO] [stdout] ... | [INFO] [stdout] 86 | | input: input, [INFO] [stdout] 87 | | }) [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_____these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/main.rs:79:8 [INFO] [stdout] | [INFO] [stdout] 48 | let sdl_context = sdl2::init()?; [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 49 | let video_subsystem = sdl_context.video()?; [INFO] [stdout] | --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 50 | let mut event_pump = sdl_context.event_pump()?; [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 51 | [INFO] [stdout] 52 | let window = video_subsystem.window("raytracer", 300, 300) [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 56 | let canvas = window.into_canvas() [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 77 | let scene = scene::Scene::new(input.get_camera()); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 78 | [INFO] [stdout] 79 | Ok(AppContext { [INFO] [stdout] | ________^ [INFO] [stdout] 80 | | sdl_context: sdl_context, [INFO] [stdout] 81 | | video: video_subsystem, [INFO] [stdout] 82 | | canvas: canvas, [INFO] [stdout] ... | [INFO] [stdout] 86 | | input: input, [INFO] [stdout] 87 | | }) [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_____these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/main.rs:95:20 [INFO] [stdout] | [INFO] [stdout] 95 | panic!(estring); [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] 95 | panic!("{}", estring); [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/main.rs:95:20 [INFO] [stdout] | [INFO] [stdout] 95 | panic!(estring); [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] 95 | panic!("{}", estring); [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/scene/light_ray.rs:136:9 [INFO] [stdout] | [INFO] [stdout] 136 | / write!(fmt, "({}, {}, {})\t({}, {}, {})", [INFO] [stdout] 137 | | self.ray.position.x, [INFO] [stdout] 138 | | self.ray.position.y, [INFO] [stdout] 139 | | self.ray.position.z, [INFO] [stdout] 140 | | self.ray.direction.x, [INFO] [stdout] 141 | | self.ray.direction.y, [INFO] [stdout] 142 | | self.ray.direction.z); [INFO] [stdout] | |_________________________________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/scene/light_ray.rs:136:9 [INFO] [stdout] | [INFO] [stdout] 136 | / write!(fmt, "({}, {}, {})\t({}, {}, {})", [INFO] [stdout] 137 | | self.ray.position.x, [INFO] [stdout] 138 | | self.ray.position.y, [INFO] [stdout] 139 | | self.ray.position.z, [INFO] [stdout] 140 | | self.ray.direction.x, [INFO] [stdout] 141 | | self.ray.direction.y, [INFO] [stdout] 142 | | self.ray.direction.z); [INFO] [stdout] | |_________________________________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error; 41 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error; 41 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rust_raytracer` (bin "rust_raytracer" test) due to 2 previous errors; 41 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `rust_raytracer` (bin "rust_raytracer") due to 2 previous errors; 41 warnings emitted [INFO] running `Command { std: "docker" "inspect" "88e99c0536f55442b6529ee6f27170ca72fe5a354cfc3862035ef5061c3f4a57", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "88e99c0536f55442b6529ee6f27170ca72fe5a354cfc3862035ef5061c3f4a57", kill_on_drop: false }` [INFO] [stdout] 88e99c0536f55442b6529ee6f27170ca72fe5a354cfc3862035ef5061c3f4a57