Slime + SBCL warnings, expected?

Nicholas Papadonis nick.papadonis.ml at gmail.com
Sat Mar 21 02:28:28 UTC 2020


I'm using Slime-20200319, Emacs 26 and SBCL 1.4.16 on Debian 10.


Are the following warnings, which I saw invoking M-x slime, expected?


Thanks


(progn (load "/home/np/.emacs.d/elpa/slime-20200319.1939/swank-loader.lisp"
:verbose t) (funcall (read-from-string "swank-loader:init") :from-emacs t)
(funcall (read-from-string "swank:start-server") "/tmp/slime.8323"))


This is SBCL 1.4.16.debian, an implementation of ANSI Common Lisp.

More information about SBCL is available at <http://www.sbcl.org/>.


SBCL is free software, provided as is, with absolutely no warranty.

It is mostly in the public domain; some portions are provided under

BSD-style licenses.  See the CREDITS and COPYING files in the

distribution for more information.

* ; loading #P"/home/np/.emacs.d/elpa/slime-20200319.1939/swank-loader.lisp"


WARNING:

   redefining EMACS-INSPECT (#<SB-PCL:SYSTEM-CLASS COMMON-LISP:T>) in
DEFMETHOD




; file: /home/np/.emacs.d/elpa/slime-20200319.1939/swank/sbcl.lisp

; in: DEFUN SWANK/SBCL::MAKE-SOCKET-IO-STREAM

;     (EQ :FD-HANDLER SWANK:*COMMUNICATION-STYLE*)

;

; caught WARNING:

;   undefined variable: SWANK:*COMMUNICATION-STYLE*



; file: /home/np/.emacs.d/elpa/slime-20200319.1939/swank/backend.lisp

; in: SWANK/BACKEND::DEFINTERFACE SWANK/BACKEND:WAIT-FOR-INPUT

;     (ERROR

;      "~s not implemented. Check if ~s = ~s is supported by the
implementation."

;      'SWANK/BACKEND:WAIT-FOR-INPUT 'SWANK:*COMMUNICATION-STYLE*

;      SWANK:*COMMUNICATION-STYLE*)

;

; caught WARNING:

;   undefined variable: SWANK:*COMMUNICATION-STYLE*



; file: /home/np/.emacs.d/elpa/slime-20200319.1939/swank/sbcl.lisp

; in: DEFUN SWANK/SBCL::LISP-SOURCE-LOCATION

;     (LET ((SWANK/SBCL::SOURCE

;            (PRIN1-TO-STRING

;             (SB-DEBUG::CODE-LOCATION-SOURCE-FORM
SWANK/SBCL::CODE-LOCATION 100)))

;           (CONDITION SWANK:*SWANK-DEBUGGER-CONDITION*))

;       (IF (AND (TYPEP CONDITION 'STEP-FORM-CONDITION)

;                (SEARCH "SB-IMPL::WITH-STEPPING-ENABLED"
SWANK/SBCL::SOURCE :TEST

;                        #'CHAR-EQUAL)

;                (SEARCH "SB-IMPL::STEP-FINISHED" SWANK/SBCL::SOURCE :TEST

;                        #'CHAR-EQUAL))

;           (SWANK/BACKEND:MAKE-ERROR-LOCATION "Stepping...")

;           (SWANK/BACKEND:MAKE-LOCATION `(:SOURCE-FORM ,SWANK/SBCL::SOURCE)

;                                        '(:POSITION 1))))

;

; caught WARNING:

;   undefined variable: SWANK:*SWANK-DEBUGGER-CONDITION*

;

; compilation unit finished

;   Undefined variables:

;     SWANK:*COMMUNICATION-STYLE* SWANK:*SWANK-DEBUGGER-CONDITION*

;   caught 3 WARNING conditions

; compiling file
"/home/np/.emacs.d/elpa/slime-20200319.1939/contrib/swank-util.lisp"
(written 20 MAR 2020 05:18:17 PM):


; wrote
/home/np/.slime/fasl/2.24/sbcl-1.4.16.debian-linux-x86-64/contrib/swank-util.fasl

; compilation finished in 0:00:00.344

; compiling file
"/home/np/.emacs.d/elpa/slime-20200319.1939/contrib/swank-repl.lisp"
(written 20 MAR 2020 05:18:17 PM):


; wrote
/home/np/.slime/fasl/2.24/sbcl-1.4.16.debian-linux-x86-64/contrib/swank-repl.fasl

; compilation finished in 0:00:00.955

; compiling file
"/home/np/.emacs.d/elpa/slime-20200319.1939/contrib/swank-c-p-c.lisp"
(written 20 MAR 2020 05:18:17 PM):


; wrote
/home/np/.slime/fasl/2.24/sbcl-1.4.16.debian-linux-x86-64/contrib/swank-c-p-c.fasl

; compilation finished in 0:00:00.736

; compiling file
"/home/np/.emacs.d/elpa/slime-20200319.1939/contrib/swank-arglists.lisp"
(written 20 MAR 2020 05:18:17 PM):


; file:
/home/np/.emacs.d/elpa/slime-20200319.1939/contrib/swank-arglists.lisp

; in: DEFSTRUCT KEYWORD-ARG

;     (DEFSTRUCT

;         (SWANK::KEYWORD-ARG (:CONC-NAME SWANK::KEYWORD-ARG.)

;          (:CONSTRUCTOR SWANK::%MAKE-KEYWORD-ARG))

;       KEYWORD

;       SWANK::ARG-NAME

;       SWANK::DEFAULT-ARG)

; --> PROGN EVAL-WHEN

; ==>

;   (SB-KERNEL::%COMPILER-DEFSTRUCT

;    '#<SB-KERNEL:DEFSTRUCT-DESCRIPTION SWANK::KEYWORD-ARG {1005155953}>

;    '#(#<SB-KERNEL:LAYOUT for T {50300003}>

;       #<SB-KERNEL:LAYOUT for STRUCTURE-OBJECT {50300083}>))

;

; caught STYLE-WARNING:

;   Previously compiled calls to SWANK::KEYWORD-ARG.KEYWORD,

;   SWANK::KEYWORD-ARG.ARG-NAME and SWANK::KEYWORD-ARG.DEFAULT-ARG could
not be

;   inlined because the structure definition for SWANK::KEYWORD-ARG was not
yet

;   seen. To avoid this warning, DEFSTRUCT should precede references to the

;   affected functions, or they must be declared locally notinline at each
call

;   site.


; in: DEFSTRUCT OPTIONAL-ARG

;     (DEFSTRUCT

;         (SWANK::OPTIONAL-ARG (:CONC-NAME SWANK::OPTIONAL-ARG.)

;          (:CONSTRUCTOR SWANK::%MAKE-OPTIONAL-ARG))

;       SWANK::ARG-NAME

;       SWANK::DEFAULT-ARG)

; --> PROGN EVAL-WHEN

; ==>

;   (SB-KERNEL::%COMPILER-DEFSTRUCT

;    '#<SB-KERNEL:DEFSTRUCT-DESCRIPTION SWANK::OPTIONAL-ARG {100557EFD3}>

;    '#(#<SB-KERNEL:LAYOUT for T {50300003}>

;       #<SB-KERNEL:LAYOUT for STRUCTURE-OBJECT {50300083}>))

;

; caught STYLE-WARNING:

;   Previously compiled calls to SWANK::OPTIONAL-ARG.ARG-NAME and

;   SWANK::OPTIONAL-ARG.DEFAULT-ARG could not be inlined because the
structure

;   definition for SWANK::OPTIONAL-ARG was not yet seen. To avoid this
warning,

;   DEFSTRUCT should precede references to the affected functions, or they
must be

;   declared locally notinline at each call site.


; in: DEFGENERIC EXTRACT-LOCAL-OP-ARGLISTS => DEF.BODY (CDDR CURRENT-DEF)

;     (CDDR SWANK::CURRENT-DEF)

; --> CDR CDR

; ==>

;   SWANK::CURRENT-DEF

;

; note: deleting unreachable code


; in: DEFGENERIC EXTRACT-LOCAL-OP-ARGLISTS

;     (SWANK::%COLLECT-OP/ARGL-ALIST SWANK::DEFS)

; ==>

;   SWANK::DEFS

;

; note: deleting unreachable code

;

; compilation unit finished

;   caught 2 STYLE-WARNING conditions

;   printed 2 notes



; wrote
/home/np/.slime/fasl/2.24/sbcl-1.4.16.debian-linux-x86-64/contrib/swank-arglists.fasl

; compilation finished in 0:00:11.448

; compiling file
"/home/np/.emacs.d/elpa/slime-20200319.1939/contrib/swank-fuzzy.lisp"
(written 20 MAR 2020 05:18:18 PM):


; file: /home/np/.emacs.d/elpa/slime-20200319.1939/contrib/swank-fuzzy.lisp

; in: DEFUN RECURSIVELY-COMPUTE-MOST-COMPLETIONS

;     (INCF SWANK::SHORT-INDEX)

; ==>

;   (SETQ SWANK::SHORT-INDEX (+ 1 SWANK::SHORT-INDEX))

;

; note: doing signed word to integer coercion (cost 20) to SHORT-INDEX

;

; compilation unit finished

;   printed 1 note



; wrote
/home/np/.slime/fasl/2.24/sbcl-1.4.16.debian-linux-x86-64/contrib/swank-fuzzy.fasl

; compilation finished in 0:00:01.915

; compiling file
"/home/np/.emacs.d/elpa/slime-20200319.1939/contrib/swank-fancy-inspector.lisp"
(written 20 MAR 2020 05:18:17 PM):


; wrote
/home/np/.slime/fasl/2.24/sbcl-1.4.16.debian-linux-x86-64/contrib/swank-fancy-inspector.fasl

; compilation finished in 0:00:06.231

; compiling file
"/home/np/.emacs.d/elpa/slime-20200319.1939/contrib/swank-presentations.lisp"
(written 20 MAR 2020 05:18:17 PM):


; file:
/home/np/.emacs.d/elpa/slime-20200319.1939/contrib/swank-presentations.lisp

; in: EVAL-WHEN (:COMPILE-TOPLEVEL :LOAD-TOPLEVEL :EXECUTE)

;     (SWANK:SWANK-REQUIRE :SWANK-REPL)

;

; caught WARNING:

;   SWANK-REPL also exports the following symbols:

;     (SWANK-REPL:CREATE-REPL SWANK-REPL:LISTENER-GET-VALUE

;      SWANK-REPL:CLEAR-REPL-VARIABLES SWANK-REPL:LISTENER-SAVE-VALUE

;      SWANK-REPL:LISTENER-EVAL SWANK-REPL:REDIRECT-TRACE-OUTPUT)

;   See also:

;     The ANSI Standard, Macro DEFPACKAGE

;     The SBCL Manual, Variable SB-EXT:*ON-PACKAGE-VARIANCE*

;

; caught STYLE-WARNING:

;   redefining THREAD-FOR-EVALUATION (#<STRUCTURE-CLASS
SWANK::MULTITHREADED-CONNECTION>

;                                     #<SB-MOP:EQL-SPECIALIZER
:FIND-EXISTING>) in DEFMETHOD

;

; compilation unit finished

;   caught 1 WARNING condition

;   caught 1 STYLE-WARNING condition



; wrote
/home/np/.slime/fasl/2.24/sbcl-1.4.16.debian-linux-x86-64/contrib/swank-presentations.fasl

; compilation finished in 0:00:00.636

; compiling file
"/home/np/.emacs.d/elpa/slime-20200319.1939/contrib/swank-presentation-streams.lisp"
(written 20 MAR 2020 05:18:17 PM):


; file:
/home/np/.emacs.d/elpa/slime-20200319.1939/contrib/swank-presentation-streams.lisp

; in: DEFUN PRESENTING-OBJECT-1

;     (SWANK::SLIME-STREAM-P STREAM)

;

; caught STYLE-WARNING:

;   undefined function: SWANK::SLIME-STREAM-P

;

; compilation unit finished

;   Undefined function:

;     SLIME-STREAM-P

;   caught 1 STYLE-WARNING condition


; wrote
/home/np/.slime/fasl/2.24/sbcl-1.4.16.debian-linux-x86-64/contrib/swank-presentation-streams.fasl

; compilation finished in 0:00:00.548

; compiling file
"/home/np/.emacs.d/elpa/slime-20200319.1939/contrib/swank-asdf.lisp"
(written 20 MAR 2020 05:18:17 PM):


; file: /home/np/.emacs.d/elpa/slime-20200319.1939/contrib/swank-asdf.lisp

; in: ASDEFS "2.26.149"

;     (SWANK::ASDEFS "2.26.149"

;                    (DEFMETHOD SWANK::COMPONENT-RELATIVE-PATHNAME

;                               ((SWANK::SYSTEM ASDF/SYSTEM:SYSTEM))

;                      (UIOP/BACKWARD-DRIVER:COERCE-PATHNAME

;                       (AND

;                        (SLOT-BOUNDP SWANK::SYSTEM

;                                     'ASDF/COMPONENT:RELATIVE-PATHNAME)

;                        (SLOT-VALUE SWANK::SYSTEM

;                                    'ASDF/COMPONENT:RELATIVE-PATHNAME))

;                       :TYPE :DIRECTORY :DEFAULTS

;                       (SWANK::SYSTEM-SOURCE-DIRECTORY SWANK::SYSTEM)))

;                    (DEFUN SWANK::LOAD-ASD

;                           (PATHNAME &KEY SWANK::NAME &ALLOW-OTHER-KEYS)

;                      (ASDF/BACKWARD-INTERNALS:LOAD-SYSDEF

;                       (OR SWANK::NAME (STRING-DOWNCASE #)) PATHNAME)))

; --> PROGN UNLESS IF IF DEFMETHOD PROGN EVAL-WHEN
SB-PCL::%DEFMETHOD-EXPANDER

; --> SB-PCL::LOAD-DEFMETHOD LIST* LET* SB-INT:NAMED-LAMBDA FUNCTION

; --> SYMBOL-MACROLET SB-PCL::FAST-LEXICAL-METHOD-FUNCTIONS

; --> SB-PCL::BIND-FAST-LEXICAL-METHOD-FUNCTIONS FLET SB-PCL::BIND-ARGS
LET*

; --> LOCALLY SYMBOL-MACROLET SB-PCL::PV-BINDING SB-PCL::PV-BINDING1

; --> SB-PCL::PV-ENV LOCALLY LET BLOCK

; ==>

;   (UIOP/BACKWARD-DRIVER:COERCE-PATHNAME

;    (IF (SB-PCL::OPTIMIZED-SLOT-BOUNDP

;         (SLOT-BOUNDP SWANK::SYSTEM 'ASDF/COMPONENT:RELATIVE-PATHNAME)

;         SWANK::SYSTEM

;         (SB-PCL::INSTANCE-BOUNDP (SB-PCL::PV-OFFSET 0) SWANK::SYSTEM 0

;                                  'ASDF/COMPONENT:RELATIVE-PATHNAME

;                                  '#<STANDARD-CLASS ASDF/SYSTEM:SYSTEM>))

;        (SB-PCL::OPTIMIZED-SLOT-VALUE

;         (SLOT-VALUE SWANK::SYSTEM 'ASDF/COMPONENT:RELATIVE-PATHNAME)

;         SWANK::SYSTEM

;         (SB-PCL::INSTANCE-READ (SB-PCL::PV-OFFSET 0) SWANK::SYSTEM 0

;                                'ASDF/COMPONENT:RELATIVE-PATHNAME

;                                '#<STANDARD-CLASS ASDF/SYSTEM:SYSTEM>)))

;    :TYPE :DIRECTORY :DEFAULTS (SWANK::SYSTEM-SOURCE-DIRECTORY
SWANK::SYSTEM))

;

; caught STYLE-WARNING:

;   DEPRECATED-FUNCTION-STYLE-WARNING: Using deprecated function
UIOP/BACKWARD-DRIVER:COERCE-PATHNAME -- please update your code to use a
newer API.

;   The docstring for this function says:

;   DEPRECATED. Please use UIOP:PARSE-UNIX-NAMESTRING instead.

;


; in: DEFUN LOAD-ASD

;     (ASDF/BACKWARD-INTERNALS:LOAD-SYSDEF

;      (OR SWANK::NAME (STRING-DOWNCASE (PATHNAME-NAME PATHNAME))) PATHNAME)

;

; caught STYLE-WARNING:

;   DEPRECATED-FUNCTION-STYLE-WARNING: Using deprecated function
ASDF/BACKWARD-INTERNALS:LOAD-SYSDEF -- please update your code to use a
newer API.


; in: DEFMETHOD XREF-DOIT ((EQL :DEPENDS-ON) T)

;     (ASDF/BACKWARD-INTERFACE:SYSTEM-DEFINITION-PATHNAME SWANK::DEPENDENCY)

;

; caught STYLE-WARNING:

;   DEPRECATED-FUNCTION-STYLE-WARNING: Using deprecated function
ASDF/BACKWARD-INTERFACE:SYSTEM-DEFINITION-PATHNAME -- please update your
code to use a newer API.

;   The docstring for this function says:

;   DEPRECATED. This function used to expose ASDF internals with subtle

;   differences with respect to user expectations, that have been refactored

;   away since. We recommend you use ASDF:SYSTEM-SOURCE-FILE instead for a

;   mostly compatible replacement that we're supporting, or even

;   ASDF:SYSTEM-SOURCE-DIRECTORY or ASDF:SYSTEM-RELATIVE-PATHNAME

;   if that's whay you mean.

;


; in: DEFSLIMEFUN ASDF-SYSTEM-FILES

;     (ASDF/BACKWARD-INTERFACE:SYSTEM-DEFINITION-PATHNAME SWANK::SYSTEM)

;

; caught STYLE-WARNING:

;   DEPRECATED-FUNCTION-STYLE-WARNING: Using deprecated function
ASDF/BACKWARD-INTERFACE:SYSTEM-DEFINITION-PATHNAME -- please update your
code to use a newer API.

;   The docstring for this function says:

;   DEPRECATED. This function used to expose ASDF internals with subtle

;   differences with respect to user expectations, that have been refactored

;   away since. We recommend you use ASDF:SYSTEM-SOURCE-FILE instead for a

;   mostly compatible replacement that we're supporting, or even

;   ASDF:SYSTEM-SOURCE-DIRECTORY or ASDF:SYSTEM-RELATIVE-PATHNAME

;   if that's whay you mean.

;


; file: /home/np/.emacs.d/elpa/slime-20200319.1939/contrib/swank-asdf.lisp

; in: DEFUN LOAD-SYSDEF

;     (ASDF/INTERFACE::MAKE-TEMPORARY-PACKAGE)

;

; caught STYLE-WARNING:

;   undefined function: ASDF/INTERFACE::MAKE-TEMPORARY-PACKAGE

;

; compilation unit finished

;   Undefined function:

;     ASDF/INTERFACE::MAKE-TEMPORARY-PACKAGE

;   caught 5 STYLE-WARNING conditions



; wrote
/home/np/.slime/fasl/2.24/sbcl-1.4.16.debian-linux-x86-64/contrib/swank-asdf.fasl

; compilation finished in 0:00:06.484

; compiling file
"/home/np/.emacs.d/elpa/slime-20200319.1939/contrib/swank-package-fu.lisp"
(written 20 MAR 2020 05:18:17 PM):


; wrote
/home/np/.slime/fasl/2.24/sbcl-1.4.16.debian-linux-x86-64/contrib/swank-package-fu.fasl

; compilation finished in 0:00:00.141

; compiling file
"/home/np/.emacs.d/elpa/slime-20200319.1939/contrib/swank-hyperdoc.lisp"
(written 20 MAR 2020 05:18:18 PM):


; wrote
/home/np/.slime/fasl/2.24/sbcl-1.4.16.debian-linux-x86-64/contrib/swank-hyperdoc.fasl

; compilation finished in 0:00:00.061

; compiling file
"/home/np/.emacs.d/elpa/slime-20200319.1939/contrib/swank-sbcl-exts.lisp"
(written 20 MAR 2020 05:18:18 PM):


; wrote
/home/np/.slime/fasl/2.24/sbcl-1.4.16.debian-linux-x86-64/contrib/swank-sbcl-exts.fasl

; compilation finished in 0:00:00.307

; compiling file
"/home/np/.emacs.d/elpa/slime-20200319.1939/contrib/swank-mrepl.lisp"
(written 20 MAR 2020 05:18:17 PM):


; wrote
/home/np/.slime/fasl/2.24/sbcl-1.4.16.debian-linux-x86-64/contrib/swank-mrepl.fasl

; compilation finished in 0:00:00.536

; compiling file
"/home/np/.emacs.d/elpa/slime-20200319.1939/contrib/swank-trace-dialog.lisp"
(written 20 MAR 2020 05:18:17 PM):


; wrote
/home/np/.slime/fasl/2.24/sbcl-1.4.16.debian-linux-x86-64/contrib/swank-trace-dialog.fasl

; compilation finished in 0:00:00.610

; compiling file
"/home/np/.emacs.d/elpa/slime-20200319.1939/contrib/swank-macrostep.lisp"
(written 20 MAR 2020 05:18:18 PM):


; wrote
/home/np/.slime/fasl/2.24/sbcl-1.4.16.debian-linux-x86-64/contrib/swank-macrostep.fasl

; compilation finished in 0:00:00.912

; compiling file
"/home/np/.emacs.d/elpa/slime-20200319.1939/contrib/swank-quicklisp.lisp"
(written 20 MAR 2020 05:18:18 PM):


; wrote
/home/np/.slime/fasl/2.24/sbcl-1.4.16.debian-linux-x86-64/contrib/swank-quicklisp.fasl

; compilation finished in 0:00:00.025

;; Swank started at port: 43191.

43191

*
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.common-lisp.net/pipermail/slime-devel/attachments/20200320/0f56d032/attachment-0001.htm>


More information about the slime-devel mailing list