D: [iurt_root_command] chroot Building target platforms: noarch Building for target noarch Installing /home/pterjan/rpmbuild/SRPMS/rust-safe-transmute-0.11.2-6.mga10.src.rpm Executing(%mkbuilddir): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.0HtaNd Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.Ip2dq4 + umask 022 + cd /home/pterjan/rpmbuild/BUILD/rust-safe-transmute-0.11.2-build + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/pterjan/rpmbuild/BUILD/rust-safe-transmute-0.11.2-build + rm -rf safe-transmute-0.11.2 + /usr/lib/rpm/rpmuncompress -x /home/pterjan/rpmbuild/SOURCES/safe-transmute-0.11.2.crate + STATUS=0 + '[' 0 -ne 0 ']' + cd safe-transmute-0.11.2 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + set -euo pipefail + /usr/bin/mkdir -p target/rpm + /usr/bin/ln -s rpm target/release + /usr/bin/rm -rf .cargo/ + /usr/bin/mkdir -p .cargo + cat + cat + /usr/bin/rm -f Cargo.lock + /usr/bin/rm -f Cargo.toml.orig + RPM_EC=0 ++ jobs -p + exit 0 Executing(%generate_buildrequires): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.akvpRP + umask 022 + cd /home/pterjan/rpmbuild/BUILD/rust-safe-transmute-0.11.2-build + cd safe-transmute-0.11.2 + /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.EK1VsU + umask 022 + cd /home/pterjan/rpmbuild/BUILD/rust-safe-transmute-0.11.2-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 safe-transmute-0.11.2 + '[' 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 warning: no edition set: defaulting to the 2015 edition while the latest is 2024 Compiling safe-transmute v0.11.2 (/home/pterjan/rpmbuild/BUILD/rust-safe-transmute-0.11.2-build/safe-transmute-0.11.2) Running `/usr/bin/rustc --crate-name safe_transmute --edition=2015 src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no -C codegen-units=1 -C debuginfo=2 --cfg 'feature="alloc"' --cfg 'feature="default"' --cfg 'feature="std"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("alloc", "const_generics", "default", "std"))' -C metadata=4ad5749f93046a9e -C extra-filename=-d212d2a6ce55c04b --out-dir /home/pterjan/rpmbuild/BUILD/rust-safe-transmute-0.11.2-build/safe-transmute-0.11.2/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-safe-transmute-0.11.2-build/safe-transmute-0.11.2/target/rpm/deps -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` warning: unexpected `cfg` condition name: `i128_type` --> src/trivial.rs:68:7 | 68 | #[cfg(i128_type)] | ^^^^^^^^^ | = help: expected names are: `docsrs`, `feature`, and `test` and 31 more = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(i128_type)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(i128_type)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: `#[warn(unexpected_cfgs)]` on by default warning: unexpected `cfg` condition name: `i128_type` --> src/trivial.rs:70:7 | 70 | #[cfg(i128_type)] | ^^^^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(i128_type)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(i128_type)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: hiding a lifetime that's elided elsewhere is confusing --> src/full.rs:52:55 | 52 | pub fn transmute_one(bytes: &[u8]) -> Result> { | ^^^^^ ^^^^^^^^^^^^ 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 | 52 | pub fn transmute_one(bytes: &[u8]) -> Result> { | +++ warning: hiding a lifetime that's elided elsewhere is confusing --> src/full.rs:83:64 | 83 | pub fn transmute_one_pedantic(bytes: &[u8]) -> Result> { | ^^^^^ ^^^^^^^^^^^^ 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 | 83 | pub fn transmute_one_pedantic(bytes: &[u8]) -> Result> { | +++ warning: hiding a lifetime that's elided elsewhere is confusing --> src/full.rs:113:66 | 113 | pub fn transmute_many(bytes: &[u8]) -> Result<&[T], Error> { | ^^^^^ ^^^^ ^^^^^^^^^^^^ the same lifetime is hidden here | | | | | the same lifetime is elided 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 | 113 | pub fn transmute_many(bytes: &[u8]) -> Result<&[T], Error<'_, u8, T>> { | +++ warning: hiding a lifetime that's elided elsewhere is confusing --> src/full.rs:140:67 | 140 | pub fn transmute_many_permissive(bytes: &[u8]) -> Result<&[T], Error> { | ^^^^^ ^^^^ ^^^^^^^^^^^^ the same lifetime is hidden here | | | | | the same lifetime is elided 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 | 140 | pub fn transmute_many_permissive(bytes: &[u8]) -> Result<&[T], Error<'_, u8, T>> { | +++ warning: hiding a lifetime that's elided elsewhere is confusing --> src/full.rs:168:65 | 168 | pub fn transmute_many_pedantic(bytes: &[u8]) -> Result<&[T], Error> { | ^^^^^ ^^^^ ^^^^^^^^^^^^ the same lifetime is hidden here | | | | | the same lifetime is elided 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 | 168 | pub fn transmute_many_pedantic(bytes: &[u8]) -> Result<&[T], Error<'_, u8, T>> { | +++ warning: hiding a lifetime that's elided elsewhere is confusing --> src/full.rs:196:70 | 196 | pub fn transmute_many_mut(bytes: &mut [u8]) -> Result<&mut [T], Error> { | ^^^^^^^^^ ^^^^^^^^ ^^^^^^^^^^^^ the same lifetime is hidden here | | | | | the same lifetime is elided 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 | 196 | pub fn transmute_many_mut(bytes: &mut [u8]) -> Result<&mut [T], Error<'_, u8, T>> { | +++ warning: hiding a lifetime that's elided elsewhere is confusing --> src/full.rs:224:71 | 224 | pub fn transmute_many_permissive_mut(bytes: &mut [u8]) -> Result<&mut [T], Error> { | ^^^^^^^^^ ^^^^^^^^ ^^^^^^^^^^^^ the same lifetime is hidden here | | | | | the same lifetime is elided 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 | 224 | pub fn transmute_many_permissive_mut(bytes: &mut [u8]) -> Result<&mut [T], Error<'_, u8, T>> { | +++ warning: hiding a lifetime that's elided elsewhere is confusing --> src/full.rs:252:69 | 252 | pub fn transmute_many_pedantic_mut(bytes: &mut [u8]) -> Result<&mut [T], Error> { | ^^^^^^^^^ ^^^^^^^^ ^^^^^^^^^^^^ the same lifetime is hidden here | | | | | the same lifetime is elided 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 | 252 | pub fn transmute_many_pedantic_mut(bytes: &mut [u8]) -> Result<&mut [T], Error<'_, u8, T>> { | +++ warning: hiding a lifetime that's elided elsewhere is confusing --> src/base.rs:51:42 | 51 | pub unsafe fn from_bytes(bytes: &[u8]) -> Result> { | ^^^^^ ^^^^^^^^^^^^ 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 | 51 | pub unsafe fn from_bytes(bytes: &[u8]) -> Result> { | +++ warning: hiding a lifetime that's elided elsewhere is confusing --> src/base.rs:93:51 | 93 | pub unsafe fn from_bytes_pedantic(bytes: &[u8]) -> Result> { | ^^^^^ ^^^^^^^^^^^^ 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 | 93 | pub unsafe fn from_bytes_pedantic(bytes: &[u8]) -> Result> { | +++ warning: hiding a lifetime that's elided elsewhere is confusing --> src/base.rs:138:50 | 138 | pub unsafe fn transmute_many(bytes: &[u8]) -> Result<&[T], Error> { | ^^^^^ ^^^^ ^^^^^^^^^^^^ the same lifetime is hidden here | | | | | the same lifetime is elided 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 | 138 | pub unsafe fn transmute_many(bytes: &[u8]) -> Result<&[T], Error<'_, u8, T>> { | +++ warning: hiding a lifetime that's elided elsewhere is confusing --> src/base.rs:183:54 | 183 | pub unsafe fn transmute_many_mut(bytes: &mut [u8]) -> Result<&mut [T], Error> { | ^^^^^^^^^ ^^^^^^^^ ^^^^^^^^^^^^ the same lifetime is hidden here | | | | | the same lifetime is elided 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 | 183 | pub unsafe fn transmute_many_mut(bytes: &mut [u8]) -> Result<&mut [T], Error<'_, u8, T>> { | +++ warning: unnecessary transmute --> src/bool.rs:45:19 | 45 | unsafe { b == transmute::<_, u8>(false) || b == transmute::<_, u8>(true) } | ------------------^^^^^^^ | | | help: replace this with: `u8::from` | = note: `#[warn(unnecessary_transmutes)]` on by default warning: unnecessary transmute --> src/bool.rs:45:53 | 45 | unsafe { b == transmute::<_, u8>(false) || b == transmute::<_, u8>(true) } | ------------------^^^^^^ | | | help: replace this with: `u8::from` warning: hiding a lifetime that's elided elsewhere is confusing --> src/bool.rs:48:36 | 48 | fn transmute_bool(bytes: &[u8]) -> Result<&[bool], Error> { | ^^^^^ ^^^^^^^ ^^^^^^^^^^^^^^^ the same lifetime is hidden here | | | | | the same lifetime is elided 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 | 48 | fn transmute_bool(bytes: &[u8]) -> Result<&[bool], Error<'_, u8, bool>> { | +++ warning: hiding a lifetime that's elided elsewhere is confusing --> src/bool.rs:80:41 | 80 | pub fn transmute_bool_permissive(bytes: &[u8]) -> Result<&[bool], Error> { | ^^^^^ ^^^^^^^ ^^^^^^^^^^^^^^^ the same lifetime is hidden here | | | | | the same lifetime is elided 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 | 80 | pub fn transmute_bool_permissive(bytes: &[u8]) -> Result<&[bool], Error<'_, u8, bool>> { | +++ warning: hiding a lifetime that's elided elsewhere is confusing --> src/bool.rs:100:39 | 100 | pub fn transmute_bool_pedantic(bytes: &[u8]) -> Result<&[bool], Error> { | ^^^^^ ^^^^^^^ ^^^^^^^^^^^^^^^ the same lifetime is hidden here | | | | | the same lifetime is elided 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 | 100 | pub fn transmute_bool_pedantic(bytes: &[u8]) -> Result<&[bool], Error<'_, u8, bool>> { | +++ warning: hiding a lifetime that's elided elsewhere is confusing --> src/align.rs:29:36 | 29 | pub fn check_alignment(data: &[S]) -> Result<(), UnalignedError> { | ^^^^ ^^^^^^^^^^^^^^^^^^^^ 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 | 29 | pub fn check_alignment(data: &[S]) -> Result<(), UnalignedError<'_, S, T>> { | +++ warning: hiding a lifetime that's elided elsewhere is confusing --> src/align.rs:41:40 | 41 | pub fn check_alignment_mut(data: &mut [S]) -> Result<&mut [S], UnalignedError> { | ^^^^^^^^ ^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here | | | | | the same lifetime is elided 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 | 41 | pub fn check_alignment_mut(data: &mut [S]) -> Result<&mut [S], UnalignedError<'_, S, T>> { | +++ warning: hiding a lifetime that's elided elsewhere is confusing --> src/trivial.rs:195:66 | 195 | pub unsafe fn transmute_trivial(bytes: &[u8]) -> Result> { | ^^^^^ ^^^^^^^^^^^^ 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 | 195 | pub unsafe fn transmute_trivial(bytes: &[u8]) -> Result> { | +++ warning: hiding a lifetime that's elided elsewhere is confusing --> src/trivial.rs:233:75 | 233 | pub unsafe fn transmute_trivial_pedantic(bytes: &[u8]) -> Result> { | ^^^^^ ^^^^^^^^^^^^ 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 | 233 | pub unsafe fn transmute_trivial_pedantic(bytes: &[u8]) -> Result> { | +++ warning: hiding a lifetime that's elided elsewhere is confusing --> src/trivial.rs:270:81 | 270 | pub unsafe fn transmute_trivial_many(bytes: &[u8]) -> Result<&[T], Error> { | ^^^^^ ^^^^ ^^^^^^^^^^^^ the same lifetime is hidden here | | | | | the same lifetime is elided 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 | 270 | pub unsafe fn transmute_trivial_many(bytes: &[u8]) -> Result<&[T], Error<'_, u8, T>> { | +++ warning: hiding a lifetime that's elided elsewhere is confusing --> src/trivial.rs:307:85 | 307 | pub unsafe fn transmute_trivial_many_mut(bytes: &mut [u8]) -> Result<&mut [T], Error> { | ^^^^^^^^^ ^^^^^^^^ ^^^^^^^^^^^^ the same lifetime is hidden here | | | | | the same lifetime is elided 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 | 307 | pub unsafe fn transmute_trivial_many_mut(bytes: &mut [u8]) -> Result<&mut [T], Error<'_, u8, T>> { | +++ warning: hiding a lifetime that's elided elsewhere is confusing --> src/trivial.rs:315:86 | 315 | pub unsafe fn guarded_transmute_pod_many_permissive(bytes: &[u8]) -> Result<&[T], Error> { | ^^^^^ ^^^^ ^^^^^^^^^^^^ the same lifetime is hidden here | | | | | the same lifetime is elided 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 | 315 | pub unsafe fn guarded_transmute_pod_many_permissive(bytes: &[u8]) -> Result<&[T], Error<'_, u8, T>> { | +++ warning: hiding a lifetime that's elided elsewhere is confusing --> src/trivial.rs:324:84 | 324 | pub unsafe fn guarded_transmute_pod_many_pedantic(bytes: &[u8]) -> Result<&[T], Error> { | ^^^^^ ^^^^ ^^^^^^^^^^^^ the same lifetime is hidden here | | | | | the same lifetime is elided 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 | 324 | pub unsafe fn guarded_transmute_pod_many_pedantic(bytes: &[u8]) -> Result<&[T], Error<'_, u8, T>> { | +++ warning: `safe-transmute` (lib) generated 27 warnings (run `cargo fix --lib -p safe-transmute` to apply 25 suggestions) Finished `rpm` profile [optimized + debuginfo] target(s) in 0.47s + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.yxr8Tm + umask 022 + cd /home/pterjan/rpmbuild/BUILD/rust-safe-transmute-0.11.2-build + '[' 1 -eq 1 ']' + '[' /home/pterjan/rpmbuild/BUILD/rust-safe-transmute-0.11.2-build/BUILDROOT '!=' / ']' + rm -rf /home/pterjan/rpmbuild/BUILD/rust-safe-transmute-0.11.2-build/BUILDROOT ++ dirname /home/pterjan/rpmbuild/BUILD/rust-safe-transmute-0.11.2-build/BUILDROOT + mkdir -p /home/pterjan/rpmbuild/BUILD/rust-safe-transmute-0.11.2-build + mkdir /home/pterjan/rpmbuild/BUILD/rust-safe-transmute-0.11.2-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 safe-transmute-0.11.2 + '[' 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=safe-transmute ++ /usr/bin/cargo2rpm --path Cargo.toml version + CRATE_VERSION=0.11.2 + REG_DIR=/home/pterjan/rpmbuild/BUILD/rust-safe-transmute-0.11.2-build/BUILDROOT/usr/share/cargo/registry/safe-transmute-0.11.2 + /usr/bin/mkdir -p /home/pterjan/rpmbuild/BUILD/rust-safe-transmute-0.11.2-build/BUILDROOT/usr/share/cargo/registry/safe-transmute-0.11.2 + /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-safe-transmute-0.11.2-build/BUILDROOT/usr/share/cargo/registry/safe-transmute-0.11.2 warning: no (git) VCS found for `/home/pterjan/rpmbuild/BUILD/rust-safe-transmute-0.11.2-build/safe-transmute-0.11.2` + /usr/bin/mv Cargo.toml.deps Cargo.toml + /usr/bin/cp -a Cargo.toml /home/pterjan/rpmbuild/BUILD/rust-safe-transmute-0.11.2-build/BUILDROOT/usr/share/cargo/registry/safe-transmute-0.11.2/Cargo.toml + /usr/bin/rm -f /home/pterjan/rpmbuild/BUILD/rust-safe-transmute-0.11.2-build/BUILDROOT/usr/share/cargo/registry/safe-transmute-0.11.2/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.2IPQxA + umask 022 + cd /home/pterjan/rpmbuild/BUILD/rust-safe-transmute-0.11.2-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 safe-transmute-0.11.2 + '[' 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 warning: no edition set: defaulting to the 2015 edition while the latest is 2024 warning: unexpected `cfg` condition name: `i128_type` --> src/trivial.rs:68:7 | 68 | #[cfg(i128_type)] | ^^^^^^^^^ | = help: expected names are: `docsrs`, `feature`, and `test` and 31 more = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(i128_type)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(i128_type)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: `#[warn(unexpected_cfgs)]` on by default warning: unexpected `cfg` condition name: `i128_type` --> src/trivial.rs:70:7 | 70 | #[cfg(i128_type)] | ^^^^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(i128_type)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(i128_type)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: hiding a lifetime that's elided elsewhere is confusing --> src/full.rs:52:55 | 52 | pub fn transmute_one(bytes: &[u8]) -> Result> { | ^^^^^ ^^^^^^^^^^^^ 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 | 52 | pub fn transmute_one(bytes: &[u8]) -> Result> { | +++ warning: hiding a lifetime that's elided elsewhere is confusing --> src/full.rs:83:64 | 83 | pub fn transmute_one_pedantic(bytes: &[u8]) -> Result> { | ^^^^^ ^^^^^^^^^^^^ 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 | 83 | pub fn transmute_one_pedantic(bytes: &[u8]) -> Result> { | +++ warning: hiding a lifetime that's elided elsewhere is confusing --> src/full.rs:113:66 | 113 | pub fn transmute_many(bytes: &[u8]) -> Result<&[T], Error> { | ^^^^^ ^^^^ ^^^^^^^^^^^^ the same lifetime is hidden here | | | | | the same lifetime is elided 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 | 113 | pub fn transmute_many(bytes: &[u8]) -> Result<&[T], Error<'_, u8, T>> { | +++ warning: hiding a lifetime that's elided elsewhere is confusing --> src/full.rs:140:67 | 140 | pub fn transmute_many_permissive(bytes: &[u8]) -> Result<&[T], Error> { | ^^^^^ ^^^^ ^^^^^^^^^^^^ the same lifetime is hidden here | | | | | the same lifetime is elided 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 | 140 | pub fn transmute_many_permissive(bytes: &[u8]) -> Result<&[T], Error<'_, u8, T>> { | +++ warning: hiding a lifetime that's elided elsewhere is confusing --> src/full.rs:168:65 | 168 | pub fn transmute_many_pedantic(bytes: &[u8]) -> Result<&[T], Error> { | ^^^^^ ^^^^ ^^^^^^^^^^^^ the same lifetime is hidden here | | | | | the same lifetime is elided 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 | 168 | pub fn transmute_many_pedantic(bytes: &[u8]) -> Result<&[T], Error<'_, u8, T>> { | +++ warning: hiding a lifetime that's elided elsewhere is confusing --> src/full.rs:196:70 | 196 | pub fn transmute_many_mut(bytes: &mut [u8]) -> Result<&mut [T], Error> { | ^^^^^^^^^ ^^^^^^^^ ^^^^^^^^^^^^ the same lifetime is hidden here | | | | | the same lifetime is elided 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 | 196 | pub fn transmute_many_mut(bytes: &mut [u8]) -> Result<&mut [T], Error<'_, u8, T>> { | +++ warning: hiding a lifetime that's elided elsewhere is confusing --> src/full.rs:224:71 | 224 | pub fn transmute_many_permissive_mut(bytes: &mut [u8]) -> Result<&mut [T], Error> { | ^^^^^^^^^ ^^^^^^^^ ^^^^^^^^^^^^ the same lifetime is hidden here | | | | | the same lifetime is elided 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 | 224 | pub fn transmute_many_permissive_mut(bytes: &mut [u8]) -> Result<&mut [T], Error<'_, u8, T>> { | +++ warning: hiding a lifetime that's elided elsewhere is confusing --> src/full.rs:252:69 | 252 | pub fn transmute_many_pedantic_mut(bytes: &mut [u8]) -> Result<&mut [T], Error> { | ^^^^^^^^^ ^^^^^^^^ ^^^^^^^^^^^^ the same lifetime is hidden here | | | | | the same lifetime is elided 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 | 252 | pub fn transmute_many_pedantic_mut(bytes: &mut [u8]) -> Result<&mut [T], Error<'_, u8, T>> { | +++ warning: hiding a lifetime that's elided elsewhere is confusing --> src/base.rs:51:42 | 51 | pub unsafe fn from_bytes(bytes: &[u8]) -> Result> { | ^^^^^ ^^^^^^^^^^^^ 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 | 51 | pub unsafe fn from_bytes(bytes: &[u8]) -> Result> { | +++ warning: hiding a lifetime that's elided elsewhere is confusing --> src/base.rs:93:51 | 93 | pub unsafe fn from_bytes_pedantic(bytes: &[u8]) -> Result> { | ^^^^^ ^^^^^^^^^^^^ 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 | 93 | pub unsafe fn from_bytes_pedantic(bytes: &[u8]) -> Result> { | +++ warning: hiding a lifetime that's elided elsewhere is confusing --> src/base.rs:138:50 | 138 | pub unsafe fn transmute_many(bytes: &[u8]) -> Result<&[T], Error> { | ^^^^^ ^^^^ ^^^^^^^^^^^^ the same lifetime is hidden here | | | | | the same lifetime is elided 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 | 138 | pub unsafe fn transmute_many(bytes: &[u8]) -> Result<&[T], Error<'_, u8, T>> { | +++ warning: hiding a lifetime that's elided elsewhere is confusing --> src/base.rs:183:54 | 183 | pub unsafe fn transmute_many_mut(bytes: &mut [u8]) -> Result<&mut [T], Error> { | ^^^^^^^^^ ^^^^^^^^ ^^^^^^^^^^^^ the same lifetime is hidden here | | | | | the same lifetime is elided 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 | 183 | pub unsafe fn transmute_many_mut(bytes: &mut [u8]) -> Result<&mut [T], Error<'_, u8, T>> { | +++ warning: unnecessary transmute --> src/bool.rs:45:19 | 45 | unsafe { b == transmute::<_, u8>(false) || b == transmute::<_, u8>(true) } | ------------------^^^^^^^ | | | help: replace this with: `u8::from` | = note: `#[warn(unnecessary_transmutes)]` on by default warning: unnecessary transmute --> src/bool.rs:45:53 | 45 | unsafe { b == transmute::<_, u8>(false) || b == transmute::<_, u8>(true) } | ------------------^^^^^^ | | | help: replace this with: `u8::from` warning: hiding a lifetime that's elided elsewhere is confusing --> src/bool.rs:48:36 | 48 | fn transmute_bool(bytes: &[u8]) -> Result<&[bool], Error> { | ^^^^^ ^^^^^^^ ^^^^^^^^^^^^^^^ the same lifetime is hidden here | | | | | the same lifetime is elided 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 | 48 | fn transmute_bool(bytes: &[u8]) -> Result<&[bool], Error<'_, u8, bool>> { | +++ warning: hiding a lifetime that's elided elsewhere is confusing --> src/bool.rs:80:41 | 80 | pub fn transmute_bool_permissive(bytes: &[u8]) -> Result<&[bool], Error> { | ^^^^^ ^^^^^^^ ^^^^^^^^^^^^^^^ the same lifetime is hidden here | | | | | the same lifetime is elided 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 | 80 | pub fn transmute_bool_permissive(bytes: &[u8]) -> Result<&[bool], Error<'_, u8, bool>> { | +++ warning: hiding a lifetime that's elided elsewhere is confusing --> src/bool.rs:100:39 | 100 | pub fn transmute_bool_pedantic(bytes: &[u8]) -> Result<&[bool], Error> { | ^^^^^ ^^^^^^^ ^^^^^^^^^^^^^^^ the same lifetime is hidden here | | | | | the same lifetime is elided 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 | 100 | pub fn transmute_bool_pedantic(bytes: &[u8]) -> Result<&[bool], Error<'_, u8, bool>> { | +++ warning: hiding a lifetime that's elided elsewhere is confusing --> src/align.rs:29:36 | 29 | pub fn check_alignment(data: &[S]) -> Result<(), UnalignedError> { | ^^^^ ^^^^^^^^^^^^^^^^^^^^ 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 | 29 | pub fn check_alignment(data: &[S]) -> Result<(), UnalignedError<'_, S, T>> { | +++ warning: hiding a lifetime that's elided elsewhere is confusing --> src/align.rs:41:40 | 41 | pub fn check_alignment_mut(data: &mut [S]) -> Result<&mut [S], UnalignedError> { | ^^^^^^^^ ^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here | | | | | the same lifetime is elided 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 | 41 | pub fn check_alignment_mut(data: &mut [S]) -> Result<&mut [S], UnalignedError<'_, S, T>> { | +++ warning: hiding a lifetime that's elided elsewhere is confusing --> src/trivial.rs:195:66 | 195 | pub unsafe fn transmute_trivial(bytes: &[u8]) -> Result> { | ^^^^^ ^^^^^^^^^^^^ 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 | 195 | pub unsafe fn transmute_trivial(bytes: &[u8]) -> Result> { | +++ warning: hiding a lifetime that's elided elsewhere is confusing --> src/trivial.rs:233:75 | 233 | pub unsafe fn transmute_trivial_pedantic(bytes: &[u8]) -> Result> { | ^^^^^ ^^^^^^^^^^^^ 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 | 233 | pub unsafe fn transmute_trivial_pedantic(bytes: &[u8]) -> Result> { | +++ warning: hiding a lifetime that's elided elsewhere is confusing --> src/trivial.rs:270:81 | 270 | pub unsafe fn transmute_trivial_many(bytes: &[u8]) -> Result<&[T], Error> { | ^^^^^ ^^^^ ^^^^^^^^^^^^ the same lifetime is hidden here | | | | | the same lifetime is elided 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 | 270 | pub unsafe fn transmute_trivial_many(bytes: &[u8]) -> Result<&[T], Error<'_, u8, T>> { | +++ warning: hiding a lifetime that's elided elsewhere is confusing --> src/trivial.rs:307:85 | 307 | pub unsafe fn transmute_trivial_many_mut(bytes: &mut [u8]) -> Result<&mut [T], Error> { | ^^^^^^^^^ ^^^^^^^^ ^^^^^^^^^^^^ the same lifetime is hidden here | | | | | the same lifetime is elided 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 | 307 | pub unsafe fn transmute_trivial_many_mut(bytes: &mut [u8]) -> Result<&mut [T], Error<'_, u8, T>> { | +++ warning: hiding a lifetime that's elided elsewhere is confusing --> src/trivial.rs:315:86 | 315 | pub unsafe fn guarded_transmute_pod_many_permissive(bytes: &[u8]) -> Result<&[T], Error> { | ^^^^^ ^^^^ ^^^^^^^^^^^^ the same lifetime is hidden here | | | | | the same lifetime is elided 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 | 315 | pub unsafe fn guarded_transmute_pod_many_permissive(bytes: &[u8]) -> Result<&[T], Error<'_, u8, T>> { | +++ warning: hiding a lifetime that's elided elsewhere is confusing --> src/trivial.rs:324:84 | 324 | pub unsafe fn guarded_transmute_pod_many_pedantic(bytes: &[u8]) -> Result<&[T], Error> { | ^^^^^ ^^^^ ^^^^^^^^^^^^ the same lifetime is hidden here | | | | | the same lifetime is elided 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 | 324 | pub unsafe fn guarded_transmute_pod_many_pedantic(bytes: &[u8]) -> Result<&[T], Error<'_, u8, T>> { | +++ warning: `safe-transmute` (lib) generated 27 warnings (run `cargo fix --lib -p safe-transmute` to apply 25 suggestions) Compiling safe-transmute v0.11.2 (/home/pterjan/rpmbuild/BUILD/rust-safe-transmute-0.11.2-build/safe-transmute-0.11.2) Running `/usr/bin/rustc --crate-name lib --edition=2015 tests/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="alloc"' --cfg 'feature="default"' --cfg 'feature="std"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("alloc", "const_generics", "default", "std"))' -C metadata=9b5c4b3b63ceb3a8 -C extra-filename=-be6cac4be2fd5ee2 --out-dir /home/pterjan/rpmbuild/BUILD/rust-safe-transmute-0.11.2-build/safe-transmute-0.11.2/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-safe-transmute-0.11.2-build/safe-transmute-0.11.2/target/rpm/deps --extern safe_transmute=/home/pterjan/rpmbuild/BUILD/rust-safe-transmute-0.11.2-build/safe-transmute-0.11.2/target/rpm/deps/libsafe_transmute-d212d2a6ce55c04b.rlib -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` Running `/usr/bin/rustc --crate-name safe_transmute --edition=2015 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="alloc"' --cfg 'feature="default"' --cfg 'feature="std"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("alloc", "const_generics", "default", "std"))' -C metadata=24bc8e42cf1bc9a1 -C extra-filename=-ab1041bacbe68043 --out-dir /home/pterjan/rpmbuild/BUILD/rust-safe-transmute-0.11.2-build/safe-transmute-0.11.2/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-safe-transmute-0.11.2-build/safe-transmute-0.11.2/target/rpm/deps -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` warning: trait `LeToNative` is never used --> tests/test_util/le_to_native.rs:17:7 | 17 | trait LeToNative { | ^^^^^^^^^^ | = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default warning: `safe-transmute` (lib test) generated 27 warnings (27 duplicates) warning: `safe-transmute` (test "lib") generated 1 warning Finished `rpm` profile [optimized + debuginfo] target(s) in 1.57s Running `/home/pterjan/rpmbuild/BUILD/rust-safe-transmute-0.11.2-build/safe-transmute-0.11.2/target/rpm/deps/safe_transmute-ab1041bacbe68043` running 0 tests test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s Running `/home/pterjan/rpmbuild/BUILD/rust-safe-transmute-0.11.2-build/safe-transmute-0.11.2/target/rpm/deps/lib-be6cac4be2fd5ee2` running 60 tests test base::from_bytes::just_enough ... ok test base::from_bytes::too_much ... ok test base::from_bytes::too_short ... ok test base::from_bytes_pedantic::too_much ... ok test base::from_bytes_pedantic::just_enough ... ok test base::from_bytes_pedantic::too_short ... ok test base::transmute_many::just_enough ... ok test base::transmute_many::too_much ... ok test base::transmute_many::just_enough_mut ... ok test base::transmute_many::too_short ... ok test base::transmute_many_pedantic::just_enough ... ok test base::transmute_many_pedantic::too_much ... ok test base::transmute_many_pedantic::too_short ... ok test base::transmute_many_permissive::just_enough ... ok test base::transmute_many_permissive::too_much ... ok test base::transmute_many::too_short_mut ... ok test base::transmute_many_permissive::too_short ... ok test base::transmute_vec ... ok test bool::pedantic::invalid_bytes ... ok test bool::pedantic::too_short ... ok test bool::pedantic::just_enough ... ok test bool::permissive::invalid_bytes ... ok test bool::permissive::just_enough ... ok test bool::permissive::too_short ... ok test bool::vec_pedantic::too_short ... ok test bool::vec_pedantic::invalid_bytes ... ok test bool::vec_permissive::just_enough ... ok test bool::vec_permissive::too_short ... ok test bool::vec_pedantic::just_enough ... ok test error::unaligned::unaligned_slicing_integers ... ok test base::transmute_many::too_much_mut ... ok test full::many::just_enough ... ok test bool::vec_permissive::invalid_bytes ... ok test full::many::too_much ... ok test full::many::too_short ... ok test full::many_pedantic::just_enough ... ok test full::many_pedantic::too_much ... ok test full::many_permissive::just_enough ... ok test full::many_permissive::too_much ... ok test full::many_pedantic::too_short ... ok test full::many_permissive::too_short ... ok test full::one::just_enough ... ok test full::one::too_short ... ok test full::one_pedantic::just_enough ... ok test full::one_pedantic::too_much ... ok test full::one_pedantic::too_short ... ok test full::vec::bad_alignment ... ok test full::vec::bad_size ... ok test full::vec::just_enough ... ok test guard::zero_sized::all_or_nothing_guard ... ok test guard::zero_sized::pedantic_guard ... ok test guard::zero_sized::single_many_guard ... ok test util::designalise_f32 ... ok test guard::zero_sized::single_value_guard ... ok test util::designalise_f64 ... ok test util::test_aligned_vec ... ok test guard::zero_sized::permissive_guard ... ok test util::smoke_check_alignment_from_4 ... ok test full::one::too_much ... ok test util::smoke_check_alignment_from_8 ... ok test result: ok. 60 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s Doc-tests safe_transmute Running `/usr/bin/rustdoc --edition=2015 --crate-type lib --color auto --crate-name safe_transmute --test src/lib.rs --test-run-directory /home/pterjan/rpmbuild/BUILD/rust-safe-transmute-0.11.2-build/safe-transmute-0.11.2 -L dependency=/home/pterjan/rpmbuild/BUILD/rust-safe-transmute-0.11.2-build/safe-transmute-0.11.2/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-safe-transmute-0.11.2-build/safe-transmute-0.11.2/target/rpm/deps --extern safe_transmute=/home/pterjan/rpmbuild/BUILD/rust-safe-transmute-0.11.2-build/safe-transmute-0.11.2/target/rpm/deps/libsafe_transmute-d212d2a6ce55c04b.rlib -C embed-bitcode=no --cfg 'feature="alloc"' --cfg 'feature="default"' --cfg 'feature="std"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("alloc", "const_generics", "default", "std"))' --error-format human` running 59 tests test src/bool.rs - bool::transmute_bool_permissive (line 70) ... ok test src/guard.rs - guard (line 8) ... ok test src/bool.rs - bool::bytes_are_bool (line 30) ... ok test src/error.rs - error::GuardError (line 153) ... ok test src/to_bytes.rs - to_bytes::transmute_to_bytes (line 346) ... ok test src/guard.rs - guard (line 23) ... ok test src/full.rs - full::transmute_one (line 41) ... ok test src/base.rs - base::transmute_vec (line 249) ... ok test src/full.rs - full::transmute_vec (line 275) ... ok test src/guard.rs - guard (line 47) ... ok test src/migration/v0_11.rs - migration::v0_11 (line 107) ... ok test src/base.rs - base::transmute_many_mut (line 166) ... ok test src/base.rs - base::from_bytes_pedantic (line 77) ... ok test src/migration/v0_11.rs - migration::v0_11 (line 82) ... ok test src/to_bytes.rs - to_bytes::transmute_one_to_bytes (line 238) ... ok test src/to_bytes.rs - to_bytes::transmute_to_bytes_many_unchecked (line 138) ... ok test src/bool.rs - bool::transmute_bool_vec_permissive (line 110) ... ok test src/lib.rs - (line 125) ... ok test src/full.rs - full::transmute_many (line 101) ... ok test src/to_bytes.rs - to_bytes::transmute_to_bytes_many_unchecked_mut (line 192) ... ok test src/bool.rs - bool::transmute_bool_pedantic (line 90) ... ok test src/lib.rs - (line 50) ... ok test src/to_bytes.rs - to_bytes::transmute_to_bytes (line 331) ... ok test src/to_bytes.rs - to_bytes::transmute_to_bytes_unchecked_mut (line 69) ... ok test src/lib.rs - (line 101) ... ok test src/base.rs - base::transmute_many_permissive (line 208) ... ok test src/full.rs - full::transmute_many_permissive_mut (line 213) ... ok test src/migration/v0_11.rs - migration::v0_11 (line 45) ... ok test src/base.rs - base::from_bytes (line 38) ... ok test src/full.rs - full::transmute_many_pedantic_mut (line 240) ... ok test src/to_bytes.rs - to_bytes::transmute_one_to_bytes_mut (line 295) ... ok test src/to_bytes.rs - to_bytes::transmute_to_bytes_mut (line 375) ... ok test src/error.rs - error::Error (line 24) ... ok test src/guard.rs - guard (line 35) ... ok test src/to_bytes.rs - to_bytes::transmute_to_bytes_many_unchecked (line 121) ... ok test src/base.rs - base::transmute_many (line 121) ... ok test src/to_bytes.rs - to_bytes::transmute_to_bytes_unchecked (line 19) ... ok test src/to_bytes.rs - to_bytes::transmute_one_to_bytes_mut (line 280) ... ok test src/to_bytes.rs - to_bytes::transmute_to_bytes_unchecked (line 36) ... ok test src/full.rs - full::transmute_one_pedantic (line 72) ... ok test src/lib.rs - (line 82) ... ok test src/full.rs - full::transmute_many_pedantic (line 156) ... ok test src/to_bytes.rs - to_bytes::transmute_one_to_bytes (line 253) ... ok test src/full.rs - full::transmute_many_mut (line 184) ... ok test src/trivial.rs - trivial::align_to_mut (line 148) ... ok test src/to_bytes.rs - to_bytes::transmute_to_bytes_many_unchecked_mut (line 175) ... ok test src/trivial.rs - trivial::align_to (line 123) ... ok test src/bool.rs - bool::transmute_bool_vec_pedantic (line 138) ... ok test src/trivial.rs - trivial::transmute_trivial (line 182) ... ok test src/trivial.rs - trivial::transmute_trivial_many (line 255) ... ok test src/to_bytes.rs - to_bytes::transmute_to_bytes_unchecked_mut (line 86) ... ok test src/lib.rs - (line 142) ... ok test src/to_bytes.rs - to_bytes::transmute_to_bytes_vec (line 432) ... ok test src/full.rs - full::transmute_many_permissive (line 129) ... ok test src/trivial.rs - trivial::transmute_trivial_many_mut (line 292) ... ok test src/trivial.rs - trivial::transmute_trivial_vec (line 347) ... ok test src/util.rs - util::try_copy_unchecked (line 60) ... ok test src/trivial.rs - trivial::transmute_trivial_pedantic (line 220) ... ok test src/util.rs - util::try_copy (line 20) ... ok test result: ok. 59 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 1.88s + RPM_EC=0 ++ jobs -p + exit 0 Processing files: rust-safe-transmute-devel-0.11.2-6.mga10.noarch warning: File listed twice: /usr/share/cargo/registry/safe-transmute-0.11.2/LICENSE warning: File listed twice: /usr/share/cargo/registry/safe-transmute-0.11.2/README.md Provides: crate(safe-transmute) = 0.11.2 rust-safe-transmute-devel = 0.11.2-6.mga10 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: cargo Processing files: rust-safe-transmute+default-devel-0.11.2-6.mga10.noarch Provides: crate(safe-transmute/default) = 0.11.2 rust-safe-transmute+default-devel = 0.11.2-6.mga10 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: cargo crate(safe-transmute) = 0.11.2 crate(safe-transmute/std) = 0.11.2 Processing files: rust-safe-transmute+alloc-devel-0.11.2-6.mga10.noarch Provides: crate(safe-transmute/alloc) = 0.11.2 rust-safe-transmute+alloc-devel = 0.11.2-6.mga10 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: cargo crate(safe-transmute) = 0.11.2 Processing files: rust-safe-transmute+const_generics-devel-0.11.2-6.mga10.noarch Provides: crate(safe-transmute/const_generics) = 0.11.2 rust-safe-transmute+const_generics-devel = 0.11.2-6.mga10 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: cargo crate(safe-transmute) = 0.11.2 Processing files: rust-safe-transmute+std-devel-0.11.2-6.mga10.noarch Provides: crate(safe-transmute/std) = 0.11.2 rust-safe-transmute+std-devel = 0.11.2-6.mga10 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: cargo crate(safe-transmute) = 0.11.2 crate(safe-transmute/alloc) = 0.11.2 Checking for unpackaged file(s): /usr/lib/rpm/check-files /home/pterjan/rpmbuild/BUILD/rust-safe-transmute-0.11.2-build/BUILDROOT Wrote: /home/pterjan/rpmbuild/RPMS/noarch/rust-safe-transmute+default-devel-0.11.2-6.mga10.noarch.rpm Wrote: /home/pterjan/rpmbuild/RPMS/noarch/rust-safe-transmute+std-devel-0.11.2-6.mga10.noarch.rpm Wrote: /home/pterjan/rpmbuild/RPMS/noarch/rust-safe-transmute+const_generics-devel-0.11.2-6.mga10.noarch.rpm Wrote: /home/pterjan/rpmbuild/RPMS/noarch/rust-safe-transmute+alloc-devel-0.11.2-6.mga10.noarch.rpm Wrote: /home/pterjan/rpmbuild/RPMS/noarch/rust-safe-transmute-devel-0.11.2-6.mga10.noarch.rpm Executing(rmbuild): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.KA3oFa + umask 022 + cd /home/pterjan/rpmbuild/BUILD/rust-safe-transmute-0.11.2-build + test -d /home/pterjan/rpmbuild/BUILD/rust-safe-transmute-0.11.2-build + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w /home/pterjan/rpmbuild/BUILD/rust-safe-transmute-0.11.2-build + rm -rf /home/pterjan/rpmbuild/BUILD/rust-safe-transmute-0.11.2-build + RPM_EC=0 ++ jobs -p + exit 0 RPM build warnings: File listed twice: /usr/share/cargo/registry/safe-transmute-0.11.2/LICENSE File listed twice: /usr/share/cargo/registry/safe-transmute-0.11.2/README.md D: [iurt_root_command] Success!