[INFO] cloning repository https://github.com/pythonspeed/filprofiler [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/pythonspeed/filprofiler" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpythonspeed%2Ffilprofiler", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpythonspeed%2Ffilprofiler'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] fc7ace183ed55b47f75e2f9b3def294b2f9ec87d [INFO] checking pythonspeed/filprofiler against master#7dc9ff5c629753b6930ecfe9a0446538b8e25fb7 for pr-85387 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpythonspeed%2Ffilprofiler" "/workspace/builds/worker-5/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/pythonspeed/filprofiler on toolchain 7dc9ff5c629753b6930ecfe9a0446538b8e25fb7 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+7dc9ff5c629753b6930ecfe9a0446538b8e25fb7" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/pythonspeed/filprofiler [INFO] finished tweaking git repo https://github.com/pythonspeed/filprofiler [INFO] tweaked toml for git repo https://github.com/pythonspeed/filprofiler written to /workspace/builds/worker-5/source/Cargo.toml [INFO] crate git repo https://github.com/pythonspeed/filprofiler already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+7dc9ff5c629753b6930ecfe9a0446538b8e25fb7" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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" "+7dc9ff5c629753b6930ecfe9a0446538b8e25fb7" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f4afb99ae57f0f521d72b3d3fb8e8ba8a60e82c247cb59b08a4102e5da8518f4 [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" "f4afb99ae57f0f521d72b3d3fb8e8ba8a60e82c247cb59b08a4102e5da8518f4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f4afb99ae57f0f521d72b3d3fb8e8ba8a60e82c247cb59b08a4102e5da8518f4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f4afb99ae57f0f521d72b3d3fb8e8ba8a60e82c247cb59b08a4102e5da8518f4", kill_on_drop: false }` [INFO] [stdout] f4afb99ae57f0f521d72b3d3fb8e8ba8a60e82c247cb59b08a4102e5da8518f4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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" "+7dc9ff5c629753b6930ecfe9a0446538b8e25fb7" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c1fed77fcdeef7cc80bcc8a109888bd5a7222d127f124b06ab516135cdc77620 [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" "c1fed77fcdeef7cc80bcc8a109888bd5a7222d127f124b06ab516135cdc77620", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.86 [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling version_check v0.9.2 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Checking once_cell v1.7.2 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling typenum v1.12.0 [INFO] [stderr] Compiling arrayvec v0.4.12 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Compiling nix v0.17.0 [INFO] [stderr] Compiling inventory v0.1.10 [INFO] [stderr] Compiling nix v0.18.0 [INFO] [stderr] Compiling pyo3 v0.13.2 [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking unindent v0.1.7 [INFO] [stderr] Checking either v1.6.1 [INFO] [stderr] Checking str_stack v0.1.0 [INFO] [stderr] Checking quick-error v1.2.3 [INFO] [stderr] Checking byteorder v1.4.2 [INFO] [stderr] Compiling filpreload v0.1.0 (/opt/rustwide/workdir/filpreload) [INFO] [stderr] Checking rgb v0.8.25 [INFO] [stderr] Checking lock_api v0.4.2 [INFO] [stderr] Checking thread_local v1.1.3 [INFO] [stderr] Compiling jemalloc-sys v0.3.2 [INFO] [stderr] Checking rand_xoshiro v0.4.0 [INFO] [stderr] Checking itertools v0.10.0 [INFO] [stderr] Checking quick-xml v0.20.0 [INFO] [stderr] Compiling paste-impl v0.1.18 [INFO] [stderr] Checking regex v1.4.3 [INFO] [stderr] Compiling ahash v0.6.3 [INFO] [stderr] Compiling ahash v0.7.0 [INFO] [stderr] Compiling im v15.0.0 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] The following warnings were emitted during compilation: [INFO] [stderr] [INFO] [stderr] warning: src/_filpreload.c:1:10: fatal error: Python.h: No such file or directory [INFO] [stderr] warning: 1 | #include "Python.h" [INFO] [stderr] warning: | ^~~~~~~~~~ [INFO] [stderr] warning: compilation terminated. [INFO] [stderr] [INFO] [stderr] error: failed to run custom build command for `filpreload v0.1.0 (/opt/rustwide/workdir/filpreload)` [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `/opt/rustwide/target/debug/build/filpreload-b239c1796fc34eea/build-script-build` (exit status: 1) [INFO] [stderr] --- stdout [INFO] [stderr] cargo:rerun-if-changed=src/_filpreload.c [INFO] [stderr] cargo:rustc-cdylib-link-arg=-fuse-ld=gold [INFO] [stderr] cargo:rustc-cdylib-link-arg=-Wl,--version-script=/opt/rustwide/workdir/filpreload/versionscript.txt [INFO] [stderr] cargo:rustc-cdylib-link-arg=-Wl,--defsym=aligned_alloc=reimplemented_aligned_alloc [INFO] [stderr] cargo:rustc-cdylib-link-arg=-Wl,--defsym=mmap=fil_mmap_impl [INFO] [stderr] cargo:rustc-cdylib-link-arg=-Wl,--defsym=mmap64=fil_mmap_impl [INFO] [stderr] TARGET = Some("x86_64-unknown-linux-gnu") [INFO] [stderr] OPT_LEVEL = Some("0") [INFO] [stderr] HOST = Some("x86_64-unknown-linux-gnu") [INFO] [stderr] CC_x86_64-unknown-linux-gnu = None [INFO] [stderr] CC_x86_64_unknown_linux_gnu = None [INFO] [stderr] HOST_CC = None [INFO] [stderr] CC = None [INFO] [stderr] CFLAGS_x86_64-unknown-linux-gnu = None [INFO] [stderr] CFLAGS_x86_64_unknown_linux_gnu = None [INFO] [stderr] HOST_CFLAGS = None [INFO] [stderr] CFLAGS = None [INFO] [stderr] CRATE_CC_NO_DEFAULTS = None [INFO] [stderr] DEBUG = Some("true") [INFO] [stderr] CARGO_CFG_TARGET_FEATURE = Some("fxsr,sse,sse2") [INFO] [stderr] running: "cc" "-O0" "-ffunction-sections" "-fdata-sections" "-fPIC" "-g" "-fno-omit-frame-pointer" "-m64" "-Wall" "-Wextra" "-o" "/opt/rustwide/target/debug/build/filpreload-40d4a330a94d046a/out/src/_filpreload.o" "-c" "src/_filpreload.c" [INFO] [stderr] cargo:warning=src/_filpreload.c:1:10: fatal error: Python.h: No such file or directory [INFO] [stderr] cargo:warning= 1 | #include "Python.h" [INFO] [stderr] cargo:warning= | ^~~~~~~~~~ [INFO] [stderr] cargo:warning=compilation terminated. [INFO] [stderr] exit status: 1 [INFO] [stderr] [INFO] [stderr] --- stderr [INFO] [stderr] [INFO] [stderr] [INFO] [stderr] error occurred: Command "cc" "-O0" "-ffunction-sections" "-fdata-sections" "-fPIC" "-g" "-fno-omit-frame-pointer" "-m64" "-Wall" "-Wextra" "-o" "/opt/rustwide/target/debug/build/filpreload-40d4a330a94d046a/out/src/_filpreload.o" "-c" "src/_filpreload.c" with args "cc" did not execute successfully (status code exit status: 1). [INFO] [stderr] [INFO] [stderr] [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "c1fed77fcdeef7cc80bcc8a109888bd5a7222d127f124b06ab516135cdc77620", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c1fed77fcdeef7cc80bcc8a109888bd5a7222d127f124b06ab516135cdc77620", kill_on_drop: false }` [INFO] [stdout] c1fed77fcdeef7cc80bcc8a109888bd5a7222d127f124b06ab516135cdc77620