[INFO] cloning repository https://github.com/cyclowns/trnslt [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/cyclowns/trnslt" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcyclowns%2Ftrnslt", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcyclowns%2Ftrnslt'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] b800b775051a18c1e2d28eb780bad6b31f88a4b5 [INFO] checking cyclowns/trnslt/b800b775051a18c1e2d28eb780bad6b31f88a4b5 against master#2c0f4860cc86e2354a55ea04e738848168435c90 for pr-149145 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcyclowns%2Ftrnslt" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/cyclowns/trnslt [INFO] finished tweaking git repo https://github.com/cyclowns/trnslt [INFO] tweaked toml for git repo https://github.com/cyclowns/trnslt written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/cyclowns/trnslt on toolchain 2c0f4860cc86e2354a55ea04e738848168435c90 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2c0f4860cc86e2354a55ea04e738848168435c90" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/cyclowns/trnslt 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" "+2c0f4860cc86e2354a55ea04e738848168435c90" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded openssl-sys v0.9.49 [INFO] [stderr] Downloaded curl-sys v0.4.20 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:94a0c148923f5b2b52a63ef0eeb1882ad339ab61bce784c8077cbe41c61feb6c" "/opt/rustwide/cargo-home/bin/cargo" "+2c0f4860cc86e2354a55ea04e738848168435c90" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e110d3743f11a566b57a6869dcbd2cb4894ba431cb6f887fe70bfd53d3723720 [INFO] running `Command { std: "docker" "start" "-a" "e110d3743f11a566b57a6869dcbd2cb4894ba431cb6f887fe70bfd53d3723720", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e110d3743f11a566b57a6869dcbd2cb4894ba431cb6f887fe70bfd53d3723720", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e110d3743f11a566b57a6869dcbd2cb4894ba431cb6f887fe70bfd53d3723720", kill_on_drop: false }` [INFO] [stdout] e110d3743f11a566b57a6869dcbd2cb4894ba431cb6f887fe70bfd53d3723720 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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=forbid" "-e" "RUSTDOCFLAGS=--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:94a0c148923f5b2b52a63ef0eeb1882ad339ab61bce784c8077cbe41c61feb6c" "/opt/rustwide/cargo-home/bin/cargo" "+2c0f4860cc86e2354a55ea04e738848168435c90" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 70593df175cec15818d5dc9672288d74d2d12f65cd06d9be8f4f8c7123214aef [INFO] running `Command { std: "docker" "start" "-a" "70593df175cec15818d5dc9672288d74d2d12f65cd06d9be8f4f8c7123214aef", kill_on_drop: false }` [INFO] [stderr] Compiling pkg-config v0.3.15 [INFO] [stderr] Compiling cc v1.0.40 [INFO] [stderr] Compiling libc v0.2.62 [INFO] [stderr] Compiling ryu v1.0.0 [INFO] [stderr] Compiling serde v1.0.99 [INFO] [stderr] Checking cfg-if v0.1.9 [INFO] [stderr] Compiling curl v0.4.22 [INFO] [stderr] Compiling openssl-sys v0.9.49 [INFO] [stderr] Compiling libz-sys v1.0.25 [INFO] [stderr] Compiling curl-sys v0.4.20 [INFO] [stderr] Checking atty v0.2.13 [INFO] [stderr] Checking socket2 v0.3.11 [INFO] [stderr] Checking clap v2.33.0 [INFO] [stderr] warning: openssl-sys@0.9.49: 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.49: 4 | #define VERSION2(n, v) RUST_VERSION_##n##_##v [INFO] [stderr] warning: openssl-sys@0.9.49: | ^~~~~~~~~~~~~ [INFO] [stderr] warning: openssl-sys@0.9.49: build/expando.c:5:23: note: in expansion of macro 'VERSION2' [INFO] [stderr] warning: openssl-sys@0.9.49: 5 | #define VERSION(n, v) VERSION2(n, v) [INFO] [stderr] warning: openssl-sys@0.9.49: | ^~~~~~~~ [INFO] [stderr] warning: openssl-sys@0.9.49: build/expando.c:10:1: note: in expansion of macro 'VERSION' [INFO] [stderr] warning: openssl-sys@0.9.49: 10 | VERSION(OPENSSL, OPENSSL_VERSION_NUMBER) [INFO] [stderr] warning: openssl-sys@0.9.49: | ^~~~~~~ [INFO] [stderr] error: failed to run custom build command for `openssl-sys v0.9.49` [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-cd4986f02eb91437/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("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,x87") [INFO] [stderr] running: "cc" "-O0" "-ffunction-sections" "-fdata-sections" "-fPIC" "-g" "-fno-omit-frame-pointer" "-m64" "-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' (275) panicked at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/openssl-sys-0.9.49/build/main.rs:126: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\" \"-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: 0x601f9907ee52 - std::backtrace_rs::backtrace::libunwind::trace::h654257fd314eff1d [INFO] [stderr] at /rustc/2c0f4860cc86e2354a55ea04e738848168435c90/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stderr] 1: 0x601f9907ee52 - std::backtrace_rs::backtrace::trace_unsynchronized::he3bca0fbdde02eb9 [INFO] [stderr] at /rustc/2c0f4860cc86e2354a55ea04e738848168435c90/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stderr] 2: 0x601f9907ee52 - std::sys::backtrace::_print_fmt::h88af1eb796c36576 [INFO] [stderr] at /rustc/2c0f4860cc86e2354a55ea04e738848168435c90/library/std/src/sys/backtrace.rs:66:9 [INFO] [stderr] 3: 0x601f9907ee52 - ::fmt::h1c2abaf120c5709c [INFO] [stderr] at /rustc/2c0f4860cc86e2354a55ea04e738848168435c90/library/std/src/sys/backtrace.rs:39:26 [INFO] [stderr] 4: 0x601f9908eee7 - core::fmt::rt::Argument::fmt::h1695935ee84c9cfc [INFO] [stderr] at /rustc/2c0f4860cc86e2354a55ea04e738848168435c90/library/core/src/fmt/rt.rs:152:76 [INFO] [stderr] 5: 0x601f9908eee7 - core::fmt::write::h49913de4f62f0235 [INFO] [stderr] 6: 0x601f9904fc76 - std::io::default_write_fmt::h872b671bb3c03ccc [INFO] [stderr] at /rustc/2c0f4860cc86e2354a55ea04e738848168435c90/library/std/src/io/mod.rs:639:11 [INFO] [stderr] 7: 0x601f9904fc76 - std::io::Write::write_fmt::h36d3d2997979ecc3 [INFO] [stderr] at /rustc/2c0f4860cc86e2354a55ea04e738848168435c90/library/std/src/io/mod.rs:1994:13 [INFO] [stderr] 8: 0x601f9905cc54 - std::sys::backtrace::BacktraceLock::print::h0b16af57cf82274a [INFO] [stderr] at /rustc/2c0f4860cc86e2354a55ea04e738848168435c90/library/std/src/sys/backtrace.rs:42:9 [INFO] [stderr] 9: 0x601f9905cc54 - std::panicking::default_hook::{{closure}}::habf13a864451c09d [INFO] [stderr] at /rustc/2c0f4860cc86e2354a55ea04e738848168435c90/library/std/src/panicking.rs:293:27 [INFO] [stderr] 10: 0x601f9905ca79 - std::panicking::default_hook::h1258fefef2e7d5a0 [INFO] [stderr] at /rustc/2c0f4860cc86e2354a55ea04e738848168435c90/library/std/src/panicking.rs:320:9 [INFO] [stderr] 11: 0x601f9905d16b - std::panicking::panic_with_hook::haf81b4ba1ce379c9 [INFO] [stderr] at /rustc/2c0f4860cc86e2354a55ea04e738848168435c90/library/std/src/panicking.rs:826:13 [INFO] [stderr] 12: 0x601f9905cfe8 - std::panicking::panic_handler::{{closure}}::hd6d1705452838923 [INFO] [stderr] at /rustc/2c0f4860cc86e2354a55ea04e738848168435c90/library/std/src/panicking.rs:699:13 [INFO] [stderr] 13: 0x601f9905a3d9 - std::sys::backtrace::__rust_end_short_backtrace::hd0b57372356873ec [INFO] [stderr] at /rustc/2c0f4860cc86e2354a55ea04e738848168435c90/library/std/src/sys/backtrace.rs:174:18 [INFO] [stderr] 14: 0x601f9904490d - __rustc[3cce97ec6f124ba7]::rust_begin_unwind [INFO] [stderr] at /rustc/2c0f4860cc86e2354a55ea04e738848168435c90/library/std/src/panicking.rs:690:5 [INFO] [stderr] 15: 0x601f990927cc - core::panicking::panic_fmt::h9b88b61de034a591 [INFO] [stderr] at /rustc/2c0f4860cc86e2354a55ea04e738848168435c90/library/core/src/panicking.rs:80:14 [INFO] [stderr] 16: 0x601f98fe92f5 - build_script_main[ad2aeb4a17bb2b6d]::validate_headers [INFO] [stderr] 17: 0x601f98febe0c - build_script_main[ad2aeb4a17bb2b6d]::find::try_pkg_config [INFO] [stderr] 18: 0x601f98fec1c8 - build_script_main[ad2aeb4a17bb2b6d]::find::find_openssl_dir [INFO] [stderr] 19: 0x601f98fe7737 - build_script_main[ad2aeb4a17bb2b6d]::find::get_openssl::{closure#0} [INFO] [stderr] 20: 0x601f98fe5409 - >::unwrap_or_else:: [INFO] [stderr] 21: 0x601f98feb701 - build_script_main[ad2aeb4a17bb2b6d]::find::get_openssl [INFO] [stderr] 22: 0x601f98fe98f9 - build_script_main[ad2aeb4a17bb2b6d]::main [INFO] [stderr] 23: 0x601f98fedc93 - >::call_once [INFO] [stderr] 24: 0x601f98fee586 - std[246f44c9e0f6af14]::sys::backtrace::__rust_begin_short_backtrace:: [INFO] [stderr] 25: 0x601f98feede9 - std[246f44c9e0f6af14]::rt::lang_start::<()>::{closure#0} [INFO] [stderr] 26: 0x601f990514ea - core::ops::function::impls:: for &F>::call_once::h08a05e8dfe30ee77 [INFO] [stderr] at /rustc/2c0f4860cc86e2354a55ea04e738848168435c90/library/core/src/ops/function.rs:287:21 [INFO] [stderr] 27: 0x601f990514ea - std::panicking::catch_unwind::do_call::hd7ec86764b18747d [INFO] [stderr] at /rustc/2c0f4860cc86e2354a55ea04e738848168435c90/library/std/src/panicking.rs:582:40 [INFO] [stderr] 28: 0x601f990514ea - std::panicking::catch_unwind::h51f73188a5f4f9ec [INFO] [stderr] at /rustc/2c0f4860cc86e2354a55ea04e738848168435c90/library/std/src/panicking.rs:545:19 [INFO] [stderr] 29: 0x601f990514ea - std::panic::catch_unwind::h0878865b9200040e [INFO] [stderr] at /rustc/2c0f4860cc86e2354a55ea04e738848168435c90/library/std/src/panic.rs:359:14 [INFO] [stderr] 30: 0x601f990514ea - std::rt::lang_start_internal::{{closure}}::h61fba7146dff8203 [INFO] [stderr] at /rustc/2c0f4860cc86e2354a55ea04e738848168435c90/library/std/src/rt.rs:175:24 [INFO] [stderr] 31: 0x601f990514ea - std::panicking::catch_unwind::do_call::h44ae4a493f503e64 [INFO] [stderr] at /rustc/2c0f4860cc86e2354a55ea04e738848168435c90/library/std/src/panicking.rs:582:40 [INFO] [stderr] 32: 0x601f990514ea - std::panicking::catch_unwind::h296fc415bdcfbb23 [INFO] [stderr] at /rustc/2c0f4860cc86e2354a55ea04e738848168435c90/library/std/src/panicking.rs:545:19 [INFO] [stderr] 33: 0x601f990514ea - std::panic::catch_unwind::h2e229092a69d4401 [INFO] [stderr] at /rustc/2c0f4860cc86e2354a55ea04e738848168435c90/library/std/src/panic.rs:359:14 [INFO] [stderr] 34: 0x601f990514ea - std::rt::lang_start_internal::h275778bed7563295 [INFO] [stderr] at /rustc/2c0f4860cc86e2354a55ea04e738848168435c90/library/std/src/rt.rs:171:5 [INFO] [stderr] 35: 0x601f98fee4e1 - std[246f44c9e0f6af14]::rt::lang_start::<()> [INFO] [stderr] 36: 0x601f98fede75 - main [INFO] [stderr] 37: 0x71f9be5d71ca - [INFO] [stderr] 38: 0x71f9be5d728b - __libc_start_main [INFO] [stderr] 39: 0x601f98fe51d5 - _start [INFO] [stderr] 40: 0x0 - [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0512]: cannot transmute between types of different sizes, or dependently-sized types [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/socket2-0.3.11/src/sockaddr.rs:156:9 [INFO] [stdout] | [INFO] [stdout] 156 | mem::transmute::(v4); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: source type: `SocketAddrV4` (48 bits) [INFO] [stdout] = note: target type: `sockaddr_in` (128 bits) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0512`. [INFO] [stdout] [INFO] [stderr] error: could not compile `socket2` (lib) due to 1 previous error [INFO] running `Command { std: "docker" "inspect" "70593df175cec15818d5dc9672288d74d2d12f65cd06d9be8f4f8c7123214aef", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "70593df175cec15818d5dc9672288d74d2d12f65cd06d9be8f4f8c7123214aef", kill_on_drop: false }` [INFO] [stdout] 70593df175cec15818d5dc9672288d74d2d12f65cd06d9be8f4f8c7123214aef