[INFO] cloning repository https://github.com/xiaopengli89/precord [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/xiaopengli89/precord" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fxiaopengli89%2Fprecord", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fxiaopengli89%2Fprecord'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 74977d20948eb369675ff8fc7ac8c9e38f33775a [INFO] testing xiaopengli89/precord against try#722e1797249a965b6335aebd65d777f917e498f1 for pr-91031 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fxiaopengli89%2Fprecord" "/workspace/builds/worker-11/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-11/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/xiaopengli89/precord on toolchain 722e1797249a965b6335aebd65d777f917e498f1 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+722e1797249a965b6335aebd65d777f917e498f1" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/xiaopengli89/precord [INFO] finished tweaking git repo https://github.com/xiaopengli89/precord [INFO] tweaked toml for git repo https://github.com/xiaopengli89/precord written to /workspace/builds/worker-11/source/Cargo.toml [INFO] crate git repo https://github.com/xiaopengli89/precord already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+722e1797249a965b6335aebd65d777f917e498f1" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating git repository `https://github.com/xiaopengli89/heim` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded async-lock v2.4.0 [INFO] [stderr] Downloaded web-sys v0.3.51 [INFO] [stderr] Downloaded js-sys v0.3.51 [INFO] [stderr] Downloaded async-io v1.6.0 [INFO] [stderr] Downloaded darwin-libproc v0.2.0 [INFO] [stderr] Downloaded macaddr v1.0.1 [INFO] [stderr] Downloaded polling v2.1.0 [INFO] [stderr] Downloaded futures-executor v0.3.15 [INFO] [stderr] Downloaded wepoll-ffi v0.1.2 [INFO] [stderr] Downloaded darwin-libproc-sys v0.2.0 [INFO] [stderr] Downloaded widestring v1.0.0-beta.1 [INFO] [stderr] Downloaded libc v0.2.106 [INFO] [stderr] Downloaded wmi v0.9.1 [INFO] [stderr] Downloaded uom v0.31.1 [INFO] [stderr] Downloaded async-fs v1.5.0 [INFO] [stderr] Downloaded async-net v1.6.1 [INFO] [stderr] Downloaded plotters v0.3.1 [INFO] [stderr] Downloaded line-wrap v0.1.1 [INFO] [stderr] Downloaded bytemuck v1.7.0 [INFO] [stderr] Downloaded CoreFoundation-sys v0.1.4 [INFO] [stderr] Downloaded mach v0.1.2 [INFO] [stderr] Downloaded IOKit-sys v0.1.5 [INFO] [stderr] Downloaded signal-hook v0.3.9 [INFO] [stderr] Downloaded async-process v1.1.0 [INFO] [stderr] Downloaded fastrand v1.4.1 [INFO] [stderr] Downloaded smol v1.2.5 [INFO] [stderr] Downloaded plotters-bitmap v0.3.1 [INFO] [stderr] Downloaded plist v1.2.1 [INFO] [stderr] Downloaded plotters-backend v0.3.2 [INFO] [stderr] Downloaded plotters-svg v0.3.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+722e1797249a965b6335aebd65d777f917e498f1" "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] e725ab8ee983c5f02e1e60532391abc86052a9e1046489629cab859c340d4738 [INFO] running `Command { std: "docker" "start" "-a" "e725ab8ee983c5f02e1e60532391abc86052a9e1046489629cab859c340d4738", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e725ab8ee983c5f02e1e60532391abc86052a9e1046489629cab859c340d4738", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e725ab8ee983c5f02e1e60532391abc86052a9e1046489629cab859c340d4738", kill_on_drop: false }` [INFO] [stdout] e725ab8ee983c5f02e1e60532391abc86052a9e1046489629cab859c340d4738 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+722e1797249a965b6335aebd65d777f917e498f1" "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] cfa6a237fe35fc4622e7c874c3dcc65b137dc738bed135aecd05c778256b678b [INFO] running `Command { std: "docker" "start" "-a" "cfa6a237fe35fc4622e7c874c3dcc65b137dc738bed135aecd05c778256b678b", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling libc v0.2.106 [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Compiling futures-core v0.3.15 [INFO] [stderr] Compiling syn v1.0.73 [INFO] [stderr] Compiling futures-io v0.3.15 [INFO] [stderr] Compiling cache-padded v1.1.1 [INFO] [stderr] Compiling slab v0.4.3 [INFO] [stderr] Compiling waker-fn v1.1.0 [INFO] [stderr] Compiling parking v2.0.0 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling event-listener v2.5.1 [INFO] [stderr] Compiling pkg-config v0.3.19 [INFO] [stderr] Compiling futures-task v0.3.15 [INFO] [stderr] Compiling async-task v4.0.3 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling signal-hook v0.3.9 [INFO] [stderr] Compiling atomic-waker v1.0.0 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling typenum v1.13.0 [INFO] [stderr] Compiling heim-common v0.1.0-rc.1 (https://github.com/xiaopengli89/heim?rev=3848144#3848144b) [INFO] [stderr] Compiling serde_derive v1.0.127 [INFO] [stderr] Compiling futures-timer v3.0.2 [INFO] [stderr] Compiling crc32fast v1.2.1 [INFO] [stderr] Compiling platforms v1.1.0 [INFO] [stderr] Compiling serde v1.0.127 [INFO] [stderr] Compiling async-trait v0.1.50 [INFO] [stderr] Compiling heim-host v0.1.0-rc.1 (https://github.com/xiaopengli89/heim?rev=3848144#3848144b) [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling plotters-backend v0.3.2 [INFO] [stderr] Compiling macaddr v1.0.1 [INFO] [stderr] Compiling glob v0.3.0 [INFO] [stderr] Compiling unicode-width v0.1.8 [INFO] [stderr] Compiling vec_map v0.8.2 [INFO] [stderr] Compiling termcolor v1.1.2 [INFO] [stderr] Compiling ttf-parser v0.12.3 [INFO] [stderr] Compiling itoa v0.4.8 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling num-rational v0.3.2 [INFO] [stderr] Compiling futures-macro v0.3.15 [INFO] [stderr] Compiling futures-util v0.3.15 [INFO] [stderr] Compiling num-iter v0.1.42 [INFO] [stderr] Compiling cmake v0.1.45 [INFO] [stderr] Compiling concurrent-queue v1.2.2 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling async-lock v2.4.0 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Compiling textwrap v0.12.1 [INFO] [stderr] Compiling plotters-svg v0.3.1 [INFO] [stderr] Compiling proc-macro2 v1.0.27 [INFO] [stderr] Compiling servo-fontconfig-sys v5.1.0 [INFO] [stderr] Compiling freetype-sys v0.13.1 [INFO] [stderr] Compiling expat-sys v2.1.6 [INFO] [stderr] Compiling csv-core v0.1.10 [INFO] [stderr] Compiling futures-lite v1.12.0 [INFO] [stderr] Compiling async-channel v1.6.1 [INFO] [stderr] Compiling futures-channel v0.3.15 [INFO] [stderr] Compiling png v0.16.8 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling ordered-float v2.7.0 [INFO] [stderr] Compiling blocking v1.0.2 [INFO] [stderr] Compiling async-executor v1.4.1 [INFO] [stderr] Compiling async-fs v1.5.0 [INFO] [stderr] Compiling polling v2.1.0 [INFO] [stderr] Compiling socket2 v0.4.0 [INFO] [stderr] Compiling signal-hook-registry v1.4.0 [INFO] [stderr] Compiling nix v0.20.0 [INFO] [stderr] Compiling dirs-sys-next v0.1.2 [INFO] [stderr] Compiling time v0.1.44 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling dirs-next v2.0.0 [INFO] [stderr] Compiling uom v0.31.1 [INFO] [stderr] Compiling image v0.23.14 [INFO] [stderr] Compiling async-io v1.6.0 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Compiling freetype v0.7.0 [INFO] [stderr] Compiling servo-fontconfig v0.5.1 [INFO] [stderr] Compiling font-kit v0.10.1 [INFO] [stderr] Compiling async-process v1.1.0 [INFO] [stderr] Compiling async-net v1.6.1 [INFO] [stderr] Compiling smol v1.2.5 [INFO] [stderr] Compiling plotters-bitmap v0.3.1 [INFO] [stderr] Compiling plotters v0.3.1 [INFO] [stderr] Compiling clap_derive v3.0.0-beta.2 [INFO] [stderr] Compiling clap v3.0.0-beta.2 [INFO] [stderr] Compiling futures-executor v0.3.15 [INFO] [stderr] Compiling futures v0.3.15 [INFO] [stderr] Compiling heim-runtime v0.1.0-rc.1 (https://github.com/xiaopengli89/heim?rev=3848144#3848144b) [INFO] [stderr] Compiling bstr v0.2.15 [INFO] [stderr] Compiling precord-core v0.2.8 (/opt/rustwide/workdir/precord-core) [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> precord-core/src/system.rs:78:36 [INFO] [stdout] | [INFO] [stdout] 78 | pub fn cpu_frequency(&self) -> Vec { [INFO] [stdout] | ------------- ^^^^^^^^ expected struct `Vec`, found `()` [INFO] [stdout] | | [INFO] [stdout] | implicitly returns `()` as its body has no tail or `return` expression [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Vec` [INFO] [stdout] found unit type `()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> precord-core/src/system.rs:95:56 [INFO] [stdout] | [INFO] [stdout] 95 | pub fn process_gpu_percent(&mut self, pid: Pid) -> Option { [INFO] [stdout] | ------------------- ^^^^^^^^^^^ expected enum `Option`, found `()` [INFO] [stdout] | | [INFO] [stdout] | implicitly returns `()` as its body has no tail or `return` expression [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Option` [INFO] [stdout] found unit type `()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> precord-core/src/system.rs:107:45 [INFO] [stdout] | [INFO] [stdout] 107 | pub fn system_gpu_percent(&mut self) -> Option { [INFO] [stdout] | ------------------ ^^^^^^^^^^^ expected enum `Option`, found `()` [INFO] [stdout] | | [INFO] [stdout] | implicitly returns `()` as its body has no tail or `return` expression [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Option` [INFO] [stdout] found unit type `()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `precord-core` due to 4 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "cfa6a237fe35fc4622e7c874c3dcc65b137dc738bed135aecd05c778256b678b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cfa6a237fe35fc4622e7c874c3dcc65b137dc738bed135aecd05c778256b678b", kill_on_drop: false }` [INFO] [stdout] cfa6a237fe35fc4622e7c874c3dcc65b137dc738bed135aecd05c778256b678b