[INFO] fetching crate plthook 0.3.0... [INFO] testing plthook-0.3.0 against try#8de4c7234dd9b97c9d76b58671343fdbbc9a433e+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_with_libc_patch_0 [INFO] extracting crate plthook 0.3.0 into /workspace/builds/worker-1-tc1/source [INFO] started tweaking crates.io crate plthook 0.3.0 [INFO] removed 0 missing examples [INFO] finished tweaking crates.io crate plthook 0.3.0 [INFO] tweaked toml for crates.io crate plthook 0.3.0 written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate plthook 0.3.0 on toolchain 8de4c7234dd9b97c9d76b58671343fdbbc9a433e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate plthook 0.3.0 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" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0234490699cc303ccff94c0536a7b88493efec2b1b64d4fb9a5ddf2481f1bb2f [INFO] running `Command { std: "docker" "start" "-a" "0234490699cc303ccff94c0536a7b88493efec2b1b64d4fb9a5ddf2481f1bb2f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0234490699cc303ccff94c0536a7b88493efec2b1b64d4fb9a5ddf2481f1bb2f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0234490699cc303ccff94c0536a7b88493efec2b1b64d4fb9a5ddf2481f1bb2f", kill_on_drop: false }` [INFO] [stdout] 0234490699cc303ccff94c0536a7b88493efec2b1b64d4fb9a5ddf2481f1bb2f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "build" "--frozen" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 4ba3145fff8a1cd28328cac2d3323b7648d865bf0ea31cde4342af260f369bfa [INFO] running `Command { std: "docker" "start" "-a" "4ba3145fff8a1cd28328cac2d3323b7648d865bf0ea31cde4342af260f369bfa", kill_on_drop: false }` [INFO] [stderr] Compiling cc v1.0.69 [INFO] [stderr] Compiling plthook v0.3.0 (/opt/rustwide/workdir) [INFO] [stderr] warning: plthook@0.3.0: vendor/plthook/plthook_elf.c: In function 'plthook_open_by_address': [INFO] [stderr] warning: plthook@0.3.0: vendor/plthook/plthook_elf.c:331:9: warning: implicit declaration of function 'dladdr1'; did you mean 'dladdr'? [-Wimplicit-function-declaration] [INFO] [stderr] warning: plthook@0.3.0: 331 | if (dladdr1(address, &info, (void**)&lmap, RTLD_DL_LINKMAP) == 0) { [INFO] [stderr] warning: plthook@0.3.0: | ^~~~~~~ [INFO] [stderr] warning: plthook@0.3.0: | dladdr [INFO] [stderr] warning: plthook@0.3.0: vendor/plthook/plthook_elf.c:331:48: error: 'RTLD_DL_LINKMAP' undeclared (first use in this function); did you mean 'RTLD_DI_LINKMAP'? [INFO] [stderr] warning: plthook@0.3.0: 331 | if (dladdr1(address, &info, (void**)&lmap, RTLD_DL_LINKMAP) == 0) { [INFO] [stderr] warning: plthook@0.3.0: | ^~~~~~~~~~~~~~~ [INFO] [stderr] warning: plthook@0.3.0: | RTLD_DI_LINKMAP [INFO] [stderr] warning: plthook@0.3.0: vendor/plthook/plthook_elf.c:331:48: note: each undeclared identifier is reported only once for each function it appears in [INFO] [stderr] warning: plthook@0.3.0: vendor/plthook/plthook_elf.c: In function 'plthook_open_executable': [INFO] [stderr] warning: plthook@0.3.0: vendor/plthook/plthook_elf.c:344:43: error: '_r_debug' undeclared (first use in this function); did you mean 'r_debug'? [INFO] [stderr] warning: plthook@0.3.0: 344 | return plthook_open_real(plthook_out, _r_debug.r_map); [INFO] [stderr] warning: plthook@0.3.0: | ^~~~~~~~ [INFO] [stderr] warning: plthook@0.3.0: | r_debug [INFO] [stderr] warning: plthook@0.3.0: vendor/plthook/plthook_elf.c:375:1: warning: control reaches end of non-void function [-Wreturn-type] [INFO] [stderr] warning: plthook@0.3.0: 375 | } [INFO] [stderr] warning: plthook@0.3.0: | ^ [INFO] [stderr] error: failed to run custom build command for `plthook v0.3.0 (/opt/rustwide/workdir)` [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `/opt/rustwide/target/debug/build/plthook-6cc1016cce901d62/build-script-build` (exit status: 1) [INFO] [stderr] --- stdout [INFO] [stderr] TARGET = Some("x86_64-unknown-linux-musl") [INFO] [stderr] OPT_LEVEL = Some("0") [INFO] [stderr] HOST = Some("x86_64-unknown-linux-gnu") [INFO] [stderr] CC_x86_64-unknown-linux-musl = None [INFO] [stderr] CC_x86_64_unknown_linux_musl = None [INFO] [stderr] TARGET_CC = None [INFO] [stderr] CC = None [INFO] [stderr] CROSS_COMPILE = None [INFO] [stderr] CFLAGS_x86_64-unknown-linux-musl = None [INFO] [stderr] CFLAGS_x86_64_unknown_linux_musl = None [INFO] [stderr] TARGET_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: "musl-gcc" "-O0" "-ffunction-sections" "-fdata-sections" "-fPIC" "-g" "-fno-omit-frame-pointer" "-m64" "-Wall" "-Wextra" "-o" "/opt/rustwide/target/x86_64-unknown-linux-musl/debug/build/plthook-f511e39ba0d6c10b/out/vendor/plthook/plthook_elf.o" "-c" "vendor/plthook/plthook_elf.c" [INFO] [stderr] cargo:warning=vendor/plthook/plthook_elf.c: In function 'plthook_open_by_address': [INFO] [stderr] cargo:warning=vendor/plthook/plthook_elf.c:331:9: warning: implicit declaration of function 'dladdr1'; did you mean 'dladdr'? [-Wimplicit-function-declaration] [INFO] [stderr] cargo:warning= 331 | if (dladdr1(address, &info, (void**)&lmap, RTLD_DL_LINKMAP) == 0) { [INFO] [stderr] cargo:warning= | ^~~~~~~ [INFO] [stderr] cargo:warning= | dladdr [INFO] [stderr] cargo:warning=vendor/plthook/plthook_elf.c:331:48: error: 'RTLD_DL_LINKMAP' undeclared (first use in this function); did you mean 'RTLD_DI_LINKMAP'? [INFO] [stderr] cargo:warning= 331 | if (dladdr1(address, &info, (void**)&lmap, RTLD_DL_LINKMAP) == 0) { [INFO] [stderr] cargo:warning= | ^~~~~~~~~~~~~~~ [INFO] [stderr] cargo:warning= | RTLD_DI_LINKMAP [INFO] [stderr] cargo:warning=vendor/plthook/plthook_elf.c:331:48: note: each undeclared identifier is reported only once for each function it appears in [INFO] [stderr] cargo:warning=vendor/plthook/plthook_elf.c: In function 'plthook_open_executable': [INFO] [stderr] cargo:warning=vendor/plthook/plthook_elf.c:344:43: error: '_r_debug' undeclared (first use in this function); did you mean 'r_debug'? [INFO] [stderr] cargo:warning= 344 | return plthook_open_real(plthook_out, _r_debug.r_map); [INFO] [stderr] cargo:warning= | ^~~~~~~~ [INFO] [stderr] cargo:warning= | r_debug [INFO] [stderr] cargo:warning=vendor/plthook/plthook_elf.c:375:1: warning: control reaches end of non-void function [-Wreturn-type] [INFO] [stderr] cargo:warning= 375 | } [INFO] [stderr] cargo:warning= | ^ [INFO] [stderr] exit status: 1 [INFO] [stderr] [INFO] [stderr] --- stderr [INFO] [stderr] [INFO] [stderr] [INFO] [stderr] error occurred: Command "musl-gcc" "-O0" "-ffunction-sections" "-fdata-sections" "-fPIC" "-g" "-fno-omit-frame-pointer" "-m64" "-Wall" "-Wextra" "-o" "/opt/rustwide/target/x86_64-unknown-linux-musl/debug/build/plthook-f511e39ba0d6c10b/out/vendor/plthook/plthook_elf.o" "-c" "vendor/plthook/plthook_elf.c" with args "musl-gcc" did not execute successfully (status code exit status: 1). [INFO] [stderr] [INFO] [stderr] [INFO] running `Command { std: "docker" "inspect" "4ba3145fff8a1cd28328cac2d3323b7648d865bf0ea31cde4342af260f369bfa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4ba3145fff8a1cd28328cac2d3323b7648d865bf0ea31cde4342af260f369bfa", kill_on_drop: false }` [INFO] [stdout] 4ba3145fff8a1cd28328cac2d3323b7648d865bf0ea31cde4342af260f369bfa