[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] f246a1b8bdbd5f32b728e3fd2ee9d33abd525e0e [INFO] testing amuricys/sars against master#432e145bd5a974c5b6f4dd9b352891bd7502b69d for pr-87041 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Famuricys%2Fsars" "/workspace/builds/worker-7/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/amuricys/sars on toolchain 432e145bd5a974c5b6f4dd9b352891bd7502b69d [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+432e145bd5a974c5b6f4dd9b352891bd7502b69d" "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-7/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" "+432e145bd5a974c5b6f4dd9b352891bd7502b69d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+432e145bd5a974c5b6f4dd9b352891bd7502b69d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 13bb44aef69e2c0bec8b55a2a1aaaa7b7455edd0c29ef128cfc54868f23fde53 [INFO] running `Command { std: "docker" "start" "-a" "13bb44aef69e2c0bec8b55a2a1aaaa7b7455edd0c29ef128cfc54868f23fde53", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "13bb44aef69e2c0bec8b55a2a1aaaa7b7455edd0c29ef128cfc54868f23fde53", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "13bb44aef69e2c0bec8b55a2a1aaaa7b7455edd0c29ef128cfc54868f23fde53", kill_on_drop: false }` [INFO] [stdout] 13bb44aef69e2c0bec8b55a2a1aaaa7b7455edd0c29ef128cfc54868f23fde53 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+432e145bd5a974c5b6f4dd9b352891bd7502b69d" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 4276c343dddf12db33a20b253fefa3b06c159cbaf55facc4069aeebc379eb1b0 [INFO] running `Command { std: "docker" "start" "-a" "4276c343dddf12db33a20b253fefa3b06c159cbaf55facc4069aeebc379eb1b0", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.0 [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Compiling libloading v0.6.2 [INFO] [stderr] Compiling piston-float v1.0.0 [INFO] [stderr] Compiling linked-hash-map v0.5.4 [INFO] [stderr] Compiling rustc-hash v1.1.0 [INFO] [stderr] Compiling proc-macro2 v1.0.19 [INFO] [stderr] Compiling syn v1.0.35 [INFO] [stderr] Compiling serde v1.0.117 [INFO] [stderr] Compiling rayon-core v1.7.1 [INFO] [stderr] Compiling either v1.5.3 [INFO] [stderr] Compiling adler32 v1.1.0 [INFO] [stderr] Compiling piston-graphics_api_version v1.0.0 [INFO] [stderr] Compiling piston-texture v0.8.0 [INFO] [stderr] Compiling cc v1.0.58 [INFO] [stderr] Compiling piston-graphics_api_version v0.2.0 [INFO] [stderr] Compiling read_color v1.0.0 [INFO] [stderr] Compiling interpolation v0.2.0 [INFO] [stderr] Compiling bytemuck v1.3.0 [INFO] [stderr] Compiling getrandom v0.1.14 [INFO] [stderr] Compiling piston-shaders_graphics2d v0.3.1 [INFO] [stderr] Compiling ppv-lite86 v0.2.8 [INFO] [stderr] Compiling fixedbitset v0.3.2 [INFO] [stderr] Compiling vec1 v1.6.0 [INFO] [stderr] Compiling find_folder v0.3.0 [INFO] [stderr] Compiling walkdir v2.3.1 [INFO] [stderr] Compiling x11-dl v2.18.5 [INFO] [stderr] Compiling piston-viewport v1.0.0 [INFO] [stderr] Compiling vecmath v1.0.0 [INFO] [stderr] Compiling miniz_oxide v0.3.7 [INFO] [stderr] Compiling shader_version v0.7.0 [INFO] [stderr] Compiling shader_version v0.6.0 [INFO] [stderr] Compiling itertools v0.9.0 [INFO] [stderr] Compiling petgraph v0.4.13 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling memmap v0.7.0 [INFO] [stderr] Compiling xcb v0.9.0 [INFO] [stderr] Compiling raw-window-handle v0.3.3 [INFO] [stderr] Compiling shared_library v0.1.9 [INFO] [stderr] Compiling nix v0.14.1 [INFO] [stderr] Compiling draw_state v0.8.0 [INFO] [stderr] Compiling stb_truetype v0.3.1 [INFO] [stderr] Compiling deflate v0.8.6 [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 wayland-scanner v0.21.13 [INFO] [stderr] Compiling wayland-scanner v0.23.6 [INFO] [stderr] Compiling osmesa-sys v0.1.2 [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] Compiling dlib v0.4.2 [INFO] [stderr] Compiling gfx_core v0.9.2 [INFO] [stderr] Compiling tiff v0.5.0 [INFO] [stderr] Compiling png v0.16.7 [INFO] [stderr] Compiling parking_lot_core v0.6.2 [INFO] [stderr] Compiling wayland-sys v0.21.13 [INFO] [stderr] Compiling wayland-sys v0.23.6 [INFO] [stderr] Compiling daggy v0.5.0 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling libloading v0.5.2 [INFO] [stderr] Compiling parking_lot v0.9.0 [INFO] [stderr] Compiling crossbeam-queue v0.2.3 [INFO] [stderr] Compiling gfx v0.18.2 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling glutin_egl_sys v0.1.4 [INFO] [stderr] Compiling glutin_glx_sys v0.1.6 [INFO] [stderr] Compiling gl v0.11.0 [INFO] [stderr] Compiling gfx_gl v0.6.1 [INFO] [stderr] Compiling ordered-float v1.1.0 [INFO] [stderr] Compiling approx v0.3.2 [INFO] [stderr] Compiling line_drawing v0.7.0 [INFO] [stderr] Compiling num-complex v0.3.1 [INFO] [stderr] Compiling pathfinding v2.1.1 [INFO] [stderr] Compiling float-cmp v0.8.0 [INFO] [stderr] Compiling crossbeam-deque v0.7.3 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling wayland-commons v0.21.13 [INFO] [stderr] Compiling wayland-commons v0.23.6 [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] Compiling rusttype v0.8.3 [INFO] [stderr] Compiling toml v0.5.7 [INFO] [stderr] Compiling rusttype v0.7.9 [INFO] [stderr] Compiling piston2d-graphics v0.37.0 [INFO] [stderr] Compiling piston2d-graphics v0.36.0 [INFO] [stderr] Compiling andrew v0.2.1 [INFO] [stderr] Compiling num v0.3.1 [INFO] [stderr] Compiling jpeg-decoder v0.1.20 [INFO] [stderr] Compiling image v0.23.7 [INFO] [stderr] Compiling x11-clipboard v0.5.2 [INFO] [stderr] Compiling gfx_device_gl v0.16.2 [INFO] [stderr] Compiling serde_derive v1.0.114 [INFO] [stderr] Compiling conrod_derive v0.73.0 [INFO] [stderr] Compiling smithay-client-toolkit v0.4.6 [INFO] [stderr] Compiling smithay-client-toolkit v0.6.6 [INFO] [stderr] Compiling piston-gfx_texture v0.41.0 [INFO] [stderr] Compiling piston2d-opengl_graphics v0.72.0 [INFO] [stderr] Compiling winit v0.19.5 [INFO] [stderr] Compiling piston2d-gfx_graphics v0.70.0 [INFO] [stderr] Compiling smithay-clipboard v0.4.0 [INFO] [stderr] Compiling glutin v0.21.2 [INFO] [stderr] Compiling copypasta v0.6.3 [INFO] [stderr] Compiling pistoncore-input v1.0.0 [INFO] [stderr] Compiling pistoncore-window v0.47.0 [INFO] [stderr] Compiling pistoncore-window v0.46.0 [INFO] [stderr] Compiling conrod_core v0.73.0 [INFO] [stderr] Compiling pistoncore-event_loop v0.51.0 [INFO] [stderr] Compiling pistoncore-glutin_window v0.65.0 [INFO] [stderr] Compiling pistoncore-event_loop v0.52.0 [INFO] [stderr] Compiling pistoncore-glutin_window v0.66.0 [INFO] [stderr] Compiling piston v0.51.0 [INFO] [stderr] Compiling piston v0.52.1 [INFO] [stderr] Compiling piston_window v0.113.0 [INFO] [stderr] Compiling conrod_piston v0.73.0 [INFO] [stderr] Compiling 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:3:89 [INFO] [stdout] | [INFO] [stdout] 3 | available_node_id, closest_node_across_all_layers, closest_nodes_across_all_layers, closest_nodes_to_some_point, graphs_to_lines, Nod... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `dist` [INFO] [stdout] --> src/graph/types.rs:5:22 [INFO] [stdout] | [INFO] [stdout] 5 | 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:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | 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:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use std::f64::INFINITY; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::iter::once` [INFO] [stdout] --> src/graph/types.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | 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: `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: the item `widget` is imported redundantly [INFO] [stdout] --> src/my_gui/run_mode.rs:349:23 [INFO] [stdout] | [INFO] [stdout] 2 | use conrod_core::*; [INFO] [stdout] | -------------- the item `widget` is already imported here [INFO] [stdout] ... [INFO] [stdout] 349 | 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:349:31 [INFO] [stdout] | [INFO] [stdout] 2 | use conrod_core::*; [INFO] [stdout] | -------------- the item `Colorable` is already imported here [INFO] [stdout] ... [INFO] [stdout] 349 | 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:349:42 [INFO] [stdout] | [INFO] [stdout] 2 | use conrod_core::*; [INFO] [stdout] | -------------- the item `Labelable` is already imported here [INFO] [stdout] ... [INFO] [stdout] 349 | 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:349:53 [INFO] [stdout] | [INFO] [stdout] 2 | use conrod_core::*; [INFO] [stdout] | -------------- the item `Positionable` is already imported here [INFO] [stdout] ... [INFO] [stdout] 349 | 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:349:67 [INFO] [stdout] | [INFO] [stdout] 2 | use conrod_core::*; [INFO] [stdout] | -------------- the item `Sizeable` is already imported here [INFO] [stdout] ... [INFO] [stdout] 349 | 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:349:77 [INFO] [stdout] | [INFO] [stdout] 2 | use conrod_core::*; [INFO] [stdout] | -------------- the item `Widget` is already imported here [INFO] [stdout] ... [INFO] [stdout] 349 | 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:350:9 [INFO] [stdout] | [INFO] [stdout] 350 | 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:21:23 [INFO] [stdout] | [INFO] [stdout] 21 | 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:22:16 [INFO] [stdout] | [INFO] [stdout] 22 | 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: `graph::circular_thick_surface` [INFO] [stdout] --> src/simulated_annealing_dumber_and_better.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use graph::circular_thick_surface; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `revert_changes` [INFO] [stdout] --> src/simulated_annealing_dumber_and_better.rs:3:96 [INFO] [stdout] | [INFO] [stdout] 3 | use graph::effects::{add_node_, apply_changes, changer_of_choice, merge_nodes_, random_change, revert_changes, smooth_change_out}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `NodeChangeMap`, `NodeChange` [INFO] [stdout] --> src/simulated_annealing_dumber_and_better.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: `rand::prelude::ThreadRng` [INFO] [stdout] --> src/simulated_annealing_dumber_and_better.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use rand::prelude::ThreadRng; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `stitcher::stitch_default` [INFO] [stdout] --> src/simulated_annealing_dumber_and_better.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use stitcher::stitch_default; [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:33:5 [INFO] [stdout] | [INFO] [stdout] 33 | use stitcher::stitch_choice; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [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:143:9 [INFO] [stdout] | [INFO] [stdout] 143 | _ => {} [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:40:13 [INFO] [stdout] | [INFO] [stdout] 40 | 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: `rng` [INFO] [stdout] --> src/main.rs:41:13 [INFO] [stdout] | [INFO] [stdout] 41 | let mut rng = rand::thread_rng(); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_rng` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ts` [INFO] [stdout] --> src/graph/mod.rs:192:41 [INFO] [stdout] | [INFO] [stdout] 192 | fn can_merge_without_intersection_check(ts: &ThickSurface, node_merging: &NodeMerging, deletion_threshold: f64) -> bool { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_ts` [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:121:13 [INFO] [stdout] | [INFO] [stdout] 121 | 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: 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:40:9 [INFO] [stdout] | [INFO] [stdout] 40 | 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/main.rs:41:9 [INFO] [stdout] | [INFO] [stdout] 41 | let mut rng = rand::thread_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/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:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | Continuous(R), [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `dummy_default` [INFO] [stdout] --> src/graph/types.rs:135:19 [INFO] [stdout] | [INFO] [stdout] 135 | 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:166:19 [INFO] [stdout] | [INFO] [stdout] 166 | 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:249:5 [INFO] [stdout] | [INFO] [stdout] 249 | 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:250:5 [INFO] [stdout] | [INFO] [stdout] 250 | 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:251:5 [INFO] [stdout] | [INFO] [stdout] 251 | 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:252:5 [INFO] [stdout] | [INFO] [stdout] 252 | 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:354:5 [INFO] [stdout] | [INFO] [stdout] 354 | 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:355:5 [INFO] [stdout] | [INFO] [stdout] 355 | 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_panics)]` 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: 191 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 4m 16s [INFO] running `Command { std: "docker" "inspect" "4276c343dddf12db33a20b253fefa3b06c159cbaf55facc4069aeebc379eb1b0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4276c343dddf12db33a20b253fefa3b06c159cbaf55facc4069aeebc379eb1b0", kill_on_drop: false }` [INFO] [stdout] 4276c343dddf12db33a20b253fefa3b06c159cbaf55facc4069aeebc379eb1b0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+432e145bd5a974c5b6f4dd9b352891bd7502b69d" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5e759eae5ba97f899151a90051d15e6b51514734427693f0a899e1899cd498f3 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "5e759eae5ba97f899151a90051d15e6b51514734427693f0a899e1899cd498f3", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling 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`, `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:3:89 [INFO] [stdout] | [INFO] [stdout] 3 | available_node_id, closest_node_across_all_layers, closest_nodes_across_all_layers, closest_nodes_to_some_point, graphs_to_lines, Nod... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `dist` [INFO] [stdout] --> src/graph/types.rs:5:22 [INFO] [stdout] | [INFO] [stdout] 5 | 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:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | 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:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use std::f64::INFINITY; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::iter::once` [INFO] [stdout] --> src/graph/types.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | 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: `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: the item `widget` is imported redundantly [INFO] [stdout] --> src/my_gui/run_mode.rs:349:23 [INFO] [stdout] | [INFO] [stdout] 2 | use conrod_core::*; [INFO] [stdout] | -------------- the item `widget` is already imported here [INFO] [stdout] ... [INFO] [stdout] 349 | 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:349:31 [INFO] [stdout] | [INFO] [stdout] 2 | use conrod_core::*; [INFO] [stdout] | -------------- the item `Colorable` is already imported here [INFO] [stdout] ... [INFO] [stdout] 349 | 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:349:42 [INFO] [stdout] | [INFO] [stdout] 2 | use conrod_core::*; [INFO] [stdout] | -------------- the item `Labelable` is already imported here [INFO] [stdout] ... [INFO] [stdout] 349 | 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:349:53 [INFO] [stdout] | [INFO] [stdout] 2 | use conrod_core::*; [INFO] [stdout] | -------------- the item `Positionable` is already imported here [INFO] [stdout] ... [INFO] [stdout] 349 | 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:349:67 [INFO] [stdout] | [INFO] [stdout] 2 | use conrod_core::*; [INFO] [stdout] | -------------- the item `Sizeable` is already imported here [INFO] [stdout] ... [INFO] [stdout] 349 | 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:349:77 [INFO] [stdout] | [INFO] [stdout] 2 | use conrod_core::*; [INFO] [stdout] | -------------- the item `Widget` is already imported here [INFO] [stdout] ... [INFO] [stdout] 349 | 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:350:9 [INFO] [stdout] | [INFO] [stdout] 350 | 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:21:23 [INFO] [stdout] | [INFO] [stdout] 21 | 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:22:16 [INFO] [stdout] | [INFO] [stdout] 22 | 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: `graph::circular_thick_surface` [INFO] [stdout] --> src/simulated_annealing_dumber_and_better.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use graph::circular_thick_surface; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `revert_changes` [INFO] [stdout] --> src/simulated_annealing_dumber_and_better.rs:3:96 [INFO] [stdout] | [INFO] [stdout] 3 | use graph::effects::{add_node_, apply_changes, changer_of_choice, merge_nodes_, random_change, revert_changes, smooth_change_out}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `NodeChangeMap`, `NodeChange` [INFO] [stdout] --> src/simulated_annealing_dumber_and_better.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: `rand::prelude::ThreadRng` [INFO] [stdout] --> src/simulated_annealing_dumber_and_better.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use rand::prelude::ThreadRng; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `stitcher::stitch_default` [INFO] [stdout] --> src/simulated_annealing_dumber_and_better.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use stitcher::stitch_default; [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:33:5 [INFO] [stdout] | [INFO] [stdout] 33 | 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] error: aborting due to previous error; 132 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" "5e759eae5ba97f899151a90051d15e6b51514734427693f0a899e1899cd498f3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5e759eae5ba97f899151a90051d15e6b51514734427693f0a899e1899cd498f3", kill_on_drop: false }` [INFO] [stdout] 5e759eae5ba97f899151a90051d15e6b51514734427693f0a899e1899cd498f3