[INFO] cloning repository https://github.com/zhouhang95/dxr_tutorials_rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/zhouhang95/dxr_tutorials_rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzhouhang95%2Fdxr_tutorials_rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzhouhang95%2Fdxr_tutorials_rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] c40fc5cf8861edbcc4ae4921fcaf0e680a48bcdc [INFO] testing zhouhang95/dxr_tutorials_rs against try#c2e32f1c9652b13ed99608599c1e855462f421f3 for pr-146098-7 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzhouhang95%2Fdxr_tutorials_rs" "/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/zhouhang95/dxr_tutorials_rs [INFO] finished tweaking git repo https://github.com/zhouhang95/dxr_tutorials_rs [INFO] tweaked toml for git repo https://github.com/zhouhang95/dxr_tutorials_rs written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/zhouhang95/dxr_tutorials_rs on toolchain c2e32f1c9652b13ed99608599c1e855462f421f3 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/zhouhang95/dxr_tutorials_rs 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" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "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" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2fae80007d296f5b4ba4a2394274391d1a4b2e2c27c67dce8abaa33e3469c837 [INFO] running `Command { std: "docker" "start" "-a" "2fae80007d296f5b4ba4a2394274391d1a4b2e2c27c67dce8abaa33e3469c837", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2fae80007d296f5b4ba4a2394274391d1a4b2e2c27c67dce8abaa33e3469c837", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2fae80007d296f5b4ba4a2394274391d1a4b2e2c27c67dce8abaa33e3469c837", kill_on_drop: false }` [INFO] [stdout] 2fae80007d296f5b4ba4a2394274391d1a4b2e2c27c67dce8abaa33e3469c837 [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" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2252e7dcdcc4afd0ab64e3819ff294c4f46ca4c2b2068731e6c7e80b4a53839e [INFO] running `Command { std: "docker" "start" "-a" "2252e7dcdcc4afd0ab64e3819ff294c4f46ca4c2b2068731e6c7e80b4a53839e", kill_on_drop: false }` [INFO] [stderr] Compiling once_cell v1.16.0 [INFO] [stderr] Compiling windows v0.43.0 [INFO] [stderr] Compiling array-init v2.0.1 [INFO] [stderr] Compiling dxr_tutorials_rs v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: linking with `cc` failed: exit status: 1 [INFO] [stdout] | [INFO] [stdout] = note: "cc" "-m64" "/tmp/rustcNmVzMT/symbols.o" "<5 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "/opt/rustwide/target/debug/deps/{libarray_init-1aa1ab7742c8ef9c,libonce_cell-55595acf36b6081f,libglam-acfa45d67be190a5,libwindows-94d7a38fc0e0ba9e}.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/rustcNmVzMT/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/dxr_tutorials_rs-ef4cca398ea6f9d0" "-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: ShowWindow [INFO] [stdout] >>> referenced by mod.rs:4953 (/opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/windows-0.43.0/src/Windows/Win32/UI/WindowsAndMessaging/mod.rs:4953) [INFO] [stdout] >>> /opt/rustwide/target/debug/deps/dxr_tutorials_rs-ef4cca398ea6f9d0.dxr_tutorials_rs.e5d523722c195222-cgu.0.rcgu.o:(windows::Windows::Win32::UI::WindowsAndMessaging::ShowWindow::h43a9318e7a4164e0) [INFO] [stdout] [INFO] [stdout] rust-lld: error: undefined symbol: MessageBoxW [INFO] [stdout] >>> referenced by mod.rs:3391 (/opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/windows-0.43.0/src/Windows/Win32/UI/WindowsAndMessaging/mod.rs:3391) [INFO] [stdout] >>> /opt/rustwide/target/debug/deps/dxr_tutorials_rs-ef4cca398ea6f9d0.dxr_tutorials_rs.e5d523722c195222-cgu.0.rcgu.o:(windows::Windows::Win32::UI::WindowsAndMessaging::MessageBoxW::h9f7d833b0a94c331) [INFO] [stdout] [INFO] [stdout] rust-lld: error: undefined symbol: PeekMessageW [INFO] [stdout] >>> referenced by mod.rs:3828 (/opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/windows-0.43.0/src/Windows/Win32/UI/WindowsAndMessaging/mod.rs:3828) [INFO] [stdout] >>> /opt/rustwide/target/debug/deps/dxr_tutorials_rs-ef4cca398ea6f9d0.dxr_tutorials_rs.e5d523722c195222-cgu.0.rcgu.o:(windows::Windows::Win32::UI::WindowsAndMessaging::PeekMessageW::h28728427adc01232) [INFO] [stdout] [INFO] [stdout] rust-lld: error: undefined symbol: DestroyWindow [INFO] [stdout] >>> referenced by mod.rs:1140 (/opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/windows-0.43.0/src/Windows/Win32/UI/WindowsAndMessaging/mod.rs:1140) [INFO] [stdout] >>> /opt/rustwide/target/debug/deps/dxr_tutorials_rs-ef4cca398ea6f9d0.dxr_tutorials_rs.e5d523722c195222-cgu.0.rcgu.o:(windows::Windows::Win32::UI::WindowsAndMessaging::DestroyWindow::h5d2b034c226e0625) [INFO] [stdout] [INFO] [stdout] rust-lld: error: undefined symbol: GetClientRect [INFO] [stdout] >>> referenced by mod.rs:1732 (/opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/windows-0.43.0/src/Windows/Win32/UI/WindowsAndMessaging/mod.rs:1732) [INFO] [stdout] >>> /opt/rustwide/target/debug/deps/dxr_tutorials_rs-ef4cca398ea6f9d0.dxr_tutorials_rs.e5d523722c195222-cgu.0.rcgu.o:(windows::Windows::Win32::UI::WindowsAndMessaging::GetClientRect::ha02ac3f4b7c29070) [INFO] [stdout] [INFO] [stdout] rust-lld: error: undefined symbol: DefWindowProcW [INFO] [stdout] >>> referenced by mod.rs:1004 (/opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/windows-0.43.0/src/Windows/Win32/UI/WindowsAndMessaging/mod.rs:1004) [INFO] [stdout] >>> /opt/rustwide/target/debug/deps/dxr_tutorials_rs-ef4cca398ea6f9d0.dxr_tutorials_rs.e5d523722c195222-cgu.0.rcgu.o:(windows::Windows::Win32::UI::WindowsAndMessaging::DefWindowProcW::h12059f9eb84ba773) [INFO] [stdout] [INFO] [stdout] rust-lld: error: undefined symbol: SetWindowTextW [INFO] [stdout] >>> referenced by mod.rs:4839 (/opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/windows-0.43.0/src/Windows/Win32/UI/WindowsAndMessaging/mod.rs:4839) [INFO] [stdout] >>> /opt/rustwide/target/debug/deps/dxr_tutorials_rs-ef4cca398ea6f9d0.dxr_tutorials_rs.e5d523722c195222-cgu.0.rcgu.o:(windows::Windows::Win32::UI::WindowsAndMessaging::SetWindowTextW::h9c5a9849e6432ca7) [INFO] [stdout] [INFO] [stdout] rust-lld: error: undefined symbol: CreateWindowExW [INFO] [stdout] >>> referenced by mod.rs:882 (/opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/windows-0.43.0/src/Windows/Win32/UI/WindowsAndMessaging/mod.rs:882) [INFO] [stdout] >>> /opt/rustwide/target/debug/deps/dxr_tutorials_rs-ef4cca398ea6f9d0.dxr_tutorials_rs.e5d523722c195222-cgu.0.rcgu.o:(windows::Windows::Win32::UI::WindowsAndMessaging::CreateWindowExW::hcf1c62a5c0778e7d) [INFO] [stdout] [INFO] [stdout] rust-lld: error: undefined symbol: PostQuitMessage [INFO] [stdout] >>> referenced by mod.rs:3880 (/opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/windows-0.43.0/src/Windows/Win32/UI/WindowsAndMessaging/mod.rs:3880) [INFO] [stdout] >>> /opt/rustwide/target/debug/deps/dxr_tutorials_rs-ef4cca398ea6f9d0.dxr_tutorials_rs.e5d523722c195222-cgu.0.rcgu.o:(windows::Windows::Win32::UI::WindowsAndMessaging::PostQuitMessage::h97e504fe4bd7c94d) [INFO] [stdout] [INFO] [stdout] rust-lld: error: undefined symbol: AdjustWindowRect [INFO] [stdout] >>> referenced by mod.rs:36 (/opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/windows-0.43.0/src/Windows/Win32/UI/WindowsAndMessaging/mod.rs:36) [INFO] [stdout] >>> /opt/rustwide/target/debug/deps/dxr_tutorials_rs-ef4cca398ea6f9d0.dxr_tutorials_rs.e5d523722c195222-cgu.0.rcgu.o:(windows::Windows::Win32::UI::WindowsAndMessaging::AdjustWindowRect::hbf2780061a889271) [INFO] [stdout] [INFO] [stdout] rust-lld: error: undefined symbol: DispatchMessageW [INFO] [stdout] >>> referenced by mod.rs:1231 (/opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/windows-0.43.0/src/Windows/Win32/UI/WindowsAndMessaging/mod.rs:1231) [INFO] [stdout] >>> /opt/rustwide/target/debug/deps/dxr_tutorials_rs-ef4cca398ea6f9d0.dxr_tutorials_rs.e5d523722c195222-cgu.0.rcgu.o:(windows::Windows::Win32::UI::WindowsAndMessaging::DispatchMessageW::hcf4dac4bfe650a45) [INFO] [stdout] [INFO] [stdout] rust-lld: error: undefined symbol: RegisterClassExW [INFO] [stdout] >>> referenced by mod.rs:3995 (/opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/windows-0.43.0/src/Windows/Win32/UI/WindowsAndMessaging/mod.rs:3995) [INFO] [stdout] >>> /opt/rustwide/target/debug/deps/dxr_tutorials_rs-ef4cca398ea6f9d0.dxr_tutorials_rs.e5d523722c195222-cgu.0.rcgu.o:(windows::Windows::Win32::UI::WindowsAndMessaging::RegisterClassExW::h949b6370810bad9c) [INFO] [stdout] [INFO] [stdout] rust-lld: error: undefined symbol: TranslateMessage [INFO] [stdout] >>> referenced by mod.rs:5102 (/opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/windows-0.43.0/src/Windows/Win32/UI/WindowsAndMessaging/mod.rs:5102) [INFO] [stdout] >>> /opt/rustwide/target/debug/deps/dxr_tutorials_rs-ef4cca398ea6f9d0.dxr_tutorials_rs.e5d523722c195222-cgu.0.rcgu.o:(windows::Windows::Win32::UI::WindowsAndMessaging::TranslateMessage::hc2dbf4b06750a745) [INFO] [stdout] [INFO] [stdout] rust-lld: error: undefined symbol: GetModuleHandleW [INFO] [stdout] >>> referenced by mod.rs:445 (/opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/windows-0.43.0/src/Windows/Win32/System/LibraryLoader/mod.rs:445) [INFO] [stdout] >>> /opt/rustwide/target/debug/deps/dxr_tutorials_rs-ef4cca398ea6f9d0.dxr_tutorials_rs.e5d523722c195222-cgu.0.rcgu.o:(windows::Windows::Win32::System::LibraryLoader::GetModuleHandleW::h32dda034c865265e) [INFO] [stdout] [INFO] [stdout] rust-lld: error: undefined symbol: CreateEventW [INFO] [stdout] >>> referenced by mod.rs:482 (/opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/windows-0.43.0/src/Windows/Win32/System/Threading/mod.rs:482) [INFO] [stdout] >>> /opt/rustwide/target/debug/deps/dxr_tutorials_rs-ef4cca398ea6f9d0.dxr_tutorials_rs.e5d523722c195222-cgu.0.rcgu.o:(windows::Windows::Win32::System::Threading::CreateEventW::h1f228ea43b98b70b) [INFO] [stdout] [INFO] [stdout] rust-lld: error: undefined symbol: WaitForSingleObject [INFO] [stdout] >>> referenced by mod.rs:3353 (/opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/windows-0.43.0/src/Windows/Win32/System/Threading/mod.rs:3353) [INFO] [stdout] >>> /opt/rustwide/target/debug/deps/dxr_tutorials_rs-ef4cca398ea6f9d0.dxr_tutorials_rs.e5d523722c195222-cgu.0.rcgu.o:(windows::Windows::Win32::System::Threading::WaitForSingleObject::h504c7f4b0adb7bd8) [INFO] [stdout] [INFO] [stdout] rust-lld: error: undefined symbol: CreateDXGIFactory2 [INFO] [stdout] >>> referenced by mod.rs:40 (/opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/windows-0.43.0/src/Windows/Win32/Graphics/Dxgi/mod.rs:40) [INFO] [stdout] >>> /opt/rustwide/target/debug/deps/dxr_tutorials_rs-ef4cca398ea6f9d0.dxr_tutorials_rs.e5d523722c195222-cgu.0.rcgu.o:(windows::Windows::Win32::Graphics::Dxgi::CreateDXGIFactory2::hc1e1c8a8b9375083) [INFO] [stdout] [INFO] [stdout] rust-lld: error: undefined symbol: DxcCreateInstance [INFO] [stdout] >>> referenced by mod.rs:12 (/opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/windows-0.43.0/src/Windows/Win32/Graphics/Direct3D/Dxc/mod.rs:12) [INFO] [stdout] >>> /opt/rustwide/target/debug/deps/dxr_tutorials_rs-ef4cca398ea6f9d0.dxr_tutorials_rs.e5d523722c195222-cgu.0.rcgu.o:(windows::Windows::Win32::Graphics::Direct3D::Dxc::DxcCreateInstance::h23d24551f688f2c3) [INFO] [stdout] >>> referenced by mod.rs:12 (/opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/windows-0.43.0/src/Windows/Win32/Graphics/Direct3D/Dxc/mod.rs:12) [INFO] [stdout] >>> /opt/rustwide/target/debug/deps/dxr_tutorials_rs-ef4cca398ea6f9d0.dxr_tutorials_rs.e5d523722c195222-cgu.0.rcgu.o:(windows::Windows::Win32::Graphics::Direct3D::Dxc::DxcCreateInstance::he1d84978b954dff7) [INFO] [stdout] [INFO] [stdout] rust-lld: error: undefined symbol: D3D12CreateDevice [INFO] [stdout] >>> referenced by mod.rs:13 (/opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/windows-0.43.0/src/Windows/Win32/Graphics/Direct3D12/mod.rs:13) [INFO] [stdout] >>> /opt/rustwide/target/debug/deps/dxr_tutorials_rs-ef4cca398ea6f9d0.dxr_tutorials_rs.e5d523722c195222-cgu.2.rcgu.o:(windows::Windows::Win32::Graphics::Direct3D12::D3D12CreateDevice::h7c3c046a91455927) [INFO] [stdout] [INFO] [stdout] rust-lld: error: undefined symbol: D3D12GetDebugInterface [INFO] [stdout] >>> referenced by mod.rs:52 (/opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/windows-0.43.0/src/Windows/Win32/Graphics/Direct3D12/mod.rs:52) [INFO] [stdout] >>> /opt/rustwide/target/debug/deps/dxr_tutorials_rs-ef4cca398ea6f9d0.dxr_tutorials_rs.e5d523722c195222-cgu.2.rcgu.o:(windows::Windows::Win32::Graphics::Direct3D12::D3D12GetDebugInterface::h716538c35b667e02) [INFO] [stdout] [INFO] [stdout] rust-lld: error: too many errors emitted, stopping now (use --error-limit=0 to see all errors) [INFO] [stdout] collect2: error: ld returned 1 exit status [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `dxr_tutorials_rs` (bin "dxr_tutorials_rs") due to 1 previous error [INFO] running `Command { std: "docker" "inspect" "2252e7dcdcc4afd0ab64e3819ff294c4f46ca4c2b2068731e6c7e80b4a53839e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2252e7dcdcc4afd0ab64e3819ff294c4f46ca4c2b2068731e6c7e80b4a53839e", kill_on_drop: false }` [INFO] [stdout] 2252e7dcdcc4afd0ab64e3819ff294c4f46ca4c2b2068731e6c7e80b4a53839e