D: [iurt_root_command] chroot
Building target platforms: noarch
Building for target noarch
Installing /home/pterjan/rpmbuild/SRPMS/rust-bytes0.5-0.5.6-0.1.mga10.src.rpm
Executing(%mkbuilddir): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.BU8y9N
Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.KbArtN
+ umask 022
+ cd /home/pterjan/rpmbuild/BUILD/rust-bytes0.5-0.5.6-build
+ '[' 1 -eq 1 ']'
+ '[' 1 -eq 1 ']'
+ '[' 1 -eq 1 ']'
+ cd /home/pterjan/rpmbuild/BUILD/rust-bytes0.5-0.5.6-build
+ rm -rf bytes-0.5.6
+ /usr/lib/rpm/rpmuncompress -x /home/pterjan/rpmbuild/SOURCES/bytes-0.5.6.crate
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ cd bytes-0.5.6
+ /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w .
+ /usr/lib/rpm/rpmuncompress /home/pterjan/rpmbuild/SOURCES/bytes-fix-metadata-auto.diff
+ /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f
+ set -euo pipefail
+ /usr/bin/mkdir -p target/rpm
+ /usr/bin/ln -s rpm target/release
+ /usr/bin/rm -rf .cargo/
+ /usr/bin/mkdir -p .cargo
+ cat
+ cat
+ /usr/bin/rm -f Cargo.lock
+ /usr/bin/rm -f Cargo.toml.orig
+ RPM_EC=0
++ jobs -p
+ exit 0
Executing(%generate_buildrequires): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.y6Y226
+ umask 022
+ cd /home/pterjan/rpmbuild/BUILD/rust-bytes0.5-0.5.6-build
+ cd bytes-0.5.6
+ /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.EmeqtG
+ umask 022
+ cd /home/pterjan/rpmbuild/BUILD/rust-bytes0.5-0.5.6-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 bytes-0.5.6
+ '[' 1 -eq 1 ']'
+ '[' 1 -eq 1 ']'
+ /usr/bin/env CARGO_HOME=.cargo RUSTC_BOOTSTRAP=1 'RUSTFLAGS=-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn' /usr/bin/cargo build -j16 -Z avoid-dev-deps --profile rpm
   Compiling bytes v0.5.6 (/home/pterjan/rpmbuild/BUILD/rust-bytes0.5-0.5.6-build/bytes-0.5.6)
     Running `/usr/bin/rustc --crate-name bytes --edition=2018 src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no -C codegen-units=1 -C debuginfo=2 --cfg 'feature="default"' --cfg 'feature="std"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("default", "serde", "std"))' -C metadata=43017392866c2a85 -C extra-filename=-313b12a8af708689 --out-dir /home/pterjan/rpmbuild/BUILD/rust-bytes0.5-0.5.6-build/bytes-0.5.6/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-bytes0.5-0.5.6-build/bytes-0.5.6/target/rpm/deps -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn`
warning: unexpected `cfg` condition name: `loom`
    --> src/bytes.rs:1078:17
     |
1078 | #[cfg(all(test, loom))]
     |                 ^^^^
     |
     = 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(loom)'] }
     = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(loom)");` to the top of the `build.rs`
     = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
     = note: `#[warn(unexpected_cfgs)]` on by default

warning: unexpected `cfg` condition name: `loom`
   --> src/bytes.rs:100:19
    |
100 |     #[cfg(not(all(loom, test)))]
    |                   ^^^^
    |
    = 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(loom)'] }
    = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(loom)");` to the top of the `build.rs`
    = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration

warning: unexpected `cfg` condition name: `loom`
   --> src/bytes.rs:108:15
    |
108 |     #[cfg(all(loom, test))]
    |               ^^^^
    |
    = 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(loom)'] }
    = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(loom)");` to the top of the `build.rs`
    = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration

warning: unexpected `cfg` condition name: `loom`
   --> src/bytes.rs:128:19
    |
128 |     #[cfg(not(all(loom, test)))]
    |                   ^^^^
    |
    = 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(loom)'] }
    = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(loom)");` to the top of the `build.rs`
    = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration

warning: unexpected `cfg` condition name: `loom`
   --> src/bytes.rs:138:15
    |
138 |     #[cfg(all(loom, test))]
    |               ^^^^
    |
    = 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(loom)'] }
    = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(loom)");` to the top of the `build.rs`
    = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration

warning: unexpected `cfg` condition name: `loom`
    --> src/bytes_mut.rs:1549:17
     |
1549 | #[cfg(all(test, loom))]
     |                 ^^^^
     |
     = 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(loom)'] }
     = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(loom)");` to the top of the `build.rs`
     = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration

warning: unexpected `cfg` condition name: `loom`
 --> src/loom.rs:1:21
  |
1 | #[cfg(not(all(test, loom)))]
  |                     ^^^^
  |
  = 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(loom)'] }
  = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(loom)");` to the top of the `build.rs`
  = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration

warning: unexpected `cfg` condition name: `loom`
  --> src/loom.rs:23:17
   |
23 | #[cfg(all(test, loom))]
   |                 ^^^^
   |
   = 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(loom)'] }
   = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(loom)");` to the top of the `build.rs`
   = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration

warning: use of deprecated method `core::sync::atomic::AtomicPtr::<T>::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead
    --> src/bytes.rs:1002:23
     |
1002 |     let actual = atom.compare_and_swap(ptr as _, shared as _, Ordering::AcqRel);
     |                       ^^^^^^^^^^^^^^^^
     |
     = note: `#[warn(deprecated)]` on by default

warning: calls to `std::mem::drop` with a value that implements `Copy` does nothing
   --> src/bytes.rs:781:9
    |
781 |         drop(Box::into_raw(slice));
    |         ^^^^^--------------------^
    |              |
    |              argument has type `*mut [u8]`
    |
    = note: `#[warn(dropping_copy_types)]` on by default
help: use `let _ = ...` to ignore the expression or result
    |
781 -         drop(Box::into_raw(slice));
781 +         let _ = Box::into_raw(slice);
    |

warning: unused return value of `Box::<T>::from_raw` that must be used
    --> src/bytes.rs:1052:5
     |
1052 |     Box::from_raw(ptr);
     |     ^^^^^^^^^^^^^^^^^^
     |
     = note: call `drop(Box::from_raw(ptr))` if you intend to drop the `Box`
     = note: `#[warn(unused_must_use)]` on by default
help: use `let _ = ...` to ignore the resulting value
     |
1052 |     let _ = Box::from_raw(ptr);
     |     +++++++

warning: unused return value of `Box::<T>::from_raw` that must be used
    --> src/bytes_mut.rs:1234:5
     |
1234 |     Box::from_raw(ptr);
     |     ^^^^^^^^^^^^^^^^^^
     |
     = note: call `drop(Box::from_raw(ptr))` if you intend to drop the `Box`
help: use `let _ = ...` to ignore the resulting value
     |
1234 |     let _ = Box::from_raw(ptr);
     |     +++++++

warning: `bytes` (lib) generated 12 warnings
    Finished `rpm` profile [optimized + debuginfo] target(s) in 1.02s
+ RPM_EC=0
++ jobs -p
+ exit 0
Executing(%install): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.WCeenu
+ umask 022
+ cd /home/pterjan/rpmbuild/BUILD/rust-bytes0.5-0.5.6-build
+ '[' 1 -eq 1 ']'
+ '[' /home/pterjan/rpmbuild/BUILD/rust-bytes0.5-0.5.6-build/BUILDROOT '!=' / ']'
+ rm -rf /home/pterjan/rpmbuild/BUILD/rust-bytes0.5-0.5.6-build/BUILDROOT
++ dirname /home/pterjan/rpmbuild/BUILD/rust-bytes0.5-0.5.6-build/BUILDROOT
+ mkdir -p /home/pterjan/rpmbuild/BUILD/rust-bytes0.5-0.5.6-build
+ mkdir /home/pterjan/rpmbuild/BUILD/rust-bytes0.5-0.5.6-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 bytes-0.5.6
+ '[' 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=bytes
++ /usr/bin/cargo2rpm --path Cargo.toml version
+ CRATE_VERSION=0.5.6
+ REG_DIR=/home/pterjan/rpmbuild/BUILD/rust-bytes0.5-0.5.6-build/BUILDROOT/usr/share/cargo/registry/bytes-0.5.6
+ /usr/bin/mkdir -p /home/pterjan/rpmbuild/BUILD/rust-bytes0.5-0.5.6-build/BUILDROOT/usr/share/cargo/registry/bytes-0.5.6
+ /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-bytes0.5-0.5.6-build/BUILDROOT/usr/share/cargo/registry/bytes-0.5.6
warning: no (git) VCS found for `/home/pterjan/rpmbuild/BUILD/rust-bytes0.5-0.5.6-build/bytes-0.5.6`
+ /usr/bin/mv Cargo.toml.deps Cargo.toml
+ /usr/bin/cp -a Cargo.toml /home/pterjan/rpmbuild/BUILD/rust-bytes0.5-0.5.6-build/BUILDROOT/usr/share/cargo/registry/bytes-0.5.6/Cargo.toml
+ /usr/bin/rm -f /home/pterjan/rpmbuild/BUILD/rust-bytes0.5-0.5.6-build/BUILDROOT/usr/share/cargo/registry/bytes-0.5.6/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.wyYIkI
+ umask 022
+ cd /home/pterjan/rpmbuild/BUILD/rust-bytes0.5-0.5.6-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 bytes-0.5.6
+ '[' 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
   Compiling serde v1.0.217
warning: unexpected `cfg` condition name: `loom`
    --> src/bytes.rs:1078:17
     |
1078 | #[cfg(all(test, loom))]
     |                 ^^^^
     |
     = 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(loom)'] }
     = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(loom)");` to the top of the `build.rs`
     = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
     = note: `#[warn(unexpected_cfgs)]` on by default

warning: unexpected `cfg` condition name: `loom`
   --> src/bytes.rs:100:19
    |
100 |     #[cfg(not(all(loom, test)))]
    |                   ^^^^
    |
    = 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(loom)'] }
    = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(loom)");` to the top of the `build.rs`
    = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration

warning: unexpected `cfg` condition name: `loom`
   --> src/bytes.rs:108:15
    |
108 |     #[cfg(all(loom, test))]
    |               ^^^^
    |
    = 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(loom)'] }
    = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(loom)");` to the top of the `build.rs`
    = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration

warning: unexpected `cfg` condition name: `loom`
   --> src/bytes.rs:128:19
    |
128 |     #[cfg(not(all(loom, test)))]
    |                   ^^^^
    |
    = 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(loom)'] }
    = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(loom)");` to the top of the `build.rs`
    = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration

warning: unexpected `cfg` condition name: `loom`
   --> src/bytes.rs:138:15
    |
138 |     #[cfg(all(loom, test))]
    |               ^^^^
    |
    = 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(loom)'] }
    = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(loom)");` to the top of the `build.rs`
    = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration

warning: unexpected `cfg` condition name: `loom`
    --> src/bytes_mut.rs:1549:17
     |
1549 | #[cfg(all(test, loom))]
     |                 ^^^^
     |
     = 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(loom)'] }
     = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(loom)");` to the top of the `build.rs`
     = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration

warning: unexpected `cfg` condition name: `loom`
 --> src/loom.rs:1:21
  |
1 | #[cfg(not(all(test, loom)))]
  |                     ^^^^
  |
  = 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(loom)'] }
  = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(loom)");` to the top of the `build.rs`
  = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration

warning: unexpected `cfg` condition name: `loom`
  --> src/loom.rs:23:17
   |
23 | #[cfg(all(test, loom))]
   |                 ^^^^
   |
   = 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(loom)'] }
   = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(loom)");` to the top of the `build.rs`
   = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration

warning: use of deprecated method `core::sync::atomic::AtomicPtr::<T>::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead
    --> src/bytes.rs:1002:23
     |
1002 |     let actual = atom.compare_and_swap(ptr as _, shared as _, Ordering::AcqRel);
     |                       ^^^^^^^^^^^^^^^^
     |
     = note: `#[warn(deprecated)]` on by default

warning: calls to `std::mem::drop` with a value that implements `Copy` does nothing
   --> src/bytes.rs:781:9
    |
781 |         drop(Box::into_raw(slice));
    |         ^^^^^--------------------^
    |              |
    |              argument has type `*mut [u8]`
    |
    = note: `#[warn(dropping_copy_types)]` on by default
help: use `let _ = ...` to ignore the expression or result
    |
781 -         drop(Box::into_raw(slice));
781 +         let _ = Box::into_raw(slice);
    |

warning: unused return value of `Box::<T>::from_raw` that must be used
    --> src/bytes.rs:1052:5
     |
1052 |     Box::from_raw(ptr);
     |     ^^^^^^^^^^^^^^^^^^
     |
     = note: call `drop(Box::from_raw(ptr))` if you intend to drop the `Box`
     = note: `#[warn(unused_must_use)]` on by default
help: use `let _ = ...` to ignore the resulting value
     |
1052 |     let _ = Box::from_raw(ptr);
     |     +++++++

warning: unused return value of `Box::<T>::from_raw` that must be used
    --> src/bytes_mut.rs:1234:5
     |
1234 |     Box::from_raw(ptr);
     |     ^^^^^^^^^^^^^^^^^^
     |
     = note: call `drop(Box::from_raw(ptr))` if you intend to drop the `Box`
help: use `let _ = ...` to ignore the resulting value
     |
1234 |     let _ = Box::from_raw(ptr);
     |     +++++++

     Running `/usr/bin/rustc --crate-name build_script_build --edition=2018 /usr/share/cargo/registry/serde-1.0.217/build.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type bin --emit=dep-info,link -C embed-bitcode=no -C debug-assertions=off --cfg 'feature="default"' --cfg 'feature="std"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("alloc", "default", "derive", "rc", "serde_derive", "std", "unstable"))' -C metadata=23c33bd44e5b2880 -C extra-filename=-c893c1601ea249e9 --out-dir /home/pterjan/rpmbuild/BUILD/rust-bytes0.5-0.5.6-build/bytes-0.5.6/target/rpm/build/serde-c893c1601ea249e9 -L dependency=/home/pterjan/rpmbuild/BUILD/rust-bytes0.5-0.5.6-build/bytes-0.5.6/target/rpm/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn`
warning: `bytes` (lib) generated 12 warnings
     Running `/home/pterjan/rpmbuild/BUILD/rust-bytes0.5-0.5.6-build/bytes-0.5.6/target/rpm/build/serde-c893c1601ea249e9/build-script-build`
     Running `/usr/bin/rustc --crate-name serde --edition=2018 /usr/share/cargo/registry/serde-1.0.217/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no -C codegen-units=1 -C debuginfo=2 --cfg 'feature="default"' --cfg 'feature="std"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("alloc", "default", "derive", "rc", "serde_derive", "std", "unstable"))' -C metadata=b749c9e10a9e182f -C extra-filename=-2450d9623ee82f46 --out-dir /home/pterjan/rpmbuild/BUILD/rust-bytes0.5-0.5.6-build/bytes-0.5.6/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-bytes0.5-0.5.6-build/bytes-0.5.6/target/rpm/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn --check-cfg 'cfg(no_core_cstr)' --check-cfg 'cfg(no_core_error)' --check-cfg 'cfg(no_core_net)' --check-cfg 'cfg(no_core_num_saturating)' --check-cfg 'cfg(no_core_try_from)' --check-cfg 'cfg(no_diagnostic_namespace)' --check-cfg 'cfg(no_float_copysign)' --check-cfg 'cfg(no_num_nonzero_signed)' --check-cfg 'cfg(no_relaxed_trait_bounds)' --check-cfg 'cfg(no_serde_derive)' --check-cfg 'cfg(no_std_atomic)' --check-cfg 'cfg(no_std_atomic64)' --check-cfg 'cfg(no_systemtime_checked_add)' --check-cfg 'cfg(no_target_has_atomic)'`
   Compiling serde_test v1.0.177
     Running `/usr/bin/rustc --crate-name serde_test --edition=2021 /usr/share/cargo/registry/serde_test-1.0.177/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 --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values())' -C metadata=ea1ef5d3ece7c343 -C extra-filename=-90ff4109e4c793fe --out-dir /home/pterjan/rpmbuild/BUILD/rust-bytes0.5-0.5.6-build/bytes-0.5.6/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-bytes0.5-0.5.6-build/bytes-0.5.6/target/rpm/deps --extern serde=/home/pterjan/rpmbuild/BUILD/rust-bytes0.5-0.5.6-build/bytes-0.5.6/target/rpm/deps/libserde-2450d9623ee82f46.rmeta --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn`
   Compiling bytes v0.5.6 (/home/pterjan/rpmbuild/BUILD/rust-bytes0.5-0.5.6-build/bytes-0.5.6)
     Running `/usr/bin/rustc --crate-name test_buf --edition=2018 tests/test_buf.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --emit=dep-info,link -C opt-level=3 -C embed-bitcode=no -C codegen-units=1 -C debuginfo=2 --test --cfg 'feature="default"' --cfg 'feature="std"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("default", "serde", "std"))' -C metadata=877b64739e79c6eb -C extra-filename=-3240055a87eaf721 --out-dir /home/pterjan/rpmbuild/BUILD/rust-bytes0.5-0.5.6-build/bytes-0.5.6/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-bytes0.5-0.5.6-build/bytes-0.5.6/target/rpm/deps --extern bytes=/home/pterjan/rpmbuild/BUILD/rust-bytes0.5-0.5.6-build/bytes-0.5.6/target/rpm/deps/libbytes-313b12a8af708689.rlib --extern serde_test=/home/pterjan/rpmbuild/BUILD/rust-bytes0.5-0.5.6-build/bytes-0.5.6/target/rpm/deps/libserde_test-90ff4109e4c793fe.rlib -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn`
     Running `/usr/bin/rustc --crate-name test_debug --edition=2018 tests/test_debug.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --emit=dep-info,link -C opt-level=3 -C embed-bitcode=no -C codegen-units=1 -C debuginfo=2 --test --cfg 'feature="default"' --cfg 'feature="std"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("default", "serde", "std"))' -C metadata=0df76d4062563c17 -C extra-filename=-9381e15b34a29c90 --out-dir /home/pterjan/rpmbuild/BUILD/rust-bytes0.5-0.5.6-build/bytes-0.5.6/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-bytes0.5-0.5.6-build/bytes-0.5.6/target/rpm/deps --extern bytes=/home/pterjan/rpmbuild/BUILD/rust-bytes0.5-0.5.6-build/bytes-0.5.6/target/rpm/deps/libbytes-313b12a8af708689.rlib --extern serde_test=/home/pterjan/rpmbuild/BUILD/rust-bytes0.5-0.5.6-build/bytes-0.5.6/target/rpm/deps/libserde_test-90ff4109e4c793fe.rlib -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn`
     Running `/usr/bin/rustc --crate-name test_iter --edition=2018 tests/test_iter.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --emit=dep-info,link -C opt-level=3 -C embed-bitcode=no -C codegen-units=1 -C debuginfo=2 --test --cfg 'feature="default"' --cfg 'feature="std"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("default", "serde", "std"))' -C metadata=01946d21ea2189a9 -C extra-filename=-40571f2c3cb5887b --out-dir /home/pterjan/rpmbuild/BUILD/rust-bytes0.5-0.5.6-build/bytes-0.5.6/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-bytes0.5-0.5.6-build/bytes-0.5.6/target/rpm/deps --extern bytes=/home/pterjan/rpmbuild/BUILD/rust-bytes0.5-0.5.6-build/bytes-0.5.6/target/rpm/deps/libbytes-313b12a8af708689.rlib --extern serde_test=/home/pterjan/rpmbuild/BUILD/rust-bytes0.5-0.5.6-build/bytes-0.5.6/target/rpm/deps/libserde_test-90ff4109e4c793fe.rlib -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn`
     Running `/usr/bin/rustc --crate-name test_bytes --edition=2018 tests/test_bytes.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --emit=dep-info,link -C opt-level=3 -C embed-bitcode=no -C codegen-units=1 -C debuginfo=2 --test --cfg 'feature="default"' --cfg 'feature="std"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("default", "serde", "std"))' -C metadata=e1d362b18310dac9 -C extra-filename=-db56e0c92bf65048 --out-dir /home/pterjan/rpmbuild/BUILD/rust-bytes0.5-0.5.6-build/bytes-0.5.6/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-bytes0.5-0.5.6-build/bytes-0.5.6/target/rpm/deps --extern bytes=/home/pterjan/rpmbuild/BUILD/rust-bytes0.5-0.5.6-build/bytes-0.5.6/target/rpm/deps/libbytes-313b12a8af708689.rlib --extern serde_test=/home/pterjan/rpmbuild/BUILD/rust-bytes0.5-0.5.6-build/bytes-0.5.6/target/rpm/deps/libserde_test-90ff4109e4c793fe.rlib -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn`
     Running `/usr/bin/rustc --crate-name test_chain --edition=2018 tests/test_chain.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --emit=dep-info,link -C opt-level=3 -C embed-bitcode=no -C codegen-units=1 -C debuginfo=2 --test --cfg 'feature="default"' --cfg 'feature="std"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("default", "serde", "std"))' -C metadata=0e4b6163a2e0ca41 -C extra-filename=-dc9e1d303bbc1aae --out-dir /home/pterjan/rpmbuild/BUILD/rust-bytes0.5-0.5.6-build/bytes-0.5.6/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-bytes0.5-0.5.6-build/bytes-0.5.6/target/rpm/deps --extern bytes=/home/pterjan/rpmbuild/BUILD/rust-bytes0.5-0.5.6-build/bytes-0.5.6/target/rpm/deps/libbytes-313b12a8af708689.rlib --extern serde_test=/home/pterjan/rpmbuild/BUILD/rust-bytes0.5-0.5.6-build/bytes-0.5.6/target/rpm/deps/libserde_test-90ff4109e4c793fe.rlib -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn`
     Running `/usr/bin/rustc --crate-name test_bytes_vec_alloc --edition=2018 tests/test_bytes_vec_alloc.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --emit=dep-info,link -C opt-level=3 -C embed-bitcode=no -C codegen-units=1 -C debuginfo=2 --test --cfg 'feature="default"' --cfg 'feature="std"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("default", "serde", "std"))' -C metadata=deb7df767ac00d55 -C extra-filename=-ae2868a45da4042f --out-dir /home/pterjan/rpmbuild/BUILD/rust-bytes0.5-0.5.6-build/bytes-0.5.6/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-bytes0.5-0.5.6-build/bytes-0.5.6/target/rpm/deps --extern bytes=/home/pterjan/rpmbuild/BUILD/rust-bytes0.5-0.5.6-build/bytes-0.5.6/target/rpm/deps/libbytes-313b12a8af708689.rlib --extern serde_test=/home/pterjan/rpmbuild/BUILD/rust-bytes0.5-0.5.6-build/bytes-0.5.6/target/rpm/deps/libserde_test-90ff4109e4c793fe.rlib -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn`
     Running `/usr/bin/rustc --crate-name bytes --edition=2018 src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --emit=dep-info,link -C opt-level=3 -C embed-bitcode=no -C codegen-units=1 -C debuginfo=2 --test --cfg 'feature="default"' --cfg 'feature="std"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("default", "serde", "std"))' -C metadata=63ca720017526a31 -C extra-filename=-c21b8f8defd277d6 --out-dir /home/pterjan/rpmbuild/BUILD/rust-bytes0.5-0.5.6-build/bytes-0.5.6/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-bytes0.5-0.5.6-build/bytes-0.5.6/target/rpm/deps --extern serde_test=/home/pterjan/rpmbuild/BUILD/rust-bytes0.5-0.5.6-build/bytes-0.5.6/target/rpm/deps/libserde_test-90ff4109e4c793fe.rlib -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn`
     Running `/usr/bin/rustc --crate-name test_serde --edition=2018 tests/test_serde.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --emit=dep-info,link -C opt-level=3 -C embed-bitcode=no -C codegen-units=1 -C debuginfo=2 --test --cfg 'feature="default"' --cfg 'feature="std"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("default", "serde", "std"))' -C metadata=f3bd94cd83b7b2df -C extra-filename=-aecf266b67d68464 --out-dir /home/pterjan/rpmbuild/BUILD/rust-bytes0.5-0.5.6-build/bytes-0.5.6/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-bytes0.5-0.5.6-build/bytes-0.5.6/target/rpm/deps --extern bytes=/home/pterjan/rpmbuild/BUILD/rust-bytes0.5-0.5.6-build/bytes-0.5.6/target/rpm/deps/libbytes-313b12a8af708689.rlib --extern serde_test=/home/pterjan/rpmbuild/BUILD/rust-bytes0.5-0.5.6-build/bytes-0.5.6/target/rpm/deps/libserde_test-90ff4109e4c793fe.rlib -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn`
     Running `/usr/bin/rustc --crate-name test_take --edition=2018 tests/test_take.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --emit=dep-info,link -C opt-level=3 -C embed-bitcode=no -C codegen-units=1 -C debuginfo=2 --test --cfg 'feature="default"' --cfg 'feature="std"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("default", "serde", "std"))' -C metadata=5f27e2344b6673d0 -C extra-filename=-0e11d643b5ac9f75 --out-dir /home/pterjan/rpmbuild/BUILD/rust-bytes0.5-0.5.6-build/bytes-0.5.6/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-bytes0.5-0.5.6-build/bytes-0.5.6/target/rpm/deps --extern bytes=/home/pterjan/rpmbuild/BUILD/rust-bytes0.5-0.5.6-build/bytes-0.5.6/target/rpm/deps/libbytes-313b12a8af708689.rlib --extern serde_test=/home/pterjan/rpmbuild/BUILD/rust-bytes0.5-0.5.6-build/bytes-0.5.6/target/rpm/deps/libserde_test-90ff4109e4c793fe.rlib -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn`
     Running `/usr/bin/rustc --crate-name test_reader --edition=2018 tests/test_reader.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --emit=dep-info,link -C opt-level=3 -C embed-bitcode=no -C codegen-units=1 -C debuginfo=2 --test --cfg 'feature="default"' --cfg 'feature="std"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("default", "serde", "std"))' -C metadata=37d742e15ab6ee4b -C extra-filename=-915ad43a9d210ac6 --out-dir /home/pterjan/rpmbuild/BUILD/rust-bytes0.5-0.5.6-build/bytes-0.5.6/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-bytes0.5-0.5.6-build/bytes-0.5.6/target/rpm/deps --extern bytes=/home/pterjan/rpmbuild/BUILD/rust-bytes0.5-0.5.6-build/bytes-0.5.6/target/rpm/deps/libbytes-313b12a8af708689.rlib --extern serde_test=/home/pterjan/rpmbuild/BUILD/rust-bytes0.5-0.5.6-build/bytes-0.5.6/target/rpm/deps/libserde_test-90ff4109e4c793fe.rlib -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn`
     Running `/usr/bin/rustc --crate-name test_bytes_odd_alloc --edition=2018 tests/test_bytes_odd_alloc.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --emit=dep-info,link -C opt-level=3 -C embed-bitcode=no -C codegen-units=1 -C debuginfo=2 --test --cfg 'feature="default"' --cfg 'feature="std"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("default", "serde", "std"))' -C metadata=e76f0dea174bdee5 -C extra-filename=-ae8c9a13705a0105 --out-dir /home/pterjan/rpmbuild/BUILD/rust-bytes0.5-0.5.6-build/bytes-0.5.6/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-bytes0.5-0.5.6-build/bytes-0.5.6/target/rpm/deps --extern bytes=/home/pterjan/rpmbuild/BUILD/rust-bytes0.5-0.5.6-build/bytes-0.5.6/target/rpm/deps/libbytes-313b12a8af708689.rlib --extern serde_test=/home/pterjan/rpmbuild/BUILD/rust-bytes0.5-0.5.6-build/bytes-0.5.6/target/rpm/deps/libserde_test-90ff4109e4c793fe.rlib -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn`
     Running `/usr/bin/rustc --crate-name test_buf_mut --edition=2018 tests/test_buf_mut.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --emit=dep-info,link -C opt-level=3 -C embed-bitcode=no -C codegen-units=1 -C debuginfo=2 --test --cfg 'feature="default"' --cfg 'feature="std"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("default", "serde", "std"))' -C metadata=c8f0f85abbabb81c -C extra-filename=-e89ed0d4b6aed2f4 --out-dir /home/pterjan/rpmbuild/BUILD/rust-bytes0.5-0.5.6-build/bytes-0.5.6/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-bytes0.5-0.5.6-build/bytes-0.5.6/target/rpm/deps --extern bytes=/home/pterjan/rpmbuild/BUILD/rust-bytes0.5-0.5.6-build/bytes-0.5.6/target/rpm/deps/libbytes-313b12a8af708689.rlib --extern serde_test=/home/pterjan/rpmbuild/BUILD/rust-bytes0.5-0.5.6-build/bytes-0.5.6/target/rpm/deps/libserde_test-90ff4109e4c793fe.rlib -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn`
warning: unnecessary allocation, use `&mut` instead
   --> tests/test_buf_mut.rs:119:5
    |
119 |     Box::new(Special).put_u8(b'x');
    |     ^^^^^^^^^^^^^^^^^
    |
    = note: `#[warn(unused_allocation)]` on by default

warning: unnecessary allocation, use `&mut` instead
   --> tests/test_buf.rs:102:16
    |
102 |     assert_eq!(Box::new(Special).get_u8(), b'x');
    |                ^^^^^^^^^^^^^^^^^
    |
    = note: `#[warn(unused_allocation)]` on by default

warning: unused return value of `core::slice::<impl [T]>::as_ptr` that must be used
   --> tests/test_bytes.rs:414:5
    |
414 |     bytes.as_ptr();
    |     ^^^^^^^^^^^^^^
    |
    = note: `#[warn(unused_must_use)]` on by default
help: use `let _ = ...` to ignore the resulting value
    |
414 |     let _ = bytes.as_ptr();
    |     +++++++

warning: unused return value of `core::slice::<impl [T]>::as_mut_ptr` that must be used
   --> tests/test_bytes.rs:415:5
    |
415 |     bytes.as_mut_ptr();
    |     ^^^^^^^^^^^^^^^^^^
    |
help: use `let _ = ...` to ignore the resulting value
    |
415 |     let _ = bytes.as_mut_ptr();
    |     +++++++

warning: `bytes` (test "test_buf_mut") generated 1 warning
warning: `bytes` (test "test_buf") generated 1 warning
warning: `bytes` (lib test) generated 12 warnings (12 duplicates)
warning: `bytes` (test "test_bytes") generated 2 warnings
    Finished `rpm` profile [optimized + debuginfo] target(s) in 7.19s
     Running `/home/pterjan/rpmbuild/BUILD/rust-bytes0.5-0.5.6-build/bytes-0.5.6/target/rpm/deps/bytes-c21b8f8defd277d6`

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-bytes0.5-0.5.6-build/bytes-0.5.6/target/rpm/deps/test_buf-3240055a87eaf721`

running 7 tests
test test_bufs_vec ... ok
test test_deref_buf_forwards ... ok
test test_get_u16_buffer_underflow - should panic ... ok
test test_fresh_cursor_vec ... ok
test test_get_u8 ... ok
test test_get_u16 ... ok
test test_vec_deque ... ok

test result: ok. 7 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s

     Running `/home/pterjan/rpmbuild/BUILD/rust-bytes0.5-0.5.6-build/bytes-0.5.6/target/rpm/deps/test_buf_mut-e89ed0d4b6aed2f4`

running 8 tests
test test_clone ... ok
test test_bufs_vec_mut ... ok
test test_mut_slice ... ok
test test_deref_bufmut_forwards ... ok
test test_put_u16 ... ok
test test_put_u8 ... ok
test test_vec_as_mut_buf ... ok
test test_vec_advance_mut - should panic ... ok

test result: ok. 8 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s

     Running `/home/pterjan/rpmbuild/BUILD/rust-bytes0.5-0.5.6-build/bytes-0.5.6/target/rpm/deps/test_bytes-db56e0c92bf65048`

running 65 tests
test advance_bytes_mut ... ok
test advance_past_len - should panic ... ok
test advance_static ... ok
test bytes_buf_mut_reuse_when_fully_consumed ... ok
test bytes_buf_mut_advance ... ok
test bytes_mut_unsplit_arc_non_contiguous ... ok
test advance_vec ... ok
test bytes_mut_unsplit_arc_different ... ok
test bytes_mut_unsplit_basic ... ok
test bytes_mut_unsplit_empty_other ... ok
test bytes_mut_unsplit_empty_self ... ok
test bytes_mut_unsplit_two_split_offs ... ok
test bytes_with_capacity_but_empty ... ok
test bytes_reserve_overflow - should panic ... ok
test extend_from_slice_mut ... ok
test empty_slice_ref_not_an_empty_subset ... ok
test extend_mut_without_size_hint ... ok
test extend_mut ... ok
test fmt ... ok
test fns_defined_for_bytes_mut ... ok
test fmt_write ... ok
test freeze_after_advance ... ok
test freeze_after_advance_arc ... ok
test freeze_after_split_off ... ok
test freeze_after_split_to ... ok
test freeze_after_truncate ... ok
test freeze_after_truncate_arc ... ok
test freeze_clone_shared ... ok
test freeze_clone_unique ... ok
test from_iter_no_size_hint ... ok
test from_slice ... ok
test from_static ... ok
test index ... ok
test len ... ok
test partial_eq_bytesmut ... ok
test reserve_allocates_at_least_original_capacity ... ok
test reserve_convert ... ok
test reserve_growth ... ok
test reserve_in_arc_nonunique_does_not_overallocate ... ok
test reserve_in_arc_unique_does_not_overallocate ... ok
test reserve_in_arc_unique_doubles ... ok
test reserve_vec_recycling ... ok
test slice ... ok
test slice_oob_1 - should panic ... ok
test slice_oob_2 - should panic ... ok
test slice_ref_catches_not_a_subset - should panic ... ok
test slice_ref_empty ... ok
test slice_ref_works ... ok
test split_off ... ok
test slice_ref_empty_subslice ... ok
test split_off_to_at_gt_len ... ok
test split_off_to_loop ... ok
test split_off_oob - should panic ... ok
test split_to_oob - should panic ... ok
test slice_ref_not_an_empty_subset ... ok
test split_to_1 ... ok
test split_to_oob_mut - should panic ... ok
test test_layout ... ok
test split_off_uninitialized ... ok
test reserve_max_original_capacity_value ... ok
test split_to_uninitialized - should panic ... ok
test truncate ... ok
test test_bounds ... ok
test split_to_2 ... ok
test stress ... ok

test result: ok. 65 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.42s

     Running `/home/pterjan/rpmbuild/BUILD/rust-bytes0.5-0.5.6-build/bytes-0.5.6/target/rpm/deps/test_bytes_odd_alloc-ae8c9a13705a0105`

running 3 tests
test sanity_check_odd_allocator ... ok
test test_bytes_clone_drop ... ok
test test_bytes_from_vec_drop ... ok

test result: ok. 3 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s

     Running `/home/pterjan/rpmbuild/BUILD/rust-bytes0.5-0.5.6-build/bytes-0.5.6/target/rpm/deps/test_bytes_vec_alloc-ae2868a45da4042f`

running 3 tests
test test_bytes_advance ... ok
test test_bytes_truncate ... ok
test test_bytes_truncate_and_advance ... ok

test result: ok. 3 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s

     Running `/home/pterjan/rpmbuild/BUILD/rust-bytes0.5-0.5.6-build/bytes-0.5.6/target/rpm/deps/test_chain-dc9e1d303bbc1aae`

running 4 tests
test vectored_read ... ok
test collect_two_bufs ... ok
test writing_chained ... ok
test iterating_two_bufs ... ok

test result: ok. 4 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s

     Running `/home/pterjan/rpmbuild/BUILD/rust-bytes0.5-0.5.6-build/bytes-0.5.6/target/rpm/deps/test_debug-9381e15b34a29c90`

running 1 test
test fmt ... ok

test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s

     Running `/home/pterjan/rpmbuild/BUILD/rust-bytes0.5-0.5.6-build/bytes-0.5.6/target/rpm/deps/test_iter-40571f2c3cb5887b`

running 2 tests
test empty_iter_len ... ok
test iter_len ... ok

test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s

     Running `/home/pterjan/rpmbuild/BUILD/rust-bytes0.5-0.5.6-build/bytes-0.5.6/target/rpm/deps/test_reader-915ad43a9d210ac6`

running 2 tests
test buf_read ... ok
test read ... ok

test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s

     Running `/home/pterjan/rpmbuild/BUILD/rust-bytes0.5-0.5.6-build/bytes-0.5.6/target/rpm/deps/test_serde-aecf266b67d68464`

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-bytes0.5-0.5.6-build/bytes-0.5.6/target/rpm/deps/test_take-0e11d643b5ac9f75`

running 1 test
test long_take ... ok

test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s

   Doc-tests bytes
     Running `/usr/bin/rustdoc --edition=2018 --crate-type lib --color auto --crate-name bytes --test src/lib.rs --test-run-directory /home/pterjan/rpmbuild/BUILD/rust-bytes0.5-0.5.6-build/bytes-0.5.6 -L dependency=/home/pterjan/rpmbuild/BUILD/rust-bytes0.5-0.5.6-build/bytes-0.5.6/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-bytes0.5-0.5.6-build/bytes-0.5.6/target/rpm/deps --extern bytes=/home/pterjan/rpmbuild/BUILD/rust-bytes0.5-0.5.6-build/bytes-0.5.6/target/rpm/deps/libbytes-313b12a8af708689.rlib --extern serde_test=/home/pterjan/rpmbuild/BUILD/rust-bytes0.5-0.5.6-build/bytes-0.5.6/target/rpm/deps/libserde_test-90ff4109e4c793fe.rlib -C embed-bitcode=no --cfg 'feature="default"' --cfg 'feature="std"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("default", "serde", "std"))' --error-format human`

running 128 tests
test src/buf/buf_impl.rs - buf::buf_impl::Buf::get_i64_le (line 536) ... ok
test src/buf/buf_impl.rs - buf::buf_impl::Buf::get_f32_le (line 738) ... ok
test src/buf/buf_impl.rs - buf::buf_impl::Buf::advance (line 176) ... ok
test src/buf/buf_mut.rs - buf::buf_mut::BufMut::put_f64 (line 843) ... ok
test src/buf/buf_impl.rs - buf::buf_impl::Buf::get_f32 (line 717) ... ok
test src/buf/buf_mut.rs - buf::buf_mut::BufMut::put (line 218) ... ok
test src/buf/buf_impl.rs - buf::buf_impl::Buf::get_u128 (line 556) ... ok
test src/buf/buf_impl.rs - buf::buf_impl::Buf::get_i128_le (line 616) ... ok
test src/buf/buf_impl.rs - buf::buf_impl::Buf::get_u16 (line 316) ... ok
test src/buf/buf_impl.rs - buf::buf_impl::Buf::get_i32_le (line 456) ... ok
test src/buf/buf_impl.rs - buf::buf_impl::Buf::copy_to_slice (line 229) ... ok
test src/buf/buf_impl.rs - buf::buf_impl::Buf::has_remaining (line 207) ... ok
test src/buf/buf_impl.rs - buf::buf_impl::Buf::get_f64 (line 759) ... ok
test src/buf/buf_impl.rs - buf::buf_impl::Buf::remaining (line 81) ... ok
test src/buf/buf_impl.rs - buf::buf_impl::Buf::get_i32 (line 436) ... ok
test src/buf/buf_mut.rs - buf::buf_mut::BufMut::has_remaining_mut (line 112) ... ok
test src/buf/buf_mut.rs - buf::buf_mut::BufMut::put_f32_le (line 820) ... ok
test src/buf/buf_impl.rs - buf::buf_impl::Buf::get_i16_le (line 376) ... ok
test src/buf/buf_impl.rs - buf::buf_impl::Buf::bytes (line 109) ... ok
test src/buf/buf_mut.rs - buf::buf_mut::BufMut::put_i128 (line 664) ... ok
test src/buf/buf_impl.rs - buf::buf_impl::Buf::get_u128_le (line 576) ... ok
test src/buf/buf_impl.rs - buf::buf_impl::Buf::get_uint_le (line 656) ... ok
test src/buf/buf_mut.rs - buf::buf_mut::BufMut (line 23) ... ok
test src/buf/buf_impl.rs - buf::buf_impl::Buf::get_u8 (line 270) ... ok
test src/buf/buf_impl.rs - buf::buf_impl::Buf::get_f64_le (line 780) ... ok
test src/buf/buf_mut.rs - buf::buf_mut::BufMut::put_i128_le (line 686) ... ok
test src/buf/buf_impl.rs - buf::buf_impl::Buf::get_i8 (line 293) ... ok
test src/buf/buf_impl.rs - buf::buf_impl::Buf::get_u32_le (line 416) ... ok
test src/buf/buf_impl.rs - buf::buf_impl::Buf::get_i64 (line 516) ... ok
test src/buf/buf_mut.rs - buf::buf_mut::BufMut::put_i16_le (line 422) ... ok
test src/buf/buf_mut.rs - buf::buf_mut::BufMut::put_f32 (line 797) ... ok
test src/buf/buf_impl.rs - buf::buf_impl::Buf::get_int_le (line 696) ... ok
test src/buf/buf_impl.rs - buf::buf_impl::Buf::get_uint (line 636) ... ok
test src/buf/buf_impl.rs - buf::buf_impl::Buf::get_i16 (line 356) ... ok
test src/buf/buf_mut.rs - buf::buf_mut::BufMut::put_i16 (line 400) ... ok
test src/buf/buf_impl.rs - buf::buf_impl::Buf (line 58) ... ok
test src/buf/buf_impl.rs - buf::buf_impl::Buf::get_int (line 676) ... ok
test src/buf/buf_impl.rs - buf::buf_impl::Buf::get_u32 (line 396) ... ok
test src/buf/buf_mut.rs - buf::buf_mut::BufMut::put_f64_le (line 866) ... ok
test src/buf/buf_impl.rs - buf::buf_impl::Buf::get_i128 (line 596) ... ok
test src/buf/buf_impl.rs - buf::buf_impl::Buf::get_u16_le (line 336) ... ok
test src/buf/buf_impl.rs - buf::buf_impl::Buf::get_u64 (line 476) ... ok
test src/buf/buf_impl.rs - buf::buf_impl::Buf::get_u64_le (line 496) ... ok
test src/buf/buf_mut.rs - buf::buf_mut::BufMut::bytes_mut (line 139) ... ok
test src/buf/buf_mut.rs - buf::buf_mut::BufMut::put_i64 (line 576) ... ok
test src/buf/buf_mut.rs - buf::buf_mut::BufMut::put_i32_le (line 510) ... ok
test src/buf/buf_impl.rs - buf::buf_impl::Buf::to_bytes (line 798) ... ok
test src/buf/buf_mut.rs - buf::buf_mut::BufMut::put_slice (line 262) ... ok
test src/buf/buf_mut.rs - buf::buf_mut::BufMut::put_u64_le (line 554) ... ok
test src/buf/buf_mut.rs - buf::buf_mut::BufMut::put_u8 (line 310) ... ok
test src/buf/ext/mod.rs - buf::ext::BufMutExt::limit (line 112) ... ok
test src/buf/ext/chain.rs - buf::ext::chain::Chain<T,U>::last_mut (line 102) ... ok
test src/buf/buf_mut.rs - buf::buf_mut::BufMut::put_i64_le (line 598) ... ok
test src/buf/buf_mut.rs - buf::buf_mut::BufMut::put_u128 (line 620) ... ok
test src/buf/buf_mut.rs - buf::buf_mut::BufMut::put_i32 (line 488) ... ok
test src/buf/buf_mut.rs - buf::buf_mut::BufMut::put_u32 (line 444) ... ok
test src/buf/buf_mut.rs - buf::buf_mut::BufMut::put_int_le (line 774) ... ok
test src/buf/buf_mut.rs - buf::buf_mut::BufMut::advance_mut (line 70) ... ok
test src/buf/ext/mod.rs - buf::ext::BufExt::reader (line 81) ... ok
test src/buf/buf_mut.rs - buf::buf_mut::BufMut::put_u16 (line 356) ... ok
test src/buf/ext/writer.rs - buf::ext::writer::Writer<B>::get_mut (line 43) ... ok
test src/buf/ext/chain.rs - buf::ext::chain::Chain (line 22) ... ok
test src/buf/buf_mut.rs - buf::buf_mut::BufMut::put_int (line 752) ... ok
test src/buf/ext/take.rs - buf::ext::take::Take<T>::get_ref (line 49) ... ok
test src/buf/ext/chain.rs - buf::ext::chain::Chain<T,U>::into_inner (line 121) ... ok
test src/bytes.rs - bytes::_split_off_must_use (line 1067) - compile fail ... ok
test src/buf/buf_mut.rs - buf::buf_mut::BufMut::put_uint_le (line 730) ... ok
test src/buf/ext/chain.rs - buf::ext::chain::Chain<T,U>::first_ref (line 51) ... ok
test src/buf/ext/mod.rs - buf::ext::BufMutExt::chain_mut (line 165) ... ok
test src/buf/ext/take.rs - buf::ext::take::Take<T>::into_inner (line 24) ... ok
test src/buf/buf_mut.rs - buf::buf_mut::BufMut::remaining_mut (line 41) ... ok
test src/buf/ext/chain.rs - buf::ext::chain::Chain<T,U>::first_mut (line 67) ... ok
test src/buf/iter.rs - buf::iter::IntoIter<T>::new (line 35) ... ok
test src/buf/ext/take.rs - buf::ext::take::Take<T>::limit (line 90) ... ok
test src/buf/buf_mut.rs - buf::buf_mut::BufMut::put_i8 (line 333) ... ok
test src/buf/iter.rs - buf::iter::IntoIter<T>::get_mut (line 96) ... ok
test src/buf/buf_mut.rs - buf::buf_mut::BufMut::put_u128_le (line 642) ... ok
test src/buf/ext/writer.rs - buf::ext::writer::Writer<B>::get_ref (line 26) ... ok
test src/buf/iter.rs - buf::iter::IntoIter (line 11) ... ok
test src/buf/ext/mod.rs - buf::ext::BufExt::chain (line 57) ... ok
test src/buf/ext/reader.rs - buf::ext::reader::Reader<B>::get_ref (line 26) ... ok
test src/buf/ext/chain.rs - buf::ext::chain::Chain<T,U>::last_ref (line 86) ... ok
test src/bytes.rs - bytes::_split_to_must_use (line 1057) - compile fail ... ok
test src/buf/ext/mod.rs - buf::ext::BufExt::take (line 29) ... ok
test src/buf/buf_mut.rs - buf::buf_mut::BufMut::put_u32_le (line 466) ... ok
test src/buf/ext/take.rs - buf::ext::take::Take<T>::get_mut (line 66) ... ok
test src/buf/ext/reader.rs - buf::ext::reader::Reader<B>::into_inner (line 48) ... ok
test src/buf/buf_mut.rs - buf::buf_mut::BufMut::put_u64 (line 532) ... ok
test src/buf/buf_mut.rs - buf::buf_mut::BufMut::put_u16_le (line 378) ... ok
test src/buf/iter.rs - buf::iter::IntoIter<T>::get_ref (line 76) ... ok
test src/bytes.rs - bytes::Bytes::is_empty (line 167) ... ok
test src/bytes_mut.rs - bytes_mut::_split_off_must_use (line 1528) - compile fail ... ok
test src/buf/ext/mod.rs - buf::ext::BufMutExt::writer (line 137) ... ok
test src/buf/ext/writer.rs - buf::ext::writer::Writer<B>::into_inner (line 60) ... ok
test src/bytes.rs - bytes::Bytes (line 24) ... ok
test src/bytes.rs - bytes::Bytes::clear (line 442) ... ok
test src/buf/buf_mut.rs - buf::buf_mut::BufMut::put_uint (line 708) ... ok
test src/buf/iter.rs - buf::iter::IntoIter<T>::into_inner (line 55) ... ok
test src/bytes_mut.rs - bytes_mut::_split_to_must_use (line 1518) - compile fail ... ok
test src/buf/ext/take.rs - buf::ext::take::Take<T>::set_limit (line 112) ... ok
test src/bytes_mut.rs - bytes_mut::_split_must_use (line 1538) - compile fail ... ok
test src/bytes.rs - bytes::Bytes::from_static (line 121) ... ok
test src/bytes_mut.rs - bytes_mut::BytesMut::capacity (line 203) ... ok
test src/bytes.rs - bytes::Bytes::len (line 152) ... ok
test src/bytes.rs - bytes::Bytes::new (line 93) ... ok
test src/bytes_mut.rs - bytes_mut::BytesMut::is_empty (line 188) ... ok
test src/bytes_mut.rs - bytes_mut::BytesMut::new (line 152) ... ok
test src/bytes.rs - bytes::Bytes::slice_ref (line 258) ... ok
test src/bytes_mut.rs - bytes_mut::BytesMut::len (line 173) ... ok
test src/bytes_mut.rs - bytes_mut::BytesMut (line 40) ... ok
test src/bytes.rs - bytes::Bytes::truncate (line 413) ... ok
test src/bytes_mut.rs - bytes_mut::BytesMut::reserve (line 515) ... ok
test src/bytes.rs - bytes::Bytes::split_off (line 315) ... ok
test src/lib.rs - (line 33) ... ok
test src/bytes_mut.rs - bytes_mut::BytesMut::split_to (line 344) ... ok
test src/bytes.rs - bytes::Bytes::split_to (line 364) ... ok
test src/bytes_mut.rs - bytes_mut::BytesMut::truncate (line 388) ... ok
test src/bytes.rs - bytes::Bytes::slice (line 192) ... ok
test src/bytes_mut.rs - bytes_mut::BytesMut::split_off (line 271) ... ok
test src/bytes_mut.rs - bytes_mut::BytesMut::clear (line 409) ... ok
test src/bytes_mut.rs - bytes_mut::BytesMut::split (line 315) ... ok
test src/bytes_mut.rs - bytes_mut::BytesMut::unsplit (line 709) ... ok
test src/bytes_mut.rs - bytes_mut::BytesMut::set_len (line 465) ... ok
test src/bytes_mut.rs - bytes_mut::BytesMut::with_capacity (line 128) ... ok
test src/bytes_mut.rs - bytes_mut::BytesMut::reserve (line 505) ... ok
test src/bytes_mut.rs - bytes_mut::BytesMut::freeze (line 222) ... ok
test src/bytes_mut.rs - bytes_mut::BytesMut::resize (line 428) ... ok
test src/bytes_mut.rs - bytes_mut::BytesMut::extend_from_slice (line 673) ... ok

test result: ok. 128 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 1.32s

+ RPM_EC=0
++ jobs -p
+ exit 0
Processing files: rust-bytes0.5-devel-0.5.6-0.1.mga10.noarch
warning: File listed twice: /usr/share/cargo/registry/bytes-0.5.6/CHANGELOG.md
warning: File listed twice: /usr/share/cargo/registry/bytes-0.5.6/LICENSE
warning: File listed twice: /usr/share/cargo/registry/bytes-0.5.6/README.md
Provides: crate(bytes) = 0.5.6 rust-bytes0.5-devel = 0.5.6-0.1.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-bytes0.5+default-devel-0.5.6-0.1.mga10.noarch
Provides: crate(bytes/default) = 0.5.6 rust-bytes0.5+default-devel = 0.5.6-0.1.mga10
Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1
Requires: cargo crate(bytes) = 0.5.6 crate(bytes/std) = 0.5.6
Processing files: rust-bytes0.5+serde-devel-0.5.6-0.1.mga10.noarch
Provides: crate(bytes/serde) = 0.5.6 rust-bytes0.5+serde-devel = 0.5.6-0.1.mga10
Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1
Requires: cargo crate(bytes) = 0.5.6 crate(serde) >= 1.0.60 crate(serde/alloc) >= 1.0.60
Processing files: rust-bytes0.5+std-devel-0.5.6-0.1.mga10.noarch
Provides: crate(bytes/std) = 0.5.6 rust-bytes0.5+std-devel = 0.5.6-0.1.mga10
Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1
Requires: cargo crate(bytes) = 0.5.6
Checking for unpackaged file(s): /usr/lib/rpm/check-files /home/pterjan/rpmbuild/BUILD/rust-bytes0.5-0.5.6-build/BUILDROOT
Wrote: /home/pterjan/rpmbuild/RPMS/noarch/rust-bytes0.5+std-devel-0.5.6-0.1.mga10.noarch.rpm
Wrote: /home/pterjan/rpmbuild/RPMS/noarch/rust-bytes0.5+default-devel-0.5.6-0.1.mga10.noarch.rpm
Wrote: /home/pterjan/rpmbuild/RPMS/noarch/rust-bytes0.5+serde-devel-0.5.6-0.1.mga10.noarch.rpm
Wrote: /home/pterjan/rpmbuild/RPMS/noarch/rust-bytes0.5-devel-0.5.6-0.1.mga10.noarch.rpm
Executing(rmbuild): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.gRMfjM
+ umask 022
+ cd /home/pterjan/rpmbuild/BUILD/rust-bytes0.5-0.5.6-build
+ test -d /home/pterjan/rpmbuild/BUILD/rust-bytes0.5-0.5.6-build
+ /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w /home/pterjan/rpmbuild/BUILD/rust-bytes0.5-0.5.6-build
+ rm -rf /home/pterjan/rpmbuild/BUILD/rust-bytes0.5-0.5.6-build
+ RPM_EC=0
++ jobs -p
+ exit 0

RPM build warnings:
    File listed twice: /usr/share/cargo/registry/bytes-0.5.6/CHANGELOG.md
    File listed twice: /usr/share/cargo/registry/bytes-0.5.6/LICENSE
    File listed twice: /usr/share/cargo/registry/bytes-0.5.6/README.md
D: [iurt_root_command] Success!