[INFO] cloning repository https://github.com/domodwyer/pmc-rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/domodwyer/pmc-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdomodwyer%2Fpmc-rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdomodwyer%2Fpmc-rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 038930a63598501a4ac5b25bd60a2aa8ac2f22b9 [INFO] checking domodwyer/pmc-rs against master#5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f for pr-87248 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdomodwyer%2Fpmc-rs" "/workspace/builds/worker-4/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/domodwyer/pmc-rs on toolchain 5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/domodwyer/pmc-rs [INFO] finished tweaking git repo https://github.com/domodwyer/pmc-rs [INFO] tweaked toml for git repo https://github.com/domodwyer/pmc-rs written to /workspace/builds/worker-4/source/Cargo.toml [INFO] crate git repo https://github.com/domodwyer/pmc-rs already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "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-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "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] df2ade22268859f07dd061495ea822088bf902917f533050ca1bae57b742b21d [INFO] running `Command { std: "docker" "start" "-a" "df2ade22268859f07dd061495ea822088bf902917f533050ca1bae57b742b21d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "df2ade22268859f07dd061495ea822088bf902917f533050ca1bae57b742b21d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "df2ade22268859f07dd061495ea822088bf902917f533050ca1bae57b742b21d", kill_on_drop: false }` [INFO] [stdout] df2ade22268859f07dd061495ea822088bf902917f533050ca1bae57b742b21d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d4c69bbfa12f6a3ad35a9b65e0cccc858e22186459223b7fe673f58860e3d09c [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "d4c69bbfa12f6a3ad35a9b65e0cccc858e22186459223b7fe673f58860e3d09c", kill_on_drop: false }` [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling proc-macro2 v1.0.27 [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stderr] Compiling unicode-width v0.1.8 [INFO] [stderr] Compiling ansi_term v0.11.0 [INFO] [stderr] Compiling termcolor v1.1.2 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling bindgen v0.55.1 [INFO] [stderr] Compiling vec_map v0.8.2 [INFO] [stderr] Compiling shlex v0.1.1 [INFO] [stderr] Compiling rustc-hash v1.1.0 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling lazycell v1.3.0 [INFO] [stderr] Compiling nom v5.1.2 [INFO] [stderr] Compiling clang-sys v1.2.0 [INFO] [stderr] Compiling libloading v0.7.0 [INFO] [stderr] Compiling libc v0.2.97 [INFO] [stderr] Compiling memchr v2.4.0 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Checking pmc-rs v0.2.1 (/opt/rustwide/workdir/pmc-rs) [INFO] [stdout] error[E0531]: cannot find unit struct, unit variant or constant `EPROGMISMATCH` in crate `libc` [INFO] [stdout] --> pmc-rs/src/counter.rs:358:28 [INFO] [stdout] | [INFO] [stdout] 358 | Some(libc::EPROGMISMATCH) => Err(new_os_error(ErrorKind::VersionMismatch)), [INFO] [stdout] | ^^^^^^^^^^^^^ not found in `libc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `SIGINFO` in crate `libc` [INFO] [stdout] --> pmc-rs/src/signal.rs:75:25 [INFO] [stdout] | [INFO] [stdout] 75 | raise(libc::SIGINFO); [INFO] [stdout] | ^^^^^^^ help: a constant with a similar name exists: `SIGINT` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/libc-0.2.97/src/unix/linux_like/mod.rs:533:1 [INFO] [stdout] | [INFO] [stdout] 533 | pub const SIGINT: ::c_int = 2; [INFO] [stdout] | ------------------------------ similarly named constant `SIGINT` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find unit struct, unit variant or constant `EPROGMISMATCH` in crate `libc` [INFO] [stdout] --> pmc-rs/src/counter.rs:358:28 [INFO] [stdout] | [INFO] [stdout] 358 | Some(libc::EPROGMISMATCH) => Err(new_os_error(ErrorKind::VersionMismatch)), [INFO] [stdout] | ^^^^^^^^^^^^^ not found in `libc` [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 E0531`. [INFO] [stdout] [INFO] [stderr] error: could not compile `pmc-rs` due to 2 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0531. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "d4c69bbfa12f6a3ad35a9b65e0cccc858e22186459223b7fe673f58860e3d09c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d4c69bbfa12f6a3ad35a9b65e0cccc858e22186459223b7fe673f58860e3d09c", kill_on_drop: false }` [INFO] [stdout] d4c69bbfa12f6a3ad35a9b65e0cccc858e22186459223b7fe673f58860e3d09c