D: [iurt_root_command] chroot Building target platforms: noarch Building for target noarch Installing /home/pterjan/rpmbuild/SRPMS/rust-permutator-0.4.3-1.mga10.src.rpm Executing(%mkbuilddir): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.k5pxRs Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.Varaw1 + umask 022 + cd /home/pterjan/rpmbuild/BUILD/rust-permutator-0.4.3-build + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/pterjan/rpmbuild/BUILD/rust-permutator-0.4.3-build + rm -rf permutator-0.4.3 + /usr/lib/rpm/rpmuncompress -x /home/pterjan/rpmbuild/SOURCES/permutator-0.4.3.crate + STATUS=0 + '[' 0 -ne 0 ']' + cd permutator-0.4.3 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/lib/rpm/rpmuncompress /home/pterjan/rpmbuild/SOURCES/permutator-fix-metadata.diff + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + set -euo pipefail + /usr/bin/mkdir -p target/rpm + /usr/bin/ln -s rpm target/release + /usr/bin/rm -rf .cargo/ + /usr/bin/mkdir -p .cargo + cat + cat + /usr/bin/rm -f Cargo.lock + /usr/bin/rm -f Cargo.toml.orig + RPM_EC=0 ++ jobs -p + exit 0 Executing(%generate_buildrequires): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.iwhrS1 + umask 022 + cd /home/pterjan/rpmbuild/BUILD/rust-permutator-0.4.3-build + cd permutator-0.4.3 + /usr/bin/cargo2rpm --path Cargo.toml buildrequires --with-check + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.xLlYxA + umask 022 + cd /home/pterjan/rpmbuild/BUILD/rust-permutator-0.4.3-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 permutator-0.4.3 + '[' 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 -j16 -Z avoid-dev-deps --profile rpm Compiling autocfg v1.5.0 Running `/usr/bin/rustc --crate-name autocfg --edition=2015 /usr/share/cargo/registry/autocfg-1.5.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=3da3d4130c7f067d -C extra-filename=-d9f92939e64234ef --out-dir /home/pterjan/rpmbuild/BUILD/rust-permutator-0.4.3-build/permutator-0.4.3/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-permutator-0.4.3-build/permutator-0.4.3/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=9ab9bc957b966e71 -C extra-filename=-13086f67ce3b61eb --out-dir /home/pterjan/rpmbuild/BUILD/rust-permutator-0.4.3-build/permutator-0.4.3/target/rpm/build/num-traits-13086f67ce3b61eb -L dependency=/home/pterjan/rpmbuild/BUILD/rust-permutator-0.4.3-build/permutator-0.4.3/target/rpm/deps --extern autocfg=/home/pterjan/rpmbuild/BUILD/rust-permutator-0.4.3-build/permutator-0.4.3/target/rpm/deps/libautocfg-d9f92939e64234ef.rlib --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` Running `/home/pterjan/rpmbuild/BUILD/rust-permutator-0.4.3-build/permutator-0.4.3/target/rpm/build/num-traits-13086f67ce3b61eb/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=e961d4a48f6f2dd7 -C extra-filename=-246de8fba2db7890 --out-dir /home/pterjan/rpmbuild/BUILD/rust-permutator-0.4.3-build/permutator-0.4.3/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-permutator-0.4.3-build/permutator-0.4.3/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 Compiling num-complex v0.4.6 Running `/usr/bin/rustc --crate-name num_integer --edition=2018 /usr/share/cargo/registry/num-integer-0.1.46/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", "std"))' -C metadata=750d185ae30befef -C extra-filename=-da1cffb5a6e4ee52 --out-dir /home/pterjan/rpmbuild/BUILD/rust-permutator-0.4.3-build/permutator-0.4.3/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-permutator-0.4.3-build/permutator-0.4.3/target/rpm/deps --extern num_traits=/home/pterjan/rpmbuild/BUILD/rust-permutator-0.4.3-build/permutator-0.4.3/target/rpm/deps/libnum_traits-246de8fba2db7890.rmeta --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` Running `/usr/bin/rustc --crate-name num_complex --edition=2021 /usr/share/cargo/registry/num-complex-0.4.6/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="std"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("bytecheck", "bytemuck", "default", "libm", "rand", "rkyv", "serde", "std"))' -C metadata=018ec2d8f5e11937 -C extra-filename=-32cd842adec8953b --out-dir /home/pterjan/rpmbuild/BUILD/rust-permutator-0.4.3-build/permutator-0.4.3/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-permutator-0.4.3-build/permutator-0.4.3/target/rpm/deps --extern num_traits=/home/pterjan/rpmbuild/BUILD/rust-permutator-0.4.3-build/permutator-0.4.3/target/rpm/deps/libnum_traits-246de8fba2db7890.rmeta --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` Compiling num-bigint v0.4.6 Compiling num-iter v0.1.45 Running `/usr/bin/rustc --crate-name num_iter --edition=2018 /usr/share/cargo/registry/num-iter-0.1.45/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", "std"))' -C metadata=a50100af3c63307e -C extra-filename=-2c4b825e81afeff4 --out-dir /home/pterjan/rpmbuild/BUILD/rust-permutator-0.4.3-build/permutator-0.4.3/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-permutator-0.4.3-build/permutator-0.4.3/target/rpm/deps --extern num_integer=/home/pterjan/rpmbuild/BUILD/rust-permutator-0.4.3-build/permutator-0.4.3/target/rpm/deps/libnum_integer-da1cffb5a6e4ee52.rmeta --extern num_traits=/home/pterjan/rpmbuild/BUILD/rust-permutator-0.4.3-build/permutator-0.4.3/target/rpm/deps/libnum_traits-246de8fba2db7890.rmeta --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` Running `/usr/bin/rustc --crate-name num_bigint --edition=2021 /usr/share/cargo/registry/num-bigint-0.4.6/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="std"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("arbitrary", "default", "quickcheck", "rand", "serde", "std"))' -C metadata=654020edb81a9285 -C extra-filename=-62ccddad75763630 --out-dir /home/pterjan/rpmbuild/BUILD/rust-permutator-0.4.3-build/permutator-0.4.3/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-permutator-0.4.3-build/permutator-0.4.3/target/rpm/deps --extern num_integer=/home/pterjan/rpmbuild/BUILD/rust-permutator-0.4.3-build/permutator-0.4.3/target/rpm/deps/libnum_integer-da1cffb5a6e4ee52.rmeta --extern num_traits=/home/pterjan/rpmbuild/BUILD/rust-permutator-0.4.3-build/permutator-0.4.3/target/rpm/deps/libnum_traits-246de8fba2db7890.rmeta --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` Compiling num-rational v0.4.2 Running `/usr/bin/rustc --crate-name num_rational --edition=2021 /usr/share/cargo/registry/num-rational-0.4.2/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no -C codegen-units=1 -C debuginfo=2 --cfg 'feature="num-bigint"' --cfg 'feature="num-bigint-std"' --cfg 'feature="std"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("default", "num-bigint", "num-bigint-std", "serde", "std"))' -C metadata=2b90f08727e614f1 -C extra-filename=-05a5f500f6d691bc --out-dir /home/pterjan/rpmbuild/BUILD/rust-permutator-0.4.3-build/permutator-0.4.3/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-permutator-0.4.3-build/permutator-0.4.3/target/rpm/deps --extern num_bigint=/home/pterjan/rpmbuild/BUILD/rust-permutator-0.4.3-build/permutator-0.4.3/target/rpm/deps/libnum_bigint-62ccddad75763630.rmeta --extern num_integer=/home/pterjan/rpmbuild/BUILD/rust-permutator-0.4.3-build/permutator-0.4.3/target/rpm/deps/libnum_integer-da1cffb5a6e4ee52.rmeta --extern num_traits=/home/pterjan/rpmbuild/BUILD/rust-permutator-0.4.3-build/permutator-0.4.3/target/rpm/deps/libnum_traits-246de8fba2db7890.rmeta --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` Compiling num v0.4.2 Running `/usr/bin/rustc --crate-name num --edition=2018 /usr/share/cargo/registry/num-0.4.2/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no -C codegen-units=1 -C debuginfo=2 --cfg 'feature="default"' --cfg 'feature="num-bigint"' --cfg 'feature="std"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("alloc", "default", "libm", "num-bigint", "rand", "serde", "std"))' -C metadata=dce69f59097268c0 -C extra-filename=-7690aa12076a4da0 --out-dir /home/pterjan/rpmbuild/BUILD/rust-permutator-0.4.3-build/permutator-0.4.3/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-permutator-0.4.3-build/permutator-0.4.3/target/rpm/deps --extern num_bigint=/home/pterjan/rpmbuild/BUILD/rust-permutator-0.4.3-build/permutator-0.4.3/target/rpm/deps/libnum_bigint-62ccddad75763630.rmeta --extern num_complex=/home/pterjan/rpmbuild/BUILD/rust-permutator-0.4.3-build/permutator-0.4.3/target/rpm/deps/libnum_complex-32cd842adec8953b.rmeta --extern num_integer=/home/pterjan/rpmbuild/BUILD/rust-permutator-0.4.3-build/permutator-0.4.3/target/rpm/deps/libnum_integer-da1cffb5a6e4ee52.rmeta --extern num_iter=/home/pterjan/rpmbuild/BUILD/rust-permutator-0.4.3-build/permutator-0.4.3/target/rpm/deps/libnum_iter-2c4b825e81afeff4.rmeta --extern num_rational=/home/pterjan/rpmbuild/BUILD/rust-permutator-0.4.3-build/permutator-0.4.3/target/rpm/deps/libnum_rational-05a5f500f6d691bc.rmeta --extern num_traits=/home/pterjan/rpmbuild/BUILD/rust-permutator-0.4.3-build/permutator-0.4.3/target/rpm/deps/libnum_traits-246de8fba2db7890.rmeta --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` Compiling permutator v0.4.3 (/home/pterjan/rpmbuild/BUILD/rust-permutator-0.4.3-build/permutator-0.4.3) Running `/usr/bin/rustc --crate-name permutator --edition=2018 src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type rlib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no -C codegen-units=1 -C debuginfo=2 --cfg 'feature="default"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("default"))' -C metadata=b87a66cdc3909d5d -C extra-filename=-0f1afbc28771413a --out-dir /home/pterjan/rpmbuild/BUILD/rust-permutator-0.4.3-build/permutator-0.4.3/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-permutator-0.4.3-build/permutator-0.4.3/target/rpm/deps --extern num=/home/pterjan/rpmbuild/BUILD/rust-permutator-0.4.3-build/permutator-0.4.3/target/rpm/deps/libnum-7690aa12076a4da0.rmeta -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` warning: implicit autoref creates a reference to the dereference of a raw pointer --> src/lib.rs:2010:19 | 2010 | assert_eq!(k, (*result).len()); | ^^------^^^^^^^ | | | this raw pointer has type `*mut [&T]` | = note: creating a reference requires the pointer target to be valid and imposes aliasing requirements note: autoref is being applied to this expression, resulting in: `&[&T]` --> src/lib.rs:2010:19 | 2010 | assert_eq!(k, (*result).len()); | ^^^^^^^^^ note: method calls to `len` require a reference --> /home/iurt/rpmbuild/BUILD/rust-1.92.0-build/rustc-1.92.0-src/library/core/src/slice/mod.rs:114:5 = note: `#[warn(dangerous_implicit_autorefs)]` on by default help: try using a raw pointer method instead; or if this reference is intentional, make it explicit | 2010 | assert_eq!(k, (&(*result)).len()); | ++ + warning: implicit autoref creates a reference to the dereference of a raw pointer --> src/lib.rs:2485:20 | 2485 | t(&(*perm_ptr)[0..k]) | ^^--------^^^^^^^ | | | this raw pointer has type `*const Vec<&T>` | = note: creating a reference requires the pointer target to be valid and imposes aliasing requirements note: autoref is being applied to this expression, resulting in: `&Vec<&T>` --> src/lib.rs:2485:20 | 2485 | t(&(*perm_ptr)[0..k]) | ^^^^^^^^^^^ help: try using a raw pointer method instead; or if this reference is intentional, make it explicit | 2485 | t(&(&(*perm_ptr))[0..k]) | ++ + warning: implicit autoref creates a reference to the dereference of a raw pointer --> src/lib.rs:2636:16 | 2636 | assert_eq!((*result).len(), d.len(), "`result` shall has length equals to `d`"); | ^^------^^^^^^^ | | | this raw pointer has type `*mut [&T]` | = note: creating a reference requires the pointer target to be valid and imposes aliasing requirements note: autoref is being applied to this expression, resulting in: `&[&T]` --> src/lib.rs:2636:16 | 2636 | assert_eq!((*result).len(), d.len(), "`result` shall has length equals to `d`"); | ^^^^^^^^^ note: method calls to `len` require a reference --> /home/iurt/rpmbuild/BUILD/rust-1.92.0-build/rustc-1.92.0-src/library/core/src/slice/mod.rs:114:5 help: try using a raw pointer method instead; or if this reference is intentional, make it explicit | 2636 | assert_eq!((&(*result)).len(), d.len(), "`result` shall has length equals to `d`"); | ++ + warning: implicit autoref creates a reference to the dereference of a raw pointer --> src/lib.rs:2644:16 | 2644 | t(&(*result)[0..k]) | ^^------^^^^^^^ | | | this raw pointer has type `*mut [&T]` | = note: creating a reference requires the pointer target to be valid and imposes aliasing requirements note: autoref is being applied to this expression, resulting in: `&[&T]` --> src/lib.rs:2644:16 | 2644 | t(&(*result)[0..k]) | ^^^^^^^^^ help: try using a raw pointer method instead; or if this reference is intentional, make it explicit | 2644 | t(&(&(*result))[0..k]) | ++ + warning: hiding a lifetime that's elided elsewhere is confusing --> src/lib.rs:3171:23 | 3171 | pub fn new(data : &[T], r : usize) -> GosperCombinationIterator { | ^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default help: use `'_` for type paths | 3171 | pub fn new(data : &[T], r : usize) -> GosperCombinationIterator<'_, T> { | +++ warning: hiding a lifetime that's elided elsewhere is confusing --> src/lib.rs:3755:23 | 3755 | pub fn new(data : &[T], r : usize) -> LargeCombinationIterator { | ^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 3755 | pub fn new(data : &[T], r : usize) -> LargeCombinationIterator<'_, T> { | +++ warning: hiding a lifetime that's elided elsewhere is confusing --> src/lib.rs:4120:23 | 4120 | pub fn new(data : &mut [T]) -> HeapPermutationIterator { | ^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 4120 | pub fn new(data : &mut [T]) -> HeapPermutationIterator<'_, T> { | +++ warning: implicit autoref creates a reference to the dereference of a raw pointer --> src/lib.rs:4317:25 | 4317 | c : vec![0; (*data).len()], | ^^----^^^^^^^ | | | this raw pointer has type `*mut [T]` | = note: creating a reference requires the pointer target to be valid and imposes aliasing requirements note: autoref is being applied to this expression, resulting in: `&[T]` --> src/lib.rs:4317:25 | 4317 | c : vec![0; (*data).len()], | ^^^^^^^ note: method calls to `len` require a reference --> /home/iurt/rpmbuild/BUILD/rust-1.92.0-build/rustc-1.92.0-src/library/core/src/slice/mod.rs:114:5 help: try using a raw pointer method instead; or if this reference is intentional, make it explicit | 4317 | c : vec![0; (&(*data)).len()], | ++ + warning: hiding a lifetime that's elided elsewhere is confusing --> src/lib.rs:4498:23 | 4498 | pub fn new(data : &[T], k : usize) -> KPermutationIterator { | ^^^^ ^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 4498 | pub fn new(data : &[T], k : usize) -> KPermutationIterator<'_, T> { | +++ warning: hiding a lifetime that's named elsewhere is confusing --> src/lib.rs:5077:42 | 5077 | pub fn new(data : &'a [T], t : F) -> XPermutationIterator { | -- ^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is named here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: consistently use `'a` | 5077 | pub fn new(data : &'a [T], t : F) -> XPermutationIterator<'a, F, T> { | +++ warning: implicit autoref creates a reference to the dereference of a raw pointer --> src/lib.rs:5123:24 | 5123 | t(&(*result_ptr)[0..k]) | ^^----------^^^^^^^ | | | this raw pointer has type `*const [&T]` | = note: creating a reference requires the pointer target to be valid and imposes aliasing requirements note: autoref is being applied to this expression, resulting in: `&[&T]` --> src/lib.rs:5123:24 | 5123 | t(&(*result_ptr)[0..k]) | ^^^^^^^^^^^^^ help: try using a raw pointer method instead; or if this reference is intentional, make it explicit | 5123 | t(&(&(*result_ptr))[0..k]) | ++ + warning: implicit autoref creates a reference to the dereference of a raw pointer --> src/lib.rs:5256:24 | 5256 | t(&(*result_ptr)[0..k]) | ^^----------^^^^^^^ | | | this raw pointer has type `*const [&T]` | = note: creating a reference requires the pointer target to be valid and imposes aliasing requirements note: autoref is being applied to this expression, resulting in: `&[&T]` --> src/lib.rs:5256:24 | 5256 | t(&(*result_ptr)[0..k]) | ^^^^^^^^^^^^^ help: try using a raw pointer method instead; or if this reference is intentional, make it explicit | 5256 | t(&(&(*result_ptr))[0..k]) | ++ + warning: implicit autoref creates a reference to the dereference of a raw pointer --> src/lib.rs:5389:24 | 5389 | t(&(*result_ptr)[0..k]) | ^^----------^^^^^^^ | | | this raw pointer has type `*const [&T]` | = note: creating a reference requires the pointer target to be valid and imposes aliasing requirements note: autoref is being applied to this expression, resulting in: `&[&T]` --> src/lib.rs:5389:24 | 5389 | t(&(*result_ptr)[0..k]) | ^^^^^^^^^^^^^ help: try using a raw pointer method instead; or if this reference is intentional, make it explicit | 5389 | t(&(&(*result_ptr))[0..k]) | ++ + warning: hiding a lifetime that's named elsewhere is confusing --> src/lib.rs:6148:57 | 6148 | fn permutation(&'a mut self) -> Chain>, HeapPermutationIterator> { | -- the lifetime is named here ^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: consistently use `'a` | 6148 | fn permutation(&'a mut self) -> Chain>, HeapPermutationIterator<'a, T>> { | +++ warning: hiding a lifetime that's named elsewhere is confusing --> src/lib.rs:6166:57 | 6166 | fn permutation(&'a mut self) -> Chain>, HeapPermutationIterator> { | -- the lifetime is named here ^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: consistently use `'a` | 6166 | fn permutation(&'a mut self) -> Chain>, HeapPermutationIterator<'a, T>> { | +++ warning: hiding a lifetime that's named elsewhere is confusing --> src/lib.rs:6184:53 | 6184 | fn permutation(&'a mut self) -> Chain, HeapPermutationCellIter> { | -- the lifetime is named here ^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: consistently use `'a` | 6184 | fn permutation(&'a mut self) -> Chain, HeapPermutationCellIter<'a, T>> { | +++ warning: hiding a lifetime that's named elsewhere is confusing --> src/lib.rs:6213:53 | 6213 | fn permutation(&'a mut self) -> Chain, HeapPermutationRefIter> { | -- the lifetime is named here ^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: consistently use `'a` | 6213 | fn permutation(&'a mut self) -> Chain, HeapPermutationRefIter<'a, T>> { | +++ warning: implicit autoref creates a reference to the dereference of a raw pointer --> src/lib.rs:6218:33 | 6218 | c : vec![0; (**self).len()], | ^^-----^^^^^^^ | | | this raw pointer has type `*mut [T]` | = note: creating a reference requires the pointer target to be valid and imposes aliasing requirements note: autoref is being applied to this expression, resulting in: `&[T]` --> src/lib.rs:6218:33 | 6218 | c : vec![0; (**self).len()], | ^^^^^^^^ note: method calls to `len` require a reference --> /home/iurt/rpmbuild/BUILD/rust-1.92.0-build/rustc-1.92.0-src/library/core/src/slice/mod.rs:114:5 help: try using a raw pointer method instead; or if this reference is intentional, make it explicit | 6218 | c : vec![0; (&(**self)).len()], | ++ + warning: implicit autoref creates a reference to the dereference of a raw pointer --> src/copy/mod.rs:1656:19 | 1656 | assert_eq!(k, (*result).len(), "Result is too large. Result length need to be exactly equals to 'k'"); | ^^------^^^^^^^ | | | this raw pointer has type `*mut [T]` | = note: creating a reference requires the pointer target to be valid and imposes aliasing requirements note: autoref is being applied to this expression, resulting in: `&[T]` --> src/copy/mod.rs:1656:19 | 1656 | assert_eq!(k, (*result).len(), "Result is too large. Result length need to be exactly equals to 'k'"); | ^^^^^^^^^ note: method calls to `len` require a reference --> /home/iurt/rpmbuild/BUILD/rust-1.92.0-build/rustc-1.92.0-src/library/core/src/slice/mod.rs:114:5 help: try using a raw pointer method instead; or if this reference is intentional, make it explicit | 1656 | assert_eq!(k, (&(*result)).len(), "Result is too large. Result length need to be exactly equals to 'k'"); | ++ + warning: implicit autoref creates a reference to the dereference of a raw pointer --> src/copy/mod.rs:2008:20 | 2008 | t(&(*perm_ptr)[0..k]) | ^^--------^^^^^^^ | | | this raw pointer has type `*const Vec` | = note: creating a reference requires the pointer target to be valid and imposes aliasing requirements note: autoref is being applied to this expression, resulting in: `&Vec` --> src/copy/mod.rs:2008:20 | 2008 | t(&(*perm_ptr)[0..k]) | ^^^^^^^^^^^ help: try using a raw pointer method instead; or if this reference is intentional, make it explicit | 2008 | t(&(&(*perm_ptr))[0..k]) | ++ + warning: implicit autoref creates a reference to the dereference of a raw pointer --> src/copy/mod.rs:2159:16 | 2159 | assert_eq!((*result).len(), d.len(), "`result` shall has length equals to `d`"); | ^^------^^^^^^^ | | | this raw pointer has type `*mut [T]` | = note: creating a reference requires the pointer target to be valid and imposes aliasing requirements note: autoref is being applied to this expression, resulting in: `&[T]` --> src/copy/mod.rs:2159:16 | 2159 | assert_eq!((*result).len(), d.len(), "`result` shall has length equals to `d`"); | ^^^^^^^^^ note: method calls to `len` require a reference --> /home/iurt/rpmbuild/BUILD/rust-1.92.0-build/rustc-1.92.0-src/library/core/src/slice/mod.rs:114:5 help: try using a raw pointer method instead; or if this reference is intentional, make it explicit | 2159 | assert_eq!((&(*result)).len(), d.len(), "`result` shall has length equals to `d`"); | ++ + warning: implicit autoref creates a reference to the dereference of a raw pointer --> src/copy/mod.rs:2167:16 | 2167 | t(&(*result)[0..k]) | ^^------^^^^^^^ | | | this raw pointer has type `*mut [T]` | = note: creating a reference requires the pointer target to be valid and imposes aliasing requirements note: autoref is being applied to this expression, resulting in: `&[T]` --> src/copy/mod.rs:2167:16 | 2167 | t(&(*result)[0..k]) | ^^^^^^^^^ help: try using a raw pointer method instead; or if this reference is intentional, make it explicit | 2167 | t(&(&(*result))[0..k]) | ++ + warning: hiding a lifetime that's elided elsewhere is confusing --> src/copy/mod.rs:2609:23 | 2609 | pub fn new(data : &[T], r : usize) -> GosperCombinationIterator { | ^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 2609 | pub fn new(data : &[T], r : usize) -> GosperCombinationIterator<'_, T> { | +++ warning: hiding a lifetime that's elided elsewhere is confusing --> src/copy/mod.rs:3054:23 | 3054 | pub fn new(data : &[T], r : usize) -> LargeCombinationIterator { | ^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 3054 | pub fn new(data : &[T], r : usize) -> LargeCombinationIterator<'_, T> { | +++ warning: hiding a lifetime that's elided elsewhere is confusing --> src/copy/mod.rs:3411:23 | 3411 | pub fn new(data : &[T], k : usize) -> KPermutationIterator { | ^^^^ ^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 3411 | pub fn new(data : &[T], k : usize) -> KPermutationIterator<'_, T> { | +++ warning: hiding a lifetime that's named elsewhere is confusing --> src/copy/mod.rs:4245:42 | 4245 | pub fn new(data : &'a [T], t : F) -> XPermutationIterator { | -- ^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is named here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: consistently use `'a` | 4245 | pub fn new(data : &'a [T], t : F) -> XPermutationIterator<'a, F, T> { | +++ warning: implicit autoref creates a reference to the dereference of a raw pointer --> src/copy/mod.rs:4291:24 | 4291 | t(&(*result_ptr)[0..k]) | ^^----------^^^^^^^ | | | this raw pointer has type `*const [T]` | = note: creating a reference requires the pointer target to be valid and imposes aliasing requirements note: autoref is being applied to this expression, resulting in: `&[T]` --> src/copy/mod.rs:4291:24 | 4291 | t(&(*result_ptr)[0..k]) | ^^^^^^^^^^^^^ help: try using a raw pointer method instead; or if this reference is intentional, make it explicit | 4291 | t(&(&(*result_ptr))[0..k]) | ++ + warning: implicit autoref creates a reference to the dereference of a raw pointer --> src/copy/mod.rs:4424:24 | 4424 | t(&(*result_ptr)[0..k]) | ^^----------^^^^^^^ | | | this raw pointer has type `*const [T]` | = note: creating a reference requires the pointer target to be valid and imposes aliasing requirements note: autoref is being applied to this expression, resulting in: `&[T]` --> src/copy/mod.rs:4424:24 | 4424 | t(&(*result_ptr)[0..k]) | ^^^^^^^^^^^^^ help: try using a raw pointer method instead; or if this reference is intentional, make it explicit | 4424 | t(&(&(*result_ptr))[0..k]) | ++ + warning: implicit autoref creates a reference to the dereference of a raw pointer --> src/copy/mod.rs:4557:24 | 4557 | t(&(*result_ptr)[0..k]) | ^^----------^^^^^^^ | | | this raw pointer has type `*const [T]` | = note: creating a reference requires the pointer target to be valid and imposes aliasing requirements note: autoref is being applied to this expression, resulting in: `&[T]` --> src/copy/mod.rs:4557:24 | 4557 | t(&(*result_ptr)[0..k]) | ^^^^^^^^^^^^^ help: try using a raw pointer method instead; or if this reference is intentional, make it explicit | 4557 | t(&(&(*result_ptr))[0..k]) | ++ + warning: hiding a lifetime that's named elsewhere is confusing --> src/copy/mod.rs:4973:57 | 4973 | fn permutation(&'a mut self) -> Chain>, HeapPermutationIterator> { | -- the lifetime is named here ^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: consistently use `'a` | 4973 | fn permutation(&'a mut self) -> Chain>, HeapPermutationIterator<'a, T>> { | +++ warning: hiding a lifetime that's named elsewhere is confusing --> src/copy/mod.rs:4991:53 | 4991 | fn permutation(&'a mut self) -> Chain, HeapPermutationCellIter> { | -- the lifetime is named here ^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: consistently use `'a` | 4991 | fn permutation(&'a mut self) -> Chain, HeapPermutationCellIter<'a, T>> { | +++ warning: hiding a lifetime that's named elsewhere is confusing --> src/copy/mod.rs:5020:53 | 5020 | fn permutation(&'a mut self) -> Chain, HeapPermutationRefIter> { | -- the lifetime is named here ^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: consistently use `'a` | 5020 | fn permutation(&'a mut self) -> Chain, HeapPermutationRefIter<'a, T>> { | +++ warning: implicit autoref creates a reference to the dereference of a raw pointer --> src/copy/mod.rs:5025:33 | 5025 | c : vec![0; (**self).len()], | ^^-----^^^^^^^ | | | this raw pointer has type `*mut [T]` | = note: creating a reference requires the pointer target to be valid and imposes aliasing requirements note: autoref is being applied to this expression, resulting in: `&[T]` --> src/copy/mod.rs:5025:33 | 5025 | c : vec![0; (**self).len()], | ^^^^^^^^ note: method calls to `len` require a reference --> /home/iurt/rpmbuild/BUILD/rust-1.92.0-build/rustc-1.92.0-src/library/core/src/slice/mod.rs:114:5 help: try using a raw pointer method instead; or if this reference is intentional, make it explicit | 5025 | c : vec![0; (&(**self)).len()], | ++ + warning: `permutator` (lib) generated 33 warnings (run `cargo fix --lib -p permutator` to apply 16 suggestions) Finished `rpm` profile [optimized + debuginfo] target(s) in 8.72s + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.QaVirb + umask 022 + cd /home/pterjan/rpmbuild/BUILD/rust-permutator-0.4.3-build + '[' 1 -eq 1 ']' + '[' /home/pterjan/rpmbuild/BUILD/rust-permutator-0.4.3-build/BUILDROOT '!=' / ']' + rm -rf /home/pterjan/rpmbuild/BUILD/rust-permutator-0.4.3-build/BUILDROOT ++ dirname /home/pterjan/rpmbuild/BUILD/rust-permutator-0.4.3-build/BUILDROOT + mkdir -p /home/pterjan/rpmbuild/BUILD/rust-permutator-0.4.3-build + mkdir /home/pterjan/rpmbuild/BUILD/rust-permutator-0.4.3-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 permutator-0.4.3 + '[' 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=permutator ++ /usr/bin/cargo2rpm --path Cargo.toml version + CRATE_VERSION=0.4.3 + REG_DIR=/home/pterjan/rpmbuild/BUILD/rust-permutator-0.4.3-build/BUILDROOT/usr/share/cargo/registry/permutator-0.4.3 + /usr/bin/mkdir -p /home/pterjan/rpmbuild/BUILD/rust-permutator-0.4.3-build/BUILDROOT/usr/share/cargo/registry/permutator-0.4.3 + /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-permutator-0.4.3-build/BUILDROOT/usr/share/cargo/registry/permutator-0.4.3 warning: no (git) VCS found for `/home/pterjan/rpmbuild/BUILD/rust-permutator-0.4.3-build/permutator-0.4.3` + /usr/bin/mv Cargo.toml.deps Cargo.toml + /usr/bin/cp -a Cargo.toml /home/pterjan/rpmbuild/BUILD/rust-permutator-0.4.3-build/BUILDROOT/usr/share/cargo/registry/permutator-0.4.3/Cargo.toml + /usr/bin/rm -f /home/pterjan/rpmbuild/BUILD/rust-permutator-0.4.3-build/BUILDROOT/usr/share/cargo/registry/permutator-0.4.3/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 -j16 + /usr/lib/rpm/redhat/brp-python-hardlink Executing(%check): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.Hxwglk + umask 022 + cd /home/pterjan/rpmbuild/BUILD/rust-permutator-0.4.3-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 permutator-0.4.3 + '[' 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 -j16 -Z avoid-dev-deps --profile rpm --no-fail-fast Fresh autocfg v1.5.0 Fresh num-traits v0.2.19 Fresh num-integer v0.1.46 Fresh num-bigint v0.4.6 Fresh num-rational v0.4.2 Fresh num-iter v0.1.45 Fresh num-complex v0.4.6 Fresh num v0.4.2 warning: implicit autoref creates a reference to the dereference of a raw pointer --> src/lib.rs:2010:19 | 2010 | assert_eq!(k, (*result).len()); | ^^------^^^^^^^ | | | this raw pointer has type `*mut [&T]` | = note: creating a reference requires the pointer target to be valid and imposes aliasing requirements note: autoref is being applied to this expression, resulting in: `&[&T]` --> src/lib.rs:2010:19 | 2010 | assert_eq!(k, (*result).len()); | ^^^^^^^^^ note: method calls to `len` require a reference --> /home/iurt/rpmbuild/BUILD/rust-1.92.0-build/rustc-1.92.0-src/library/core/src/slice/mod.rs:114:5 = note: `#[warn(dangerous_implicit_autorefs)]` on by default help: try using a raw pointer method instead; or if this reference is intentional, make it explicit | 2010 | assert_eq!(k, (&(*result)).len()); | ++ + warning: implicit autoref creates a reference to the dereference of a raw pointer --> src/lib.rs:2485:20 | 2485 | t(&(*perm_ptr)[0..k]) | ^^--------^^^^^^^ | | | this raw pointer has type `*const Vec<&T>` | = note: creating a reference requires the pointer target to be valid and imposes aliasing requirements note: autoref is being applied to this expression, resulting in: `&Vec<&T>` --> src/lib.rs:2485:20 | 2485 | t(&(*perm_ptr)[0..k]) | ^^^^^^^^^^^ help: try using a raw pointer method instead; or if this reference is intentional, make it explicit | 2485 | t(&(&(*perm_ptr))[0..k]) | ++ + warning: implicit autoref creates a reference to the dereference of a raw pointer --> src/lib.rs:2636:16 | 2636 | assert_eq!((*result).len(), d.len(), "`result` shall has length equals to `d`"); | ^^------^^^^^^^ | | | this raw pointer has type `*mut [&T]` | = note: creating a reference requires the pointer target to be valid and imposes aliasing requirements note: autoref is being applied to this expression, resulting in: `&[&T]` --> src/lib.rs:2636:16 | 2636 | assert_eq!((*result).len(), d.len(), "`result` shall has length equals to `d`"); | ^^^^^^^^^ note: method calls to `len` require a reference --> /home/iurt/rpmbuild/BUILD/rust-1.92.0-build/rustc-1.92.0-src/library/core/src/slice/mod.rs:114:5 help: try using a raw pointer method instead; or if this reference is intentional, make it explicit | 2636 | assert_eq!((&(*result)).len(), d.len(), "`result` shall has length equals to `d`"); | ++ + warning: implicit autoref creates a reference to the dereference of a raw pointer --> src/lib.rs:2644:16 | 2644 | t(&(*result)[0..k]) | ^^------^^^^^^^ | | | this raw pointer has type `*mut [&T]` | = note: creating a reference requires the pointer target to be valid and imposes aliasing requirements note: autoref is being applied to this expression, resulting in: `&[&T]` --> src/lib.rs:2644:16 | 2644 | t(&(*result)[0..k]) | ^^^^^^^^^ help: try using a raw pointer method instead; or if this reference is intentional, make it explicit | 2644 | t(&(&(*result))[0..k]) | ++ + warning: hiding a lifetime that's elided elsewhere is confusing --> src/lib.rs:3171:23 | 3171 | pub fn new(data : &[T], r : usize) -> GosperCombinationIterator { | ^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default help: use `'_` for type paths | 3171 | pub fn new(data : &[T], r : usize) -> GosperCombinationIterator<'_, T> { | +++ warning: hiding a lifetime that's elided elsewhere is confusing --> src/lib.rs:3755:23 | 3755 | pub fn new(data : &[T], r : usize) -> LargeCombinationIterator { | ^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 3755 | pub fn new(data : &[T], r : usize) -> LargeCombinationIterator<'_, T> { | +++ warning: hiding a lifetime that's elided elsewhere is confusing --> src/lib.rs:4120:23 | 4120 | pub fn new(data : &mut [T]) -> HeapPermutationIterator { | ^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 4120 | pub fn new(data : &mut [T]) -> HeapPermutationIterator<'_, T> { | +++ warning: implicit autoref creates a reference to the dereference of a raw pointer --> src/lib.rs:4317:25 | 4317 | c : vec![0; (*data).len()], | ^^----^^^^^^^ | | | this raw pointer has type `*mut [T]` | = note: creating a reference requires the pointer target to be valid and imposes aliasing requirements note: autoref is being applied to this expression, resulting in: `&[T]` --> src/lib.rs:4317:25 | 4317 | c : vec![0; (*data).len()], | ^^^^^^^ note: method calls to `len` require a reference --> /home/iurt/rpmbuild/BUILD/rust-1.92.0-build/rustc-1.92.0-src/library/core/src/slice/mod.rs:114:5 help: try using a raw pointer method instead; or if this reference is intentional, make it explicit | 4317 | c : vec![0; (&(*data)).len()], | ++ + warning: hiding a lifetime that's elided elsewhere is confusing --> src/lib.rs:4498:23 | 4498 | pub fn new(data : &[T], k : usize) -> KPermutationIterator { | ^^^^ ^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 4498 | pub fn new(data : &[T], k : usize) -> KPermutationIterator<'_, T> { | +++ warning: hiding a lifetime that's named elsewhere is confusing --> src/lib.rs:5077:42 | 5077 | pub fn new(data : &'a [T], t : F) -> XPermutationIterator { | -- ^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is named here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: consistently use `'a` | 5077 | pub fn new(data : &'a [T], t : F) -> XPermutationIterator<'a, F, T> { | +++ warning: implicit autoref creates a reference to the dereference of a raw pointer --> src/lib.rs:5123:24 | 5123 | t(&(*result_ptr)[0..k]) | ^^----------^^^^^^^ | | | this raw pointer has type `*const [&T]` | = note: creating a reference requires the pointer target to be valid and imposes aliasing requirements note: autoref is being applied to this expression, resulting in: `&[&T]` --> src/lib.rs:5123:24 | 5123 | t(&(*result_ptr)[0..k]) | ^^^^^^^^^^^^^ help: try using a raw pointer method instead; or if this reference is intentional, make it explicit | 5123 | t(&(&(*result_ptr))[0..k]) | ++ + warning: implicit autoref creates a reference to the dereference of a raw pointer --> src/lib.rs:5256:24 | 5256 | t(&(*result_ptr)[0..k]) | ^^----------^^^^^^^ | | | this raw pointer has type `*const [&T]` | = note: creating a reference requires the pointer target to be valid and imposes aliasing requirements note: autoref is being applied to this expression, resulting in: `&[&T]` --> src/lib.rs:5256:24 | 5256 | t(&(*result_ptr)[0..k]) | ^^^^^^^^^^^^^ help: try using a raw pointer method instead; or if this reference is intentional, make it explicit | 5256 | t(&(&(*result_ptr))[0..k]) | ++ + warning: implicit autoref creates a reference to the dereference of a raw pointer --> src/lib.rs:5389:24 | 5389 | t(&(*result_ptr)[0..k]) | ^^----------^^^^^^^ | | | this raw pointer has type `*const [&T]` | = note: creating a reference requires the pointer target to be valid and imposes aliasing requirements note: autoref is being applied to this expression, resulting in: `&[&T]` --> src/lib.rs:5389:24 | 5389 | t(&(*result_ptr)[0..k]) | ^^^^^^^^^^^^^ help: try using a raw pointer method instead; or if this reference is intentional, make it explicit | 5389 | t(&(&(*result_ptr))[0..k]) | ++ + warning: hiding a lifetime that's named elsewhere is confusing --> src/lib.rs:6148:57 | 6148 | fn permutation(&'a mut self) -> Chain>, HeapPermutationIterator> { | -- the lifetime is named here ^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: consistently use `'a` | 6148 | fn permutation(&'a mut self) -> Chain>, HeapPermutationIterator<'a, T>> { | +++ warning: hiding a lifetime that's named elsewhere is confusing --> src/lib.rs:6166:57 | 6166 | fn permutation(&'a mut self) -> Chain>, HeapPermutationIterator> { | -- the lifetime is named here ^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: consistently use `'a` | 6166 | fn permutation(&'a mut self) -> Chain>, HeapPermutationIterator<'a, T>> { | +++ warning: hiding a lifetime that's named elsewhere is confusing --> src/lib.rs:6184:53 | 6184 | fn permutation(&'a mut self) -> Chain, HeapPermutationCellIter> { | -- the lifetime is named here ^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: consistently use `'a` | 6184 | fn permutation(&'a mut self) -> Chain, HeapPermutationCellIter<'a, T>> { | +++ warning: hiding a lifetime that's named elsewhere is confusing --> src/lib.rs:6213:53 | 6213 | fn permutation(&'a mut self) -> Chain, HeapPermutationRefIter> { | -- the lifetime is named here ^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: consistently use `'a` | 6213 | fn permutation(&'a mut self) -> Chain, HeapPermutationRefIter<'a, T>> { | +++ warning: implicit autoref creates a reference to the dereference of a raw pointer --> src/lib.rs:6218:33 | 6218 | c : vec![0; (**self).len()], | ^^-----^^^^^^^ | | | this raw pointer has type `*mut [T]` | = note: creating a reference requires the pointer target to be valid and imposes aliasing requirements note: autoref is being applied to this expression, resulting in: `&[T]` --> src/lib.rs:6218:33 | 6218 | c : vec![0; (**self).len()], | ^^^^^^^^ note: method calls to `len` require a reference --> /home/iurt/rpmbuild/BUILD/rust-1.92.0-build/rustc-1.92.0-src/library/core/src/slice/mod.rs:114:5 help: try using a raw pointer method instead; or if this reference is intentional, make it explicit | 6218 | c : vec![0; (&(**self)).len()], | ++ + warning: implicit autoref creates a reference to the dereference of a raw pointer --> src/copy/mod.rs:1656:19 | 1656 | assert_eq!(k, (*result).len(), "Result is too large. Result length need to be exactly equals to 'k'"); | ^^------^^^^^^^ | | | this raw pointer has type `*mut [T]` | = note: creating a reference requires the pointer target to be valid and imposes aliasing requirements note: autoref is being applied to this expression, resulting in: `&[T]` --> src/copy/mod.rs:1656:19 | 1656 | assert_eq!(k, (*result).len(), "Result is too large. Result length need to be exactly equals to 'k'"); | ^^^^^^^^^ note: method calls to `len` require a reference --> /home/iurt/rpmbuild/BUILD/rust-1.92.0-build/rustc-1.92.0-src/library/core/src/slice/mod.rs:114:5 help: try using a raw pointer method instead; or if this reference is intentional, make it explicit | 1656 | assert_eq!(k, (&(*result)).len(), "Result is too large. Result length need to be exactly equals to 'k'"); | ++ + warning: implicit autoref creates a reference to the dereference of a raw pointer --> src/copy/mod.rs:2008:20 | 2008 | t(&(*perm_ptr)[0..k]) | ^^--------^^^^^^^ | | | this raw pointer has type `*const Vec` | = note: creating a reference requires the pointer target to be valid and imposes aliasing requirements note: autoref is being applied to this expression, resulting in: `&Vec` --> src/copy/mod.rs:2008:20 | 2008 | t(&(*perm_ptr)[0..k]) | ^^^^^^^^^^^ help: try using a raw pointer method instead; or if this reference is intentional, make it explicit | 2008 | t(&(&(*perm_ptr))[0..k]) | ++ + warning: implicit autoref creates a reference to the dereference of a raw pointer --> src/copy/mod.rs:2159:16 | 2159 | assert_eq!((*result).len(), d.len(), "`result` shall has length equals to `d`"); | ^^------^^^^^^^ | | | this raw pointer has type `*mut [T]` | = note: creating a reference requires the pointer target to be valid and imposes aliasing requirements note: autoref is being applied to this expression, resulting in: `&[T]` --> src/copy/mod.rs:2159:16 | 2159 | assert_eq!((*result).len(), d.len(), "`result` shall has length equals to `d`"); | ^^^^^^^^^ note: method calls to `len` require a reference --> /home/iurt/rpmbuild/BUILD/rust-1.92.0-build/rustc-1.92.0-src/library/core/src/slice/mod.rs:114:5 help: try using a raw pointer method instead; or if this reference is intentional, make it explicit | 2159 | assert_eq!((&(*result)).len(), d.len(), "`result` shall has length equals to `d`"); | ++ + warning: implicit autoref creates a reference to the dereference of a raw pointer --> src/copy/mod.rs:2167:16 | 2167 | t(&(*result)[0..k]) | ^^------^^^^^^^ | | | this raw pointer has type `*mut [T]` | = note: creating a reference requires the pointer target to be valid and imposes aliasing requirements note: autoref is being applied to this expression, resulting in: `&[T]` --> src/copy/mod.rs:2167:16 | 2167 | t(&(*result)[0..k]) | ^^^^^^^^^ help: try using a raw pointer method instead; or if this reference is intentional, make it explicit | 2167 | t(&(&(*result))[0..k]) | ++ + warning: hiding a lifetime that's elided elsewhere is confusing --> src/copy/mod.rs:2609:23 | 2609 | pub fn new(data : &[T], r : usize) -> GosperCombinationIterator { | ^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 2609 | pub fn new(data : &[T], r : usize) -> GosperCombinationIterator<'_, T> { | +++ warning: hiding a lifetime that's elided elsewhere is confusing --> src/copy/mod.rs:3054:23 | 3054 | pub fn new(data : &[T], r : usize) -> LargeCombinationIterator { | ^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 3054 | pub fn new(data : &[T], r : usize) -> LargeCombinationIterator<'_, T> { | +++ warning: hiding a lifetime that's elided elsewhere is confusing --> src/copy/mod.rs:3411:23 | 3411 | pub fn new(data : &[T], k : usize) -> KPermutationIterator { | ^^^^ ^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 3411 | pub fn new(data : &[T], k : usize) -> KPermutationIterator<'_, T> { | +++ warning: hiding a lifetime that's named elsewhere is confusing --> src/copy/mod.rs:4245:42 | 4245 | pub fn new(data : &'a [T], t : F) -> XPermutationIterator { | -- ^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is named here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: consistently use `'a` | 4245 | pub fn new(data : &'a [T], t : F) -> XPermutationIterator<'a, F, T> { | +++ warning: implicit autoref creates a reference to the dereference of a raw pointer --> src/copy/mod.rs:4291:24 | 4291 | t(&(*result_ptr)[0..k]) | ^^----------^^^^^^^ | | | this raw pointer has type `*const [T]` | = note: creating a reference requires the pointer target to be valid and imposes aliasing requirements note: autoref is being applied to this expression, resulting in: `&[T]` --> src/copy/mod.rs:4291:24 | 4291 | t(&(*result_ptr)[0..k]) | ^^^^^^^^^^^^^ help: try using a raw pointer method instead; or if this reference is intentional, make it explicit | 4291 | t(&(&(*result_ptr))[0..k]) | ++ + warning: implicit autoref creates a reference to the dereference of a raw pointer --> src/copy/mod.rs:4424:24 | 4424 | t(&(*result_ptr)[0..k]) | ^^----------^^^^^^^ | | | this raw pointer has type `*const [T]` | = note: creating a reference requires the pointer target to be valid and imposes aliasing requirements note: autoref is being applied to this expression, resulting in: `&[T]` --> src/copy/mod.rs:4424:24 | 4424 | t(&(*result_ptr)[0..k]) | ^^^^^^^^^^^^^ help: try using a raw pointer method instead; or if this reference is intentional, make it explicit | 4424 | t(&(&(*result_ptr))[0..k]) | ++ + warning: implicit autoref creates a reference to the dereference of a raw pointer --> src/copy/mod.rs:4557:24 | 4557 | t(&(*result_ptr)[0..k]) | ^^----------^^^^^^^ | | | this raw pointer has type `*const [T]` | = note: creating a reference requires the pointer target to be valid and imposes aliasing requirements note: autoref is being applied to this expression, resulting in: `&[T]` --> src/copy/mod.rs:4557:24 | 4557 | t(&(*result_ptr)[0..k]) | ^^^^^^^^^^^^^ help: try using a raw pointer method instead; or if this reference is intentional, make it explicit | 4557 | t(&(&(*result_ptr))[0..k]) | ++ + warning: hiding a lifetime that's named elsewhere is confusing --> src/copy/mod.rs:4973:57 | 4973 | fn permutation(&'a mut self) -> Chain>, HeapPermutationIterator> { | -- the lifetime is named here ^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: consistently use `'a` | 4973 | fn permutation(&'a mut self) -> Chain>, HeapPermutationIterator<'a, T>> { | +++ warning: hiding a lifetime that's named elsewhere is confusing --> src/copy/mod.rs:4991:53 | 4991 | fn permutation(&'a mut self) -> Chain, HeapPermutationCellIter> { | -- the lifetime is named here ^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: consistently use `'a` | 4991 | fn permutation(&'a mut self) -> Chain, HeapPermutationCellIter<'a, T>> { | +++ warning: hiding a lifetime that's named elsewhere is confusing --> src/copy/mod.rs:5020:53 | 5020 | fn permutation(&'a mut self) -> Chain, HeapPermutationRefIter> { | -- the lifetime is named here ^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: consistently use `'a` | 5020 | fn permutation(&'a mut self) -> Chain, HeapPermutationRefIter<'a, T>> { | +++ warning: implicit autoref creates a reference to the dereference of a raw pointer --> src/copy/mod.rs:5025:33 | 5025 | c : vec![0; (**self).len()], | ^^-----^^^^^^^ | | | this raw pointer has type `*mut [T]` | = note: creating a reference requires the pointer target to be valid and imposes aliasing requirements note: autoref is being applied to this expression, resulting in: `&[T]` --> src/copy/mod.rs:5025:33 | 5025 | c : vec![0; (**self).len()], | ^^^^^^^^ note: method calls to `len` require a reference --> /home/iurt/rpmbuild/BUILD/rust-1.92.0-build/rustc-1.92.0-src/library/core/src/slice/mod.rs:114:5 help: try using a raw pointer method instead; or if this reference is intentional, make it explicit | 5025 | c : vec![0; (&(**self)).len()], | ++ + Compiling permutator v0.4.3 (/home/pterjan/rpmbuild/BUILD/rust-permutator-0.4.3-build/permutator-0.4.3) warning: `permutator` (lib) generated 33 warnings (run `cargo fix --lib -p permutator` to apply 16 suggestions) Running `/usr/bin/rustc --crate-name permutator --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"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("default"))' -C metadata=35d75e33eed01a8a -C extra-filename=-76dc84130e661e45 --out-dir /home/pterjan/rpmbuild/BUILD/rust-permutator-0.4.3-build/permutator-0.4.3/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-permutator-0.4.3-build/permutator-0.4.3/target/rpm/deps --extern num=/home/pterjan/rpmbuild/BUILD/rust-permutator-0.4.3-build/permutator-0.4.3/target/rpm/deps/libnum-7690aa12076a4da0.rlib -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` warning: `permutator` (lib test) generated 33 warnings (33 duplicates) Finished `rpm` profile [optimized + debuginfo] target(s) in 31.64s Running `/home/pterjan/rpmbuild/BUILD/rust-permutator-0.4.3-build/permutator-0.4.3/target/rpm/deps/permutator-76dc84130e661e45` running 182 tests test copy::test::compare_gosper_custom_cell_iter ... ignored test copy::test::compare_gosper_custom_fn ... ignored test copy::test::compare_gosper_custom_iter ... ignored test copy::test::compare_gosper_custom_ref_iter ... ignored test copy::test::test_CartesianProduct_iterator_alike_shared_result ... ok test copy::test::test_CartesianProduct_mimic_iterator ... ok test copy::test::test_CartesianProduct_reset ... ok test copy::test::test_CartesianProduct_trait ... ok test copy::test::test_CartesianProduct_shared_trait ... ok test copy::test::test_CartesianProduct ... ok test copy::test::test_CartesianProduct_ptr_trait ... ok test copy::test::test_GosperCombinationIterator ... ok test copy::test::test_CartesianProduct_mimic_iterator_2 ... ok test copy::test::test_HeapPermutation ... ok test copy::test::test_GosperCombinationIteratorUnsafe ... ok test copy::test::test_HeapPermutationIterator ... ok test copy::test::test_KPermutationIterator ... ok test copy::test::test_HeapPermutation_reset ... ok test copy::test::test_GosperCombinationIteratorAlike_reset ... ok test copy::test::test_KPermutation_into_Cell ... ok test copy::test::test_HeapPermutationRefIterator ... ok test copy::test::test_HeapPermutationIntoIterator ... ok test copy::test::test_KPermutation_into_Ref ... ok test copy::test::test_GosperCombinationCellIter ... ok test copy::test::test_KPermutation_into_Ref_trait ... ok test copy::test::test_KPermutation_into_cell_trait ... ok test copy::test::test_KPermutation_single_term ... ok test copy::test::test_SelfCartesianProduct ... ok test copy::test::test_KPermutation_trait ... ok test copy::test::test_SelfCartesianProduct_cell ... ok test copy::test::test_SelfCartesianProduct_ref ... ok test copy::test::test_XPermutationCellIter ... ok test copy::test::test_XPermutationIterator_mt ... ignored test copy::test::test_XPermutationIterator ... ok test copy::test::test_XPermutationRefIter ... ok test copy::test::test_cartesian_product ... ok test copy::test::test_combination_cell_fn ... ok test copy::test::test_combination_fn ... ok test copy::test::test_combination_trait ... ok test copy::test::test_combination_trait_ptr ... ok test copy::test::test_combination_trait_share ... ok test copy::test::test_get_cartesian_for ... ok test copy::test::test_get_permutation_for ... ok test copy::test::test_cartesian_product_shared_result_fn ... ok test copy::test::test_heap_permutation_6 ... ok test copy::test::test_k_permutation ... ok test copy::test::test_HeapPermutationCellIterIterator ... ok test copy::test::test_permutation_trait ... ok test copy::test::test_k_permutation_primitive ... ok test copy::test::test_permutation_trait_cell ... ok test copy::test::test_permutation_trait_ref ... ok test copy::test::test_shared_combination_result_iterator_alike ... ok test copy::test::test_shared_combination_result_fn ... ok test test::bench_cart_fn ... ignored test test::bench_cart_iter ... ignored test test::bench_heap_fn ... ignored test test::bench_heap_iter ... ignored test test::bench_k_perm_fn ... ignored test test::bench_k_perm_iter ... ignored test test::bench_x_perm_mt_fn ... ignored test test::bench_x_perm_st_fn ... ignored test test::compare_gosper_custom_cell_iter ... ignored test test::compare_gosper_custom_fn ... ignored test test::compare_gosper_custom_iter ... ignored test test::compare_gosper_custom_ref_iter ... ignored test copy::test::test_k_permutation_ref_single_term ... ok test copy::test::test_unsafe_cartesian_product_shared_result ... ok test copy::test::test_unsafe_cartesian_product ... ok test test::test_CartesianProduct_mimic_iterator ... ok test test::test_CartesianProduct_reset ... ok test copy::test::test_tldr_case ... ok test test::test_CartesianProduct_trait ... ok test test::test_CartesianProduct_shared_trait ... ok test test::test_GosperCombinationCellIter ... ok test copy::test::test_unsafe_shared_combination_result_fn ... ok test copy::test::test_self_cartesian_product ... ok test test::test_CartesianProduct_iterator_alike_shared_result ... ok test test::test_CartesianProduct_mimic_iterator_2 ... ok test test::test_CartesianProduct_ptr_trait ... ok test copy::test::test_heap_permutation_10 ... ok test copy::test::test_shared_k_permutation_result_fn ... ok test copy::test::test_self_cartesian_product_shared_result_fn ... ok test copy::test::test_shared_CartesianProduct_result_sync ... ok test copy::test::test_unsafe_k_permutation ... ok test test::test_GosperCombinationIterator ... ok test test::test_GosperCombinationIteratorAlike_reset ... ok test test::test_GosperCombinationIteratorUnsafe ... ok test test::test_HeapPermutationCellIterIterator ... ok test test::test_HeapPermutationIntoIterator ... ok test test::test_HeapPermutation ... ok test copy::test::test_unsafe_self_cartesian_product_shared_result ... ok test copy::test::test_unsafe_shared_k_permutation_result_fn ... ok test copy::test::test_unsafe_x_permutation ... ok test copy::test::test_x_permutation ... ok test copy::test::test_x_permutation_cell ... ok test copy::test::test_x_permutation_restricted ... ok test copy::test::test_x_permutation_sync ... ok test test::test_CartesianProduct ... ok test copy::test::test_shared_KPermutation_result ... ok test copy::test::test_share_CartesianProductIterator_result_to_thread ... ok test copy::test::test_unsafe_combination_fn ... ok test test::test_HeapPermutation_reset ... ok test test::test_KPermutationIteratorBound ... ok test test::test_HeapPermutationRefIterator ... ok test test::test_KPermutationIterator ... ok test test::test_KPermutation_into_Cell ... ok test test::test_KPermutation_into_Ref ... ok test test::test_XPermutationIterator_mt ... ignored test test::test_KPermutation_into_Ref_trait ... ok test test::test_KPermutation_into_cell_trait ... ok test test::test_KPermutation_single ... ok test test::test_KPermutation_trait ... ok test test::test_LargeCombinationIterator ... ok test test::test_LargeCombinationIterator_single ... ok test test::test_SelfCartesianProduct ... ok test test::test_SelfCartesianProduct_cell ... ok test copy::test::test_share_result_KPermutation_iterator_sync ... ok test test::test_SelfCartesianProduct_ref ... ok test test::test_XPermutationCellIter ... ok test test::test_XPermutationIterator ... ok test test::test_XPermutationRefIter ... ok test test::test_cartesian_product ... ok test test::test_cartesian_product_shared_result_fn ... ok test test::test_case_15 ... ok test test::test_case_16 ... ok test test::test_combination_cell_fn ... ok test test::test_combination_fn ... ok test test::test_large_k_permutation ... ignored test test::test_lex_family ... ignored test test::test_combination_fn_single ... ok test test::test_combination_trait ... ok test test::test_combination_trait_ptr ... ok test test::test_combination_trait_share ... ok test test::test_get_cartesian_for ... ok test test::test_get_permutation_for ... ok test copy::test::test_shared_cartesian_product_result_sync_fn ... ok test test::test_heap_permutation_10 ... ok test test::test_heap_permutation_6 ... ok test test::test_k_permutation_fn ... ok test test::test_k_permutation_empty_dom - should panic ... ok test test::test_k_permutation_k_1 ... ok test test::test_k_permutation_primitive ... ok test test::test_large_combination_cell_fn ... ok test test::test_large_combination_fn_d_eq_k ... ok test test::test_large_combination_fn_k_0 - should panic ... ok test test::test_large_combination_fn_k_1 ... ok test test::test_permutation_trait ... ok test test::test_permutation_trait_cell ... ok test test::test_permutation_trait_ref ... ok test test::test_large_combination_fn ... ok test test::test_self_cartesian_product ... ok test test::test_combination_fn_bound ... ok test test::test_large_combination_sync_fn ... ok test copy::test::test_share_result_CombinationIterator_with_thread_fn ... ok test test::test_self_cartesian_product_shared_result_fn ... ok test test::test_unsafe_k_permutation ... ok test test::test_shared_combination_result_fn ... ok test test::test_shared_KPermutation_result ... ok test test::test_shared_k_permutation_result_fn ... ok test test::test_self_cartesian_product_zero - should panic ... ok test test::test_tldr_case ... ok test test::test_unsafe_cartesian_product ... ok test test::test_unsafe_cartesian_product_shared_result ... ok test test::test_unsafe_combination_fn ... ok test test::test_share_CartesianProductIterator_result_to_thread ... ok test test::test_unsafe_x_permutation ... ok test test::test_x_permutation ... ok test test::test_shared_combination_result_iterator_alike ... ok test test::test_unsafe_shared_k_permutation_result_fn ... ok test test::test_unsafe_self_cartesian_product_shared_result ... ok test test::test_x_permutation_cell ... ok test test::test_x_permutation_restricted ... ok test test::test_x_permutation_sync ... ok test test::test_shared_cartesian_product_result_sync_fn ... ok test test::test_shared_k_permutation_sync_fn ... ok test test::test_unsafe_shared_combination_result_fn ... ok test test::test_share_result_CombinationIterator_with_thread_fn ... ok test test::test_shared_combination_result_sync_fn ... ok test test::test_shared_CartesianProduct_result_sync ... ok test test::test_share_result_KPermutation_iterator_sync ... ok test copy::test::test_shared_combination_result_sync_fn ... ok test copy::test::test_shared_k_permutation_sync_fn ... ok test result: ok. 162 passed; 0 failed; 20 ignored; 0 measured; 0 filtered out; finished in 1.34s Doc-tests permutator Running `/usr/bin/rustdoc --edition=2018 --crate-type rlib --color auto --crate-name permutator --test src/lib.rs --test-run-directory /home/pterjan/rpmbuild/BUILD/rust-permutator-0.4.3-build/permutator-0.4.3 -L dependency=/home/pterjan/rpmbuild/BUILD/rust-permutator-0.4.3-build/permutator-0.4.3/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-permutator-0.4.3-build/permutator-0.4.3/target/rpm/deps --extern num=/home/pterjan/rpmbuild/BUILD/rust-permutator-0.4.3-build/permutator-0.4.3/target/rpm/deps/libnum-7690aa12076a4da0.rlib --extern permutator=/home/pterjan/rpmbuild/BUILD/rust-permutator-0.4.3-build/permutator-0.4.3/target/rpm/deps/libpermutator-0f1afbc28771413a.rlib -C embed-bitcode=no --cfg 'feature="default"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("default"))' --error-format human` running 91 tests test src/copy/mod.rs - copy::CartesianProduct (line 4623) ... ok test src/copy/mod.rs - copy::Permutation (line 4900) ... ok test src/copy/mod.rs - copy::CartesianProductRefIter (line 2427) ... ok test src/copy/mod.rs - copy::get_permutation_for (line 142) ... ok test src/copy/mod.rs - copy::get_cartesian_for (line 77) ... ok test src/lib.rs - CartesianProductIterator (line 2717) ... ok test src/lib.rs - (line 88) ... ok test src/copy/mod.rs - copy::GosperCombinationRefIter (line 2883) ... ok test src/copy/mod.rs - copy::GosperCombinationIterator (line 2574) ... ok test src/copy/mod.rs - copy::CartesianProduct (line 4606) ... ok test src/copy/mod.rs - copy::SelfCartesianProductIterator (line 3759) ... ok test src/copy/mod.rs - copy::cartesian_product_cell (line 414) ... ok test src/copy/mod.rs - copy::get_permutation_size (line 117) ... ok test src/copy/mod.rs - copy::combination_cell (line 1116) ... ok test src/copy/mod.rs - copy::GosperCombinationCellIter (line 2717) ... ok test src/copy/mod.rs - copy::cartesian_product (line 256) ... ok test src/copy/mod.rs - copy::SelfCartesianProductRefIter (line 4000) ... ok test src/copy/mod.rs - copy::KPermutationRefIter (line 3639) ... ok test src/copy/mod.rs - copy::unsafe_k_permutation (line 1599) ... ok test src/lib.rs - (line 28) ... ok test src/copy/mod.rs - copy::KPermutationIterator (line 3363) ... ok test src/copy/mod.rs - copy::KPermutationCellIter (line 3490) ... ok test src/lib.rs - (line 66) ... ok test src/copy/mod.rs - copy::Permutation (line 4910) ... ok test src/copy/mod.rs - copy::self_cartesian_product_cell (line 762) ... ok test src/copy/mod.rs - copy::CartesianProductCellIter (line 2293) ... ok test src/copy/mod.rs - copy::Combination (line 4794) ... ok test src/copy/mod.rs - copy::CartesianProductIterator (line 2180) ... ok test src/copy/mod.rs - copy::LargeCombinationCellIter (line 3131) ... ok test src/copy/mod.rs - copy::LargeCombinationIterator (line 3026) ... ok test src/lib.rs - CartesianProductCellIter (line 2830) ... ok test src/copy/mod.rs - copy::unsafe_combination (line 1019) ... ok test src/copy/mod.rs - copy::combination (line 960) ... ok test src/lib.rs - CartesianProduct (line 5802) ... ok test src/copy/mod.rs - copy::k_permutation (line 1533) ... ok test src/copy/mod.rs - copy::unsafe_self_cartesian_product (line 667) ... ok test src/lib.rs - CartesianProduct (line 5819) ... ok test src/copy/mod.rs - copy::LargeCombinationRefIter (line 3258) ... ok test src/copy/mod.rs - copy::k_permutation_cell (line 1705) ... ok test src/copy/mod.rs - copy::SelfCartesianProductCellIter (line 3877) ... ok test src/lib.rs - (line 40) ... ok test src/copy/mod.rs - copy::unsafe_cartesian_product (line 321) ... ok test src/copy/mod.rs - copy::self_cartesian_product (line 605) ... ok test src/lib.rs - (line 52) ... ok test src/lib.rs - GosperCombinationCellIter (line 3283) ... ok test src/lib.rs - GosperCombinationIterator (line 3136) ... ok test src/lib.rs - HeapPermutationCellIter (line 4192) ... ok test src/lib.rs - GosperCombinationRefIter (line 3469) ... ok test src/lib.rs - cartesian_product_cell (line 545) ... ok test src/lib.rs - CartesianProductRefIter (line 2964) ... ok test src/lib.rs - SelfCartesianProductCellIter (line 5552) ... ok test src/lib.rs - Combination (line 5983) ... ok test src/lib.rs - get_cartesian_for (line 160) ... ok test src/lib.rs - SelfCartesianProductRefIter (line 5675) ... ok test src/lib.rs - HeapPermutationRefIter (line 4277) ... ok test src/lib.rs - LargeCombinationCellIter (line 3831) ... ok test src/copy/mod.rs - copy::combination_sync (line 1220) ... ok test src/lib.rs - KPermutationIterator (line 4449) ... ok test src/lib.rs - cartesian_product (line 387) ... ok test src/lib.rs - get_cartesian_size (line 137) ... ok test src/lib.rs - heap_permutation (line 1710) ... ok test src/lib.rs - LargeCombinationIterator (line 3727) ... ok test src/lib.rs - KPermutationCellIter (line 4577) ... ok test src/lib.rs - KPermutationRefIter (line 4726) ... ok test src/lib.rs - self_cartesian_product (line 729) ... ok test src/lib.rs - LargeCombinationRefIter (line 3957) ... ok test src/lib.rs - divide_factorial (line 6361) ... ok test src/lib.rs - multiply_factorial (line 6386) ... ok test src/lib.rs - Permutation (line 6100) ... ok test src/lib.rs - combination (line 1088) ... ok test src/lib.rs - get_permutation_size (line 200) ... ok test src/lib.rs - Permutation (line 6090) ... ok test src/lib.rs - SelfCartesianProductIterator (line 5434) ... ok test src/lib.rs - combination_cell (line 1244) ... ok test src/lib.rs - unsafe_self_cartesian_product (line 795) ... ok test src/lib.rs - k_permutation (line 1878) ... ok test src/copy/mod.rs - copy::cartesian_product_sync (line 507) ... ok test src/copy/mod.rs - copy::self_cartesian_product_sync (line 857) ... ok test src/lib.rs - heap_permutation_cell (line 1759) ... ok test src/lib.rs - get_permutation_for (line 225) ... ok test src/lib.rs - unsafe_combination (line 1147) ... ok test src/lib.rs - unsafe_cartesian_product (line 452) ... ok test src/lib.rs - k_permutation_cell (line 2057) ... ok test src/lib.rs - self_cartesian_product_cell (line 890) ... ok test src/lib.rs - unsafe_k_permutation (line 1950) ... ok test src/copy/mod.rs - copy::k_permutation_sync (line 1810) ... ok test src/lib.rs - HeapPermutationIterator (line 4089) ... ok test src/lib.rs - self_cartesian_product_sync (line 985) ... ok test src/lib.rs - k_permutation_sync (line 2163) ... ok test src/lib.rs - combination_sync (line 1348) ... ok test src/lib.rs - cartesian_product_sync (line 638) ... ok test result: ok. 91 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 2.08s + RPM_EC=0 ++ jobs -p + exit 0 Processing files: rust-permutator-devel-0.4.3-1.mga10.noarch warning: File listed twice: /usr/share/cargo/registry/permutator-0.4.3/LICENSE warning: File listed twice: /usr/share/cargo/registry/permutator-0.4.3/readme.md Provides: crate(permutator) = 0.4.3 rust-permutator-devel = 0.4.3-1.mga10 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: cargo crate(num/default) >= 0.4.0 Processing files: rust-permutator+default-devel-0.4.3-1.mga10.noarch Provides: crate(permutator/default) = 0.4.3 rust-permutator+default-devel = 0.4.3-1.mga10 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: cargo crate(permutator) = 0.4.3 Checking for unpackaged file(s): /usr/lib/rpm/check-files /home/pterjan/rpmbuild/BUILD/rust-permutator-0.4.3-build/BUILDROOT Wrote: /home/pterjan/rpmbuild/RPMS/noarch/rust-permutator+default-devel-0.4.3-1.mga10.noarch.rpm Wrote: /home/pterjan/rpmbuild/RPMS/noarch/rust-permutator-devel-0.4.3-1.mga10.noarch.rpm Executing(rmbuild): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.WmJwZp + umask 022 + cd /home/pterjan/rpmbuild/BUILD/rust-permutator-0.4.3-build + test -d /home/pterjan/rpmbuild/BUILD/rust-permutator-0.4.3-build + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w /home/pterjan/rpmbuild/BUILD/rust-permutator-0.4.3-build + rm -rf /home/pterjan/rpmbuild/BUILD/rust-permutator-0.4.3-build + RPM_EC=0 ++ jobs -p + exit 0 RPM build warnings: File listed twice: /usr/share/cargo/registry/permutator-0.4.3/LICENSE File listed twice: /usr/share/cargo/registry/permutator-0.4.3/readme.md D: [iurt_root_command] Success!