[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] d669bd4cd9fae383a90e306283ad4a3fef0fe665 [INFO] checking amuricys/sars against master#b7ebc6b0c1ba3c27ebb17c0b496ece778ef11e18 for pr-79470 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Famuricys%2Fsars" "/workspace/builds/worker-2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/amuricys/sars on toolchain b7ebc6b0c1ba3c27ebb17c0b496ece778ef11e18 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+b7ebc6b0c1ba3c27ebb17c0b496ece778ef11e18" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/amuricys/sars [INFO] finished tweaking git repo https://github.com/amuricys/sars [INFO] tweaked toml for git repo https://github.com/amuricys/sars written to /workspace/builds/worker-2/source/Cargo.toml [INFO] crate git repo https://github.com/amuricys/sars already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+b7ebc6b0c1ba3c27ebb17c0b496ece778ef11e18" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:c8ac004eab7d63a0ad09a2dde3d3353ba464f767bee4de425dc8f74c46a1905e" "/opt/rustwide/cargo-home/bin/cargo" "+b7ebc6b0c1ba3c27ebb17c0b496ece778ef11e18" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6942833f9f2f41de24b56d6829b93cab9ca65899719184526ec8521a0e0d432a [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" "6942833f9f2f41de24b56d6829b93cab9ca65899719184526ec8521a0e0d432a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6942833f9f2f41de24b56d6829b93cab9ca65899719184526ec8521a0e0d432a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6942833f9f2f41de24b56d6829b93cab9ca65899719184526ec8521a0e0d432a", kill_on_drop: false }` [INFO] [stdout] 6942833f9f2f41de24b56d6829b93cab9ca65899719184526ec8521a0e0d432a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:c8ac004eab7d63a0ad09a2dde3d3353ba464f767bee4de425dc8f74c46a1905e" "/opt/rustwide/cargo-home/bin/cargo" "+b7ebc6b0c1ba3c27ebb17c0b496ece778ef11e18" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a48390d9c89cdc507aeb06d28c2494e9548612fcc7f1b3775145c8f265dcbada [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" "a48390d9c89cdc507aeb06d28c2494e9548612fcc7f1b3775145c8f265dcbada", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.0 [INFO] [stderr] Compiling libc v0.2.73 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Compiling xml-rs v0.8.3 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling khronos_api v3.1.0 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Compiling proc-macro2 v1.0.19 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling nix v0.14.1 [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Compiling serde_derive v1.0.114 [INFO] [stderr] Checking adler32 v1.1.0 [INFO] [stderr] Checking downcast-rs v1.2.0 [INFO] [stderr] Checking same-file v1.0.6 [INFO] [stderr] Compiling getrandom v0.1.14 [INFO] [stderr] Checking xdg v2.2.0 [INFO] [stderr] Compiling crc32fast v1.2.0 [INFO] [stderr] Checking either v1.5.3 [INFO] [stderr] Checking lzw v0.10.0 [INFO] [stderr] Checking percent-encoding v2.1.0 [INFO] [stderr] Checking color_quant v1.0.1 [INFO] [stderr] Checking ppv-lite86 v0.2.8 [INFO] [stderr] Checking bytemuck v1.3.0 [INFO] [stderr] Checking scoped_threadpool v0.1.9 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Checking vec1 v1.6.0 [INFO] [stderr] Checking lock_api v0.3.4 [INFO] [stderr] Compiling x11-dl v2.18.5 [INFO] [stderr] Checking miniz_oxide v0.3.7 [INFO] [stderr] Checking walkdir v2.3.1 [INFO] [stderr] Compiling parking_lot_core v0.6.2 [INFO] [stderr] Compiling parking_lot v0.9.0 [INFO] [stderr] Checking toml v0.5.7 [INFO] [stderr] Checking gif v0.10.3 [INFO] [stderr] Checking wayland-sys v0.21.13 [INFO] [stderr] Checking smallvec v0.6.13 [INFO] [stderr] Compiling num-traits v0.2.12 [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.43 [INFO] [stderr] Compiling rayon v1.3.1 [INFO] [stderr] Compiling num-iter v0.1.41 [INFO] [stderr] Compiling num-rational v0.3.0 [INFO] [stderr] Compiling gl_generator v0.13.1 [INFO] [stderr] Compiling gl_generator v0.10.0 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Checking stb_truetype v0.3.1 [INFO] [stderr] Checking deflate v0.8.6 [INFO] [stderr] Checking tiff v0.5.0 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking memmap v0.7.0 [INFO] [stderr] Checking shared_library v0.1.9 [INFO] [stderr] Checking raw-window-handle v0.3.3 [INFO] [stderr] Compiling wayland-scanner v0.21.13 [INFO] [stderr] Compiling syn v1.0.35 [INFO] [stderr] Checking crossbeam-queue v0.2.3 [INFO] [stderr] Checking png v0.16.7 [INFO] [stderr] Checking osmesa-sys v0.1.2 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Compiling gl v0.11.0 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking crossbeam-deque v0.7.3 [INFO] [stderr] Compiling glutin_egl_sys v0.1.4 [INFO] [stderr] Compiling glutin_glx_sys v0.1.6 [INFO] [stderr] Checking approx v0.3.2 [INFO] [stderr] Checking ordered-float v1.1.0 [INFO] [stderr] Checking line_drawing v0.7.0 [INFO] [stderr] Checking float-cmp v0.8.0 [INFO] [stderr] Checking rayon-core v1.7.1 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking rusttype v0.8.3 [INFO] [stderr] Checking rusttype v0.7.9 [INFO] [stderr] Checking piston2d-graphics v0.36.0 [INFO] [stderr] Checking andrew v0.2.1 [INFO] [stderr] Compiling wayland-client v0.21.13 [INFO] [stderr] Compiling wayland-protocols v0.21.13 [INFO] [stderr] Checking wayland-commons v0.21.13 [INFO] [stderr] Checking jpeg-decoder v0.1.20 [INFO] [stderr] Checking image v0.23.7 [INFO] [stderr] Checking smithay-client-toolkit v0.4.6 [INFO] [stderr] Checking piston2d-opengl_graphics v0.72.0 [INFO] [stderr] Checking pistoncore-input v1.0.0 [INFO] [stderr] Checking winit v0.19.5 [INFO] [stderr] Checking pistoncore-window v0.46.0 [INFO] [stderr] Checking glutin v0.21.2 [INFO] [stderr] Checking pistoncore-event_loop v0.51.0 [INFO] [stderr] Checking piston v0.51.0 [INFO] [stderr] Checking pistoncore-glutin_window v0.65.0 [INFO] [stderr] Checking sars v0.0.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Node` [INFO] [stdout] --> src/renderer.rs:7:53 [INFO] [stdout] | [INFO] [stdout] 7 | use types::{ThickSurface, OUTER, INNER, NodeChange, Node}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `simulated_annealing::step_with_manual_change` [INFO] [stdout] --> src/renderer.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use simulated_annealing::step_with_manual_change; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `graphics::modular_index::next` [INFO] [stdout] --> src/graph_change.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use graphics::modular_index::next; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `piston::input::keyboard::Key::Out` [INFO] [stdout] --> src/graph_change.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use piston::input::keyboard::Key::Out; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Node` [INFO] [stdout] --> src/renderer.rs:7:53 [INFO] [stdout] | [INFO] [stdout] 7 | use types::{ThickSurface, OUTER, INNER, NodeChange, Node}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `simulated_annealing::step_with_manual_change` [INFO] [stdout] --> src/renderer.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use simulated_annealing::step_with_manual_change; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `graphics::modular_index::next` [INFO] [stdout] --> src/graph_change.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use graphics::modular_index::next; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `piston::input::keyboard::Key::Out` [INFO] [stdout] --> src/graph_change.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use piston::input::keyboard::Key::Out; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `cyclic_graph_from_coords`, `establish_correspondences` [INFO] [stdout] --> src/graph_change.rs:246:17 [INFO] [stdout] | [INFO] [stdout] 246 | use graph::{cyclic_graph_from_coords, circular_graph, area, circular_thick_surface, node_to_add, establish_correspondences}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `vec1::Vec1` [INFO] [stdout] --> src/graph_change.rs:247:9 [INFO] [stdout] | [INFO] [stdout] 247 | use vec1::Vec1; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `simulated_annealing::debug_changes` [INFO] [stdout] --> src/graph.rs:200:9 [INFO] [stdout] | [INFO] [stdout] 200 | use simulated_annealing::debug_changes; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `low_high` [INFO] [stdout] --> src/simulated_annealing.rs:29:21 [INFO] [stdout] | [INFO] [stdout] 29 | low_high: (f64, f64), [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_low_high` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rng` [INFO] [stdout] --> src/simulated_annealing.rs:30:21 [INFO] [stdout] | [INFO] [stdout] 30 | rng: &mut rand::rngs::ThreadRng) -> (HashMap, HashMap) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_rng` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `graph_from_which_delete` [INFO] [stdout] --> src/simulated_annealing.rs:107:9 [INFO] [stdout] | [INFO] [stdout] 107 | let graph_from_which_delete = &ts.layers[layer_to_delete]; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_graph_from_which_delete` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `graph_across` [INFO] [stdout] --> src/simulated_annealing.rs:108:9 [INFO] [stdout] | [INFO] [stdout] 108 | let graph_across = &ts.layers[layer_across]; [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_graph_across` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `addition_threshold` [INFO] [stdout] --> src/simulated_annealing.rs:106:99 [INFO] [stdout] | [INFO] [stdout] 106 | fn delete_single_node_effects(ts: &mut ThickSurface, layer_to_delete: usize, layer_across: usize, addition_threshold: f64) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_addition_threshold` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `key` [INFO] [stdout] --> src/renderer.rs:174:21 [INFO] [stdout] | [INFO] [stdout] 174 | if let Some(key) = e.press_args() { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_key` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `args` [INFO] [stdout] --> src/renderer.rs:61:26 [INFO] [stdout] | [INFO] [stdout] 61 | fn update(&mut self, args: &UpdateArgs) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_args` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `num_points` [INFO] [stdout] --> src/graph.rs:49:31 [INFO] [stdout] | [INFO] [stdout] 49 | pub fn debug_straight_surface(num_points: usize) -> ThickSurface { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_num_points` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `debug_changes` [INFO] [stdout] --> src/simulated_annealing.rs:10:8 [INFO] [stdout] | [INFO] [stdout] 10 | pub fn debug_changes(ts: &ThickSurface, how_smooth: usize, compression_factor: f64, which_node: usize, (x_change, y_change): (f64, f64)) ... [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `delete_single_node_effects` [INFO] [stdout] --> src/simulated_annealing.rs:106:4 [INFO] [stdout] | [INFO] [stdout] 106 | fn delete_single_node_effects(ts: &mut ThickSurface, layer_to_delete: usize, layer_across: usize, addition_threshold: f64) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `WHITE` [INFO] [stdout] --> src/renderer.rs:16:1 [INFO] [stdout] | [INFO] [stdout] 16 | const WHITE: Color = [1.0, 1.0, 1.0, 1.0]; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `render_playground` [INFO] [stdout] --> src/renderer.rs:161:8 [INFO] [stdout] | [INFO] [stdout] 161 | pub fn render_playground(ts: &mut ThickSurface, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `smooth_change_out` [INFO] [stdout] --> src/graph_change.rs:64:8 [INFO] [stdout] | [INFO] [stdout] 64 | pub fn smooth_change_out(g: &Graph, change: NodeChange, how_smooth: f64) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `direction_vector0` [INFO] [stdout] --> src/graph_change.rs:181:4 [INFO] [stdout] | [INFO] [stdout] 181 | fn direction_vector0(_other_graph: &Graph, change: &NodeChange, _other_graph_changes: &HashMap) -> (f64, f64) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `direction_vector1` [INFO] [stdout] --> src/graph_change.rs:185:4 [INFO] [stdout] | [INFO] [stdout] 185 | fn direction_vector1(other_graph: &Graph, change: &NodeChange, other_graph_changes: &HashMap) -> (f64, f64) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `debug_straight_surface` [INFO] [stdout] --> src/graph.rs:49:8 [INFO] [stdout] | [INFO] [stdout] 49 | pub fn debug_straight_surface(num_points: usize) -> ThickSurface { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `perimeter` [INFO] [stdout] --> src/graph.rs:73:8 [INFO] [stdout] | [INFO] [stdout] 73 | pub fn perimeter(g: &Graph) -> f64 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `node_to_delete` [INFO] [stdout] --> src/graph.rs:173:8 [INFO] [stdout] | [INFO] [stdout] 173 | pub fn node_to_delete(g: &Graph, g_across: &Graph, prev: &Node, next: &Node, deletion_threshold: f64) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `softness_factor` [INFO] [stdout] --> src/main.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | softness_factor: f64, // <- how much should closeness of nodes in different surfaces impact pushes? [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `playground_main` [INFO] [stdout] --> src/main.rs:67:4 [INFO] [stdout] | [INFO] [stdout] 67 | fn playground_main() { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/graph_change.rs:34:9 [INFO] [stdout] | [INFO] [stdout] 34 | apply_change(g, &change); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/graph_change.rs:41:9 [INFO] [stdout] | [INFO] [stdout] 41 | revert_change(g, &change); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 26 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `low_high` [INFO] [stdout] --> src/simulated_annealing.rs:29:21 [INFO] [stdout] | [INFO] [stdout] 29 | low_high: (f64, f64), [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_low_high` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rng` [INFO] [stdout] --> src/simulated_annealing.rs:30:21 [INFO] [stdout] | [INFO] [stdout] 30 | rng: &mut rand::rngs::ThreadRng) -> (HashMap, HashMap) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_rng` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `graph_from_which_delete` [INFO] [stdout] --> src/simulated_annealing.rs:107:9 [INFO] [stdout] | [INFO] [stdout] 107 | let graph_from_which_delete = &ts.layers[layer_to_delete]; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_graph_from_which_delete` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `graph_across` [INFO] [stdout] --> src/simulated_annealing.rs:108:9 [INFO] [stdout] | [INFO] [stdout] 108 | let graph_across = &ts.layers[layer_across]; [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_graph_across` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `addition_threshold` [INFO] [stdout] --> src/simulated_annealing.rs:106:99 [INFO] [stdout] | [INFO] [stdout] 106 | fn delete_single_node_effects(ts: &mut ThickSurface, layer_to_delete: usize, layer_across: usize, addition_threshold: f64) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_addition_threshold` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `left_x` [INFO] [stdout] --> src/vector_2d_helpers.rs:88:15 [INFO] [stdout] | [INFO] [stdout] 88 | let ((left_x, left_y), (right_x, right_y)) = ((-1.0, 0.0), (0.0,1.0)); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_left_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `left_y` [INFO] [stdout] --> src/vector_2d_helpers.rs:88:23 [INFO] [stdout] | [INFO] [stdout] 88 | let ((left_x, left_y), (right_x, right_y)) = ((-1.0, 0.0), (0.0,1.0)); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_left_y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `right_x` [INFO] [stdout] --> src/vector_2d_helpers.rs:88:33 [INFO] [stdout] | [INFO] [stdout] 88 | let ((left_x, left_y), (right_x, right_y)) = ((-1.0, 0.0), (0.0,1.0)); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_right_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `right_y` [INFO] [stdout] --> src/vector_2d_helpers.rs:88:42 [INFO] [stdout] | [INFO] [stdout] 88 | let ((left_x, left_y), (right_x, right_y)) = ((-1.0, 0.0), (0.0,1.0)); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_right_y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `key` [INFO] [stdout] --> src/renderer.rs:174:21 [INFO] [stdout] | [INFO] [stdout] 174 | if let Some(key) = e.press_args() { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_key` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `args` [INFO] [stdout] --> src/renderer.rs:61:26 [INFO] [stdout] | [INFO] [stdout] 61 | fn update(&mut self, args: &UpdateArgs) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_args` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `num_points` [INFO] [stdout] --> src/graph.rs:49:31 [INFO] [stdout] | [INFO] [stdout] 49 | pub fn debug_straight_surface(num_points: usize) -> ThickSurface { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_num_points` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `debug_changes` [INFO] [stdout] --> src/simulated_annealing.rs:10:8 [INFO] [stdout] | [INFO] [stdout] 10 | pub fn debug_changes(ts: &ThickSurface, how_smooth: usize, compression_factor: f64, which_node: usize, (x_change, y_change): (f64, f64)) ... [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `delete_single_node_effects` [INFO] [stdout] --> src/simulated_annealing.rs:106:4 [INFO] [stdout] | [INFO] [stdout] 106 | fn delete_single_node_effects(ts: &mut ThickSurface, layer_to_delete: usize, layer_across: usize, addition_threshold: f64) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `WHITE` [INFO] [stdout] --> src/renderer.rs:16:1 [INFO] [stdout] | [INFO] [stdout] 16 | const WHITE: Color = [1.0, 1.0, 1.0, 1.0]; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `render_playground` [INFO] [stdout] --> src/renderer.rs:161:8 [INFO] [stdout] | [INFO] [stdout] 161 | pub fn render_playground(ts: &mut ThickSurface, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `smooth_change_out` [INFO] [stdout] --> src/graph_change.rs:64:8 [INFO] [stdout] | [INFO] [stdout] 64 | pub fn smooth_change_out(g: &Graph, change: NodeChange, how_smooth: f64) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `direction_vector0` [INFO] [stdout] --> src/graph_change.rs:181:4 [INFO] [stdout] | [INFO] [stdout] 181 | fn direction_vector0(_other_graph: &Graph, change: &NodeChange, _other_graph_changes: &HashMap) -> (f64, f64) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `direction_vector1` [INFO] [stdout] --> src/graph_change.rs:185:4 [INFO] [stdout] | [INFO] [stdout] 185 | fn direction_vector1(other_graph: &Graph, change: &NodeChange, other_graph_changes: &HashMap) -> (f64, f64) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `debug_straight_surface` [INFO] [stdout] --> src/graph.rs:49:8 [INFO] [stdout] | [INFO] [stdout] 49 | pub fn debug_straight_surface(num_points: usize) -> ThickSurface { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `node_to_delete` [INFO] [stdout] --> src/graph.rs:173:8 [INFO] [stdout] | [INFO] [stdout] 173 | pub fn node_to_delete(g: &Graph, g_across: &Graph, prev: &Node, next: &Node, deletion_threshold: f64) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `softness_factor` [INFO] [stdout] --> src/main.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | softness_factor: f64, // <- how much should closeness of nodes in different surfaces impact pushes? [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `playground_main` [INFO] [stdout] --> src/main.rs:67:4 [INFO] [stdout] | [INFO] [stdout] 67 | fn playground_main() { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/graph_change.rs:34:9 [INFO] [stdout] | [INFO] [stdout] 34 | apply_change(g, &change); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/graph_change.rs:41:9 [INFO] [stdout] | [INFO] [stdout] 41 | revert_change(g, &change); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/graph_change.rs:258:9 [INFO] [stdout] | [INFO] [stdout] 258 | apply_change(&mut test_circ, &change); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/graph_change.rs:263:9 [INFO] [stdout] | [INFO] [stdout] 263 | revert_change(&mut test_circ, &change); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/graph_change.rs:297:9 [INFO] [stdout] | [INFO] [stdout] 297 | apply_change(&mut test_circ, &change); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 35 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 2m 06s [INFO] running `Command { std: "docker" "inspect" "a48390d9c89cdc507aeb06d28c2494e9548612fcc7f1b3775145c8f265dcbada", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a48390d9c89cdc507aeb06d28c2494e9548612fcc7f1b3775145c8f265dcbada", kill_on_drop: false }` [INFO] [stdout] a48390d9c89cdc507aeb06d28c2494e9548612fcc7f1b3775145c8f265dcbada