Mock Version: 3.0 Mock Version: 3.0 Mock Version: 3.0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/rust-xkbcommon.spec'], chrootPath='/var/lib/mock/f38-build-side-42-init-devel-434337-18925/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=996gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/rust-xkbcommon.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=1674259200 Wrote: /builddir/build/SRPMS/rust-xkbcommon-0.4.0-10.fc38.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -br --target riscv64 --nodeps /builddir/build/SPECS/rust-xkbcommon.spec'], chrootPath='/var/lib/mock/f38-build-side-42-init-devel-434337-18925/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=996gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueraiseExc=FalseprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -br --target riscv64 --nodeps /builddir/build/SPECS/rust-xkbcommon.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=1674259200 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.9meUxy + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf xkbcommon-0.4.0 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/xkbcommon-0.4.0.crate + STATUS=0 + '[' 0 -ne 0 ']' + cd xkbcommon-0.4.0 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/xkbcommon-fix-metadata.diff + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + set -eu + /usr/bin/mkdir -p .cargo + 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.tE6IJt + umask 022 + cd /builddir/build/BUILD + cd xkbcommon-0.4.0 + /usr/bin/cargo2rpm --path Cargo.toml buildrequires --with-check + echo libxkbcommon-devel + RPM_EC=0 ++ jobs -p + exit 0 Wrote: /builddir/build/SRPMS/rust-xkbcommon-0.4.0-10.fc38.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 --target riscv64 --nodeps /builddir/build/SPECS/rust-xkbcommon.spec'], chrootPath='/var/lib/mock/f38-build-side-42-init-devel-434337-18925/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=996gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueraiseExc=FalseprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -br --target riscv64 --nodeps /builddir/build/SPECS/rust-xkbcommon.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=1674259200 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.edzgus + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf xkbcommon-0.4.0 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/xkbcommon-0.4.0.crate + STATUS=0 + '[' 0 -ne 0 ']' + cd xkbcommon-0.4.0 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/xkbcommon-fix-metadata.diff + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + set -eu + /usr/bin/mkdir -p .cargo + 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.bQz9N8 + umask 022 + cd /builddir/build/BUILD + cd xkbcommon-0.4.0 + /usr/bin/cargo2rpm --path Cargo.toml buildrequires --with-check + echo libxkbcommon-devel + RPM_EC=0 ++ jobs -p + exit 0 Wrote: /builddir/build/SRPMS/rust-xkbcommon-0.4.0-10.fc38.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 --target riscv64 --nodeps /builddir/build/SPECS/rust-xkbcommon.spec'], chrootPath='/var/lib/mock/f38-build-side-42-init-devel-434337-18925/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=996gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -ba --noprep --target riscv64 --nodeps /builddir/build/SPECS/rust-xkbcommon.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=1674259200 Executing(%generate_buildrequires): /bin/sh -e /var/tmp/rpm-tmp.794H1n + umask 022 + cd /builddir/build/BUILD + cd xkbcommon-0.4.0 + /usr/bin/cargo2rpm --path Cargo.toml buildrequires --with-check + echo libxkbcommon-devel + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.L5k8le + 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 -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 -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-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 -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + 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 xkbcommon-0.4.0 + /usr/bin/env CARGO_HOME=.cargo RUSTC_BOOTSTRAP=1 'RUSTFLAGS=-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -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 -j8 -Z avoid-dev-deps --release Compiling libc v0.2.139 Running `/usr/bin/rustc --crate-name build_script_build /usr/share/cargo/registry/libc-0.2.139/build.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type bin --emit=dep-info,link -C embed-bitcode=no -C debug-assertions=off --cfg 'feature="default"' --cfg 'feature="std"' -C metadata=884f82983b07b6f8 -C extra-filename=-884f82983b07b6f8 --out-dir /builddir/build/BUILD/xkbcommon-0.4.0/target/release/build/libc-884f82983b07b6f8 -L dependency=/builddir/build/BUILD/xkbcommon-0.4.0/target/release/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -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/xkbcommon-0.4.0/target/release/build/libc-884f82983b07b6f8/build-script-build` Running `/usr/bin/rustc --crate-name libc /usr/share/cargo/registry/libc-0.2.139/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no --cfg 'feature="default"' --cfg 'feature="std"' -C metadata=7951ab5e1c6f9c9b -C extra-filename=-7951ab5e1c6f9c9b --out-dir /builddir/build/BUILD/xkbcommon-0.4.0/target/release/deps -L dependency=/builddir/build/BUILD/xkbcommon-0.4.0/target/release/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -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_ptr_addr_of --cfg libc_underscore_const_names --cfg libc_const_extern_fn` Compiling xkbcommon v0.4.0 (/builddir/build/BUILD/xkbcommon-0.4.0) Running `/usr/bin/rustc --crate-name xkbcommon 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 metadata=79b616ac6cfbe4d3 -C extra-filename=-79b616ac6cfbe4d3 --out-dir /builddir/build/BUILD/xkbcommon-0.4.0/target/release/deps -L dependency=/builddir/build/BUILD/xkbcommon-0.4.0/target/release/deps --extern libc=/builddir/build/BUILD/xkbcommon-0.4.0/target/release/deps/liblibc-7951ab5e1c6f9c9b.rmeta -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -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` warning: unnecessary parentheses around assigned value --> src/xkb/ffi.rs:63:46 | 63 | pub const XKB_KEYSYM_CASE_INSENSITIVE: u32 = (1 << 0); | ^ ^ | = note: `#[warn(unused_parens)]` on by default help: remove these parentheses | 63 - pub const XKB_KEYSYM_CASE_INSENSITIVE: u32 = (1 << 0); 63 + pub const XKB_KEYSYM_CASE_INSENSITIVE: u32 = 1 << 0; | warning: unnecessary parentheses around assigned value --> src/xkb/ffi.rs:67:50 | 67 | pub const XKB_CONTEXT_NO_DEFAULT_INCLUDES: u32 = (1 << 0); | ^ ^ | help: remove these parentheses | 67 - pub const XKB_CONTEXT_NO_DEFAULT_INCLUDES: u32 = (1 << 0); 67 + pub const XKB_CONTEXT_NO_DEFAULT_INCLUDES: u32 = 1 << 0; | warning: unnecessary parentheses around assigned value --> src/xkb/ffi.rs:68:51 | 68 | pub const XKB_CONTEXT_NO_ENVIRONMENT_NAMES: u32 = (1 << 1); | ^ ^ | help: remove these parentheses | 68 - pub const XKB_CONTEXT_NO_ENVIRONMENT_NAMES: u32 = (1 << 1); 68 + pub const XKB_CONTEXT_NO_ENVIRONMENT_NAMES: u32 = 1 << 1; | warning: unnecessary parentheses around assigned value --> src/xkb/ffi.rs:97:43 | 97 | pub const XKB_STATE_MODS_DEPRESSED: u32 = (1 << 0); | ^ ^ | help: remove these parentheses | 97 - pub const XKB_STATE_MODS_DEPRESSED: u32 = (1 << 0); 97 + pub const XKB_STATE_MODS_DEPRESSED: u32 = 1 << 0; | warning: unnecessary parentheses around assigned value --> src/xkb/ffi.rs:98:41 | 98 | pub const XKB_STATE_MODS_LATCHED: u32 = (1 << 1); | ^ ^ | help: remove these parentheses | 98 - pub const XKB_STATE_MODS_LATCHED: u32 = (1 << 1); 98 + pub const XKB_STATE_MODS_LATCHED: u32 = 1 << 1; | warning: unnecessary parentheses around assigned value --> src/xkb/ffi.rs:99:40 | 99 | pub const XKB_STATE_MODS_LOCKED: u32 = (1 << 2); | ^ ^ | help: remove these parentheses | 99 - pub const XKB_STATE_MODS_LOCKED: u32 = (1 << 2); 99 + pub const XKB_STATE_MODS_LOCKED: u32 = 1 << 2; | warning: unnecessary parentheses around assigned value --> src/xkb/ffi.rs:100:43 | 100 | pub const XKB_STATE_MODS_EFFECTIVE: u32 = (1 << 3); | ^ ^ | help: remove these parentheses | 100 - pub const XKB_STATE_MODS_EFFECTIVE: u32 = (1 << 3); 100 + pub const XKB_STATE_MODS_EFFECTIVE: u32 = 1 << 3; | warning: unnecessary parentheses around assigned value --> src/xkb/ffi.rs:101:45 | 101 | pub const XKB_STATE_LAYOUT_DEPRESSED: u32 = (1 << 4); | ^ ^ | help: remove these parentheses | 101 - pub const XKB_STATE_LAYOUT_DEPRESSED: u32 = (1 << 4); 101 + pub const XKB_STATE_LAYOUT_DEPRESSED: u32 = 1 << 4; | warning: unnecessary parentheses around assigned value --> src/xkb/ffi.rs:102:43 | 102 | pub const XKB_STATE_LAYOUT_LATCHED: u32 = (1 << 5); | ^ ^ | help: remove these parentheses | 102 - pub const XKB_STATE_LAYOUT_LATCHED: u32 = (1 << 5); 102 + pub const XKB_STATE_LAYOUT_LATCHED: u32 = 1 << 5; | warning: unnecessary parentheses around assigned value --> src/xkb/ffi.rs:103:42 | 103 | pub const XKB_STATE_LAYOUT_LOCKED: u32 = (1 << 6); | ^ ^ | help: remove these parentheses | 103 - pub const XKB_STATE_LAYOUT_LOCKED: u32 = (1 << 6); 103 + pub const XKB_STATE_LAYOUT_LOCKED: u32 = 1 << 6; | warning: unnecessary parentheses around assigned value --> src/xkb/ffi.rs:104:45 | 104 | pub const XKB_STATE_LAYOUT_EFFECTIVE: u32 = (1 << 7); | ^ ^ | help: remove these parentheses | 104 - pub const XKB_STATE_LAYOUT_EFFECTIVE: u32 = (1 << 7); 104 + pub const XKB_STATE_LAYOUT_EFFECTIVE: u32 = 1 << 7; | warning: unnecessary parentheses around assigned value --> src/xkb/ffi.rs:105:33 | 105 | pub const XKB_STATE_LEDS: u32 = (1 << 8); | ^ ^ | help: remove these parentheses | 105 - pub const XKB_STATE_LEDS: u32 = (1 << 8); 105 + pub const XKB_STATE_LEDS: u32 = 1 << 8; | warning: unnecessary parentheses around assigned value --> src/xkb/ffi.rs:109:38 | 109 | pub const XKB_STATE_MATCH_ANY: u32 = (1 << 0); | ^ ^ | help: remove these parentheses | 109 - pub const XKB_STATE_MATCH_ANY: u32 = (1 << 0); 109 + pub const XKB_STATE_MATCH_ANY: u32 = 1 << 0; | warning: unnecessary parentheses around assigned value --> src/xkb/ffi.rs:110:38 | 110 | pub const XKB_STATE_MATCH_ALL: u32 = (1 << 1); | ^ ^ | help: remove these parentheses | 110 - pub const XKB_STATE_MATCH_ALL: u32 = (1 << 1); 110 + pub const XKB_STATE_MATCH_ALL: u32 = 1 << 1; | warning: unnecessary parentheses around assigned value --> src/xkb/ffi.rs:111:48 | 111 | pub const XKB_STATE_MATCH_NON_EXCLUSIVE: u32 = (1 << 16); | ^ ^ | help: remove these parentheses | 111 - pub const XKB_STATE_MATCH_NON_EXCLUSIVE: u32 = (1 << 16); 111 + pub const XKB_STATE_MATCH_NON_EXCLUSIVE: u32 = 1 << 16; | warning: unnecessary parentheses around assigned value --> src/xkb/mod.rs:178:42 | 178 | pub const KEYSYM_CASE_INSENSITIVE: u32 = (1 << 0); | ^ ^ | help: remove these parentheses | 178 - pub const KEYSYM_CASE_INSENSITIVE: u32 = (1 << 0); 178 + pub const KEYSYM_CASE_INSENSITIVE: u32 = 1 << 0; | warning: unnecessary parentheses around assigned value --> src/xkb/mod.rs:185:46 | 185 | pub const CONTEXT_NO_DEFAULT_INCLUDES: u32 = (1 << 0); | ^ ^ | help: remove these parentheses | 185 - pub const CONTEXT_NO_DEFAULT_INCLUDES: u32 = (1 << 0); 185 + pub const CONTEXT_NO_DEFAULT_INCLUDES: u32 = 1 << 0; | warning: unnecessary parentheses around assigned value --> src/xkb/mod.rs:187:47 | 187 | pub const CONTEXT_NO_ENVIRONMENT_NAMES: u32 = (1 << 1); | ^ ^ | help: remove these parentheses | 187 - pub const CONTEXT_NO_ENVIRONMENT_NAMES: u32 = (1 << 1); 187 + pub const CONTEXT_NO_ENVIRONMENT_NAMES: u32 = 1 << 1; | warning: unnecessary parentheses around assigned value --> src/xkb/mod.rs:232:39 | 232 | pub const STATE_MODS_DEPRESSED: u32 = (1 << 0); | ^ ^ | help: remove these parentheses | 232 - pub const STATE_MODS_DEPRESSED: u32 = (1 << 0); 232 + pub const STATE_MODS_DEPRESSED: u32 = 1 << 0; | warning: unnecessary parentheses around assigned value --> src/xkb/mod.rs:235:37 | 235 | pub const STATE_MODS_LATCHED: u32 = (1 << 1); | ^ ^ | help: remove these parentheses | 235 - pub const STATE_MODS_LATCHED: u32 = (1 << 1); 235 + pub const STATE_MODS_LATCHED: u32 = 1 << 1; | warning: unnecessary parentheses around assigned value --> src/xkb/mod.rs:238:36 | 238 | pub const STATE_MODS_LOCKED: u32 = (1 << 2); | ^ ^ | help: remove these parentheses | 238 - pub const STATE_MODS_LOCKED: u32 = (1 << 2); 238 + pub const STATE_MODS_LOCKED: u32 = 1 << 2; | warning: unnecessary parentheses around assigned value --> src/xkb/mod.rs:242:39 | 242 | pub const STATE_MODS_EFFECTIVE: u32 = (1 << 3); | ^ ^ | help: remove these parentheses | 242 - pub const STATE_MODS_EFFECTIVE: u32 = (1 << 3); 242 + pub const STATE_MODS_EFFECTIVE: u32 = 1 << 3; | warning: unnecessary parentheses around assigned value --> src/xkb/mod.rs:244:41 | 244 | pub const STATE_LAYOUT_DEPRESSED: u32 = (1 << 4); | ^ ^ | help: remove these parentheses | 244 - pub const STATE_LAYOUT_DEPRESSED: u32 = (1 << 4); 244 + pub const STATE_LAYOUT_DEPRESSED: u32 = 1 << 4; | warning: unnecessary parentheses around assigned value --> src/xkb/mod.rs:247:39 | 247 | pub const STATE_LAYOUT_LATCHED: u32 = (1 << 5); | ^ ^ | help: remove these parentheses | 247 - pub const STATE_LAYOUT_LATCHED: u32 = (1 << 5); 247 + pub const STATE_LAYOUT_LATCHED: u32 = 1 << 5; | warning: unnecessary parentheses around assigned value --> src/xkb/mod.rs:250:38 | 250 | pub const STATE_LAYOUT_LOCKED: u32 = (1 << 6); | ^ ^ | help: remove these parentheses | 250 - pub const STATE_LAYOUT_LOCKED: u32 = (1 << 6); 250 + pub const STATE_LAYOUT_LOCKED: u32 = 1 << 6; | warning: unnecessary parentheses around assigned value --> src/xkb/mod.rs:254:41 | 254 | pub const STATE_LAYOUT_EFFECTIVE: u32 = (1 << 7); | ^ ^ | help: remove these parentheses | 254 - pub const STATE_LAYOUT_EFFECTIVE: u32 = (1 << 7); 254 + pub const STATE_LAYOUT_EFFECTIVE: u32 = 1 << 7; | warning: unnecessary parentheses around assigned value --> src/xkb/mod.rs:256:29 | 256 | pub const STATE_LEDS: u32 = (1 << 8); | ^ ^ | help: remove these parentheses | 256 - pub const STATE_LEDS: u32 = (1 << 8); 256 + pub const STATE_LEDS: u32 = 1 << 8; | warning: unnecessary parentheses around assigned value --> src/xkb/mod.rs:266:34 | 266 | pub const STATE_MATCH_ANY: u32 = (1 << 0); | ^ ^ | help: remove these parentheses | 266 - pub const STATE_MATCH_ANY: u32 = (1 << 0); 266 + pub const STATE_MATCH_ANY: u32 = 1 << 0; | warning: unnecessary parentheses around assigned value --> src/xkb/mod.rs:268:34 | 268 | pub const STATE_MATCH_ALL: u32 = (1 << 1); | ^ ^ | help: remove these parentheses | 268 - pub const STATE_MATCH_ALL: u32 = (1 << 1); 268 + pub const STATE_MATCH_ALL: u32 = 1 << 1; | warning: unnecessary parentheses around assigned value --> src/xkb/mod.rs:271:44 | 271 | pub const STATE_MATCH_NON_EXCLUSIVE: u32 = (1 << 16); | ^ ^ | help: remove these parentheses | 271 - pub const STATE_MATCH_NON_EXCLUSIVE: u32 = (1 << 16); 271 + pub const STATE_MATCH_NON_EXCLUSIVE: u32 = 1 << 16; | warning: `xkbcommon` (lib) generated 30 warnings (run `cargo fix --lib -p xkbcommon` to apply 30 suggestions) Finished release [optimized] target(s) in 1m 12s + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.lowSgh + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/rust-xkbcommon-0.4.0-10.fc38.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/rust-xkbcommon-0.4.0-10.fc38.riscv64 ++ dirname /builddir/build/BUILDROOT/rust-xkbcommon-0.4.0-10.fc38.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/rust-xkbcommon-0.4.0-10.fc38.riscv64 + 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 -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 -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-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 -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + 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 xkbcommon-0.4.0 + set -eu ++ /usr/bin/cargo2rpm --path Cargo.toml is-lib + '[' 1 -eq 1 ']' ++ /usr/bin/cargo2rpm --path Cargo.toml name + CRATE_NAME=xkbcommon ++ /usr/bin/cargo2rpm --path Cargo.toml version + CRATE_VERSION=0.4.0 + REG_DIR=/builddir/build/BUILDROOT/rust-xkbcommon-0.4.0-10.fc38.riscv64/usr/share/cargo/registry/xkbcommon-0.4.0 + /usr/bin/mkdir -p /builddir/build/BUILDROOT/rust-xkbcommon-0.4.0-10.fc38.riscv64/usr/share/cargo/registry/xkbcommon-0.4.0 + gawk -i inplace -v INPLACE_SUFFIX=.deps '/^\[((.+\.)?((dev|build)-)?dependencies|features)/{f=1;next} /^\[/{f=0}; !f' Cargo.toml + /usr/bin/env CARGO_HOME=.cargo RUSTC_BOOTSTRAP=1 'RUSTFLAGS=-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -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 package -l + grep -w -E -v 'Cargo.(lock|toml.orig)' + xargs -d '\n' /usr/bin/cp --parents -a -t /builddir/build/BUILDROOT/rust-xkbcommon-0.4.0-10.fc38.riscv64/usr/share/cargo/registry/xkbcommon-0.4.0 warning: No (git) VCS found for `/builddir/build/BUILD/xkbcommon-0.4.0` + /usr/bin/mv Cargo.toml.deps Cargo.toml + /usr/bin/cp -a Cargo.toml /builddir/build/BUILDROOT/rust-xkbcommon-0.4.0-10.fc38.riscv64/usr/share/cargo/registry/xkbcommon-0.4.0/Cargo.toml + /usr/bin/rm -f /builddir/build/BUILDROOT/rust-xkbcommon-0.4.0-10.fc38.riscv64/usr/share/cargo/registry/xkbcommon-0.4.0/Cargo.toml.deps + echo '{"files":{},"package":""}' ++ /usr/bin/cargo2rpm --path Cargo.toml is-bin + '[' 0 -eq 1 ']' + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/brp-strip /usr/bin/strip + /usr/lib/rpm/brp-strip-comment-note /usr/bin/strip /usr/bin/objdump + /usr/lib/rpm/redhat/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/check-rpaths + /usr/lib/rpm/redhat/brp-mangle-shebangs + /usr/lib/rpm/brp-remove-la-files + env /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 -j8 + /usr/lib/rpm/redhat/brp-python-hardlink Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.LlgjXa + 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 -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 -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-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 -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + 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 xkbcommon-0.4.0 + /usr/bin/env CARGO_HOME=.cargo RUSTC_BOOTSTRAP=1 'RUSTFLAGS=-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -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 test -j8 -Z avoid-dev-deps --release --no-fail-fast Fresh libc v0.2.139 warning: unnecessary parentheses around assigned value --> src/xkb/ffi.rs:63:46 | 63 | pub const XKB_KEYSYM_CASE_INSENSITIVE: u32 = (1 << 0); | ^ ^ | = note: `#[warn(unused_parens)]` on by default help: remove these parentheses | 63 - pub const XKB_KEYSYM_CASE_INSENSITIVE: u32 = (1 << 0); 63 + pub const XKB_KEYSYM_CASE_INSENSITIVE: u32 = 1 << 0; | warning: unnecessary parentheses around assigned value --> src/xkb/ffi.rs:67:50 | 67 | pub const XKB_CONTEXT_NO_DEFAULT_INCLUDES: u32 = (1 << 0); | ^ ^ | help: remove these parentheses | 67 - pub const XKB_CONTEXT_NO_DEFAULT_INCLUDES: u32 = (1 << 0); 67 + pub const XKB_CONTEXT_NO_DEFAULT_INCLUDES: u32 = 1 << 0; | warning: unnecessary parentheses around assigned value --> src/xkb/ffi.rs:68:51 | 68 | pub const XKB_CONTEXT_NO_ENVIRONMENT_NAMES: u32 = (1 << 1); | ^ ^ | help: remove these parentheses | 68 - pub const XKB_CONTEXT_NO_ENVIRONMENT_NAMES: u32 = (1 << 1); 68 + pub const XKB_CONTEXT_NO_ENVIRONMENT_NAMES: u32 = 1 << 1; | warning: unnecessary parentheses around assigned value --> src/xkb/ffi.rs:97:43 | 97 | pub const XKB_STATE_MODS_DEPRESSED: u32 = (1 << 0); | ^ ^ | help: remove these parentheses | 97 - pub const XKB_STATE_MODS_DEPRESSED: u32 = (1 << 0); 97 + pub const XKB_STATE_MODS_DEPRESSED: u32 = 1 << 0; | warning: unnecessary parentheses around assigned value --> src/xkb/ffi.rs:98:41 | 98 | pub const XKB_STATE_MODS_LATCHED: u32 = (1 << 1); | ^ ^ | help: remove these parentheses | 98 - pub const XKB_STATE_MODS_LATCHED: u32 = (1 << 1); 98 + pub const XKB_STATE_MODS_LATCHED: u32 = 1 << 1; | warning: unnecessary parentheses around assigned value --> src/xkb/ffi.rs:99:40 | 99 | pub const XKB_STATE_MODS_LOCKED: u32 = (1 << 2); | ^ ^ | help: remove these parentheses | 99 - pub const XKB_STATE_MODS_LOCKED: u32 = (1 << 2); 99 + pub const XKB_STATE_MODS_LOCKED: u32 = 1 << 2; | warning: unnecessary parentheses around assigned value --> src/xkb/ffi.rs:100:43 | 100 | pub const XKB_STATE_MODS_EFFECTIVE: u32 = (1 << 3); | ^ ^ | help: remove these parentheses | 100 - pub const XKB_STATE_MODS_EFFECTIVE: u32 = (1 << 3); 100 + pub const XKB_STATE_MODS_EFFECTIVE: u32 = 1 << 3; | warning: unnecessary parentheses around assigned value --> src/xkb/ffi.rs:101:45 | 101 | pub const XKB_STATE_LAYOUT_DEPRESSED: u32 = (1 << 4); | ^ ^ | help: remove these parentheses | 101 - pub const XKB_STATE_LAYOUT_DEPRESSED: u32 = (1 << 4); 101 + pub const XKB_STATE_LAYOUT_DEPRESSED: u32 = 1 << 4; | warning: unnecessary parentheses around assigned value --> src/xkb/ffi.rs:102:43 | 102 | pub const XKB_STATE_LAYOUT_LATCHED: u32 = (1 << 5); | ^ ^ | help: remove these parentheses | 102 - pub const XKB_STATE_LAYOUT_LATCHED: u32 = (1 << 5); 102 + pub const XKB_STATE_LAYOUT_LATCHED: u32 = 1 << 5; | warning: unnecessary parentheses around assigned value --> src/xkb/ffi.rs:103:42 | 103 | pub const XKB_STATE_LAYOUT_LOCKED: u32 = (1 << 6); | ^ ^ | help: remove these parentheses | 103 - pub const XKB_STATE_LAYOUT_LOCKED: u32 = (1 << 6); 103 + pub const XKB_STATE_LAYOUT_LOCKED: u32 = 1 << 6; | warning: unnecessary parentheses around assigned value --> src/xkb/ffi.rs:104:45 | 104 | pub const XKB_STATE_LAYOUT_EFFECTIVE: u32 = (1 << 7); | ^ ^ | help: remove these parentheses | 104 - pub const XKB_STATE_LAYOUT_EFFECTIVE: u32 = (1 << 7); 104 + pub const XKB_STATE_LAYOUT_EFFECTIVE: u32 = 1 << 7; | warning: unnecessary parentheses around assigned value --> src/xkb/ffi.rs:105:33 | 105 | pub const XKB_STATE_LEDS: u32 = (1 << 8); | ^ ^ | help: remove these parentheses | 105 - pub const XKB_STATE_LEDS: u32 = (1 << 8); 105 + pub const XKB_STATE_LEDS: u32 = 1 << 8; | warning: unnecessary parentheses around assigned value --> src/xkb/ffi.rs:109:38 | 109 | pub const XKB_STATE_MATCH_ANY: u32 = (1 << 0); | ^ ^ | help: remove these parentheses | 109 - pub const XKB_STATE_MATCH_ANY: u32 = (1 << 0); 109 + pub const XKB_STATE_MATCH_ANY: u32 = 1 << 0; | warning: unnecessary parentheses around assigned value --> src/xkb/ffi.rs:110:38 | 110 | pub const XKB_STATE_MATCH_ALL: u32 = (1 << 1); | ^ ^ | help: remove these parentheses | 110 - pub const XKB_STATE_MATCH_ALL: u32 = (1 << 1); 110 + pub const XKB_STATE_MATCH_ALL: u32 = 1 << 1; | warning: unnecessary parentheses around assigned value --> src/xkb/ffi.rs:111:48 | 111 | pub const XKB_STATE_MATCH_NON_EXCLUSIVE: u32 = (1 << 16); | ^ ^ | help: remove these parentheses | 111 - pub const XKB_STATE_MATCH_NON_EXCLUSIVE: u32 = (1 << 16); 111 + pub const XKB_STATE_MATCH_NON_EXCLUSIVE: u32 = 1 << 16; | warning: unnecessary parentheses around assigned value --> src/xkb/mod.rs:178:42 | 178 | pub const KEYSYM_CASE_INSENSITIVE: u32 = (1 << 0); | ^ ^ | help: remove these parentheses | 178 - pub const KEYSYM_CASE_INSENSITIVE: u32 = (1 << 0); 178 + pub const KEYSYM_CASE_INSENSITIVE: u32 = 1 << 0; | warning: unnecessary parentheses around assigned value --> src/xkb/mod.rs:185:46 | 185 | pub const CONTEXT_NO_DEFAULT_INCLUDES: u32 = (1 << 0); | ^ ^ | help: remove these parentheses | 185 - pub const CONTEXT_NO_DEFAULT_INCLUDES: u32 = (1 << 0); 185 + pub const CONTEXT_NO_DEFAULT_INCLUDES: u32 = 1 << 0; | warning: unnecessary parentheses around assigned value --> src/xkb/mod.rs:187:47 | 187 | pub const CONTEXT_NO_ENVIRONMENT_NAMES: u32 = (1 << 1); | ^ ^ | help: remove these parentheses | 187 - pub const CONTEXT_NO_ENVIRONMENT_NAMES: u32 = (1 << 1); 187 + pub const CONTEXT_NO_ENVIRONMENT_NAMES: u32 = 1 << 1; | warning: unnecessary parentheses around assigned value --> src/xkb/mod.rs:232:39 | 232 | pub const STATE_MODS_DEPRESSED: u32 = (1 << 0); | ^ ^ | help: remove these parentheses | 232 - pub const STATE_MODS_DEPRESSED: u32 = (1 << 0); 232 + pub const STATE_MODS_DEPRESSED: u32 = 1 << 0; | warning: unnecessary parentheses around assigned value --> src/xkb/mod.rs:235:37 | 235 | pub const STATE_MODS_LATCHED: u32 = (1 << 1); | ^ ^ | help: remove these parentheses | 235 - pub const STATE_MODS_LATCHED: u32 = (1 << 1); 235 + pub const STATE_MODS_LATCHED: u32 = 1 << 1; | warning: unnecessary parentheses around assigned value --> src/xkb/mod.rs:238:36 | 238 | pub const STATE_MODS_LOCKED: u32 = (1 << 2); | ^ ^ | help: remove these parentheses | 238 - pub const STATE_MODS_LOCKED: u32 = (1 << 2); 238 + pub const STATE_MODS_LOCKED: u32 = 1 << 2; | warning: unnecessary parentheses around assigned value --> src/xkb/mod.rs:242:39 | 242 | pub const STATE_MODS_EFFECTIVE: u32 = (1 << 3); | ^ ^ | help: remove these parentheses | 242 - pub const STATE_MODS_EFFECTIVE: u32 = (1 << 3); 242 + pub const STATE_MODS_EFFECTIVE: u32 = 1 << 3; | warning: unnecessary parentheses around assigned value --> src/xkb/mod.rs:244:41 | 244 | pub const STATE_LAYOUT_DEPRESSED: u32 = (1 << 4); | ^ ^ | help: remove these parentheses | 244 - pub const STATE_LAYOUT_DEPRESSED: u32 = (1 << 4); 244 + pub const STATE_LAYOUT_DEPRESSED: u32 = 1 << 4; | warning: unnecessary parentheses around assigned value --> src/xkb/mod.rs:247:39 | 247 | pub const STATE_LAYOUT_LATCHED: u32 = (1 << 5); | ^ ^ | help: remove these parentheses | 247 - pub const STATE_LAYOUT_LATCHED: u32 = (1 << 5); 247 + pub const STATE_LAYOUT_LATCHED: u32 = 1 << 5; | warning: unnecessary parentheses around assigned value --> src/xkb/mod.rs:250:38 | 250 | pub const STATE_LAYOUT_LOCKED: u32 = (1 << 6); | ^ ^ | help: remove these parentheses | 250 - pub const STATE_LAYOUT_LOCKED: u32 = (1 << 6); 250 + pub const STATE_LAYOUT_LOCKED: u32 = 1 << 6; | warning: unnecessary parentheses around assigned value --> src/xkb/mod.rs:254:41 | 254 | pub const STATE_LAYOUT_EFFECTIVE: u32 = (1 << 7); | ^ ^ | help: remove these parentheses | 254 - pub const STATE_LAYOUT_EFFECTIVE: u32 = (1 << 7); 254 + pub const STATE_LAYOUT_EFFECTIVE: u32 = 1 << 7; | warning: unnecessary parentheses around assigned value --> src/xkb/mod.rs:256:29 | 256 | pub const STATE_LEDS: u32 = (1 << 8); | ^ ^ | help: remove these parentheses | 256 - pub const STATE_LEDS: u32 = (1 << 8); 256 + pub const STATE_LEDS: u32 = 1 << 8; | warning: unnecessary parentheses around assigned value --> src/xkb/mod.rs:266:34 | 266 | pub const STATE_MATCH_ANY: u32 = (1 << 0); | ^ ^ | help: remove these parentheses | 266 - pub const STATE_MATCH_ANY: u32 = (1 << 0); 266 + pub const STATE_MATCH_ANY: u32 = 1 << 0; | warning: unnecessary parentheses around assigned value --> src/xkb/mod.rs:268:34 | 268 | pub const STATE_MATCH_ALL: u32 = (1 << 1); | ^ ^ | help: remove these parentheses | 268 - pub const STATE_MATCH_ALL: u32 = (1 << 1); 268 + pub const STATE_MATCH_ALL: u32 = 1 << 1; | warning: unnecessary parentheses around assigned value --> src/xkb/mod.rs:271:44 | 271 | pub const STATE_MATCH_NON_EXCLUSIVE: u32 = (1 << 16); | ^ ^ | help: remove these parentheses | 271 - pub const STATE_MATCH_NON_EXCLUSIVE: u32 = (1 << 16); 271 + pub const STATE_MATCH_NON_EXCLUSIVE: u32 = 1 << 16; | warning: `xkbcommon` (lib) generated 30 warnings (run `cargo fix --lib -p xkbcommon` to apply 30 suggestions) Compiling xkbcommon v0.4.0 (/builddir/build/BUILD/xkbcommon-0.4.0) Running `/usr/bin/rustc --crate-name xkbcommon src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --emit=dep-info,link -C opt-level=3 -C embed-bitcode=no --test -C metadata=7d7f3a66fcdb5a02 -C extra-filename=-7d7f3a66fcdb5a02 --out-dir /builddir/build/BUILD/xkbcommon-0.4.0/target/release/deps -L dependency=/builddir/build/BUILD/xkbcommon-0.4.0/target/release/deps --extern libc=/builddir/build/BUILD/xkbcommon-0.4.0/target/release/deps/liblibc-7951ab5e1c6f9c9b.rlib -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -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` warning: `xkbcommon` (lib test) generated 30 warnings (30 duplicates) Finished release [optimized] target(s) in 27.62s Running `/builddir/build/BUILD/xkbcommon-0.4.0/target/release/deps/xkbcommon-7d7f3a66fcdb5a02` running 1 test test xkb::check_include_paths ... ok test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.04s Doc-tests xkbcommon Running `/usr/bin/rustdoc --crate-type lib --crate-name xkbcommon --test /builddir/build/BUILD/xkbcommon-0.4.0/src/lib.rs -L dependency=/builddir/build/BUILD/xkbcommon-0.4.0/target/release/deps -L dependency=/builddir/build/BUILD/xkbcommon-0.4.0/target/release/deps --extern libc=/builddir/build/BUILD/xkbcommon-0.4.0/target/release/deps/liblibc-7951ab5e1c6f9c9b.rlib --extern xkbcommon=/builddir/build/BUILD/xkbcommon-0.4.0/target/release/deps/libxkbcommon-79b616ac6cfbe4d3.rlib -C embed-bitcode=no --error-format human` warning: unnecessary parentheses around assigned value --> /builddir/build/BUILD/xkbcommon-0.4.0/src/xkb/ffi.rs:63:46 | 63 | pub const XKB_KEYSYM_CASE_INSENSITIVE: u32 = (1 << 0); | ^ ^ | = note: `#[warn(unused_parens)]` on by default help: remove these parentheses | 63 - pub const XKB_KEYSYM_CASE_INSENSITIVE: u32 = (1 << 0); 63 + pub const XKB_KEYSYM_CASE_INSENSITIVE: u32 = 1 << 0; | warning: unnecessary parentheses around assigned value --> /builddir/build/BUILD/xkbcommon-0.4.0/src/xkb/ffi.rs:67:50 | 67 | pub const XKB_CONTEXT_NO_DEFAULT_INCLUDES: u32 = (1 << 0); | ^ ^ | help: remove these parentheses | 67 - pub const XKB_CONTEXT_NO_DEFAULT_INCLUDES: u32 = (1 << 0); 67 + pub const XKB_CONTEXT_NO_DEFAULT_INCLUDES: u32 = 1 << 0; | warning: unnecessary parentheses around assigned value --> /builddir/build/BUILD/xkbcommon-0.4.0/src/xkb/ffi.rs:68:51 | 68 | pub const XKB_CONTEXT_NO_ENVIRONMENT_NAMES: u32 = (1 << 1); | ^ ^ | help: remove these parentheses | 68 - pub const XKB_CONTEXT_NO_ENVIRONMENT_NAMES: u32 = (1 << 1); 68 + pub const XKB_CONTEXT_NO_ENVIRONMENT_NAMES: u32 = 1 << 1; | warning: unnecessary parentheses around assigned value --> /builddir/build/BUILD/xkbcommon-0.4.0/src/xkb/ffi.rs:97:43 | 97 | pub const XKB_STATE_MODS_DEPRESSED: u32 = (1 << 0); | ^ ^ | help: remove these parentheses | 97 - pub const XKB_STATE_MODS_DEPRESSED: u32 = (1 << 0); 97 + pub const XKB_STATE_MODS_DEPRESSED: u32 = 1 << 0; | warning: unnecessary parentheses around assigned value --> /builddir/build/BUILD/xkbcommon-0.4.0/src/xkb/ffi.rs:98:41 | 98 | pub const XKB_STATE_MODS_LATCHED: u32 = (1 << 1); | ^ ^ | help: remove these parentheses | 98 - pub const XKB_STATE_MODS_LATCHED: u32 = (1 << 1); 98 + pub const XKB_STATE_MODS_LATCHED: u32 = 1 << 1; | warning: unnecessary parentheses around assigned value --> /builddir/build/BUILD/xkbcommon-0.4.0/src/xkb/ffi.rs:99:40 | 99 | pub const XKB_STATE_MODS_LOCKED: u32 = (1 << 2); | ^ ^ | help: remove these parentheses | 99 - pub const XKB_STATE_MODS_LOCKED: u32 = (1 << 2); 99 + pub const XKB_STATE_MODS_LOCKED: u32 = 1 << 2; | warning: unnecessary parentheses around assigned value --> /builddir/build/BUILD/xkbcommon-0.4.0/src/xkb/ffi.rs:100:43 | 100 | pub const XKB_STATE_MODS_EFFECTIVE: u32 = (1 << 3); | ^ ^ | help: remove these parentheses | 100 - pub const XKB_STATE_MODS_EFFECTIVE: u32 = (1 << 3); 100 + pub const XKB_STATE_MODS_EFFECTIVE: u32 = 1 << 3; | warning: unnecessary parentheses around assigned value --> /builddir/build/BUILD/xkbcommon-0.4.0/src/xkb/ffi.rs:101:45 | 101 | pub const XKB_STATE_LAYOUT_DEPRESSED: u32 = (1 << 4); | ^ ^ | help: remove these parentheses | 101 - pub const XKB_STATE_LAYOUT_DEPRESSED: u32 = (1 << 4); 101 + pub const XKB_STATE_LAYOUT_DEPRESSED: u32 = 1 << 4; | warning: unnecessary parentheses around assigned value --> /builddir/build/BUILD/xkbcommon-0.4.0/src/xkb/ffi.rs:102:43 | 102 | pub const XKB_STATE_LAYOUT_LATCHED: u32 = (1 << 5); | ^ ^ | help: remove these parentheses | 102 - pub const XKB_STATE_LAYOUT_LATCHED: u32 = (1 << 5); 102 + pub const XKB_STATE_LAYOUT_LATCHED: u32 = 1 << 5; | warning: unnecessary parentheses around assigned value --> /builddir/build/BUILD/xkbcommon-0.4.0/src/xkb/ffi.rs:103:42 | 103 | pub const XKB_STATE_LAYOUT_LOCKED: u32 = (1 << 6); | ^ ^ | help: remove these parentheses | 103 - pub const XKB_STATE_LAYOUT_LOCKED: u32 = (1 << 6); 103 + pub const XKB_STATE_LAYOUT_LOCKED: u32 = 1 << 6; | warning: unnecessary parentheses around assigned value --> /builddir/build/BUILD/xkbcommon-0.4.0/src/xkb/ffi.rs:104:45 | 104 | pub const XKB_STATE_LAYOUT_EFFECTIVE: u32 = (1 << 7); | ^ ^ | help: remove these parentheses | 104 - pub const XKB_STATE_LAYOUT_EFFECTIVE: u32 = (1 << 7); 104 + pub const XKB_STATE_LAYOUT_EFFECTIVE: u32 = 1 << 7; | warning: unnecessary parentheses around assigned value --> /builddir/build/BUILD/xkbcommon-0.4.0/src/xkb/ffi.rs:105:33 | 105 | pub const XKB_STATE_LEDS: u32 = (1 << 8); | ^ ^ | help: remove these parentheses | 105 - pub const XKB_STATE_LEDS: u32 = (1 << 8); 105 + pub const XKB_STATE_LEDS: u32 = 1 << 8; | warning: unnecessary parentheses around assigned value --> /builddir/build/BUILD/xkbcommon-0.4.0/src/xkb/ffi.rs:109:38 | 109 | pub const XKB_STATE_MATCH_ANY: u32 = (1 << 0); | ^ ^ | help: remove these parentheses | 109 - pub const XKB_STATE_MATCH_ANY: u32 = (1 << 0); 109 + pub const XKB_STATE_MATCH_ANY: u32 = 1 << 0; | warning: unnecessary parentheses around assigned value --> /builddir/build/BUILD/xkbcommon-0.4.0/src/xkb/ffi.rs:110:38 | 110 | pub const XKB_STATE_MATCH_ALL: u32 = (1 << 1); | ^ ^ | help: remove these parentheses | 110 - pub const XKB_STATE_MATCH_ALL: u32 = (1 << 1); 110 + pub const XKB_STATE_MATCH_ALL: u32 = 1 << 1; | warning: unnecessary parentheses around assigned value --> /builddir/build/BUILD/xkbcommon-0.4.0/src/xkb/ffi.rs:111:48 | 111 | pub const XKB_STATE_MATCH_NON_EXCLUSIVE: u32 = (1 << 16); | ^ ^ | help: remove these parentheses | 111 - pub const XKB_STATE_MATCH_NON_EXCLUSIVE: u32 = (1 << 16); 111 + pub const XKB_STATE_MATCH_NON_EXCLUSIVE: u32 = 1 << 16; | warning: unnecessary parentheses around assigned value --> /builddir/build/BUILD/xkbcommon-0.4.0/src/xkb/mod.rs:178:42 | 178 | pub const KEYSYM_CASE_INSENSITIVE: u32 = (1 << 0); | ^ ^ | help: remove these parentheses | 178 - pub const KEYSYM_CASE_INSENSITIVE: u32 = (1 << 0); 178 + pub const KEYSYM_CASE_INSENSITIVE: u32 = 1 << 0; | warning: unnecessary parentheses around assigned value --> /builddir/build/BUILD/xkbcommon-0.4.0/src/xkb/mod.rs:185:46 | 185 | pub const CONTEXT_NO_DEFAULT_INCLUDES: u32 = (1 << 0); | ^ ^ | help: remove these parentheses | 185 - pub const CONTEXT_NO_DEFAULT_INCLUDES: u32 = (1 << 0); 185 + pub const CONTEXT_NO_DEFAULT_INCLUDES: u32 = 1 << 0; | warning: unnecessary parentheses around assigned value --> /builddir/build/BUILD/xkbcommon-0.4.0/src/xkb/mod.rs:187:47 | 187 | pub const CONTEXT_NO_ENVIRONMENT_NAMES: u32 = (1 << 1); | ^ ^ | help: remove these parentheses | 187 - pub const CONTEXT_NO_ENVIRONMENT_NAMES: u32 = (1 << 1); 187 + pub const CONTEXT_NO_ENVIRONMENT_NAMES: u32 = 1 << 1; | warning: unnecessary parentheses around assigned value --> /builddir/build/BUILD/xkbcommon-0.4.0/src/xkb/mod.rs:232:39 | 232 | pub const STATE_MODS_DEPRESSED: u32 = (1 << 0); | ^ ^ | help: remove these parentheses | 232 - pub const STATE_MODS_DEPRESSED: u32 = (1 << 0); 232 + pub const STATE_MODS_DEPRESSED: u32 = 1 << 0; | warning: unnecessary parentheses around assigned value --> /builddir/build/BUILD/xkbcommon-0.4.0/src/xkb/mod.rs:235:37 | 235 | pub const STATE_MODS_LATCHED: u32 = (1 << 1); | ^ ^ | help: remove these parentheses | 235 - pub const STATE_MODS_LATCHED: u32 = (1 << 1); 235 + pub const STATE_MODS_LATCHED: u32 = 1 << 1; | warning: unnecessary parentheses around assigned value --> /builddir/build/BUILD/xkbcommon-0.4.0/src/xkb/mod.rs:238:36 | 238 | pub const STATE_MODS_LOCKED: u32 = (1 << 2); | ^ ^ | help: remove these parentheses | 238 - pub const STATE_MODS_LOCKED: u32 = (1 << 2); 238 + pub const STATE_MODS_LOCKED: u32 = 1 << 2; | warning: unnecessary parentheses around assigned value --> /builddir/build/BUILD/xkbcommon-0.4.0/src/xkb/mod.rs:242:39 | 242 | pub const STATE_MODS_EFFECTIVE: u32 = (1 << 3); | ^ ^ | help: remove these parentheses | 242 - pub const STATE_MODS_EFFECTIVE: u32 = (1 << 3); 242 + pub const STATE_MODS_EFFECTIVE: u32 = 1 << 3; | warning: unnecessary parentheses around assigned value --> /builddir/build/BUILD/xkbcommon-0.4.0/src/xkb/mod.rs:244:41 | 244 | pub const STATE_LAYOUT_DEPRESSED: u32 = (1 << 4); | ^ ^ | help: remove these parentheses | 244 - pub const STATE_LAYOUT_DEPRESSED: u32 = (1 << 4); 244 + pub const STATE_LAYOUT_DEPRESSED: u32 = 1 << 4; | warning: unnecessary parentheses around assigned value --> /builddir/build/BUILD/xkbcommon-0.4.0/src/xkb/mod.rs:247:39 | 247 | pub const STATE_LAYOUT_LATCHED: u32 = (1 << 5); | ^ ^ | help: remove these parentheses | 247 - pub const STATE_LAYOUT_LATCHED: u32 = (1 << 5); 247 + pub const STATE_LAYOUT_LATCHED: u32 = 1 << 5; | warning: unnecessary parentheses around assigned value --> /builddir/build/BUILD/xkbcommon-0.4.0/src/xkb/mod.rs:250:38 | 250 | pub const STATE_LAYOUT_LOCKED: u32 = (1 << 6); | ^ ^ | help: remove these parentheses | 250 - pub const STATE_LAYOUT_LOCKED: u32 = (1 << 6); 250 + pub const STATE_LAYOUT_LOCKED: u32 = 1 << 6; | warning: unnecessary parentheses around assigned value --> /builddir/build/BUILD/xkbcommon-0.4.0/src/xkb/mod.rs:254:41 | 254 | pub const STATE_LAYOUT_EFFECTIVE: u32 = (1 << 7); | ^ ^ | help: remove these parentheses | 254 - pub const STATE_LAYOUT_EFFECTIVE: u32 = (1 << 7); 254 + pub const STATE_LAYOUT_EFFECTIVE: u32 = 1 << 7; | warning: unnecessary parentheses around assigned value --> /builddir/build/BUILD/xkbcommon-0.4.0/src/xkb/mod.rs:256:29 | 256 | pub const STATE_LEDS: u32 = (1 << 8); | ^ ^ | help: remove these parentheses | 256 - pub const STATE_LEDS: u32 = (1 << 8); 256 + pub const STATE_LEDS: u32 = 1 << 8; | warning: unnecessary parentheses around assigned value --> /builddir/build/BUILD/xkbcommon-0.4.0/src/xkb/mod.rs:266:34 | 266 | pub const STATE_MATCH_ANY: u32 = (1 << 0); | ^ ^ | help: remove these parentheses | 266 - pub const STATE_MATCH_ANY: u32 = (1 << 0); 266 + pub const STATE_MATCH_ANY: u32 = 1 << 0; | warning: unnecessary parentheses around assigned value --> /builddir/build/BUILD/xkbcommon-0.4.0/src/xkb/mod.rs:268:34 | 268 | pub const STATE_MATCH_ALL: u32 = (1 << 1); | ^ ^ | help: remove these parentheses | 268 - pub const STATE_MATCH_ALL: u32 = (1 << 1); 268 + pub const STATE_MATCH_ALL: u32 = 1 << 1; | warning: unnecessary parentheses around assigned value --> /builddir/build/BUILD/xkbcommon-0.4.0/src/xkb/mod.rs:271:44 | 271 | pub const STATE_MATCH_NON_EXCLUSIVE: u32 = (1 << 16); | ^ ^ | help: remove these parentheses | 271 - pub const STATE_MATCH_NON_EXCLUSIVE: u32 = (1 << 16); 271 + pub const STATE_MATCH_NON_EXCLUSIVE: u32 = 1 << 16; | warning: 30 warnings emitted running 0 tests test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s + RPM_EC=0 ++ jobs -p + exit 0 Processing files: rust-xkbcommon-devel-0.4.0-10.fc38.noarch Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.KbTSCe + umask 022 + cd /builddir/build/BUILD + cd xkbcommon-0.4.0 + DOCDIR=/builddir/build/BUILDROOT/rust-xkbcommon-0.4.0-10.fc38.riscv64/usr/share/doc/rust-xkbcommon-devel + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/rust-xkbcommon-0.4.0-10.fc38.riscv64/usr/share/doc/rust-xkbcommon-devel + cp -pr README.md /builddir/build/BUILDROOT/rust-xkbcommon-0.4.0-10.fc38.riscv64/usr/share/doc/rust-xkbcommon-devel + RPM_EC=0 ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.tVTb0B + umask 022 + cd /builddir/build/BUILD + cd xkbcommon-0.4.0 + LICENSEDIR=/builddir/build/BUILDROOT/rust-xkbcommon-0.4.0-10.fc38.riscv64/usr/share/licenses/rust-xkbcommon-devel + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/rust-xkbcommon-0.4.0-10.fc38.riscv64/usr/share/licenses/rust-xkbcommon-devel + cp -pr LICENSE /builddir/build/BUILDROOT/rust-xkbcommon-0.4.0-10.fc38.riscv64/usr/share/licenses/rust-xkbcommon-devel + RPM_EC=0 ++ jobs -p + exit 0 Provides: crate(xkbcommon) = 0.4.0 rust-xkbcommon-devel = 0.4.0-10.fc38 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: (crate(libc/default) >= 0.2.0 with crate(libc/default) < 0.3.0~) cargo Processing files: rust-xkbcommon+default-devel-0.4.0-10.fc38.noarch Provides: crate(xkbcommon/default) = 0.4.0 rust-xkbcommon+default-devel = 0.4.0-10.fc38 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: cargo crate(xkbcommon) = 0.4.0 Processing files: rust-xkbcommon+memmap-devel-0.4.0-10.fc38.noarch Provides: crate(xkbcommon/memmap) = 0.4.0 rust-xkbcommon+memmap-devel = 0.4.0-10.fc38 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: (crate(memmap/default) >= 0.7.0 with crate(memmap/default) < 0.8.0~) cargo crate(xkbcommon) = 0.4.0 Processing files: rust-xkbcommon+wayland-devel-0.4.0-10.fc38.noarch Provides: crate(xkbcommon/wayland) = 0.4.0 rust-xkbcommon+wayland-devel = 0.4.0-10.fc38 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: cargo crate(xkbcommon) = 0.4.0 crate(xkbcommon/memmap) = 0.4.0 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/rust-xkbcommon-0.4.0-10.fc38.riscv64 Wrote: /builddir/build/SRPMS/rust-xkbcommon-0.4.0-10.fc38.src.rpm Wrote: /builddir/build/RPMS/rust-xkbcommon+default-devel-0.4.0-10.fc38.noarch.rpm Wrote: /builddir/build/RPMS/rust-xkbcommon+wayland-devel-0.4.0-10.fc38.noarch.rpm Wrote: /builddir/build/RPMS/rust-xkbcommon+memmap-devel-0.4.0-10.fc38.noarch.rpm Wrote: /builddir/build/RPMS/rust-xkbcommon-devel-0.4.0-10.fc38.noarch.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.Mcq2r3 + umask 022 + cd /builddir/build/BUILD + cd xkbcommon-0.4.0 + /usr/bin/rm -rf /builddir/build/BUILDROOT/rust-xkbcommon-0.4.0-10.fc38.riscv64 + RPM_EC=0 ++ jobs -p + exit 0 Executing(rmbuild): /bin/sh -e /var/tmp/rpm-tmp.9CXaL5 + umask 022 + cd /builddir/build/BUILD + rm -rf xkbcommon-0.4.0 xkbcommon-0.4.0.gemspec + RPM_EC=0 ++ jobs -p + exit 0 Child return code was: 0