[INFO] cloning repository https://github.com/lprib/raymarcher [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/lprib/raymarcher" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flprib%2Fraymarcher", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flprib%2Fraymarcher'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 20fea39d7a0042b9cef7de674a35940f9e505d5c [INFO] building lprib/raymarcher against try#9a3ef2cd3ecaae3c6ef59768612837d797602a6d for pr-137044-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flprib%2Fraymarcher" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/lprib/raymarcher on toolchain 9a3ef2cd3ecaae3c6ef59768612837d797602a6d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9a3ef2cd3ecaae3c6ef59768612837d797602a6d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/lprib/raymarcher [INFO] finished tweaking git repo https://github.com/lprib/raymarcher [INFO] tweaked toml for git repo https://github.com/lprib/raymarcher written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/lprib/raymarcher 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" "+9a3ef2cd3ecaae3c6ef59768612837d797602a6d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+9a3ef2cd3ecaae3c6ef59768612837d797602a6d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e98f8e94265a5d9142ea55412ce3ffdfbe30f29af55ddda277aa143a01b00d37 [INFO] running `Command { std: "docker" "start" "-a" "e98f8e94265a5d9142ea55412ce3ffdfbe30f29af55ddda277aa143a01b00d37", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e98f8e94265a5d9142ea55412ce3ffdfbe30f29af55ddda277aa143a01b00d37", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e98f8e94265a5d9142ea55412ce3ffdfbe30f29af55ddda277aa143a01b00d37", kill_on_drop: false }` [INFO] [stdout] e98f8e94265a5d9142ea55412ce3ffdfbe30f29af55ddda277aa143a01b00d37 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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" "-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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+9a3ef2cd3ecaae3c6ef59768612837d797602a6d" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 63a14f2cd2fcae13953af7b73e374a605fddc9f41b8402e41c2d58415b3baf79 [INFO] running `Command { std: "docker" "start" "-a" "63a14f2cd2fcae13953af7b73e374a605fddc9f41b8402e41c2d58415b3baf79", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.0 [INFO] [stderr] Compiling libc v0.2.71 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling proc-macro2 v1.0.18 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Compiling rand_core v0.4.2 [INFO] [stderr] Compiling autocfg v0.1.7 [INFO] [stderr] Compiling libloading v0.6.2 [INFO] [stderr] Compiling xml-rs v0.8.3 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling pkg-config v0.3.17 [INFO] [stderr] Compiling getrandom v0.1.14 [INFO] [stderr] Compiling nix v0.17.0 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling void v1.0.2 [INFO] [stderr] Compiling once_cell v1.4.0 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling smallvec v1.4.0 [INFO] [stderr] Compiling crc32fast v1.2.0 [INFO] [stderr] Compiling scoped-tls v1.0.0 [INFO] [stderr] Compiling downcast-rs v1.1.1 [INFO] [stderr] Compiling adler32 v1.0.4 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling rand_core v0.3.1 [INFO] [stderr] Compiling ppv-lite86 v0.2.8 [INFO] [stderr] Compiling rayon-core v1.7.0 [INFO] [stderr] Compiling cc v1.0.54 [INFO] [stderr] Compiling rand_hc v0.1.0 [INFO] [stderr] Compiling rand_isaac v0.1.1 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling num-traits v0.2.11 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling memoffset v0.5.4 [INFO] [stderr] Compiling dlib v0.4.2 [INFO] [stderr] Compiling crossbeam-epoch v0.8.2 [INFO] [stderr] Compiling num-integer v0.1.42 [INFO] [stderr] Compiling wayland-sys v0.25.0 [INFO] [stderr] Compiling xkbcommon-sys v0.7.4 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling x11-dl v2.18.5 [INFO] [stderr] Compiling num-rational v0.2.4 [INFO] [stderr] Compiling num-iter v0.1.40 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling num-complex v0.2.4 [INFO] [stderr] Compiling cast v0.2.3 [INFO] [stderr] Compiling rand_xorshift v0.1.1 [INFO] [stderr] Compiling inflate v0.4.5 [INFO] [stderr] Compiling rand_jitter v0.1.4 [INFO] [stderr] Compiling deflate v0.8.4 [INFO] [stderr] Compiling cgmath v0.17.0 [INFO] [stderr] Compiling remove_dir_all v0.5.2 [INFO] [stderr] Compiling unicode-width v0.1.7 [INFO] [stderr] Compiling either v1.5.3 [INFO] [stderr] Compiling quote v1.0.6 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling ansi_term v0.11.0 [INFO] [stderr] Compiling bytemuck v1.2.0 [INFO] [stderr] Compiling wayland-scanner v0.25.0 [INFO] [stderr] Compiling vec_map v0.8.2 [INFO] [stderr] Compiling crossbeam-queue v0.2.2 [INFO] [stderr] Compiling minifb v0.16.0 [INFO] [stderr] Compiling crossbeam-deque v0.7.3 [INFO] [stderr] Compiling approx v0.3.2 [INFO] [stderr] Compiling png v0.16.4 [INFO] [stderr] Compiling image v0.23.4 [INFO] [stderr] Compiling rand_os v0.1.3 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling raw-window-handle v0.3.3 [INFO] [stderr] Compiling time v0.1.43 [INFO] [stderr] Compiling clap v2.33.1 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling wayland-client v0.25.0 [INFO] [stderr] Compiling wayland-protocols v0.25.0 [INFO] [stderr] Compiling xkb v0.2.1 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling rayon v1.3.0 [INFO] [stderr] Compiling tempfile v3.1.0 [INFO] [stderr] Compiling wayland-commons v0.25.0 [INFO] [stderr] Compiling wayland-cursor v0.25.0 [INFO] [stderr] Compiling marcher v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Mandelbulb` [INFO] [stdout] --> src/main.rs:1:41 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::render_3d::fractals::{Julia, Mandelbulb}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::render_3d::scene_object::Sphere` [INFO] [stdout] --> src/main.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::render_3d::scene_object::Sphere; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ImageRenderConfiguration` [INFO] [stdout] --> src/render_3d/mod.rs:4:48 [INFO] [stdout] | [INFO] [stdout] 4 | use raymarcher::{RayMarcher, RayMarcherConfig, ImageRenderConfiguration}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Sphere` [INFO] [stdout] --> src/render_3d/raymarcher.rs:3:27 [INFO] [stdout] | [INFO] [stdout] 3 | use super::scene_object::{Sphere, SceneObject}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::fractals::Julia` [INFO] [stdout] --> src/render_3d/raymarcher.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use super::fractals::Julia; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `cgmath::Quaternion` [INFO] [stdout] --> src/render_3d/raymarcher.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use cgmath::Quaternion; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::process::exit` [INFO] [stdout] --> src/render_3d/raymarcher.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use std::process::exit; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `mouse_plane_x` [INFO] [stdout] --> src/render_2d/quaternion_julia.rs:104:9 [INFO] [stdout] | [INFO] [stdout] 104 | let mouse_plane_x = mouse_x / super::WIDTH as f64; [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_mouse_plane_x` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `mouse_plane_y` [INFO] [stdout] --> src/render_2d/quaternion_julia.rs:105:9 [INFO] [stdout] | [INFO] [stdout] 105 | let mouse_plane_y = mouse_y / super::HEIGHT as f64; [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_mouse_plane_y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `len` [INFO] [stdout] --> src/render_3d/raymarcher.rs:58:21 [INFO] [stdout] | [INFO] [stdout] 58 | let len = (len / 2.0).powi(2); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_len` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `iterations` is assigned to, but never used [INFO] [stdout] --> src/render_3d/ray.rs:16:13 [INFO] [stdout] | [INFO] [stdout] 16 | let mut iterations = 0u32; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_iterations` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `t` [INFO] [stdout] --> src/render_3d/fractals.rs:35:25 [INFO] [stdout] | [INFO] [stdout] 35 | fn get_color(&self, t: f64) -> Vec3 { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_t` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/render_3d/fractals.rs:84:13 [INFO] [stdout] | [INFO] [stdout] 84 | for i in 0..MAX_ITERS { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `t` [INFO] [stdout] --> src/render_3d/fractals.rs:78:40 [INFO] [stdout] | [INFO] [stdout] 78 | fn distance_to(&self, point: Vec3, t: f64) -> f64 { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_t` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `t` [INFO] [stdout] --> src/render_3d/fractals.rs:106:25 [INFO] [stdout] | [INFO] [stdout] 106 | fn get_color(&self, t: f64) -> Vec3 { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_t` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `width` [INFO] [stdout] --> src/main.rs:203:13 [INFO] [stdout] | [INFO] [stdout] 203 | let width = matches.value_of("width").into_u32() as usize; [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_width` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `height` [INFO] [stdout] --> src/main.rs:204:13 [INFO] [stdout] | [INFO] [stdout] 204 | let height = matches.value_of("height").into_u32() as usize; [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_height` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/main.rs:220:19 [INFO] [stdout] | [INFO] [stdout] 220 | .map_err(|e| "must be a valid integer")?; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `C` is never used [INFO] [stdout] --> src/render_2d/julia_distance.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | static C: Complex64 = Complex64::new(-0.1, 0.651); [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `MAX_JULIA_ITERS` is never used [INFO] [stdout] --> src/render_2d/julia_distance.rs:6:8 [INFO] [stdout] | [INFO] [stdout] 6 | static MAX_JULIA_ITERS: i32 = 500; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `MAX_RAYMARCH_ITERS` is never used [INFO] [stdout] --> src/render_2d/julia_distance.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 7 | static MAX_RAYMARCH_ITERS: i32 = 500; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `RAYMARCH_HIT_THRESHOLD` is never used [INFO] [stdout] --> src/render_2d/julia_distance.rs:8:8 [INFO] [stdout] | [INFO] [stdout] 8 | static RAYMARCH_HIT_THRESHOLD: f64 = 0.01; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `POINTS` is never used [INFO] [stdout] --> src/render_2d/julia_distance.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 10 | static mut POINTS: Vec = Vec::new(); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `RED` is never used [INFO] [stdout] --> src/render_2d/julia_distance.rs:11:8 [INFO] [stdout] | [INFO] [stdout] 11 | static RED: Vec3 = Vec3 { x: 1.0, y: 0.0, z: 0.0 }; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `BLUE` is never used [INFO] [stdout] --> src/render_2d/julia_distance.rs:12:8 [INFO] [stdout] | [INFO] [stdout] 12 | static BLUE: Vec3 = Vec3 { x: 0.0, y: 0.0, z: 1.0 }; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `draw` is never used [INFO] [stdout] --> src/render_2d/julia_distance.rs:14:8 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn draw(frame: &mut [u32]) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `dist_estimate` is never used [INFO] [stdout] --> src/render_2d/julia_distance.rs:54:8 [INFO] [stdout] | [INFO] [stdout] 54 | pub fn dist_estimate(zx: f64, zy: f64) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `draw_ray2d` is never used [INFO] [stdout] --> src/render_2d/julia_distance.rs:78:8 [INFO] [stdout] | [INFO] [stdout] 78 | pub fn draw_ray2d(frame: &mut [u32], mouse_x: f64, mouse_y: f64) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `draw_point` is never used [INFO] [stdout] --> src/render_2d/julia_distance.rs:127:4 [INFO] [stdout] | [INFO] [stdout] 127 | fn draw_point(frame: &mut [u32], x: f64, y: f64, color: Vec3) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `screen_to_complex` is never used [INFO] [stdout] --> src/render_2d/julia_distance.rs:133:4 [INFO] [stdout] | [INFO] [stdout] 133 | fn screen_to_complex(x: f64, y: f64) -> (f64, f64) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `C` is never used [INFO] [stdout] --> src/render_2d/quaternion_julia.rs:6:8 [INFO] [stdout] | [INFO] [stdout] 6 | static C: Quaternion64 = Quaternion::new(-0.2,0.6,0.2,0.2); [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `JULIA_DISTANCE_MULTIPLIER` is never used [INFO] [stdout] --> src/render_2d/quaternion_julia.rs:11:7 [INFO] [stdout] | [INFO] [stdout] 11 | const JULIA_DISTANCE_MULTIPLIER: f64 = 100.0; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `MAX_RAYMARCH_ITERS` is never used [INFO] [stdout] --> src/render_2d/quaternion_julia.rs:13:8 [INFO] [stdout] | [INFO] [stdout] 13 | static MAX_RAYMARCH_ITERS: i32 = 50; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `RAYMARCH_HIT_THRESHOLD` is never used [INFO] [stdout] --> src/render_2d/quaternion_julia.rs:14:8 [INFO] [stdout] | [INFO] [stdout] 14 | static RAYMARCH_HIT_THRESHOLD: f64 = 1E-2; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_z` is never used [INFO] [stdout] --> src/render_2d/quaternion_julia.rs:16:4 [INFO] [stdout] | [INFO] [stdout] 16 | fn get_z(x: f64, y: f64, px: f64, py: f64) -> Quaternion64 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_val_dist_estimate` is never used [INFO] [stdout] --> src/render_2d/quaternion_julia.rs:38:4 [INFO] [stdout] | [INFO] [stdout] 38 | fn get_val_dist_estimate(z: Quaternion64) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_val_mandelbrot` is never used [INFO] [stdout] --> src/render_2d/quaternion_julia.rs:67:4 [INFO] [stdout] | [INFO] [stdout] 67 | fn get_val_mandelbrot(pos: Quaternion64) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `trace_ray` is never used [INFO] [stdout] --> src/render_2d/quaternion_julia.rs:103:4 [INFO] [stdout] | [INFO] [stdout] 103 | fn trace_ray(frame: &mut [u32], mouse_x: f64, mouse_y: f64) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `screen_to_complex` is never used [INFO] [stdout] --> src/render_2d/quaternion_julia.rs:133:4 [INFO] [stdout] | [INFO] [stdout] 133 | fn screen_to_complex(x: f64, y: f64) -> (f64, f64) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `draw_point` is never used [INFO] [stdout] --> src/render_2d/quaternion_julia.rs:139:4 [INFO] [stdout] | [INFO] [stdout] 139 | fn draw_point(frame: &mut [u32], x: f64, y: f64, color: Vec3) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `s2c` is never used [INFO] [stdout] --> src/render_2d/quaternion_julia.rs:145:4 [INFO] [stdout] | [INFO] [stdout] 145 | fn s2c(x: f64) -> f64 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `c2s` is never used [INFO] [stdout] --> src/render_2d/quaternion_julia.rs:149:4 [INFO] [stdout] | [INFO] [stdout] 149 | fn c2s(c: f64) -> f64 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `distance_to2` is never used [INFO] [stdout] --> src/render_2d/quaternion_julia.rs:153:4 [INFO] [stdout] | [INFO] [stdout] 153 | fn distance_to2(point: Vec3) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `render_to_image` and `render_images` are never used [INFO] [stdout] --> src/render_3d/raymarcher.rs:96:8 [INFO] [stdout] | [INFO] [stdout] 16 | impl RayMarcher { [INFO] [stdout] | ---------------------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 96 | fn render_to_image(&self, file: &Path, (width, height): (usize, usize), t: f64) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 122 | pub fn render_images String>(&self, config: ImageRenderConfiguration) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ImageRenderConfiguration` is never constructed [INFO] [stdout] --> src/render_3d/raymarcher.rs:167:12 [INFO] [stdout] | [INFO] [stdout] 167 | pub struct ImageRenderConfiguration String> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MAX_STEPS` is never used [INFO] [stdout] --> src/render_3d/ray.rs:4:7 [INFO] [stdout] | [INFO] [stdout] 4 | const MAX_STEPS: u32 = 200; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `len` is never read [INFO] [stdout] --> src/render_3d/ray.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct RayResult { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] 9 | pub len: f64, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RayResult` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `size` is never read [INFO] [stdout] --> src/render_3d/fractals.rs:42:9 [INFO] [stdout] | [INFO] [stdout] 40 | pub struct Mandelbrot { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 41 | pub w: f64, [INFO] [stdout] 42 | pub size: f64, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/render_2d/julia_distance.rs:118:13 [INFO] [stdout] | [INFO] [stdout] 118 | POINTS.push(current_point); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: `#[warn(static_mut_refs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/render_2d/julia_distance.rs:121:18 [INFO] [stdout] | [INFO] [stdout] 121 | for p in POINTS.iter() { [INFO] [stdout] | ^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: path statement with no effect [INFO] [stdout] --> src/render_2d/quaternion_julia.rs:63:5 [INFO] [stdout] | [INFO] [stdout] 63 | log_dist; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(path_statements)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 23.27s [INFO] running `Command { std: "docker" "inspect" "63a14f2cd2fcae13953af7b73e374a605fddc9f41b8402e41c2d58415b3baf79", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "63a14f2cd2fcae13953af7b73e374a605fddc9f41b8402e41c2d58415b3baf79", kill_on_drop: false }` [INFO] [stdout] 63a14f2cd2fcae13953af7b73e374a605fddc9f41b8402e41c2d58415b3baf79 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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" "-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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+9a3ef2cd3ecaae3c6ef59768612837d797602a6d" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b375054365004057ae52f88c2ed48ebbd2335ab8e4e31db84f4baca29883a812 [INFO] running `Command { std: "docker" "start" "-a" "b375054365004057ae52f88c2ed48ebbd2335ab8e4e31db84f4baca29883a812", kill_on_drop: false }` [INFO] [stderr] Compiling marcher v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Mandelbulb` [INFO] [stdout] --> src/main.rs:1:41 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::render_3d::fractals::{Julia, Mandelbulb}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::render_3d::scene_object::Sphere` [INFO] [stdout] --> src/main.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::render_3d::scene_object::Sphere; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ImageRenderConfiguration` [INFO] [stdout] --> src/render_3d/mod.rs:4:48 [INFO] [stdout] | [INFO] [stdout] 4 | use raymarcher::{RayMarcher, RayMarcherConfig, ImageRenderConfiguration}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Sphere` [INFO] [stdout] --> src/render_3d/raymarcher.rs:3:27 [INFO] [stdout] | [INFO] [stdout] 3 | use super::scene_object::{Sphere, SceneObject}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::fractals::Julia` [INFO] [stdout] --> src/render_3d/raymarcher.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use super::fractals::Julia; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `cgmath::Quaternion` [INFO] [stdout] --> src/render_3d/raymarcher.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use cgmath::Quaternion; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::process::exit` [INFO] [stdout] --> src/render_3d/raymarcher.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use std::process::exit; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `mouse_plane_x` [INFO] [stdout] --> src/render_2d/quaternion_julia.rs:104:9 [INFO] [stdout] | [INFO] [stdout] 104 | let mouse_plane_x = mouse_x / super::WIDTH as f64; [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_mouse_plane_x` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `mouse_plane_y` [INFO] [stdout] --> src/render_2d/quaternion_julia.rs:105:9 [INFO] [stdout] | [INFO] [stdout] 105 | let mouse_plane_y = mouse_y / super::HEIGHT as f64; [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_mouse_plane_y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `len` [INFO] [stdout] --> src/render_3d/raymarcher.rs:58:21 [INFO] [stdout] | [INFO] [stdout] 58 | let len = (len / 2.0).powi(2); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_len` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `iterations` is assigned to, but never used [INFO] [stdout] --> src/render_3d/ray.rs:16:13 [INFO] [stdout] | [INFO] [stdout] 16 | let mut iterations = 0u32; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_iterations` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `t` [INFO] [stdout] --> src/render_3d/fractals.rs:35:25 [INFO] [stdout] | [INFO] [stdout] 35 | fn get_color(&self, t: f64) -> Vec3 { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_t` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/render_3d/fractals.rs:84:13 [INFO] [stdout] | [INFO] [stdout] 84 | for i in 0..MAX_ITERS { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `t` [INFO] [stdout] --> src/render_3d/fractals.rs:78:40 [INFO] [stdout] | [INFO] [stdout] 78 | fn distance_to(&self, point: Vec3, t: f64) -> f64 { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_t` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `t` [INFO] [stdout] --> src/render_3d/fractals.rs:106:25 [INFO] [stdout] | [INFO] [stdout] 106 | fn get_color(&self, t: f64) -> Vec3 { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_t` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `width` [INFO] [stdout] --> src/main.rs:203:13 [INFO] [stdout] | [INFO] [stdout] 203 | let width = matches.value_of("width").into_u32() as usize; [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_width` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `height` [INFO] [stdout] --> src/main.rs:204:13 [INFO] [stdout] | [INFO] [stdout] 204 | let height = matches.value_of("height").into_u32() as usize; [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_height` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/main.rs:220:19 [INFO] [stdout] | [INFO] [stdout] 220 | .map_err(|e| "must be a valid integer")?; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `C` is never used [INFO] [stdout] --> src/render_2d/julia_distance.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | static C: Complex64 = Complex64::new(-0.1, 0.651); [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `MAX_JULIA_ITERS` is never used [INFO] [stdout] --> src/render_2d/julia_distance.rs:6:8 [INFO] [stdout] | [INFO] [stdout] 6 | static MAX_JULIA_ITERS: i32 = 500; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `MAX_RAYMARCH_ITERS` is never used [INFO] [stdout] --> src/render_2d/julia_distance.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 7 | static MAX_RAYMARCH_ITERS: i32 = 500; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `RAYMARCH_HIT_THRESHOLD` is never used [INFO] [stdout] --> src/render_2d/julia_distance.rs:8:8 [INFO] [stdout] | [INFO] [stdout] 8 | static RAYMARCH_HIT_THRESHOLD: f64 = 0.01; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `POINTS` is never used [INFO] [stdout] --> src/render_2d/julia_distance.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 10 | static mut POINTS: Vec = Vec::new(); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `RED` is never used [INFO] [stdout] --> src/render_2d/julia_distance.rs:11:8 [INFO] [stdout] | [INFO] [stdout] 11 | static RED: Vec3 = Vec3 { x: 1.0, y: 0.0, z: 0.0 }; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `BLUE` is never used [INFO] [stdout] --> src/render_2d/julia_distance.rs:12:8 [INFO] [stdout] | [INFO] [stdout] 12 | static BLUE: Vec3 = Vec3 { x: 0.0, y: 0.0, z: 1.0 }; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `draw` is never used [INFO] [stdout] --> src/render_2d/julia_distance.rs:14:8 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn draw(frame: &mut [u32]) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `dist_estimate` is never used [INFO] [stdout] --> src/render_2d/julia_distance.rs:54:8 [INFO] [stdout] | [INFO] [stdout] 54 | pub fn dist_estimate(zx: f64, zy: f64) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `draw_ray2d` is never used [INFO] [stdout] --> src/render_2d/julia_distance.rs:78:8 [INFO] [stdout] | [INFO] [stdout] 78 | pub fn draw_ray2d(frame: &mut [u32], mouse_x: f64, mouse_y: f64) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `draw_point` is never used [INFO] [stdout] --> src/render_2d/julia_distance.rs:127:4 [INFO] [stdout] | [INFO] [stdout] 127 | fn draw_point(frame: &mut [u32], x: f64, y: f64, color: Vec3) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `screen_to_complex` is never used [INFO] [stdout] --> src/render_2d/julia_distance.rs:133:4 [INFO] [stdout] | [INFO] [stdout] 133 | fn screen_to_complex(x: f64, y: f64) -> (f64, f64) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `C` is never used [INFO] [stdout] --> src/render_2d/quaternion_julia.rs:6:8 [INFO] [stdout] | [INFO] [stdout] 6 | static C: Quaternion64 = Quaternion::new(-0.2,0.6,0.2,0.2); [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `JULIA_DISTANCE_MULTIPLIER` is never used [INFO] [stdout] --> src/render_2d/quaternion_julia.rs:11:7 [INFO] [stdout] | [INFO] [stdout] 11 | const JULIA_DISTANCE_MULTIPLIER: f64 = 100.0; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `MAX_RAYMARCH_ITERS` is never used [INFO] [stdout] --> src/render_2d/quaternion_julia.rs:13:8 [INFO] [stdout] | [INFO] [stdout] 13 | static MAX_RAYMARCH_ITERS: i32 = 50; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `RAYMARCH_HIT_THRESHOLD` is never used [INFO] [stdout] --> src/render_2d/quaternion_julia.rs:14:8 [INFO] [stdout] | [INFO] [stdout] 14 | static RAYMARCH_HIT_THRESHOLD: f64 = 1E-2; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_z` is never used [INFO] [stdout] --> src/render_2d/quaternion_julia.rs:16:4 [INFO] [stdout] | [INFO] [stdout] 16 | fn get_z(x: f64, y: f64, px: f64, py: f64) -> Quaternion64 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_val_dist_estimate` is never used [INFO] [stdout] --> src/render_2d/quaternion_julia.rs:38:4 [INFO] [stdout] | [INFO] [stdout] 38 | fn get_val_dist_estimate(z: Quaternion64) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_val_mandelbrot` is never used [INFO] [stdout] --> src/render_2d/quaternion_julia.rs:67:4 [INFO] [stdout] | [INFO] [stdout] 67 | fn get_val_mandelbrot(pos: Quaternion64) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `trace_ray` is never used [INFO] [stdout] --> src/render_2d/quaternion_julia.rs:103:4 [INFO] [stdout] | [INFO] [stdout] 103 | fn trace_ray(frame: &mut [u32], mouse_x: f64, mouse_y: f64) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `screen_to_complex` is never used [INFO] [stdout] --> src/render_2d/quaternion_julia.rs:133:4 [INFO] [stdout] | [INFO] [stdout] 133 | fn screen_to_complex(x: f64, y: f64) -> (f64, f64) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `draw_point` is never used [INFO] [stdout] --> src/render_2d/quaternion_julia.rs:139:4 [INFO] [stdout] | [INFO] [stdout] 139 | fn draw_point(frame: &mut [u32], x: f64, y: f64, color: Vec3) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `s2c` is never used [INFO] [stdout] --> src/render_2d/quaternion_julia.rs:145:4 [INFO] [stdout] | [INFO] [stdout] 145 | fn s2c(x: f64) -> f64 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `c2s` is never used [INFO] [stdout] --> src/render_2d/quaternion_julia.rs:149:4 [INFO] [stdout] | [INFO] [stdout] 149 | fn c2s(c: f64) -> f64 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `distance_to2` is never used [INFO] [stdout] --> src/render_2d/quaternion_julia.rs:153:4 [INFO] [stdout] | [INFO] [stdout] 153 | fn distance_to2(point: Vec3) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `render_to_image` and `render_images` are never used [INFO] [stdout] --> src/render_3d/raymarcher.rs:96:8 [INFO] [stdout] | [INFO] [stdout] 16 | impl RayMarcher { [INFO] [stdout] | ---------------------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 96 | fn render_to_image(&self, file: &Path, (width, height): (usize, usize), t: f64) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 122 | pub fn render_images String>(&self, config: ImageRenderConfiguration) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ImageRenderConfiguration` is never constructed [INFO] [stdout] --> src/render_3d/raymarcher.rs:167:12 [INFO] [stdout] | [INFO] [stdout] 167 | pub struct ImageRenderConfiguration String> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MAX_STEPS` is never used [INFO] [stdout] --> src/render_3d/ray.rs:4:7 [INFO] [stdout] | [INFO] [stdout] 4 | const MAX_STEPS: u32 = 200; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `len` is never read [INFO] [stdout] --> src/render_3d/ray.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct RayResult { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] 9 | pub len: f64, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RayResult` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `size` is never read [INFO] [stdout] --> src/render_3d/fractals.rs:42:9 [INFO] [stdout] | [INFO] [stdout] 40 | pub struct Mandelbrot { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 41 | pub w: f64, [INFO] [stdout] 42 | pub size: f64, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/render_2d/julia_distance.rs:118:13 [INFO] [stdout] | [INFO] [stdout] 118 | POINTS.push(current_point); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: `#[warn(static_mut_refs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/render_2d/julia_distance.rs:121:18 [INFO] [stdout] | [INFO] [stdout] 121 | for p in POINTS.iter() { [INFO] [stdout] | ^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: path statement with no effect [INFO] [stdout] --> src/render_2d/quaternion_julia.rs:63:5 [INFO] [stdout] | [INFO] [stdout] 63 | log_dist; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(path_statements)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.61s [INFO] running `Command { std: "docker" "inspect" "b375054365004057ae52f88c2ed48ebbd2335ab8e4e31db84f4baca29883a812", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b375054365004057ae52f88c2ed48ebbd2335ab8e4e31db84f4baca29883a812", kill_on_drop: false }` [INFO] [stdout] b375054365004057ae52f88c2ed48ebbd2335ab8e4e31db84f4baca29883a812