cquery search reference response: No references found

there is my config, anything wrong?

(use-package lsp-ui
  :config (add-hook 'lsp-mode-hook 'lsp-ui-mode))

(require 'cquery)
(setq cquery-executable "/usr/local/bin/cquery")
(setq cquery-cache-dir "~/.cquery_cached_index")
(setq cquery-project-roots '("~/core"))
(setq cquery-extra-init-params '(:index (:comments 2) :cacheFormat "msgpack" :completion (:detailedLabel t)))

(with-eval-after-load 'projectile
  (setq projectile-project-root-files-top-down-recurring
        (append '("compile_commands.json"
                  ".cquery")
                projectile-project-root-files-top-down-recurring)))

(defun cquery//enable ()
  (condition-case nil
      (lsp)
    (user-error nil)))

(use-package cquery
	     :commands lsp
	     :init
             (add-hook 'c-mode-hook #'cquery//enable)
	     (add-hook 'c++-mode-hook #'cquery//enable))