[INFO] fetching crate perf_monitor 0.2.0... [INFO] checking perf_monitor-0.2.0 against try#a7a572ce3edd6d476191fbfe92c9c1986e009b34 for pr-87190-3 [INFO] extracting crate perf_monitor 0.2.0 into /workspace/builds/worker-67/source [INFO] validating manifest of crates.io crate perf_monitor 0.2.0 on toolchain a7a572ce3edd6d476191fbfe92c9c1986e009b34 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "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-67/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" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded clang-sys v1.1.1 [INFO] [stderr] Downloaded lpfs v0.2.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-67/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-67/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" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d83c7cec7f642a909262a8ceedf7e2fd49c8b301de46984d5ce681ad17c755fa [INFO] running `Command { std: "docker" "start" "-a" "d83c7cec7f642a909262a8ceedf7e2fd49c8b301de46984d5ce681ad17c755fa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d83c7cec7f642a909262a8ceedf7e2fd49c8b301de46984d5ce681ad17c755fa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d83c7cec7f642a909262a8ceedf7e2fd49c8b301de46984d5ce681ad17c755fa", kill_on_drop: false }` [INFO] [stdout] d83c7cec7f642a909262a8ceedf7e2fd49c8b301de46984d5ce681ad17c755fa [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-67/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-67/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" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d19e62aa9ff1f7e57b58747ffe326fb93c763154ff3f9548f01418cb09b4c0af [INFO] running `Command { std: "docker" "start" "-a" "d19e62aa9ff1f7e57b58747ffe326fb93c763154ff3f9548f01418cb09b4c0af", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] note: Switching to Edition 2021 will enable the use of the version 2 feature resolver in Cargo. [INFO] [stderr] This may cause some dependencies to be built with fewer features enabled than previously. [INFO] [stderr] More information about the resolver changes may be found at https://doc.rust-lang.org/nightly/edition-guide/rust-2021/default-cargo-resolver.html [INFO] [stderr] When building the following dependencies, the given features will no longer be used: [INFO] [stderr] [INFO] [stderr] scopeguard v1.1.0: default, use_std [INFO] [stderr] [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling libc v0.2.85 [INFO] [stderr] Compiling memchr v2.3.4 [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 bitflags v1.2.1 [INFO] [stderr] Compiling once_cell v1.5.2 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling quick-error v1.2.3 [INFO] [stderr] Compiling unicode-width v0.1.8 [INFO] [stderr] Compiling regex-syntax v0.6.22 [INFO] [stderr] Compiling termcolor v1.1.2 [INFO] [stderr] Compiling vec_map v0.8.2 [INFO] [stderr] Compiling bindgen v0.55.1 [INFO] [stderr] Compiling syn v1.0.60 [INFO] [stderr] Compiling ansi_term v0.11.0 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling shlex v0.1.1 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling rustc-hash v1.1.0 [INFO] [stderr] Compiling peeking_take_while v0.1.2 [INFO] [stderr] Compiling lazycell v1.3.0 [INFO] [stderr] Checking smallvec v1.6.1 [INFO] [stderr] Compiling cc v1.0.66 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Checking lpfs v0.2.0 [INFO] [stderr] Checking futures v0.1.30 [INFO] [stderr] Compiling nom v5.1.2 [INFO] [stderr] Compiling thread_local v1.1.2 [INFO] [stderr] Checking lock_api v0.3.4 [INFO] [stderr] Compiling libloading v0.7.0 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling humantime v1.3.0 [INFO] [stderr] Compiling aho-corasick v0.7.15 [INFO] [stderr] Compiling clang-sys v1.1.1 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling which v3.1.1 [INFO] [stderr] Checking parking_lot_core v0.7.2 [INFO] [stderr] Checking errno v0.2.7 [INFO] [stderr] Compiling clap v2.33.3 [INFO] [stderr] Compiling quote v1.0.8 [INFO] [stderr] Checking parking_lot v0.10.2 [INFO] [stderr] Compiling regex v1.4.3 [INFO] [stderr] Compiling cexpr v0.4.0 [INFO] [stderr] Compiling env_logger v0.7.1 [INFO] [stderr] Compiling thiserror-impl v1.0.23 [INFO] [stderr] Checking thiserror v1.0.23 [INFO] [stderr] Compiling perf_monitor v0.2.0 (/tmp/fixit) [INFO] [stderr] Migrating build.rs from 2018 edition to 2021 [INFO] [stderr] Migrating src/lib.rs from 2018 edition to 2021 [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] Migrating examples/activity_monitor.rs from 2018 edition to 2021 [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] 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: 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` due to 2 previous errors [INFO] [stderr] error: failed to migrate to next edition [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `cargo fix --edition --allow-no-vcs --allow-dirty --frozen --all --all-targets --message-format=json` (exit status: 101) [INFO] running `Command { std: "docker" "inspect" "d19e62aa9ff1f7e57b58747ffe326fb93c763154ff3f9548f01418cb09b4c0af", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d19e62aa9ff1f7e57b58747ffe326fb93c763154ff3f9548f01418cb09b4c0af", kill_on_drop: false }` [INFO] [stdout] d19e62aa9ff1f7e57b58747ffe326fb93c763154ff3f9548f01418cb09b4c0af