[INFO] cloning repository https://github.com/12e9881f53658734f7d0005e8f9091def068a65/currently_logged_in_user
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/12e9881f53658734f7d0005e8f9091def068a65/currently_logged_in_user" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2F12e9881f53658734f7d0005e8f9091def068a65%2Fcurrently_logged_in_user", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2F12e9881f53658734f7d0005e8f9091def068a65%2Fcurrently_logged_in_user'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] bde0ba1490ce443cc8df1d5fef592370d0fd04c3
[INFO] testing 12e9881f53658734f7d0005e8f9091def068a65/currently_logged_in_user against try#9f93af291970322f4f1c6315ccde4d7078201159 for pr-146098-6
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2F12e9881f53658734f7d0005e8f9091def068a65%2Fcurrently_logged_in_user" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/12e9881f53658734f7d0005e8f9091def068a65/currently_logged_in_user
[INFO] finished tweaking git repo https://github.com/12e9881f53658734f7d0005e8f9091def068a65/currently_logged_in_user
[INFO] tweaked toml for git repo https://github.com/12e9881f53658734f7d0005e8f9091def068a65/currently_logged_in_user written to /workspace/builds/worker-3-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/12e9881f53658734f7d0005e8f9091def068a65/currently_logged_in_user on toolchain 9f93af291970322f4f1c6315ccde4d7078201159
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9f93af291970322f4f1c6315ccde4d7078201159" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/12e9881f53658734f7d0005e8f9091def068a65/currently_logged_in_user 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" "+9f93af291970322f4f1c6315ccde4d7078201159" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+9f93af291970322f4f1c6315ccde4d7078201159" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 75afff58397737cf177429bec1b3f5635f79dd70c60c64fb052f8963267698c2
[INFO] running `Command { std: "docker" "start" "-a" "75afff58397737cf177429bec1b3f5635f79dd70c60c64fb052f8963267698c2", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "75afff58397737cf177429bec1b3f5635f79dd70c60c64fb052f8963267698c2", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "75afff58397737cf177429bec1b3f5635f79dd70c60c64fb052f8963267698c2", kill_on_drop: false }`
[INFO] [stdout] 75afff58397737cf177429bec1b3f5635f79dd70c60c64fb052f8963267698c2
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+9f93af291970322f4f1c6315ccde4d7078201159" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 9e08f6777e477f00ea813c9f11dd64af4e7e99e333ddccb100d6ebd60933be01
[INFO] running `Command { std: "docker" "start" "-a" "9e08f6777e477f00ea813c9f11dd64af4e7e99e333ddccb100d6ebd60933be01", kill_on_drop: false }`
[INFO] [stderr]    Compiling windows_x86_64_gnu v0.52.0
[INFO] [stderr]    Compiling windows-targets v0.52.0
[INFO] [stderr]    Compiling windows-core v0.52.0
[INFO] [stderr]    Compiling windows v0.52.0
[INFO] [stderr]    Compiling currently_logged_in_user v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `HRESULT`
[INFO] [stdout]  --> src/main.rs:1:71
[INFO] [stdout]   |
[INFO] [stdout] 1 | use windows::{Win32::System::WindowsProgramming::GetUserNameW, core::{HRESULT, PWSTR}};
[INFO] [stdout]   |                                                                       ^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `error::Error`
[INFO] [stdout]  --> src/main.rs:2:34
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::{slice::from_raw_parts, error::Error, usize};
[INFO] [stdout]   |                                  ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: linking with `cc` failed: exit status: 1
[INFO] [stdout]   |
[INFO] [stdout]   = note:  "cc" "-m64" "/tmp/rustc5Aag6d/symbols.o" "<2 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "/opt/rustwide/target/debug/deps/{libwindows-9face95530c66587,libwindows_core-73d3d12352b91a93,libwindows_targets-41062d35a64649b2}.rlib" "<sysroot>/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/rustc5Aag6d/raw-dylibs" "-B<sysroot>/lib/rustlib/x86_64-unknown-linux-gnu/bin/gcc-ld" "-fuse-ld=lld" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-L" "<sysroot>/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/opt/rustwide/target/debug/deps/currently_logged_in_user-87b3848b6fbc6c84" "-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: GetUserNameW
[INFO] [stdout]           >>> referenced by mod.rs:624 (/opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/windows-0.52.0/src/Windows/Win32/System/WindowsProgramming/mod.rs:624)
[INFO] [stdout]           >>>               /opt/rustwide/target/debug/deps/currently_logged_in_user-87b3848b6fbc6c84.currently_logged_in_user.41a49094acd13612-cgu.0.rcgu.o:(windows::Win32::System::WindowsProgramming::GetUserNameW::h1fa85d7ecb6169b9)
[INFO] [stdout]           
[INFO] [stdout]           rust-lld: error: undefined symbol: GetLastError
[INFO] [stdout]           >>> referenced by error.rs:27 (src/error.rs:27)
[INFO] [stdout]           >>>               windows_core-73d3d12352b91a93.windows_core.6328eb3ada8c4834-cgu.4.rcgu.o:(windows_core::error::Error::from_win32::he52f791c6549ed5a) in archive /opt/rustwide/target/debug/deps/libwindows_core-73d3d12352b91a93.rlib
[INFO] [stdout]           collect2: error: ld returned 1 exit status
[INFO] [stdout]           
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `currently_logged_in_user` (bin "currently_logged_in_user") due to 1 previous error; 2 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "9e08f6777e477f00ea813c9f11dd64af4e7e99e333ddccb100d6ebd60933be01", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "9e08f6777e477f00ea813c9f11dd64af4e7e99e333ddccb100d6ebd60933be01", kill_on_drop: false }`
[INFO] [stdout] 9e08f6777e477f00ea813c9f11dd64af4e7e99e333ddccb100d6ebd60933be01
