[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#1022304: lsp-mode: FTBFS: lsp-completion.el:166:8: Error: docstring wider than 80 characters



Source: lsp-mode
Version: 8.0.0-4
Severity: serious
Justification: FTBFS
Tags: bookworm sid ftbfs
User: lucas@debian.org
Usertags: ftbfs-20221023 ftbfs-bookworm

Hi,

During a rebuild of all packages in sid, your package failed to build
on amd64.


Relevant part (hopefully):
> make[1]: Entering directory '/<<PKGBUILDDIR>>'
> /bin/true
> make[1]: Leaving directory '/<<PKGBUILDDIR>>'
>    dh_elpa_test
> 	emacs -batch -Q -l package --eval "(setq native-comp-eln-load-path '(\"/tmp/r3t8gwuiGB\"))" --eval "(add-to-list 'package-directory-list \"/usr/share/emacs/site-lisp/elpa\")" --eval "(add-to-list 'package-directory-list \"/usr/share/emacs/site-lisp/elpa-src\")" -f package-initialize -L clients/ -L . -L test -l test/lsp-javascript-test.el -l test/lsp-mode-test.el -l test/lsp-io-test.el -l test/lsp-methods-test.el -l test/lsp-file-watch-test.el -l test/lsp-clangd-test.el -l test/lsp-completion-test.el -l test/lsp-common-test.el -l test/lsp-protocol-test.el -l test/lsp-integration-test.el -l debian/ert-helper.el
> Loading /<<PKGBUILDDIR>>/test/test-helper.el (source)...
> Running 62 tests (2022-10-23 07:36:14+0000, selector ‘(not (or (tag org) (tag no-win)))’)
>    passed   1/62  lsp--boolean-property (0.000225 sec)
>    passed   2/62  lsp--build-workspace-configuration-response-test (0.000191 sec)
>    passed   3/62  lsp--custom-settings-test (0.000164 sec)
>    passed   4/62  lsp--f-ancestor-of\? (0.000281 sec)
>    passed   5/62  lsp--find-session-folder (0.000548 sec)
>    passed   6/62  lsp--get-symbol-to-rename (0.000176 sec)
>    passed   7/62  lsp--merge-results (0.000402 sec)
>    passed   8/62  lsp--non-boolean-property (0.000159 sec)
>    passed   9/62  lsp--non-related-content-on-stdout (0.652790 sec)
>    passed  10/62  lsp--parser-read--ignored-messages (0.002724 sec)
>    passed  11/62  lsp--parser-read--multibyte (0.042170 sec)
>    passed  12/62  lsp--parser-read--multibyte-nospace (0.000827 sec)
>    passed  13/62  lsp--parser-read--multibyte-received (0.000140 sec)
>    passed  14/62  lsp--parser-read--multiple-chunks (0.000151 sec)
>    passed  15/62  lsp--parser-read--multiple-messages (0.000180 sec)
>    passed  16/62  lsp--parser-read--multiple-multibyte-chunks (0.000251 sec)
>    passed  17/62  lsp--path-to-uri (0.000127 sec)
>    passed  18/62  lsp--read-rename (0.270667 sec)
>    passed  19/62  lsp--test-find-roots-for-workspace (0.000147 sec)
> LSP :: Applying 12 edits to ` *temp*-360212' ...
> Applying 12 edits to ` *temp*-360212' ... 
> Applying 12 edits to ` *temp*-360212' ...done
>    passed  20/62  lsp--test-overlapping-updates (0.000830 sec)
>    passed  21/62  lsp--uri-to-path--handle-utf8 (0.000148 sec)
> Testing file /<<PKGBUILDDIR>>/lsp-completion.el
> 
> In toplevel form:
> lsp-completion.el:166:8: Error:  docstring wider than 80 characters
> Test lsp-byte-compilation-test backtrace:
>   signal(ert-test-failed (((should (byte-compile-file (save-excursion (find-library library) (buffer-file-name)))) :form (byte-compile-file "/<<PKGBUILDDIR>>/lsp-completi...") :value nil)))
>   ert-fail(((should (byte-compile-file (save-excursion (find-library library) (buffer-file-name)))) :form (byte-compile-file "/<<PKGBUILDDIR>>/lsp-completi...") :value nil))
>   (if (unwind-protect (setq value-1004 (apply fn-1002 args-1003)) (setq form-description-1006 (nconc (list '(should (byte-compile-file ...))) (list :form (cons fn-1002 args-1003)) (if (eql value-1004 'ert-form-evaluation-aborted-1005) nil (list :value value-1004)) (if (eql value-1004 'ert-form-evaluation-aborted-1005) nil (let ((-explainer- ...)) (if -explainer- (progn ...)))))) (ert--signal-should-execution form-description-1006)) nil (ert-fail form-description-1006))
>   (let (form-description-1006) (if (unwind-protect (setq value-1004 (apply fn-1002 args-1003)) (setq form-description-1006 (nconc (list '(should ...)) (list :form (cons fn-1002 args-1003)) (if (eql value-1004 'ert-form-evaluation-aborted-1005) nil (list :value value-1004)) (if (eql value-1004 'ert-form-evaluation-aborted-1005) nil (let (...) (if -explainer- ...))))) (ert--signal-should-execution form-description-1006)) nil (ert-fail form-description-1006)))
>   (let ((value-1004 'ert-form-evaluation-aborted-1005)) (let (form-description-1006) (if (unwind-protect (setq value-1004 (apply fn-1002 args-1003)) (setq form-description-1006 (nconc (list '...) (list :form (cons fn-1002 args-1003)) (if (eql value-1004 ...) nil (list :value value-1004)) (if (eql value-1004 ...) nil (let ... ...)))) (ert--signal-should-execution form-description-1006)) nil (ert-fail form-description-1006))) value-1004)
>   (let* ((fn-1002 #'byte-compile-file) (args-1003 (condition-case err (let ((signal-hook-function #'ert--should-signal-hook)) (list (save-excursion (find-library library) (buffer-file-name)))) (error (progn (setq fn-1002 #'signal) (list (car err) (cdr err))))))) (let ((value-1004 'ert-form-evaluation-aborted-1005)) (let (form-description-1006) (if (unwind-protect (setq value-1004 (apply fn-1002 args-1003)) (setq form-description-1006 (nconc (list ...) (list :form ...) (if ... nil ...) (if ... ni
>   (let ((byte-compile-error-on-warn t)) (message "Testing file %s" library) (let* ((fn-1002 #'byte-compile-file) (args-1003 (condition-case err (let ((signal-hook-function ...)) (list (save-excursion ... ...))) (error (progn (setq fn-1002 ...) (list ... ...)))))) (let ((value-1004 'ert-form-evaluation-aborted-1005)) (let (form-description-1006) (if (unwind-protect (setq value-1004 (apply fn-1002 args-1003)) (setq form-description-1006 (nconc ... ... ... ...)) (ert--signal-should-execution form-d
>   (closure (t) (library) (let ((byte-compile-error-on-warn t)) (message "Testing file %s" library) (let* ((fn-1002 #'byte-compile-file) (args-1003 (condition-case err (let ... ...) (error ...)))) (let ((value-1004 'ert-form-evaluation-aborted-1005)) (let (form-description-1006) (if (unwind-protect ... ... ...) nil (ert-fail form-description-1006))) value-1004))))("/<<PKGBUILDDIR>>/lsp-completi...")
>   mapc((closure (t) (library) (let ((byte-compile-error-on-warn t)) (message "Testing file %s" library) (let* ((fn-1002 #'byte-compile-file) (args-1003 (condition-case err (let ... ...) (error ...)))) (let ((value-1004 'ert-form-evaluation-aborted-1005)) (let (form-description-1006) (if (unwind-protect ... ... ...) nil (ert-fail form-description-1006))) value-1004)))) ("/<<PKGBUILDDIR>>/lsp-completi..." "/<<PKGBUILDDIR>>/lsp-diagnost..." "/build/lsp-mode
>   seq-do((closure (t) (library) (let ((byte-compile-error-on-warn t)) (message "Testing file %s" library) (let* ((fn-1002 #'byte-compile-file) (args-1003 (condition-case err (let ... ...) (error ...)))) (let ((value-1004 'ert-form-evaluation-aborted-1005)) (let (form-description-1006) (if (unwind-protect ... ... ...) nil (ert-fail form-description-1006))) value-1004)))) ("/<<PKGBUILDDIR>>/lsp-completi..." "/<<PKGBUILDDIR>>/lsp-diagnost..." "/build/lsp-mo
>   (let ((lexical-binding t)) (seq-do #'(lambda (library) (let ((byte-compile-error-on-warn t)) (message "Testing file %s" library) (let* ((fn-1002 ...) (args-1003 ...)) (let (...) (let ... ...) value-1004)))) (-filter #'(lambda (file) (and (f-ext\? file "el") (not (s-contains\? ".dir-locals" file)) (not (s-contains\? "test" file)))) (append (if (or load-file-name buffer-file-name) (progn (f-files (f-parent ...)))) (f-files default-directory)))))
>   (closure (t) nil (let ((lexical-binding t)) (seq-do #'(lambda (library) (let ((byte-compile-error-on-warn t)) (message "Testing file %s" library) (let* (... ...) (let ... ... value-1004)))) (-filter #'(lambda (file) (and (f-ext\? file "el") (not ...) (not ...))) (append (if (or load-file-name buffer-file-name) (progn (f-files ...))) (f-files default-directory))))))()
>   ert--run-test-internal(#s(ert--test-execution-info :test #s(ert-test :name lsp-byte-compilation-test :documentation nil :body (closure ... nil ...) :most-recent-result #s(ert-test-failed :messages "Testing file /build/lsp-mo..." :should-forms ... :duration 0.009562988 :condition ... :backtrace ... :infos nil) :expected-result-type :passed :tags nil) :result #s(ert-test-failed :messages "Testing file /build/lsp-mo..." :should-forms (...) :duration 0.009562988 :condition (ert-test-failed ...) :b
>   ert-run-test(#s(ert-test :name lsp-byte-compilation-test :documentation nil :body (closure (t) nil (let ((lexical-binding t)) (seq-do #'... (-filter ... ...)))) :most-recent-result #s(ert-test-failed :messages "Testing file /<<BUILDDIR>>/ls..." :should-forms (((should ...) :form (byte-compile-file "/<<PKGBUILDDIR>>/...") :value nil)) :duration 0.009562988 :condition (ert-test-failed ((should ...) :form (byte-compile-file "/<<PKGBUILDDIR>>/..."
>   ert-run-or-rerun-test(#s(ert--stats :selector ... :tests ... :test-map #<hash-table eql 62/62 0x15669435f98b> :test-results ... :test-start-times ... :test-end-times ... :passed-expected 21 :passed-unexpected 0 :failed-expected 0 :failed-unexpected 1 :skipped 0 :start-time ... :end-time nil :aborted-p nil ...) #s(ert-test :name lsp-byte-compilation-test :documentation nil :body ... :most-recent-result ... :expected-result-type :passed :tags nil) #f(compiled-function (event-type &rest event-arg
>   ert-run-tests((not (or (tag org) (tag no-win))) #f(compiled-function (event-type &rest event-args) #<bytecode 0x1e7bf777d368d9c5>) nil)
>   ert-run-tests-batch((not (or (tag org) (tag no-win))))
>   ert-run-tests-batch-and-exit((not (or (tag org) (tag no-win))))
>   load-with-code-conversion("/<<PKGBUILDDIR>>/debian/ert-h..." "/<<PKGBUILDDIR>>/debian/ert-h..." nil t)
>   command-line-1(("-l" "package" "--eval" "(setq native-comp-eln-load-path '(\"/tmp/r3t8gwuiGB..." "--eval" "(add-to-list 'package-directory-list \"/usr/share/e..." "--eval" "(add-to-list 'package-directory-list \"/usr/share/e..." "-f" "package-initialize" "-L" "clients/" "-L" "." "-L" "test" "-l" "test/lsp-javascript-test.el" "-l" "test/lsp-mode-test.el" "-l" "test/lsp-io-test.el" "-l" "test/lsp-methods-test.el" "-l" "test/lsp-file-watch-test.el" "-l" "test/lsp-clangd-test.el" "-l" "test/lsp-co
>   command-line()
>   normal-top-level()
> Test lsp-byte-compilation-test condition:
>     (ert-test-failed
>      ((should
>        (byte-compile-file
> 	(save-excursion ... ...)))
>       :form
>       (byte-compile-file "/<<PKGBUILDDIR>>/lsp-completion.el")
>       :value nil))
>    FAILED  22/62  lsp-byte-compilation-test (0.009563 sec)
>    passed  23/62  lsp-clangd-extract-signature-on-hover (0.006377 sec)
> LSP :: Connected to [clangd:1037755/starting].
> LSP :: Unable to autoconfigure company-mode.
> LSP :: clangd:1037755 initialized successfully in folders: (/<<PKGBUILDDIR>>/test/fixtures/SampleCppProject)
> The test body will start in /<<PKGBUILDDIR>>/test/fixtures/SampleCppProject/src/main.cpp
> LSP :: Shutdown clangd:1037755 since folder /<<PKGBUILDDIR>>/test/fixtures/SampleCppProject is removed...
>    passed  24/62  lsp-clangd-initialised-workspace (4.275798 sec)
> LSP :: Connected to [clangd:1037763/starting].
> LSP :: clangd has exited (killed)
> LSP :: Workspace clangd:1037755 shutdown.
> LSP :: Unable to autoconfigure company-mode.
> LSP :: clangd:1037763 initialized successfully in folders: (/<<PKGBUILDDIR>>/test/fixtures/SampleCppProject)
> The test body will start in /<<PKGBUILDDIR>>/test/fixtures/SampleCppProject/src/main.cpp
> LSP :: Unable to autoconfigure company-mode.
> LSP :: Connected to [clangd:1037763].
> LSP :: Shutdown clangd:1037763 since folder /<<PKGBUILDDIR>>/test/fixtures/SampleCppProject is removed...
>    passed  25/62  lsp-clangd-switch-to-nonexistent-other (3.451251 sec)
> LSP :: Connected to [clangd:1037773/starting].
> LSP :: clangd<1> has exited (killed)
> LSP :: Workspace clangd:1037763 shutdown.
> LSP :: Unable to autoconfigure company-mode.
> LSP :: clangd:1037773 initialized successfully in folders: (/<<PKGBUILDDIR>>/test/fixtures/SampleCppProject)
> The test body will start in /<<PKGBUILDDIR>>/test/fixtures/SampleCppProject/src/main.cpp
> LSP :: Unable to autoconfigure company-mode.
> LSP :: Connected to [clangd:1037773].
> LSP :: Shutdown clangd:1037773 since folder /<<PKGBUILDDIR>>/test/fixtures/SampleCppProject is removed...
>    passed  26/62  lsp-clangd-switch-to-other-from-cpp (3.318463 sec)
>    passed  27/62  lsp-clients-join-region (0.000241 sec)
>    passed  28/62  lsp-common-test--path-to-uri-custom-schemes (0.000703 sec)
>    passed  29/62  lsp-common-test--unexpected-scheme (0.000143 sec)
>    passed  30/62  lsp-completion-test-candidate-kind (0.000117 sec)
>    passed  31/62  lsp-completion-test-fuz-score (0.086736 sec)
>    passed  32/62  lsp-completion-test-get-context (0.000545 sec)
>    passed  33/62  lsp-create-test (0.002869 sec)
>    passed  34/62  lsp-delete-test (0.000226 sec)
>    passed  35/62  lsp-diagnostics-stats-test (0.000984 sec)
>    passed  36/62  lsp-diagnostics-stats-workspace-shutdown-test (0.000668 sec)
>    passed  37/62  lsp-file-watch--glob-pattern (0.002564 sec)
>    passed  38/62  lsp-file-watch--glob-split (0.000179 sec)
>    passed  39/62  lsp-flow-but-not-in-comment-tag-detection (0.000172 sec)
>    passed  40/62  lsp-flow-c-style-tag-detection (0.000070 sec)
>    passed  41/62  lsp-flow-regular-tag-detection (0.000075 sec)
>    passed  42/62  lsp-flow-should-activate-on-flow-project (0.000231 sec)
>    passed  43/62  lsp-flow-should-activate-on-flow-project-without-flow-file-comment (0.000186 sec)
>    passed  44/62  lsp-flow-should-not-activate-if-not-flow-project-or-no-tag (0.003197 sec)
>    passed  45/62  lsp-flow-should-not-activate-on-typescript-project (0.001835 sec)
>    passed  46/62  lsp-flow-simple-multiline-tag-detection (0.000573 sec)
>    passed  47/62  lsp-flow-simple-multiline-with-comments-before-tag-detection (0.000177 sec)
>    passed  48/62  lsp-flow-wrong-tag-detection (0.000135 sec)
>    passed  49/62  lsp-formatting-params-test (0.000120 sec)
>    passed  50/62  lsp-generate-unique-names (0.000131 sec)
>    passed  51/62  lsp-mode-test-merging-completion-results (0.000137 sec)
>    passed  52/62  lsp-point-in-range\?-test (0.000197 sec)
>    passed  53/62  lsp-resolve-value-test (0.000068 sec)
>    passed  54/62  lsp-test--merge-hover (0.000108 sec)
> LSP :: Connected to [pylsp:1037784/starting].
> LSP :: clangd has exited (killed)
> LSP :: Workspace clangd:1037773 shutdown.
> LSP :: Unable to autoconfigure company-mode.
> LSP :: pylsp:1037784 initialized successfully in folders: (/<<PKGBUILDDIR>>/test/fixtures)
> LSP :: Shutdown pylsp:1037784 since folder /<<PKGBUILDDIR>>/test/fixtures is removed...
>    passed  55/62  lsp-test-current-buffer-mode (2.092451 sec)
>    passed  56/62  lsp-test-lsp-interface (0.000306 sec)
>    passed  57/62  lsp-test-member\? (0.000090 sec)
>    passed  58/62  lsp-test-pcase-patterns (0.000443 sec)
> LSP :: Connected to [pylsp:1037786/starting].
> LSP :: pylsp has exited (killed)
> LSP :: Workspace pylsp:1037784 shutdown.
> LSP :: Unable to autoconfigure company-mode.
> LSP :: pylsp:1037786 initialized successfully in folders: (/<<PKGBUILDDIR>>/test/fixtures)
> LSP :: Shutdown pylsp:1037786 since folder /<<PKGBUILDDIR>>/test/fixtures is removed...
>    passed  59/62  lsp-text-document-hover-request (0.665930 sec)
> LSP :: Connected to [pylsp:1037788/starting].
> LSP :: pylsp<1> has exited (killed)
> LSP :: Workspace pylsp:1037786 shutdown.
> LSP :: Unable to autoconfigure company-mode.
> LSP :: pylsp:1037788 initialized successfully in folders: (/<<PKGBUILDDIR>>/test/fixtures)
> LSP :: Shutdown pylsp:1037788 since folder /<<PKGBUILDDIR>>/test/fixtures is removed...
>    passed  60/62  lsp-text-document-hover-request-tick (1.743641 sec)
>    passed  61/62  lsp-typescript-javascript-activates-based-on-file-extension (0.000149 sec)
>    passed  62/62  lsp-update-test (0.003490 sec)
> 
> Ran 62 tests, 61 results as expected, 1 unexpected (2022-10-23 07:36:31+0000, 16.893739 sec)
> 
> 1 unexpected results:
>    FAILED  lsp-byte-compilation-test
> 
> dh_elpa_test: error: emacs -batch -Q -l package --eval "(setq native-comp-eln-load-path '(\"/tmp/r3t8gwuiGB\"))" --eval "(add-to-list 'package-directory-list \"/usr/share/emacs/site-lisp/elpa\")" --eval "(add-to-list 'package-directory-list \"/usr/share/emacs/site-lisp/elpa-src\")" -f package-initialize -L clients/ -L . -L test -l test/lsp-javascript-test.el -l test/lsp-mode-test.el -l test/lsp-io-test.el -l test/lsp-methods-test.el -l test/lsp-file-watch-test.el -l test/lsp-clangd-test.el -l test/lsp-completion-test.el -l test/lsp-common-test.el -l test/lsp-protocol-test.el -l test/lsp-integration-test.el -l debian/ert-helper.el returned exit code 1
> make: *** [debian/rules:4: binary] Error 25


The full build log is available from:
http://qa-logs.debian.net/2022/10/23/lsp-mode_8.0.0-4_unstable.log

All bugs filed during this archive rebuild are listed at:
https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20221023;users=lucas@debian.org
or:
https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20221023&fusertaguser=lucas@debian.org&allbugs=1&cseverity=1&ctags=1&caffected=1#results

A list of current common problems and possible solutions is available at
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!

If you reassign this bug to another package, please marking it as 'affects'-ing
this package. See https://www.debian.org/Bugs/server-control#affects

If you fail to reproduce this, please provide a build log and diff it with mine
so that we can identify if something relevant changed in the meantime.


Reply to: