[INFO] fetching crate cpuprofiler-static 0.1.0... [INFO] testing cpuprofiler-static-0.1.0 against try#8de4c7234dd9b97c9d76b58671343fdbbc9a433e+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_with_libc_patch_0 [INFO] extracting crate cpuprofiler-static 0.1.0 into /workspace/builds/worker-0-tc1/source [INFO] started tweaking crates.io crate cpuprofiler-static 0.1.0 [INFO] finished tweaking crates.io crate cpuprofiler-static 0.1.0 [INFO] tweaked toml for crates.io crate cpuprofiler-static 0.1.0 written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate cpuprofiler-static 0.1.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 cpuprofiler-static 0.1.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] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded num_cpus v1.10.1 [INFO] [stderr] Downloaded fs_extra v1.1.0 [INFO] [stderr] Downloaded error-chain v0.5.0 [INFO] [stderr] Downloaded cc v1.0.46 [INFO] [stderr] Downloaded cpuprofiler v0.0.3 [INFO] [stderr] Downloaded backtrace-sys v0.1.32 [INFO] [stderr] Downloaded libc v0.2.64 [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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e4893d9c001a31d2e5a584ee27e9d8d1f6bb1065ad4f3a8be5bb3dea877fde04 [INFO] running `Command { std: "docker" "start" "-a" "e4893d9c001a31d2e5a584ee27e9d8d1f6bb1065ad4f3a8be5bb3dea877fde04", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e4893d9c001a31d2e5a584ee27e9d8d1f6bb1065ad4f3a8be5bb3dea877fde04", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e4893d9c001a31d2e5a584ee27e9d8d1f6bb1065ad4f3a8be5bb3dea877fde04", kill_on_drop: false }` [INFO] [stdout] e4893d9c001a31d2e5a584ee27e9d8d1f6bb1065ad4f3a8be5bb3dea877fde04 [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=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] 8f98f9bb9b582ee17bb384dcb0a16eccc0813adc28a2d8887757b82676dc3574 [INFO] running `Command { std: "docker" "start" "-a" "8f98f9bb9b582ee17bb384dcb0a16eccc0813adc28a2d8887757b82676dc3574", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.64 [INFO] [stderr] Compiling winapi-build v0.1.1 [INFO] [stderr] Compiling cc v1.0.46 [INFO] [stderr] Compiling winapi v0.2.8 [INFO] [stderr] Compiling backtrace v0.2.3 [INFO] [stderr] Compiling rustc-demangle v0.1.16 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling fs_extra v1.1.0 [INFO] [stderr] Compiling lazy_static v0.2.11 [INFO] [stderr] Compiling dbghelp-sys v0.2.0 [INFO] [stderr] Compiling kernel32-sys v0.2.2 [INFO] [stderr] Compiling num_cpus v1.10.1 [INFO] [stderr] Compiling backtrace-sys v0.1.32 [INFO] [stderr] Compiling cpuprofiler-static v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::process::Command` [INFO] [stdout] --> build.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::process::Command; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is_directory_empty` is never used [INFO] [stdout] --> build.rs:17:4 [INFO] [stdout] | [INFO] [stdout] 17 | fn is_directory_empty>(p: P) -> std::io::Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `prepare_gperftool` is never used [INFO] [stdout] --> build.rs:22:4 [INFO] [stdout] | [INFO] [stdout] 22 | fn prepare_gperftool() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling error-chain v0.5.0 [INFO] [stderr] Compiling cpuprofiler v0.0.3 [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 6.16s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: fs_extra v1.1.0 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 2` [INFO] running `Command { std: "docker" "inspect" "8f98f9bb9b582ee17bb384dcb0a16eccc0813adc28a2d8887757b82676dc3574", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8f98f9bb9b582ee17bb384dcb0a16eccc0813adc28a2d8887757b82676dc3574", kill_on_drop: false }` [INFO] [stdout] 8f98f9bb9b582ee17bb384dcb0a16eccc0813adc28a2d8887757b82676dc3574 [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=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" "test" "--frozen" "--no-run" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] f5ed1d5a93d36dc3519960e66ad20e6dd0f815921f7b30e78ebc16726162a13d [INFO] running `Command { std: "docker" "start" "-a" "f5ed1d5a93d36dc3519960e66ad20e6dd0f815921f7b30e78ebc16726162a13d", kill_on_drop: false }` [INFO] [stderr] Compiling cpuprofiler-static v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::process::Command` [INFO] [stdout] --> build.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::process::Command; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is_directory_empty` is never used [INFO] [stdout] --> build.rs:17:4 [INFO] [stdout] | [INFO] [stdout] 17 | fn is_directory_empty>(p: P) -> std::io::Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `prepare_gperftool` is never used [INFO] [stdout] --> build.rs:22:4 [INFO] [stdout] | [INFO] [stdout] 22 | fn prepare_gperftool() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: linking with `cc` failed: exit status: 1 [INFO] [stdout] | [INFO] [stdout] = note: "cc" "-m64" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/rcrt1.o" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/crti.o" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/crtbeginS.o" "/tmp/rustczrLfxE/symbols.o" "<2 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "/lib/rustlib/x86_64-unknown-linux-musl/lib/{libtest-*,libgetopts-*,libunicode_width-*,librustc_std_workspace_std-*}.rlib" "/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/{libcpuprofiler-0544a95611013a2f.rlib}.rlib" "-lprofiler" "/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/{liblazy_static-433a47a685b79e0b.rlib,liberror_chain-be31c4e19f2ac044.rlib,libbacktrace-db55454392a8e6ce.rlib,libbacktrace_sys-a970f911a63c37ab.rlib,librustc_demangle-dcc5b1758b30e405.rlib,libcfg_if-2d17986ae484e939.rlib,libdbghelp-8016d26a2d053e60.rlib,libwinapi-dc959018d703915d.rlib,libkernel32-82290fc6f652d265.rlib,liblibc-8df829db00be9a66.rlib}.rlib" "/lib/rustlib/x86_64-unknown-linux-musl/lib/{libstd-*,libpanic_unwind-*,libobject-*,libmemchr-*,libaddr2line-*,libgimli-*,librustc_demangle-*,libstd_detect-*,libhashbrown-*,librustc_std_workspace_alloc-*,libminiz_oxide-*,libadler2-*,libunwind-*}.rlib" "-lunwind" "/lib/rustlib/x86_64-unknown-linux-musl/lib/{libcfg_if-*,liblibc-*}.rlib" "-lc" "/lib/rustlib/x86_64-unknown-linux-musl/lib/{librustc_std_workspace_core-*,liballoc-*,libcore-*,libcompiler_builtins-*}.rlib" "-L" "/tmp/rustczrLfxE/raw-dylibs" "-Wl,-Bdynamic" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-nostartfiles" "-L" "/opt/rustwide/target/x86_64-unknown-linux-musl/debug/build/backtrace-sys-6119d822a99ea4e5/out" "-L" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained" "-L" "/lib/rustlib/x86_64-unknown-linux-musl/lib" "-o" "/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/cpuprofiler_static-a3404f4361081ace" "-Wl,--gc-sections" "-static-pie" "-Wl,-z,relro,-z,now" "-nodefaultlibs" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/crtendS.o" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/crtn.o" [INFO] [stdout] = note: some arguments are omitted. use `--verbose` to show all linker arguments [INFO] [stdout] = note: /usr/bin/ld: cannot find -lprofiler: No such file or directory [INFO] [stdout] collect2: error: ld returned 1 exit status [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `cpuprofiler-static` (lib test) due to 1 previous error [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: linking with `cc` failed: exit status: 1 [INFO] [stdout] | [INFO] [stdout] = note: "cc" "-m64" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/rcrt1.o" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/crti.o" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/crtbeginS.o" "/tmp/rustcqSDpL1/symbols.o" "<2 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/{libcpuprofiler_static-16093c7cab4bbc05.rlib,libcpuprofiler-0544a95611013a2f.rlib}.rlib" "-lprofiler" "/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/{liblazy_static-433a47a685b79e0b.rlib,liberror_chain-be31c4e19f2ac044.rlib,libbacktrace-db55454392a8e6ce.rlib,libbacktrace_sys-a970f911a63c37ab.rlib,librustc_demangle-dcc5b1758b30e405.rlib,libcfg_if-2d17986ae484e939.rlib,libdbghelp-8016d26a2d053e60.rlib,libwinapi-dc959018d703915d.rlib,libkernel32-82290fc6f652d265.rlib,liblibc-8df829db00be9a66.rlib}.rlib" "/lib/rustlib/x86_64-unknown-linux-musl/lib/{libstd-*,libpanic_unwind-*,libobject-*,libmemchr-*,libaddr2line-*,libgimli-*,librustc_demangle-*,libstd_detect-*,libhashbrown-*,librustc_std_workspace_alloc-*,libminiz_oxide-*,libadler2-*,libunwind-*}.rlib" "-lunwind" "/lib/rustlib/x86_64-unknown-linux-musl/lib/{libcfg_if-*,liblibc-*}.rlib" "-lc" "/lib/rustlib/x86_64-unknown-linux-musl/lib/{librustc_std_workspace_core-*,liballoc-*,libcore-*,libcompiler_builtins-*}.rlib" "-L" "/tmp/rustcqSDpL1/raw-dylibs" "-Wl,-Bdynamic" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-nostartfiles" "-L" "/opt/rustwide/target/x86_64-unknown-linux-musl/debug/build/backtrace-sys-6119d822a99ea4e5/out" "-L" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained" "-L" "/lib/rustlib/x86_64-unknown-linux-musl/lib" "-o" "/opt/rustwide/target/x86_64-unknown-linux-musl/debug/examples/primes-edcc8e8a7c7a756a" "-Wl,--gc-sections" "-static-pie" "-Wl,-z,relro,-z,now" "-nodefaultlibs" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/crtendS.o" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/crtn.o" [INFO] [stdout] = note: some arguments are omitted. use `--verbose` to show all linker arguments [INFO] [stdout] = note: /usr/bin/ld: cannot find -lprofiler: No such file or directory [INFO] [stdout] collect2: error: ld returned 1 exit status [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `cpuprofiler-static` (example "primes") due to 1 previous error [INFO] running `Command { std: "docker" "inspect" "f5ed1d5a93d36dc3519960e66ad20e6dd0f815921f7b30e78ebc16726162a13d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f5ed1d5a93d36dc3519960e66ad20e6dd0f815921f7b30e78ebc16726162a13d", kill_on_drop: false }` [INFO] [stdout] f5ed1d5a93d36dc3519960e66ad20e6dd0f815921f7b30e78ebc16726162a13d