[INFO] cloning repository https://github.com/jonjomckay/fsmetrics [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/jonjomckay/fsmetrics" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjonjomckay%2Ffsmetrics", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjonjomckay%2Ffsmetrics'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 86a6bc7b8a44b47262bab8e2091d6ff49c8ab499 [INFO] checking jonjomckay/fsmetrics against master#dfd7b8d03fb93d0e03147d28b3be6d93260fa94d for pr-87050 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjonjomckay%2Ffsmetrics" "/workspace/builds/worker-14/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-14/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/jonjomckay/fsmetrics on toolchain dfd7b8d03fb93d0e03147d28b3be6d93260fa94d [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+dfd7b8d03fb93d0e03147d28b3be6d93260fa94d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/jonjomckay/fsmetrics [INFO] finished tweaking git repo https://github.com/jonjomckay/fsmetrics [INFO] tweaked toml for git repo https://github.com/jonjomckay/fsmetrics written to /workspace/builds/worker-14/source/Cargo.toml [INFO] crate git repo https://github.com/jonjomckay/fsmetrics already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+dfd7b8d03fb93d0e03147d28b3be6d93260fa94d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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" "+dfd7b8d03fb93d0e03147d28b3be6d93260fa94d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4121bef2e044a816d01c82e97ebd5827f48b0054b3e2524ec51bd6cff9b2c6f9 [INFO] running `Command { std: "docker" "start" "-a" "4121bef2e044a816d01c82e97ebd5827f48b0054b3e2524ec51bd6cff9b2c6f9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4121bef2e044a816d01c82e97ebd5827f48b0054b3e2524ec51bd6cff9b2c6f9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4121bef2e044a816d01c82e97ebd5827f48b0054b3e2524ec51bd6cff9b2c6f9", kill_on_drop: false }` [INFO] [stdout] 4121bef2e044a816d01c82e97ebd5827f48b0054b3e2524ec51bd6cff9b2c6f9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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" "+dfd7b8d03fb93d0e03147d28b3be6d93260fa94d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 78181f61cd264624e3091c3e9fb687750d916a25981fa279f40be012bc9b6cfc [INFO] running `Command { std: "docker" "start" "-a" "78181f61cd264624e3091c3e9fb687750d916a25981fa279f40be012bc9b6cfc", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling syn v1.0.64 [INFO] [stderr] Compiling libc v0.2.91 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Checking nix v0.19.1 [INFO] [stderr] Compiling enum-iterator-derive v0.6.0 [INFO] [stderr] Checking enum-iterator v0.6.0 [INFO] [stderr] Checking fanotify-rs v0.3.0 (https://github.com/ZhangLei-cn/fanotify-rs#4987bc7f) [INFO] [stderr] Checking fsmetrics v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `FAN_ACCESS_PERM`, `FAN_MOVE`, `FAN_OPEN_PERM`, `FanotifyMode`, `FanotifyResponse`, `Fanotify` [INFO] [stdout] --> src/main.rs:1:28 [INFO] [stdout] | [INFO] [stdout] 1 | ...::{Fanotify, FanotifyMode, FAN_OPEN, FAN_CLOSE, FAN_ACCESS, FAN_MODIFY, FAN_ONDIR, FanEvent, FAN_EVENT_ON_CHILD, FanotifyResponse, FAN_ACCESS_PERM, FAN_OPEN_PERM, FAN_MOVE, F... [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fmt` [INFO] [stdout] --> src/main.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::fmt; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `FAN_CLASS_CONTENT`, `FAN_CLOEXEC`, `FAN_REPORT_DIR_FID` [INFO] [stdout] --> src/main.rs:4:58 [INFO] [stdout] | [INFO] [stdout] 4 | ...t, FAN_CLOEXEC, O_CLOEXEC, O_RDONLY, FAN_CLASS_CONTENT, FAN_MARK_ADD, AT_FDCWD, fanotify_mark, fanotify_read, close_fd, FAN_CLASS_NOTIF, FAN_REPORT_DIR_FI... [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/main.rs:34:12 [INFO] [stdout] | [INFO] [stdout] 34 | if (poll_num > 0) { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `FAN_ACCESS_PERM`, `FAN_MOVE`, `FAN_OPEN_PERM`, `FanotifyMode`, `FanotifyResponse`, `Fanotify` [INFO] [stdout] --> src/main.rs:1:28 [INFO] [stdout] | [INFO] [stdout] 1 | ...::{Fanotify, FanotifyMode, FAN_OPEN, FAN_CLOSE, FAN_ACCESS, FAN_MODIFY, FAN_ONDIR, FanEvent, FAN_EVENT_ON_CHILD, FanotifyResponse, FAN_ACCESS_PERM, FAN_OPEN_PERM, FAN_MOVE, F... [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fmt` [INFO] [stdout] --> src/main.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::fmt; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `FAN_CLASS_CONTENT`, `FAN_CLOEXEC`, `FAN_REPORT_DIR_FID` [INFO] [stdout] --> src/main.rs:4:58 [INFO] [stdout] | [INFO] [stdout] 4 | ...t, FAN_CLOEXEC, O_CLOEXEC, O_RDONLY, FAN_CLASS_CONTENT, FAN_MARK_ADD, AT_FDCWD, fanotify_mark, fanotify_read, close_fd, FAN_CLASS_NOTIF, FAN_REPORT_DIR_FI... [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/main.rs:34:12 [INFO] [stdout] | [INFO] [stdout] 34 | if (poll_num > 0) { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 9.04s [INFO] running `Command { std: "docker" "inspect" "78181f61cd264624e3091c3e9fb687750d916a25981fa279f40be012bc9b6cfc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "78181f61cd264624e3091c3e9fb687750d916a25981fa279f40be012bc9b6cfc", kill_on_drop: false }` [INFO] [stdout] 78181f61cd264624e3091c3e9fb687750d916a25981fa279f40be012bc9b6cfc