[INFO] cloning repository https://github.com/AkinerAlkan94/FileCopier [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/AkinerAlkan94/FileCopier" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAkinerAlkan94%2FFileCopier", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAkinerAlkan94%2FFileCopier'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 7de7c63d7c3ef2ac7292578b255405e126f692dc [INFO] checking AkinerAlkan94/FileCopier against master#33fdb797f59421c7bbecaa4588ed5d7a31a9494a for pr-87190-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAkinerAlkan94%2FFileCopier" "/workspace/builds/worker-13/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-13/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/AkinerAlkan94/FileCopier on toolchain 33fdb797f59421c7bbecaa4588ed5d7a31a9494a [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+33fdb797f59421c7bbecaa4588ed5d7a31a9494a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/AkinerAlkan94/FileCopier [INFO] finished tweaking git repo https://github.com/AkinerAlkan94/FileCopier [INFO] tweaked toml for git repo https://github.com/AkinerAlkan94/FileCopier written to /workspace/builds/worker-13/source/Cargo.toml [INFO] crate git repo https://github.com/AkinerAlkan94/FileCopier already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+33fdb797f59421c7bbecaa4588ed5d7a31a9494a" "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-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+33fdb797f59421c7bbecaa4588ed5d7a31a9494a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] cdad2d2bdf3d9eedddfd088541235673395cdea170866a68923ac9438dedd9d4 [INFO] running `Command { std: "docker" "start" "-a" "cdad2d2bdf3d9eedddfd088541235673395cdea170866a68923ac9438dedd9d4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "cdad2d2bdf3d9eedddfd088541235673395cdea170866a68923ac9438dedd9d4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cdad2d2bdf3d9eedddfd088541235673395cdea170866a68923ac9438dedd9d4", kill_on_drop: false }` [INFO] [stdout] cdad2d2bdf3d9eedddfd088541235673395cdea170866a68923ac9438dedd9d4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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" "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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+33fdb797f59421c7bbecaa4588ed5d7a31a9494a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 80531ead1099652a6db2b226b9e14fd2be3bbc57ef88bd24b7a327c1a1de79ef [INFO] running `Command { std: "docker" "start" "-a" "80531ead1099652a6db2b226b9e14fd2be3bbc57ef88bd24b7a327c1a1de79ef", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Checking same-file v1.0.6 [INFO] [stderr] Checking fs_extra v1.2.0 [INFO] [stderr] Checking walkdir v2.3.1 [INFO] [stderr] Checking FileCopier v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::thread::Thread` [INFO] [stdout] --> src/main.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::thread::Thread; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/main.rs:32:7 [INFO] [stdout] | [INFO] [stdout] 32 | if(!Path::new(&realDst).exists()){ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/main.rs:34:11 [INFO] [stdout] | [INFO] [stdout] 34 | if(result.is_err()){ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/main.rs:39:11 [INFO] [stdout] | [INFO] [stdout] 39 | if(result.is_ok()){ [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::thread::Thread` [INFO] [stdout] --> src/main.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::thread::Thread; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/main.rs:32:7 [INFO] [stdout] | [INFO] [stdout] 32 | if(!Path::new(&realDst).exists()){ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/main.rs:34:11 [INFO] [stdout] | [INFO] [stdout] 34 | if(result.is_err()){ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/main.rs:39:11 [INFO] [stdout] | [INFO] [stdout] 39 | if(result.is_ok()){ [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::thread::sleep_ms`: replaced by `std::thread::sleep` [INFO] [stdout] --> src/main.rs:36:26 [INFO] [stdout] | [INFO] [stdout] 36 | std::thread::sleep_ms(1000); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::thread::sleep_ms`: replaced by `std::thread::sleep` [INFO] [stdout] --> src/main.rs:36:26 [INFO] [stdout] | [INFO] [stdout] 36 | std::thread::sleep_ms(1000); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: crate `FileCopier` should have a snake case name [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] = help: convert the identifier to snake case: `file_copier` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `copyFile` should have a snake case name [INFO] [stdout] --> src/main.rs:21:4 [INFO] [stdout] | [INFO] [stdout] 21 | fn copyFile(src: &String, dst: String, e: &mut DirEntry) { [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `copy_file` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `realDst` should have a snake case name [INFO] [stdout] --> src/main.rs:23:9 [INFO] [stdout] | [INFO] [stdout] 23 | let realDst = dst.clone() + &suffix; [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `real_dst` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: crate `FileCopier` should have a snake case name [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] = help: convert the identifier to snake case: `file_copier` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `copyFile` should have a snake case name [INFO] [stdout] --> src/main.rs:21:4 [INFO] [stdout] | [INFO] [stdout] 21 | fn copyFile(src: &String, dst: String, e: &mut DirEntry) { [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `copy_file` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `realDst` should have a snake case name [INFO] [stdout] --> src/main.rs:23:9 [INFO] [stdout] | [INFO] [stdout] 23 | let realDst = dst.clone() + &suffix; [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `real_dst` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1.06s [INFO] running `Command { std: "docker" "inspect" "80531ead1099652a6db2b226b9e14fd2be3bbc57ef88bd24b7a327c1a1de79ef", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "80531ead1099652a6db2b226b9e14fd2be3bbc57ef88bd24b7a327c1a1de79ef", kill_on_drop: false }` [INFO] [stdout] 80531ead1099652a6db2b226b9e14fd2be3bbc57ef88bd24b7a327c1a1de79ef