[INFO] fetching crate libstatgrab-sys 1.0.2... [INFO] testing libstatgrab-sys-1.0.2 against try#8de4c7234dd9b97c9d76b58671343fdbbc9a433e+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_with_libc_patch_0 [INFO] extracting crate libstatgrab-sys 1.0.2 into /workspace/builds/worker-2-tc1/source [INFO] removed /workspace/builds/worker-2-tc1/source/rust-toolchain.toml [INFO] started tweaking crates.io crate libstatgrab-sys 1.0.2 [INFO] finished tweaking crates.io crate libstatgrab-sys 1.0.2 [INFO] tweaked toml for crates.io crate libstatgrab-sys 1.0.2 written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate libstatgrab-sys 1.0.2 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] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 60 packages to latest compatible versions [INFO] [stderr] Adding bindgen v0.64.0 (available: v0.72.0) [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-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 864650fdcf3f84053a4f3f44cd0bf9a4342d75f96e4aa912d0c432e7bcfaac5d [INFO] running `Command { std: "docker" "start" "-a" "864650fdcf3f84053a4f3f44cd0bf9a4342d75f96e4aa912d0c432e7bcfaac5d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "864650fdcf3f84053a4f3f44cd0bf9a4342d75f96e4aa912d0c432e7bcfaac5d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "864650fdcf3f84053a4f3f44cd0bf9a4342d75f96e4aa912d0c432e7bcfaac5d", kill_on_drop: false }` [INFO] [stdout] 864650fdcf3f84053a4f3f44cd0bf9a4342d75f96e4aa912d0c432e7bcfaac5d [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: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] 3c8dcd7651ccdea4eafb55a27c5d235583d3fee4961884eaa891cd92e3051234 [INFO] running `Command { std: "docker" "start" "-a" "3c8dcd7651ccdea4eafb55a27c5d235583d3fee4961884eaa891cd92e3051234", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.95 [INFO] [stderr] Compiling glob v0.3.2 [INFO] [stderr] Compiling rustix v0.38.44 [INFO] [stderr] Compiling bitflags v2.9.1 [INFO] [stderr] Compiling memchr v2.7.5 [INFO] [stderr] Compiling cfg-if v1.0.1 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling linux-raw-sys v0.4.15 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling bindgen v0.64.0 [INFO] [stderr] Compiling home v0.5.11 [INFO] [stderr] Compiling peeking_take_while v0.1.2 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling lazycell v1.3.0 [INFO] [stderr] Compiling libloading v0.8.8 [INFO] [stderr] Compiling clang-sys v1.8.1 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling which v4.4.2 [INFO] [stderr] Compiling cexpr v0.6.0 [INFO] [stderr] Compiling libstatgrab-sys v1.0.2 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 15.16s [INFO] running `Command { std: "docker" "inspect" "3c8dcd7651ccdea4eafb55a27c5d235583d3fee4961884eaa891cd92e3051234", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3c8dcd7651ccdea4eafb55a27c5d235583d3fee4961884eaa891cd92e3051234", kill_on_drop: false }` [INFO] [stdout] 3c8dcd7651ccdea4eafb55a27c5d235583d3fee4961884eaa891cd92e3051234 [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: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] b35d596cc9eb0cf8b87a3f993e292f45312d36d9400b2f0842107412ca870335 [INFO] running `Command { std: "docker" "start" "-a" "b35d596cc9eb0cf8b87a3f993e292f45312d36d9400b2f0842107412ca870335", kill_on_drop: false }` [INFO] [stderr] Compiling libstatgrab-sys v1.0.2 (/opt/rustwide/workdir) [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/rustc0YbeSQ/symbols.o" "<2 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "-lstatgrab" "/lib/rustlib/x86_64-unknown-linux-musl/lib/{libtest-*,libgetopts-*,libunicode_width-*,librustc_std_workspace_std-*,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/rustc0YbeSQ/raw-dylibs" "-Wl,-Bdynamic" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-nostartfiles" "-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/libstatgrab_sys-10543243b0c2d952" "-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: /usr/lib/gcc/x86_64-linux-gnu/13/../../../x86_64-linux-gnu/libstatgrab.a(globals.o): in function `sg_comp_init': [INFO] [stdout] (.text+0xa8c): undefined reference to `__fprintf_chk' [INFO] [stdout] /usr/bin/ld: (.text+0xabd): undefined reference to `__fprintf_chk' [INFO] [stdout] /usr/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/13/../../../x86_64-linux-gnu/libstatgrab.a(globals.o): in function `sg_comp_get_tls': [INFO] [stdout] (.text+0xcbb): undefined reference to `__memset_chk' [INFO] [stdout] /usr/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/13/../../../x86_64-linux-gnu/libstatgrab.a(cpu_stats.o): in function `sg_get_cpu_stats_int': [INFO] [stdout] (.text+0x484): undefined reference to `__isoc23_sscanf' [INFO] [stdout] /usr/bin/ld: (.text+0x4cc): undefined reference to `__isoc23_sscanf' [INFO] [stdout] /usr/bin/ld: (.text+0x524): undefined reference to `__isoc23_sscanf' [INFO] [stdout] /usr/bin/ld: (.text+0x592): undefined reference to `__isoc23_sscanf' [INFO] [stdout] /usr/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/13/../../../x86_64-linux-gnu/libstatgrab.a(page_stats.o): in function `sg_get_page_stats_int': [INFO] [stdout] (.text+0x125): undefined reference to `__isoc23_sscanf' [INFO] [stdout] /usr/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/13/../../../x86_64-linux-gnu/libstatgrab.a(page_stats.o):(.text+0x24f): more undefined references to `__isoc23_sscanf' follow [INFO] [stdout] /usr/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/13/../../../x86_64-linux-gnu/libstatgrab.a(os_info.o): in function `sg_get_host_info_int': [INFO] [stdout] (.text+0x194): undefined reference to `__isoc23_fscanf' [INFO] [stdout] /usr/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/13/../../../x86_64-linux-gnu/libstatgrab.a(tools.o): in function `sg_get_ll_match': [INFO] [stdout] (.text+0x1a2): undefined reference to `__isoc23_strtoll' [INFO] [stdout] /usr/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/13/../../../x86_64-linux-gnu/libstatgrab.a(vector.o): in function `sg_vector_compute_diff': [INFO] [stdout] (.text+0xae1): undefined reference to `__memset_chk' [INFO] [stdout] /usr/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/13/../../../x86_64-linux-gnu/libstatgrab.a(error.o): in function `sg_set_error_int': [INFO] [stdout] (.text+0x106): undefined reference to `__vsnprintf_chk' [INFO] [stdout] /usr/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/13/../../../x86_64-linux-gnu/libstatgrab.a(error.o): in function `sg_strperror': [INFO] [stdout] (.text+0x8fc): undefined reference to `__snprintf_chk' [INFO] [stdout] /usr/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/13/../../../x86_64-linux-gnu/libstatgrab.a(disk_stats.o): in function `sg_get_disk_io_stats_int': [INFO] [stdout] (.text+0x78e): undefined reference to `__isoc23_sscanf' [INFO] [stdout] /usr/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/13/../../../x86_64-linux-gnu/libstatgrab.a(disk_stats.o): in function `sg_get_fs_list_int.constprop.0': [INFO] [stdout] (.text+0xaf7): undefined reference to `__realpath_chk' [INFO] [stdout] /usr/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/13/../../../x86_64-linux-gnu/libstatgrab.a(disk_stats.o): in function `sg_get_fs_stats_int': [INFO] [stdout] (.text+0xd9d): undefined reference to `__memset_chk' [INFO] [stdout] /usr/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/13/../../../x86_64-linux-gnu/libstatgrab.a(memory_stats.o): in function `sg_get_mem_stats_int': [INFO] [stdout] (.text+0x91): undefined reference to `__isoc23_sscanf' [INFO] [stdout] /usr/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/13/../../../x86_64-linux-gnu/libstatgrab.a(process_stats.o): in function `sg_get_process_stats_int': [INFO] [stdout] (.text+0x276): undefined reference to `__isoc23_fscanf' [INFO] [stdout] /usr/bin/ld: (.text+0x349): undefined reference to `__isoc23_sscanf' [INFO] [stdout] /usr/bin/ld: (.text+0x5a6): undefined reference to `__snprintf_chk' [INFO] [stdout] /usr/bin/ld: (.text+0x645): undefined reference to `__strncat_chk' [INFO] [stdout] /usr/bin/ld: (.text+0x6a6): undefined reference to `__strncat_chk' [INFO] [stdout] /usr/bin/ld: (.text+0x6ca): undefined reference to `__strncat_chk' [INFO] [stdout] /usr/bin/ld: (.text+0x73a): undefined reference to `__snprintf_chk' [INFO] [stdout] /usr/bin/ld: (.text+0x765): undefined reference to `__snprintf_chk' [INFO] [stdout] /usr/bin/ld: (.text+0x833): undefined reference to `__isoc23_fscanf' [INFO] [stdout] /usr/bin/ld: (.text+0x99a): undefined reference to `__snprintf_chk' [INFO] [stdout] /usr/bin/ld: (.text+0x9ee): undefined reference to `__isoc23_sscanf' [INFO] [stdout] /usr/bin/ld: (.text+0xa27): undefined reference to `__isoc23_sscanf' [INFO] [stdout] /usr/bin/ld: (.text+0xa5c): undefined reference to `__isoc23_sscanf' [INFO] [stdout] /usr/bin/ld: (.text+0xa91): undefined reference to `__isoc23_sscanf' [INFO] [stdout] /usr/bin/ld: (.text+0xad0): undefined reference to `__snprintf_chk' [INFO] [stdout] /usr/bin/ld: (.text+0xcc1): undefined reference to `__isoc23_fscanf' [INFO] [stdout] /usr/bin/ld: (.text+0xf31): undefined reference to `__asprintf_chk' [INFO] [stdout] /usr/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/13/../../../x86_64-linux-gnu/libstatgrab.a(swap_stats.o): in function `sg_get_swap_stats_int': [INFO] [stdout] (.text+0xa4): undefined reference to `__isoc23_sscanf' [INFO] [stdout] collect2: error: ld returned 1 exit status [INFO] [stdout] [INFO] [stdout] = note: some `extern` functions couldn't be found; some native libraries may need to be installed or have their path specified [INFO] [stdout] = note: use the `-l` flag to specify native libraries to link [INFO] [stdout] = note: use the `cargo:rustc-link-lib` directive to specify the native libraries to link with Cargo (see https://doc.rust-lang.org/cargo/reference/build-scripts.html#rustc-link-lib) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `libstatgrab-sys` (lib test) due to 1 previous error [INFO] running `Command { std: "docker" "inspect" "b35d596cc9eb0cf8b87a3f993e292f45312d36d9400b2f0842107412ca870335", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b35d596cc9eb0cf8b87a3f993e292f45312d36d9400b2f0842107412ca870335", kill_on_drop: false }` [INFO] [stdout] b35d596cc9eb0cf8b87a3f993e292f45312d36d9400b2f0842107412ca870335