Raspbian Package Auto-Building

Build log for rust-kvm-ioctls (0.2.0-1) on armhf

rust-kvm-ioctls0.2.0-1armhf → 2023-05-21 11:20:29

sbuild (Debian sbuild) 0.72.0 (25 Oct 2016) on mb-lxc-01

+==============================================================================+
| rust-kvm-ioctls 0.2.0-1 (armhf)              Sun, 21 May 2023 11:15:39 +0000 |
+==============================================================================+

Package: rust-kvm-ioctls
Version: 0.2.0-1
Source Version: 0.2.0-1
Distribution: bookworm-staging
Machine Architecture: armhf
Host Architecture: armhf
Build Architecture: armhf

I: NOTICE: Log filtering will replace 'var/lib/schroot/mount/bookworm-staging-armhf-sbuild-21284543-53ab-421f-91bb-db73bc23ebdd' with '<<CHROOT>>'

+------------------------------------------------------------------------------+
| Update chroot                                                                |
+------------------------------------------------------------------------------+

Get:1 http://172.17.4.1/private bookworm-staging InRelease [11.3 kB]
Get:2 http://172.17.4.1/private bookworm-staging/main Sources [13.7 MB]
Get:3 http://172.17.4.1/private bookworm-staging/main armhf Packages [14.5 MB]
Fetched 28.3 MB in 12s (2273 kB/s)
Reading package lists...
W: No sandbox user '_apt' on the system, can not drop privileges
W: http://172.17.4.1/private/dists/bookworm-staging/InRelease: Key is stored in legacy trusted.gpg keyring (/etc/apt/trusted.gpg), see the DEPRECATION section in apt-key(8) for details.

+------------------------------------------------------------------------------+
| Fetch source files                                                           |
+------------------------------------------------------------------------------+


Check APT
---------

Checking available source versions...

Download source files with APT
------------------------------

Reading package lists...
NOTICE: 'rust-kvm-ioctls' packaging is maintained in the 'Git' version control system at:
https://salsa.debian.org/rust-team/debcargo-conf.git [src/kvm-ioctls]
Please use:
git clone https://salsa.debian.org/rust-team/debcargo-conf.git [src/kvm-ioctls]
to retrieve the latest (possibly unreleased) updates to the package.
Need to get 46.9 kB of source archives.
Get:1 http://172.17.4.1/private bookworm-staging/main rust-kvm-ioctls 0.2.0-1 (dsc) [2201 B]
Get:2 http://172.17.4.1/private bookworm-staging/main rust-kvm-ioctls 0.2.0-1 (tar) [41.6 kB]
Get:3 http://172.17.4.1/private bookworm-staging/main rust-kvm-ioctls 0.2.0-1 (diff) [3080 B]
Fetched 46.9 kB in 0s (988 kB/s)
Download complete and in download only mode
I: NOTICE: Log filtering will replace 'build/rust-kvm-ioctls-CKNPli/rust-kvm-ioctls-0.2.0' with '<<PKGBUILDDIR>>'
I: NOTICE: Log filtering will replace 'build/rust-kvm-ioctls-CKNPli' with '<<BUILDDIR>>'

+------------------------------------------------------------------------------+
| Install build-essential                                                      |
+------------------------------------------------------------------------------+


Setup apt archive
-----------------

Merged Build-Depends: build-essential, fakeroot
Filtered Build-Depends: build-essential, fakeroot
dpkg-deb: building package 'sbuild-build-depends-core-dummy' in '/<<BUILDDIR>>/resolver-8uZFO8/apt_archive/sbuild-build-depends-core-dummy.deb'.
dpkg-scanpackages: warning: Packages in archive but missing from override file:
dpkg-scanpackages: warning:   sbuild-build-depends-core-dummy
dpkg-scanpackages: info: Wrote 1 entries to output Packages file.
gpg: keybox '/<<BUILDDIR>>/resolver-8uZFO8/gpg/pubring.kbx' created
gpg: /<<BUILDDIR>>/resolver-8uZFO8/gpg/trustdb.gpg: trustdb created
gpg: key 37145E60F90AF620: public key "Sbuild Signer (Sbuild Build Dependency Archive Key) <buildd-tools-devel@lists.alioth.debian.org>" imported
gpg: Total number processed: 1
gpg:               imported: 1
gpg: key 37145E60F90AF620: "Sbuild Signer (Sbuild Build Dependency Archive Key) <buildd-tools-devel@lists.alioth.debian.org>" not changed
gpg: key 37145E60F90AF620: secret key imported
gpg: Total number processed: 1
gpg:              unchanged: 1
gpg:       secret keys read: 1
gpg:   secret keys imported: 1
gpg: using "Sbuild Signer" as default secret key for signing
Ign:1 copy:/<<BUILDDIR>>/resolver-8uZFO8/apt_archive ./ InRelease
Get:2 copy:/<<BUILDDIR>>/resolver-8uZFO8/apt_archive ./ Release [957 B]
Get:3 copy:/<<BUILDDIR>>/resolver-8uZFO8/apt_archive ./ Release.gpg [370 B]
Get:4 copy:/<<BUILDDIR>>/resolver-8uZFO8/apt_archive ./ Sources [349 B]
Get:5 copy:/<<BUILDDIR>>/resolver-8uZFO8/apt_archive ./ Packages [430 B]
Fetched 2106 B in 1s (3082 B/s)
Reading package lists...
W: No sandbox user '_apt' on the system, can not drop privileges
Reading package lists...

Install core build dependencies (apt-based resolver)
----------------------------------------------------

Installing build dependencies
Reading package lists...
Building dependency tree...
Reading state information...
The following packages were automatically installed and are no longer required:
  krb5-locales libpam-cap netbase sensible-utils
Use 'apt autoremove' to remove them.
The following NEW packages will be installed:
  sbuild-build-depends-core-dummy
0 upgraded, 1 newly installed, 0 to remove and 5 not upgraded.
Need to get 852 B of archives.
After this operation, 0 B of additional disk space will be used.
Get:1 copy:/<<BUILDDIR>>/resolver-8uZFO8/apt_archive ./ sbuild-build-depends-core-dummy 0.invalid.0 [852 B]
debconf: delaying package configuration, since apt-utils is not installed
Fetched 852 B in 0s (37.0 kB/s)
Selecting previously unselected package sbuild-build-depends-core-dummy.
(Reading database ... 12527 files and directories currently installed.)
Preparing to unpack .../sbuild-build-depends-core-dummy_0.invalid.0_armhf.deb ...
Unpacking sbuild-build-depends-core-dummy (0.invalid.0) ...
Setting up sbuild-build-depends-core-dummy (0.invalid.0) ...
W: No sandbox user '_apt' on the system, can not drop privileges

+------------------------------------------------------------------------------+
| Check architectures                                                          |
+------------------------------------------------------------------------------+

Arch check ok (armhf included in any)

+------------------------------------------------------------------------------+
| Install package build dependencies                                           |
+------------------------------------------------------------------------------+


Setup apt archive
-----------------

Merged Build-Depends: debhelper (>= 11), dh-cargo (>= 15), cargo, rustc, libstd-rust-dev, librust-kvm-bindings+default-dev (>= 0.1.0-~~), librust-libc+default-dev (>= 0.2.39-~~)
Filtered Build-Depends: debhelper (>= 11), dh-cargo (>= 15), cargo, rustc, libstd-rust-dev, librust-kvm-bindings+default-dev (>= 0.1.0-~~), librust-libc+default-dev (>= 0.2.39-~~)
dpkg-deb: building package 'sbuild-build-depends-rust-kvm-ioctls-dummy' in '/<<BUILDDIR>>/resolver-8uZFO8/apt_archive/sbuild-build-depends-rust-kvm-ioctls-dummy.deb'.
dpkg-scanpackages: warning: Packages in archive but missing from override file:
dpkg-scanpackages: warning:   sbuild-build-depends-core-dummy sbuild-build-depends-rust-kvm-ioctls-dummy
dpkg-scanpackages: info: Wrote 2 entries to output Packages file.
gpg: using "Sbuild Signer" as default secret key for signing
Ign:1 copy:/<<BUILDDIR>>/resolver-8uZFO8/apt_archive ./ InRelease
Get:2 copy:/<<BUILDDIR>>/resolver-8uZFO8/apt_archive ./ Release [963 B]
Get:3 copy:/<<BUILDDIR>>/resolver-8uZFO8/apt_archive ./ Release.gpg [370 B]
Get:4 copy:/<<BUILDDIR>>/resolver-8uZFO8/apt_archive ./ Sources [576 B]
Get:5 copy:/<<BUILDDIR>>/resolver-8uZFO8/apt_archive ./ Packages [641 B]
Fetched 2550 B in 1s (3948 B/s)
Reading package lists...
W: No sandbox user '_apt' on the system, can not drop privileges
Reading package lists...

Install rust-kvm-ioctls build dependencies (apt-based resolver)
---------------------------------------------------------------

Installing build dependencies
Reading package lists...
Building dependency tree...
Reading state information...
The following packages were automatically installed and are no longer required:
  krb5-locales libpam-cap netbase
Use 'apt autoremove' to remove them.
The following additional packages will be installed:
  autoconf automake autopoint autotools-dev bsdextrautils cargo debhelper
  dh-autoreconf dh-cargo dh-strip-nondeterminism dwz file gettext gettext-base
  groff-base intltool-debian libarchive-zip-perl libbrotli1 libbsd0
  libcurl3-gnutls libdebhelper-perl libedit2 libelf1 libexpat1
  libfile-stripnondeterminism-perl libgit2-1.5 libhttp-parser2.9 libicu72
  libllvm14 libmagic-mgc libmagic1 libmbedcrypto7 libmbedtls14 libmbedx509-1
  libnghttp2-14 libpipeline1 libpsl5 libpython3-stdlib libpython3.11-minimal
  libpython3.11-stdlib librtmp1 librust-kvm-bindings-dev librust-libc-dev
  libssh2-1 libstd-rust-1.63 libstd-rust-dev libsub-override-perl libtool
  libuchardet0 libxml2 libz3-4 m4 man-db media-types po-debconf python3
  python3-minimal python3.11 python3.11-minimal rustc
Suggested packages:
  autoconf-archive gnu-standards autoconf-doc cargo-doc dh-make gettext-doc
  libasprintf-dev libgettextpo-dev groff librust-libc+rustc-dep-of-std-dev
  librust-libc+rustc-std-workspace-core-dev libtool-doc gfortran
  | fortran95-compiler gcj-jdk m4-doc apparmor less www-browser
  libmail-box-perl python3-doc python3-tk python3-venv python3.11-venv
  python3.11-doc binfmt-support lld-14 clang-14
Recommended packages:
  curl | wget | lynx ca-certificates libarchive-cpio-perl publicsuffix
  libltdl-dev libmail-sendmail-perl llvm-14
The following NEW packages will be installed:
  autoconf automake autopoint autotools-dev bsdextrautils cargo debhelper
  dh-autoreconf dh-cargo dh-strip-nondeterminism dwz file gettext gettext-base
  groff-base intltool-debian libarchive-zip-perl libbrotli1 libbsd0
  libcurl3-gnutls libdebhelper-perl libedit2 libelf1 libexpat1
  libfile-stripnondeterminism-perl libgit2-1.5 libhttp-parser2.9 libicu72
  libllvm14 libmagic-mgc libmagic1 libmbedcrypto7 libmbedtls14 libmbedx509-1
  libnghttp2-14 libpipeline1 libpsl5 libpython3-stdlib libpython3.11-minimal
  libpython3.11-stdlib librtmp1 librust-kvm-bindings-dev librust-libc-dev
  libssh2-1 libstd-rust-1.63 libstd-rust-dev libsub-override-perl libtool
  libuchardet0 libxml2 libz3-4 m4 man-db media-types po-debconf python3
  python3-minimal python3.11 python3.11-minimal rustc
  sbuild-build-depends-rust-kvm-ioctls-dummy
0 upgraded, 61 newly installed, 0 to remove and 5 not upgraded.
Need to get 104 MB of archives.
After this operation, 455 MB of additional disk space will be used.
Get:1 copy:/<<BUILDDIR>>/resolver-8uZFO8/apt_archive ./ sbuild-build-depends-rust-kvm-ioctls-dummy 0.invalid.0 [928 B]
Get:2 http://172.17.4.1/private bookworm-staging/main armhf libpython3.11-minimal armhf 3.11.2-6 [797 kB]
Get:3 http://172.17.4.1/private bookworm-staging/main armhf libexpat1 armhf 2.5.0-1 [77.2 kB]
Get:4 http://172.17.4.1/private bookworm-staging/main armhf python3.11-minimal armhf 3.11.2-6 [1679 kB]
Get:5 http://172.17.4.1/private bookworm-staging/main armhf python3-minimal armhf 3.11.2-1 [26.0 kB]
Get:6 http://172.17.4.1/private bookworm-staging/main armhf media-types all 10.0.0 [26.1 kB]
Get:7 http://172.17.4.1/private bookworm-staging/main armhf libpython3.11-stdlib armhf 3.11.2-6 [1668 kB]
Get:8 http://172.17.4.1/private bookworm-staging/main armhf python3.11 armhf 3.11.2-6 [572 kB]
Get:9 http://172.17.4.1/private bookworm-staging/main armhf libpython3-stdlib armhf 3.11.2-1 [9012 B]
Get:10 http://172.17.4.1/private bookworm-staging/main armhf python3 armhf 3.11.2-1 [26.0 kB]
Get:11 http://172.17.4.1/private bookworm-staging/main armhf libuchardet0 armhf 0.0.7-1 [65.0 kB]
Get:12 http://172.17.4.1/private bookworm-staging/main armhf groff-base armhf 1.22.4-10 [774 kB]
Get:13 http://172.17.4.1/private bookworm-staging/main armhf bsdextrautils armhf 2.38.1-5 [78.5 kB]
Get:14 http://172.17.4.1/private bookworm-staging/main armhf libpipeline1 armhf 1.5.7-1 [33.4 kB]
Get:15 http://172.17.4.1/private bookworm-staging/main armhf man-db armhf 2.11.2-2 [1342 kB]
Get:16 http://172.17.4.1/private bookworm-staging/main armhf libmagic-mgc armhf 1:5.44-3 [305 kB]
Get:17 http://172.17.4.1/private bookworm-staging/main armhf libmagic1 armhf 1:5.44-3 [95.3 kB]
Get:18 http://172.17.4.1/private bookworm-staging/main armhf file armhf 1:5.44-3 [41.5 kB]
Get:19 http://172.17.4.1/private bookworm-staging/main armhf gettext-base armhf 0.21-12 [156 kB]
Get:20 http://172.17.4.1/private bookworm-staging/main armhf m4 armhf 1.4.19-3 [256 kB]
Get:21 http://172.17.4.1/private bookworm-staging/main armhf autoconf all 2.71-3 [332 kB]
Get:22 http://172.17.4.1/private bookworm-staging/main armhf autotools-dev all 20220109.1 [51.6 kB]
Get:23 http://172.17.4.1/private bookworm-staging/main armhf automake all 1:1.16.5-1.3 [823 kB]
Get:24 http://172.17.4.1/private bookworm-staging/main armhf autopoint all 0.21-12 [495 kB]
Get:25 http://172.17.4.1/private bookworm-staging/main armhf libbrotli1 armhf 1.0.9-2+b3 [258 kB]
Get:26 http://172.17.4.1/private bookworm-staging/main armhf libnghttp2-14 armhf 1.52.0-1 [60.6 kB]
Get:27 http://172.17.4.1/private bookworm-staging/main armhf libpsl5 armhf 0.21.2-1 [57.5 kB]
Get:28 http://172.17.4.1/private bookworm-staging/main armhf librtmp1 armhf 2.4+20151223.gitfa8646d.1-2+b2 [54.2 kB]
Get:29 http://172.17.4.1/private bookworm-staging/main armhf libssh2-1 armhf 1.10.0-3+b1 [161 kB]
Get:30 http://172.17.4.1/private bookworm-staging/main armhf libcurl3-gnutls armhf 7.88.1-9+rpi1 [338 kB]
Get:31 http://172.17.4.1/private bookworm-staging/main armhf libhttp-parser2.9 armhf 2.9.4-5 [21.0 kB]
Get:32 http://172.17.4.1/private bookworm-staging/main armhf libmbedcrypto7 armhf 2.28.3-1 [241 kB]
Get:33 http://172.17.4.1/private bookworm-staging/main armhf libmbedx509-1 armhf 2.28.3-1 [124 kB]
Get:34 http://172.17.4.1/private bookworm-staging/main armhf libmbedtls14 armhf 2.28.3-1 [155 kB]
Get:35 http://172.17.4.1/private bookworm-staging/main armhf libgit2-1.5 armhf 1.5.1+ds-1 [422 kB]
Get:36 http://172.17.4.1/private bookworm-staging/main armhf libbsd0 armhf 0.11.7-2 [112 kB]
Get:37 http://172.17.4.1/private bookworm-staging/main armhf libedit2 armhf 3.1-20221030-2 [76.2 kB]
Get:38 http://172.17.4.1/private bookworm-staging/main armhf libicu72 armhf 72.1-3 [9009 kB]
Get:39 http://172.17.4.1/private bookworm-staging/main armhf libxml2 armhf 2.9.14+dfsg-1.2 [571 kB]
Get:40 http://172.17.4.1/private bookworm-staging/main armhf libz3-4 armhf 4.8.12-3.1 [5797 kB]
Get:41 http://172.17.4.1/private bookworm-staging/main armhf libllvm14 armhf 1:14.0.6-12+rpi1 [19.5 MB]
Get:42 http://172.17.4.1/private bookworm-staging/main armhf libstd-rust-1.63 armhf 1.63.0+dfsg1-2+rpi1 [16.2 MB]
Get:43 http://172.17.4.1/private bookworm-staging/main armhf libstd-rust-dev armhf 1.63.0+dfsg1-2+rpi1 [31.8 MB]
Get:44 http://172.17.4.1/private bookworm-staging/main armhf rustc armhf 1.63.0+dfsg1-2+rpi1 [2321 kB]
Get:45 http://172.17.4.1/private bookworm-staging/main armhf cargo armhf 0.66.0+ds1-1 [2938 kB]
Get:46 http://172.17.4.1/private bookworm-staging/main armhf libdebhelper-perl all 13.11.4 [81.2 kB]
Get:47 http://172.17.4.1/private bookworm-staging/main armhf libtool all 2.4.7-5 [517 kB]
Get:48 http://172.17.4.1/private bookworm-staging/main armhf dh-autoreconf all 20 [17.1 kB]
Get:49 http://172.17.4.1/private bookworm-staging/main armhf libarchive-zip-perl all 1.68-1 [104 kB]
Get:50 http://172.17.4.1/private bookworm-staging/main armhf libsub-override-perl all 0.09-4 [9304 B]
Get:51 http://172.17.4.1/private bookworm-staging/main armhf libfile-stripnondeterminism-perl all 1.13.1-1 [19.4 kB]
Get:52 http://172.17.4.1/private bookworm-staging/main armhf dh-strip-nondeterminism all 1.13.1-1 [8620 B]
Get:53 http://172.17.4.1/private bookworm-staging/main armhf libelf1 armhf 0.188-2.1+rpi1 [171 kB]
Get:54 http://172.17.4.1/private bookworm-staging/main armhf dwz armhf 0.15-1 [92.4 kB]
Get:55 http://172.17.4.1/private bookworm-staging/main armhf gettext armhf 0.21-12 [1201 kB]
Get:56 http://172.17.4.1/private bookworm-staging/main armhf intltool-debian all 0.35.0+20060710.6 [22.9 kB]
Get:57 http://172.17.4.1/private bookworm-staging/main armhf po-debconf all 1.0.21+nmu1 [248 kB]
Get:58 http://172.17.4.1/private bookworm-staging/main armhf debhelper all 13.11.4 [942 kB]
Get:59 http://172.17.4.1/private bookworm-staging/main armhf dh-cargo all 30 [10.3 kB]
Get:60 http://172.17.4.1/private bookworm-staging/main armhf librust-kvm-bindings-dev armhf 0.1.1-1 [36.6 kB]
Get:61 http://172.17.4.1/private bookworm-staging/main armhf librust-libc-dev armhf 0.2.139-1 [290 kB]
debconf: delaying package configuration, since apt-utils is not installed
Fetched 104 MB in 15s (6913 kB/s)
Selecting previously unselected package libpython3.11-minimal:armhf.
(Reading database ... 12527 files and directories currently installed.)
Preparing to unpack .../libpython3.11-minimal_3.11.2-6_armhf.deb ...
Unpacking libpython3.11-minimal:armhf (3.11.2-6) ...
Selecting previously unselected package libexpat1:armhf.
Preparing to unpack .../libexpat1_2.5.0-1_armhf.deb ...
Unpacking libexpat1:armhf (2.5.0-1) ...
Selecting previously unselected package python3.11-minimal.
Preparing to unpack .../python3.11-minimal_3.11.2-6_armhf.deb ...
Unpacking python3.11-minimal (3.11.2-6) ...
Setting up libpython3.11-minimal:armhf (3.11.2-6) ...
Setting up libexpat1:armhf (2.5.0-1) ...
Setting up python3.11-minimal (3.11.2-6) ...
Selecting previously unselected package python3-minimal.
(Reading database ... 12843 files and directories currently installed.)
Preparing to unpack .../python3-minimal_3.11.2-1_armhf.deb ...
Unpacking python3-minimal (3.11.2-1) ...
Selecting previously unselected package media-types.
Preparing to unpack .../media-types_10.0.0_all.deb ...
Unpacking media-types (10.0.0) ...
Selecting previously unselected package libpython3.11-stdlib:armhf.
Preparing to unpack .../libpython3.11-stdlib_3.11.2-6_armhf.deb ...
Unpacking libpython3.11-stdlib:armhf (3.11.2-6) ...
Selecting previously unselected package python3.11.
Preparing to unpack .../python3.11_3.11.2-6_armhf.deb ...
Unpacking python3.11 (3.11.2-6) ...
Selecting previously unselected package libpython3-stdlib:armhf.
Preparing to unpack .../libpython3-stdlib_3.11.2-1_armhf.deb ...
Unpacking libpython3-stdlib:armhf (3.11.2-1) ...
Setting up python3-minimal (3.11.2-1) ...
Selecting previously unselected package python3.
(Reading database ... 13251 files and directories currently installed.)
Preparing to unpack .../00-python3_3.11.2-1_armhf.deb ...
Unpacking python3 (3.11.2-1) ...
Selecting previously unselected package libuchardet0:armhf.
Preparing to unpack .../01-libuchardet0_0.0.7-1_armhf.deb ...
Unpacking libuchardet0:armhf (0.0.7-1) ...
Selecting previously unselected package groff-base.
Preparing to unpack .../02-groff-base_1.22.4-10_armhf.deb ...
Unpacking groff-base (1.22.4-10) ...
Selecting previously unselected package bsdextrautils.
Preparing to unpack .../03-bsdextrautils_2.38.1-5_armhf.deb ...
Unpacking bsdextrautils (2.38.1-5) ...
Selecting previously unselected package libpipeline1:armhf.
Preparing to unpack .../04-libpipeline1_1.5.7-1_armhf.deb ...
Unpacking libpipeline1:armhf (1.5.7-1) ...
Selecting previously unselected package man-db.
Preparing to unpack .../05-man-db_2.11.2-2_armhf.deb ...
Unpacking man-db (2.11.2-2) ...
Selecting previously unselected package libmagic-mgc.
Preparing to unpack .../06-libmagic-mgc_1%3a5.44-3_armhf.deb ...
Unpacking libmagic-mgc (1:5.44-3) ...
Selecting previously unselected package libmagic1:armhf.
Preparing to unpack .../07-libmagic1_1%3a5.44-3_armhf.deb ...
Unpacking libmagic1:armhf (1:5.44-3) ...
Selecting previously unselected package file.
Preparing to unpack .../08-file_1%3a5.44-3_armhf.deb ...
Unpacking file (1:5.44-3) ...
Selecting previously unselected package gettext-base.
Preparing to unpack .../09-gettext-base_0.21-12_armhf.deb ...
Unpacking gettext-base (0.21-12) ...
Selecting previously unselected package m4.
Preparing to unpack .../10-m4_1.4.19-3_armhf.deb ...
Unpacking m4 (1.4.19-3) ...
Selecting previously unselected package autoconf.
Preparing to unpack .../11-autoconf_2.71-3_all.deb ...
Unpacking autoconf (2.71-3) ...
Selecting previously unselected package autotools-dev.
Preparing to unpack .../12-autotools-dev_20220109.1_all.deb ...
Unpacking autotools-dev (20220109.1) ...
Selecting previously unselected package automake.
Preparing to unpack .../13-automake_1%3a1.16.5-1.3_all.deb ...
Unpacking automake (1:1.16.5-1.3) ...
Selecting previously unselected package autopoint.
Preparing to unpack .../14-autopoint_0.21-12_all.deb ...
Unpacking autopoint (0.21-12) ...
Selecting previously unselected package libbrotli1:armhf.
Preparing to unpack .../15-libbrotli1_1.0.9-2+b3_armhf.deb ...
Unpacking libbrotli1:armhf (1.0.9-2+b3) ...
Selecting previously unselected package libnghttp2-14:armhf.
Preparing to unpack .../16-libnghttp2-14_1.52.0-1_armhf.deb ...
Unpacking libnghttp2-14:armhf (1.52.0-1) ...
Selecting previously unselected package libpsl5:armhf.
Preparing to unpack .../17-libpsl5_0.21.2-1_armhf.deb ...
Unpacking libpsl5:armhf (0.21.2-1) ...
Selecting previously unselected package librtmp1:armhf.
Preparing to unpack .../18-librtmp1_2.4+20151223.gitfa8646d.1-2+b2_armhf.deb ...
Unpacking librtmp1:armhf (2.4+20151223.gitfa8646d.1-2+b2) ...
Selecting previously unselected package libssh2-1:armhf.
Preparing to unpack .../19-libssh2-1_1.10.0-3+b1_armhf.deb ...
Unpacking libssh2-1:armhf (1.10.0-3+b1) ...
Selecting previously unselected package libcurl3-gnutls:armhf.
Preparing to unpack .../20-libcurl3-gnutls_7.88.1-9+rpi1_armhf.deb ...
Unpacking libcurl3-gnutls:armhf (7.88.1-9+rpi1) ...
Selecting previously unselected package libhttp-parser2.9:armhf.
Preparing to unpack .../21-libhttp-parser2.9_2.9.4-5_armhf.deb ...
Unpacking libhttp-parser2.9:armhf (2.9.4-5) ...
Selecting previously unselected package libmbedcrypto7:armhf.
Preparing to unpack .../22-libmbedcrypto7_2.28.3-1_armhf.deb ...
Unpacking libmbedcrypto7:armhf (2.28.3-1) ...
Selecting previously unselected package libmbedx509-1:armhf.
Preparing to unpack .../23-libmbedx509-1_2.28.3-1_armhf.deb ...
Unpacking libmbedx509-1:armhf (2.28.3-1) ...
Selecting previously unselected package libmbedtls14:armhf.
Preparing to unpack .../24-libmbedtls14_2.28.3-1_armhf.deb ...
Unpacking libmbedtls14:armhf (2.28.3-1) ...
Selecting previously unselected package libgit2-1.5:armhf.
Preparing to unpack .../25-libgit2-1.5_1.5.1+ds-1_armhf.deb ...
Unpacking libgit2-1.5:armhf (1.5.1+ds-1) ...
Selecting previously unselected package libbsd0:armhf.
Preparing to unpack .../26-libbsd0_0.11.7-2_armhf.deb ...
Unpacking libbsd0:armhf (0.11.7-2) ...
Selecting previously unselected package libedit2:armhf.
Preparing to unpack .../27-libedit2_3.1-20221030-2_armhf.deb ...
Unpacking libedit2:armhf (3.1-20221030-2) ...
Selecting previously unselected package libicu72:armhf.
Preparing to unpack .../28-libicu72_72.1-3_armhf.deb ...
Unpacking libicu72:armhf (72.1-3) ...
Selecting previously unselected package libxml2:armhf.
Preparing to unpack .../29-libxml2_2.9.14+dfsg-1.2_armhf.deb ...
Unpacking libxml2:armhf (2.9.14+dfsg-1.2) ...
Selecting previously unselected package libz3-4:armhf.
Preparing to unpack .../30-libz3-4_4.8.12-3.1_armhf.deb ...
Unpacking libz3-4:armhf (4.8.12-3.1) ...
Selecting previously unselected package libllvm14:armhf.
Preparing to unpack .../31-libllvm14_1%3a14.0.6-12+rpi1_armhf.deb ...
Unpacking libllvm14:armhf (1:14.0.6-12+rpi1) ...
Selecting previously unselected package libstd-rust-1.63:armhf.
Preparing to unpack .../32-libstd-rust-1.63_1.63.0+dfsg1-2+rpi1_armhf.deb ...
Unpacking libstd-rust-1.63:armhf (1.63.0+dfsg1-2+rpi1) ...
Selecting previously unselected package libstd-rust-dev:armhf.
Preparing to unpack .../33-libstd-rust-dev_1.63.0+dfsg1-2+rpi1_armhf.deb ...
Unpacking libstd-rust-dev:armhf (1.63.0+dfsg1-2+rpi1) ...
Selecting previously unselected package rustc.
Preparing to unpack .../34-rustc_1.63.0+dfsg1-2+rpi1_armhf.deb ...
Unpacking rustc (1.63.0+dfsg1-2+rpi1) ...
Selecting previously unselected package cargo.
Preparing to unpack .../35-cargo_0.66.0+ds1-1_armhf.deb ...
Unpacking cargo (0.66.0+ds1-1) ...
Selecting previously unselected package libdebhelper-perl.
Preparing to unpack .../36-libdebhelper-perl_13.11.4_all.deb ...
Unpacking libdebhelper-perl (13.11.4) ...
Selecting previously unselected package libtool.
Preparing to unpack .../37-libtool_2.4.7-5_all.deb ...
Unpacking libtool (2.4.7-5) ...
Selecting previously unselected package dh-autoreconf.
Preparing to unpack .../38-dh-autoreconf_20_all.deb ...
Unpacking dh-autoreconf (20) ...
Selecting previously unselected package libarchive-zip-perl.
Preparing to unpack .../39-libarchive-zip-perl_1.68-1_all.deb ...
Unpacking libarchive-zip-perl (1.68-1) ...
Selecting previously unselected package libsub-override-perl.
Preparing to unpack .../40-libsub-override-perl_0.09-4_all.deb ...
Unpacking libsub-override-perl (0.09-4) ...
Selecting previously unselected package libfile-stripnondeterminism-perl.
Preparing to unpack .../41-libfile-stripnondeterminism-perl_1.13.1-1_all.deb ...
Unpacking libfile-stripnondeterminism-perl (1.13.1-1) ...
Selecting previously unselected package dh-strip-nondeterminism.
Preparing to unpack .../42-dh-strip-nondeterminism_1.13.1-1_all.deb ...
Unpacking dh-strip-nondeterminism (1.13.1-1) ...
Selecting previously unselected package libelf1:armhf.
Preparing to unpack .../43-libelf1_0.188-2.1+rpi1_armhf.deb ...
Unpacking libelf1:armhf (0.188-2.1+rpi1) ...
Selecting previously unselected package dwz.
Preparing to unpack .../44-dwz_0.15-1_armhf.deb ...
Unpacking dwz (0.15-1) ...
Selecting previously unselected package gettext.
Preparing to unpack .../45-gettext_0.21-12_armhf.deb ...
Unpacking gettext (0.21-12) ...
Selecting previously unselected package intltool-debian.
Preparing to unpack .../46-intltool-debian_0.35.0+20060710.6_all.deb ...
Unpacking intltool-debian (0.35.0+20060710.6) ...
Selecting previously unselected package po-debconf.
Preparing to unpack .../47-po-debconf_1.0.21+nmu1_all.deb ...
Unpacking po-debconf (1.0.21+nmu1) ...
Selecting previously unselected package debhelper.
Preparing to unpack .../48-debhelper_13.11.4_all.deb ...
Unpacking debhelper (13.11.4) ...
Selecting previously unselected package dh-cargo.
Preparing to unpack .../49-dh-cargo_30_all.deb ...
Unpacking dh-cargo (30) ...
Selecting previously unselected package librust-kvm-bindings-dev:armhf.
Preparing to unpack .../50-librust-kvm-bindings-dev_0.1.1-1_armhf.deb ...
Unpacking librust-kvm-bindings-dev:armhf (0.1.1-1) ...
Selecting previously unselected package librust-libc-dev:armhf.
Preparing to unpack .../51-librust-libc-dev_0.2.139-1_armhf.deb ...
Unpacking librust-libc-dev:armhf (0.2.139-1) ...
Selecting previously unselected package sbuild-build-depends-rust-kvm-ioctls-dummy.
Preparing to unpack .../52-sbuild-build-depends-rust-kvm-ioctls-dummy_0.invalid.0_armhf.deb ...
Unpacking sbuild-build-depends-rust-kvm-ioctls-dummy (0.invalid.0) ...
Setting up media-types (10.0.0) ...
Setting up libpipeline1:armhf (1.5.7-1) ...
Setting up librust-libc-dev:armhf (0.2.139-1) ...
Setting up libpsl5:armhf (0.21.2-1) ...
Setting up libicu72:armhf (72.1-3) ...
Setting up bsdextrautils (2.38.1-5) ...
Setting up libmagic-mgc (1:5.44-3) ...
Setting up libarchive-zip-perl (1.68-1) ...
Setting up libpython3.11-stdlib:armhf (3.11.2-6) ...
Setting up libdebhelper-perl (13.11.4) ...
Setting up libbrotli1:armhf (1.0.9-2+b3) ...
Setting up libnghttp2-14:armhf (1.52.0-1) ...
Setting up libmagic1:armhf (1:5.44-3) ...
Setting up gettext-base (0.21-12) ...
Setting up m4 (1.4.19-3) ...
Setting up file (1:5.44-3) ...
Setting up autotools-dev (20220109.1) ...
Setting up libz3-4:armhf (4.8.12-3.1) ...
Setting up libmbedcrypto7:armhf (2.28.3-1) ...
Setting up librtmp1:armhf (2.4+20151223.gitfa8646d.1-2+b2) ...
Setting up autopoint (0.21-12) ...
Setting up autoconf (2.71-3) ...
Setting up librust-kvm-bindings-dev:armhf (0.1.1-1) ...
Setting up libuchardet0:armhf (0.0.7-1) ...
Setting up libsub-override-perl (0.09-4) ...
Setting up libssh2-1:armhf (1.10.0-3+b1) ...
Setting up libbsd0:armhf (0.11.7-2) ...
Setting up libelf1:armhf (0.188-2.1+rpi1) ...
Setting up libxml2:armhf (2.9.14+dfsg-1.2) ...
Setting up libhttp-parser2.9:armhf (2.9.4-5) ...
Setting up libpython3-stdlib:armhf (3.11.2-1) ...
Setting up automake (1:1.16.5-1.3) ...
update-alternatives: using /usr/bin/automake-1.16 to provide /usr/bin/automake (automake) in auto mode
Setting up libfile-stripnondeterminism-perl (1.13.1-1) ...
Setting up python3.11 (3.11.2-6) ...
Setting up gettext (0.21-12) ...
Setting up libmbedx509-1:armhf (2.28.3-1) ...
Setting up libmbedtls14:armhf (2.28.3-1) ...
Setting up libtool (2.4.7-5) ...
Setting up libedit2:armhf (3.1-20221030-2) ...
Setting up libcurl3-gnutls:armhf (7.88.1-9+rpi1) ...
Setting up python3 (3.11.2-1) ...
Setting up intltool-debian (0.35.0+20060710.6) ...
Setting up dh-autoreconf (20) ...
Setting up dh-strip-nondeterminism (1.13.1-1) ...
Setting up libllvm14:armhf (1:14.0.6-12+rpi1) ...
Setting up dwz (0.15-1) ...
Setting up groff-base (1.22.4-10) ...
Setting up libgit2-1.5:armhf (1.5.1+ds-1) ...
Setting up libstd-rust-1.63:armhf (1.63.0+dfsg1-2+rpi1) ...
Setting up po-debconf (1.0.21+nmu1) ...
Setting up man-db (2.11.2-2) ...
Not building database; man-db/auto-update is not 'true'.
Setting up libstd-rust-dev:armhf (1.63.0+dfsg1-2+rpi1) ...
Setting up rustc (1.63.0+dfsg1-2+rpi1) ...
Setting up debhelper (13.11.4) ...
Setting up cargo (0.66.0+ds1-1) ...
Setting up dh-cargo (30) ...
Setting up sbuild-build-depends-rust-kvm-ioctls-dummy (0.invalid.0) ...
Processing triggers for libc-bin (2.36-8+rpi1) ...
W: No sandbox user '_apt' on the system, can not drop privileges

+------------------------------------------------------------------------------+
| Build environment                                                            |
+------------------------------------------------------------------------------+

Kernel: Linux 4.15.0-187-generic armhf (armv8l)
Toolchain package versions: binutils_2.40-2+rpi1 dpkg-dev_1.21.21+rpi1 g++-12_12.2.0-14+rpi1 gcc-12_12.2.0-14+rpi1 libc6-dev_2.36-8+rpi1 libstdc++-12-dev_12.2.0-14+rpi1 libstdc++6_12.2.0-14+rpi1 linux-libc-dev_6.0.12-1+rpi1+b1
Package versions: adduser_3.132 apt_2.6.0 autoconf_2.71-3 automake_1:1.16.5-1.3 autopoint_0.21-12 autotools-dev_20220109.1 base-files_12.3+rpi1 base-passwd_3.6.1 bash_5.2.15-2 binutils_2.40-2+rpi1 binutils-arm-linux-gnueabihf_2.40-2+rpi1 binutils-common_2.40-2+rpi1 bsdextrautils_2.38.1-5 bsdutils_1:2.38.1-5 build-essential_12.9 bzip2_1.0.8-5+b2 cargo_0.66.0+ds1-1 coreutils_9.1-1 cpp_4:12.2.0-1+rpi1 cpp-12_12.2.0-14+rpi1 dash_0.5.12-2 debconf_1.5.82 debhelper_13.11.4 debianutils_5.7-0.4 dh-autoreconf_20 dh-cargo_30 dh-strip-nondeterminism_1.13.1-1 diffutils_1:3.8-4 dirmngr_2.2.40-1.1 dpkg_1.21.21+rpi1 dpkg-dev_1.21.21+rpi1 dwz_0.15-1 e2fsprogs_1.47.0-2 fakeroot_1.31-1.2 file_1:5.44-3 findutils_4.9.0-4 g++_4:12.2.0-1+rpi1 g++-12_12.2.0-14+rpi1 gcc_4:12.2.0-1+rpi1 gcc-12_12.2.0-14+rpi1 gcc-12-base_12.2.0-14+rpi1 gcc-7-base_7.5.0-6+rpi1+b2 gcc-8-base_8.4.0-7+rpi1 gcc-9-base_9.4.0-2+rpi1 gettext_0.21-12 gettext-base_0.21-12 gnupg_2.2.40-1.1 gnupg-l10n_2.2.40-1.1 gnupg-utils_2.2.40-1.1 gpg_2.2.40-1.1 gpg-agent_2.2.40-1.1 gpg-wks-client_2.2.40-1.1 gpg-wks-server_2.2.40-1.1 gpgconf_2.2.40-1.1 gpgsm_2.2.40-1.1 gpgv_2.2.40-1.1 grep_3.8-5 groff-base_1.22.4-10 gzip_1.12-1 hostname_3.23+nmu1 init-system-helpers_1.64 intltool-debian_0.35.0+20060710.6 iputils-ping_3:20221126-1 krb5-locales_1.20.1-1 libacl1_2.3.1-3 libapt-pkg6.0_2.6.0 libarchive-zip-perl_1.68-1 libasan8_12.2.0-14+rpi1 libassuan0_2.5.5-5 libatomic1_12.2.0-14+rpi1 libattr1_1:2.5.1-4 libaudit-common_1:3.0.9-1 libaudit1_1:3.0.9-1 libbinutils_2.40-2+rpi1 libblkid1_2.38.1-5 libbrotli1_1.0.9-2+b3 libbsd0_0.11.7-2 libbz2-1.0_1.0.8-5+b2 libc-bin_2.36-8+rpi1 libc-dev-bin_2.36-8+rpi1 libc6_2.36-8+rpi1 libc6-dev_2.36-8+rpi1 libcap-ng0_0.8.3-1+b1 libcap2_1:2.66-3 libcap2-bin_1:2.66-3 libcc1-0_12.2.0-14+rpi1 libcom-err2_1.47.0-2 libcrypt-dev_1:4.4.33-2 libcrypt1_1:4.4.33-2 libctf-nobfd0_2.40-2+rpi1 libctf0_2.40-2+rpi1 libcurl3-gnutls_7.88.1-9+rpi1 libdb5.3_5.3.28+dfsg2-1 libdebconfclient0_0.269 libdebhelper-perl_13.11.4 libdpkg-perl_1.21.21+rpi1 libedit2_3.1-20221030-2 libelf1_0.188-2.1+rpi1 libexpat1_2.5.0-1 libext2fs2_1.47.0-2 libfakeroot_1.31-1.2 libffi8_3.4.4-1 libfile-stripnondeterminism-perl_1.13.1-1 libgcc-12-dev_12.2.0-14+rpi1 libgcc-s1_12.2.0-14+rpi1 libgcrypt20_1.10.1-3 libgdbm-compat4_1.23-3 libgdbm6_1.23-3 libgit2-1.5_1.5.1+ds-1 libgmp10_2:6.2.1+dfsg1-1.1 libgnutls30_3.7.9-2 libgomp1_12.2.0-14+rpi1 libgpg-error0_1.46-1 libgssapi-krb5-2_1.20.1-1 libhogweed6_3.8.1-2 libhttp-parser2.9_2.9.4-5 libicu72_72.1-3 libidn2-0_2.3.3-1 libisl23_0.25-1 libjansson4_2.14-2 libk5crypto3_1.20.1-1 libkeyutils1_1.6.3-2 libkrb5-3_1.20.1-1 libkrb5support0_1.20.1-1 libksba8_1.6.3-2 libldap-2.5-0_2.5.13+dfsg-5+rpi1 libllvm14_1:14.0.6-12+rpi1 liblz4-1_1.9.4-1+rpi1 liblzma5_5.4.1-0.2 libmagic-mgc_1:5.44-3 libmagic1_1:5.44-3 libmbedcrypto7_2.28.3-1 libmbedtls14_2.28.3-1 libmbedx509-1_2.28.3-1 libmd0_1.0.4-2 libmount1_2.38.1-5 libmpc3_1.3.1-1 libmpfr6_4.2.0-1 libncursesw6_6.4-4 libnettle8_3.8.1-2 libnghttp2-14_1.52.0-1 libnpth0_1.6-3 libnsl-dev_1.3.0-2 libnsl2_1.3.0-2 libp11-kit0_0.24.1-2 libpam-cap_1:2.66-3 libpam-modules_1.5.2-6 libpam-modules-bin_1.5.2-6 libpam-runtime_1.5.2-6 libpam0g_1.5.2-6 libpcre2-8-0_10.42-1 libpcre3_2:8.39-15 libperl5.36_5.36.0-7 libpipeline1_1.5.7-1 libpsl5_0.21.2-1 libpython3-stdlib_3.11.2-1 libpython3.11-minimal_3.11.2-6 libpython3.11-stdlib_3.11.2-6 libreadline8_8.2-1.3 librtmp1_2.4+20151223.gitfa8646d.1-2+b2 librust-kvm-bindings-dev_0.1.1-1 librust-libc-dev_0.2.139-1 libsasl2-2_2.1.28+dfsg-10 libsasl2-modules-db_2.1.28+dfsg-10 libseccomp2_2.5.4-1+rpi1+b1 libselinux1_3.4-1+b2 libsemanage-common_3.4-1 libsemanage2_3.4-1+b2 libsepol1_3.1-1 libsepol2_3.4-2 libsmartcols1_2.38.1-5 libsqlite3-0_3.40.1-2 libss2_1.47.0-2 libssh2-1_1.10.0-3+b1 libssl1.1_1.1.1o-1 libssl3_3.0.8-1 libstd-rust-1.63_1.63.0+dfsg1-2+rpi1 libstd-rust-dev_1.63.0+dfsg1-2+rpi1 libstdc++-12-dev_12.2.0-14+rpi1 libstdc++6_12.2.0-14+rpi1 libsub-override-perl_0.09-4 libsystemd0_252.6-1+rpi1 libtasn1-6_4.19.0-2 libtinfo6_6.4-4 libtirpc-common_1.3.3+ds-1 libtirpc-dev_1.3.3+ds-1 libtirpc3_1.3.3+ds-1 libtool_2.4.7-5 libubsan1_12.2.0-14+rpi1 libuchardet0_0.0.7-1 libudev1_252.6-1+rpi1 libunistring2_1.0-2 libuuid1_2.38.1-5 libxml2_2.9.14+dfsg-1.2 libxxhash0_0.8.1-1 libz3-4_4.8.12-3.1 libzstd1_1.5.4+dfsg2-5 linux-libc-dev_6.0.12-1+rpi1+b1 login_1:4.13+dfsg1-1 logsave_1.47.0-2 lsb-base_11.4+rpi1 m4_1.4.19-3 make_4.3-4.1 man-db_2.11.2-2 mawk_1.3.4.20200120-3.1 media-types_10.0.0 mount_2.38.1-5 nano_7.2-1 ncurses-base_6.4-4 ncurses-bin_6.4-4 netbase_6.4 passwd_1:4.13+dfsg1-1 patch_2.7.6-7 perl_5.36.0-7 perl-base_5.36.0-7 perl-modules-5.36_5.36.0-7 pinentry-curses_1.2.1-1 po-debconf_1.0.21+nmu1 python3_3.11.2-1 python3-minimal_3.11.2-1 python3.11_3.11.2-6 python3.11-minimal_3.11.2-6 raspbian-archive-keyring_20120528.2 readline-common_8.2-1.3 rpcsvc-proto_1.4.3-1 rustc_1.63.0+dfsg1-2+rpi1 sbuild-build-depends-core-dummy_0.invalid.0 sbuild-build-depends-rust-kvm-ioctls-dummy_0.invalid.0 sed_4.9-1 sensible-utils_0.0.17+nmu1 sgml-base_1.31 sysvinit-utils_3.06-4 tar_1.34+dfsg-1.2 tzdata_2023c-3 util-linux_2.38.1-5 util-linux-extra_2.38.1-5 xz-utils_5.4.1-0.2 zlib1g_1:1.2.13.dfsg-1

+------------------------------------------------------------------------------+
| Build                                                                        |
+------------------------------------------------------------------------------+


Unpack source
-------------

gpgv: Signature made Wed Aug 28 11:29:41 2019 UTC
gpgv:                using RSA key 53B12A03C6551D8A0B2613C4E6F98EE292D5ECCB
gpgv: Can't check signature: No public key
dpkg-source: warning: cannot verify inline signature for ./rust-kvm-ioctls_0.2.0-1.dsc: no acceptable signature found
dpkg-source: info: extracting rust-kvm-ioctls in /<<PKGBUILDDIR>>
dpkg-source: info: unpacking rust-kvm-ioctls_0.2.0.orig.tar.gz
dpkg-source: info: unpacking rust-kvm-ioctls_0.2.0-1.debian.tar.xz

Check disk space
----------------

Sufficient free space for build

User Environment
----------------

APT_CONFIG=/var/lib/sbuild/apt.conf
DEB_BUILD_OPTIONS=parallel=4
HOME=/sbuild-nonexistent
LC_ALL=POSIX
LOGNAME=buildd
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games
SCHROOT_ALIAS_NAME=bookworm-staging-armhf-sbuild
SCHROOT_CHROOT_NAME=bookworm-staging-armhf-sbuild
SCHROOT_COMMAND=env
SCHROOT_GID=112
SCHROOT_GROUP=buildd
SCHROOT_SESSION_ID=bookworm-staging-armhf-sbuild-21284543-53ab-421f-91bb-db73bc23ebdd
SCHROOT_UID=107
SCHROOT_USER=buildd
SHELL=/bin/sh
USER=buildd

dpkg-buildpackage
-----------------

dpkg-buildpackage: info: source package rust-kvm-ioctls
dpkg-buildpackage: info: source version 0.2.0-1
dpkg-buildpackage: info: source distribution unstable
 dpkg-source --before-build .
dpkg-buildpackage: info: host architecture armhf
 fakeroot debian/rules clean
dh clean --buildsystem cargo
   dh_auto_clean -O--buildsystem=cargo
debian cargo wrapper: options, profiles, parallel: ['parallel=4'] [] ['-j4']
debian cargo wrapper: rust_type, gnu_type: arm-unknown-linux-gnueabihf, arm-linux-gnueabihf
debian cargo wrapper: running subprocess (['env', 'RUST_BACKTRACE=1', '/usr/bin/cargo', 'clean', '--verbose', '--verbose'],) {'check': True}
   dh_autoreconf_clean -O--buildsystem=cargo
   dh_clean -O--buildsystem=cargo
 debian/rules build-arch
dh build-arch --buildsystem cargo
   dh_update_autotools_config -a -O--buildsystem=cargo
   dh_autoreconf -a -O--buildsystem=cargo
   dh_auto_configure -a -O--buildsystem=cargo
debian cargo wrapper: options, profiles, parallel: ['parallel=4'] [] ['-j4']
debian cargo wrapper: rust_type, gnu_type: arm-unknown-linux-gnueabihf, arm-linux-gnueabihf
debian cargo wrapper: linking /usr/share/cargo/registry/* into /<<PKGBUILDDIR>>/debian/cargo_registry/
   dh_auto_build -a -O--buildsystem=cargo
   dh_auto_test -a -O--buildsystem=cargo
debian cargo wrapper: options, profiles, parallel: ['parallel=4'] [] ['-j4']
debian cargo wrapper: rust_type, gnu_type: arm-unknown-linux-gnueabihf, arm-linux-gnueabihf
debian cargo wrapper: running subprocess (['env', 'RUST_BACKTRACE=1', '/usr/bin/cargo', '-Zavoid-dev-deps', 'build', '--verbose', '--verbose', '-j4', '--target', 'arm-unknown-linux-gnueabihf'],) {}
   Compiling libc v0.2.139
   Compiling kvm-bindings v0.1.1
     Running `CARGO=/usr/bin/cargo CARGO_CRATE_NAME=kvm_bindings CARGO_MANIFEST_DIR=/<<PKGBUILDDIR>>/debian/cargo_registry/kvm-bindings-0.1.1 CARGO_PKG_AUTHORS='Amazon firecracker team <firecracker-devel@amazon.com>' CARGO_PKG_DESCRIPTION='Rust FFI bindings to KVM generated using bindgen.' CARGO_PKG_HOMEPAGE='' CARGO_PKG_LICENSE=Apache-2.0 CARGO_PKG_LICENSE_FILE='' CARGO_PKG_NAME=kvm-bindings CARGO_PKG_REPOSITORY='https://github.com/rust-vmm/kvm-bindings' CARGO_PKG_RUST_VERSION='' CARGO_PKG_VERSION=0.1.1 CARGO_PKG_VERSION_MAJOR=0 CARGO_PKG_VERSION_MINOR=1 CARGO_PKG_VERSION_PATCH=1 CARGO_PKG_VERSION_PRE='' LD_LIBRARY_PATH='/<<PKGBUILDDIR>>/target/debug/deps:/usr/lib' rustc --crate-name kvm_bindings /<<PKGBUILDDIR>>/debian/cargo_registry/kvm-bindings-0.1.1/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debuginfo=2 -C metadata=3f66f1c553bc0af2 -C extra-filename=-3f66f1c553bc0af2 --out-dir /<<PKGBUILDDIR>>/target/arm-unknown-linux-gnueabihf/debug/deps --target arm-unknown-linux-gnueabihf -L dependency=/<<PKGBUILDDIR>>/target/arm-unknown-linux-gnueabihf/debug/deps -L dependency=/<<PKGBUILDDIR>>/target/debug/deps --cap-lints warn -C debuginfo=2 --cap-lints warn -C linker=arm-linux-gnueabihf-gcc -C link-arg=-Wl,-z,relro --remap-path-prefix /<<PKGBUILDDIR>>=/usr/share/cargo/registry/kvm-ioctls-0.2.0 --remap-path-prefix /<<PKGBUILDDIR>>/debian/cargo_registry=/usr/share/cargo/registry`
     Running `CARGO=/usr/bin/cargo CARGO_CRATE_NAME=build_script_build CARGO_MANIFEST_DIR=/<<PKGBUILDDIR>>/debian/cargo_registry/libc-0.2.139 CARGO_PKG_AUTHORS='The Rust Project Developers' CARGO_PKG_DESCRIPTION='Raw FFI bindings to platform libraries like libc.
' CARGO_PKG_HOMEPAGE='https://github.com/rust-lang/libc' CARGO_PKG_LICENSE='MIT OR Apache-2.0' CARGO_PKG_LICENSE_FILE='' CARGO_PKG_NAME=libc CARGO_PKG_REPOSITORY='https://github.com/rust-lang/libc' CARGO_PKG_RUST_VERSION='' CARGO_PKG_VERSION=0.2.139 CARGO_PKG_VERSION_MAJOR=0 CARGO_PKG_VERSION_MINOR=2 CARGO_PKG_VERSION_PATCH=139 CARGO_PKG_VERSION_PRE='' LD_LIBRARY_PATH='/<<PKGBUILDDIR>>/target/debug/deps:/usr/lib' rustc --crate-name build_script_build /<<PKGBUILDDIR>>/debian/cargo_registry/libc-0.2.139/build.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type bin --emit=dep-info,link -C embed-bitcode=no -C debuginfo=2 --cfg 'feature="default"' --cfg 'feature="std"' -C metadata=2b214daabd455541 -C extra-filename=-2b214daabd455541 --out-dir /<<PKGBUILDDIR>>/target/debug/build/libc-2b214daabd455541 -L dependency=/<<PKGBUILDDIR>>/target/debug/deps --cap-lints warn`
     Running `/<<PKGBUILDDIR>>/target/debug/build/libc-2b214daabd455541/build-script-build`
[libc 0.2.139] cargo:rerun-if-changed=build.rs
[libc 0.2.139] cargo:rustc-cfg=freebsd11
[libc 0.2.139] cargo:rustc-cfg=libc_priv_mod_use
[libc 0.2.139] cargo:rustc-cfg=libc_union
[libc 0.2.139] cargo:rustc-cfg=libc_const_size_of
[libc 0.2.139] cargo:rustc-cfg=libc_align
[libc 0.2.139] cargo:rustc-cfg=libc_int128
[libc 0.2.139] cargo:rustc-cfg=libc_core_cvoid
[libc 0.2.139] cargo:rustc-cfg=libc_packedN
[libc 0.2.139] cargo:rustc-cfg=libc_cfg_target_vendor
[libc 0.2.139] cargo:rustc-cfg=libc_non_exhaustive
[libc 0.2.139] cargo:rustc-cfg=libc_ptr_addr_of
[libc 0.2.139] cargo:rustc-cfg=libc_underscore_const_names
[libc 0.2.139] cargo:rustc-cfg=libc_const_extern_fn
     Running `CARGO=/usr/bin/cargo CARGO_CRATE_NAME=libc CARGO_MANIFEST_DIR=/<<PKGBUILDDIR>>/debian/cargo_registry/libc-0.2.139 CARGO_PKG_AUTHORS='The Rust Project Developers' CARGO_PKG_DESCRIPTION='Raw FFI bindings to platform libraries like libc.
' CARGO_PKG_HOMEPAGE='https://github.com/rust-lang/libc' CARGO_PKG_LICENSE='MIT OR Apache-2.0' CARGO_PKG_LICENSE_FILE='' CARGO_PKG_NAME=libc CARGO_PKG_REPOSITORY='https://github.com/rust-lang/libc' CARGO_PKG_RUST_VERSION='' CARGO_PKG_VERSION=0.2.139 CARGO_PKG_VERSION_MAJOR=0 CARGO_PKG_VERSION_MINOR=2 CARGO_PKG_VERSION_PATCH=139 CARGO_PKG_VERSION_PRE='' LD_LIBRARY_PATH='/<<PKGBUILDDIR>>/target/debug/deps:/usr/lib' OUT_DIR=/<<PKGBUILDDIR>>/target/arm-unknown-linux-gnueabihf/debug/build/libc-3bfcb0614b4bb70f/out rustc --crate-name libc /<<PKGBUILDDIR>>/debian/cargo_registry/libc-0.2.139/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debuginfo=2 --cfg 'feature="default"' --cfg 'feature="std"' -C metadata=c1eb5ce139dbcf06 -C extra-filename=-c1eb5ce139dbcf06 --out-dir /<<PKGBUILDDIR>>/target/arm-unknown-linux-gnueabihf/debug/deps --target arm-unknown-linux-gnueabihf -L dependency=/<<PKGBUILDDIR>>/target/arm-unknown-linux-gnueabihf/debug/deps -L dependency=/<<PKGBUILDDIR>>/target/debug/deps --cap-lints warn -C debuginfo=2 --cap-lints warn -C linker=arm-linux-gnueabihf-gcc -C link-arg=-Wl,-z,relro --remap-path-prefix /<<PKGBUILDDIR>>=/usr/share/cargo/registry/kvm-ioctls-0.2.0 --remap-path-prefix /<<PKGBUILDDIR>>/debian/cargo_registry=/usr/share/cargo/registry --cfg freebsd11 --cfg libc_priv_mod_use --cfg libc_union --cfg libc_const_size_of --cfg libc_align --cfg libc_int128 --cfg libc_core_cvoid --cfg libc_packedN --cfg libc_cfg_target_vendor --cfg libc_non_exhaustive --cfg libc_ptr_addr_of --cfg libc_underscore_const_names --cfg libc_const_extern_fn`
   Compiling kvm-ioctls v0.2.0 (/<<PKGBUILDDIR>>)
     Running `CARGO=/usr/bin/cargo CARGO_CRATE_NAME=kvm_ioctls CARGO_MANIFEST_DIR=/<<PKGBUILDDIR>> CARGO_PKG_AUTHORS='Amazon Firecracker Team <firecracker-maintainers@amazon.com>' CARGO_PKG_DESCRIPTION='Safe wrappers over KVM ioctls' CARGO_PKG_HOMEPAGE='' CARGO_PKG_LICENSE='Apache-2.0 OR MIT' CARGO_PKG_LICENSE_FILE='' CARGO_PKG_NAME=kvm-ioctls CARGO_PKG_REPOSITORY='https://github.com/rust-vmm/kvm-ioctls' CARGO_PKG_RUST_VERSION='' CARGO_PKG_VERSION=0.2.0 CARGO_PKG_VERSION_MAJOR=0 CARGO_PKG_VERSION_MINOR=2 CARGO_PKG_VERSION_PATCH=0 CARGO_PKG_VERSION_PRE='' CARGO_PRIMARY_PACKAGE=1 LD_LIBRARY_PATH='/<<PKGBUILDDIR>>/target/debug/deps:/usr/lib' rustc --crate-name kvm_ioctls src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debuginfo=2 -C metadata=43f426064a003616 -C extra-filename=-43f426064a003616 --out-dir /<<PKGBUILDDIR>>/target/arm-unknown-linux-gnueabihf/debug/deps --target arm-unknown-linux-gnueabihf -C incremental=/<<PKGBUILDDIR>>/target/arm-unknown-linux-gnueabihf/debug/incremental -L dependency=/<<PKGBUILDDIR>>/target/arm-unknown-linux-gnueabihf/debug/deps -L dependency=/<<PKGBUILDDIR>>/target/debug/deps --extern kvm_bindings=/<<PKGBUILDDIR>>/target/arm-unknown-linux-gnueabihf/debug/deps/libkvm_bindings-3f66f1c553bc0af2.rmeta --extern libc=/<<PKGBUILDDIR>>/target/arm-unknown-linux-gnueabihf/debug/deps/liblibc-c1eb5ce139dbcf06.rmeta -C debuginfo=2 --cap-lints warn -C linker=arm-linux-gnueabihf-gcc -C link-arg=-Wl,-z,relro --remap-path-prefix /<<PKGBUILDDIR>>=/usr/share/cargo/registry/kvm-ioctls-0.2.0 --remap-path-prefix /<<PKGBUILDDIR>>/debian/cargo_registry=/usr/share/cargo/registry`
error[E0432]: unresolved import `kvm_bindings::kvm_run`
  --> src/ioctls/mod.rs:15:5
   |
15 | use kvm_bindings::kvm_run;
   |     ^^^^^^^^^^^^^^^^^^^^^ no `kvm_run` in the root

error[E0432]: unresolved import `kvm_bindings::kvm_device_attr`
 --> src/ioctls/device.rs:8:5
  |
8 | use kvm_bindings::kvm_device_attr;
  |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no `kvm_device_attr` in the root

error[E0425]: cannot find value `KVMIO` in this scope
  --> src/kvm_ioctls.rs:13:35
   |
13 | ioctl_io_nr!(KVM_GET_API_VERSION, KVMIO, 0x00);
   |                                   ^^^^^ not found in this scope

error[E0425]: cannot find value `KVMIO` in this scope
  --> src/kvm_ioctls.rs:14:29
   |
14 | ioctl_io_nr!(KVM_CREATE_VM, KVMIO, 0x01);
   |                             ^^^^^ not found in this scope

error[E0425]: cannot find value `KVMIO` in this scope
  --> src/kvm_ioctls.rs:15:35
   |
15 | ioctl_io_nr!(KVM_CHECK_EXTENSION, KVMIO, 0x03);
   |                                   ^^^^^ not found in this scope

error[E0425]: cannot find value `KVMIO` in this scope
  --> src/kvm_ioctls.rs:16:38
   |
16 | ioctl_io_nr!(KVM_GET_VCPU_MMAP_SIZE, KVMIO, 0x04);
   |                                      ^^^^^ not found in this scope

error[E0425]: cannot find value `KVMIO` in this scope
  --> src/kvm_ioctls.rs:21:31
   |
21 | ioctl_io_nr!(KVM_CREATE_VCPU, KVMIO, 0x41);
   |                               ^^^^^ not found in this scope

error[E0425]: cannot find value `KVMIO` in this scope
  --> src/kvm_ioctls.rs:22:34
   |
22 | ioctl_iow_nr!(KVM_GET_DIRTY_LOG, KVMIO, 0x42, kvm_dirty_log);
   |                                  ^^^^^ not found in this scope

error[E0412]: cannot find type `kvm_dirty_log` in this scope
  --> src/kvm_ioctls.rs:22:47
   |
22 | ioctl_iow_nr!(KVM_GET_DIRTY_LOG, KVMIO, 0x42, kvm_dirty_log);
   |                                               ^^^^^^^^^^^^^ not found in this scope

error[E0425]: cannot find value `KVMIO` in this scope
  --> src/kvm_ioctls.rs:25:5
   |
25 |     KVMIO,
   |     ^^^^^ not found in this scope

error[E0412]: cannot find type `kvm_userspace_memory_region` in this scope
  --> src/kvm_ioctls.rs:27:5
   |
27 |     kvm_userspace_memory_region
   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope

error[E0425]: cannot find value `KVMIO` in this scope
  --> src/kvm_ioctls.rs:38:34
   |
38 | ioctl_io_nr!(KVM_CREATE_IRQCHIP, KVMIO, 0x60);
   |                                  ^^^^^ not found in this scope

error[E0425]: cannot find value `KVMIO` in this scope
  --> src/kvm_ioctls.rs:46:26
   |
46 | ioctl_iow_nr!(KVM_IRQFD, KVMIO, 0x76, kvm_irqfd);
   |                          ^^^^^ not found in this scope

error[E0412]: cannot find type `kvm_irqfd` in this scope
  --> src/kvm_ioctls.rs:46:39
   |
46 | ioctl_iow_nr!(KVM_IRQFD, KVMIO, 0x76, kvm_irqfd);
   |                                       ^^^^^^^^^ not found in this scope

error[E0425]: cannot find value `KVMIO` in this scope
  --> src/kvm_ioctls.rs:49:30
   |
49 | ioctl_iow_nr!(KVM_IOEVENTFD, KVMIO, 0x79, kvm_ioeventfd);
   |                              ^^^^^ not found in this scope

error[E0412]: cannot find type `kvm_ioeventfd` in this scope
  --> src/kvm_ioctls.rs:49:43
   |
49 | ioctl_iow_nr!(KVM_IOEVENTFD, KVMIO, 0x79, kvm_ioeventfd);
   |                                           ^^^^^^^^^^^^^ not found in this scope

error[E0425]: cannot find value `KVMIO` in this scope
  --> src/kvm_ioctls.rs:50:23
   |
50 | ioctl_io_nr!(KVM_RUN, KVMIO, 0x80);
   |                       ^^^^^ not found in this scope

error[E0425]: cannot find value `KVMIO` in this scope
  --> src/kvm_ioctls.rs:93:31
   |
93 | ioctl_iow_nr!(KVM_SIGNAL_MSI, KVMIO, 0xa5, kvm_msi);
   |                               ^^^^^ not found in this scope

error[E0412]: cannot find type `kvm_msi` in this scope
  --> src/kvm_ioctls.rs:93:44
   |
93 | ioctl_iow_nr!(KVM_SIGNAL_MSI, KVMIO, 0xa5, kvm_msi);
   |                                            ^^^^^^^ not found in this scope

error[E0425]: cannot find value `KVMIO` in this scope
  --> src/kvm_ioctls.rs:95:32
   |
95 | ioctl_iow_nr!(KVM_SET_ONE_REG, KVMIO, 0xac, kvm_one_reg);
   |                                ^^^^^ not found in this scope

error[E0412]: cannot find type `kvm_one_reg` in this scope
  --> src/kvm_ioctls.rs:95:45
   |
95 | ioctl_iow_nr!(KVM_SET_ONE_REG, KVMIO, 0xac, kvm_one_reg);
   |                                             ^^^^^^^^^^^ not found in this scope

error[E0425]: cannot find value `KVMIO` in this scope
  --> src/kvm_ioctls.rs:97:34
   |
97 | ioctl_iow_nr!(KVM_ARM_VCPU_INIT, KVMIO, 0xae, kvm_vcpu_init);
   |                                  ^^^^^ not found in this scope

error[E0412]: cannot find type `kvm_vcpu_init` in this scope
  --> src/kvm_ioctls.rs:97:47
   |
97 | ioctl_iow_nr!(KVM_ARM_VCPU_INIT, KVMIO, 0xae, kvm_vcpu_init);
   |                                               ^^^^^^^^^^^^^ not found in this scope

error[E0425]: cannot find value `KVMIO` in this scope
  --> src/kvm_ioctls.rs:99:41
   |
99 | ioctl_ior_nr!(KVM_ARM_PREFERRED_TARGET, KVMIO, 0xaf, kvm_vcpu_init);
   |                                         ^^^^^ not found in this scope

error[E0412]: cannot find type `kvm_vcpu_init` in this scope
  --> src/kvm_ioctls.rs:99:54
   |
99 | ioctl_ior_nr!(KVM_ARM_PREFERRED_TARGET, KVMIO, 0xaf, kvm_vcpu_init);
   |                                                      ^^^^^^^^^^^^^ not found in this scope

error[E0425]: cannot find value `KVMIO` in this scope
   --> src/kvm_ioctls.rs:100:35
    |
100 | ioctl_iowr_nr!(KVM_CREATE_DEVICE, KVMIO, 0xe0, kvm_create_device);
    |                                   ^^^^^ not found in this scope

error[E0412]: cannot find type `kvm_create_device` in this scope
   --> src/kvm_ioctls.rs:100:48
    |
100 | ioctl_iowr_nr!(KVM_CREATE_DEVICE, KVMIO, 0xe0, kvm_create_device);
    |                                                ^^^^^^^^^^^^^^^^^ not found in this scope

error[E0425]: cannot find value `KVMIO` in this scope
   --> src/kvm_ioctls.rs:101:36
    |
101 | ioctl_iow_nr!(KVM_SET_DEVICE_ATTR, KVMIO, 0xe1, kvm_device_attr);
    |                                    ^^^^^ not found in this scope

error[E0412]: cannot find type `kvm_device_attr` in this scope
   --> src/kvm_ioctls.rs:101:49
    |
101 | ioctl_iow_nr!(KVM_SET_DEVICE_ATTR, KVMIO, 0xe1, kvm_device_attr);
    |                                                 ^^^^^^^^^^^^^^^ not found in this scope

error[E0425]: cannot find value `KVM_CAP_IRQCHIP` in this scope
  --> src/cap.rs:25:15
   |
25 |     Irqchip = KVM_CAP_IRQCHIP,
   |               ^^^^^^^^^^^^^^^ not found in this scope

error[E0425]: cannot find value `KVM_CAP_HLT` in this scope
  --> src/cap.rs:26:11
   |
26 |     Hlt = KVM_CAP_HLT,
   |           ^^^^^^^^^^^ not found in this scope

error[E0425]: cannot find value `KVM_CAP_MMU_SHADOW_CACHE_CONTROL` in this scope
  --> src/cap.rs:27:29
   |
27 |     MmuShadowCacheControl = KVM_CAP_MMU_SHADOW_CACHE_CONTROL,
   |                             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope

error[E0425]: cannot find value `KVM_CAP_USER_MEMORY` in this scope
  --> src/cap.rs:28:18
   |
28 |     UserMemory = KVM_CAP_USER_MEMORY,
   |                  ^^^^^^^^^^^^^^^^^^^ not found in this scope

error[E0425]: cannot find value `KVM_CAP_SET_TSS_ADDR` in this scope
  --> src/cap.rs:29:18
   |
29 |     SetTssAddr = KVM_CAP_SET_TSS_ADDR,
   |                  ^^^^^^^^^^^^^^^^^^^^ not found in this scope

error[E0425]: cannot find value `KVM_CAP_VAPIC` in this scope
  --> src/cap.rs:30:13
   |
30 |     Vapic = KVM_CAP_VAPIC,
   |             ^^^^^^^^^^^^^ not found in this scope

error[E0425]: cannot find value `KVM_CAP_EXT_CPUID` in this scope
  --> src/cap.rs:31:16
   |
31 |     ExtCpuid = KVM_CAP_EXT_CPUID,
   |                ^^^^^^^^^^^^^^^^^ not found in this scope

error[E0425]: cannot find value `KVM_CAP_CLOCKSOURCE` in this scope
  --> src/cap.rs:32:19
   |
32 |     Clocksource = KVM_CAP_CLOCKSOURCE,
   |                   ^^^^^^^^^^^^^^^^^^^ not found in this scope

error[E0425]: cannot find value `KVM_CAP_NR_VCPUS` in this scope
  --> src/cap.rs:33:15
   |
33 |     NrVcpus = KVM_CAP_NR_VCPUS,
   |               ^^^^^^^^^^^^^^^^ not found in this scope

error[E0425]: cannot find value `KVM_CAP_NR_MEMSLOTS` in this scope
  --> src/cap.rs:34:18
   |
34 |     NrMemslots = KVM_CAP_NR_MEMSLOTS,
   |                  ^^^^^^^^^^^^^^^^^^^ not found in this scope

error[E0425]: cannot find value `KVM_CAP_PIT` in this scope
  --> src/cap.rs:35:11
   |
35 |     Pit = KVM_CAP_PIT,
   |           ^^^^^^^^^^^ not found in this scope

error[E0425]: cannot find value `KVM_CAP_NOP_IO_DELAY` in this scope
  --> src/cap.rs:36:18
   |
36 |     NopIoDelay = KVM_CAP_NOP_IO_DELAY,
   |                  ^^^^^^^^^^^^^^^^^^^^ not found in this scope

error[E0425]: cannot find value `KVM_CAP_PV_MMU` in this scope
  --> src/cap.rs:37:13
   |
37 |     PvMmu = KVM_CAP_PV_MMU,
   |             ^^^^^^^^^^^^^^ not found in this scope

error[E0425]: cannot find value `KVM_CAP_MP_STATE` in this scope
  --> src/cap.rs:38:15
   |
38 |     MpState = KVM_CAP_MP_STATE,
   |               ^^^^^^^^^^^^^^^^ not found in this scope

error[E0425]: cannot find value `KVM_CAP_COALESCED_MMIO` in this scope
  --> src/cap.rs:39:21
   |
39 |     CoalescedMmio = KVM_CAP_COALESCED_MMIO,
   |                     ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope

error[E0425]: cannot find value `KVM_CAP_SYNC_MMU` in this scope
  --> src/cap.rs:40:15
   |
40 |     SyncMmu = KVM_CAP_SYNC_MMU,
   |               ^^^^^^^^^^^^^^^^ not found in this scope

error[E0425]: cannot find value `KVM_CAP_IOMMU` in this scope
  --> src/cap.rs:41:13
   |
41 |     Iommu = KVM_CAP_IOMMU,
   |             ^^^^^^^^^^^^^ not found in this scope

error[E0425]: cannot find value `KVM_CAP_DESTROY_MEMORY_REGION_WORKS` in this scope
  --> src/cap.rs:42:32
   |
42 |     DestroyMemoryRegionWorks = KVM_CAP_DESTROY_MEMORY_REGION_WORKS,
   |                                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope

error[E0425]: cannot find value `KVM_CAP_USER_NMI` in this scope
  --> src/cap.rs:43:15
   |
43 |     UserNmi = KVM_CAP_USER_NMI,
   |               ^^^^^^^^^^^^^^^^ not found in this scope

error[E0425]: cannot find value `KVM_CAP_SET_GUEST_DEBUG` in this scope
  --> src/cap.rs:44:21
   |
44 |     SetGuestDebug = KVM_CAP_SET_GUEST_DEBUG,
   |                     ^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope

error[E0425]: cannot find value `KVM_CAP_IRQ_ROUTING` in this scope
  --> src/cap.rs:47:18
   |
47 |     IrqRouting = KVM_CAP_IRQ_ROUTING,
   |                  ^^^^^^^^^^^^^^^^^^^ not found in this scope

error[E0425]: cannot find value `KVM_CAP_IRQ_INJECT_STATUS` in this scope
  --> src/cap.rs:48:23
   |
48 |     IrqInjectStatus = KVM_CAP_IRQ_INJECT_STATUS,
   |                       ^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope

error[E0425]: cannot find value `KVM_CAP_ASSIGN_DEV_IRQ` in this scope
  --> src/cap.rs:49:20
   |
49 |     AssignDevIrq = KVM_CAP_ASSIGN_DEV_IRQ,
   |                    ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope

error[E0425]: cannot find value `KVM_CAP_JOIN_MEMORY_REGIONS_WORKS` in this scope
  --> src/cap.rs:50:30
   |
50 |     JoinMemoryRegionsWorks = KVM_CAP_JOIN_MEMORY_REGIONS_WORKS,
   |                              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope

error[E0425]: cannot find value `KVM_CAP_IRQFD` in this scope
  --> src/cap.rs:53:13
   |
53 |     Irqfd = KVM_CAP_IRQFD,
   |             ^^^^^^^^^^^^^ not found in this scope

error[E0425]: cannot find value `KVM_CAP_SET_BOOT_CPU_ID` in this scope
  --> src/cap.rs:56:20
   |
56 |     SetBootCpuId = KVM_CAP_SET_BOOT_CPU_ID,
   |                    ^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope

error[E0425]: cannot find value `KVM_CAP_IOEVENTFD` in this scope
  --> src/cap.rs:59:17
   |
59 |     Ioeventfd = KVM_CAP_IOEVENTFD,
   |                 ^^^^^^^^^^^^^^^^^ not found in this scope

error[E0425]: cannot find value `KVM_CAP_SET_IDENTITY_MAP_ADDR` in this scope
  --> src/cap.rs:60:26
   |
60 |     SetIdentityMapAddr = KVM_CAP_SET_IDENTITY_MAP_ADDR,
   |                          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope

error[E0425]: cannot find value `KVM_CAP_ADJUST_CLOCK` in this scope
  --> src/cap.rs:63:19
   |
63 |     AdjustClock = KVM_CAP_ADJUST_CLOCK,
   |                   ^^^^^^^^^^^^^^^^^^^^ not found in this scope

error[E0425]: cannot find value `KVM_CAP_INTERNAL_ERROR_DATA` in this scope
  --> src/cap.rs:64:25
   |
64 |     InternalErrorData = KVM_CAP_INTERNAL_ERROR_DATA,
   |                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope

error[E0425]: cannot find value `KVM_CAP_S390_PSW` in this scope
  --> src/cap.rs:67:15
   |
67 |     S390Psw = KVM_CAP_S390_PSW,
   |               ^^^^^^^^^^^^^^^^ not found in this scope

error[E0425]: cannot find value `KVM_CAP_PPC_SEGSTATE` in this scope
  --> src/cap.rs:68:19
   |
68 |     PpcSegstate = KVM_CAP_PPC_SEGSTATE,
   |                   ^^^^^^^^^^^^^^^^^^^^ not found in this scope

error[E0425]: cannot find value `KVM_CAP_HYPERV` in this scope
  --> src/cap.rs:69:14
   |
69 |     Hyperv = KVM_CAP_HYPERV,
   |              ^^^^^^^^^^^^^^ not found in this scope

error[E0425]: cannot find value `KVM_CAP_HYPERV_VAPIC` in this scope
  --> src/cap.rs:70:19
   |
70 |     HypervVapic = KVM_CAP_HYPERV_VAPIC,
   |                   ^^^^^^^^^^^^^^^^^^^^ not found in this scope

error[E0425]: cannot find value `KVM_CAP_HYPERV_SPIN` in this scope
  --> src/cap.rs:71:18
   |
71 |     HypervSpin = KVM_CAP_HYPERV_SPIN,
   |                  ^^^^^^^^^^^^^^^^^^^ not found in this scope

error[E0425]: cannot find value `KVM_CAP_PCI_SEGMENT` in this scope
  --> src/cap.rs:72:18
   |
72 |     PciSegment = KVM_CAP_PCI_SEGMENT,
   |                  ^^^^^^^^^^^^^^^^^^^ not found in this scope

error[E0425]: cannot find value `KVM_CAP_PPC_PAIRED_SINGLES` in this scope
  --> src/cap.rs:73:24
   |
73 |     PpcPairedSingles = KVM_CAP_PPC_PAIRED_SINGLES,
   |                        ^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope

error[E0425]: cannot find value `KVM_CAP_INTR_SHADOW` in this scope
  --> src/cap.rs:74:18
   |
74 |     IntrShadow = KVM_CAP_INTR_SHADOW,
   |                  ^^^^^^^^^^^^^^^^^^^ not found in this scope

error[E0425]: cannot find value `KVM_CAP_X86_ROBUST_SINGLESTEP` in this scope
  --> src/cap.rs:77:27
   |
77 |     X86RobustSinglestep = KVM_CAP_X86_ROBUST_SINGLESTEP,
   |                           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope

error[E0425]: cannot find value `KVM_CAP_PPC_OSI` in this scope
  --> src/cap.rs:78:14
   |
78 |     PpcOsi = KVM_CAP_PPC_OSI,
   |              ^^^^^^^^^^^^^^^ not found in this scope

error[E0425]: cannot find value `KVM_CAP_PPC_UNSET_IRQ` in this scope
  --> src/cap.rs:79:19
   |
79 |     PpcUnsetIrq = KVM_CAP_PPC_UNSET_IRQ,
   |                   ^^^^^^^^^^^^^^^^^^^^^ not found in this scope

error[E0425]: cannot find value `KVM_CAP_ENABLE_CAP` in this scope
  --> src/cap.rs:80:17
   |
80 |     EnableCap = KVM_CAP_ENABLE_CAP,
   |                 ^^^^^^^^^^^^^^^^^^ not found in this scope

error[E0425]: cannot find value `KVM_CAP_PPC_GET_PVINFO` in this scope
  --> src/cap.rs:85:20
   |
85 |     PpcGetPvinfo = KVM_CAP_PPC_GET_PVINFO,
   |                    ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope

error[E0425]: cannot find value `KVM_CAP_PPC_IRQ_LEVEL` in this scope
  --> src/cap.rs:86:19
   |
86 |     PpcIrqLevel = KVM_CAP_PPC_IRQ_LEVEL,
   |                   ^^^^^^^^^^^^^^^^^^^^^ not found in this scope

error[E0425]: cannot find value `KVM_CAP_ASYNC_PF` in this scope
  --> src/cap.rs:87:15
   |
87 |     AsyncPf = KVM_CAP_ASYNC_PF,
   |               ^^^^^^^^^^^^^^^^ not found in this scope

error[E0425]: cannot find value `KVM_CAP_TSC_CONTROL` in this scope
  --> src/cap.rs:88:18
   |
88 |     TscControl = KVM_CAP_TSC_CONTROL,
   |                  ^^^^^^^^^^^^^^^^^^^ not found in this scope

error[E0425]: cannot find value `KVM_CAP_GET_TSC_KHZ` in this scope
  --> src/cap.rs:89:17
   |
89 |     GetTscKhz = KVM_CAP_GET_TSC_KHZ,
   |                 ^^^^^^^^^^^^^^^^^^^ not found in this scope

error[E0425]: cannot find value `KVM_CAP_PPC_BOOKE_SREGS` in this scope
  --> src/cap.rs:90:21
   |
90 |     PpcBookeSregs = KVM_CAP_PPC_BOOKE_SREGS,
   |                     ^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope

error[E0425]: cannot find value `KVM_CAP_SPAPR_TCE` in this scope
  --> src/cap.rs:91:16
   |
91 |     SpaprTce = KVM_CAP_SPAPR_TCE,
   |                ^^^^^^^^^^^^^^^^^ not found in this scope

error[E0425]: cannot find value `KVM_CAP_PPC_SMT` in this scope
  --> src/cap.rs:92:14
   |
92 |     PpcSmt = KVM_CAP_PPC_SMT,
   |              ^^^^^^^^^^^^^^^ not found in this scope

error[E0425]: cannot find value `KVM_CAP_PPC_RMA` in this scope
  --> src/cap.rs:93:14
   |
93 |     PpcRma = KVM_CAP_PPC_RMA,
   |              ^^^^^^^^^^^^^^^ not found in this scope

error[E0425]: cannot find value `KVM_CAP_MAX_VCPUS` in this scope
  --> src/cap.rs:94:16
   |
94 |     MaxVcpus = KVM_CAP_MAX_VCPUS,
   |                ^^^^^^^^^^^^^^^^^ not found in this scope

error[E0425]: cannot find value `KVM_CAP_PPC_HIOR` in this scope
  --> src/cap.rs:95:15
   |
95 |     PpcHior = KVM_CAP_PPC_HIOR,
   |               ^^^^^^^^^^^^^^^^ not found in this scope

error[E0425]: cannot find value `KVM_CAP_PPC_PAPR` in this scope
  --> src/cap.rs:96:15
   |
96 |     PpcPapr = KVM_CAP_PPC_PAPR,
   |               ^^^^^^^^^^^^^^^^ not found in this scope

error[E0425]: cannot find value `KVM_CAP_SW_TLB` in this scope
  --> src/cap.rs:97:13
   |
97 |     SwTlb = KVM_CAP_SW_TLB,
   |             ^^^^^^^^^^^^^^ not found in this scope

error[E0425]: cannot find value `KVM_CAP_ONE_REG` in this scope
  --> src/cap.rs:98:14
   |
98 |     OneReg = KVM_CAP_ONE_REG,
   |              ^^^^^^^^^^^^^^^ not found in this scope

error[E0425]: cannot find value `KVM_CAP_S390_GMAP` in this scope
  --> src/cap.rs:99:16
   |
99 |     S390Gmap = KVM_CAP_S390_GMAP,
   |                ^^^^^^^^^^^^^^^^^ not found in this scope

error[E0425]: cannot find value `KVM_CAP_TSC_DEADLINE_TIMER` in this scope
   --> src/cap.rs:100:24
    |
100 |     TscDeadlineTimer = KVM_CAP_TSC_DEADLINE_TIMER,
    |                        ^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope

error[E0425]: cannot find value `KVM_CAP_S390_UCONTROL` in this scope
   --> src/cap.rs:101:20
    |
101 |     S390Ucontrol = KVM_CAP_S390_UCONTROL,
    |                    ^^^^^^^^^^^^^^^^^^^^^ not found in this scope

error[E0425]: cannot find value `KVM_CAP_SYNC_REGS` in this scope
   --> src/cap.rs:102:16
    |
102 |     SyncRegs = KVM_CAP_SYNC_REGS,
    |                ^^^^^^^^^^^^^^^^^ not found in this scope

error[E0425]: cannot find value `KVM_CAP_PCI_2_3` in this scope
   --> src/cap.rs:103:13
    |
103 |     Pci23 = KVM_CAP_PCI_2_3,
    |             ^^^^^^^^^^^^^^^ not found in this scope

error[E0425]: cannot find value `KVM_CAP_KVMCLOCK_CTRL` in this scope
   --> src/cap.rs:104:20
    |
104 |     KvmclockCtrl = KVM_CAP_KVMCLOCK_CTRL,
    |                    ^^^^^^^^^^^^^^^^^^^^^ not found in this scope

error[E0425]: cannot find value `KVM_CAP_SIGNAL_MSI` in this scope
   --> src/cap.rs:105:17
    |
105 |     SignalMsi = KVM_CAP_SIGNAL_MSI,
    |                 ^^^^^^^^^^^^^^^^^^ not found in this scope

error[E0425]: cannot find value `KVM_CAP_PPC_GET_SMMU_INFO` in this scope
   --> src/cap.rs:106:22
    |
106 |     PpcGetSmmuInfo = KVM_CAP_PPC_GET_SMMU_INFO,
    |                      ^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope

error[E0425]: cannot find value `KVM_CAP_S390_COW` in this scope
   --> src/cap.rs:107:15
    |
107 |     S390Cow = KVM_CAP_S390_COW,
    |               ^^^^^^^^^^^^^^^^ not found in this scope

error[E0425]: cannot find value `KVM_CAP_PPC_ALLOC_HTAB` in this scope
   --> src/cap.rs:108:20
    |
108 |     PpcAllocHtab = KVM_CAP_PPC_ALLOC_HTAB,
    |                    ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope

error[E0425]: cannot find value `KVM_CAP_READONLY_MEM` in this scope
   --> src/cap.rs:109:19
    |
109 |     ReadonlyMem = KVM_CAP_READONLY_MEM,
    |                   ^^^^^^^^^^^^^^^^^^^^ not found in this scope

error[E0425]: cannot find value `KVM_CAP_IRQFD_RESAMPLE` in this scope
   --> src/cap.rs:110:21
    |
110 |     IrqfdResample = KVM_CAP_IRQFD_RESAMPLE,
    |                     ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope

error[E0425]: cannot find value `KVM_CAP_PPC_BOOKE_WATCHDOG` in this scope
   --> src/cap.rs:111:24
    |
111 |     PpcBookeWatchdog = KVM_CAP_PPC_BOOKE_WATCHDOG,
    |                        ^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope

error[E0425]: cannot find value `KVM_CAP_PPC_HTAB_FD` in this scope
   --> src/cap.rs:112:17
    |
112 |     PpcHtabFd = KVM_CAP_PPC_HTAB_FD,
    |                 ^^^^^^^^^^^^^^^^^^^ not found in this scope

error[E0425]: cannot find value `KVM_CAP_S390_CSS_SUPPORT` in this scope
   --> src/cap.rs:113:22
    |
113 |     S390CssSupport = KVM_CAP_S390_CSS_SUPPORT,
    |                      ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope

error[E0425]: cannot find value `KVM_CAP_PPC_EPR` in this scope
   --> src/cap.rs:114:14
    |
114 |     PpcEpr = KVM_CAP_PPC_EPR,
    |              ^^^^^^^^^^^^^^^ not found in this scope

error[E0425]: cannot find value `KVM_CAP_ARM_PSCI` in this scope
   --> src/cap.rs:115:15
    |
115 |     ArmPsci = KVM_CAP_ARM_PSCI,
    |               ^^^^^^^^^^^^^^^^ not found in this scope

error[E0425]: cannot find value `KVM_CAP_ARM_SET_DEVICE_ADDR` in this scope
   --> src/cap.rs:116:24
    |
116 |     ArmSetDeviceAddr = KVM_CAP_ARM_SET_DEVICE_ADDR,
    |                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope

error[E0425]: cannot find value `KVM_CAP_DEVICE_CTRL` in this scope
   --> src/cap.rs:117:18
    |
117 |     DeviceCtrl = KVM_CAP_DEVICE_CTRL,
    |                  ^^^^^^^^^^^^^^^^^^^ not found in this scope

error[E0425]: cannot find value `KVM_CAP_IRQ_MPIC` in this scope
   --> src/cap.rs:118:15
    |
118 |     IrqMpic = KVM_CAP_IRQ_MPIC,
    |               ^^^^^^^^^^^^^^^^ not found in this scope

error[E0425]: cannot find value `KVM_CAP_PPC_RTAS` in this scope
   --> src/cap.rs:119:15
    |
119 |     PpcRtas = KVM_CAP_PPC_RTAS,
    |               ^^^^^^^^^^^^^^^^ not found in this scope

error[E0425]: cannot find value `KVM_CAP_IRQ_XICS` in this scope
   --> src/cap.rs:120:15
    |
120 |     IrqXics = KVM_CAP_IRQ_XICS,
    |               ^^^^^^^^^^^^^^^^ not found in this scope

error[E0425]: cannot find value `KVM_CAP_ARM_EL1_32BIT` in this scope
   --> src/cap.rs:121:19
    |
121 |     ArmEl132bit = KVM_CAP_ARM_EL1_32BIT,
    |                   ^^^^^^^^^^^^^^^^^^^^^ not found in this scope

error[E0425]: cannot find value `KVM_CAP_SPAPR_MULTITCE` in this scope
   --> src/cap.rs:122:21
    |
122 |     SpaprMultitce = KVM_CAP_SPAPR_MULTITCE,
    |                     ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope

error[E0425]: cannot find value `KVM_CAP_EXT_EMUL_CPUID` in this scope
   --> src/cap.rs:123:20
    |
123 |     ExtEmulCpuid = KVM_CAP_EXT_EMUL_CPUID,
    |                    ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope

error[E0425]: cannot find value `KVM_CAP_HYPERV_TIME` in this scope
   --> src/cap.rs:124:18
    |
124 |     HypervTime = KVM_CAP_HYPERV_TIME,
    |                  ^^^^^^^^^^^^^^^^^^^ not found in this scope

error[E0425]: cannot find value `KVM_CAP_IOAPIC_POLARITY_IGNORED` in this scope
   --> src/cap.rs:125:29
    |
125 |     IoapicPolarityIgnored = KVM_CAP_IOAPIC_POLARITY_IGNORED,
    |                             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope

error[E0425]: cannot find value `KVM_CAP_ENABLE_CAP_VM` in this scope
   --> src/cap.rs:126:19
    |
126 |     EnableCapVm = KVM_CAP_ENABLE_CAP_VM,
    |                   ^^^^^^^^^^^^^^^^^^^^^ not found in this scope

error[E0425]: cannot find value `KVM_CAP_S390_IRQCHIP` in this scope
   --> src/cap.rs:127:19
    |
127 |     S390Irqchip = KVM_CAP_S390_IRQCHIP,
    |                   ^^^^^^^^^^^^^^^^^^^^ not found in this scope

error[E0425]: cannot find value `KVM_CAP_IOEVENTFD_NO_LENGTH` in this scope
   --> src/cap.rs:128:25
    |
128 |     IoeventfdNoLength = KVM_CAP_IOEVENTFD_NO_LENGTH,
    |                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope

error[E0425]: cannot find value `KVM_CAP_VM_ATTRIBUTES` in this scope
   --> src/cap.rs:129:20
    |
129 |     VmAttributes = KVM_CAP_VM_ATTRIBUTES,
    |                    ^^^^^^^^^^^^^^^^^^^^^ not found in this scope

error[E0425]: cannot find value `KVM_CAP_ARM_PSCI_0_2` in this scope
   --> src/cap.rs:130:17
    |
130 |     ArmPsci02 = KVM_CAP_ARM_PSCI_0_2,
    |                 ^^^^^^^^^^^^^^^^^^^^ not found in this scope

error[E0425]: cannot find value `KVM_CAP_PPC_FIXUP_HCALL` in this scope
   --> src/cap.rs:131:21
    |
131 |     PpcFixupHcall = KVM_CAP_PPC_FIXUP_HCALL,
    |                     ^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope

error[E0425]: cannot find value `KVM_CAP_PPC_ENABLE_HCALL` in this scope
   --> src/cap.rs:132:22
    |
132 |     PpcEnableHcall = KVM_CAP_PPC_ENABLE_HCALL,
    |                      ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope

error[E0425]: cannot find value `KVM_CAP_CHECK_EXTENSION_VM` in this scope
   --> src/cap.rs:133:24
    |
133 |     CheckExtensionVm = KVM_CAP_CHECK_EXTENSION_VM,
    |                        ^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope

error[E0425]: cannot find value `KVM_CAP_S390_USER_SIGP` in this scope
   --> src/cap.rs:134:20
    |
134 |     S390UserSigp = KVM_CAP_S390_USER_SIGP,
    |                    ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope

error[E0425]: cannot find value `KVM_CAP_IMMEDIATE_EXIT` in this scope
   --> src/cap.rs:137:21
    |
137 |     ImmediateExit = KVM_CAP_IMMEDIATE_EXIT,
    |                     ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope

error[E0412]: cannot find type `kvm_vcpu_init` in this scope
   --> src/ioctls/vcpu.rs:549:35
    |
549 |     pub fn vcpu_init(&self, kvi: &kvm_vcpu_init) -> Result<()> {
    |                                   ^^^^^^^^^^^^^ not found in this scope

error[E0422]: cannot find struct, variant or union type `kvm_one_reg` in this scope
   --> src/ioctls/vcpu.rs:572:22
    |
572 |         let onereg = kvm_one_reg {
    |                      ^^^^^^^^^^^ not found in this scope

error[E0412]: cannot find type `kvm_run` in this scope
   --> src/ioctls/vcpu.rs:673:49
    |
673 |                     let run_start = run as *mut kvm_run as *mut u8;
    |                                                 ^^^^^^^ not found in this scope

error[E0412]: cannot find type `kvm_userspace_memory_region` in this scope
   --> src/ioctls/vm.rs:102:29
    |
102 |         user_memory_region: kvm_userspace_memory_region,
    |                             ^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope

error[E0412]: cannot find type `kvm_msi` in this scope
   --> src/ioctls/vm.rs:246:35
    |
246 |     pub fn signal_msi(&self, msi: kvm_msi) -> Result<c_int> {
    |                                   ^^^^^^^ not found in this scope

error[E0425]: cannot find value `kvm_ioeventfd_flag_nr_datamatch` in this scope
   --> src/ioctls/vm.rs:297:27
    |
297 |             flags |= 1 << kvm_ioeventfd_flag_nr_datamatch
    |                           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope

error[E0425]: cannot find value `kvm_ioeventfd_flag_nr_pio` in this scope
   --> src/ioctls/vm.rs:300:27
    |
300 |             flags |= 1 << kvm_ioeventfd_flag_nr_pio
    |                           ^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope

error[E0422]: cannot find struct, variant or union type `kvm_ioeventfd` in this scope
   --> src/ioctls/vm.rs:303:25
    |
303 |         let ioeventfd = kvm_ioeventfd {
    |                         ^^^^^^^^^^^^^ not found in this scope

error[E0422]: cannot find struct, variant or union type `kvm_irqfd` in this scope
   --> src/ioctls/vm.rs:475:21
    |
475 |         let irqfd = kvm_irqfd {
    |                     ^^^^^^^^^ not found in this scope

error[E0412]: cannot find type `kvm_create_device` in this scope
   --> src/ioctls/vm.rs:570:46
    |
570 |     pub fn create_device(&self, device: &mut kvm_create_device) -> Result<DeviceFd> {
    |                                              ^^^^^^^^^^^^^^^^^ not found in this scope

error[E0412]: cannot find type `kvm_vcpu_init` in this scope
   --> src/ioctls/vm.rs:603:50
    |
603 |     pub fn get_preferred_target(&self, kvi: &mut kvm_vcpu_init) -> Result<()> {
    |                                                  ^^^^^^^^^^^^^ not found in this scope

warning: unused import: `kvm_bindings::*`
 --> src/cap.rs:8:5
  |
8 | use kvm_bindings::*;
  |     ^^^^^^^^^^^^^^^
  |
  = note: `#[warn(unused_imports)]` on by default

warning: unused import: `kvm_bindings::*`
 --> src/ioctls/vcpu.rs:8:5
  |
8 | use kvm_bindings::*;
  |     ^^^^^^^^^^^^^^^

warning: unused import: `kvm_bindings::*`
 --> src/ioctls/vm.rs:9:5
  |
9 | use kvm_bindings::*;
  |     ^^^^^^^^^^^^^^^

warning: trait objects without an explicit `dyn` are deprecated
   --> src/ioctls/mod.rs:243:30
    |
243 |     pub fn mmap_from_fd(fd: &AsRawFd, size: usize) -> Result<KvmRunWrapper> {
    |                              ^^^^^^^
    |
    = note: `#[warn(bare_trait_objects)]` on by default
    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
help: use `dyn`
    |
243 -     pub fn mmap_from_fd(fd: &AsRawFd, size: usize) -> Result<KvmRunWrapper> {
243 +     pub fn mmap_from_fd(fd: &dyn AsRawFd, size: usize) -> Result<KvmRunWrapper> {
    |

error[E0308]: mismatched types
   --> src/ioctls/vcpu.rs:706:53
    |
706 |                         Ok(VcpuExit::MmioRead(addr, data_slice))
    |                            ------------------       ^^^^^^^^^^ types differ in mutability
    |                            |
    |                            arguments to this enum variant are incorrect
    |
    = note: expected mutable reference `&mut [u8]`
                       found reference `&[u8]`
note: tuple variant defined here
   --> src/ioctls/vcpu.rs:38:5
    |
38  |     MmioRead(u64 /* address */, &'a mut [u8]),
    |     ^^^^^^^^

error[E0308]: mismatched types
  --> src/sys_ioctl.rs:20:13
   |
19 |           pub fn $name() -> ::std::os::raw::c_ulong {
   |                             ----------------------- expected `u32` because of return type
20 | /             u64::from(
21 | |                 ($dir << $crate::sys_ioctl::_IOC_DIRSHIFT)
22 | |                     | ($ty << $crate::sys_ioctl::_IOC_TYPESHIFT)
23 | |                     | ($nr << $crate::sys_ioctl::_IOC_NRSHIFT)
24 | |                     | ($size << $crate::sys_ioctl::_IOC_SIZESHIFT),
25 | |             )
   | |_____________^ expected `u32`, found `u64`
   |
  ::: src/kvm_ioctls.rs:13:1
   |
13 |   ioctl_io_nr!(KVM_GET_API_VERSION, KVMIO, 0x00);
   |   ---------------------------------------------- in this macro invocation
   |
   = note: this error originates in the macro `ioctl_ioc_nr` (in Nightly builds, run with -Z macro-backtrace for more info)

error[E0308]: mismatched types
  --> src/sys_ioctl.rs:20:13
   |
19 |           pub fn $name() -> ::std::os::raw::c_ulong {
   |                             ----------------------- expected `u32` because of return type
20 | /             u64::from(
21 | |                 ($dir << $crate::sys_ioctl::_IOC_DIRSHIFT)
22 | |                     | ($ty << $crate::sys_ioctl::_IOC_TYPESHIFT)
23 | |                     | ($nr << $crate::sys_ioctl::_IOC_NRSHIFT)
24 | |                     | ($size << $crate::sys_ioctl::_IOC_SIZESHIFT),
25 | |             )
   | |_____________^ expected `u32`, found `u64`
   |
  ::: src/kvm_ioctls.rs:14:1
   |
14 |   ioctl_io_nr!(KVM_CREATE_VM, KVMIO, 0x01);
   |   ---------------------------------------- in this macro invocation
   |
   = note: this error originates in the macro `ioctl_ioc_nr` (in Nightly builds, run with -Z macro-backtrace for more info)

error[E0308]: mismatched types
  --> src/sys_ioctl.rs:20:13
   |
19 |           pub fn $name() -> ::std::os::raw::c_ulong {
   |                             ----------------------- expected `u32` because of return type
20 | /             u64::from(
21 | |                 ($dir << $crate::sys_ioctl::_IOC_DIRSHIFT)
22 | |                     | ($ty << $crate::sys_ioctl::_IOC_TYPESHIFT)
23 | |                     | ($nr << $crate::sys_ioctl::_IOC_NRSHIFT)
24 | |                     | ($size << $crate::sys_ioctl::_IOC_SIZESHIFT),
25 | |             )
   | |_____________^ expected `u32`, found `u64`
   |
  ::: src/kvm_ioctls.rs:15:1
   |
15 |   ioctl_io_nr!(KVM_CHECK_EXTENSION, KVMIO, 0x03);
   |   ---------------------------------------------- in this macro invocation
   |
   = note: this error originates in the macro `ioctl_ioc_nr` (in Nightly builds, run with -Z macro-backtrace for more info)

error[E0308]: mismatched types
  --> src/sys_ioctl.rs:20:13
   |
19 |           pub fn $name() -> ::std::os::raw::c_ulong {
   |                             ----------------------- expected `u32` because of return type
20 | /             u64::from(
21 | |                 ($dir << $crate::sys_ioctl::_IOC_DIRSHIFT)
22 | |                     | ($ty << $crate::sys_ioctl::_IOC_TYPESHIFT)
23 | |                     | ($nr << $crate::sys_ioctl::_IOC_NRSHIFT)
24 | |                     | ($size << $crate::sys_ioctl::_IOC_SIZESHIFT),
25 | |             )
   | |_____________^ expected `u32`, found `u64`
   |
  ::: src/kvm_ioctls.rs:16:1
   |
16 |   ioctl_io_nr!(KVM_GET_VCPU_MMAP_SIZE, KVMIO, 0x04);
   |   ------------------------------------------------- in this macro invocation
   |
   = note: this error originates in the macro `ioctl_ioc_nr` (in Nightly builds, run with -Z macro-backtrace for more info)

error[E0308]: mismatched types
  --> src/sys_ioctl.rs:20:13
   |
19 |           pub fn $name() -> ::std::os::raw::c_ulong {
   |                             ----------------------- expected `u32` because of return type
20 | /             u64::from(
21 | |                 ($dir << $crate::sys_ioctl::_IOC_DIRSHIFT)
22 | |                     | ($ty << $crate::sys_ioctl::_IOC_TYPESHIFT)
23 | |                     | ($nr << $crate::sys_ioctl::_IOC_NRSHIFT)
24 | |                     | ($size << $crate::sys_ioctl::_IOC_SIZESHIFT),
25 | |             )
   | |_____________^ expected `u32`, found `u64`
   |
  ::: src/kvm_ioctls.rs:21:1
   |
21 |   ioctl_io_nr!(KVM_CREATE_VCPU, KVMIO, 0x41);
   |   ------------------------------------------ in this macro invocation
   |
   = note: this error originates in the macro `ioctl_ioc_nr` (in Nightly builds, run with -Z macro-backtrace for more info)

error[E0308]: mismatched types
  --> src/sys_ioctl.rs:20:13
   |
19 |           pub fn $name() -> ::std::os::raw::c_ulong {
   |                             ----------------------- expected `u32` because of return type
20 | /             u64::from(
21 | |                 ($dir << $crate::sys_ioctl::_IOC_DIRSHIFT)
22 | |                     | ($ty << $crate::sys_ioctl::_IOC_TYPESHIFT)
23 | |                     | ($nr << $crate::sys_ioctl::_IOC_NRSHIFT)
24 | |                     | ($size << $crate::sys_ioctl::_IOC_SIZESHIFT),
25 | |             )
   | |_____________^ expected `u32`, found `u64`
   |
  ::: src/kvm_ioctls.rs:22:1
   |
22 |   ioctl_iow_nr!(KVM_GET_DIRTY_LOG, KVMIO, 0x42, kvm_dirty_log);
   |   ------------------------------------------------------------ in this macro invocation
   |
   = note: this error originates in the macro `ioctl_ioc_nr` (in Nightly builds, run with -Z macro-backtrace for more info)

error[E0308]: mismatched types
  --> src/sys_ioctl.rs:20:13
   |
19 |            pub fn $name() -> ::std::os::raw::c_ulong {
   |                              ----------------------- expected `u32` because of return type
20 |  /             u64::from(
21 |  |                 ($dir << $crate::sys_ioctl::_IOC_DIRSHIFT)
22 |  |                     | ($ty << $crate::sys_ioctl::_IOC_TYPESHIFT)
23 |  |                     | ($nr << $crate::sys_ioctl::_IOC_NRSHIFT)
24 |  |                     | ($size << $crate::sys_ioctl::_IOC_SIZESHIFT),
25 |  |             )
   |  |_____________^ expected `u32`, found `u64`
   |
  ::: src/kvm_ioctls.rs:23:1
   |
23 | /  ioctl_iow_nr!(
24 | |      KVM_SET_USER_MEMORY_REGION,
25 | |      KVMIO,
26 | |      0x46,
27 | |      kvm_userspace_memory_region
28 | |  );
   | |__- in this macro invocation
   |
   = note: this error originates in the macro `ioctl_ioc_nr` (in Nightly builds, run with -Z macro-backtrace for more info)

error[E0308]: mismatched types
  --> src/sys_ioctl.rs:20:13
   |
19 |           pub fn $name() -> ::std::os::raw::c_ulong {
   |                             ----------------------- expected `u32` because of return type
20 | /             u64::from(
21 | |                 ($dir << $crate::sys_ioctl::_IOC_DIRSHIFT)
22 | |                     | ($ty << $crate::sys_ioctl::_IOC_TYPESHIFT)
23 | |                     | ($nr << $crate::sys_ioctl::_IOC_NRSHIFT)
24 | |                     | ($size << $crate::sys_ioctl::_IOC_SIZESHIFT),
25 | |             )
   | |_____________^ expected `u32`, found `u64`
   |
  ::: src/kvm_ioctls.rs:38:1
   |
38 |   ioctl_io_nr!(KVM_CREATE_IRQCHIP, KVMIO, 0x60);
   |   --------------------------------------------- in this macro invocation
   |
   = note: this error originates in the macro `ioctl_ioc_nr` (in Nightly builds, run with -Z macro-backtrace for more info)

error[E0308]: mismatched types
  --> src/sys_ioctl.rs:20:13
   |
19 |           pub fn $name() -> ::std::os::raw::c_ulong {
   |                             ----------------------- expected `u32` because of return type
20 | /             u64::from(
21 | |                 ($dir << $crate::sys_ioctl::_IOC_DIRSHIFT)
22 | |                     | ($ty << $crate::sys_ioctl::_IOC_TYPESHIFT)
23 | |                     | ($nr << $crate::sys_ioctl::_IOC_NRSHIFT)
24 | |                     | ($size << $crate::sys_ioctl::_IOC_SIZESHIFT),
25 | |             )
   | |_____________^ expected `u32`, found `u64`
   |
  ::: src/kvm_ioctls.rs:46:1
   |
46 |   ioctl_iow_nr!(KVM_IRQFD, KVMIO, 0x76, kvm_irqfd);
   |   ------------------------------------------------ in this macro invocation
   |
   = note: this error originates in the macro `ioctl_ioc_nr` (in Nightly builds, run with -Z macro-backtrace for more info)

error[E0308]: mismatched types
  --> src/sys_ioctl.rs:20:13
   |
19 |           pub fn $name() -> ::std::os::raw::c_ulong {
   |                             ----------------------- expected `u32` because of return type
20 | /             u64::from(
21 | |                 ($dir << $crate::sys_ioctl::_IOC_DIRSHIFT)
22 | |                     | ($ty << $crate::sys_ioctl::_IOC_TYPESHIFT)
23 | |                     | ($nr << $crate::sys_ioctl::_IOC_NRSHIFT)
24 | |                     | ($size << $crate::sys_ioctl::_IOC_SIZESHIFT),
25 | |             )
   | |_____________^ expected `u32`, found `u64`
   |
  ::: src/kvm_ioctls.rs:49:1
   |
49 |   ioctl_iow_nr!(KVM_IOEVENTFD, KVMIO, 0x79, kvm_ioeventfd);
   |   -------------------------------------------------------- in this macro invocation
   |
   = note: this error originates in the macro `ioctl_ioc_nr` (in Nightly builds, run with -Z macro-backtrace for more info)

error[E0308]: mismatched types
  --> src/sys_ioctl.rs:20:13
   |
19 |           pub fn $name() -> ::std::os::raw::c_ulong {
   |                             ----------------------- expected `u32` because of return type
20 | /             u64::from(
21 | |                 ($dir << $crate::sys_ioctl::_IOC_DIRSHIFT)
22 | |                     | ($ty << $crate::sys_ioctl::_IOC_TYPESHIFT)
23 | |                     | ($nr << $crate::sys_ioctl::_IOC_NRSHIFT)
24 | |                     | ($size << $crate::sys_ioctl::_IOC_SIZESHIFT),
25 | |             )
   | |_____________^ expected `u32`, found `u64`
   |
  ::: src/kvm_ioctls.rs:50:1
   |
50 |   ioctl_io_nr!(KVM_RUN, KVMIO, 0x80);
   |   ---------------------------------- in this macro invocation
   |
   = note: this error originates in the macro `ioctl_ioc_nr` (in Nightly builds, run with -Z macro-backtrace for more info)

error[E0308]: mismatched types
  --> src/sys_ioctl.rs:20:13
   |
19 |           pub fn $name() -> ::std::os::raw::c_ulong {
   |                             ----------------------- expected `u32` because of return type
20 | /             u64::from(
21 | |                 ($dir << $crate::sys_ioctl::_IOC_DIRSHIFT)
22 | |                     | ($ty << $crate::sys_ioctl::_IOC_TYPESHIFT)
23 | |                     | ($nr << $crate::sys_ioctl::_IOC_NRSHIFT)
24 | |                     | ($size << $crate::sys_ioctl::_IOC_SIZESHIFT),
25 | |             )
   | |_____________^ expected `u32`, found `u64`
   |
  ::: src/kvm_ioctls.rs:93:1
   |
93 |   ioctl_iow_nr!(KVM_SIGNAL_MSI, KVMIO, 0xa5, kvm_msi);
   |   --------------------------------------------------- in this macro invocation
   |
   = note: this error originates in the macro `ioctl_ioc_nr` (in Nightly builds, run with -Z macro-backtrace for more info)

error[E0308]: mismatched types
  --> src/sys_ioctl.rs:20:13
   |
19 |           pub fn $name() -> ::std::os::raw::c_ulong {
   |                             ----------------------- expected `u32` because of return type
20 | /             u64::from(
21 | |                 ($dir << $crate::sys_ioctl::_IOC_DIRSHIFT)
22 | |                     | ($ty << $crate::sys_ioctl::_IOC_TYPESHIFT)
23 | |                     | ($nr << $crate::sys_ioctl::_IOC_NRSHIFT)
24 | |                     | ($size << $crate::sys_ioctl::_IOC_SIZESHIFT),
25 | |             )
   | |_____________^ expected `u32`, found `u64`
   |
  ::: src/kvm_ioctls.rs:95:1
   |
95 |   ioctl_iow_nr!(KVM_SET_ONE_REG, KVMIO, 0xac, kvm_one_reg);
   |   -------------------------------------------------------- in this macro invocation
   |
   = note: this error originates in the macro `ioctl_ioc_nr` (in Nightly builds, run with -Z macro-backtrace for more info)

error[E0308]: mismatched types
  --> src/sys_ioctl.rs:20:13
   |
19 |           pub fn $name() -> ::std::os::raw::c_ulong {
   |                             ----------------------- expected `u32` because of return type
20 | /             u64::from(
21 | |                 ($dir << $crate::sys_ioctl::_IOC_DIRSHIFT)
22 | |                     | ($ty << $crate::sys_ioctl::_IOC_TYPESHIFT)
23 | |                     | ($nr << $crate::sys_ioctl::_IOC_NRSHIFT)
24 | |                     | ($size << $crate::sys_ioctl::_IOC_SIZESHIFT),
25 | |             )
   | |_____________^ expected `u32`, found `u64`
   |
  ::: src/kvm_ioctls.rs:97:1
   |
97 |   ioctl_iow_nr!(KVM_ARM_VCPU_INIT, KVMIO, 0xae, kvm_vcpu_init);
   |   ------------------------------------------------------------ in this macro invocation
   |
   = note: this error originates in the macro `ioctl_ioc_nr` (in Nightly builds, run with -Z macro-backtrace for more info)

error[E0308]: mismatched types
  --> src/sys_ioctl.rs:20:13
   |
19 |           pub fn $name() -> ::std::os::raw::c_ulong {
   |                             ----------------------- expected `u32` because of return type
20 | /             u64::from(
21 | |                 ($dir << $crate::sys_ioctl::_IOC_DIRSHIFT)
22 | |                     | ($ty << $crate::sys_ioctl::_IOC_TYPESHIFT)
23 | |                     | ($nr << $crate::sys_ioctl::_IOC_NRSHIFT)
24 | |                     | ($size << $crate::sys_ioctl::_IOC_SIZESHIFT),
25 | |             )
   | |_____________^ expected `u32`, found `u64`
   |
  ::: src/kvm_ioctls.rs:99:1
   |
99 |   ioctl_ior_nr!(KVM_ARM_PREFERRED_TARGET, KVMIO, 0xaf, kvm_vcpu_init);
   |   ------------------------------------------------------------------- in this macro invocation
   |
   = note: this error originates in the macro `ioctl_ioc_nr` (in Nightly builds, run with -Z macro-backtrace for more info)

error[E0308]: mismatched types
   --> src/sys_ioctl.rs:20:13
    |
19  |           pub fn $name() -> ::std::os::raw::c_ulong {
    |                             ----------------------- expected `u32` because of return type
20  | /             u64::from(
21  | |                 ($dir << $crate::sys_ioctl::_IOC_DIRSHIFT)
22  | |                     | ($ty << $crate::sys_ioctl::_IOC_TYPESHIFT)
23  | |                     | ($nr << $crate::sys_ioctl::_IOC_NRSHIFT)
24  | |                     | ($size << $crate::sys_ioctl::_IOC_SIZESHIFT),
25  | |             )
    | |_____________^ expected `u32`, found `u64`
    |
   ::: src/kvm_ioctls.rs:100:1
    |
100 |   ioctl_iowr_nr!(KVM_CREATE_DEVICE, KVMIO, 0xe0, kvm_create_device);
    |   ----------------------------------------------------------------- in this macro invocation
    |
    = note: this error originates in the macro `ioctl_ioc_nr` (in Nightly builds, run with -Z macro-backtrace for more info)

error[E0308]: mismatched types
   --> src/sys_ioctl.rs:20:13
    |
19  |           pub fn $name() -> ::std::os::raw::c_ulong {
    |                             ----------------------- expected `u32` because of return type
20  | /             u64::from(
21  | |                 ($dir << $crate::sys_ioctl::_IOC_DIRSHIFT)
22  | |                     | ($ty << $crate::sys_ioctl::_IOC_TYPESHIFT)
23  | |                     | ($nr << $crate::sys_ioctl::_IOC_NRSHIFT)
24  | |                     | ($size << $crate::sys_ioctl::_IOC_SIZESHIFT),
25  | |             )
    | |_____________^ expected `u32`, found `u64`
    |
   ::: src/kvm_ioctls.rs:101:1
    |
101 |   ioctl_iow_nr!(KVM_SET_DEVICE_ATTR, KVMIO, 0xe1, kvm_device_attr);
    |   ---------------------------------------------------------------- in this macro invocation
    |
    = note: this error originates in the macro `ioctl_ioc_nr` (in Nightly builds, run with -Z macro-backtrace for more info)

Some errors have detailed explanations: E0308, E0412, E0422, E0425, E0432.
For more information about an error, try `rustc --explain E0308`.
warning: `kvm-ioctls` (lib) generated 4 warnings
error: could not compile `kvm-ioctls` due to 151 previous errors; 4 warnings emitted

Caused by:
  process didn't exit successfully: `CARGO=/usr/bin/cargo CARGO_CRATE_NAME=kvm_ioctls CARGO_MANIFEST_DIR=/<<PKGBUILDDIR>> CARGO_PKG_AUTHORS='Amazon Firecracker Team <firecracker-maintainers@amazon.com>' CARGO_PKG_DESCRIPTION='Safe wrappers over KVM ioctls' CARGO_PKG_HOMEPAGE='' CARGO_PKG_LICENSE='Apache-2.0 OR MIT' CARGO_PKG_LICENSE_FILE='' CARGO_PKG_NAME=kvm-ioctls CARGO_PKG_REPOSITORY='https://github.com/rust-vmm/kvm-ioctls' CARGO_PKG_RUST_VERSION='' CARGO_PKG_VERSION=0.2.0 CARGO_PKG_VERSION_MAJOR=0 CARGO_PKG_VERSION_MINOR=2 CARGO_PKG_VERSION_PATCH=0 CARGO_PKG_VERSION_PRE='' CARGO_PRIMARY_PACKAGE=1 LD_LIBRARY_PATH='/<<PKGBUILDDIR>>/target/debug/deps:/usr/lib' rustc --crate-name kvm_ioctls src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debuginfo=2 -C metadata=43f426064a003616 -C extra-filename=-43f426064a003616 --out-dir /<<PKGBUILDDIR>>/target/arm-unknown-linux-gnueabihf/debug/deps --target arm-unknown-linux-gnueabihf -C incremental=/<<PKGBUILDDIR>>/target/arm-unknown-linux-gnueabihf/debug/incremental -L dependency=/<<PKGBUILDDIR>>/target/arm-unknown-linux-gnueabihf/debug/deps -L dependency=/<<PKGBUILDDIR>>/target/debug/deps --extern kvm_bindings=/<<PKGBUILDDIR>>/target/arm-unknown-linux-gnueabihf/debug/deps/libkvm_bindings-3f66f1c553bc0af2.rmeta --extern libc=/<<PKGBUILDDIR>>/target/arm-unknown-linux-gnueabihf/debug/deps/liblibc-c1eb5ce139dbcf06.rmeta -C debuginfo=2 --cap-lints warn -C linker=arm-linux-gnueabihf-gcc -C link-arg=-Wl,-z,relro --remap-path-prefix /<<PKGBUILDDIR>>=/usr/share/cargo/registry/kvm-ioctls-0.2.0 --remap-path-prefix /<<PKGBUILDDIR>>/debian/cargo_registry=/usr/share/cargo/registry` (exit status: 1)
dh_auto_test: error: /usr/share/cargo/bin/cargo build returned exit code 101
make: *** [debian/rules:3: build-arch] Error 25
dpkg-buildpackage: error: debian/rules build-arch subprocess returned exit status 2
--------------------------------------------------------------------------------
Build finished at 2023-05-21T11:20:26Z

Finished
--------


+------------------------------------------------------------------------------+
| Cleanup                                                                      |
+------------------------------------------------------------------------------+

Purging /<<BUILDDIR>>
Not cleaning session: cloned chroot in use
E: Build failure (dpkg-buildpackage died)

+------------------------------------------------------------------------------+
| Summary                                                                      |
+------------------------------------------------------------------------------+

Build Architecture: armhf
Build-Space: 19048
Build-Time: 28
Distribution: bookworm-staging
Fail-Stage: build
Host Architecture: armhf
Install-Time: 235
Job: rust-kvm-ioctls_0.2.0-1
Machine Architecture: armhf
Package: rust-kvm-ioctls
Package-Time: 287
Source-Version: 0.2.0-1
Space: 19048
Status: attempted
Version: 0.2.0-1
--------------------------------------------------------------------------------
Finished at 2023-05-21T11:20:26Z
Build needed 00:04:47, 19048k disk space