[INFO] cloning repository https://github.com/prajithkb/rust_splitter [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/prajithkb/rust_splitter" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fprajithkb%2Frust_splitter", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fprajithkb%2Frust_splitter'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 35947b62c5ba8c81046073d5d31a078535013aff [INFO] checking prajithkb/rust_splitter against try#9543f8ea2aae74b8f13ac2a6e6c0ecdca9810869 for pr-129249 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fprajithkb%2Frust_splitter" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/prajithkb/rust_splitter on toolchain 9543f8ea2aae74b8f13ac2a6e6c0ecdca9810869 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9543f8ea2aae74b8f13ac2a6e6c0ecdca9810869" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/prajithkb/rust_splitter [INFO] finished tweaking git repo https://github.com/prajithkb/rust_splitter [INFO] tweaked toml for git repo https://github.com/prajithkb/rust_splitter written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/prajithkb/rust_splitter 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" "+9543f8ea2aae74b8f13ac2a6e6c0ecdca9810869" "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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+9543f8ea2aae74b8f13ac2a6e6c0ecdca9810869" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] aeb1a4535ab99d072b8c6df1a59a37a2d26bf3a67005e3db9041f289f8f5f52b [INFO] running `Command { std: "docker" "start" "-a" "aeb1a4535ab99d072b8c6df1a59a37a2d26bf3a67005e3db9041f289f8f5f52b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "aeb1a4535ab99d072b8c6df1a59a37a2d26bf3a67005e3db9041f289f8f5f52b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "aeb1a4535ab99d072b8c6df1a59a37a2d26bf3a67005e3db9041f289f8f5f52b", kill_on_drop: false }` [INFO] [stdout] aeb1a4535ab99d072b8c6df1a59a37a2d26bf3a67005e3db9041f289f8f5f52b [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" "-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" "+9543f8ea2aae74b8f13ac2a6e6c0ecdca9810869" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ed76db39b9ca1dda4318c63fad9932752b93cc7bec4b5440b73ef0361ca81fcc [INFO] running `Command { std: "docker" "start" "-a" "ed76db39b9ca1dda4318c63fad9932752b93cc7bec4b5440b73ef0361ca81fcc", kill_on_drop: false }` [INFO] [stderr] Checking splitter v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: this conversion is useless `&str` to `&str` [INFO] [stdout] --> src/parameter.rs:62:24 [INFO] [stdout] | [INFO] [stdout] 62 | delimiter: "'custom '".into(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[deny(self_type_conversion)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this conversion is useless `&str` to `&str` [INFO] [stdout] --> src/parameter.rs:72:24 [INFO] [stdout] | [INFO] [stdout] 72 | delimiter: "'custom '".into(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/processor.rs:60:30 [INFO] [stdout] | [INFO] [stdout] 60 | assert_eq!(Some(input.clone()), tokenize(input, "covid", 1)); [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] [stderr] error: could not compile `splitter` (lib test) due to 2 previous errors; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "ed76db39b9ca1dda4318c63fad9932752b93cc7bec4b5440b73ef0361ca81fcc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ed76db39b9ca1dda4318c63fad9932752b93cc7bec4b5440b73ef0361ca81fcc", kill_on_drop: false }` [INFO] [stdout] ed76db39b9ca1dda4318c63fad9932752b93cc7bec4b5440b73ef0361ca81fcc