[INFO] cloning repository https://github.com/jordanph/test-hook-repo
[INFO] running `"git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/jordanph/test-hook-repo" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjordanph%2Ftest-hook-repo"`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjordanph%2Ftest-hook-repo'...
[INFO] running `"git" "rev-parse" "HEAD"`
[INFO] [stdout] c25e300bac0dd75e8f6e68dad564776838eab4ae
[INFO] testing jordanph/test-hook-repo against 1.101.0-beta.1+cargoflags=--release for beta-release-1.101-2
[INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjordanph%2Ftest-hook-repo" "/workspace/builds/worker-4-tc2/source"`
[INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/jordanph/test-hook-repo
[INFO] finished tweaking git repo https://github.com/jordanph/test-hook-repo
[INFO] tweaked toml for git repo https://github.com/jordanph/test-hook-repo written to /workspace/builds/worker-4-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/jordanph/test-hook-repo on toolchain 1.101.0-beta.1
[INFO] running `"cargo" "+1.101.0-beta.1" "metadata" "--manifest-path" "Cargo.toml" "--no-deps"`
[INFO] crate git repo https://github.com/jordanph/test-hook-repo already has a lockfile, it will not be regenerated
[INFO] running `"cargo" "+1.101.0-beta.1" "fetch" "--manifest-path" "Cargo.toml"`
[INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:13253766d39459fde29cea4e7c35a3fe37c2c19b4a224f71f2c27711c2837d36" "sleep" "infinity"`
[INFO] [stdout] 35f7e9d261fa85ae86699495cfb0e087de391156f2fa605b5ca213c24da22422
[INFO] running `"docker" "start" "35f7e9d261fa85ae86699495cfb0e087de391156f2fa605b5ca213c24da22422"`
[INFO] running `"docker" "inspect" "35f7e9d261fa85ae86699495cfb0e087de391156f2fa605b5ca213c24da22422"`
[INFO] running `"docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "35f7e9d261fa85ae86699495cfb0e087de391156f2fa605b5ca213c24da22422" "/opt/rustwide/cargo-home/bin/cargo" "+1.101.0-beta.1" "metadata" "--no-deps" "--format-version=1"`
[INFO] running `"docker" "inspect" "35f7e9d261fa85ae86699495cfb0e087de391156f2fa605b5ca213c24da22422"`
[INFO] running `"docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "35f7e9d261fa85ae86699495cfb0e087de391156f2fa605b5ca213c24da22422" "/opt/rustwide/cargo-home/bin/cargo" "+1.101.0-beta.1" "build" "--frozen" "--message-format=json" "--release"`
[INFO] [stderr]    Compiling libc v0.2.70
[INFO] [stderr]    Compiling proc-macro2 v1.0.10
[INFO] [stderr]    Compiling syn v1.0.17
[INFO] [stderr]    Compiling autocfg v1.0.0
[INFO] [stderr]    Compiling memchr v2.3.3
[INFO] [stderr]    Compiling log v0.4.8
[INFO] [stderr]    Compiling autocfg v0.1.7
[INFO] [stderr]    Compiling bytes v0.5.4
[INFO] [stderr]    Compiling rand_core v0.4.2
[INFO] [stderr]    Compiling itoa v0.4.5
[INFO] [stderr]    Compiling cc v1.0.50
[INFO] [stderr]    Compiling fnv v1.0.6
[INFO] [stderr]    Compiling futures-core v0.3.4
[INFO] [stderr]    Compiling serde v1.0.106
[INFO] [stderr]    Compiling proc-macro-hack v0.5.15
[INFO] [stderr]    Compiling rand_pcg v0.1.2
[INFO] [stderr]    Compiling rand_chacha v0.1.1
[INFO] [stderr]    Compiling rand_core v0.3.1
[INFO] [stderr]    Compiling futures-sink v0.3.4
[INFO] [stderr]    Compiling proc-macro-nested v0.1.4
[INFO] [stderr]    Compiling http v0.2.1
[INFO] [stderr]    Compiling num-traits v0.2.11
[INFO] [stderr]    Compiling rand v0.6.5
[INFO] [stderr]    Compiling net2 v0.2.33
[INFO] [stderr]    Compiling iovec v0.1.4
[INFO] [stderr]    Compiling pkg-config v0.3.17
[INFO] [stderr]    Compiling quote v1.0.3
[INFO] [stderr]    Compiling pin-project-lite v0.1.4
[INFO] [stderr]    Compiling arc-swap v0.4.6
[INFO] [stderr]    Compiling unicase v2.6.0
[INFO] [stderr]    Compiling mio v0.6.21
[INFO] [stderr]    Compiling time v0.1.42
[INFO] [stderr]    Compiling openssl-sys v0.9.57
[INFO] [stderr]    Compiling futures-channel v0.3.4
[INFO] [stderr]    Compiling signal-hook-registry v1.2.0
[INFO] [stderr]    Compiling unicase v1.4.2
[INFO] [stderr]    Compiling typenum v1.11.2
[INFO] [stderr]    Compiling futures-io v0.3.4
[INFO] [stderr]    Compiling futures-task v0.3.4
[INFO] [stderr]    Compiling pin-utils v0.1.0-alpha.4
[INFO] [stderr]    Compiling httparse v1.3.4
[INFO] [stderr]    Compiling getrandom v0.1.14
[INFO] [stderr] warning: openssl-sys@0.9.57: build/expando.c:4:24: error: pasting "RUST_VERSION_OPENSSL_" and "(" does not give a valid preprocessing token
[INFO] [stderr] warning: openssl-sys@0.9.57:     4 | #define VERSION2(n, v) RUST_VERSION_##n##_##v
[INFO] [stderr] warning: openssl-sys@0.9.57:       |                        ^~~~~~~~~~~~~
[INFO] [stderr] warning: openssl-sys@0.9.57: build/expando.c:5:23: note: in expansion of macro 'VERSION2'
[INFO] [stderr] warning: openssl-sys@0.9.57:     5 | #define VERSION(n, v) VERSION2(n, v)
[INFO] [stderr] warning: openssl-sys@0.9.57:       |                       ^~~~~~~~
[INFO] [stderr] warning: openssl-sys@0.9.57: build/expando.c:10:1: note: in expansion of macro 'VERSION'
[INFO] [stderr] warning: openssl-sys@0.9.57:    10 | VERSION(OPENSSL, OPENSSL_VERSION_NUMBER)
[INFO] [stderr] warning: openssl-sys@0.9.57:       | ^~~~~~~
[INFO] [stderr] error: failed to run custom build command for `openssl-sys v0.9.57`
[INFO] [stderr] note: To improve backtraces for build dependencies, set the CARGO_PROFILE_RELEASE_BUILD_OVERRIDE_DEBUG=true environment variable to enable debug information generation.
[INFO] [stderr] 
[INFO] [stderr] Caused by:
[INFO] [stderr]   process didn't exit successfully: `/opt/rustwide/target/release/build/openssl-sys/abf19584791ec622/out/build_script_main` (exit status: 101)
[INFO] [stderr]   --- stdout
[INFO] [stderr]   cargo:rustc-cfg=const_fn
[INFO] [stderr]   cargo:rerun-if-env-changed=X86_64_UNKNOWN_LINUX_GNU_OPENSSL_LIB_DIR
[INFO] [stderr]   X86_64_UNKNOWN_LINUX_GNU_OPENSSL_LIB_DIR unset
[INFO] [stderr]   cargo:rerun-if-env-changed=OPENSSL_LIB_DIR
[INFO] [stderr]   OPENSSL_LIB_DIR unset
[INFO] [stderr]   cargo:rerun-if-env-changed=X86_64_UNKNOWN_LINUX_GNU_OPENSSL_INCLUDE_DIR
[INFO] [stderr]   X86_64_UNKNOWN_LINUX_GNU_OPENSSL_INCLUDE_DIR unset
[INFO] [stderr]   cargo:rerun-if-env-changed=OPENSSL_INCLUDE_DIR
[INFO] [stderr]   OPENSSL_INCLUDE_DIR unset
[INFO] [stderr]   cargo:rerun-if-env-changed=X86_64_UNKNOWN_LINUX_GNU_OPENSSL_DIR
[INFO] [stderr]   X86_64_UNKNOWN_LINUX_GNU_OPENSSL_DIR unset
[INFO] [stderr]   cargo:rerun-if-env-changed=OPENSSL_DIR
[INFO] [stderr]   OPENSSL_DIR unset
[INFO] [stderr]   cargo:rustc-link-lib=ssl
[INFO] [stderr]   cargo:rustc-link-lib=crypto
[INFO] [stderr]   OPT_LEVEL = Some("3")
[INFO] [stderr]   TARGET = Some("x86_64-unknown-linux-gnu")
[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("false")
[INFO] [stderr]   CARGO_CFG_TARGET_FEATURE = Some("fxsr,sse,sse2")
[INFO] [stderr]   running: "cc" "-O3" "-ffunction-sections" "-fdata-sections" "-fPIC" "-m64" "-I" "/usr/include" "-Wall" "-Wextra" "-E" "build/expando.c"
[INFO] [stderr]   cargo:warning=build/expando.c:4:24: error: pasting "RUST_VERSION_OPENSSL_" and "(" does not give a valid preprocessing token
[INFO] [stderr]   cargo:warning=    4 | #define VERSION2(n, v) RUST_VERSION_##n##_##v
[INFO] [stderr]   cargo:warning=      |                        ^~~~~~~~~~~~~
[INFO] [stderr]   cargo:warning=build/expando.c:5:23: note: in expansion of macro 'VERSION2'
[INFO] [stderr]   cargo:warning=    5 | #define VERSION(n, v) VERSION2(n, v)
[INFO] [stderr]   cargo:warning=      |                       ^~~~~~~~
[INFO] [stderr]   cargo:warning=build/expando.c:10:1: note: in expansion of macro 'VERSION'
[INFO] [stderr]   cargo:warning=   10 | VERSION(OPENSSL, OPENSSL_VERSION_NUMBER)
[INFO] [stderr]   cargo:warning=      | ^~~~~~~
[INFO] [stderr]   exit status: 1
[INFO] [stderr] 
[INFO] [stderr]   --- stderr
[INFO] [stderr] 
[INFO] [stderr]   thread 'main' (673) panicked at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/openssl-sys-0.9.57/build/main.rs:138:13:
[INFO] [stderr] 
[INFO] [stderr]   Header expansion error:
[INFO] [stderr]   Error { kind: ToolExecError, message: "Command \"cc\" \"-O3\" \"-ffunction-sections\" \"-fdata-sections\" \"-fPIC\" \"-m64\" \"-I\" \"/usr/include\" \"-Wall\" \"-Wextra\" \"-E\" \"build/expando.c\" with args \"cc\" did not execute successfully (status code exit status: 1)." }
[INFO] [stderr] 
[INFO] [stderr]   Failed to find OpenSSL development headers.
[INFO] [stderr] 
[INFO] [stderr]   You can try fixing this setting the `OPENSSL_DIR` environment variable
[INFO] [stderr]   pointing to your OpenSSL installation or installing OpenSSL headers package
[INFO] [stderr]   specific to your distribution:
[INFO] [stderr] 
[INFO] [stderr]       # On Ubuntu
[INFO] [stderr]       sudo apt-get install libssl-dev
[INFO] [stderr]       # On Arch Linux
[INFO] [stderr]       sudo pacman -S openssl
[INFO] [stderr]       # On Fedora
[INFO] [stderr]       sudo dnf install openssl-devel
[INFO] [stderr] 
[INFO] [stderr]   See rust-openssl README for more information:
[INFO] [stderr] 
[INFO] [stderr]       https://github.com/sfackler/rust-openssl#linux
[INFO] [stderr] 
[INFO] [stderr]   stack backtrace:
[INFO] [stderr]      0:     0x5ac80e15f7f1 - <<std[218a0f7bb9a8af32]::sys::backtrace::BacktraceLock>::print::DisplayBacktrace as core[5c14b8d5a259cc4e]::fmt::Display>::fmt
[INFO] [stderr]      1:     0x5ac80e1742da - core[5c14b8d5a259cc4e]::fmt::write
[INFO] [stderr]      2:     0x5ac80e16585c - <std[218a0f7bb9a8af32]::sys::stdio::unix::Stderr as core[5c14b8d5a259cc4e]::io::write::Write>::write_fmt
[INFO] [stderr]      3:     0x5ac80e13f576 - std[218a0f7bb9a8af32]::panicking::default_hook::{closure#0}
[INFO] [stderr]      4:     0x5ac80e15a391 - std[218a0f7bb9a8af32]::panicking::default_hook
[INFO] [stderr]      5:     0x5ac80e15a54b - std[218a0f7bb9a8af32]::panicking::panic_with_hook
[INFO] [stderr]      6:     0x5ac80e13f622 - std[218a0f7bb9a8af32]::panicking::panic_handler::{closure#0}
[INFO] [stderr]      7:     0x5ac80e137c79 - std[218a0f7bb9a8af32]::sys::backtrace::__rust_end_short_backtrace::<std[218a0f7bb9a8af32]::panicking::panic_handler::{closure#0}, !>
[INFO] [stderr]      8:     0x5ac80e13fefd - __rustc[abc93889656912e2]::rust_begin_unwind
[INFO] [stderr]      9:     0x5ac80e174a0c - core[5c14b8d5a259cc4e]::panicking::panic_fmt
[INFO] [stderr]     10:     0x5ac80e0d8358 - build_script_main[4ed8b162c58ec843]::validate_headers
[INFO] [stderr]     11:     0x5ac80e0dafd7 - build_script_main[4ed8b162c58ec843]::find_normal::try_pkg_config
[INFO] [stderr]     12:     0x5ac80e0db343 - build_script_main[4ed8b162c58ec843]::find_normal::find_openssl_dir
[INFO] [stderr]     13:     0x5ac80e0d6817 - build_script_main[4ed8b162c58ec843]::find_normal::get_openssl::{closure#0}
[INFO] [stderr]     14:     0x5ac80e0d4b00 - <core[5c14b8d5a259cc4e]::option::Option<std[218a0f7bb9a8af32]::ffi::os_str::OsString>>::unwrap_or_else::<build_script_main[4ed8b162c58ec843]::find_normal::get_openssl::{closure#0}>
[INFO] [stderr]     15:     0x5ac80e0da98f - build_script_main[4ed8b162c58ec843]::find_normal::get_openssl
[INFO] [stderr]     16:     0x5ac80e0d68ed - build_script_main[4ed8b162c58ec843]::find_openssl
[INFO] [stderr]     17:     0x5ac80e0d88d4 - build_script_main[4ed8b162c58ec843]::main
[INFO] [stderr]     18:     0x5ac80e0ddbc3 - <fn() as core[5c14b8d5a259cc4e]::ops::function::FnOnce<()>>::call_once
[INFO] [stderr]     19:     0x5ac80e0d551e - std[218a0f7bb9a8af32]::sys::backtrace::__rust_begin_short_backtrace::<fn(), ()>
[INFO] [stderr]     20:     0x5ac80e0d5c89 - std[218a0f7bb9a8af32]::rt::lang_start::<()>::{closure#0}
[INFO] [stderr]     21:     0x5ac80e1597a8 - std[218a0f7bb9a8af32]::rt::lang_start_internal
[INFO] [stderr]     22:     0x5ac80e0d51d1 - std[218a0f7bb9a8af32]::rt::lang_start::<()>
[INFO] [stderr]     23:     0x5ac80e0ddd75 - main
[INFO] [stderr]     24:     0x73af08af9601 - <unknown>
[INFO] [stderr]     25:     0x73af08af9718 - __libc_start_main
[INFO] [stderr]     26:     0x5ac80e0d48f5 - _start
[INFO] [stderr]     27:                0x0 - <unknown>
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] running `"docker" "inspect" "35f7e9d261fa85ae86699495cfb0e087de391156f2fa605b5ca213c24da22422"`
[INFO] running `"docker" "rm" "-f" "35f7e9d261fa85ae86699495cfb0e087de391156f2fa605b5ca213c24da22422"`
[INFO] [stdout] 35f7e9d261fa85ae86699495cfb0e087de391156f2fa605b5ca213c24da22422
