[INFO] cloning repository https://github.com/luiz734/genetic-algorithm
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/luiz734/genetic-algorithm" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fluiz734%2Fgenetic-algorithm", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fluiz734%2Fgenetic-algorithm'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] b4a5a790c9e63299bd1f088f780b5bc52515da2f
[INFO] checking luiz734/genetic-algorithm against try#4f260f0f20b3133d20cfb50353c0221943af5796+rustflags=-Dunmustuse_in_always_ok for pr-148577
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fluiz734%2Fgenetic-algorithm" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/luiz734/genetic-algorithm
[INFO] finished tweaking git repo https://github.com/luiz734/genetic-algorithm
[INFO] tweaked toml for git repo https://github.com/luiz734/genetic-algorithm written to /workspace/builds/worker-4-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/luiz734/genetic-algorithm on toolchain 4f260f0f20b3133d20cfb50353c0221943af5796
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/luiz734/genetic-algorithm 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" "+4f260f0f20b3133d20cfb50353c0221943af5796" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 9d3ee23dbc0d5f71c8b152d57bc7c1faff6e43c88c4af2d7d67142525da2b3b2
[INFO] running `Command { std: "docker" "start" "-a" "9d3ee23dbc0d5f71c8b152d57bc7c1faff6e43c88c4af2d7d67142525da2b3b2", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "9d3ee23dbc0d5f71c8b152d57bc7c1faff6e43c88c4af2d7d67142525da2b3b2", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "9d3ee23dbc0d5f71c8b152d57bc7c1faff6e43c88c4af2d7d67142525da2b3b2", kill_on_drop: false }`
[INFO] [stdout] 9d3ee23dbc0d5f71c8b152d57bc7c1faff6e43c88c4af2d7d67142525da2b3b2
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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 -Dunmustuse_in_always_ok" "-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 82358edf342b97350f2162bc6db8e9e138ce9b5cf202cacdd1c5666c4389d542
[INFO] running `Command { std: "docker" "start" "-a" "82358edf342b97350f2162bc6db8e9e138ce9b5cf202cacdd1c5666c4389d542", kill_on_drop: false }`
[INFO] [stderr]    Compiling sfml-build v0.4.0
[INFO] [stderr]    Compiling num-traits v0.2.14
[INFO] [stderr]    Compiling libc v0.2.122
[INFO] [stderr]    Compiling proc-macro2 v1.0.37
[INFO] [stderr]    Compiling unicode-xid v0.2.2
[INFO] [stderr]    Compiling num-integer v0.1.44
[INFO] [stderr]    Compiling syn v1.0.91
[INFO] [stderr]    Compiling proc-macro-error-attr v1.0.4
[INFO] [stderr]    Compiling csfml-system-sys v0.6.0
[INFO] [stderr]    Compiling csfml-window-sys v0.6.0
[INFO] [stderr]    Compiling proc-macro-error v1.0.4
[INFO] [stderr]    Compiling num-bigint v0.4.3
[INFO] [stderr]    Compiling csfml-graphics-sys v0.6.0
[INFO] [stderr]    Compiling csfml-audio-sys v0.6.0
[INFO] [stderr]    Compiling num-iter v0.1.42
[INFO] [stderr]    Compiling num-rational v0.4.0
[INFO] [stderr]    Compiling indexmap v1.8.1
[INFO] [stderr]     Checking os_str_bytes v6.0.0
[INFO] [stderr]     Checking hashbrown v0.11.2
[INFO] [stderr]    Compiling quote v1.0.18
[INFO] [stderr]     Checking ppv-lite86 v0.2.16
[INFO] [stderr]     Checking getrandom v0.2.6
[INFO] [stderr]    Compiling heck v0.4.0
[INFO] [stderr]     Checking clap_lex v0.1.1
[INFO] [stderr]     Checking rand_core v0.6.3
[INFO] [stderr]     Checking atty v0.2.14
[INFO] [stderr]     Checking textwrap v0.15.0
[INFO] [stderr]     Checking num-complex v0.4.0
[INFO] [stderr]     Checking strsim v0.10.0
[INFO] [stderr]     Checking widestring v0.4.3
[INFO] [stderr]     Checking rand_chacha v0.3.1
[INFO] [stderr]     Checking once_cell v1.10.0
[INFO] [stderr]     Checking termcolor v1.1.3
[INFO] [stderr]     Checking sfml v0.16.0
[INFO] [stderr]     Checking rand v0.8.5
[INFO] [stderr]     Checking num v0.4.0
[INFO] [stderr]    Compiling clap_derive v3.1.7
[INFO] [stderr]     Checking clap v3.1.10
[INFO] [stderr]     Checking genetic-algorithm v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: fields `current_gen` and `fitness` are never read
[INFO] [stdout]   --> src/genetic_algorithm.rs:10:11
[INFO] [stdout]    |
[INFO] [stdout]  9 |    pub struct Data {
[INFO] [stdout]    |               ---- fields in this struct
[INFO] [stdout] 10 |       pub current_gen: usize,
[INFO] [stdout]    |           ^^^^^^^^^^^
[INFO] [stdout] 11 |       pub order: Vec<usize>,
[INFO] [stdout] 12 |       pub fitness: f32,
[INFO] [stdout]    |           ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Data` has a derived impl for the trait `Debug`, but this is 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] error: this type will no longer be must used: Result<std::string::String, Infallible>
[INFO] [stdout]   --> src/main.rs:25:5
[INFO] [stdout]    |
[INFO] [stdout] 25 | /     /// file with cities separeted by spaces or newlines (xx.xx yy.xx)
[INFO] [stdout] 26 | |     #[clap(short, long)]
[INFO] [stdout] 27 | |     input_file: Option<String>,
[INFO] [stdout]    | |______________________________^
[INFO] [stdout]    |
[INFO] [stdout]    = note: requested on the command line with `-D unmustuse-in-always-ok`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> src/canvas.rs:13:48
[INFO] [stdout]    |
[INFO] [stdout] 13 |     pub fn new(width: u32, height: u32, title: &str, scale_x: f32, scale_y: f32) -> Canvas {
[INFO] [stdout]    |                                                ^^^^ the lifetime is elided here     ^^^^^^ the same lifetime is hidden here
[INFO] [stdout]    |
[INFO] [stdout]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout]    = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]    |
[INFO] [stdout] 13 |     pub fn new(width: u32, height: u32, title: &str, scale_x: f32, scale_y: f32) -> Canvas<'_> {
[INFO] [stdout]    |                                                                                           ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `genetic-algorithm` (bin "genetic-algorithm") due to 1 previous error; 2 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] warning: fields `current_gen` and `fitness` are never read
[INFO] [stdout]   --> src/genetic_algorithm.rs:10:11
[INFO] [stdout]    |
[INFO] [stdout]  9 |    pub struct Data {
[INFO] [stdout]    |               ---- fields in this struct
[INFO] [stdout] 10 |       pub current_gen: usize,
[INFO] [stdout]    |           ^^^^^^^^^^^
[INFO] [stdout] 11 |       pub order: Vec<usize>,
[INFO] [stdout] 12 |       pub fitness: f32,
[INFO] [stdout]    |           ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Data` has a derived impl for the trait `Debug`, but this is 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] error: this type will no longer be must used: Result<std::string::String, Infallible>
[INFO] [stdout]   --> src/main.rs:25:5
[INFO] [stdout]    |
[INFO] [stdout] 25 | /     /// file with cities separeted by spaces or newlines (xx.xx yy.xx)
[INFO] [stdout] 26 | |     #[clap(short, long)]
[INFO] [stdout] 27 | |     input_file: Option<String>,
[INFO] [stdout]    | |______________________________^
[INFO] [stdout]    |
[INFO] [stdout]    = note: requested on the command line with `-D unmustuse-in-always-ok`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> src/canvas.rs:13:48
[INFO] [stdout]    |
[INFO] [stdout] 13 |     pub fn new(width: u32, height: u32, title: &str, scale_x: f32, scale_y: f32) -> Canvas {
[INFO] [stdout]    |                                                ^^^^ the lifetime is elided here     ^^^^^^ the same lifetime is hidden here
[INFO] [stdout]    |
[INFO] [stdout]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout]    = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]    |
[INFO] [stdout] 13 |     pub fn new(width: u32, height: u32, title: &str, scale_x: f32, scale_y: f32) -> Canvas<'_> {
[INFO] [stdout]    |                                                                                           ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `genetic-algorithm` (bin "genetic-algorithm" test) due to 1 previous error; 2 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "82358edf342b97350f2162bc6db8e9e138ce9b5cf202cacdd1c5666c4389d542", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "82358edf342b97350f2162bc6db8e9e138ce9b5cf202cacdd1c5666c4389d542", kill_on_drop: false }`
[INFO] [stdout] 82358edf342b97350f2162bc6db8e9e138ce9b5cf202cacdd1c5666c4389d542
