[INFO] cloning repository https://github.com/metajack/diem-sqlize [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/metajack/diem-sqlize" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmetajack%2Fdiem-sqlize", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmetajack%2Fdiem-sqlize'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 2d4b6981a8eccee10c0b490a47c443430c17f0aa [INFO] testing metajack/diem-sqlize/2d4b6981a8eccee10c0b490a47c443430c17f0aa against 1.83.0 for beta-1.84.0-4 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmetajack%2Fdiem-sqlize" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/metajack/diem-sqlize on toolchain 1.83.0 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.83.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/metajack/diem-sqlize [INFO] finished tweaking git repo https://github.com/metajack/diem-sqlize [INFO] tweaked toml for git repo https://github.com/metajack/diem-sqlize written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/metajack/diem-sqlize already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.83.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating git repository `https://github.com/diem/diem` [INFO] [stderr] Updating git repository `https://github.com/novifinancial/curve25519-dalek.git` [INFO] [stderr] Updating git repository `https://github.com/novifinancial/ed25519-dalek.git` [INFO] [stderr] Updating git repository `https://github.com/novifinancial/x25519-dalek.git` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded mirai-annotations v1.10.1 [INFO] [stderr] Downloaded sha-1 v0.9.3 [INFO] [stderr] Downloaded serde_yaml v0.8.15 [INFO] [stderr] Downloaded tokio-stream v0.1.2 [INFO] [stderr] Downloaded textwrap v0.13.2 [INFO] [stderr] Downloaded bcs v0.1.2 [INFO] [stderr] Downloaded serde-reflection v0.3.2 [INFO] [stderr] Downloaded handlebars v3.5.2 [INFO] [stderr] Downloaded serde-name v0.1.1 [INFO] [stderr] Downloaded fiat-crypto v0.1.6 [INFO] [stderr] Downloaded serde-generate v0.17.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+1.83.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1cd1f74555f4bd21b9af4ed84b5165c0b171cc64b61196c4b478650ca8e78a26 [INFO] running `Command { std: "docker" "start" "-a" "1cd1f74555f4bd21b9af4ed84b5165c0b171cc64b61196c4b478650ca8e78a26", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1cd1f74555f4bd21b9af4ed84b5165c0b171cc64b61196c4b478650ca8e78a26", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1cd1f74555f4bd21b9af4ed84b5165c0b171cc64b61196c4b478650ca8e78a26", kill_on_drop: false }` [INFO] [stdout] 1cd1f74555f4bd21b9af4ed84b5165c0b171cc64b61196c4b478650ca8e78a26 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+1.83.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b78fa520146b4ed9852f16a9163a929e3d14b5b7e543b5634a182f47a66738f3 [INFO] running `Command { std: "docker" "start" "-a" "b78fa520146b4ed9852f16a9163a929e3d14b5b7e543b5634a182f47a66738f3", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling syn v1.0.60 [INFO] [stderr] Compiling libc v0.2.84 [INFO] [stderr] Compiling serde_derive v1.0.123 [INFO] [stderr] Compiling serde v1.0.123 [INFO] [stderr] Compiling version_check v0.9.2 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling typenum v1.12.0 [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Compiling once_cell v1.5.2 [INFO] [stderr] Compiling ahash v0.4.7 [INFO] [stderr] Compiling itoa v0.4.7 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling opaque-debug v0.3.0 [INFO] [stderr] Compiling indexmap v1.6.1 [INFO] [stderr] Compiling subtle v2.4.0 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling byteorder v1.4.2 [INFO] [stderr] Compiling cpuid-bool v0.1.2 [INFO] [stderr] Compiling hashbrown v0.9.1 [INFO] [stderr] Compiling fixedbitset v0.2.0 [INFO] [stderr] Compiling itertools v0.10.0 [INFO] [stderr] Compiling anyhow v1.0.38 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Compiling ppv-lite86 v0.2.10 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling static_assertions v1.1.0 [INFO] [stderr] Compiling hex v0.4.2 [INFO] [stderr] Compiling crunchy v0.2.2 [INFO] [stderr] Compiling cpuid-bool v0.2.0 [INFO] [stderr] Compiling fiat-crypto v0.1.6 [INFO] [stderr] Compiling unicode-segmentation v1.7.1 [INFO] [stderr] Compiling mirai-annotations v1.10.1 [INFO] [stderr] Compiling signature v1.3.0 [INFO] [stderr] Compiling tiny-keccak v2.0.2 [INFO] [stderr] Compiling serde_json v1.0.61 [INFO] [stderr] Compiling ref-cast v1.0.6 [INFO] [stderr] Compiling proc-macro-hack v0.5.19 [INFO] [stderr] Compiling aho-corasick v0.7.15 [INFO] [stderr] Compiling quote v1.0.8 [INFO] [stderr] Compiling thread_local v1.1.2 [INFO] [stderr] Compiling petgraph v0.5.1 [INFO] [stderr] Compiling jobserver v0.1.21 [INFO] [stderr] Compiling time v0.1.44 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling pin-project-lite v0.2.4 [INFO] [stderr] Compiling regex-syntax v0.6.22 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling getrandom v0.2.2 [INFO] [stderr] Compiling cc v1.0.66 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling futures-core v0.3.12 [INFO] [stderr] Compiling unicode-width v0.1.8 [INFO] [stderr] Compiling slab v0.4.2 [INFO] [stderr] Compiling signal-hook-registry v1.3.0 [INFO] [stderr] Compiling heck v0.3.2 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Compiling bytes v1.0.1 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling futures-sink v0.3.12 [INFO] [stderr] Compiling proc-macro-nested v0.1.7 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling cipher v0.2.5 [INFO] [stderr] Compiling universal-hash v0.4.0 [INFO] [stderr] Compiling crypto-mac v0.10.0 [INFO] [stderr] Compiling aead v0.3.2 [INFO] [stderr] Compiling sha-1 v0.9.3 [INFO] [stderr] Compiling sha2 v0.9.3 [INFO] [stderr] Compiling polyval v0.4.5 [INFO] [stderr] Compiling aes-soft v0.6.4 [INFO] [stderr] Compiling ctr v0.6.0 [INFO] [stderr] Compiling hmac v0.10.1 [INFO] [stderr] Compiling pkg-config v0.3.19 [INFO] [stderr] Compiling ghash v0.3.1 [INFO] [stderr] Compiling hkdf v0.10.0 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling futures-channel v0.3.12 [INFO] [stderr] Compiling futures-task v0.3.12 [INFO] [stderr] Compiling aes v0.6.0 [INFO] [stderr] Compiling aes-gcm v0.8.0 [INFO] [stderr] Compiling futures-io v0.3.12 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling rand_core v0.6.1 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling net2 v0.2.37 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling ansi_term v0.11.0 [INFO] [stderr] Compiling vec_map v0.8.2 [INFO] [stderr] Compiling crossbeam-utils v0.8.1 [INFO] [stderr] Compiling instant v0.1.9 [INFO] [stderr] Compiling rand_chacha v0.3.0 [INFO] [stderr] Compiling pin-project-lite v0.1.11 [INFO] [stderr] Compiling maplit v1.0.2 [INFO] [stderr] Compiling termcolor v1.1.2 [INFO] [stderr] Compiling smallvec v1.6.1 [INFO] [stderr] Compiling lock_api v0.4.2 [INFO] [stderr] Compiling clap v2.33.3 [INFO] [stderr] Compiling num-bigint v0.3.1 [INFO] [stderr] Compiling num-iter v0.1.42 [INFO] [stderr] Compiling num-rational v0.3.2 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Compiling regex v1.4.3 [INFO] [stderr] Compiling rand v0.8.3 [INFO] [stderr] Compiling openssl v0.10.32 [INFO] [stderr] Compiling parking_lot_core v0.8.2 [INFO] [stderr] Compiling openssl-sys v0.9.60 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Compiling native-tls v0.2.7 [INFO] [stderr] Compiling matches v0.1.8 [INFO] [stderr] Compiling arrayvec v0.5.2 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling walkdir v2.3.1 [INFO] [stderr] Compiling parking_lot v0.11.1 [INFO] [stderr] Compiling num-complex v0.3.1 [INFO] [stderr] Compiling memoffset v0.6.1 [INFO] [stderr] Compiling const_fn v0.4.5 [INFO] [stderr] Compiling difference v2.0.0 [INFO] [stderr] Compiling pin-project-internal v0.4.27 [INFO] [stderr] Compiling tinyvec_macros v0.1.0 [INFO] [stderr] Compiling openssl-probe v0.1.2 [INFO] [stderr] Compiling tinyvec v1.1.1 [INFO] [stderr] Compiling crossbeam-channel v0.5.0 [INFO] [stderr] Compiling ucd-trie v0.1.3 [INFO] [stderr] Compiling unicode-bidi v0.3.4 [INFO] [stderr] The following warnings were emitted during compilation: [INFO] [stderr] [INFO] [stderr] warning: openssl-sys@0.9.60: 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.60: 4 | #define VERSION2(n, v) RUST_VERSION_##n##_##v [INFO] [stderr] warning: openssl-sys@0.9.60: | ^~~~~~~~~~~~~ [INFO] [stderr] warning: openssl-sys@0.9.60: build/expando.c:5:23: note: in expansion of macro 'VERSION2' [INFO] [stderr] warning: openssl-sys@0.9.60: 5 | #define VERSION(n, v) VERSION2(n, v) [INFO] [stderr] warning: openssl-sys@0.9.60: | ^~~~~~~~ [INFO] [stderr] warning: openssl-sys@0.9.60: build/expando.c:10:1: note: in expansion of macro 'VERSION' [INFO] [stderr] warning: openssl-sys@0.9.60: 10 | VERSION(OPENSSL, OPENSSL_VERSION_NUMBER) [INFO] [stderr] warning: openssl-sys@0.9.60: | ^~~~~~~ [INFO] [stderr] [INFO] [stderr] error: failed to run custom build command for `openssl-sys v0.9.60` [INFO] [stderr] note: To improve backtraces for build dependencies, set the CARGO_PROFILE_DEV_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/debug/build/openssl-sys-8e40f417a28ce0c0/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:rerun-if-env-changed=OPENSSL_NO_PKG_CONFIG [INFO] [stderr] cargo:rerun-if-env-changed=PKG_CONFIG [INFO] [stderr] cargo:rerun-if-env-changed=OPENSSL_STATIC [INFO] [stderr] cargo:rerun-if-env-changed=OPENSSL_DYNAMIC [INFO] [stderr] cargo:rerun-if-env-changed=PKG_CONFIG_ALL_STATIC [INFO] [stderr] cargo:rerun-if-env-changed=PKG_CONFIG_ALL_DYNAMIC [INFO] [stderr] cargo:rerun-if-env-changed=PKG_CONFIG_PATH_x86_64-unknown-linux-gnu [INFO] [stderr] cargo:rerun-if-env-changed=PKG_CONFIG_PATH_x86_64_unknown_linux_gnu [INFO] [stderr] cargo:rerun-if-env-changed=HOST_PKG_CONFIG_PATH [INFO] [stderr] cargo:rerun-if-env-changed=PKG_CONFIG_PATH [INFO] [stderr] cargo:rerun-if-env-changed=PKG_CONFIG_LIBDIR_x86_64-unknown-linux-gnu [INFO] [stderr] cargo:rerun-if-env-changed=PKG_CONFIG_LIBDIR_x86_64_unknown_linux_gnu [INFO] [stderr] cargo:rerun-if-env-changed=HOST_PKG_CONFIG_LIBDIR [INFO] [stderr] cargo:rerun-if-env-changed=PKG_CONFIG_LIBDIR [INFO] [stderr] cargo:rerun-if-env-changed=PKG_CONFIG_SYSROOT_DIR_x86_64-unknown-linux-gnu [INFO] [stderr] cargo:rerun-if-env-changed=PKG_CONFIG_SYSROOT_DIR_x86_64_unknown_linux_gnu [INFO] [stderr] cargo:rerun-if-env-changed=HOST_PKG_CONFIG_SYSROOT_DIR [INFO] [stderr] cargo:rerun-if-env-changed=PKG_CONFIG_SYSROOT_DIR [INFO] [stderr] cargo:rerun-if-env-changed=PKG_CONFIG_SYSROOT_DIR [INFO] [stderr] cargo:rerun-if-env-changed=SYSROOT [INFO] [stderr] cargo:rerun-if-env-changed=OPENSSL_STATIC [INFO] [stderr] cargo:rerun-if-env-changed=OPENSSL_DYNAMIC [INFO] [stderr] cargo:rerun-if-env-changed=PKG_CONFIG_ALL_STATIC [INFO] [stderr] cargo:rerun-if-env-changed=PKG_CONFIG_ALL_DYNAMIC [INFO] [stderr] cargo:rustc-link-lib=ssl [INFO] [stderr] cargo:rustc-link-lib=crypto [INFO] [stderr] cargo:rerun-if-env-changed=PKG_CONFIG [INFO] [stderr] cargo:rerun-if-env-changed=OPENSSL_STATIC [INFO] [stderr] cargo:rerun-if-env-changed=OPENSSL_DYNAMIC [INFO] [stderr] cargo:rerun-if-env-changed=PKG_CONFIG_ALL_STATIC [INFO] [stderr] cargo:rerun-if-env-changed=PKG_CONFIG_ALL_DYNAMIC [INFO] [stderr] cargo:rerun-if-env-changed=PKG_CONFIG_PATH_x86_64-unknown-linux-gnu [INFO] [stderr] cargo:rerun-if-env-changed=PKG_CONFIG_PATH_x86_64_unknown_linux_gnu [INFO] [stderr] cargo:rerun-if-env-changed=HOST_PKG_CONFIG_PATH [INFO] [stderr] cargo:rerun-if-env-changed=PKG_CONFIG_PATH [INFO] [stderr] cargo:rerun-if-env-changed=PKG_CONFIG_LIBDIR_x86_64-unknown-linux-gnu [INFO] [stderr] cargo:rerun-if-env-changed=PKG_CONFIG_LIBDIR_x86_64_unknown_linux_gnu [INFO] [stderr] cargo:rerun-if-env-changed=HOST_PKG_CONFIG_LIBDIR [INFO] [stderr] cargo:rerun-if-env-changed=PKG_CONFIG_LIBDIR [INFO] [stderr] cargo:rerun-if-env-changed=PKG_CONFIG_SYSROOT_DIR_x86_64-unknown-linux-gnu [INFO] [stderr] cargo:rerun-if-env-changed=PKG_CONFIG_SYSROOT_DIR_x86_64_unknown_linux_gnu [INFO] [stderr] cargo:rerun-if-env-changed=HOST_PKG_CONFIG_SYSROOT_DIR [INFO] [stderr] cargo:rerun-if-env-changed=PKG_CONFIG_SYSROOT_DIR [INFO] [stderr] OPT_LEVEL = Some("0") [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("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" "-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] thread 'main' panicked at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/openssl-sys-0.9.60/build/main.rs:141:13: [INFO] [stderr] [INFO] [stderr] Header expansion error: [INFO] [stderr] Error { kind: ToolExecError, message: "Command \"cc\" \"-O0\" \"-ffunction-sections\" \"-fdata-sections\" \"-fPIC\" \"-g\" \"-fno-omit-frame-pointer\" \"-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: 0x59033bd40c3a - std::backtrace_rs::backtrace::libunwind::trace::h5a5b8284f2d0c266 [INFO] [stderr] at /rustc/90b35a6239c3d8bdabc530a6a0816f7ff89a0aaf/library/std/src/../../backtrace/src/backtrace/libunwind.rs:116:5 [INFO] [stderr] 1: 0x59033bd40c3a - std::backtrace_rs::backtrace::trace_unsynchronized::h76d4f1c9b0b875e3 [INFO] [stderr] at /rustc/90b35a6239c3d8bdabc530a6a0816f7ff89a0aaf/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5 [INFO] [stderr] 2: 0x59033bd40c3a - std::sys::backtrace::_print_fmt::hc4546b8364a537c6 [INFO] [stderr] at /rustc/90b35a6239c3d8bdabc530a6a0816f7ff89a0aaf/library/std/src/sys/backtrace.rs:66:9 [INFO] [stderr] 3: 0x59033bd40c3a - ::fmt::h5b6bd5631a6d1f6b [INFO] [stderr] at /rustc/90b35a6239c3d8bdabc530a6a0816f7ff89a0aaf/library/std/src/sys/backtrace.rs:39:26 [INFO] [stderr] 4: 0x59033bd63093 - core::fmt::rt::Argument::fmt::h270f6602a2b96f62 [INFO] [stderr] at /rustc/90b35a6239c3d8bdabc530a6a0816f7ff89a0aaf/library/core/src/fmt/rt.rs:177:76 [INFO] [stderr] 5: 0x59033bd63093 - core::fmt::write::h7550c97b06c86515 [INFO] [stderr] at /rustc/90b35a6239c3d8bdabc530a6a0816f7ff89a0aaf/library/core/src/fmt/mod.rs:1186:21 [INFO] [stderr] 6: 0x59033bd3dbc3 - std::io::Write::write_fmt::h7b09c64fe0be9c84 [INFO] [stderr] at /rustc/90b35a6239c3d8bdabc530a6a0816f7ff89a0aaf/library/std/src/io/mod.rs:1839:15 [INFO] [stderr] 7: 0x59033bd40a82 - std::sys::backtrace::BacktraceLock::print::h2395ccd2c84ba3aa [INFO] [stderr] at /rustc/90b35a6239c3d8bdabc530a6a0816f7ff89a0aaf/library/std/src/sys/backtrace.rs:42:9 [INFO] [stderr] 8: 0x59033bd41c4c - std::panicking::default_hook::{{closure}}::he19d4c7230e07961 [INFO] [stderr] at /rustc/90b35a6239c3d8bdabc530a6a0816f7ff89a0aaf/library/std/src/panicking.rs:268:22 [INFO] [stderr] 9: 0x59033bd41a92 - std::panicking::default_hook::hf614597d3c67bbdb [INFO] [stderr] at /rustc/90b35a6239c3d8bdabc530a6a0816f7ff89a0aaf/library/std/src/panicking.rs:295:9 [INFO] [stderr] 10: 0x59033bd42227 - std::panicking::rust_panic_with_hook::h8942133a8b252070 [INFO] [stderr] at /rustc/90b35a6239c3d8bdabc530a6a0816f7ff89a0aaf/library/std/src/panicking.rs:801:13 [INFO] [stderr] 11: 0x59033bd420ba - std::panicking::begin_panic_handler::{{closure}}::hb5f5963570096b29 [INFO] [stderr] at /rustc/90b35a6239c3d8bdabc530a6a0816f7ff89a0aaf/library/std/src/panicking.rs:674:13 [INFO] [stderr] 12: 0x59033bd41119 - std::sys::backtrace::__rust_end_short_backtrace::h6208cedc1922feda [INFO] [stderr] at /rustc/90b35a6239c3d8bdabc530a6a0816f7ff89a0aaf/library/std/src/sys/backtrace.rs:170:18 [INFO] [stderr] 13: 0x59033bd41d4c - rust_begin_unwind [INFO] [stderr] at /rustc/90b35a6239c3d8bdabc530a6a0816f7ff89a0aaf/library/std/src/panicking.rs:665:5 [INFO] [stderr] 14: 0x59033bc9c6b0 - core::panicking::panic_fmt::h0c3082644d1bf418 [INFO] [stderr] at /rustc/90b35a6239c3d8bdabc530a6a0816f7ff89a0aaf/library/core/src/panicking.rs:74:14 [INFO] [stderr] 15: 0x59033bca53f0 - build_script_main::validate_headers::h449ff1614208f3db [INFO] [stderr] 16: 0x59033bca1f8f - build_script_main::find_normal::try_pkg_config::hfc932e3970aaf2c1 [INFO] [stderr] 17: 0x59033bca11c8 - build_script_main::find_normal::find_openssl_dir::h85718a856c9ebe37 [INFO] [stderr] 18: 0x59033bca0b12 - build_script_main::find_normal::get_openssl::{{closure}}::h38f53d43b733e2da [INFO] [stderr] 19: 0x59033bcaa183 - core::option::Option::unwrap_or_else::hb24c74a3d021ca4f [INFO] [stderr] 20: 0x59033bca08fa - build_script_main::find_normal::get_openssl::h2c46e57a340c6a70 [INFO] [stderr] 21: 0x59033bca2c7d - build_script_main::find_openssl::hb2fb8539604dbc7f [INFO] [stderr] 22: 0x59033bca2df1 - build_script_main::main::h99bc87d0a4a5d12f [INFO] [stderr] 23: 0x59033bca90c3 - core::ops::function::FnOnce::call_once::h1057b0a85460bfef [INFO] [stderr] 24: 0x59033bca8cb6 - std::sys::backtrace::__rust_begin_short_backtrace::h8e692f6112c44b88 [INFO] [stderr] 25: 0x59033bca8c89 - std::rt::lang_start::{{closure}}::h9652a6c7b14a6c91 [INFO] [stderr] 26: 0x59033bd3a5ce - core::ops::function::impls:: for &F>::call_once::hfdb85f4ee94732d3 [INFO] [stderr] at /rustc/90b35a6239c3d8bdabc530a6a0816f7ff89a0aaf/library/core/src/ops/function.rs:284:13 [INFO] [stderr] 27: 0x59033bd3a5ce - std::panicking::try::do_call::h6e577310f330cbef [INFO] [stderr] at /rustc/90b35a6239c3d8bdabc530a6a0816f7ff89a0aaf/library/std/src/panicking.rs:557:40 [INFO] [stderr] 28: 0x59033bd3a5ce - std::panicking::try::ha588d438267d2645 [INFO] [stderr] at /rustc/90b35a6239c3d8bdabc530a6a0816f7ff89a0aaf/library/std/src/panicking.rs:520:19 [INFO] [stderr] 29: 0x59033bd3a5ce - std::panic::catch_unwind::h429fda1e025f26d9 [INFO] [stderr] at /rustc/90b35a6239c3d8bdabc530a6a0816f7ff89a0aaf/library/std/src/panic.rs:358:14 [INFO] [stderr] 30: 0x59033bd3a5ce - std::rt::lang_start_internal::{{closure}}::h7b731265e841c4bf [INFO] [stderr] at /rustc/90b35a6239c3d8bdabc530a6a0816f7ff89a0aaf/library/std/src/rt.rs:174:48 [INFO] [stderr] 31: 0x59033bd3a5ce - std::panicking::try::do_call::hc0f6a675b7ae5a36 [INFO] [stderr] at /rustc/90b35a6239c3d8bdabc530a6a0816f7ff89a0aaf/library/std/src/panicking.rs:557:40 [INFO] [stderr] 32: 0x59033bd3a5ce - std::panicking::try::h4c93b7ff0671f1ff [INFO] [stderr] at /rustc/90b35a6239c3d8bdabc530a6a0816f7ff89a0aaf/library/std/src/panicking.rs:520:19 [INFO] [stderr] 33: 0x59033bd3a5ce - std::panic::catch_unwind::hcc1e154961d16ce6 [INFO] [stderr] at /rustc/90b35a6239c3d8bdabc530a6a0816f7ff89a0aaf/library/std/src/panic.rs:358:14 [INFO] [stderr] 34: 0x59033bd3a5ce - std::rt::lang_start_internal::h1c66660c99c8424c [INFO] [stderr] at /rustc/90b35a6239c3d8bdabc530a6a0816f7ff89a0aaf/library/std/src/rt.rs:174:20 [INFO] [stderr] 35: 0x59033bca8c67 - std::rt::lang_start::h183971f4f53d9fee [INFO] [stderr] 36: 0x59033bca6255 - main [INFO] [stderr] 37: 0x7617a7149d90 - [INFO] [stderr] 38: 0x7617a7149e40 - __libc_start_main [INFO] [stderr] 39: 0x59033bc9ce45 - _start [INFO] [stderr] 40: 0x0 - [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/num-bigint-0.3.1/src/biguint.rs:208:19 [INFO] [stdout] | [INFO] [stdout] 208 | .div_ceil(&big_digit::BITS.into()) [INFO] [stdout] | -------- ^^^^^^^^^^^^^^^^^^^^^^^ expected `u64`, found `&_` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected type `u64` [INFO] [stdout] found reference `&_` [INFO] [stdout] note: method defined here [INFO] [stdout] --> /rustc/90b35a6239c3d8bdabc530a6a0816f7ff89a0aaf/library/core/src/num/mod.rs:1172:5 [INFO] [stdout] = note: this error originates in the macro `uint_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider removing the borrow [INFO] [stdout] | [INFO] [stdout] 208 - .div_ceil(&big_digit::BITS.into()) [INFO] [stdout] 208 + .div_ceil(big_digit::BITS.into()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/num-bigint-0.3.1/src/biguint.rs:1712:54 [INFO] [stdout] | [INFO] [stdout] 1712 | let root_scale = extra_bits.div_ceil(&n64); [INFO] [stdout] | -------- ^^^^ expected `u64`, found `&u64` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> /rustc/90b35a6239c3d8bdabc530a6a0816f7ff89a0aaf/library/core/src/num/mod.rs:1172:5 [INFO] [stdout] = note: this error originates in the macro `uint_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider removing the borrow [INFO] [stdout] | [INFO] [stdout] 1712 - let root_scale = extra_bits.div_ceil(&n64); [INFO] [stdout] 1712 + let root_scale = extra_bits.div_ceil(n64); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/num-bigint-0.3.1/src/biguint.rs:2128:19 [INFO] [stdout] | [INFO] [stdout] 2128 | .div_ceil(&u64::from(bits)) [INFO] [stdout] | -------- ^^^^^^^^^^^^^^^^ expected `u64`, found `&u64` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> /rustc/90b35a6239c3d8bdabc530a6a0816f7ff89a0aaf/library/core/src/num/mod.rs:1172:5 [INFO] [stdout] = note: this error originates in the macro `uint_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider removing the borrow [INFO] [stdout] | [INFO] [stdout] 2128 - .div_ceil(&u64::from(bits)) [INFO] [stdout] 2128 + .div_ceil(u64::from(bits)) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/num-bigint-0.3.1/src/biguint.rs:2156:19 [INFO] [stdout] | [INFO] [stdout] 2156 | .div_ceil(&u64::from(bits)) [INFO] [stdout] | -------- ^^^^^^^^^^^^^^^^ expected `u64`, found `&u64` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> /rustc/90b35a6239c3d8bdabc530a6a0816f7ff89a0aaf/library/core/src/num/mod.rs:1172:5 [INFO] [stdout] = note: this error originates in the macro `uint_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider removing the borrow [INFO] [stdout] | [INFO] [stdout] 2156 - .div_ceil(&u64::from(bits)) [INFO] [stdout] 2156 + .div_ceil(u64::from(bits)) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `num-bigint` (lib) due to 4 previous errors [INFO] running `Command { std: "docker" "inspect" "b78fa520146b4ed9852f16a9163a929e3d14b5b7e543b5634a182f47a66738f3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b78fa520146b4ed9852f16a9163a929e3d14b5b7e543b5634a182f47a66738f3", kill_on_drop: false }` [INFO] [stdout] b78fa520146b4ed9852f16a9163a929e3d14b5b7e543b5634a182f47a66738f3