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

Unresolved external symbols when linking with incremental compilation #45929

Closed
Marwes opened this issue Nov 11, 2017 · 14 comments
Closed

Unresolved external symbols when linking with incremental compilation #45929

Marwes opened this issue Nov 11, 2017 · 14 comments
Labels
A-incr-comp Area: Incremental compilation 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

@Marwes
Copy link
Contributor

Marwes commented Nov 11, 2017

While working on https://github.com/Marwes/gluon_language-server/tree/linking for a while, editing code and running cargo test I get linking errors about unresolved external symbols.

Disabling incremental compilation fixes it.

It might be relevant that I am using [patch.crates-io] and msvc as well.

I can try to produce a smaller reproduction though given the unpredictable nature I am hoping that something in this post hops out at someone.

rustc --version --verbose
rustc 1.23.0-nightly (bd0e45a32 2017-11-06)
binary: rustc
commit-hash: bd0e45a323f85a1940d997ac237023c00670da67
commit-date: 2017-11-06
host: x86_64-pc-windows-msvc
release: 1.23.0-nightly
LLVM version: 4.0
   Compiling gluon_language-server v0.6.0 (file:///C:/Users/Markus/Dropbox/Programming/vscode-gluon)
error: linking with `link.exe` failed: exit code: 1120
  |
  = note: "C:\\Program Files (x86)\\Microsoft Visual Studio\\2017\\BuildTools\\VC\\Tools\\MSVC\\14.11.25503\\bin\\HostX64\\x64\\link.exe" "/NOLOGO" "/NXCOMPAT" "/LIBPATH:C:\\Users\\Markus\\.rustup\\toolchains\\nightly-x86_64-pc-windows-msvc\\lib\\rustlib\\x86_64-pc-windows-msvc\\lib" "C:\\Users\\Markus\\Dropbox\\Programming\\vscode-gluon\\target\\debug\\deps\\completion-ec8abc651bfa17f9.__rustc_fallback_codegen_unit.rcgu.o" "C:\\Users\\Markus\\Dropbox\\Programming\\vscode-gluon\\target\\debug\\deps\\completion-ec8abc651bfa17f9.alloc-allocator.rcgu.o" "C:\\Users\\Markus\\Dropbox\\Programming\\vscode-gluon\\target\\debug\\deps\\completion-ec8abc651bfa17f9.alloc-allocator.volatile.rcgu.o" "C:\\Users\\Markus\\Dropbox\\Programming\\vscode-gluon\\target\\debug\\deps\\completion-ec8abc651bfa17f9.alloc-arc.volatile.rcgu.o" "C:\\Users\\Markus\\Dropbox\\Programming\\vscode-gluon\\target\\debug\\deps\\completion-ec8abc651bfa17f9.alloc-borrow.volatile.rcgu.o" "C:\\Users\\Markus\\Dropbox\\Programming\\vscode-gluon\\target\\debug\\deps\\completion-ec8abc651bfa17f9.alloc-boxed.volatile.rcgu.o" "C:\\Users\\Markus\\Dropbox\\Programming\\vscode-gluon\\target\\debug\\deps\\completion-ec8abc651bfa17f9.alloc-btree-map.volatile.rcgu.o" "C:\\Users\\Markus\\Dropbox\\Programming\\vscode-gluon\\target\\debug\\deps\\completion-ec8abc651bfa17f9.alloc-btree-node.volatile.rcgu.o" "C:\\Users\\Markus\\Dropbox\\Programming\\vscode-gluon\\target\\debug\\deps\\completion-ec8abc651bfa17f9.alloc-btree-search.volatile.rcgu.o" "C:\\Users\\Markus\\Dropbox\\Programming\\vscode-gluon\\target\\debug\\deps\\completion-ec8abc651bfa17f9.alloc-heap.rcgu.o" "C:\\Users\\Markus\\Dropbox\\Programming\\vscode-gluon\\target\\debug\\deps\\completion-ec8abc651bfa17f9.alloc-heap.volatile.rcgu.o" "C:\\Users\\Markus\\Dropbox\\Programming\\vscode-gluon\\target\\debug\\deps\\completion-ec8abc651bfa17f9.alloc-raw_vec.rcgu.o" "C:\\Users\\Markus\\Dropbox\\Programming\\vscode-gluon\\target\\debug\\deps\\completion-ec8abc651bfa17f9.alloc-raw_vec.volatile.rcgu.o" "C:\\Users\\Markus\\Dropbox\\Programming\\vscode-gluon\\target\\debug\\deps\\completion-ec8abc651bfa17f9.alloc-rc.volatile.rcgu.o" "C:\\Users\\Markus\\Dropbox\\Programming\\vscode-gluon\\target\\debug\\deps\\completion-ec8abc651bfa17f9.alloc-slice-hack.volatile.rcgu.o" "C:\\Users\\Markus\\Dropbox\\Programming\\vscode-gluon\\target\\debug\\deps\\completion-ec8abc651bfa17f9.alloc-slice.volatile.rcgu.o" "C:\\Users\\Markus\\Dropbox\\Programming\\vscode-gluon\\target\\debug\\deps\\completion-ec8abc651bfa17f9.alloc-str.rcgu.o" "C:\\Users\\Markus\\Dropbox\\Programming\\vscode-gluon\\target\\debug\\deps\\completion-ec8abc651bfa17f9.alloc-str.volatile.rcgu.o" "C:\\Users\\Markus\\Dropbox\\Programming\\vscode-gluon\\target\\debug\\deps\\completion-ec8abc651bfa17f9.alloc-string.rcgu.o" "C:\\Users\\Markus\\Dropbox\\Programming\\vscode-gluon\\target\\debug\\deps\\completion-ec8abc651bfa17f9.alloc-string.volatile.rcgu.o" "C:\\Users\\Markus\\Dropbox\\Programming\\vscode-gluon\\target\\debug\\deps\\completion-ec8abc651bfa17f9.alloc-vec.rcgu.o" "C:\\Users\\Markus\\Dropbox\\Programming\\vscode-gluon\\target\\debug\\deps\\completion-ec8abc651bfa17f9.alloc-vec.volatile.rcgu.o" "C:\\Users\\Markus\\Dropbox\\Programming\\vscode-gluon\\target\\debug\\deps\\completion-ec8abc651bfa17f9.alloc-vec_deque.rcgu.o" "C:\\Users\\Markus\\Dropbox\\Programming\\vscode-gluon\\target\\debug\\deps\\completion-ec8abc651bfa17f9.alloc-vec_deque.volatile.rcgu.o" "C:\\Users\\Markus\\Dropbox\\Programming\\vscode-gluon\\target\\debug\\deps\\completion-ec8abc651bfa17f9.bytes-bytes.rcgu.o" "C:\\Users\\Markus\\Dropbox\\Programming\\vscode-gluon\\target\\debug\\deps\\completion-ec8abc651bfa17f9.bytes-bytes.volatile.rcgu.o" "C:\\Users\\Markus\\Dropbox\\Programming\\vscode-gluon\\target\\debug\\deps\\completion-ec8abc651bfa17f9.completion.rcgu.o" "C:\\Users\\Markus\\Dropbox\\Programming\\vscode-gluon\\target\\debug\\deps\\completion-ec8abc651bfa17f9.completion-__test.rcgu.o" "C:\\Users\\Markus\\Dropbox\\Programming\\vscode-gluon\\target\\debug\\deps\\completion-ec8abc651bfa17f9.completion-support.rcgu.o" "C:\\Users\\Markus\\Dropbox\\Programming\\vscode-gluon\\target\\debug\\deps\\completion-ec8abc651bfa17f9.completion-support.volatile.rcgu.o" "C:\\Users\\Markus\\Dropbox\\Programming\\vscode-gluon\\target\\debug\\deps\\completion-ec8abc651bfa17f9.completion.volatile.rcgu.o" "C:\\Users\\Markus\\Dropbox\\Programming\\vscode-gluon\\target\\debug\\deps\\completion-ec8abc651bfa17f9.core-any.rcgu.o" "C:\\Users\\Markus\\Dropbox\\Programming\\vscode-gluon\\target\\debug\\deps\\completion-ec8abc651bfa17f9.core-any.volatile.rcgu.o" "C:\\Users\\Markus\\Dropbox\\Programming\\vscode-gluon\\target\\debug\\deps\\completion-ec8abc651bfa17f9.core-cell.volatile.rcgu.o" "C:\\Users\\Markus\\Dropbox\\Programming\\vscode-gluon\\target\\debug\\deps\\completion-ec8abc651bfa17f9.core-char.rcgu.o" "C:\\Users\\Markus\\Dropbox\\Programming\\vscode-gluon\\target\\debug\\deps\\completion-ec8abc651bfa17f9.core-cmp-impls.rcgu.o" "C:\\Users\\Markus\\Dropbox\\Programming\\vscode-gluon\\target\\debug\\deps\\completion-ec8abc651bfa17f9.core-cmp-impls.volatile.rcgu.o" "C:\\Users\\Markus\\Dropbox\\Programming\\vscode-gluon\\target\\debug\\deps\\completion-ec8abc651bfa17f9.core-cmp.volatile.rcgu.o" "C:\\Users\\Markus\\Dropbox\\Programming\\vscode-gluon\\target\\debug\\deps\\completion-ec8abc651bfa17f9.core-convert.volatile.rcgu.o" "C:\\Users\\Markus\\Dropbox\\Programming\\vscode-gluon\\target\\debug\\deps\\completion-ec8abc651bfa17f9.core-default.rcgu.o" "C:\\Users\\Markus\\Dropbox\\Programming\\vscode-gluon\\target\\debug\\deps\\completion-ec8abc651bfa17f9.core-f64.rcgu.o" "C:\\Users\\Markus\\Dropbox\\Programming\\vscode-gluon\\target\\debug\\deps\\completion-ec8abc651bfa17f9.core-fmt.rcgu.o" "C:\\Users\\Markus\\Dropbox\\Programming\\vscode-gluon\\target\\debug\\deps\\completion-ec8abc651bfa17f9.core-fmt-builders.volatile.rcgu.o" "C:\\Users\\Markus\\Dropbox\\Programming\\vscode-gluon\\target\\debug\\deps\\completion-ec8abc651bfa17f9.core-fmt.volatile.rcgu.o" "C:\\Users\\Markus\\Dropbox\\Programming\\vscode-gluon\\target\\debug\\deps\\completion-ec8abc651bfa17f9.core-hash-impls.volatile.rcgu.o" "C:\\Users\\Markus\\Dropbox\\Programming\\vscode-gluon\\target\\debug\\deps\\completion-ec8abc651bfa17f9.core-hash-sip.rcgu.o" "C:\\Users\\Markus\\Dropbox\\Programming\\vscode-gluon\\target\\debug\\deps\\completion-ec8abc651bfa17f9.core-hash-sip.volatile.rcgu.o" "C:\\Users\\Markus\\Dropbox\\Programming\\vscode-gluon\\target\\debug\\deps\\completion-ec8abc651bfa17f9.core-hash.volatile.rcgu.o" "C:\\Users\\Markus\\Dropbox\\Programming\\vscode-gluon\\target\\debug\\deps\\completion-ec8abc651bfa17f9.core-iter-range.rcgu.o" "C:\\Users\\Markus\\Dropbox\\Programming\\vscode-gluon\\target\\debug\\deps\\completion-ec8abc651bfa17f9.core-iter.volatile.rcgu.o" "C:\\Users\\Markus\\Dropbox\\Programming\\vscode-gluon\\target\\debug\\deps\\completion-ec8abc651bfa17f9.core-marker.volatile.rcgu.o" "C:\\Users\\Markus\\Dropbox\\Programming\\vscode-gluon\\target\\debug\\deps\\completion-ec8abc651bfa17f9.core-mem.volatile.rcgu.o" "C:\\Users\\Markus\\Dropbox\\Programming\\vscode-gluon\\target\\debug\\deps\\completion-ec8abc651bfa17f9.core-nonzero.volatile.rcgu.o" "C:\\Users\\Markus\\Dropbox\\Programming\\vscode-gluon\\target\\debug\\deps\\completion-ec8abc651bfa17f9.core-num.rcgu.o" "C:\\Users\\Markus\\Dropbox\\Programming\\vscode-gluon\\target\\debug\\deps\\completion-ec8abc651bfa17f9.core-num.volatile.rcgu.o" "C:\\Users\\Markus\\Dropbox\\Programming\\vscode-gluon\\target\\debug\\deps\\completion-ec8abc651bfa17f9.core-ops-arith.rcgu.o" "C:\\Users\\Markus\\Dropbox\\Programming\\vscode-gluon\\target\\debug\\deps\\completion-ec8abc651bfa17f9.core-ops-bit.rcgu.o" "C:\\Users\\Markus\\Dropbox\\Programming\\vscode-gluon\\target\\debug\\deps\\completion-ec8abc651bfa17f9.core-ops-range.rcgu.o" "C:\\Users\\Markus\\Dropbox\\Programming\\vscode-gluon\\target\\debug\\deps\\completion-ec8abc651bfa17f9.core-ops-range.volatile.rcgu.o" "C:\\Users\\Markus\\Dropbox\\Programming\\vscode-gluon\\target\\debug\\deps\\completion-ec8abc651bfa17f9.core-option.volatile.rcgu.o" "C:\\Users\\Markus\\Dropbox\\Programming\\vscode-gluon\\target\\debug\\deps\\completion-ec8abc651bfa17f9.core-ptr.rcgu.o" "C:\\Users\\Markus\\Dropbox\\Programming\\vscode-gluon\\target\\debug\\deps\\completion-ec8abc651bfa17f9.core-ptr.volatile.rcgu.o" "C:\\Users\\Markus\\Dropbox\\Programming\\vscode-gluon\\target\\debug\\deps\\completion-ec8abc651bfa17f9.core-result.volatile.rcgu.o" "C:\\Users\\Markus\\Dropbox\\Programming\\vscode-gluon\\target\\debug\\deps\\completion-ec8abc651bfa17f9.core-slice.rcgu.o" "C:\\Users\\Markus\\Dropbox\\Programming\\vscode-gluon\\target\\debug\\deps\\completion-ec8abc651bfa17f9.core-slice.volatile.rcgu.o" "C:\\Users\\Markus\\Dropbox\\Programming\\vscode-gluon\\target\\debug\\deps\\completion-ec8abc651bfa17f9.core-str.rcgu.o" "C:\\Users\\Markus\\Dropbox\\Programming\\vscode-gluon\\target\\debug\\deps\\completion-ec8abc651bfa17f9.core-str-pattern.rcgu.o" "C:\\Users\\Markus\\Dropbox\\Programming\\vscode-gluon\\target\\debug\\deps\\completion-ec8abc651bfa17f9.core-str-pattern.volatile.rcgu.o" "C:\\Users\\Markus\\Dropbox\\Programming\\vscode-gluon\\target\\debug\\deps\\completion-ec8abc651bfa17f9.core-str-traits.rcgu.o" "C:\\Users\\Markus\\Dropbox\\Programming\\vscode-gluon\\target\\debug\\deps\\completion-ec8abc651bfa17f9.core-str-traits.volatile.rcgu.o" "C:\\Users\\Markus\\Dropbox\\Programming\\vscode-gluon\\target\\debug\\deps\\completion-ec8abc651bfa17f9.core-str.volatile.rcgu.o" "C:\\Users\\Markus\\Dropbox\\Programming\\vscode-gluon\\target\\debug\\deps\\completion-ec8abc651bfa17f9.core-sync-atomic.rcgu.o" "C:\\Users\\Markus\\Dropbox\\Programming\\vscode-gluon\\target\\debug\\deps\\completion-ec8abc651bfa17f9.core-sync-atomic.volatile.rcgu.o" "C:\\Users\\Markus\\Dropbox\\Programming\\vscode-gluon\\target\\debug\\deps\\completion-ec8abc651bfa17f9.difference.volatile.rcgu.o" "C:\\Users\\Markus\\Dropbox\\Programming\\vscode-gluon\\target\\debug\\deps\\completion-ec8abc651bfa17f9.dtoa.rcgu.o" "C:\\Users\\Markus\\Dropbox\\Programming\\vscode-gluon\\target\\debug\\deps\\completion-ec8abc651bfa17f9.dtoa-diyfp.volatile.rcgu.o" "C:\\Users\\Markus\\Dropbox\\Programming\\vscode-gluon\\target\\debug\\deps\\completion-ec8abc651bfa17f9.dtoa.volatile.rcgu.o" "C:\\Users\\Markus\\Dropbox\\Programming\\vscode-gluon\\target\\debug\\deps\\completion-ec8abc651bfa17f9.fnv.rcgu.o" "C:\\Users\\Markus\\Dropbox\\Programming\\vscode-gluon\\target\\debug\\deps\\completion-ec8abc651bfa17f9.fnv.volatile.rcgu.o" "C:\\Users\\Markus\\Dropbox\\Programming\\vscode-gluon\\target\\debug\\deps\\completion-ec8abc651bfa17f9.futures-future-chain.volatile.rcgu.o" "C:\\Users\\Markus\\Dropbox\\Programming\\vscode-gluon\\target\\debug\\deps\\completion-ec8abc651bfa17f9.futures-future-either.volatile.rcgu.o" "C:\\Users\\Markus\\Dropbox\\Programming\\vscode-gluon\\target\\debug\\deps\\completion-ec8abc651bfa17f9.futures-future-join_all.volatile.rcgu.o" "C:\\Users\\Markus\\Dropbox\\Programming\\vscode-gluon\\target\\debug\\deps\\completion-ec8abc651bfa17f9.futures-future-lazy.volatile.rcgu.o" "C:\\Users\\Markus\\Dropbox\\Programming\\vscode-gluon\\target\\debug\\deps\\completion-ec8abc651bfa17f9.futures-future-map.volatile.rcgu.o" "C:\\Users\\Markus\\Dropbox\\Programming\\vscode-gluon\\target\\debug\\deps\\completion-ec8abc651bfa17f9.futures-future-map_err.volatile.rcgu.o" "C:\\Users\\Markus\\Dropbox\\Programming\\vscode-gluon\\target\\debug\\deps\\completion-ec8abc651bfa17f9.futures-future-result_.volatile.rcgu.o" "C:\\Users\\Markus\\Dropbox\\Programming\\vscode-gluon\\target\\debug\\deps\\completion-ec8abc651bfa17f9.futures-future-select_all.volatile.rcgu.o" "C:\\Users\\Markus\\Dropbox\\Programming\\vscode-gluon\\target\\debug\\deps\\completion-ec8abc651bfa17f9.futures-future-then.volatile.rcgu.o" "C:\\Users\\Markus\\Dropbox\\Programming\\vscode-gluon\\target\\debug\\deps\\completion-ec8abc651bfa17f9.futures-future.volatile.rcgu.o" "C:\\Users\\Markus\\Dropbox\\Programming\\vscode-gluon\\target\\debug\\deps\\completion-ec8abc651bfa17f9.futures-lock.volatile.rcgu.o" "C:\\Users\\Markus\\Dropbox\\Programming\\vscode-gluon\\target\\debug\\deps\\completion-ec8abc651bfa17f9.futures-poll.volatile.rcgu.o" "C:\\Users\\Markus\\Dropbox\\Programming\\vscode-gluon\\target\\debug\\deps\\completion-ec8abc651bfa17f9.futures-sink-send.volatile.rcgu.o" "C:\\Users\\Markus\\Dropbox\\Programming\\vscode-gluon\\target\\debug\\deps\\completion-ec8abc651bfa17f9.futures-stream-for_each.volatile.rcgu.o" "C:\\Users\\Markus\\Dropbox\\Programming\\vscode-gluon\\target\\debug\\deps\\completion-ec8abc651bfa17f9.futures-stream-map_err.volatile.rcgu.o" "C:\\Users\\Markus\\Dropbox\\Programming\\vscode-gluon\\target\\debug\\deps\\completion-ec8abc651bfa17f9.futures-sync-mpsc-queue.volatile.rcgu.o" "C:\\Users\\Markus\\Dropbox\\Programming\\vscode-gluon\\target\\debug\\deps\\completion-ec8abc651bfa17f9.futures-sync-mpsc.volatile.rcgu.o" "C:\\Users\\Markus\\Dropbox\\Programming\\vscode-gluon\\target\\debug\\deps\\completion-ec8abc651bfa17f9.futures-sync-oneshot.volatile.rcgu.o" "C:\\Users\\Markus\\Dropbox\\Programming\\vscode-gluon\\target\\debug\\deps\\completion-ec8abc651bfa17f9.futures-task_impl.rcgu.o" "C:\\Users\\Markus\\Dropbox\\Programming\\vscode-gluon\\target\\debug\\deps\\completion-ec8abc651bfa17f9.futures-task_impl-core.rcgu.o" "C:\\Users\\Markus\\Dropbox\\Programming\\vscode-gluon\\target\\debug\\deps\\completion-ec8abc651bfa17f9.futures-task_impl-core.volatile.rcgu.o" "C:\\Users\\Markus\\Dropbox\\Programming\\vscode-gluon\\target\\debug\\deps\\completion-ec8abc651bfa17f9.futures-task_impl-std.rcgu.o" "C:\\Users\\Markus\\Dropbox\\Programming\\vscode-gluon\\target\\debug\\deps\\completion-ec8abc651bfa17f9.futures-task_impl-std.volatile.rcgu.o" "C:\\Users\\Markus\\Dropbox\\Programming\\vscode-gluon\\target\\debug\\deps\\completion-ec8abc651bfa17f9.futures-task_impl.volatile.rcgu.o" "C:\\Users\\Markus\\Dropbox\\Programming\\vscode-gluon\\target\\debug\\deps\\completion-ec8abc651bfa17f9.gluon-import.volatile.rcgu.o" "C:\\Users\\Markus\\Dropbox\\Programming\\vscode-gluon\\target\\debug\\deps\\completion-ec8abc651bfa17f9.gluon.volatile.rcgu.o" "C:\\Users\\Markus\\Dropbox\\Programming\\vscode-gluon\\target\\debug\\deps\\completion-ec8abc651bfa17f9.gluon_base-ast.volatile.rcgu.o" "C:\\Users\\Markus\\Dropbox\\Programming\\vscode-gluon\\target\\debug\\deps\\completion-ec8abc651bfa17f9.gluon_base-error.volatile.rcgu.o" "C:\\Users\\Markus\\Dropbox\\Programming\\vscode-gluon\\target\\debug\\deps\\completion-ec8abc651bfa17f9.gluon_base-kind.volatile.rcgu.o" "C:\\Users\\Markus\\Dropbox\\Programming\\vscode-gluon\\target\\debug\\deps\\completion-ec8abc651bfa17f9.gluon_base-metadata.volatile.rcgu.o" "C:\\Users\\Markus\\Dropbox\\Programming\\vscode-gluon\\target\\debug\\deps\\completion-ec8abc651bfa17f9.gluon_base-pos.volatile.rcgu.o" "C:\\Users\\Markus\\Dropbox\\Programming\\vscode-gluon\\target\\debug\\deps\\completion-ec8abc651bfa17f9.gluon_base-symbol.rcgu.o" "C:\\Users\\Markus\\Dropbox\\Programming\\vscode-gluon\\target\\debug\\deps\\completion-ec8abc651bfa17f9.gluon_base-symbol.volatile.rcgu.o" "C:\\Users\\Markus\\Dropbox\\Programming\\vscode-gluon\\target\\debug\\deps\\completion-ec8abc651bfa17f9.gluon_base-types.volatile.rcgu.o" "C:\\Users\\Markus\\Dropbox\\Programming\\vscode-gluon\\target\\debug\\deps\\completion-ec8abc651bfa17f9.gluon_check-unify.volatile.rcgu.o" "C:\\Users\\Markus\\Dropbox\\Programming\\vscode-gluon\\target\\debug\\deps\\completion-ec8abc651bfa17f9.gluon_language_server-async_io.volatile.rcgu.o" "C:\\Users\\Markus\\Dropbox\\Programming\\vscode-gluon\\target\\debug\\deps\\completion-ec8abc651bfa17f9.gluon_language_server-rpc.volatile.rcgu.o" "C:\\Users\\Markus\\Dropbox\\Programming\\vscode-gluon\\target\\debug\\deps\\completion-ec8abc651bfa17f9.gluon_language_server.volatile.rcgu.o" "C:\\Users\\Markus\\Dropbox\\Programming\\vscode-gluon\\target\\debug\\deps\\completion-ec8abc651bfa17f9.gluon_vm-macros.volatile.rcgu.o" "C:\\Users\\Markus\\Dropbox\\Programming\\vscode-gluon\\target\\debug\\deps\\completion-ec8abc651bfa17f9.gluon_vm-thread.volatile.rcgu.o" "C:\\Users\\Markus\\Dropbox\\Programming\\vscode-gluon\\target\\debug\\deps\\completion-ec8abc651bfa17f9.gluon_vm-value.volatile.rcgu.o" "C:\\Users\\Markus\\Dropbox\\Programming\\vscode-gluon\\target\\debug\\deps\\completion-ec8abc651bfa17f9.gluon_vm.volatile.rcgu.o" "C:\\Users\\Markus\\Dropbox\\Programming\\vscode-gluon\\target\\debug\\deps\\completion-ec8abc651bfa17f9.itoa.volatile.rcgu.o" "C:\\Users\\Markus\\Dropbox\\Programming\\vscode-gluon\\target\\debug\\deps\\completion-ec8abc651bfa17f9.jsonrpc_core-io.volatile.rcgu.o" "C:\\Users\\Markus\\Dropbox\\Programming\\vscode-gluon\\target\\debug\\deps\\completion-ec8abc651bfa17f9.jsonrpc_core-middleware.volatile.rcgu.o" "C:\\Users\\Markus\\Dropbox\\Programming\\vscode-gluon\\target\\debug\\deps\\completion-ec8abc651bfa17f9.jsonrpc_core-types-error.volatile.rcgu.o" "C:\\Users\\Markus\\Dropbox\\Programming\\vscode-gluon\\target\\debug\\deps\\completion-ec8abc651bfa17f9.jsonrpc_core-types-id.rcgu.o" "C:\\Users\\Markus\\Dropbox\\Programming\\vscode-gluon\\target\\debug\\deps\\completion-ec8abc651bfa17f9.jsonrpc_core-types-id.volatile.rcgu.o" "C:\\Users\\Markus\\Dropbox\\Programming\\vscode-gluon\\target\\debug\\deps\\completion-ec8abc651bfa17f9.jsonrpc_core-types-params.volatile.rcgu.o" "C:\\Users\\Markus\\Dropbox\\Programming\\vscode-gluon\\target\\debug\\deps\\completion-ec8abc651bfa17f9.jsonrpc_core-types-request.volatile.rcgu.o" "C:\\Users\\Markus\\Dropbox\\Programming\\vscode-gluon\\target\\debug\\deps\\completion-ec8abc651bfa17f9.jsonrpc_core-types-response.rcgu.o" "C:\\Users\\Markus\\Dropbox\\Programming\\vscode-gluon\\target\\debug\\deps\\completion-ec8abc651bfa17f9.jsonrpc_core-types-response.volatile.rcgu.o" "C:\\Users\\Markus\\Dropbox\\Programming\\vscode-gluon\\target\\debug\\deps\\completion-ec8abc651bfa17f9.jsonrpc_core-types-version.volatile.rcgu.o" "C:\\Users\\Markus\\Dropbox\\Programming\\vscode-gluon\\target\\debug\\deps\\completion-ec8abc651bfa17f9.languageserver_types.rcgu.o" "C:\\Users\\Markus\\Dropbox\\Programming\\vscode-gluon\\target\\debug\\deps\\completion-ec8abc651bfa17f9.languageserver_types.volatile.rcgu.o" "C:\\Users\\Markus\\Dropbox\\Programming\\vscode-gluon\\target\\debug\\deps\\completion-ec8abc651bfa17f9.log.rcgu.o" "C:\\Users\\Markus\\Dropbox\\Programming\\vscode-gluon\\target\\debug\\deps\\completion-ec8abc651bfa17f9.log.volatile.rcgu.o" "C:\\Users\\Markus\\Dropbox\\Programming\\vscode-gluon\\target\\debug\\deps\\completion-ec8abc651bfa17f9.mio-event_imp.volatile.rcgu.o" "C:\\Users\\Markus\\Dropbox\\Programming\\vscode-gluon\\target\\debug\\deps\\completion-ec8abc651bfa17f9.pretty_assertions.volatile.rcgu.o" "C:\\Users\\Markus\\Dropbox\\Programming\\vscode-gluon\\target\\debug\\deps\\completion-ec8abc651bfa17f9.scoped_tls.volatile.rcgu.o" "C:\\Users\\Markus\\Dropbox\\Programming\\vscode-gluon\\target\\debug\\deps\\completion-ec8abc651bfa17f9.serde-de-from_primitive.rcgu.o" "C:\\Users\\Markus\\Dropbox\\Programming\\vscode-gluon\\target\\debug\\deps\\completion-ec8abc651bfa17f9.serde-de-ignored_any.volatile.rcgu.o" "C:\\Users\\Markus\\Dropbox\\Programming\\vscode-gluon\\target\\debug\\deps\\completion-ec8abc651bfa17f9.serde-de-impls.volatile.rcgu.o" "C:\\Users\\Markus\\Dropbox\\Programming\\vscode-gluon\\target\\debug\\deps\\completion-ec8abc651bfa17f9.serde-de-value.volatile.rcgu.o" "C:\\Users\\Markus\\Dropbox\\Programming\\vscode-gluon\\target\\debug\\deps\\completion-ec8abc651bfa17f9.serde-de.volatile.rcgu.o" "C:\\Users\\Markus\\Dropbox\\Programming\\vscode-gluon\\target\\debug\\deps\\completion-ec8abc651bfa17f9.serde-private-de.volatile.rcgu.o" "C:\\Users\\Markus\\Dropbox\\Programming\\vscode-gluon\\target\\debug\\deps\\completion-ec8abc651bfa17f9.serde-ser-impls.volatile.rcgu.o" "C:\\Users\\Markus\\Dropbox\\Programming\\vscode-gluon\\target\\debug\\deps\\completion-ec8abc651bfa17f9.serde-ser.volatile.rcgu.o" "C:\\Users\\Markus\\Dropbox\\Programming\\vscode-gluon\\target\\debug\\deps\\completion-ec8abc651bfa17f9.serde_json-de.volatile.rcgu.o" "C:\\Users\\Markus\\Dropbox\\Programming\\vscode-gluon\\target\\debug\\deps\\completion-ec8abc651bfa17f9.serde_json-error.volatile.rcgu.o" "C:\\Users\\Markus\\Dropbox\\Programming\\vscode-gluon\\target\\debug\\deps\\completion-ec8abc651bfa17f9.serde_json-map.rcgu.o" "C:\\Users\\Markus\\Dropbox\\Programming\\vscode-gluon\\target\\debug\\deps\\completion-ec8abc651bfa17f9.serde_json-map.volatile.rcgu.o" "C:\\Users\\Markus\\Dropbox\\Programming\\vscode-gluon\\target\\debug\\deps\\completion-ec8abc651bfa17f9.serde_json-number.rcgu.o" "C:\\Users\\Markus\\Dropbox\\Programming\\vscode-gluon\\target\\debug\\deps\\completion-ec8abc651bfa17f9.serde_json-number.volatile.rcgu.o" "C:\\Users\\Markus\\Dropbox\\Programming\\vscode-gluon\\target\\debug\\deps\\completion-ec8abc651bfa17f9.serde_json-read.rcgu.o" "C:\\Users\\Markus\\Dropbox\\Programming\\vscode-gluon\\target\\debug\\deps\\completion-ec8abc651bfa17f9.serde_json-ser.rcgu.o" "C:\\Users\\Markus\\Dropbox\\Programming\\vscode-gluon\\target\\debug\\deps\\completion-ec8abc651bfa17f9.serde_json-ser.volatile.rcgu.o" "C:\\Users\\Markus\\Dropbox\\Programming\\vscode-gluon\\target\\debug\\deps\\completion-ec8abc651bfa17f9.serde_json-value.rcgu.o" "C:\\Users\\Markus\\Dropbox\\Programming\\vscode-gluon\\target\\debug\\deps\\completion-ec8abc651bfa17f9.serde_json-value-de.volatile.rcgu.o" "C:\\Users\\Markus\\Dropbox\\Programming\\vscode-gluon\\target\\debug\\deps\\completion-ec8abc651bfa17f9.serde_json-value-ser.rcgu.o" "C:\\Users\\Markus\\Dropbox\\Programming\\vscode-gluon\\target\\debug\\deps\\completion-ec8abc651bfa17f9.serde_json-value-ser.volatile.rcgu.o" "C:\\Users\\Markus\\Dropbox\\Programming\\vscode-gluon\\target\\debug\\deps\\completion-ec8abc651bfa17f9.serde_json-value.volatile.rcgu.o" "C:\\Users\\Markus\\Dropbox\\Programming\\vscode-gluon\\target\\debug\\deps\\completion-ec8abc651bfa17f9.slab.volatile.rcgu.o" "C:\\Users\\Markus\\Dropbox\\Programming\\vscode-gluon\\target\\debug\\deps\\completion-ec8abc651bfa17f9.smallvec.volatile.rcgu.o" "C:\\Users\\Markus\\Dropbox\\Programming\\vscode-gluon\\target\\debug\\deps\\completion-ec8abc651bfa17f9.std-collections-hash-map.rcgu.o" "C:\\Users\\Markus\\Dropbox\\Programming\\vscode-gluon\\target\\debug\\deps\\completion-ec8abc651bfa17f9.std-collections-hash-map.volatile.rcgu.o" "C:\\Users\\Markus\\Dropbox\\Programming\\vscode-gluon\\target\\debug\\deps\\completion-ec8abc651bfa17f9.std-collections-hash-table.rcgu.o" "C:\\Users\\Markus\\Dropbox\\Programming\\vscode-gluon\\target\\debug\\deps\\completion-ec8abc651bfa17f9.std-collections-hash-table.volatile.rcgu.o" "C:\\Users\\Markus\\Dropbox\\Programming\\vscode-gluon\\target\\debug\\deps\\completion-ec8abc651bfa17f9.std-f64.rcgu.o" "C:\\Users\\Markus\\Dropbox\\Programming\\vscode-gluon\\target\\debug\\deps\\completion-ec8abc651bfa17f9.std-ffi-c_str.rcgu.o" "C:\\Users\\Markus\\Dropbox\\Programming\\vscode-gluon\\target\\debug\\deps\\completion-ec8abc651bfa17f9.std-ffi-os_str.rcgu.o" "C:\\Users\\Markus\\Dropbox\\Programming\\vscode-gluon\\target\\debug\\deps\\completion-ec8abc651bfa17f9.std-fs.rcgu.o" "C:\\Users\\Markus\\Dropbox\\Programming\\vscode-gluon\\target\\debug\\deps\\completion-ec8abc651bfa17f9.std-fs.volatile.rcgu.o" "C:\\Users\\Markus\\Dropbox\\Programming\\vscode-gluon\\target\\debug\\deps\\completion-ec8abc651bfa17f9.std-io.rcgu.o" "C:\\Users\\Markus\\Dropbox\\Programming\\vscode-gluon\\target\\debug\\deps\\completion-ec8abc651bfa17f9.std-io-buffered.volatile.rcgu.o" "C:\\Users\\Markus\\Dropbox\\Programming\\vscode-gluon\\target\\debug\\deps\\completion-ec8abc651bfa17f9.std-io-error.rcgu.o" "C:\\Users\\Markus\\Dropbox\\Programming\\vscode-gluon\\target\\debug\\deps\\completion-ec8abc651bfa17f9.std-io-error.volatile.rcgu.o" "C:\\Users\\Markus\\Dropbox\\Programming\\vscode-gluon\\target\\debug\\deps\\completion-ec8abc651bfa17f9.std-io-impls.rcgu.o" "C:\\Users\\Markus\\Dropbox\\Programming\\vscode-gluon\\target\\debug\\deps\\completion-ec8abc651bfa17f9.std-io-impls.volatile.rcgu.o" "C:\\Users\\Markus\\Dropbox\\Programming\\vscode-gluon\\target\\debug\\deps\\completion-ec8abc651bfa17f9.std-io.volatile.rcgu.o" "C:\\Users\\Markus\\Dropbox\\Programming\\vscode-gluon\\target\\debug\\deps\\completion-ec8abc651bfa17f9.std-memchr.rcgu.o" "C:\\Users\\Markus\\Dropbox\\Programming\\vscode-gluon\\target\\debug\\deps\\completion-ec8abc651bfa17f9.std-panic.volatile.rcgu.o" "C:\\Users\\Markus\\Dropbox\\Programming\\vscode-gluon\\target\\debug\\deps\\completion-ec8abc651bfa17f9.std-panicking.volatile.rcgu.o" "C:\\Users\\Markus\\Dropbox\\Programming\\vscode-gluon\\target\\debug\\deps\\completion-ec8abc651bfa17f9.std-path.rcgu.o" "C:\\Users\\Markus\\Dropbox\\Programming\\vscode-gluon\\target\\debug\\deps\\completion-ec8abc651bfa17f9.std-path.volatile.rcgu.o" "C:\\Users\\Markus\\Dropbox\\Programming\\vscode-gluon\\target\\debug\\deps\\completion-ec8abc651bfa17f9.std-sync-mpsc-blocking.rcgu.o" "C:\\Users\\Markus\\Dropbox\\Programming\\vscode-gluon\\target\\debug\\deps\\completion-ec8abc651bfa17f9.std-sync-mpsc-cache_aligned.volatile.rcgu.o" "C:\\Users\\Markus\\Dropbox\\Programming\\vscode-gluon\\target\\debug\\deps\\completion-ec8abc651bfa17f9.std-sync-mpsc-mpsc_queue.volatile.rcgu.o" "C:\\Users\\Markus\\Dropbox\\Programming\\vscode-gluon\\target\\debug\\deps\\completion-ec8abc651bfa17f9.std-sync-mpsc-oneshot.volatile.rcgu.o" "C:\\Users\\Markus\\Dropbox\\Programming\\vscode-gluon\\target\\debug\\deps\\completion-ec8abc651bfa17f9.std-sync-mpsc-select.rcgu.o" "C:\\Users\\Markus\\Dropbox\\Programming\\vscode-gluon\\target\\debug\\deps\\completion-ec8abc651bfa17f9.std-sync-mpsc-shared.volatile.rcgu.o" "C:\\Users\\Markus\\Dropbox\\Programming\\vscode-gluon\\target\\debug\\deps\\completion-ec8abc651bfa17f9.std-sync-mpsc-spsc_queue.volatile.rcgu.o" "C:\\Users\\Markus\\Dropbox\\Programming\\vscode-gluon\\target\\debug\\deps\\completion-ec8abc651bfa17f9.std-sync-mpsc-stream.volatile.rcgu.o" "C:\\Users\\Markus\\Dropbox\\Programming\\vscode-gluon\\target\\debug\\deps\\completion-ec8abc651bfa17f9.std-sync-mpsc-sync.rcgu.o" "C:\\Users\\Markus\\Dropbox\\Programming\\vscode-gluon\\target\\debug\\deps\\completion-ec8abc651bfa17f9.std-sync-mpsc-sync.volatile.rcgu.o" "C:\\Users\\Markus\\Dropbox\\Programming\\vscode-gluon\\target\\debug\\deps\\completion-ec8abc651bfa17f9.std-sync-mpsc.volatile.rcgu.o" "C:\\Users\\Markus\\Dropbox\\Programming\\vscode-gluon\\target\\debug\\deps\\completion-ec8abc651bfa17f9.std-sync-mutex.volatile.rcgu.o" "C:\\Users\\Markus\\Dropbox\\Programming\\vscode-gluon\\target\\debug\\deps\\completion-ec8abc651bfa17f9.std-sync-once.volatile.rcgu.o" "C:\\Users\\Markus\\Dropbox\\Programming\\vscode-gluon\\target\\debug\\deps\\completion-ec8abc651bfa17f9.std-sync-rwlock.volatile.rcgu.o" "C:\\Users\\Markus\\Dropbox\\Programming\\vscode-gluon\\target\\debug\\deps\\completion-ec8abc651bfa17f9.std-sys-imp-mutex.rcgu.o" "C:\\Users\\Markus\\Dropbox\\Programming\\vscode-gluon\\target\\debug\\deps\\completion-ec8abc651bfa17f9.std-sys-imp-os_str.rcgu.o" "C:\\Users\\Markus\\Dropbox\\Programming\\vscode-gluon\\target\\debug\\deps\\completion-ec8abc651bfa17f9.std-sys-imp-rwlock.rcgu.o" "C:\\Users\\Markus\\Dropbox\\Programming\\vscode-gluon\\target\\debug\\deps\\completion-ec8abc651bfa17f9.std-sys_common-backtrace.volatile.rcgu.o" "C:\\Users\\Markus\\Dropbox\\Programming\\vscode-gluon\\target\\debug\\deps\\completion-ec8abc651bfa17f9.std-sys_common-mutex.rcgu.o" "C:\\Users\\Markus\\Dropbox\\Programming\\vscode-gluon\\target\\debug\\deps\\completion-ec8abc651bfa17f9.std-sys_common-poison.rcgu.o" "C:\\Users\\Markus\\Dropbox\\Programming\\vscode-gluon\\target\\debug\\deps\\completion-ec8abc651bfa17f9.std-sys_common-poison.volatile.rcgu.o" "C:\\Users\\Markus\\Dropbox\\Programming\\vscode-gluon\\target\\debug\\deps\\completion-ec8abc651bfa17f9.std-sys_common-rwlock.rcgu.o" "C:\\Users\\Markus\\Dropbox\\Programming\\vscode-gluon\\target\\debug\\deps\\completion-ec8abc651bfa17f9.std-sys_common-wtf8.rcgu.o" "C:\\Users\\Markus\\Dropbox\\Programming\\vscode-gluon\\target\\debug\\deps\\completion-ec8abc651bfa17f9.std-thread.rcgu.o" "C:\\Users\\Markus\\Dropbox\\Programming\\vscode-gluon\\target\\debug\\deps\\completion-ec8abc651bfa17f9.std-thread-local.volatile.rcgu.o" "C:\\Users\\Markus\\Dropbox\\Programming\\vscode-gluon\\target\\debug\\deps\\completion-ec8abc651bfa17f9.std-thread.volatile.rcgu.o" "C:\\Users\\Markus\\Dropbox\\Programming\\vscode-gluon\\target\\debug\\deps\\completion-ec8abc651bfa17f9.std-time-duration.rcgu.o" "C:\\Users\\Markus\\Dropbox\\Programming\\vscode-gluon\\target\\debug\\deps\\completion-ec8abc651bfa17f9.std-time.volatile.rcgu.o" "C:\\Users\\Markus\\Dropbox\\Programming\\vscode-gluon\\target\\debug\\deps\\completion-ec8abc651bfa17f9.std_unicode-char.rcgu.o" "C:\\Users\\Markus\\Dropbox\\Programming\\vscode-gluon\\target\\debug\\deps\\completion-ec8abc651bfa17f9.tokio_core-reactor.volatile.rcgu.o" "C:\\Users\\Markus\\Dropbox\\Programming\\vscode-gluon\\target\\debug\\deps\\completion-ec8abc651bfa17f9.tokio_io-framed.volatile.rcgu.o" "C:\\Users\\Markus\\Dropbox\\Programming\\vscode-gluon\\target\\debug\\deps\\completion-ec8abc651bfa17f9.tokio_io-framed_read.volatile.rcgu.o" "C:\\Users\\Markus\\Dropbox\\Programming\\vscode-gluon\\target\\debug\\deps\\completion-ec8abc651bfa17f9.tokio_io-framed_write.volatile.rcgu.o" "C:\\Users\\Markus\\Dropbox\\Programming\\vscode-gluon\\target\\debug\\deps\\completion-ec8abc651bfa17f9.url.rcgu.o" "C:\\Users\\Markus\\Dropbox\\Programming\\vscode-gluon\\target\\debug\\deps\\completion-ec8abc651bfa17f9.url-host.rcgu.o" "C:\\Users\\Markus\\Dropbox\\Programming\\vscode-gluon\\target\\debug\\deps\\completion-ec8abc651bfa17f9.url.volatile.rcgu.o" "C:\\Users\\Markus\\Dropbox\\Programming\\vscode-gluon\\target\\debug\\deps\\completion-ec8abc651bfa17f9.url_serde.volatile.rcgu.o" "/OUT:C:\\Users\\Markus\\Dropbox\\Programming\\vscode-gluon\\target\\debug\\deps\\completion-ec8abc651bfa17f9.exe" "C:\\Users\\Markus\\Dropbox\\Programming\\vscode-gluon\\target\\debug\\deps\\completion-ec8abc651bfa17f9.crate.allocator.rcgu.o" "/OPT:REF,NOICF" "/DEBUG" "/NATVIS:C:\\Users\\Markus\\.rustup\\toolchains\\nightly-x86_64-pc-windows-msvc\\lib\\rustlib\\etc\\liballoc.natvis" "/NATVIS:C:\\Users\\Markus\\.rustup\\toolchains\\nightly-x86_64-pc-windows-msvc\\lib\\rustlib\\etc\\libcore.natvis" "/LIBPATH:C:\\Users\\Markus\\Dropbox\\Programming\\vscode-gluon\\target\\debug\\deps" "/LIBPATH:C:\\Users\\Markus\\.rustup\\toolchains\\nightly-x86_64-pc-windows-msvc\\lib\\rustlib\\x86_64-pc-windows-msvc\\lib" "C:\\Users\\Markus\\Dropbox\\Programming\\vscode-gluon\\target\\debug\\deps\\libgluon_language_server-31d972a6d370823f.rlib" "C:\\Users\\Markus\\Dropbox\\Programming\\vscode-gluon\\target\\debug\\deps\\libjsonrpc_core-5509eb0b40c72f99.rlib" "C:\\Users\\Markus\\Dropbox\\Programming\\vscode-gluon\\target\\debug\\deps\\libclap-f013c0eeed91f0a8.rlib" "C:\\Users\\Markus\\Dropbox\\Programming\\vscode-gluon\\target\\debug\\deps\\libtextwrap-527f674804329d28.rlib" "C:\\Users\\Markus\\Dropbox\\Programming\\vscode-gluon\\target\\debug\\deps\\libvec_map-c7ced64327521073.rlib" "C:\\Users\\Markus\\Dropbox\\Programming\\vscode-gluon\\target\\debug\\deps\\libgluon_format-629450cf9d99adde.rlib" "C:\\Users\\Markus\\Dropbox\\Programming\\vscode-gluon\\target\\debug\\deps\\libpretty_assertions-82a578230f095b62.rlib" "C:\\Users\\Markus\\Dropbox\\Programming\\vscode-gluon\\target\\debug\\deps\\libdifference-97bf50a9fcdf30db.rlib" "C:\\Users\\Markus\\Dropbox\\Programming\\vscode-gluon\\target\\debug\\deps\\libbitflags-c971a0dee26c767d.rlib" "C:\\Users\\Markus\\Dropbox\\Programming\\vscode-gluon\\target\\debug\\deps\\libgluon_completion-17e2c3233bb8e976.rlib" "C:\\Users\\Markus\\Dropbox\\Programming\\vscode-gluon\\target\\debug\\deps\\libfutures_cpupool-93837e183b00adf8.rlib" "C:\\Users\\Markus\\Dropbox\\Programming\\vscode-gluon\\target\\debug\\deps\\libnum_cpus-3e110a67f927ac72.rlib" "C:\\Users\\Markus\\Dropbox\\Programming\\vscode-gluon\\target\\debug\\deps\\libenv_logger-747ed08ee025d633.rlib" "C:\\Users\\Markus\\Dropbox\\Programming\\vscode-gluon\\target\\debug\\deps\\libregex-9fc579b7b0ad9457.rlib" "C:\\Users\\Markus\\Dropbox\\Programming\\vscode-gluon\\target\\debug\\deps\\libutf8_ranges-a8eb9566f13f78a8.rlib" "C:\\Users\\Markus\\Dropbox\\Programming\\vscode-gluon\\target\\debug\\deps\\libregex_syntax-a058457fef27f83c.rlib" "C:\\Users\\Markus\\Dropbox\\Programming\\vscode-gluon\\target\\debug\\deps\\libaho_corasick-f4e0fd811b83f01c.rlib" "C:\\Users\\Markus\\Dropbox\\Programming\\vscode-gluon\\target\\debug\\deps\\libunicode_width-91fc38c453f2846e.rlib" "C:\\Users\\Markus\\Dropbox\\Programming\\vscode-gluon\\target\\debug\\deps\\libcombine-992705c019f82c1a.rlib" "C:\\Users\\Markus\\Dropbox\\Programming\\vscode-gluon\\target\\debug\\deps\\libascii-7617a7138ca64e87.rlib" "C:\\Users\\Markus\\Dropbox\\Programming\\vscode-gluon\\target\\debug\\deps\\libthread_local-da36558fc5becebb.rlib" "C:\\Users\\Markus\\Dropbox\\Programming\\vscode-gluon\\target\\debug\\deps\\libthread_id-a7d23820b2fa17e1.rlib" "C:\\Users\\Markus\\Dropbox\\Programming\\vscode-gluon\\target\\debug\\deps\\libansi_term-9f5928543e75bce9.rlib" "C:\\Users\\Markus\\Dropbox\\Programming\\vscode-gluon\\target\\debug\\deps\\libtokio_core-257cfd01cb8821e1.rlib" "C:\\Users\\Markus\\Dropbox\\Programming\\vscode-gluon\\target\\debug\\deps\\libscoped_tls-c422faaf1873f877.rlib" "C:\\Users\\Markus\\Dropbox\\Programming\\vscode-gluon\\target\\debug\\deps\\libmio-789985af30f213ea.rlib" "C:\\Users\\Markus\\Dropbox\\Programming\\vscode-gluon\\target\\debug\\deps\\libslab-155b44ad0e399cb3.rlib" "C:\\Users\\Markus\\Dropbox\\Programming\\vscode-gluon\\target\\debug\\deps\\libmiow-d6f86abb50288178.rlib" "C:\\Users\\Markus\\Dropbox\\Programming\\vscode-gluon\\target\\debug\\deps\\libnet2-5c742b10ad8bdd74.rlib" "C:\\Users\\Markus\\Dropbox\\Programming\\vscode-gluon\\target\\debug\\deps\\libcfg_if-8d282406066cd1e2.rlib" "C:\\Users\\Markus\\Dropbox\\Programming\\vscode-gluon\\target\\debug\\deps\\libws2_32-7485d0b9d91d8bdd.rlib" "C:\\Users\\Markus\\Dropbox\\Programming\\vscode-gluon\\target\\debug\\deps\\libtokio_io-c620ca1227ada570.rlib" "C:\\Users\\Markus\\Dropbox\\Programming\\vscode-gluon\\target\\debug\\deps\\libbytes-3c1a72be989829d9.rlib" "C:\\Users\\Markus\\Dropbox\\Programming\\vscode-gluon\\target\\debug\\deps\\libiovec-09f0a8b6de759ca5.rlib" "C:\\Users\\Markus\\Dropbox\\Programming\\vscode-gluon\\target\\debug\\deps\\libbyteorder-5ffd7d2f9e468e71.rlib" "C:\\Users\\Markus\\Dropbox\\Programming\\vscode-gluon\\target\\debug\\deps\\libstrsim-4d879a7c3f126203.rlib" "C:\\Users\\Markus\\Dropbox\\Programming\\vscode-gluon\\target\\debug\\deps\\libatty-ae6417642d25d8cc.rlib" "C:\\Users\\Markus\\Dropbox\\Programming\\vscode-gluon\\target\\debug\\deps\\libkernel32-672f443104c73fdb.rlib" "C:\\Users\\Markus\\Dropbox\\Programming\\vscode-gluon\\target\\debug\\deps\\libwinapi-15bf31d533d23a78.rlib" "C:\\Users\\Markus\\Dropbox\\Programming\\vscode-gluon\\target\\debug\\deps\\liblanguageserver_types-46356d66d1cf728e.rlib" "C:\\Users\\Markus\\Dropbox\\Programming\\vscode-gluon\\target\\debug\\deps\\liburl_serde-5238e83183ed86b0.rlib" "C:\\Users\\Markus\\Dropbox\\Programming\\vscode-gluon\\target\\debug\\deps\\liburl-abed2fad7ee56271.rlib" "C:\\Users\\Markus\\Dropbox\\Programming\\vscode-gluon\\target\\debug\\deps\\libpercent_encoding-324c74815d76c1d0.rlib" "C:\\Users\\Markus\\Dropbox\\Programming\\vscode-gluon\\target\\debug\\deps\\libidna-236794c33df9d682.rlib" "C:\\Users\\Markus\\Dropbox\\Programming\\vscode-gluon\\target\\debug\\deps\\libunicode_normalization-99dfc15bd2fa03bb.rlib" "C:\\Users\\Markus\\Dropbox\\Programming\\vscode-gluon\\target\\debug\\deps\\libunicode_bidi-2ed61eab57a26178.rlib" "C:\\Users\\Markus\\Dropbox\\Programming\\vscode-gluon\\target\\debug\\deps\\libmatches-b039582a6ac89bb2.rlib" "C:\\Users\\Markus\\Dropbox\\Programming\\vscode-gluon\\target\\debug\\deps\\libserde_json-bdbe72021e9714ff.rlib" "C:\\Users\\Markus\\Dropbox\\Programming\\vscode-gluon\\target\\debug\\deps\\libdtoa-54ae391cfef841bc.rlib" "C:\\Users\\Markus\\Dropbox\\Programming\\vscode-gluon\\target\\debug\\deps\\libitoa-59b6ad92e34805fd.rlib" "C:\\Users\\Markus\\Dropbox\\Programming\\vscode-gluon\\target\\debug\\deps\\libserde-1287e29f4765093b.rlib" "C:\\Users\\Markus\\Dropbox\\Programming\\vscode-gluon\\target\\debug\\deps\\libenum_primitive-03050ea4b0883c9b.rlib" "C:\\Users\\Markus\\Dropbox\\Programming\\vscode-gluon\\target\\debug\\deps\\libnum_traits-86ea101abbb13e1e.rlib" "C:\\Users\\Markus\\.rustup\\toolchains\\nightly-x86_64-pc-windows-msvc\\lib\\rustlib\\x86_64-pc-windows-msvc\\lib\\libtest-78aaf29537f6a5cb.rlib" "C:\\Users\\Markus\\.rustup\\toolchains\\nightly-x86_64-pc-windows-msvc\\lib\\rustlib\\x86_64-pc-windows-msvc\\lib\\libterm-e15bc536a5b449fa.rlib" "C:\\Users\\Markus\\.rustup\\toolchains\\nightly-x86_64-pc-windows-msvc\\lib\\rustlib\\x86_64-pc-windows-msvc\\lib\\libgetopts-946815a6948375d8.rlib" "C:\\Users\\Markus\\Dropbox\\Programming\\vscode-gluon\\target\\debug\\deps\\liblazycell-2b6d34f19bc36fab.rlib" "C:\\Users\\Markus\\Dropbox\\Programming\\vscode-gluon\\target\\debug\\deps\\libslab-7deeb6ee9f3287a1.rlib" "C:\\Users\\Markus\\Dropbox\\Programming\\vscode-gluon\\target\\debug\\deps\\libmemchr-dd2a0c1c3b7e2711.rlib" "C:\\Users\\Markus\\Dropbox\\Programming\\vscode-gluon\\target\\debug\\deps\\libgluon-5e5e090a309d0b5d.rlib" "C:\\Users\\Markus\\Dropbox\\Programming\\vscode-gluon\\target\\debug\\deps\\libregex-9671d3eca422e08f.rlib" "C:\\Users\\Markus\\Dropbox\\Programming\\vscode-gluon\\target\\debug\\deps\\libutf8_ranges-7fdc895f2472a74b.rlib" "C:\\Users\\Markus\\Dropbox\\Programming\\vscode-gluon\\target\\debug\\deps\\libregex_syntax-c7599b34d2621567.rlib" "C:\\Users\\Markus\\Dropbox\\Programming\\vscode-gluon\\target\\debug\\deps\\libthread_local-485b8f9d94cd2e31.rlib" "C:\\Users\\Markus\\Dropbox\\Programming\\vscode-gluon\\target\\debug\\deps\\liblazy_static-0cef88494e8f1824.rlib" "C:\\Users\\Markus\\Dropbox\\Programming\\vscode-gluon\\target\\debug\\deps\\libunreachable-84864119793c8ae6.rlib" "C:\\Users\\Markus\\Dropbox\\Programming\\vscode-gluon\\target\\debug\\deps\\libvoid-6483bd6dd028f6d4.rlib" "C:\\Users\\Markus\\Dropbox\\Programming\\vscode-gluon\\target\\debug\\deps\\libaho_corasick-7d2bfcfe1008d4cd.rlib" "C:\\Users\\Markus\\Dropbox\\Programming\\vscode-gluon\\target\\debug\\deps\\libmemchr-0e7b3e538915e114.rlib" "C:\\Users\\Markus\\Dropbox\\Programming\\vscode-gluon\\target\\debug\\deps\\liblibc-8358d150b3f5ee85.rlib" "C:\\Users\\Markus\\Dropbox\\Programming\\vscode-gluon\\target\\debug\\deps\\libgluon_vm-5c9a8afc6ab49f8d.rlib" "C:\\Users\\Markus\\Dropbox\\Programming\\vscode-gluon\\target\\debug\\deps\\libfrunk_core-aed47fdee0c1a4e7.rlib" "C:\\Users\\Markus\\Dropbox\\Programming\\vscode-gluon\\target\\debug\\deps\\libmopa-32090b80953a60be.rlib" "C:\\Users\\Markus\\Dropbox\\Programming\\vscode-gluon\\target\\debug\\deps\\libbitflags-2d931ebbc1b9b694.rlib" "C:\\Users\\Markus\\Dropbox\\Programming\\vscode-gluon\\target\\debug\\deps\\libgluon_parser-4454ce3dc7882069.rlib" "C:\\Users\\Markus\\Dropbox\\Programming\\vscode-gluon\\target\\debug\\deps\\liblalrpop_util-82268004d5973298.rlib" "C:\\Users\\Markus\\Dropbox\\Programming\\vscode-gluon\\target\\debug\\deps\\libgluon_check-96d70c84e7f41244.rlib" "C:\\Users\\Markus\\Dropbox\\Programming\\vscode-gluon\\target\\debug\\deps\\libunion_find-4c6890b665d078b7.rlib" "C:\\Users\\Markus\\Dropbox\\Programming\\vscode-gluon\\target\\debug\\deps\\libgluon_base-e77b04669d228484.rlib" "C:\\Users\\Markus\\Dropbox\\Programming\\vscode-gluon\\target\\debug\\deps\\libfnv-5d343413fe1371c5.rlib" "C:\\Users\\Markus\\Dropbox\\Programming\\vscode-gluon\\target\\debug\\deps\\libsmallvec-e7f498fe77e3ee96.rlib" "C:\\Users\\Markus\\Dropbox\\Programming\\vscode-gluon\\target\\debug\\deps\\libpretty-4c22874a1d548321.rlib" "C:\\Users\\Markus\\Dropbox\\Programming\\vscode-gluon\\target\\debug\\deps\\libtyped_arena-47e5e5ee38cfcbe2.rlib" "C:\\Users\\Markus\\Dropbox\\Programming\\vscode-gluon\\target\\debug\\deps\\libcollect_mac-5bfb0ee7ef88061b.rlib" "C:\\Users\\Markus\\Dropbox\\Programming\\vscode-gluon\\target\\debug\\deps\\libquick_error-b60315b58e3e8549.rlib" "C:\\Users\\Markus\\Dropbox\\Programming\\vscode-gluon\\target\\debug\\deps\\liblog-99a1d8b62809e0b7.rlib" "C:\\Users\\Markus\\Dropbox\\Programming\\vscode-gluon\\target\\debug\\deps\\libitertools-1a0260f6b079c953.rlib" "C:\\Users\\Markus\\Dropbox\\Programming\\vscode-gluon\\target\\debug\\deps\\libfutures-4498edf5c619ac76.rlib" "C:\\Users\\Markus\\Dropbox\\Programming\\vscode-gluon\\target\\debug\\deps\\libitertools-10c59bfb0602affe.rlib" "C:\\Users\\Markus\\Dropbox\\Programming\\vscode-gluon\\target\\debug\\deps\\libeither-e7839ce0710f795f.rlib" "C:\\Users\\Markus\\.rustup\\toolchains\\nightly-x86_64-pc-windows-msvc\\lib\\rustlib\\x86_64-pc-windows-msvc\\lib\\libstd-0aabb558aea96641.rlib" "C:\\Users\\Markus\\.rustup\\toolchains\\nightly-x86_64-pc-windows-msvc\\lib\\rustlib\\x86_64-pc-windows-msvc\\lib\\libpanic_unwind-307530f6972e6c4e.rlib" "C:\\Users\\Markus\\.rustup\\toolchains\\nightly-x86_64-pc-windows-msvc\\lib\\rustlib\\x86_64-pc-windows-msvc\\lib\\libunwind-cd63269837dc7b8b.rlib" "C:\\Users\\Markus\\.rustup\\toolchains\\nightly-x86_64-pc-windows-msvc\\lib\\rustlib\\x86_64-pc-windows-msvc\\lib\\liblibc-0de2de97fe77f40a.rlib" "C:\\Users\\Markus\\.rustup\\toolchains\\nightly-x86_64-pc-windows-msvc\\lib\\rustlib\\x86_64-pc-windows-msvc\\lib\\liballoc_system-5635d8689e76862d.rlib" "C:\\Users\\Markus\\.rustup\\toolchains\\nightly-x86_64-pc-windows-msvc\\lib\\rustlib\\x86_64-pc-windows-msvc\\lib\\liballoc-4060e24e0f5ccc9c.rlib" "C:\\Users\\Markus\\.rustup\\toolchains\\nightly-x86_64-pc-windows-msvc\\lib\\rustlib\\x86_64-pc-windows-msvc\\lib\\libstd_unicode-6c11f0d21358e149.rlib" "C:\\Users\\Markus\\.rustup\\toolchains\\nightly-x86_64-pc-windows-msvc\\lib\\rustlib\\x86_64-pc-windows-msvc\\lib\\librand-af7b5a2d48368f4b.rlib" "C:\\Users\\Markus\\.rustup\\toolchains\\nightly-x86_64-pc-windows-msvc\\lib\\rustlib\\x86_64-pc-windows-msvc\\lib\\libcore-433489abcec01ca4.rlib" "C:\\Users\\Markus\\.rustup\\toolchains\\nightly-x86_64-pc-windows-msvc\\lib\\rustlib\\x86_64-pc-windows-msvc\\lib\\libcompiler_builtins-ffb576010100d9ec.rlib" "ws2_32.lib" "kernel32.lib" "kernel32.lib" "advapi32.lib" "ws2_32.lib" "userenv.lib" "shell32.lib" "msvcrt.lib"
  = note: completion-ec8abc651bfa17f9.__rustc_fallback_codegen_unit.rcgu.o : error LNK2019: unresolved external symbol _ZN3std4sync4once4Once9call_once28_$u7b$$u7b$closure$u7d$$u7d$17hd76722444bd8f7a0E referenced in function _ZN4core3ops8function6FnOnce9call_once17h6aec0d02983780e2E
          completion-ec8abc651bfa17f9.core-result.volatile.rcgu.o : error LNK2001: unresolved external symbol _ZN53_$LT$$RF$$u27$a$u20$T$u20$as$u20$core..fmt..Debug$GT$3fmt17h66d4cfe3f4c7c120E
          completion-ec8abc651bfa17f9.core-result.volatile.rcgu.o : error LNK2001: unresolved external symbol _ZN53_$LT$$RF$$u27$a$u20$T$u20$as$u20$core..fmt..Debug$GT$3fmt17h2fd5f5c959751fe1E
          completion-ec8abc651bfa17f9.futures-stream-for_each.volatile.rcgu.o : error LNK2019: unresolved external symbol _ZN7futures6future4then3new17he72c905987a09a04E referenced in function _ZN7futures6future6Future4then17haaebb99e5ec68737E
          completion-ec8abc651bfa17f9.futures-sync-mpsc.volatile.rcgu.o : error LNK2019: unresolved external symbol _ZN7futures6stream7map_err3new17hfe2afa3ada4c3ec7E referenced in function _ZN7futures6stream6Stream7map_err17h3e3b60aa5afc20baE
          completion-ec8abc651bfa17f9.futures-sync-oneshot.volatile.rcgu.o : error LNK2019: unresolved external symbol _ZN7futures6future3map3new17h2cf4a2c98317c7a8E referenced in function _ZN7futures6future6Future3map17habc7236fc43d62acE
          completion-ec8abc651bfa17f9.futures-sync-oneshot.volatile.rcgu.o : error LNK2019: unresolved external symbol _ZN7futures6future13assert_future17hd0688c2949e0b172E referenced in function _ZN7futures6future6Future3map17habc7236fc43d62acE
          completion-ec8abc651bfa17f9.futures-task_impl-std.volatile.rcgu.o : error LNK2019: unresolved external symbol _ZN3std4sync4once4Once9call_once17h07dd74aa5cc6f7a9E referenced in function _ZN7futures9task_impl3std3set17h1a9539b08d85d448E
          completion-ec8abc651bfa17f9.gluon_language_server.volatile.rcgu.o : error LNK2019: unresolved external symbol _ZN7futures6stream6Stream7map_err17hfd21b51b9ae3f8bcE referenced in function _ZN21gluon_language_server12start_server17ha8a013b9828bc3beE
          completion-ec8abc651bfa17f9.gluon_language_server.volatile.rcgu.o : error LNK2019: unresolved external symbol _ZN7futures6future6Future3map17h8c6fd31f5c1f6a7aE referenced in function _ZN21gluon_language_server12start_server17ha8a013b9828bc3beE
          completion-ec8abc651bfa17f9.gluon_language_server.volatile.rcgu.o : error LNK2019: unresolved external symbol _ZN4core3fmt10ArgumentV13new17h9fbf2c361d403435E referenced in function _ZN21gluon_language_server12start_server28_$u7b$$u7b$closure$u7d$$u7d$17h01f15fd61eb2af4fE
          completion-ec8abc651bfa17f9.gluon_language_server.volatile.rcgu.o : error LNK2001: unresolved external symbol _ZN98_$LT$futures..future..then..Then$LT$A$C$$u20$B$C$$u20$F$GT$$u20$as$u20$futures..future..Future$GT$4poll17h6d078ad50484a2faE
          completion-ec8abc651bfa17f9.scoped_tls.volatile.rcgu.o : error LNK2019: unresolved external symbol _ZN46_$LT$std..thread..local..LocalKey$LT$T$GT$$GT$4with17h64266015d4856da4E referenced in function _ZN39_$LT$scoped_tls..ScopedKey$LT$T$GT$$GT$3set17h7d85f269411ac3f3E
          completion-ec8abc651bfa17f9.std-sync-once.volatile.rcgu.o : error LNK2019: unresolved external symbol _ZN38_$LT$core..option..Option$LT$T$GT$$GT$4take17h03526d889e43ffd1E referenced in function _ZN3std4sync4once4Once9call_once28_$u7b$$u7b$closure$u7d$$u7d$17h10eef55f4d042b50E
          completion-ec8abc651bfa17f9.std-sync-once.volatile.rcgu.o : error LNK2019: unresolved external symbol _ZN38_$LT$core..option..Option$LT$T$GT$$GT$6unwrap17hb8bd9c8fbb5ac2dcE referenced in function _ZN3std4sync4once4Once9call_once28_$u7b$$u7b$closure$u7d$$u7d$17h10eef55f4d042b50E
          completion-ec8abc651bfa17f9.std-sync-once.volatile.rcgu.o : error LNK2019: unresolved external symbol _ZN7futures9task_impl3std3set28_$u7b$$u7b$closure$u7d$$u7d$17heb289d27ceaa5b17E referenced in function _ZN3std4sync4once4Once9call_once28_$u7b$$u7b$closure$u7d$$u7d$17h10eef55f4d042b50E
          completion-ec8abc651bfa17f9.std-sync-once.volatile.rcgu.o : error LNK2001: unresolved external symbol _ZN4core3ptr13drop_in_place17hf0309336bc32c472E
          completion-ec8abc651bfa17f9.std-sync-once.volatile.rcgu.o : error LNK2001: unresolved external symbol _ZN4core3ops8function6FnOnce9call_once17h16c02de82b38701dE
          completion-ec8abc651bfa17f9.std-thread-local.volatile.rcgu.o : error LNK2019: unresolved external symbol _ZN39_$LT$scoped_tls..ScopedKey$LT$T$GT$$GT$3set28_$u7b$$u7b$closure$u7d$$u7d$17h1b513fd7cf506e9cE referenced in function _ZN46_$LT$std..thread..local..LocalKey$LT$T$GT$$GT$8try_with17h24e3acac53f90701E
          C:\Users\Markus\Dropbox\Programming\vscode-gluon\target\debug\deps\completion-ec8abc651bfa17f9.exe : fatal error LNK1120: 19 unresolved externals
          

error: aborting due to previous error

error: Could not compile `gluon_language-server`.

To learn more, run the command again with --verbose.

@Marwes Marwes changed the title Unresolved external symbols when linking with Unresolved external symbols when linking with incremental compilation Nov 11, 2017
@TimNN TimNN added A-incr-comp Area: Incremental compilation C-bug Category: This is a bug. A-linkage Area: linking into static, shared libraries and binaries labels Nov 14, 2017
@Marwes
Copy link
Contributor Author

Marwes commented Nov 16, 2017

Got an error (+ some warnings) which I think is related in a different, smaller project (same compiler as above).

https://github.com/Marwes/tensile

The warnings occur from time to time but the ICE only happened once and I didn't have backtrace when it happened (added it after in case it happens again).

EDIT: Replaced error with one including backtrace

$ RUST_BACKTRACE=1 cargo test
    Blocking waiting for file lock on build directory
   Compiling tensile v0.1.0 (file:///C:/Users/Markus/Dropbox/Programming/tensile)
warning: error copying object file `C:\Users\Markus\Dropbox\Programming\tensile\target\debug\deps\tensile-eff447a69913c000.alloc-heap.rcgu.bytecode.encoded` to incremental directory as `\\?\C:\Users\Markus\Dropbox\Programming\tensile\target\debug\incremental\tensile-dypi7g4nguuw\s-evk5yc2g6k-uxcdxi-working\cgu-alloc-heap.bc-compressed`: Access is denied. (os error 5)

warning: file-system error deleting outdated file `\\?\C:\Users\Markus\Dropbox\Programming\tensile\target\debug\incremental\tensile-dypi7g4nguuw\s-evk5yc2g6k-uxcdxi-working\cgu-alloc-heap.bc-compressed`: The system cannot find the file specified. (os error 2)

error: failed to remove C:\Users\Markus\Dropbox\Programming\tensile\target\debug\deps\tensile-eff447a69913c000.alloc-raw_vec.volatile.rcgu.o: The process cannot access the file because it is being used by another process. (os error 32)

warning: Error finalizing incremental compilation session directory `\\?\C:\Users\Markus\Dropbox\Programming\tensile\target\debug\incremental\tensile-dypi7g4nguuw\s-evk5yc2g6k-uxcdxi-working`: The system cannot find the file specified. (os error 2)

error: internal compiler error: unexpected panic

note: the compiler unexpectedly panicked. this is a bug.

note: we would appreciate a bug report: https://github.com/rust-lang/rust/blob/master/CONTRIBUTING.md#bug-reports

note: rustc 1.23.0-nightly (bd0e45a32 2017-11-06) running on x86_64-pc-windows-msvc

note: run with `RUST_BACKTRACE=1` for a backtrace

thread 'rustc' panicked at 'src\librustc\session\mod.rs:581: Trying to invalidate IncrCompSession `InvalidBecauseOfErrors { session_directory: "\\\\?\\C:\\Users\\Markus\\Dropbox\\Programming\\tensile\\target\\debug\\incremental\\tensile-dypi7g4nguuw\\s-evk5yc2g6k-uxcdxi-working" }`', src\librustc\session\mod.rs:991:25
stack backtrace:
   0: _rdl_grow_in_place
   1: std::panicking::Location::column
   2: std::panicking::Location::column
   3: std::panicking::rust_panic_with_hook
   4: rustc::ty::context::TyCtxt::_intern_substs
   5: rustc::ty::context::tls::span_debug
   6: rustc::session::bug_fmt
   7: rustc::session::bug_fmt
   8: rustc::session::Session::mark_incr_comp_session_as_invalid
   9: rustc_incremental::persist::fs::finalize_session_directory
  10: rustc_driver::driver::compile_input
  11: rustc_driver::run_compiler
  12: <rustc_driver::pretty::UserIdentifiedItem as core::fmt::Debug>::fmt
  13: _rust_maybe_catch_panic
  14: <rustc_driver::derive_registrar::Finder as rustc::hir::itemlikevisit::ItemLikeVisitor<'v>>::visit_item
  15: std::sys::imp::thread::Thread::new
  16: BaseThreadInitThunk

error: Could not compile `tensile`.
warning: build failed, waiting for other jobs to finish...
warning: error copying object file `C:\Users\Markus\Dropbox\Programming\tensile\target\debug\deps\tensile-9b2a8942f7965f06.futures-future-catch_unwind.volatile.rcgu.o` to incremental directory as `\\?\C:\Users\Markus\Dropbox\Programming\tensile\target\debug\incremental\tensile-bzjealmwy6c6\s-evk5yc33er-1fywpya-working\cgu-futures-future-catch_unwind.volatile.o`: Access is denied. (os error 5)

warning: file-system error deleting outdated file `\\?\C:\Users\Markus\Dropbox\Programming\tensile\target\debug\incremental\tensile-bzjealmwy6c6\s-evk5yc33er-1fywpya-working\cgu-futures-future-catch_unwind.volatile.o`: The system cannot find the file specified. (os error 2)

error: build failed

@michaelwoerister
Copy link
Member

Thank you for the bug report! I'll look into it.

@michaelwoerister
Copy link
Member

These seem to be two different errors (although they might be related). Does building tensile also result in "unresolved external symbols" linker errors?

@Marwes
Copy link
Contributor Author

Marwes commented Nov 17, 2017

Does building tensile also result in "unresolved external symbols" linker errors?

Yep, I have seen it a few times there as well and have been back and forth on trying to use incremental compliation on it. I'd guess the frequency is related to code size though as it does not appear as often.

@michaelwoerister
Copy link
Member

Could you try building non-incrementally but with RUSTFLAGS="-Ccodegen-units=9999" and see if the linker errors occur with that too?

@Marwes
Copy link
Contributor Author

Marwes commented Nov 17, 2017

None so far. It seems to work just as just disabling incremental does.

@michaelwoerister
Copy link
Member

Thanks @Marwes! Compilation failing with -Ccodegen-units too would have clearly indicated that the problem is with the trans-collector/partitioning. We still cannot rule that out since incr. comp. uses a slightly different partitioning scheme than regular multi-cgu support, but it might also be somewhere else.

@Marwes
Copy link
Contributor Author

Marwes commented Dec 2, 2017

Had this happen with incremental compilation disabled now as well so incremental compilation may not be the culprit after all.

@Nemikolh
Copy link

Nemikolh commented Jan 18, 2018

I believe that I am hitting a similar issue. In my case, clearly the culprit is having more than one codegen-units.

To get a bit of context, I am compiling on windows and I use some of the UWP features in some C++ code that gets link into the final executable. I recently updated my rust version to the fix in #47507, because I needed to filter out msvcrt.lib that gets passed to the linker by rustc. The project then used to compile fine with the following cargo profile:

[profile.dev]
codegen-units = 1

However, now that incremental compilation is activated by default, this option is somewhat ignored as I always get multiple codegen units, see link output:

Link output
app-3dbd1468984647bd.kkh23rkehqzaj9d.rcgu.o : error LNK2001: unresolved external symbol __CxxFrameHandler3
app-3dbd1468984647bd.pqmjx25qpxkduz7.rcgu.o : error LNK2001: unresolved external symbol __CxxFrameHandler3
app-3dbd1468984647bd.5avxpfo06afvwbk3.rcgu.o : error LNK2001: unresolved external symbol __CxxFrameHandler3
app-3dbd1468984647bd.5fyogldvlpmb3ne2.rcgu.o : error LNK2001: unresolved external symbol __CxxFrameHandler3
app-3dbd1468984647bd.8xzrsc1ux72v29j.rcgu.o : error LNK2001: unresolved external symbol __CxxFrameHandler3
app-3dbd1468984647bd.9fcb3syd3ne5k0n.rcgu.o : error LNK2001: unresolved external symbol __CxxFrameHandler3
app-3dbd1468984647bd.4vp4wqj2v29i7mgy.rcgu.o : error LNK2001: unresolved external symbol __CxxFrameHandler3
app-3dbd1468984647bd.4yh8x2b62dcih00t.rcgu.o : error LNK2001: unresolved external symbol __CxxFrameHandler3
app-3dbd1468984647bd.4ypvbwho0bu5tnww.rcgu.o : error LNK2001: unresolved external symbol __CxxFrameHandler3
app-3dbd1468984647bd.572bgozz9kcwe4zq.rcgu.o : error LNK2001: unresolved external symbol __CxxFrameHandler3
app-3dbd1468984647bd.4hyqbavotgq89ckf.rcgu.o : error LNK2001: unresolved external symbol __CxxFrameHandler3
app-3dbd1468984647bd.4oxej6yqxc1k2a95.rcgu.o : error LNK2001: unresolved external symbol __CxxFrameHandler3
app-3dbd1468984647bd.4rkh2ik4h1wxuzr0.rcgu.o : error LNK2001: unresolved external symbol __CxxFrameHandler3
app-3dbd1468984647bd.4sw9hz7i7fiueihz.rcgu.o : error LNK2001: unresolved external symbol __CxxFrameHandler3
app-3dbd1468984647bd.43v6g0y2xsxoggnt.rcgu.o : error LNK2001: unresolved external symbol __CxxFrameHandler3
app-3dbd1468984647bd.45pc7c65foh9i35f.rcgu.o : error LNK2001: unresolved external symbol __CxxFrameHandler3
app-3dbd1468984647bd.45sud1ub1th7k9to.rcgu.o : error LNK2001: unresolved external symbol __CxxFrameHandler3
app-3dbd1468984647bd.4g8y2se10t8swbo4.rcgu.o : error LNK2001: unresolved external symbol __CxxFrameHandler3
app-3dbd1468984647bd.3ayaeypdcro9d6yk.rcgu.o : error LNK2001: unresolved external symbol __CxxFrameHandler3
app-3dbd1468984647bd.3ik0x0hz6l66cx38.rcgu.o : error LNK2001: unresolved external symbol __CxxFrameHandler3
app-3dbd1468984647bd.3oqznv5oym7l3m4e.rcgu.o : error LNK2001: unresolved external symbol __CxxFrameHandler3
app-3dbd1468984647bd.3vafd95pfrt915tp.rcgu.o : error LNK2001: unresolved external symbol __CxxFrameHandler3
app-3dbd1468984647bd.1zwd8n7bcl3vhvvh.rcgu.o : error LNK2001: unresolved external symbol __CxxFrameHandler3
app-3dbd1468984647bd.28m6b5dkfoixx5aa.rcgu.o : error LNK2001: unresolved external symbol __CxxFrameHandler3
app-3dbd1468984647bd.2jqywn86b2gsqohu.rcgu.o : error LNK2001: unresolved external symbol __CxxFrameHandler3
app-3dbd1468984647bd.2tgjqxhdmx5w03dc.rcgu.o : error LNK2001: unresolved external symbol __CxxFrameHandler3
app-3dbd1468984647bd.1pyg38ew8eq184bu.rcgu.o : error LNK2001: unresolved external symbol __CxxFrameHandler3
app-3dbd1468984647bd.1tjp4sat87ohv0s4.rcgu.o : error LNK2001: unresolved external symbol __CxxFrameHandler3
app-3dbd1468984647bd.1wizeynlr8yexyce.rcgu.o : error LNK2001: unresolved external symbol __CxxFrameHandler3
app-3dbd1468984647bd.1y16o1qfye96o7m0.rcgu.o : error LNK2001: unresolved external symbol __CxxFrameHandler3
app-3dbd1468984647bd.1im38lueib99jsk0.rcgu.o : error LNK2001: unresolved external symbol __CxxFrameHandler3
app-3dbd1468984647bd.1kduva7sc7em934m.rcgu.o : error LNK2001: unresolved external symbol __CxxFrameHandler3
app-3dbd1468984647bd.1mvmz58owquyropc.rcgu.o : error LNK2001: unresolved external symbol __CxxFrameHandler3
app-3dbd1468984647bd.1ps78rce6xp6eo88.rcgu.o : error LNK2001: unresolved external symbol __CxxFrameHandler3
app-3dbd1468984647bd.105hgha4nyof7ce4.rcgu.o : error LNK2001: unresolved external symbol __CxxFrameHandler3
app-3dbd1468984647bd.16u6js6g0l3k1ic6.rcgu.o : error LNK2001: unresolved external symbol __CxxFrameHandler3
app-3dbd1468984647bd.1adpujvijqe7ueb.rcgu.o : error LNK2001: unresolved external symbol __CxxFrameHandler3
app-3dbd1468984647bd.1e698527iprj2v8f.rcgu.o : error LNK2001: unresolved external symbol __CxxFrameHandler3
app-3dbd1468984647bd.5avxpfo06afvwbk3.rcgu.o : error LNK2001: unresolved external symbol __chkstk
app-3dbd1468984647bd.105hgha4nyof7ce4.rcgu.o : error LNK2001: unresolved external symbol __chkstk
app-3dbd1468984647bd.1im38lueib99jsk0.rcgu.o : error LNK2001: unresolved external symbol __chkstk
app-3dbd1468984647bd.1wizeynlr8yexyce.rcgu.o : error LNK2001: unresolved external symbol __chkstk
app-3dbd1468984647bd.4hyqbavotgq89ckf.rcgu.o : error LNK2001: unresolved external symbol __chkstk
app-3dbd1468984647bd.572bgozz9kcwe4zq.rcgu.o : error LNK2001: unresolved external symbol memcpy
app-3dbd1468984647bd.5beqqbexwb143v6a.rcgu.o : error LNK2001: unresolved external symbol memcpy
app-3dbd1468984647bd.8xzrsc1ux72v29j.rcgu.o : error LNK2001: unresolved external symbol memcpy
app-3dbd1468984647bd.9elsx31vb4it187.rcgu.o : error LNK2001: unresolved external symbol memcpy
app-3dbd1468984647bd.4oxej6yqxc1k2a95.rcgu.o : error LNK2001: unresolved external symbol memcpy
app-3dbd1468984647bd.4xuhwz5yy6q4gvgg.rcgu.o : error LNK2001: unresolved external symbol memcpy
app-3dbd1468984647bd.4yh8x2b62dcih00t.rcgu.o : error LNK2001: unresolved external symbol memcpy
app-3dbd1468984647bd.4ypvbwho0bu5tnww.rcgu.o : error LNK2001: unresolved external symbol memcpy
app-3dbd1468984647bd.45pc7c65foh9i35f.rcgu.o : error LNK2001: unresolved external symbol memcpy
app-3dbd1468984647bd.49a7n47po4ttqjl7.rcgu.o : error LNK2001: unresolved external symbol memcpy
app-3dbd1468984647bd.4g47d2sx6m33abop.rcgu.o : error LNK2001: unresolved external symbol memcpy
app-3dbd1468984647bd.4hyqbavotgq89ckf.rcgu.o : error LNK2001: unresolved external symbol memcpy
app-3dbd1468984647bd.2tgjqxhdmx5w03dc.rcgu.o : error LNK2001: unresolved external symbol memcpy
app-3dbd1468984647bd.3vafd95pfrt915tp.rcgu.o : error LNK2001: unresolved external symbol memcpy
app-3dbd1468984647bd.404rn76kkacz9k77.rcgu.o : error LNK2001: unresolved external symbol memcpy
app-3dbd1468984647bd.436dotimmrgzkwfa.rcgu.o : error LNK2001: unresolved external symbol memcpy
app-3dbd1468984647bd.1tjp4sat87ohv0s4.rcgu.o : error LNK2001: unresolved external symbol memcpy
app-3dbd1468984647bd.1wizeynlr8yexyce.rcgu.o : error LNK2001: unresolved external symbol memcpy
app-3dbd1468984647bd.1y16o1qfye96o7m0.rcgu.o : error LNK2001: unresolved external symbol memcpy
app-3dbd1468984647bd.1zwd8n7bcl3vhvvh.rcgu.o : error LNK2001: unresolved external symbol memcpy
app-3dbd1468984647bd.105hgha4nyof7ce4.rcgu.o : error LNK2001: unresolved external symbol memcpy
app-3dbd1468984647bd.16u6js6g0l3k1ic6.rcgu.o : error LNK2001: unresolved external symbol memcpy
app-3dbd1468984647bd.1adpujvijqe7ueb.rcgu.o : error LNK2001: unresolved external symbol memcpy
app-3dbd1468984647bd.1im38lueib99jsk0.rcgu.o : error LNK2001: unresolved external symbol memcpy
app-3dbd1468984647bd.1im38lueib99jsk0.rcgu.o : error LNK2019: unresolved external symbol memmove referenced in function _ZN82_$LT$alloc..vec..Drain$LT$$u27$a$C$$u20$T$GT$$u20$as$u20$core..ops..drop..Drop$GT$4drop17hf9d3c56c7f71e886E
app-3dbd1468984647bd.49a7n47po4ttqjl7.rcgu.o : error LNK2019: unresolved external symbol memcmp referenced in function _ZN68_$LT$$u5b$A$u5d$$u20$as$u20$core..slice..SlicePartialEq$LT$A$GT$$GT$5equal17hd501274145fd07e2E
app-3dbd1468984647bd.57qy3vyd9bhiuaon.rcgu.o : error LNK2019: unresolved external symbol memset referenced in function _ZN3std2io11Initializer10initialize17h09422861eb49ba51E
app-3dbd1468984647bd.c6lbtaiefvx3wya.rcgu.o : error LNK2001: unresolved external symbol memset
LINK : error LNK2001: unresolved external symbol mainCRTStartup

@Marwes
Copy link
Contributor Author

Marwes commented Jan 18, 2018

FWIW I don't see this issue any longer so that might be a different issue.

@Enselic
Copy link
Member

Enselic commented Nov 18, 2023

Triage: Closing since the issue has been reported to not occur for 5 years.

@Enselic Enselic closed this as completed Nov 18, 2023
@rhit-sashiks
Copy link

@Enselic I am also experiencing this issue btw, heres my error:

          >>>               std_events-c24c975be08dd052.33zkpcveua1m9x5c471yscoeb.rcgu.o:(_$LT$T$u20$as$u20$erased_serde..ser..Serialize$GT$::erased_serialize::h179c1ac4055f54d9) in archive /home/antiraid/splashtail/staging/target/release/deps/libstd_events-c24c975be08dd052.rlib
          >>> referenced by 33zkpcveua1m9x5c471yscoeb
          >>>               std_events-c24c975be08dd052.33zkpcveua1m9x5c471yscoeb.rcgu.o:(_$LT$T$u20$as$u20$erased_serde..ser..Serialize$GT$::do_erased_serialize::h0e86b1696915c4c4) in archive /home/antiraid/splashtail/staging/target/release/deps/libstd_events-c24c975be08dd052.rlib
          >>> referenced 1 more times
          
          ld.lld: error: undefined hidden symbol: anon.1603c2dadd250e9cabb9e37db2424466.128.llvm.17142030996536378322
          >>> referenced by 75my3ftzwji48d9sy1tqk7wkr
          >>>               std_events-c24c975be08dd052.75my3ftzwji48d9sy1tqk7wkr.rcgu.o:(_$LT$serde..__private..ser..FlatMapSerializer$LT$M$GT$$u20$as$u20$serde..ser..Serializer$GT$::serialize_some::h6ea25b1366bff67d) in archive /home/antiraid/splashtail/staging/target/release/deps/libstd_events-c24c975be08dd052.rlib
          >>> referenced by 75my3ftzwji48d9sy1tqk7wkr
          >>>               std_events-c24c975be08dd052.75my3ftzwji48d9sy1tqk7wkr.rcgu.o:(_$LT$serde..__private..ser..FlatMapSerializer$LT$M$GT$$u20$as$u20$serde..ser..Serializer$GT$::serialize_some::h6ea25b1366bff67d) in archive /home/antiraid/splashtail/staging/target/release/deps/libstd_events-c24c975be08dd052.rlib
          
          ld.lld: error: undefined hidden symbol: anon.1603c2dadd250e9cabb9e37db2424466.91.llvm.17142030996536378322
          >>> referenced by 75my3ftzwji48d9sy1tqk7wkr
          >>>               std_events-c24c975be08dd052.75my3ftzwji48d9sy1tqk7wkr.rcgu.o:(_$LT$serde..__private..ser..FlatMapSerializer$LT$M$GT$$u20$as$u20$serde..ser..Serializer$GT$::serialize_some::h6ea25b1366bff67d) in archive /home/antiraid/splashtail/staging/target/release/deps/libstd_events-c24c975be08dd052.rlib
          
          ld.lld: error: undefined hidden symbol: anon.1603c2dadd250e9cabb9e37db2424466.96.llvm.17142030996536378322
          >>> referenced by 75my3ftzwji48d9sy1tqk7wkr
          >>>               std_events-c24c975be08dd052.75my3ftzwji48d9sy1tqk7wkr.rcgu.o:(_$LT$serde..__private..ser..FlatMapSerializer$LT$M$GT$$u20$as$u20$serde..ser..Serializer$GT$::serialize_some::h6ea25b1366bff67d) in archive /home/antiraid/splashtail/staging/target/release/deps/libstd_events-c24c975be08dd052.rlib
          
          ld.lld: error: undefined hidden symbol: core::ptr::drop_in_place$LT$alloc..collections..btree..map..IntoIter$LT$alloc..string..String$C$serde_json..value..Value$GT$$GT$::h43e6b66b40e4ac8c (.llvm.6063425615997792484)
          >>> referenced by 8i2ajui29kzfvzjc7ledgxth4
          >>>               std_events-c24c975be08dd052.8i2ajui29kzfvzjc7ledgxth4.rcgu.o:(core::ptr::drop_in_place$LT$serde_json..value..Value$GT$::hfab75f9f10cfa973 (.llvm.17107923950766843347)) in archive /home/antiraid/splashtail/staging/target/release/deps/libstd_events-c24c975be08dd052.rlib
          >>> referenced by 8i2ajui29kzfvzjc7ledgxth4
          >>>               std_events-c24c975be08dd052.8i2ajui29kzfvzjc7ledgxth4.rcgu.o:(core::ptr::drop_in_place$LT$$LP$alloc..string..String$C$serde_json..value..Value$RP$$GT$::h56def7025e575773) in archive /home/antiraid/splashtail/staging/target/release/deps/libstd_events-c24c975be08dd052.rlib
          >>> referenced by 6yv4vspcqdw53nrbnxu71z9uu
          >>>               std_events-c24c975be08dd052.6yv4vspcqdw53nrbnxu71z9uu.rcgu.o:(core::ptr::drop_in_place$LT$serde_json..value..Value$GT$::hfab75f9f10cfa973 (.llvm.17616948806216338013)) in archive /home/antiraid/splashtail/staging/target/release/deps/libstd_events-c24c975be08dd052.rlib
          >>> referenced 1 more times
          
          ld.lld: error: undefined hidden symbol: core::ptr::drop_in_place$LT$serde..__private..de..content..Content$GT$::h36ce7b8c243ddbe5 (.llvm.6063425615997792484)
          >>> referenced by 4g8g5l7lzyy30fty3r4uzennk
          >>>               std_events-c24c975be08dd052.4g8g5l7lzyy30fty3r4uzennk.rcgu.o:(_$LT$alloc..vec..into_iter..IntoIter$LT$T$C$A$GT$$u20$as$u20$core..iter..traits..iterator..Iterator$GT$::fold::h0859a3ebb85ef582) in archive /home/antiraid/splashtail/staging/target/release/deps/libstd_events-c24c975be08dd052.rlib
          >>> referenced by 4g8g5l7lzyy30fty3r4uzennk
          >>>               std_events-c24c975be08dd052.4g8g5l7lzyy30fty3r4uzennk.rcgu.o:(_$LT$alloc..vec..into_iter..IntoIter$LT$T$C$A$GT$$u20$as$u20$core..iter..traits..iterator..Iterator$GT$::fold::h0859a3ebb85ef582) in archive /home/antiraid/splashtail/staging/target/release/deps/libstd_events-c24c975be08dd052.rlib
          >>> referenced by 4g8g5l7lzyy30fty3r4uzennk
          >>>               std_events-c24c975be08dd052.4g8g5l7lzyy30fty3r4uzennk.rcgu.o:(_$LT$alloc..vec..into_iter..IntoIter$LT$T$C$A$GT$$u20$as$u20$core..iter..traits..iterator..Iterator$GT$::fold::h0859a3ebb85ef582) in archive /home/antiraid/splashtail/staging/target/release/deps/libstd_events-c24c975be08dd052.rlib
          
          ld.lld: error: undefined hidden symbol: core::ptr::drop_in_place$LT$alloc..boxed..Box$LT$$u5b$serenity..model..application..component..ActionRow$u5d$$GT$$GT$::h680d74286c348ba5 (.llvm.6063425615997792484)
          >>> referenced by 6e29yhn63bh8nfcxly71q4a3h
          >>>               std_events-c24c975be08dd052.6e29yhn63bh8nfcxly71q4a3h.rcgu.o:(_$LT$erased_serde..error..Error$u20$as$u20$serde..de..Error$GT$::custom::h21c4b74462921868) in archive /home/antiraid/splashtail/staging/target/release/deps/libstd_events-c24c975be08dd052.rlib
          >>> referenced by 6e29yhn63bh8nfcxly71q4a3h
          >>>               std_events-c24c975be08dd052.6e29yhn63bh8nfcxly71q4a3h.rcgu.o:(_$LT$erased_serde..error..Error$u20$as$u20$serde..de..Error$GT$::custom::h21c4b74462921868) in archive /home/antiraid/splashtail/staging/target/release/deps/libstd_events-c24c975be08dd052.rlib
          
          ld.lld: error: undefined hidden symbol: core::ptr::drop_in_place$LT$alloc..boxed..Box$LT$$u5b$serenity..model..channel..StageInstance$u5d$$GT$$GT$::hd4ad1bfa8879450b (.llvm.6063425615997792484)
          >>> referenced by 6e29yhn63bh8nfcxly71q4a3h
          >>>               std_events-c24c975be08dd052.6e29yhn63bh8nfcxly71q4a3h.rcgu.o:(_$LT$erased_serde..error..Error$u20$as$u20$serde..de..Error$GT$::custom::h4bc4789009a30d01) in archive /home/antiraid/splashtail/staging/target/release/deps/libstd_events-c24c975be08dd052.rlib
          >>> referenced by 6e29yhn63bh8nfcxly71q4a3h
          >>>               std_events-c24c975be08dd052.6e29yhn63bh8nfcxly71q4a3h.rcgu.o:(_$LT$erased_serde..error..Error$u20$as$u20$serde..de..Error$GT$::custom::h4bc4789009a30d01) in archive /home/antiraid/splashtail/staging/target/release/deps/libstd_events-c24c975be08dd052.rlib
          
          ld.lld: error: undefined hidden symbol: core::ptr::drop_in_place$LT$alloc..boxed..Box$LT$$u5b$small_fixed_array..string..FixedString$u5d$$GT$$GT$::h9fe8496f1c969c92 (.llvm.6063425615997792484)
          >>> referenced by 6e29yhn63bh8nfcxly71q4a3h
          >>>               std_events-c24c975be08dd052.6e29yhn63bh8nfcxly71q4a3h.rcgu.o:(_$LT$erased_serde..error..Error$u20$as$u20$serde..de..Error$GT$::custom::h56495bb5ecbb1473) in archive /home/antiraid/splashtail/staging/target/release/deps/libstd_events-c24c975be08dd052.rlib
          >>> referenced by 6e29yhn63bh8nfcxly71q4a3h
          >>>               std_events-c24c975be08dd052.6e29yhn63bh8nfcxly71q4a3h.rcgu.o:(_$LT$erased_serde..error..Error$u20$as$u20$serde..de..Error$GT$::custom::h56495bb5ecbb1473) in archive /home/antiraid/splashtail/staging/target/release/deps/libstd_events-c24c975be08dd052.rlib
          
          ld.lld: error: undefined hidden symbol: core::ptr::drop_in_place$LT$alloc..boxed..Box$LT$$u5b$serenity..model..guild..audit_log..change..AffectedRole$u5d$$GT$$GT$::he9e1250a859e7ebb (.llvm.6063425615997792484)
          >>> referenced by 6e29yhn63bh8nfcxly71q4a3h
          >>>               std_events-c24c975be08dd052.6e29yhn63bh8nfcxly71q4a3h.rcgu.o:(_$LT$erased_serde..error..Error$u20$as$u20$serde..de..Error$GT$::custom::h72ea883805965b10) in archive /home/antiraid/splashtail/staging/target/release/deps/libstd_events-c24c975be08dd052.rlib
          >>> referenced by 6e29yhn63bh8nfcxly71q4a3h
          >>>               std_events-c24c975be08dd052.6e29yhn63bh8nfcxly71q4a3h.rcgu.o:(_$LT$erased_serde..error..Error$u20$as$u20$serde..de..Error$GT$::custom::h72ea883805965b10) in archive /home/antiraid/splashtail/staging/target/release/deps/libstd_events-c24c975be08dd052.rlib
          
          ld.lld: error: undefined hidden symbol: core::ptr::drop_in_place$LT$alloc..boxed..Box$LT$$u5b$serenity..model..sticker..StickerItem$u5d$$GT$$GT$::h2ecc10a7a290e4fd (.llvm.6063425615997792484)
          >>> referenced by 6e29yhn63bh8nfcxly71q4a3h
          >>>               std_events-c24c975be08dd052.6e29yhn63bh8nfcxly71q4a3h.rcgu.o:(_$LT$erased_serde..error..Error$u20$as$u20$serde..de..Error$GT$::custom::h793d48378bec07c1) in archive /home/antiraid/splashtail/staging/target/release/deps/libstd_events-c24c975be08dd052.rlib
          >>> referenced by 6e29yhn63bh8nfcxly71q4a3h
          >>>               std_events-c24c975be08dd052.6e29yhn63bh8nfcxly71q4a3h.rcgu.o:(_$LT$erased_serde..error..Error$u20$as$u20$serde..de..Error$GT$::custom::h793d48378bec07c1) in archive /home/antiraid/splashtail/staging/target/release/deps/libstd_events-c24c975be08dd052.rlib
          
          ld.lld: error: undefined hidden symbol: core::ptr::drop_in_place$LT$alloc..boxed..Box$LT$$u5b$serenity..model..application..component..ActionRowComponent$u5d$$GT$$GT$::h38a40067dbbc55c1 (.llvm.6063425615997792484)
          >>> referenced by 6e29yhn63bh8nfcxly71q4a3h
          >>>               std_events-c24c975be08dd052.6e29yhn63bh8nfcxly71q4a3h.rcgu.o:(_$LT$erased_serde..error..Error$u20$as$u20$serde..de..Error$GT$::custom::heeab83017db8a083) in archive /home/antiraid/splashtail/staging/target/release/deps/libstd_events-c24c975be08dd052.rlib
          >>> referenced by 6e29yhn63bh8nfcxly71q4a3h
          >>>               std_events-c24c975be08dd052.6e29yhn63bh8nfcxly71q4a3h.rcgu.o:(_$LT$erased_serde..error..Error$u20$as$u20$serde..de..Error$GT$::custom::heeab83017db8a083) in archive /home/antiraid/splashtail/staging/target/release/deps/libstd_events-c24c975be08dd052.rlib
          
          ld.lld: error: undefined hidden symbol: core::ptr::drop_in_place$LT$alloc..boxed..Box$LT$$u5b$serenity..model..channel..message..ChannelMention$u5d$$GT$$GT$::h1e8ea0966ad60528 (.llvm.6063425615997792484)
          >>> referenced by 6e29yhn63bh8nfcxly71q4a3h
          >>>               std_events-c24c975be08dd052.6e29yhn63bh8nfcxly71q4a3h.rcgu.o:(_$LT$erased_serde..error..Error$u20$as$u20$serde..de..Error$GT$::custom::hf4f1433ae261b4b5) in archive /home/antiraid/splashtail/staging/target/release/deps/libstd_events-c24c975be08dd052.rlib
          >>> referenced by 6e29yhn63bh8nfcxly71q4a3h
          >>>               std_events-c24c975be08dd052.6e29yhn63bh8nfcxly71q4a3h.rcgu.o:(_$LT$erased_serde..error..Error$u20$as$u20$serde..de..Error$GT$::custom::hf4f1433ae261b4b5) in archive /home/antiraid/splashtail/staging/target/release/deps/libstd_events-c24c975be08dd052.rlib
          clang: error: linker command failed with exit code 1 (use -v to see invocation)
          

error: could not compile `rust_bot` (bin "rust_bot") due to 1 previous error
make[1]: *** [Makefile:43: build_rust] Error 101
make[1]: Leaving directory '/home/antiraid/splashtail/staging'
make: *** [Makefile:34: build] Error 2```

Only happens with incremental compiles. Removing /target and restarting the whole compile from scratch solves it though

@bjorn3
Copy link
Member

bjorn3 commented Oct 26, 2024

Does this happen right after you interrupted another build? If so that is #81280. #86049 is a generic issue for this kind of errors.

@cheesycod
Copy link

cheesycod commented Oct 26, 2024

Does this happen right after you interrupted another build? If so that is #81280. #86049 is a generic issue for this kind of errors.

No, this happens randomly between builds even when there is no interruption

(rhit-sashiks is my uni account)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-incr-comp Area: Incremental compilation 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

No branches or pull requests

9 participants