[INFO] cloning repository https://github.com/leoleoasd/tsp_sa_rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/leoleoasd/tsp_sa_rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fleoleoasd%2Ftsp_sa_rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fleoleoasd%2Ftsp_sa_rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 851acba33b1d85fa67b176247c282d7a4f83620f [INFO] checking leoleoasd/tsp_sa_rust against master#9f432d7b44d5c4ac0ce76fed8315ffac8dcab8f9 for pr-124108 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fleoleoasd%2Ftsp_sa_rust" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/leoleoasd/tsp_sa_rust on toolchain 9f432d7b44d5c4ac0ce76fed8315ffac8dcab8f9 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9f432d7b44d5c4ac0ce76fed8315ffac8dcab8f9" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/leoleoasd/tsp_sa_rust [INFO] finished tweaking git repo https://github.com/leoleoasd/tsp_sa_rust [INFO] tweaked toml for git repo https://github.com/leoleoasd/tsp_sa_rust written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/leoleoasd/tsp_sa_rust 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" "+9f432d7b44d5c4ac0ce76fed8315ffac8dcab8f9" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [ERROR] error running command: no output for 300 seconds [ERROR] this task or one of its parent failed! [ERROR] no output for 300 seconds [ERROR] note: run with `RUST_BACKTRACE=1` to display a backtrace. [INFO] checking leoleoasd/tsp_sa_rust against try#2e5b7739e5167b731ad5eb628f04a54f932f1fe2 for pr-124108 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fleoleoasd%2Ftsp_sa_rust" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/leoleoasd/tsp_sa_rust on toolchain 2e5b7739e5167b731ad5eb628f04a54f932f1fe2 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2e5b7739e5167b731ad5eb628f04a54f932f1fe2" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/leoleoasd/tsp_sa_rust [INFO] finished tweaking git repo https://github.com/leoleoasd/tsp_sa_rust [INFO] tweaked toml for git repo https://github.com/leoleoasd/tsp_sa_rust written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/leoleoasd/tsp_sa_rust 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" "+2e5b7739e5167b731ad5eb628f04a54f932f1fe2" "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 text_io v0.1.9 [INFO] [stderr] Downloaded subprocess v0.2.8 [INFO] [stderr] Downloaded permutation_iterator v0.1.2 [INFO] [stderr] Downloaded imageproc v0.22.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:99613afd962a8cfa530ec1899472a458bd015a1ab0af876cf7eb06f6006d81ea" "/opt/rustwide/cargo-home/bin/cargo" "+2e5b7739e5167b731ad5eb628f04a54f932f1fe2" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8b183dbce26d2f3a08496ee41562b13031dc27c520da73a485cdfd7d3b54f108 [INFO] running `Command { std: "docker" "start" "-a" "8b183dbce26d2f3a08496ee41562b13031dc27c520da73a485cdfd7d3b54f108", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8b183dbce26d2f3a08496ee41562b13031dc27c520da73a485cdfd7d3b54f108", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8b183dbce26d2f3a08496ee41562b13031dc27c520da73a485cdfd7d3b54f108", kill_on_drop: false }` [INFO] [stdout] 8b183dbce26d2f3a08496ee41562b13031dc27c520da73a485cdfd7d3b54f108 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:99613afd962a8cfa530ec1899472a458bd015a1ab0af876cf7eb06f6006d81ea" "/opt/rustwide/cargo-home/bin/cargo" "+2e5b7739e5167b731ad5eb628f04a54f932f1fe2" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 94fafcf9ec3a445af702405ae325a719e57fc7f85e2b256c889064c1d139c9fd [INFO] running `Command { std: "docker" "start" "-a" "94fafcf9ec3a445af702405ae325a719e57fc7f85e2b256c889064c1d139c9fd", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling libc v0.2.107 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling crossbeam-utils v0.8.5 [INFO] [stderr] Compiling crossbeam-epoch v0.9.5 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling rayon-core v1.9.1 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Checking either v1.6.1 [INFO] [stderr] Checking ppv-lite86 v0.2.15 [INFO] [stderr] Compiling crc32fast v1.2.1 [INFO] [stderr] Checking adler32 v1.2.0 [INFO] [stderr] Compiling matrixmultiply v0.1.15 [INFO] [stderr] Compiling arrayvec v0.4.12 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling memoffset v0.6.4 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling num-iter v0.1.42 [INFO] [stderr] Compiling num-bigint v0.3.3 [INFO] [stderr] Checking crossbeam-channel v0.5.1 [INFO] [stderr] Compiling rayon v1.5.1 [INFO] [stderr] Compiling num-rational v0.3.2 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Checking weezl v0.1.5 [INFO] [stderr] Checking adler v1.0.2 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking getrandom v0.2.3 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking crossbeam-deque v0.8.1 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking deflate v0.8.6 [INFO] [stderr] Checking miniz_oxide v0.3.7 [INFO] [stderr] Compiling indexmap v1.7.0 [INFO] [stderr] Checking color_quant v1.1.0 [INFO] [stderr] Checking ttf-parser v0.6.2 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking nodrop v0.1.14 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Checking rawpointer v0.1.0 [INFO] [stderr] Checking num v0.1.42 [INFO] [stderr] Checking gif v0.11.3 [INFO] [stderr] Checking png v0.16.8 [INFO] [stderr] Checking num-complex v0.3.1 [INFO] [stderr] Checking rand_core v0.6.3 [INFO] [stderr] Checking terminal_size v0.1.17 [INFO] [stderr] Checking regex-syntax v0.6.25 [INFO] [stderr] Checking constant_time_eq v0.1.5 [INFO] [stderr] Checking ab_glyph_rasterizer v0.1.5 [INFO] [stderr] Checking bytemuck v1.7.2 [INFO] [stderr] Checking custom_derive v0.1.7 [INFO] [stderr] Checking owned_ttf_parser v0.6.0 [INFO] [stderr] Checking hashbrown v0.11.2 [INFO] [stderr] Checking once_cell v1.8.0 [INFO] [stderr] Checking scoped_threadpool v0.1.9 [INFO] [stderr] Checking rusttype v0.9.2 [INFO] [stderr] Checking rand_distr v0.2.2 [INFO] [stderr] Checking conv v0.3.3 [INFO] [stderr] Checking console v0.15.0 [INFO] [stderr] Checking blake2-rfc v0.2.18 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rulinalg v0.4.2 [INFO] [stderr] Checking itertools v0.9.0 [INFO] [stderr] Checking number_prefix v0.4.0 [INFO] [stderr] Checking fixedbitset v0.4.0 [INFO] [stderr] Checking rand v0.8.4 [INFO] [stderr] Checking permutation_iterator v0.1.2 [INFO] [stderr] Checking petgraph v0.6.0 [INFO] [stderr] Checking subprocess v0.2.8 [INFO] [stderr] Checking num v0.3.1 [INFO] [stderr] Checking itertools v0.10.1 [INFO] [stderr] Checking regex v1.5.4 [INFO] [stderr] Checking itermore v0.1.0 [INFO] [stderr] Checking text_io v0.1.9 [INFO] [stderr] Checking jpeg-decoder v0.1.22 [INFO] [stderr] Checking tiff v0.6.1 [INFO] [stderr] Checking indicatif v0.16.2 [INFO] [stderr] Checking image v0.23.14 [INFO] [stderr] Checking imageproc v0.22.0 [INFO] [stderr] Checking tsp_sa v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `fixedbitset::FixedBitSet` [INFO] [stdout] --> src/bin/sa.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use fixedbitset::FixedBitSet; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `image::error::ImageFormatHint::Name` [INFO] [stdout] --> src/bin/sa.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use image::error::ImageFormatHint::Name; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `itermore::IterMore` [INFO] [stdout] --> src/bin/sa.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use itermore::IterMore; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::cmp::max` [INFO] [stdout] --> src/bin/sa.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use std::cmp::max; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::mem::swap` [INFO] [stdout] --> src/bin/sa.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use std::mem::swap; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `text_io::read` [INFO] [stdout] --> src/bin/sa.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use text_io::read; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/bin/sa.rs:45:17 [INFO] [stdout] | [INFO] [stdout] 45 | let mut i = (TemperatureIterator { [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 49 | }); [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 45 ~ let mut i = TemperatureIterator { [INFO] [stdout] 46 | start: 500f64, [INFO] [stdout] 47 | end: 1e-5, [INFO] [stdout] 48 | q: 1.0 - 1e-4, [INFO] [stdout] 49 ~ }; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `petgraph::graph::Node` [INFO] [stdout] --> src/bin/ga.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use petgraph::graph::Node; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/bin/sa.rs:45:9 [INFO] [stdout] | [INFO] [stdout] 45 | let mut i = (TemperatureIterator { [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/bin/sa.rs:57:20 [INFO] [stdout] | [INFO] [stdout] 57 | while let Some(mut t) = i.next() { [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `output_sa` is never read [INFO] [stdout] --> src/bin/compare.rs:37:25 [INFO] [stdout] | [INFO] [stdout] 37 | let mut output_sa = String::new(); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `output_dp` is never read [INFO] [stdout] --> src/bin/compare.rs:47:25 [INFO] [stdout] | [INFO] [stdout] 47 | let mut output_dp = String::new(); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `output_sa` is never read [INFO] [stdout] --> src/bin/compare.rs:37:25 [INFO] [stdout] | [INFO] [stdout] 37 | let mut output_sa = String::new(); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `output_dp` is never read [INFO] [stdout] --> src/bin/compare.rs:47:25 [INFO] [stdout] | [INFO] [stdout] 47 | let mut output_dp = String::new(); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `petgraph::graph::Node` [INFO] [stdout] --> src/bin/ga.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use petgraph::graph::Node; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/bin/compare.rs:86:9 [INFO] [stdout] | [INFO] [stdout] 86 | thread.join(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 86 | let _ = thread.join(); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/bin/compare.rs:86:9 [INFO] [stdout] | [INFO] [stdout] 86 | thread.join(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 86 | let _ = thread.join(); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/bin/ga.rs:57:26 [INFO] [stdout] | [INFO] [stdout] 57 | solutions.append(&mut mixed_solutions); [INFO] [stdout] | ------ ^^^^^^^^^^^^^^^^^^^^ expected `&mut Vec>>>`, found `&mut Vec>>` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected mutable reference `&mut Vec>>` [INFO] [stdout] found mutable reference `&mut Vec>` [INFO] [stdout] note: method defined here [INFO] [stdout] --> /rustc/2e5b7739e5167b731ad5eb628f04a54f932f1fe2/library/alloc/src/vec/mod.rs:2131:12 [INFO] [stdout] note: you might have meant to use method `push` [INFO] [stdout] --> /rustc/2e5b7739e5167b731ad5eb628f04a54f932f1fe2/library/alloc/src/vec/mod.rs:1993:5 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `fixedbitset::FixedBitSet` [INFO] [stdout] --> src/bin/sa.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use fixedbitset::FixedBitSet; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `image::error::ImageFormatHint::Name` [INFO] [stdout] --> src/bin/sa.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use image::error::ImageFormatHint::Name; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `itermore::IterMore` [INFO] [stdout] --> src/bin/sa.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use itermore::IterMore; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::cmp::max` [INFO] [stdout] --> src/bin/sa.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use std::cmp::max; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::mem::swap` [INFO] [stdout] --> src/bin/sa.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use std::mem::swap; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `text_io::read` [INFO] [stdout] --> src/bin/sa.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use text_io::read; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/bin/sa.rs:45:17 [INFO] [stdout] | [INFO] [stdout] 45 | let mut i = (TemperatureIterator { [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 49 | }); [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 45 ~ let mut i = TemperatureIterator { [INFO] [stdout] 46 | start: 500f64, [INFO] [stdout] 47 | end: 1e-5, [INFO] [stdout] 48 | q: 1.0 - 1e-4, [INFO] [stdout] 49 ~ }; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rng` [INFO] [stdout] --> src/bin/ga.rs:15:13 [INFO] [stdout] | [INFO] [stdout] 15 | let mut rng = rand::thread_rng(); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_rng` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/bin/ga.rs:57:26 [INFO] [stdout] | [INFO] [stdout] 57 | solutions.append(&mut mixed_solutions); [INFO] [stdout] | ------ ^^^^^^^^^^^^^^^^^^^^ expected `&mut Vec>>>`, found `&mut Vec>>` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected mutable reference `&mut Vec>>` [INFO] [stdout] found mutable reference `&mut Vec>` [INFO] [stdout] note: method defined here [INFO] [stdout] --> /rustc/2e5b7739e5167b731ad5eb628f04a54f932f1fe2/library/alloc/src/vec/mod.rs:2131:12 [INFO] [stdout] note: you might have meant to use method `push` [INFO] [stdout] --> /rustc/2e5b7739e5167b731ad5eb628f04a54f932f1fe2/library/alloc/src/vec/mod.rs:1993:5 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/bin/ga.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 15 | let mut rng = rand::thread_rng(); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/bin/sa.rs:45:9 [INFO] [stdout] | [INFO] [stdout] 45 | let mut i = (TemperatureIterator { [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/bin/sa.rs:57:20 [INFO] [stdout] | [INFO] [stdout] 57 | while let Some(mut t) = i.next() { [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error; 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `tsp_sa` (bin "genetic-algorithm") due to 2 previous errors; 3 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: unused variable: `rng` [INFO] [stdout] --> src/bin/ga.rs:15:13 [INFO] [stdout] | [INFO] [stdout] 15 | let mut rng = rand::thread_rng(); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_rng` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/bin/ga.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 15 | let mut rng = rand::thread_rng(); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error; 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `tsp_sa` (bin "genetic-algorithm" test) due to 2 previous errors; 3 warnings emitted [INFO] running `Command { std: "docker" "inspect" "94fafcf9ec3a445af702405ae325a719e57fc7f85e2b256c889064c1d139c9fd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "94fafcf9ec3a445af702405ae325a719e57fc7f85e2b256c889064c1d139c9fd", kill_on_drop: false }` [INFO] [stdout] 94fafcf9ec3a445af702405ae325a719e57fc7f85e2b256c889064c1d139c9fd