Mock Version: 6.5 Mock Version: 6.5 Mock Version: 6.5 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target riscv64 --nodeps /builddir/build/SPECS/rust-safe-transmute.spec'], chrootPath='/var/lib/mock/f45-build-44941-818/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=864000uid=995gid=135user='mockbuild'unshare_net=TrueprintOutput=Falsenspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.lz999oj8:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.lz999oj8:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '922d7ab2cd5e4462b2a0c566dcf5073e', '-D', '/var/lib/mock/f45-build-44941-818/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.lz999oj8:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target riscv64 --nodeps /builddir/build/SPECS/rust-safe-transmute.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1784246400 Wrote: /builddir/build/SRPMS/rust-safe-transmute-0.11.3-6.fc45.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -br --noclean --target riscv64 --nodeps /builddir/build/SPECS/rust-safe-transmute.spec'], chrootPath='/var/lib/mock/f45-build-44941-818/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=864000uid=995gid=135user='mockbuild'unshare_net=TrueraiseExc=FalseprintOutput=Falsenspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.lz999oj8:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.lz999oj8:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '94cd3f69042d4b46a0350bd285fbe3ad', '-D', '/var/lib/mock/f45-build-44941-818/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.lz999oj8:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -br --noclean --target riscv64 --nodeps /builddir/build/SPECS/rust-safe-transmute.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1784246400 Executing(mkbuilddir): /bin/sh -e /var/tmp/rpm-tmp.4ZNGly Creating(rpmbuild.env): /builddir/build/BUILD/rust-safe-transmute-0.11.3-build/rpmbuild.env RPM_SOURCE_DIR="/builddir/build/SOURCES" RPM_BUILD_DIR="/builddir/build/BUILD/rust-safe-transmute-0.11.3-build" RPM_OPT_FLAGS="-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer" RPM_LD_FLAGS="-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes " RPM_ARCH="riscv64" RPM_OS="linux" RPM_BUILD_NCPUS="8" RPM_SPECPARTS_DIR="/builddir/build/BUILD/rust-safe-transmute-0.11.3-build/SPECPARTS" export RPM_SOURCE_DIR RPM_BUILD_DIR RPM_OPT_FLAGS RPM_ARCH RPM_OS RPM_BUILD_NCPUS RPM_SPECPARTS_DIR RPM_LD_FLAGS RPM_DOC_DIR="/usr/share/doc" export RPM_DOC_DIR RPM_PACKAGE_NAME="rust-safe-transmute" RPM_PACKAGE_VERSION="0.11.3" RPM_PACKAGE_RELEASE="6.fc45" export RPM_PACKAGE_NAME RPM_PACKAGE_VERSION RPM_PACKAGE_RELEASE LANG=C.UTF-8 export LANG unset CDPATH DISPLAY ||: unset DEBUGINFOD_URLS ||: unset RPM_CONFIG_DIR ||: RPM_BUILD_ROOT="/builddir/build/BUILD/rust-safe-transmute-0.11.3-build/BUILDROOT" export RPM_BUILD_ROOT PKG_CONFIG_PATH="${PKG_CONFIG_PATH}:/usr/lib64/pkgconfig:/usr/share/pkgconfig" export PKG_CONFIG_PATH CONFIG_SITE=${CONFIG_SITE:-NONE} export CONFIG_SITE Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.fo9VJi + umask 022 + cd /builddir/build/BUILD/rust-safe-transmute-0.11.3-build + cd /builddir/build/BUILD/rust-safe-transmute-0.11.3-build + rm -rf safe-transmute-0.11.3 + /usr/bin/rpmuncompress -x /builddir/build/SOURCES/safe-transmute-0.11.3.crate + STATUS=0 + '[' 0 -ne 0 ']' + cd safe-transmute-0.11.3 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + set -euo pipefail + /usr/bin/mkdir -p target/rpm + /usr/bin/ln -s rpm target/release + /usr/bin/rm -rf .cargo/ + /usr/bin/mkdir -p .cargo + cat + cat + /usr/bin/rm -f Cargo.lock + /usr/bin/rm -f Cargo.toml.orig + RPM_EC=0 ++ jobs -p + exit 0 Executing(%generate_buildrequires): /bin/sh -e /var/tmp/rpm-tmp.ECks2e + umask 022 + cd /builddir/build/BUILD/rust-safe-transmute-0.11.3-build + cd safe-transmute-0.11.3 + /usr/bin/cargo2rpm --path Cargo.toml buildrequires --with-check + RPM_EC=0 ++ jobs -p + exit 0 Wrote: /builddir/build/SRPMS/rust-safe-transmute-0.11.3-6.fc45.buildreqs.nosrc.rpm Child return code was: 11 Dynamic buildrequires detected Going to install missing buildrequires. See root.log for details. ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -ba --noprep --noclean --target riscv64 --nodeps /builddir/build/SPECS/rust-safe-transmute.spec'], chrootPath='/var/lib/mock/f45-build-44941-818/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=864000uid=995gid=135user='mockbuild'unshare_net=TrueprintOutput=Falsenspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.lz999oj8:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.lz999oj8:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '7b3ab8f19de947fb81503a7079ae8828', '-D', '/var/lib/mock/f45-build-44941-818/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.lz999oj8:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -ba --noprep --noclean --target riscv64 --nodeps /builddir/build/SPECS/rust-safe-transmute.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1784246400 Executing(%generate_buildrequires): /bin/sh -e /var/tmp/rpm-tmp.buD8BJ + umask 022 + cd /builddir/build/BUILD/rust-safe-transmute-0.11.3-build + cd safe-transmute-0.11.3 + /usr/bin/cargo2rpm --path Cargo.toml buildrequires --with-check + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.bq3yh3 + umask 022 + cd /builddir/build/BUILD/rust-safe-transmute-0.11.3-build + CFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd safe-transmute-0.11.3 + /usr/bin/env CARGO_HOME=.cargo RUSTC_BOOTSTRAP=1 'RUSTFLAGS=-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' /usr/bin/cargo build -j8 -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.3 (/builddir/build/BUILD/rust-safe-transmute-0.11.3-build/safe-transmute-0.11.3) 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=1c91b458ecafe681 -C extra-filename=-fb438d9f00fafba9 --out-dir /builddir/build/BUILD/rust-safe-transmute-0.11.3-build/safe-transmute-0.11.3/target/rpm/deps -L dependency=/builddir/build/BUILD/rust-safe-transmute-0.11.3-build/safe-transmute-0.11.3/target/rpm/deps -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn` warning: unexpected `cfg` condition name: `i128_type` --> src/trivial.rs:72:7 | 72 | #[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:74:7 | 74 | #[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) } | ^^^^^^^^^^^^^^^^^^^^^^^^^ | = note: `#[warn(unnecessary_transmutes)]` on by default help: replace this with | 45 - unsafe { b == transmute::<_, u8>(false) || b == transmute::<_, u8>(true) } 45 + unsafe { b == u8::from(false) || b == transmute::<_, u8>(true) } | warning: unnecessary transmute --> src/bool.rs:45:53 | 45 | unsafe { b == transmute::<_, u8>(false) || b == transmute::<_, u8>(true) } | ^^^^^^^^^^^^^^^^^^^^^^^^ | help: replace this with | 45 - unsafe { b == transmute::<_, u8>(false) || b == transmute::<_, u8>(true) } 45 + unsafe { b == transmute::<_, u8>(false) || b == u8::from(true) } | 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:199:66 | 199 | 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 | 199 | pub unsafe fn transmute_trivial(bytes: &[u8]) -> Result> { | +++ warning: hiding a lifetime that's elided elsewhere is confusing --> src/trivial.rs:237:75 | 237 | 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 | 237 | pub unsafe fn transmute_trivial_pedantic(bytes: &[u8]) -> Result> { | +++ warning: hiding a lifetime that's elided elsewhere is confusing --> src/trivial.rs:274:81 | 274 | 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 | 274 | 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:311:85 | 311 | 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 | 311 | 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:319:86 | 319 | 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 | 319 | 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:328:84 | 328 | 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 | 328 | 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 1.77s + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.Z3uZEJ + umask 022 + cd /builddir/build/BUILD/rust-safe-transmute-0.11.3-build + '[' /builddir/build/BUILD/rust-safe-transmute-0.11.3-build/BUILDROOT '!=' / ']' + rm -rf /builddir/build/BUILD/rust-safe-transmute-0.11.3-build/BUILDROOT ++ dirname /builddir/build/BUILD/rust-safe-transmute-0.11.3-build/BUILDROOT + mkdir -p /builddir/build/BUILD/rust-safe-transmute-0.11.3-build + mkdir /builddir/build/BUILD/rust-safe-transmute-0.11.3-build/BUILDROOT + CFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd safe-transmute-0.11.3 + 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.3 + REG_DIR=/builddir/build/BUILD/rust-safe-transmute-0.11.3-build/BUILDROOT/usr/share/cargo/registry/safe-transmute-0.11.3 + /usr/bin/mkdir -p /builddir/build/BUILD/rust-safe-transmute-0.11.3-build/BUILDROOT/usr/share/cargo/registry/safe-transmute-0.11.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 -Cforce-frame-pointers=yes -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' /usr/bin/cargo package -l + xargs -d '\n' /usr/bin/cp --parents -a -t /builddir/build/BUILD/rust-safe-transmute-0.11.3-build/BUILDROOT/usr/share/cargo/registry/safe-transmute-0.11.3 + grep -w -E -v 'Cargo.(lock|toml.orig)' warning: no (git) VCS found for `/builddir/build/BUILD/rust-safe-transmute-0.11.3-build/safe-transmute-0.11.3` + /usr/bin/mv Cargo.toml.deps Cargo.toml + /usr/bin/cp -a Cargo.toml /builddir/build/BUILD/rust-safe-transmute-0.11.3-build/BUILDROOT/usr/share/cargo/registry/safe-transmute-0.11.3/Cargo.toml + /usr/bin/rm -f /builddir/build/BUILD/rust-safe-transmute-0.11.3-build/BUILDROOT/usr/share/cargo/registry/safe-transmute-0.11.3/Cargo.toml.deps + echo '{"files":{},"package":""}' ++ /usr/bin/cargo2rpm --path Cargo.toml is-bin + '[' 0 -eq 1 ']' + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + COMPRESS='gzip -9 -n' + COMPRESS_EXT=.gz + /usr/lib/rpm/brp-compress + /usr/lib/rpm/brp-strip /usr/bin/strip + /usr/lib/rpm/brp-strip-comment-note /usr/bin/strip /usr/bin/objdump + /usr/lib/rpm/redhat/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/check-rpaths + /usr/lib/rpm/redhat/brp-mangle-shebangs + /usr/lib/rpm/brp-remove-la-files + /usr/lib/rpm/redhat/brp-python-rpm-in-distinfo + env /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 -j8 + /usr/lib/rpm/redhat/brp-python-hardlink + /usr/bin/add-det --brp -j8 /builddir/build/BUILD/rust-safe-transmute-0.11.3-build/BUILDROOT Scanned 16 directories and 45 files, processed 0 inodes, 0 modified (0 replaced + 0 rewritten), 0 unsupported format, 0 errors + /usr/bin/linkdupes --brp /builddir/build/BUILD/rust-safe-transmute-0.11.3-build/BUILDROOT/usr Scanned 15 directories and 45 files, considered 45 files, read 0 files, linked 0 files, 0 errors sum of sizes of linked files: 0 bytes Reading /builddir/build/BUILD/rust-safe-transmute-0.11.3-build/SPECPARTS/rpm-debuginfo.specpart Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.s2w2XU + umask 022 + cd /builddir/build/BUILD/rust-safe-transmute-0.11.3-build + CFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd safe-transmute-0.11.3 + /usr/bin/env CARGO_HOME=.cargo RUSTC_BOOTSTRAP=1 'RUSTFLAGS=-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' /usr/bin/cargo test -j8 -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:72:7 | 72 | #[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:74:7 | 74 | #[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) } | ^^^^^^^^^^^^^^^^^^^^^^^^^ | = note: `#[warn(unnecessary_transmutes)]` on by default help: replace this with | 45 - unsafe { b == transmute::<_, u8>(false) || b == transmute::<_, u8>(true) } 45 + unsafe { b == u8::from(false) || b == transmute::<_, u8>(true) } | warning: unnecessary transmute --> src/bool.rs:45:53 | 45 | unsafe { b == transmute::<_, u8>(false) || b == transmute::<_, u8>(true) } | ^^^^^^^^^^^^^^^^^^^^^^^^ | help: replace this with | 45 - unsafe { b == transmute::<_, u8>(false) || b == transmute::<_, u8>(true) } 45 + unsafe { b == transmute::<_, u8>(false) || b == u8::from(true) } | 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:199:66 | 199 | 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 | 199 | pub unsafe fn transmute_trivial(bytes: &[u8]) -> Result> { | +++ warning: hiding a lifetime that's elided elsewhere is confusing --> src/trivial.rs:237:75 | 237 | 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 | 237 | pub unsafe fn transmute_trivial_pedantic(bytes: &[u8]) -> Result> { | +++ warning: hiding a lifetime that's elided elsewhere is confusing --> src/trivial.rs:274:81 | 274 | 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 | 274 | 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:311:85 | 311 | 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 | 311 | 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:319:86 | 319 | 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 | 319 | 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:328:84 | 328 | 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 | 328 | 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.3 (/builddir/build/BUILD/rust-safe-transmute-0.11.3-build/safe-transmute-0.11.3) 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=006d4ea4f9377fd0 -C extra-filename=-11878c5cf589817e --out-dir /builddir/build/BUILD/rust-safe-transmute-0.11.3-build/safe-transmute-0.11.3/target/rpm/deps -L dependency=/builddir/build/BUILD/rust-safe-transmute-0.11.3-build/safe-transmute-0.11.3/target/rpm/deps --extern safe_transmute=/builddir/build/BUILD/rust-safe-transmute-0.11.3-build/safe-transmute-0.11.3/target/rpm/deps/libsafe_transmute-fb438d9f00fafba9.rlib -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --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=3a354d0d0ad93e90 -C extra-filename=-20bb124ceefd777b --out-dir /builddir/build/BUILD/rust-safe-transmute-0.11.3-build/safe-transmute-0.11.3/target/rpm/deps -L dependency=/builddir/build/BUILD/rust-safe-transmute-0.11.3-build/safe-transmute-0.11.3/target/rpm/deps -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn` warning: `safe-transmute` (lib test) generated 27 warnings (27 duplicates) Finished `rpm` profile [optimized + debuginfo] target(s) in 7.83s Running `/builddir/build/BUILD/rust-safe-transmute-0.11.3-build/safe-transmute-0.11.3/target/rpm/deps/safe_transmute-20bb124ceefd777b` running 0 tests test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s Running `/builddir/build/BUILD/rust-safe-transmute-0.11.3-build/safe-transmute-0.11.3/target/rpm/deps/lib-11878c5cf589817e` running 60 tests test base::from_bytes::too_much ... ok test base::from_bytes::just_enough ... ok test base::from_bytes::too_short ... ok test base::from_bytes_pedantic::just_enough ... ok test base::from_bytes_pedantic::too_much ... ok test base::from_bytes_pedantic::too_short ... ok test base::transmute_many::just_enough ... ok test base::transmute_many::just_enough_mut ... ok test base::transmute_many::too_much ... ok test base::transmute_many::too_much_mut ... ok test base::transmute_many::too_short ... ok test base::transmute_many_pedantic::just_enough ... ok test base::transmute_many::too_short_mut ... ok test base::transmute_many_pedantic::too_short ... ok test base::transmute_many_pedantic::too_much ... ok test base::transmute_many_permissive::just_enough ... ok test base::transmute_many_permissive::too_much ... ok test base::transmute_many_permissive::too_short ... ok test base::transmute_vec ... ok test bool::pedantic::invalid_bytes ... ok test bool::pedantic::just_enough ... ok test bool::pedantic::too_short ... ok test bool::permissive::invalid_bytes ... ok test bool::permissive::just_enough ... ok test bool::permissive::too_short ... ok test bool::vec_pedantic::invalid_bytes ... ok test bool::vec_pedantic::just_enough ... ok test bool::vec_pedantic::too_short ... ok test bool::vec_permissive::invalid_bytes ... ok test bool::vec_permissive::just_enough ... ok test bool::vec_permissive::too_short ... ok test error::unaligned::unaligned_slicing_integers ... ok test full::many::just_enough ... 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_pedantic::too_short ... ok test full::many_permissive::just_enough ... ok test full::many_permissive::too_much ... ok test full::many_permissive::too_short ... ok test full::one::just_enough ... ok test full::one::too_much ... 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::permissive_guard ... ok test guard::zero_sized::single_many_guard ... ok test guard::zero_sized::single_value_guard ... ok test util::designalise_f32 ... ok test util::designalise_f64 ... ok test util::smoke_check_alignment_from_4 ... ok test util::smoke_check_alignment_from_8 ... ok test util::test_aligned_vec ... ok test result: ok. 60 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.03s 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 /builddir/build/BUILD/rust-safe-transmute-0.11.3-build/safe-transmute-0.11.3 --extern safe_transmute=/builddir/build/BUILD/rust-safe-transmute-0.11.3-build/safe-transmute-0.11.3/target/rpm/deps/libsafe_transmute-fb438d9f00fafba9.rlib -L dependency=/builddir/build/BUILD/rust-safe-transmute-0.11.3-build/safe-transmute-0.11.3/target/rpm/deps -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/base.rs - base::from_bytes_pedantic (line 77) ... ok test src/base.rs - base::from_bytes (line 38) ... ok test src/base.rs - base::transmute_many_permissive (line 208) ... ok test src/bool.rs - bool::bytes_are_bool (line 30) ... ok test src/base.rs - base::transmute_vec (line 249) ... ok test src/bool.rs - bool::transmute_bool_pedantic (line 90) ... ok test src/base.rs - base::transmute_many (line 121) ... ok test src/base.rs - base::transmute_many_mut (line 166) ... ok test src/full.rs - full::transmute_many (line 101) ... ok test src/full.rs - full::transmute_many_pedantic (line 156) ... ok test src/error.rs - error::Error (line 24) ... ok test src/error.rs - error::GuardError (line 153) ... ok test src/bool.rs - bool::transmute_bool_vec_pedantic (line 138) ... ok test src/bool.rs - bool::transmute_bool_vec_permissive (line 110) ... ok test src/full.rs - full::transmute_many_mut (line 184) ... ok test src/bool.rs - bool::transmute_bool_permissive (line 70) ... ok test src/full.rs - full::transmute_many_permissive (line 129) ... ok test src/guard.rs - guard (line 23) ... ok test src/full.rs - full::transmute_one_pedantic (line 72) ... ok test src/full.rs - full::transmute_many_permissive_mut (line 213) ... ok test src/full.rs - full::transmute_vec (line 275) ... ok test src/full.rs - full::transmute_one (line 41) ... ok test src/guard.rs - guard (line 47) ... ok test src/full.rs - full::transmute_many_pedantic_mut (line 240) ... ok test src/guard.rs - guard (line 35) ... ok test src/guard.rs - guard (line 8) ... ok test src/lib.rs - (line 142) ... ok test src/lib.rs - (line 125) ... ok test src/lib.rs - (line 101) ... ok test src/lib.rs - (line 50) ... ok test src/lib.rs - (line 82) ... ok test src/migration/v0_11.rs - migration::v0_11 (line 45) ... ok test src/migration/v0_11.rs - migration::v0_11 (line 107) ... ok test src/to_bytes.rs - to_bytes::transmute_one_to_bytes (line 253) ... 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 (line 331) ... ok test src/to_bytes.rs - to_bytes::transmute_one_to_bytes_mut (line 280) ... 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 (line 346) ... ok test src/to_bytes.rs - to_bytes::transmute_to_bytes_many_unchecked_mut (line 192) ... ok test src/to_bytes.rs - to_bytes::transmute_to_bytes_many_unchecked (line 121) ... ok test src/to_bytes.rs - to_bytes::transmute_to_bytes_many_unchecked (line 138) ... ok test src/to_bytes.rs - to_bytes::transmute_to_bytes_many_unchecked_mut (line 175) ... ok test src/to_bytes.rs - to_bytes::transmute_to_bytes_unchecked (line 19) ... ok test src/to_bytes.rs - to_bytes::transmute_to_bytes_unchecked (line 36) ... ok test src/to_bytes.rs - to_bytes::transmute_to_bytes_vec (line 432) ... ok test src/trivial.rs - trivial::align_to (line 127) ... ok test src/to_bytes.rs - to_bytes::transmute_to_bytes_mut (line 375) ... ok test src/to_bytes.rs - to_bytes::transmute_to_bytes_unchecked_mut (line 69) ... ok test src/to_bytes.rs - to_bytes::transmute_to_bytes_unchecked_mut (line 86) ... ok test src/trivial.rs - trivial::align_to_mut (line 152) ... ok test src/trivial.rs - trivial::transmute_trivial_many (line 259) ... ok test src/trivial.rs - trivial::transmute_trivial_pedantic (line 224) ... ok test src/util.rs - util::try_copy_unchecked (line 60) ... ok test src/trivial.rs - trivial::transmute_trivial_vec (line 351) ... ok test src/trivial.rs - trivial::transmute_trivial_many_mut (line 296) ... ok test src/trivial.rs - trivial::transmute_trivial (line 186) ... 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 21.51s + RPM_EC=0 ++ jobs -p + exit 0 Processing files: rust-safe-transmute-devel-0.11.3-6.fc45.noarch warning: File listed twice: /usr/share/cargo/registry/safe-transmute-0.11.3/LICENSE warning: File listed twice: /usr/share/cargo/registry/safe-transmute-0.11.3/README.md Provides: crate(safe-transmute) = 0.11.3 purl(pkg:cargo/safe-transmute@0.11.3) rust-safe-transmute-devel = 0.11.3-6.fc45 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.3-6.fc45.noarch Provides: crate(safe-transmute/default) = 0.11.3 rust-safe-transmute+default-devel = 0.11.3-6.fc45 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.3 crate(safe-transmute/std) = 0.11.3 Processing files: rust-safe-transmute+alloc-devel-0.11.3-6.fc45.noarch Provides: crate(safe-transmute/alloc) = 0.11.3 rust-safe-transmute+alloc-devel = 0.11.3-6.fc45 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.3 Processing files: rust-safe-transmute+const_generics-devel-0.11.3-6.fc45.noarch Provides: crate(safe-transmute/const_generics) = 0.11.3 rust-safe-transmute+const_generics-devel = 0.11.3-6.fc45 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.3 Processing files: rust-safe-transmute+std-devel-0.11.3-6.fc45.noarch Provides: crate(safe-transmute/std) = 0.11.3 rust-safe-transmute+std-devel = 0.11.3-6.fc45 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.3 crate(safe-transmute/alloc) = 0.11.3 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILD/rust-safe-transmute-0.11.3-build/BUILDROOT Wrote: /builddir/build/SRPMS/rust-safe-transmute-0.11.3-6.fc45.src.rpm Wrote: /builddir/build/RPMS/rust-safe-transmute+alloc-devel-0.11.3-6.fc45.noarch.rpm Wrote: /builddir/build/RPMS/rust-safe-transmute+default-devel-0.11.3-6.fc45.noarch.rpm Wrote: /builddir/build/RPMS/rust-safe-transmute+std-devel-0.11.3-6.fc45.noarch.rpm Wrote: /builddir/build/RPMS/rust-safe-transmute+const_generics-devel-0.11.3-6.fc45.noarch.rpm Wrote: /builddir/build/RPMS/rust-safe-transmute-devel-0.11.3-6.fc45.noarch.rpm RPM build warnings: File listed twice: /usr/share/cargo/registry/safe-transmute-0.11.3/LICENSE File listed twice: /usr/share/cargo/registry/safe-transmute-0.11.3/README.md Child return code was: 0