Skip to content

Instantly share code, notes, and snippets.

@lukego
Created October 8, 2021 11:32
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save lukego/fca6cdff0c507b6c844bee5b9a09502c to your computer and use it in GitHub Desktop.
Save lukego/fca6cdff0c507b6c844bee5b9a09502c to your computer and use it in GitHub Desktop.
CFFI test log
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
100 57144 100 57144 0 0 845k 0 --:--:-- --:--:-- --:--:-- 845k
This is SBCL 2.1.2.nixos, 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.
==== quicklisp quickstart 2015-01-28 loaded ====
To continue with installation, evaluate: (quicklisp-quickstart:install)
For installation options, evaluate: (quicklisp-quickstart:help)
; Fetching #<URL "http://beta.quicklisp.org/client/quicklisp.sexp">
; 0.82KB
==================================================
839 bytes in 0.00 seconds (0.00KB/sec)
; Fetching #<URL "http://beta.quicklisp.org/client/2021-02-13/quicklisp.tar">
; 260.00KB
==================================================
266,240 bytes in 0.04 seconds (6341.31KB/sec)
; Fetching #<URL "http://beta.quicklisp.org/client/2021-02-11/setup.lisp">
; 4.94KB
==================================================
5,057 bytes in 0.00 seconds (0.00KB/sec)
; Fetching #<URL "http://beta.quicklisp.org/asdf/3.2.1/asdf.lisp">
; 628.18KB
==================================================
643,253 bytes in 0.05 seconds (11421.40KB/sec)
; Fetching #<URL "http://beta.quicklisp.org/dist/quicklisp.txt">
; 0.40KB
==================================================
408 bytes in 0.00 seconds (0.00KB/sec)
Installing dist "quicklisp" version "2021-08-07".
; Fetching #<URL "http://beta.quicklisp.org/dist/quicklisp/2021-08-07/releases.txt">
; 494.27KB
==================================================
506,134 bytes in 0.05 seconds (10983.57KB/sec)
; Fetching #<URL "http://beta.quicklisp.org/dist/quicklisp/2021-08-07/systems.txt">
; 365.62KB
==================================================
374,391 bytes in 0.04 seconds (8705.15KB/sec)
==== quicklisp installed ====
To load a system, use: (ql:quickload "system-name")
To find systems, use: (ql:system-apropos "term")
To load Quicklisp every time you start Lisp, use: (ql:add-to-init-file)
For more information, see http://www.quicklisp.org/beta/
(load "quicklisp/setup.lisp")
(ql:register-local-projects)
(ql:quickload :trivial-features)
(ql:quickload :cffi-tests)
(asdf:oos 'asdf:test-op :cffi)
;(ql:quickload :mgl)
(quit)
This is SBCL 2.1.2.nixos, 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.
To load "trivial-features":
Load 1 ASDF system:
asdf
Install 1 Quicklisp release:
trivial-features
; Fetching #<URL "http://beta.quicklisp.org/archive/trivial-features/2021-04-11/trivial-features-20210411-git.tgz">
; 11.09KB
==================================================
11,355 bytes in 0.00 seconds (0.00KB/sec)
; Loading "trivial-features"
To load "cffi-tests":
Load 3 ASDF systems:
asdf trivial-features uiop
Install 5 Quicklisp releases:
alexandria babel bordeaux-threads cffi rt
; Fetching #<URL "http://beta.quicklisp.org/archive/rt/2010-10-06/rt-20101006-git.tgz">
; 10.43KB
==================================================
10,676 bytes in 0.00 seconds (0.00KB/sec)
; Fetching #<URL "http://beta.quicklisp.org/archive/babel/2020-09-25/babel-20200925-git.tgz">
; 266.93KB
==================================================
273,336 bytes in 0.04 seconds (6355.47KB/sec)
; Fetching #<URL "http://beta.quicklisp.org/archive/alexandria/2021-08-07/alexandria-20210807-git.tgz">
; 54.50KB
==================================================
55,809 bytes in 0.01 seconds (3892.93KB/sec)
; Fetching #<URL "http://beta.quicklisp.org/archive/bordeaux-threads/2020-06-10/bordeaux-threads-v0.8.8.tgz">
; 23.15KB
==================================================
23,709 bytes in 0.00 seconds (23153.32KB/sec)
; Fetching #<URL "http://beta.quicklisp.org/archive/cffi/2021-04-11/cffi_0.24.1.tgz">
; 255.97KB
==================================================
262,118 bytes in 0.04 seconds (5952.90KB/sec)
; Loading "cffi-tests"
[package alexandria]..............................
[package alexandria-2]............................
[package babel-encodings].........................
[package babel]...................................
..................................................
[package cffi-sys]................................
[package cffi]....................................
..................................................
[package cffi-features]................./tmp/tmp.eg2KHIyRST/.cache/common-lisp/sbcl-2.1.2.nixos-linux-x64/tmp/tmp.eg2KHIyRST/quicklisp/dists/quicklisp/software/cffi_0.24.1/libffi/libffi-types__grovel.c: In function ‘main’:
/tmp/tmp.eg2KHIyRST/.cache/common-lisp/sbcl-2.1.2.nixos-linux-x64/tmp/tmp.eg2KHIyRST/quicklisp/dists/quicklisp/software/cffi_0.24.1/libffi/libffi-types__grovel.c:12:7: warning: unused variable ‘autotype_tmp’ [-Wunused-variable]
12 | int autotype_tmp;
| ^~~~~~~~~~~~
..........
[package bordeaux-threads]........................
[package regression-test]..../tmp/tmp.eg2KHIyRST/quicklisp/dists/quicklisp/software/cffi_0.24.1/tests/libfsbv.c: In function ‘returnpairpointer’:
/tmp/tmp.eg2KHIyRST/quicklisp/dists/quicklisp/software/cffi_0.24.1/tests/libfsbv.c:127:10: warning: return discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
127 | return &static_pair;
| ^~~~~~~~~~~~
/tmp/tmp.eg2KHIyRST/quicklisp/dists/quicklisp/software/cffi_0.24.1/tests/libfsbv.c:125:60: warning: unused parameter ‘ignored’ [-Wunused-parameter]
125 | struct struct_pair * returnpairpointer (struct struct_pair ignored)
| ~~~~~~~~~~~~~~~~~~~^~~~~~~
.....................
[package cffi-tests]..............................
...........
WARNING:
Deprecated recursive use of (ASDF/OPERATE:OPERATE 'ASDF/LISP-ACTION:TEST-OP
'("cffi-tests")) while visiting (ASDF/LISP-ACTION:TEST-OP "cffi") - please
use proper dependencies instead
;;; running tests (uncompiled)
Doing 332 pending tests of 332 tests total.
LOAD-CORE-FOUNDATION FUNCALL.CHAR FUNCALL.INT.1 FUNCALL.INT.2 FUNCALL.LONG
FUNCALL.LONG-LONG FUNCALL.UNSIGNED-LONG-LONG FUNCALL.FLOAT FUNCALL.DOUBLE
FUNCALL.STRING.1 FUNCALL.STRING.2 FUNCALL.STRING.3 FUNCALL.VARARGS.NOSTDLIB
FUNCALL.VARARGS.CHAR FUNCALL.VARARGS.INT FUNCALL.VARARGS.LONG
FUNCALL.VARARGS.DOUBLE FUNCALL.VARARGS.STRING FUNCALL.DOUBLE26 FUNCALL.FLOAT26
FUNCALL.F-S-P.1 FUNCALL.NIL-SKIP FUNCALL.POINTER-NOT-NIL
DEFCFUN.PARSE-NAME-AND-OPTIONS.1 DEFCFUN.PARSE-NAME-AND-OPTIONS.2
DEFCFUN.PARSE-NAME-AND-OPTIONS.3 DEFCFUN.PARSE-NAME-AND-OPTIONS.4
DEFCFUN.PARSE-NAME-AND-OPTIONS.5 DEFCFUN.PARSE-NAME-AND-OPTIONS.6
DEFCFUN.PARSE-NAME-AND-OPTIONS.7 DEFCFUN.PARSE-NAME-AND-OPTIONS.8
TRANSLATE-UNDERSCORE-SEPARATED-NAME.TO-SYMBOL
TRANSLATE-UNDERSCORE-SEPARATED-NAME.TO-STRING
TRANSLATE-CAMELCASE-NAME.TO-SYMBOL TRANSLATE-CAMELCASE-NAME.TO-STRING
TRANSLATE-CAMELCASE-NAME.TO-STRING-UPPER
TRANSLATE-CAMELCASE-NAME.TO-SYMBOL-SPECIAL
TRANSLATE-CAMELCASE-NAME.TO-STRING-SPECIAL TRANSLATE-NAME-FROM-FOREIGN.FUNCTION
TRANSLATE-NAME-FROM-FOREIGN.VAR TRANSLATE-NAME-TO-FOREIGN.FUNCTION
TRANSLATE-NAME-TO-FOREIGN.VAR DEFCFUN.CHAR DEFCFUN.DOCSTRING DEFCFUN.INT
DEFCFUN.LONG DEFCFUN.LONG-LONG DEFCFUN.UNSIGNED-LONG-LONG DEFCFUN.FLOAT
DEFCFUN.DOUBLE DEFCFUN.STRING.1 DEFCFUN.STRING.2 DEFCFUN.STRING.3
DEFCFUN.NOARGS DEFCFUN.NOOP DEFCFUN.VARARGS.NOSTDLIB DEFCFUN.VARARGS.DOCSTRINGS
DEFCFUN.VARARGS.CHAR DEFCFUN.VARARGS.SHORT DEFCFUN.VARARGS.INT
DEFCFUN.VARARGS.LONG DEFCFUN.VARARGS.FLOAT DEFCFUN.VARARGS.DOUBLE
DEFCFUN.VARARGS.STRING DEFCFUN.BFF.1 DEFCFUN.BFF.2 DEFCFUN.UNDEFINED
DEFCFUN.DOUBLE26 DEFCFUN.FLOAT26 CALLBACKS.CHAR CALLBACKS.UNSIGNED-CHAR
CALLBACKS.SHORT CALLBACKS.UNSIGNED-SHORT CALLBACKS.INT CALLBACKS.UNSIGNED-INT
CALLBACKS.LONG CALLBACKS.UNSIGNED-LONG CALLBACKS.LONG-LONG
CALLBACKS.UNSIGNED-LONG-LONG CALLBACKS.FLOAT CALLBACKS.DOUBLE CALLBACKS.POINTER
CALLBACKS.STRING CALLBACKS.STRING-NOT-DOCSTRING CALLBACKS.NIL-FOR-NULL
CALLBACKS.QSORT CALLBACKS.VOID CALLBACKS.FUNCALL.1 CALLBACKS.FUNCALL.2
CALLBACKS.BFF.1 CALLBACKS.BFF.2 CALLBACKS.NON-EXISTANT CALLBACKS.DOUBLE26
CALLBACKS.DOUBLE26.FUNCALL CALLBACKS.FLOAT26 CALLBACKS.FLOAT26.FUNCALL
CALLBACKS.UNINTERNED FOREIGN-GLOBALS.REF.CHAR FOREIGN-GLOBALS.REF.UNSIGNED-CHAR
FOREIGN-GLOBALS.REF.SHORT FOREIGN-GLOBALS.REF.UNSIGNED-SHORT
FOREIGN-GLOBALS.REF.INT FOREIGN-GLOBALS.REF.UNSIGNED-INT
FOREIGN-GLOBALS.REF.LONG FOREIGN-GLOBALS.REF.UNSIGNED-LONG
FOREIGN-GLOBALS.REF.FLOAT FOREIGN-GLOBALS.REF.DOUBLE
FOREIGN-GLOBALS.REF.POINTER FOREIGN-GLOBALS.REF.STRING
FOREIGN-GLOBALS.REF.LONG-LONG FOREIGN-GLOBALS.REF.UNSIGNED-LONG-LONG
FOREIGN-GLOBALS.SET.INT FOREIGN-GLOBALS.SET.STRING
FOREIGN-GLOBALS.SET.LONG-LONG FOREIGN-GLOBALS.GET-VAR-POINTER.1
FOREIGN-GLOBALS.GET-VAR-POINTER.2 FOREIGN-GLOBALS.REF.UPPERCASEINT1
FOREIGN-GLOBALS.REF.UPPER-CASE-INT1 FOREIGN-GLOBALS.REF.MIXEDCASEINT1
FOREIGN-GLOBALS.REF.MIXED-CASE-INT1 FOREIGN-GLOBALS.REF.UPPERCASEINT2
FOREIGN-GLOBALS.REF.UPPER-CASE-INT2 FOREIGN-GLOBALS.REF.MIXEDCASEINT2
FOREIGN-GLOBALS.REF.MIXED-CASE-INT2 FOREIGN-GLOBALS.REF.UPPERCASEINT3
FOREIGN-GLOBALS.REF.UPPER-CASE-INT3 FOREIGN-GLOBALS.REF.MIXEDCASEINT3
FOREIGN-GLOBALS.REF.MIXED-CASE-INT3 FOREIGN-GLOBALS.SYMBOL-NAME
FOREIGN-GLOBALS.READ-ONLY.1 DEFCVAR.DOCSTRING FOREIGN-GLOBALS.UNDEFINED.1
FOREIGN-GLOBALS.ERROR.1 DEREF.CHAR DEREF.UNSIGNED-CHAR DEREF.SHORT
DEREF.UNSIGNED-SHORT DEREF.INT DEREF.UNSIGNED-INT DEREF.LONG
DEREF.UNSIGNED-LONG DEREF.LONG-LONG DEREF.UNSIGNED-LONG-LONG DEREF.FLOAT.1
DEREF.FLOAT.2 DEREF.FLOAT.3 DEREF.DOUBLE.1 DEREF.DOUBLE.2 DEREF.DOUBLE.3
DEREF.POINTER.NULL LISP-STRING-TO-FOREIGN.EMPTY WITH-FOREIGN-POINTER.EVALX2
WITH-FOREIGN-POINTER.CONSTANT-SIZE MEM-REF.LEFT-TO-RIGHT %MEM-REF.LEFT-TO-RIGHT
%MEM-SET.LEFT-TO-RIGHT MEM-AREF.EVAL-TYPE-X2 MEM-AREF.LEFT-TO-RIGHT
MEM-REF.NESTED MEM-AREF.NESTED MEM-AREF.BARE-STRUCT DEREF.AGGREGATE
DEREF.ARRAY-OF-AGGREGATES POINTER.1 POINTER.2; in: NTH-VALUE 0
; (CFFI-SYS:NULL-POINTER-P NIL)
;
; caught WARNING:
; Constant NIL conflicts with its asserted type SB-SYS:SYSTEM-AREA-POINTER.
; See also:
; The SBCL Manual, Node "Handling of Types"
POINTER.NULL
FOREIGN-POINTER-TYPE.NIL MAKE-POINTER.HIGH INC-POINTER.ZERO FOREIGN-ALLOC.1
FOREIGN-ALLOC.2 FOREIGN-ALLOC.3 FOREIGN-ALLOC.4 FOREIGN-ALLOC.5 FOREIGN-ALLOC.6
FOREIGN-ALLOC.7 FOREIGN-ALLOC.8 FOREIGN-ALLOC.9 FOREIGN-ALLOC.10
DEREF.NONCONST.CHAR DEREF.NONCONST.UNSIGNED-CHAR DEREF.NONCONST.SHORT
DEREF.NONCONST.UNSIGNED-SHORT DEREF.NONCONST.INT DEREF.NONCONST.UNSIGNED-INT
DEREF.NONCONST.LONG DEREF.NONCONST.UNSIGNED-LONG DEREF.NONCONST.LONG-LONG
DEREF.NONCONST.UNSIGNED-LONG-LONG DEREF.NONCONST.FLOAT.1 DEREF.NONCONST.FLOAT.2
DEREF.NONCONST.FLOAT.3 DEREF.NONCONST.DOUBLE.1 DEREF.NONCONST.DOUBLE.2
DEREF.NONCONST.DOUBLE.3 MEM-REF.RT.1 MEM-REF.RT.2 INCF-POINTER.1 INCF-POINTER.2
POINTERP.1 POINTERP.2 POINTERP.3 POINTERP.4 POINTERP.5 POINTERP.6
MEM-REF.SETF.1 MEM-REF.SETF.2; in: EXPECTING-ERROR (POINTER-EQ 1 2)
; (CFFI-SYS:POINTER-EQ 1 2)
;
; caught WARNING:
; Constant 1 conflicts with its asserted type SB-SYS:SYSTEM-AREA-POINTER.
; See also:
; The SBCL Manual, Node "Handling of Types"
POINTER-EQ.NON-POINTERS.1; in: EXPECTING-ERROR (POINTER-EQ 'A 'B)
; (CFFI-SYS:POINTER-EQ 'CFFI-TESTS::A 'CFFI-TESTS::B)
;
; caught WARNING:
; Constant A conflicts with its asserted type SB-SYS:SYSTEM-AREA-POINTER.
; See also:
; The SBCL Manual, Node "Handling of Types"
POINTER-EQ.NON-POINTERS.2; in: EXPECTING-ERROR (NULL-POINTER-P 'NOT-A-POINTER)
; (CFFI-SYS:NULL-POINTER-P 'CFFI-TESTS::NOT-A-POINTER)
;
; caught WARNING:
; Constant
; NOT-A-POINTER conflicts with its asserted type
; SB-SYS:SYSTEM-AREA-POINTER.
; See also:
; The SBCL Manual, Node "Handling of Types"
NULL-POINTER-P.NON-POINTER.1; in: EXPECTING-ERROR (NULL-POINTER-P 0)
; (CFFI-SYS:NULL-POINTER-P 0)
;
; caught WARNING:
; Constant 0 conflicts with its asserted type SB-SYS:SYSTEM-AREA-POINTER.
; See also:
; The SBCL Manual, Node "Handling of Types"
NULL-POINTER-P.NON-POINTER.2; in: EXPECTING-ERROR (NULL-POINTER-P NIL)
; (CFFI-SYS:NULL-POINTER-P NIL)
;
; caught WARNING:
; Constant NIL conflicts with its asserted type SB-SYS:SYSTEM-AREA-POINTER.
; See also:
; The SBCL Manual, Node "Handling of Types"
NULL-POINTER-P.NON-POINTER.3
STRING.CONVERSION.BASIC STRING.CONVERSION.BASIC.2 STRING.ENCODING.ASCII
STRING.ENCODING.UTF-16LE.BASIC STRING.ENCODING.UTF-16BE.BASIC
STRING.SHORT-WRITE.1 STRING.ENCODING.UTF-8.BASIC STRING.ENCODINGS.ALL.BASIC
STRING.ENCODINGS.DEFAULT ARRAY.FOREIGN-TO-LISP.BASIC
ARRAY.FOREIGN-TO-LISP.ADJUSTABLE ARRAY.FOREIGN-TO-LISP.DISPLACED
ARRAY.FOREIGN-TO-LISP.SPECIALIZED STRUCT.1 STRUCT.2 STRUCT.3 STRUCT.4
STRUCT.NAMES STRUCT.5 STRUCT.STRING.1 STRUCT.STRING.2 STRUCT.ALIGNMENT.1
STRUCT.ALIGNMENT.2 STRUCT.ALIGNMENT.3 STRUCT.ALIGNMENT.4 STRUCT.ALIGNMENT.5
STRUCT.ALIGNMENT.6 STRUCT.ALIGNMENT.7 STRUCT.NESTED-SETF STRUCT.ALIGNMENT.8
STRUCT-WRAPPER.1 STRUCT-WRAPPER.2 STRUCT.UNPARSE.1 STRUCT.CANONICALIZE.1
STRUCT.CANONICALIZE.2 STRUCT-VALUES.TRANSLATION.1
STRUCT-VALUES.TRANSLATION.MEM-REF.1 STRUCT-VALUES.TRANSLATION.MEM-AREF.1
STRUCT-VALUES-DEFAULT.TRANSLATION.MEM-REF.1
STRUCT-VALUES-DEFAULT.TRANSLATION.MEM-REF.2 STRUCT-VALUES.FN.1
STRUCT-VALUES.FN.2 BARE-STRUCT-TYPES.1 BARE-STRUCT-TYPES.2
OLD-STYLE-STRUCT-ACCESS NEW-STYLE-STRUCT-ACCESS SET-AGGREGATE-STRUCT-SLOT
SET-AGGREGATE-STRUCT-SLOT.ACC UNION.1 ENUM.1 ENUM.2 ENUM.3 ENUM.TYPEDEF.1
ENUM.TYPEDEF.2 ENUM.SIZE ENUM.SIZE.MEMBERS ENUM.SIZE.ERROR-WHEN-TOO-LARGE
ENUM.DOUBLE ENUM.UNDECLARED BITFIELD.1 BITFIELD.2 BITFIELD.2.OUTLIER BITFIELD.3
BITFIELD.4 BITFIELD.4B BITFIELD.TRANSLATORS FSBV.1
Test FSBV.WFO failed
Form: (WITH-FOREIGN-OBJECT (ARG '(:STRUCT STRUCT-PAIR))
(CONVERT-INTO-FOREIGN-MEMORY '(40 . 2) '(:STRUCT STRUCT-PAIR) ARG)
(SUMPAIR ARG))
Expected value: 42
Actual value: #<TYPE-ERROR expected-type: LIST
datum: #.(SB-SYS:INT-SAP #X7F74480F7FF0)>.
FSBV.2
Test FSBV.MAKEPAIR.1 failed
Form: (MAKEPAIR NIL)
Expected value: (-127 . 43)
Actual value: #<TYPE-ERROR expected-type: SB-SYS:SYSTEM-AREA-POINTER datum: 0>.
Test FSBV.MAKEPAIR.2 failed
Form: (MAKEPAIR T)
Expected value: (-127 . 42)
Actual value: #<TYPE-ERROR expected-type: SB-SYS:SYSTEM-AREA-POINTER datum: 1>.
FSBV.3 FSBV.4 FSBV.5 FSBV.RETURN-A-POINTER FSBV.6 FSBV.7 FSBV.8
FSBV.STRUCT-BITFIELD.0 FSBV.STRUCT-BITFIELD.1 FSBV.STRUCT-BITFIELD.2
FSBV.STRUCT-BITFIELD.3 FSBV.NOARGS-WITH-TYPEDEF FSBV.RETURN-VALUE-TYPEDEF
MISC-TYPES.STRING+PTR MISC-TYPES.BOOLEAN.1 MISC-TYPES.SIZEOF.BOOL
MISC-TYPES.BOOL.CONVERT-TO-FOREIGN.MEM MISC-TYPES.BOOL.CONVERT-TO-FOREIGN.CALL
MISC-TYPES.BOOL.CONVERT-FROM-FOREIGN.MEM
MISC-TYPES.BOOL.CONVERT-FROM-FOREIGN.CALL MISC-TYPES.BOOLEAN.2
MISC-TYPES.WRAPPER MISC-TYPES.SIZED-INTS MISC-TYPES.EXPAND.1
MISC-TYPES.EXPAND.2 MISC-TYPES.EXPAND.3 MISC-TYPES.EXPAND.4 MISC-TYPES.EXPAND.5
MISC-TYPES.EXPAND.6 MISC-TYPE.EXPAND.7 MISC-TYPE.EXPAND.8
MISC-TYPES.SIZEOF.PTRDIFF MISC-TYPES.SIZEOF.SIZE MISC-TYPES.SIZEOF.OFFSET
MISC-TYPES.SIZEOF.UINTPTR MISC-TYPES.SIZEOF.INTPTR FOREIGN-SYMBOL-POINTER.1
FOREIGN-SYMBOL-POINTER.2 LIBRARY.ERROR.1 LIBRARY.T-CLAUSE LIBRARY.ERROR.2
LIBRARY.ERROR.3 SHAREABLE-VECTOR.1 SHAREABLE-VECTOR.2WARNING:
Deprecated recursive use of (ASDF/OPERATE:OPERATE
'CFFI-TOOLCHAIN:STATIC-PROGRAM-OP '("cffi-tests/example")) while visiting
(ASDF/LISP-ACTION:TEST-OP "cffi-tests") - please use proper dependencies
instead
; compiling file "/tmp/tmp.eg2KHIyRST/quicklisp/dists/quicklisp/software/cffi_0.24.1/examples/package.lisp" (written 08 OCT 2021 01:31:17 PM):
; processing (DEFPACKAGE #:CFFI-EXAMPLE ...)
; wrote /tmp/tmp.eg2KHIyRST/.cache/common-lisp/sbcl-2.1.2.nixos-linux-x64/tmp/tmp.eg2KHIyRST/quicklisp/dists/quicklisp/software/cffi_0.24.1/examples/package-tmpLYQINFYS.fasl
; compilation finished in 0:00:00.000
; compiling file "/tmp/tmp.eg2KHIyRST/.cache/common-lisp/sbcl-2.1.2.nixos-linux-x64/tmp/tmp.eg2KHIyRST/quicklisp/dists/quicklisp/software/cffi_0.24.1/examples/wrapper-example.processed-wrapper-file" (written 08 OCT 2021 01:31:22 PM):
; processing (DEFINE-FOREIGN-LIBRARY (:WRAPPER-EXAMPLE :TYPE ...) ...)
; processing (USE-FOREIGN-LIBRARY :WRAPPER-EXAMPLE)
; processing (IN-PACKAGE #:CFFI-EXAMPLE)
; processing (DEFCFUN ("b0_cffi_wrap" B0 ...) ...)
; processing (DEFCFUN ("b1_cffi_wrap" B1 ...) ...)
; processing (DEFCFUN ("b2_cffi_wrap" B2 ...) ...)
; processing (DEFCFUN ("b3_cffi_wrap" B3 ...) ...)
; processing (DEFCFUN ("b4_cffi_wrap" B4 ...) ...)
; processing (DEFCFUN ("bn_cffi_wrap" BN ...) ...)
; wrote /tmp/tmp.eg2KHIyRST/.cache/common-lisp/sbcl-2.1.2.nixos-linux-x64/tmp/tmp.eg2KHIyRST/quicklisp/dists/quicklisp/software/cffi_0.24.1/examples/wrapper-example-tmp5HT23M6C.fasl
; compilation finished in 0:00:00.003
/tmp/tmp.eg2KHIyRST/.cache/common-lisp/sbcl-2.1.2.nixos-linux-x64/tmp/tmp.eg2KHIyRST/quicklisp/dists/quicklisp/software/cffi_0.24.1/examples/grovel-example__grovel.c: In function ‘main’:
/tmp/tmp.eg2KHIyRST/.cache/common-lisp/sbcl-2.1.2.nixos-linux-x64/tmp/tmp.eg2KHIyRST/quicklisp/dists/quicklisp/software/cffi_0.24.1/examples/grovel-example__grovel.c:21:7: warning: unused variable ‘autotype_tmp’ [-Wunused-variable]
21 | int autotype_tmp;
| ^~~~~~~~~~~~
; compiling file "/tmp/tmp.eg2KHIyRST/.cache/common-lisp/sbcl-2.1.2.nixos-linux-x64/tmp/tmp.eg2KHIyRST/quicklisp/dists/quicklisp/software/cffi_0.24.1/examples/grovel-example.processed-grovel-file" (written 08 OCT 2021 01:31:23 PM):
; processing (IN-PACKAGE #:CFFI-EXAMPLE)
; processing (DEFCONSTANT +A0+ ...)
; processing (DEFCONSTANT +A1+ ...)
; processing (DEFCONSTANT +A2+ ...)
; processing (DEFCONSTANT +A3+ ...)
; processing (DEFCONSTANT +A4+ ...)
; wrote /tmp/tmp.eg2KHIyRST/.cache/common-lisp/sbcl-2.1.2.nixos-linux-x64/tmp/tmp.eg2KHIyRST/quicklisp/dists/quicklisp/software/cffi_0.24.1/examples/grovel-example-tmpGOW1GC70.fasl
; compilation finished in 0:00:00.000
; compiling file "/tmp/tmp.eg2KHIyRST/quicklisp/dists/quicklisp/software/cffi_0.24.1/examples/main-example.lisp" (written 08 OCT 2021 01:31:17 PM):
; processing (IN-PACKAGE #:CFFI-EXAMPLE)
; processing (DEFCFUN "puts" ...)
; processing (DEFUN CHECK-GROVELLER ...)
; processing (DEFUN ENTRY-POINT ...)
; wrote /tmp/tmp.eg2KHIyRST/.cache/common-lisp/sbcl-2.1.2.nixos-linux-x64/tmp/tmp.eg2KHIyRST/quicklisp/dists/quicklisp/software/cffi_0.24.1/examples/main-example-tmpPQ1X28TL.fasl
; compilation finished in 0:00:00.003
/nix/store/v8imx1nvyz0hgvx9cbcmh6gp4ngw3ffj-binutils-2.35.1/bin/ld: /nix/store/9bh3986bpragfjmr32gay8p95k91q4gy-glibc-2.33-47/lib/crt1.o: in function `_start':
/build/glibc-2.33/csu/../sysdeps/x86_64/start.S:104: undefined reference to `main'
collect2: error: ld returned 1 exit status
Test TEST-STATIC-PROGRAM failed
Form: (PROGN
(ASDF/OPERATE:OPERATE :STATIC-PROGRAM-OP :CFFI-TESTS/EXAMPLE)
(LET ((PROGRAM
(ASDF/ACTION:OUTPUT-FILE :STATIC-PROGRAM-OP :CFFI-TESTS/EXAMPLE)))
(UIOP/RUN-PROGRAM:RUN-PROGRAM
`(,(NATIVE-NAMESTRING PROGRAM) "1" "2 3") :OUTPUT :LINES)))
Expected values: ("Arguments: 1 \"2 3\"" "hello, world!")
NIL
0
Actual value: #<UIOP/RUN-PROGRAM:SUBPROCESS-ERROR {100305A843}>.
WARNING:
Deprecated recursive use of (ASDF/OPERATE:OPERATE 'ASDF/LISP-ACTION:LOAD-OP
'("cffi-tests/example")) while visiting
(ASDF/LISP-ACTION:TEST-OP "cffi-tests") - please use proper dependencies
instead
TEST-ASDF-LOADtest
%INVOKE/tmp/tmpJE88A12F__grovel.c: In function ‘main’:
/tmp/tmpJE88A12F__grovel.c:10:7: warning: unused variable ‘autotype_tmp’ [-Wunused-variable]
10 | int autotype_tmp;
| ^~~~~~~~~~~~
/tmp/tmpZ18MA7XE__grovel.c: In function ‘main’:
/tmp/tmpZ18MA7XE__grovel.c:10:7: warning: unused variable ‘autotype_tmp’ [-Wunused-variable]
10 | int autotype_tmp;
| ^~~~~~~~~~~~
/tmp/tmpWOTC3PB7__grovel.c: In function ‘main’:
/tmp/tmpWOTC3PB7__grovel.c:10:7: warning: unused variable ‘autotype_tmp’ [-Wunused-variable]
10 | int autotype_tmp;
| ^~~~~~~~~~~~
/tmp/tmpP6A3E92I__grovel.c: In function ‘main’:
/tmp/tmpP6A3E92I__grovel.c:10:7: warning: unused variable ‘autotype_tmp’ [-Wunused-variable]
10 | int autotype_tmp;
| ^~~~~~~~~~~~
/tmp/tmpQXR7SNXD__grovel.c: In function ‘main’:
/tmp/tmpQXR7SNXD__grovel.c:10:7: warning: unused variable ‘autotype_tmp’ [-Wunused-variable]
10 | int autotype_tmp;
| ^~~~~~~~~~~~
/tmp/tmpUVEUD2ZN__grovel.c: In function ‘main’:
/tmp/tmpUVEUD2ZN__grovel.c:10:7: warning: unused variable ‘autotype_tmp’ [-Wunused-variable]
10 | int autotype_tmp;
| ^~~~~~~~~~~~
/tmp/tmpN3CFVWZF__grovel.c: In function ‘main’:
/tmp/tmpN3CFVWZF__grovel.c:10:7: warning: unused variable ‘autotype_tmp’ [-Wunused-variable]
10 | int autotype_tmp;
| ^~~~~~~~~~~~
/tmp/tmp758YUXMV__grovel.c: In function ‘main’:
/tmp/tmp758YUXMV__grovel.c:10:7: warning: unused variable ‘autotype_tmp’ [-Wunused-variable]
10 | int autotype_tmp;
| ^~~~~~~~~~~~
/tmp/tmpMXPMJ5KG__grovel.c: In function ‘main’:
/tmp/tmpMXPMJ5KG__grovel.c:10:7: warning: unused variable ‘autotype_tmp’ [-Wunused-variable]
10 | int autotype_tmp;
| ^~~~~~~~~~~~
/tmp/tmpW045U8V2__grovel.c: In function ‘main’:
/tmp/tmpW045U8V2__grovel.c:10:7: warning: unused variable ‘autotype_tmp’ [-Wunused-variable]
10 | int autotype_tmp;
| ^~~~~~~~~~~~
/tmp/tmpRW73Q691__grovel.c: In function ‘main’:
/tmp/tmpRW73Q691__grovel.c:10:7: warning: unused variable ‘autotype_tmp’ [-Wunused-variable]
10 | int autotype_tmp;
| ^~~~~~~~~~~~
/tmp/tmpOPW41KDL__grovel.c: In function ‘main’:
/tmp/tmpOPW41KDL__grovel.c:10:7: warning: unused variable ‘autotype_tmp’ [-Wunused-variable]
10 | int autotype_tmp;
| ^~~~~~~~~~~~
/tmp/tmpP264WQ6O__grovel.c: In function ‘main’:
/tmp/tmpP264WQ6O__grovel.c:10:7: warning: unused variable ‘autotype_tmp’ [-Wunused-variable]
10 | int autotype_tmp;
| ^~~~~~~~~~~~
/tmp/tmpVTMW561L__grovel.c: In function ‘main’:
/tmp/tmpVTMW561L__grovel.c:10:7: warning: unused variable ‘autotype_tmp’ [-Wunused-variable]
10 | int autotype_tmp;
| ^~~~~~~~~~~~
/tmp/tmpGE7QNNEE__grovel.c: In function ‘main’:
/tmp/tmpGE7QNNEE__grovel.c:10:7: warning: unused variable ‘autotype_tmp’ [-Wunused-variable]
10 | int autotype_tmp;
| ^~~~~~~~~~~~
/tmp/tmpAOF1CYAS__grovel.c: In function ‘main’:
/tmp/tmpAOF1CYAS__grovel.c:10:7: warning: unused variable ‘autotype_tmp’ [-Wunused-variable]
10 | int autotype_tmp;
| ^~~~~~~~~~~~
/tmp/tmpI0PODGVV__grovel.c: In function ‘main’:
/tmp/tmpI0PODGVV__grovel.c:10:7: warning: unused variable ‘autotype_tmp’ [-Wunused-variable]
10 | int autotype_tmp;
| ^~~~~~~~~~~~
/tmp/tmpHHRR8E8N__grovel.c: In function ‘main’:
/tmp/tmpHHRR8E8N__grovel.c:10:7: warning: unused variable ‘autotype_tmp’ [-Wunused-variable]
10 | int autotype_tmp;
| ^~~~~~~~~~~~
/tmp/tmpQT9APWMH__grovel.c: In function ‘main’:
/tmp/tmpQT9APWMH__grovel.c:10:7: warning: unused variable ‘autotype_tmp’ [-Wunused-variable]
10 | int autotype_tmp;
| ^~~~~~~~~~~~
/tmp/tmp6F83SDCV__grovel.c: In function ‘main’:
/tmp/tmp6F83SDCV__grovel.c:10:7: warning: unused variable ‘autotype_tmp’ [-Wunused-variable]
10 | int autotype_tmp;
| ^~~~~~~~~~~~
/tmp/tmp1HKLMSTH__grovel.c: In function ‘main’:
/tmp/tmp1HKLMSTH__grovel.c:10:7: warning: unused variable ‘autotype_tmp’ [-Wunused-variable]
10 | int autotype_tmp;
| ^~~~~~~~~~~~
/tmp/tmpB7NPDQCW__grovel.c: In function ‘main’:
/tmp/tmpB7NPDQCW__grovel.c:10:7: warning: unused variable ‘autotype_tmp’ [-Wunused-variable]
10 | int autotype_tmp;
| ^~~~~~~~~~~~
/tmp/tmpV4YQ0HKA__grovel.c: In function ‘main’:
/tmp/tmpV4YQ0HKA__grovel.c:10:7: warning: unused variable ‘autotype_tmp’ [-Wunused-variable]
10 | int autotype_tmp;
| ^~~~~~~~~~~~
/tmp/tmp4RNSVVC1__grovel.c: In function ‘main’:
/tmp/tmp4RNSVVC1__grovel.c:10:7: warning: unused variable ‘autotype_tmp’ [-Wunused-variable]
10 | int autotype_tmp;
| ^~~~~~~~~~~~
/tmp/tmpVFL7JAFK__grovel.c: In function ‘main’:
/tmp/tmpVFL7JAFK__grovel.c:10:7: warning: unused variable ‘autotype_tmp’ [-Wunused-variable]
10 | int autotype_tmp;
| ^~~~~~~~~~~~
/tmp/tmp5TNBATEG__grovel.c: In function ‘main’:
/tmp/tmp5TNBATEG__grovel.c:10:7: warning: unused variable ‘autotype_tmp’ [-Wunused-variable]
10 | int autotype_tmp;
| ^~~~~~~~~~~~
/tmp/tmp5R1KP4O2__grovel.c: In function ‘main’:
/tmp/tmp5R1KP4O2__grovel.c:10:7: warning: unused variable ‘autotype_tmp’ [-Wunused-variable]
10 | int autotype_tmp;
| ^~~~~~~~~~~~
/tmp/tmpT2P2LFJI__grovel.c: In function ‘main’:
/tmp/tmpT2P2LFJI__grovel.c:10:7: warning: unused variable ‘autotype_tmp’ [-Wunused-variable]
10 | int autotype_tmp;
| ^~~~~~~~~~~~
/tmp/tmpURW0SA3C__grovel.c: In function ‘main’:
/tmp/tmpURW0SA3C__grovel.c:10:7: warning: unused variable ‘autotype_tmp’ [-Wunused-variable]
10 | int autotype_tmp;
| ^~~~~~~~~~~~
/tmp/tmpRMCY5COB__grovel.c: In function ‘main’:
/tmp/tmpRMCY5COB__grovel.c:10:7: warning: unused variable ‘autotype_tmp’ [-Wunused-variable]
10 | int autotype_tmp;
| ^~~~~~~~~~~~
BUG-1395242/tmp/tmp8CJLVG9R__grovel.c: In function ‘main’:
/tmp/tmp8CJLVG9R__grovel.c:11:7: warning: unused variable ‘autotype_tmp’ [-Wunused-variable]
11 | int autotype_tmp;
| ^~~~~~~~~~~~
GROVEL-FEATURE
4 out of 332 total tests failed: FSBV.WFO, FSBV.MAKEPAIR.1, FSBV.MAKEPAIR.2,
TEST-STATIC-PROGRAM.
1 unexpected failures: TEST-STATIC-PROGRAM.
;;; running tests (compiled)
Doing 332 pending tests of 332 tests total.
LOAD-CORE-FOUNDATION FUNCALL.CHAR FUNCALL.INT.1 FUNCALL.INT.2 FUNCALL.LONG
FUNCALL.LONG-LONG FUNCALL.UNSIGNED-LONG-LONG FUNCALL.FLOAT FUNCALL.DOUBLE
FUNCALL.STRING.1 FUNCALL.STRING.2 FUNCALL.STRING.3 FUNCALL.VARARGS.NOSTDLIB
FUNCALL.VARARGS.CHAR FUNCALL.VARARGS.INT FUNCALL.VARARGS.LONG
FUNCALL.VARARGS.DOUBLE FUNCALL.VARARGS.STRING FUNCALL.DOUBLE26 FUNCALL.FLOAT26
FUNCALL.F-S-P.1 FUNCALL.NIL-SKIP FUNCALL.POINTER-NOT-NIL
DEFCFUN.PARSE-NAME-AND-OPTIONS.1 DEFCFUN.PARSE-NAME-AND-OPTIONS.2
DEFCFUN.PARSE-NAME-AND-OPTIONS.3 DEFCFUN.PARSE-NAME-AND-OPTIONS.4
DEFCFUN.PARSE-NAME-AND-OPTIONS.5 DEFCFUN.PARSE-NAME-AND-OPTIONS.6
DEFCFUN.PARSE-NAME-AND-OPTIONS.7 DEFCFUN.PARSE-NAME-AND-OPTIONS.8
TRANSLATE-UNDERSCORE-SEPARATED-NAME.TO-SYMBOL
TRANSLATE-UNDERSCORE-SEPARATED-NAME.TO-STRING
TRANSLATE-CAMELCASE-NAME.TO-SYMBOL TRANSLATE-CAMELCASE-NAME.TO-STRING
TRANSLATE-CAMELCASE-NAME.TO-STRING-UPPER
TRANSLATE-CAMELCASE-NAME.TO-SYMBOL-SPECIAL
TRANSLATE-CAMELCASE-NAME.TO-STRING-SPECIAL TRANSLATE-NAME-FROM-FOREIGN.FUNCTION
TRANSLATE-NAME-FROM-FOREIGN.VAR TRANSLATE-NAME-TO-FOREIGN.FUNCTION
TRANSLATE-NAME-TO-FOREIGN.VAR DEFCFUN.CHAR DEFCFUN.DOCSTRING DEFCFUN.INT
DEFCFUN.LONG DEFCFUN.LONG-LONG DEFCFUN.UNSIGNED-LONG-LONG DEFCFUN.FLOAT
DEFCFUN.DOUBLE DEFCFUN.STRING.1 DEFCFUN.STRING.2 DEFCFUN.STRING.3
DEFCFUN.NOARGS DEFCFUN.NOOP DEFCFUN.VARARGS.NOSTDLIB DEFCFUN.VARARGS.DOCSTRINGS
DEFCFUN.VARARGS.CHAR DEFCFUN.VARARGS.SHORT DEFCFUN.VARARGS.INT
DEFCFUN.VARARGS.LONG DEFCFUN.VARARGS.FLOAT DEFCFUN.VARARGS.DOUBLE
DEFCFUN.VARARGS.STRING DEFCFUN.BFF.1 DEFCFUN.BFF.2 DEFCFUN.UNDEFINED
DEFCFUN.DOUBLE26 DEFCFUN.FLOAT26 CALLBACKS.CHAR CALLBACKS.UNSIGNED-CHAR
CALLBACKS.SHORT CALLBACKS.UNSIGNED-SHORT CALLBACKS.INT CALLBACKS.UNSIGNED-INT
CALLBACKS.LONG CALLBACKS.UNSIGNED-LONG CALLBACKS.LONG-LONG
CALLBACKS.UNSIGNED-LONG-LONG CALLBACKS.FLOAT CALLBACKS.DOUBLE CALLBACKS.POINTER
CALLBACKS.STRING CALLBACKS.STRING-NOT-DOCSTRING CALLBACKS.NIL-FOR-NULL
CALLBACKS.QSORT CALLBACKS.VOID CALLBACKS.FUNCALL.1 CALLBACKS.FUNCALL.2
CALLBACKS.BFF.1 CALLBACKS.BFF.2 CALLBACKS.NON-EXISTANT CALLBACKS.DOUBLE26
CALLBACKS.DOUBLE26.FUNCALL CALLBACKS.FLOAT26 CALLBACKS.FLOAT26.FUNCALL
CALLBACKS.UNINTERNED FOREIGN-GLOBALS.REF.CHAR FOREIGN-GLOBALS.REF.UNSIGNED-CHAR
FOREIGN-GLOBALS.REF.SHORT FOREIGN-GLOBALS.REF.UNSIGNED-SHORT
FOREIGN-GLOBALS.REF.INT FOREIGN-GLOBALS.REF.UNSIGNED-INT
FOREIGN-GLOBALS.REF.LONG FOREIGN-GLOBALS.REF.UNSIGNED-LONG
FOREIGN-GLOBALS.REF.FLOAT FOREIGN-GLOBALS.REF.DOUBLE
FOREIGN-GLOBALS.REF.POINTER FOREIGN-GLOBALS.REF.STRING
FOREIGN-GLOBALS.REF.LONG-LONG FOREIGN-GLOBALS.REF.UNSIGNED-LONG-LONG
FOREIGN-GLOBALS.SET.INT FOREIGN-GLOBALS.SET.STRING
FOREIGN-GLOBALS.SET.LONG-LONG FOREIGN-GLOBALS.GET-VAR-POINTER.1
FOREIGN-GLOBALS.GET-VAR-POINTER.2 FOREIGN-GLOBALS.REF.UPPERCASEINT1
FOREIGN-GLOBALS.REF.UPPER-CASE-INT1 FOREIGN-GLOBALS.REF.MIXEDCASEINT1
FOREIGN-GLOBALS.REF.MIXED-CASE-INT1 FOREIGN-GLOBALS.REF.UPPERCASEINT2
FOREIGN-GLOBALS.REF.UPPER-CASE-INT2 FOREIGN-GLOBALS.REF.MIXEDCASEINT2
FOREIGN-GLOBALS.REF.MIXED-CASE-INT2 FOREIGN-GLOBALS.REF.UPPERCASEINT3
FOREIGN-GLOBALS.REF.UPPER-CASE-INT3 FOREIGN-GLOBALS.REF.MIXEDCASEINT3
FOREIGN-GLOBALS.REF.MIXED-CASE-INT3 FOREIGN-GLOBALS.SYMBOL-NAME
FOREIGN-GLOBALS.READ-ONLY.1 DEFCVAR.DOCSTRING FOREIGN-GLOBALS.UNDEFINED.1
FOREIGN-GLOBALS.ERROR.1 DEREF.CHAR DEREF.UNSIGNED-CHAR DEREF.SHORT
DEREF.UNSIGNED-SHORT DEREF.INT DEREF.UNSIGNED-INT DEREF.LONG
DEREF.UNSIGNED-LONG DEREF.LONG-LONG DEREF.UNSIGNED-LONG-LONG DEREF.FLOAT.1
DEREF.FLOAT.2 DEREF.FLOAT.3 DEREF.DOUBLE.1 DEREF.DOUBLE.2 DEREF.DOUBLE.3
DEREF.POINTER.NULL LISP-STRING-TO-FOREIGN.EMPTY WITH-FOREIGN-POINTER.EVALX2
WITH-FOREIGN-POINTER.CONSTANT-SIZE MEM-REF.LEFT-TO-RIGHT %MEM-REF.LEFT-TO-RIGHT
%MEM-SET.LEFT-TO-RIGHT MEM-AREF.EVAL-TYPE-X2 MEM-AREF.LEFT-TO-RIGHT
MEM-REF.NESTED MEM-AREF.NESTED MEM-AREF.BARE-STRUCT DEREF.AGGREGATE
DEREF.ARRAY-OF-AGGREGATES POINTER.1 POINTER.2; in: LAMBDA ()
; (CFFI-SYS:NULL-POINTER-P NIL)
;
; caught WARNING:
; Constant NIL conflicts with its asserted type SB-SYS:SYSTEM-AREA-POINTER.
; See also:
; The SBCL Manual, Node "Handling of Types"
POINTER.NULL
FOREIGN-POINTER-TYPE.NIL MAKE-POINTER.HIGH INC-POINTER.ZERO FOREIGN-ALLOC.1
FOREIGN-ALLOC.2 FOREIGN-ALLOC.3 FOREIGN-ALLOC.4 FOREIGN-ALLOC.5 FOREIGN-ALLOC.6
FOREIGN-ALLOC.7 FOREIGN-ALLOC.8 FOREIGN-ALLOC.9 FOREIGN-ALLOC.10
DEREF.NONCONST.CHAR DEREF.NONCONST.UNSIGNED-CHAR DEREF.NONCONST.SHORT
DEREF.NONCONST.UNSIGNED-SHORT DEREF.NONCONST.INT DEREF.NONCONST.UNSIGNED-INT
DEREF.NONCONST.LONG DEREF.NONCONST.UNSIGNED-LONG DEREF.NONCONST.LONG-LONG
DEREF.NONCONST.UNSIGNED-LONG-LONG DEREF.NONCONST.FLOAT.1 DEREF.NONCONST.FLOAT.2
DEREF.NONCONST.FLOAT.3 DEREF.NONCONST.DOUBLE.1 DEREF.NONCONST.DOUBLE.2
DEREF.NONCONST.DOUBLE.3 MEM-REF.RT.1 MEM-REF.RT.2 INCF-POINTER.1 INCF-POINTER.2
POINTERP.1 POINTERP.2 POINTERP.3 POINTERP.4 POINTERP.5 POINTERP.6
MEM-REF.SETF.1 MEM-REF.SETF.2; in: LAMBDA ()
; (CFFI-SYS:POINTER-EQ 1 2)
;
; caught WARNING:
; Constant 1 conflicts with its asserted type SB-SYS:SYSTEM-AREA-POINTER.
; See also:
; The SBCL Manual, Node "Handling of Types"
POINTER-EQ.NON-POINTERS.1; in: LAMBDA ()
; (CFFI-SYS:POINTER-EQ 'CFFI-TESTS::A 'CFFI-TESTS::B)
;
; caught WARNING:
; Constant A conflicts with its asserted type SB-SYS:SYSTEM-AREA-POINTER.
; See also:
; The SBCL Manual, Node "Handling of Types"
POINTER-EQ.NON-POINTERS.2; in: LAMBDA ()
; (CFFI-SYS:NULL-POINTER-P 'CFFI-TESTS::NOT-A-POINTER)
;
; caught WARNING:
; Constant
; NOT-A-POINTER conflicts with its asserted type
; SB-SYS:SYSTEM-AREA-POINTER.
; See also:
; The SBCL Manual, Node "Handling of Types"
NULL-POINTER-P.NON-POINTER.1; in: LAMBDA ()
; (CFFI-SYS:NULL-POINTER-P 0)
;
; caught WARNING:
; Constant 0 conflicts with its asserted type SB-SYS:SYSTEM-AREA-POINTER.
; See also:
; The SBCL Manual, Node "Handling of Types"
NULL-POINTER-P.NON-POINTER.2; in: LAMBDA ()
; (CFFI-SYS:NULL-POINTER-P NIL)
;
; caught WARNING:
; Constant NIL conflicts with its asserted type SB-SYS:SYSTEM-AREA-POINTER.
; See also:
; The SBCL Manual, Node "Handling of Types"
NULL-POINTER-P.NON-POINTER.3
STRING.CONVERSION.BASIC STRING.CONVERSION.BASIC.2 STRING.ENCODING.ASCII
STRING.ENCODING.UTF-16LE.BASIC STRING.ENCODING.UTF-16BE.BASIC
STRING.SHORT-WRITE.1 STRING.ENCODING.UTF-8.BASIC STRING.ENCODINGS.ALL.BASIC
STRING.ENCODINGS.DEFAULT ARRAY.FOREIGN-TO-LISP.BASIC
ARRAY.FOREIGN-TO-LISP.ADJUSTABLE ARRAY.FOREIGN-TO-LISP.DISPLACED
ARRAY.FOREIGN-TO-LISP.SPECIALIZED STRUCT.1 STRUCT.2 STRUCT.3 STRUCT.4
STRUCT.NAMES STRUCT.5 STRUCT.STRING.1 STRUCT.STRING.2 STRUCT.ALIGNMENT.1
STRUCT.ALIGNMENT.2 STRUCT.ALIGNMENT.3 STRUCT.ALIGNMENT.4 STRUCT.ALIGNMENT.5
STRUCT.ALIGNMENT.6 STRUCT.ALIGNMENT.7 STRUCT.NESTED-SETF STRUCT.ALIGNMENT.8
STRUCT-WRAPPER.1 STRUCT-WRAPPER.2 STRUCT.UNPARSE.1 STRUCT.CANONICALIZE.1
STRUCT.CANONICALIZE.2 STRUCT-VALUES.TRANSLATION.1
STRUCT-VALUES.TRANSLATION.MEM-REF.1 STRUCT-VALUES.TRANSLATION.MEM-AREF.1
STRUCT-VALUES-DEFAULT.TRANSLATION.MEM-REF.1
STRUCT-VALUES-DEFAULT.TRANSLATION.MEM-REF.2 STRUCT-VALUES.FN.1
STRUCT-VALUES.FN.2 BARE-STRUCT-TYPES.1 BARE-STRUCT-TYPES.2
OLD-STYLE-STRUCT-ACCESS NEW-STYLE-STRUCT-ACCESS SET-AGGREGATE-STRUCT-SLOT
SET-AGGREGATE-STRUCT-SLOT.ACC UNION.1 ENUM.1 ENUM.2 ENUM.3 ENUM.TYPEDEF.1
ENUM.TYPEDEF.2 ENUM.SIZE ENUM.SIZE.MEMBERS ENUM.SIZE.ERROR-WHEN-TOO-LARGE
ENUM.DOUBLE ENUM.UNDECLARED BITFIELD.1 BITFIELD.2 BITFIELD.2.OUTLIER BITFIELD.3
BITFIELD.4 BITFIELD.4B BITFIELD.TRANSLATORS FSBV.1
Test FSBV.WFO failed
Form: (WITH-FOREIGN-OBJECT (ARG '(:STRUCT STRUCT-PAIR))
(CONVERT-INTO-FOREIGN-MEMORY '(40 . 2) '(:STRUCT STRUCT-PAIR) ARG)
(SUMPAIR ARG))
Expected value: 42
Actual value: #<TYPE-ERROR expected-type: LIST
datum: #.(SB-SYS:INT-SAP #X7F74480F7FF0)>.
FSBV.2
Test FSBV.MAKEPAIR.1 failed
Form: (MAKEPAIR NIL)
Expected value: (-127 . 43)
Actual value: #<TYPE-ERROR expected-type: SB-SYS:SYSTEM-AREA-POINTER datum: 0>.
Test FSBV.MAKEPAIR.2 failed
Form: (MAKEPAIR T)
Expected value: (-127 . 42)
Actual value: #<TYPE-ERROR expected-type: SB-SYS:SYSTEM-AREA-POINTER datum: 1>.
FSBV.3 FSBV.4 FSBV.5 FSBV.RETURN-A-POINTER FSBV.6 FSBV.7 FSBV.8
FSBV.STRUCT-BITFIELD.0 FSBV.STRUCT-BITFIELD.1 FSBV.STRUCT-BITFIELD.2
FSBV.STRUCT-BITFIELD.3 FSBV.NOARGS-WITH-TYPEDEF FSBV.RETURN-VALUE-TYPEDEF
MISC-TYPES.STRING+PTR MISC-TYPES.BOOLEAN.1 MISC-TYPES.SIZEOF.BOOL
MISC-TYPES.BOOL.CONVERT-TO-FOREIGN.MEM MISC-TYPES.BOOL.CONVERT-TO-FOREIGN.CALL
MISC-TYPES.BOOL.CONVERT-FROM-FOREIGN.MEM
MISC-TYPES.BOOL.CONVERT-FROM-FOREIGN.CALL MISC-TYPES.BOOLEAN.2
MISC-TYPES.WRAPPER MISC-TYPES.SIZED-INTS MISC-TYPES.EXPAND.1
MISC-TYPES.EXPAND.2 MISC-TYPES.EXPAND.3 MISC-TYPES.EXPAND.4 MISC-TYPES.EXPAND.5
MISC-TYPES.EXPAND.6 MISC-TYPE.EXPAND.7 MISC-TYPE.EXPAND.8
MISC-TYPES.SIZEOF.PTRDIFF MISC-TYPES.SIZEOF.SIZE MISC-TYPES.SIZEOF.OFFSET
MISC-TYPES.SIZEOF.UINTPTR MISC-TYPES.SIZEOF.INTPTR FOREIGN-SYMBOL-POINTER.1
FOREIGN-SYMBOL-POINTER.2 LIBRARY.ERROR.1 LIBRARY.T-CLAUSE LIBRARY.ERROR.2
LIBRARY.ERROR.3 SHAREABLE-VECTOR.1 SHAREABLE-VECTOR.2WARNING:
Deprecated recursive use of (ASDF/OPERATE:OPERATE
'CFFI-TOOLCHAIN:STATIC-PROGRAM-OP '("cffi-tests/example")) while visiting
(ASDF/LISP-ACTION:TEST-OP "cffi-tests") - please use proper dependencies
instead
Test TEST-STATIC-PROGRAM failed
Form: (PROGN
(ASDF/OPERATE:OPERATE :STATIC-PROGRAM-OP :CFFI-TESTS/EXAMPLE)
(LET ((PROGRAM
(ASDF/ACTION:OUTPUT-FILE :STATIC-PROGRAM-OP :CFFI-TESTS/EXAMPLE)))
(UIOP/RUN-PROGRAM:RUN-PROGRAM
`(,(NATIVE-NAMESTRING PROGRAM) "1" "2 3") :OUTPUT :LINES)))
Expected values: ("Arguments: 1 \"2 3\"" "hello, world!")
NIL
0
Actual value: #<SIMPLE-ERROR "Couldn't execute ~S: ~A" {10056EA103}>.
WARNING:
Deprecated recursive use of (ASDF/OPERATE:OPERATE 'ASDF/LISP-ACTION:LOAD-OP
'("cffi-tests/example")) while visiting
(ASDF/LISP-ACTION:TEST-OP "cffi-tests") - please use proper dependencies
instead
TEST-ASDF-LOADtest
%INVOKE/tmp/tmp4HJFFDY3__grovel.c: In function ‘main’:
/tmp/tmp4HJFFDY3__grovel.c:10:7: warning: unused variable ‘autotype_tmp’ [-Wunused-variable]
10 | int autotype_tmp;
| ^~~~~~~~~~~~
/tmp/tmp2L6X9BVQ__grovel.c: In function ‘main’:
/tmp/tmp2L6X9BVQ__grovel.c:10:7: warning: unused variable ‘autotype_tmp’ [-Wunused-variable]
10 | int autotype_tmp;
| ^~~~~~~~~~~~
/tmp/tmp4TWTKS75__grovel.c: In function ‘main’:
/tmp/tmp4TWTKS75__grovel.c:10:7: warning: unused variable ‘autotype_tmp’ [-Wunused-variable]
10 | int autotype_tmp;
| ^~~~~~~~~~~~
/tmp/tmpO0OW34V4__grovel.c: In function ‘main’:
/tmp/tmpO0OW34V4__grovel.c:10:7: warning: unused variable ‘autotype_tmp’ [-Wunused-variable]
10 | int autotype_tmp;
| ^~~~~~~~~~~~
/tmp/tmpRX2XGI9U__grovel.c: In function ‘main’:
/tmp/tmpRX2XGI9U__grovel.c:10:7: warning: unused variable ‘autotype_tmp’ [-Wunused-variable]
10 | int autotype_tmp;
| ^~~~~~~~~~~~
/tmp/tmpLT3TYWCE__grovel.c: In function ‘main’:
/tmp/tmpLT3TYWCE__grovel.c:10:7: warning: unused variable ‘autotype_tmp’ [-Wunused-variable]
10 | int autotype_tmp;
| ^~~~~~~~~~~~
/tmp/tmpDK25NJJO__grovel.c: In function ‘main’:
/tmp/tmpDK25NJJO__grovel.c:10:7: warning: unused variable ‘autotype_tmp’ [-Wunused-variable]
10 | int autotype_tmp;
| ^~~~~~~~~~~~
/tmp/tmpXAVJ8WEV__grovel.c: In function ‘main’:
/tmp/tmpXAVJ8WEV__grovel.c:10:7: warning: unused variable ‘autotype_tmp’ [-Wunused-variable]
10 | int autotype_tmp;
| ^~~~~~~~~~~~
/tmp/tmpICVK4HSI__grovel.c: In function ‘main’:
/tmp/tmpICVK4HSI__grovel.c:10:7: warning: unused variable ‘autotype_tmp’ [-Wunused-variable]
10 | int autotype_tmp;
| ^~~~~~~~~~~~
/tmp/tmp5UBS1APN__grovel.c: In function ‘main’:
/tmp/tmp5UBS1APN__grovel.c:10:7: warning: unused variable ‘autotype_tmp’ [-Wunused-variable]
10 | int autotype_tmp;
| ^~~~~~~~~~~~
/tmp/tmpFYN8G5D1__grovel.c: In function ‘main’:
/tmp/tmpFYN8G5D1__grovel.c:10:7: warning: unused variable ‘autotype_tmp’ [-Wunused-variable]
10 | int autotype_tmp;
| ^~~~~~~~~~~~
/tmp/tmpC487WU3K__grovel.c: In function ‘main’:
/tmp/tmpC487WU3K__grovel.c:10:7: warning: unused variable ‘autotype_tmp’ [-Wunused-variable]
10 | int autotype_tmp;
| ^~~~~~~~~~~~
/tmp/tmpZ9QI367A__grovel.c: In function ‘main’:
/tmp/tmpZ9QI367A__grovel.c:10:7: warning: unused variable ‘autotype_tmp’ [-Wunused-variable]
10 | int autotype_tmp;
| ^~~~~~~~~~~~
/tmp/tmp1CJ2OZ96__grovel.c: In function ‘main’:
/tmp/tmp1CJ2OZ96__grovel.c:10:7: warning: unused variable ‘autotype_tmp’ [-Wunused-variable]
10 | int autotype_tmp;
| ^~~~~~~~~~~~
/tmp/tmpXPWOLC8S__grovel.c: In function ‘main’:
/tmp/tmpXPWOLC8S__grovel.c:10:7: warning: unused variable ‘autotype_tmp’ [-Wunused-variable]
10 | int autotype_tmp;
| ^~~~~~~~~~~~
/tmp/tmpMU3D23G2__grovel.c: In function ‘main’:
/tmp/tmpMU3D23G2__grovel.c:10:7: warning: unused variable ‘autotype_tmp’ [-Wunused-variable]
10 | int autotype_tmp;
| ^~~~~~~~~~~~
/tmp/tmpN84Z1F4D__grovel.c: In function ‘main’:
/tmp/tmpN84Z1F4D__grovel.c:10:7: warning: unused variable ‘autotype_tmp’ [-Wunused-variable]
10 | int autotype_tmp;
| ^~~~~~~~~~~~
/tmp/tmp88LUAVGW__grovel.c: In function ‘main’:
/tmp/tmp88LUAVGW__grovel.c:10:7: warning: unused variable ‘autotype_tmp’ [-Wunused-variable]
10 | int autotype_tmp;
| ^~~~~~~~~~~~
/tmp/tmp4YJPLPB8__grovel.c: In function ‘main’:
/tmp/tmp4YJPLPB8__grovel.c:10:7: warning: unused variable ‘autotype_tmp’ [-Wunused-variable]
10 | int autotype_tmp;
| ^~~~~~~~~~~~
/tmp/tmpQYBBS7QC__grovel.c: In function ‘main’:
/tmp/tmpQYBBS7QC__grovel.c:10:7: warning: unused variable ‘autotype_tmp’ [-Wunused-variable]
10 | int autotype_tmp;
| ^~~~~~~~~~~~
/tmp/tmpNGMCS43U__grovel.c: In function ‘main’:
/tmp/tmpNGMCS43U__grovel.c:10:7: warning: unused variable ‘autotype_tmp’ [-Wunused-variable]
10 | int autotype_tmp;
| ^~~~~~~~~~~~
/tmp/tmp9MJ8K0GA__grovel.c: In function ‘main’:
/tmp/tmp9MJ8K0GA__grovel.c:10:7: warning: unused variable ‘autotype_tmp’ [-Wunused-variable]
10 | int autotype_tmp;
| ^~~~~~~~~~~~
/tmp/tmpJEMJHCAQ__grovel.c: In function ‘main’:
/tmp/tmpJEMJHCAQ__grovel.c:10:7: warning: unused variable ‘autotype_tmp’ [-Wunused-variable]
10 | int autotype_tmp;
| ^~~~~~~~~~~~
/tmp/tmpQQZWJZI3__grovel.c: In function ‘main’:
/tmp/tmpQQZWJZI3__grovel.c:10:7: warning: unused variable ‘autotype_tmp’ [-Wunused-variable]
10 | int autotype_tmp;
| ^~~~~~~~~~~~
/tmp/tmpXHDS9JD__grovel.c: In function ‘main’:
/tmp/tmpXHDS9JD__grovel.c:10:7: warning: unused variable ‘autotype_tmp’ [-Wunused-variable]
10 | int autotype_tmp;
| ^~~~~~~~~~~~
/tmp/tmpRFCZGW36__grovel.c: In function ‘main’:
/tmp/tmpRFCZGW36__grovel.c:10:7: warning: unused variable ‘autotype_tmp’ [-Wunused-variable]
10 | int autotype_tmp;
| ^~~~~~~~~~~~
/tmp/tmpI0YDSDVA__grovel.c: In function ‘main’:
/tmp/tmpI0YDSDVA__grovel.c:10:7: warning: unused variable ‘autotype_tmp’ [-Wunused-variable]
10 | int autotype_tmp;
| ^~~~~~~~~~~~
/tmp/tmpMAMO3XGR__grovel.c: In function ‘main’:
/tmp/tmpMAMO3XGR__grovel.c:10:7: warning: unused variable ‘autotype_tmp’ [-Wunused-variable]
10 | int autotype_tmp;
| ^~~~~~~~~~~~
/tmp/tmp3RKO0O0S__grovel.c: In function ‘main’:
/tmp/tmp3RKO0O0S__grovel.c:10:7: warning: unused variable ‘autotype_tmp’ [-Wunused-variable]
10 | int autotype_tmp;
| ^~~~~~~~~~~~
/tmp/tmp13EJYBWB__grovel.c: In function ‘main’:
/tmp/tmp13EJYBWB__grovel.c:10:7: warning: unused variable ‘autotype_tmp’ [-Wunused-variable]
10 | int autotype_tmp;
| ^~~~~~~~~~~~
BUG-1395242/tmp/tmpXO9X6PIG__grovel.c: In function ‘main’:
/tmp/tmpXO9X6PIG__grovel.c:11:7: warning: unused variable ‘autotype_tmp’ [-Wunused-variable]
11 | int autotype_tmp;
| ^~~~~~~~~~~~
GROVEL-FEATURE
4 out of 332 total tests failed: FSBV.WFO, FSBV.MAKEPAIR.1, FSBV.MAKEPAIR.2,
TEST-STATIC-PROGRAM.
1 unexpected failures: TEST-STATIC-PROGRAM.;
; compilation unit finished
; caught 1 fatal ERROR condition
; caught 12 WARNING conditions
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment