[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 try#012cd62c9add58ab3910e44c137d87db3ab70f61 for pr-155915
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftimgluz%2Fteeline" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'...
[INFO] [stderr] done.
[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-5-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/timgluz/teeline on toolchain 012cd62c9add58ab3910e44c137d87db3ab70f61
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+012cd62c9add58ab3910e44c137d87db3ab70f61" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[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" "+012cd62c9add58ab3910e44c137d87db3ab70f61" "fetch" "--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
[ERROR] error running command: no output for 300 seconds
[INFO] checking timgluz/teeline against try#012cd62c9add58ab3910e44c137d87db3ab70f61 for pr-155915
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftimgluz%2Fteeline" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'...
[INFO] [stderr] done.
[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-5-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/timgluz/teeline on toolchain 012cd62c9add58ab3910e44c137d87db3ab70f61
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+012cd62c9add58ab3910e44c137d87db3ab70f61" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[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" "+012cd62c9add58ab3910e44c137d87db3ab70f61" "fetch" "--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] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded pistoncore-glutin_window v0.66.0
[INFO] [stderr]   Downloaded piston-graphics_api_version v1.0.0
[INFO] [stderr]   Downloaded pistoncore-window v0.47.0
[INFO] [stderr]   Downloaded pistoncore-input v1.0.0
[INFO] [stderr]   Downloaded piston-viewport v1.0.0
[INFO] [stderr]   Downloaded piston-float v1.0.0
[INFO] [stderr]   Downloaded piston-gfx_texture v0.41.0
[INFO] [stderr]   Downloaded piston-texture v0.8.0
[INFO] [stderr]   Downloaded rayon-core v1.8.1
[INFO] [stderr]   Downloaded libloading v0.6.4
[INFO] [stderr]   Downloaded glutin v0.21.2
[INFO] [stderr]   Downloaded gfx_gl v0.6.1
[INFO] [stderr]   Downloaded gfx v0.18.2
[INFO] [stderr]   Downloaded gfx_core v0.9.2
[INFO] [stderr]   Downloaded gfx_device_gl v0.16.2
[INFO] [stderr]   Downloaded piston2d-graphics v0.36.0
[INFO] [stderr]   Downloaded weezl v0.1.1
[INFO] [stderr]   Downloaded rayon v1.4.1
[INFO] [stderr]   Downloaded serde_derive v1.0.117
[INFO] [stderr]   Downloaded serde v1.0.117
[INFO] [stderr]   Downloaded piston v0.52.0
[INFO] [stderr]   Downloaded pistoncore-event_loop v0.52.0
[INFO] [stderr]   Downloaded syn v1.0.44
[INFO] [stderr]   Downloaded winit v0.19.5
[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-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+012cd62c9add58ab3910e44c137d87db3ab70f61" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] f9fd65a438e28d67317d02e39b037e1b2706bc1af3355e81b332b186b85a33c2
[INFO] running `Command { std: "docker" "start" "-a" "f9fd65a438e28d67317d02e39b037e1b2706bc1af3355e81b332b186b85a33c2", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "f9fd65a438e28d67317d02e39b037e1b2706bc1af3355e81b332b186b85a33c2", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "f9fd65a438e28d67317d02e39b037e1b2706bc1af3355e81b332b186b85a33c2", kill_on_drop: false }`
[INFO] [stdout] f9fd65a438e28d67317d02e39b037e1b2706bc1af3355e81b332b186b85a33c2
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+012cd62c9add58ab3910e44c137d87db3ab70f61" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 5e68a6737b97eafc867a28f4f54cf92ed8bf6226379ab0fb50e86cf436b3c31a
[INFO] running `Command { std: "docker" "start" "-a" "5e68a6737b97eafc867a28f4f54cf92ed8bf6226379ab0fb50e86cf436b3c31a", kill_on_drop: false }`
[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 num-traits v0.2.12
[INFO] [stderr]    Compiling byteorder v1.3.4
[INFO] [stderr]    Compiling proc-macro2 v0.4.30
[INFO] [stderr]    Compiling crossbeam-utils v0.7.2
[INFO] [stderr]    Compiling memoffset v0.5.6
[INFO] [stderr]    Compiling crossbeam-epoch v0.8.2
[INFO] [stderr]    Compiling proc-macro2 v1.0.24
[INFO] [stderr]     Checking libloading v0.6.4
[INFO] [stderr]     Checking piston-float v1.0.0
[INFO] [stderr]    Compiling unicode-xid v0.2.1
[INFO] [stderr]    Compiling rayon-core v1.8.1
[INFO] [stderr]    Compiling nix v0.14.1
[INFO] [stderr]    Compiling syn v1.0.44
[INFO] [stderr]     Checking piston-viewport v1.0.0
[INFO] [stderr]    Compiling num-integer v0.1.43
[INFO] [stderr]    Compiling rayon v1.4.1
[INFO] [stderr]     Checking dlib v0.4.2
[INFO] [stderr]    Compiling pkg-config v0.3.19
[INFO] [stderr]     Checking wayland-sys v0.21.13
[INFO] [stderr]    Compiling serde v1.0.117
[INFO] [stderr]    Compiling serde_derive v1.0.117
[INFO] [stderr]    Compiling miniz_oxide v0.4.3
[INFO] [stderr]     Checking piston-graphics_api_version v1.0.0
[INFO] [stderr]     Checking walkdir v2.3.1
[INFO] [stderr]     Checking draw_state v0.8.0
[INFO] [stderr]     Checking crossbeam-channel v0.4.4
[INFO] [stderr]     Checking smallvec v0.6.14
[INFO] [stderr]     Checking stb_truetype v0.3.1
[INFO] [stderr]    Compiling num-iter v0.1.41
[INFO] [stderr]    Compiling num-rational v0.3.0
[INFO] [stderr]    Compiling cc v1.0.61
[INFO] [stderr]     Checking adler v0.2.3
[INFO] [stderr]     Checking num_cpus v1.13.0
[INFO] [stderr]     Checking weezl v0.1.1
[INFO] [stderr]     Checking gfx_core v0.9.2
[INFO] [stderr]    Compiling quote v0.6.13
[INFO] [stderr]    Compiling gl_generator v0.14.0
[INFO] [stderr]     Checking crossbeam-deque v0.7.4
[INFO] [stderr]    Compiling x11-dl v2.18.5
[INFO] [stderr]    Compiling wayland-scanner v0.21.13
[INFO] [stderr]    Compiling quote v1.0.7
[INFO] [stderr]    Compiling gl_generator v0.10.0
[INFO] [stderr]     Checking ordered-float v1.1.1
[INFO] [stderr]     Checking approx v0.3.2
[INFO] [stderr]     Checking line_drawing v0.7.0
[INFO] [stderr]     Checking parking_lot_core v0.6.2
[INFO] [stderr]     Checking memmap v0.7.0
[INFO] [stderr]     Checking deflate v0.8.6
[INFO] [stderr]     Checking rusttype v0.8.3
[INFO] [stderr]     Checking lock_api v0.3.4
[INFO] [stderr]    Compiling getrandom v0.1.15
[INFO] [stderr]     Checking gif v0.11.1
[INFO] [stderr]    Compiling glutin_glx_sys v0.1.7
[INFO] [stderr]    Compiling glutin_egl_sys v0.1.5
[INFO] [stderr]     Checking parking_lot v0.9.0
[INFO] [stderr]    Compiling gfx_gl v0.6.1
[INFO] [stderr]    Compiling libloading v0.5.2
[INFO] [stderr]     Checking rusttype v0.7.9
[INFO] [stderr]     Checking andrew v0.2.1
[INFO] [stderr]     Checking png v0.16.7
[INFO] [stderr]     Checking shared_library v0.1.9
[INFO] [stderr]    Compiling gl v0.11.0
[INFO] [stderr]     Checking raw-window-handle v0.3.3
[INFO] [stderr]     Checking piston-texture v0.8.0
[INFO] [stderr]     Checking bytemuck v1.4.1
[INFO] [stderr]     Checking osmesa-sys v0.1.2
[INFO] [stderr]     Checking gfx v0.18.2
[INFO] [stderr]     Checking shader_version v0.7.0
[INFO] [stderr]     Checking vecmath v1.0.0
[INFO] [stderr]    Compiling wayland-client v0.21.13
[INFO] [stderr]    Compiling wayland-protocols v0.21.13
[INFO] [stderr]     Checking ppv-lite86 v0.2.9
[INFO] [stderr]     Checking aho-corasick v0.7.18
[INFO] [stderr]     Checking atty v0.2.14
[INFO] [stderr]     Checking rand_core v0.5.1
[INFO] [stderr]     Checking clap v2.33.3
[INFO] [stderr]     Checking piston2d-graphics v0.36.0
[INFO] [stderr]     Checking rand_chacha v0.2.2
[INFO] [stderr]     Checking rand v0.7.3
[INFO] [stderr]     Checking regex v1.5.5
[INFO] [stderr]     Checking wayland-commons v0.21.13
[INFO] [stderr]     Checking gfx_device_gl v0.16.2
[INFO] [stderr]     Checking jpeg-decoder v0.1.22
[INFO] [stderr]     Checking tiff v0.6.1
[INFO] [stderr]     Checking image v0.23.14
[INFO] [stderr]     Checking pistoncore-input v1.0.0
[INFO] [stderr]     Checking piston-gfx_texture v0.41.0
[INFO] [stderr]     Checking pistoncore-window v0.47.0
[INFO] [stderr]     Checking piston2d-gfx_graphics v0.69.0
[INFO] [stderr]     Checking pistoncore-event_loop v0.52.0
[INFO] [stderr]     Checking piston v0.52.0
[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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) 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<Ordering> {
[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 `[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<KDNode>` does not implement `Clone`, so calling `clone` on `&Box<KDNode>` 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<KDNode>` does not implement `Clone`, so calling `clone` on `&Box<KDNode>` 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: 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)]` (part of `#[warn(unused)]`) 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]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) 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<Ordering> {
[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<tsp::kdtree::KDNode>` does not implement `Clone`, so calling `clone` on `&Box<tsp::kdtree::KDNode>` 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<tsp::kdtree::KDNode>` does not implement `Clone`, so calling `clone` on `&Box<tsp::kdtree::KDNode>` 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] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 44.14s
[INFO] running `Command { std: "docker" "inspect" "5e68a6737b97eafc867a28f4f54cf92ed8bf6226379ab0fb50e86cf436b3c31a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "5e68a6737b97eafc867a28f4f54cf92ed8bf6226379ab0fb50e86cf436b3c31a", kill_on_drop: false }`
[INFO] [stdout] 5e68a6737b97eafc867a28f4f54cf92ed8bf6226379ab0fb50e86cf436b3c31a
