tests/analyze-example.scm:52:4: warning: duplicate datum `1' in clause `((1) 2)' of case expression `(case 1 ((1) 1) ((1) 2))' [duplicate-case-datum]
   52 |  ((1) 2))
      |   ^~~
tests/analyze-example.scm:55:5: warning: datum `1' cannot be meaningfully compared using `eqv?' in clause `(("1") 1)' of case expression `(case 1 (("1") 1))' [duplicate-case-datum]
   55 |  (("1") 1))
      |    ^~~
tests/analyze-example.scm:11:1: warning: `foo~a ~abar': wrong number of `format' arguments: expected 2, got 0 [format]
   11 |(format #f "foo~a ~abar")
      |^~~~~~~~~~~~~~~~~~~~~~~~~
tests/analyze-example.scm:13:1: warning: `foo~{~abar': unterminated iteration [format]
   13 |(format #f "foo~{~abar" (list 1))
      |^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
tests/analyze-example.scm:14:1: warning: `foo~[~abar': unterminated conditional [format]
   14 |(format #f "foo~[~abar" 1)
      |^~~~~~~~~~~~~~~~~~~~~~~~~~
tests/analyze-example.scm:15:1: warning: `foo~;bar': unexpected `~;' [format]
   15 |(format #f "foo~;bar")
      |^~~~~~~~~~~~~~~~~~~~~~
note: `~;' is only valid within a conditional format
tests/analyze-example.scm:16:1: warning: `foo~]bar': unexpected `~]' [format]
   16 |(format #f "foo~]bar")
      |^~~~~~~~~~~~~~~~~~~~~~
tests/analyze-example.scm:17:9: warning: `1': wrong port argument [format]
   17 |(format 1 "1")
      |        ^
tests/analyze-example.scm:18:12: warning: `1': wrong format string [format]
   18 |(format #f 1)
      |           ^
tests/analyze-example.scm:20:14: warning: non-literal format string [format]
   20 |  (format #f (fmt)))
      |             ^~~~~
tests/analyze-example.scm:22:1: warning: wrong number of arguments (0) to `format' [format]
   22 |(format)
      |^~~~~~~~
note: The signature of `format' is: (format port fmt args...)
tests/analyze-example.scm:26:9: warning: definition of `buz' shadows previous definition [shadowed-toplevel]
   26 |(define buz 1)
      |        ^~~
tests/analyze-example.scm:24:10: note: shadowed definition is here
   24 |(define (buz) #f)
      |         ^~~
tests/analyze-example.scm:29:3: warning: unused variable `bar' [unused-variable]
tests/analyze-example.scm:35:5: warning: unused variable `y' [unused-variable]
tests/analyze-example.scm:35:5: warning: unused variable `y' [unused-variable]
tests/analyze-example.scm:34:3: warning: unused variable `x' [unused-variable]
tests/analyze-example.scm:48:5: warning: wrong number of arguments to `lexical-const' [arity-mismatch]
   48 |    (lexical-const)))
      |    ^~~~~~~~~~~~~~~
tests/analyze-example.scm:47:24: note: procedure `lexical-const' is defined here
   47 |  (let ((lexical-const (lambda (x) (lambda () x))))
      |                       ^~~~~~~~~~~~~~~~~~~~~~~~~~
tests/analyze-example.scm:24:10: warning: possibly unused local top-level variable `buz' [unused-toplevel]
   24 |(define (buz) #f)
      |         ^~~
tests/analyze-example.scm:26:9: warning: possibly unused local top-level variable `buz' [unused-toplevel]
   26 |(define buz 1)
      |        ^~~
tests/analyze-example.scm:28:9: warning: possibly unused local top-level variable `bol' [unused-toplevel]
   28 |(define bol
      |        ^~~
tests/analyze-example.scm:45:10: warning: possibly unused local top-level variable `try-arity' [unused-toplevel]
   45 |(define (try-arity)
      |         ^~~~~~~~~
tests/analyze-example.scm:5:16: warning: unused module `(ice-9 q)' [unused-module]
    5 |  #:use-module (ice-9 q)
      |               ^~~~~~~~~
tests/analyze-example.scm:6:16: warning: unused module `(ice-9 ftw)' [unused-module]
    6 |  #:use-module (ice-9 ftw)
      |               ^~~~~~~~~~~
tests/analyze-example.scm:46:3: warning: possibly wrong number of arguments to `const' [arity-mismatch]
   46 |  (const)
      |  ^~~~~~~
ice-9/boot-9.scm:807:10: note: procedure `const' is defined here
  807 |(define (const value)
      |         ^~~~~
tests/analyze-example.scm:22:1: warning: possibly wrong number of arguments to `format' [arity-mismatch]
   22 |(format)
      |^~~~~~~~
ice-9/format.scm:41:10: note: procedure `format' is defined here
   41 |(define (format destination format-string . format-args)
      |         ^~~~~~
tests/analyze-example.scm:37:8: warning: possibly unbound variable `bar' [unbound-variable]
   37 |      (bar))))
      |       ^~~
tests/analyze-example.scm:39:4: warning: `x` used before definition [use-before-definition]
   39 |(+ x)
      |   ^
tests/analyze-example.scm:41:9: note: definition is here
   41 |(define x (make-q))
      |        ^
tests/analyze-example.scm:43:9: warning: non-idempotent binding for `make-q'. When first loaded,
value for `make-q` comes from imported binding, but later module-local definition
overrides it; any module reload would capture module-local binding rather than
import. [non-idempotent-definition]
   43 |(define make-q (const 1))
      |        ^~~~~~
note: binding `make-q' was imported from `(ice-9 q)'
