[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] d931f4ec20080bd3e77de1e82b1e3b7729bfd153 [INFO] checking SpiralP/rust-win-toast against try#f47dd4da3ae8c32c9e65d307bfe640b143e674df for pr-77526 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSpiralP%2Frust-win-toast" "/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/SpiralP/rust-win-toast on toolchain f47dd4da3ae8c32c9e65d307bfe640b143e674df [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "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-5/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" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating git repository `https://github.com/SpiralP/rust-win-toast-sys.git` [INFO] [stderr] Updating git submodule `https://github.com/SpiralP/WinToast.git` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded regex-syntax v0.6.16 [INFO] [stderr] Downloaded backtrace-sys v0.1.33 [INFO] [stderr] Downloaded regex v1.3.4 [INFO] [stderr] Downloaded bindgen v0.53.1 [INFO] [stderr] Downloaded which v3.1.0 [INFO] [stderr] Downloaded aho-corasick v0.7.9 [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" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "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] 60963d8e42095ed9d345f625e2223935cf687cdd99d91f756c31c4e9375f1680 [INFO] running `Command { std: "docker" "start" "-a" "60963d8e42095ed9d345f625e2223935cf687cdd99d91f756c31c4e9375f1680", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "60963d8e42095ed9d345f625e2223935cf687cdd99d91f756c31c4e9375f1680", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "60963d8e42095ed9d345f625e2223935cf687cdd99d91f756c31c4e9375f1680", kill_on_drop: false }` [INFO] [stdout] 60963d8e42095ed9d345f625e2223935cf687cdd99d91f756c31c4e9375f1680 [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" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ce09be41f30c28692ad2e4ad527cafdc7ea2b57444d53f6b1dcad5d0a64eaf34 [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" "ce09be41f30c28692ad2e4ad527cafdc7ea2b57444d53f6b1dcad5d0a64eaf34", kill_on_drop: false }` [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 lazy_static v1.4.0 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling unicode-width v0.1.7 [INFO] [stderr] Compiling quick-error v1.2.3 [INFO] [stderr] Compiling bindgen v0.53.1 [INFO] [stderr] Compiling syn v1.0.16 [INFO] [stderr] Compiling termcolor v1.1.0 [INFO] [stderr] Compiling rustc-hash v1.1.0 [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 libloading v0.5.2 [INFO] [stderr] Compiling backtrace-sys v0.1.33 [INFO] [stderr] Compiling nom v4.2.3 [INFO] [stderr] Compiling thread_local v1.0.1 [INFO] [stderr] Compiling humantime v1.3.0 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling which v3.1.0 [INFO] [stderr] Compiling clap v2.33.0 [INFO] [stderr] Compiling clang-sys v0.28.1 [INFO] [stderr] Compiling aho-corasick v0.7.9 [INFO] [stderr] Compiling quote v1.0.3 [INFO] [stderr] Checking backtrace v0.3.45 [INFO] [stderr] Compiling cexpr v0.3.6 [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-774fab15b8578ffa/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-19111daa62fd2f2f/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-19111daa62fd2f2f/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" "ce09be41f30c28692ad2e4ad527cafdc7ea2b57444d53f6b1dcad5d0a64eaf34", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ce09be41f30c28692ad2e4ad527cafdc7ea2b57444d53f6b1dcad5d0a64eaf34", kill_on_drop: false }` [INFO] [stdout] ce09be41f30c28692ad2e4ad527cafdc7ea2b57444d53f6b1dcad5d0a64eaf34