Mock Version: 5.0 Mock Version: 5.0 Mock Version: 5.0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target riscv64 --nodeps /builddir/build/SPECS/rust-sev.spec'], chrootPath='/var/lib/mock/f39-build-2003225-44814/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=864000uid=982gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target riscv64 --nodeps /builddir/build/SPECS/rust-sev.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1689811200 Wrote: /builddir/build/SRPMS/rust-sev-1.2.1-1.rv64.fc39.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -br --noclean --target riscv64 --nodeps /builddir/build/SPECS/rust-sev.spec'], chrootPath='/var/lib/mock/f39-build-2003225-44814/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=864000uid=982gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueraiseExc=FalseprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -br --noclean --target riscv64 --nodeps /builddir/build/SPECS/rust-sev.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1689811200 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.CKsgF2 + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf sev-1.2.1 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/sev-1.2.1.crate + STATUS=0 + '[' 0 -ne 0 ']' + cd sev-1.2.1 + rm -rf /builddir/build/BUILD/sev-1.2.1-SPECPARTS + /usr/bin/mkdir -p /builddir/build/BUILD/sev-1.2.1-SPECPARTS + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + set -euo pipefail + /usr/bin/mkdir -p target/rpm + /usr/bin/ln -s rpm target/release + /usr/bin/rm -rf .cargo/ + /usr/bin/mkdir -p .cargo + cat + cat + /usr/bin/rm -f Cargo.lock + /usr/bin/rm -f Cargo.toml.orig + RPM_EC=0 ++ jobs -p + exit 0 Executing(%generate_buildrequires): /bin/sh -e /var/tmp/rpm-tmp.hipHp2 + umask 022 + cd /builddir/build/BUILD + cd sev-1.2.1 + /usr/bin/cargo2rpm --path Cargo.toml buildrequires --with-check + RPM_EC=0 ++ jobs -p + exit 0 Wrote: /builddir/build/SRPMS/rust-sev-1.2.1-1.rv64.fc39.buildreqs.nosrc.rpm Child return code was: 11 Dynamic buildrequires detected Going to install missing buildrequires. See root.log for details. ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -br --noclean --target riscv64 --nodeps /builddir/build/SPECS/rust-sev.spec'], chrootPath='/var/lib/mock/f39-build-2003225-44814/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=864000uid=982gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueraiseExc=FalseprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -br --noclean --target riscv64 --nodeps /builddir/build/SPECS/rust-sev.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1689811200 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.skSTZG + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf sev-1.2.1 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/sev-1.2.1.crate + STATUS=0 + '[' 0 -ne 0 ']' + cd sev-1.2.1 + rm -rf /builddir/build/BUILD/sev-1.2.1-SPECPARTS + /usr/bin/mkdir -p /builddir/build/BUILD/sev-1.2.1-SPECPARTS + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + set -euo pipefail + /usr/bin/mkdir -p target/rpm + /usr/bin/ln -s rpm target/release + /usr/bin/rm -rf .cargo/ + /usr/bin/mkdir -p .cargo + cat + cat + /usr/bin/rm -f Cargo.lock + /usr/bin/rm -f Cargo.toml.orig + RPM_EC=0 ++ jobs -p + exit 0 Executing(%generate_buildrequires): /bin/sh -e /var/tmp/rpm-tmp.WVkTc4 + umask 022 + cd /builddir/build/BUILD + cd sev-1.2.1 + /usr/bin/cargo2rpm --path Cargo.toml buildrequires --with-check + RPM_EC=0 ++ jobs -p + exit 0 Wrote: /builddir/build/SRPMS/rust-sev-1.2.1-1.rv64.fc39.buildreqs.nosrc.rpm Child return code was: 11 Dynamic buildrequires detected Going to install missing buildrequires. See root.log for details. ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -ba --noprep --noclean --target riscv64 --nodeps /builddir/build/SPECS/rust-sev.spec'], chrootPath='/var/lib/mock/f39-build-2003225-44814/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=864000uid=982gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -ba --noprep --noclean --target riscv64 --nodeps /builddir/build/SPECS/rust-sev.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1689811200 Executing(%generate_buildrequires): /bin/sh -e /var/tmp/rpm-tmp.ofHNMC + umask 022 + cd /builddir/build/BUILD + cd sev-1.2.1 + /usr/bin/cargo2rpm --path Cargo.toml buildrequires --with-check + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.2XWYml + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd sev-1.2.1 + /usr/bin/env CARGO_HOME=.cargo RUSTC_BOOTSTRAP=1 'RUSTFLAGS=-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' /usr/bin/cargo build -j64 -Z avoid-dev-deps --profile rpm Compiling proc-macro2 v1.0.70 Compiling unicode-ident v1.0.12 Compiling libc v0.2.150 Compiling serde v1.0.193 Compiling bitflags v1.3.2 Compiling kvm-ioctls v0.13.0 Compiling option-ext v0.2.0 Compiling sev v1.2.1 (/builddir/build/BUILD/sev-1.2.1) Compiling hex v0.4.3 Compiling bitfield v0.13.2 Compiling codicon v3.0.0 Compiling iocuddle v0.1.1 Compiling static_assertions v1.1.0 Running `/usr/bin/rustc --crate-name build_script_build --edition=2021 /usr/share/cargo/registry/proc-macro2-1.0.70/build.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type bin --emit=dep-info,link -C embed-bitcode=no -C debug-assertions=off --cfg 'feature="default"' --cfg 'feature="proc-macro"' -C metadata=9510c6c4d61a3eef -C extra-filename=-9510c6c4d61a3eef --out-dir /builddir/build/BUILD/sev-1.2.1/target/rpm/build/proc-macro2-9510c6c4d61a3eef -L dependency=/builddir/build/BUILD/sev-1.2.1/target/rpm/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn` Running `/usr/bin/rustc --crate-name unicode_ident --edition=2018 /usr/share/cargo/registry/unicode-ident-1.0.12/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debug-assertions=off -C metadata=48459bc3dd6375c2 -C extra-filename=-48459bc3dd6375c2 --out-dir /builddir/build/BUILD/sev-1.2.1/target/rpm/deps -L dependency=/builddir/build/BUILD/sev-1.2.1/target/rpm/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn` Running `/usr/bin/rustc --crate-name build_script_build /usr/share/cargo/registry/libc-0.2.150/build.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type bin --emit=dep-info,link -C embed-bitcode=no -C debug-assertions=off --cfg 'feature="default"' --cfg 'feature="std"' -C metadata=714be6a4480f9062 -C extra-filename=-714be6a4480f9062 --out-dir /builddir/build/BUILD/sev-1.2.1/target/rpm/build/libc-714be6a4480f9062 -L dependency=/builddir/build/BUILD/sev-1.2.1/target/rpm/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn` Running `/usr/bin/rustc --crate-name build_script_build --edition=2018 /usr/share/cargo/registry/serde-1.0.193/build.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type bin --emit=dep-info,link -C embed-bitcode=no -C debug-assertions=off --cfg 'feature="default"' --cfg 'feature="derive"' --cfg 'feature="serde_derive"' --cfg 'feature="std"' -C metadata=8d9c9d904750e626 -C extra-filename=-8d9c9d904750e626 --out-dir /builddir/build/BUILD/sev-1.2.1/target/rpm/build/serde-8d9c9d904750e626 -L dependency=/builddir/build/BUILD/sev-1.2.1/target/rpm/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn` Running `/usr/bin/rustc --crate-name bitflags --edition=2018 /usr/share/cargo/registry/bitflags-1.3.2/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no -C codegen-units=1 -C debuginfo=2 --cfg 'feature="default"' -C metadata=052f2961673cff32 -C extra-filename=-052f2961673cff32 --out-dir /builddir/build/BUILD/sev-1.2.1/target/rpm/deps -L dependency=/builddir/build/BUILD/sev-1.2.1/target/rpm/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn` Running `/usr/bin/rustc --crate-name build_script_build --edition=2021 /usr/share/cargo/registry/kvm-ioctls-0.13.0/build.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type bin --emit=dep-info,link -C embed-bitcode=no -C debug-assertions=off -C metadata=76640cebeb2d0b3a -C extra-filename=-76640cebeb2d0b3a --out-dir /builddir/build/BUILD/sev-1.2.1/target/rpm/build/kvm-ioctls-76640cebeb2d0b3a -L dependency=/builddir/build/BUILD/sev-1.2.1/target/rpm/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn` Running `/usr/bin/rustc --crate-name option_ext /usr/share/cargo/registry/option-ext-0.2.0/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no -C codegen-units=1 -C debuginfo=2 -C metadata=04ccf2c7ca9e326c -C extra-filename=-04ccf2c7ca9e326c --out-dir /builddir/build/BUILD/sev-1.2.1/target/rpm/deps -L dependency=/builddir/build/BUILD/sev-1.2.1/target/rpm/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn` Running `/usr/bin/rustc --crate-name build_script_build --edition=2018 build.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type bin --emit=dep-info,link -C embed-bitcode=no -C debug-assertions=off --cfg 'feature="default"' --cfg 'feature="sev"' --cfg 'feature="snp"' -C metadata=c61ae93fe7bc2336 -C extra-filename=-c61ae93fe7bc2336 --out-dir /builddir/build/BUILD/sev-1.2.1/target/rpm/build/sev-c61ae93fe7bc2336 -L dependency=/builddir/build/BUILD/sev-1.2.1/target/rpm/deps -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn` Running `/usr/bin/rustc --crate-name hex --edition=2018 /usr/share/cargo/registry/hex-0.4.3/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no -C codegen-units=1 -C debuginfo=2 --cfg 'feature="alloc"' --cfg 'feature="default"' --cfg 'feature="std"' -C metadata=c5455f23d17efc47 -C extra-filename=-c5455f23d17efc47 --out-dir /builddir/build/BUILD/sev-1.2.1/target/rpm/deps -L dependency=/builddir/build/BUILD/sev-1.2.1/target/rpm/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn` Running `/usr/bin/rustc --crate-name bitfield /usr/share/cargo/registry/bitfield-0.13.2/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no -C codegen-units=1 -C debuginfo=2 -C metadata=747801008c699766 -C extra-filename=-747801008c699766 --out-dir /builddir/build/BUILD/sev-1.2.1/target/rpm/deps -L dependency=/builddir/build/BUILD/sev-1.2.1/target/rpm/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn` Running `/usr/bin/rustc --crate-name codicon --edition=2018 /usr/share/cargo/registry/codicon-3.0.0/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no -C codegen-units=1 -C debuginfo=2 -C metadata=6341bda89285df1c -C extra-filename=-6341bda89285df1c --out-dir /builddir/build/BUILD/sev-1.2.1/target/rpm/deps -L dependency=/builddir/build/BUILD/sev-1.2.1/target/rpm/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn` Running `/usr/bin/rustc --crate-name iocuddle --edition=2018 /usr/share/cargo/registry/iocuddle-0.1.1/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no -C codegen-units=1 -C debuginfo=2 -C metadata=1244b6d0f768fe3b -C extra-filename=-1244b6d0f768fe3b --out-dir /builddir/build/BUILD/sev-1.2.1/target/rpm/deps -L dependency=/builddir/build/BUILD/sev-1.2.1/target/rpm/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn` Running `/usr/bin/rustc --crate-name static_assertions /usr/share/cargo/registry/static_assertions-1.1.0/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no -C codegen-units=1 -C debuginfo=2 -C metadata=ad21e30fbc02c223 -C extra-filename=-ad21e30fbc02c223 --out-dir /builddir/build/BUILD/sev-1.2.1/target/rpm/deps -L dependency=/builddir/build/BUILD/sev-1.2.1/target/rpm/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn` Running `/builddir/build/BUILD/sev-1.2.1/target/rpm/build/sev-c61ae93fe7bc2336/build-script-build` Running `/builddir/build/BUILD/sev-1.2.1/target/rpm/build/kvm-ioctls-76640cebeb2d0b3a/build-script-build` Running `/builddir/build/BUILD/sev-1.2.1/target/rpm/build/serde-8d9c9d904750e626/build-script-build` Running `/builddir/build/BUILD/sev-1.2.1/target/rpm/build/proc-macro2-9510c6c4d61a3eef/build-script-build` Running `/usr/bin/rustc --crate-name proc_macro2 --edition=2021 /usr/share/cargo/registry/proc-macro2-1.0.70/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debug-assertions=off --cfg 'feature="default"' --cfg 'feature="proc-macro"' -C metadata=87590cb78a5ed526 -C extra-filename=-87590cb78a5ed526 --out-dir /builddir/build/BUILD/sev-1.2.1/target/rpm/deps -L dependency=/builddir/build/BUILD/sev-1.2.1/target/rpm/deps --extern unicode_ident=/builddir/build/BUILD/sev-1.2.1/target/rpm/deps/libunicode_ident-48459bc3dd6375c2.rmeta --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn --cfg wrap_proc_macro` Running `/builddir/build/BUILD/sev-1.2.1/target/rpm/build/libc-714be6a4480f9062/build-script-build` Running `/usr/bin/rustc --crate-name libc /usr/share/cargo/registry/libc-0.2.150/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no -C codegen-units=1 -C debuginfo=2 --cfg 'feature="default"' --cfg 'feature="std"' -C metadata=727a43331c17ed30 -C extra-filename=-727a43331c17ed30 --out-dir /builddir/build/BUILD/sev-1.2.1/target/rpm/deps -L dependency=/builddir/build/BUILD/sev-1.2.1/target/rpm/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn --cfg freebsd11 --cfg libc_priv_mod_use --cfg libc_union --cfg libc_const_size_of --cfg libc_align --cfg libc_int128 --cfg libc_core_cvoid --cfg libc_packedN --cfg libc_cfg_target_vendor --cfg libc_non_exhaustive --cfg libc_long_array --cfg libc_ptr_addr_of --cfg libc_underscore_const_names --cfg libc_const_extern_fn` Compiling quote v1.0.33 Running `/usr/bin/rustc --crate-name quote --edition=2018 /usr/share/cargo/registry/quote-1.0.33/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debug-assertions=off --cfg 'feature="default"' --cfg 'feature="proc-macro"' -C metadata=021b806613c7f64c -C extra-filename=-021b806613c7f64c --out-dir /builddir/build/BUILD/sev-1.2.1/target/rpm/deps -L dependency=/builddir/build/BUILD/sev-1.2.1/target/rpm/deps --extern proc_macro2=/builddir/build/BUILD/sev-1.2.1/target/rpm/deps/libproc_macro2-87590cb78a5ed526.rmeta --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn` Compiling syn v2.0.39 Running `/usr/bin/rustc --crate-name syn --edition=2021 /usr/share/cargo/registry/syn-2.0.39/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debug-assertions=off --cfg 'feature="clone-impls"' --cfg 'feature="default"' --cfg 'feature="derive"' --cfg 'feature="parsing"' --cfg 'feature="printing"' --cfg 'feature="proc-macro"' --cfg 'feature="quote"' -C metadata=b75c93d419c8d061 -C extra-filename=-b75c93d419c8d061 --out-dir /builddir/build/BUILD/sev-1.2.1/target/rpm/deps -L dependency=/builddir/build/BUILD/sev-1.2.1/target/rpm/deps --extern proc_macro2=/builddir/build/BUILD/sev-1.2.1/target/rpm/deps/libproc_macro2-87590cb78a5ed526.rmeta --extern quote=/builddir/build/BUILD/sev-1.2.1/target/rpm/deps/libquote-021b806613c7f64c.rmeta --extern unicode_ident=/builddir/build/BUILD/sev-1.2.1/target/rpm/deps/libunicode_ident-48459bc3dd6375c2.rmeta --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn` Compiling vmm-sys-util v0.11.2 Compiling dirs-sys v0.4.1 Running `/usr/bin/rustc --crate-name vmm_sys_util --edition=2021 /usr/share/cargo/registry/vmm-sys-util-0.11.2/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no -C codegen-units=1 -C debuginfo=2 -C metadata=4d57e62593b96e40 -C extra-filename=-4d57e62593b96e40 --out-dir /builddir/build/BUILD/sev-1.2.1/target/rpm/deps -L dependency=/builddir/build/BUILD/sev-1.2.1/target/rpm/deps --extern bitflags=/builddir/build/BUILD/sev-1.2.1/target/rpm/deps/libbitflags-052f2961673cff32.rmeta --extern libc=/builddir/build/BUILD/sev-1.2.1/target/rpm/deps/liblibc-727a43331c17ed30.rmeta --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn` Running `/usr/bin/rustc --crate-name dirs_sys /usr/share/cargo/registry/dirs-sys-0.4.1/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no -C codegen-units=1 -C debuginfo=2 -C metadata=ef68127fa50e3840 -C extra-filename=-ef68127fa50e3840 --out-dir /builddir/build/BUILD/sev-1.2.1/target/rpm/deps -L dependency=/builddir/build/BUILD/sev-1.2.1/target/rpm/deps --extern libc=/builddir/build/BUILD/sev-1.2.1/target/rpm/deps/liblibc-727a43331c17ed30.rmeta --extern option_ext=/builddir/build/BUILD/sev-1.2.1/target/rpm/deps/liboption_ext-04ccf2c7ca9e326c.rmeta --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn` Compiling dirs v5.0.1 Running `/usr/bin/rustc --crate-name dirs /usr/share/cargo/registry/dirs-5.0.1/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no -C codegen-units=1 -C debuginfo=2 -C metadata=b3f7d55850e33418 -C extra-filename=-b3f7d55850e33418 --out-dir /builddir/build/BUILD/sev-1.2.1/target/rpm/deps -L dependency=/builddir/build/BUILD/sev-1.2.1/target/rpm/deps --extern dirs_sys=/builddir/build/BUILD/sev-1.2.1/target/rpm/deps/libdirs_sys-ef68127fa50e3840.rmeta --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn` Compiling kvm-bindings v0.6.0 Running `/usr/bin/rustc --crate-name kvm_bindings /usr/share/cargo/registry/kvm-bindings-0.6.0/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no -C codegen-units=1 -C debuginfo=2 --cfg 'feature="fam-wrappers"' --cfg 'feature="vmm-sys-util"' -C metadata=c3b753ebcbef3174 -C extra-filename=-c3b753ebcbef3174 --out-dir /builddir/build/BUILD/sev-1.2.1/target/rpm/deps -L dependency=/builddir/build/BUILD/sev-1.2.1/target/rpm/deps --extern vmm_sys_util=/builddir/build/BUILD/sev-1.2.1/target/rpm/deps/libvmm_sys_util-4d57e62593b96e40.rmeta --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn` Running `/usr/bin/rustc --crate-name kvm_ioctls --edition=2021 /usr/share/cargo/registry/kvm-ioctls-0.13.0/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no -C codegen-units=1 -C debuginfo=2 -C metadata=59fd66aca8b652ba -C extra-filename=-59fd66aca8b652ba --out-dir /builddir/build/BUILD/sev-1.2.1/target/rpm/deps -L dependency=/builddir/build/BUILD/sev-1.2.1/target/rpm/deps --extern kvm_bindings=/builddir/build/BUILD/sev-1.2.1/target/rpm/deps/libkvm_bindings-c3b753ebcbef3174.rmeta --extern libc=/builddir/build/BUILD/sev-1.2.1/target/rpm/deps/liblibc-727a43331c17ed30.rmeta --extern vmm_sys_util=/builddir/build/BUILD/sev-1.2.1/target/rpm/deps/libvmm_sys_util-4d57e62593b96e40.rmeta --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn` error[E0432]: unresolved import `kvm_bindings::kvm_run` --> /usr/share/cargo/registry/kvm-ioctls-0.13.0/src/ioctls/mod.rs:11:5 | 11 | use kvm_bindings::kvm_run; | ^^^^^^^^^^^^^^^^^^^^^ no `kvm_run` in the root error[E0432]: unresolved import `kvm_bindings::kvm_device_attr` --> /usr/share/cargo/registry/kvm-ioctls-0.13.0/src/ioctls/device.rs:9:5 | 9 | use kvm_bindings::kvm_device_attr; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no `kvm_device_attr` in the root error[E0425]: cannot find value `KVMIO` in this scope --> /usr/share/cargo/registry/kvm-ioctls-0.13.0/src/kvm_ioctls.rs:14:35 | 14 | ioctl_io_nr!(KVM_GET_API_VERSION, KVMIO, 0x00); | ^^^^^ not found in this scope error[E0425]: cannot find value `KVMIO` in this scope --> /usr/share/cargo/registry/kvm-ioctls-0.13.0/src/kvm_ioctls.rs:15:29 | 15 | ioctl_io_nr!(KVM_CREATE_VM, KVMIO, 0x01); | ^^^^^ not found in this scope error[E0425]: cannot find value `KVMIO` in this scope --> /usr/share/cargo/registry/kvm-ioctls-0.13.0/src/kvm_ioctls.rs:16:35 | 16 | ioctl_io_nr!(KVM_CHECK_EXTENSION, KVMIO, 0x03); | ^^^^^ not found in this scope error[E0425]: cannot find value `KVMIO` in this scope --> /usr/share/cargo/registry/kvm-ioctls-0.13.0/src/kvm_ioctls.rs:17:38 | 17 | ioctl_io_nr!(KVM_GET_VCPU_MMAP_SIZE, KVMIO, 0x04); | ^^^^^ not found in this scope error[E0425]: cannot find value `KVMIO` in this scope --> /usr/share/cargo/registry/kvm-ioctls-0.13.0/src/kvm_ioctls.rs:27:31 | 27 | ioctl_io_nr!(KVM_CREATE_VCPU, KVMIO, 0x41); | ^^^^^ not found in this scope error[E0425]: cannot find value `KVMIO` in this scope --> /usr/share/cargo/registry/kvm-ioctls-0.13.0/src/kvm_ioctls.rs:28:34 | 28 | 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 --> /usr/share/cargo/registry/kvm-ioctls-0.13.0/src/kvm_ioctls.rs:28:47 | 28 | 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 --> /usr/share/cargo/registry/kvm-ioctls-0.13.0/src/kvm_ioctls.rs:32:5 | 32 | KVMIO, | ^^^^^ not found in this scope error[E0412]: cannot find type `kvm_userspace_memory_region` in this scope --> /usr/share/cargo/registry/kvm-ioctls-0.13.0/src/kvm_ioctls.rs:34:5 | 34 | kvm_userspace_memory_region | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope error[E0425]: cannot find value `KVMIO` in this scope --> /usr/share/cargo/registry/kvm-ioctls-0.13.0/src/kvm_ioctls.rs:80:30 | 80 | ioctl_iow_nr!(KVM_IOEVENTFD, KVMIO, 0x79, kvm_ioeventfd); | ^^^^^ not found in this scope error[E0412]: cannot find type `kvm_ioeventfd` in this scope --> /usr/share/cargo/registry/kvm-ioctls-0.13.0/src/kvm_ioctls.rs:80:43 | 80 | ioctl_iow_nr!(KVM_IOEVENTFD, KVMIO, 0x79, kvm_ioeventfd); | ^^^^^^^^^^^^^ not found in this scope error[E0425]: cannot find value `KVMIO` in this scope --> /usr/share/cargo/registry/kvm-ioctls-0.13.0/src/kvm_ioctls.rs:111:23 | 111 | ioctl_io_nr!(KVM_RUN, KVMIO, 0x80); | ^^^^^ not found in this scope error[E0425]: cannot find value `KVMIO` in this scope --> /usr/share/cargo/registry/kvm-ioctls-0.13.0/src/kvm_ioctls.rs:113:29 | 113 | ioctl_ior_nr!(KVM_GET_REGS, KVMIO, 0x81, kvm_regs); | ^^^^^ not found in this scope error[E0412]: cannot find type `kvm_regs` in this scope --> /usr/share/cargo/registry/kvm-ioctls-0.13.0/src/kvm_ioctls.rs:113:42 | 113 | ioctl_ior_nr!(KVM_GET_REGS, KVMIO, 0x81, kvm_regs); | ^^^^^^^^ not found in this scope error[E0425]: cannot find value `KVMIO` in this scope --> /usr/share/cargo/registry/kvm-ioctls-0.13.0/src/kvm_ioctls.rs:115:29 | 115 | ioctl_iow_nr!(KVM_SET_REGS, KVMIO, 0x82, kvm_regs); | ^^^^^ not found in this scope error[E0412]: cannot find type `kvm_regs` in this scope --> /usr/share/cargo/registry/kvm-ioctls-0.13.0/src/kvm_ioctls.rs:115:42 | 115 | ioctl_iow_nr!(KVM_SET_REGS, KVMIO, 0x82, kvm_regs); | ^^^^^^^^ not found in this scope error[E0425]: cannot find value `KVMIO` in this scope --> /usr/share/cargo/registry/kvm-ioctls-0.13.0/src/kvm_ioctls.rs:220:31 | 220 | ioctl_iow_nr!(KVM_ENABLE_CAP, KVMIO, 0xa3, kvm_enable_cap); | ^^^^^ not found in this scope error[E0412]: cannot find type `kvm_enable_cap` in this scope --> /usr/share/cargo/registry/kvm-ioctls-0.13.0/src/kvm_ioctls.rs:220:44 | 220 | ioctl_iow_nr!(KVM_ENABLE_CAP, KVMIO, 0xa3, kvm_enable_cap); | ^^^^^^^^^^^^^^ not found in this scope error[E0425]: cannot find value `KVMIO` in this scope --> /usr/share/cargo/registry/kvm-ioctls-0.13.0/src/kvm_ioctls.rs:242:36 | 242 | ioctl_iow_nr!(KVM_SET_GUEST_DEBUG, KVMIO, 0x9b, kvm_guest_debug); | ^^^^^ not found in this scope error[E0412]: cannot find type `kvm_guest_debug` in this scope --> /usr/share/cargo/registry/kvm-ioctls-0.13.0/src/kvm_ioctls.rs:242:49 | 242 | ioctl_iow_nr!(KVM_SET_GUEST_DEBUG, KVMIO, 0x9b, kvm_guest_debug); | ^^^^^^^^^^^^^^^ not found in this scope error[E0425]: cannot find value `KVMIO` in this scope --> /usr/share/cargo/registry/kvm-ioctls-0.13.0/src/kvm_ioctls.rs:247:35 | 247 | 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 --> /usr/share/cargo/registry/kvm-ioctls-0.13.0/src/kvm_ioctls.rs:247:48 | 247 | 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 --> /usr/share/cargo/registry/kvm-ioctls-0.13.0/src/kvm_ioctls.rs:249:36 | 249 | 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 --> /usr/share/cargo/registry/kvm-ioctls-0.13.0/src/kvm_ioctls.rs:249:49 | 249 | ioctl_iow_nr!(KVM_SET_DEVICE_ATTR, KVMIO, 0xe1, kvm_device_attr); | ^^^^^^^^^^^^^^^ not found in this scope error[E0425]: cannot find value `KVMIO` in this scope --> /usr/share/cargo/registry/kvm-ioctls-0.13.0/src/kvm_ioctls.rs:251:36 | 251 | ioctl_iow_nr!(KVM_GET_DEVICE_ATTR, KVMIO, 0xe2, kvm_device_attr); | ^^^^^ not found in this scope error[E0412]: cannot find type `kvm_device_attr` in this scope --> /usr/share/cargo/registry/kvm-ioctls-0.13.0/src/kvm_ioctls.rs:251:49 | 251 | ioctl_iow_nr!(KVM_GET_DEVICE_ATTR, KVMIO, 0xe2, kvm_device_attr); | ^^^^^^^^^^^^^^^ not found in this scope error[E0425]: cannot find value `KVMIO` in this scope --> /usr/share/cargo/registry/kvm-ioctls-0.13.0/src/kvm_ioctls.rs:253:36 | 253 | ioctl_iow_nr!(KVM_HAS_DEVICE_ATTR, KVMIO, 0xe3, kvm_device_attr); | ^^^^^ not found in this scope error[E0412]: cannot find type `kvm_device_attr` in this scope --> /usr/share/cargo/registry/kvm-ioctls-0.13.0/src/kvm_ioctls.rs:253:49 | 253 | ioctl_iow_nr!(KVM_HAS_DEVICE_ATTR, KVMIO, 0xe3, kvm_device_attr); | ^^^^^^^^^^^^^^^ not found in this scope error[E0425]: cannot find value `KVM_CAP_IRQCHIP` in this scope --> /usr/share/cargo/registry/kvm-ioctls-0.13.0/src/cap.rs:24:15 | 24 | Irqchip = KVM_CAP_IRQCHIP, | ^^^^^^^^^^^^^^^ not found in this scope error[E0425]: cannot find value `KVM_CAP_HLT` in this scope --> /usr/share/cargo/registry/kvm-ioctls-0.13.0/src/cap.rs:25:11 | 25 | Hlt = KVM_CAP_HLT, | ^^^^^^^^^^^ not found in this scope error[E0425]: cannot find value `KVM_CAP_MMU_SHADOW_CACHE_CONTROL` in this scope --> /usr/share/cargo/registry/kvm-ioctls-0.13.0/src/cap.rs:26:29 | 26 | MmuShadowCacheControl = KVM_CAP_MMU_SHADOW_CACHE_CONTROL, | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope error[E0425]: cannot find value `KVM_CAP_USER_MEMORY` in this scope --> /usr/share/cargo/registry/kvm-ioctls-0.13.0/src/cap.rs:27:18 | 27 | UserMemory = KVM_CAP_USER_MEMORY, | ^^^^^^^^^^^^^^^^^^^ not found in this scope error[E0425]: cannot find value `KVM_CAP_SET_TSS_ADDR` in this scope --> /usr/share/cargo/registry/kvm-ioctls-0.13.0/src/cap.rs:28:18 | 28 | SetTssAddr = KVM_CAP_SET_TSS_ADDR, | ^^^^^^^^^^^^^^^^^^^^ not found in this scope error[E0425]: cannot find value `KVM_CAP_VAPIC` in this scope --> /usr/share/cargo/registry/kvm-ioctls-0.13.0/src/cap.rs:29:13 | 29 | Vapic = KVM_CAP_VAPIC, | ^^^^^^^^^^^^^ not found in this scope error[E0425]: cannot find value `KVM_CAP_EXT_CPUID` in this scope --> /usr/share/cargo/registry/kvm-ioctls-0.13.0/src/cap.rs:30:16 | 30 | ExtCpuid = KVM_CAP_EXT_CPUID, | ^^^^^^^^^^^^^^^^^ not found in this scope error[E0425]: cannot find value `KVM_CAP_CLOCKSOURCE` in this scope --> /usr/share/cargo/registry/kvm-ioctls-0.13.0/src/cap.rs:31:19 | 31 | Clocksource = KVM_CAP_CLOCKSOURCE, | ^^^^^^^^^^^^^^^^^^^ not found in this scope error[E0425]: cannot find value `KVM_CAP_NR_VCPUS` in this scope --> /usr/share/cargo/registry/kvm-ioctls-0.13.0/src/cap.rs:32:15 | 32 | NrVcpus = KVM_CAP_NR_VCPUS, | ^^^^^^^^^^^^^^^^ not found in this scope error[E0425]: cannot find value `KVM_CAP_NR_MEMSLOTS` in this scope --> /usr/share/cargo/registry/kvm-ioctls-0.13.0/src/cap.rs:33:18 | 33 | NrMemslots = KVM_CAP_NR_MEMSLOTS, | ^^^^^^^^^^^^^^^^^^^ not found in this scope error[E0425]: cannot find value `KVM_CAP_PIT` in this scope --> /usr/share/cargo/registry/kvm-ioctls-0.13.0/src/cap.rs:34:11 | 34 | Pit = KVM_CAP_PIT, | ^^^^^^^^^^^ not found in this scope error[E0425]: cannot find value `KVM_CAP_NOP_IO_DELAY` in this scope --> /usr/share/cargo/registry/kvm-ioctls-0.13.0/src/cap.rs:35:18 | 35 | NopIoDelay = KVM_CAP_NOP_IO_DELAY, | ^^^^^^^^^^^^^^^^^^^^ not found in this scope error[E0425]: cannot find value `KVM_CAP_PV_MMU` in this scope --> /usr/share/cargo/registry/kvm-ioctls-0.13.0/src/cap.rs:36:13 | 36 | PvMmu = KVM_CAP_PV_MMU, | ^^^^^^^^^^^^^^ not found in this scope error[E0425]: cannot find value `KVM_CAP_MP_STATE` in this scope --> /usr/share/cargo/registry/kvm-ioctls-0.13.0/src/cap.rs:37:15 | 37 | MpState = KVM_CAP_MP_STATE, | ^^^^^^^^^^^^^^^^ not found in this scope error[E0425]: cannot find value `KVM_CAP_COALESCED_MMIO` in this scope --> /usr/share/cargo/registry/kvm-ioctls-0.13.0/src/cap.rs:38:21 | 38 | CoalescedMmio = KVM_CAP_COALESCED_MMIO, | ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope error[E0425]: cannot find value `KVM_CAP_SYNC_MMU` in this scope --> /usr/share/cargo/registry/kvm-ioctls-0.13.0/src/cap.rs:39:15 | 39 | SyncMmu = KVM_CAP_SYNC_MMU, | ^^^^^^^^^^^^^^^^ not found in this scope error[E0425]: cannot find value `KVM_CAP_IOMMU` in this scope --> /usr/share/cargo/registry/kvm-ioctls-0.13.0/src/cap.rs:40:13 | 40 | Iommu = KVM_CAP_IOMMU, | ^^^^^^^^^^^^^ not found in this scope error[E0425]: cannot find value `KVM_CAP_DESTROY_MEMORY_REGION_WORKS` in this scope --> /usr/share/cargo/registry/kvm-ioctls-0.13.0/src/cap.rs:41:32 | 41 | DestroyMemoryRegionWorks = KVM_CAP_DESTROY_MEMORY_REGION_WORKS, | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope error[E0425]: cannot find value `KVM_CAP_USER_NMI` in this scope --> /usr/share/cargo/registry/kvm-ioctls-0.13.0/src/cap.rs:42:15 | 42 | UserNmi = KVM_CAP_USER_NMI, | ^^^^^^^^^^^^^^^^ not found in this scope error[E0425]: cannot find value `KVM_CAP_SET_GUEST_DEBUG` in this scope --> /usr/share/cargo/registry/kvm-ioctls-0.13.0/src/cap.rs:43:21 | 43 | SetGuestDebug = KVM_CAP_SET_GUEST_DEBUG, | ^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope error[E0425]: cannot find value `KVM_CAP_IRQ_ROUTING` in this scope --> /usr/share/cargo/registry/kvm-ioctls-0.13.0/src/cap.rs:46:18 | 46 | IrqRouting = KVM_CAP_IRQ_ROUTING, | ^^^^^^^^^^^^^^^^^^^ not found in this scope error[E0425]: cannot find value `KVM_CAP_IRQ_INJECT_STATUS` in this scope --> /usr/share/cargo/registry/kvm-ioctls-0.13.0/src/cap.rs:47:23 | 47 | IrqInjectStatus = KVM_CAP_IRQ_INJECT_STATUS, | ^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope error[E0425]: cannot find value `KVM_CAP_ASSIGN_DEV_IRQ` in this scope --> /usr/share/cargo/registry/kvm-ioctls-0.13.0/src/cap.rs:48:20 | 48 | 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 --> /usr/share/cargo/registry/kvm-ioctls-0.13.0/src/cap.rs:49:30 | 49 | JoinMemoryRegionsWorks = KVM_CAP_JOIN_MEMORY_REGIONS_WORKS, | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope error[E0425]: cannot find value `KVM_CAP_IRQFD` in this scope --> /usr/share/cargo/registry/kvm-ioctls-0.13.0/src/cap.rs:52:13 | 52 | Irqfd = KVM_CAP_IRQFD, | ^^^^^^^^^^^^^ not found in this scope error[E0425]: cannot find value `KVM_CAP_SET_BOOT_CPU_ID` in this scope --> /usr/share/cargo/registry/kvm-ioctls-0.13.0/src/cap.rs:55:20 | 55 | SetBootCpuId = KVM_CAP_SET_BOOT_CPU_ID, | ^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope error[E0425]: cannot find value `KVM_CAP_IOEVENTFD` in this scope --> /usr/share/cargo/registry/kvm-ioctls-0.13.0/src/cap.rs:58:17 | 58 | Ioeventfd = KVM_CAP_IOEVENTFD, | ^^^^^^^^^^^^^^^^^ not found in this scope error[E0425]: cannot find value `KVM_CAP_SET_IDENTITY_MAP_ADDR` in this scope --> /usr/share/cargo/registry/kvm-ioctls-0.13.0/src/cap.rs:59:26 | 59 | SetIdentityMapAddr = KVM_CAP_SET_IDENTITY_MAP_ADDR, | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope error[E0425]: cannot find value `KVM_CAP_ADJUST_CLOCK` in this scope --> /usr/share/cargo/registry/kvm-ioctls-0.13.0/src/cap.rs:62:19 | 62 | AdjustClock = KVM_CAP_ADJUST_CLOCK, | ^^^^^^^^^^^^^^^^^^^^ not found in this scope error[E0425]: cannot find value `KVM_CAP_INTERNAL_ERROR_DATA` in this scope --> /usr/share/cargo/registry/kvm-ioctls-0.13.0/src/cap.rs:63:25 | 63 | InternalErrorData = KVM_CAP_INTERNAL_ERROR_DATA, | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope error[E0425]: cannot find value `KVM_CAP_S390_PSW` in this scope --> /usr/share/cargo/registry/kvm-ioctls-0.13.0/src/cap.rs:71:15 | 71 | S390Psw = KVM_CAP_S390_PSW, | ^^^^^^^^^^^^^^^^ not found in this scope error[E0425]: cannot find value `KVM_CAP_PPC_SEGSTATE` in this scope --> /usr/share/cargo/registry/kvm-ioctls-0.13.0/src/cap.rs:72:19 | 72 | PpcSegstate = KVM_CAP_PPC_SEGSTATE, | ^^^^^^^^^^^^^^^^^^^^ not found in this scope error[E0425]: cannot find value `KVM_CAP_HYPERV` in this scope --> /usr/share/cargo/registry/kvm-ioctls-0.13.0/src/cap.rs:73:14 | 73 | Hyperv = KVM_CAP_HYPERV, | ^^^^^^^^^^^^^^ not found in this scope error[E0425]: cannot find value `KVM_CAP_HYPERV_VAPIC` in this scope --> /usr/share/cargo/registry/kvm-ioctls-0.13.0/src/cap.rs:74:19 | 74 | HypervVapic = KVM_CAP_HYPERV_VAPIC, | ^^^^^^^^^^^^^^^^^^^^ not found in this scope error[E0425]: cannot find value `KVM_CAP_HYPERV_SPIN` in this scope --> /usr/share/cargo/registry/kvm-ioctls-0.13.0/src/cap.rs:75:18 | 75 | HypervSpin = KVM_CAP_HYPERV_SPIN, | ^^^^^^^^^^^^^^^^^^^ not found in this scope error[E0425]: cannot find value `KVM_CAP_PCI_SEGMENT` in this scope --> /usr/share/cargo/registry/kvm-ioctls-0.13.0/src/cap.rs:76:18 | 76 | PciSegment = KVM_CAP_PCI_SEGMENT, | ^^^^^^^^^^^^^^^^^^^ not found in this scope error[E0425]: cannot find value `KVM_CAP_PPC_PAIRED_SINGLES` in this scope --> /usr/share/cargo/registry/kvm-ioctls-0.13.0/src/cap.rs:77:24 | 77 | PpcPairedSingles = KVM_CAP_PPC_PAIRED_SINGLES, | ^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope error[E0425]: cannot find value `KVM_CAP_INTR_SHADOW` in this scope --> /usr/share/cargo/registry/kvm-ioctls-0.13.0/src/cap.rs:78:18 | 78 | IntrShadow = KVM_CAP_INTR_SHADOW, | ^^^^^^^^^^^^^^^^^^^ not found in this scope error[E0425]: cannot find value `KVM_CAP_X86_ROBUST_SINGLESTEP` in this scope --> /usr/share/cargo/registry/kvm-ioctls-0.13.0/src/cap.rs:81:27 | 81 | X86RobustSinglestep = KVM_CAP_X86_ROBUST_SINGLESTEP, | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope error[E0425]: cannot find value `KVM_CAP_PPC_OSI` in this scope --> /usr/share/cargo/registry/kvm-ioctls-0.13.0/src/cap.rs:82:14 | 82 | PpcOsi = KVM_CAP_PPC_OSI, | ^^^^^^^^^^^^^^^ not found in this scope error[E0425]: cannot find value `KVM_CAP_PPC_UNSET_IRQ` in this scope --> /usr/share/cargo/registry/kvm-ioctls-0.13.0/src/cap.rs:83:19 | 83 | PpcUnsetIrq = KVM_CAP_PPC_UNSET_IRQ, | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope error[E0425]: cannot find value `KVM_CAP_ENABLE_CAP` in this scope --> /usr/share/cargo/registry/kvm-ioctls-0.13.0/src/cap.rs:84:17 | 84 | EnableCap = KVM_CAP_ENABLE_CAP, | ^^^^^^^^^^^^^^^^^^ not found in this scope error[E0425]: cannot find value `KVM_CAP_PPC_GET_PVINFO` in this scope --> /usr/share/cargo/registry/kvm-ioctls-0.13.0/src/cap.rs:89:20 | 89 | PpcGetPvinfo = KVM_CAP_PPC_GET_PVINFO, | ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope error[E0425]: cannot find value `KVM_CAP_PPC_IRQ_LEVEL` in this scope --> /usr/share/cargo/registry/kvm-ioctls-0.13.0/src/cap.rs:90:19 | 90 | PpcIrqLevel = KVM_CAP_PPC_IRQ_LEVEL, | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope error[E0425]: cannot find value `KVM_CAP_ASYNC_PF` in this scope --> /usr/share/cargo/registry/kvm-ioctls-0.13.0/src/cap.rs:91:15 | 91 | AsyncPf = KVM_CAP_ASYNC_PF, | ^^^^^^^^^^^^^^^^ not found in this scope error[E0425]: cannot find value `KVM_CAP_TSC_CONTROL` in this scope --> /usr/share/cargo/registry/kvm-ioctls-0.13.0/src/cap.rs:92:18 | 92 | TscControl = KVM_CAP_TSC_CONTROL, | ^^^^^^^^^^^^^^^^^^^ not found in this scope error[E0425]: cannot find value `KVM_CAP_GET_TSC_KHZ` in this scope --> /usr/share/cargo/registry/kvm-ioctls-0.13.0/src/cap.rs:93:17 | 93 | GetTscKhz = KVM_CAP_GET_TSC_KHZ, | ^^^^^^^^^^^^^^^^^^^ not found in this scope error[E0425]: cannot find value `KVM_CAP_PPC_BOOKE_SREGS` in this scope --> /usr/share/cargo/registry/kvm-ioctls-0.13.0/src/cap.rs:94:21 | 94 | PpcBookeSregs = KVM_CAP_PPC_BOOKE_SREGS, | ^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope error[E0425]: cannot find value `KVM_CAP_SPAPR_TCE` in this scope --> /usr/share/cargo/registry/kvm-ioctls-0.13.0/src/cap.rs:95:16 | 95 | SpaprTce = KVM_CAP_SPAPR_TCE, | ^^^^^^^^^^^^^^^^^ not found in this scope error[E0425]: cannot find value `KVM_CAP_PPC_SMT` in this scope --> /usr/share/cargo/registry/kvm-ioctls-0.13.0/src/cap.rs:96:14 | 96 | PpcSmt = KVM_CAP_PPC_SMT, | ^^^^^^^^^^^^^^^ not found in this scope error[E0425]: cannot find value `KVM_CAP_PPC_RMA` in this scope --> /usr/share/cargo/registry/kvm-ioctls-0.13.0/src/cap.rs:97:14 | 97 | PpcRma = KVM_CAP_PPC_RMA, | ^^^^^^^^^^^^^^^ not found in this scope error[E0425]: cannot find value `KVM_CAP_MAX_VCPUS` in this scope --> /usr/share/cargo/registry/kvm-ioctls-0.13.0/src/cap.rs:98:16 | 98 | MaxVcpus = KVM_CAP_MAX_VCPUS, | ^^^^^^^^^^^^^^^^^ not found in this scope error[E0425]: cannot find value `KVM_CAP_MAX_VCPU_ID` in this scope --> /usr/share/cargo/registry/kvm-ioctls-0.13.0/src/cap.rs:99:17 | 99 | MaxVcpuId = KVM_CAP_MAX_VCPU_ID, | ^^^^^^^^^^^^^^^^^^^ not found in this scope error[E0425]: cannot find value `KVM_CAP_PPC_HIOR` in this scope --> /usr/share/cargo/registry/kvm-ioctls-0.13.0/src/cap.rs:100:15 | 100 | PpcHior = KVM_CAP_PPC_HIOR, | ^^^^^^^^^^^^^^^^ not found in this scope error[E0425]: cannot find value `KVM_CAP_PPC_PAPR` in this scope --> /usr/share/cargo/registry/kvm-ioctls-0.13.0/src/cap.rs:101:15 | 101 | PpcPapr = KVM_CAP_PPC_PAPR, | ^^^^^^^^^^^^^^^^ not found in this scope error[E0425]: cannot find value `KVM_CAP_SW_TLB` in this scope --> /usr/share/cargo/registry/kvm-ioctls-0.13.0/src/cap.rs:102:13 | 102 | SwTlb = KVM_CAP_SW_TLB, | ^^^^^^^^^^^^^^ not found in this scope error[E0425]: cannot find value `KVM_CAP_ONE_REG` in this scope --> /usr/share/cargo/registry/kvm-ioctls-0.13.0/src/cap.rs:103:14 | 103 | OneReg = KVM_CAP_ONE_REG, | ^^^^^^^^^^^^^^^ not found in this scope error[E0425]: cannot find value `KVM_CAP_S390_GMAP` in this scope --> /usr/share/cargo/registry/kvm-ioctls-0.13.0/src/cap.rs:104:16 | 104 | S390Gmap = KVM_CAP_S390_GMAP, | ^^^^^^^^^^^^^^^^^ not found in this scope error[E0425]: cannot find value `KVM_CAP_TSC_DEADLINE_TIMER` in this scope --> /usr/share/cargo/registry/kvm-ioctls-0.13.0/src/cap.rs:105:24 | 105 | TscDeadlineTimer = KVM_CAP_TSC_DEADLINE_TIMER, | ^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope error[E0425]: cannot find value `KVM_CAP_S390_UCONTROL` in this scope --> /usr/share/cargo/registry/kvm-ioctls-0.13.0/src/cap.rs:106:20 | 106 | S390Ucontrol = KVM_CAP_S390_UCONTROL, | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope error[E0425]: cannot find value `KVM_CAP_SYNC_REGS` in this scope --> /usr/share/cargo/registry/kvm-ioctls-0.13.0/src/cap.rs:107:16 | 107 | SyncRegs = KVM_CAP_SYNC_REGS, | ^^^^^^^^^^^^^^^^^ not found in this scope error[E0425]: cannot find value `KVM_CAP_PCI_2_3` in this scope --> /usr/share/cargo/registry/kvm-ioctls-0.13.0/src/cap.rs:108:13 | 108 | Pci23 = KVM_CAP_PCI_2_3, | ^^^^^^^^^^^^^^^ not found in this scope error[E0425]: cannot find value `KVM_CAP_KVMCLOCK_CTRL` in this scope --> /usr/share/cargo/registry/kvm-ioctls-0.13.0/src/cap.rs:109:20 | 109 | KvmclockCtrl = KVM_CAP_KVMCLOCK_CTRL, | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope error[E0425]: cannot find value `KVM_CAP_SIGNAL_MSI` in this scope --> /usr/share/cargo/registry/kvm-ioctls-0.13.0/src/cap.rs:110:17 | 110 | SignalMsi = KVM_CAP_SIGNAL_MSI, | ^^^^^^^^^^^^^^^^^^ not found in this scope error[E0425]: cannot find value `KVM_CAP_PPC_GET_SMMU_INFO` in this scope --> /usr/share/cargo/registry/kvm-ioctls-0.13.0/src/cap.rs:111:22 | 111 | PpcGetSmmuInfo = KVM_CAP_PPC_GET_SMMU_INFO, | ^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope error[E0425]: cannot find value `KVM_CAP_S390_COW` in this scope --> /usr/share/cargo/registry/kvm-ioctls-0.13.0/src/cap.rs:112:15 | 112 | S390Cow = KVM_CAP_S390_COW, | ^^^^^^^^^^^^^^^^ not found in this scope error[E0425]: cannot find value `KVM_CAP_PPC_ALLOC_HTAB` in this scope --> /usr/share/cargo/registry/kvm-ioctls-0.13.0/src/cap.rs:113:20 | 113 | PpcAllocHtab = KVM_CAP_PPC_ALLOC_HTAB, | ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope error[E0425]: cannot find value `KVM_CAP_READONLY_MEM` in this scope --> /usr/share/cargo/registry/kvm-ioctls-0.13.0/src/cap.rs:114:19 | 114 | ReadonlyMem = KVM_CAP_READONLY_MEM, | ^^^^^^^^^^^^^^^^^^^^ not found in this scope error[E0425]: cannot find value `KVM_CAP_IRQFD_RESAMPLE` in this scope --> /usr/share/cargo/registry/kvm-ioctls-0.13.0/src/cap.rs:115:21 | 115 | IrqfdResample = KVM_CAP_IRQFD_RESAMPLE, | ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope error[E0425]: cannot find value `KVM_CAP_PPC_BOOKE_WATCHDOG` in this scope --> /usr/share/cargo/registry/kvm-ioctls-0.13.0/src/cap.rs:116:24 | 116 | PpcBookeWatchdog = KVM_CAP_PPC_BOOKE_WATCHDOG, | ^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope error[E0425]: cannot find value `KVM_CAP_PPC_HTAB_FD` in this scope --> /usr/share/cargo/registry/kvm-ioctls-0.13.0/src/cap.rs:117:17 | 117 | PpcHtabFd = KVM_CAP_PPC_HTAB_FD, | ^^^^^^^^^^^^^^^^^^^ not found in this scope error[E0425]: cannot find value `KVM_CAP_S390_CSS_SUPPORT` in this scope --> /usr/share/cargo/registry/kvm-ioctls-0.13.0/src/cap.rs:118:22 | 118 | S390CssSupport = KVM_CAP_S390_CSS_SUPPORT, | ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope error[E0425]: cannot find value `KVM_CAP_PPC_EPR` in this scope --> /usr/share/cargo/registry/kvm-ioctls-0.13.0/src/cap.rs:119:14 | 119 | PpcEpr = KVM_CAP_PPC_EPR, | ^^^^^^^^^^^^^^^ not found in this scope error[E0425]: cannot find value `KVM_CAP_ARM_PSCI` in this scope --> /usr/share/cargo/registry/kvm-ioctls-0.13.0/src/cap.rs:120:15 | 120 | ArmPsci = KVM_CAP_ARM_PSCI, | ^^^^^^^^^^^^^^^^ not found in this scope error[E0425]: cannot find value `KVM_CAP_ARM_SET_DEVICE_ADDR` in this scope --> /usr/share/cargo/registry/kvm-ioctls-0.13.0/src/cap.rs:121:24 | 121 | ArmSetDeviceAddr = KVM_CAP_ARM_SET_DEVICE_ADDR, | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope error[E0425]: cannot find value `KVM_CAP_DEVICE_CTRL` in this scope --> /usr/share/cargo/registry/kvm-ioctls-0.13.0/src/cap.rs:122:18 | 122 | DeviceCtrl = KVM_CAP_DEVICE_CTRL, | ^^^^^^^^^^^^^^^^^^^ not found in this scope error[E0425]: cannot find value `KVM_CAP_IRQ_MPIC` in this scope --> /usr/share/cargo/registry/kvm-ioctls-0.13.0/src/cap.rs:123:15 | 123 | IrqMpic = KVM_CAP_IRQ_MPIC, | ^^^^^^^^^^^^^^^^ not found in this scope error[E0425]: cannot find value `KVM_CAP_PPC_RTAS` in this scope --> /usr/share/cargo/registry/kvm-ioctls-0.13.0/src/cap.rs:124:15 | 124 | PpcRtas = KVM_CAP_PPC_RTAS, | ^^^^^^^^^^^^^^^^ not found in this scope error[E0425]: cannot find value `KVM_CAP_IRQ_XICS` in this scope --> /usr/share/cargo/registry/kvm-ioctls-0.13.0/src/cap.rs:125:15 | 125 | IrqXics = KVM_CAP_IRQ_XICS, | ^^^^^^^^^^^^^^^^ not found in this scope error[E0425]: cannot find value `KVM_CAP_ARM_EL1_32BIT` in this scope --> /usr/share/cargo/registry/kvm-ioctls-0.13.0/src/cap.rs:126:19 | 126 | ArmEl132bit = KVM_CAP_ARM_EL1_32BIT, | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope error[E0425]: cannot find value `KVM_CAP_SPAPR_MULTITCE` in this scope --> /usr/share/cargo/registry/kvm-ioctls-0.13.0/src/cap.rs:127:21 | 127 | SpaprMultitce = KVM_CAP_SPAPR_MULTITCE, | ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope error[E0425]: cannot find value `KVM_CAP_EXT_EMUL_CPUID` in this scope --> /usr/share/cargo/registry/kvm-ioctls-0.13.0/src/cap.rs:128:20 | 128 | ExtEmulCpuid = KVM_CAP_EXT_EMUL_CPUID, | ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope error[E0425]: cannot find value `KVM_CAP_HYPERV_TIME` in this scope --> /usr/share/cargo/registry/kvm-ioctls-0.13.0/src/cap.rs:129:18 | 129 | HypervTime = KVM_CAP_HYPERV_TIME, | ^^^^^^^^^^^^^^^^^^^ not found in this scope error[E0425]: cannot find value `KVM_CAP_IOAPIC_POLARITY_IGNORED` in this scope --> /usr/share/cargo/registry/kvm-ioctls-0.13.0/src/cap.rs:130:29 | 130 | IoapicPolarityIgnored = KVM_CAP_IOAPIC_POLARITY_IGNORED, | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope error[E0425]: cannot find value `KVM_CAP_ENABLE_CAP_VM` in this scope --> /usr/share/cargo/registry/kvm-ioctls-0.13.0/src/cap.rs:131:19 | 131 | EnableCapVm = KVM_CAP_ENABLE_CAP_VM, | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope error[E0425]: cannot find value `KVM_CAP_S390_IRQCHIP` in this scope --> /usr/share/cargo/registry/kvm-ioctls-0.13.0/src/cap.rs:132:19 | 132 | S390Irqchip = KVM_CAP_S390_IRQCHIP, | ^^^^^^^^^^^^^^^^^^^^ not found in this scope error[E0425]: cannot find value `KVM_CAP_IOEVENTFD_NO_LENGTH` in this scope --> /usr/share/cargo/registry/kvm-ioctls-0.13.0/src/cap.rs:133:25 | 133 | IoeventfdNoLength = KVM_CAP_IOEVENTFD_NO_LENGTH, | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope error[E0425]: cannot find value `KVM_CAP_VM_ATTRIBUTES` in this scope --> /usr/share/cargo/registry/kvm-ioctls-0.13.0/src/cap.rs:134:20 | 134 | VmAttributes = KVM_CAP_VM_ATTRIBUTES, | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope error[E0425]: cannot find value `KVM_CAP_ARM_PSCI_0_2` in this scope --> /usr/share/cargo/registry/kvm-ioctls-0.13.0/src/cap.rs:135:17 | 135 | 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 --> /usr/share/cargo/registry/kvm-ioctls-0.13.0/src/cap.rs:136:21 | 136 | PpcFixupHcall = KVM_CAP_PPC_FIXUP_HCALL, | ^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope error[E0425]: cannot find value `KVM_CAP_PPC_ENABLE_HCALL` in this scope --> /usr/share/cargo/registry/kvm-ioctls-0.13.0/src/cap.rs:137:22 | 137 | PpcEnableHcall = KVM_CAP_PPC_ENABLE_HCALL, | ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope error[E0425]: cannot find value `KVM_CAP_CHECK_EXTENSION_VM` in this scope --> /usr/share/cargo/registry/kvm-ioctls-0.13.0/src/cap.rs:138:24 | 138 | CheckExtensionVm = KVM_CAP_CHECK_EXTENSION_VM, | ^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope error[E0425]: cannot find value `KVM_CAP_S390_USER_SIGP` in this scope --> /usr/share/cargo/registry/kvm-ioctls-0.13.0/src/cap.rs:139:20 | 139 | S390UserSigp = KVM_CAP_S390_USER_SIGP, | ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope error[E0425]: cannot find value `KVM_CAP_IMMEDIATE_EXIT` in this scope --> /usr/share/cargo/registry/kvm-ioctls-0.13.0/src/cap.rs:142:21 | 142 | ImmediateExit = KVM_CAP_IMMEDIATE_EXIT, | ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope error[E0425]: cannot find value `KVM_CAP_ARM_VM_IPA_SIZE` in this scope --> /usr/share/cargo/registry/kvm-ioctls-0.13.0/src/cap.rs:143:20 | 143 | ArmVmIPASize = KVM_CAP_ARM_VM_IPA_SIZE, | ^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope error[E0425]: cannot find value `KVM_CAP_MSI_DEVID` in this scope --> /usr/share/cargo/registry/kvm-ioctls-0.13.0/src/cap.rs:144:16 | 144 | MsiDevid = KVM_CAP_MSI_DEVID, | ^^^^^^^^^^^^^^^^^ not found in this scope error[E0425]: cannot find value `KVM_CAP_HYPERV_SYNIC` in this scope --> /usr/share/cargo/registry/kvm-ioctls-0.13.0/src/cap.rs:145:19 | 145 | HypervSynic = KVM_CAP_HYPERV_SYNIC, | ^^^^^^^^^^^^^^^^^^^^ not found in this scope error[E0425]: cannot find value `KVM_CAP_HYPERV_SYNIC2` in this scope --> /usr/share/cargo/registry/kvm-ioctls-0.13.0/src/cap.rs:146:20 | 146 | HypervSynic2 = KVM_CAP_HYPERV_SYNIC2, | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope error[E0425]: cannot find value `KVM_CAP_GUEST_DEBUG_HW_BPS` in this scope --> /usr/share/cargo/registry/kvm-ioctls-0.13.0/src/cap.rs:147:18 | 147 | DebugHwBps = KVM_CAP_GUEST_DEBUG_HW_BPS, | ^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope error[E0425]: cannot find value `KVM_CAP_GUEST_DEBUG_HW_WPS` in this scope --> /usr/share/cargo/registry/kvm-ioctls-0.13.0/src/cap.rs:148:18 | 148 | DebugHwWps = KVM_CAP_GUEST_DEBUG_HW_WPS, | ^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope error[E0412]: cannot find type `kvm_debug_exit_arch` in this scope --> /usr/share/cargo/registry/kvm-ioctls-0.13.0/src/ioctls/vcpu.rs:51:11 | 51 | Debug(kvm_debug_exit_arch), | ^^^^^^^^^^^^^^^^^^^ not found in this scope error[E0412]: cannot find type `kvm_regs` in this scope --> /usr/share/cargo/registry/kvm-ioctls-0.13.0/src/ioctls/vcpu.rs:146:38 | 146 | pub fn get_regs(&self) -> Result { | ^^^^^^^^ not found in this scope | help: you might be missing a type parameter | 127 | impl VcpuFd { | ++++++++++ error[E0412]: cannot find type `kvm_regs` in this scope --> /usr/share/cargo/registry/kvm-ioctls-0.13.0/src/ioctls/vcpu.rs:265:35 | 265 | pub fn set_regs(&self, regs: &kvm_regs) -> Result<()> { | ^^^^^^^^ not found in this scope error[E0412]: cannot find type `kvm_run` in this scope --> /usr/share/cargo/registry/kvm-ioctls-0.13.0/src/ioctls/vcpu.rs:1307:49 | 1307 | let run_start = run as *mut kvm_run as *mut u8; | ^^^^^^^ not found in this scope error[E0412]: cannot find type `kvm_run` in this scope --> /usr/share/cargo/registry/kvm-ioctls-0.13.0/src/ioctls/vcpu.rs:1398:43 | 1398 | pub fn get_kvm_run(&mut self) -> &mut kvm_run { | ^^^^^^^ not found in this scope error[E0412]: cannot find type `kvm_userspace_memory_region` in this scope --> /usr/share/cargo/registry/kvm-ioctls-0.13.0/src/ioctls/vm.rs:104:29 | 104 | user_memory_region: kvm_userspace_memory_region, | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope error[E0425]: cannot find value `kvm_ioeventfd_flag_nr_datamatch` in this scope --> /usr/share/cargo/registry/kvm-ioctls-0.13.0/src/ioctls/vm.rs:589:27 | 589 | 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 --> /usr/share/cargo/registry/kvm-ioctls-0.13.0/src/ioctls/vm.rs:592:27 | 592 | 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 --> /usr/share/cargo/registry/kvm-ioctls-0.13.0/src/ioctls/vm.rs:595:25 | 595 | let ioeventfd = kvm_ioeventfd { | ^^^^^^^^^^^^^ not found in this scope error[E0425]: cannot find value `kvm_ioeventfd_flag_nr_deassign` in this scope --> /usr/share/cargo/registry/kvm-ioctls-0.13.0/src/ioctls/vm.rs:663:30 | 663 | let mut flags = 1 << kvm_ioeventfd_flag_nr_deassign; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope error[E0425]: cannot find value `kvm_ioeventfd_flag_nr_datamatch` in this scope --> /usr/share/cargo/registry/kvm-ioctls-0.13.0/src/ioctls/vm.rs:665:27 | 665 | 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 --> /usr/share/cargo/registry/kvm-ioctls-0.13.0/src/ioctls/vm.rs:668:27 | 668 | 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 --> /usr/share/cargo/registry/kvm-ioctls-0.13.0/src/ioctls/vm.rs:671:25 | 671 | let ioeventfd = kvm_ioeventfd { | ^^^^^^^^^^^^^ not found in this scope error[E0422]: cannot find struct, variant or union type `kvm_dirty_log` in this scope --> /usr/share/cargo/registry/kvm-ioctls-0.13.0/src/ioctls/vm.rs:824:24 | 824 | let dirtylog = kvm_dirty_log { | ^^^^^^^^^^^^^ not found in this scope error[E0422]: cannot find struct, variant or union type `kvm_dirty_log__bindgen_ty_1` in this scope --> /usr/share/cargo/registry/kvm-ioctls-0.13.0/src/ioctls/vm.rs:827:31 | 827 | __bindgen_anon_1: kvm_dirty_log__bindgen_ty_1 { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope error[E0412]: cannot find type `kvm_create_device` in this scope --> /usr/share/cargo/registry/kvm-ioctls-0.13.0/src/ioctls/vm.rs:1191:46 | 1191 | pub fn create_device(&self, device: &mut kvm_create_device) -> Result { | ^^^^^^^^^^^^^^^^^ not found in this scope error[E0412]: cannot find type `kvm_enable_cap` in this scope --> /usr/share/cargo/registry/kvm-ioctls-0.13.0/src/ioctls/vm.rs:1280:36 | 1280 | pub fn enable_cap(&self, cap: &kvm_enable_cap) -> Result<()> { | ^^^^^^^^^^^^^^ not found in this scope error[E0433]: failed to resolve: use of undeclared crate or module `kvm_regs` --> /usr/share/cargo/registry/kvm-ioctls-0.13.0/src/ioctls/vcpu.rs:147:24 | 147 | let mut regs = kvm_regs::default(); | ^^^^^^^^ use of undeclared crate or module `kvm_regs` Some errors have detailed explanations: E0412, E0422, E0425, E0432, E0433. For more information about an error, try `rustc --explain E0412`. error: could not compile `kvm-ioctls` (lib) due to 148 previous errors Caused by: process didn't exit successfully: `/usr/bin/rustc --crate-name kvm_ioctls --edition=2021 /usr/share/cargo/registry/kvm-ioctls-0.13.0/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no -C codegen-units=1 -C debuginfo=2 -C metadata=59fd66aca8b652ba -C extra-filename=-59fd66aca8b652ba --out-dir /builddir/build/BUILD/sev-1.2.1/target/rpm/deps -L dependency=/builddir/build/BUILD/sev-1.2.1/target/rpm/deps --extern kvm_bindings=/builddir/build/BUILD/sev-1.2.1/target/rpm/deps/libkvm_bindings-c3b753ebcbef3174.rmeta --extern libc=/builddir/build/BUILD/sev-1.2.1/target/rpm/deps/liblibc-727a43331c17ed30.rmeta --extern vmm_sys_util=/builddir/build/BUILD/sev-1.2.1/target/rpm/deps/libvmm_sys_util-4d57e62593b96e40.rmeta --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn` (exit status: 1) warning: build failed, waiting for other jobs to finish... error: Bad exit status from /var/tmp/rpm-tmp.2XWYml (%build) Bad exit status from /var/tmp/rpm-tmp.2XWYml (%build) RPM build errors: Child return code was: 1 EXCEPTION: [Error('Command failed: \n # bash --login -c /usr/bin/rpmbuild -ba --noprep --noclean --target riscv64 --nodeps /builddir/build/SPECS/rust-sev.spec\n', 1)] Traceback (most recent call last): File "/usr/lib/python3.11/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) ^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/site-packages/mockbuild/util.py", line 597, in do_with_status raise exception.Error("Command failed: \n # %s\n%s" % (command, output), child.returncode) mockbuild.exception.Error: Command failed: # bash --login -c /usr/bin/rpmbuild -ba --noprep --noclean --target riscv64 --nodeps /builddir/build/SPECS/rust-sev.spec