[INFO] cloning repository https://github.com/paolinos/rscopy [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/paolinos/rscopy" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpaolinos%2Frscopy", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpaolinos%2Frscopy'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 62ca65c576ff3aaac70ed08b0daf5792f0d45780 [INFO] checking paolinos/rscopy against try#8d46be77cd48fdbcced888d027457e2c9cf2aa16 for pr-142723 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpaolinos%2Frscopy" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/paolinos/rscopy on toolchain 8d46be77cd48fdbcced888d027457e2c9cf2aa16 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8d46be77cd48fdbcced888d027457e2c9cf2aa16" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/paolinos/rscopy [INFO] finished tweaking git repo https://github.com/paolinos/rscopy [INFO] tweaked toml for git repo https://github.com/paolinos/rscopy written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/paolinos/rscopy 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" "+8d46be77cd48fdbcced888d027457e2c9cf2aa16" "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 [ERROR] error running command: no output for 300 seconds [INFO] checking paolinos/rscopy against try#8d46be77cd48fdbcced888d027457e2c9cf2aa16 for pr-142723 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpaolinos%2Frscopy" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/paolinos/rscopy on toolchain 8d46be77cd48fdbcced888d027457e2c9cf2aa16 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8d46be77cd48fdbcced888d027457e2c9cf2aa16" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/paolinos/rscopy [INFO] finished tweaking git repo https://github.com/paolinos/rscopy [INFO] tweaked toml for git repo https://github.com/paolinos/rscopy written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/paolinos/rscopy 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" "+8d46be77cd48fdbcced888d027457e2c9cf2aa16" "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-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8d46be77cd48fdbcced888d027457e2c9cf2aa16" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4e28bb51819b50a37aa7d1e2a3461b857a99043dfb1b227f1f7c2b27f6804fff [INFO] running `Command { std: "docker" "start" "-a" "4e28bb51819b50a37aa7d1e2a3461b857a99043dfb1b227f1f7c2b27f6804fff", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4e28bb51819b50a37aa7d1e2a3461b857a99043dfb1b227f1f7c2b27f6804fff", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4e28bb51819b50a37aa7d1e2a3461b857a99043dfb1b227f1f7c2b27f6804fff", kill_on_drop: false }` [INFO] [stdout] 4e28bb51819b50a37aa7d1e2a3461b857a99043dfb1b227f1f7c2b27f6804fff [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8d46be77cd48fdbcced888d027457e2c9cf2aa16" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 88c4ffb1344e24464af9db04322162604b1c6d36cdb728b8bb7f44a5fea5c214 [INFO] running `Command { std: "docker" "start" "-a" "88c4ffb1344e24464af9db04322162604b1c6d36cdb728b8bb7f44a5fea5c214", kill_on_drop: false }` [INFO] [stderr] Checking copy_file v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `metadata` [INFO] [stdout] --> src/tools/file.rs:1:28 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{fs::{self, File, metadata}, io::{BufReader, Read, Seek, SeekFrom, Write}, path::Path}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `metadata` [INFO] [stdout] --> src/tools/file.rs:1:28 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{fs::{self, File, metadata}, io::{BufReader, Read, Seek, SeekFrom, Write}, path::Path}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `override_files` and `new_name` are never read [INFO] [stdout] --> src/tools/argument.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct Argument{ [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 8 | pub override_files:bool, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 9 | pub new_name:Option [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Argument` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `new_name` and `override_files` are never used [INFO] [stdout] --> src/tools/argument.rs:93:12 [INFO] [stdout] | [INFO] [stdout] 12 | impl Argument{ [INFO] [stdout] | ------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 93 | pub fn new_name(&self) -> &Option { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 97 | pub fn override_files(&self) -> &bool { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/usecases/app.rs:27:57 [INFO] [stdout] | [INFO] [stdout] 27 | to_str = String::from(new_path.to_str().unwrap().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: fields `override_files` and `new_name` are never read [INFO] [stdout] --> src/tools/argument.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct Argument{ [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 8 | pub override_files:bool, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 9 | pub new_name:Option [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Argument` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `new_name` and `override_files` are never used [INFO] [stdout] --> src/tools/argument.rs:93:12 [INFO] [stdout] | [INFO] [stdout] 12 | impl Argument{ [INFO] [stdout] | ------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 93 | pub fn new_name(&self) -> &Option { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 97 | pub fn override_files(&self) -> &bool { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/usecases/app.rs:27:57 [INFO] [stdout] | [INFO] [stdout] 27 | to_str = String::from(new_path.to_str().unwrap().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] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.23s [INFO] running `Command { std: "docker" "inspect" "88c4ffb1344e24464af9db04322162604b1c6d36cdb728b8bb7f44a5fea5c214", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "88c4ffb1344e24464af9db04322162604b1c6d36cdb728b8bb7f44a5fea5c214", kill_on_drop: false }` [INFO] [stdout] 88c4ffb1344e24464af9db04322162604b1c6d36cdb728b8bb7f44a5fea5c214