[INFO] cloning repository https://github.com/tec27/monitor-off [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/tec27/monitor-off" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftec27%2Fmonitor-off", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftec27%2Fmonitor-off'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 7c00c5cbb1d8910d8981447d78158b3d08301a66 [INFO] testing tec27/monitor-off against try#b83b707f97d809763b7861afa7638871f3339a33 for pr-145838-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftec27%2Fmonitor-off" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/tec27/monitor-off [INFO] finished tweaking git repo https://github.com/tec27/monitor-off [INFO] tweaked toml for git repo https://github.com/tec27/monitor-off written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/tec27/monitor-off on toolchain b83b707f97d809763b7861afa7638871f3339a33 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/tec27/monitor-off 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" "+b83b707f97d809763b7861afa7638871f3339a33" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8706ded344ff4a01ecb6412bab609359d615e8bda29d90b15c3e20d6dc664ac9 [INFO] running `Command { std: "docker" "start" "-a" "8706ded344ff4a01ecb6412bab609359d615e8bda29d90b15c3e20d6dc664ac9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8706ded344ff4a01ecb6412bab609359d615e8bda29d90b15c3e20d6dc664ac9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8706ded344ff4a01ecb6412bab609359d615e8bda29d90b15c3e20d6dc664ac9", kill_on_drop: false }` [INFO] [stdout] 8706ded344ff4a01ecb6412bab609359d615e8bda29d90b15c3e20d6dc664ac9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b1009546eb66140c91b5bb8dd410ec84d55daca2349f01090a5c6f313092ae98 [INFO] running `Command { std: "docker" "start" "-a" "b1009546eb66140c91b5bb8dd410ec84d55daca2349f01090a5c6f313092ae98", kill_on_drop: false }` [INFO] [stderr] Compiling windows_x86_64_gnu v0.52.3 [INFO] [stderr] Compiling windows-targets v0.52.3 [INFO] [stderr] Compiling windows-result v0.1.0 [INFO] [stderr] Compiling windows-core v0.53.0 [INFO] [stderr] Compiling windows v0.53.0 [INFO] [stderr] Compiling monitor-off v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] error: linking with `cc` failed: exit status: 1 [INFO] [stdout] | [INFO] [stdout] = note: "cc" "-m64" "/tmp/rustckB6hgP/symbols.o" "<2 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "/opt/rustwide/target/debug/deps/{libwindows-98fb8aa688c5a755,libwindows_core-0c061af130f3bf86,libwindows_result-5a30aefe757f3233,libwindows_targets-638cc42728742093}.rlib" "/lib/rustlib/x86_64-unknown-linux-gnu/lib/{libstd-*,libpanic_unwind-*,libobject-*,libmemchr-*,libaddr2line-*,libgimli-*,libcfg_if-*,librustc_demangle-*,libstd_detect-*,libhashbrown-*,librustc_std_workspace_alloc-*,libminiz_oxide-*,libadler2-*,libunwind-*,liblibc-*,librustc_std_workspace_core-*,liballoc-*,libcore-*,libcompiler_builtins-*}.rlib" "-Wl,-Bdynamic" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-L" "/tmp/rustckB6hgP/raw-dylibs" "-B/lib/rustlib/x86_64-unknown-linux-gnu/bin/gcc-ld" "-fuse-ld=lld" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-L" "/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/opt/rustwide/target/debug/deps/monitor_off-d072e6358d3f0fb9" "-Wl,--gc-sections" "-pie" "-Wl,-z,relro,-z,now" "-nodefaultlibs" [INFO] [stdout] = note: some arguments are omitted. use `--verbose` to show all linker arguments [INFO] [stdout] = note: rust-lld: error: undefined symbol: SendMessageA [INFO] [stdout] >>> referenced by mod.rs:2648 (/opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/windows-0.53.0/src/Windows/Win32/UI/WindowsAndMessaging/mod.rs:2648) [INFO] [stdout] >>> /opt/rustwide/target/debug/deps/monitor_off-d072e6358d3f0fb9.monitor_off.b6776c5e1c2ddfa7-cgu.0.rcgu.o:(windows::Win32::UI::WindowsAndMessaging::SendMessageA::h1bfacbe84ce3fcce) [INFO] [stdout] [INFO] [stdout] rust-lld: error: undefined symbol: DestroyWindow [INFO] [stdout] >>> referenced by mod.rs:707 (/opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/windows-0.53.0/src/Windows/Win32/UI/WindowsAndMessaging/mod.rs:707) [INFO] [stdout] >>> /opt/rustwide/target/debug/deps/monitor_off-d072e6358d3f0fb9.monitor_off.b6776c5e1c2ddfa7-cgu.0.rcgu.o:(windows::Win32::UI::WindowsAndMessaging::DestroyWindow::h42a7b66406d2c9f9) [INFO] [stdout] [INFO] [stdout] rust-lld: error: undefined symbol: CreateWindowExA [INFO] [stdout] >>> referenced by mod.rs:528 (/opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/windows-0.53.0/src/Windows/Win32/UI/WindowsAndMessaging/mod.rs:528) [INFO] [stdout] >>> /opt/rustwide/target/debug/deps/monitor_off-d072e6358d3f0fb9.monitor_off.b6776c5e1c2ddfa7-cgu.0.rcgu.o:(windows::Win32::UI::WindowsAndMessaging::CreateWindowExA::hd8627cd1f6edcb02) [INFO] [stdout] [INFO] [stdout] rust-lld: error: undefined symbol: GetLastError [INFO] [stdout] >>> referenced by error.rs:42 (src/error.rs:42) [INFO] [stdout] >>> windows_result-5a30aefe757f3233.windows_result.dcfae34f3cc442c1-cgu.0.rcgu.o:(windows_result::error::Error::from_win32::h744cb8ac7f979b47) in archive /opt/rustwide/target/debug/deps/libwindows_result-5a30aefe757f3233.rlib [INFO] [stdout] [INFO] [stdout] rust-lld: error: undefined symbol: LoadLibraryExA [INFO] [stdout] >>> referenced by hresult.rs:81 (src/hresult.rs:81) [INFO] [stdout] >>> windows_result-5a30aefe757f3233.windows_result.dcfae34f3cc442c1-cgu.0.rcgu.o:(windows_result::hresult::HRESULT::message::hedc89eb7daed164c) in archive /opt/rustwide/target/debug/deps/libwindows_result-5a30aefe757f3233.rlib [INFO] [stdout] [INFO] [stdout] rust-lld: error: undefined symbol: FormatMessageW [INFO] [stdout] >>> referenced by hresult.rs:84 (src/hresult.rs:84) [INFO] [stdout] >>> windows_result-5a30aefe757f3233.windows_result.dcfae34f3cc442c1-cgu.0.rcgu.o:(windows_result::hresult::HRESULT::message::hedc89eb7daed164c) in archive /opt/rustwide/target/debug/deps/libwindows_result-5a30aefe757f3233.rlib [INFO] [stdout] [INFO] [stdout] rust-lld: error: undefined symbol: SysStringLen [INFO] [stdout] >>> referenced by strings.rs:33 (src/strings.rs:33) [INFO] [stdout] >>> windows_result-5a30aefe757f3233.windows_result.dcfae34f3cc442c1-cgu.0.rcgu.o:(windows_result::strings::BasicString::len::hdf9a6347d0c79e78) in archive /opt/rustwide/target/debug/deps/libwindows_result-5a30aefe757f3233.rlib [INFO] [stdout] [INFO] [stdout] rust-lld: error: undefined symbol: GetProcessHeap [INFO] [stdout] >>> referenced by strings.rs:15 (src/strings.rs:15) [INFO] [stdout] >>> windows_result-5a30aefe757f3233.windows_result.dcfae34f3cc442c1-cgu.0.rcgu.o:(_$LT$windows_result..strings..HeapString$u20$as$u20$core..ops..drop..Drop$GT$::drop::h659500598b8496ee) in archive /opt/rustwide/target/debug/deps/libwindows_result-5a30aefe757f3233.rlib [INFO] [stdout] [INFO] [stdout] rust-lld: error: undefined symbol: HeapFree [INFO] [stdout] >>> referenced by strings.rs:15 (src/strings.rs:15) [INFO] [stdout] >>> windows_result-5a30aefe757f3233.windows_result.dcfae34f3cc442c1-cgu.0.rcgu.o:(_$LT$windows_result..strings..HeapString$u20$as$u20$core..ops..drop..Drop$GT$::drop::h659500598b8496ee) in archive /opt/rustwide/target/debug/deps/libwindows_result-5a30aefe757f3233.rlib [INFO] [stdout] [INFO] [stdout] rust-lld: error: undefined symbol: SysFreeString [INFO] [stdout] >>> referenced by strings.rs:60 (src/strings.rs:60) [INFO] [stdout] >>> windows_result-5a30aefe757f3233.windows_result.dcfae34f3cc442c1-cgu.0.rcgu.o:(_$LT$windows_result..strings..BasicString$u20$as$u20$core..ops..drop..Drop$GT$::drop::hb2722f3ae6e77ed5) in archive /opt/rustwide/target/debug/deps/libwindows_result-5a30aefe757f3233.rlib [INFO] [stdout] collect2: error: ld returned 1 exit status [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `monitor-off` (bin "monitor-off") due to 1 previous error [INFO] running `Command { std: "docker" "inspect" "b1009546eb66140c91b5bb8dd410ec84d55daca2349f01090a5c6f313092ae98", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b1009546eb66140c91b5bb8dd410ec84d55daca2349f01090a5c6f313092ae98", kill_on_drop: false }` [INFO] [stdout] b1009546eb66140c91b5bb8dd410ec84d55daca2349f01090a5c6f313092ae98