D: [iurt_root_command] chroot Building target platforms: noarch Building for target noarch Installing /home/pterjan/rpmbuild/SRPMS/rust-bincode-1.3.3-2.mga10.src.rpm Executing(%mkbuilddir): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.FAHxDs Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.fEt3Yj + umask 022 + cd /home/pterjan/rpmbuild/BUILD/rust-bincode-1.3.3-build + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/pterjan/rpmbuild/BUILD/rust-bincode-1.3.3-build + rm -rf bincode-1.3.3 + /usr/lib/rpm/rpmuncompress -x /home/pterjan/rpmbuild/SOURCES/bincode-1.3.3.crate + STATUS=0 + '[' 0 -ne 0 ']' + cd bincode-1.3.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 /home/pterjan/rpmbuild/tmp/rpm-tmp.EMeeup + umask 022 + cd /home/pterjan/rpmbuild/BUILD/rust-bincode-1.3.3-build + cd bincode-1.3.3 + /usr/bin/cargo2rpm --path Cargo.toml buildrequires --with-check + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.DKAClU + umask 022 + cd /home/pterjan/rpmbuild/BUILD/rust-bincode-1.3.3-build + CFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full ' + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd bincode-1.3.3 + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + /usr/bin/env CARGO_HOME=.cargo RUSTC_BOOTSTRAP=1 'RUSTFLAGS=-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn' /usr/bin/cargo build -j16 -Z avoid-dev-deps --profile rpm warning: no edition set: defaulting to the 2015 edition while the latest is 2024 Compiling serde v1.0.217 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-bincode-1.3.3-build/bincode-1.3.3/target/rpm/build/serde-c893c1601ea249e9 -L dependency=/home/pterjan/rpmbuild/BUILD/rust-bincode-1.3.3-build/bincode-1.3.3/target/rpm/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` Running `/home/pterjan/rpmbuild/BUILD/rust-bincode-1.3.3-build/bincode-1.3.3/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-bincode-1.3.3-build/bincode-1.3.3/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-bincode-1.3.3-build/bincode-1.3.3/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 bincode v1.3.3 (/home/pterjan/rpmbuild/BUILD/rust-bincode-1.3.3-build/bincode-1.3.3) Running `/usr/bin/rustc --crate-name bincode --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 --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("i128"))' -C metadata=87aac27b0413c462 -C extra-filename=-88b1e56a665f6660 --out-dir /home/pterjan/rpmbuild/BUILD/rust-bincode-1.3.3-build/bincode-1.3.3/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-bincode-1.3.3-build/bincode-1.3.3/target/rpm/deps --extern serde=/home/pterjan/rpmbuild/BUILD/rust-bincode-1.3.3-build/bincode-1.3.3/target/rpm/deps/libserde-2450d9623ee82f46.rmeta -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` warning: multiple associated functions are never used --> src/byteorder.rs:144:8 | 130 | pub trait ByteOrder: Clone + Copy { | --------- associated functions in this trait ... 144 | fn read_i16(buf: &[u8]) -> i16 { | ^^^^^^^^ ... 149 | fn read_i32(buf: &[u8]) -> i32 { | ^^^^^^^^ ... 154 | fn read_i64(buf: &[u8]) -> i64 { | ^^^^^^^^ ... 169 | fn write_i16(buf: &mut [u8], n: i16) { | ^^^^^^^^^ ... 174 | fn write_i32(buf: &mut [u8], n: i32) { | ^^^^^^^^^ ... 179 | fn write_i64(buf: &mut [u8], n: i64) { | ^^^^^^^^^ ... 200 | fn read_i128(buf: &[u8]) -> i128 { | ^^^^^^^^^ ... 205 | fn write_i128(buf: &mut [u8], n: i128) { | ^^^^^^^^^^ | = note: `#[warn(dead_code)]` on by default warning: methods `read_i8`, `read_i16`, `read_i32`, `read_i64`, and `read_i128` are never used --> src/byteorder.rs:220:8 | 211 | pub trait ReadBytesExt: io::Read { | ------------ methods in this trait ... 220 | fn read_i8(&mut self) -> Result { | ^^^^^^^ ... 234 | fn read_i16(&mut self) -> Result { | ^^^^^^^^ ... 248 | fn read_i32(&mut self) -> Result { | ^^^^^^^^ ... 262 | fn read_i64(&mut self) -> Result { | ^^^^^^^^ ... 291 | fn read_i128(&mut self) -> Result { | ^^^^^^^^^ warning: methods `write_i8`, `write_i16`, `write_i32`, `write_i64`, and `write_i128` are never used --> src/byteorder.rs:308:8 | 301 | pub trait WriteBytesExt: io::Write { | ------------- methods in this trait ... 308 | fn write_i8(&mut self, n: i8) -> Result<()> { | ^^^^^^^^ ... 320 | fn write_i16(&mut self, n: i16) -> Result<()> { | ^^^^^^^^^ ... 334 | fn write_i32(&mut self, n: i32) -> Result<()> { | ^^^^^^^^^ ... 348 | fn write_i64(&mut self, n: i64) -> Result<()> { | ^^^^^^^^^ ... 377 | fn write_i128(&mut self, n: i128) -> Result<()> { | ^^^^^^^^^^ warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item --> src/de/mod.rs:272:9 | 263 | / fn deserialize_enum( 264 | | self, 265 | | _enum: &'static str, 266 | | _variants: &'static [&'static str], ... | 269 | | where 270 | | V: serde::de::Visitor<'de>, | |___________________________________- move the `impl` block outside of this method `deserialize_enum` 271 | { 272 | impl<'de, 'a, R: 'a, O> serde::de::EnumAccess<'de> for &'a mut Deserializer | ^^^^^^^^^^^^^^^^^^^^^^^^---------------------^^^^^^^^^^^^^^^^^^------------^^^^^^ | | | | | `Deserializer` is not local | `EnumAccess` is not local | = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` = note: `#[warn(non_local_definitions)]` on by default warning: `bincode` (lib) generated 4 warnings Finished `rpm` profile [optimized + debuginfo] target(s) in 4.00s + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.PA7EYy + umask 022 + cd /home/pterjan/rpmbuild/BUILD/rust-bincode-1.3.3-build + '[' 1 -eq 1 ']' + '[' /home/pterjan/rpmbuild/BUILD/rust-bincode-1.3.3-build/BUILDROOT '!=' / ']' + rm -rf /home/pterjan/rpmbuild/BUILD/rust-bincode-1.3.3-build/BUILDROOT ++ dirname /home/pterjan/rpmbuild/BUILD/rust-bincode-1.3.3-build/BUILDROOT + mkdir -p /home/pterjan/rpmbuild/BUILD/rust-bincode-1.3.3-build + mkdir /home/pterjan/rpmbuild/BUILD/rust-bincode-1.3.3-build/BUILDROOT + CFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full ' + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd bincode-1.3.3 + '[' 1 -eq 1 ']' + set -euo pipefail ++ /usr/bin/cargo2rpm --path Cargo.toml is-lib + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' ++ /usr/bin/cargo2rpm --path Cargo.toml name + CRATE_NAME=bincode ++ /usr/bin/cargo2rpm --path Cargo.toml version + CRATE_VERSION=1.3.3 + REG_DIR=/home/pterjan/rpmbuild/BUILD/rust-bincode-1.3.3-build/BUILDROOT/usr/share/cargo/registry/bincode-1.3.3 + /usr/bin/mkdir -p /home/pterjan/rpmbuild/BUILD/rust-bincode-1.3.3-build/BUILDROOT/usr/share/cargo/registry/bincode-1.3.3 + /usr/bin/awk -i inplace -v INPLACE_SUFFIX=.deps '/^\[((.+\.)?((dev|build)-)?dependencies|features)/{f=1;next} /^\[/{f=0}; !f' Cargo.toml + /usr/bin/env CARGO_HOME=.cargo RUSTC_BOOTSTRAP=1 'RUSTFLAGS=-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn' /usr/bin/cargo package -l + grep -w -E -v 'Cargo.(lock|toml.orig)' + xargs -d '\n' /usr/bin/cp --parents -a -t /home/pterjan/rpmbuild/BUILD/rust-bincode-1.3.3-build/BUILDROOT/usr/share/cargo/registry/bincode-1.3.3 warning: no (git) VCS found for `/home/pterjan/rpmbuild/BUILD/rust-bincode-1.3.3-build/bincode-1.3.3` + /usr/bin/mv Cargo.toml.deps Cargo.toml + /usr/bin/cp -a Cargo.toml /home/pterjan/rpmbuild/BUILD/rust-bincode-1.3.3-build/BUILDROOT/usr/share/cargo/registry/bincode-1.3.3/Cargo.toml + /usr/bin/rm -f /home/pterjan/rpmbuild/BUILD/rust-bincode-1.3.3-build/BUILDROOT/usr/share/cargo/registry/bincode-1.3.3/Cargo.toml.deps + echo '{"files":{},"package":""}' ++ /usr/bin/cargo2rpm --path Cargo.toml is-bin + '[' 0 -eq 1 ']' + /usr/lib/rpm/check-buildroot + '[' -n '' ']' + /usr/share/spec-helper/clean_files + '[' -n '' ']' + /usr/share/spec-helper/compress_files .xz + '[' -n '' ']' + /usr/share/spec-helper/relink_symlinks + '[' -n '' ']' + /usr/share/spec-helper/clean_perl + '[' -n '' ']' + /usr/share/spec-helper/lib_symlinks + '[' -n '' ']' + /usr/share/spec-helper/gprintify + '[' -n '' ']' + /usr/share/spec-helper/fix_mo + '[' -n '' ']' + /usr/share/spec-helper/fix_pamd + '[' -n '' ']' + /usr/share/spec-helper/remove_info_dir + '[' -n '' ']' + /usr/share/spec-helper/fix_eol + '[' -n '' ']' + /usr/share/spec-helper/check_desktop_files + '[' -n '' ']' + /usr/share/spec-helper/check_elf_files + /usr/lib/rpm/brp-strip /usr/bin/strip + /usr/lib/rpm/brp-strip-comment-note /usr/bin/strip /usr/bin/objdump + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/check-rpaths + /usr/lib/rpm/brp-remove-la-files + /usr/lib/rpm/redhat/brp-mangle-shebangs + env -u SOURCE_DATE_EPOCH /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 -j16 + /usr/lib/rpm/redhat/brp-python-hardlink Executing(%check): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.qbSkgV + umask 022 + cd /home/pterjan/rpmbuild/BUILD/rust-bincode-1.3.3-build + CFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full ' + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd bincode-1.3.3 + '[' 1 -eq 1 ']' + /usr/bin/env CARGO_HOME=.cargo RUSTC_BOOTSTRAP=1 'RUSTFLAGS=-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn' /usr/bin/cargo test -j16 -Z avoid-dev-deps --profile rpm --no-fail-fast warning: no edition set: defaulting to the 2015 edition while the latest is 2024 Compiling proc-macro2 v1.0.94 Compiling unicode-ident v1.0.18 Running `/usr/bin/rustc --crate-name build_script_build --edition=2021 /usr/share/cargo/registry/proc-macro2-1.0.94/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="proc-macro"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("default", "nightly", "proc-macro", "span-locations"))' -C metadata=bd4599744536b08f -C extra-filename=-15d1b7bd054a668b --out-dir /home/pterjan/rpmbuild/BUILD/rust-bincode-1.3.3-build/bincode-1.3.3/target/rpm/build/proc-macro2-15d1b7bd054a668b -L dependency=/home/pterjan/rpmbuild/BUILD/rust-bincode-1.3.3-build/bincode-1.3.3/target/rpm/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` Fresh serde v1.0.217 Compiling serde_bytes v0.11.15 warning: multiple associated functions are never used --> src/byteorder.rs:144:8 | 130 | pub trait ByteOrder: Clone + Copy { | --------- associated functions in this trait ... 144 | fn read_i16(buf: &[u8]) -> i16 { | ^^^^^^^^ ... 149 | fn read_i32(buf: &[u8]) -> i32 { | ^^^^^^^^ ... 154 | fn read_i64(buf: &[u8]) -> i64 { | ^^^^^^^^ ... 169 | fn write_i16(buf: &mut [u8], n: i16) { | ^^^^^^^^^ ... 174 | fn write_i32(buf: &mut [u8], n: i32) { | ^^^^^^^^^ ... 179 | fn write_i64(buf: &mut [u8], n: i64) { | ^^^^^^^^^ ... 200 | fn read_i128(buf: &[u8]) -> i128 { | ^^^^^^^^^ ... 205 | fn write_i128(buf: &mut [u8], n: i128) { | ^^^^^^^^^^ | = note: `#[warn(dead_code)]` on by default warning: methods `read_i8`, `read_i16`, `read_i32`, `read_i64`, and `read_i128` are never used --> src/byteorder.rs:220:8 | 211 | pub trait ReadBytesExt: io::Read { | ------------ methods in this trait ... 220 | fn read_i8(&mut self) -> Result { | ^^^^^^^ ... 234 | fn read_i16(&mut self) -> Result { | ^^^^^^^^ ... 248 | fn read_i32(&mut self) -> Result { | ^^^^^^^^ ... 262 | fn read_i64(&mut self) -> Result { | ^^^^^^^^ ... 291 | fn read_i128(&mut self) -> Result { | ^^^^^^^^^ warning: methods `write_i8`, `write_i16`, `write_i32`, `write_i64`, and `write_i128` are never used --> src/byteorder.rs:308:8 | 301 | pub trait WriteBytesExt: io::Write { | ------------- methods in this trait ... 308 | fn write_i8(&mut self, n: i8) -> Result<()> { | ^^^^^^^^ ... 320 | fn write_i16(&mut self, n: i16) -> Result<()> { | ^^^^^^^^^ ... 334 | fn write_i32(&mut self, n: i32) -> Result<()> { | ^^^^^^^^^ ... 348 | fn write_i64(&mut self, n: i64) -> Result<()> { | ^^^^^^^^^ ... 377 | fn write_i128(&mut self, n: i128) -> Result<()> { | ^^^^^^^^^^ warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item --> src/de/mod.rs:272:9 | 263 | / fn deserialize_enum( 264 | | self, 265 | | _enum: &'static str, 266 | | _variants: &'static [&'static str], ... | 269 | | where 270 | | V: serde::de::Visitor<'de>, | |___________________________________- move the `impl` block outside of this method `deserialize_enum` 271 | { 272 | impl<'de, 'a, R: 'a, O> serde::de::EnumAccess<'de> for &'a mut Deserializer | ^^^^^^^^^^^^^^^^^^^^^^^^---------------------^^^^^^^^^^^^^^^^^^------------^^^^^^ | | | | | `Deserializer` is not local | `EnumAccess` is not local | = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` = note: `#[warn(non_local_definitions)]` on by default Running `/usr/bin/rustc --crate-name unicode_ident --edition=2018 /usr/share/cargo/registry/unicode-ident-1.0.18/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debug-assertions=off --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values())' -C metadata=adcecc07420fd8e7 -C extra-filename=-e45ede29ac9488f1 --out-dir /home/pterjan/rpmbuild/BUILD/rust-bincode-1.3.3-build/bincode-1.3.3/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-bincode-1.3.3-build/bincode-1.3.3/target/rpm/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` Running `/usr/bin/rustc --crate-name serde_bytes --edition=2018 /usr/share/cargo/registry/serde_bytes-0.11.15/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", "std"))' -C metadata=d39be9aa7ec4a4cd -C extra-filename=-c4cec47f175b6655 --out-dir /home/pterjan/rpmbuild/BUILD/rust-bincode-1.3.3-build/bincode-1.3.3/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-bincode-1.3.3-build/bincode-1.3.3/target/rpm/deps --extern serde=/home/pterjan/rpmbuild/BUILD/rust-bincode-1.3.3-build/bincode-1.3.3/target/rpm/deps/libserde-2450d9623ee82f46.rmeta --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` warning: `bincode` (lib) generated 4 warnings Running `/home/pterjan/rpmbuild/BUILD/rust-bincode-1.3.3-build/bincode-1.3.3/target/rpm/build/proc-macro2-15d1b7bd054a668b/build-script-build` Running `/usr/bin/rustc --crate-name proc_macro2 --edition=2021 /usr/share/cargo/registry/proc-macro2-1.0.94/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debug-assertions=off --cfg 'feature="proc-macro"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("default", "nightly", "proc-macro", "span-locations"))' -C metadata=0d1cffb056ee9986 -C extra-filename=-c6f8f1e514247a5d --out-dir /home/pterjan/rpmbuild/BUILD/rust-bincode-1.3.3-build/bincode-1.3.3/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-bincode-1.3.3-build/bincode-1.3.3/target/rpm/deps --extern unicode_ident=/home/pterjan/rpmbuild/BUILD/rust-bincode-1.3.3-build/bincode-1.3.3/target/rpm/deps/libunicode_ident-e45ede29ac9488f1.rmeta --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn --cfg wrap_proc_macro --cfg proc_macro_span --check-cfg 'cfg(fuzzing)' --check-cfg 'cfg(no_is_available)' --check-cfg 'cfg(no_literal_byte_character)' --check-cfg 'cfg(no_literal_c_string)' --check-cfg 'cfg(no_source_text)' --check-cfg 'cfg(proc_macro_span)' --check-cfg 'cfg(procmacro2_backtrace)' --check-cfg 'cfg(procmacro2_nightly_testing)' --check-cfg 'cfg(procmacro2_semver_exempt)' --check-cfg 'cfg(randomize_layout)' --check-cfg 'cfg(span_locations)' --check-cfg 'cfg(super_unstable)' --check-cfg 'cfg(wrap_proc_macro)'` Compiling quote v1.0.40 Running `/usr/bin/rustc --crate-name quote --edition=2018 /usr/share/cargo/registry/quote-1.0.40/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debug-assertions=off --cfg 'feature="proc-macro"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("default", "proc-macro"))' -C metadata=7a8eafe1a79f77a9 -C extra-filename=-8a853e2baa7727fb --out-dir /home/pterjan/rpmbuild/BUILD/rust-bincode-1.3.3-build/bincode-1.3.3/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-bincode-1.3.3-build/bincode-1.3.3/target/rpm/deps --extern proc_macro2=/home/pterjan/rpmbuild/BUILD/rust-bincode-1.3.3-build/bincode-1.3.3/target/rpm/deps/libproc_macro2-c6f8f1e514247a5d.rmeta --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` Compiling syn v2.0.100 Running `/usr/bin/rustc --crate-name syn --edition=2021 /usr/share/cargo/registry/syn-2.0.100/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debug-assertions=off --cfg 'feature="clone-impls"' --cfg 'feature="derive"' --cfg 'feature="parsing"' --cfg 'feature="printing"' --cfg 'feature="proc-macro"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("clone-impls", "default", "derive", "extra-traits", "fold", "full", "parsing", "printing", "proc-macro", "test", "visit", "visit-mut"))' -C metadata=0ba0c66ac4b9e277 -C extra-filename=-cffbe7683f5c9bb0 --out-dir /home/pterjan/rpmbuild/BUILD/rust-bincode-1.3.3-build/bincode-1.3.3/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-bincode-1.3.3-build/bincode-1.3.3/target/rpm/deps --extern proc_macro2=/home/pterjan/rpmbuild/BUILD/rust-bincode-1.3.3-build/bincode-1.3.3/target/rpm/deps/libproc_macro2-c6f8f1e514247a5d.rmeta --extern quote=/home/pterjan/rpmbuild/BUILD/rust-bincode-1.3.3-build/bincode-1.3.3/target/rpm/deps/libquote-8a853e2baa7727fb.rmeta --extern unicode_ident=/home/pterjan/rpmbuild/BUILD/rust-bincode-1.3.3-build/bincode-1.3.3/target/rpm/deps/libunicode_ident-e45ede29ac9488f1.rmeta --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` Compiling serde_derive v1.0.217 Running `/usr/bin/rustc --crate-name serde_derive --edition=2015 /usr/share/cargo/registry/serde_derive-1.0.217/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type proc-macro --emit=dep-info,link -C prefer-dynamic -C embed-bitcode=no -C debug-assertions=off --cfg 'feature="default"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("default", "deserialize_in_place"))' -C metadata=a2f98afb93056b87 -C extra-filename=-b2755576fe495cd8 --out-dir /home/pterjan/rpmbuild/BUILD/rust-bincode-1.3.3-build/bincode-1.3.3/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-bincode-1.3.3-build/bincode-1.3.3/target/rpm/deps --extern proc_macro2=/home/pterjan/rpmbuild/BUILD/rust-bincode-1.3.3-build/bincode-1.3.3/target/rpm/deps/libproc_macro2-c6f8f1e514247a5d.rlib --extern quote=/home/pterjan/rpmbuild/BUILD/rust-bincode-1.3.3-build/bincode-1.3.3/target/rpm/deps/libquote-8a853e2baa7727fb.rlib --extern syn=/home/pterjan/rpmbuild/BUILD/rust-bincode-1.3.3-build/bincode-1.3.3/target/rpm/deps/libsyn-cffbe7683f5c9bb0.rlib --extern proc_macro --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` Compiling bincode v1.3.3 (/home/pterjan/rpmbuild/BUILD/rust-bincode-1.3.3-build/bincode-1.3.3) Running `/usr/bin/rustc --crate-name test --edition=2015 tests/test.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 --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("i128"))' -C metadata=6c10329798726a31 -C extra-filename=-6ba316a5d1558d72 --out-dir /home/pterjan/rpmbuild/BUILD/rust-bincode-1.3.3-build/bincode-1.3.3/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-bincode-1.3.3-build/bincode-1.3.3/target/rpm/deps --extern bincode=/home/pterjan/rpmbuild/BUILD/rust-bincode-1.3.3-build/bincode-1.3.3/target/rpm/deps/libbincode-88b1e56a665f6660.rlib --extern serde=/home/pterjan/rpmbuild/BUILD/rust-bincode-1.3.3-build/bincode-1.3.3/target/rpm/deps/libserde-2450d9623ee82f46.rlib --extern serde_bytes=/home/pterjan/rpmbuild/BUILD/rust-bincode-1.3.3-build/bincode-1.3.3/target/rpm/deps/libserde_bytes-c4cec47f175b6655.rlib --extern serde_derive=/home/pterjan/rpmbuild/BUILD/rust-bincode-1.3.3-build/bincode-1.3.3/target/rpm/deps/libserde_derive-b2755576fe495cd8.so -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` Running `/usr/bin/rustc --crate-name bincode --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 --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("i128"))' -C metadata=1dc1266950103dbf -C extra-filename=-65fc7170f5ddc8f0 --out-dir /home/pterjan/rpmbuild/BUILD/rust-bincode-1.3.3-build/bincode-1.3.3/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-bincode-1.3.3-build/bincode-1.3.3/target/rpm/deps --extern serde=/home/pterjan/rpmbuild/BUILD/rust-bincode-1.3.3-build/bincode-1.3.3/target/rpm/deps/libserde-2450d9623ee82f46.rlib --extern serde_bytes=/home/pterjan/rpmbuild/BUILD/rust-bincode-1.3.3-build/bincode-1.3.3/target/rpm/deps/libserde_bytes-c4cec47f175b6655.rlib --extern serde_derive=/home/pterjan/rpmbuild/BUILD/rust-bincode-1.3.3-build/bincode-1.3.3/target/rpm/deps/libserde_derive-b2755576fe495cd8.so -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` warning: unnecessary trailing semicolon --> tests/test.rs:264:6 | 264 | }; | ^ help: remove this semicolon | = note: `#[warn(redundant_semicolons)]` on by default warning: unnecessary trailing semicolon --> tests/test.rs:890:6 | 890 | }; | ^ help: remove this semicolon warning: `bincode` (lib test) generated 4 warnings (4 duplicates) warning: `bincode` (test "test") generated 2 warnings Finished `rpm` profile [optimized + debuginfo] target(s) in 52.94s Running `/home/pterjan/rpmbuild/BUILD/rust-bincode-1.3.3-build/bincode-1.3.3/target/rpm/deps/bincode-65fc7170f5ddc8f0` running 4 tests test config::int::test::test_zigzag_edge_cases ... ok test config::int::test::test_zigzag_decode ... ok test de::read::test::test_fill_buffer ... ok test config::int::test::test_zigzag_encode ... 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-bincode-1.3.3-build/bincode-1.3.3/target/rpm/deps/test-6ba316a5d1558d72` running 42 tests test bytes ... ok test deserializing_errors ... ok test endian_difference ... ok test encode_box ... ok test char_serialization ... ok test not_human_readable ... ok test serde_bytes ... ok test path_buf ... ok test test_basic_struct ... ok test test_big_endian_deserialize_from_seed ... ok test test_big_endian_deserialize_seed ... ok test test_byte_vec_struct ... ok test test_bool ... ok test test_cow_serialize ... ok test test_default_deserialize_from_seed ... ok test test_default_deserialize_seed ... ok test test_enum ... ok test test_fixed_size_array ... ok test test_multi_strings_serialize ... ok test test_nested_struct ... ok test test_numbers ... ok test test_numbers_128bit ... ok test test_map ... ok test test_oom_protection ... ok test test_serialized_size ... ok test test_option ... ok test test_serialized_size_bounded ... ok test test_strbox_serialize ... ok test test_slicebox_serialize ... ok test test_string ... ok test test_struct_tuple ... ok test test_struct_newtype ... ok test test_tuple ... ok test test_unicode ... ok test test_varint_length_prefixes ... ok test test_vec ... ok test test_zero_copy_parse ... ok test test_zero_copy_parse_deserialize_into ... ok test too_big_char_deserialize ... ok test too_big_deserialize ... ok test too_big_serialize ... ok test trailing_bytes ... ok test result: ok. 42 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s Doc-tests bincode Running `/usr/bin/rustdoc --edition=2015 --crate-type lib --color auto --crate-name bincode --test src/lib.rs --test-run-directory /home/pterjan/rpmbuild/BUILD/rust-bincode-1.3.3-build/bincode-1.3.3 -L dependency=/home/pterjan/rpmbuild/BUILD/rust-bincode-1.3.3-build/bincode-1.3.3/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-bincode-1.3.3-build/bincode-1.3.3/target/rpm/deps --extern bincode=/home/pterjan/rpmbuild/BUILD/rust-bincode-1.3.3-build/bincode-1.3.3/target/rpm/deps/libbincode-88b1e56a665f6660.rlib --extern serde=/home/pterjan/rpmbuild/BUILD/rust-bincode-1.3.3-build/bincode-1.3.3/target/rpm/deps/libserde-2450d9623ee82f46.rlib --extern serde_bytes=/home/pterjan/rpmbuild/BUILD/rust-bincode-1.3.3-build/bincode-1.3.3/target/rpm/deps/libserde_bytes-c4cec47f175b6655.rlib --extern serde_derive=/home/pterjan/rpmbuild/BUILD/rust-bincode-1.3.3-build/bincode-1.3.3/target/rpm/deps/libserde_derive-b2755576fe495cd8.so -C embed-bitcode=no --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("i128"))' --error-format human` running 7 tests test src/config/int.rs - config::int::VarintEncoding (line 146) ... ignored test src/config/int.rs - config::int::VarintEncoding (line 158) ... ignored test src/de/mod.rs - de::Deserializer (line 23) ... ignored test src/config/mod.rs - config (line 5) ... ok test src/config/mod.rs - config::DefaultOptions (line 66) ... ok test src/config/mod.rs - config (line 23) ... ok test src/lib.rs - (line 11) ... ok test result: ok. 4 passed; 0 failed; 3 ignored; 0 measured; 0 filtered out; finished in 0.22s + RPM_EC=0 ++ jobs -p + exit 0 Processing files: rust-bincode-devel-1.3.3-2.mga10.noarch Executing(%doc): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.AXejsW + umask 022 + cd /home/pterjan/rpmbuild/BUILD/rust-bincode-1.3.3-build + cd bincode-1.3.3 + DOCDIR=/home/pterjan/rpmbuild/BUILD/rust-bincode-1.3.3-build/BUILDROOT/usr/share/doc/rust-bincode-devel + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /home/pterjan/rpmbuild/BUILD/rust-bincode-1.3.3-build/BUILDROOT/usr/share/doc/rust-bincode-devel + cp -pr /home/pterjan/rpmbuild/BUILD/rust-bincode-1.3.3-build/bincode-1.3.3/readme.md /home/pterjan/rpmbuild/BUILD/rust-bincode-1.3.3-build/BUILDROOT/usr/share/doc/rust-bincode-devel + RPM_EC=0 ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.c9yikf + umask 022 + cd /home/pterjan/rpmbuild/BUILD/rust-bincode-1.3.3-build + cd bincode-1.3.3 + LICENSEDIR=/home/pterjan/rpmbuild/BUILD/rust-bincode-1.3.3-build/BUILDROOT/usr/share/licenses/rust-bincode-devel + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /home/pterjan/rpmbuild/BUILD/rust-bincode-1.3.3-build/BUILDROOT/usr/share/licenses/rust-bincode-devel + cp -pr /home/pterjan/rpmbuild/BUILD/rust-bincode-1.3.3-build/bincode-1.3.3/LICENSE.md /home/pterjan/rpmbuild/BUILD/rust-bincode-1.3.3-build/BUILDROOT/usr/share/licenses/rust-bincode-devel + RPM_EC=0 ++ jobs -p + exit 0 Provides: crate(bincode) = 1.3.3 rust-bincode-devel = 1.3.3-2.mga10 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: cargo crate(serde/default) >= 1.0.63 Processing files: rust-bincode+default-devel-1.3.3-2.mga10.noarch Provides: crate(bincode/default) = 1.3.3 rust-bincode+default-devel = 1.3.3-2.mga10 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: cargo crate(bincode) = 1.3.3 Processing files: rust-bincode+i128-devel-1.3.3-2.mga10.noarch Provides: crate(bincode/i128) = 1.3.3 rust-bincode+i128-devel = 1.3.3-2.mga10 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: cargo crate(bincode) = 1.3.3 Checking for unpackaged file(s): /usr/lib/rpm/check-files /home/pterjan/rpmbuild/BUILD/rust-bincode-1.3.3-build/BUILDROOT Wrote: /home/pterjan/rpmbuild/RPMS/noarch/rust-bincode+default-devel-1.3.3-2.mga10.noarch.rpm Wrote: /home/pterjan/rpmbuild/RPMS/noarch/rust-bincode+i128-devel-1.3.3-2.mga10.noarch.rpm Wrote: /home/pterjan/rpmbuild/RPMS/noarch/rust-bincode-devel-1.3.3-2.mga10.noarch.rpm Executing(rmbuild): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.I4VufQ + umask 022 + cd /home/pterjan/rpmbuild/BUILD/rust-bincode-1.3.3-build + test -d /home/pterjan/rpmbuild/BUILD/rust-bincode-1.3.3-build + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w /home/pterjan/rpmbuild/BUILD/rust-bincode-1.3.3-build + rm -rf /home/pterjan/rpmbuild/BUILD/rust-bincode-1.3.3-build + RPM_EC=0 ++ jobs -p + exit 0 D: [iurt_root_command] Success!