[INFO] cloning repository https://github.com/SpiralP/rust-win-toast [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/SpiralP/rust-win-toast" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSpiralP%2Frust-win-toast", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSpiralP%2Frust-win-toast'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] b0b496c042ff1f9e79dc4da9297c36c853fe476a [INFO] checking SpiralP/rust-win-toast against master#a609fb45efad59dfd459c76e50899be9f0583b5a for pr-80579 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSpiralP%2Frust-win-toast" "/workspace/builds/worker-9/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-9/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/SpiralP/rust-win-toast on toolchain a609fb45efad59dfd459c76e50899be9f0583b5a [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/SpiralP/rust-win-toast [INFO] finished tweaking git repo https://github.com/SpiralP/rust-win-toast [INFO] tweaked toml for git repo https://github.com/SpiralP/rust-win-toast written to /workspace/builds/worker-9/source/Cargo.toml [INFO] crate git repo https://github.com/SpiralP/rust-win-toast already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "fetch" "--locked" "--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-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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" "rustops/crates-build-env@sha256:c8ac004eab7d63a0ad09a2dde3d3353ba464f767bee4de425dc8f74c46a1905e" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a0114917f9f63dc9e773e39eb5ee8de257d54c5596896c50a0494f712a7fbc5c [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" "a0114917f9f63dc9e773e39eb5ee8de257d54c5596896c50a0494f712a7fbc5c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a0114917f9f63dc9e773e39eb5ee8de257d54c5596896c50a0494f712a7fbc5c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a0114917f9f63dc9e773e39eb5ee8de257d54c5596896c50a0494f712a7fbc5c", kill_on_drop: false }` [INFO] [stdout] a0114917f9f63dc9e773e39eb5ee8de257d54c5596896c50a0494f712a7fbc5c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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" "rustops/crates-build-env@sha256:c8ac004eab7d63a0ad09a2dde3d3353ba464f767bee4de425dc8f74c46a1905e" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 34ab8ec3c234156caa77245b25f4c6606afe6fc9e61ebb666ca84e823f66f615 [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" "34ab8ec3c234156caa77245b25f4c6606afe6fc9e61ebb666ca84e823f66f615", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.67 [INFO] [stderr] Compiling cc v1.0.50 [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Compiling proc-macro2 v1.0.9 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Compiling glob v0.3.0 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling unicode-width v0.1.7 [INFO] [stderr] Compiling regex-syntax v0.6.16 [INFO] [stderr] Compiling quick-error v1.2.3 [INFO] [stderr] Compiling syn v1.0.16 [INFO] [stderr] Compiling termcolor v1.1.0 [INFO] [stderr] Compiling vec_map v0.8.1 [INFO] [stderr] Compiling bindgen v0.53.1 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling ansi_term v0.11.0 [INFO] [stderr] Compiling shlex v0.1.1 [INFO] [stderr] Compiling rustc-hash v1.1.0 [INFO] [stderr] Compiling peeking_take_while v0.1.2 [INFO] [stderr] Compiling lazycell v1.2.1 [INFO] [stderr] Compiling failure_derive v0.1.7 [INFO] [stderr] Checking rustc-demangle v0.1.16 [INFO] [stderr] Checking widestring v0.4.0 [INFO] [stderr] Compiling nom v4.2.3 [INFO] [stderr] Compiling humantime v1.3.0 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling clang-sys v0.28.1 [INFO] [stderr] Compiling aho-corasick v0.7.9 [INFO] [stderr] Compiling libloading v0.5.2 [INFO] [stderr] Compiling backtrace-sys v0.1.33 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling which v3.1.0 [INFO] [stderr] Compiling clap v2.33.0 [INFO] [stderr] Compiling quote v1.0.3 [INFO] [stderr] Compiling cexpr v0.3.6 [INFO] [stderr] Checking backtrace v0.3.45 [INFO] [stderr] Compiling regex v1.3.4 [INFO] [stderr] Compiling env_logger v0.7.1 [INFO] [stderr] Compiling synstructure v0.12.3 [INFO] [stderr] Checking failure v0.1.7 [INFO] [stderr] Compiling win-toast-sys v0.1.0 (https://github.com/SpiralP/rust-win-toast-sys.git#bfab697b) [INFO] [stderr] The following warnings were emitted during compilation: [INFO] [stderr] [INFO] [stderr] warning: In file included from ./WinToast/src/wintoastlib.cpp:21: [INFO] [stderr] warning: ./WinToast/src/wintoastlib.h:23:10: fatal error: Windows.h: No such file or directory [INFO] [stderr] warning: 23 | #include [INFO] [stderr] warning: | ^~~~~~~~~~~ [INFO] [stderr] warning: compilation terminated. [INFO] [stderr] [INFO] [stderr] error: failed to run custom build command for `win-toast-sys v0.1.0 (https://github.com/SpiralP/rust-win-toast-sys.git#bfab697b)` [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `/opt/rustwide/target/debug/build/win-toast-sys-d95fcb975ce56a35/build-script-build` (exit code: 1) [INFO] [stderr] --- stdout [INFO] [stderr] cargo:rerun-if-changed=./WinToast/src/wintoastlib.cpp [INFO] [stderr] cargo:rerun-if-changed=./src/interface.cpp [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] CXX_x86_64-unknown-linux-gnu = None [INFO] [stderr] CXX_x86_64_unknown_linux_gnu = None [INFO] [stderr] HOST_CXX = None [INFO] [stderr] CXX = None [INFO] [stderr] CXXFLAGS_x86_64-unknown-linux-gnu = None [INFO] [stderr] CXXFLAGS_x86_64_unknown_linux_gnu = None [INFO] [stderr] HOST_CXXFLAGS = None [INFO] [stderr] CXXFLAGS = 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: "c++" "-O0" "-ffunction-sections" "-fdata-sections" "-fPIC" "-g" "-fno-omit-frame-pointer" "-m64" "-Wall" "-Wextra" "-o" "/opt/rustwide/target/debug/build/win-toast-sys-a92d4f98cec957cb/out/./WinToast/src/wintoastlib.o" "-c" "./WinToast/src/wintoastlib.cpp" [INFO] [stderr] cargo:warning=In file included from ./WinToast/src/wintoastlib.cpp:21: [INFO] [stderr] cargo:warning=./WinToast/src/wintoastlib.h:23:10: fatal error: Windows.h: No such file or directory [INFO] [stderr] cargo:warning= 23 | #include [INFO] [stderr] cargo:warning= | ^~~~~~~~~~~ [INFO] [stderr] cargo:warning=compilation terminated. [INFO] [stderr] exit code: 1 [INFO] [stderr] [INFO] [stderr] --- stderr [INFO] [stderr] [INFO] [stderr] [INFO] [stderr] error occurred: Command "c++" "-O0" "-ffunction-sections" "-fdata-sections" "-fPIC" "-g" "-fno-omit-frame-pointer" "-m64" "-Wall" "-Wextra" "-o" "/opt/rustwide/target/debug/build/win-toast-sys-a92d4f98cec957cb/out/./WinToast/src/wintoastlib.o" "-c" "./WinToast/src/wintoastlib.cpp" with args "c++" did not execute successfully (status code exit code: 1). [INFO] [stderr] [INFO] [stderr] [INFO] running `Command { std: "docker" "inspect" "34ab8ec3c234156caa77245b25f4c6606afe6fc9e61ebb666ca84e823f66f615", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "34ab8ec3c234156caa77245b25f4c6606afe6fc9e61ebb666ca84e823f66f615", kill_on_drop: false }` [INFO] [stdout] 34ab8ec3c234156caa77245b25f4c6606afe6fc9e61ebb666ca84e823f66f615