[INFO] updating cached repository https://github.com/kunalchandan/ToyTracer [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune", kill_on_drop: false }` [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] a310fdc3f6c3bae86929e1e10c567ef826f520b5 [INFO] testing kunalchandan/ToyTracer against 1.45.2 for beta-1.46-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkunalchandan%2FToyTracer" "/workspace/builds/worker-11/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-11/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/kunalchandan/ToyTracer on toolchain 1.45.2 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.45.2" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/kunalchandan/ToyTracer [INFO] finished tweaking git repo https://github.com/kunalchandan/ToyTracer [INFO] tweaked toml for git repo https://github.com/kunalchandan/ToyTracer written to /workspace/builds/worker-11/source/Cargo.toml [INFO] crate git repo https://github.com/kunalchandan/ToyTracer already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.45.2" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+1.45.2" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 398e82348c3a35d043d9a445af6c4d6d5aa06432edf4008f89e4c4cd1593c0a8 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "398e82348c3a35d043d9a445af6c4d6d5aa06432edf4008f89e4c4cd1593c0a8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "398e82348c3a35d043d9a445af6c4d6d5aa06432edf4008f89e4c4cd1593c0a8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "398e82348c3a35d043d9a445af6c4d6d5aa06432edf4008f89e4c4cd1593c0a8", kill_on_drop: false }` [INFO] [stdout] 398e82348c3a35d043d9a445af6c4d6d5aa06432edf4008f89e4c4cd1593c0a8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+1.45.2" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] f137e3d4e7a91c3180897d3d5a4b5e60cf4b4f760d3a782a04e83f4315186dea [INFO] running `Command { std: "docker" "start" "-a" "f137e3d4e7a91c3180897d3d5a4b5e60cf4b4f760d3a782a04e83f4315186dea", kill_on_drop: false }` [INFO] [stderr] Compiling piston-float v1.0.0 [INFO] [stderr] Compiling rayon-core v1.6.1 [INFO] [stderr] Compiling syn v1.0.11 [INFO] [stderr] Compiling serde v1.0.103 [INFO] [stderr] Compiling piston-graphics_api_version v0.2.0 [INFO] [stderr] Compiling getrandom v0.1.13 [INFO] [stderr] Compiling piston-texture v0.8.0 [INFO] [stderr] Compiling read_color v1.0.0 [INFO] [stderr] Compiling interpolation v0.2.0 [INFO] [stderr] Compiling piston-shaders_graphics2d v0.3.1 [INFO] [stderr] Compiling custom_derive v0.1.7 [INFO] [stderr] Compiling num-integer v0.1.41 [INFO] [stderr] Compiling num-bigint v0.2.3 [INFO] [stderr] Compiling num-rational v0.2.2 [INFO] [stderr] Compiling num-complex v0.2.3 [INFO] [stderr] Compiling itertools v0.7.11 [INFO] [stderr] Compiling conv v0.3.3 [INFO] [stderr] Compiling draw_state v0.8.0 [INFO] [stderr] Compiling stb_truetype v0.3.1 [INFO] [stderr] Compiling num_cpus v1.11.1 [INFO] [stderr] Compiling nix v0.14.1 [INFO] [stderr] Compiling shared_library v0.1.9 [INFO] [stderr] Compiling raw-window-handle v0.3.2 [INFO] [stderr] Compiling rand_os v0.1.3 [INFO] [stderr] Compiling gl_generator v0.10.0 [INFO] [stderr] Compiling gl_generator v0.13.1 [INFO] [stderr] Compiling x11-dl v2.18.4 [INFO] [stderr] Compiling generic-array v0.13.2 [INFO] [stderr] Compiling approx v0.3.2 [INFO] [stderr] Compiling ordered-float v1.0.2 [INFO] [stderr] Compiling line_drawing v0.7.0 [INFO] [stderr] Compiling piston-viewport v1.0.0 [INFO] [stderr] Compiling vecmath v1.0.0 [INFO] [stderr] Compiling png v0.15.1 [INFO] [stderr] Compiling crossbeam-queue v0.2.0 [INFO] [stderr] Compiling shader_version v0.6.0 [INFO] [stderr] Compiling gfx_gl v0.6.0 [INFO] [stderr] Compiling osmesa-sys v0.1.2 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling parking_lot_core v0.6.2 [INFO] [stderr] Compiling rusttype v0.8.2 [INFO] [stderr] Compiling gfx_core v0.9.2 [INFO] [stderr] Compiling tiff v0.3.1 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling parking_lot v0.9.0 [INFO] [stderr] Compiling rusttype v0.7.9 [INFO] [stderr] Compiling alga v0.9.2 [INFO] [stderr] Compiling num-iter v0.1.39 [INFO] [stderr] Compiling andrew v0.2.1 [INFO] [stderr] Compiling piston2d-graphics v0.35.0 [INFO] [stderr] Compiling rand_chacha v0.2.1 [INFO] [stderr] Compiling num v0.1.42 [INFO] [stderr] Compiling glutin_egl_sys v0.1.4 [INFO] [stderr] Compiling rulinalg v0.4.2 [INFO] [stderr] Compiling rand v0.7.2 [INFO] [stderr] Compiling gl v0.11.0 [INFO] [stderr] Compiling rayon v1.2.1 [INFO] [stderr] Compiling num v0.2.0 [INFO] [stderr] Compiling glutin_glx_sys v0.1.5 [INFO] [stderr] Compiling rand_distr v0.2.2 [INFO] [stderr] Compiling nalgebra v0.19.0 [INFO] [stderr] Compiling jpeg-decoder v0.1.16 [INFO] [stderr] Compiling serde_derive v1.0.103 [INFO] [stderr] Compiling wayland-commons v0.21.13 [INFO] [stderr] Compiling image v0.22.3 [INFO] [stderr] Compiling wayland-client v0.21.13 [INFO] [stderr] Compiling wayland-protocols v0.21.13 [INFO] [stderr] Compiling imageproc v0.19.2 [INFO] [stderr] Compiling piston2d-opengl_graphics v0.70.0 [INFO] [stderr] Compiling smithay-client-toolkit v0.4.6 [INFO] [stderr] Compiling gfx v0.18.2 [INFO] [stderr] Compiling gfx_device_gl v0.16.2 [INFO] [stderr] Compiling winit v0.19.5 [INFO] [stderr] Compiling pistoncore-input v0.28.0 [INFO] [stderr] Compiling piston-gfx_texture v0.40.0 [INFO] [stderr] Compiling glutin v0.21.2 [INFO] [stderr] Compiling piston2d-gfx_graphics v0.66.0 [INFO] [stderr] Compiling pistoncore-window v0.44.0 [INFO] [stderr] Compiling pistoncore-event_loop v0.49.0 [INFO] [stderr] Compiling pistoncore-glutin_window v0.63.0 [INFO] [stderr] Compiling piston v0.49.0 [INFO] [stderr] Compiling piston_window v0.105.0 [INFO] [stderr] Compiling toy_tracer v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `crate::world::Traceable` [INFO] [stdout] --> src/ray.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::world::Traceable; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pos` [INFO] [stdout] --> src/main.rs:218:25 [INFO] [stdout] | [INFO] [stdout] 218 | e.mouse_cursor(|pos| { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_pos` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `r` [INFO] [stdout] --> src/main.rs:254:21 [INFO] [stdout] | [INFO] [stdout] 254 | if let Some(r) = e.render_args() { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_r` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `args` [INFO] [stdout] --> src/main.rs:86:26 [INFO] [stdout] | [INFO] [stdout] 86 | fn update(&mut self, args: &UpdateArgs) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_args` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `to_trace` is assigned to, but never used [INFO] [stdout] --> src/main.rs:104:17 [INFO] [stdout] | [INFO] [stdout] 104 | let mut to_trace: &Box = self.objects[0].borrow(); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_to_trace` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `to_trace` is never read [INFO] [stdout] --> src/main.rs:109:21 [INFO] [stdout] | [INFO] [stdout] 109 | to_trace = obj; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cn` [INFO] [stdout] --> src/main.rs:127:13 [INFO] [stdout] | [INFO] [stdout] 127 | let cn = nl::Vector3::new(CAM_X, CAM_Y, CAM_Z) + (SCR_Z * nl::Vector3::new(CAM_P.sin() * CAM_T.cos(), [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_cn` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `br` [INFO] [stdout] --> src/main.rs:145:13 [INFO] [stdout] | [INFO] [stdout] 145 | let br = nl::Vector3::new(CAM_X, CAM_Y, CAM_Z) + [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_br` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pix_colour` [INFO] [stdout] --> src/main.rs:162:21 [INFO] [stdout] | [INFO] [stdout] 162 | let pix_colour = self.recursive_trace(r); [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_pix_colour` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `r` [INFO] [stdout] --> src/world.rs:59:22 [INFO] [stdout] | [INFO] [stdout] 59 | fn normal(&self, r: Ray) -> Ray { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_r` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 3m 17s [INFO] running `Command { std: "docker" "inspect" "f137e3d4e7a91c3180897d3d5a4b5e60cf4b4f760d3a782a04e83f4315186dea", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f137e3d4e7a91c3180897d3d5a4b5e60cf4b4f760d3a782a04e83f4315186dea", kill_on_drop: false }` [INFO] [stdout] f137e3d4e7a91c3180897d3d5a4b5e60cf4b4f760d3a782a04e83f4315186dea [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+1.45.2" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] b1b53472f147bceea211640603b5cb563ae357e2fa024d65e87b38d85e6f982f [INFO] running `Command { std: "docker" "start" "-a" "b1b53472f147bceea211640603b5cb563ae357e2fa024d65e87b38d85e6f982f", kill_on_drop: false }` [INFO] [stderr] Compiling toy_tracer v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `crate::world::Traceable` [INFO] [stdout] --> src/ray.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::world::Traceable; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pos` [INFO] [stdout] --> src/main.rs:218:25 [INFO] [stdout] | [INFO] [stdout] 218 | e.mouse_cursor(|pos| { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_pos` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `r` [INFO] [stdout] --> src/main.rs:254:21 [INFO] [stdout] | [INFO] [stdout] 254 | if let Some(r) = e.render_args() { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_r` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `args` [INFO] [stdout] --> src/main.rs:86:26 [INFO] [stdout] | [INFO] [stdout] 86 | fn update(&mut self, args: &UpdateArgs) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_args` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `to_trace` is assigned to, but never used [INFO] [stdout] --> src/main.rs:104:17 [INFO] [stdout] | [INFO] [stdout] 104 | let mut to_trace: &Box = self.objects[0].borrow(); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_to_trace` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `to_trace` is never read [INFO] [stdout] --> src/main.rs:109:21 [INFO] [stdout] | [INFO] [stdout] 109 | to_trace = obj; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cn` [INFO] [stdout] --> src/main.rs:127:13 [INFO] [stdout] | [INFO] [stdout] 127 | let cn = nl::Vector3::new(CAM_X, CAM_Y, CAM_Z) + (SCR_Z * nl::Vector3::new(CAM_P.sin() * CAM_T.cos(), [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_cn` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `br` [INFO] [stdout] --> src/main.rs:145:13 [INFO] [stdout] | [INFO] [stdout] 145 | let br = nl::Vector3::new(CAM_X, CAM_Y, CAM_Z) + [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_br` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pix_colour` [INFO] [stdout] --> src/main.rs:162:21 [INFO] [stdout] | [INFO] [stdout] 162 | let pix_colour = self.recursive_trace(r); [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_pix_colour` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `r` [INFO] [stdout] --> src/world.rs:59:22 [INFO] [stdout] | [INFO] [stdout] 59 | fn normal(&self, r: Ray) -> Ray { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_r` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 2.08s [INFO] [stdout] warning: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "b1b53472f147bceea211640603b5cb563ae357e2fa024d65e87b38d85e6f982f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b1b53472f147bceea211640603b5cb563ae357e2fa024d65e87b38d85e6f982f", kill_on_drop: false }` [INFO] [stdout] b1b53472f147bceea211640603b5cb563ae357e2fa024d65e87b38d85e6f982f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+1.45.2" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 5bf15eb9d8272294dfaa3d3fba76d0d558d28b189caee1305082d69569034012 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "5bf15eb9d8272294dfaa3d3fba76d0d558d28b189caee1305082d69569034012", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `crate::world::Traceable` [INFO] [stderr] --> src/ray.rs:1:5 [INFO] [stderr] | [INFO] [stderr] 1 | use crate::world::Traceable; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `pos` [INFO] [stderr] --> src/main.rs:218:25 [INFO] [stderr] | [INFO] [stderr] 218 | e.mouse_cursor(|pos| { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_pos` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `r` [INFO] [stderr] --> src/main.rs:254:21 [INFO] [stderr] | [INFO] [stderr] 254 | if let Some(r) = e.render_args() { [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_r` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `args` [INFO] [stderr] --> src/main.rs:86:26 [INFO] [stderr] | [INFO] [stderr] 86 | fn update(&mut self, args: &UpdateArgs) { [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_args` [INFO] [stderr] [INFO] [stderr] warning: variable `to_trace` is assigned to, but never used [INFO] [stderr] --> src/main.rs:104:17 [INFO] [stderr] | [INFO] [stderr] 104 | let mut to_trace: &Box = self.objects[0].borrow(); [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: consider using `_to_trace` instead [INFO] [stderr] [INFO] [stderr] warning: value assigned to `to_trace` is never read [INFO] [stderr] --> src/main.rs:109:21 [INFO] [stderr] | [INFO] [stderr] 109 | to_trace = obj; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_assignments)]` on by default [INFO] [stderr] = help: maybe it is overwritten before being read? [INFO] [stderr] [INFO] [stderr] warning: unused variable: `cn` [INFO] [stderr] --> src/main.rs:127:13 [INFO] [stderr] | [INFO] [stderr] 127 | let cn = nl::Vector3::new(CAM_X, CAM_Y, CAM_Z) + (SCR_Z * nl::Vector3::new(CAM_P.sin() * CAM_T.cos(), [INFO] [stderr] | ^^ help: if this is intentional, prefix it with an underscore: `_cn` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `br` [INFO] [stderr] --> src/main.rs:145:13 [INFO] [stderr] | [INFO] [stderr] 145 | let br = nl::Vector3::new(CAM_X, CAM_Y, CAM_Z) + [INFO] [stderr] | ^^ help: if this is intentional, prefix it with an underscore: `_br` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `pix_colour` [INFO] [stderr] --> src/main.rs:162:21 [INFO] [stderr] | [INFO] [stderr] 162 | let pix_colour = self.recursive_trace(r); [INFO] [stderr] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_pix_colour` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `r` [INFO] [stderr] --> src/world.rs:59:22 [INFO] [stderr] | [INFO] [stderr] 59 | fn normal(&self, r: Ray) -> Ray { [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_r` [INFO] [stderr] [INFO] [stderr] warning: 10 warnings emitted [INFO] [stderr] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.35s [INFO] [stderr] Running /opt/rustwide/target/debug/deps/toy_tracer-006122c3ce7027dc [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "5bf15eb9d8272294dfaa3d3fba76d0d558d28b189caee1305082d69569034012", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5bf15eb9d8272294dfaa3d3fba76d0d558d28b189caee1305082d69569034012", kill_on_drop: false }` [INFO] [stdout] 5bf15eb9d8272294dfaa3d3fba76d0d558d28b189caee1305082d69569034012