[INFO] fetching crate perf_monitor 0.2.0... [INFO] testing perf_monitor-0.2.0 against master#99e3aef02079e9c10583638520cd0c134dc3a01d for pr-85530 [INFO] extracting crate perf_monitor 0.2.0 into /workspace/builds/worker-2/source [INFO] validating manifest of crates.io crate perf_monitor 0.2.0 on toolchain 99e3aef02079e9c10583638520cd0c134dc3a01d [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate perf_monitor 0.2.0 [INFO] finished tweaking crates.io crate perf_monitor 0.2.0 [INFO] tweaked toml for crates.io crate perf_monitor 0.2.0 written to /workspace/builds/worker-2/source/Cargo.toml [INFO] crate crates.io crate perf_monitor 0.2.0 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "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-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 2192d15424a5c4840ef0cfd61e9ae5f15f600dccf836b82e6aed014cf58775d5 [INFO] running `Command { std: "docker" "start" "-a" "2192d15424a5c4840ef0cfd61e9ae5f15f600dccf836b82e6aed014cf58775d5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2192d15424a5c4840ef0cfd61e9ae5f15f600dccf836b82e6aed014cf58775d5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2192d15424a5c4840ef0cfd61e9ae5f15f600dccf836b82e6aed014cf58775d5", kill_on_drop: false }` [INFO] [stdout] 2192d15424a5c4840ef0cfd61e9ae5f15f600dccf836b82e6aed014cf58775d5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] c434b38f5bdb8fa74dc1108e76c2c46dbe8873dad2e5faada246dc7c856f9f4a [INFO] running `Command { std: "docker" "start" "-a" "c434b38f5bdb8fa74dc1108e76c2c46dbe8873dad2e5faada246dc7c856f9f4a", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.85 [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling glob v0.3.0 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling once_cell v1.5.2 [INFO] [stderr] Compiling regex-syntax v0.6.22 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling bindgen v0.55.1 [INFO] [stderr] Compiling syn v1.0.60 [INFO] [stderr] Compiling termcolor v1.1.2 [INFO] [stderr] Compiling shlex v0.1.1 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling lazycell v1.3.0 [INFO] [stderr] Compiling rustc-hash v1.1.0 [INFO] [stderr] Compiling peeking_take_while v0.1.2 [INFO] [stderr] Compiling smallvec v1.6.1 [INFO] [stderr] Compiling cc v1.0.66 [INFO] [stderr] Compiling lpfs v0.2.0 [INFO] [stderr] Compiling nom v5.1.2 [INFO] [stderr] Compiling libloading v0.7.0 [INFO] [stderr] Compiling thread_local v1.1.2 [INFO] [stderr] Compiling clang-sys v1.1.1 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling which v3.1.1 [INFO] [stderr] Compiling parking_lot_core v0.7.2 [INFO] [stderr] Compiling errno v0.2.7 [INFO] [stderr] Compiling quote v1.0.8 [INFO] [stderr] Compiling clap v2.33.3 [INFO] [stderr] Compiling parking_lot v0.10.2 [INFO] [stderr] Compiling cexpr v0.4.0 [INFO] [stderr] Compiling regex v1.4.3 [INFO] [stderr] Compiling env_logger v0.7.1 [INFO] [stderr] Compiling thiserror-impl v1.0.23 [INFO] [stderr] Compiling thiserror v1.0.23 [INFO] [stderr] Compiling perf_monitor v0.2.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: function is never used: `fd_count_pid` [INFO] [stdout] --> src/fd/android_linux.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn fd_count_pid(pid: u32) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 31.16s [INFO] running `Command { std: "docker" "inspect" "c434b38f5bdb8fa74dc1108e76c2c46dbe8873dad2e5faada246dc7c856f9f4a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c434b38f5bdb8fa74dc1108e76c2c46dbe8873dad2e5faada246dc7c856f9f4a", kill_on_drop: false }` [INFO] [stdout] c434b38f5bdb8fa74dc1108e76c2c46dbe8873dad2e5faada246dc7c856f9f4a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] e1e5a43c757ba106627c77bd1a4e5b74d0566c59bc3edecacce19777a82b6fda [INFO] running `Command { std: "docker" "start" "-a" "e1e5a43c757ba106627c77bd1a4e5b74d0566c59bc3edecacce19777a82b6fda", kill_on_drop: false }` [INFO] [stderr] Compiling perf_monitor v0.2.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: function is never used: `fd_count_pid` [INFO] [stdout] --> src/fd/android_linux.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn fd_count_pid(pid: u32) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `perf_monitor::mem::get_process_memory_info` [INFO] [stdout] --> examples/activity_monitor.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use perf_monitor::mem::get_process_memory_info; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no `get_process_memory_info` in `mem` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `perf_monitor` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: function is never used: `fd_count_pid` [INFO] [stdout] --> src/fd/android_linux.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn fd_count_pid(pid: u32) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "e1e5a43c757ba106627c77bd1a4e5b74d0566c59bc3edecacce19777a82b6fda", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e1e5a43c757ba106627c77bd1a4e5b74d0566c59bc3edecacce19777a82b6fda", kill_on_drop: false }` [INFO] [stdout] e1e5a43c757ba106627c77bd1a4e5b74d0566c59bc3edecacce19777a82b6fda