[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] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzhoujun681%2FCopyAndRename: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 1) [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#9bfa31f632912180dc742809bcc51a97f2d7079d for pr-140151 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzhoujun681%2FCopyAndRename" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/zhoujun681/CopyAndRename on toolchain 9bfa31f632912180dc742809bcc51a97f2d7079d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9bfa31f632912180dc742809bcc51a97f2d7079d" "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-3-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" "+9bfa31f632912180dc742809bcc51a97f2d7079d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+9bfa31f632912180dc742809bcc51a97f2d7079d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b7ccd87bebe8c7859e86292a2d1c42d2b4ff2302227162247cd3bdfbfd79a62b [INFO] running `Command { std: "docker" "start" "-a" "b7ccd87bebe8c7859e86292a2d1c42d2b4ff2302227162247cd3bdfbfd79a62b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b7ccd87bebe8c7859e86292a2d1c42d2b4ff2302227162247cd3bdfbfd79a62b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b7ccd87bebe8c7859e86292a2d1c42d2b4ff2302227162247cd3bdfbfd79a62b", kill_on_drop: false }` [INFO] [stdout] b7ccd87bebe8c7859e86292a2d1c42d2b4ff2302227162247cd3bdfbfd79a62b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+9bfa31f632912180dc742809bcc51a97f2d7079d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 921dfcddc1a49bb54ddeb26446886ec15dd48bec9d75dcb6f8928abf8f9f477e [INFO] running `Command { std: "docker" "start" "-a" "921dfcddc1a49bb54ddeb26446886ec15dd48bec9d75dcb6f8928abf8f9f477e", 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: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: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: 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] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.25s [INFO] running `Command { std: "docker" "inspect" "921dfcddc1a49bb54ddeb26446886ec15dd48bec9d75dcb6f8928abf8f9f477e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "921dfcddc1a49bb54ddeb26446886ec15dd48bec9d75dcb6f8928abf8f9f477e", kill_on_drop: false }` [INFO] [stdout] 921dfcddc1a49bb54ddeb26446886ec15dd48bec9d75dcb6f8928abf8f9f477e