[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] b201b08cf658bce62b70d6670d292c5d1a0c9b08 [INFO] checking domodwyer/pmc-rs/b201b08cf658bce62b70d6670d292c5d1a0c9b08 against master#f609b7e0586f81fefb3523e3e17adf779ac416be for pr-129466-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdomodwyer%2Fpmc-rs" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/domodwyer/pmc-rs on toolchain f609b7e0586f81fefb3523e3e17adf779ac416be [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "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-7-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 43 packages to latest compatible versions [INFO] [stderr] Adding bindgen v0.64.0 (available: v0.70.1) [INFO] [stderr] Adding bitflags v1.3.2 (available: v2.6.0) [INFO] [stderr] Adding linux-raw-sys v0.4.14 (available: v0.6.5) [INFO] [stderr] Adding peeking_take_while v0.1.2 (available: v1.0.0) [INFO] [stderr] Adding rustc-hash v1.1.0 (available: v2.0.0) [INFO] [stderr] Adding syn v1.0.109 (available: v2.0.79) [INFO] [stderr] Adding which v4.4.2 (available: v6.0.3) [INFO] [stderr] Adding windows-sys v0.52.0 (available: v0.59.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: /workspace/builds/worker-7-tc1/source/pmc-sys/Cargo.toml: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a2c40d0d2ec475d2ec73e24dc7e0c8ab3b2d0ad4edb70cad8153f36bcc0e24d5 [INFO] running `Command { std: "docker" "start" "-a" "a2c40d0d2ec475d2ec73e24dc7e0c8ab3b2d0ad4edb70cad8153f36bcc0e24d5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a2c40d0d2ec475d2ec73e24dc7e0c8ab3b2d0ad4edb70cad8153f36bcc0e24d5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a2c40d0d2ec475d2ec73e24dc7e0c8ab3b2d0ad4edb70cad8153f36bcc0e24d5", kill_on_drop: false }` [INFO] [stdout] a2c40d0d2ec475d2ec73e24dc7e0c8ab3b2d0ad4edb70cad8153f36bcc0e24d5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/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" "RUSTDOCFLAGS=--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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 222800f4df798949d81053edf1657119da37538c0ce600ddc23586a8173bf287 [INFO] running `Command { std: "docker" "start" "-a" "222800f4df798949d81053edf1657119da37538c0ce600ddc23586a8173bf287", kill_on_drop: false }` [INFO] [stderr] warning: /opt/rustwide/workdir/pmc-sys/Cargo.toml: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Compiling libc v0.2.159 [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Compiling rustix v0.38.37 [INFO] [stderr] Compiling unicode-ident v1.0.13 [INFO] [stderr] Compiling bitflags v2.6.0 [INFO] [stderr] Compiling regex-syntax v0.8.4 [INFO] [stderr] Compiling clang-sys v1.8.1 [INFO] [stderr] Compiling linux-raw-sys v0.4.14 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling libloading v0.8.5 [INFO] [stderr] Compiling either v1.13.0 [INFO] [stderr] Compiling bindgen v0.64.0 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Compiling log v0.4.22 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling regex-automata v0.4.7 [INFO] [stderr] Checking pmc-rs v0.2.2 (/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:355:28 [INFO] [stdout] | [INFO] [stdout] 355 | 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 1 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` (lib) due to 2 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "222800f4df798949d81053edf1657119da37538c0ce600ddc23586a8173bf287", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "222800f4df798949d81053edf1657119da37538c0ce600ddc23586a8173bf287", kill_on_drop: false }` [INFO] [stdout] 222800f4df798949d81053edf1657119da37538c0ce600ddc23586a8173bf287