D: [iurt_root_command] chroot Building target platforms: noarch Building for target noarch sh: line 4: [: -j8: integer expected Installing /home/pterjan/rpmbuild/SRPMS/rust-num-integer-0.1.46-1.mga10.src.rpm Executing(%mkbuilddir): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.d8WzSd sh: line 4: [: -j8: integer expected Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.N1sANb + umask 022 + cd /home/pterjan/rpmbuild/BUILD/rust-num-integer-0.1.46-build + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/pterjan/rpmbuild/BUILD/rust-num-integer-0.1.46-build + rm -rf num-integer-0.1.46 + /usr/lib/rpm/rpmuncompress -x /home/pterjan/rpmbuild/SOURCES/num-integer-0.1.46.crate + STATUS=0 + '[' 0 -ne 0 ']' + cd num-integer-0.1.46 + /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 sh: line 4: [: -j8: integer expected Executing(%generate_buildrequires): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.HehBDw + umask 022 + cd /home/pterjan/rpmbuild/BUILD/rust-num-integer-0.1.46-build + cd num-integer-0.1.46 + /usr/bin/cargo2rpm --path Cargo.toml buildrequires --with-check + RPM_EC=0 ++ jobs -p + exit 0 sh: line 4: [: -j8: integer expected Executing(%build): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.6w7bHT + umask 022 + cd /home/pterjan/rpmbuild/BUILD/rust-num-integer-0.1.46-build + CFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full ' + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd num-integer-0.1.46 + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + /usr/bin/env CARGO_HOME=.cargo RUSTC_BOOTSTRAP=1 'RUSTFLAGS=-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn' /usr/bin/cargo build -j48 -Z avoid-dev-deps --profile rpm Compiling autocfg v1.4.0 Running `/usr/bin/rustc --crate-name autocfg --edition=2015 /usr/share/cargo/registry/autocfg-1.4.0/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 --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values())' -C metadata=e586754bf2dbe624 -C extra-filename=-67aefdbaf18d84b0 --out-dir /home/pterjan/rpmbuild/BUILD/rust-num-integer-0.1.46-build/num-integer-0.1.46/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-num-integer-0.1.46-build/num-integer-0.1.46/target/rpm/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` Compiling num-traits v0.2.19 Running `/usr/bin/rustc --crate-name build_script_build --edition=2021 /usr/share/cargo/registry/num-traits-0.2.19/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="i128"' --cfg 'feature="std"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("default", "i128", "libm", "std"))' -C metadata=9965146b772249d1 -C extra-filename=-ce05030ec505bd03 --out-dir /home/pterjan/rpmbuild/BUILD/rust-num-integer-0.1.46-build/num-integer-0.1.46/target/rpm/build/num-traits-ce05030ec505bd03 -L dependency=/home/pterjan/rpmbuild/BUILD/rust-num-integer-0.1.46-build/num-integer-0.1.46/target/rpm/deps --extern autocfg=/home/pterjan/rpmbuild/BUILD/rust-num-integer-0.1.46-build/num-integer-0.1.46/target/rpm/deps/libautocfg-67aefdbaf18d84b0.rlib --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` Running `/home/pterjan/rpmbuild/BUILD/rust-num-integer-0.1.46-build/num-integer-0.1.46/target/rpm/build/num-traits-ce05030ec505bd03/build-script-build` Running `/usr/bin/rustc --crate-name num_traits --edition=2021 /usr/share/cargo/registry/num-traits-0.2.19/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="i128"' --cfg 'feature="std"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("default", "i128", "libm", "std"))' -C metadata=3e108216536f7db8 -C extra-filename=-040944b6c9dc798e --out-dir /home/pterjan/rpmbuild/BUILD/rust-num-integer-0.1.46-build/num-integer-0.1.46/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-num-integer-0.1.46-build/num-integer-0.1.46/target/rpm/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn --cfg has_total_cmp --check-cfg 'cfg(has_total_cmp)'` Compiling num-integer v0.1.46 (/home/pterjan/rpmbuild/BUILD/rust-num-integer-0.1.46-build/num-integer-0.1.46) Running `/usr/bin/rustc --crate-name num_integer --edition=2018 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"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("default", "i128", "std"))' -C metadata=64dbc355c9c25e8f -C extra-filename=-d5c1e1fef465a14f --out-dir /home/pterjan/rpmbuild/BUILD/rust-num-integer-0.1.46-build/num-integer-0.1.46/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-num-integer-0.1.46-build/num-integer-0.1.46/target/rpm/deps --extern num_traits=/home/pterjan/rpmbuild/BUILD/rust-num-integer-0.1.46-build/num-integer-0.1.46/target/rpm/deps/libnum_traits-040944b6c9dc798e.rmeta -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` Finished `rpm` profile [optimized + debuginfo] target(s) in 2.95s + RPM_EC=0 ++ jobs -p + exit 0 sh: line 4: [: -j8: integer expected sh: line 4: [: -j8: integer expected Executing(%install): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.FolJ0M + umask 022 + cd /home/pterjan/rpmbuild/BUILD/rust-num-integer-0.1.46-build + '[' 1 -eq 1 ']' + '[' /home/pterjan/rpmbuild/BUILD/rust-num-integer-0.1.46-build/BUILDROOT '!=' / ']' + rm -rf /home/pterjan/rpmbuild/BUILD/rust-num-integer-0.1.46-build/BUILDROOT ++ dirname /home/pterjan/rpmbuild/BUILD/rust-num-integer-0.1.46-build/BUILDROOT + mkdir -p /home/pterjan/rpmbuild/BUILD/rust-num-integer-0.1.46-build + mkdir /home/pterjan/rpmbuild/BUILD/rust-num-integer-0.1.46-build/BUILDROOT + CFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full ' + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd num-integer-0.1.46 + '[' 1 -eq 1 ']' + set -euo pipefail ++ /usr/bin/cargo2rpm --path Cargo.toml is-lib + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' ++ /usr/bin/cargo2rpm --path Cargo.toml name + CRATE_NAME=num-integer ++ /usr/bin/cargo2rpm --path Cargo.toml version + CRATE_VERSION=0.1.46 + REG_DIR=/home/pterjan/rpmbuild/BUILD/rust-num-integer-0.1.46-build/BUILDROOT/usr/share/cargo/registry/num-integer-0.1.46 + /usr/bin/mkdir -p /home/pterjan/rpmbuild/BUILD/rust-num-integer-0.1.46-build/BUILDROOT/usr/share/cargo/registry/num-integer-0.1.46 + /usr/bin/awk -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 -Cstrip=none --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 /home/pterjan/rpmbuild/BUILD/rust-num-integer-0.1.46-build/BUILDROOT/usr/share/cargo/registry/num-integer-0.1.46 warning: no (git) VCS found for `/home/pterjan/rpmbuild/BUILD/rust-num-integer-0.1.46-build/num-integer-0.1.46` + /usr/bin/mv Cargo.toml.deps Cargo.toml + /usr/bin/cp -a Cargo.toml /home/pterjan/rpmbuild/BUILD/rust-num-integer-0.1.46-build/BUILDROOT/usr/share/cargo/registry/num-integer-0.1.46/Cargo.toml + /usr/bin/rm -f /home/pterjan/rpmbuild/BUILD/rust-num-integer-0.1.46-build/BUILDROOT/usr/share/cargo/registry/num-integer-0.1.46/Cargo.toml.deps + echo '{"files":{},"package":""}' ++ /usr/bin/cargo2rpm --path Cargo.toml is-bin + '[' 0 -eq 1 ']' + /usr/lib/rpm/check-buildroot + '[' -n '' ']' + /usr/share/spec-helper/clean_files + '[' -n '' ']' + /usr/share/spec-helper/compress_files .xz + '[' -n '' ']' + /usr/share/spec-helper/relink_symlinks + '[' -n '' ']' + /usr/share/spec-helper/clean_perl + '[' -n '' ']' + /usr/share/spec-helper/lib_symlinks + '[' -n '' ']' + /usr/share/spec-helper/gprintify + '[' -n '' ']' + /usr/share/spec-helper/fix_mo + '[' -n '' ']' + /usr/share/spec-helper/fix_pamd + '[' -n '' ']' + /usr/share/spec-helper/remove_info_dir + '[' -n '' ']' + /usr/share/spec-helper/fix_eol + '[' -n '' ']' + /usr/share/spec-helper/check_desktop_files + '[' -n '' ']' + /usr/share/spec-helper/check_elf_files + /usr/lib/rpm/brp-strip /usr/bin/strip + /usr/lib/rpm/brp-strip-comment-note /usr/bin/strip /usr/bin/objdump + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/check-rpaths + /usr/lib/rpm/brp-remove-la-files + /usr/lib/rpm/redhat/brp-mangle-shebangs + env -u SOURCE_DATE_EPOCH /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 -j48 + /usr/lib/rpm/redhat/brp-python-hardlink sh: line 4: [: -j8: integer expected Executing(%check): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.PF7k1o + umask 022 + cd /home/pterjan/rpmbuild/BUILD/rust-num-integer-0.1.46-build + CFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full ' + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd num-integer-0.1.46 + '[' 1 -eq 1 ']' + /usr/bin/env CARGO_HOME=.cargo RUSTC_BOOTSTRAP=1 'RUSTFLAGS=-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn' /usr/bin/cargo test -j48 -Z avoid-dev-deps --profile rpm --no-fail-fast Fresh autocfg v1.4.0 Fresh num-traits v0.2.19 Compiling num-integer v0.1.46 (/home/pterjan/rpmbuild/BUILD/rust-num-integer-0.1.46-build/num-integer-0.1.46) Running `/usr/bin/rustc --crate-name average --edition=2018 tests/average.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --emit=dep-info,link -C opt-level=3 -C embed-bitcode=no -C codegen-units=1 -C debuginfo=2 --test --cfg 'feature="default"' --cfg 'feature="std"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("default", "i128", "std"))' -C metadata=45543abad66eabd7 -C extra-filename=-7830780a02745932 --out-dir /home/pterjan/rpmbuild/BUILD/rust-num-integer-0.1.46-build/num-integer-0.1.46/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-num-integer-0.1.46-build/num-integer-0.1.46/target/rpm/deps --extern num_integer=/home/pterjan/rpmbuild/BUILD/rust-num-integer-0.1.46-build/num-integer-0.1.46/target/rpm/deps/libnum_integer-d5c1e1fef465a14f.rlib --extern num_traits=/home/pterjan/rpmbuild/BUILD/rust-num-integer-0.1.46-build/num-integer-0.1.46/target/rpm/deps/libnum_traits-040944b6c9dc798e.rlib -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` Running `/usr/bin/rustc --crate-name roots --edition=2018 tests/roots.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --emit=dep-info,link -C opt-level=3 -C embed-bitcode=no -C codegen-units=1 -C debuginfo=2 --test --cfg 'feature="default"' --cfg 'feature="std"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("default", "i128", "std"))' -C metadata=6685399d9b158dea -C extra-filename=-7f105c20cab8f1d7 --out-dir /home/pterjan/rpmbuild/BUILD/rust-num-integer-0.1.46-build/num-integer-0.1.46/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-num-integer-0.1.46-build/num-integer-0.1.46/target/rpm/deps --extern num_integer=/home/pterjan/rpmbuild/BUILD/rust-num-integer-0.1.46-build/num-integer-0.1.46/target/rpm/deps/libnum_integer-d5c1e1fef465a14f.rlib --extern num_traits=/home/pterjan/rpmbuild/BUILD/rust-num-integer-0.1.46-build/num-integer-0.1.46/target/rpm/deps/libnum_traits-040944b6c9dc798e.rlib -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` Running `/usr/bin/rustc --crate-name num_integer --edition=2018 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 -C codegen-units=1 -C debuginfo=2 --test --cfg 'feature="default"' --cfg 'feature="std"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("default", "i128", "std"))' -C metadata=56586583ac213ea6 -C extra-filename=-78bb1d7acdfc020d --out-dir /home/pterjan/rpmbuild/BUILD/rust-num-integer-0.1.46-build/num-integer-0.1.46/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-num-integer-0.1.46-build/num-integer-0.1.46/target/rpm/deps --extern num_traits=/home/pterjan/rpmbuild/BUILD/rust-num-integer-0.1.46-build/num-integer-0.1.46/target/rpm/deps/libnum_traits-040944b6c9dc798e.rlib -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` error[E0308]: mismatched types --> src/lib.rs:1021:50 | 1021 | assert!((0 as $T).is_multiple_of(&(0 as $T))); | -------------- ^^^^^^^^^^ expected `u8`, found `&u8` | | | arguments to this method are incorrect ... 1052 | impl_integer_for_usize!(u8, test_integer_u8); | -------------------------------------------- in this macro invocation | note: method defined here --> /home/iurt/rpmbuild/BUILD/rust-1.87.0-build/rustc-1.87.0-src/library/core/src/num/mod.rs:436:5 = note: this error originates in the macro `impl_integer_for_usize` which comes from the expansion of the macro `uint_impl` (in Nightly builds, run with -Z macro-backtrace for more info) help: consider using clone here | 1021 | assert!((0 as $T).is_multiple_of(&(0 as $T).clone())); | ++++++++ error[E0308]: mismatched types --> src/lib.rs:1022:50 | 1022 | assert!((6 as $T).is_multiple_of(&(6 as $T))); | -------------- ^^^^^^^^^^ expected `u8`, found `&u8` | | | arguments to this method are incorrect ... 1052 | impl_integer_for_usize!(u8, test_integer_u8); | -------------------------------------------- in this macro invocation | note: method defined here --> /home/iurt/rpmbuild/BUILD/rust-1.87.0-build/rustc-1.87.0-src/library/core/src/num/mod.rs:436:5 = note: this error originates in the macro `impl_integer_for_usize` which comes from the expansion of the macro `uint_impl` (in Nightly builds, run with -Z macro-backtrace for more info) help: consider using clone here | 1022 | assert!((6 as $T).is_multiple_of(&(6 as $T).clone())); | ++++++++ error[E0308]: mismatched types --> src/lib.rs:1023:50 | 1023 | assert!((6 as $T).is_multiple_of(&(3 as $T))); | -------------- ^^^^^^^^^^ expected `u8`, found `&u8` | | | arguments to this method are incorrect ... 1052 | impl_integer_for_usize!(u8, test_integer_u8); | -------------------------------------------- in this macro invocation | note: method defined here --> /home/iurt/rpmbuild/BUILD/rust-1.87.0-build/rustc-1.87.0-src/library/core/src/num/mod.rs:436:5 = note: this error originates in the macro `impl_integer_for_usize` which comes from the expansion of the macro `uint_impl` (in Nightly builds, run with -Z macro-backtrace for more info) help: consider using clone here | 1023 | assert!((6 as $T).is_multiple_of(&(3 as $T).clone())); | ++++++++ error[E0308]: mismatched types --> src/lib.rs:1024:50 | 1024 | assert!((6 as $T).is_multiple_of(&(1 as $T))); | -------------- ^^^^^^^^^^ expected `u8`, found `&u8` | | | arguments to this method are incorrect ... 1052 | impl_integer_for_usize!(u8, test_integer_u8); | -------------------------------------------- in this macro invocation | note: method defined here --> /home/iurt/rpmbuild/BUILD/rust-1.87.0-build/rustc-1.87.0-src/library/core/src/num/mod.rs:436:5 = note: this error originates in the macro `impl_integer_for_usize` which comes from the expansion of the macro `uint_impl` (in Nightly builds, run with -Z macro-backtrace for more info) help: consider using clone here | 1024 | assert!((6 as $T).is_multiple_of(&(1 as $T).clone())); | ++++++++ error[E0308]: mismatched types --> src/lib.rs:1026:52 | 1026 | assert!(!(42 as $T).is_multiple_of(&(5 as $T))); | -------------- ^^^^^^^^^^ expected `u8`, found `&u8` | | | arguments to this method are incorrect ... 1052 | impl_integer_for_usize!(u8, test_integer_u8); | -------------------------------------------- in this macro invocation | note: method defined here --> /home/iurt/rpmbuild/BUILD/rust-1.87.0-build/rustc-1.87.0-src/library/core/src/num/mod.rs:436:5 = note: this error originates in the macro `impl_integer_for_usize` which comes from the expansion of the macro `uint_impl` (in Nightly builds, run with -Z macro-backtrace for more info) help: consider using clone here | 1026 | assert!(!(42 as $T).is_multiple_of(&(5 as $T).clone())); | ++++++++ error[E0308]: mismatched types --> src/lib.rs:1027:51 | 1027 | assert!(!(5 as $T).is_multiple_of(&(3 as $T))); | -------------- ^^^^^^^^^^ expected `u8`, found `&u8` | | | arguments to this method are incorrect ... 1052 | impl_integer_for_usize!(u8, test_integer_u8); | -------------------------------------------- in this macro invocation | note: method defined here --> /home/iurt/rpmbuild/BUILD/rust-1.87.0-build/rustc-1.87.0-src/library/core/src/num/mod.rs:436:5 = note: this error originates in the macro `impl_integer_for_usize` which comes from the expansion of the macro `uint_impl` (in Nightly builds, run with -Z macro-backtrace for more info) help: consider using clone here | 1027 | assert!(!(5 as $T).is_multiple_of(&(3 as $T).clone())); | ++++++++ error[E0308]: mismatched types --> src/lib.rs:1028:52 | 1028 | assert!(!(42 as $T).is_multiple_of(&(0 as $T))); | -------------- ^^^^^^^^^^ expected `u8`, found `&u8` | | | arguments to this method are incorrect ... 1052 | impl_integer_for_usize!(u8, test_integer_u8); | -------------------------------------------- in this macro invocation | note: method defined here --> /home/iurt/rpmbuild/BUILD/rust-1.87.0-build/rustc-1.87.0-src/library/core/src/num/mod.rs:436:5 = note: this error originates in the macro `impl_integer_for_usize` which comes from the expansion of the macro `uint_impl` (in Nightly builds, run with -Z macro-backtrace for more info) help: consider using clone here | 1028 | assert!(!(42 as $T).is_multiple_of(&(0 as $T).clone())); | ++++++++ error[E0308]: mismatched types --> src/lib.rs:1021:50 | 1021 | assert!((0 as $T).is_multiple_of(&(0 as $T))); | -------------- ^^^^^^^^^^ expected `u16`, found `&u16` | | | arguments to this method are incorrect ... 1053 | impl_integer_for_usize!(u16, test_integer_u16); | ---------------------------------------------- in this macro invocation | note: method defined here --> /home/iurt/rpmbuild/BUILD/rust-1.87.0-build/rustc-1.87.0-src/library/core/src/num/mod.rs:1051:5 = note: this error originates in the macro `impl_integer_for_usize` which comes from the expansion of the macro `uint_impl` (in Nightly builds, run with -Z macro-backtrace for more info) help: consider using clone here | 1021 | assert!((0 as $T).is_multiple_of(&(0 as $T).clone())); | ++++++++ error[E0308]: mismatched types --> src/lib.rs:1022:50 | 1022 | assert!((6 as $T).is_multiple_of(&(6 as $T))); | -------------- ^^^^^^^^^^ expected `u16`, found `&u16` | | | arguments to this method are incorrect ... 1053 | impl_integer_for_usize!(u16, test_integer_u16); | ---------------------------------------------- in this macro invocation | note: method defined here --> /home/iurt/rpmbuild/BUILD/rust-1.87.0-build/rustc-1.87.0-src/library/core/src/num/mod.rs:1051:5 = note: this error originates in the macro `impl_integer_for_usize` which comes from the expansion of the macro `uint_impl` (in Nightly builds, run with -Z macro-backtrace for more info) help: consider using clone here | 1022 | assert!((6 as $T).is_multiple_of(&(6 as $T).clone())); | ++++++++ error[E0308]: mismatched types --> src/lib.rs:1023:50 | 1023 | assert!((6 as $T).is_multiple_of(&(3 as $T))); | -------------- ^^^^^^^^^^ expected `u16`, found `&u16` | | | arguments to this method are incorrect ... 1053 | impl_integer_for_usize!(u16, test_integer_u16); | ---------------------------------------------- in this macro invocation | note: method defined here --> /home/iurt/rpmbuild/BUILD/rust-1.87.0-build/rustc-1.87.0-src/library/core/src/num/mod.rs:1051:5 = note: this error originates in the macro `impl_integer_for_usize` which comes from the expansion of the macro `uint_impl` (in Nightly builds, run with -Z macro-backtrace for more info) help: consider using clone here | 1023 | assert!((6 as $T).is_multiple_of(&(3 as $T).clone())); | ++++++++ error[E0308]: mismatched types --> src/lib.rs:1024:50 | 1024 | assert!((6 as $T).is_multiple_of(&(1 as $T))); | -------------- ^^^^^^^^^^ expected `u16`, found `&u16` | | | arguments to this method are incorrect ... 1053 | impl_integer_for_usize!(u16, test_integer_u16); | ---------------------------------------------- in this macro invocation | note: method defined here --> /home/iurt/rpmbuild/BUILD/rust-1.87.0-build/rustc-1.87.0-src/library/core/src/num/mod.rs:1051:5 = note: this error originates in the macro `impl_integer_for_usize` which comes from the expansion of the macro `uint_impl` (in Nightly builds, run with -Z macro-backtrace for more info) help: consider using clone here | 1024 | assert!((6 as $T).is_multiple_of(&(1 as $T).clone())); | ++++++++ error[E0308]: mismatched types --> src/lib.rs:1026:52 | 1026 | assert!(!(42 as $T).is_multiple_of(&(5 as $T))); | -------------- ^^^^^^^^^^ expected `u16`, found `&u16` | | | arguments to this method are incorrect ... 1053 | impl_integer_for_usize!(u16, test_integer_u16); | ---------------------------------------------- in this macro invocation | note: method defined here --> /home/iurt/rpmbuild/BUILD/rust-1.87.0-build/rustc-1.87.0-src/library/core/src/num/mod.rs:1051:5 = note: this error originates in the macro `impl_integer_for_usize` which comes from the expansion of the macro `uint_impl` (in Nightly builds, run with -Z macro-backtrace for more info) help: consider using clone here | 1026 | assert!(!(42 as $T).is_multiple_of(&(5 as $T).clone())); | ++++++++ error[E0308]: mismatched types --> src/lib.rs:1027:51 | 1027 | assert!(!(5 as $T).is_multiple_of(&(3 as $T))); | -------------- ^^^^^^^^^^ expected `u16`, found `&u16` | | | arguments to this method are incorrect ... 1053 | impl_integer_for_usize!(u16, test_integer_u16); | ---------------------------------------------- in this macro invocation | note: method defined here --> /home/iurt/rpmbuild/BUILD/rust-1.87.0-build/rustc-1.87.0-src/library/core/src/num/mod.rs:1051:5 = note: this error originates in the macro `impl_integer_for_usize` which comes from the expansion of the macro `uint_impl` (in Nightly builds, run with -Z macro-backtrace for more info) help: consider using clone here | 1027 | assert!(!(5 as $T).is_multiple_of(&(3 as $T).clone())); | ++++++++ error[E0308]: mismatched types --> src/lib.rs:1028:52 | 1028 | assert!(!(42 as $T).is_multiple_of(&(0 as $T))); | -------------- ^^^^^^^^^^ expected `u16`, found `&u16` | | | arguments to this method are incorrect ... 1053 | impl_integer_for_usize!(u16, test_integer_u16); | ---------------------------------------------- in this macro invocation | note: method defined here --> /home/iurt/rpmbuild/BUILD/rust-1.87.0-build/rustc-1.87.0-src/library/core/src/num/mod.rs:1051:5 = note: this error originates in the macro `impl_integer_for_usize` which comes from the expansion of the macro `uint_impl` (in Nightly builds, run with -Z macro-backtrace for more info) help: consider using clone here | 1028 | assert!(!(42 as $T).is_multiple_of(&(0 as $T).clone())); | ++++++++ error[E0308]: mismatched types --> src/lib.rs:1021:50 | 1021 | assert!((0 as $T).is_multiple_of(&(0 as $T))); | -------------- ^^^^^^^^^^ expected `u32`, found `&u32` | | | arguments to this method are incorrect ... 1054 | impl_integer_for_usize!(u32, test_integer_u32); | ---------------------------------------------- in this macro invocation | note: method defined here --> /home/iurt/rpmbuild/BUILD/rust-1.87.0-build/rustc-1.87.0-src/library/core/src/num/mod.rs:1098:5 = note: this error originates in the macro `impl_integer_for_usize` which comes from the expansion of the macro `uint_impl` (in Nightly builds, run with -Z macro-backtrace for more info) help: consider using clone here | 1021 | assert!((0 as $T).is_multiple_of(&(0 as $T).clone())); | ++++++++ error[E0308]: mismatched types --> src/lib.rs:1022:50 | 1022 | assert!((6 as $T).is_multiple_of(&(6 as $T))); | -------------- ^^^^^^^^^^ expected `u32`, found `&u32` | | | arguments to this method are incorrect ... 1054 | impl_integer_for_usize!(u32, test_integer_u32); | ---------------------------------------------- in this macro invocation | note: method defined here --> /home/iurt/rpmbuild/BUILD/rust-1.87.0-build/rustc-1.87.0-src/library/core/src/num/mod.rs:1098:5 = note: this error originates in the macro `impl_integer_for_usize` which comes from the expansion of the macro `uint_impl` (in Nightly builds, run with -Z macro-backtrace for more info) help: consider using clone here | 1022 | assert!((6 as $T).is_multiple_of(&(6 as $T).clone())); | ++++++++ error[E0308]: mismatched types --> src/lib.rs:1023:50 | 1023 | assert!((6 as $T).is_multiple_of(&(3 as $T))); | -------------- ^^^^^^^^^^ expected `u32`, found `&u32` | | | arguments to this method are incorrect ... 1054 | impl_integer_for_usize!(u32, test_integer_u32); | ---------------------------------------------- in this macro invocation | note: method defined here --> /home/iurt/rpmbuild/BUILD/rust-1.87.0-build/rustc-1.87.0-src/library/core/src/num/mod.rs:1098:5 = note: this error originates in the macro `impl_integer_for_usize` which comes from the expansion of the macro `uint_impl` (in Nightly builds, run with -Z macro-backtrace for more info) help: consider using clone here | 1023 | assert!((6 as $T).is_multiple_of(&(3 as $T).clone())); | ++++++++ error[E0308]: mismatched types --> src/lib.rs:1024:50 | 1024 | assert!((6 as $T).is_multiple_of(&(1 as $T))); | -------------- ^^^^^^^^^^ expected `u32`, found `&u32` | | | arguments to this method are incorrect ... 1054 | impl_integer_for_usize!(u32, test_integer_u32); | ---------------------------------------------- in this macro invocation | note: method defined here --> /home/iurt/rpmbuild/BUILD/rust-1.87.0-build/rustc-1.87.0-src/library/core/src/num/mod.rs:1098:5 = note: this error originates in the macro `impl_integer_for_usize` which comes from the expansion of the macro `uint_impl` (in Nightly builds, run with -Z macro-backtrace for more info) help: consider using clone here | 1024 | assert!((6 as $T).is_multiple_of(&(1 as $T).clone())); | ++++++++ error[E0308]: mismatched types --> src/lib.rs:1026:52 | 1026 | assert!(!(42 as $T).is_multiple_of(&(5 as $T))); | -------------- ^^^^^^^^^^ expected `u32`, found `&u32` | | | arguments to this method are incorrect ... 1054 | impl_integer_for_usize!(u32, test_integer_u32); | ---------------------------------------------- in this macro invocation | note: method defined here --> /home/iurt/rpmbuild/BUILD/rust-1.87.0-build/rustc-1.87.0-src/library/core/src/num/mod.rs:1098:5 = note: this error originates in the macro `impl_integer_for_usize` which comes from the expansion of the macro `uint_impl` (in Nightly builds, run with -Z macro-backtrace for more info) help: consider using clone here | 1026 | assert!(!(42 as $T).is_multiple_of(&(5 as $T).clone())); | ++++++++ error[E0308]: mismatched types --> src/lib.rs:1027:51 | 1027 | assert!(!(5 as $T).is_multiple_of(&(3 as $T))); | -------------- ^^^^^^^^^^ expected `u32`, found `&u32` | | | arguments to this method are incorrect ... 1054 | impl_integer_for_usize!(u32, test_integer_u32); | ---------------------------------------------- in this macro invocation | note: method defined here --> /home/iurt/rpmbuild/BUILD/rust-1.87.0-build/rustc-1.87.0-src/library/core/src/num/mod.rs:1098:5 = note: this error originates in the macro `impl_integer_for_usize` which comes from the expansion of the macro `uint_impl` (in Nightly builds, run with -Z macro-backtrace for more info) help: consider using clone here | 1027 | assert!(!(5 as $T).is_multiple_of(&(3 as $T).clone())); | ++++++++ error[E0308]: mismatched types --> src/lib.rs:1028:52 | 1028 | assert!(!(42 as $T).is_multiple_of(&(0 as $T))); | -------------- ^^^^^^^^^^ expected `u32`, found `&u32` | | | arguments to this method are incorrect ... 1054 | impl_integer_for_usize!(u32, test_integer_u32); | ---------------------------------------------- in this macro invocation | note: method defined here --> /home/iurt/rpmbuild/BUILD/rust-1.87.0-build/rustc-1.87.0-src/library/core/src/num/mod.rs:1098:5 = note: this error originates in the macro `impl_integer_for_usize` which comes from the expansion of the macro `uint_impl` (in Nightly builds, run with -Z macro-backtrace for more info) help: consider using clone here | 1028 | assert!(!(42 as $T).is_multiple_of(&(0 as $T).clone())); | ++++++++ error[E0308]: mismatched types --> src/lib.rs:1021:50 | 1021 | assert!((0 as $T).is_multiple_of(&(0 as $T))); | -------------- ^^^^^^^^^^ expected `u64`, found `&u64` | | | arguments to this method are incorrect ... 1055 | impl_integer_for_usize!(u64, test_integer_u64); | ---------------------------------------------- in this macro invocation | note: method defined here --> /home/iurt/rpmbuild/BUILD/rust-1.87.0-build/rustc-1.87.0-src/library/core/src/num/mod.rs:1121:5 = note: this error originates in the macro `impl_integer_for_usize` which comes from the expansion of the macro `uint_impl` (in Nightly builds, run with -Z macro-backtrace for more info) help: consider using clone here | 1021 | assert!((0 as $T).is_multiple_of(&(0 as $T).clone())); | ++++++++ error[E0308]: mismatched types --> src/lib.rs:1022:50 | 1022 | assert!((6 as $T).is_multiple_of(&(6 as $T))); | -------------- ^^^^^^^^^^ expected `u64`, found `&u64` | | | arguments to this method are incorrect ... 1055 | impl_integer_for_usize!(u64, test_integer_u64); | ---------------------------------------------- in this macro invocation | note: method defined here --> /home/iurt/rpmbuild/BUILD/rust-1.87.0-build/rustc-1.87.0-src/library/core/src/num/mod.rs:1121:5 = note: this error originates in the macro `impl_integer_for_usize` which comes from the expansion of the macro `uint_impl` (in Nightly builds, run with -Z macro-backtrace for more info) help: consider using clone here | 1022 | assert!((6 as $T).is_multiple_of(&(6 as $T).clone())); | ++++++++ error[E0308]: mismatched types --> src/lib.rs:1023:50 | 1023 | assert!((6 as $T).is_multiple_of(&(3 as $T))); | -------------- ^^^^^^^^^^ expected `u64`, found `&u64` | | | arguments to this method are incorrect ... 1055 | impl_integer_for_usize!(u64, test_integer_u64); | ---------------------------------------------- in this macro invocation | note: method defined here --> /home/iurt/rpmbuild/BUILD/rust-1.87.0-build/rustc-1.87.0-src/library/core/src/num/mod.rs:1121:5 = note: this error originates in the macro `impl_integer_for_usize` which comes from the expansion of the macro `uint_impl` (in Nightly builds, run with -Z macro-backtrace for more info) help: consider using clone here | 1023 | assert!((6 as $T).is_multiple_of(&(3 as $T).clone())); | ++++++++ error[E0308]: mismatched types --> src/lib.rs:1024:50 | 1024 | assert!((6 as $T).is_multiple_of(&(1 as $T))); | -------------- ^^^^^^^^^^ expected `u64`, found `&u64` | | | arguments to this method are incorrect ... 1055 | impl_integer_for_usize!(u64, test_integer_u64); | ---------------------------------------------- in this macro invocation | note: method defined here --> /home/iurt/rpmbuild/BUILD/rust-1.87.0-build/rustc-1.87.0-src/library/core/src/num/mod.rs:1121:5 = note: this error originates in the macro `impl_integer_for_usize` which comes from the expansion of the macro `uint_impl` (in Nightly builds, run with -Z macro-backtrace for more info) help: consider using clone here | 1024 | assert!((6 as $T).is_multiple_of(&(1 as $T).clone())); | ++++++++ error[E0308]: mismatched types --> src/lib.rs:1026:52 | 1026 | assert!(!(42 as $T).is_multiple_of(&(5 as $T))); | -------------- ^^^^^^^^^^ expected `u64`, found `&u64` | | | arguments to this method are incorrect ... 1055 | impl_integer_for_usize!(u64, test_integer_u64); | ---------------------------------------------- in this macro invocation | note: method defined here --> /home/iurt/rpmbuild/BUILD/rust-1.87.0-build/rustc-1.87.0-src/library/core/src/num/mod.rs:1121:5 = note: this error originates in the macro `impl_integer_for_usize` which comes from the expansion of the macro `uint_impl` (in Nightly builds, run with -Z macro-backtrace for more info) help: consider using clone here | 1026 | assert!(!(42 as $T).is_multiple_of(&(5 as $T).clone())); | ++++++++ error[E0308]: mismatched types --> src/lib.rs:1027:51 | 1027 | assert!(!(5 as $T).is_multiple_of(&(3 as $T))); | -------------- ^^^^^^^^^^ expected `u64`, found `&u64` | | | arguments to this method are incorrect ... 1055 | impl_integer_for_usize!(u64, test_integer_u64); | ---------------------------------------------- in this macro invocation | note: method defined here --> /home/iurt/rpmbuild/BUILD/rust-1.87.0-build/rustc-1.87.0-src/library/core/src/num/mod.rs:1121:5 = note: this error originates in the macro `impl_integer_for_usize` which comes from the expansion of the macro `uint_impl` (in Nightly builds, run with -Z macro-backtrace for more info) help: consider using clone here | 1027 | assert!(!(5 as $T).is_multiple_of(&(3 as $T).clone())); | ++++++++ error[E0308]: mismatched types --> src/lib.rs:1028:52 | 1028 | assert!(!(42 as $T).is_multiple_of(&(0 as $T))); | -------------- ^^^^^^^^^^ expected `u64`, found `&u64` | | | arguments to this method are incorrect ... 1055 | impl_integer_for_usize!(u64, test_integer_u64); | ---------------------------------------------- in this macro invocation | note: method defined here --> /home/iurt/rpmbuild/BUILD/rust-1.87.0-build/rustc-1.87.0-src/library/core/src/num/mod.rs:1121:5 = note: this error originates in the macro `impl_integer_for_usize` which comes from the expansion of the macro `uint_impl` (in Nightly builds, run with -Z macro-backtrace for more info) help: consider using clone here | 1028 | assert!(!(42 as $T).is_multiple_of(&(0 as $T).clone())); | ++++++++ error[E0308]: mismatched types --> src/lib.rs:1021:50 | 1021 | assert!((0 as $T).is_multiple_of(&(0 as $T))); | -------------- ^^^^^^^^^^ expected `u128`, found `&u128` | | | arguments to this method are incorrect ... 1056 | impl_integer_for_usize!(u128, test_integer_u128); | ------------------------------------------------ in this macro invocation | note: method defined here --> /home/iurt/rpmbuild/BUILD/rust-1.87.0-build/rustc-1.87.0-src/library/core/src/num/mod.rs:1144:5 = note: this error originates in the macro `impl_integer_for_usize` which comes from the expansion of the macro `uint_impl` (in Nightly builds, run with -Z macro-backtrace for more info) help: consider using clone here | 1021 | assert!((0 as $T).is_multiple_of(&(0 as $T).clone())); | ++++++++ error[E0308]: mismatched types --> src/lib.rs:1022:50 | 1022 | assert!((6 as $T).is_multiple_of(&(6 as $T))); | -------------- ^^^^^^^^^^ expected `u128`, found `&u128` | | | arguments to this method are incorrect ... 1056 | impl_integer_for_usize!(u128, test_integer_u128); | ------------------------------------------------ in this macro invocation | note: method defined here --> /home/iurt/rpmbuild/BUILD/rust-1.87.0-build/rustc-1.87.0-src/library/core/src/num/mod.rs:1144:5 = note: this error originates in the macro `impl_integer_for_usize` which comes from the expansion of the macro `uint_impl` (in Nightly builds, run with -Z macro-backtrace for more info) help: consider using clone here | 1022 | assert!((6 as $T).is_multiple_of(&(6 as $T).clone())); | ++++++++ error[E0308]: mismatched types --> src/lib.rs:1023:50 | 1023 | assert!((6 as $T).is_multiple_of(&(3 as $T))); | -------------- ^^^^^^^^^^ expected `u128`, found `&u128` | | | arguments to this method are incorrect ... 1056 | impl_integer_for_usize!(u128, test_integer_u128); | ------------------------------------------------ in this macro invocation | note: method defined here --> /home/iurt/rpmbuild/BUILD/rust-1.87.0-build/rustc-1.87.0-src/library/core/src/num/mod.rs:1144:5 = note: this error originates in the macro `impl_integer_for_usize` which comes from the expansion of the macro `uint_impl` (in Nightly builds, run with -Z macro-backtrace for more info) help: consider using clone here | 1023 | assert!((6 as $T).is_multiple_of(&(3 as $T).clone())); | ++++++++ error[E0308]: mismatched types --> src/lib.rs:1024:50 | 1024 | assert!((6 as $T).is_multiple_of(&(1 as $T))); | -------------- ^^^^^^^^^^ expected `u128`, found `&u128` | | | arguments to this method are incorrect ... 1056 | impl_integer_for_usize!(u128, test_integer_u128); | ------------------------------------------------ in this macro invocation | note: method defined here --> /home/iurt/rpmbuild/BUILD/rust-1.87.0-build/rustc-1.87.0-src/library/core/src/num/mod.rs:1144:5 = note: this error originates in the macro `impl_integer_for_usize` which comes from the expansion of the macro `uint_impl` (in Nightly builds, run with -Z macro-backtrace for more info) help: consider using clone here | 1024 | assert!((6 as $T).is_multiple_of(&(1 as $T).clone())); | ++++++++ error[E0308]: mismatched types --> src/lib.rs:1026:52 | 1026 | assert!(!(42 as $T).is_multiple_of(&(5 as $T))); | -------------- ^^^^^^^^^^ expected `u128`, found `&u128` | | | arguments to this method are incorrect ... 1056 | impl_integer_for_usize!(u128, test_integer_u128); | ------------------------------------------------ in this macro invocation | note: method defined here --> /home/iurt/rpmbuild/BUILD/rust-1.87.0-build/rustc-1.87.0-src/library/core/src/num/mod.rs:1144:5 = note: this error originates in the macro `impl_integer_for_usize` which comes from the expansion of the macro `uint_impl` (in Nightly builds, run with -Z macro-backtrace for more info) help: consider using clone here | 1026 | assert!(!(42 as $T).is_multiple_of(&(5 as $T).clone())); | ++++++++ error[E0308]: mismatched types --> src/lib.rs:1027:51 | 1027 | assert!(!(5 as $T).is_multiple_of(&(3 as $T))); | -------------- ^^^^^^^^^^ expected `u128`, found `&u128` | | | arguments to this method are incorrect ... 1056 | impl_integer_for_usize!(u128, test_integer_u128); | ------------------------------------------------ in this macro invocation | note: method defined here --> /home/iurt/rpmbuild/BUILD/rust-1.87.0-build/rustc-1.87.0-src/library/core/src/num/mod.rs:1144:5 = note: this error originates in the macro `impl_integer_for_usize` which comes from the expansion of the macro `uint_impl` (in Nightly builds, run with -Z macro-backtrace for more info) help: consider using clone here | 1027 | assert!(!(5 as $T).is_multiple_of(&(3 as $T).clone())); | ++++++++ error[E0308]: mismatched types --> src/lib.rs:1028:52 | 1028 | assert!(!(42 as $T).is_multiple_of(&(0 as $T))); | -------------- ^^^^^^^^^^ expected `u128`, found `&u128` | | | arguments to this method are incorrect ... 1056 | impl_integer_for_usize!(u128, test_integer_u128); | ------------------------------------------------ in this macro invocation | note: method defined here --> /home/iurt/rpmbuild/BUILD/rust-1.87.0-build/rustc-1.87.0-src/library/core/src/num/mod.rs:1144:5 = note: this error originates in the macro `impl_integer_for_usize` which comes from the expansion of the macro `uint_impl` (in Nightly builds, run with -Z macro-backtrace for more info) help: consider using clone here | 1028 | assert!(!(42 as $T).is_multiple_of(&(0 as $T).clone())); | ++++++++ error[E0308]: mismatched types --> src/lib.rs:1021:50 | 1021 | assert!((0 as $T).is_multiple_of(&(0 as $T))); | -------------- ^^^^^^^^^^ expected `usize`, found `&usize` | | | arguments to this method are incorrect ... 1057 | impl_integer_for_usize!(usize, test_integer_usize); | -------------------------------------------------- in this macro invocation | note: method defined here --> /home/iurt/rpmbuild/BUILD/rust-1.87.0-build/rustc-1.87.0-src/library/core/src/num/mod.rs:1218:5 = note: this error originates in the macro `impl_integer_for_usize` which comes from the expansion of the macro `uint_impl` (in Nightly builds, run with -Z macro-backtrace for more info) help: consider using clone here | 1021 | assert!((0 as $T).is_multiple_of(&(0 as $T).clone())); | ++++++++ error[E0308]: mismatched types --> src/lib.rs:1022:50 | 1022 | assert!((6 as $T).is_multiple_of(&(6 as $T))); | -------------- ^^^^^^^^^^ expected `usize`, found `&usize` | | | arguments to this method are incorrect ... 1057 | impl_integer_for_usize!(usize, test_integer_usize); | -------------------------------------------------- in this macro invocation | note: method defined here --> /home/iurt/rpmbuild/BUILD/rust-1.87.0-build/rustc-1.87.0-src/library/core/src/num/mod.rs:1218:5 = note: this error originates in the macro `impl_integer_for_usize` which comes from the expansion of the macro `uint_impl` (in Nightly builds, run with -Z macro-backtrace for more info) help: consider using clone here | 1022 | assert!((6 as $T).is_multiple_of(&(6 as $T).clone())); | ++++++++ error[E0308]: mismatched types --> src/lib.rs:1023:50 | 1023 | assert!((6 as $T).is_multiple_of(&(3 as $T))); | -------------- ^^^^^^^^^^ expected `usize`, found `&usize` | | | arguments to this method are incorrect ... 1057 | impl_integer_for_usize!(usize, test_integer_usize); | -------------------------------------------------- in this macro invocation | note: method defined here --> /home/iurt/rpmbuild/BUILD/rust-1.87.0-build/rustc-1.87.0-src/library/core/src/num/mod.rs:1218:5 = note: this error originates in the macro `impl_integer_for_usize` which comes from the expansion of the macro `uint_impl` (in Nightly builds, run with -Z macro-backtrace for more info) help: consider using clone here | 1023 | assert!((6 as $T).is_multiple_of(&(3 as $T).clone())); | ++++++++ error[E0308]: mismatched types --> src/lib.rs:1024:50 | 1024 | assert!((6 as $T).is_multiple_of(&(1 as $T))); | -------------- ^^^^^^^^^^ expected `usize`, found `&usize` | | | arguments to this method are incorrect ... 1057 | impl_integer_for_usize!(usize, test_integer_usize); | -------------------------------------------------- in this macro invocation | note: method defined here --> /home/iurt/rpmbuild/BUILD/rust-1.87.0-build/rustc-1.87.0-src/library/core/src/num/mod.rs:1218:5 = note: this error originates in the macro `impl_integer_for_usize` which comes from the expansion of the macro `uint_impl` (in Nightly builds, run with -Z macro-backtrace for more info) help: consider using clone here | 1024 | assert!((6 as $T).is_multiple_of(&(1 as $T).clone())); | ++++++++ error[E0308]: mismatched types --> src/lib.rs:1026:52 | 1026 | assert!(!(42 as $T).is_multiple_of(&(5 as $T))); | -------------- ^^^^^^^^^^ expected `usize`, found `&usize` | | | arguments to this method are incorrect ... 1057 | impl_integer_for_usize!(usize, test_integer_usize); | -------------------------------------------------- in this macro invocation | note: method defined here --> /home/iurt/rpmbuild/BUILD/rust-1.87.0-build/rustc-1.87.0-src/library/core/src/num/mod.rs:1218:5 = note: this error originates in the macro `impl_integer_for_usize` which comes from the expansion of the macro `uint_impl` (in Nightly builds, run with -Z macro-backtrace for more info) help: consider using clone here | 1026 | assert!(!(42 as $T).is_multiple_of(&(5 as $T).clone())); | ++++++++ error[E0308]: mismatched types --> src/lib.rs:1027:51 | 1027 | assert!(!(5 as $T).is_multiple_of(&(3 as $T))); | -------------- ^^^^^^^^^^ expected `usize`, found `&usize` | | | arguments to this method are incorrect ... 1057 | impl_integer_for_usize!(usize, test_integer_usize); | -------------------------------------------------- in this macro invocation | note: method defined here --> /home/iurt/rpmbuild/BUILD/rust-1.87.0-build/rustc-1.87.0-src/library/core/src/num/mod.rs:1218:5 = note: this error originates in the macro `impl_integer_for_usize` which comes from the expansion of the macro `uint_impl` (in Nightly builds, run with -Z macro-backtrace for more info) help: consider using clone here | 1027 | assert!(!(5 as $T).is_multiple_of(&(3 as $T).clone())); | ++++++++ error[E0308]: mismatched types --> src/lib.rs:1028:52 | 1028 | assert!(!(42 as $T).is_multiple_of(&(0 as $T))); | -------------- ^^^^^^^^^^ expected `usize`, found `&usize` | | | arguments to this method are incorrect ... 1057 | impl_integer_for_usize!(usize, test_integer_usize); | -------------------------------------------------- in this macro invocation | note: method defined here --> /home/iurt/rpmbuild/BUILD/rust-1.87.0-build/rustc-1.87.0-src/library/core/src/num/mod.rs:1218:5 = note: this error originates in the macro `impl_integer_for_usize` which comes from the expansion of the macro `uint_impl` (in Nightly builds, run with -Z macro-backtrace for more info) help: consider using clone here | 1028 | assert!(!(42 as $T).is_multiple_of(&(0 as $T).clone())); | ++++++++ For more information about this error, try `rustc --explain E0308`. error: could not compile `num-integer` (lib test) due to 42 previous errors Caused by: process didn't exit successfully: `/usr/bin/rustc --crate-name num_integer --edition=2018 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 -C codegen-units=1 -C debuginfo=2 --test --cfg 'feature="default"' --cfg 'feature="std"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("default", "i128", "std"))' -C metadata=56586583ac213ea6 -C extra-filename=-78bb1d7acdfc020d --out-dir /home/pterjan/rpmbuild/BUILD/rust-num-integer-0.1.46-build/num-integer-0.1.46/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-num-integer-0.1.46-build/num-integer-0.1.46/target/rpm/deps --extern num_traits=/home/pterjan/rpmbuild/BUILD/rust-num-integer-0.1.46-build/num-integer-0.1.46/target/rpm/deps/libnum_traits-040944b6c9dc798e.rlib -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` (exit status: 1) warning: build failed, waiting for other jobs to finish... error: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.PF7k1o (%check) RPM build errors: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.PF7k1o (%check) I: [iurt_root_command] ERROR: chroot