[INFO] cloning repository https://github.com/amuricys/sars [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/amuricys/sars" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Famuricys%2Fsars", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Famuricys%2Fsars'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 0638d585ff9e2db62b661f2e0e9b378da5abb1f4 [INFO] checking amuricys/sars against master#90442458ac46b1d5eed752c316da25450f67285b for pr-81477 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Famuricys%2Fsars" "/workspace/builds/worker-2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/amuricys/sars on toolchain 90442458ac46b1d5eed752c316da25450f67285b [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+90442458ac46b1d5eed752c316da25450f67285b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/amuricys/sars [INFO] finished tweaking git repo https://github.com/amuricys/sars [INFO] tweaked toml for git repo https://github.com/amuricys/sars written to /workspace/builds/worker-2/source/Cargo.toml [INFO] crate git repo https://github.com/amuricys/sars already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+90442458ac46b1d5eed752c316da25450f67285b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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:ea7d7bff36b2ba8ce4de8bba1d2dea90376bc481f1a945a913994a8c492e40c1" "/opt/rustwide/cargo-home/bin/cargo" "+90442458ac46b1d5eed752c316da25450f67285b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d5dd263672859a727d7a4bf1c8e0768b3a252748f5181d792b0a267908444a01 [INFO] running `Command { std: "docker" "start" "-a" "d5dd263672859a727d7a4bf1c8e0768b3a252748f5181d792b0a267908444a01", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d5dd263672859a727d7a4bf1c8e0768b3a252748f5181d792b0a267908444a01", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d5dd263672859a727d7a4bf1c8e0768b3a252748f5181d792b0a267908444a01", kill_on_drop: false }` [INFO] [stdout] d5dd263672859a727d7a4bf1c8e0768b3a252748f5181d792b0a267908444a01 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:ea7d7bff36b2ba8ce4de8bba1d2dea90376bc481f1a945a913994a8c492e40c1" "/opt/rustwide/cargo-home/bin/cargo" "+90442458ac46b1d5eed752c316da25450f67285b" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3f41807b5cefd22df8074262646739edad1ff8a78f6a708ca8e740740a123f84 [INFO] running `Command { std: "docker" "start" "-a" "3f41807b5cefd22df8074262646739edad1ff8a78f6a708ca8e740740a123f84", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling autocfg v1.0.0 [INFO] [stderr] Compiling libc v0.2.97 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Compiling khronos_api v3.1.0 [INFO] [stderr] Compiling nix v0.14.1 [INFO] [stderr] Compiling proc-macro2 v1.0.19 [INFO] [stderr] Checking piston-float v1.0.0 [INFO] [stderr] Checking linked-hash-map v0.5.4 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling syn v1.0.35 [INFO] [stderr] Checking same-file v1.0.6 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Checking either v1.5.3 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Checking piston-graphics_api_version v1.0.0 [INFO] [stderr] Checking piston-texture v0.8.0 [INFO] [stderr] Checking read_color v1.0.0 [INFO] [stderr] Checking piston-graphics_api_version v0.2.0 [INFO] [stderr] Checking interpolation v0.2.0 [INFO] [stderr] Checking percent-encoding v2.1.0 [INFO] [stderr] Checking bytemuck v1.3.0 [INFO] [stderr] Compiling getrandom v0.1.14 [INFO] [stderr] Checking fixedbitset v0.1.9 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Checking piston-shaders_graphics2d v0.3.1 [INFO] [stderr] Checking hashbrown v0.9.1 [INFO] [stderr] Checking fixedbitset v0.3.2 [INFO] [stderr] Checking find_folder v0.3.0 [INFO] [stderr] Checking vec1 v1.6.0 [INFO] [stderr] Compiling x11-dl v2.18.5 [INFO] [stderr] Compiling libloading v0.5.2 [INFO] [stderr] Checking gif v0.10.3 [INFO] [stderr] Checking lock_api v0.3.4 [INFO] [stderr] Checking shader_version v0.6.0 [INFO] [stderr] Checking shader_version v0.7.0 [INFO] [stderr] Checking crc32fast v1.2.0 [INFO] [stderr] Checking walkdir v2.3.1 [INFO] [stderr] Checking piston-viewport v1.0.0 [INFO] [stderr] Checking vecmath v1.0.0 [INFO] [stderr] Checking toml v0.5.7 [INFO] [stderr] Checking instant v0.1.9 [INFO] [stderr] Checking petgraph v0.4.13 [INFO] [stderr] Checking wayland-sys v0.21.13 [INFO] [stderr] Checking wayland-sys v0.23.6 [INFO] [stderr] Checking itertools v0.9.0 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Checking smallvec v0.6.13 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling memoffset v0.5.5 [INFO] [stderr] Compiling crossbeam-epoch v0.8.2 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling num-bigint v0.3.2 [INFO] [stderr] Compiling num-rational v0.3.2 [INFO] [stderr] Compiling num-iter v0.1.42 [INFO] [stderr] Compiling rayon v1.3.1 [INFO] [stderr] Compiling indexmap v1.6.2 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling gl_generator v0.13.1 [INFO] [stderr] Compiling gl_generator v0.10.0 [INFO] [stderr] Compiling gl_generator v0.14.0 [INFO] [stderr] Checking draw_state v0.8.0 [INFO] [stderr] Checking gfx_core v0.9.2 [INFO] [stderr] Compiling parking_lot_core v0.6.2 [INFO] [stderr] Compiling parking_lot v0.9.0 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Compiling xcb v0.9.0 [INFO] [stderr] Checking daggy v0.5.0 [INFO] [stderr] Checking stb_truetype v0.3.1 [INFO] [stderr] Checking deflate v0.8.6 [INFO] [stderr] Checking tiff v0.5.0 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking memmap v0.7.0 [INFO] [stderr] Checking raw-window-handle v0.3.3 [INFO] [stderr] Checking shared_library v0.1.9 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Checking osmesa-sys v0.1.2 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking png v0.16.7 [INFO] [stderr] Checking crossbeam-queue v0.2.3 [INFO] [stderr] Compiling wayland-scanner v0.21.13 [INFO] [stderr] Compiling wayland-scanner v0.23.6 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Compiling gl v0.11.0 [INFO] [stderr] Compiling glutin_egl_sys v0.1.4 [INFO] [stderr] Compiling glutin_glx_sys v0.1.6 [INFO] [stderr] Compiling gfx_gl v0.6.1 [INFO] [stderr] Checking crossbeam-deque v0.7.3 [INFO] [stderr] Checking approx v0.3.2 [INFO] [stderr] Checking ordered-float v1.1.0 [INFO] [stderr] Checking line_drawing v0.7.0 [INFO] [stderr] Checking num-complex v0.3.1 [INFO] [stderr] Checking float-cmp v0.8.0 [INFO] [stderr] Checking pathfinding v2.1.1 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking rayon-core v1.7.1 [INFO] [stderr] Checking rusttype v0.8.3 [INFO] [stderr] Checking gfx v0.18.2 [INFO] [stderr] Checking rusttype v0.7.9 [INFO] [stderr] Checking piston2d-graphics v0.37.0 [INFO] [stderr] Checking piston2d-graphics v0.36.0 [INFO] [stderr] Checking andrew v0.2.1 [INFO] [stderr] Compiling wayland-client v0.21.13 [INFO] [stderr] Compiling wayland-protocols v0.21.13 [INFO] [stderr] Compiling wayland-client v0.23.6 [INFO] [stderr] Compiling wayland-protocols v0.23.6 [INFO] [stderr] Checking num v0.3.1 [INFO] [stderr] Checking wayland-commons v0.21.13 [INFO] [stderr] Checking wayland-commons v0.23.6 [INFO] [stderr] Checking jpeg-decoder v0.1.20 [INFO] [stderr] Checking image v0.23.7 [INFO] [stderr] Checking gfx_device_gl v0.16.2 [INFO] [stderr] Compiling serde_derive v1.0.114 [INFO] [stderr] Compiling conrod_derive v0.73.0 [INFO] [stderr] Checking piston-gfx_texture v0.41.0 [INFO] [stderr] Checking piston2d-opengl_graphics v0.72.0 [INFO] [stderr] Checking piston2d-gfx_graphics v0.70.0 [INFO] [stderr] Checking x11-clipboard v0.5.2 [INFO] [stderr] Checking smithay-client-toolkit v0.4.6 [INFO] [stderr] Checking smithay-client-toolkit v0.6.6 [INFO] [stderr] Checking winit v0.19.5 [INFO] [stderr] Checking pistoncore-input v1.0.0 [INFO] [stderr] Checking smithay-clipboard v0.4.0 [INFO] [stderr] Checking copypasta v0.6.3 [INFO] [stderr] Checking glutin v0.21.2 [INFO] [stderr] Checking pistoncore-window v0.47.0 [INFO] [stderr] Checking pistoncore-window v0.46.0 [INFO] [stderr] Checking conrod_core v0.73.0 [INFO] [stderr] Checking pistoncore-event_loop v0.51.0 [INFO] [stderr] Checking pistoncore-event_loop v0.52.0 [INFO] [stderr] Checking piston v0.51.0 [INFO] [stderr] Checking piston v0.52.1 [INFO] [stderr] Checking pistoncore-glutin_window v0.66.0 [INFO] [stderr] Checking pistoncore-glutin_window v0.65.0 [INFO] [stderr] Checking piston_window v0.113.0 [INFO] [stderr] Checking conrod_piston v0.73.0 [INFO] [stderr] Checking sars v0.0.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/graph/effects/helpers.rs:108:39 [INFO] [stdout] | [INFO] [stdout] 108 | running_total_of_something += (sod - distance_between_points(i.cur_x + i.delta_x, i.cur_y + i.delta_y, tgt.x, tgt.y)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `graph::effects::apply_changes` [INFO] [stdout] --> src/graph/effects/pusher_1.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use graph::effects::apply_changes; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `INNER`, `NodeChange`, `Node`, `OUTER`, `ThickSurface` [INFO] [stdout] --> src/graph/effects/pusher_1.rs:3:27 [INFO] [stdout] | [INFO] [stdout] 3 | use graph::types::{Graph, Node, NodeChange, NodeChangeMap, ThickSurface, INNER, OUTER}; [INFO] [stdout] | ^^^^ ^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `closest_node_to_some_point`, `distance_between_nodes`, `distance_between_points` [INFO] [stdout] --> src/graph/effects/pusher_1.rs:4:13 [INFO] [stdout] | [INFO] [stdout] 4 | use graph::{closest_node_to_some_point, distance_between_nodes, distance_between_points}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `piston::input::keyboard::Key::Out` [INFO] [stdout] --> src/graph/effects/pusher_1.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use piston::input::keyboard::Key::Out; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `graph::effects::apply_changes` [INFO] [stdout] --> src/graph/effects/pusher_2.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use graph::effects::apply_changes; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `INNER`, `OUTER`, `ThickSurface` [INFO] [stdout] --> src/graph/effects/pusher_2.rs:3:60 [INFO] [stdout] | [INFO] [stdout] 3 | use graph::types::{Graph, Node, NodeChange, NodeChangeMap, ThickSurface, INNER, OUTER}; [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `closest_node_to_some_point`, `distance_between_nodes` [INFO] [stdout] --> src/graph/effects/pusher_2.rs:4:13 [INFO] [stdout] | [INFO] [stdout] 4 | use graph::{closest_node_to_some_point, distance_between_nodes, distance_between_points}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `piston::input::keyboard::Key::Out` [INFO] [stdout] --> src/graph/effects/pusher_2.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use piston::input::keyboard::Key::Out; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `stitcher::types::Stitching` [INFO] [stdout] --> src/graph/effects/pusher_2.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use stitcher::types::Stitching; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `distance_between_points` [INFO] [stdout] --> src/graph/effects/mod.rs:5:37 [INFO] [stdout] | [INFO] [stdout] 5 | use graph::{distance_between_nodes, distance_between_points, NodeMerging}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `bisecting_vector`, `lines_intersection`, `norm` [INFO] [stdout] --> src/graph/effects/mod.rs:10:22 [INFO] [stdout] | [INFO] [stdout] 10 | use linalg_helpers::{bisecting_vector, lines_intersection, norm}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `vec1::Vec1` [INFO] [stdout] --> src/graph/effects/mod.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use vec1::Vec1; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `closest_nodes_to_some_point` [INFO] [stdout] --> src/graph/types.rs:2:46 [INFO] [stdout] | [INFO] [stdout] 2 | use graph::{closest_nodes_across_all_layers, closest_nodes_to_some_point, graphs_to_lines, available_node_id, NodeMerging, closest_node_a... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `dist` [INFO] [stdout] --> src/graph/types.rs:3:22 [INFO] [stdout] | [INFO] [stdout] 3 | use linalg_helpers::{dist, lines_intersection}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `renderer::lines_from_thick_surface` [INFO] [stdout] --> src/graph/types.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use renderer::lines_from_thick_surface; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::f64::INFINITY` [INFO] [stdout] --> src/graph/types.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::f64::INFINITY; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::iter::once` [INFO] [stdout] --> src/graph/types.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use std::iter::once; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `renderer::lines_from_thick_surface` [INFO] [stdout] --> src/graph/mod.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use renderer::lines_from_thick_surface; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::f32::INFINITY` [INFO] [stdout] --> src/graph/mod.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use std::f32::INFINITY; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rand` [INFO] [stdout] --> src/my_gui/draw_mode.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use rand; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `conrod_core::image::Map` [INFO] [stdout] --> src/my_gui/draw_mode.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use conrod_core::image::Map; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Align`, `Direction`, `Padding`, `Position`, `Relative` [INFO] [stdout] --> src/my_gui/draw_mode.rs:6:29 [INFO] [stdout] | [INFO] [stdout] 6 | use conrod_core::position::{Align, Direction, Padding, Position, Relative}; [INFO] [stdout] | ^^^^^ ^^^^^^^^^ ^^^^^^^ ^^^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `conrod_core::text::rt::gpu_cache::Cache` [INFO] [stdout] --> src/my_gui/draw_mode.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use conrod_core::text::rt::gpu_cache::Cache; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `conrod_core::widget::file_navigator::Types::All` [INFO] [stdout] --> src/my_gui/draw_mode.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use conrod_core::widget::file_navigator::Types::All; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `conrod_core::widget::list::Item` [INFO] [stdout] --> src/my_gui/draw_mode.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use conrod_core::widget::list::Item; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `conrod_piston::event::GenericEvent` [INFO] [stdout] --> src/my_gui/draw_mode.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use conrod_piston::event::GenericEvent; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `graph::effects::add_node_` [INFO] [stdout] --> src/my_gui/draw_mode.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use graph::effects::add_node_; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `NodeAddition`, `Node`, `ThickSurface` [INFO] [stdout] --> src/my_gui/draw_mode.rs:15:20 [INFO] [stdout] | [INFO] [stdout] 15 | use graph::types::{Node, NodeAddition, ThickSurface, INNER, OUTER}; [INFO] [stdout] | ^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `circular_thick_surface`, `closest_nodes_to_some_point` [INFO] [stdout] --> src/my_gui/draw_mode.rs:16:13 [INFO] [stdout] | [INFO] [stdout] 16 | use graph::{circular_thick_surface, closest_node_to_some_point, closest_nodes_to_some_point}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Num` [INFO] [stdout] --> src/my_gui/draw_mode.rs:19:18 [INFO] [stdout] | [INFO] [stdout] 19 | use num_traits::{Num, NumCast}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `piston_window::texture::UpdateTexture` [INFO] [stdout] --> src/my_gui/draw_mode.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | use piston_window::texture::UpdateTexture; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `piston_window::OpenGL` [INFO] [stdout] --> src/my_gui/draw_mode.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | use piston_window::OpenGL; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Flip`, `G2dTexture`, `G2d`, `TextureSettings`, `Texture` [INFO] [stdout] --> src/my_gui/draw_mode.rs:22:21 [INFO] [stdout] | [INFO] [stdout] 22 | use piston_window::{Flip, G2d, G2dTexture, Texture, TextureSettings}; [INFO] [stdout] | ^^^^ ^^^ ^^^^^^^^^^ ^^^^^^^ ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `PistonWindow`, `UpdateEvent`, `WindowSettings`, `Window` [INFO] [stdout] --> src/my_gui/draw_mode.rs:23:21 [INFO] [stdout] | [INFO] [stdout] 23 | use piston_window::{PistonWindow, UpdateEvent, Window, WindowSettings}; [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^^^^ ^^^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `renderer::lines_from_thick_surface` [INFO] [stdout] --> src/my_gui/draw_mode.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | use renderer::lines_from_thick_surface; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `step` [INFO] [stdout] --> src/my_gui/draw_mode.rs:26:27 [INFO] [stdout] | [INFO] [stdout] 26 | use simulated_annealing::{step, SimState}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fmt::Debug` [INFO] [stdout] --> src/my_gui/draw_mode.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | use std::fmt::Debug; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `stitcher::types::Stitching` [INFO] [stdout] --> src/my_gui/draw_mode.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 29 | use stitcher::types::Stitching; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `widget` is imported redundantly [INFO] [stdout] --> src/my_gui/draw_mode.rs:266:23 [INFO] [stdout] | [INFO] [stdout] 2 | use conrod_core::*; [INFO] [stdout] | -------------- the item `widget` is already imported here [INFO] [stdout] ... [INFO] [stdout] 266 | use conrod_core::{widget, Colorable, Labelable, Positionable, Sizeable, Widget}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Colorable` is imported redundantly [INFO] [stdout] --> src/my_gui/draw_mode.rs:266:31 [INFO] [stdout] | [INFO] [stdout] 2 | use conrod_core::*; [INFO] [stdout] | -------------- the item `Colorable` is already imported here [INFO] [stdout] ... [INFO] [stdout] 266 | use conrod_core::{widget, Colorable, Labelable, Positionable, Sizeable, Widget}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Labelable` is imported redundantly [INFO] [stdout] --> src/my_gui/draw_mode.rs:266:42 [INFO] [stdout] | [INFO] [stdout] 2 | use conrod_core::*; [INFO] [stdout] | -------------- the item `Labelable` is already imported here [INFO] [stdout] ... [INFO] [stdout] 266 | use conrod_core::{widget, Colorable, Labelable, Positionable, Sizeable, Widget}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Positionable` is imported redundantly [INFO] [stdout] --> src/my_gui/draw_mode.rs:266:53 [INFO] [stdout] | [INFO] [stdout] 2 | use conrod_core::*; [INFO] [stdout] | -------------- the item `Positionable` is already imported here [INFO] [stdout] ... [INFO] [stdout] 266 | use conrod_core::{widget, Colorable, Labelable, Positionable, Sizeable, Widget}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Sizeable` is imported redundantly [INFO] [stdout] --> src/my_gui/draw_mode.rs:266:67 [INFO] [stdout] | [INFO] [stdout] 2 | use conrod_core::*; [INFO] [stdout] | -------------- the item `Sizeable` is already imported here [INFO] [stdout] ... [INFO] [stdout] 266 | use conrod_core::{widget, Colorable, Labelable, Positionable, Sizeable, Widget}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Widget` is imported redundantly [INFO] [stdout] --> src/my_gui/draw_mode.rs:266:77 [INFO] [stdout] | [INFO] [stdout] 2 | use conrod_core::*; [INFO] [stdout] | -------------- the item `Widget` is already imported here [INFO] [stdout] ... [INFO] [stdout] 266 | use conrod_core::{widget, Colorable, Labelable, Positionable, Sizeable, Widget}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::iter::once` [INFO] [stdout] --> src/my_gui/draw_mode.rs:267:9 [INFO] [stdout] | [INFO] [stdout] 267 | use std::iter::once; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rand` [INFO] [stdout] --> src/my_gui/run_mode.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use rand; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `conrod_core::image::Map` [INFO] [stdout] --> src/my_gui/run_mode.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use conrod_core::image::Map; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Align`, `Direction`, `Padding`, `Position`, `Relative` [INFO] [stdout] --> src/my_gui/run_mode.rs:6:29 [INFO] [stdout] | [INFO] [stdout] 6 | use conrod_core::position::{Align, Direction, Padding, Position, Relative}; [INFO] [stdout] | ^^^^^ ^^^^^^^^^ ^^^^^^^ ^^^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `conrod_core::text::rt::gpu_cache::Cache` [INFO] [stdout] --> src/my_gui/run_mode.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use conrod_core::text::rt::gpu_cache::Cache; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `conrod_core::widget::file_navigator::Types::All` [INFO] [stdout] --> src/my_gui/run_mode.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use conrod_core::widget::file_navigator::Types::All; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `conrod_core::widget::list::Item` [INFO] [stdout] --> src/my_gui/run_mode.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use conrod_core::widget::list::Item; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `conrod_piston::event::GenericEvent` [INFO] [stdout] --> src/my_gui/run_mode.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use conrod_piston::event::GenericEvent; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `graph::circular_thick_surface` [INFO] [stdout] --> src/my_gui/run_mode.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use graph::circular_thick_surface; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ThickSurface` [INFO] [stdout] --> src/my_gui/run_mode.rs:15:20 [INFO] [stdout] | [INFO] [stdout] 15 | use graph::types::{ThickSurface, INNER, OUTER}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Num` [INFO] [stdout] --> src/my_gui/run_mode.rs:16:18 [INFO] [stdout] | [INFO] [stdout] 16 | use num_traits::{Num, NumCast}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `piston_window::texture::UpdateTexture` [INFO] [stdout] --> src/my_gui/run_mode.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use piston_window::texture::UpdateTexture; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `piston_window::OpenGL` [INFO] [stdout] --> src/my_gui/run_mode.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | use piston_window::OpenGL; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Flip`, `G2dTexture`, `G2d`, `TextureSettings`, `Texture` [INFO] [stdout] --> src/my_gui/run_mode.rs:19:21 [INFO] [stdout] | [INFO] [stdout] 19 | use piston_window::{Flip, G2d, G2dTexture, Texture, TextureSettings}; [INFO] [stdout] | ^^^^ ^^^ ^^^^^^^^^^ ^^^^^^^ ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `PistonWindow`, `UpdateEvent`, `WindowSettings`, `Window` [INFO] [stdout] --> src/my_gui/run_mode.rs:20:21 [INFO] [stdout] | [INFO] [stdout] 20 | use piston_window::{PistonWindow, UpdateEvent, Window, WindowSettings}; [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^^^^ ^^^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `renderer::lines_from_thick_surface` [INFO] [stdout] --> src/my_gui/run_mode.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | use renderer::lines_from_thick_surface; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fmt::Debug` [INFO] [stdout] --> src/my_gui/run_mode.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | use std::fmt::Debug; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `stitcher::types::Stitching` [INFO] [stdout] --> src/my_gui/run_mode.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | use stitcher::types::Stitching; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Colorable` [INFO] [stdout] --> src/my_gui/run_mode.rs:263:31 [INFO] [stdout] | [INFO] [stdout] 263 | use conrod_core::{widget, Colorable, Labelable, Positionable, Sizeable, Widget}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `widget` is imported redundantly [INFO] [stdout] --> src/my_gui/run_mode.rs:263:23 [INFO] [stdout] | [INFO] [stdout] 2 | use conrod_core::*; [INFO] [stdout] | -------------- the item `widget` is already imported here [INFO] [stdout] ... [INFO] [stdout] 263 | use conrod_core::{widget, Colorable, Labelable, Positionable, Sizeable, Widget}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Colorable` is imported redundantly [INFO] [stdout] --> src/my_gui/run_mode.rs:263:31 [INFO] [stdout] | [INFO] [stdout] 2 | use conrod_core::*; [INFO] [stdout] | -------------- the item `Colorable` is already imported here [INFO] [stdout] ... [INFO] [stdout] 263 | use conrod_core::{widget, Colorable, Labelable, Positionable, Sizeable, Widget}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Labelable` is imported redundantly [INFO] [stdout] --> src/my_gui/run_mode.rs:263:42 [INFO] [stdout] | [INFO] [stdout] 2 | use conrod_core::*; [INFO] [stdout] | -------------- the item `Labelable` is already imported here [INFO] [stdout] ... [INFO] [stdout] 263 | use conrod_core::{widget, Colorable, Labelable, Positionable, Sizeable, Widget}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Positionable` is imported redundantly [INFO] [stdout] --> src/my_gui/run_mode.rs:263:53 [INFO] [stdout] | [INFO] [stdout] 2 | use conrod_core::*; [INFO] [stdout] | -------------- the item `Positionable` is already imported here [INFO] [stdout] ... [INFO] [stdout] 263 | use conrod_core::{widget, Colorable, Labelable, Positionable, Sizeable, Widget}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Sizeable` is imported redundantly [INFO] [stdout] --> src/my_gui/run_mode.rs:263:67 [INFO] [stdout] | [INFO] [stdout] 2 | use conrod_core::*; [INFO] [stdout] | -------------- the item `Sizeable` is already imported here [INFO] [stdout] ... [INFO] [stdout] 263 | use conrod_core::{widget, Colorable, Labelable, Positionable, Sizeable, Widget}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Widget` is imported redundantly [INFO] [stdout] --> src/my_gui/run_mode.rs:263:77 [INFO] [stdout] | [INFO] [stdout] 2 | use conrod_core::*; [INFO] [stdout] | -------------- the item `Widget` is already imported here [INFO] [stdout] ... [INFO] [stdout] 263 | use conrod_core::{widget, Colorable, Labelable, Positionable, Sizeable, Widget}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::iter::once` [INFO] [stdout] --> src/my_gui/run_mode.rs:264:9 [INFO] [stdout] | [INFO] [stdout] 264 | use std::iter::once; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rand` [INFO] [stdout] --> src/my_gui/mod.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use rand; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `conrod_core::image::Map` [INFO] [stdout] --> src/my_gui/mod.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use conrod_core::image::Map; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Align`, `Direction`, `Padding`, `Position`, `Relative` [INFO] [stdout] --> src/my_gui/mod.rs:9:29 [INFO] [stdout] | [INFO] [stdout] 9 | use conrod_core::position::{Align, Direction, Padding, Position, Relative}; [INFO] [stdout] | ^^^^^ ^^^^^^^^^ ^^^^^^^ ^^^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `conrod_core::text::rt::gpu_cache::Cache` [INFO] [stdout] --> src/my_gui/mod.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use conrod_core::text::rt::gpu_cache::Cache; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `conrod_core::widget::file_navigator::Types::All` [INFO] [stdout] --> src/my_gui/mod.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use conrod_core::widget::file_navigator::Types::All; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `conrod_core::widget::list::Item` [INFO] [stdout] --> src/my_gui/mod.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use conrod_core::widget::list::Item; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `conrod_core::widget::text_box::Event` [INFO] [stdout] --> src/my_gui/mod.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use conrod_core::widget::text_box::Event; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `conrod_core::widget::Id` [INFO] [stdout] --> src/my_gui/mod.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use conrod_core::widget::Id; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `file_io::toml_table_to_params` [INFO] [stdout] --> src/my_gui/mod.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | use file_io::toml_table_to_params; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `graph::circular_thick_surface` [INFO] [stdout] --> src/my_gui/mod.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use graph::circular_thick_surface; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `INNER`, `OUTER`, `ThickSurface` [INFO] [stdout] --> src/my_gui/mod.rs:18:20 [INFO] [stdout] | [INFO] [stdout] 18 | use graph::types::{ThickSurface, INNER, OUTER}; [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Num` [INFO] [stdout] --> src/my_gui/mod.rs:21:18 [INFO] [stdout] | [INFO] [stdout] 21 | use num_traits::{Num, NumCast}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Flip`, `Texture` [INFO] [stdout] --> src/my_gui/mod.rs:24:21 [INFO] [stdout] | [INFO] [stdout] 24 | use piston_window::{Flip, G2d, G2dTexture, Texture, TextureSettings}; [INFO] [stdout] | ^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `regex::Regex` [INFO] [stdout] --> src/my_gui/mod.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | use regex::Regex; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `renderer::lines_from_thick_surface` [INFO] [stdout] --> src/my_gui/mod.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | use renderer::lines_from_thick_surface; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `SimState`, `step` [INFO] [stdout] --> src/my_gui/mod.rs:28:27 [INFO] [stdout] | [INFO] [stdout] 28 | use simulated_annealing::{step, SimState}; [INFO] [stdout] | ^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fmt::Debug` [INFO] [stdout] --> src/my_gui/mod.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 29 | use std::fmt::Debug; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::str::FromStr` [INFO] [stdout] --> src/my_gui/mod.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 30 | use std::str::FromStr; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `stitcher::types::Stitching` [INFO] [stdout] --> src/my_gui/mod.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 31 | use stitcher::types::Stitching; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `types::Params` [INFO] [stdout] --> src/my_gui/mod.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 32 | use types::Params; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Align` is imported redundantly [INFO] [stdout] --> src/my_gui/mod.rs:39:33 [INFO] [stdout] | [INFO] [stdout] 9 | use conrod_core::position::{Align, Direction, Padding, Position, Relative}; [INFO] [stdout] | ----- the item `Align` is already imported here [INFO] [stdout] ... [INFO] [stdout] 39 | use conrod_core::position::{Align, Direction, Padding, Position, Relative}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Direction` is imported redundantly [INFO] [stdout] --> src/my_gui/mod.rs:39:40 [INFO] [stdout] | [INFO] [stdout] 9 | use conrod_core::position::{Align, Direction, Padding, Position, Relative}; [INFO] [stdout] | --------- the item `Direction` is already imported here [INFO] [stdout] ... [INFO] [stdout] 39 | use conrod_core::position::{Align, Direction, Padding, Position, Relative}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Padding` is imported redundantly [INFO] [stdout] --> src/my_gui/mod.rs:39:51 [INFO] [stdout] | [INFO] [stdout] 9 | use conrod_core::position::{Align, Direction, Padding, Position, Relative}; [INFO] [stdout] | ------- the item `Padding` is already imported here [INFO] [stdout] ... [INFO] [stdout] 39 | use conrod_core::position::{Align, Direction, Padding, Position, Relative}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Position` is imported redundantly [INFO] [stdout] --> src/my_gui/mod.rs:39:60 [INFO] [stdout] | [INFO] [stdout] 9 | use conrod_core::position::{Align, Direction, Padding, Position, Relative}; [INFO] [stdout] | -------- the item `Position` is already imported here [INFO] [stdout] ... [INFO] [stdout] 39 | use conrod_core::position::{Align, Direction, Padding, Position, Relative}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Relative` is imported redundantly [INFO] [stdout] --> src/my_gui/mod.rs:39:70 [INFO] [stdout] | [INFO] [stdout] 9 | use conrod_core::position::{Align, Direction, Padding, Position, Relative}; [INFO] [stdout] | -------- the item `Relative` is already imported here [INFO] [stdout] ... [INFO] [stdout] 39 | use conrod_core::position::{Align, Direction, Padding, Position, Relative}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Graph`, `Node` [INFO] [stdout] --> src/renderer/draw_mode.rs:2:20 [INFO] [stdout] | [INFO] [stdout] 2 | use graph::types::{Graph, Node, NodeChange, NodeChangeMap, Smooth, ThickSurface, INNER, OUTER}; [INFO] [stdout] | ^^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `simulated_annealing` [INFO] [stdout] --> src/renderer/draw_mode.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use simulated_annealing; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `MouseCursorEvent`, `RenderEvent`, `UpdateEvent` [INFO] [stdout] --> src/renderer/types.rs:2:21 [INFO] [stdout] | [INFO] [stdout] 2 | use piston::input::{MouseCursorEvent, RenderArgs, RenderEvent, UpdateArgs, UpdateEvent}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Stitching`, `Strategy` [INFO] [stdout] --> src/renderer/mod.rs:20:23 [INFO] [stdout] | [INFO] [stdout] 20 | use stitcher::types::{Stitching, Strategy}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `stitch_choice`, `stitch_default` [INFO] [stdout] --> src/renderer/mod.rs:21:16 [INFO] [stdout] | [INFO] [stdout] 21 | use stitcher::{stitch_choice, stitch_default}; [INFO] [stdout] | ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Align`, `Direction`, `Padding`, `Position`, `Relative` [INFO] [stdout] --> src/shared_shit.rs:17:29 [INFO] [stdout] | [INFO] [stdout] 17 | use conrod_core::position::{Align, Direction, Padding, Position, Relative}; [INFO] [stdout] | ^^^^^ ^^^^^^^^^ ^^^^^^^ ^^^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Align` is imported redundantly [INFO] [stdout] --> src/shared_shit.rs:48:33 [INFO] [stdout] | [INFO] [stdout] 17 | use conrod_core::position::{Align, Direction, Padding, Position, Relative}; [INFO] [stdout] | ----- the item `Align` is already imported here [INFO] [stdout] ... [INFO] [stdout] 48 | use conrod_core::position::{Align, Direction, Padding, Position, Relative}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Direction` is imported redundantly [INFO] [stdout] --> src/shared_shit.rs:48:40 [INFO] [stdout] | [INFO] [stdout] 17 | use conrod_core::position::{Align, Direction, Padding, Position, Relative}; [INFO] [stdout] | --------- the item `Direction` is already imported here [INFO] [stdout] ... [INFO] [stdout] 48 | use conrod_core::position::{Align, Direction, Padding, Position, Relative}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Padding` is imported redundantly [INFO] [stdout] --> src/shared_shit.rs:48:51 [INFO] [stdout] | [INFO] [stdout] 17 | use conrod_core::position::{Align, Direction, Padding, Position, Relative}; [INFO] [stdout] | ------- the item `Padding` is already imported here [INFO] [stdout] ... [INFO] [stdout] 48 | use conrod_core::position::{Align, Direction, Padding, Position, Relative}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Position` is imported redundantly [INFO] [stdout] --> src/shared_shit.rs:48:60 [INFO] [stdout] | [INFO] [stdout] 17 | use conrod_core::position::{Align, Direction, Padding, Position, Relative}; [INFO] [stdout] | -------- the item `Position` is already imported here [INFO] [stdout] ... [INFO] [stdout] 48 | use conrod_core::position::{Align, Direction, Padding, Position, Relative}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Relative` is imported redundantly [INFO] [stdout] --> src/shared_shit.rs:48:70 [INFO] [stdout] | [INFO] [stdout] 17 | use conrod_core::position::{Align, Direction, Padding, Position, Relative}; [INFO] [stdout] | -------- the item `Relative` is already imported here [INFO] [stdout] ... [INFO] [stdout] 48 | use conrod_core::position::{Align, Direction, Padding, Position, Relative}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `widget` is imported redundantly [INFO] [stdout] --> src/shared_shit.rs:111:23 [INFO] [stdout] | [INFO] [stdout] 14 | use conrod_core::*; [INFO] [stdout] | -------------- the item `widget` is already imported here [INFO] [stdout] ... [INFO] [stdout] 111 | use conrod_core::{widget, Colorable, Labelable, Positionable, Sizeable, Widget}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Colorable` is imported redundantly [INFO] [stdout] --> src/shared_shit.rs:111:31 [INFO] [stdout] | [INFO] [stdout] 14 | use conrod_core::*; [INFO] [stdout] | -------------- the item `Colorable` is already imported here [INFO] [stdout] ... [INFO] [stdout] 111 | use conrod_core::{widget, Colorable, Labelable, Positionable, Sizeable, Widget}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Labelable` is imported redundantly [INFO] [stdout] --> src/shared_shit.rs:111:42 [INFO] [stdout] | [INFO] [stdout] 14 | use conrod_core::*; [INFO] [stdout] | -------------- the item `Labelable` is already imported here [INFO] [stdout] ... [INFO] [stdout] 111 | use conrod_core::{widget, Colorable, Labelable, Positionable, Sizeable, Widget}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Positionable` is imported redundantly [INFO] [stdout] --> src/shared_shit.rs:111:53 [INFO] [stdout] | [INFO] [stdout] 14 | use conrod_core::*; [INFO] [stdout] | -------------- the item `Positionable` is already imported here [INFO] [stdout] ... [INFO] [stdout] 111 | use conrod_core::{widget, Colorable, Labelable, Positionable, Sizeable, Widget}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Sizeable` is imported redundantly [INFO] [stdout] --> src/shared_shit.rs:111:67 [INFO] [stdout] | [INFO] [stdout] 14 | use conrod_core::*; [INFO] [stdout] | -------------- the item `Sizeable` is already imported here [INFO] [stdout] ... [INFO] [stdout] 111 | use conrod_core::{widget, Colorable, Labelable, Positionable, Sizeable, Widget}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Widget` is imported redundantly [INFO] [stdout] --> src/shared_shit.rs:111:77 [INFO] [stdout] | [INFO] [stdout] 14 | use conrod_core::*; [INFO] [stdout] | -------------- the item `Widget` is already imported here [INFO] [stdout] ... [INFO] [stdout] 111 | use conrod_core::{widget, Colorable, Labelable, Positionable, Sizeable, Widget}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `NodeChange` [INFO] [stdout] --> src/simulated_annealing.rs:4:20 [INFO] [stdout] | [INFO] [stdout] 4 | use graph::types::{NodeChange, NodeChangeMap, Smooth, ThickSurface, INNER, OUTER}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `distance_between_points` [INFO] [stdout] --> src/stitcher/greedy.rs:1:37 [INFO] [stdout] | [INFO] [stdout] 1 | use graph::{distance_between_nodes, distance_between_points}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Node` [INFO] [stdout] --> src/stitcher/greedy.rs:3:27 [INFO] [stdout] | [INFO] [stdout] 3 | use graph::types::{Graph, Node}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/stitcher/greedy.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `vec1::Vec1` [INFO] [stdout] --> src/stitcher/greedy.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use vec1::Vec1; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `graph` [INFO] [stdout] --> src/stitcher/smart.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use graph; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `stitcher::types::Stitching::Stitch` [INFO] [stdout] --> src/stitcher/smart.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use stitcher::types::Stitching::Stitch; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `distance_between_nodes` [INFO] [stdout] --> src/stitcher/types.rs:1:13 [INFO] [stdout] | [INFO] [stdout] 1 | use graph::{distance_between_nodes, distance_between_points}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ThickSurface` [INFO] [stdout] --> src/stitcher/types.rs:3:26 [INFO] [stdout] | [INFO] [stdout] 3 | use graph::types::{Node, ThickSurface, INNER, OUTER}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `distance_between_nodes`, `distance_between_points` [INFO] [stdout] --> src/stitcher/mod.rs:5:13 [INFO] [stdout] | [INFO] [stdout] 5 | use graph::{distance_between_nodes, distance_between_points}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Node` [INFO] [stdout] --> src/stitcher/mod.rs:7:20 [INFO] [stdout] | [INFO] [stdout] 7 | use graph::types::{Node, ThickSurface, INNER, OUTER}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/stitcher/mod.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `vec1::Vec1` [INFO] [stdout] --> src/stitcher/mod.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use vec1::Vec1; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `stitcher::stitch_choice` [INFO] [stdout] --> src/main.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 32 | use stitcher::stitch_choice; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/graph/effects/helpers.rs:108:39 [INFO] [stdout] | [INFO] [stdout] 108 | running_total_of_something += (sod - distance_between_points(i.cur_x + i.delta_x, i.cur_y + i.delta_y, tgt.x, tgt.y)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `graph::effects::apply_changes` [INFO] [stdout] --> src/graph/effects/pusher_1.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use graph::effects::apply_changes; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `INNER`, `NodeChange`, `Node`, `OUTER`, `ThickSurface` [INFO] [stdout] --> src/graph/effects/pusher_1.rs:3:27 [INFO] [stdout] | [INFO] [stdout] 3 | use graph::types::{Graph, Node, NodeChange, NodeChangeMap, ThickSurface, INNER, OUTER}; [INFO] [stdout] | ^^^^ ^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `closest_node_to_some_point`, `distance_between_nodes`, `distance_between_points` [INFO] [stdout] --> src/graph/effects/pusher_1.rs:4:13 [INFO] [stdout] | [INFO] [stdout] 4 | use graph::{closest_node_to_some_point, distance_between_nodes, distance_between_points}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `piston::input::keyboard::Key::Out` [INFO] [stdout] --> src/graph/effects/pusher_1.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use piston::input::keyboard::Key::Out; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `graph::effects::apply_changes` [INFO] [stdout] --> src/graph/effects/pusher_2.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use graph::effects::apply_changes; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `INNER`, `OUTER`, `ThickSurface` [INFO] [stdout] --> src/graph/effects/pusher_2.rs:3:60 [INFO] [stdout] | [INFO] [stdout] 3 | use graph::types::{Graph, Node, NodeChange, NodeChangeMap, ThickSurface, INNER, OUTER}; [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `closest_node_to_some_point`, `distance_between_nodes` [INFO] [stdout] --> src/graph/effects/pusher_2.rs:4:13 [INFO] [stdout] | [INFO] [stdout] 4 | use graph::{closest_node_to_some_point, distance_between_nodes, distance_between_points}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `piston::input::keyboard::Key::Out` [INFO] [stdout] --> src/graph/effects/pusher_2.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use piston::input::keyboard::Key::Out; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `stitcher::types::Stitching` [INFO] [stdout] --> src/graph/effects/pusher_2.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use stitcher::types::Stitching; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `distance_between_points` [INFO] [stdout] --> src/graph/effects/mod.rs:5:37 [INFO] [stdout] | [INFO] [stdout] 5 | use graph::{distance_between_nodes, distance_between_points, NodeMerging}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `bisecting_vector`, `norm` [INFO] [stdout] --> src/graph/effects/mod.rs:10:22 [INFO] [stdout] | [INFO] [stdout] 10 | use linalg_helpers::{bisecting_vector, lines_intersection, norm}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `vec1::Vec1` [INFO] [stdout] --> src/graph/effects/mod.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use vec1::Vec1; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `closest_nodes_to_some_point` [INFO] [stdout] --> src/graph/types.rs:2:46 [INFO] [stdout] | [INFO] [stdout] 2 | use graph::{closest_nodes_across_all_layers, closest_nodes_to_some_point, graphs_to_lines, available_node_id, NodeMerging, closest_node_a... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `dist` [INFO] [stdout] --> src/graph/types.rs:3:22 [INFO] [stdout] | [INFO] [stdout] 3 | use linalg_helpers::{dist, lines_intersection}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `renderer::lines_from_thick_surface` [INFO] [stdout] --> src/graph/types.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use renderer::lines_from_thick_surface; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::f64::INFINITY` [INFO] [stdout] --> src/graph/types.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::f64::INFINITY; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::iter::once` [INFO] [stdout] --> src/graph/types.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use std::iter::once; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `renderer::lines_from_thick_surface` [INFO] [stdout] --> src/graph/mod.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use renderer::lines_from_thick_surface; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::f32::INFINITY` [INFO] [stdout] --> src/graph/mod.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use std::f32::INFINITY; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rand` [INFO] [stdout] --> src/my_gui/draw_mode.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use rand; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `conrod_core::image::Map` [INFO] [stdout] --> src/my_gui/draw_mode.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use conrod_core::image::Map; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Align`, `Direction`, `Padding`, `Position`, `Relative` [INFO] [stdout] --> src/my_gui/draw_mode.rs:6:29 [INFO] [stdout] | [INFO] [stdout] 6 | use conrod_core::position::{Align, Direction, Padding, Position, Relative}; [INFO] [stdout] | ^^^^^ ^^^^^^^^^ ^^^^^^^ ^^^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `conrod_core::text::rt::gpu_cache::Cache` [INFO] [stdout] --> src/my_gui/draw_mode.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use conrod_core::text::rt::gpu_cache::Cache; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `conrod_core::widget::file_navigator::Types::All` [INFO] [stdout] --> src/my_gui/draw_mode.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use conrod_core::widget::file_navigator::Types::All; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `conrod_core::widget::list::Item` [INFO] [stdout] --> src/my_gui/draw_mode.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use conrod_core::widget::list::Item; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `conrod_piston::event::GenericEvent` [INFO] [stdout] --> src/my_gui/draw_mode.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use conrod_piston::event::GenericEvent; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `graph::effects::add_node_` [INFO] [stdout] --> src/my_gui/draw_mode.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use graph::effects::add_node_; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `NodeAddition`, `Node`, `ThickSurface` [INFO] [stdout] --> src/my_gui/draw_mode.rs:15:20 [INFO] [stdout] | [INFO] [stdout] 15 | use graph::types::{Node, NodeAddition, ThickSurface, INNER, OUTER}; [INFO] [stdout] | ^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `circular_thick_surface`, `closest_nodes_to_some_point` [INFO] [stdout] --> src/my_gui/draw_mode.rs:16:13 [INFO] [stdout] | [INFO] [stdout] 16 | use graph::{circular_thick_surface, closest_node_to_some_point, closest_nodes_to_some_point}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Num` [INFO] [stdout] --> src/my_gui/draw_mode.rs:19:18 [INFO] [stdout] | [INFO] [stdout] 19 | use num_traits::{Num, NumCast}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `piston_window::texture::UpdateTexture` [INFO] [stdout] --> src/my_gui/draw_mode.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | use piston_window::texture::UpdateTexture; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `piston_window::OpenGL` [INFO] [stdout] --> src/my_gui/draw_mode.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | use piston_window::OpenGL; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Flip`, `G2dTexture`, `G2d`, `TextureSettings`, `Texture` [INFO] [stdout] --> src/my_gui/draw_mode.rs:22:21 [INFO] [stdout] | [INFO] [stdout] 22 | use piston_window::{Flip, G2d, G2dTexture, Texture, TextureSettings}; [INFO] [stdout] | ^^^^ ^^^ ^^^^^^^^^^ ^^^^^^^ ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `PistonWindow`, `UpdateEvent`, `WindowSettings`, `Window` [INFO] [stdout] --> src/my_gui/draw_mode.rs:23:21 [INFO] [stdout] | [INFO] [stdout] 23 | use piston_window::{PistonWindow, UpdateEvent, Window, WindowSettings}; [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^^^^ ^^^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `renderer::lines_from_thick_surface` [INFO] [stdout] --> src/my_gui/draw_mode.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | use renderer::lines_from_thick_surface; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `step` [INFO] [stdout] --> src/my_gui/draw_mode.rs:26:27 [INFO] [stdout] | [INFO] [stdout] 26 | use simulated_annealing::{step, SimState}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fmt::Debug` [INFO] [stdout] --> src/my_gui/draw_mode.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | use std::fmt::Debug; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `stitcher::types::Stitching` [INFO] [stdout] --> src/my_gui/draw_mode.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 29 | use stitcher::types::Stitching; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `widget` is imported redundantly [INFO] [stdout] --> src/my_gui/draw_mode.rs:266:23 [INFO] [stdout] | [INFO] [stdout] 2 | use conrod_core::*; [INFO] [stdout] | -------------- the item `widget` is already imported here [INFO] [stdout] ... [INFO] [stdout] 266 | use conrod_core::{widget, Colorable, Labelable, Positionable, Sizeable, Widget}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Colorable` is imported redundantly [INFO] [stdout] --> src/my_gui/draw_mode.rs:266:31 [INFO] [stdout] | [INFO] [stdout] 2 | use conrod_core::*; [INFO] [stdout] | -------------- the item `Colorable` is already imported here [INFO] [stdout] ... [INFO] [stdout] 266 | use conrod_core::{widget, Colorable, Labelable, Positionable, Sizeable, Widget}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Labelable` is imported redundantly [INFO] [stdout] --> src/my_gui/draw_mode.rs:266:42 [INFO] [stdout] | [INFO] [stdout] 2 | use conrod_core::*; [INFO] [stdout] | -------------- the item `Labelable` is already imported here [INFO] [stdout] ... [INFO] [stdout] 266 | use conrod_core::{widget, Colorable, Labelable, Positionable, Sizeable, Widget}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Positionable` is imported redundantly [INFO] [stdout] --> src/my_gui/draw_mode.rs:266:53 [INFO] [stdout] | [INFO] [stdout] 2 | use conrod_core::*; [INFO] [stdout] | -------------- the item `Positionable` is already imported here [INFO] [stdout] ... [INFO] [stdout] 266 | use conrod_core::{widget, Colorable, Labelable, Positionable, Sizeable, Widget}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Sizeable` is imported redundantly [INFO] [stdout] --> src/my_gui/draw_mode.rs:266:67 [INFO] [stdout] | [INFO] [stdout] 2 | use conrod_core::*; [INFO] [stdout] | -------------- the item `Sizeable` is already imported here [INFO] [stdout] ... [INFO] [stdout] 266 | use conrod_core::{widget, Colorable, Labelable, Positionable, Sizeable, Widget}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Widget` is imported redundantly [INFO] [stdout] --> src/my_gui/draw_mode.rs:266:77 [INFO] [stdout] | [INFO] [stdout] 2 | use conrod_core::*; [INFO] [stdout] | -------------- the item `Widget` is already imported here [INFO] [stdout] ... [INFO] [stdout] 266 | use conrod_core::{widget, Colorable, Labelable, Positionable, Sizeable, Widget}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::iter::once` [INFO] [stdout] --> src/my_gui/draw_mode.rs:267:9 [INFO] [stdout] | [INFO] [stdout] 267 | use std::iter::once; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rand` [INFO] [stdout] --> src/my_gui/run_mode.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use rand; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `conrod_core::image::Map` [INFO] [stdout] --> src/my_gui/run_mode.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use conrod_core::image::Map; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Align`, `Direction`, `Padding`, `Position`, `Relative` [INFO] [stdout] --> src/my_gui/run_mode.rs:6:29 [INFO] [stdout] | [INFO] [stdout] 6 | use conrod_core::position::{Align, Direction, Padding, Position, Relative}; [INFO] [stdout] | ^^^^^ ^^^^^^^^^ ^^^^^^^ ^^^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `conrod_core::text::rt::gpu_cache::Cache` [INFO] [stdout] --> src/my_gui/run_mode.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use conrod_core::text::rt::gpu_cache::Cache; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `conrod_core::widget::file_navigator::Types::All` [INFO] [stdout] --> src/my_gui/run_mode.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use conrod_core::widget::file_navigator::Types::All; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `conrod_core::widget::list::Item` [INFO] [stdout] --> src/my_gui/run_mode.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use conrod_core::widget::list::Item; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `conrod_piston::event::GenericEvent` [INFO] [stdout] --> src/my_gui/run_mode.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use conrod_piston::event::GenericEvent; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `graph::circular_thick_surface` [INFO] [stdout] --> src/my_gui/run_mode.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use graph::circular_thick_surface; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ThickSurface` [INFO] [stdout] --> src/my_gui/run_mode.rs:15:20 [INFO] [stdout] | [INFO] [stdout] 15 | use graph::types::{ThickSurface, INNER, OUTER}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Num` [INFO] [stdout] --> src/my_gui/run_mode.rs:16:18 [INFO] [stdout] | [INFO] [stdout] 16 | use num_traits::{Num, NumCast}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `piston_window::texture::UpdateTexture` [INFO] [stdout] --> src/my_gui/run_mode.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use piston_window::texture::UpdateTexture; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `piston_window::OpenGL` [INFO] [stdout] --> src/my_gui/run_mode.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | use piston_window::OpenGL; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Flip`, `G2dTexture`, `G2d`, `TextureSettings`, `Texture` [INFO] [stdout] --> src/my_gui/run_mode.rs:19:21 [INFO] [stdout] | [INFO] [stdout] 19 | use piston_window::{Flip, G2d, G2dTexture, Texture, TextureSettings}; [INFO] [stdout] | ^^^^ ^^^ ^^^^^^^^^^ ^^^^^^^ ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `PistonWindow`, `UpdateEvent`, `WindowSettings`, `Window` [INFO] [stdout] --> src/my_gui/run_mode.rs:20:21 [INFO] [stdout] | [INFO] [stdout] 20 | use piston_window::{PistonWindow, UpdateEvent, Window, WindowSettings}; [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^^^^ ^^^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `renderer::lines_from_thick_surface` [INFO] [stdout] --> src/my_gui/run_mode.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | use renderer::lines_from_thick_surface; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fmt::Debug` [INFO] [stdout] --> src/my_gui/run_mode.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | use std::fmt::Debug; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `stitcher::types::Stitching` [INFO] [stdout] --> src/my_gui/run_mode.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | use stitcher::types::Stitching; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Colorable` [INFO] [stdout] --> src/my_gui/run_mode.rs:263:31 [INFO] [stdout] | [INFO] [stdout] 263 | use conrod_core::{widget, Colorable, Labelable, Positionable, Sizeable, Widget}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `widget` is imported redundantly [INFO] [stdout] --> src/my_gui/run_mode.rs:263:23 [INFO] [stdout] | [INFO] [stdout] 2 | use conrod_core::*; [INFO] [stdout] | -------------- the item `widget` is already imported here [INFO] [stdout] ... [INFO] [stdout] 263 | use conrod_core::{widget, Colorable, Labelable, Positionable, Sizeable, Widget}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Colorable` is imported redundantly [INFO] [stdout] --> src/my_gui/run_mode.rs:263:31 [INFO] [stdout] | [INFO] [stdout] 2 | use conrod_core::*; [INFO] [stdout] | -------------- the item `Colorable` is already imported here [INFO] [stdout] ... [INFO] [stdout] 263 | use conrod_core::{widget, Colorable, Labelable, Positionable, Sizeable, Widget}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Labelable` is imported redundantly [INFO] [stdout] --> src/my_gui/run_mode.rs:263:42 [INFO] [stdout] | [INFO] [stdout] 2 | use conrod_core::*; [INFO] [stdout] | -------------- the item `Labelable` is already imported here [INFO] [stdout] ... [INFO] [stdout] 263 | use conrod_core::{widget, Colorable, Labelable, Positionable, Sizeable, Widget}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Positionable` is imported redundantly [INFO] [stdout] --> src/my_gui/run_mode.rs:263:53 [INFO] [stdout] | [INFO] [stdout] 2 | use conrod_core::*; [INFO] [stdout] | -------------- the item `Positionable` is already imported here [INFO] [stdout] ... [INFO] [stdout] 263 | use conrod_core::{widget, Colorable, Labelable, Positionable, Sizeable, Widget}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Sizeable` is imported redundantly [INFO] [stdout] --> src/my_gui/run_mode.rs:263:67 [INFO] [stdout] | [INFO] [stdout] 2 | use conrod_core::*; [INFO] [stdout] | -------------- the item `Sizeable` is already imported here [INFO] [stdout] ... [INFO] [stdout] 263 | use conrod_core::{widget, Colorable, Labelable, Positionable, Sizeable, Widget}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Widget` is imported redundantly [INFO] [stdout] --> src/my_gui/run_mode.rs:263:77 [INFO] [stdout] | [INFO] [stdout] 2 | use conrod_core::*; [INFO] [stdout] | -------------- the item `Widget` is already imported here [INFO] [stdout] ... [INFO] [stdout] 263 | use conrod_core::{widget, Colorable, Labelable, Positionable, Sizeable, Widget}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::iter::once` [INFO] [stdout] --> src/my_gui/run_mode.rs:264:9 [INFO] [stdout] | [INFO] [stdout] 264 | use std::iter::once; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rand` [INFO] [stdout] --> src/my_gui/mod.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use rand; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `conrod_core::image::Map` [INFO] [stdout] --> src/my_gui/mod.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use conrod_core::image::Map; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Align`, `Direction`, `Padding`, `Position`, `Relative` [INFO] [stdout] --> src/my_gui/mod.rs:9:29 [INFO] [stdout] | [INFO] [stdout] 9 | use conrod_core::position::{Align, Direction, Padding, Position, Relative}; [INFO] [stdout] | ^^^^^ ^^^^^^^^^ ^^^^^^^ ^^^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `conrod_core::text::rt::gpu_cache::Cache` [INFO] [stdout] --> src/my_gui/mod.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use conrod_core::text::rt::gpu_cache::Cache; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `conrod_core::widget::file_navigator::Types::All` [INFO] [stdout] --> src/my_gui/mod.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use conrod_core::widget::file_navigator::Types::All; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `conrod_core::widget::list::Item` [INFO] [stdout] --> src/my_gui/mod.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use conrod_core::widget::list::Item; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `conrod_core::widget::text_box::Event` [INFO] [stdout] --> src/my_gui/mod.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use conrod_core::widget::text_box::Event; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `conrod_core::widget::Id` [INFO] [stdout] --> src/my_gui/mod.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use conrod_core::widget::Id; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `file_io::toml_table_to_params` [INFO] [stdout] --> src/my_gui/mod.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | use file_io::toml_table_to_params; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `graph::circular_thick_surface` [INFO] [stdout] --> src/my_gui/mod.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use graph::circular_thick_surface; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `INNER`, `OUTER`, `ThickSurface` [INFO] [stdout] --> src/my_gui/mod.rs:18:20 [INFO] [stdout] | [INFO] [stdout] 18 | use graph::types::{ThickSurface, INNER, OUTER}; [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Num` [INFO] [stdout] --> src/my_gui/mod.rs:21:18 [INFO] [stdout] | [INFO] [stdout] 21 | use num_traits::{Num, NumCast}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Flip`, `Texture` [INFO] [stdout] --> src/my_gui/mod.rs:24:21 [INFO] [stdout] | [INFO] [stdout] 24 | use piston_window::{Flip, G2d, G2dTexture, Texture, TextureSettings}; [INFO] [stdout] | ^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `regex::Regex` [INFO] [stdout] --> src/my_gui/mod.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | use regex::Regex; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `renderer::lines_from_thick_surface` [INFO] [stdout] --> src/my_gui/mod.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | use renderer::lines_from_thick_surface; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `SimState`, `step` [INFO] [stdout] --> src/my_gui/mod.rs:28:27 [INFO] [stdout] | [INFO] [stdout] 28 | use simulated_annealing::{step, SimState}; [INFO] [stdout] | ^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fmt::Debug` [INFO] [stdout] --> src/my_gui/mod.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 29 | use std::fmt::Debug; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::str::FromStr` [INFO] [stdout] --> src/my_gui/mod.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 30 | use std::str::FromStr; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `stitcher::types::Stitching` [INFO] [stdout] --> src/my_gui/mod.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 31 | use stitcher::types::Stitching; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `types::Params` [INFO] [stdout] --> src/my_gui/mod.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 32 | use types::Params; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Align` is imported redundantly [INFO] [stdout] --> src/my_gui/mod.rs:39:33 [INFO] [stdout] | [INFO] [stdout] 9 | use conrod_core::position::{Align, Direction, Padding, Position, Relative}; [INFO] [stdout] | ----- the item `Align` is already imported here [INFO] [stdout] ... [INFO] [stdout] 39 | use conrod_core::position::{Align, Direction, Padding, Position, Relative}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Direction` is imported redundantly [INFO] [stdout] --> src/my_gui/mod.rs:39:40 [INFO] [stdout] | [INFO] [stdout] 9 | use conrod_core::position::{Align, Direction, Padding, Position, Relative}; [INFO] [stdout] | --------- the item `Direction` is already imported here [INFO] [stdout] ... [INFO] [stdout] 39 | use conrod_core::position::{Align, Direction, Padding, Position, Relative}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Padding` is imported redundantly [INFO] [stdout] --> src/my_gui/mod.rs:39:51 [INFO] [stdout] | [INFO] [stdout] 9 | use conrod_core::position::{Align, Direction, Padding, Position, Relative}; [INFO] [stdout] | ------- the item `Padding` is already imported here [INFO] [stdout] ... [INFO] [stdout] 39 | use conrod_core::position::{Align, Direction, Padding, Position, Relative}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Position` is imported redundantly [INFO] [stdout] --> src/my_gui/mod.rs:39:60 [INFO] [stdout] | [INFO] [stdout] 9 | use conrod_core::position::{Align, Direction, Padding, Position, Relative}; [INFO] [stdout] | -------- the item `Position` is already imported here [INFO] [stdout] ... [INFO] [stdout] 39 | use conrod_core::position::{Align, Direction, Padding, Position, Relative}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Relative` is imported redundantly [INFO] [stdout] --> src/my_gui/mod.rs:39:70 [INFO] [stdout] | [INFO] [stdout] 9 | use conrod_core::position::{Align, Direction, Padding, Position, Relative}; [INFO] [stdout] | -------- the item `Relative` is already imported here [INFO] [stdout] ... [INFO] [stdout] 39 | use conrod_core::position::{Align, Direction, Padding, Position, Relative}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Graph`, `Node` [INFO] [stdout] --> src/renderer/draw_mode.rs:2:20 [INFO] [stdout] | [INFO] [stdout] 2 | use graph::types::{Graph, Node, NodeChange, NodeChangeMap, Smooth, ThickSurface, INNER, OUTER}; [INFO] [stdout] | ^^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `simulated_annealing` [INFO] [stdout] --> src/renderer/draw_mode.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use simulated_annealing; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `MouseCursorEvent`, `RenderEvent`, `UpdateEvent` [INFO] [stdout] --> src/renderer/types.rs:2:21 [INFO] [stdout] | [INFO] [stdout] 2 | use piston::input::{MouseCursorEvent, RenderArgs, RenderEvent, UpdateArgs, UpdateEvent}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Stitching`, `Strategy` [INFO] [stdout] --> src/renderer/mod.rs:20:23 [INFO] [stdout] | [INFO] [stdout] 20 | use stitcher::types::{Stitching, Strategy}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `stitch_choice`, `stitch_default` [INFO] [stdout] --> src/renderer/mod.rs:21:16 [INFO] [stdout] | [INFO] [stdout] 21 | use stitcher::{stitch_choice, stitch_default}; [INFO] [stdout] | ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Align`, `Direction`, `Padding`, `Position`, `Relative` [INFO] [stdout] --> src/shared_shit.rs:17:29 [INFO] [stdout] | [INFO] [stdout] 17 | use conrod_core::position::{Align, Direction, Padding, Position, Relative}; [INFO] [stdout] | ^^^^^ ^^^^^^^^^ ^^^^^^^ ^^^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Align` is imported redundantly [INFO] [stdout] --> src/shared_shit.rs:48:33 [INFO] [stdout] | [INFO] [stdout] 17 | use conrod_core::position::{Align, Direction, Padding, Position, Relative}; [INFO] [stdout] | ----- the item `Align` is already imported here [INFO] [stdout] ... [INFO] [stdout] 48 | use conrod_core::position::{Align, Direction, Padding, Position, Relative}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Direction` is imported redundantly [INFO] [stdout] --> src/shared_shit.rs:48:40 [INFO] [stdout] | [INFO] [stdout] 17 | use conrod_core::position::{Align, Direction, Padding, Position, Relative}; [INFO] [stdout] | --------- the item `Direction` is already imported here [INFO] [stdout] ... [INFO] [stdout] 48 | use conrod_core::position::{Align, Direction, Padding, Position, Relative}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Padding` is imported redundantly [INFO] [stdout] --> src/shared_shit.rs:48:51 [INFO] [stdout] | [INFO] [stdout] 17 | use conrod_core::position::{Align, Direction, Padding, Position, Relative}; [INFO] [stdout] | ------- the item `Padding` is already imported here [INFO] [stdout] ... [INFO] [stdout] 48 | use conrod_core::position::{Align, Direction, Padding, Position, Relative}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Position` is imported redundantly [INFO] [stdout] --> src/shared_shit.rs:48:60 [INFO] [stdout] | [INFO] [stdout] 17 | use conrod_core::position::{Align, Direction, Padding, Position, Relative}; [INFO] [stdout] | -------- the item `Position` is already imported here [INFO] [stdout] ... [INFO] [stdout] 48 | use conrod_core::position::{Align, Direction, Padding, Position, Relative}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Relative` is imported redundantly [INFO] [stdout] --> src/shared_shit.rs:48:70 [INFO] [stdout] | [INFO] [stdout] 17 | use conrod_core::position::{Align, Direction, Padding, Position, Relative}; [INFO] [stdout] | -------- the item `Relative` is already imported here [INFO] [stdout] ... [INFO] [stdout] 48 | use conrod_core::position::{Align, Direction, Padding, Position, Relative}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `widget` is imported redundantly [INFO] [stdout] --> src/shared_shit.rs:111:23 [INFO] [stdout] | [INFO] [stdout] 14 | use conrod_core::*; [INFO] [stdout] | -------------- the item `widget` is already imported here [INFO] [stdout] ... [INFO] [stdout] 111 | use conrod_core::{widget, Colorable, Labelable, Positionable, Sizeable, Widget}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Colorable` is imported redundantly [INFO] [stdout] --> src/shared_shit.rs:111:31 [INFO] [stdout] | [INFO] [stdout] 14 | use conrod_core::*; [INFO] [stdout] | -------------- the item `Colorable` is already imported here [INFO] [stdout] ... [INFO] [stdout] 111 | use conrod_core::{widget, Colorable, Labelable, Positionable, Sizeable, Widget}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Labelable` is imported redundantly [INFO] [stdout] --> src/shared_shit.rs:111:42 [INFO] [stdout] | [INFO] [stdout] 14 | use conrod_core::*; [INFO] [stdout] | -------------- the item `Labelable` is already imported here [INFO] [stdout] ... [INFO] [stdout] 111 | use conrod_core::{widget, Colorable, Labelable, Positionable, Sizeable, Widget}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Positionable` is imported redundantly [INFO] [stdout] --> src/shared_shit.rs:111:53 [INFO] [stdout] | [INFO] [stdout] 14 | use conrod_core::*; [INFO] [stdout] | -------------- the item `Positionable` is already imported here [INFO] [stdout] ... [INFO] [stdout] 111 | use conrod_core::{widget, Colorable, Labelable, Positionable, Sizeable, Widget}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Sizeable` is imported redundantly [INFO] [stdout] --> src/shared_shit.rs:111:67 [INFO] [stdout] | [INFO] [stdout] 14 | use conrod_core::*; [INFO] [stdout] | -------------- the item `Sizeable` is already imported here [INFO] [stdout] ... [INFO] [stdout] 111 | use conrod_core::{widget, Colorable, Labelable, Positionable, Sizeable, Widget}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Widget` is imported redundantly [INFO] [stdout] --> src/shared_shit.rs:111:77 [INFO] [stdout] | [INFO] [stdout] 14 | use conrod_core::*; [INFO] [stdout] | -------------- the item `Widget` is already imported here [INFO] [stdout] ... [INFO] [stdout] 111 | use conrod_core::{widget, Colorable, Labelable, Positionable, Sizeable, Widget}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `NodeChange` [INFO] [stdout] --> src/simulated_annealing.rs:4:20 [INFO] [stdout] | [INFO] [stdout] 4 | use graph::types::{NodeChange, NodeChangeMap, Smooth, ThickSurface, INNER, OUTER}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `distance_between_points` [INFO] [stdout] --> src/stitcher/greedy.rs:1:37 [INFO] [stdout] | [INFO] [stdout] 1 | use graph::{distance_between_nodes, distance_between_points}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Node` [INFO] [stdout] --> src/stitcher/greedy.rs:3:27 [INFO] [stdout] | [INFO] [stdout] 3 | use graph::types::{Graph, Node}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/stitcher/greedy.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `vec1::Vec1` [INFO] [stdout] --> src/stitcher/greedy.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use vec1::Vec1; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `graph` [INFO] [stdout] --> src/stitcher/smart.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use graph; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `stitcher::types::Stitching::Stitch` [INFO] [stdout] --> src/stitcher/smart.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use stitcher::types::Stitching::Stitch; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `distance_between_nodes` [INFO] [stdout] --> src/stitcher/types.rs:1:13 [INFO] [stdout] | [INFO] [stdout] 1 | use graph::{distance_between_nodes, distance_between_points}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ThickSurface` [INFO] [stdout] --> src/stitcher/types.rs:3:26 [INFO] [stdout] | [INFO] [stdout] 3 | use graph::types::{Node, ThickSurface, INNER, OUTER}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `distance_between_nodes`, `distance_between_points` [INFO] [stdout] --> src/stitcher/mod.rs:5:13 [INFO] [stdout] | [INFO] [stdout] 5 | use graph::{distance_between_nodes, distance_between_points}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Node` [INFO] [stdout] --> src/stitcher/mod.rs:7:20 [INFO] [stdout] | [INFO] [stdout] 7 | use graph::types::{Node, ThickSurface, INNER, OUTER}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/stitcher/mod.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `vec1::Vec1` [INFO] [stdout] --> src/stitcher/mod.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use vec1::Vec1; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `stitcher::stitch_choice` [INFO] [stdout] --> src/main.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 32 | use stitcher::stitch_choice; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0063]: missing fields `survivor_x` and `survivor_y` in initializer of `graph::NodeMerging` [INFO] [stdout] --> src/graph/effects/mod.rs:263:23 [INFO] [stdout] | [INFO] [stdout] 263 | let merging = NodeMerging { [INFO] [stdout] | ^^^^^^^^^^^ missing `survivor_x` and `survivor_y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `NumCast` [INFO] [stdout] --> src/my_gui/mod.rs:21:23 [INFO] [stdout] | [INFO] [stdout] 21 | use num_traits::{Num, NumCast}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `UpdateEvent` [INFO] [stdout] --> src/my_gui/mod.rs:25:35 [INFO] [stdout] | [INFO] [stdout] 25 | use piston_window::{PistonWindow, UpdateEvent, Window, WindowSettings}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/my_gui/mod.rs:137:9 [INFO] [stdout] | [INFO] [stdout] 137 | _ => {} [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/renderer/draw_mode.rs:190:9 [INFO] [stdout] | [INFO] [stdout] 190 | _ => Vec::new(), [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/renderer/draw_mode.rs:331:9 [INFO] [stdout] | [INFO] [stdout] 331 | _ => s.clone(), [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `my_graph` [INFO] [stdout] --> src/main.rs:39:13 [INFO] [stdout] | [INFO] [stdout] 39 | let mut my_graph = graph::circular_thick_surface(params.initial_radius, params.initial_thickness, params.initial_num_points); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_my_graph` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `compression_factor` [INFO] [stdout] --> src/graph/effects/mod.rs:185:5 [INFO] [stdout] | [INFO] [stdout] 185 | compression_factor: f64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_compression_factor` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s` [INFO] [stdout] --> src/graph/effects/pusher_1.rs:18:81 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn push_inners(inner: &Graph, outer: &Graph, outer_changes: &NodeChangeMap, s: &Stitching) -> NodeChangeMap { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_s` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cur_dist` [INFO] [stdout] --> src/graph/effects/pusher_2.rs:26:9 [INFO] [stdout] | [INFO] [stdout] 26 | let cur_dist = distance_between_points(avg_ball_of_change.cur_x, avg_ball_of_change.cur_y, inn.x, inn.y); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_cur_dist` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/graph/types.rs:119:13 [INFO] [stdout] | [INFO] [stdout] 119 | for i in 0..dist { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `changeset` is assigned to, but never used [INFO] [stdout] --> src/renderer/mod.rs:196:13 [INFO] [stdout] | [INFO] [stdout] 196 | let mut changeset = vec![]; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_changeset` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `changeset` is never read [INFO] [stdout] --> src/renderer/mod.rs:214:36 [INFO] [stdout] | [INFO] [stdout] 214 | StepType::Automatic => changeset = simulated_annealing::step(sim_state, params), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `changeset` is never read [INFO] [stdout] --> src/renderer/mod.rs:216:17 [INFO] [stdout] | [INFO] [stdout] 216 | changeset = vec![]; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rng` [INFO] [stdout] --> src/renderer/mod.rs:185:5 [INFO] [stdout] | [INFO] [stdout] 185 | rng: &mut rand::rngs::ThreadRng, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_rng` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s` [INFO] [stdout] --> src/renderer/draw_mode.rs:139:36 [INFO] [stdout] | [INFO] [stdout] 139 | State::SurfaceStitched(ts, s) => lines_from_thick_surface(ts), [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_s` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s` [INFO] [stdout] --> src/renderer/draw_mode.rs:141:38 [INFO] [stdout] | [INFO] [stdout] 141 | State::SurfaceStitchingA(ts, s) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_s` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s` [INFO] [stdout] --> src/renderer/draw_mode.rs:155:38 [INFO] [stdout] | [INFO] [stdout] 155 | State::SurfaceStitchingB(ts, s, (last_node_id, last_layer_id)) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_s` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `new_ts` [INFO] [stdout] --> src/renderer/draw_mode.rs:324:21 [INFO] [stdout] | [INFO] [stdout] 324 | let mut new_ts = new_sb.ts; [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_new_ts` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `new_rng` [INFO] [stdout] --> src/renderer/draw_mode.rs:325:21 [INFO] [stdout] | [INFO] [stdout] 325 | let mut new_rng = new_sb.rng; [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_new_rng` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:39:9 [INFO] [stdout] | [INFO] [stdout] 39 | let mut my_graph = graph::circular_thick_surface(params.initial_radius, params.initial_thickness, params.initial_num_points); [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/renderer/draw_mode.rs:323:17 [INFO] [stdout] | [INFO] [stdout] 323 | let mut new_sb = sb.clone(); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/renderer/draw_mode.rs:324:17 [INFO] [stdout] | [INFO] [stdout] 324 | let mut new_ts = new_sb.ts; [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/renderer/draw_mode.rs:325:17 [INFO] [stdout] | [INFO] [stdout] 325 | let mut new_rng = new_sb.rng; [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/simulated_annealing.rs:164:13 [INFO] [stdout] | [INFO] [stdout] 164 | let mut rng = rand::thread_rng(); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Pre` [INFO] [stdout] --> src/graph/effects/helpers.rs:77:5 [INFO] [stdout] | [INFO] [stdout] 77 | Pre, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Post` [INFO] [stdout] --> src/graph/effects/helpers.rs:78:5 [INFO] [stdout] | [INFO] [stdout] 78 | Post, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `avg_change_essence` [INFO] [stdout] --> src/graph/effects/helpers.rs:80:4 [INFO] [stdout] | [INFO] [stdout] 80 | fn avg_change_essence(tgt: &Node, v: &Vec<&NodeChange>, pp: PrePost) -> NodeChange { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `avg_change_smart` [INFO] [stdout] --> src/graph/effects/helpers.rs:118:8 [INFO] [stdout] | [INFO] [stdout] 118 | pub fn avg_change_smart(tgt: &Node, v: &Vec<&NodeChange>) -> NodeChange { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `avg_change_smarter` [INFO] [stdout] --> src/graph/effects/helpers.rs:123:8 [INFO] [stdout] | [INFO] [stdout] 123 | pub fn avg_change_smarter(tgt: &Node, v: &Vec<&NodeChange>) -> NodeChange { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `outer_changes_to_blob` [INFO] [stdout] --> src/graph/effects/pusher_2.rs:8:4 [INFO] [stdout] | [INFO] [stdout] 8 | fn outer_changes_to_blob(n: usize, inn: &Node, outer_changes: &NodeChangeMap, g: &Graph) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `GraphChanges` [INFO] [stdout] --> src/graph/effects/mod.rs:14:8 [INFO] [stdout] | [INFO] [stdout] 14 | struct GraphChanges { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Continuous` [INFO] [stdout] --> src/graph/types.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | Continuous(R), [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `dummy_default` [INFO] [stdout] --> src/graph/types.rs:133:19 [INFO] [stdout] | [INFO] [stdout] 133 | pub(crate) fn dummy_default() -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `changed_pos` [INFO] [stdout] --> src/graph/types.rs:164:19 [INFO] [stdout] | [INFO] [stdout] 164 | pub(crate) fn changed_pos(&self) -> (f64, f64) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `normed_vector` [INFO] [stdout] --> src/linalg_helpers.rs:11:8 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn normed_vector(x: f64, y: f64) -> (f64, f64) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `bisecting_vector` [INFO] [stdout] --> src/linalg_helpers.rs:26:8 [INFO] [stdout] | [INFO] [stdout] 26 | pub fn bisecting_vector(middle_x: f64, middle_y: f64, clkwise_x: f64, clkwise_y: f64, ctrclkwise_x: f64, ctrclkwise_y: f64) -> (f64, f64) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/my_gui/draw_mode.rs:81:12 [INFO] [stdout] | [INFO] [stdout] 81 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `MARGIN` [INFO] [stdout] --> src/my_gui/draw_mode.rs:240:5 [INFO] [stdout] | [INFO] [stdout] 240 | const MARGIN: conrod_core::Scalar = 30.0; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `SHAPE_GAP` [INFO] [stdout] --> src/my_gui/draw_mode.rs:241:5 [INFO] [stdout] | [INFO] [stdout] 241 | const SHAPE_GAP: conrod_core::Scalar = 50.0; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `TITLE_SIZE` [INFO] [stdout] --> src/my_gui/draw_mode.rs:242:5 [INFO] [stdout] | [INFO] [stdout] 242 | const TITLE_SIZE: conrod_core::FontSize = 42; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `SUBTITLE_SIZE` [INFO] [stdout] --> src/my_gui/draw_mode.rs:243:5 [INFO] [stdout] | [INFO] [stdout] 243 | const SUBTITLE_SIZE: conrod_core::FontSize = 32; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `TITLE_SIZE` [INFO] [stdout] --> src/my_gui/draw_mode.rs:271:5 [INFO] [stdout] | [INFO] [stdout] 271 | const TITLE_SIZE: conrod_core::FontSize = 42; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `SUBTITLE_SIZE` [INFO] [stdout] --> src/my_gui/draw_mode.rs:272:5 [INFO] [stdout] | [INFO] [stdout] 272 | const SUBTITLE_SIZE: conrod_core::FontSize = 32; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `MARGIN` [INFO] [stdout] --> src/my_gui/run_mode.rs:236:5 [INFO] [stdout] | [INFO] [stdout] 236 | const MARGIN: conrod_core::Scalar = 30.0; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `SHAPE_GAP` [INFO] [stdout] --> src/my_gui/run_mode.rs:237:5 [INFO] [stdout] | [INFO] [stdout] 237 | const SHAPE_GAP: conrod_core::Scalar = 50.0; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `TITLE_SIZE` [INFO] [stdout] --> src/my_gui/run_mode.rs:238:5 [INFO] [stdout] | [INFO] [stdout] 238 | const TITLE_SIZE: conrod_core::FontSize = 42; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `SUBTITLE_SIZE` [INFO] [stdout] --> src/my_gui/run_mode.rs:239:5 [INFO] [stdout] | [INFO] [stdout] 239 | const SUBTITLE_SIZE: conrod_core::FontSize = 32; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `TITLE_SIZE` [INFO] [stdout] --> src/my_gui/run_mode.rs:268:5 [INFO] [stdout] | [INFO] [stdout] 268 | const TITLE_SIZE: conrod_core::FontSize = 42; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `SUBTITLE_SIZE` [INFO] [stdout] --> src/my_gui/run_mode.rs:269:5 [INFO] [stdout] | [INFO] [stdout] 269 | const SUBTITLE_SIZE: conrod_core::FontSize = 32; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `BLACK` [INFO] [stdout] --> src/renderer/consts.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | pub const BLACK: Color = [0.0, 0.0, 0.0, 0.0]; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `GREEN` [INFO] [stdout] --> src/renderer/consts.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | pub const GREEN: Color = [0.2, 1.0, 0.2, 1.0]; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/renderer/draw_mode.rs:43:8 [INFO] [stdout] | [INFO] [stdout] 43 | fn new(ts: ThickSurface, stitch_strat: Strategy, params: Params) -> StateBag { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get` [INFO] [stdout] --> src/stitcher/types.rs:89:12 [INFO] [stdout] | [INFO] [stdout] 89 | pub fn get(&self, layer_id: usize, n: &Node) -> Vec1 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_closest_correspondent` [INFO] [stdout] --> src/stitcher/types.rs:98:12 [INFO] [stdout] | [INFO] [stdout] 98 | pub fn get_closest_correspondent(&self, layer_id: usize, n: &Node) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `len` [INFO] [stdout] --> src/stitcher/types.rs:115:12 [INFO] [stdout] | [INFO] [stdout] 115 | pub fn len(&self) -> usize { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `corrs_amt` [INFO] [stdout] --> src/stitcher/types.rs:118:20 [INFO] [stdout] | [INFO] [stdout] 118 | fn corrs_amt(v: &ListMap) -> usize { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/file_io/recorders.rs:95:28 [INFO] [stdout] | [INFO] [stdout] 95 | None => panic!(format!("unsupported recorder: {}", r)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_fmt_panic)]` on by default [INFO] [stdout] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 95 | None => panic!("unsupported recorder: {}", r), [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/stitcher/types.rs:129:28 [INFO] [stdout] | [INFO] [stdout] 129 | panic!(format!("Outer: {:?}; Inner: {:?}. Should never happen.", outer_amt, inner_amt)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 129 | panic!("Outer: {:?}; Inner: {:?}. Should never happen.", outer_amt, inner_amt) [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused attribute [INFO] [stdout] --> src/my_gui/draw_mode.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_attributes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused attribute [INFO] [stdout] --> src/my_gui/run_mode.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused attribute [INFO] [stdout] --> src/my_gui/mod.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused attribute [INFO] [stdout] --> src/shared_shit.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 189 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `NumCast` [INFO] [stdout] --> src/my_gui/mod.rs:21:23 [INFO] [stdout] | [INFO] [stdout] 21 | use num_traits::{Num, NumCast}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `UpdateEvent` [INFO] [stdout] --> src/my_gui/mod.rs:25:35 [INFO] [stdout] | [INFO] [stdout] 25 | use piston_window::{PistonWindow, UpdateEvent, Window, WindowSettings}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error; 129 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0063`. [INFO] [stdout] [INFO] [stderr] error: could not compile `sars` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `Command { std: "docker" "inspect" "3f41807b5cefd22df8074262646739edad1ff8a78f6a708ca8e740740a123f84", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3f41807b5cefd22df8074262646739edad1ff8a78f6a708ca8e740740a123f84", kill_on_drop: false }` [INFO] [stdout] 3f41807b5cefd22df8074262646739edad1ff8a78f6a708ca8e740740a123f84