[INFO] cloning repository https://github.com/malloc-man/ray-tracer [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/malloc-man/ray-tracer" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmalloc-man%2Fray-tracer", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmalloc-man%2Fray-tracer'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 4d76fb1df633995b7a7bdf7e227a0b8bc34f34f9 [INFO] checking malloc-man/ray-tracer against master#43d9f3859e0204e764161ee085a360274b5f3e9a for pr-97346 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmalloc-man%2Fray-tracer" "/workspace/builds/worker-20/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-20/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/malloc-man/ray-tracer on toolchain 43d9f3859e0204e764161ee085a360274b5f3e9a [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+43d9f3859e0204e764161ee085a360274b5f3e9a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/malloc-man/ray-tracer [INFO] finished tweaking git repo https://github.com/malloc-man/ray-tracer [INFO] tweaked toml for git repo https://github.com/malloc-man/ray-tracer written to /workspace/builds/worker-20/source/Cargo.toml [INFO] crate git repo https://github.com/malloc-man/ray-tracer already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+43d9f3859e0204e764161ee085a360274b5f3e9a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded atomic_refcell v0.1.8 [INFO] [stderr] Downloaded crc32fast v1.3.0 [INFO] [stderr] Downloaded wayland-commons v0.29.2 [INFO] [stderr] Downloaded libloading v0.7.2 [INFO] [stderr] Downloaded wayland-cursor v0.29.2 [INFO] [stderr] Downloaded nix v0.22.0 [INFO] [stderr] Downloaded raw-window-handle v0.4.2 [INFO] [stderr] Downloaded calloop v0.9.3 [INFO] [stderr] Downloaded ndk-sys v0.2.2 [INFO] [stderr] Downloaded num_enum_derive v0.5.6 [INFO] [stderr] Downloaded copypasta v0.7.1 [INFO] [stderr] Downloaded ndk v0.5.0 [INFO] [stderr] Downloaded ndk-macro v0.3.0 [INFO] [stderr] Downloaded num_enum v0.5.6 [INFO] [stderr] Downloaded xcb v0.10.1 [INFO] [stderr] Downloaded lazy-bytes-cast v5.0.1 [INFO] [stderr] Downloaded clipboard-win v3.1.1 [INFO] [stderr] Downloaded webbrowser v0.5.5 [INFO] [stderr] Downloaded ndk-glue v0.5.0 [INFO] [stderr] Downloaded x11-clipboard v0.5.3 [INFO] [stderr] Downloaded egui-winit v0.16.0 [INFO] [stderr] Downloaded serde v1.0.132 [INFO] [stderr] Downloaded eframe v0.16.0 [INFO] [stderr] Downloaded epi v0.16.0 [INFO] [stderr] Downloaded emath v0.16.0 [INFO] [stderr] Downloaded owned_ttf_parser v0.14.0 [INFO] [stderr] Downloaded takeable-option v0.5.0 [INFO] [stderr] Downloaded ab_glyph v0.2.13 [INFO] [stderr] Downloaded ab_glyph_rasterizer v0.1.5 [INFO] [stderr] Downloaded ttf-parser v0.14.0 [INFO] [stderr] Downloaded darling v0.13.1 [INFO] [stderr] Downloaded egui_glium v0.16.0 [INFO] [stderr] Downloaded egui_web v0.16.0 [INFO] [stderr] Downloaded quick-xml v0.22.0 [INFO] [stderr] Downloaded darling_core v0.13.1 [INFO] [stderr] Downloaded glutin v0.28.0 [INFO] [stderr] Downloaded x11-dl v2.19.1 [INFO] [stderr] Downloaded wayland-protocols v0.29.2 [INFO] [stderr] Downloaded smithay-clipboard v0.6.5 [INFO] [stderr] Downloaded darling_macro v0.13.1 [INFO] [stderr] Downloaded cty v0.2.2 [INFO] [stderr] Downloaded bytemuck v1.7.3 [INFO] [stderr] Downloaded wayland-sys v0.29.2 [INFO] [stderr] Downloaded wayland-scanner v0.29.2 [INFO] [stderr] Downloaded egui v0.16.1 [INFO] [stderr] Downloaded smithay-client-toolkit v0.15.3 [INFO] [stderr] Downloaded gif v0.11.3 [INFO] [stderr] Downloaded wayland-client v0.29.2 [INFO] [stderr] Downloaded memmap2 v0.3.1 [INFO] [stderr] Downloaded xcursor v0.3.4 [INFO] [stderr] Downloaded winit v0.26.0 [INFO] [stderr] Downloaded wayland-egl v0.29.2 [INFO] [stderr] Downloaded epaint v0.16.0 [INFO] [stderr] Downloaded glium v0.31.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-20/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-20/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:ac0d0aa6ec8ed129e241004a6179c99fa0d2616f50ba759c5b60bd26d0fafa02" "/opt/rustwide/cargo-home/bin/cargo" "+43d9f3859e0204e764161ee085a360274b5f3e9a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6f27846050ece46883d94351a1e13bc69aa06444db28ef811cecedfd9b51d308 [INFO] running `Command { std: "docker" "start" "-a" "6f27846050ece46883d94351a1e13bc69aa06444db28ef811cecedfd9b51d308", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6f27846050ece46883d94351a1e13bc69aa06444db28ef811cecedfd9b51d308", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6f27846050ece46883d94351a1e13bc69aa06444db28ef811cecedfd9b51d308", kill_on_drop: false }` [INFO] [stdout] 6f27846050ece46883d94351a1e13bc69aa06444db28ef811cecedfd9b51d308 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-20/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-20/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:ac0d0aa6ec8ed129e241004a6179c99fa0d2616f50ba759c5b60bd26d0fafa02" "/opt/rustwide/cargo-home/bin/cargo" "+43d9f3859e0204e764161ee085a360274b5f3e9a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 586a23907d27a40df2edb8e4b0dcdb378c9d96db266c0f548119bc8841213493 [INFO] running `Command { std: "docker" "start" "-a" "586a23907d27a40df2edb8e4b0dcdb378c9d96db266c0f548119bc8841213493", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling libc v0.2.112 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling xml-rs v0.8.4 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling pkg-config v0.3.24 [INFO] [stderr] Compiling proc-macro2 v1.0.36 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Checking once_cell v1.9.0 [INFO] [stderr] Checking smallvec v1.7.0 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling khronos_api v3.1.0 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Checking downcast-rs v1.2.0 [INFO] [stderr] Checking scoped-tls v1.0.0 [INFO] [stderr] Checking minimal-lexical v0.2.1 [INFO] [stderr] Compiling crossbeam-utils v0.8.5 [INFO] [stderr] Compiling parking_lot_core v0.8.5 [INFO] [stderr] Checking ttf-parser v0.14.0 [INFO] [stderr] Compiling crossbeam-epoch v0.9.5 [INFO] [stderr] Checking ab_glyph_rasterizer v0.1.5 [INFO] [stderr] Checking adler v1.0.2 [INFO] [stderr] Checking cty v0.2.2 [INFO] [stderr] Compiling winit v0.26.0 [INFO] [stderr] Compiling rayon-core v1.9.1 [INFO] [stderr] Checking atomic_refcell v0.1.8 [INFO] [stderr] Checking percent-encoding v2.1.0 [INFO] [stderr] Checking emath v0.16.0 [INFO] [stderr] Compiling cc v1.0.72 [INFO] [stderr] Checking nohash-hasher v0.2.0 [INFO] [stderr] Checking gimli v0.26.1 [INFO] [stderr] Compiling crc32fast v1.3.0 [INFO] [stderr] Checking rustc-demangle v0.1.21 [INFO] [stderr] Checking adler32 v1.2.0 [INFO] [stderr] Checking either v1.6.1 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Checking webbrowser v0.5.5 [INFO] [stderr] Checking takeable-option v0.5.0 [INFO] [stderr] Checking weezl v0.1.5 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Checking color_quant v1.1.0 [INFO] [stderr] Checking bytemuck v1.7.3 [INFO] [stderr] Checking scoped_threadpool v0.1.9 [INFO] [stderr] Checking raw-window-handle v0.4.2 [INFO] [stderr] Checking libloading v0.7.2 [INFO] [stderr] Checking instant v0.1.12 [INFO] [stderr] Checking deflate v0.8.6 [INFO] [stderr] Checking miniz_oxide v0.3.7 [INFO] [stderr] Checking dlib v0.5.0 [INFO] [stderr] Checking lock_api v0.4.5 [INFO] [stderr] Checking gif v0.11.3 [INFO] [stderr] Compiling nom v7.1.0 [INFO] [stderr] Compiling ahash v0.7.6 [INFO] [stderr] Checking crossbeam-channel v0.5.1 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling rayon v1.5.1 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling num-rational v0.3.2 [INFO] [stderr] Compiling num-iter v0.1.42 [INFO] [stderr] Compiling wayland-sys v0.29.2 [INFO] [stderr] Compiling smithay-client-toolkit v0.15.3 [INFO] [stderr] Compiling x11-dl v2.19.1 [INFO] [stderr] Checking object v0.27.1 [INFO] [stderr] Compiling backtrace v0.3.63 [INFO] [stderr] Compiling gl_generator v0.14.0 [INFO] [stderr] Checking png v0.16.8 [INFO] [stderr] Checking xcursor v0.3.4 [INFO] [stderr] Compiling quick-xml v0.22.0 [INFO] [stderr] Compiling quote v1.0.14 [INFO] [stderr] Checking owned_ttf_parser v0.14.0 [INFO] [stderr] Checking ab_glyph v0.2.13 [INFO] [stderr] Checking crossbeam-deque v0.8.1 [INFO] [stderr] Compiling wayland-scanner v0.29.2 [INFO] [stderr] Checking addr2line v0.17.0 [INFO] [stderr] Compiling xcb v0.10.1 [INFO] [stderr] Checking nix v0.22.0 [INFO] [stderr] Checking memmap2 v0.3.1 [INFO] [stderr] Checking getrandom v0.2.3 [INFO] [stderr] Checking mio v0.8.0 [INFO] [stderr] Checking num_cpus v1.13.1 [INFO] [stderr] Checking shared_library v0.1.9 [INFO] [stderr] Compiling glutin_egl_sys v0.1.5 [INFO] [stderr] Compiling glutin_glx_sys v0.1.7 [INFO] [stderr] Compiling glium v0.31.0 [INFO] [stderr] Checking osmesa-sys v0.1.2 [INFO] [stderr] Checking parking_lot v0.11.2 [INFO] [stderr] Compiling wayland-client v0.29.2 [INFO] [stderr] Compiling wayland-protocols v0.29.2 [INFO] [stderr] Checking epaint v0.16.0 [INFO] [stderr] Checking egui v0.16.1 [INFO] [stderr] Checking epi v0.16.0 [INFO] [stderr] Checking jpeg-decoder v0.1.22 [INFO] [stderr] Checking tiff v0.6.1 [INFO] [stderr] Checking image v0.23.14 [INFO] [stderr] Checking wayland-commons v0.29.2 [INFO] [stderr] Checking calloop v0.9.3 [INFO] [stderr] Checking wayland-cursor v0.29.2 [INFO] [stderr] Checking wayland-egl v0.29.2 [INFO] [stderr] Checking x11-clipboard v0.5.3 [INFO] [stderr] Checking smithay-clipboard v0.6.5 [INFO] [stderr] Checking copypasta v0.7.1 [INFO] [stderr] Checking glutin v0.28.0 [INFO] [stderr] Checking egui-winit v0.16.0 [INFO] [stderr] Checking egui_glium v0.16.0 [INFO] [stderr] Checking eframe v0.16.0 [INFO] [stderr] Checking ray-tracer v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `img` [INFO] [stdout] --> src/app.rs:184:30 [INFO] [stdout] | [INFO] [stdout] 184 | if let Some((img, tex)) = self.last_preview { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_img` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `arc_object` [INFO] [stdout] --> src/app.rs:336:21 [INFO] [stdout] | [INFO] [stdout] 336 | if let Some(arc_object) = self.get_active_object() { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_arc_object` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ui` [INFO] [stdout] --> src/app.rs:391:41 [INFO] [stdout] | [INFO] [stdout] 391 | ui.menu_button("Edit", |ui| { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_ui` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ui` [INFO] [stdout] --> src/app.rs:394:41 [INFO] [stdout] | [INFO] [stdout] 394 | ui.menu_button("View", |ui| { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_ui` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/app.rs:66:13 [INFO] [stdout] | [INFO] [stdout] 66 | let mut preview = new.preview_camera.clone(); [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/app.rs:445:33 [INFO] [stdout] | [INFO] [stdout] 445 | ... let mut world_objects = self.world.mut_objects(); [INFO] [stdout] | ----^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `t_value` [INFO] [stdout] --> src/scenes/world.rs:198:5 [INFO] [stdout] | [INFO] [stdout] 198 | t_value: f64, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `Computations` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/scenes/world.rs:195:16 [INFO] [stdout] | [INFO] [stdout] 195 | #[derive(Copy, Clone)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `point` [INFO] [stdout] --> src/scenes/world.rs:199:5 [INFO] [stdout] | [INFO] [stdout] 199 | point: Tuple, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Computations` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/scenes/world.rs:195:16 [INFO] [stdout] | [INFO] [stdout] 195 | #[derive(Copy, Clone)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `inside` [INFO] [stdout] --> src/scenes/world.rs:202:5 [INFO] [stdout] | [INFO] [stdout] 202 | inside: bool, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Computations` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/scenes/world.rs:195:16 [INFO] [stdout] | [INFO] [stdout] 195 | #[derive(Copy, Clone)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `light` [INFO] [stdout] --> src/scenes/lights.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | light: LightType [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Light` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/scenes/lights.rs:3:16 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(Copy, Clone, Debug)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `Option::::insert` that must be used [INFO] [stdout] --> src/app.rs:105:25 [INFO] [stdout] | [INFO] [stdout] 105 | img_lock.insert(image); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: if you intended to set a value, consider assignment instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/app.rs:113:9 [INFO] [stdout] | [INFO] [stdout] 113 | self.world_sender.send(world); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/app.rs:200:9 [INFO] [stdout] | [INFO] [stdout] 200 | self.world_sender.send(wd); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/app.rs:434:37 [INFO] [stdout] | [INFO] [stdout] 434 | ... group_lock.add_object_holder(object.clone()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/app.rs:456:33 [INFO] [stdout] | [INFO] [stdout] 456 | ... active_group.remove_from_group(remove); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 15 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `img` [INFO] [stdout] --> src/app.rs:184:30 [INFO] [stdout] | [INFO] [stdout] 184 | if let Some((img, tex)) = self.last_preview { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_img` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `arc_object` [INFO] [stdout] --> src/app.rs:336:21 [INFO] [stdout] | [INFO] [stdout] 336 | if let Some(arc_object) = self.get_active_object() { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_arc_object` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ui` [INFO] [stdout] --> src/app.rs:391:41 [INFO] [stdout] | [INFO] [stdout] 391 | ui.menu_button("Edit", |ui| { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_ui` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ui` [INFO] [stdout] --> src/app.rs:394:41 [INFO] [stdout] | [INFO] [stdout] 394 | ui.menu_button("View", |ui| { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_ui` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/app.rs:66:13 [INFO] [stdout] | [INFO] [stdout] 66 | let mut preview = new.preview_camera.clone(); [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/app.rs:445:33 [INFO] [stdout] | [INFO] [stdout] 445 | ... let mut world_objects = self.world.mut_objects(); [INFO] [stdout] | ----^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/scenes/world.rs:405:13 [INFO] [stdout] | [INFO] [stdout] 405 | let mut w = World::new_default(); [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/scenes/world.rs:457:13 [INFO] [stdout] | [INFO] [stdout] 457 | let mut w = World::new_default(); [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/scenes/world.rs:571:13 [INFO] [stdout] | [INFO] [stdout] 571 | let mut w = World::new_default(); [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/scenes/world.rs:619:13 [INFO] [stdout] | [INFO] [stdout] 619 | let mut w = World::new_default(); [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `t_value` [INFO] [stdout] --> src/scenes/world.rs:198:5 [INFO] [stdout] | [INFO] [stdout] 198 | t_value: f64, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `Computations` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/scenes/world.rs:195:16 [INFO] [stdout] | [INFO] [stdout] 195 | #[derive(Copy, Clone)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `light` [INFO] [stdout] --> src/scenes/lights.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | light: LightType [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Light` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/scenes/lights.rs:3:16 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(Copy, Clone, Debug)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (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/shapes/groups.rs:187:9 [INFO] [stdout] | [INFO] [stdout] 187 | g.add_object(s); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `Option::::insert` that must be used [INFO] [stdout] --> src/app.rs:105:25 [INFO] [stdout] | [INFO] [stdout] 105 | img_lock.insert(image); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: if you intended to set a value, consider assignment instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/app.rs:113:9 [INFO] [stdout] | [INFO] [stdout] 113 | self.world_sender.send(world); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/app.rs:200:9 [INFO] [stdout] | [INFO] [stdout] 200 | self.world_sender.send(wd); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/app.rs:434:37 [INFO] [stdout] | [INFO] [stdout] 434 | ... group_lock.add_object_holder(object.clone()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/app.rs:456:33 [INFO] [stdout] | [INFO] [stdout] 456 | ... active_group.remove_from_group(remove); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 18 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 39.70s [INFO] running `Command { std: "docker" "inspect" "586a23907d27a40df2edb8e4b0dcdb378c9d96db266c0f548119bc8841213493", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "586a23907d27a40df2edb8e4b0dcdb378c9d96db266c0f548119bc8841213493", kill_on_drop: false }` [INFO] [stdout] 586a23907d27a40df2edb8e4b0dcdb378c9d96db266c0f548119bc8841213493