[INFO] cloning repository https://github.com/Zokol/overlapping-rust
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Zokol/overlapping-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FZokol%2Foverlapping-rust", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FZokol%2Foverlapping-rust'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] d9341d4ca0dccf343dc3fbb2fffbd63a090e4e97
[INFO] checking Zokol/overlapping-rust against master#bca37a20bd376ce3fd138e7cdee7fe704e0f8814 for pr-139493-3
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FZokol%2Foverlapping-rust" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/Zokol/overlapping-rust
[INFO] finished tweaking git repo https://github.com/Zokol/overlapping-rust
[INFO] tweaked toml for git repo https://github.com/Zokol/overlapping-rust written to /workspace/builds/worker-4-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/Zokol/overlapping-rust on toolchain bca37a20bd376ce3fd138e7cdee7fe704e0f8814
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+bca37a20bd376ce3fd138e7cdee7fe704e0f8814" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/Zokol/overlapping-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" "+bca37a20bd376ce3fd138e7cdee7fe704e0f8814" "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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+bca37a20bd376ce3fd138e7cdee7fe704e0f8814" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 9bbfed45c3487b339194861c0794e8b6e13d103535cdcd3860c5e5a605637841
[INFO] running `Command { std: "docker" "start" "-a" "9bbfed45c3487b339194861c0794e8b6e13d103535cdcd3860c5e5a605637841", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "9bbfed45c3487b339194861c0794e8b6e13d103535cdcd3860c5e5a605637841", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "9bbfed45c3487b339194861c0794e8b6e13d103535cdcd3860c5e5a605637841", kill_on_drop: false }`
[INFO] [stdout] 9bbfed45c3487b339194861c0794e8b6e13d103535cdcd3860c5e5a605637841
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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" "-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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+bca37a20bd376ce3fd138e7cdee7fe704e0f8814" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] f94fa57f5c53d5a18a3b0bab9a312923b60dbac3654f1e941a3849328f3da65b
[INFO] running `Command { std: "docker" "start" "-a" "f94fa57f5c53d5a18a3b0bab9a312923b60dbac3654f1e941a3849328f3da65b", kill_on_drop: false }`
[INFO] [stderr]    Compiling rustix v0.38.9
[INFO] [stderr]     Checking linux-raw-sys v0.4.5
[INFO] [stderr]     Checking bitflags v2.4.0
[INFO] [stderr]     Checking is-terminal v0.4.9
[INFO] [stderr]     Checking colored v2.0.4
[INFO] [stderr]     Checking overlapping-rust v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]   --> src/main.rs:95:15
[INFO] [stdout]    |
[INFO] [stdout] 95 |             if(permutation.2.len() == 0) {
[INFO] [stdout]    |               ^                        ^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 95 -             if(permutation.2.len() == 0) {
[INFO] [stdout] 95 +             if permutation.2.len() == 0 {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]    --> src/main.rs:100:15
[INFO] [stdout]     |
[INFO] [stdout] 100 |             if(permutation.0.eq(next_word) && !used_words.contains(&permutation.1)) {
[INFO] [stdout]     |               ^                                                                   ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 100 -             if(permutation.0.eq(next_word) && !used_words.contains(&permutation.1)) {
[INFO] [stdout] 100 +             if permutation.0.eq(next_word) && !used_words.contains(&permutation.1) {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]    --> src/main.rs:112:11
[INFO] [stdout]     |
[INFO] [stdout] 112 |         if(cannot_find_next_word) {
[INFO] [stdout]     |           ^                     ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 112 -         if(cannot_find_next_word) {
[INFO] [stdout] 112 +         if cannot_find_next_word {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]    --> src/main.rs:116:7
[INFO] [stdout]     |
[INFO] [stdout] 116 |     if(!cannot_find_next_word) {
[INFO] [stdout]     |       ^                      ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 116 -     if(!cannot_find_next_word) {
[INFO] [stdout] 116 +     if !cannot_find_next_word {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `ops::RangeBounds`
[INFO] [stdout]   --> src/main.rs:12:44
[INFO] [stdout]    |
[INFO] [stdout] 12 | use std::{collections::{HashMap, HashSet}, ops::RangeBounds};
[INFO] [stdout]    |                                            ^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `print_overlap` is never used
[INFO] [stdout]    --> src/main.rs:161:4
[INFO] [stdout]     |
[INFO] [stdout] 161 | fn print_overlap(word1: &str, word2: &str, overlap_range: Range<usize>) {
[INFO] [stdout]     |    ^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]   --> src/main.rs:95:15
[INFO] [stdout]    |
[INFO] [stdout] 95 |             if(permutation.2.len() == 0) {
[INFO] [stdout]    |               ^                        ^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 95 -             if(permutation.2.len() == 0) {
[INFO] [stdout] 95 +             if permutation.2.len() == 0 {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]    --> src/main.rs:100:15
[INFO] [stdout]     |
[INFO] [stdout] 100 |             if(permutation.0.eq(next_word) && !used_words.contains(&permutation.1)) {
[INFO] [stdout]     |               ^                                                                   ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 100 -             if(permutation.0.eq(next_word) && !used_words.contains(&permutation.1)) {
[INFO] [stdout] 100 +             if permutation.0.eq(next_word) && !used_words.contains(&permutation.1) {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]    --> src/main.rs:112:11
[INFO] [stdout]     |
[INFO] [stdout] 112 |         if(cannot_find_next_word) {
[INFO] [stdout]     |           ^                     ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 112 -         if(cannot_find_next_word) {
[INFO] [stdout] 112 +         if cannot_find_next_word {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]    --> src/main.rs:116:7
[INFO] [stdout]     |
[INFO] [stdout] 116 |     if(!cannot_find_next_word) {
[INFO] [stdout]     |       ^                      ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 116 -     if(!cannot_find_next_word) {
[INFO] [stdout] 116 +     if !cannot_find_next_word {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing
[INFO] [stdout]   --> src/main.rs:80:53
[INFO] [stdout]    |
[INFO] [stdout] 80 |     let mut next_word = best_starting_word.0.clone().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]    = 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/main.rs:80:45
[INFO] [stdout]    |
[INFO] [stdout] 80 |     let mut next_word = best_starting_word.0.clone().clone();
[INFO] [stdout]    |                                             ^^^^^^^^ help: remove this redundant call
[INFO] [stdout]    |
[INFO] [stdout]    = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing
[INFO] [stdout]    --> src/main.rs:126:55
[INFO] [stdout]     |
[INFO] [stdout] 126 | fn score_overlaps<'a>(word_list: &'a Vec<&'a str>) -> Permutations {
[INFO] [stdout]     |                                   --      --          ^^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]     |                                   |       |
[INFO] [stdout]     |                                   |       the lifetime is named here
[INFO] [stdout]     |                                   the lifetime is named 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: consistently use `'a`
[INFO] [stdout]     |
[INFO] [stdout] 126 | fn score_overlaps<'a>(word_list: &'a Vec<&'a str>) -> Permutations<'a> {
[INFO] [stdout]     |                                                                   ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `ops::RangeBounds`
[INFO] [stdout]   --> src/main.rs:12:44
[INFO] [stdout]    |
[INFO] [stdout] 12 | use std::{collections::{HashMap, HashSet}, ops::RangeBounds};
[INFO] [stdout]    |                                            ^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `print_compressed` is never used
[INFO] [stdout]   --> src/main.rs:23:4
[INFO] [stdout]    |
[INFO] [stdout] 23 | fn print_compressed(permutations: &Permutations) -> String {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `print_overlap` is never used
[INFO] [stdout]    --> src/main.rs:161:4
[INFO] [stdout]     |
[INFO] [stdout] 161 | fn print_overlap(word1: &str, word2: &str, overlap_range: Range<usize>) {
[INFO] [stdout]     |    ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing
[INFO] [stdout]   --> src/main.rs:80:53
[INFO] [stdout]    |
[INFO] [stdout] 80 |     let mut next_word = best_starting_word.0.clone().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]    = 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/main.rs:80:45
[INFO] [stdout]    |
[INFO] [stdout] 80 |     let mut next_word = best_starting_word.0.clone().clone();
[INFO] [stdout]    |                                             ^^^^^^^^ help: remove this redundant call
[INFO] [stdout]    |
[INFO] [stdout]    = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing
[INFO] [stdout]    --> src/main.rs:126:55
[INFO] [stdout]     |
[INFO] [stdout] 126 | fn score_overlaps<'a>(word_list: &'a Vec<&'a str>) -> Permutations {
[INFO] [stdout]     |                                   --      --          ^^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]     |                                   |       |
[INFO] [stdout]     |                                   |       the lifetime is named here
[INFO] [stdout]     |                                   the lifetime is named 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: consistently use `'a`
[INFO] [stdout]     |
[INFO] [stdout] 126 | fn score_overlaps<'a>(word_list: &'a Vec<&'a str>) -> Permutations<'a> {
[INFO] [stdout]     |                                                                   ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 1.73s
[INFO] running `Command { std: "docker" "inspect" "f94fa57f5c53d5a18a3b0bab9a312923b60dbac3654f1e941a3849328f3da65b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "f94fa57f5c53d5a18a3b0bab9a312923b60dbac3654f1e941a3849328f3da65b", kill_on_drop: false }`
[INFO] [stdout] f94fa57f5c53d5a18a3b0bab9a312923b60dbac3654f1e941a3849328f3da65b
