[INFO] cloning repository https://github.com/zhoujun681/CopyAndRename [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/zhoujun681/CopyAndRename" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzhoujun681%2FCopyAndRename", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzhoujun681%2FCopyAndRename'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] bef7a87f65c4ce48b0e44a4e052503cd83217d5d [INFO] checking zhoujun681/CopyAndRename against master#1f12b9b0fdbe735968ac002792a720f0ba4faca6 for crater-rollup-uwu [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzhoujun681%2FCopyAndRename" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/zhoujun681/CopyAndRename on toolchain 1f12b9b0fdbe735968ac002792a720f0ba4faca6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/zhoujun681/CopyAndRename [INFO] finished tweaking git repo https://github.com/zhoujun681/CopyAndRename [INFO] tweaked toml for git repo https://github.com/zhoujun681/CopyAndRename written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/zhoujun681/CopyAndRename 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" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a21055242af8d3b38b76cd9f6a016a21836886d713bc752425fc1b9fceeec8fe [INFO] running `Command { std: "docker" "start" "-a" "a21055242af8d3b38b76cd9f6a016a21836886d713bc752425fc1b9fceeec8fe", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a21055242af8d3b38b76cd9f6a016a21836886d713bc752425fc1b9fceeec8fe", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a21055242af8d3b38b76cd9f6a016a21836886d713bc752425fc1b9fceeec8fe", kill_on_drop: false }` [INFO] [stdout] a21055242af8d3b38b76cd9f6a016a21836886d713bc752425fc1b9fceeec8fe [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5ed2192b97cdc1740c041d67679dfd822c587835d88a4d1fab25c273353e0842 [INFO] running `Command { std: "docker" "start" "-a" "5ed2192b97cdc1740c041d67679dfd822c587835d88a4d1fab25c273353e0842", kill_on_drop: false }` [INFO] [stderr] Checking CopyAndRename v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/main.rs:59:7 [INFO] [stdout] | [INFO] [stdout] 59 | if(dir.is_empty()||c_dir.is_empty()){ [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 59 - if(dir.is_empty()||c_dir.is_empty()){ [INFO] [stdout] 59 + if dir.is_empty()||c_dir.is_empty() { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/main.rs:71:8 [INFO] [stdout] | [INFO] [stdout] 71 | if (!dir.ends_with("\\")) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 71 - if (!dir.ends_with("\\")) { [INFO] [stdout] 71 + if !dir.ends_with("\\") { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/main.rs:74:8 [INFO] [stdout] | [INFO] [stdout] 74 | if (!c_dir.ends_with("\\")) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 74 - if (!c_dir.ends_with("\\")) { [INFO] [stdout] 74 + if !c_dir.ends_with("\\") { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/main.rs:83:7 [INFO] [stdout] | [INFO] [stdout] 83 | if(time == 0){ [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 83 - if(time == 0){ [INFO] [stdout] 83 + if time == 0 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/main.rs:59:7 [INFO] [stdout] | [INFO] [stdout] 59 | if(dir.is_empty()||c_dir.is_empty()){ [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 59 - if(dir.is_empty()||c_dir.is_empty()){ [INFO] [stdout] 59 + if dir.is_empty()||c_dir.is_empty() { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/main.rs:71:8 [INFO] [stdout] | [INFO] [stdout] 71 | if (!dir.ends_with("\\")) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 71 - if (!dir.ends_with("\\")) { [INFO] [stdout] 71 + if !dir.ends_with("\\") { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/main.rs:74:8 [INFO] [stdout] | [INFO] [stdout] 74 | if (!c_dir.ends_with("\\")) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 74 - if (!c_dir.ends_with("\\")) { [INFO] [stdout] 74 + if !c_dir.ends_with("\\") { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/main.rs:83:7 [INFO] [stdout] | [INFO] [stdout] 83 | if(time == 0){ [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 83 - if(time == 0){ [INFO] [stdout] 83 + if time == 0 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/main.rs:112:11 [INFO] [stdout] | [INFO] [stdout] 112 | if(time == 999999999){ //如果传入时间为0,只拷贝运行一次就退出 [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 112 - if(time == 999999999){ //如果传入时间为0,只拷贝运行一次就退出 [INFO] [stdout] 112 + if time == 999999999 { //如果传入时间为0,只拷贝运行一次就退出 [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/main.rs:112:11 [INFO] [stdout] | [INFO] [stdout] 112 | if(time == 999999999){ //如果传入时间为0,只拷贝运行一次就退出 [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 112 - if(time == 999999999){ //如果传入时间为0,只拷贝运行一次就退出 [INFO] [stdout] 112 + if time == 999999999 { //如果传入时间为0,只拷贝运行一次就退出 [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/main.rs:118:5 [INFO] [stdout] | [INFO] [stdout] 87 | / loop { [INFO] [stdout] 88 | | let last_modified_file = std::fs::read_dir(dir.as_str()) [INFO] [stdout] 89 | | .expect("传入的监听目录错误!!正确的: -d d:\\ss") [INFO] [stdout] 90 | | .flatten() // Remove failed [INFO] [stdout] ... | [INFO] [stdout] 115 | | std::thread::sleep(Duration::from_secs(du_time)); [INFO] [stdout] 116 | | } [INFO] [stdout] | |_____- any code following this expression is unreachable [INFO] [stdout] 117 | [INFO] [stdout] 118 | Ok(()) [INFO] [stdout] | ^^^^^^ unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/main.rs:118:5 [INFO] [stdout] | [INFO] [stdout] 87 | / loop { [INFO] [stdout] 88 | | let last_modified_file = std::fs::read_dir(dir.as_str()) [INFO] [stdout] 89 | | .expect("传入的监听目录错误!!正确的: -d d:\\ss") [INFO] [stdout] 90 | | .flatten() // Remove failed [INFO] [stdout] ... | [INFO] [stdout] 115 | | std::thread::sleep(Duration::from_secs(du_time)); [INFO] [stdout] 116 | | } [INFO] [stdout] | |_____- any code following this expression is unreachable [INFO] [stdout] 117 | [INFO] [stdout] 118 | Ok(()) [INFO] [stdout] | ^^^^^^ unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.06s [INFO] running `Command { std: "docker" "inspect" "5ed2192b97cdc1740c041d67679dfd822c587835d88a4d1fab25c273353e0842", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5ed2192b97cdc1740c041d67679dfd822c587835d88a4d1fab25c273353e0842", kill_on_drop: false }` [INFO] [stdout] 5ed2192b97cdc1740c041d67679dfd822c587835d88a4d1fab25c273353e0842