Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Linking libtest with lld-link results in undefined symbols #68647

Closed
Zoxc opened this issue Jan 29, 2020 · 3 comments · Fixed by #76127
Closed

Linking libtest with lld-link results in undefined symbols #68647

Zoxc opened this issue Jan 29, 2020 · 3 comments · Fixed by #76127
Labels
A-libtest Area: `#[test]` / the `test` library A-linkage Area: linking into static, shared libraries and binaries C-bug Category: This is a bug. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue.

Comments

@Zoxc
Copy link
Contributor

Zoxc commented Jan 29, 2020

Not sure if this is a LLD or rustc bug.

Error output:

error: linking with `F:\Rust\rust\build\x86_64-pc-windows-msvc\stage0\lib\rustlib\x86_64-pc-windows-msvc\bin\rust-lld` failed: exit code: 1
  |
  = note: "F:\\Rust\\rust\\build\\x86_64-pc-windows-msvc\\stage0\\lib\\rustlib\\x86_64-pc-windows-msvc\\bin\\rust-lld" "-flavor" "link" "/LIBPATH:F:\\Rust\\rust\\build\\x86_64-pc-windows-msvc\\stage0-sysroot\\lib\\rustlib\\x86_64-pc-windows-msvc\\lib" "F:\\Rust\\rust\\build\\x86_64-pc-windows-msvc\\stage0-std\\x86_64-pc-windows-msvc\\release\\deps\\test-08b31b6e3b792056.test.cdf7p9m0-cgu.0.rcgu.o" "F:\\Rust\\rust\\build\\x86_64-pc-windows-msvc\\stage0-std\\x86_64-pc-windows-msvc\\release\\deps\\test-08b31b6e3b792056.test.cdf7p9m0-cgu.1.rcgu.o" "F:\\Rust\\rust\\build\\x86_64-pc-windows-msvc\\stage0-std\\x86_64-pc-windows-msvc\\release\\deps\\test-08b31b6e3b792056.test.cdf7p9m0-cgu.10.rcgu.o" "F:\\Rust\\rust\\build\\x86_64-pc-windows-msvc\\stage0-std\\x86_64-pc-windows-msvc\\release\\deps\\test-08b31b6e3b792056.test.cdf7p9m0-cgu.11.rcgu.o" "F:\\Rust\\rust\\build\\x86_64-pc-windows-msvc\\stage0-std\\x86_64-pc-windows-msvc\\release\\deps\\test-08b31b6e3b792056.test.cdf7p9m0-cgu.12.rcgu.o" "F:\\Rust\\rust\\build\\x86_64-pc-windows-msvc\\stage0-std\\x86_64-pc-windows-msvc\\release\\deps\\test-08b31b6e3b792056.test.cdf7p9m0-cgu.13.rcgu.o" "F:\\Rust\\rust\\build\\x86_64-pc-windows-msvc\\stage0-std\\x86_64-pc-windows-msvc\\release\\deps\\test-08b31b6e3b792056.test.cdf7p9m0-cgu.14.rcgu.o" "F:\\Rust\\rust\\build\\x86_64-pc-windows-msvc\\stage0-std\\x86_64-pc-windows-msvc\\release\\deps\\test-08b31b6e3b792056.test.cdf7p9m0-cgu.15.rcgu.o" "F:\\Rust\\rust\\build\\x86_64-pc-windows-msvc\\stage0-std\\x86_64-pc-windows-msvc\\release\\deps\\test-08b31b6e3b792056.test.cdf7p9m0-cgu.16.rcgu.o" "F:\\Rust\\rust\\build\\x86_64-pc-windows-msvc\\stage0-std\\x86_64-pc-windows-msvc\\release\\deps\\test-08b31b6e3b792056.test.cdf7p9m0-cgu.17.rcgu.o" "F:\\Rust\\rust\\build\\x86_64-pc-windows-msvc\\stage0-std\\x86_64-pc-windows-msvc\\release\\deps\\test-08b31b6e3b792056.test.cdf7p9m0-cgu.18.rcgu.o" "F:\\Rust\\rust\\build\\x86_64-pc-windows-msvc\\stage0-std\\x86_64-pc-windows-msvc\\release\\deps\\test-08b31b6e3b792056.test.cdf7p9m0-cgu.19.rcgu.o" "F:\\Rust\\rust\\build\\x86_64-pc-windows-msvc\\stage0-std\\x86_64-pc-windows-msvc\\release\\deps\\test-08b31b6e3b792056.test.cdf7p9m0-cgu.2.rcgu.o" "F:\\Rust\\rust\\build\\x86_64-pc-windows-msvc\\stage0-std\\x86_64-pc-windows-msvc\\release\\deps\\test-08b31b6e3b792056.test.cdf7p9m0-cgu.20.rcgu.o" "F:\\Rust\\rust\\build\\x86_64-pc-windows-msvc\\stage0-std\\x86_64-pc-windows-msvc\\release\\deps\\test-08b31b6e3b792056.test.cdf7p9m0-cgu.21.rcgu.o" "F:\\Rust\\rust\\build\\x86_64-pc-windows-msvc\\stage0-std\\x86_64-pc-windows-msvc\\release\\deps\\test-08b31b6e3b792056.test.cdf7p9m0-cgu.22.rcgu.o" "F:\\Rust\\rust\\build\\x86_64-pc-windows-msvc\\stage0-std\\x86_64-pc-windows-msvc\\release\\deps\\test-08b31b6e3b792056.test.cdf7p9m0-cgu.23.rcgu.o" "F:\\Rust\\rust\\build\\x86_64-pc-windows-msvc\\stage0-std\\x86_64-pc-windows-msvc\\release\\deps\\test-08b31b6e3b792056.test.cdf7p9m0-cgu.24.rcgu.o" "F:\\Rust\\rust\\build\\x86_64-pc-windows-msvc\\stage0-std\\x86_64-pc-windows-msvc\\release\\deps\\test-08b31b6e3b792056.test.cdf7p9m0-cgu.25.rcgu.o" "F:\\Rust\\rust\\build\\x86_64-pc-windows-msvc\\stage0-std\\x86_64-pc-windows-msvc\\release\\deps\\test-08b31b6e3b792056.test.cdf7p9m0-cgu.26.rcgu.o" "F:\\Rust\\rust\\build\\x86_64-pc-windows-msvc\\stage0-std\\x86_64-pc-windows-msvc\\release\\deps\\test-08b31b6e3b792056.test.cdf7p9m0-cgu.27.rcgu.o" "F:\\Rust\\rust\\build\\x86_64-pc-windows-msvc\\stage0-std\\x86_64-pc-windows-msvc\\release\\deps\\test-08b31b6e3b792056.test.cdf7p9m0-cgu.28.rcgu.o" "F:\\Rust\\rust\\build\\x86_64-pc-windows-msvc\\stage0-std\\x86_64-pc-windows-msvc\\release\\deps\\test-08b31b6e3b792056.test.cdf7p9m0-cgu.29.rcgu.o" "F:\\Rust\\rust\\build\\x86_64-pc-windows-msvc\\stage0-std\\x86_64-pc-windows-msvc\\release\\deps\\test-08b31b6e3b792056.test.cdf7p9m0-cgu.3.rcgu.o" "F:\\Rust\\rust\\build\\x86_64-pc-windows-msvc\\stage0-std\\x86_64-pc-windows-msvc\\release\\deps\\test-08b31b6e3b792056.test.cdf7p9m0-cgu.30.rcgu.o" "F:\\Rust\\rust\\build\\x86_64-pc-windows-msvc\\stage0-std\\x86_64-pc-windows-msvc\\release\\deps\\test-08b31b6e3b792056.test.cdf7p9m0-cgu.31.rcgu.o" "F:\\Rust\\rust\\build\\x86_64-pc-windows-msvc\\stage0-std\\x86_64-pc-windows-msvc\\release\\deps\\test-08b31b6e3b792056.test.cdf7p9m0-cgu.4.rcgu.o" "F:\\Rust\\rust\\build\\x86_64-pc-windows-msvc\\stage0-std\\x86_64-pc-windows-msvc\\release\\deps\\test-08b31b6e3b792056.test.cdf7p9m0-cgu.5.rcgu.o" "F:\\Rust\\rust\\build\\x86_64-pc-windows-msvc\\stage0-std\\x86_64-pc-windows-msvc\\release\\deps\\test-08b31b6e3b792056.test.cdf7p9m0-cgu.6.rcgu.o" "F:\\Rust\\rust\\build\\x86_64-pc-windows-msvc\\stage0-std\\x86_64-pc-windows-msvc\\release\\deps\\test-08b31b6e3b792056.test.cdf7p9m0-cgu.7.rcgu.o" "F:\\Rust\\rust\\build\\x86_64-pc-windows-msvc\\stage0-std\\x86_64-pc-windows-msvc\\release\\deps\\test-08b31b6e3b792056.test.cdf7p9m0-cgu.8.rcgu.o" "F:\\Rust\\rust\\build\\x86_64-pc-windows-msvc\\stage0-std\\x86_64-pc-windows-msvc\\release\\deps\\test-08b31b6e3b792056.test.cdf7p9m0-cgu.9.rcgu.o" "/OUT:F:\\Rust\\rust\\build\\x86_64-pc-windows-msvc\\stage0-std\\x86_64-pc-windows-msvc\\release\\deps\\test-08b31b6e3b792056.dll" "/DEF:C:\\Users\\John\\AppData\\Local\\Temp\\rustccCOdq4\\lib.def" "F:\\Rust\\rust\\build\\x86_64-pc-windows-msvc\\stage0-std\\x86_64-pc-windows-msvc\\release\\deps\\test-08b31b6e3b792056.5yai0brzr211np4.rcgu.o" "/OPT:REF,ICF" "/DEBUG" "/LIBPATH:F:\\Rust\\rust\\build\\x86_64-pc-windows-msvc\\stage0-std\\x86_64-pc-windows-msvc\\release\\deps" "/LIBPATH:F:\\Rust\\rust\\build\\x86_64-pc-windows-msvc\\stage0-std\\release\\deps" "/LIBPATH:F:\\Rust\\rust\\build\\x86_64-pc-windows-msvc\\stage0-std\\x86_64-pc-windows-msvc\\release\\build\\compiler_builtins-44214af0d2365ef5\\out" "/LIBPATH:F:\\Rust\\rust\\build\\x86_64-pc-windows-msvc\\stage0-sysroot\\lib\\rustlib\\x86_64-pc-windows-msvc\\lib" "C:\\Users\\John\\AppData\\Local\\Temp\\rustccCOdq4\\libterm-6cfbd4c1589fa116.rlib" "C:\\Users\\John\\AppData\\Local\\Temp\\rustccCOdq4\\libgetopts-b1f28f4def7ae8a6.rlib" "C:\\Users\\John\\AppData\\Local\\Temp\\rustccCOdq4\\libunicode_width-e7889bd28dfba242.rlib" "C:\\Users\\John\\AppData\\Local\\Temp\\rustccCOdq4\\librustc_std_workspace_std-c2dd7b0881cfef4e.rlib" "/LIBPATH:F:\\Rust\\rust\\build\\x86_64-pc-windows-msvc\\stage0-std\\x86_64-pc-windows-msvc\\release\\deps" "std-c2f4da12d5907bd6.dll.lib" "C:\\Users\\John\\AppData\\Local\\Temp\\rustccCOdq4\\libcompiler_builtins-c95709d8d9af9cff.rlib" "kernel32.lib" "advapi32.lib" "ws2_32.lib" "userenv.lib" "libcmt.lib" "/DLL" "/IMPLIB:F:\\Rust\\rust\\build\\x86_64-pc-windows-msvc\\stage0-std\\x86_64-pc-windows-msvc\\release\\deps\\test-08b31b6e3b792056.dll.lib"
  = note: rust-lld: error: undefined symbol: _ZN57_$LT$std..io..stdio..Stdout$u20$as$u20$std..io..Write$GT$5write17hbd65a0f1fbe667c0E
          >>> referenced by F:\Rust\rust\src\libstd\io\mod.rs:1354
          >>>               F:\Rust\rust\build\x86_64-pc-windows-msvc\stage0-std\x86_64-pc-windows-msvc\release\deps\test-08b31b6e3b792056.test.cdf7p9m0-cgu.10.rcgu.o:(_ZN3std2io5Write9write_all17hc57fcfc82d35e7bfE)
          >>> referenced by F:\Rust\rust\src\libstd\io\mod.rs:1292
          >>>               libterm-6cfbd4c1589fa116.rlib(term-6cfbd4c1589fa116.term.cvtlv8xb-cgu.3.rcgu.o):(_ZN3std2io5Write14write_vectored17had78528bfd4cfb96E)
          >>> referenced by F:\Rust\rust\src\libstd\io\mod.rs:1354
          >>>               libterm-6cfbd4c1589fa116.rlib(term-6cfbd4c1589fa116.term.cvtlv8xb-cgu.3.rcgu.o):(_ZN3std2io5Write9write_all17hb2fe52f879a86becE)
          >>> referenced by F:\Rust\rust\src\libterm\terminfo\mod.rs:240
          >>>               libterm-6cfbd4c1589fa116.rlib(term-6cfbd4c1589fa116.term.cvtlv8xb-cgu.3.rcgu.o):(_ZN76_$LT$term..terminfo..TerminfoTerminal$LT$T$GT$$u20$as$u20$std..io..Write$GT$5write17h054e87e6072a8a23E)
          >>> referenced by F:\Rust\rust\src\libstd\io\mod.rs:1292
          >>>               libterm-6cfbd4c1589fa116.rlib(term-6cfbd4c1589fa116.term.cvtlv8xb-cgu.7.rcgu.o):(_ZN3std2io5Write14write_vectored17he432d4dae6f33724E)
          >>> referenced by F:\Rust\rust\src\libstd\io\mod.rs:1354
          >>>               libterm-6cfbd4c1589fa116.rlib(term-6cfbd4c1589fa116.term.cvtlv8xb-cgu.7.rcgu.o):(_ZN3std2io5Write9write_all17h24b9f983f507eb04E)
          >>> referenced by F:\Rust\rust\src\libterm\win.rs:148
          >>>               libterm-6cfbd4c1589fa116.rlib(term-6cfbd4c1589fa116.term.cvtlv8xb-cgu.7.rcgu.o):(_ZN65_$LT$term..win..WinConsole$LT$T$GT$$u20$as$u20$std..io..Write$GT$5write17hb36400ba3410fed5E)
          >>> referenced by F:\Rust\rust\src\libstd\io\mod.rs:424
          >>>               libterm-6cfbd4c1589fa116.rlib(term-6cfbd4c1589fa116.term.cvtlv8xb-cgu.6.rcgu.o):(_ZN3std2io22default_write_vectored17hea04ec47e1df1efbE)

          rust-lld: error: undefined symbol: _ZN75_$LT$std..sys..windows..handle..Handle$u20$as$u20$core..ops..drop..Drop$GT$4drop17h9d4cbc594f7ddd03E
          >>> referenced by F:\Rust\rust\src\libcore\ptr\mod.rs:174
          >>>               F:\Rust\rust\build\x86_64-pc-windows-msvc\stage0-std\x86_64-pc-windows-msvc\release\deps\test-08b31b6e3b792056.test.cdf7p9m0-cgu.10.rcgu.o:(_ZN4core3ptr13drop_in_place17h10c86f64ec3fbe82E)
          >>> referenced by F:\Rust\rust\src\libstd\thread\mod.rs:386
          >>>               F:\Rust\rust\build\x86_64-pc-windows-msvc\stage0-std\x86_64-pc-windows-msvc\release\deps\test-08b31b6e3b792056.test.cdf7p9m0-cgu.31.rcgu.o:(_ZN3std6thread7Builder5spawn17h1dfac31957576ee6E)
          >>> referenced by F:\Rust\rust\build\x86_64-pc-windows-msvc\stage0-std\x86_64-pc-windows-msvc\release\deps\test-08b31b6e3b792056.test.cdf7p9m0-cgu.31.rcgu.o:(_ZN4core3ptr13drop_in_place17hd44aed8a67551d1bE)
          >>> referenced by F:\Rust\rust\src\libcore\ptr\mod.rs:174
          >>>               F:\Rust\rust\build\x86_64-pc-windows-msvc\stage0-std\x86_64-pc-windows-msvc\release\deps\test-08b31b6e3b792056.test.cdf7p9m0-cgu.5.rcgu.o:(_ZN4core3ptr13drop_in_place17h9a6a8680eb1c3cbdE)
          >>> referenced by F:\Rust\rust\src\libcore\ptr\mod.rs:174
          >>>               F:\Rust\rust\build\x86_64-pc-windows-msvc\stage0-std\x86_64-pc-windows-msvc\release\deps\test-08b31b6e3b792056.test.cdf7p9m0-cgu.5.rcgu.o:(_ZN4core3ptr13drop_in_place17h9a6a8680eb1c3cbdE)
          >>> referenced by F:\Rust\rust\src\libcore\ptr\mod.rs:174
          >>>               F:\Rust\rust\build\x86_64-pc-windows-msvc\stage0-std\x86_64-pc-windows-msvc\release\deps\test-08b31b6e3b792056.test.cdf7p9m0-cgu.5.rcgu.o:(_ZN4core3ptr13drop_in_place17h9a6a8680eb1c3cbdE)
          >>> referenced by F:\Rust\rust\src\libcore\ptr\mod.rs:174
          >>>               F:\Rust\rust\build\x86_64-pc-windows-msvc\stage0-std\x86_64-pc-windows-msvc\release\deps\test-08b31b6e3b792056.test.cdf7p9m0-cgu.5.rcgu.o:(_ZN4core3ptr13drop_in_place17h9d0e65faf2221092E)
          >>> referenced by F:\Rust\rust\src\libcore\ptr\mod.rs:174
          >>>               F:\Rust\rust\build\x86_64-pc-windows-msvc\stage0-std\x86_64-pc-windows-msvc\release\deps\test-08b31b6e3b792056.test.cdf7p9m0-cgu.5.rcgu.o:(_ZN4core3ptr13drop_in_place17hc5ca69be49ef12bcE)
          >>> referenced by F:\Rust\rust\src\libcore\ptr\mod.rs:174
          >>>               libterm-6cfbd4c1589fa116.rlib(term-6cfbd4c1589fa116.term.cvtlv8xb-cgu.3.rcgu.o):(_ZN4core3ptr13drop_in_place17h4fcacb682c942e1cE)
          >>> referenced by F:\Rust\rust\src\libterm\terminfo\mod.rs:99
          >>>               libterm-6cfbd4c1589fa116.rlib(term-6cfbd4c1589fa116.term.cvtlv8xb-cgu.3.rcgu.o):(_ZN4term8terminfo8TermInfo10_from_path17h4356dd4e91d92a31E)
          >>> referenced 1 more times

          rust-lld: error: undefined symbol: _ZN42_$LT$str$u20$as$u20$core..fmt..Display$GT$3fmt17h88e4b43699a75114E
          >>> referenced by F:\Rust\rust\src\liballoc\string.rs:1914
          >>>               F:\Rust\rust\build\x86_64-pc-windows-msvc\stage0-std\x86_64-pc-windows-msvc\release\deps\test-08b31b6e3b792056.test.cdf7p9m0-cgu.10.rcgu.o:(_ZN60_$LT$alloc..string..String$u20$as$u20$core..fmt..Display$GT$3fmt17h5bcd62f1b4993ca7E)
          >>> referenced by F:\Rust\rust\src\liballoc\string.rs:1914
          >>>               F:\Rust\rust\build\x86_64-pc-windows-msvc\stage0-std\x86_64-pc-windows-msvc\release\deps\test-08b31b6e3b792056.test.cdf7p9m0-cgu.17.rcgu.o:(_ZN60_$LT$alloc..string..String$u20$as$u20$core..fmt..Display$GT$3fmt17h5bcd62f1b4993ca7E)
          >>> referenced by F:\Rust\rust\src\liballoc\string.rs:1914
          >>>               F:\Rust\rust\build\x86_64-pc-windows-msvc\stage0-std\x86_64-pc-windows-msvc\release\deps\test-08b31b6e3b792056.test.cdf7p9m0-cgu.19.rcgu.o:(_ZN60_$LT$alloc..string..String$u20$as$u20$core..fmt..Display$GT$3fmt17h5bcd62f1b4993ca7E)
          >>> referenced by F:\Rust\rust\src\liballoc\string.rs:1914
          >>>               F:\Rust\rust\build\x86_64-pc-windows-msvc\stage0-std\x86_64-pc-windows-msvc\release\deps\test-08b31b6e3b792056.test.cdf7p9m0-cgu.21.rcgu.o:(_ZN60_$LT$alloc..string..String$u20$as$u20$core..fmt..Display$GT$3fmt17h5bcd62f1b4993ca7E.llvm.815056061026961744)
          >>> referenced by F:\Rust\rust\src\libcore\fmt\mod.rs:1959
          >>>               F:\Rust\rust\build\x86_64-pc-windows-msvc\stage0-std\x86_64-pc-windows-msvc\release\deps\test-08b31b6e3b792056.test.cdf7p9m0-cgu.22.rcgu.o:(_ZN44_$LT$$RF$T$u20$as$u20$core..fmt..Display$GT$3fmt17he1974b7d847ff08bE)
          >>> referenced by F:\Rust\rust\src\libcore\fmt\mod.rs:1959
          >>>               F:\Rust\rust\build\x86_64-pc-windows-msvc\stage0-std\x86_64-pc-windows-msvc\release\deps\test-08b31b6e3b792056.test.cdf7p9m0-cgu.22.rcgu.o:(_ZN44_$LT$$RF$T$u20$as$u20$core..fmt..Display$GT$3fmt17he1974b7d847ff08bE)
          >>> referenced by F:\Rust\rust\src\libtest\types.rs:73
          >>>               F:\Rust\rust\build\x86_64-pc-windows-msvc\stage0-std\x86_64-pc-windows-msvc\release\deps\test-08b31b6e3b792056.test.cdf7p9m0-cgu.22.rcgu.o:(_ZN60_$LT$test..types..TestName$u20$as$u20$core..fmt..Display$GT$3fmt17h7e47fd605c7cb8caE)
          >>> referenced by F:\Rust\rust\src\libtest\types.rs:73
          >>>               F:\Rust\rust\build\x86_64-pc-windows-msvc\stage0-std\x86_64-pc-windows-msvc\release\deps\test-08b31b6e3b792056.test.cdf7p9m0-cgu.22.rcgu.o:(_ZN60_$LT$test..types..TestName$u20$as$u20$core..fmt..Display$GT$3fmt17h7e47fd605c7cb8caE)
          >>> referenced by F:\Rust\rust\src\libcore\fmt\mod.rs:1959
          >>>               F:\Rust\rust\build\x86_64-pc-windows-msvc\stage0-std\x86_64-pc-windows-msvc\release\deps\test-08b31b6e3b792056.test.cdf7p9m0-cgu.25.rcgu.o:(_ZN44_$LT$$RF$T$u20$as$u20$core..fmt..Display$GT$3fmt17h7c65517032b4dca1E)
          >>> referenced by F:\Rust\rust\src\libcore\fmt\mod.rs:1959
          >>>               F:\Rust\rust\build\x86_64-pc-windows-msvc\stage0-std\x86_64-pc-windows-msvc\release\deps\test-08b31b6e3b792056.test.cdf7p9m0-cgu.25.rcgu.o:(_ZN44_$LT$$RF$T$u20$as$u20$core..fmt..Display$GT$3fmt17h8e0ecf5328ef8bf9E)
          >>> referenced 10 more times

          rust-lld: error: undefined symbol: _ZN57_$LT$std..io..stdio..Stdout$u20$as$u20$std..io..Write$GT$5flush17hf0feb76a6d2e94a5E
          >>> referenced by F:\Rust\rust\src\libtest\console.rs:40
          >>>               F:\Rust\rust\build\x86_64-pc-windows-msvc\stage0-std\x86_64-pc-windows-msvc\release\deps\test-08b31b6e3b792056.test.cdf7p9m0-cgu.10.rcgu.o:(_ZN73_$LT$test..console..OutputLocation$LT$T$GT$$u20$as$u20$std..io..Write$GT$5flush17h48246d88c4661c06E)
          >>> referenced by F:\Rust\rust\src\libtest\formatters\terse.rs:75
          >>>               F:\Rust\rust\build\x86_64-pc-windows-msvc\stage0-std\x86_64-pc-windows-msvc\release\deps\test-08b31b6e3b792056.test.cdf7p9m0-cgu.7.rcgu.o:(_ZN4test10formatters5terse23TerseFormatter$LT$T$GT$18write_short_result17he25bfd3d3e0dc0b8E)
          >>> referenced by F:\Rust\rust\src\libtest\formatters\terse.rs:96
          >>>               F:\Rust\rust\build\x86_64-pc-windows-msvc\stage0-std\x86_64-pc-windows-msvc\release\deps\test-08b31b6e3b792056.test.cdf7p9m0-cgu.7.rcgu.o:(_ZN4test10formatters5terse23TerseFormatter$LT$T$GT$12write_pretty17h78043e5d54e58cf0E)
          >>> referenced by F:\Rust\rust\src\libtest\formatters\terse.rs:161
          >>>               F:\Rust\rust\build\x86_64-pc-windows-msvc\stage0-std\x86_64-pc-windows-msvc\release\deps\test-08b31b6e3b792056.test.cdf7p9m0-cgu.7.rcgu.o:(_ZN4test10formatters5terse23TerseFormatter$LT$T$GT$15write_test_name17hba7c0f113354e930E)
          >>> referenced by F:\Rust\rust\src\libtest\formatters\terse.rs:171
          >>>               F:\Rust\rust\build\x86_64-pc-windows-msvc\stage0-std\x86_64-pc-windows-msvc\release\deps\test-08b31b6e3b792056.test.cdf7p9m0-cgu.7.rcgu.o:(_ZN102_$LT$test..formatters..terse..TerseFormatter$LT$T$GT$$u20$as$u20$test..formatters..OutputFormatter$GT$15write_run_start17h0029d6bb43e29174E)
          >>> referenced by F:\Rust\rust\src\libtest\formatters\terse.rs:206
          >>>               F:\Rust\rust\build\x86_64-pc-windows-msvc\stage0-std\x86_64-pc-windows-msvc\release\deps\test-08b31b6e3b792056.test.cdf7p9m0-cgu.7.rcgu.o:(_ZN102_$LT$test..formatters..terse..TerseFormatter$LT$T$GT$$u20$as$u20$test..formatters..OutputFormatter$GT$12write_result17h3e2ab4131cf54c4bE)
          >>> referenced by F:\Rust\rust\src\libtest\formatters\terse.rs:212
          >>>               F:\Rust\rust\build\x86_64-pc-windows-msvc\stage0-std\x86_64-pc-windows-msvc\release\deps\test-08b31b6e3b792056.test.cdf7p9m0-cgu.7.rcgu.o:(_ZN102_$LT$test..formatters..terse..TerseFormatter$LT$T$GT$$u20$as$u20$test..formatters..OutputFormatter$GT$13write_timeout17ha9ff0ccec19ad78aE)
          >>> referenced by F:\Rust\rust\src\libtest\formatters\terse.rs:221
          >>>               F:\Rust\rust\build\x86_64-pc-windows-msvc\stage0-std\x86_64-pc-windows-msvc\release\deps\test-08b31b6e3b792056.test.cdf7p9m0-cgu.7.rcgu.o:(_ZN102_$LT$test..formatters..terse..TerseFormatter$LT$T$GT$$u20$as$u20$test..formatters..OutputFormatter$GT$16write_run_finish17h8da3733db12e7cb3E)
          >>> referenced by F:\Rust\rust\src\libtest\formatters\terse.rs:221
          >>>               F:\Rust\rust\build\x86_64-pc-windows-msvc\stage0-std\x86_64-pc-windows-msvc\release\deps\test-08b31b6e3b792056.test.cdf7p9m0-cgu.7.rcgu.o:(_ZN102_$LT$test..formatters..terse..TerseFormatter$LT$T$GT$$u20$as$u20$test..formatters..OutputFormatter$GT$16write_run_finish17h8da3733db12e7cb3E)
          >>> referenced by F:\Rust\rust\src\libtest\formatters\terse.rs:221
          >>>               F:\Rust\rust\build\x86_64-pc-windows-msvc\stage0-std\x86_64-pc-windows-msvc\release\deps\test-08b31b6e3b792056.test.cdf7p9m0-cgu.7.rcgu.o:(_ZN102_$LT$test..formatters..terse..TerseFormatter$LT$T$GT$$u20$as$u20$test..formatters..OutputFormatter$GT$16write_run_finish17h8da3733db12e7cb3E)
          >>> referenced 26 more times

          rust-lld: error: undefined symbol: _ZN79_$LT$std..path..Path$u20$as$u20$core..convert..AsRef$LT$std..path..Path$GT$$GT$6as_ref17h59c9d46a758a5f64E
          >>> referenced by F:\Rust\rust\src\libtest\console.rs:64
          >>>               F:\Rust\rust\build\x86_64-pc-windows-msvc\stage0-std\x86_64-pc-windows-msvc\release\deps\test-08b31b6e3b792056.test.cdf7p9m0-cgu.10.rcgu.o:(_ZN4test7console16ConsoleTestState3new17h3d759a1c195c1dc7E)
          >>> referenced by F:\Rust\rust\src\libstd\fs.rs:399
          >>>               F:\Rust\rust\build\x86_64-pc-windows-msvc\stage0-std\x86_64-pc-windows-msvc\release\deps\test-08b31b6e3b792056.test.cdf7p9m0-cgu.21.rcgu.o:(_ZN3std2fs4File6create17h8f4dc7c919d646b5E)
          >>> referenced by F:\Rust\rust\src\libterm\terminfo\mod.rs:83
          >>>               libterm-6cfbd4c1589fa116.rlib(term-6cfbd4c1589fa116.term.cvtlv8xb-cgu.3.rcgu.o):(_ZN4term8terminfo8TermInfo9from_name17h0911df633b1b8d1bE)
          >>> referenced by F:\Rust\rust\src\libterm\terminfo\mod.rs:96
          >>>               libterm-6cfbd4c1589fa116.rlib(term-6cfbd4c1589fa116.term.cvtlv8xb-cgu.3.rcgu.o):(_ZN4term8terminfo8TermInfo10_from_path17h4356dd4e91d92a31E)
          >>> referenced by F:\Rust\rust\src\libterm\terminfo\mod.rs:96
          >>>               libterm-6cfbd4c1589fa116.rlib(term-6cfbd4c1589fa116.term.cvtlv8xb-cgu.3.rcgu.o):(_ZN4term8terminfo8TermInfo10_from_path17h4356dd4e91d92a31E)

          rust-lld: error: undefined symbol: _ZN4core3fmt3num3imp52_$LT$impl$u20$core..fmt..Display$u20$for$u20$i32$GT$3fmt17h349d87bebbbc3d0aE
          >>> referenced by F:\Rust\rust\src\libtest\console.rs:177
          >>>               F:\Rust\rust\build\x86_64-pc-windows-msvc\stage0-std\x86_64-pc-windows-msvc\release\deps\test-08b31b6e3b792056.test.cdf7p9m0-cgu.10.rcgu.o:(_ZN4test7console18list_tests_console17h6532b99e448f68eaE)
          >>> referenced by F:\Rust\rust\src\libtest\console.rs:177
          >>>               F:\Rust\rust\build\x86_64-pc-windows-msvc\stage0-std\x86_64-pc-windows-msvc\release\deps\test-08b31b6e3b792056.test.cdf7p9m0-cgu.10.rcgu.o:(_ZN4test7console18list_tests_console17h6532b99e448f68eaE)
          >>> referenced by F:\Rust\rust\src\libtest\test_result.rs:99
          >>>               F:\Rust\rust\build\x86_64-pc-windows-msvc\stage0-std\x86_64-pc-windows-msvc\release\deps\test-08b31b6e3b792056.test.cdf7p9m0-cgu.17.rcgu.o:(_ZN4test11test_result25get_result_from_exit_code17h2897dec9f27c18ffE)
          >>> referenced by F:\Rust\rust\src\libterm\terminfo\parm.rs:500
          >>>               libterm-6cfbd4c1589fa116.rlib(term-6cfbd4c1589fa116.term.cvtlv8xb-cgu.1.rcgu.o):(_ZN4term8terminfo4parm6format17h881ca09f38c08643E)
          >>> referenced by F:\Rust\rust\src\libterm\terminfo\parm.rs:505
          >>>               libterm-6cfbd4c1589fa116.rlib(term-6cfbd4c1589fa116.term.cvtlv8xb-cgu.1.rcgu.o):(_ZN4term8terminfo4parm6format17h881ca09f38c08643E)
          >>> referenced by F:\Rust\rust\src\libterm\terminfo\parm.rs:503
          >>>               libterm-6cfbd4c1589fa116.rlib(term-6cfbd4c1589fa116.term.cvtlv8xb-cgu.1.rcgu.o):(_ZN4term8terminfo4parm6format17h881ca09f38c08643E)
          >>> referenced by F:\Rust\rust\src\libterm\terminfo\parm.rs:507
          >>>               libterm-6cfbd4c1589fa116.rlib(term-6cfbd4c1589fa116.term.cvtlv8xb-cgu.1.rcgu.o):(_ZN4term8terminfo4parm6format17h881ca09f38c08643E)

          rust-lld: error: undefined symbol: _ZN4core3fmt3num3imp52_$LT$impl$u20$core..fmt..Display$u20$for$u20$u32$GT$3fmt17h6ab8423d5480caf0E
          >>> referenced by F:\Rust\rust\src\libtest\console.rs:177
          >>>               F:\Rust\rust\build\x86_64-pc-windows-msvc\stage0-std\x86_64-pc-windows-msvc\release\deps\test-08b31b6e3b792056.test.cdf7p9m0-cgu.10.rcgu.o:(_ZN4test7console18list_tests_console17h6532b99e448f68eaE)
          >>> referenced by F:\Rust\rust\src\libtest\console.rs:177
          >>>               F:\Rust\rust\build\x86_64-pc-windows-msvc\stage0-std\x86_64-pc-windows-msvc\release\deps\test-08b31b6e3b792056.test.cdf7p9m0-cgu.10.rcgu.o:(_ZN4test7console18list_tests_console17h6532b99e448f68eaE)
          >>> referenced by F:\Rust\rust\src\libcore\fmt\mod.rs:1959
          >>>               libterm-6cfbd4c1589fa116.rlib(term-6cfbd4c1589fa116.term.cvtlv8xb-cgu.16.rcgu.o):(_ZN42_$LT$$RF$T$u20$as$u20$core..fmt..Debug$GT$3fmt17hc2e52cb3d92982e7E)

          rust-lld: error: undefined symbol: _ZN60_$LT$alloc..string..String$u20$as$u20$core..clone..Clone$GT$5clone17hcff66481f9e15336E
          >>> referenced by F:\Rust\rust\src\libtest\console.rs:226
          >>>               F:\Rust\rust\build\x86_64-pc-windows-msvc\stage0-std\x86_64-pc-windows-msvc\release\deps\test-08b31b6e3b792056.test.cdf7p9m0-cgu.10.rcgu.o:(_ZN4test7console13on_test_event17he33006036fa6d8edE)
          >>> referenced by F:\Rust\rust\src\libtest\console.rs:226
          >>>               F:\Rust\rust\build\x86_64-pc-windows-msvc\stage0-std\x86_64-pc-windows-msvc\release\deps\test-08b31b6e3b792056.test.cdf7p9m0-cgu.10.rcgu.o:(_ZN4test7console13on_test_event17he33006036fa6d8edE)
          >>> referenced by F:\Rust\rust\src\libtest\console.rs:226
          >>>               F:\Rust\rust\build\x86_64-pc-windows-msvc\stage0-std\x86_64-pc-windows-msvc\release\deps\test-08b31b6e3b792056.test.cdf7p9m0-cgu.10.rcgu.o:(_ZN4test7console13on_test_event17he33006036fa6d8edE)
          >>> referenced by F:\Rust\rust\src\libtest\console.rs:226
          >>>               F:\Rust\rust\build\x86_64-pc-windows-msvc\stage0-std\x86_64-pc-windows-msvc\release\deps\test-08b31b6e3b792056.test.cdf7p9m0-cgu.10.rcgu.o:(_ZN4test7console13on_test_event17he33006036fa6d8edE)
          >>> referenced by F:\Rust\rust\src\libtest\types.rs:64
          >>>               F:\Rust\rust\build\x86_64-pc-windows-msvc\stage0-std\x86_64-pc-windows-msvc\release\deps\test-08b31b6e3b792056.test.cdf7p9m0-cgu.22.rcgu.o:(_ZN4test5types8TestName12with_padding17ha7b9c60d78c181cdE)
          >>> referenced by F:\Rust\rust\src\libcore\option.rs:959
          >>>               F:\Rust\rust\build\x86_64-pc-windows-msvc\stage0-std\x86_64-pc-windows-msvc\release\deps\test-08b31b6e3b792056.test.cdf7p9m0-cgu.29.rcgu.o:(_ZN4core6option19Option$LT$$RF$T$GT$6cloned17he58b2e34c64df414E)
          >>> referenced by F:\Rust\rust\src\libcore\iter\adapters\mod.rs:331
          >>>               F:\Rust\rust\build\x86_64-pc-windows-msvc\stage0-std\x86_64-pc-windows-msvc\release\deps\test-08b31b6e3b792056.test.cdf7p9m0-cgu.31.rcgu.o:(_ZN96_$LT$core..iter..adapters..Cloned$LT$I$GT$$u20$as$u20$core..iter..traits..iterator..Iterator$GT$4fold17h7e008dc87d88f18fE)
          >>> referenced by F:\Rust\rust\src\libcore\iter\adapters\mod.rs:812
          >>>               F:\Rust\rust\build\x86_64-pc-windows-msvc\stage0-std\x86_64-pc-windows-msvc\release\deps\test-08b31b6e3b792056.test.cdf7p9m0-cgu.31.rcgu.o:(_ZN97_$LT$core..iter..adapters..Map$LT$I$C$F$GT$$u20$as$u20$core..iter..traits..iterator..Iterator$GT$4fold17h1bd3f87ed184ab99E)
          >>> referenced by F:\Rust\rust\src\libtest\cli.rs:206
          >>>               F:\Rust\rust\build\x86_64-pc-windows-msvc\stage0-std\x86_64-pc-windows-msvc\release\deps\test-08b31b6e3b792056.test.cdf7p9m0-cgu.4.rcgu.o:(_ZN4test3cli10parse_opts17h32a8683d3313fe8dE)
          >>> referenced by F:\Rust\rust\src\libcore\ops\function.rs:274
          >>>               F:\Rust\rust\build\x86_64-pc-windows-msvc\stage0-std\x86_64-pc-windows-msvc\release\deps\test-08b31b6e3b792056.test.cdf7p9m0-cgu.5.rcgu.o:(_ZN4core3ops8function5impls79_$LT$impl$u20$core..ops..function..FnMut$LT$A$GT$$u20$for$u20$$RF$mut$u20$F$GT$8call_mut17h02de41c3d932d472E)
          >>> referenced 27 more times

          rust-lld: error: undefined symbol: _ZN107_$LT$std..sync..mpsc..RecvTimeoutError$u20$as$u20$core..convert..From$LT$std..sync..mpsc..RecvError$GT$$GT$4from17hb69f0c3bf67d41a6E
          >>> referenced by F:\Rust\rust\src\libstd\sync\mpsc\mod.rs:1288
          >>>               F:\Rust\rust\build\x86_64-pc-windows-msvc\stage0-std\x86_64-pc-windows-msvc\release\deps\test-08b31b6e3b792056.test.cdf7p9m0-cgu.12.rcgu.o:(_ZN3std4sync4mpsc17Receiver$LT$T$GT$12recv_timeout17h57b40ffff32c22c5E)

          rust-lld: error: undefined symbol: _ZN40_$LT$str$u20$as$u20$core..fmt..Debug$GT$3fmt17h3099fb3f88f892ebE
          >>> referenced by F:\Rust\rust\src\libstd\sync\mpsc\mod.rs:1540
          >>>               F:\Rust\rust\build\x86_64-pc-windows-msvc\stage0-std\x86_64-pc-windows-msvc\release\deps\test-08b31b6e3b792056.test.cdf7p9m0-cgu.12.rcgu.o:(_ZN72_$LT$std..sync..mpsc..SendError$LT$T$GT$$u20$as$u20$core..fmt..Debug$GT$3fmt17hd40867e3e8108901E)
          >>> referenced by F:\Rust\rust\src\libcore\fmt\mod.rs:1959
          >>>               F:\Rust\rust\build\x86_64-pc-windows-msvc\stage0-std\x86_64-pc-windows-msvc\release\deps\test-08b31b6e3b792056.test.cdf7p9m0-cgu.25.rcgu.o:(_ZN42_$LT$$RF$T$u20$as$u20$core..fmt..Debug$GT$3fmt17h1f218226c179698eE)
          >>> referenced by F:\Rust\rust\src\libcore\fmt\mod.rs:1959
          >>>               F:\Rust\rust\build\x86_64-pc-windows-msvc\stage0-std\x86_64-pc-windows-msvc\release\deps\test-08b31b6e3b792056.test.cdf7p9m0-cgu.25.rcgu.o:(_ZN42_$LT$$RF$T$u20$as$u20$core..fmt..Debug$GT$3fmt17hb44421a8e1e924cbE)
          >>> referenced by F:\Rust\rust\src\libcore\fmt\mod.rs:1959
          >>>               F:\Rust\rust\build\x86_64-pc-windows-msvc\stage0-std\x86_64-pc-windows-msvc\release\deps\test-08b31b6e3b792056.test.cdf7p9m0-cgu.25.rcgu.o:(_ZN42_$LT$$RF$T$u20$as$u20$core..fmt..Debug$GT$3fmt17hc74aa123b38842c2E)
          >>> referenced by F:\Rust\rust\src\libstd\sys_common\poison.rs:138
          >>>               F:\Rust\rust\build\x86_64-pc-windows-msvc\stage0-std\x86_64-pc-windows-msvc\release\deps\test-08b31b6e3b792056.test.cdf7p9m0-cgu.26.rcgu.o:(_ZN82_$LT$std..sys_common..poison..PoisonError$LT$T$GT$$u20$as$u20$core..fmt..Debug$GT$3fmt17h8f4d69f8ea34858dE)
          >>> referenced by F:\Rust\rust\src\libcore\fmt\mod.rs:1959
          >>>               F:\Rust\rust\build\x86_64-pc-windows-msvc\stage0-std\x86_64-pc-windows-msvc\release\deps\test-08b31b6e3b792056.test.cdf7p9m0-cgu.31.rcgu.o:(_ZN42_$LT$$RF$T$u20$as$u20$core..fmt..Debug$GT$3fmt17h1b2e483bb3c1d72cE)
          >>> referenced by F:\Rust\rust\src\libcore\fmt\mod.rs:1959
          >>>               libgetopts-b1f28f4def7ae8a6.rlib(getopts-b1f28f4def7ae8a6.getopts.5palysce-cgu.0.rcgu.o):(_ZN42_$LT$$RF$T$u20$as$u20$core..fmt..Debug$GT$3fmt17he450f958f24cf18bE)
          >>> referenced by F:\Rust\rust\src\libcore\fmt\mod.rs:1959
          >>>               libterm-6cfbd4c1589fa116.rlib(term-6cfbd4c1589fa116.term.cvtlv8xb-cgu.22.rcgu.o):(_ZN42_$LT$$RF$T$u20$as$u20$core..fmt..Debug$GT$3fmt17hb5b2e1d3d12e8c73E)

          rust-lld: error: undefined symbol: _ZN4core3fmt3num3imp54_$LT$impl$u20$core..fmt..Display$u20$for$u20$usize$GT$3fmt17h92876b3d8c7fe544E
          >>> referenced by F:\Rust\rust\src\libstd\macros.rs:23
          >>>               F:\Rust\rust\build\x86_64-pc-windows-msvc\stage0-std\x86_64-pc-windows-msvc\release\deps\test-08b31b6e3b792056.test.cdf7p9m0-cgu.13.rcgu.o:(_ZN3std4sync4mpsc6shared15Packet$LT$T$GT$9drop_chan17h70710ca56a3cfd7fE)
          >>> referenced by F:\Rust\rust\src\libtest\bench.rs:72
          >>>               F:\Rust\rust\build\x86_64-pc-windows-msvc\stage0-std\x86_64-pc-windows-msvc\release\deps\test-08b31b6e3b792056.test.cdf7p9m0-cgu.19.rcgu.o:(_ZN4test5bench17fmt_bench_samples17h042c770e1d2f0929E)
          >>> referenced by F:\Rust\rust\src\libtest\bench.rs:86
          >>>               F:\Rust\rust\build\x86_64-pc-windows-msvc\stage0-std\x86_64-pc-windows-msvc\release\deps\test-08b31b6e3b792056.test.cdf7p9m0-cgu.19.rcgu.o:(_ZN4test5bench17fmt_thousands_sep17h80883fe1ecfdb1b4E)
          >>> referenced by F:\Rust\rust\src\libtest\bench.rs:88
          >>>               F:\Rust\rust\build\x86_64-pc-windows-msvc\stage0-std\x86_64-pc-windows-msvc\release\deps\test-08b31b6e3b792056.test.cdf7p9m0-cgu.19.rcgu.o:(_ZN4test5bench17fmt_thousands_sep17h80883fe1ecfdb1b4E)
          >>> referenced by F:\Rust\rust\src\libcore\fmt\mod.rs:1959
          >>>               F:\Rust\rust\build\x86_64-pc-windows-msvc\stage0-std\x86_64-pc-windows-msvc\release\deps\test-08b31b6e3b792056.test.cdf7p9m0-cgu.25.rcgu.o:(_ZN42_$LT$$RF$T$u20$as$u20$core..fmt..Debug$GT$3fmt17ha9de42ef17e78163E)
          >>> referenced by F:\Rust\rust\src\libtest\formatters\json.rs:61
          >>>               F:\Rust\rust\build\x86_64-pc-windows-msvc\stage0-std\x86_64-pc-windows-msvc\release\deps\test-08b31b6e3b792056.test.cdf7p9m0-cgu.6.rcgu.o:(_ZN100_$LT$test..formatters..json..JsonFormatter$LT$T$GT$$u20$as$u20$test..formatters..OutputFormatter$GT$15write_run_start17h2196ba29f028d64dE)
          >>> referenced by F:\Rust\rust\src\libtest\formatters\json.rs:135
          >>>               F:\Rust\rust\build\x86_64-pc-windows-msvc\stage0-std\x86_64-pc-windows-msvc\release\deps\test-08b31b6e3b792056.test.cdf7p9m0-cgu.6.rcgu.o:(_ZN100_$LT$test..formatters..json..JsonFormatter$LT$T$GT$$u20$as$u20$test..formatters..OutputFormatter$GT$12write_result17h9be8b1bae120fc65E)
          >>> referenced by F:\Rust\rust\src\libtest\formatters\json.rs:138
          >>>               F:\Rust\rust\build\x86_64-pc-windows-msvc\stage0-std\x86_64-pc-windows-msvc\release\deps\test-08b31b6e3b792056.test.cdf7p9m0-cgu.6.rcgu.o:(_ZN100_$LT$test..formatters..json..JsonFormatter$LT$T$GT$$u20$as$u20$test..formatters..OutputFormatter$GT$12write_result17h9be8b1bae120fc65E)
          >>> referenced by F:\Rust\rust\src\libtest\formatters\json.rs:159
          >>>               F:\Rust\rust\build\x86_64-pc-windows-msvc\stage0-std\x86_64-pc-windows-msvc\release\deps\test-08b31b6e3b792056.test.cdf7p9m0-cgu.6.rcgu.o:(_ZN100_$LT$test..formatters..json..JsonFormatter$LT$T$GT$$u20$as$u20$test..formatters..OutputFormatter$GT$16write_run_finish17h6bf7c757d17b74d2E)
          >>> referenced by F:\Rust\rust\src\libtest\formatters\terse.rs:74
          >>>               F:\Rust\rust\build\x86_64-pc-windows-msvc\stage0-std\x86_64-pc-windows-msvc\release\deps\test-08b31b6e3b792056.test.cdf7p9m0-cgu.7.rcgu.o:(_ZN4test10formatters5terse23TerseFormatter$LT$T$GT$18write_short_result17he25bfd3d3e0dc0b8E)
          >>> referenced 8 more times

          rust-lld: error: undefined symbol: _ZN4core3fmt5float52_$LT$impl$u20$core..fmt..Display$u20$for$u20$f64$GT$3fmt17h189b136135402b9eE
          >>> referenced by F:\Rust\rust\src\libcore\fmt\mod.rs:1959
          >>>               F:\Rust\rust\build\x86_64-pc-windows-msvc\stage0-std\x86_64-pc-windows-msvc\release\deps\test-08b31b6e3b792056.test.cdf7p9m0-cgu.17.rcgu.o:(_ZN44_$LT$$RF$T$u20$as$u20$core..fmt..Display$GT$3fmt17h6d99a020930638eaE)
          >>> referenced by F:\Rust\rust\src\libtest\time.rs:69
          >>>               F:\Rust\rust\build\x86_64-pc-windows-msvc\stage0-std\x86_64-pc-windows-msvc\release\deps\test-08b31b6e3b792056.test.cdf7p9m0-cgu.17.rcgu.o:(_ZN63_$LT$test..time..TestExecTime$u20$as$u20$core..fmt..Display$GT$3fmt17h37687ecc4b6966cbE)
          >>> referenced by F:\Rust\rust\src\liballoc\vec.rs:2007
          >>>               F:\Rust\rust\build\x86_64-pc-windows-msvc\stage0-std\x86_64-pc-windows-msvc\release\deps\test-08b31b6e3b792056.test.cdf7p9m0-cgu.2.rcgu.o:(_ZN80_$LT$alloc..vec..Vec$LT$T$GT$$u20$as$u20$alloc..vec..SpecExtend$LT$T$C$I$GT$$GT$9from_iter17h9aaff847c7a08091E)
          >>> referenced by F:\Rust\rust\src\liballoc\vec.rs:2019
          >>>               F:\Rust\rust\build\x86_64-pc-windows-msvc\stage0-std\x86_64-pc-windows-msvc\release\deps\test-08b31b6e3b792056.test.cdf7p9m0-cgu.2.rcgu.o:(_ZN80_$LT$alloc..vec..Vec$LT$T$GT$$u20$as$u20$alloc..vec..SpecExtend$LT$T$C$I$GT$$GT$9from_iter17h9aaff847c7a08091E)
          >>> referenced by F:\Rust\rust\src\liballoc\vec.rs:2019
          >>>               F:\Rust\rust\build\x86_64-pc-windows-msvc\stage0-std\x86_64-pc-windows-msvc\release\deps\test-08b31b6e3b792056.test.cdf7p9m0-cgu.2.rcgu.o:(_ZN80_$LT$alloc..vec..Vec$LT$T$GT$$u20$as$u20$alloc..vec..SpecExtend$LT$T$C$I$GT$$GT$9from_iter17h9aaff847c7a08091E)
          >>> referenced by F:\Rust\rust\src\libcore\ops\function.rs:285
          >>>               F:\Rust\rust\build\x86_64-pc-windows-msvc\stage0-std\x86_64-pc-windows-msvc\release\deps\test-08b31b6e3b792056.test.cdf7p9m0-cgu.21.rcgu.o:(_ZN4core3ops8function5impls80_$LT$impl$u20$core..ops..function..FnOnce$LT$A$GT$$u20$for$u20$$RF$mut$u20$F$GT$9call_once17hcd3bddeec5fd4180E)

          rust-lld: error: undefined symbol: _ZN4core3num52_$LT$impl$u20$core..str..FromStr$u20$for$u20$u64$GT$8from_str17hcf1d7caa913b041cE
          >>> referenced by F:\Rust\rust\src\libcore\iter\adapters\mod.rs:791
          >>>               F:\Rust\rust\build\x86_64-pc-windows-msvc\stage0-std\x86_64-pc-windows-msvc\release\deps\test-08b31b6e3b792056.test.cdf7p9m0-cgu.17.rcgu.o:(_ZN97_$LT$core..iter..adapters..Map$LT$I$C$F$GT$$u20$as$u20$core..iter..traits..iterator..Iterator$GT$4next17hefeeb8cdeb76c86aE)

          rust-lld: error: undefined symbol: _ZN54_$LT$core..any..TypeId$u20$as$u20$core..fmt..Debug$GT$3fmt17h4acf93e863d041d5E
          >>> referenced by F:\Rust\rust\src\libtest\test_result.rs:57
          >>>               F:\Rust\rust\build\x86_64-pc-windows-msvc\stage0-std\x86_64-pc-windows-msvc\release\deps\test-08b31b6e3b792056.test.cdf7p9m0-cgu.17.rcgu.o:(_ZN4test11test_result11calc_result17h578d2295b2aff976E)

          rust-lld: error: undefined symbol: _ZN88_$LT$std..time..Instant$u20$as$u20$core..ops..arith..Add$LT$core..time..Duration$GT$$GT$3add17h547da9327098516eE
          >>> referenced by F:\Rust\rust\src\libtest\time.rs:60
          >>>               F:\Rust\rust\build\x86_64-pc-windows-msvc\stage0-std\x86_64-pc-windows-msvc\release\deps\test-08b31b6e3b792056.test.cdf7p9m0-cgu.17.rcgu.o:(_ZN4test4time24get_default_test_timeout17h0e82631fa0b0c141E)
          >>> referenced by F:\Rust\rust\src\libtest\lib.rs:296
          >>>               F:\Rust\rust\build\x86_64-pc-windows-msvc\stage0-std\x86_64-pc-windows-msvc\release\deps\test-08b31b6e3b792056.test.cdf7p9m0-cgu.5.rcgu.o:(_ZN4test9run_tests17had54d3605a3f920dE)

          rust-lld: error: undefined symbol: _ZN53_$LT$core..fmt..Error$u20$as$u20$core..fmt..Debug$GT$3fmt17h44e19c88cc9c88a5E
          >>> referenced by F:\Rust\rust\build\x86_64-pc-windows-msvc\stage0-std\x86_64-pc-windows-msvc\release\deps\test-08b31b6e3b792056.test.cdf7p9m0-cgu.19.rcgu.o:(anon.e4d4364cd92e2c9867e8e6e4bcbcea34.3)
          >>> referenced by F:\Rust\rust\build\x86_64-pc-windows-msvc\stage0-std\x86_64-pc-windows-msvc\release\deps\test-08b31b6e3b792056.test.cdf7p9m0-cgu.4.rcgu.o:(anon.a8992f771d7cebb48de2f01bdce6ac0d.5)
          >>> referenced by F:\Rust\rust\build\x86_64-pc-windows-msvc\stage0-std\x86_64-pc-windows-msvc\release\deps\test-08b31b6e3b792056.test.cdf7p9m0-cgu.7.rcgu.o:(anon.46c5e78587de7248bbd21783e47c14b4.5)
          >>> referenced by F:\Rust\rust\build\x86_64-pc-windows-msvc\stage0-std\x86_64-pc-windows-msvc\release\deps\test-08b31b6e3b792056.test.cdf7p9m0-cgu.8.rcgu.o:(anon.810636724a72e72083165abd11ec6984.5)
          >>> referenced by libgetopts-b1f28f4def7ae8a6.rlib(getopts-b1f28f4def7ae8a6.getopts.5palysce-cgu.14.rcgu.o):(anon.1cf900d2eafb2dcd1312552eb099fe06.5)
          >>> referenced by libterm-6cfbd4c1589fa116.rlib(term-6cfbd4c1589fa116.term.cvtlv8xb-cgu.5.rcgu.o):(anon.9a1b1af1903ff770925bb87d0fca2c64.6)
          >>> referenced by libterm-6cfbd4c1589fa116.rlib(term-6cfbd4c1589fa116.term.cvtlv8xb-cgu.11.rcgu.o):(anon.b2b52a5a62deeaf091d02115f0e921d7.5)

          rust-lld: error: undefined symbol: _ZN73_$LT$std..env..Args$u20$as$u20$core..iter..traits..iterator..Iterator$GT$4next17h76d2e0121a5a7450E
          >>> referenced by F:\Rust\rust\src\liballoc\vec.rs:2007
          >>>               F:\Rust\rust\build\x86_64-pc-windows-msvc\stage0-std\x86_64-pc-windows-msvc\release\deps\test-08b31b6e3b792056.test.cdf7p9m0-cgu.2.rcgu.o:(_ZN80_$LT$alloc..vec..Vec$LT$T$GT$$u20$as$u20$alloc..vec..SpecExtend$LT$T$C$I$GT$$GT$9from_iter17h91faedf2173edcf3E)
          >>> referenced by F:\Rust\rust\src\liballoc\vec.rs:2019
          >>>               F:\Rust\rust\build\x86_64-pc-windows-msvc\stage0-std\x86_64-pc-windows-msvc\release\deps\test-08b31b6e3b792056.test.cdf7p9m0-cgu.2.rcgu.o:(_ZN80_$LT$alloc..vec..Vec$LT$T$GT$$u20$as$u20$alloc..vec..SpecExtend$LT$T$C$I$GT$$GT$9from_iter17h91faedf2173edcf3E)

          rust-lld: error: undefined symbol: _ZN73_$LT$std..env..Args$u20$as$u20$core..iter..traits..iterator..Iterator$GT$9size_hint17h8a29deca6154f599E
          >>> referenced by F:\Rust\rust\src\liballoc\vec.rs:2010
          >>>               F:\Rust\rust\build\x86_64-pc-windows-msvc\stage0-std\x86_64-pc-windows-msvc\release\deps\test-08b31b6e3b792056.test.cdf7p9m0-cgu.2.rcgu.o:(_ZN80_$LT$alloc..vec..Vec$LT$T$GT$$u20$as$u20$alloc..vec..SpecExtend$LT$T$C$I$GT$$GT$9from_iter17h91faedf2173edcf3E)
          >>> referenced by F:\Rust\rust\src\liballoc\vec.rs:2019
          >>>               F:\Rust\rust\build\x86_64-pc-windows-msvc\stage0-std\x86_64-pc-windows-msvc\release\deps\test-08b31b6e3b792056.test.cdf7p9m0-cgu.2.rcgu.o:(_ZN80_$LT$alloc..vec..Vec$LT$T$GT$$u20$as$u20$alloc..vec..SpecExtend$LT$T$C$I$GT$$GT$9from_iter17h91faedf2173edcf3E)

          rust-lld: error: undefined symbol: _ZN48_$LT$std..fs..File$u20$as$u20$std..io..Write$GT$5write17h88eedd89f1c8a942E
          >>> referenced by F:\Rust\rust\src\libstd\io\mod.rs:1354
          >>>               F:\Rust\rust\build\x86_64-pc-windows-msvc\stage0-std\x86_64-pc-windows-msvc\release\deps\test-08b31b6e3b792056.test.cdf7p9m0-cgu.21.rcgu.o:(_ZN3std2io5Write9write_all17h180604707e4abef7E)

          rust-lld: error: undefined symbol: _ZN55_$LT$std..path..PathBuf$u20$as$u20$core..fmt..Debug$GT$3fmt17h01a79564a1f3d451E
          >>> referenced by F:\Rust\rust\src\libcore\fmt\mod.rs:1959
          >>>               F:\Rust\rust\build\x86_64-pc-windows-msvc\stage0-std\x86_64-pc-windows-msvc\release\deps\test-08b31b6e3b792056.test.cdf7p9m0-cgu.21.rcgu.o:(_ZN42_$LT$$RF$T$u20$as$u20$core..fmt..Debug$GT$3fmt17hd2d63f726e4f4e25E)

          rust-lld: error: too many errors emitted, stopping now (use /errorlimit:0 to see all errors)


error: aborting due to previous error

error: could not compile `test`.

To learn more, run the command again with --verbose.
command did not execute successfully: "F:\\Rust\\rust\\build\\x86_64-pc-windows-msvc\\stage0\\bin\\cargo.exe" "build" "-Zconfig-profile" "--target" "x86_64-pc-windows-msvc" "-Zbinary-dep-depinfo" "-j" "16" "--release" "--features" "panic-unwind backtrace compiler-builtins-c" "--manifest-path" "F:\\Rust\\rust\\src/libtest/Cargo.toml" "--message-format" "json-render-diagnostics"
expected success, got: exit code: 101
@jonas-schievink jonas-schievink added A-libtest Area: `#[test]` / the `test` library A-linkage Area: linking into static, shared libraries and binaries C-bug Category: This is a bug. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue. labels Jan 29, 2020
@petrochenkov
Copy link
Contributor

Similar errors happen in some other crates in rustc:

   Compiling rustdoc-tool v0.0.0 (C:\msys64\home\we\rust\src\tools\rustdoc)
error: linking with `C:\msys64\home\we\rust\build\x86_64-pc-windows-msvc\stage0\lib\rustlib\x86_64-pc-windows-msvc\bin\rust-lld` failed: exit code: 1
  |
  = note: "C:\\msys64\\home\\we\\rust\\build\\x86_64-pc-windows-msvc\\stage0\\lib\\rustlib\\x86_64-pc-windows-msvc\\bin\\rust-lld" "-flavor" "link" "/NOLOGO" "/NXCOMPAT" "/LIBPATH:C:\\msys64\\home\\we\\rust\\build\\x86_64-pc-windows-msvc\\stage1\\lib\\rustlib\\x86_64-pc-windows-msvc\\lib" "C:\\msys64\\home\\we\\rust\\build\\x86_64-pc-windows-msvc\\stage1-tools\\x86_64-pc-windows-msvc\\release\\deps\\rustdoc_tool_binary-681fc6e98528d17d.rustdoc_tool_binary.ama2mriu-cgu.0.rcgu.o" "C:\\msys64\\home\\we\\rust\\build\\x86_64-pc-windows-msvc\\stage1-tools\\x86_64-pc-windows-msvc\\release\\deps\\rustdoc_tool_binary-681fc6e98528d17d.rustdoc_tool_binary.ama2mriu-cgu.1.rcgu.o" "/OUT:C:\\msys64\\home\\we\\rust\\build\\x86_64-pc-windows-msvc\\stage1-tools\\x86_64-pc-windows-msvc\\release\\deps\\rustdoc_tool_binary-681fc6e98528d17d.exe" "/OPT:REF,ICF" "/DEBUG" "/LIBPATH:C:\\msys64\\home\\we\\rust\\build\\x86_64-pc-windows-msvc\\stage1-tools\\x86_64-pc-windows-msvc\\release\\deps" "/LIBPATH:C:\\msys64\\home\\we\\rust\\build\\x86_64-pc-windows-msvc\\stage1-tools\\release\\deps" "/LIBPATH:C:\\msys64\\home\\we\\rust\\build\\x86_64-pc-windows-msvc\\stage1\\lib\\rustlib\\x86_64-pc-windows-msvc\\lib" "C:\\msys64\\home\\we\\rust\\build\\x86_64-pc-windows-msvc\\stage1-tools\\x86_64-pc-windows-msvc\\release\\deps\\librustdoc-3ccb8c50a1092801.rlib" "C:\\msys64\\home\\we\\rust\\build\\x86_64-pc-windows-msvc\\stage1-tools\\x86_64-pc-windows-msvc\\release\\deps\\libminifier-66a69dbadbf02412.rlib" "C:\\msys64\\home\\we\\rust\\build\\x86_64-pc-windows-msvc\\stage1-tools\\x86_64-pc-windows-msvc\\release\\deps\\libmacro_utils-a51c3256b6d72566.rlib" "C:\\msys64\\home\\we\\rust\\build\\x86_64-pc-windows-msvc\\stage1-tools\\x86_64-pc-windows-msvc\\release\\deps\\libserde_json-5d479ceaad70fab5.rlib" "C:\\msys64\\home\\we\\rust\\build\\x86_64-pc-windows-msvc\\stage1-tools\\x86_64-pc-windows-msvc\\release\\deps\\libryu-b9e9bedd65600501.rlib" "C:\\msys64\\home\\we\\rust\\build\\x86_64-pc-windows-msvc\\stage1-tools\\x86_64-pc-windows-msvc\\release\\deps\\libitoa-7a85281b139f42ab.rlib" "C:\\msys64\\home\\we\\rust\\build\\x86_64-pc-windows-msvc\\stage1-tools\\x86_64-pc-windows-msvc\\release\\deps\\librustc_rayon-3456112344f0a331.rlib" "C:\\msys64\\home\\we\\rust\\build\\x86_64-pc-windows-msvc\\stage1-tools\\x86_64-pc-windows-msvc\\release\\deps\\librustc_rayon_core-bdce186c4a9806cf.rlib" "C:\\msys64\\home\\we\\rust\\build\\x86_64-pc-windows-msvc\\stage1-tools\\x86_64-pc-windows-msvc\\release\\deps\\libnum_cpus-5d3847ec0076170b.rlib" "C:\\msys64\\home\\we\\rust\\build\\x86_64-pc-windows-msvc\\stage1-tools\\x86_64-pc-windows-msvc\\release\\deps\\libcrossbeam_queue-af9a3b1f5b5a1813.rlib" "C:\\msys64\\home\\we\\rust\\build\\x86_64-pc-windows-msvc\\stage1-tools\\x86_64-pc-windows-msvc\\release\\deps\\libcrossbeam_deque-bfe108baeea10e0f.rlib" "C:\\msys64\\home\\we\\rust\\build\\x86_64-pc-windows-msvc\\stage1-tools\\x86_64-pc-windows-msvc\\release\\deps\\libcrossbeam_epoch-0c19d90838d570df.rlib" "C:\\msys64\\home\\we\\rust\\build\\x86_64-pc-windows-msvc\\stage1-tools\\x86_64-pc-windows-msvc\\release\\deps\\libscopeguard-11b662267ce085e3.rlib" "C:\\msys64\\home\\we\\rust\\build\\x86_64-pc-windows-msvc\\stage1-tools\\x86_64-pc-windows-msvc\\release\\deps\\libmemoffset-41cfbd70009bbbe5.rlib" "C:\\msys64\\home\\we\\rust\\build\\x86_64-pc-windows-msvc\\stage1-tools\\x86_64-pc-windows-msvc\\release\\deps\\libcrossbeam_utils-1b19459d677f201d.rlib" "C:\\msys64\\home\\we\\rust\\build\\x86_64-pc-windows-msvc\\stage1-tools\\x86_64-pc-windows-msvc\\release\\deps\\liblazy_static-3d7bea9edad06c19.rlib" "C:\\msys64\\home\\we\\rust\\build\\x86_64-pc-windows-msvc\\stage1-tools\\x86_64-pc-windows-msvc\\release\\deps\\libarrayvec-49902f0dacf00cac.rlib" "C:\\msys64\\home\\we\\rust\\build\\x86_64-pc-windows-msvc\\stage1-tools\\x86_64-pc-windows-msvc\\release\\deps\\libnodrop-d4210bfdab8f74b2.rlib" "C:\\msys64\\home\\we\\rust\\build\\x86_64-pc-windows-msvc\\stage1-tools\\x86_64-pc-windows-msvc\\release\\deps\\libtempfile-f5122e00d077a5d9.rlib" "C:\\msys64\\home\\we\\rust\\build\\x86_64-pc-windows-msvc\\stage1-tools\\x86_64-pc-windows-msvc\\release\\deps\\librand-bc6ea2f22a90e49a.rlib" "C:\\msys64\\home\\we\\rust\\build\\x86_64-pc-windows-msvc\\stage1-tools\\x86_64-pc-windows-msvc\\release\\deps\\librand_chacha-5e56d09710c3313e.rlib" "C:\\msys64\\home\\we\\rust\\build\\x86_64-pc-windows-msvc\\stage1-tools\\x86_64-pc-windows-msvc\\release\\deps\\libc2_chacha-4836a69c3fcb3fac.rlib" "C:\\msys64\\home\\we\\rust\\build\\x86_64-pc-windows-msvc\\stage1-tools\\x86_64-pc-windows-msvc\\release\\deps\\libppv_lite86-5a91ca46ec07e967.rlib" "C:\\msys64\\home\\we\\rust\\build\\x86_64-pc-windows-msvc\\stage1-tools\\x86_64-pc-windows-msvc\\release\\deps\\librand_core-db9e8a2a00f198cf.rlib" "C:\\msys64\\home\\we\\rust\\build\\x86_64-pc-windows-msvc\\stage1-tools\\x86_64-pc-windows-msvc\\release\\deps\\libgetrandom-f269d7524610ea8d.rlib" "C:\\msys64\\home\\we\\rust\\build\\x86_64-pc-windows-msvc\\stage1-tools\\x86_64-pc-windows-msvc\\release\\deps\\libremove_dir_all-8dce53b335cd35b0.rlib" "C:\\msys64\\home\\we\\rust\\build\\x86_64-pc-windows-msvc\\stage1-tools\\x86_64-pc-windows-msvc\\release\\deps\\libwinapi-fb18fa1a3a389cc2.rlib" "C:\\msys64\\home\\we\\rust\\build\\x86_64-pc-windows-msvc\\stage1-tools\\x86_64-pc-windows-msvc\\release\\deps\\libcfg_if-18687f5d9da0b200.rlib" "C:\\msys64\\home\\we\\rust\\build\\x86_64-pc-windows-msvc\\stage1-tools\\x86_64-pc-windows-msvc\\release\\deps\\libpulldown_cmark-0290981a7fc5f782.rlib" "C:\\msys64\\home\\we\\rust\\build\\x86_64-pc-windows-msvc\\stage1-tools\\x86_64-pc-windows-msvc\\release\\deps\\libmemchr-27218a0df6232e5a.rlib" "C:\\msys64\\home\\we\\rust\\build\\x86_64-pc-windows-msvc\\stage1-tools\\x86_64-pc-windows-msvc\\release\\deps\\libunicase-d581f28485a437f1.rlib" "C:\\msys64\\home\\we\\rust\\build\\x86_64-pc-windows-msvc\\stage1-tools\\x86_64-pc-windows-msvc\\release\\deps\\libbitflags-7c32dfee9251c3f6.rlib" "C:\\msys64\\home\\we\\rust\\build\\x86_64-pc-windows-msvc\\stage1-tools\\x86_64-pc-windows-msvc\\release\\deps\\libserde-646510653bff2017.rlib" "C:\\msys64\\home\\we\\rust\\build\\x86_64-pc-windows-msvc\\stage1-tools\\x86_64-pc-windows-msvc\\release\\deps\\libitertools-93968246a337a617.rlib" "C:\\msys64\\home\\we\\rust\\build\\x86_64-pc-windows-msvc\\stage1-tools\\x86_64-pc-windows-msvc\\release\\deps\\libeither-c422bc5f71a63e66.rlib" "/LIBPATH:C:\\msys64\\home\\we\\rust\\build\\x86_64-pc-windows-msvc\\stage1\\lib\\rustlib\\x86_64-pc-windows-msvc\\lib" "test-066c2fc8c681a7d8.dll.lib" "/LIBPATH:C:\\msys64\\home\\we\\rust\\build\\x86_64-pc-windows-msvc\\stage1\\lib\\rustlib\\x86_64-pc-windows-msvc\\lib" "rustc_driver-c456cb43c5127d4d.dll.lib" "/LIBPATH:C:\\msys64\\home\\we\\rust\\build\\x86_64-pc-windows-msvc\\stage1\\lib\\rustlib\\x86_64-pc-windows-msvc\\lib" "std-8ae8545c59e5fa17.dll.lib" "C:\\msys64\\home\\we\\rust\\build\\x86_64-pc-windows-msvc\\stage1\\lib\\rustlib\\x86_64-pc-windows-msvc\\lib\\libcompiler_builtins-43d60c5e6f1e9557.rlib" "advapi32.lib" "advapi32.lib" "cfgmgr32.lib" "kernel32.lib" "user32.lib" "kernel32.lib" "psapi.lib" "shell32.lib" "ole32.lib" "uuid.lib" "advapi32.lib" "advapi32.lib" "advapi32.lib" "ole32.lib" "oleaut32.lib" "advapi32.lib" "cfgmgr32.lib" "gdi32.lib" "kernel32.lib" "msimg32.lib" "opengl32.lib" "psapi.lib" "synchronization.lib" "user32.lib" "winspool.lib" "advapi32.lib" "ws2_32.lib" "userenv.lib" "libcmt.lib"
  = note: rust-lld: error: undefined symbol: _ZN107_$LT$rustc_middle..ty..erase_regions..RegionEraserVisitor$u20$as$u20$rustc_middle..ty..fold..TypeFolder$GT$7fold_ty17hfd9f7b7c859d1ebaE
          >>> referenced by C:\msys64\home\we\rust\src\librustc_middle\ty\erase_regions.rs:51
          >>>               librustdoc-3ccb8c50a1092801.rlib(rustdoc-3ccb8c50a1092801.rustdoc.bmza2r9l-cgu.3.rcgu.o):(_ZN107_$LT$rustc_middle..ty..erase_regions..RegionEraserVisitor$u20$as$u20$rustc_middle..ty..fold..TypeFolder$GT$11fold_binder17h4251044c9f006bbbE)
          >>> referenced by C:\msys64\home\we\rust\src\librustc_middle\ty\erase_regions.rs:51
          >>>               librustdoc-3ccb8c50a1092801.rlib(rustdoc-3ccb8c50a1092801.rustdoc.bmza2r9l-cgu.3.rcgu.o):(_ZN107_$LT$rustc_middle..ty..erase_regions..RegionEraserVisitor$u20$as$u20$rustc_middle..ty..fold..TypeFolder$GT$11fold_binder17h65130f5c87d50e93E)
          >>> referenced by C:\msys64\home\we\rust\src\librustc_middle\ty\erase_regions.rs:51
          >>>               librustdoc-3ccb8c50a1092801.rlib(rustdoc-3ccb8c50a1092801.rustdoc.bmza2r9l-cgu.3.rcgu.o):(_ZN107_$LT$rustc_middle..ty..erase_regions..RegionEraserVisitor$u20$as$u20$rustc_middle..ty..fold..TypeFolder$GT$11fold_binder17h65130f5c87d50e93E)
          >>> referenced by C:\msys64\home\we\rust\src\librustc_middle\ty\erase_regions.rs:51
          >>>               librustdoc-3ccb8c50a1092801.rlib(rustdoc-3ccb8c50a1092801.rustdoc.bmza2r9l-cgu.3.rcgu.o):(_ZN107_$LT$rustc_middle..ty..erase_regions..RegionEraserVisitor$u20$as$u20$rustc_middle..ty..fold..TypeFolder$GT$11fold_binder17hdc8625bd52be94bcE)
          >>> referenced by C:\msys64\home\we\rust\src\librustc_middle\ty\structural_impls.rs:914
          >>>               librustdoc-3ccb8c50a1092801.rlib(rustdoc-3ccb8c50a1092801.rustdoc.bmza2r9l-cgu.8.rcgu.o):(_ZN12rustc_middle2ty16structural_impls92_$LT$impl$u20$rustc_middle..ty..fold..TypeFoldable$u20$for$u20$$RF$rustc_middle..ty..TyS$GT$9fold_with17h5f8af91971836af2E)
          >>> referenced by C:\msys64\home\we\rust\src\librustc_middle\ty\fold.rs:49
          >>>               librustdoc-3ccb8c50a1092801.rlib(rustdoc-3ccb8c50a1092801.rustdoc.bmza2r9l-cgu.8.rcgu.o):(_ZN12rustc_middle2ty4fold12TypeFoldable9fold_with17h210029e88157f458E)
          >>> referenced by C:\msys64\home\we\rust\src\librustc_middle\ty\fold.rs:49
          >>>               librustdoc-3ccb8c50a1092801.rlib(rustdoc-3ccb8c50a1092801.rustdoc.bmza2r9l-cgu.8.rcgu.o):(_ZN12rustc_middle2ty4fold12TypeFoldable9fold_with17h210029e88157f458E)
          >>> referenced by C:\msys64\home\we\rust\src\librustc_middle\ty\fold.rs:49
          >>>               librustdoc-3ccb8c50a1092801.rlib(rustdoc-3ccb8c50a1092801.rustdoc.bmza2r9l-cgu.8.rcgu.o):(_ZN12rustc_middle2ty4fold12TypeFoldable9fold_with17h210029e88157f458E)
          >>> referenced by C:\msys64\home\we\rust\src\librustc_middle\ty\fold.rs:49
          >>>               librustdoc-3ccb8c50a1092801.rlib(rustdoc-3ccb8c50a1092801.rustdoc.bmza2r9l-cgu.8.rcgu.o):(_ZN12rustc_middle2ty4fold12TypeFoldable9fold_with17h592051c5f88ab2a8E)
          >>> referenced by C:\msys64\home\we\rust\src\librustc_middle\ty\fold.rs:49
          >>>               librustdoc-3ccb8c50a1092801.rlib(rustdoc-3ccb8c50a1092801.rustdoc.bmza2r9l-cgu.8.rcgu.o):(_ZN12rustc_middle2ty4fold12TypeFoldable9fold_with17h67bd5f5514ff889aE)
          >>> referenced 20 more times

          rust-lld: error: undefined symbol: _ZN107_$LT$rustc_middle..ty..erase_regions..RegionEraserVisitor$u20$as$u20$rustc_middle..ty..fold..TypeFolder$GT$11fold_region17h5d58d97003b8cab2E
          >>> referenced by C:\msys64\home\we\rust\src\librustc_middle\ty\erase_regions.rs:51
          >>>               librustdoc-3ccb8c50a1092801.rlib(rustdoc-3ccb8c50a1092801.rustdoc.bmza2r9l-cgu.3.rcgu.o):(_ZN107_$LT$rustc_middle..ty..erase_regions..RegionEraserVisitor$u20$as$u20$rustc_middle..ty..fold..TypeFolder$GT$11fold_binder17h4251044c9f006bbbE)
          >>> referenced by C:\msys64\home\we\rust\src\librustc_middle\ty\erase_regions.rs:51
          >>>               librustdoc-3ccb8c50a1092801.rlib(rustdoc-3ccb8c50a1092801.rustdoc.bmza2r9l-cgu.3.rcgu.o):(_ZN107_$LT$rustc_middle..ty..erase_regions..RegionEraserVisitor$u20$as$u20$rustc_middle..ty..fold..TypeFolder$GT$11fold_binder17h52afd03867df6b20E)
          >>> referenced by C:\msys64\home\we\rust\src\librustc_middle\ty\erase_regions.rs:51
          >>>               librustdoc-3ccb8c50a1092801.rlib(rustdoc-3ccb8c50a1092801.rustdoc.bmza2r9l-cgu.3.rcgu.o):(_ZN107_$LT$rustc_middle..ty..erase_regions..RegionEraserVisitor$u20$as$u20$rustc_middle..ty..fold..TypeFolder$GT$11fold_binder17h52afd03867df6b20E)
          >>> referenced by C:\msys64\home\we\rust\src\librustc_middle\ty\fold.rs:49
          >>>               librustdoc-3ccb8c50a1092801.rlib(rustdoc-3ccb8c50a1092801.rustdoc.bmza2r9l-cgu.8.rcgu.o):(_ZN12rustc_middle2ty4fold12TypeFoldable9fold_with17h210029e88157f458E)
          >>> referenced by C:\msys64\home\we\rust\src\librustc_middle\ty\fold.rs:49
          >>>               librustdoc-3ccb8c50a1092801.rlib(rustdoc-3ccb8c50a1092801.rustdoc.bmza2r9l-cgu.8.rcgu.o):(_ZN12rustc_middle2ty4fold12TypeFoldable9fold_with17h210029e88157f458E)
          >>> referenced by C:\msys64\home\we\rust\src\librustc_middle\ty\fold.rs:49
          >>>               librustdoc-3ccb8c50a1092801.rlib(rustdoc-3ccb8c50a1092801.rustdoc.bmza2r9l-cgu.8.rcgu.o):(_ZN12rustc_middle2ty4fold12TypeFoldable9fold_with17h210029e88157f458E)
          >>> referenced by C:\msys64\home\we\rust\src\librustc_middle\ty\fold.rs:49
          >>>               librustdoc-3ccb8c50a1092801.rlib(rustdoc-3ccb8c50a1092801.rustdoc.bmza2r9l-cgu.8.rcgu.o):(_ZN12rustc_middle2ty4fold12TypeFoldable9fold_with17h8f53d71687c34fb5E)
          >>> referenced by C:\msys64\home\we\rust\src\librustc_middle\ty\fold.rs:49
          >>>               librustdoc-3ccb8c50a1092801.rlib(rustdoc-3ccb8c50a1092801.rustdoc.bmza2r9l-cgu.8.rcgu.o):(_ZN12rustc_middle2ty4fold12TypeFoldable9fold_with17he562998f36aeab7aE)
          >>> referenced by C:\msys64\home\we\rust\src\librustc_middle\ty\fold.rs:49
          >>>               librustdoc-3ccb8c50a1092801.rlib(rustdoc-3ccb8c50a1092801.rustdoc.bmza2r9l-cgu.8.rcgu.o):(_ZN12rustc_middle2ty4fold12TypeFoldable9fold_with17he562998f36aeab7aE)
          >>> referenced by C:\msys64\home\we\rust\src\librustc_middle\ty\fold.rs:49
          >>>               librustdoc-3ccb8c50a1092801.rlib(rustdoc-3ccb8c50a1092801.rustdoc.bmza2r9l-cgu.8.rcgu.o):(_ZN12rustc_middle2ty4fold12TypeFoldable9fold_with17hfe2b13c4272013adE)
          >>> referenced 13 more times

          rust-lld: error: undefined symbol: _ZN93_$LT$rustc_infer..infer..equate..Equate$u20$as$u20$rustc_middle..ty..relate..TypeRelation$GT$3tys17h3e91ff5c842d635bE
          >>> referenced by C:\msys64\home\we\rust\src\librustc_infer\infer\mod.rs:861
          >>>               librustdoc-3ccb8c50a1092801.rlib(rustdoc-3ccb8c50a1092801.rustdoc.bmza2r9l-cgu.3.rcgu.o):(_ZN11rustc_infer5infer9InferCtxt12commit_if_ok17hbdf34bbb56265f5aE)
          >>> referenced by C:\msys64\home\we\rust\src\librustc_middle\ty\relate.rs:333
          >>>               librustdoc-3ccb8c50a1092801.rlib(rustdoc-3ccb8c50a1092801.rustdoc.bmza2r9l-cgu.8.rcgu.o):(_ZN78_$LT$$RF$rustc_middle..ty..TyS$u20$as$u20$rustc_middle..ty..relate..Relate$GT$6relate17h7c275831f850e453E)

          rust-lld: error: undefined symbol: _ZN91_$LT$rustc_middle..ty..subst..SubstFolder$u20$as$u20$rustc_middle..ty..fold..TypeFolder$GT$3tcx17ha76565d0fee9ca7fE
          >>> referenced by C:\msys64\home\we\rust\src\librustc_middle\ty\structural_impls.rs:1080
          >>>               librustdoc-3ccb8c50a1092801.rlib(rustdoc-3ccb8c50a1092801.rustdoc.bmza2r9l-cgu.3.rcgu.o):(_ZN12rustc_middle2ty16structural_impls9fold_list17h22a03be7ee86b0e2E)
          >>> referenced by C:\msys64\home\we\rust\src\librustc_middle\ty\fold.rs:49
          >>>               librustdoc-3ccb8c50a1092801.rlib(rustdoc-3ccb8c50a1092801.rustdoc.bmza2r9l-cgu.8.rcgu.o):(_ZN12rustc_middle2ty4fold12TypeFoldable9fold_with17h076e37e6ff47d6a4E)
          >>> referenced by C:\msys64\home\we\rust\src\librustc_middle\ty\fold.rs:49
          >>>               librustdoc-3ccb8c50a1092801.rlib(rustdoc-3ccb8c50a1092801.rustdoc.bmza2r9l-cgu.8.rcgu.o):(_ZN12rustc_middle2ty4fold12TypeFoldable9fold_with17h076e37e6ff47d6a4E)
          >>> referenced by C:\msys64\home\we\rust\src\librustc_middle\ty\fold.rs:49
          >>>               librustdoc-3ccb8c50a1092801.rlib(rustdoc-3ccb8c50a1092801.rustdoc.bmza2r9l-cgu.8.rcgu.o):(_ZN12rustc_middle2ty4fold12TypeFoldable9fold_with17h076e37e6ff47d6a4E)

          rust-lld: error: undefined symbol: _ZN107_$LT$rustc_middle..ty..erase_regions..RegionEraserVisitor$u20$as$u20$rustc_middle..ty..fold..TypeFolder$GT$3tcx17h9fe8fd7dc9bbd0b6E
          >>> referenced by C:\msys64\home\we\rust\src\librustc_middle\ty\structural_impls.rs:1080
          >>>               librustdoc-3ccb8c50a1092801.rlib(rustdoc-3ccb8c50a1092801.rustdoc.bmza2r9l-cgu.3.rcgu.o):(_ZN12rustc_middle2ty16structural_impls9fold_list17h5d2a39b25469cd89E)
          >>> referenced by C:\msys64\home\we\rust\src\librustc_middle\ty\fold.rs:49
          >>>               librustdoc-3ccb8c50a1092801.rlib(rustdoc-3ccb8c50a1092801.rustdoc.bmza2r9l-cgu.8.rcgu.o):(_ZN12rustc_middle2ty4fold12TypeFoldable9fold_with17h210029e88157f458E)
          >>> referenced by C:\msys64\home\we\rust\src\librustc_middle\ty\fold.rs:49
          >>>               librustdoc-3ccb8c50a1092801.rlib(rustdoc-3ccb8c50a1092801.rustdoc.bmza2r9l-cgu.8.rcgu.o):(_ZN12rustc_middle2ty4fold12TypeFoldable9fold_with17h210029e88157f458E)
          >>> referenced by C:\msys64\home\we\rust\src\librustc_middle\ty\fold.rs:49
          >>>               librustdoc-3ccb8c50a1092801.rlib(rustdoc-3ccb8c50a1092801.rustdoc.bmza2r9l-cgu.8.rcgu.o):(_ZN12rustc_middle2ty4fold12TypeFoldable9fold_with17h210029e88157f458E)
          >>> referenced by C:\msys64\home\we\rust\src\librustc_middle\ty\structural_impls.rs:1001
          >>>               librustdoc-3ccb8c50a1092801.rlib(rustdoc-3ccb8c50a1092801.rustdoc.bmza2r9l-cgu.9.rcgu.o):(_ZN12rustc_middle2ty16structural_impls99_$LT$impl$u20$rustc_middle..ty..fold..TypeFoldable$u20$for$u20$$RF$rustc_middle..ty..sty..Const$GT$15super_fold_with17hf3f83e497b53ba6aE)

          rust-lld: error: undefined symbol: _ZN12rustc_middle9dep_graph105_$LT$impl$u20$rustc_query_system..dep_graph..DepContext$u20$for$u20$rustc_middle..ty..context..TyCtxt$GT$29create_stable_hashing_context17h406f54eb1f0d4ca0E
          >>> referenced by C:\msys64\home\we\rust\src\librustc_query_system\dep_graph\graph.rs:244
          >>>               librustdoc-3ccb8c50a1092801.rlib(rustdoc-3ccb8c50a1092801.rustdoc.bmza2r9l-cgu.3.rcgu.o):(_ZN18rustc_query_system9dep_graph5graph17DepGraph$LT$K$GT$14with_task_impl17h07ee09c76dc49b5dE.llvm.10531590483696488580)
          >>> referenced by C:\msys64\home\we\rust\src\librustc_query_system\dep_graph\graph.rs:244
          >>>               librustdoc-3ccb8c50a1092801.rlib(rustdoc-3ccb8c50a1092801.rustdoc.bmza2r9l-cgu.3.rcgu.o):(_ZN18rustc_query_system9dep_graph5graph17DepGraph$LT$K$GT$14with_task_impl17h26969b45242e213aE.llvm.10531590483696488580)
          >>> referenced by C:\msys64\home\we\rust\src\librustc_query_system\dep_graph\graph.rs:244
          >>>               librustdoc-3ccb8c50a1092801.rlib(rustdoc-3ccb8c50a1092801.rustdoc.bmza2r9l-cgu.3.rcgu.o):(_ZN18rustc_query_system9dep_graph5graph17DepGraph$LT$K$GT$14with_task_impl17h34ad44133a369085E.llvm.10531590483696488580)
          >>> referenced by C:\msys64\home\we\rust\src\librustc_query_system\dep_graph\graph.rs:244
          >>>               librustdoc-3ccb8c50a1092801.rlib(rustdoc-3ccb8c50a1092801.rustdoc.bmza2r9l-cgu.3.rcgu.o):(_ZN18rustc_query_system9dep_graph5graph17DepGraph$LT$K$GT$14with_task_impl17h374dab04352cc48aE.llvm.10531590483696488580)
          >>> referenced by C:\msys64\home\we\rust\src\librustc_query_system\dep_graph\graph.rs:244
          >>>               librustdoc-3ccb8c50a1092801.rlib(rustdoc-3ccb8c50a1092801.rustdoc.bmza2r9l-cgu.3.rcgu.o):(_ZN18rustc_query_system9dep_graph5graph17DepGraph$LT$K$GT$14with_task_impl17h41477b3290cf0e03E.llvm.10531590483696488580)
          >>> referenced by C:\msys64\home\we\rust\src\librustc_query_system\dep_graph\graph.rs:244
          >>>               librustdoc-3ccb8c50a1092801.rlib(rustdoc-3ccb8c50a1092801.rustdoc.bmza2r9l-cgu.3.rcgu.o):(_ZN18rustc_query_system9dep_graph5graph17DepGraph$LT$K$GT$14with_task_impl17h47a931743e1de7e4E.llvm.10531590483696488580)
          >>> referenced by C:\msys64\home\we\rust\src\librustc_query_system\dep_graph\graph.rs:244
          >>>               librustdoc-3ccb8c50a1092801.rlib(rustdoc-3ccb8c50a1092801.rustdoc.bmza2r9l-cgu.3.rcgu.o):(_ZN18rustc_query_system9dep_graph5graph17DepGraph$LT$K$GT$14with_task_impl17h4adcabd73d113837E.llvm.10531590483696488580)
          >>> referenced by C:\msys64\home\we\rust\src\librustc_query_system\dep_graph\graph.rs:244
          >>>               librustdoc-3ccb8c50a1092801.rlib(rustdoc-3ccb8c50a1092801.rustdoc.bmza2r9l-cgu.3.rcgu.o):(_ZN18rustc_query_system9dep_graph5graph17DepGraph$LT$K$GT$14with_task_impl17h52eca5044940681eE.llvm.10531590483696488580)
          >>> referenced by C:\msys64\home\we\rust\src\librustc_query_system\dep_graph\graph.rs:244
          >>>               librustdoc-3ccb8c50a1092801.rlib(rustdoc-3ccb8c50a1092801.rustdoc.bmza2r9l-cgu.3.rcgu.o):(_ZN18rustc_query_system9dep_graph5graph17DepGraph$LT$K$GT$14with_task_impl17h60ed3cd569633bcdE.llvm.10531590483696488580)
          >>> referenced by C:\msys64\home\we\rust\src\librustc_query_system\dep_graph\graph.rs:244
          >>>               librustdoc-3ccb8c50a1092801.rlib(rustdoc-3ccb8c50a1092801.rustdoc.bmza2r9l-cgu.3.rcgu.o):(_ZN18rustc_query_system9dep_graph5graph17DepGraph$LT$K$GT$14with_task_impl17h6a92bc232bc1a062E.llvm.10531590483696488580)
          >>> referenced 48 more times

          rust-lld: error: undefined symbol: _ZN12rustc_middle2ty5query169_$LT$impl$u20$rustc_query_system..query..config..QueryAccessors$LT$rustc_middle..ty..context..TyCtxt$GT$$u20$for$u20$rustc_middle..ty..query..queries..inherent_impls$GT$11hash_result17ha39e688d3a773335E
          >>> referenced by C:\msys64\home\we\rust\src\librustc_query_system\dep_graph\graph.rs:252
          >>>               librustdoc-3ccb8c50a1092801.rlib(rustdoc-3ccb8c50a1092801.rustdoc.bmza2r9l-cgu.3.rcgu.o):(_ZN18rustc_query_system9dep_graph5graph17DepGraph$LT$K$GT$14with_task_impl17h07ee09c76dc49b5dE.llvm.10531590483696488580)

          rust-lld: error: undefined symbol: _ZN104_$LT$rustc_query_system..dep_graph..serialized..SerializedDepNodeIndex$u20$as$u20$core..clone..Clone$GT$5clone17h14f93830a507b7ddE
          >>> referenced by C:\msys64\home\we\rust\src\librustc_query_system\dep_graph\graph.rs:264
          >>>               librustdoc-3ccb8c50a1092801.rlib(rustdoc-3ccb8c50a1092801.rustdoc.bmza2r9l-cgu.3.rcgu.o):(_ZN18rustc_query_system9dep_graph5graph17DepGraph$LT$K$GT$14with_task_impl17h07ee09c76dc49b5dE.llvm.10531590483696488580)
          >>> referenced by C:\msys64\home\we\rust\src\librustc_query_system\dep_graph\graph.rs:264
          >>>               librustdoc-3ccb8c50a1092801.rlib(rustdoc-3ccb8c50a1092801.rustdoc.bmza2r9l-cgu.3.rcgu.o):(_ZN18rustc_query_system9dep_graph5graph17DepGraph$LT$K$GT$14with_task_impl17h26969b45242e213aE.llvm.10531590483696488580)
          >>> referenced by C:\msys64\home\we\rust\src\librustc_query_system\dep_graph\graph.rs:264
          >>>               librustdoc-3ccb8c50a1092801.rlib(rustdoc-3ccb8c50a1092801.rustdoc.bmza2r9l-cgu.3.rcgu.o):(_ZN18rustc_query_system9dep_graph5graph17DepGraph$LT$K$GT$14with_task_impl17h34ad44133a369085E.llvm.10531590483696488580)
          >>> referenced by C:\msys64\home\we\rust\src\librustc_query_system\dep_graph\graph.rs:264
          >>>               librustdoc-3ccb8c50a1092801.rlib(rustdoc-3ccb8c50a1092801.rustdoc.bmza2r9l-cgu.3.rcgu.o):(_ZN18rustc_query_system9dep_graph5graph17DepGraph$LT$K$GT$14with_task_impl17h374dab04352cc48aE.llvm.10531590483696488580)
          >>> referenced by C:\msys64\home\we\rust\src\librustc_query_system\dep_graph\graph.rs:264
          >>>               librustdoc-3ccb8c50a1092801.rlib(rustdoc-3ccb8c50a1092801.rustdoc.bmza2r9l-cgu.3.rcgu.o):(_ZN18rustc_query_system9dep_graph5graph17DepGraph$LT$K$GT$14with_task_impl17h41477b3290cf0e03E.llvm.10531590483696488580)
          >>> referenced by C:\msys64\home\we\rust\src\librustc_query_system\dep_graph\graph.rs:264
          >>>               librustdoc-3ccb8c50a1092801.rlib(rustdoc-3ccb8c50a1092801.rustdoc.bmza2r9l-cgu.3.rcgu.o):(_ZN18rustc_query_system9dep_graph5graph17DepGraph$LT$K$GT$14with_task_impl17h47a931743e1de7e4E.llvm.10531590483696488580)
          >>> referenced by C:\msys64\home\we\rust\src\librustc_query_system\dep_graph\graph.rs:264
          >>>               librustdoc-3ccb8c50a1092801.rlib(rustdoc-3ccb8c50a1092801.rustdoc.bmza2r9l-cgu.3.rcgu.o):(_ZN18rustc_query_system9dep_graph5graph17DepGraph$LT$K$GT$14with_task_impl17h4adcabd73d113837E.llvm.10531590483696488580)
          >>> referenced by C:\msys64\home\we\rust\src\librustc_query_system\dep_graph\graph.rs:264
          >>>               librustdoc-3ccb8c50a1092801.rlib(rustdoc-3ccb8c50a1092801.rustdoc.bmza2r9l-cgu.3.rcgu.o):(_ZN18rustc_query_system9dep_graph5graph17DepGraph$LT$K$GT$14with_task_impl17h52eca5044940681eE.llvm.10531590483696488580)
          >>> referenced by C:\msys64\home\we\rust\src\librustc_query_system\dep_graph\graph.rs:264
          >>>               librustdoc-3ccb8c50a1092801.rlib(rustdoc-3ccb8c50a1092801.rustdoc.bmza2r9l-cgu.3.rcgu.o):(_ZN18rustc_query_system9dep_graph5graph17DepGraph$LT$K$GT$14with_task_impl17h60ed3cd569633bcdE.llvm.10531590483696488580)
          >>> referenced by C:\msys64\home\we\rust\src\librustc_query_system\dep_graph\graph.rs:264
          >>>               librustdoc-3ccb8c50a1092801.rlib(rustdoc-3ccb8c50a1092801.rustdoc.bmza2r9l-cgu.3.rcgu.o):(_ZN18rustc_query_system9dep_graph5graph17DepGraph$LT$K$GT$14with_task_impl17h6a92bc232bc1a062E.llvm.10531590483696488580)
          >>> referenced 24 more times

          rust-lld: error: undefined symbol: _ZN12rustc_middle2ty5query163_$LT$impl$u20$rustc_query_system..query..config..QueryAccessors$LT$rustc_middle..ty..context..TyCtxt$GT$$u20$for$u20$rustc_middle..ty..query..queries..def_span$GT$11hash_result17h0e1b06314674ae45E
          >>> referenced by C:\msys64\home\we\rust\src\librustc_query_system\dep_graph\graph.rs:252
          >>>               librustdoc-3ccb8c50a1092801.rlib(rustdoc-3ccb8c50a1092801.rustdoc.bmza2r9l-cgu.3.rcgu.o):(_ZN18rustc_query_system9dep_graph5graph17DepGraph$LT$K$GT$14with_task_impl17h26969b45242e213aE.llvm.10531590483696488580)

          rust-lld: error: undefined symbol: _ZN12rustc_middle2ty5query162_$LT$impl$u20$rustc_query_system..query..config..QueryAccessors$LT$rustc_middle..ty..context..TyCtxt$GT$$u20$for$u20$rustc_middle..ty..query..queries..type_of$GT$11hash_result17h8f17962bca6e05d3E
          >>> referenced by C:\msys64\home\we\rust\src\librustc_query_system\dep_graph\graph.rs:252
          >>>               librustdoc-3ccb8c50a1092801.rlib(rustdoc-3ccb8c50a1092801.rustdoc.bmza2r9l-cgu.3.rcgu.o):(_ZN18rustc_query_system9dep_graph5graph17DepGraph$LT$K$GT$14with_task_impl17h34ad44133a369085E.llvm.10531590483696488580)
          >>> referenced by C:\msys64\home\we\rust\src\librustc_query_system\query\plumbing.rs:547
          >>>               librustdoc-3ccb8c50a1092801.rlib(rustdoc-3ccb8c50a1092801.rustdoc.bmza2r9l-cgu.15.rcgu.o):(_ZN18rustc_query_system5query8plumbing22incremental_verify_ich17h1ddcb897e9aa73b7E)

          rust-lld: error: undefined symbol: _ZN12rustc_middle2ty5query176_$LT$impl$u20$rustc_query_system..query..config..QueryAccessors$LT$rustc_middle..ty..context..TyCtxt$GT$$u20$for$u20$rustc_middle..ty..query..queries..privacy_access_levels$GT$11hash_result17ha4120c56292f672fE
          >>> referenced by C:\msys64\home\we\rust\src\librustc_query_system\dep_graph\graph.rs:252
          >>>               librustdoc-3ccb8c50a1092801.rlib(rustdoc-3ccb8c50a1092801.rustdoc.bmza2r9l-cgu.3.rcgu.o):(_ZN18rustc_query_system9dep_graph5graph17DepGraph$LT$K$GT$14with_task_impl17h374dab04352cc48aE.llvm.10531590483696488580)

          rust-lld: error: undefined symbol: _ZN12rustc_middle2ty5query171_$LT$impl$u20$rustc_query_system..query..config..QueryAccessors$LT$rustc_middle..ty..context..TyCtxt$GT$$u20$for$u20$rustc_middle..ty..query..queries..lookup_stability$GT$11hash_result17h1ed88c91db7dc5f3E
          >>> referenced by C:\msys64\home\we\rust\src\librustc_query_system\dep_graph\graph.rs:252
          >>>               librustdoc-3ccb8c50a1092801.rlib(rustdoc-3ccb8c50a1092801.rustdoc.bmza2r9l-cgu.3.rcgu.o):(_ZN18rustc_query_system9dep_graph5graph17DepGraph$LT$K$GT$14with_task_impl17h41477b3290cf0e03E.llvm.10531590483696488580)
          >>> referenced by C:\msys64\home\we\rust\src\librustc_query_system\query\plumbing.rs:547
          >>>               librustdoc-3ccb8c50a1092801.rlib(rustdoc-3ccb8c50a1092801.rustdoc.bmza2r9l-cgu.15.rcgu.o):(_ZN18rustc_query_system5query8plumbing22incremental_verify_ich17hc57cffd3b9606fd4E)

          rust-lld: error: undefined symbol: _ZN12rustc_middle2ty5query170_$LT$impl$u20$rustc_query_system..query..config..QueryAccessors$LT$rustc_middle..ty..context..TyCtxt$GT$$u20$for$u20$rustc_middle..ty..query..queries..associated_item$GT$11hash_result17hfb3a9fdc0cee438cE
          >>> referenced by C:\msys64\home\we\rust\src\librustc_query_system\dep_graph\graph.rs:252
          >>>               librustdoc-3ccb8c50a1092801.rlib(rustdoc-3ccb8c50a1092801.rustdoc.bmza2r9l-cgu.3.rcgu.o):(_ZN18rustc_query_system9dep_graph5graph17DepGraph$LT$K$GT$14with_task_impl17h47a931743e1de7e4E.llvm.10531590483696488580)
          >>> referenced by C:\msys64\home\we\rust\src\librustc_query_system\query\plumbing.rs:547
          >>>               librustdoc-3ccb8c50a1092801.rlib(rustdoc-3ccb8c50a1092801.rustdoc.bmza2r9l-cgu.15.rcgu.o):(_ZN18rustc_query_system5query8plumbing22incremental_verify_ich17h18bd53412b73a351E)

          rust-lld: error: undefined symbol: _ZN12rustc_middle2ty5query169_$LT$impl$u20$rustc_query_system..query..config..QueryAccessors$LT$rustc_middle..ty..context..TyCtxt$GT$$u20$for$u20$rustc_middle..ty..query..queries..impl_trait_ref$GT$11hash_result17h0ad063deddd57db2E
          >>> referenced by C:\msys64\home\we\rust\src\librustc_query_system\dep_graph\graph.rs:252
          >>>               librustdoc-3ccb8c50a1092801.rlib(rustdoc-3ccb8c50a1092801.rustdoc.bmza2r9l-cgu.3.rcgu.o):(_ZN18rustc_query_system9dep_graph5graph17DepGraph$LT$K$GT$14with_task_impl17h4adcabd73d113837E.llvm.10531590483696488580)
          >>> referenced by C:\msys64\home\we\rust\src\librustc_query_system\query\plumbing.rs:547
          >>>               librustdoc-3ccb8c50a1092801.rlib(rustdoc-3ccb8c50a1092801.rustdoc.bmza2r9l-cgu.15.rcgu.o):(_ZN18rustc_query_system5query8plumbing22incremental_verify_ich17h776b7d904da0f157E)

          rust-lld: error: undefined symbol: _ZN12rustc_middle2ty5query162_$LT$impl$u20$rustc_query_system..query..config..QueryAccessors$LT$rustc_middle..ty..context..TyCtxt$GT$$u20$for$u20$rustc_middle..ty..query..queries..adt_def$GT$11hash_result17h7f4319c2a506fd50E
          >>> referenced by C:\msys64\home\we\rust\src\librustc_query_system\dep_graph\graph.rs:252
          >>>               librustdoc-3ccb8c50a1092801.rlib(rustdoc-3ccb8c50a1092801.rustdoc.bmza2r9l-cgu.3.rcgu.o):(_ZN18rustc_query_system9dep_graph5graph17DepGraph$LT$K$GT$14with_task_impl17h52eca5044940681eE.llvm.10531590483696488580)
          >>> referenced by C:\msys64\home\we\rust\src\librustc_query_system\query\plumbing.rs:547
          >>>               librustdoc-3ccb8c50a1092801.rlib(rustdoc-3ccb8c50a1092801.rustdoc.bmza2r9l-cgu.15.rcgu.o):(_ZN18rustc_query_system5query8plumbing22incremental_verify_ich17h66b2d7427587d6e3E)

          rust-lld: error: undefined symbol: _ZN12rustc_middle2ty5query164_$LT$impl$u20$rustc_query_system..query..config..QueryAccessors$LT$rustc_middle..ty..context..TyCtxt$GT$$u20$for$u20$rustc_middle..ty..query..queries..param_env$GT$11hash_result17h2e5e5c08a81bd48fE
          >>> referenced by C:\msys64\home\we\rust\src\librustc_query_system\dep_graph\graph.rs:252
          >>>               librustdoc-3ccb8c50a1092801.rlib(rustdoc-3ccb8c50a1092801.rustdoc.bmza2r9l-cgu.3.rcgu.o):(_ZN18rustc_query_system9dep_graph5graph17DepGraph$LT$K$GT$14with_task_impl17h60ed3cd569633bcdE.llvm.10531590483696488580)
          >>> referenced by C:\msys64\home\we\rust\src\librustc_query_system\query\plumbing.rs:547
          >>>               librustdoc-3ccb8c50a1092801.rlib(rustdoc-3ccb8c50a1092801.rustdoc.bmza2r9l-cgu.15.rcgu.o):(_ZN18rustc_query_system5query8plumbing22incremental_verify_ich17hae7a39ed15ae0569E)

          rust-lld: error: undefined symbol: _ZN12rustc_middle2ty5query175_$LT$impl$u20$rustc_query_system..query..config..QueryAccessors$LT$rustc_middle..ty..context..TyCtxt$GT$$u20$for$u20$rustc_middle..ty..query..queries..is_compiler_builtins$GT$11hash_result17h7c3ccda1f7d852dbE
          >>> referenced by C:\msys64\home\we\rust\src\librustc_query_system\dep_graph\graph.rs:252
          >>>               librustdoc-3ccb8c50a1092801.rlib(rustdoc-3ccb8c50a1092801.rustdoc.bmza2r9l-cgu.3.rcgu.o):(_ZN18rustc_query_system9dep_graph5graph17DepGraph$LT$K$GT$14with_task_impl17h6a92bc232bc1a062E.llvm.10531590483696488580)
          >>> referenced by C:\msys64\home\we\rust\src\librustc_query_system\query\plumbing.rs:547
          >>>               librustdoc-3ccb8c50a1092801.rlib(rustdoc-3ccb8c50a1092801.rustdoc.bmza2r9l-cgu.15.rcgu.o):(_ZN18rustc_query_system5query8plumbing22incremental_verify_ich17h3fde623532331ca8E)

          rust-lld: error: undefined symbol: _ZN12rustc_middle2ty5query169_$LT$impl$u20$rustc_query_system..query..config..QueryAccessors$LT$rustc_middle..ty..context..TyCtxt$GT$$u20$for$u20$rustc_middle..ty..query..queries..trait_impls_of$GT$11hash_result17h4d2e2087cc91ae0aE
          >>> referenced by C:\msys64\home\we\rust\src\librustc_query_system\dep_graph\graph.rs:252
          >>>               librustdoc-3ccb8c50a1092801.rlib(rustdoc-3ccb8c50a1092801.rustdoc.bmza2r9l-cgu.3.rcgu.o):(_ZN18rustc_query_system9dep_graph5graph17DepGraph$LT$K$GT$14with_task_impl17h6c95752de944018dE.llvm.10531590483696488580)
          >>> referenced by C:\msys64\home\we\rust\src\librustc_query_system\query\plumbing.rs:547
          >>>               librustdoc-3ccb8c50a1092801.rlib(rustdoc-3ccb8c50a1092801.rustdoc.bmza2r9l-cgu.15.rcgu.o):(_ZN18rustc_query_system5query8plumbing22incremental_verify_ich17h7d60e606c9385ac0E)

          rust-lld: error: undefined symbol: _ZN12rustc_middle2ty5query161_$LT$impl$u20$rustc_query_system..query..config..QueryAccessors$LT$rustc_middle..ty..context..TyCtxt$GT$$u20$for$u20$rustc_middle..ty..query..queries..fn_sig$GT$11hash_result17hc501dc86c7de519fE
          >>> referenced by C:\msys64\home\we\rust\src\librustc_query_system\dep_graph\graph.rs:252
          >>>               librustdoc-3ccb8c50a1092801.rlib(rustdoc-3ccb8c50a1092801.rustdoc.bmza2r9l-cgu.3.rcgu.o):(_ZN18rustc_query_system9dep_graph5graph17DepGraph$LT$K$GT$14with_task_impl17h6fb73ab59099d58aE.llvm.10531590483696488580)
          >>> referenced by C:\msys64\home\we\rust\src\librustc_query_system\query\plumbing.rs:547
          >>>               librustdoc-3ccb8c50a1092801.rlib(rustdoc-3ccb8c50a1092801.rustdoc.bmza2r9l-cgu.15.rcgu.o):(_ZN18rustc_query_system5query8plumbing22incremental_verify_ich17h1f1520fe4e6b0331E)

          rust-lld: error: undefined symbol: _ZN12rustc_middle2ty5query177_$LT$impl$u20$rustc_query_system..query..config..QueryAccessors$LT$rustc_middle..ty..context..TyCtxt$GT$$u20$for$u20$rustc_middle..ty..query..queries..explicit_predicates_of$GT$11hash_result17h97d2a225a759b14fE
          >>> referenced by C:\msys64\home\we\rust\src\librustc_query_system\dep_graph\graph.rs:252
          >>>               librustdoc-3ccb8c50a1092801.rlib(rustdoc-3ccb8c50a1092801.rustdoc.bmza2r9l-cgu.3.rcgu.o):(_ZN18rustc_query_system9dep_graph5graph17DepGraph$LT$K$GT$14with_task_impl17h6fef1afdfc2836baE.llvm.10531590483696488580)
          >>> referenced by C:\msys64\home\we\rust\src\librustc_query_system\query\plumbing.rs:547
          >>>               librustdoc-3ccb8c50a1092801.rlib(rustdoc-3ccb8c50a1092801.rustdoc.bmza2r9l-cgu.15.rcgu.o):(_ZN18rustc_query_system5query8plumbing22incremental_verify_ich17h56a5fc68414e763fE)

          rust-lld: error: too many errors emitted, stopping now (use /errorlimit:0 to see all errors)

@mati865
Copy link
Contributor

mati865 commented May 7, 2020

It's LLD bug, the same thing happens for windows-gnu target (when using .def file instead of version-script).
If symbol listed in .def contains dot it will be written to the import library with truncated name.
I'm working with LLVM developer on fixing that.

@mati865
Copy link
Contributor

mati865 commented May 8, 2020

Update:
The fix has been posted https://reviews.llvm.org/D79619
I'll try it and consider backporting to MSYS2 lld package over the weekend.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-libtest Area: `#[test]` / the `test` library A-linkage Area: linking into static, shared libraries and binaries C-bug Category: This is a bug. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants