Raspbian Package Auto-Building

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

rust-kvm-ioctls0.2.0-1armhf → 2021-03-19 06:09:12

sbuild (Debian sbuild) 0.71.0 (24 Aug 2016) on bm-wb-02

+==============================================================================+
| rust-kvm-ioctls 0.2.0-1 (armhf)              Fri, 19 Mar 2021 05:59:04 +0000 |
+==============================================================================+

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

I: NOTICE: Log filtering will replace 'var/lib/schroot/mount/bullseye-staging-armhf-sbuild-7948ea01-5579-405a-a083-8c035d384453' with '<<CHROOT>>'

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

Get:1 http://172.17.0.1/private bullseye-staging InRelease [11.3 kB]
Get:2 http://172.17.0.1/private bullseye-staging/main Sources [12.2 MB]
Get:3 http://172.17.0.1/private bullseye-staging/main armhf Packages [13.2 MB]
Fetched 25.4 MB in 26s (985 kB/s)
Reading package lists...
W: No sandbox user '_apt' on the system, can not drop privileges

+------------------------------------------------------------------------------+
| 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.0.1/private bullseye-staging/main rust-kvm-ioctls 0.2.0-1 (dsc) [2201 B]
Get:2 http://172.17.0.1/private bullseye-staging/main rust-kvm-ioctls 0.2.0-1 (tar) [41.6 kB]
Get:3 http://172.17.0.1/private bullseye-staging/main rust-kvm-ioctls 0.2.0-1 (diff) [3080 B]
Fetched 46.9 kB in 0s (333 kB/s)
Download complete and in download only mode
I: NOTICE: Log filtering will replace 'build/rust-kvm-ioctls-xIKCqH/rust-kvm-ioctls-0.2.0' with '<<PKGBUILDDIR>>'
I: NOTICE: Log filtering will replace 'build/rust-kvm-ioctls-xIKCqH' 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-ioiJCp/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-ioiJCp/gpg/pubring.kbx' created
gpg: /<<BUILDDIR>>/resolver-ioiJCp/gpg/trustdb.gpg: trustdb created
gpg: key 35506D9A48F77B2E: 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 35506D9A48F77B2E: "Sbuild Signer (Sbuild Build Dependency Archive Key) <buildd-tools-devel@lists.alioth.debian.org>" not changed
gpg: key 35506D9A48F77B2E: 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-ioiJCp/apt_archive ./ InRelease
Get:2 copy:/<<BUILDDIR>>/resolver-ioiJCp/apt_archive ./ Release [957 B]
Get:3 copy:/<<BUILDDIR>>/resolver-ioiJCp/apt_archive ./ Release.gpg [370 B]
Get:4 copy:/<<BUILDDIR>>/resolver-ioiJCp/apt_archive ./ Sources [349 B]
Get:5 copy:/<<BUILDDIR>>/resolver-ioiJCp/apt_archive ./ Packages [432 B]
Fetched 2108 B in 1s (2885 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:
  bsdextrautils libnss-nis libnss-nisplus 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 2 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-ioiJCp/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 (22.8 kB/s)
Selecting previously unselected package sbuild-build-depends-core-dummy.
(Reading database ... 12578 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-ioiJCp/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-ioiJCp/apt_archive ./ InRelease
Get:2 copy:/<<BUILDDIR>>/resolver-ioiJCp/apt_archive ./ Release [963 B]
Get:3 copy:/<<BUILDDIR>>/resolver-ioiJCp/apt_archive ./ Release.gpg [370 B]
Get:4 copy:/<<BUILDDIR>>/resolver-ioiJCp/apt_archive ./ Sources [576 B]
Get:5 copy:/<<BUILDDIR>>/resolver-ioiJCp/apt_archive ./ Packages [644 B]
Fetched 2553 B in 1s (3386 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:
  libnss-nis libnss-nisplus libpam-cap netbase
Use 'apt autoremove' to remove them.
The following additional packages will be installed:
  autoconf automake autopoint autotools-dev 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.1 libhttp-parser2.9 libicu67
  libllvm11 libmagic-mgc libmagic1 libmbedcrypto3 libmbedtls12 libmbedx509-0
  libmd0 libmpdec3 libnghttp2-14 libpipeline1 libpsl5 libpython3-stdlib
  libpython3.9-minimal libpython3.9-stdlib librtmp1 librust-kvm-bindings-dev
  librust-libc-dev libsigsegv2 libssh2-1 libstd-rust-1.48 libstd-rust-dev
  libsub-override-perl libtool libuchardet0 libxml2 libz3-4 m4 man-db
  media-types po-debconf python3 python3-minimal python3.9 python3.9-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.9-venv
  python3.9-doc binfmt-support rust-doc rust-src lld-11
Recommended packages:
  curl | wget | lynx ca-certificates libarchive-cpio-perl publicsuffix
  libltdl-dev libmail-sendmail-perl cargo rust-gdb | rust-lldb
The following NEW packages will be installed:
  autoconf automake autopoint autotools-dev 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.1 libhttp-parser2.9 libicu67
  libllvm11 libmagic-mgc libmagic1 libmbedcrypto3 libmbedtls12 libmbedx509-0
  libmd0 libmpdec3 libnghttp2-14 libpipeline1 libpsl5 libpython3-stdlib
  libpython3.9-minimal libpython3.9-stdlib librtmp1 librust-kvm-bindings-dev
  librust-libc-dev libsigsegv2 libssh2-1 libstd-rust-1.48 libstd-rust-dev
  libsub-override-perl libtool libuchardet0 libxml2 libz3-4 m4 man-db
  media-types po-debconf python3 python3-minimal python3.9 python3.9-minimal
  rustc sbuild-build-depends-rust-kvm-ioctls-dummy
0 upgraded, 63 newly installed, 0 to remove and 2 not upgraded.
Need to get 94.4 MB of archives.
After this operation, 394 MB of additional disk space will be used.
Get:1 copy:/<<BUILDDIR>>/resolver-ioiJCp/apt_archive ./ sbuild-build-depends-rust-kvm-ioctls-dummy 0.invalid.0 [924 B]
Get:2 http://172.17.0.1/private bullseye-staging/main armhf libuchardet0 armhf 0.0.7-1 [65.0 kB]
Get:3 http://172.17.0.1/private bullseye-staging/main armhf groff-base armhf 1.22.4-6 [793 kB]
Get:4 http://172.17.0.1/private bullseye-staging/main armhf libpipeline1 armhf 1.5.3-1 [29.9 kB]
Get:5 http://172.17.0.1/private bullseye-staging/main armhf man-db armhf 2.9.4-2 [1307 kB]
Get:6 http://172.17.0.1/private bullseye-staging/main armhf libpython3.9-minimal armhf 3.9.2-1+rpi1 [791 kB]
Get:7 http://172.17.0.1/private bullseye-staging/main armhf libexpat1 armhf 2.2.10-2 [73.4 kB]
Get:8 http://172.17.0.1/private bullseye-staging/main armhf python3.9-minimal armhf 3.9.2-1+rpi1 [1625 kB]
Get:9 http://172.17.0.1/private bullseye-staging/main armhf python3-minimal armhf 3.9.2-2 [38.2 kB]
Get:10 http://172.17.0.1/private bullseye-staging/main armhf media-types all 4.0.0 [30.3 kB]
Get:11 http://172.17.0.1/private bullseye-staging/main armhf libmpdec3 armhf 2.5.1-1+rpi1 [73.4 kB]
Get:12 http://172.17.0.1/private bullseye-staging/main armhf libpython3.9-stdlib armhf 3.9.2-1+rpi1 [1616 kB]
Get:13 http://172.17.0.1/private bullseye-staging/main armhf python3.9 armhf 3.9.2-1+rpi1 [466 kB]
Get:14 http://172.17.0.1/private bullseye-staging/main armhf libpython3-stdlib armhf 3.9.2-2 [21.3 kB]
Get:15 http://172.17.0.1/private bullseye-staging/main armhf python3 armhf 3.9.2-2 [37.8 kB]
Get:16 http://172.17.0.1/private bullseye-staging/main armhf libmagic-mgc armhf 1:5.39-3 [273 kB]
Get:17 http://172.17.0.1/private bullseye-staging/main armhf libmagic1 armhf 1:5.39-3 [117 kB]
Get:18 http://172.17.0.1/private bullseye-staging/main armhf file armhf 1:5.39-3 [68.0 kB]
Get:19 http://172.17.0.1/private bullseye-staging/main armhf gettext-base armhf 0.21-4 [171 kB]
Get:20 http://172.17.0.1/private bullseye-staging/main armhf libsigsegv2 armhf 2.13-1 [34.3 kB]
Get:21 http://172.17.0.1/private bullseye-staging/main armhf m4 armhf 1.4.18-5 [186 kB]
Get:22 http://172.17.0.1/private bullseye-staging/main armhf autoconf all 2.69-14 [313 kB]
Get:23 http://172.17.0.1/private bullseye-staging/main armhf autotools-dev all 20180224.1+nmu1 [77.1 kB]
Get:24 http://172.17.0.1/private bullseye-staging/main armhf automake all 1:1.16.3-2 [814 kB]
Get:25 http://172.17.0.1/private bullseye-staging/main armhf autopoint all 0.21-4 [510 kB]
Get:26 http://172.17.0.1/private bullseye-staging/main armhf libbrotli1 armhf 1.0.9-2+b1 [261 kB]
Get:27 http://172.17.0.1/private bullseye-staging/main armhf libnghttp2-14 armhf 1.43.0-1 [65.3 kB]
Get:28 http://172.17.0.1/private bullseye-staging/main armhf libpsl5 armhf 0.21.0-1.2 [56.2 kB]
Get:29 http://172.17.0.1/private bullseye-staging/main armhf librtmp1 armhf 2.4+20151223.gitfa8646d.1-2+b2 [54.2 kB]
Get:30 http://172.17.0.1/private bullseye-staging/main armhf libssh2-1 armhf 1.9.0-2 [141 kB]
Get:31 http://172.17.0.1/private bullseye-staging/main armhf libcurl3-gnutls armhf 7.74.0-1.1 [301 kB]
Get:32 http://172.17.0.1/private bullseye-staging/main armhf libhttp-parser2.9 armhf 2.9.4-4 [20.6 kB]
Get:33 http://172.17.0.1/private bullseye-staging/main armhf libmbedcrypto3 armhf 2.16.9-0.1 [196 kB]
Get:34 http://172.17.0.1/private bullseye-staging/main armhf libmbedx509-0 armhf 2.16.9-0.1 [104 kB]
Get:35 http://172.17.0.1/private bullseye-staging/main armhf libmbedtls12 armhf 2.16.9-0.1 [132 kB]
Get:36 http://172.17.0.1/private bullseye-staging/main armhf libgit2-1.1 armhf 1.1.0+dfsg.1-4 [373 kB]
Get:37 http://172.17.0.1/private bullseye-staging/main armhf libmd0 armhf 1.0.3-3 [27.2 kB]
Get:38 http://172.17.0.1/private bullseye-staging/main armhf libbsd0 armhf 0.11.3-1 [103 kB]
Get:39 http://172.17.0.1/private bullseye-staging/main armhf libedit2 armhf 3.1-20191231-2 [80.2 kB]
Get:40 http://172.17.0.1/private bullseye-staging/main armhf libz3-4 armhf 4.8.10-1 [5689 kB]
Get:41 http://172.17.0.1/private bullseye-staging/main armhf libllvm11 armhf 1:11.0.1-2+rpi1 [15.6 MB]
Get:42 http://172.17.0.1/private bullseye-staging/main armhf libstd-rust-1.48 armhf 1.48.0+dfsg1-1+rpi1 [17.8 MB]
Get:43 http://172.17.0.1/private bullseye-staging/main armhf libstd-rust-dev armhf 1.48.0+dfsg1-1+rpi1 [26.7 MB]
Get:44 http://172.17.0.1/private bullseye-staging/main armhf rustc armhf 1.48.0+dfsg1-1+rpi1 [1871 kB]
Get:45 http://172.17.0.1/private bullseye-staging/main armhf cargo armhf 0.47.0-3 [2466 kB]
Get:46 http://172.17.0.1/private bullseye-staging/main armhf libdebhelper-perl all 13.3.4 [189 kB]
Get:47 http://172.17.0.1/private bullseye-staging/main armhf libtool all 2.4.6-15 [513 kB]
Get:48 http://172.17.0.1/private bullseye-staging/main armhf dh-autoreconf all 20 [17.1 kB]
Get:49 http://172.17.0.1/private bullseye-staging/main armhf libarchive-zip-perl all 1.68-1 [104 kB]
Get:50 http://172.17.0.1/private bullseye-staging/main armhf libsub-override-perl all 0.09-2 [10.2 kB]
Get:51 http://172.17.0.1/private bullseye-staging/main armhf libfile-stripnondeterminism-perl all 1.11.0-1 [25.6 kB]
Get:52 http://172.17.0.1/private bullseye-staging/main armhf dh-strip-nondeterminism all 1.11.0-1 [15.3 kB]
Get:53 http://172.17.0.1/private bullseye-staging/main armhf libelf1 armhf 0.183-1 [161 kB]
Get:54 http://172.17.0.1/private bullseye-staging/main armhf dwz armhf 0.13+20210201-1 [164 kB]
Get:55 http://172.17.0.1/private bullseye-staging/main armhf libicu67 armhf 67.1-6 [8289 kB]
Get:56 http://172.17.0.1/private bullseye-staging/main armhf libxml2 armhf 2.9.10+dfsg-6.3 [580 kB]
Get:57 http://172.17.0.1/private bullseye-staging/main armhf gettext armhf 0.21-4 [1215 kB]
Get:58 http://172.17.0.1/private bullseye-staging/main armhf intltool-debian all 0.35.0+20060710.5 [26.8 kB]
Get:59 http://172.17.0.1/private bullseye-staging/main armhf po-debconf all 1.0.21+nmu1 [248 kB]
Get:60 http://172.17.0.1/private bullseye-staging/main armhf debhelper all 13.3.4 [1049 kB]
Get:61 http://172.17.0.1/private bullseye-staging/main armhf dh-cargo all 24 [10.2 kB]
Get:62 http://172.17.0.1/private bullseye-staging/main armhf librust-kvm-bindings-dev armhf 0.1.1-1 [36.6 kB]
Get:63 http://172.17.0.1/private bullseye-staging/main armhf librust-libc-dev armhf 0.2.80-1 [206 kB]
debconf: delaying package configuration, since apt-utils is not installed
Fetched 94.4 MB in 7s (12.6 MB/s)
Selecting previously unselected package libuchardet0:armhf.
(Reading database ... 12578 files and directories currently installed.)
Preparing to unpack .../0-libuchardet0_0.0.7-1_armhf.deb ...
Unpacking libuchardet0:armhf (0.0.7-1) ...
Selecting previously unselected package groff-base.
Preparing to unpack .../1-groff-base_1.22.4-6_armhf.deb ...
Unpacking groff-base (1.22.4-6) ...
Selecting previously unselected package libpipeline1:armhf.
Preparing to unpack .../2-libpipeline1_1.5.3-1_armhf.deb ...
Unpacking libpipeline1:armhf (1.5.3-1) ...
Selecting previously unselected package man-db.
Preparing to unpack .../3-man-db_2.9.4-2_armhf.deb ...
Unpacking man-db (2.9.4-2) ...
Selecting previously unselected package libpython3.9-minimal:armhf.
Preparing to unpack .../4-libpython3.9-minimal_3.9.2-1+rpi1_armhf.deb ...
Unpacking libpython3.9-minimal:armhf (3.9.2-1+rpi1) ...
Selecting previously unselected package libexpat1:armhf.
Preparing to unpack .../5-libexpat1_2.2.10-2_armhf.deb ...
Unpacking libexpat1:armhf (2.2.10-2) ...
Selecting previously unselected package python3.9-minimal.
Preparing to unpack .../6-python3.9-minimal_3.9.2-1+rpi1_armhf.deb ...
Unpacking python3.9-minimal (3.9.2-1+rpi1) ...
Setting up libpython3.9-minimal:armhf (3.9.2-1+rpi1) ...
Setting up libexpat1:armhf (2.2.10-2) ...
Setting up python3.9-minimal (3.9.2-1+rpi1) ...
Selecting previously unselected package python3-minimal.
(Reading database ... 13414 files and directories currently installed.)
Preparing to unpack .../0-python3-minimal_3.9.2-2_armhf.deb ...
Unpacking python3-minimal (3.9.2-2) ...
Selecting previously unselected package media-types.
Preparing to unpack .../1-media-types_4.0.0_all.deb ...
Unpacking media-types (4.0.0) ...
Selecting previously unselected package libmpdec3:armhf.
Preparing to unpack .../2-libmpdec3_2.5.1-1+rpi1_armhf.deb ...
Unpacking libmpdec3:armhf (2.5.1-1+rpi1) ...
Selecting previously unselected package libpython3.9-stdlib:armhf.
Preparing to unpack .../3-libpython3.9-stdlib_3.9.2-1+rpi1_armhf.deb ...
Unpacking libpython3.9-stdlib:armhf (3.9.2-1+rpi1) ...
Selecting previously unselected package python3.9.
Preparing to unpack .../4-python3.9_3.9.2-1+rpi1_armhf.deb ...
Unpacking python3.9 (3.9.2-1+rpi1) ...
Selecting previously unselected package libpython3-stdlib:armhf.
Preparing to unpack .../5-libpython3-stdlib_3.9.2-2_armhf.deb ...
Unpacking libpython3-stdlib:armhf (3.9.2-2) ...
Setting up python3-minimal (3.9.2-2) ...
Selecting previously unselected package python3.
(Reading database ... 13811 files and directories currently installed.)
Preparing to unpack .../00-python3_3.9.2-2_armhf.deb ...
Unpacking python3 (3.9.2-2) ...
Selecting previously unselected package libmagic-mgc.
Preparing to unpack .../01-libmagic-mgc_1%3a5.39-3_armhf.deb ...
Unpacking libmagic-mgc (1:5.39-3) ...
Selecting previously unselected package libmagic1:armhf.
Preparing to unpack .../02-libmagic1_1%3a5.39-3_armhf.deb ...
Unpacking libmagic1:armhf (1:5.39-3) ...
Selecting previously unselected package file.
Preparing to unpack .../03-file_1%3a5.39-3_armhf.deb ...
Unpacking file (1:5.39-3) ...
Selecting previously unselected package gettext-base.
Preparing to unpack .../04-gettext-base_0.21-4_armhf.deb ...
Unpacking gettext-base (0.21-4) ...
Selecting previously unselected package libsigsegv2:armhf.
Preparing to unpack .../05-libsigsegv2_2.13-1_armhf.deb ...
Unpacking libsigsegv2:armhf (2.13-1) ...
Selecting previously unselected package m4.
Preparing to unpack .../06-m4_1.4.18-5_armhf.deb ...
Unpacking m4 (1.4.18-5) ...
Selecting previously unselected package autoconf.
Preparing to unpack .../07-autoconf_2.69-14_all.deb ...
Unpacking autoconf (2.69-14) ...
Selecting previously unselected package autotools-dev.
Preparing to unpack .../08-autotools-dev_20180224.1+nmu1_all.deb ...
Unpacking autotools-dev (20180224.1+nmu1) ...
Selecting previously unselected package automake.
Preparing to unpack .../09-automake_1%3a1.16.3-2_all.deb ...
Unpacking automake (1:1.16.3-2) ...
Selecting previously unselected package autopoint.
Preparing to unpack .../10-autopoint_0.21-4_all.deb ...
Unpacking autopoint (0.21-4) ...
Selecting previously unselected package libbrotli1:armhf.
Preparing to unpack .../11-libbrotli1_1.0.9-2+b1_armhf.deb ...
Unpacking libbrotli1:armhf (1.0.9-2+b1) ...
Selecting previously unselected package libnghttp2-14:armhf.
Preparing to unpack .../12-libnghttp2-14_1.43.0-1_armhf.deb ...
Unpacking libnghttp2-14:armhf (1.43.0-1) ...
Selecting previously unselected package libpsl5:armhf.
Preparing to unpack .../13-libpsl5_0.21.0-1.2_armhf.deb ...
Unpacking libpsl5:armhf (0.21.0-1.2) ...
Selecting previously unselected package librtmp1:armhf.
Preparing to unpack .../14-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 .../15-libssh2-1_1.9.0-2_armhf.deb ...
Unpacking libssh2-1:armhf (1.9.0-2) ...
Selecting previously unselected package libcurl3-gnutls:armhf.
Preparing to unpack .../16-libcurl3-gnutls_7.74.0-1.1_armhf.deb ...
Unpacking libcurl3-gnutls:armhf (7.74.0-1.1) ...
Selecting previously unselected package libhttp-parser2.9:armhf.
Preparing to unpack .../17-libhttp-parser2.9_2.9.4-4_armhf.deb ...
Unpacking libhttp-parser2.9:armhf (2.9.4-4) ...
Selecting previously unselected package libmbedcrypto3:armhf.
Preparing to unpack .../18-libmbedcrypto3_2.16.9-0.1_armhf.deb ...
Unpacking libmbedcrypto3:armhf (2.16.9-0.1) ...
Selecting previously unselected package libmbedx509-0:armhf.
Preparing to unpack .../19-libmbedx509-0_2.16.9-0.1_armhf.deb ...
Unpacking libmbedx509-0:armhf (2.16.9-0.1) ...
Selecting previously unselected package libmbedtls12:armhf.
Preparing to unpack .../20-libmbedtls12_2.16.9-0.1_armhf.deb ...
Unpacking libmbedtls12:armhf (2.16.9-0.1) ...
Selecting previously unselected package libgit2-1.1:armhf.
Preparing to unpack .../21-libgit2-1.1_1.1.0+dfsg.1-4_armhf.deb ...
Unpacking libgit2-1.1:armhf (1.1.0+dfsg.1-4) ...
Selecting previously unselected package libmd0:armhf.
Preparing to unpack .../22-libmd0_1.0.3-3_armhf.deb ...
Unpacking libmd0:armhf (1.0.3-3) ...
Selecting previously unselected package libbsd0:armhf.
Preparing to unpack .../23-libbsd0_0.11.3-1_armhf.deb ...
Unpacking libbsd0:armhf (0.11.3-1) ...
Selecting previously unselected package libedit2:armhf.
Preparing to unpack .../24-libedit2_3.1-20191231-2_armhf.deb ...
Unpacking libedit2:armhf (3.1-20191231-2) ...
Selecting previously unselected package libz3-4:armhf.
Preparing to unpack .../25-libz3-4_4.8.10-1_armhf.deb ...
Unpacking libz3-4:armhf (4.8.10-1) ...
Selecting previously unselected package libllvm11:armhf.
Preparing to unpack .../26-libllvm11_1%3a11.0.1-2+rpi1_armhf.deb ...
Unpacking libllvm11:armhf (1:11.0.1-2+rpi1) ...
Selecting previously unselected package libstd-rust-1.48:armhf.
Preparing to unpack .../27-libstd-rust-1.48_1.48.0+dfsg1-1+rpi1_armhf.deb ...
Unpacking libstd-rust-1.48:armhf (1.48.0+dfsg1-1+rpi1) ...
Selecting previously unselected package libstd-rust-dev:armhf.
Preparing to unpack .../28-libstd-rust-dev_1.48.0+dfsg1-1+rpi1_armhf.deb ...
Unpacking libstd-rust-dev:armhf (1.48.0+dfsg1-1+rpi1) ...
Selecting previously unselected package rustc.
Preparing to unpack .../29-rustc_1.48.0+dfsg1-1+rpi1_armhf.deb ...
Unpacking rustc (1.48.0+dfsg1-1+rpi1) ...
Selecting previously unselected package cargo.
Preparing to unpack .../30-cargo_0.47.0-3_armhf.deb ...
Unpacking cargo (0.47.0-3) ...
Selecting previously unselected package libdebhelper-perl.
Preparing to unpack .../31-libdebhelper-perl_13.3.4_all.deb ...
Unpacking libdebhelper-perl (13.3.4) ...
Selecting previously unselected package libtool.
Preparing to unpack .../32-libtool_2.4.6-15_all.deb ...
Unpacking libtool (2.4.6-15) ...
Selecting previously unselected package dh-autoreconf.
Preparing to unpack .../33-dh-autoreconf_20_all.deb ...
Unpacking dh-autoreconf (20) ...
Selecting previously unselected package libarchive-zip-perl.
Preparing to unpack .../34-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 .../35-libsub-override-perl_0.09-2_all.deb ...
Unpacking libsub-override-perl (0.09-2) ...
Selecting previously unselected package libfile-stripnondeterminism-perl.
Preparing to unpack .../36-libfile-stripnondeterminism-perl_1.11.0-1_all.deb ...
Unpacking libfile-stripnondeterminism-perl (1.11.0-1) ...
Selecting previously unselected package dh-strip-nondeterminism.
Preparing to unpack .../37-dh-strip-nondeterminism_1.11.0-1_all.deb ...
Unpacking dh-strip-nondeterminism (1.11.0-1) ...
Selecting previously unselected package libelf1:armhf.
Preparing to unpack .../38-libelf1_0.183-1_armhf.deb ...
Unpacking libelf1:armhf (0.183-1) ...
Selecting previously unselected package dwz.
Preparing to unpack .../39-dwz_0.13+20210201-1_armhf.deb ...
Unpacking dwz (0.13+20210201-1) ...
Selecting previously unselected package libicu67:armhf.
Preparing to unpack .../40-libicu67_67.1-6_armhf.deb ...
Unpacking libicu67:armhf (67.1-6) ...
Selecting previously unselected package libxml2:armhf.
Preparing to unpack .../41-libxml2_2.9.10+dfsg-6.3_armhf.deb ...
Unpacking libxml2:armhf (2.9.10+dfsg-6.3) ...
Selecting previously unselected package gettext.
Preparing to unpack .../42-gettext_0.21-4_armhf.deb ...
Unpacking gettext (0.21-4) ...
Selecting previously unselected package intltool-debian.
Preparing to unpack .../43-intltool-debian_0.35.0+20060710.5_all.deb ...
Unpacking intltool-debian (0.35.0+20060710.5) ...
Selecting previously unselected package po-debconf.
Preparing to unpack .../44-po-debconf_1.0.21+nmu1_all.deb ...
Unpacking po-debconf (1.0.21+nmu1) ...
Selecting previously unselected package debhelper.
Preparing to unpack .../45-debhelper_13.3.4_all.deb ...
Unpacking debhelper (13.3.4) ...
Selecting previously unselected package dh-cargo.
Preparing to unpack .../46-dh-cargo_24_all.deb ...
Unpacking dh-cargo (24) ...
Selecting previously unselected package librust-kvm-bindings-dev:armhf.
Preparing to unpack .../47-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 .../48-librust-libc-dev_0.2.80-1_armhf.deb ...
Unpacking librust-libc-dev:armhf (0.2.80-1) ...
Selecting previously unselected package sbuild-build-depends-rust-kvm-ioctls-dummy.
Preparing to unpack .../49-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 (4.0.0) ...
Setting up libpipeline1:armhf (1.5.3-1) ...
Setting up librust-libc-dev:armhf (0.2.80-1) ...
Setting up libpsl5:armhf (0.21.0-1.2) ...
Setting up libicu67:armhf (67.1-6) ...
Setting up libmagic-mgc (1:5.39-3) ...
Setting up libarchive-zip-perl (1.68-1) ...
Setting up libdebhelper-perl (13.3.4) ...
Setting up libbrotli1:armhf (1.0.9-2+b1) ...
Setting up libnghttp2-14:armhf (1.43.0-1) ...
Setting up libmagic1:armhf (1:5.39-3) ...
Setting up gettext-base (0.21-4) ...
Setting up file (1:5.39-3) ...
Setting up autotools-dev (20180224.1+nmu1) ...
Setting up libz3-4:armhf (4.8.10-1) ...
Setting up librtmp1:armhf (2.4+20151223.gitfa8646d.1-2+b2) ...
Setting up libsigsegv2:armhf (2.13-1) ...
Setting up autopoint (0.21-4) ...
Setting up librust-kvm-bindings-dev:armhf (0.1.1-1) ...
Setting up libmd0:armhf (1.0.3-3) ...
Setting up libuchardet0:armhf (0.0.7-1) ...
Setting up libmpdec3:armhf (2.5.1-1+rpi1) ...
Setting up libmbedcrypto3:armhf (2.16.9-0.1) ...
Setting up libsub-override-perl (0.09-2) ...
Setting up libssh2-1:armhf (1.9.0-2) ...
Setting up libbsd0:armhf (0.11.3-1) ...
Setting up libelf1:armhf (0.183-1) ...
Setting up libxml2:armhf (2.9.10+dfsg-6.3) ...
Setting up libhttp-parser2.9:armhf (2.9.4-4) ...
Setting up libpython3.9-stdlib:armhf (3.9.2-1+rpi1) ...
Setting up libpython3-stdlib:armhf (3.9.2-2) ...
Setting up libfile-stripnondeterminism-perl (1.11.0-1) ...
Setting up gettext (0.21-4) ...
Setting up libtool (2.4.6-15) ...
Setting up libmbedx509-0:armhf (2.16.9-0.1) ...
Setting up libedit2:armhf (3.1-20191231-2) ...
Setting up libmbedtls12:armhf (2.16.9-0.1) ...
Setting up m4 (1.4.18-5) ...
Setting up libcurl3-gnutls:armhf (7.74.0-1.1) ...
Setting up intltool-debian (0.35.0+20060710.5) ...
Setting up libllvm11:armhf (1:11.0.1-2+rpi1) ...
Setting up libstd-rust-1.48:armhf (1.48.0+dfsg1-1+rpi1) ...
Setting up autoconf (2.69-14) ...
Setting up dh-strip-nondeterminism (1.11.0-1) ...
Setting up dwz (0.13+20210201-1) ...
Setting up groff-base (1.22.4-6) ...
Setting up python3.9 (3.9.2-1+rpi1) ...
Setting up automake (1:1.16.3-2) ...
update-alternatives: using /usr/bin/automake-1.16 to provide /usr/bin/automake (automake) in auto mode
Setting up libgit2-1.1:armhf (1.1.0+dfsg.1-4) ...
Setting up po-debconf (1.0.21+nmu1) ...
Setting up python3 (3.9.2-2) ...
Setting up man-db (2.9.4-2) ...
Not building database; man-db/auto-update is not 'true'.
Setting up dh-autoreconf (20) ...
Setting up libstd-rust-dev:armhf (1.48.0+dfsg1-1+rpi1) ...
Setting up rustc (1.48.0+dfsg1-1+rpi1) ...
Setting up debhelper (13.3.4) ...
Setting up cargo (0.47.0-3) ...
Setting up dh-cargo (24) ...
Setting up sbuild-build-depends-rust-kvm-ioctls-dummy (0.invalid.0) ...
Processing triggers for libc-bin (2.31-9+rpi1) ...
W: No sandbox user '_apt' on the system, can not drop privileges

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

Kernel: Linux 4.9.0-0.bpo.6-armmp armhf (armv7l)
Toolchain package versions: binutils_2.35.2-2+rpi1 dpkg-dev_1.20.7.1+rpi1 g++-10_10.2.1-6+rpi1 gcc-10_10.2.1-6+rpi1 libc6-dev_2.31-9+rpi1 libstdc++-10-dev_10.2.1-6+rpi1 libstdc++6_10.2.1-6+rpi1 linux-libc-dev_5.10.19-1+rpi1
Package versions: adduser_3.118 apt_2.2.2 autoconf_2.69-14 automake_1:1.16.3-2 autopoint_0.21-4 autotools-dev_20180224.1+nmu1 base-files_11+rpi1 base-passwd_3.5.49 bash_5.1-2 binutils_2.35.2-2+rpi1 binutils-arm-linux-gnueabihf_2.35.2-2+rpi1 binutils-common_2.35.2-2+rpi1 bsdextrautils_2.36.1-7 bsdutils_1:2.36.1-7 build-essential_12.9 bzip2_1.0.8-4 cargo_0.47.0-3 coreutils_8.32-4 cpp_4:10.2.1-1+rpi1 cpp-10_10.2.1-6+rpi1 dash_0.5.11+git20200708+dd9ef66-5 debconf_1.5.75 debhelper_13.3.4 debianutils_4.11.2 dh-autoreconf_20 dh-cargo_24 dh-strip-nondeterminism_1.11.0-1 diffutils_1:3.7-5 dirmngr_2.2.27-1 dpkg_1.20.7.1+rpi1 dpkg-dev_1.20.7.1+rpi1 dwz_0.13+20210201-1 e2fsprogs_1.46.2-1 fakeroot_1.25.3-1.1 fdisk_2.36.1-7 file_1:5.39-3 findutils_4.8.0-1 g++_4:10.2.1-1+rpi1 g++-10_10.2.1-6+rpi1 gcc_4:10.2.1-1+rpi1 gcc-10_10.2.1-6+rpi1 gcc-10-base_10.2.1-6+rpi1 gcc-6-base_6.5.0-1+rpi3 gcc-7-base_7.5.0-6+rpi1+b2 gcc-8-base_8.4.0-7+rpi1 gettext_0.21-4 gettext-base_0.21-4 gnupg_2.2.27-1 gnupg-l10n_2.2.27-1 gnupg-utils_2.2.27-1 gpg_2.2.27-1 gpg-agent_2.2.27-1 gpg-wks-client_2.2.27-1 gpg-wks-server_2.2.27-1 gpgconf_2.2.27-1 gpgsm_2.2.27-1 gpgv_2.2.27-1 grep_3.6-1 groff-base_1.22.4-6 gzip_1.10-4 hostname_3.23 init-system-helpers_1.60 intltool-debian_0.35.0+20060710.5 iputils-ping_3:20210202-1 libacl1_2.2.53-10 libapt-pkg6.0_2.2.2 libarchive-zip-perl_1.68-1 libasan6_10.2.1-6+rpi1 libassuan0_2.5.3-7.1 libatomic1_10.2.1-6+rpi1 libattr1_1:2.4.48-6 libaudit-common_1:3.0-2 libaudit1_1:3.0-2 libbinutils_2.35.2-2+rpi1 libblkid1_2.36.1-7 libbrotli1_1.0.9-2+b1 libbsd0_0.11.3-1 libbz2-1.0_1.0.8-4 libc-bin_2.31-9+rpi1 libc-dev-bin_2.31-9+rpi1 libc6_2.31-9+rpi1 libc6-dev_2.31-9+rpi1 libcap-ng0_0.7.9-2.2+b1 libcap2_1:2.44-1 libcap2-bin_1:2.44-1 libcc1-0_10.2.1-6+rpi1 libcom-err2_1.46.2-1 libcrypt-dev_1:4.4.17-1 libcrypt1_1:4.4.17-1 libctf-nobfd0_2.35.2-2+rpi1 libctf0_2.35.2-2+rpi1 libcurl3-gnutls_7.74.0-1.1 libdb5.3_5.3.28+dfsg1-0.8 libdebconfclient0_0.256 libdebhelper-perl_13.3.4 libdpkg-perl_1.20.7.1+rpi1 libedit2_3.1-20191231-2 libelf1_0.183-1 libexpat1_2.2.10-2 libext2fs2_1.46.2-1 libfakeroot_1.25.3-1.1 libfdisk1_2.36.1-7 libffi7_3.3-6 libfile-stripnondeterminism-perl_1.11.0-1 libgcc-10-dev_10.2.1-6+rpi1 libgcc-s1_10.2.1-6+rpi1 libgcrypt20_1.8.7-3 libgdbm-compat4_1.19-2 libgdbm6_1.19-2 libgit2-1.1_1.1.0+dfsg.1-4 libgmp10_2:6.2.1+dfsg-1 libgnutls30_3.7.0-7 libgomp1_10.2.1-6+rpi1 libgpg-error0_1.38-2 libgssapi-krb5-2_1.18.3-4 libhogweed6_3.7-2.1 libhttp-parser2.9_2.9.4-4 libicu67_67.1-6 libidn2-0_2.3.0-5 libisl23_0.23-1 libk5crypto3_1.18.3-4 libkeyutils1_1.6.1-2 libkrb5-3_1.18.3-4 libkrb5support0_1.18.3-4 libksba8_1.5.0-3 libldap-2.4-2_2.4.57+dfsg-1 libldap-common_2.4.57+dfsg-2 libllvm11_1:11.0.1-2+rpi1 liblz4-1_1.9.3-1+rpi1 liblzma5_5.2.5-1.0 libmagic-mgc_1:5.39-3 libmagic1_1:5.39-3 libmbedcrypto3_2.16.9-0.1 libmbedtls12_2.16.9-0.1 libmbedx509-0_2.16.9-0.1 libmd0_1.0.3-3 libmount1_2.36.1-7 libmpc3_1.2.0-1 libmpdec3_2.5.1-1+rpi1 libmpfr6_4.1.0-3 libncursesw6_6.2+20201114-2 libnettle8_3.7-2.1 libnghttp2-14_1.43.0-1 libnpth0_1.6-3 libnsl-dev_1.3.0-2 libnsl2_1.3.0-2 libnss-nis_3.1-4 libnss-nisplus_1.3-4 libp11-kit0_0.23.22-1 libpam-cap_1:2.44-1 libpam-modules_1.4.0-6 libpam-modules-bin_1.4.0-6 libpam-runtime_1.4.0-6 libpam0g_1.4.0-6 libpcre2-8-0_10.36-2 libpcre3_2:8.39-13 libperl5.32_5.32.1-3 libpipeline1_1.5.3-1 libpsl5_0.21.0-1.2 libpython3-stdlib_3.9.2-2 libpython3.9-minimal_3.9.2-1+rpi1 libpython3.9-stdlib_3.9.2-1+rpi1 libreadline8_8.1-1 librtmp1_2.4+20151223.gitfa8646d.1-2+b2 librust-kvm-bindings-dev_0.1.1-1 librust-libc-dev_0.2.80-1 libsasl2-2_2.1.27+dfsg-2.1 libsasl2-modules-db_2.1.27+dfsg-2.1 libseccomp2_2.5.1-1+rpi1 libselinux1_3.1-3 libsemanage-common_3.1-1 libsemanage1_3.1-1+b1 libsepol1_3.1-1 libsigsegv2_2.13-1 libsmartcols1_2.36.1-7 libsqlite3-0_3.34.1-3 libss2_1.46.2-1 libssh2-1_1.9.0-2 libssl1.1_1.1.1j-1 libstd-rust-1.48_1.48.0+dfsg1-1+rpi1 libstd-rust-dev_1.48.0+dfsg1-1+rpi1 libstdc++-10-dev_10.2.1-6+rpi1 libstdc++6_10.2.1-6+rpi1 libsub-override-perl_0.09-2 libsystemd0_247.3-1+rpi1 libtasn1-6_4.16.0-2 libtinfo6_6.2+20201114-2 libtirpc-common_1.3.1-1 libtirpc-dev_1.3.1-1 libtirpc3_1.3.1-1 libtool_2.4.6-15 libubsan1_10.2.1-6+rpi1 libuchardet0_0.0.7-1 libudev1_247.3-1+rpi1 libunistring2_0.9.10-4 libuuid1_2.36.1-7 libxml2_2.9.10+dfsg-6.3 libxxhash0_0.8.0-2+rpi1 libz3-4_4.8.10-1 libzstd1_1.4.8+dfsg-2 linux-libc-dev_5.10.19-1+rpi1 login_1:4.8.1-1 logsave_1.46.2-1 lsb-base_11.1.0+rpi1 m4_1.4.18-5 make_4.3-4 man-db_2.9.4-2 mawk_1.3.4.20200120-2 media-types_4.0.0 mount_2.36.1-7 ncurses-base_6.2+20201114-2 ncurses-bin_6.2+20201114-2 netbase_6.2 passwd_1:4.8.1-1 patch_2.7.6-7 perl_5.32.1-3 perl-base_5.32.1-3 perl-modules-5.32_5.32.1-3 pinentry-curses_1.1.0-4 po-debconf_1.0.21+nmu1 python3_3.9.2-2 python3-minimal_3.9.2-2 python3.9_3.9.2-1+rpi1 python3.9-minimal_3.9.2-1+rpi1 raspbian-archive-keyring_20120528.2 readline-common_8.1-1 rustc_1.48.0+dfsg1-1+rpi1 sbuild-build-depends-core-dummy_0.invalid.0 sbuild-build-depends-rust-kvm-ioctls-dummy_0.invalid.0 sed_4.7-1 sensible-utils_0.0.14 sysvinit-utils_2.96-6 tar_1.34+dfsg-1 tzdata_2021a-1 util-linux_2.36.1-7 xz-utils_5.2.5-1.0 zlib1g_1:1.2.11.dfsg-2

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


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

gpgv: unknown type of key resource 'trustedkeys.kbx'
gpgv: keyblock resource '/tmp/dpkg-verify-sig.TVnUJB1Z/trustedkeys.kbx': General error
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: failed to verify signature on ./rust-kvm-ioctls_0.2.0-1.dsc
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 disc 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=bullseye-staging-armhf-sbuild
SCHROOT_CHROOT_NAME=bullseye-staging-armhf-sbuild
SCHROOT_COMMAND=env
SCHROOT_GID=109
SCHROOT_GROUP=buildd
SCHROOT_SESSION_ID=bullseye-staging-armhf-sbuild-7948ea01-5579-405a-a083-8c035d384453
SCHROOT_UID=104
SCHROOT_USER=buildd
SHELL=/bin/sh
TERM=xterm
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.80
   Compiling kvm-bindings v0.1.1
     Running `CARGO=/usr/bin/cargo CARGO_CRATE_NAME=build_script_build CARGO_MANIFEST_DIR=/<<PKGBUILDDIR>>/debian/cargo_registry/libc-0.2.80 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_VERSION=0.2.80 CARGO_PKG_VERSION_MAJOR=0 CARGO_PKG_VERSION_MINOR=2 CARGO_PKG_VERSION_PATCH=80 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.80/build.rs --error-format=json --json=diagnostic-rendered-ansi --crate-type bin --emit=dep-info,link -Cembed-bitcode=no -C debuginfo=2 --cfg 'feature="default"' --cfg 'feature="std"' -C metadata=4219ab1e85ef9be0 -C extra-filename=-4219ab1e85ef9be0 --out-dir /<<PKGBUILDDIR>>/target/debug/build/libc-4219ab1e85ef9be0 -L dependency=/<<PKGBUILDDIR>>/target/debug/deps --cap-lints warn`
     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_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 --crate-type lib --emit=dep-info,metadata,link -Cembed-bitcode=no -C debuginfo=2 -C metadata=b5fddbf1ed0c4e85 -C extra-filename=-b5fddbf1ed0c4e85 --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`
     Running `/<<PKGBUILDDIR>>/target/debug/build/libc-4219ab1e85ef9be0/build-script-build`
[libc 0.2.80] cargo:rustc-cfg=freebsd11
[libc 0.2.80] cargo:rustc-cfg=libc_priv_mod_use
[libc 0.2.80] cargo:rustc-cfg=libc_union
[libc 0.2.80] cargo:rustc-cfg=libc_const_size_of
[libc 0.2.80] cargo:rustc-cfg=libc_align
[libc 0.2.80] cargo:rustc-cfg=libc_core_cvoid
[libc 0.2.80] cargo:rustc-cfg=libc_packedN
[libc 0.2.80] cargo:rustc-cfg=libc_cfg_target_vendor
     Running `CARGO=/usr/bin/cargo CARGO_CRATE_NAME=libc CARGO_MANIFEST_DIR=/<<PKGBUILDDIR>>/debian/cargo_registry/libc-0.2.80 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_VERSION=0.2.80 CARGO_PKG_VERSION_MAJOR=0 CARGO_PKG_VERSION_MINOR=2 CARGO_PKG_VERSION_PATCH=80 CARGO_PKG_VERSION_PRE='' LD_LIBRARY_PATH='/<<PKGBUILDDIR>>/target/debug/deps:/usr/lib' OUT_DIR=/<<PKGBUILDDIR>>/target/arm-unknown-linux-gnueabihf/debug/build/libc-82af72d60250500e/out rustc --crate-name libc /<<PKGBUILDDIR>>/debian/cargo_registry/libc-0.2.80/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts --crate-type lib --emit=dep-info,metadata,link -Cembed-bitcode=no -C debuginfo=2 --cfg 'feature="default"' --cfg 'feature="std"' -C metadata=7ac701aa45c57138 -C extra-filename=-7ac701aa45c57138 --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 --cfg freebsd11 --cfg libc_priv_mod_use --cfg libc_union --cfg libc_const_size_of --cfg libc_align --cfg libc_core_cvoid --cfg libc_packedN --cfg libc_cfg_target_vendor`
   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_VERSION=0.2.0 CARGO_PKG_VERSION_MAJOR=0 CARGO_PKG_VERSION_MINOR=2 CARGO_PKG_VERSION_PATCH=0 CARGO_PKG_VERSION_PRE='' LD_LIBRARY_PATH='/<<PKGBUILDDIR>>/target/debug/deps:/usr/lib' rustc --crate-name kvm_ioctls src/lib.rs --error-format=json --json=diagnostic-rendered-ansi --crate-type lib --emit=dep-info,metadata,link -Cembed-bitcode=no -C debuginfo=2 -C metadata=ef1b70ca543ca83e -C extra-filename=-ef1b70ca543ca83e --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-b5fddbf1ed0c4e85.rmeta --extern libc=/<<PKGBUILDDIR>>/target/arm-unknown-linux-gnueabihf/debug/deps/liblibc-7ac701aa45c57138.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`
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> {
    |                              ^^^^^^^ help: use `dyn`: `dyn AsRawFd`
    |
    = note: `#[warn(bare_trait_objects)]` on by default

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 a macro (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 a macro (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 a macro (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 a macro (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 a macro (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 a macro (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 a macro (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 a macro (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 a macro (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 a macro (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 a macro (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 a macro (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 a macro (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 a macro (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 a macro (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 a macro (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 a macro (in Nightly builds, run with -Z macro-backtrace for more info)

error[E0308]: mismatched types
   --> src/ioctls/vcpu.rs:706:53
    |
706 |                         Ok(VcpuExit::MmioRead(addr, data_slice))
    |                                                     ^^^^^^^^^^ types differ in mutability
    |
    = note: expected mutable reference `&mut [u8]`
                       found reference `&[u8]`

error: aborting due to 151 previous errors; 4 warnings emitted

Some errors have detailed explanations: E0308, E0412, E0422, E0425, E0432.
For more information about an error, try `rustc --explain E0308`.
error: could not compile `kvm-ioctls`.

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_VERSION=0.2.0 CARGO_PKG_VERSION_MAJOR=0 CARGO_PKG_VERSION_MINOR=2 CARGO_PKG_VERSION_PATCH=0 CARGO_PKG_VERSION_PRE='' LD_LIBRARY_PATH='/<<PKGBUILDDIR>>/target/debug/deps:/usr/lib' rustc --crate-name kvm_ioctls src/lib.rs --error-format=json --json=diagnostic-rendered-ansi --crate-type lib --emit=dep-info,metadata,link -Cembed-bitcode=no -C debuginfo=2 -C metadata=ef1b70ca543ca83e -C extra-filename=-ef1b70ca543ca83e --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-b5fddbf1ed0c4e85.rmeta --extern libc=/<<PKGBUILDDIR>>/target/arm-unknown-linux-gnueabihf/debug/deps/liblibc-7ac701aa45c57138.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` (exit code: 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 2021-03-19T06:09:08Z

Finished
--------


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

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

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

Build Architecture: armhf
Build-Space: 0
Build-Time: 48
Distribution: bullseye-staging
Fail-Stage: build
Host Architecture: armhf
Install-Time: 500
Job: rust-kvm-ioctls_0.2.0-1
Machine Architecture: armhf
Package: rust-kvm-ioctls
Package-Time: 604
Source-Version: 0.2.0-1
Space: 0
Status: failed
Version: 0.2.0-1
--------------------------------------------------------------------------------
Finished at 2021-03-19T06:09:08Z
Build needed 00:00:00, 0k disc space