[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] checking udayj/commr against master#8c32e313cccf7df531e2d49ffb8227bb92304aee for pr-145608-1 [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] 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] validating manifest of git repo https://github.com/udayj/commr on toolchain 8c32e313cccf7df531e2d49ffb8227bb92304aee [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded anstyle v0.3.5 [INFO] [stderr] Downloaded termtree v0.4.1 [INFO] [stderr] Downloaded predicates v2.1.5 [INFO] [stderr] Downloaded assert_cmd v2.0.10 [INFO] [stderr] Downloaded predicates-core v1.0.6 [INFO] [stderr] Downloaded predicates-tree v1.0.9 [INFO] [stderr] Downloaded float-cmp v0.9.0 [INFO] [stderr] Downloaded predicates v3.0.2 [INFO] [stderr] Downloaded serde v1.0.158 [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c98fd7bc4644cfe38dcc1d71b8baf14c31ec2640f634d02d57bb442aed85b262 [INFO] running `Command { std: "docker" "start" "-a" "c98fd7bc4644cfe38dcc1d71b8baf14c31ec2640f634d02d57bb442aed85b262", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c98fd7bc4644cfe38dcc1d71b8baf14c31ec2640f634d02d57bb442aed85b262", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c98fd7bc4644cfe38dcc1d71b8baf14c31ec2640f634d02d57bb442aed85b262", kill_on_drop: false }` [INFO] [stdout] c98fd7bc4644cfe38dcc1d71b8baf14c31ec2640f634d02d57bb442aed85b262 [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b2a03432519ef1faf4f6a8980b896f15f46590af5bf005e3b9ba9ac3707b1600 [INFO] running `Command { std: "docker" "start" "-a" "b2a03432519ef1faf4f6a8980b896f15f46590af5bf005e3b9ba9ac3707b1600", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.140 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Checking either v1.8.1 [INFO] [stderr] Checking unicode-width v0.1.10 [INFO] [stderr] Checking predicates-core v1.0.6 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Compiling doc-comment v0.3.3 [INFO] [stderr] Checking difflib v0.4.0 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking strsim v0.8.0 [INFO] [stderr] Checking ansi_term v0.12.1 [INFO] [stderr] Checking vec_map v0.8.2 [INFO] [stderr] Checking itertools v0.10.5 [INFO] [stderr] Checking regex-automata v0.1.10 [INFO] [stderr] Checking termtree v0.4.1 [INFO] [stderr] Checking once_cell v1.17.1 [INFO] [stderr] Checking regex-syntax v0.6.29 [INFO] [stderr] Checking anstyle v0.3.5 [INFO] [stderr] Checking ppv-lite86 v0.2.17 [INFO] [stderr] Checking predicates-tree v1.0.9 [INFO] [stderr] Checking normalize-line-endings v0.3.0 [INFO] [stderr] Checking aho-corasick v0.7.20 [INFO] [stderr] Checking bstr v1.4.0 [INFO] [stderr] Checking float-cmp v0.9.0 [INFO] [stderr] Checking getrandom v0.2.8 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking wait-timeout v0.2.0 [INFO] [stderr] Checking clap v2.34.0 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking predicates v3.0.2 [INFO] [stderr] Checking assert_cmd v2.0.10 [INFO] [stderr] Checking regex v1.7.3 [INFO] [stderr] Checking 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] Checking predicates v2.1.5 [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 12.45s [INFO] running `Command { std: "docker" "inspect" "b2a03432519ef1faf4f6a8980b896f15f46590af5bf005e3b9ba9ac3707b1600", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b2a03432519ef1faf4f6a8980b896f15f46590af5bf005e3b9ba9ac3707b1600", kill_on_drop: false }` [INFO] [stdout] b2a03432519ef1faf4f6a8980b896f15f46590af5bf005e3b9ba9ac3707b1600