[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] testing leoleoasd/tsp_sa_rust against master#d98a5da813da67eb189387b8ccfb73cf481275d8+rustflags=-Copt-level=3 for pr-138759-retry [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] 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] validating manifest of git repo https://github.com/leoleoasd/tsp_sa_rust on toolchain d98a5da813da67eb189387b8ccfb73cf481275d8 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d98a5da813da67eb189387b8ccfb73cf481275d8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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" "+d98a5da813da67eb189387b8ccfb73cf481275d8" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded crossbeam-deque v0.8.1 [INFO] [stderr] Downloaded text_io v0.1.9 [INFO] [stderr] Downloaded subprocess v0.2.8 [INFO] [stderr] Downloaded rawpointer v0.1.0 [INFO] [stderr] Downloaded rayon-core v1.9.1 [INFO] [stderr] Downloaded memoffset v0.6.4 [INFO] [stderr] Downloaded num v0.1.42 [INFO] [stderr] Downloaded owned_ttf_parser v0.6.0 [INFO] [stderr] Downloaded matrixmultiply v0.1.15 [INFO] [stderr] Downloaded terminal_size v0.1.17 [INFO] [stderr] Downloaded bytemuck v1.7.2 [INFO] [stderr] Downloaded crc32fast v1.2.1 [INFO] [stderr] Downloaded indicatif v0.16.2 [INFO] [stderr] Downloaded ttf-parser v0.6.2 [INFO] [stderr] Downloaded rulinalg v0.4.2 [INFO] [stderr] Downloaded itertools v0.10.1 [INFO] [stderr] Downloaded crossbeam-channel v0.5.1 [INFO] [stderr] Downloaded petgraph v0.6.0 [INFO] [stderr] Downloaded rayon v1.5.1 [INFO] [stderr] Downloaded crossbeam-epoch v0.9.5 [INFO] [stderr] Downloaded gif v0.11.3 [INFO] [stderr] Downloaded weezl v0.1.5 [INFO] [stderr] Downloaded rusttype v0.9.2 [INFO] [stderr] Downloaded arrayvec v0.4.12 [INFO] [stderr] Downloaded blake2-rfc v0.2.18 [INFO] [stderr] Downloaded fixedbitset v0.4.0 [INFO] [stderr] Downloaded crossbeam-utils v0.8.5 [INFO] [stderr] Downloaded num-iter v0.1.42 [INFO] [stderr] Downloaded console v0.15.0 [INFO] [stderr] Downloaded itermore v0.1.0 [INFO] [stderr] Downloaded permutation_iterator v0.1.2 [INFO] [stderr] Downloaded nodrop v0.1.14 [INFO] [stderr] Downloaded libc v0.2.107 [INFO] [stderr] Downloaded imageproc v0.22.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+d98a5da813da67eb189387b8ccfb73cf481275d8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f521a90df69b40da60360a57ab5976840f9f683fd45938f554adc2e5e485fbd5 [INFO] running `Command { std: "docker" "start" "-a" "f521a90df69b40da60360a57ab5976840f9f683fd45938f554adc2e5e485fbd5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f521a90df69b40da60360a57ab5976840f9f683fd45938f554adc2e5e485fbd5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f521a90df69b40da60360a57ab5976840f9f683fd45938f554adc2e5e485fbd5", kill_on_drop: false }` [INFO] [stdout] f521a90df69b40da60360a57ab5976840f9f683fd45938f554adc2e5e485fbd5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid -Copt-level=3" "-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+d98a5da813da67eb189387b8ccfb73cf481275d8" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 19d8b4dc10393c82820b2804c05cead96d21aa16ec60650d1a035eb10a798c0c [INFO] running `Command { std: "docker" "start" "-a" "19d8b4dc10393c82820b2804c05cead96d21aa16ec60650d1a035eb10a798c0c", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling libc v0.2.107 [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] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling ppv-lite86 v0.2.15 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling crc32fast v1.2.1 [INFO] [stderr] Compiling adler32 v1.2.0 [INFO] [stderr] Compiling weezl v0.1.5 [INFO] [stderr] Compiling matrixmultiply v0.1.15 [INFO] [stderr] Compiling arrayvec v0.4.12 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling ttf-parser v0.6.2 [INFO] [stderr] Compiling miniz_oxide v0.3.7 [INFO] [stderr] Compiling nodrop v0.1.14 [INFO] [stderr] Compiling rawpointer v0.1.0 [INFO] [stderr] Compiling color_quant v1.1.0 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Compiling deflate v0.8.6 [INFO] [stderr] Compiling once_cell v1.8.0 [INFO] [stderr] Compiling bytemuck v1.7.2 [INFO] [stderr] Compiling ab_glyph_rasterizer v0.1.5 [INFO] [stderr] Compiling crossbeam-channel v0.5.1 [INFO] [stderr] Compiling gif v0.11.3 [INFO] [stderr] Compiling custom_derive v0.1.7 [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stderr] Compiling png v0.16.8 [INFO] [stderr] Compiling constant_time_eq v0.1.5 [INFO] [stderr] Compiling scoped_threadpool v0.1.9 [INFO] [stderr] Compiling conv v0.3.3 [INFO] [stderr] Compiling blake2-rfc v0.2.18 [INFO] [stderr] Compiling itertools v0.9.0 [INFO] [stderr] Compiling fixedbitset v0.4.0 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling memoffset v0.6.4 [INFO] [stderr] Compiling num-iter v0.1.42 [INFO] [stderr] Compiling rayon v1.5.1 [INFO] [stderr] Compiling num-bigint v0.3.3 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Compiling num-rational v0.3.2 [INFO] [stderr] Compiling indexmap v1.7.0 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling getrandom v0.2.3 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling owned_ttf_parser v0.6.0 [INFO] [stderr] Compiling terminal_size v0.1.17 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling console v0.15.0 [INFO] [stderr] Compiling crossbeam-deque v0.8.1 [INFO] [stderr] Compiling num-complex v0.3.1 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rusttype v0.9.2 [INFO] [stderr] Compiling regex v1.5.4 [INFO] [stderr] Compiling num v0.1.42 [INFO] [stderr] Compiling rulinalg v0.4.2 [INFO] [stderr] Compiling rand_distr v0.2.2 [INFO] [stderr] Compiling permutation_iterator v0.1.2 [INFO] [stderr] Compiling rand v0.8.4 [INFO] [stderr] Compiling subprocess v0.2.8 [INFO] [stderr] Compiling itertools v0.10.1 [INFO] [stderr] Compiling text_io v0.1.9 [INFO] [stderr] Compiling itermore v0.1.0 [INFO] [stderr] Compiling petgraph v0.6.0 [INFO] [stderr] Compiling indicatif v0.16.2 [INFO] [stderr] Compiling num v0.3.1 [INFO] [stderr] Compiling jpeg-decoder v0.1.22 [INFO] [stderr] Compiling tiff v0.6.1 [INFO] [stderr] Compiling image v0.23.14 [INFO] [stderr] Compiling imageproc v0.22.0 [INFO] [stderr] Compiling tsp_sa v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/map.rs:243:30 [INFO] [stdout] | [INFO] [stdout] 243 | pub fn change_solution(path: &Vec) -> ChangeSolutionOperator { [INFO] [stdout] | ^^^^^^^^^^^^^^^ ---------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 243 | pub fn change_solution(path: &Vec) -> ChangeSolutionOperator<'_> { [INFO] [stdout] | ++++ [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: the feature `trait_upcasting` has been stable since 1.86.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/bin/sa.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(trait_upcasting)] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [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: 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: 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: 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] 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/d98a5da813da67eb189387b8ccfb73cf481275d8/library/alloc/src/vec/mod.rs:2611:12 [INFO] [stdout] note: you might have meant to use method `push` [INFO] [stdout] --> /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/alloc/src/vec/mod.rs:2474:5 [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] 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] 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 1 previous error; 3 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "19d8b4dc10393c82820b2804c05cead96d21aa16ec60650d1a035eb10a798c0c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "19d8b4dc10393c82820b2804c05cead96d21aa16ec60650d1a035eb10a798c0c", kill_on_drop: false }` [INFO] [stdout] 19d8b4dc10393c82820b2804c05cead96d21aa16ec60650d1a035eb10a798c0c