[INFO] cloning repository https://github.com/ThotuB/processing-rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ThotuB/processing-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FThotuB%2Fprocessing-rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FThotuB%2Fprocessing-rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 0e9011d4a9af7a31033f782fc09dcebc0c1a033e [INFO] checking ThotuB/processing-rust against master#84e729a59f216cc64755788a470f165429a731f4 for pr-123737-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FThotuB%2Fprocessing-rust" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/ThotuB/processing-rust on toolchain 84e729a59f216cc64755788a470f165429a731f4 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+84e729a59f216cc64755788a470f165429a731f4" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/ThotuB/processing-rust [INFO] finished tweaking git repo https://github.com/ThotuB/processing-rust [INFO] tweaked toml for git repo https://github.com/ThotuB/processing-rust written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/ThotuB/processing-rust 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" "+84e729a59f216cc64755788a470f165429a731f4" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded zune-core v0.4.12 [INFO] [stderr] Downloaded rand_xorshift v0.2.0 [INFO] [stderr] Downloaded bumpalo v3.15.0 [INFO] [stderr] Downloaded rust_hawktracer_normal_macro v0.4.1 [INFO] [stderr] Downloaded maybe-rayon v0.1.1 [INFO] [stderr] Downloaded loop9 v0.1.5 [INFO] [stderr] Downloaded memoffset v0.9.0 [INFO] [stderr] Downloaded num-integer v0.1.46 [INFO] [stderr] Downloaded num-derive v0.4.2 [INFO] [stderr] Downloaded avif-serialize v0.8.1 [INFO] [stderr] Downloaded half v2.4.0 [INFO] [stderr] Downloaded num-bigint v0.4.4 [INFO] [stderr] Downloaded libfuzzer-sys v0.3.5 [INFO] [stderr] Downloaded libfuzzer-sys v0.4.7 [INFO] [stderr] Downloaded winnow v0.6.5 [INFO] [stderr] Downloaded glium v0.34.0 [INFO] [stderr] Downloaded toml_edit v0.22.7 [INFO] [stderr] Downloaded syn v2.0.49 [INFO] [stderr] Downloaded rav1e v0.6.6 [INFO] [stderr] Downloaded rav1e v0.7.1 [INFO] [stderr] Downloaded rayon v1.9.0 [INFO] [stderr] Downloaded gif v0.13.1 [INFO] [stderr] Downloaded image-webp v0.1.0 [INFO] [stderr] Downloaded bitstream-io v1.10.0 [INFO] [stderr] Downloaded toml v0.5.11 [INFO] [stderr] Downloaded cargo-lock v8.0.3 [INFO] [stderr] Downloaded built v0.5.2 [INFO] [stderr] Downloaded arbitrary v1.3.2 [INFO] [stderr] Downloaded target-lexicon v0.12.14 [INFO] [stderr] Downloaded cfg-expr v0.15.7 [INFO] [stderr] Downloaded toml v0.8.11 [INFO] [stderr] Downloaded quick-error v2.0.1 [INFO] [stderr] Downloaded arbitrary v0.4.7 [INFO] [stderr] Downloaded arg_enum_proc_macro v0.3.4 [INFO] [stderr] Downloaded av1-grain v0.2.3 [INFO] [stderr] Downloaded noise v0.8.2 [INFO] [stderr] Downloaded bitstream-io v2.2.0 [INFO] [stderr] Downloaded built v0.7.1 [INFO] [stderr] Downloaded v_frame v0.3.8 [INFO] [stderr] Downloaded ravif v0.11.4 [INFO] [stderr] Downloaded zune-jpeg v0.4.11 [INFO] [stderr] Downloaded rust_hawktracer v0.7.0 [INFO] [stderr] Downloaded aligned-vec v0.5.0 [INFO] [stderr] Downloaded rust_hawktracer_proc_macro v0.4.1 [INFO] [stderr] Downloaded interpolate_name v0.2.4 [INFO] [stderr] Downloaded new_debug_unreachable v1.0.4 [INFO] [stderr] Downloaded noop_proc_macro v0.3.0 [INFO] [stderr] Downloaded profiling-procmacros v1.0.15 [INFO] [stderr] Downloaded simd_helpers v0.1.0 [INFO] [stderr] Downloaded image v0.25.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+84e729a59f216cc64755788a470f165429a731f4" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 14f7f9fa11ed132f1018103f3502ffacecbc8bf9b70ba9bd7dbc3618294a1b79 [INFO] running `Command { std: "docker" "start" "-a" "14f7f9fa11ed132f1018103f3502ffacecbc8bf9b70ba9bd7dbc3618294a1b79", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "14f7f9fa11ed132f1018103f3502ffacecbc8bf9b70ba9bd7dbc3618294a1b79", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "14f7f9fa11ed132f1018103f3502ffacecbc8bf9b70ba9bd7dbc3618294a1b79", kill_on_drop: false }` [INFO] [stdout] 14f7f9fa11ed132f1018103f3502ffacecbc8bf9b70ba9bd7dbc3618294a1b79 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+84e729a59f216cc64755788a470f165429a731f4" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7bbac5fba9c58c867926ed3d3ded5813237e506987650cb71a95bd40a1bfd5ba [INFO] running `Command { std: "docker" "start" "-a" "7bbac5fba9c58c867926ed3d3ded5813237e506987650cb71a95bd40a1bfd5ba", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Compiling pkg-config v0.3.30 [INFO] [stderr] Checking bitflags v2.4.2 [INFO] [stderr] Compiling rustix v0.38.31 [INFO] [stderr] Checking linux-raw-sys v0.4.13 [INFO] [stderr] Checking smallvec v1.13.1 [INFO] [stderr] Compiling thiserror v1.0.57 [INFO] [stderr] Compiling memchr v2.7.1 [INFO] [stderr] Compiling num-traits v0.2.18 [INFO] [stderr] Checking arrayvec v0.7.4 [INFO] [stderr] Checking bytemuck v1.14.3 [INFO] [stderr] Compiling cfg_aliases v0.1.1 [INFO] [stderr] Compiling syn v2.0.49 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Checking tracing-core v0.1.32 [INFO] [stderr] Checking pin-project-lite v0.2.13 [INFO] [stderr] Checking miniz_oxide v0.7.2 [INFO] [stderr] Compiling num-bigint v0.4.4 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling num-rational v0.4.1 [INFO] [stderr] Checking ttf-parser v0.20.0 [INFO] [stderr] Checking either v1.10.0 [INFO] [stderr] Checking strict-num v0.1.1 [INFO] [stderr] Compiling anyhow v1.0.79 [INFO] [stderr] Checking cursor-icon v1.1.0 [INFO] [stderr] Checking xkeysym v0.2.0 [INFO] [stderr] Compiling smithay-client-toolkit v0.18.1 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Compiling crc32fast v1.4.0 [INFO] [stderr] Compiling ahash v0.8.8 [INFO] [stderr] Checking tiny-skia-path v0.11.4 [INFO] [stderr] Compiling wayland-sys v0.31.1 [INFO] [stderr] Compiling quick-xml v0.31.0 [INFO] [stderr] Compiling x11-dl v2.21.0 [INFO] [stderr] Compiling glutin_egl_sys v0.6.0 [INFO] [stderr] Compiling glutin_glx_sys v0.5.0 [INFO] [stderr] Checking aligned-vec v0.5.0 [INFO] [stderr] Compiling paste v1.0.14 [INFO] [stderr] Compiling built v0.7.1 [INFO] [stderr] Compiling cc v1.0.83 [INFO] [stderr] Checking nom v7.1.3 [INFO] [stderr] Checking rayon v1.9.0 [INFO] [stderr] Compiling winit v0.29.10 [INFO] [stderr] Compiling glutin v0.31.3 [INFO] [stderr] Checking raw-window-handle v0.5.2 [INFO] [stderr] Checking tiny-skia v0.11.4 [INFO] [stderr] Checking getrandom v0.2.12 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Checking memmap2 v0.9.4 [INFO] [stderr] Compiling rav1e v0.7.1 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Compiling wayland-scanner v0.31.1 [INFO] [stderr] Checking v_frame v0.3.8 [INFO] [stderr] Checking zerocopy v0.7.32 [INFO] [stderr] Checking x11rb-protocol v0.13.0 [INFO] [stderr] Checking as-raw-xcb-connection v1.0.1 [INFO] [stderr] Checking xkbcommon-dl v0.4.2 [INFO] [stderr] Checking flate2 v1.0.28 [INFO] [stderr] Checking spin v0.9.8 [INFO] [stderr] Checking itertools v0.12.1 [INFO] [stderr] Compiling glutin-winit v0.4.2 [INFO] [stderr] Compiling simd_helpers v0.1.0 [INFO] [stderr] Compiling memoffset v0.9.0 [INFO] [stderr] Checking smol_str v0.2.1 [INFO] [stderr] Checking owned_ttf_parser v0.20.0 [INFO] [stderr] Checking imgref v1.10.1 [INFO] [stderr] Checking raw-window-handle v0.6.0 [INFO] [stderr] Checking ab_glyph v0.2.23 [INFO] [stderr] Checking bitstream-io v2.2.0 [INFO] [stderr] Compiling wayland-backend v0.3.3 [INFO] [stderr] Compiling backtrace v0.3.69 [INFO] [stderr] Checking new_debug_unreachable v1.0.4 [INFO] [stderr] Compiling noop_proc_macro v0.3.0 [INFO] [stderr] Checking loop9 v0.1.5 [INFO] [stderr] Checking flume v0.11.0 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking object v0.32.2 [INFO] [stderr] Checking rgb v0.8.37 [INFO] [stderr] Checking avif-serialize v0.8.1 [INFO] [stderr] Compiling glium v0.34.0 [INFO] [stderr] Checking fdeflate v0.3.4 [INFO] [stderr] Checking zune-inflate v0.2.54 [INFO] [stderr] Checking half v2.4.0 [INFO] [stderr] Checking av1-grain v0.2.3 [INFO] [stderr] Checking bit_field v0.10.2 [INFO] [stderr] Checking maybe-rayon v0.1.1 [INFO] [stderr] Checking zune-core v0.4.12 [INFO] [stderr] Checking lebe v0.5.2 [INFO] [stderr] Checking quick-error v2.0.1 [INFO] [stderr] Checking jpeg-decoder v0.3.1 [INFO] [stderr] Checking gif v0.13.1 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking zune-jpeg v0.4.11 [INFO] [stderr] Checking exr v1.72.0 [INFO] [stderr] Checking png v0.17.13 [INFO] [stderr] Checking rand_xorshift v0.2.0 [INFO] [stderr] Checking qoi v0.4.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking tiff v0.9.1 [INFO] [stderr] Checking noise v0.8.2 [INFO] [stderr] Compiling thiserror-impl v1.0.57 [INFO] [stderr] Compiling profiling-procmacros v1.0.15 [INFO] [stderr] Compiling arg_enum_proc_macro v0.3.4 [INFO] [stderr] Compiling num-derive v0.4.2 [INFO] [stderr] Checking profiling v1.0.15 [INFO] [stderr] Checking polling v3.4.0 [INFO] [stderr] Checking calloop v0.12.4 [INFO] [stderr] Checking image-webp v0.1.0 [INFO] [stderr] Checking wayland-client v0.31.2 [INFO] [stderr] Checking wayland-csd-frame v0.3.0 [INFO] [stderr] Checking wayland-protocols v0.31.2 [INFO] [stderr] Checking calloop-wayland-source v0.2.0 [INFO] [stderr] Checking wayland-cursor v0.31.1 [INFO] [stderr] Checking ravif v0.11.4 [INFO] [stderr] Checking image v0.25.0 [INFO] [stderr] Checking wayland-protocols-wlr v0.2.0 [INFO] [stderr] Checking wayland-protocols-plasma v0.2.0 [INFO] [stderr] Checking x11rb v0.13.0 [INFO] [stderr] Checking sctk-adwaita v0.8.1 [INFO] [stderr] Checking processing-rust v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: fields `stroke` and `stroke_weight` are never read [INFO] [stdout] --> lib/geometry.rs:40:5 [INFO] [stdout] | [INFO] [stdout] 35 | pub struct GeometryVertex { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 40 | stroke: Option, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 41 | stroke_weight: f32, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `SOURCE` is never used [INFO] [stdout] --> lib/noise.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | static SOURCE: [u8; 256] = [ [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `PERM` is never used [INFO] [stdout] --> lib/noise.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 17 | static mut PERM: [u8; 512] = { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `SQRT3` is never used [INFO] [stdout] --> lib/noise.rs:28:7 [INFO] [stdout] | [INFO] [stdout] 28 | const SQRT3: f64 = 1.7320508075688772935; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `SQRT5` is never used [INFO] [stdout] --> lib/noise.rs:29:7 [INFO] [stdout] | [INFO] [stdout] 29 | const SQRT5: f64 = 2.2360679774997896964; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `F2` is never used [INFO] [stdout] --> lib/noise.rs:31:7 [INFO] [stdout] | [INFO] [stdout] 31 | const F2: f64 = 0.5 * (SQRT3 - 1.0); [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `G2` is never used [INFO] [stdout] --> lib/noise.rs:32:7 [INFO] [stdout] | [INFO] [stdout] 32 | const G2: f64 = (3.0 - SQRT3) / 6.0; [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `G22` is never used [INFO] [stdout] --> lib/noise.rs:33:7 [INFO] [stdout] | [INFO] [stdout] 33 | const G22: f64 = G2 * 2.0 - 1.0; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `F3` is never used [INFO] [stdout] --> lib/noise.rs:35:7 [INFO] [stdout] | [INFO] [stdout] 35 | const F3: f64 = 1.0 / 3.0; [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `G3` is never used [INFO] [stdout] --> lib/noise.rs:36:7 [INFO] [stdout] | [INFO] [stdout] 36 | const G3: f64 = 1.0 / 6.0; [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `F4` is never used [INFO] [stdout] --> lib/noise.rs:38:7 [INFO] [stdout] | [INFO] [stdout] 38 | const F4: f64 = (SQRT5 - 1.0) / 4.0; [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `G4` is never used [INFO] [stdout] --> lib/noise.rs:39:7 [INFO] [stdout] | [INFO] [stdout] 39 | const G4: f64 = (5.0 - SQRT5) / 20.0; [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `G42` is never used [INFO] [stdout] --> lib/noise.rs:40:7 [INFO] [stdout] | [INFO] [stdout] 40 | const G42: f64 = G4 * 2.0; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `G43` is never used [INFO] [stdout] --> lib/noise.rs:41:7 [INFO] [stdout] | [INFO] [stdout] 41 | const G43: f64 = G4 * 3.0; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `G44` is never used [INFO] [stdout] --> lib/noise.rs:42:7 [INFO] [stdout] | [INFO] [stdout] 42 | const G44: f64 = G4 * 4.0 - 1.0; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `GRAD1` is never used [INFO] [stdout] --> lib/noise.rs:44:7 [INFO] [stdout] | [INFO] [stdout] 44 | const GRAD1: [f64; 2] = [1.0, -1.0]; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `GRAD2` is never used [INFO] [stdout] --> lib/noise.rs:46:7 [INFO] [stdout] | [INFO] [stdout] 46 | const GRAD2: [[f64; 2]; 8] = [ [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `GRAD3` is never used [INFO] [stdout] --> lib/noise.rs:57:7 [INFO] [stdout] | [INFO] [stdout] 57 | const GRAD3: [[f64; 3]; 12] = [ [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `seed` is never used [INFO] [stdout] --> lib/noise.rs:72:8 [INFO] [stdout] | [INFO] [stdout] 72 | pub fn seed(seed: u32) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `fast_floor` is never used [INFO] [stdout] --> lib/noise.rs:90:4 [INFO] [stdout] | [INFO] [stdout] 90 | fn fast_floor(x: f64) -> i32 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `dot2d` is never used [INFO] [stdout] --> lib/noise.rs:99:4 [INFO] [stdout] | [INFO] [stdout] 99 | fn dot2d(g: [f64; 2], x: f64, y: f64) -> f64 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `dot3d` is never used [INFO] [stdout] --> lib/noise.rs:104:4 [INFO] [stdout] | [INFO] [stdout] 104 | fn dot3d(g: [f64; 3], x: f64, y: f64, z: f64) -> f64 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `dot4d` is never used [INFO] [stdout] --> lib/noise.rs:109:4 [INFO] [stdout] | [INFO] [stdout] 109 | fn dot4d(g: [f64; 4], x: f64, y: f64, z: f64, w: f64) -> f64 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `noise3d` is never used [INFO] [stdout] --> lib/noise.rs:113:8 [INFO] [stdout] | [INFO] [stdout] 113 | pub fn noise3d(x: f64, y: f64, z: f64) -> f64 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `noise2d` is never used [INFO] [stdout] --> lib/noise.rs:259:8 [INFO] [stdout] | [INFO] [stdout] 259 | pub fn noise2d(x: f64, y: f64) -> f64 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `noise1d` is never used [INFO] [stdout] --> lib/noise.rs:264:8 [INFO] [stdout] | [INFO] [stdout] 264 | pub fn noise1d(x: f64) -> f64 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `intersections` is never used [INFO] [stdout] --> lib/primitives/shapes_2d.rs:56:12 [INFO] [stdout] | [INFO] [stdout] 51 | impl Edges { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 56 | pub fn intersections(&self) -> Vec<(&Edge, &Edge)> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `frame_count` is never read [INFO] [stdout] --> lib/processing.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 28 | pub struct Processing { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 36 | frame_count: u32, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `arc` is never used [INFO] [stdout] --> lib/tess/fns.rs:109:12 [INFO] [stdout] | [INFO] [stdout] 109 | pub fn arc(center: Point, radius: f32, start: f32, end: f32, segments: usize) -> GlTriangleVec { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `stroke` and `stroke_weight` are never read [INFO] [stdout] --> lib/geometry.rs:40:5 [INFO] [stdout] | [INFO] [stdout] 35 | pub struct GeometryVertex { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 40 | stroke: Option, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 41 | stroke_weight: f32, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `SOURCE` is never used [INFO] [stdout] --> lib/noise.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | static SOURCE: [u8; 256] = [ [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `PERM` is never used [INFO] [stdout] --> lib/noise.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 17 | static mut PERM: [u8; 512] = { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `SQRT3` is never used [INFO] [stdout] --> lib/noise.rs:28:7 [INFO] [stdout] | [INFO] [stdout] 28 | const SQRT3: f64 = 1.7320508075688772935; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `SQRT5` is never used [INFO] [stdout] --> lib/noise.rs:29:7 [INFO] [stdout] | [INFO] [stdout] 29 | const SQRT5: f64 = 2.2360679774997896964; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `F2` is never used [INFO] [stdout] --> lib/noise.rs:31:7 [INFO] [stdout] | [INFO] [stdout] 31 | const F2: f64 = 0.5 * (SQRT3 - 1.0); [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `G2` is never used [INFO] [stdout] --> lib/noise.rs:32:7 [INFO] [stdout] | [INFO] [stdout] 32 | const G2: f64 = (3.0 - SQRT3) / 6.0; [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `G22` is never used [INFO] [stdout] --> lib/noise.rs:33:7 [INFO] [stdout] | [INFO] [stdout] 33 | const G22: f64 = G2 * 2.0 - 1.0; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `F3` is never used [INFO] [stdout] --> lib/noise.rs:35:7 [INFO] [stdout] | [INFO] [stdout] 35 | const F3: f64 = 1.0 / 3.0; [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `G3` is never used [INFO] [stdout] --> lib/noise.rs:36:7 [INFO] [stdout] | [INFO] [stdout] 36 | const G3: f64 = 1.0 / 6.0; [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `F4` is never used [INFO] [stdout] --> lib/noise.rs:38:7 [INFO] [stdout] | [INFO] [stdout] 38 | const F4: f64 = (SQRT5 - 1.0) / 4.0; [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `G4` is never used [INFO] [stdout] --> lib/noise.rs:39:7 [INFO] [stdout] | [INFO] [stdout] 39 | const G4: f64 = (5.0 - SQRT5) / 20.0; [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `G42` is never used [INFO] [stdout] --> lib/noise.rs:40:7 [INFO] [stdout] | [INFO] [stdout] 40 | const G42: f64 = G4 * 2.0; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `G43` is never used [INFO] [stdout] --> lib/noise.rs:41:7 [INFO] [stdout] | [INFO] [stdout] 41 | const G43: f64 = G4 * 3.0; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `G44` is never used [INFO] [stdout] --> lib/noise.rs:42:7 [INFO] [stdout] | [INFO] [stdout] 42 | const G44: f64 = G4 * 4.0 - 1.0; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `GRAD1` is never used [INFO] [stdout] --> lib/noise.rs:44:7 [INFO] [stdout] | [INFO] [stdout] 44 | const GRAD1: [f64; 2] = [1.0, -1.0]; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `GRAD2` is never used [INFO] [stdout] --> lib/noise.rs:46:7 [INFO] [stdout] | [INFO] [stdout] 46 | const GRAD2: [[f64; 2]; 8] = [ [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `GRAD3` is never used [INFO] [stdout] --> lib/noise.rs:57:7 [INFO] [stdout] | [INFO] [stdout] 57 | const GRAD3: [[f64; 3]; 12] = [ [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `seed` is never used [INFO] [stdout] --> lib/noise.rs:72:8 [INFO] [stdout] | [INFO] [stdout] 72 | pub fn seed(seed: u32) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `fast_floor` is never used [INFO] [stdout] --> lib/noise.rs:90:4 [INFO] [stdout] | [INFO] [stdout] 90 | fn fast_floor(x: f64) -> i32 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `dot2d` is never used [INFO] [stdout] --> lib/noise.rs:99:4 [INFO] [stdout] | [INFO] [stdout] 99 | fn dot2d(g: [f64; 2], x: f64, y: f64) -> f64 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `dot3d` is never used [INFO] [stdout] --> lib/noise.rs:104:4 [INFO] [stdout] | [INFO] [stdout] 104 | fn dot3d(g: [f64; 3], x: f64, y: f64, z: f64) -> f64 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `dot4d` is never used [INFO] [stdout] --> lib/noise.rs:109:4 [INFO] [stdout] | [INFO] [stdout] 109 | fn dot4d(g: [f64; 4], x: f64, y: f64, z: f64, w: f64) -> f64 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `noise3d` is never used [INFO] [stdout] --> lib/noise.rs:113:8 [INFO] [stdout] | [INFO] [stdout] 113 | pub fn noise3d(x: f64, y: f64, z: f64) -> f64 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `noise2d` is never used [INFO] [stdout] --> lib/noise.rs:259:8 [INFO] [stdout] | [INFO] [stdout] 259 | pub fn noise2d(x: f64, y: f64) -> f64 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `noise1d` is never used [INFO] [stdout] --> lib/noise.rs:264:8 [INFO] [stdout] | [INFO] [stdout] 264 | pub fn noise1d(x: f64) -> f64 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `intersections` is never used [INFO] [stdout] --> lib/primitives/shapes_2d.rs:56:12 [INFO] [stdout] | [INFO] [stdout] 51 | impl Edges { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 56 | pub fn intersections(&self) -> Vec<(&Edge, &Edge)> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `frame_count` is never read [INFO] [stdout] --> lib/processing.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 28 | pub struct Processing { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 36 | frame_count: u32, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `arc` is never used [INFO] [stdout] --> lib/tess/fns.rs:109:12 [INFO] [stdout] | [INFO] [stdout] 109 | pub fn arc(center: Point, radius: f32, start: f32, end: f32, segments: usize) -> GlTriangleVec { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 29 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 29 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `LSystemConfig` is never constructed [INFO] [stdout] --> src/examples/l_systems/l_system.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct LSystemConfig { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `LSystemConfig` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `InvalidStartCharacter`, `InvalidRuleCharacter`, `TooManyClosingBrackets`, and `TooManyOpeningBrackets` are never constructed [INFO] [stdout] --> src/examples/l_systems/l_system.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 12 | pub enum LSystemConfigError { [INFO] [stdout] | ------------------ variants in this enum [INFO] [stdout] 13 | #[error("Invalid character in start string: {0}")] [INFO] [stdout] 14 | InvalidStartCharacter(char), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 15 | #[error("Invalid character in rule: {0}\nrule: {1}\nindex: {2}")] [INFO] [stdout] 16 | InvalidRuleCharacter(char, String, usize), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 17 | #[error("Too many closing brackets")] [INFO] [stdout] 18 | TooManyClosingBrackets, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 19 | #[error("Too many opening brackets")] [INFO] [stdout] 20 | TooManyOpeningBrackets, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `LSystemConfigError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `rules`, `check_rules`, `apply_rules`, and `generate` are never used [INFO] [stdout] --> src/examples/l_systems/l_system.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 23 | impl LSystemConfig { [INFO] [stdout] | ------------------ associated items in this implementation [INFO] [stdout] 24 | pub fn rules(start: &str, rules: &[(char, &str)]) -> Result { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 41 | fn check_rules(variables: Vec, rules: &[(char, &str)]) -> Result<(), LSystemConfigError> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 69 | fn apply_rules(&self, current: &str) -> String { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 82 | pub fn generate(&self, iterations: usize) -> String { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `P` is never used [INFO] [stdout] --> src/examples/l_systems/main.rs:10:6 [INFO] [stdout] | [INFO] [stdout] 10 | type P<'a> = Processing; [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `draw` is never used [INFO] [stdout] --> src/examples/l_systems/main.rs:12:8 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn draw(config: &LSystemConfig, start_pos: Vector2D, iterations: usize, p: &mut P) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `State` is never constructed [INFO] [stdout] --> src/examples/l_systems/main.rs:57:12 [INFO] [stdout] | [INFO] [stdout] 57 | pub struct State { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `app` is never used [INFO] [stdout] --> src/examples/l_systems/main.rs:62:8 [INFO] [stdout] | [INFO] [stdout] 62 | pub fn app() -> impl Application { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `app` is never used [INFO] [stdout] --> src/examples/trees/main.rs:5:8 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn app() -> impl Application { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MaxToMinFn` is never constructed [INFO] [stdout] --> src/examples/trees/tree.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct MaxToMinFn { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `custom_fn`, `lerp`, and `map` are never used [INFO] [stdout] --> src/examples/trees/tree.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 9 | impl MaxToMinFn { [INFO] [stdout] | --------------- associated items in this implementation [INFO] [stdout] 10 | pub fn custom_fn(max: f32, min: f32, func: fn(f32, f32, f32) -> f32) -> MaxToMinFn { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 14 | pub fn lerp(max: f32, min: f32) -> MaxToMinFn { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 18 | pub fn map(&self, value: f32) -> f32 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `BranchOptions` is never constructed [INFO] [stdout] --> src/examples/trees/tree.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 23 | pub struct BranchOptions {} [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Branch` is never constructed [INFO] [stdout] --> src/examples/trees/tree.rs:26:8 [INFO] [stdout] | [INFO] [stdout] 26 | struct Branch { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `from_angle`, `length`, `angle`, and `draw` are never used [INFO] [stdout] --> src/examples/trees/tree.rs:34:8 [INFO] [stdout] | [INFO] [stdout] 33 | impl Branch { [INFO] [stdout] | ----------- associated items in this implementation [INFO] [stdout] 34 | fn new(start: Vector2D, end: Vector2D, width: f32, color: Color) -> Branch { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 43 | fn from_angle(start: Vector2D, angle: f32, length: f32, width: f32, color: Color) -> Branch { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 48 | fn length(&self) -> f32 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 52 | fn angle(&self) -> f32 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 56 | fn draw(&self, p: &mut Processing<(), GraphicsP2D>) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TreeOptions` is never constructed [INFO] [stdout] --> src/examples/trees/tree.rs:63:12 [INFO] [stdout] | [INFO] [stdout] 63 | pub struct TreeOptions { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Tree` is never constructed [INFO] [stdout] --> src/examples/trees/tree.rs:77:12 [INFO] [stdout] | [INFO] [stdout] 77 | pub struct Tree { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `generate`, `branch_out`, `grow_out`, `grow`, and `draw` are never used [INFO] [stdout] --> src/examples/trees/tree.rs:83:12 [INFO] [stdout] | [INFO] [stdout] 82 | impl Tree { [INFO] [stdout] | --------- associated items in this implementation [INFO] [stdout] 83 | pub fn new(options: TreeOptions) -> Tree { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 90 | pub fn generate(mut self) -> Tree { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 108 | fn branch_out(&mut self, branch: &Branch, iteration: u32) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 113 | fn grow_out(&mut self, branch: &Branch, iteration: u32) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 130 | fn grow(&mut self, branch: &Branch, iteration: u32) { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 144 | pub fn draw(&self, p: &mut Processing<(), GraphicsP2D>) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 16 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `LSystemConfig` is never constructed [INFO] [stdout] --> src/examples/l_systems/l_system.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct LSystemConfig { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `LSystemConfig` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `InvalidStartCharacter`, `InvalidRuleCharacter`, `TooManyClosingBrackets`, and `TooManyOpeningBrackets` are never constructed [INFO] [stdout] --> src/examples/l_systems/l_system.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 12 | pub enum LSystemConfigError { [INFO] [stdout] | ------------------ variants in this enum [INFO] [stdout] 13 | #[error("Invalid character in start string: {0}")] [INFO] [stdout] 14 | InvalidStartCharacter(char), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 15 | #[error("Invalid character in rule: {0}\nrule: {1}\nindex: {2}")] [INFO] [stdout] 16 | InvalidRuleCharacter(char, String, usize), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 17 | #[error("Too many closing brackets")] [INFO] [stdout] 18 | TooManyClosingBrackets, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 19 | #[error("Too many opening brackets")] [INFO] [stdout] 20 | TooManyOpeningBrackets, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `LSystemConfigError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `rules`, `check_rules`, `apply_rules`, and `generate` are never used [INFO] [stdout] --> src/examples/l_systems/l_system.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 23 | impl LSystemConfig { [INFO] [stdout] | ------------------ associated items in this implementation [INFO] [stdout] 24 | pub fn rules(start: &str, rules: &[(char, &str)]) -> Result { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 41 | fn check_rules(variables: Vec, rules: &[(char, &str)]) -> Result<(), LSystemConfigError> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 69 | fn apply_rules(&self, current: &str) -> String { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 82 | pub fn generate(&self, iterations: usize) -> String { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `P` is never used [INFO] [stdout] --> src/examples/l_systems/main.rs:10:6 [INFO] [stdout] | [INFO] [stdout] 10 | type P<'a> = Processing; [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `draw` is never used [INFO] [stdout] --> src/examples/l_systems/main.rs:12:8 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn draw(config: &LSystemConfig, start_pos: Vector2D, iterations: usize, p: &mut P) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `State` is never constructed [INFO] [stdout] --> src/examples/l_systems/main.rs:57:12 [INFO] [stdout] | [INFO] [stdout] 57 | pub struct State { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `app` is never used [INFO] [stdout] --> src/examples/l_systems/main.rs:62:8 [INFO] [stdout] | [INFO] [stdout] 62 | pub fn app() -> impl Application { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `app` is never used [INFO] [stdout] --> src/examples/trees/main.rs:5:8 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn app() -> impl Application { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MaxToMinFn` is never constructed [INFO] [stdout] --> src/examples/trees/tree.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct MaxToMinFn { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `custom_fn`, `lerp`, and `map` are never used [INFO] [stdout] --> src/examples/trees/tree.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 9 | impl MaxToMinFn { [INFO] [stdout] | --------------- associated items in this implementation [INFO] [stdout] 10 | pub fn custom_fn(max: f32, min: f32, func: fn(f32, f32, f32) -> f32) -> MaxToMinFn { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 14 | pub fn lerp(max: f32, min: f32) -> MaxToMinFn { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 18 | pub fn map(&self, value: f32) -> f32 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `BranchOptions` is never constructed [INFO] [stdout] --> src/examples/trees/tree.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 23 | pub struct BranchOptions {} [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Branch` is never constructed [INFO] [stdout] --> src/examples/trees/tree.rs:26:8 [INFO] [stdout] | [INFO] [stdout] 26 | struct Branch { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `from_angle`, `length`, `angle`, and `draw` are never used [INFO] [stdout] --> src/examples/trees/tree.rs:34:8 [INFO] [stdout] | [INFO] [stdout] 33 | impl Branch { [INFO] [stdout] | ----------- associated items in this implementation [INFO] [stdout] 34 | fn new(start: Vector2D, end: Vector2D, width: f32, color: Color) -> Branch { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 43 | fn from_angle(start: Vector2D, angle: f32, length: f32, width: f32, color: Color) -> Branch { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 48 | fn length(&self) -> f32 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 52 | fn angle(&self) -> f32 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 56 | fn draw(&self, p: &mut Processing<(), GraphicsP2D>) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TreeOptions` is never constructed [INFO] [stdout] --> src/examples/trees/tree.rs:63:12 [INFO] [stdout] | [INFO] [stdout] 63 | pub struct TreeOptions { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Tree` is never constructed [INFO] [stdout] --> src/examples/trees/tree.rs:77:12 [INFO] [stdout] | [INFO] [stdout] 77 | pub struct Tree { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `generate`, `branch_out`, `grow_out`, `grow`, and `draw` are never used [INFO] [stdout] --> src/examples/trees/tree.rs:83:12 [INFO] [stdout] | [INFO] [stdout] 82 | impl Tree { [INFO] [stdout] | --------- associated items in this implementation [INFO] [stdout] 83 | pub fn new(options: TreeOptions) -> Tree { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 90 | pub fn generate(mut self) -> Tree { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 108 | fn branch_out(&mut self, branch: &Branch, iteration: u32) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 113 | fn grow_out(&mut self, branch: &Branch, iteration: u32) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 130 | fn grow(&mut self, branch: &Branch, iteration: u32) { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 144 | pub fn draw(&self, p: &mut Processing<(), GraphicsP2D>) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 16 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 08s [INFO] running `Command { std: "docker" "inspect" "7bbac5fba9c58c867926ed3d3ded5813237e506987650cb71a95bd40a1bfd5ba", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7bbac5fba9c58c867926ed3d3ded5813237e506987650cb71a95bd40a1bfd5ba", kill_on_drop: false }` [INFO] [stdout] 7bbac5fba9c58c867926ed3d3ded5813237e506987650cb71a95bd40a1bfd5ba [INFO] checking ThotuB/processing-rust against try#8d9ad7790f77ffaa434059a58807949d4583c045 for pr-123737-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FThotuB%2Fprocessing-rust" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/ThotuB/processing-rust on toolchain 8d9ad7790f77ffaa434059a58807949d4583c045 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8d9ad7790f77ffaa434059a58807949d4583c045" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/ThotuB/processing-rust [INFO] finished tweaking git repo https://github.com/ThotuB/processing-rust [INFO] tweaked toml for git repo https://github.com/ThotuB/processing-rust written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/ThotuB/processing-rust 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" "+8d9ad7790f77ffaa434059a58807949d4583c045" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+8d9ad7790f77ffaa434059a58807949d4583c045" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f992186881e1976b1559c00a611af92cf3a94f7eb58c80a0bd6b5dfb56c663ed [INFO] running `Command { std: "docker" "start" "-a" "f992186881e1976b1559c00a611af92cf3a94f7eb58c80a0bd6b5dfb56c663ed", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f992186881e1976b1559c00a611af92cf3a94f7eb58c80a0bd6b5dfb56c663ed", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f992186881e1976b1559c00a611af92cf3a94f7eb58c80a0bd6b5dfb56c663ed", kill_on_drop: false }` [INFO] [stdout] f992186881e1976b1559c00a611af92cf3a94f7eb58c80a0bd6b5dfb56c663ed [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+8d9ad7790f77ffaa434059a58807949d4583c045" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1ec1e629ee61591a431927ca4bc02333a64761f45e317899890a7ee47e96086a [INFO] running `Command { std: "docker" "start" "-a" "1ec1e629ee61591a431927ca4bc02333a64761f45e317899890a7ee47e96086a", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Compiling pkg-config v0.3.30 [INFO] [stderr] Checking bitflags v2.4.2 [INFO] [stderr] Compiling rustix v0.38.31 [INFO] [stderr] Checking linux-raw-sys v0.4.13 [INFO] [stderr] Checking smallvec v1.13.1 [INFO] [stderr] Compiling memchr v2.7.1 [INFO] [stderr] Compiling thiserror v1.0.57 [INFO] [stderr] Compiling num-traits v0.2.18 [INFO] [stderr] Checking arrayvec v0.7.4 [INFO] [stderr] Compiling cfg_aliases v0.1.1 [INFO] [stderr] Checking bytemuck v1.14.3 [INFO] [stderr] Compiling syn v2.0.49 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Checking tracing-core v0.1.32 [INFO] [stderr] Checking pin-project-lite v0.2.13 [INFO] [stderr] Checking miniz_oxide v0.7.2 [INFO] [stderr] Compiling num-bigint v0.4.4 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling num-rational v0.4.1 [INFO] [stderr] Compiling anyhow v1.0.79 [INFO] [stderr] Checking either v1.10.0 [INFO] [stderr] Checking xkeysym v0.2.0 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Compiling smithay-client-toolkit v0.18.1 [INFO] [stderr] Checking strict-num v0.1.1 [INFO] [stderr] Checking cursor-icon v1.1.0 [INFO] [stderr] Compiling quick-xml v0.31.0 [INFO] [stderr] Compiling crc32fast v1.4.0 [INFO] [stderr] Checking ttf-parser v0.20.0 [INFO] [stderr] Checking tiny-skia-path v0.11.4 [INFO] [stderr] Compiling wayland-sys v0.31.1 [INFO] [stderr] Compiling x11-dl v2.21.0 [INFO] [stderr] Compiling ahash v0.8.8 [INFO] [stderr] Compiling glutin_glx_sys v0.5.0 [INFO] [stderr] Compiling glutin_egl_sys v0.6.0 [INFO] [stderr] Checking aligned-vec v0.5.0 [INFO] [stderr] Compiling paste v1.0.14 [INFO] [stderr] Compiling built v0.7.1 [INFO] [stderr] Checking nom v7.1.3 [INFO] [stderr] Checking tiny-skia v0.11.4 [INFO] [stderr] Checking rayon v1.9.0 [INFO] [stderr] Compiling rav1e v0.7.1 [INFO] [stderr] Compiling glutin v0.31.3 [INFO] [stderr] Compiling cc v1.0.83 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Checking v_frame v0.3.8 [INFO] [stderr] Compiling wayland-scanner v0.31.1 [INFO] [stderr] Checking getrandom v0.2.12 [INFO] [stderr] Checking memmap2 v0.9.4 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Compiling winit v0.29.10 [INFO] [stderr] Checking x11rb-protocol v0.13.0 [INFO] [stderr] Checking as-raw-xcb-connection v1.0.1 [INFO] [stderr] Checking zerocopy v0.7.32 [INFO] [stderr] Checking raw-window-handle v0.5.2 [INFO] [stderr] Checking xkbcommon-dl v0.4.2 [INFO] [stderr] Checking flate2 v1.0.28 [INFO] [stderr] Checking spin v0.9.8 [INFO] [stderr] Checking itertools v0.12.1 [INFO] [stderr] Compiling glutin-winit v0.4.2 [INFO] [stderr] Compiling simd_helpers v0.1.0 [INFO] [stderr] Compiling memoffset v0.9.0 [INFO] [stderr] Checking imgref v1.10.1 [INFO] [stderr] Checking raw-window-handle v0.6.0 [INFO] [stderr] Compiling noop_proc_macro v0.3.0 [INFO] [stderr] Checking new_debug_unreachable v1.0.4 [INFO] [stderr] Checking owned_ttf_parser v0.20.0 [INFO] [stderr] Compiling wayland-backend v0.3.3 [INFO] [stderr] Compiling backtrace v0.3.69 [INFO] [stderr] Checking smol_str v0.2.1 [INFO] [stderr] Checking ab_glyph v0.2.23 [INFO] [stderr] Checking bitstream-io v2.2.0 [INFO] [stderr] Checking loop9 v0.1.5 [INFO] [stderr] Checking flume v0.11.0 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking object v0.32.2 [INFO] [stderr] Checking rgb v0.8.37 [INFO] [stderr] Checking avif-serialize v0.8.1 [INFO] [stderr] Compiling glium v0.34.0 [INFO] [stderr] Checking fdeflate v0.3.4 [INFO] [stderr] Checking zune-inflate v0.2.54 [INFO] [stderr] Checking half v2.4.0 [INFO] [stderr] Checking av1-grain v0.2.3 [INFO] [stderr] Checking quick-error v2.0.1 [INFO] [stderr] Checking bit_field v0.10.2 [INFO] [stderr] Checking jpeg-decoder v0.3.1 [INFO] [stderr] Checking lebe v0.5.2 [INFO] [stderr] Checking zune-core v0.4.12 [INFO] [stderr] Checking png v0.17.13 [INFO] [stderr] Checking gif v0.13.1 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking exr v1.72.0 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking zune-jpeg v0.4.11 [INFO] [stderr] Checking rand_xorshift v0.2.0 [INFO] [stderr] Checking qoi v0.4.1 [INFO] [stderr] Checking maybe-rayon v0.1.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking tiff v0.9.1 [INFO] [stderr] Checking noise v0.8.2 [INFO] [stderr] Compiling thiserror-impl v1.0.57 [INFO] [stderr] Compiling profiling-procmacros v1.0.15 [INFO] [stderr] Compiling num-derive v0.4.2 [INFO] [stderr] Compiling arg_enum_proc_macro v0.3.4 [INFO] [stderr] Checking profiling v1.0.15 [INFO] [stderr] Checking polling v3.4.0 [INFO] [stderr] Checking calloop v0.12.4 [INFO] [stderr] Checking image-webp v0.1.0 [INFO] [stderr] Checking wayland-client v0.31.2 [INFO] [stderr] Checking wayland-csd-frame v0.3.0 [INFO] [stderr] Checking wayland-protocols v0.31.2 [INFO] [stderr] Checking wayland-cursor v0.31.1 [INFO] [stderr] Checking calloop-wayland-source v0.2.0 [INFO] [stderr] Checking wayland-protocols-wlr v0.2.0 [INFO] [stderr] Checking wayland-protocols-plasma v0.2.0 [INFO] [stderr] Checking sctk-adwaita v0.8.1 [INFO] [stderr] Checking ravif v0.11.4 [INFO] [stderr] Checking image v0.25.0 [INFO] [stderr] Checking x11rb v0.13.0 [INFO] [stderr] Checking processing-rust v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: fields `stroke` and `stroke_weight` are never read [INFO] [stdout] --> lib/geometry.rs:40:5 [INFO] [stdout] | [INFO] [stdout] 35 | pub struct GeometryVertex { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 40 | stroke: Option, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 41 | stroke_weight: f32, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `SOURCE` is never used [INFO] [stdout] --> lib/noise.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | static SOURCE: [u8; 256] = [ [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `PERM` is never used [INFO] [stdout] --> lib/noise.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 17 | static mut PERM: [u8; 512] = { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `SQRT3` is never used [INFO] [stdout] --> lib/noise.rs:28:7 [INFO] [stdout] | [INFO] [stdout] 28 | const SQRT3: f64 = 1.7320508075688772935; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `SQRT5` is never used [INFO] [stdout] --> lib/noise.rs:29:7 [INFO] [stdout] | [INFO] [stdout] 29 | const SQRT5: f64 = 2.2360679774997896964; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `F2` is never used [INFO] [stdout] --> lib/noise.rs:31:7 [INFO] [stdout] | [INFO] [stdout] 31 | const F2: f64 = 0.5 * (SQRT3 - 1.0); [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `G2` is never used [INFO] [stdout] --> lib/noise.rs:32:7 [INFO] [stdout] | [INFO] [stdout] 32 | const G2: f64 = (3.0 - SQRT3) / 6.0; [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `G22` is never used [INFO] [stdout] --> lib/noise.rs:33:7 [INFO] [stdout] | [INFO] [stdout] 33 | const G22: f64 = G2 * 2.0 - 1.0; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `F3` is never used [INFO] [stdout] --> lib/noise.rs:35:7 [INFO] [stdout] | [INFO] [stdout] 35 | const F3: f64 = 1.0 / 3.0; [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `G3` is never used [INFO] [stdout] --> lib/noise.rs:36:7 [INFO] [stdout] | [INFO] [stdout] 36 | const G3: f64 = 1.0 / 6.0; [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `F4` is never used [INFO] [stdout] --> lib/noise.rs:38:7 [INFO] [stdout] | [INFO] [stdout] 38 | const F4: f64 = (SQRT5 - 1.0) / 4.0; [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `G4` is never used [INFO] [stdout] --> lib/noise.rs:39:7 [INFO] [stdout] | [INFO] [stdout] 39 | const G4: f64 = (5.0 - SQRT5) / 20.0; [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `G42` is never used [INFO] [stdout] --> lib/noise.rs:40:7 [INFO] [stdout] | [INFO] [stdout] 40 | const G42: f64 = G4 * 2.0; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `G43` is never used [INFO] [stdout] --> lib/noise.rs:41:7 [INFO] [stdout] | [INFO] [stdout] 41 | const G43: f64 = G4 * 3.0; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `G44` is never used [INFO] [stdout] --> lib/noise.rs:42:7 [INFO] [stdout] | [INFO] [stdout] 42 | const G44: f64 = G4 * 4.0 - 1.0; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `GRAD1` is never used [INFO] [stdout] --> lib/noise.rs:44:7 [INFO] [stdout] | [INFO] [stdout] 44 | const GRAD1: [f64; 2] = [1.0, -1.0]; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `GRAD2` is never used [INFO] [stdout] --> lib/noise.rs:46:7 [INFO] [stdout] | [INFO] [stdout] 46 | const GRAD2: [[f64; 2]; 8] = [ [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `GRAD3` is never used [INFO] [stdout] --> lib/noise.rs:57:7 [INFO] [stdout] | [INFO] [stdout] 57 | const GRAD3: [[f64; 3]; 12] = [ [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `seed` is never used [INFO] [stdout] --> lib/noise.rs:72:8 [INFO] [stdout] | [INFO] [stdout] 72 | pub fn seed(seed: u32) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `fast_floor` is never used [INFO] [stdout] --> lib/noise.rs:90:4 [INFO] [stdout] | [INFO] [stdout] 90 | fn fast_floor(x: f64) -> i32 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `dot2d` is never used [INFO] [stdout] --> lib/noise.rs:99:4 [INFO] [stdout] | [INFO] [stdout] 99 | fn dot2d(g: [f64; 2], x: f64, y: f64) -> f64 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `dot3d` is never used [INFO] [stdout] --> lib/noise.rs:104:4 [INFO] [stdout] | [INFO] [stdout] 104 | fn dot3d(g: [f64; 3], x: f64, y: f64, z: f64) -> f64 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `dot4d` is never used [INFO] [stdout] --> lib/noise.rs:109:4 [INFO] [stdout] | [INFO] [stdout] 109 | fn dot4d(g: [f64; 4], x: f64, y: f64, z: f64, w: f64) -> f64 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `noise3d` is never used [INFO] [stdout] --> lib/noise.rs:113:8 [INFO] [stdout] | [INFO] [stdout] 113 | pub fn noise3d(x: f64, y: f64, z: f64) -> f64 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `noise2d` is never used [INFO] [stdout] --> lib/noise.rs:259:8 [INFO] [stdout] | [INFO] [stdout] 259 | pub fn noise2d(x: f64, y: f64) -> f64 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `noise1d` is never used [INFO] [stdout] --> lib/noise.rs:264:8 [INFO] [stdout] | [INFO] [stdout] 264 | pub fn noise1d(x: f64) -> f64 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `intersections` is never used [INFO] [stdout] --> lib/primitives/shapes_2d.rs:56:12 [INFO] [stdout] | [INFO] [stdout] 51 | impl Edges { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 56 | pub fn intersections(&self) -> Vec<(&Edge, &Edge)> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `frame_count` is never read [INFO] [stdout] --> lib/processing.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 28 | pub struct Processing { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 36 | frame_count: u32, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `arc` is never used [INFO] [stdout] --> lib/tess/fns.rs:109:12 [INFO] [stdout] | [INFO] [stdout] 109 | pub fn arc(center: Point, radius: f32, start: f32, end: f32, segments: usize) -> GlTriangleVec { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `stroke` and `stroke_weight` are never read [INFO] [stdout] --> lib/geometry.rs:40:5 [INFO] [stdout] | [INFO] [stdout] 35 | pub struct GeometryVertex { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 40 | stroke: Option, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 41 | stroke_weight: f32, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `SOURCE` is never used [INFO] [stdout] --> lib/noise.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | static SOURCE: [u8; 256] = [ [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `PERM` is never used [INFO] [stdout] --> lib/noise.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 17 | static mut PERM: [u8; 512] = { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `SQRT3` is never used [INFO] [stdout] --> lib/noise.rs:28:7 [INFO] [stdout] | [INFO] [stdout] 28 | const SQRT3: f64 = 1.7320508075688772935; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `SQRT5` is never used [INFO] [stdout] --> lib/noise.rs:29:7 [INFO] [stdout] | [INFO] [stdout] 29 | const SQRT5: f64 = 2.2360679774997896964; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `F2` is never used [INFO] [stdout] --> lib/noise.rs:31:7 [INFO] [stdout] | [INFO] [stdout] 31 | const F2: f64 = 0.5 * (SQRT3 - 1.0); [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `G2` is never used [INFO] [stdout] --> lib/noise.rs:32:7 [INFO] [stdout] | [INFO] [stdout] 32 | const G2: f64 = (3.0 - SQRT3) / 6.0; [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `G22` is never used [INFO] [stdout] --> lib/noise.rs:33:7 [INFO] [stdout] | [INFO] [stdout] 33 | const G22: f64 = G2 * 2.0 - 1.0; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `F3` is never used [INFO] [stdout] --> lib/noise.rs:35:7 [INFO] [stdout] | [INFO] [stdout] 35 | const F3: f64 = 1.0 / 3.0; [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `G3` is never used [INFO] [stdout] --> lib/noise.rs:36:7 [INFO] [stdout] | [INFO] [stdout] 36 | const G3: f64 = 1.0 / 6.0; [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `F4` is never used [INFO] [stdout] --> lib/noise.rs:38:7 [INFO] [stdout] | [INFO] [stdout] 38 | const F4: f64 = (SQRT5 - 1.0) / 4.0; [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `G4` is never used [INFO] [stdout] --> lib/noise.rs:39:7 [INFO] [stdout] | [INFO] [stdout] 39 | const G4: f64 = (5.0 - SQRT5) / 20.0; [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `G42` is never used [INFO] [stdout] --> lib/noise.rs:40:7 [INFO] [stdout] | [INFO] [stdout] 40 | const G42: f64 = G4 * 2.0; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `G43` is never used [INFO] [stdout] --> lib/noise.rs:41:7 [INFO] [stdout] | [INFO] [stdout] 41 | const G43: f64 = G4 * 3.0; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `G44` is never used [INFO] [stdout] --> lib/noise.rs:42:7 [INFO] [stdout] | [INFO] [stdout] 42 | const G44: f64 = G4 * 4.0 - 1.0; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `GRAD1` is never used [INFO] [stdout] --> lib/noise.rs:44:7 [INFO] [stdout] | [INFO] [stdout] 44 | const GRAD1: [f64; 2] = [1.0, -1.0]; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `GRAD2` is never used [INFO] [stdout] --> lib/noise.rs:46:7 [INFO] [stdout] | [INFO] [stdout] 46 | const GRAD2: [[f64; 2]; 8] = [ [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `GRAD3` is never used [INFO] [stdout] --> lib/noise.rs:57:7 [INFO] [stdout] | [INFO] [stdout] 57 | const GRAD3: [[f64; 3]; 12] = [ [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `seed` is never used [INFO] [stdout] --> lib/noise.rs:72:8 [INFO] [stdout] | [INFO] [stdout] 72 | pub fn seed(seed: u32) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `fast_floor` is never used [INFO] [stdout] --> lib/noise.rs:90:4 [INFO] [stdout] | [INFO] [stdout] 90 | fn fast_floor(x: f64) -> i32 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `dot2d` is never used [INFO] [stdout] --> lib/noise.rs:99:4 [INFO] [stdout] | [INFO] [stdout] 99 | fn dot2d(g: [f64; 2], x: f64, y: f64) -> f64 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `dot3d` is never used [INFO] [stdout] --> lib/noise.rs:104:4 [INFO] [stdout] | [INFO] [stdout] 104 | fn dot3d(g: [f64; 3], x: f64, y: f64, z: f64) -> f64 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `dot4d` is never used [INFO] [stdout] --> lib/noise.rs:109:4 [INFO] [stdout] | [INFO] [stdout] 109 | fn dot4d(g: [f64; 4], x: f64, y: f64, z: f64, w: f64) -> f64 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `noise3d` is never used [INFO] [stdout] --> lib/noise.rs:113:8 [INFO] [stdout] | [INFO] [stdout] 113 | pub fn noise3d(x: f64, y: f64, z: f64) -> f64 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `noise2d` is never used [INFO] [stdout] --> lib/noise.rs:259:8 [INFO] [stdout] | [INFO] [stdout] 259 | pub fn noise2d(x: f64, y: f64) -> f64 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `noise1d` is never used [INFO] [stdout] --> lib/noise.rs:264:8 [INFO] [stdout] | [INFO] [stdout] 264 | pub fn noise1d(x: f64) -> f64 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `intersections` is never used [INFO] [stdout] --> lib/primitives/shapes_2d.rs:56:12 [INFO] [stdout] | [INFO] [stdout] 51 | impl Edges { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 56 | pub fn intersections(&self) -> Vec<(&Edge, &Edge)> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `frame_count` is never read [INFO] [stdout] --> lib/processing.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 28 | pub struct Processing { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 36 | frame_count: u32, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `arc` is never used [INFO] [stdout] --> lib/tess/fns.rs:109:12 [INFO] [stdout] | [INFO] [stdout] 109 | pub fn arc(center: Point, radius: f32, start: f32, end: f32, segments: usize) -> GlTriangleVec { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 29 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 29 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `LSystemConfig` is never constructed [INFO] [stdout] --> src/examples/l_systems/l_system.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct LSystemConfig { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `LSystemConfig` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `InvalidStartCharacter`, `InvalidRuleCharacter`, `TooManyClosingBrackets`, and `TooManyOpeningBrackets` are never constructed [INFO] [stdout] --> src/examples/l_systems/l_system.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 12 | pub enum LSystemConfigError { [INFO] [stdout] | ------------------ variants in this enum [INFO] [stdout] 13 | #[error("Invalid character in start string: {0}")] [INFO] [stdout] 14 | InvalidStartCharacter(char), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 15 | #[error("Invalid character in rule: {0}\nrule: {1}\nindex: {2}")] [INFO] [stdout] 16 | InvalidRuleCharacter(char, String, usize), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 17 | #[error("Too many closing brackets")] [INFO] [stdout] 18 | TooManyClosingBrackets, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 19 | #[error("Too many opening brackets")] [INFO] [stdout] 20 | TooManyOpeningBrackets, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `LSystemConfigError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `rules`, `check_rules`, `apply_rules`, and `generate` are never used [INFO] [stdout] --> src/examples/l_systems/l_system.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 23 | impl LSystemConfig { [INFO] [stdout] | ------------------ associated items in this implementation [INFO] [stdout] 24 | pub fn rules(start: &str, rules: &[(char, &str)]) -> Result { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 41 | fn check_rules(variables: Vec, rules: &[(char, &str)]) -> Result<(), LSystemConfigError> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 69 | fn apply_rules(&self, current: &str) -> String { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 82 | pub fn generate(&self, iterations: usize) -> String { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `P` is never used [INFO] [stdout] --> src/examples/l_systems/main.rs:10:6 [INFO] [stdout] | [INFO] [stdout] 10 | type P<'a> = Processing; [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `draw` is never used [INFO] [stdout] --> src/examples/l_systems/main.rs:12:8 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn draw(config: &LSystemConfig, start_pos: Vector2D, iterations: usize, p: &mut P) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `State` is never constructed [INFO] [stdout] --> src/examples/l_systems/main.rs:57:12 [INFO] [stdout] | [INFO] [stdout] 57 | pub struct State { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `app` is never used [INFO] [stdout] --> src/examples/l_systems/main.rs:62:8 [INFO] [stdout] | [INFO] [stdout] 62 | pub fn app() -> impl Application { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `app` is never used [INFO] [stdout] --> src/examples/trees/main.rs:5:8 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn app() -> impl Application { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MaxToMinFn` is never constructed [INFO] [stdout] --> src/examples/trees/tree.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct MaxToMinFn { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `custom_fn`, `lerp`, and `map` are never used [INFO] [stdout] --> src/examples/trees/tree.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 9 | impl MaxToMinFn { [INFO] [stdout] | --------------- associated items in this implementation [INFO] [stdout] 10 | pub fn custom_fn(max: f32, min: f32, func: fn(f32, f32, f32) -> f32) -> MaxToMinFn { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 14 | pub fn lerp(max: f32, min: f32) -> MaxToMinFn { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 18 | pub fn map(&self, value: f32) -> f32 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `BranchOptions` is never constructed [INFO] [stdout] --> src/examples/trees/tree.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 23 | pub struct BranchOptions {} [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Branch` is never constructed [INFO] [stdout] --> src/examples/trees/tree.rs:26:8 [INFO] [stdout] | [INFO] [stdout] 26 | struct Branch { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `from_angle`, `length`, `angle`, and `draw` are never used [INFO] [stdout] --> src/examples/trees/tree.rs:34:8 [INFO] [stdout] | [INFO] [stdout] 33 | impl Branch { [INFO] [stdout] | ----------- associated items in this implementation [INFO] [stdout] 34 | fn new(start: Vector2D, end: Vector2D, width: f32, color: Color) -> Branch { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 43 | fn from_angle(start: Vector2D, angle: f32, length: f32, width: f32, color: Color) -> Branch { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 48 | fn length(&self) -> f32 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 52 | fn angle(&self) -> f32 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 56 | fn draw(&self, p: &mut Processing<(), GraphicsP2D>) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TreeOptions` is never constructed [INFO] [stdout] --> src/examples/trees/tree.rs:63:12 [INFO] [stdout] | [INFO] [stdout] 63 | pub struct TreeOptions { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Tree` is never constructed [INFO] [stdout] --> src/examples/trees/tree.rs:77:12 [INFO] [stdout] | [INFO] [stdout] 77 | pub struct Tree { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `generate`, `branch_out`, `grow_out`, `grow`, and `draw` are never used [INFO] [stdout] --> src/examples/trees/tree.rs:83:12 [INFO] [stdout] | [INFO] [stdout] 82 | impl Tree { [INFO] [stdout] | --------- associated items in this implementation [INFO] [stdout] 83 | pub fn new(options: TreeOptions) -> Tree { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 90 | pub fn generate(mut self) -> Tree { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 108 | fn branch_out(&mut self, branch: &Branch, iteration: u32) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 113 | fn grow_out(&mut self, branch: &Branch, iteration: u32) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 130 | fn grow(&mut self, branch: &Branch, iteration: u32) { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 144 | pub fn draw(&self, p: &mut Processing<(), GraphicsP2D>) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 16 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `LSystemConfig` is never constructed [INFO] [stdout] --> src/examples/l_systems/l_system.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct LSystemConfig { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `LSystemConfig` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `InvalidStartCharacter`, `InvalidRuleCharacter`, `TooManyClosingBrackets`, and `TooManyOpeningBrackets` are never constructed [INFO] [stdout] --> src/examples/l_systems/l_system.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 12 | pub enum LSystemConfigError { [INFO] [stdout] | ------------------ variants in this enum [INFO] [stdout] 13 | #[error("Invalid character in start string: {0}")] [INFO] [stdout] 14 | InvalidStartCharacter(char), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 15 | #[error("Invalid character in rule: {0}\nrule: {1}\nindex: {2}")] [INFO] [stdout] 16 | InvalidRuleCharacter(char, String, usize), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 17 | #[error("Too many closing brackets")] [INFO] [stdout] 18 | TooManyClosingBrackets, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 19 | #[error("Too many opening brackets")] [INFO] [stdout] 20 | TooManyOpeningBrackets, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `LSystemConfigError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `rules`, `check_rules`, `apply_rules`, and `generate` are never used [INFO] [stdout] --> src/examples/l_systems/l_system.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 23 | impl LSystemConfig { [INFO] [stdout] | ------------------ associated items in this implementation [INFO] [stdout] 24 | pub fn rules(start: &str, rules: &[(char, &str)]) -> Result { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 41 | fn check_rules(variables: Vec, rules: &[(char, &str)]) -> Result<(), LSystemConfigError> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 69 | fn apply_rules(&self, current: &str) -> String { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 82 | pub fn generate(&self, iterations: usize) -> String { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `P` is never used [INFO] [stdout] --> src/examples/l_systems/main.rs:10:6 [INFO] [stdout] | [INFO] [stdout] 10 | type P<'a> = Processing; [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `draw` is never used [INFO] [stdout] --> src/examples/l_systems/main.rs:12:8 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn draw(config: &LSystemConfig, start_pos: Vector2D, iterations: usize, p: &mut P) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `State` is never constructed [INFO] [stdout] --> src/examples/l_systems/main.rs:57:12 [INFO] [stdout] | [INFO] [stdout] 57 | pub struct State { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `app` is never used [INFO] [stdout] --> src/examples/l_systems/main.rs:62:8 [INFO] [stdout] | [INFO] [stdout] 62 | pub fn app() -> impl Application { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `app` is never used [INFO] [stdout] --> src/examples/trees/main.rs:5:8 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn app() -> impl Application { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MaxToMinFn` is never constructed [INFO] [stdout] --> src/examples/trees/tree.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct MaxToMinFn { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `custom_fn`, `lerp`, and `map` are never used [INFO] [stdout] --> src/examples/trees/tree.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 9 | impl MaxToMinFn { [INFO] [stdout] | --------------- associated items in this implementation [INFO] [stdout] 10 | pub fn custom_fn(max: f32, min: f32, func: fn(f32, f32, f32) -> f32) -> MaxToMinFn { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 14 | pub fn lerp(max: f32, min: f32) -> MaxToMinFn { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 18 | pub fn map(&self, value: f32) -> f32 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `BranchOptions` is never constructed [INFO] [stdout] --> src/examples/trees/tree.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 23 | pub struct BranchOptions {} [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Branch` is never constructed [INFO] [stdout] --> src/examples/trees/tree.rs:26:8 [INFO] [stdout] | [INFO] [stdout] 26 | struct Branch { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `from_angle`, `length`, `angle`, and `draw` are never used [INFO] [stdout] --> src/examples/trees/tree.rs:34:8 [INFO] [stdout] | [INFO] [stdout] 33 | impl Branch { [INFO] [stdout] | ----------- associated items in this implementation [INFO] [stdout] 34 | fn new(start: Vector2D, end: Vector2D, width: f32, color: Color) -> Branch { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 43 | fn from_angle(start: Vector2D, angle: f32, length: f32, width: f32, color: Color) -> Branch { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 48 | fn length(&self) -> f32 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 52 | fn angle(&self) -> f32 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 56 | fn draw(&self, p: &mut Processing<(), GraphicsP2D>) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TreeOptions` is never constructed [INFO] [stdout] --> src/examples/trees/tree.rs:63:12 [INFO] [stdout] | [INFO] [stdout] 63 | pub struct TreeOptions { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Tree` is never constructed [INFO] [stdout] --> src/examples/trees/tree.rs:77:12 [INFO] [stdout] | [INFO] [stdout] 77 | pub struct Tree { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `generate`, `branch_out`, `grow_out`, `grow`, and `draw` are never used [INFO] [stdout] --> src/examples/trees/tree.rs:83:12 [INFO] [stdout] | [INFO] [stdout] 82 | impl Tree { [INFO] [stdout] | --------- associated items in this implementation [INFO] [stdout] 83 | pub fn new(options: TreeOptions) -> Tree { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 90 | pub fn generate(mut self) -> Tree { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 108 | fn branch_out(&mut self, branch: &Branch, iteration: u32) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 113 | fn grow_out(&mut self, branch: &Branch, iteration: u32) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 130 | fn grow(&mut self, branch: &Branch, iteration: u32) { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 144 | pub fn draw(&self, p: &mut Processing<(), GraphicsP2D>) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 16 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 10s [INFO] running `Command { std: "docker" "inspect" "1ec1e629ee61591a431927ca4bc02333a64761f45e317899890a7ee47e96086a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1ec1e629ee61591a431927ca4bc02333a64761f45e317899890a7ee47e96086a", kill_on_drop: false }` [INFO] [stdout] 1ec1e629ee61591a431927ca4bc02333a64761f45e317899890a7ee47e96086a