[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] testing timgluz/teeline against 1.84.0 for beta-1.85-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftimgluz%2Fteeline" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/timgluz/teeline on toolchain 1.84.0 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.84.0" "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-7-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" "+1.84.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded piston2d-graphics v0.36.0 [INFO] [stderr] Downloaded glutin v0.21.2 [INFO] [stderr] Downloaded weezl v0.1.1 [INFO] [stderr] Downloaded piston v0.52.0 [INFO] [stderr] Downloaded pistoncore-glutin_window v0.66.0 [INFO] [stderr] Downloaded piston2d-gfx_graphics v0.69.0 [INFO] [stderr] Downloaded piston_window v0.111.0 [INFO] [stderr] Downloaded pistoncore-event_loop v0.52.0 [INFO] [stderr] Downloaded piston-gfx_texture v0.41.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:86ea7c7af713d31e8cfdb68a6d0db50b5cf7cbeecde3d112f9f257f747318d36" "/opt/rustwide/cargo-home/bin/cargo" "+1.84.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 99b5774f57bdc43416e280442fe95115c89f7b1325519b099397cf2c87d60e4d [INFO] running `Command { std: "docker" "start" "-a" "99b5774f57bdc43416e280442fe95115c89f7b1325519b099397cf2c87d60e4d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "99b5774f57bdc43416e280442fe95115c89f7b1325519b099397cf2c87d60e4d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "99b5774f57bdc43416e280442fe95115c89f7b1325519b099397cf2c87d60e4d", kill_on_drop: false }` [INFO] [stdout] 99b5774f57bdc43416e280442fe95115c89f7b1325519b099397cf2c87d60e4d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:86ea7c7af713d31e8cfdb68a6d0db50b5cf7cbeecde3d112f9f257f747318d36" "/opt/rustwide/cargo-home/bin/cargo" "+1.84.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3eba020b355df7b2251eff066571445c7f95a4474a467a100dc4457071ee972c [INFO] running `Command { std: "docker" "start" "-a" "3eba020b355df7b2251eff066571445c7f95a4474a467a100dc4457071ee972c", kill_on_drop: false }` [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling autocfg v1.0.1 [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] Compiling 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 scopeguard v1.1.0 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling num-traits v0.2.12 [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 semver v0.9.0 [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling stb_truetype v0.3.1 [INFO] [stderr] Compiling gl_generator v0.14.0 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Compiling wayland-scanner v0.21.13 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling libloading v0.6.4 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling piston-float v1.0.0 [INFO] [stderr] Compiling approx v0.3.2 [INFO] [stderr] Compiling ordered-float v1.1.1 [INFO] [stderr] Compiling nix v0.14.1 [INFO] [stderr] Compiling rayon-core v1.8.1 [INFO] [stderr] Compiling dlib v0.4.2 [INFO] [stderr] Compiling rusttype v0.8.3 [INFO] [stderr] Compiling syn v1.0.44 [INFO] [stderr] Compiling void v1.0.2 [INFO] [stderr] Compiling crossbeam-deque v0.7.4 [INFO] [stderr] Compiling wayland-sys v0.21.13 [INFO] [stderr] Compiling piston-viewport v1.0.0 [INFO] [stderr] Compiling crossbeam-channel v0.4.4 [INFO] [stderr] Compiling 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 quote v1.0.7 [INFO] [stderr] Compiling serde_derive v1.0.117 [INFO] [stderr] Compiling pkg-config v0.3.19 [INFO] [stderr] Compiling wayland-client v0.21.13 [INFO] [stderr] Compiling wayland-protocols v0.21.13 [INFO] [stderr] Compiling parking_lot_core v0.6.2 [INFO] [stderr] Compiling miniz_oxide v0.4.3 [INFO] [stderr] Compiling x11-dl v2.18.5 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling crc32fast v1.2.0 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling piston-graphics_api_version v1.0.0 [INFO] [stderr] Compiling adler32 v1.2.0 [INFO] [stderr] Compiling downcast-rs v1.2.0 [INFO] [stderr] Compiling walkdir v2.3.1 [INFO] [stderr] Compiling rusttype v0.7.9 [INFO] [stderr] Compiling parking_lot v0.9.0 [INFO] [stderr] Compiling line_drawing v0.7.0 [INFO] [stderr] Compiling smallvec v0.6.14 [INFO] [stderr] Compiling num-iter v0.1.41 [INFO] [stderr] Compiling num-rational v0.3.0 [INFO] [stderr] Compiling draw_state v0.8.0 [INFO] [stderr] Compiling wayland-commons v0.21.13 [INFO] [stderr] Compiling xdg v2.2.0 [INFO] [stderr] Compiling cc v1.0.61 [INFO] [stderr] Compiling weezl v0.1.1 [INFO] [stderr] Compiling adler v0.2.3 [INFO] [stderr] Compiling jpeg-decoder v0.1.22 [INFO] [stderr] Compiling andrew v0.2.1 [INFO] [stderr] Compiling libloading v0.5.2 [INFO] [stderr] Compiling gfx_core v0.9.2 [INFO] [stderr] Compiling deflate v0.8.6 [INFO] [stderr] Compiling miniz_oxide v0.3.7 [INFO] [stderr] Compiling glutin_glx_sys v0.1.7 [INFO] [stderr] Compiling glutin_egl_sys v0.1.5 [INFO] [stderr] Compiling memmap v0.7.0 [INFO] [stderr] Compiling gl_generator v0.10.0 [INFO] [stderr] Compiling lock_api v0.3.4 [INFO] [stderr] Compiling getrandom v0.1.15 [INFO] [stderr] Compiling color_quant v1.1.0 [INFO] [stderr] Compiling gif v0.11.1 [INFO] [stderr] Compiling png v0.16.7 [INFO] [stderr] Compiling tiff v0.6.1 [INFO] [stderr] Compiling gl v0.11.0 [INFO] [stderr] Compiling gfx_gl v0.6.1 [INFO] [stderr] Compiling raw-window-handle v0.3.3 [INFO] [stderr] Compiling shared_library v0.1.9 [INFO] [stderr] Compiling piston-texture v0.8.0 [INFO] [stderr] Compiling scoped_threadpool v0.1.9 [INFO] [stderr] Compiling bytemuck v1.4.1 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling image v0.23.14 [INFO] [stderr] Compiling osmesa-sys v0.1.2 [INFO] [stderr] Compiling pistoncore-input v1.0.0 [INFO] [stderr] Compiling gfx v0.18.2 [INFO] [stderr] Compiling shader_version v0.7.0 [INFO] [stderr] Compiling vecmath v1.0.0 [INFO] [stderr] Compiling interpolation v0.2.0 [INFO] [stderr] Compiling read_color v1.0.0 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling piston2d-graphics v0.36.0 [INFO] [stderr] Compiling unicode-width v0.1.8 [INFO] [stderr] Compiling ppv-lite86 v0.2.9 [INFO] [stderr] Compiling piston-shaders_graphics2d v0.3.1 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling pistoncore-window v0.47.0 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling pistoncore-event_loop v0.52.0 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling piston v0.52.0 [INFO] [stderr] Compiling regex-syntax v0.6.26 [INFO] [stderr] Compiling ansi_term v0.11.0 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling vec_map v0.8.2 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling clap v2.33.3 [INFO] [stderr] Compiling gfx_device_gl v0.16.2 [INFO] [stderr] Compiling piston-gfx_texture v0.41.0 [INFO] [stderr] Compiling piston2d-gfx_graphics v0.69.0 [INFO] [stderr] Compiling regex v1.5.5 [INFO] [stderr] Compiling smithay-client-toolkit v0.4.6 [INFO] [stderr] Compiling winit v0.19.5 [INFO] [stderr] Compiling glutin v0.21.2 [INFO] [stderr] Compiling pistoncore-glutin_window v0.66.0 [INFO] [stderr] Compiling piston_window v0.111.0 [INFO] [stderr] Compiling 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 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: 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] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 3m 13s [INFO] running `Command { std: "docker" "inspect" "3eba020b355df7b2251eff066571445c7f95a4474a467a100dc4457071ee972c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3eba020b355df7b2251eff066571445c7f95a4474a467a100dc4457071ee972c", kill_on_drop: false }` [INFO] [stdout] 3eba020b355df7b2251eff066571445c7f95a4474a467a100dc4457071ee972c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:86ea7c7af713d31e8cfdb68a6d0db50b5cf7cbeecde3d112f9f257f747318d36" "/opt/rustwide/cargo-home/bin/cargo" "+1.84.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3553ed72fcd0f38a58211b14f60e5df5e5b18d09518cb40517e71352367becba [INFO] running `Command { std: "docker" "start" "-a" "3553ed72fcd0f38a58211b14f60e5df5e5b18d09518cb40517e71352367becba", kill_on_drop: false }` [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: 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] [stderr] Compiling 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 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: 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] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 6.68s [INFO] running `Command { std: "docker" "inspect" "3553ed72fcd0f38a58211b14f60e5df5e5b18d09518cb40517e71352367becba", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3553ed72fcd0f38a58211b14f60e5df5e5b18d09518cb40517e71352367becba", kill_on_drop: false }` [INFO] [stdout] 3553ed72fcd0f38a58211b14f60e5df5e5b18d09518cb40517e71352367becba [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:86ea7c7af713d31e8cfdb68a6d0db50b5cf7cbeecde3d112f9f257f747318d36" "/opt/rustwide/cargo-home/bin/cargo" "+1.84.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 0464a153f4036c9587a37df14bb34ebbccacb81760191302077bf0caeeb4229f [INFO] running `Command { std: "docker" "start" "-a" "0464a153f4036c9587a37df14bb34ebbccacb81760191302077bf0caeeb4229f", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `std::fmt` [INFO] [stderr] --> src/tsp/mod.rs:22:5 [INFO] [stderr] | [INFO] [stderr] 22 | use std::fmt; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `i` [INFO] [stderr] --> src/tsp/genetic_algorithm.rs:144:9 [INFO] [stderr] | [INFO] [stderr] 144 | for i in 0..gene_len { [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: function `assert_approx` is never used [INFO] [stderr] --> src/test/helpers.rs:1:8 [INFO] [stderr] | [INFO] [stderr] 1 | pub fn assert_approx(expected_val: f32, actual_val: f32) { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: field `first_id` is never read [INFO] [stderr] --> src/tsp/distance_matrix.rs:66:5 [INFO] [stderr] | [INFO] [stderr] 65 | pub struct DistanceMatrix { [INFO] [stderr] | -------------- field in this struct [INFO] [stderr] 66 | first_id: usize, // TODO: remove - the first city id, default 0 [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `DistanceMatrix` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: field `dimensionality` is never read [INFO] [stderr] --> src/tsp/kdtree.rs:87:5 [INFO] [stderr] | [INFO] [stderr] 85 | pub struct KDTree { [INFO] [stderr] | ------ field in this struct [INFO] [stderr] 86 | size: usize, [INFO] [stderr] 87 | dimensionality: usize, [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `KDTree` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: methods `add` and `add_rec` are never used [INFO] [stderr] --> src/tsp/kdtree.rs:110:8 [INFO] [stderr] | [INFO] [stderr] 91 | impl KDTree { [INFO] [stderr] | ----------- methods in this implementation [INFO] [stderr] ... [INFO] [stderr] 110 | fn add(&mut self, new_point: KDPoint) { [INFO] [stderr] | ^^^ [INFO] [stderr] ... [INFO] [stderr] 120 | fn add_rec(&mut self, parent: KDSubTree, new_point: KDPoint, depth: usize) -> KDSubTree { [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: methods `point` and `cmp` are never used [INFO] [stderr] --> src/tsp/kdtree.rs:274:8 [INFO] [stderr] | [INFO] [stderr] 184 | impl KDNode { [INFO] [stderr] | ----------- methods in this implementation [INFO] [stderr] ... [INFO] [stderr] 274 | fn point(&self) -> &KDPoint { [INFO] [stderr] | ^^^^^ [INFO] [stderr] ... [INFO] [stderr] 278 | fn cmp(&self, other: &KDNode) -> Option { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: constant `GREEN` is never used [INFO] [stderr] --> src/tsp/progress.rs:27:7 [INFO] [stderr] | [INFO] [stderr] 27 | const GREEN: RGBA = [0.0, 1.0, 0.0, 0.9]; [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant `BLUE` is never used [INFO] [stderr] --> src/tsp/progress.rs:28:7 [INFO] [stderr] | [INFO] [stderr] 28 | const BLUE: RGBA = [0.0, 0.0, 1.0, 0.9]; [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant `VISITED_COLOR` is never used [INFO] [stderr] --> src/tsp/progress.rs:33:7 [INFO] [stderr] | [INFO] [stderr] 33 | const VISITED_COLOR: RGBA = GREEN; [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stderr] --> src/tsp/kdtree.rs:28:29 [INFO] [stderr] | [INFO] [stderr] 28 | let tree_points = points.clone().to_vec(); [INFO] [stderr] | ^^^^^^^^ help: remove this redundant call [INFO] [stderr] | [INFO] [stderr] = 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] [stderr] = note: `#[warn(noop_method_call)]` on by default [INFO] [stderr] [INFO] [stderr] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stderr] --> src/tsp/kdtree.rs:292:37 [INFO] [stderr] | [INFO] [stderr] 292 | self.left.as_ref().map(|n| n.clone()) [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = 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] [stderr] help: remove this redundant call [INFO] [stderr] | [INFO] [stderr] 292 - self.left.as_ref().map(|n| n.clone()) [INFO] [stderr] 292 + self.left.as_ref().map(|n| n) [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stderr] --> src/tsp/kdtree.rs:296:38 [INFO] [stderr] | [INFO] [stderr] 296 | self.right.as_ref().map(|n| n.clone()) [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = 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] [stderr] help: remove this redundant call [INFO] [stderr] | [INFO] [stderr] 296 - self.right.as_ref().map(|n| n.clone()) [INFO] [stderr] 296 + self.right.as_ref().map(|n| n) [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stderr] --> src/tsp/tsplib.rs:178:44 [INFO] [stderr] | [INFO] [stderr] 178 | let id_str = tokens.next().unwrap().clone(); [INFO] [stderr] | ^^^^^^^^ help: remove this redundant call [INFO] [stderr] | [INFO] [stderr] = 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] [stderr] [INFO] [stderr] warning: field `first_id` is never read [INFO] [stderr] --> src/tsp/distance_matrix.rs:66:5 [INFO] [stderr] | [INFO] [stderr] 65 | pub struct DistanceMatrix { [INFO] [stderr] | -------------- field in this struct [INFO] [stderr] 66 | first_id: usize, // TODO: remove - the first city id, default 0 [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `DistanceMatrix` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stderr] --> src/tsp/kdtree.rs:28:29 [INFO] [stderr] | [INFO] [stderr] 28 | let tree_points = points.clone().to_vec(); [INFO] [stderr] | ^^^^^^^^ help: remove this redundant call [INFO] [stderr] | [INFO] [stderr] = 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] [stderr] = note: `#[warn(noop_method_call)]` on by default [INFO] [stderr] [INFO] [stderr] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stderr] --> src/tsp/kdtree.rs:292:37 [INFO] [stderr] | [INFO] [stderr] 292 | self.left.as_ref().map(|n| n.clone()) [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = 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] [stderr] help: remove this redundant call [INFO] [stderr] | [INFO] [stderr] 292 - self.left.as_ref().map(|n| n.clone()) [INFO] [stderr] 292 + self.left.as_ref().map(|n| n) [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stderr] --> src/tsp/kdtree.rs:296:38 [INFO] [stderr] | [INFO] [stderr] 296 | self.right.as_ref().map(|n| n.clone()) [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = 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] [stderr] help: remove this redundant call [INFO] [stderr] | [INFO] [stderr] 296 - self.right.as_ref().map(|n| n.clone()) [INFO] [stderr] 296 + self.right.as_ref().map(|n| n) [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: `teeline` (lib) generated 14 warnings (run `cargo fix --lib -p teeline` to apply 5 suggestions) [INFO] [stderr] warning: `teeline` (lib test) generated 11 warnings (7 duplicates) (run `cargo fix --lib -p teeline --tests` to apply 3 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.19s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/teeline-abca68b7322ae179) [INFO] [stdout] [INFO] [stdout] running 52 tests [INFO] [stdout] test tsp::distance_matrix::tests::test_build_distance_matrix_from_2_item_list ... ok [INFO] [stdout] test tsp::distance_matrix::tests::test_build_distance_matrix_from_3_item_list ... ok [INFO] [stdout] test tsp::distance_matrix::tests::test_build_distance_matrix_from_singleton_list ... ok [INFO] [stdout] test tsp::distance_matrix::tests::test_distance_matrix_distance_between_with_3_cities_example ... ok [INFO] [stdout] test tsp::distance_matrix::tests::test_distance_matrix_distance_between_with_4_cities_example ... ok [INFO] [stdout] test tsp::distance_matrix::tests::test_distance_matrix_distances_from_city1 ... ok [INFO] [stdout] test tsp::distance_matrix::tests::test_distance_matrix_tour_length_with_tsp_5_1 ... ok [INFO] [stdout] test tsp::genetic_algorithm::tests::test_ordered_crossover_genes_with_example_from_article ... ok [INFO] [stdout] test tsp::kdtree::tests::from_cities_example ... ok [INFO] [stdout] test tsp::kdtree::tests::kdpoint_cmp_by_coord_with_empty_points ... ok [INFO] [stdout] test tsp::kdtree::tests::kdpoint_cmp_by_coord_when_other_node_has_different_dim ... ok [INFO] [stdout] test tsp::kdtree::tests::kdpoint_cmp_by_coord_with_pt_equal ... ok [INFO] [stdout] test tsp::kdtree::tests::kdpoint_cmp_by_coord_with_pt_less_than ... ok [INFO] [stdout] test tsp::kdtree::tests::kdpoint_distance_from_origin_to_origin ... ok [INFO] [stdout] test tsp::kdtree::tests::kdpoint_distance_from_origin_to_x_axis ... ok [INFO] [stdout] test tsp::distance_matrix::tests::test_build_distance_matrix_from_empty_list ... ok [INFO] [stdout] test tsp::kdtree::tests::kdpoint_eq_with_same_values ... ok [INFO] [stdout] test tsp::kdtree::tests::kdpoint_distance_from_origin_to_y_axis ... ok [INFO] [stdout] test tsp::kdtree::tests::kdtree_add_new_node_to_tree_with_root ... ok [INFO] [stdout] test tsp::kdtree::tests::kdtree_nearest_for_tsp_5_1 ... ok [INFO] [stdout] test tsp::kdtree::tests::kdtree_nearest_with_points_around_node4 ... ok [INFO] [stdout] test tsp::kdtree::tests::kdtree_add_new_node_to_empty_tree ... ok [INFO] [stdout] test tsp::kdtree::tests::kdtree_walk_with_empty_tree ... ok [INFO] [stdout] test tsp::kdtree::tests::kdtree_walk_with_only_root_node ... ok [INFO] [stdout] test tsp::kdtree::tests::partition_points_with_2points_with_full_tree ... ok [INFO] [stdout] test tsp::kdtree::tests::partition_points_with_2points_with_right_subtree ... ok [INFO] [stdout] test tsp::kdtree::tests::partition_points_with_2points_with_left_subtree ... ok [INFO] [stdout] test tsp::kdtree::tests::kdtree_walk_balances_1level_tree ... ok [INFO] [stdout] test tsp::kdtree::tests::kdpoint_distance_on_diagonal ... ok [INFO] [stdout] test tsp::kdtree::tests::partition_points_single_elem ... ok [INFO] [stdout] test tsp::kdtree::tests::partition_points_with_3points_by_second_dimension ... ok [INFO] [stdout] test tsp::route::tests::test_route_from_cities_with_1_elem ... ok [INFO] [stdout] test tsp::route::tests::test_route_from_cities_with_2_elem ... ok [INFO] [stdout] test tsp::tsplib::tests::test_coords_from_text_3dim_coord ... ok [INFO] [stdout] test tsp::route::tests::test_route_random_successor_returns_new_route ... ok [INFO] [stdout] test tsp::tests::test_total_distance_for_tsp_5_1 ... ok [INFO] [stdout] test tsp::tsplib::tests::test_coords_from_text_include_negative_coord ... ok [INFO] [stdout] test tsp::tsplib::tests::test_coords_from_text_only_ints ... ok [INFO] [stdout] test tsp::tsplib::tests::test_next_state_with_end_marker ... ok [INFO] [stdout] test tsp::genetic_algorithm::tests::test_ordered_crossover_genes_with_example_from_book ... ok [INFO] [stdout] test tsp::tsplib::tests::test_process_lines_with_empty_string ... ok [INFO] [stdout] test tsp::kdtree::tests::kdpoint_cmp_by_coord_with_pt_greater_than ... ok [INFO] [stdout] test tsp::tsplib::tests::test_state_from_coord_section_switches_to_outsection ... ok [INFO] [stdout] test tsp::tsplib::tests::test_is_state_marker_with_state_key ... ok [INFO] [stdout] test tsp::two_opt::tests::test_solve_with_tsp5_example ... ok [INFO] [stdout] test tsp::two_opt::tests::test_swap_2opt_single_middle_elem_does_nothing ... ok [INFO] [stdout] test tsp::two_opt::tests::test_swap_2opt_2middle_elems_in_even_size_list ... ok [INFO] [stdout] test tsp::distance_matrix::tests::test_nearest_for_tsp_5_1 ... ok [INFO] [stdout] test tsp::tsplib::tests::test_is_state_marker_with_metadata ... ok [INFO] [stdout] test tsp::tsplib::tests::test_process_lines_happy_case ... ok [INFO] [stdout] test tsp::tsplib::tests::test_is_state_marker_with_empty_string ... ok [INFO] [stdout] test tsp::tsplib::tests::test_next_state_with_beginning_of_coord_section ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 52 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.05s [INFO] [stdout] [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/bin-39a72d3867c8c019) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running tests/test_kdtree_and_distance_matrix.rs (/opt/rustwide/target/debug/deps/test_kdtree_and_distance_matrix-bb7b3092ac057dab) [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test test_kdtree_vs_distance_matrix ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests teeline [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "0464a153f4036c9587a37df14bb34ebbccacb81760191302077bf0caeeb4229f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0464a153f4036c9587a37df14bb34ebbccacb81760191302077bf0caeeb4229f", kill_on_drop: false }` [INFO] [stdout] 0464a153f4036c9587a37df14bb34ebbccacb81760191302077bf0caeeb4229f