[INFO] cloning repository https://github.com/bukowa/w32die [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/bukowa/w32die" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbukowa%2Fw32die", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbukowa%2Fw32die'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 76cde5f0d05e65a5789a12a7cf1e958991a2035d [INFO] testing bukowa/w32die against try#8de4c7234dd9b97c9d76b58671343fdbbc9a433e+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_with_libc_patch_0 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbukowa%2Fw32die" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/bukowa/w32die [INFO] finished tweaking git repo https://github.com/bukowa/w32die [INFO] tweaked toml for git repo https://github.com/bukowa/w32die written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/bukowa/w32die 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 git repo https://github.com/bukowa/w32die 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 win32job v2.0.0 [INFO] [stderr] Downloaded thiserror v1.0.61 [INFO] [stderr] Downloaded thiserror-impl v1.0.61 [INFO] [stderr] Downloaded syn v2.0.68 [INFO] [stderr] Downloaded windows v0.52.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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] 33a5e218d33ea38c4e5a363b8e05e2f18e91b8b517acfc5d49d49c7517cea060 [INFO] running `Command { std: "docker" "start" "-a" "33a5e218d33ea38c4e5a363b8e05e2f18e91b8b517acfc5d49d49c7517cea060", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "33a5e218d33ea38c4e5a363b8e05e2f18e91b8b517acfc5d49d49c7517cea060", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "33a5e218d33ea38c4e5a363b8e05e2f18e91b8b517acfc5d49d49c7517cea060", kill_on_drop: false }` [INFO] [stdout] 33a5e218d33ea38c4e5a363b8e05e2f18e91b8b517acfc5d49d49c7517cea060 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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] 82cbb524634e56af2138fe06d856393a170414a4fcc284b155b92566d8c38835 [INFO] running `Command { std: "docker" "start" "-a" "82cbb524634e56af2138fe06d856393a170414a4fcc284b155b92566d8c38835", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling thiserror v1.0.61 [INFO] [stderr] Compiling windows-targets v0.52.5 [INFO] [stderr] Compiling windows-core v0.52.0 [INFO] [stderr] Compiling windows v0.52.0 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling syn v2.0.68 [INFO] [stderr] Compiling thiserror-impl v1.0.61 [INFO] [stderr] Compiling win32job v2.0.0 [INFO] [stderr] Compiling w32die v0.1.0 (/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/rustcNiupEQ/symbols.o" "<3 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/{libwin32job-71b748731e5df5e1.rlib,libwindows-56d3c380c023f3e4.rlib,libwindows_core-6cc799407ec4088c.rlib,libwindows_targets-6dc093cb74a7ec88.rlib,libthiserror-2ddf05b33f735a82.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/rustcNiupEQ/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/w32die-d7eae83c656dc89f" "-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: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/libwin32job-71b748731e5df5e1.rlib(win32job-71b748731e5df5e1.win32job.b3d7c35d20b49e28-cgu.0.rcgu.o): in function `windows::Win32::Foundation::CloseHandle': [INFO] [stdout] /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/windows-0.52.0/src/Windows/Win32/Foundation/mod.rs:7:(.text._ZN7windows5Win3210Foundation11CloseHandle17hdc14e51e7611a31dE+0x40): undefined reference to `CloseHandle' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/libwin32job-71b748731e5df5e1.rlib(win32job-71b748731e5df5e1.win32job.b3d7c35d20b49e28-cgu.0.rcgu.o): in function `windows::Win32::System::JobObjects::CreateJobObjectW': [INFO] [stdout] /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/windows-0.52.0/src/Windows/Win32/System/JobObjects/mod.rs:31:(.text._ZN7windows5Win326System10JobObjects16CreateJobObjectW17hbff5acc9850d2763E+0xdd): undefined reference to `CreateJobObjectW' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/libwin32job-71b748731e5df5e1.rlib(win32job-71b748731e5df5e1.win32job.b3d7c35d20b49e28-cgu.0.rcgu.o): in function `windows::Win32::System::JobObjects::SetInformationJobObject': [INFO] [stdout] /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/windows-0.52.0/src/Windows/Win32/System/JobObjects/mod.rs:110:(.text._ZN7windows5Win326System10JobObjects23SetInformationJobObject17hcb1e8058b3f4a95fE+0x69): undefined reference to `SetInformationJobObject' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/libwin32job-71b748731e5df5e1.rlib(win32job-71b748731e5df5e1.win32job.b3d7c35d20b49e28-cgu.0.rcgu.o): in function `windows::Win32::System::JobObjects::AssignProcessToJobObject': [INFO] [stdout] /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/windows-0.52.0/src/Windows/Win32/System/JobObjects/mod.rs:10:(.text._ZN7windows5Win326System10JobObjects24AssignProcessToJobObject17h3cb2b03f7abb26c8E+0xf1): undefined reference to `AssignProcessToJobObject' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/libwin32job-71b748731e5df5e1.rlib(win32job-71b748731e5df5e1.win32job.b3d7c35d20b49e28-cgu.0.rcgu.o): in function `windows::Win32::System::JobObjects::QueryInformationJobObject': [INFO] [stdout] /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/windows-0.52.0/src/Windows/Win32/System/JobObjects/mod.rs:89:(.text._ZN7windows5Win326System10JobObjects25QueryInformationJobObject17hf740dc6167bdad1dE+0xa7): undefined reference to `QueryInformationJobObject' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/libwin32job-71b748731e5df5e1.rlib(win32job-71b748731e5df5e1.win32job.b3d7c35d20b49e28-cgu.0.rcgu.o): in function `windows::Win32::System::Threading::GetCurrentProcess': [INFO] [stdout] /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/windows-0.52.0/src/Windows/Win32/System/Threading/mod.rs:921:(.text._ZN7windows5Win326System9Threading17GetCurrentProcess17ha67f230350445bcfE+0x3): undefined reference to `GetCurrentProcess' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/libwindows_core-6cc799407ec4088c.rlib(windows_core-6cc799407ec4088c.windows_core.d7ad37a6e661f1ee-cgu.4.rcgu.o): in function `windows_core::error::Error::from_win32': [INFO] [stdout] /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/windows-core-0.52.0/src/error.rs:27:(.text._ZN12windows_core5error5Error10from_win3217h9e07075a60bf6975E+0x4): undefined reference to `GetLastError' [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 `w32die` (bin "w32die") due to 1 previous error [INFO] running `Command { std: "docker" "inspect" "82cbb524634e56af2138fe06d856393a170414a4fcc284b155b92566d8c38835", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "82cbb524634e56af2138fe06d856393a170414a4fcc284b155b92566d8c38835", kill_on_drop: false }` [INFO] [stdout] 82cbb524634e56af2138fe06d856393a170414a4fcc284b155b92566d8c38835