[INFO] fetching crate setmon 0.1.1... [INFO] testing setmon-0.1.1 against try#8de4c7234dd9b97c9d76b58671343fdbbc9a433e+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_with_libc_patch_0 [INFO] extracting crate setmon 0.1.1 into /workspace/builds/worker-5-tc1/source [INFO] started tweaking crates.io crate setmon 0.1.1 [INFO] finished tweaking crates.io crate setmon 0.1.1 [INFO] tweaked toml for crates.io crate setmon 0.1.1 written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate setmon 0.1.1 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 setmon 0.1.1 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-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] 22d6959abe64c6140c7bc414f4d5c01a0998a41c2cda9e8ecdd5cdc12cdc78ee [INFO] running `Command { std: "docker" "start" "-a" "22d6959abe64c6140c7bc414f4d5c01a0998a41c2cda9e8ecdd5cdc12cdc78ee", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "22d6959abe64c6140c7bc414f4d5c01a0998a41c2cda9e8ecdd5cdc12cdc78ee", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "22d6959abe64c6140c7bc414f4d5c01a0998a41c2cda9e8ecdd5cdc12cdc78ee", kill_on_drop: false }` [INFO] [stdout] 22d6959abe64c6140c7bc414f4d5c01a0998a41c2cda9e8ecdd5cdc12cdc78ee [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] c806050a282d49bbef95eeb785c4f9fcf2da9a813073a721c0b7e0a4b822f4ea [INFO] running `Command { std: "docker" "start" "-a" "c806050a282d49bbef95eeb785c4f9fcf2da9a813073a721c0b7e0a4b822f4ea", kill_on_drop: false }` [INFO] [stderr] Compiling windows-targets v0.48.5 [INFO] [stderr] Compiling windows-core v0.51.1 [INFO] [stderr] Compiling windows v0.51.1 [INFO] [stderr] Compiling setmon v0.1.1 (/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/rustc6wqmqo/symbols.o" "<2 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/{libwindows-67077874c2d8a3f1.rlib,libwindows_core-04708dd04e1f2b0e.rlib,libwindows_targets-2c7f038e9dafa76e.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/rustc6wqmqo/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/setmon-440771e481d8abe1" "-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/setmon-440771e481d8abe1.setmon.45d3d3279330766c-cgu.0.rcgu.o: in function `windows::Windows::Win32::Devices::Display::SetMonitorBrightness': [INFO] [stdout] /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/windows-0.51.1/src/Windows/Win32/Devices/Display/mod.rs:858:(.text._ZN7windows7Windows5Win327Devices7Display20SetMonitorBrightness17h154a048932b5f0dcE+0x33): undefined reference to `SetMonitorBrightness' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/setmon-440771e481d8abe1.setmon.45d3d3279330766c-cgu.0.rcgu.o: in function `windows::Windows::Win32::Devices::Display::GetPhysicalMonitorsFromHMONITOR': [INFO] [stdout] /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/windows-0.51.1/src/Windows/Win32/Devices/Display/mod.rs:672:(.text._ZN7windows7Windows5Win327Devices7Display31GetPhysicalMonitorsFromHMONITOR17hec8a23bb81a025f9E+0x68): undefined reference to `GetPhysicalMonitorsFromHMONITOR' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/setmon-440771e481d8abe1.setmon.45d3d3279330766c-cgu.0.rcgu.o: in function `windows::Windows::Win32::Graphics::Gdi::EnumDisplayMonitors': [INFO] [stdout] /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/windows-0.51.1/src/Windows/Win32/Graphics/Gdi/mod.rs:882:(.text._ZN7windows7Windows5Win328Graphics3Gdi19EnumDisplayMonitors17h33e8484a8707ef0cE+0x119): undefined reference to `EnumDisplayMonitors' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/libwindows_core-04708dd04e1f2b0e.rlib(windows_core-04708dd04e1f2b0e.windows_core.5b16163d699c5995-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.51.1/src/error.rs:27:(.text._ZN12windows_core5error5Error10from_win3217hcccfdf2c482a6a1bE+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 `setmon` (bin "setmon") due to 1 previous error [INFO] running `Command { std: "docker" "inspect" "c806050a282d49bbef95eeb785c4f9fcf2da9a813073a721c0b7e0a4b822f4ea", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c806050a282d49bbef95eeb785c4f9fcf2da9a813073a721c0b7e0a4b822f4ea", kill_on_drop: false }` [INFO] [stdout] c806050a282d49bbef95eeb785c4f9fcf2da9a813073a721c0b7e0a4b822f4ea