[INFO] cloning repository https://github.com/udayj/commr
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/udayj/commr" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fudayj%2Fcommr", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fudayj%2Fcommr'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] bc4176ac5cd97fe26c167959b7dfb8d12b0c5b01
[INFO] building udayj/commr against master#ad211ced81509462cdfe4c29ed10f97279a0acae for pr-135216-2
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fudayj%2Fcommr" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/udayj/commr on toolchain ad211ced81509462cdfe4c29ed10f97279a0acae
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ad211ced81509462cdfe4c29ed10f97279a0acae" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/udayj/commr
[INFO] finished tweaking git repo https://github.com/udayj/commr
[INFO] tweaked toml for git repo https://github.com/udayj/commr written to /workspace/builds/worker-2-tc1/source/Cargo.toml
[INFO] crate git repo https://github.com/udayj/commr 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" "+ad211ced81509462cdfe4c29ed10f97279a0acae" "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]  Downloading crates ...
[INFO] [stderr]   Downloaded getrandom v0.2.8
[INFO] [stderr]   Downloaded predicates v2.1.5
[INFO] [stderr]   Downloaded doc-comment v0.3.3
[INFO] [stderr]   Downloaded normalize-line-endings v0.3.0
[INFO] [stderr]   Downloaded predicates-core v1.0.6
[INFO] [stderr]   Downloaded termtree v0.4.1
[INFO] [stderr]   Downloaded memchr v2.5.0
[INFO] [stderr]   Downloaded anstyle v0.3.5
[INFO] [stderr]   Downloaded either v1.8.1
[INFO] [stderr]   Downloaded predicates v3.0.2
[INFO] [stderr]   Downloaded predicates-tree v1.0.9
[INFO] [stderr]   Downloaded textwrap v0.11.0
[INFO] [stderr]   Downloaded difflib v0.4.0
[INFO] [stderr]   Downloaded wait-timeout v0.2.0
[INFO] [stderr]   Downloaded assert_cmd v2.0.10
[INFO] [stderr]   Downloaded once_cell v1.17.1
[INFO] [stderr]   Downloaded strsim v0.8.0
[INFO] [stderr]   Downloaded unicode-width v0.1.10
[INFO] [stderr]   Downloaded float-cmp v0.9.0
[INFO] [stderr]   Downloaded num-traits v0.2.15
[INFO] [stderr]   Downloaded aho-corasick v0.7.20
[INFO] [stderr]   Downloaded serde v1.0.158
[INFO] [stderr]   Downloaded regex-automata v0.1.10
[INFO] [stderr]   Downloaded clap v2.34.0
[INFO] [stderr]   Downloaded regex-syntax v0.6.29
[INFO] [stderr]   Downloaded regex v1.7.3
[INFO] [stderr]   Downloaded bstr v1.4.0
[INFO] [stderr]   Downloaded libc v0.2.140
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+ad211ced81509462cdfe4c29ed10f97279a0acae" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 7880cb4348442de30179d2569376c634a393646feda8cb44a5851e8b55c8d50b
[INFO] running `Command { std: "docker" "start" "-a" "7880cb4348442de30179d2569376c634a393646feda8cb44a5851e8b55c8d50b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "7880cb4348442de30179d2569376c634a393646feda8cb44a5851e8b55c8d50b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "7880cb4348442de30179d2569376c634a393646feda8cb44a5851e8b55c8d50b", kill_on_drop: false }`
[INFO] [stdout] 7880cb4348442de30179d2569376c634a393646feda8cb44a5851e8b55c8d50b
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+ad211ced81509462cdfe4c29ed10f97279a0acae" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] e3212b3a24a002735c60e55c20fdeaaa94ee422f2ea73cb1b6e500156cf9a1d9
[INFO] running `Command { std: "docker" "start" "-a" "e3212b3a24a002735c60e55c20fdeaaa94ee422f2ea73cb1b6e500156cf9a1d9", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.140
[INFO] [stderr]    Compiling unicode-width v0.1.10
[INFO] [stderr]    Compiling bitflags v1.3.2
[INFO] [stderr]    Compiling strsim v0.8.0
[INFO] [stderr]    Compiling ansi_term v0.12.1
[INFO] [stderr]    Compiling textwrap v0.11.0
[INFO] [stderr]    Compiling atty v0.2.14
[INFO] [stderr]    Compiling clap v2.34.0
[INFO] [stderr]    Compiling commr v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: function `put_in_result` is never used
[INFO] [stdout]    --> src/lib.rs:155:4
[INFO] [stdout]     |
[INFO] [stdout] 155 | fn put_in_result<'a> (line1: &'a str, line2: &'a str, config: &Config) ->  [&'a str;3]{
[INFO] [stdout]     |    ^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing
[INFO] [stdout]    --> src/lib.rs:159:25
[INFO] [stdout]     |
[INFO] [stdout] 159 |         result[0]=&line1.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/lib.rs:162:27
[INFO] [stdout]     |
[INFO] [stdout] 162 |         result[1] = &line2.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: call to `.clone()` on a reference in this situation does nothing
[INFO] [stdout]    --> src/lib.rs:167:27
[INFO] [stdout]     |
[INFO] [stdout] 167 |         result[2] = &line1.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 6.18s
[INFO] running `Command { std: "docker" "inspect" "e3212b3a24a002735c60e55c20fdeaaa94ee422f2ea73cb1b6e500156cf9a1d9", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "e3212b3a24a002735c60e55c20fdeaaa94ee422f2ea73cb1b6e500156cf9a1d9", kill_on_drop: false }`
[INFO] [stdout] e3212b3a24a002735c60e55c20fdeaaa94ee422f2ea73cb1b6e500156cf9a1d9
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+ad211ced81509462cdfe4c29ed10f97279a0acae" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] d0dbe79c049113d5ce2fbad9f2b489cf37f5492418a4f0fc12609866caaabadd
[INFO] running `Command { std: "docker" "start" "-a" "d0dbe79c049113d5ce2fbad9f2b489cf37f5492418a4f0fc12609866caaabadd", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.140
[INFO] [stderr]    Compiling memchr v2.5.0
[INFO] [stderr]    Compiling autocfg v1.1.0
[INFO] [stderr]    Compiling either v1.8.1
[INFO] [stderr]    Compiling predicates-core v1.0.6
[INFO] [stderr]    Compiling difflib v0.4.0
[INFO] [stderr]    Compiling doc-comment v0.3.3
[INFO] [stderr]    Compiling regex-automata v0.1.10
[INFO] [stderr]    Compiling regex-syntax v0.6.29
[INFO] [stderr]    Compiling anstyle v0.3.5
[INFO] [stderr]    Compiling termtree v0.4.1
[INFO] [stderr]    Compiling ppv-lite86 v0.2.17
[INFO] [stderr]    Compiling once_cell v1.17.1
[INFO] [stderr]    Compiling normalize-line-endings v0.3.0
[INFO] [stderr]    Compiling predicates-tree v1.0.9
[INFO] [stderr]    Compiling itertools v0.10.5
[INFO] [stderr]    Compiling num-traits v0.2.15
[INFO] [stderr]    Compiling aho-corasick v0.7.20
[INFO] [stderr]    Compiling bstr v1.4.0
[INFO] [stderr]    Compiling getrandom v0.2.8
[INFO] [stderr]    Compiling atty v0.2.14
[INFO] [stderr]    Compiling wait-timeout v0.2.0
[INFO] [stderr]    Compiling clap v2.34.0
[INFO] [stderr]    Compiling rand_core v0.6.4
[INFO] [stderr]    Compiling predicates v3.0.2
[INFO] [stderr]    Compiling rand_chacha v0.3.1
[INFO] [stderr]    Compiling float-cmp v0.9.0
[INFO] [stderr]    Compiling rand v0.8.5
[INFO] [stderr]    Compiling assert_cmd v2.0.10
[INFO] [stderr]    Compiling regex v1.7.3
[INFO] [stderr]    Compiling predicates v2.1.5
[INFO] [stderr]    Compiling commr v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: function `put_in_result` is never used
[INFO] [stdout]    --> src/lib.rs:155:4
[INFO] [stdout]     |
[INFO] [stdout] 155 | fn put_in_result<'a> (line1: &'a str, line2: &'a str, config: &Config) ->  [&'a str;3]{
[INFO] [stdout]     |    ^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing
[INFO] [stdout]    --> src/lib.rs:159:25
[INFO] [stdout]     |
[INFO] [stdout] 159 |         result[0]=&line1.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/lib.rs:162:27
[INFO] [stdout]     |
[INFO] [stdout] 162 |         result[1] = &line2.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: call to `.clone()` on a reference in this situation does nothing
[INFO] [stdout]    --> src/lib.rs:167:27
[INFO] [stdout]     |
[INFO] [stdout] 167 |         result[2] = &line1.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: function `put_in_result` is never used
[INFO] [stdout]    --> src/lib.rs:155:4
[INFO] [stdout]     |
[INFO] [stdout] 155 | fn put_in_result<'a> (line1: &'a str, line2: &'a str, config: &Config) ->  [&'a str;3]{
[INFO] [stdout]     |    ^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing
[INFO] [stdout]    --> src/lib.rs:159:25
[INFO] [stdout]     |
[INFO] [stdout] 159 |         result[0]=&line1.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/lib.rs:162:27
[INFO] [stdout]     |
[INFO] [stdout] 162 |         result[1] = &line2.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: call to `.clone()` on a reference in this situation does nothing
[INFO] [stdout]    --> src/lib.rs:167:27
[INFO] [stdout]     |
[INFO] [stdout] 167 |         result[2] = &line1.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 15.30s
[INFO] running `Command { std: "docker" "inspect" "d0dbe79c049113d5ce2fbad9f2b489cf37f5492418a4f0fc12609866caaabadd", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "d0dbe79c049113d5ce2fbad9f2b489cf37f5492418a4f0fc12609866caaabadd", kill_on_drop: false }`
[INFO] [stdout] d0dbe79c049113d5ce2fbad9f2b489cf37f5492418a4f0fc12609866caaabadd
