[INFO] cloning repository https://github.com/timgluz/teeline [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/timgluz/teeline" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftimgluz%2Fteeline", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftimgluz%2Fteeline'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] a720cd03aad11b631259522b537c0ccacb25c341 [INFO] checking timgluz/teeline against master#1f12b9b0fdbe735968ac002792a720f0ba4faca6 for crater-rollup-uwu [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftimgluz%2Fteeline" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/timgluz/teeline on toolchain 1f12b9b0fdbe735968ac002792a720f0ba4faca6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/timgluz/teeline [INFO] finished tweaking git repo https://github.com/timgluz/teeline [INFO] tweaked toml for git repo https://github.com/timgluz/teeline written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/timgluz/teeline already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded pistoncore-glutin_window v0.66.0 [INFO] [stderr] Downloaded piston v0.52.0 [INFO] [stderr] Downloaded weezl v0.1.1 [INFO] [stderr] Downloaded piston2d-graphics v0.36.0 [INFO] [stderr] Downloaded rayon v1.4.1 [INFO] [stderr] Downloaded piston2d-gfx_graphics v0.69.0 [INFO] [stderr] Downloaded piston_window v0.111.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d4b14197ae31a18cb2cfcdefc064af26fb7983aacc71bc4575d7e59de31c1f32 [INFO] running `Command { std: "docker" "start" "-a" "d4b14197ae31a18cb2cfcdefc064af26fb7983aacc71bc4575d7e59de31c1f32", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d4b14197ae31a18cb2cfcdefc064af26fb7983aacc71bc4575d7e59de31c1f32", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d4b14197ae31a18cb2cfcdefc064af26fb7983aacc71bc4575d7e59de31c1f32", kill_on_drop: false }` [INFO] [stdout] d4b14197ae31a18cb2cfcdefc064af26fb7983aacc71bc4575d7e59de31c1f32 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ab01323c0c65c954173b7b50872865f4a89f526f5a43e5d2360b67ee4cc54a9a [INFO] running `Command { std: "docker" "start" "-a" "ab01323c0c65c954173b7b50872865f4a89f526f5a43e5d2360b67ee4cc54a9a", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Compiling libc v0.2.79 [INFO] [stderr] Compiling xml-rs v0.8.14 [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Compiling khronos_api v3.1.0 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling num-traits v0.2.12 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling memoffset v0.5.6 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling crossbeam-epoch v0.8.2 [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling gl_generator v0.14.0 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Checking stb_truetype v0.3.1 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Checking libloading v0.6.4 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling nix v0.14.1 [INFO] [stderr] Compiling wayland-scanner v0.21.13 [INFO] [stderr] Checking piston-float v1.0.0 [INFO] [stderr] Compiling rayon-core v1.8.1 [INFO] [stderr] Checking dlib v0.4.2 [INFO] [stderr] Checking approx v0.3.2 [INFO] [stderr] Checking ordered-float v1.1.1 [INFO] [stderr] Compiling syn v1.0.44 [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Checking wayland-sys v0.21.13 [INFO] [stderr] Checking crossbeam-deque v0.7.4 [INFO] [stderr] Checking piston-viewport v1.0.0 [INFO] [stderr] Checking rusttype v0.8.3 [INFO] [stderr] Checking crossbeam-channel v0.4.4 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Compiling num-integer v0.1.43 [INFO] [stderr] Compiling rayon v1.4.1 [INFO] [stderr] Compiling serde v1.0.117 [INFO] [stderr] Compiling pkg-config v0.3.19 [INFO] [stderr] Compiling serde_derive v1.0.117 [INFO] [stderr] Compiling parking_lot_core v0.6.2 [INFO] [stderr] Compiling miniz_oxide v0.4.3 [INFO] [stderr] Compiling crc32fast v1.2.0 [INFO] [stderr] Checking same-file v1.0.6 [INFO] [stderr] Checking either v1.6.1 [INFO] [stderr] Compiling x11-dl v2.18.5 [INFO] [stderr] Checking piston-graphics_api_version v1.0.0 [INFO] [stderr] Checking downcast-rs v1.2.0 [INFO] [stderr] Checking adler32 v1.2.0 [INFO] [stderr] Checking walkdir v2.3.1 [INFO] [stderr] Compiling wayland-client v0.21.13 [INFO] [stderr] Compiling wayland-protocols v0.21.13 [INFO] [stderr] Checking rusttype v0.7.9 [INFO] [stderr] Checking line_drawing v0.7.0 [INFO] [stderr] Compiling parking_lot v0.9.0 [INFO] [stderr] Checking smallvec v0.6.14 [INFO] [stderr] Checking draw_state v0.8.0 [INFO] [stderr] Compiling num-iter v0.1.41 [INFO] [stderr] Compiling num-rational v0.3.0 [INFO] [stderr] Checking adler v0.2.3 [INFO] [stderr] Checking weezl v0.1.1 [INFO] [stderr] Checking xdg v2.2.0 [INFO] [stderr] Compiling cc v1.0.61 [INFO] [stderr] Checking wayland-commons v0.21.13 [INFO] [stderr] Checking andrew v0.2.1 [INFO] [stderr] Checking gfx_core v0.9.2 [INFO] [stderr] Checking jpeg-decoder v0.1.22 [INFO] [stderr] Compiling libloading v0.5.2 [INFO] [stderr] Checking miniz_oxide v0.3.7 [INFO] [stderr] Checking deflate v0.8.6 [INFO] [stderr] Compiling glutin_glx_sys v0.1.7 [INFO] [stderr] Compiling glutin_egl_sys v0.1.5 [INFO] [stderr] Compiling gl_generator v0.10.0 [INFO] [stderr] Checking memmap v0.7.0 [INFO] [stderr] Checking lock_api v0.3.4 [INFO] [stderr] Checking color_quant v1.1.0 [INFO] [stderr] Compiling getrandom v0.1.15 [INFO] [stderr] Checking gif v0.11.1 [INFO] [stderr] Checking png v0.16.7 [INFO] [stderr] Compiling gl v0.11.0 [INFO] [stderr] Checking tiff v0.6.1 [INFO] [stderr] Compiling gfx_gl v0.6.1 [INFO] [stderr] Checking raw-window-handle v0.3.3 [INFO] [stderr] Checking shared_library v0.1.9 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Checking bytemuck v1.4.1 [INFO] [stderr] Checking piston-texture v0.8.0 [INFO] [stderr] Checking scoped_threadpool v0.1.9 [INFO] [stderr] Checking percent-encoding v2.1.0 [INFO] [stderr] Checking osmesa-sys v0.1.2 [INFO] [stderr] Checking image v0.23.14 [INFO] [stderr] Checking gfx v0.18.2 [INFO] [stderr] Checking shader_version v0.7.0 [INFO] [stderr] Checking vecmath v1.0.0 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Checking interpolation v0.2.0 [INFO] [stderr] Checking read_color v1.0.0 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking piston2d-graphics v0.36.0 [INFO] [stderr] Checking ppv-lite86 v0.2.9 [INFO] [stderr] Checking piston-shaders_graphics2d v0.3.1 [INFO] [stderr] Checking unicode-width v0.1.8 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking aho-corasick v0.7.18 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking ansi_term v0.11.0 [INFO] [stderr] Checking strsim v0.8.0 [INFO] [stderr] Checking vec_map v0.8.2 [INFO] [stderr] Checking regex-syntax v0.6.26 [INFO] [stderr] Checking clap v2.33.3 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking pistoncore-input v1.0.0 [INFO] [stderr] Checking gfx_device_gl v0.16.2 [INFO] [stderr] Checking piston-gfx_texture v0.41.0 [INFO] [stderr] Checking piston2d-gfx_graphics v0.69.0 [INFO] [stderr] Checking pistoncore-window v0.47.0 [INFO] [stderr] Checking pistoncore-event_loop v0.52.0 [INFO] [stderr] Checking piston v0.52.0 [INFO] [stderr] Checking regex v1.5.5 [INFO] [stderr] Checking smithay-client-toolkit v0.4.6 [INFO] [stderr] Checking winit v0.19.5 [INFO] [stderr] Checking glutin v0.21.2 [INFO] [stderr] Checking pistoncore-glutin_window v0.66.0 [INFO] [stderr] Checking piston_window v0.111.0 [INFO] [stderr] Checking teeline v0.3.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::fmt` [INFO] [stdout] --> src/tsp/mod.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | use std::fmt; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fmt` [INFO] [stdout] --> src/tsp/mod.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | use std::fmt; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/tsp/genetic_algorithm.rs:144:9 [INFO] [stdout] | [INFO] [stdout] 144 | for i in 0..gene_len { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `assert_approx` is never used [INFO] [stdout] --> src/test/helpers.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | pub fn assert_approx(expected_val: f32, actual_val: f32) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `first_id` is never read [INFO] [stdout] --> src/tsp/distance_matrix.rs:66:5 [INFO] [stdout] | [INFO] [stdout] 65 | pub struct DistanceMatrix { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] 66 | first_id: usize, // TODO: remove - the first city id, default 0 [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DistanceMatrix` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `dimensionality` is never read [INFO] [stdout] --> src/tsp/kdtree.rs:87:5 [INFO] [stdout] | [INFO] [stdout] 85 | pub struct KDTree { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 86 | size: usize, [INFO] [stdout] 87 | dimensionality: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `KDTree` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `add` and `add_rec` are never used [INFO] [stdout] --> src/tsp/kdtree.rs:110:8 [INFO] [stdout] | [INFO] [stdout] 91 | impl KDTree { [INFO] [stdout] | ----------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 110 | fn add(&mut self, new_point: KDPoint) { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 120 | fn add_rec(&mut self, parent: KDSubTree, new_point: KDPoint, depth: usize) -> KDSubTree { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `point` and `cmp` are never used [INFO] [stdout] --> src/tsp/kdtree.rs:274:8 [INFO] [stdout] | [INFO] [stdout] 184 | impl KDNode { [INFO] [stdout] | ----------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 274 | fn point(&self) -> &KDPoint { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 278 | fn cmp(&self, other: &KDNode) -> Option { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `GREEN` is never used [INFO] [stdout] --> src/tsp/progress.rs:27:7 [INFO] [stdout] | [INFO] [stdout] 27 | const GREEN: RGBA = [0.0, 1.0, 0.0, 0.9]; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `BLUE` is never used [INFO] [stdout] --> src/tsp/progress.rs:28:7 [INFO] [stdout] | [INFO] [stdout] 28 | const BLUE: RGBA = [0.0, 0.0, 1.0, 0.9]; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `VISITED_COLOR` is never used [INFO] [stdout] --> src/tsp/progress.rs:33:7 [INFO] [stdout] | [INFO] [stdout] 33 | const VISITED_COLOR: RGBA = GREEN; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/tsp/genetic_algorithm.rs:144:9 [INFO] [stdout] | [INFO] [stdout] 144 | for i in 0..gene_len { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/tsp/kdtree.rs:28:29 [INFO] [stdout] | [INFO] [stdout] 28 | let tree_points = points.clone().to_vec(); [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `[KDPoint]` does not implement `Clone`, so calling `clone` on `&[KDPoint]` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/tsp/kdtree.rs:292:37 [INFO] [stdout] | [INFO] [stdout] 292 | self.left.as_ref().map(|n| n.clone()) [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the type `Box` does not implement `Clone`, so calling `clone` on `&Box` copies the reference, which does not do anything and can be removed [INFO] [stdout] help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] 292 - self.left.as_ref().map(|n| n.clone()) [INFO] [stdout] 292 + self.left.as_ref().map(|n| n) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/tsp/kdtree.rs:296:38 [INFO] [stdout] | [INFO] [stdout] 296 | self.right.as_ref().map(|n| n.clone()) [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the type `Box` does not implement `Clone`, so calling `clone` on `&Box` copies the reference, which does not do anything and can be removed [INFO] [stdout] help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] 296 - self.right.as_ref().map(|n| n.clone()) [INFO] [stdout] 296 + self.right.as_ref().map(|n| n) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/tsp/tsplib.rs:178:44 [INFO] [stdout] | [INFO] [stdout] 178 | let id_str = tokens.next().unwrap().clone(); [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 14 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `first_id` is never read [INFO] [stdout] --> src/tsp/distance_matrix.rs:66:5 [INFO] [stdout] | [INFO] [stdout] 65 | pub struct DistanceMatrix { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] 66 | first_id: usize, // TODO: remove - the first city id, default 0 [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DistanceMatrix` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `point` and `cmp` are never used [INFO] [stdout] --> src/tsp/kdtree.rs:274:8 [INFO] [stdout] | [INFO] [stdout] 184 | impl KDNode { [INFO] [stdout] | ----------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 274 | fn point(&self) -> &KDPoint { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 278 | fn cmp(&self, other: &KDNode) -> Option { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `GREEN` is never used [INFO] [stdout] --> src/tsp/progress.rs:27:7 [INFO] [stdout] | [INFO] [stdout] 27 | const GREEN: RGBA = [0.0, 1.0, 0.0, 0.9]; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `BLUE` is never used [INFO] [stdout] --> src/tsp/progress.rs:28:7 [INFO] [stdout] | [INFO] [stdout] 28 | const BLUE: RGBA = [0.0, 0.0, 1.0, 0.9]; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `VISITED_COLOR` is never used [INFO] [stdout] --> src/tsp/progress.rs:33:7 [INFO] [stdout] | [INFO] [stdout] 33 | const VISITED_COLOR: RGBA = GREEN; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/tsp/kdtree.rs:28:29 [INFO] [stdout] | [INFO] [stdout] 28 | let tree_points = points.clone().to_vec(); [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `[tsp::kdtree::KDPoint]` does not implement `Clone`, so calling `clone` on `&[tsp::kdtree::KDPoint]` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/tsp/kdtree.rs:292:37 [INFO] [stdout] | [INFO] [stdout] 292 | self.left.as_ref().map(|n| n.clone()) [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the type `Box` does not implement `Clone`, so calling `clone` on `&Box` copies the reference, which does not do anything and can be removed [INFO] [stdout] help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] 292 - self.left.as_ref().map(|n| n.clone()) [INFO] [stdout] 292 + self.left.as_ref().map(|n| n) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/tsp/kdtree.rs:296:38 [INFO] [stdout] | [INFO] [stdout] 296 | self.right.as_ref().map(|n| n.clone()) [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the type `Box` does not implement `Clone`, so calling `clone` on `&Box` copies the reference, which does not do anything and can be removed [INFO] [stdout] help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] 296 - self.right.as_ref().map(|n| n.clone()) [INFO] [stdout] 296 + self.right.as_ref().map(|n| n) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/tsp/tsplib.rs:178:44 [INFO] [stdout] | [INFO] [stdout] 178 | let id_str = tokens.next().unwrap().clone(); [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 24.26s [INFO] running `Command { std: "docker" "inspect" "ab01323c0c65c954173b7b50872865f4a89f526f5a43e5d2360b67ee4cc54a9a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ab01323c0c65c954173b7b50872865f4a89f526f5a43e5d2360b67ee4cc54a9a", kill_on_drop: false }` [INFO] [stdout] ab01323c0c65c954173b7b50872865f4a89f526f5a43e5d2360b67ee4cc54a9a