Mock Version: 4.1 Mock Version: 4.1 Mock Version: 4.1 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target aarch64 --nodeps /builddir/build/SPECS/rust-toml0.4.spec'], chrootPath='/var/lib/mock/dist-oc9-epol-build-163715-79751/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=86400uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target aarch64 --nodeps /builddir/build/SPECS/rust-toml0.4.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False Building target platforms: aarch64 Building for target aarch64 Wrote: /builddir/build/SRPMS/rust-toml0.4-0.4.10-2.oc9.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -br --noclean --target aarch64 --nodeps /builddir/build/SPECS/rust-toml0.4.spec'], chrootPath='/var/lib/mock/dist-oc9-epol-build-163715-79751/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=86400uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueraiseExc=FalseprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -br --noclean --target aarch64 --nodeps /builddir/build/SPECS/rust-toml0.4.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False Building target platforms: aarch64 Building for target aarch64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.fU8GYU + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf toml-0.4.10 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/toml-0.4.10.crate + STATUS=0 + '[' 0 -ne 0 ']' + cd toml-0.4.10 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + set -euo pipefail + /usr/bin/mkdir -p target/rpm + /usr/bin/ln -s rpm target/release + /usr/bin/rm -rf .cargo/ + /usr/bin/mkdir -p .cargo + cat + cat + /usr/bin/rm -f Cargo.lock + /usr/bin/rm -f Cargo.toml.orig + RPM_EC=0 ++ jobs -p + exit 0 Executing(%generate_buildrequires): /bin/sh -e /var/tmp/rpm-tmp.84DHpO + umask 022 + cd /builddir/build/BUILD + cd toml-0.4.10 + /usr/bin/cargo2rpm --path Cargo.toml buildrequires --with-check + RPM_EC=0 ++ jobs -p + exit 0 Wrote: /builddir/build/SRPMS/rust-toml0.4-0.4.10-2.oc9.buildreqs.nosrc.rpm Child return code was: 11 Dynamic buildrequires detected Going to install missing buildrequires. See root.log for details. ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -br --noclean --target aarch64 --nodeps /builddir/build/SPECS/rust-toml0.4.spec'], chrootPath='/var/lib/mock/dist-oc9-epol-build-163715-79751/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=86400uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueraiseExc=FalseprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -br --noclean --target aarch64 --nodeps /builddir/build/SPECS/rust-toml0.4.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False Building target platforms: aarch64 Building for target aarch64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.Zxxqkw + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf toml-0.4.10 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/toml-0.4.10.crate + STATUS=0 + '[' 0 -ne 0 ']' + cd toml-0.4.10 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + set -euo pipefail + /usr/bin/mkdir -p target/rpm + /usr/bin/ln -s rpm target/release + /usr/bin/rm -rf .cargo/ + /usr/bin/mkdir -p .cargo + cat + cat + /usr/bin/rm -f Cargo.lock + /usr/bin/rm -f Cargo.toml.orig + RPM_EC=0 ++ jobs -p + exit 0 Executing(%generate_buildrequires): /bin/sh -e /var/tmp/rpm-tmp.67QRsf + umask 022 + cd /builddir/build/BUILD + cd toml-0.4.10 + /usr/bin/cargo2rpm --path Cargo.toml buildrequires --with-check + RPM_EC=0 ++ jobs -p + exit 0 Wrote: /builddir/build/SRPMS/rust-toml0.4-0.4.10-2.oc9.buildreqs.nosrc.rpm Child return code was: 11 Dynamic buildrequires detected Going to install missing buildrequires. See root.log for details. ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -ba --noprep --noclean --target aarch64 --nodeps /builddir/build/SPECS/rust-toml0.4.spec'], chrootPath='/var/lib/mock/dist-oc9-epol-build-163715-79751/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=86400uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -ba --noprep --noclean --target aarch64 --nodeps /builddir/build/SPECS/rust-toml0.4.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False Building target platforms: aarch64 Building for target aarch64 Executing(%generate_buildrequires): /bin/sh -e /var/tmp/rpm-tmp.secimG + umask 022 + cd /builddir/build/BUILD + cd toml-0.4.10 + /usr/bin/cargo2rpm --path Cargo.toml buildrequires --with-check + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.scPWUQ + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd toml-0.4.10 + /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 -j8 -Z avoid-dev-deps --profile rpm Compiling serde v1.0.203 Running `/usr/bin/rustc --crate-name build_script_build --edition=2018 /usr/share/cargo/registry/serde-1.0.203/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)' --check-cfg 'cfg(feature, values("alloc", "default", "derive", "rc", "serde_derive", "std", "unstable"))' -C metadata=b0a58f2e98ff0489 -C extra-filename=-b0a58f2e98ff0489 --out-dir /builddir/build/BUILD/toml-0.4.10/target/rpm/build/serde-b0a58f2e98ff0489 -L dependency=/builddir/build/BUILD/toml-0.4.10/target/rpm/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` Running `/builddir/build/BUILD/toml-0.4.10/target/rpm/build/serde-b0a58f2e98ff0489/build-script-build` Running `/usr/bin/rustc --crate-name serde --edition=2018 /usr/share/cargo/registry/serde-1.0.203/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)' --check-cfg 'cfg(feature, values("alloc", "default", "derive", "rc", "serde_derive", "std", "unstable"))' -C metadata=3fbf99e32800b0dd -C extra-filename=-3fbf99e32800b0dd --out-dir /builddir/build/BUILD/toml-0.4.10/target/rpm/deps -L dependency=/builddir/build/BUILD/toml-0.4.10/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_num_saturating)' --check-cfg 'cfg(no_core_try_from)' --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 toml v0.4.10 (/builddir/build/BUILD/toml-0.4.10) Running `/usr/bin/rustc --crate-name toml --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)' --check-cfg 'cfg(feature, values())' -C metadata=a9e70d9415660c71 -C extra-filename=-a9e70d9415660c71 --out-dir /builddir/build/BUILD/toml-0.4.10/target/rpm/deps -L dependency=/builddir/build/BUILD/toml-0.4.10/target/rpm/deps --extern serde=/builddir/build/BUILD/toml-0.4.10/target/rpm/deps/libserde-3fbf99e32800b0dd.rmeta -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` warning: `...` range patterns are deprecated --> src/datetime.rs:211:30 | 211 | b'0' ... b'9' => { | ^^^ help: use `..=` for an inclusive range | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see = note: `#[warn(ellipsis_inclusive_range_patterns)]` on by default warning: `...` range patterns are deprecated --> src/ser.rs:473:20 | 473 | (Some(0...1), _) | (_, &None) => { | ^^^ help: use `..=` for an inclusive range | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see warning: `...` range patterns are deprecated --> src/ser.rs:512:21 | 512 | 'a' ... 'z' | | ^^^ help: use `..=` for an inclusive range | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see warning: `...` range patterns are deprecated --> src/ser.rs:513:21 | 513 | 'A' ... 'Z' | | ^^^ help: use `..=` for an inclusive range | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see warning: `...` range patterns are deprecated --> src/ser.rs:514:21 | 514 | '0' ... '9' | | ^^^ help: use `..=` for an inclusive range | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see warning: `...` range patterns are deprecated --> src/ser.rs:978:28 | 978 | (Some(0...1), _) | (_, &None) => { | ^^^ help: use `..=` for an inclusive range | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see warning: trait objects without an explicit `dyn` are deprecated --> src/tokens.rs:281:33 | 281 | new_ch: &mut FnMut(&mut Tokenizer, &mut MaybeString, | _________________________________^ 282 | | bool, usize, char) 283 | | -> Result<(), Error>) | |_________________________________________________________^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see = note: `#[warn(bare_trait_objects)]` on by default help: if this is an object-safe trait, use `dyn` | 281 | new_ch: &mut dyn FnMut(&mut Tokenizer, &mut MaybeString, | +++ warning: use of deprecated method `core::str::::trim_right_matches`: superseded by `trim_end_matches` --> src/datetime.rs:102:32 | 102 | write!(f, ".{}", s.trim_right_matches('0'))?; | ^^^^^^^^^^^^^^^^^^ | = note: `#[warn(deprecated)]` on by default help: replace the use of the deprecated method | 102 | write!(f, ".{}", s.trim_end_matches('0'))?; | ~~~~~~~~~~~~~~~~ warning: use of deprecated method `core::str::::trim_left_matches`: superseded by `trim_start_matches` --> src/de.rs:1219:54 | 1219 | i64::from_str_radix(&prefix.replace("_", "").trim_left_matches('+'), radix) | ^^^^^^^^^^^^^^^^^ | help: replace the use of the deprecated method | 1219 | i64::from_str_radix(&prefix.replace("_", "").trim_start_matches('+'), radix) | ~~~~~~~~~~~~~~~~~~ warning: use of deprecated method `core::str::::trim_left_matches`: superseded by `trim_start_matches` --> src/de.rs:1299:35 | 1299 | let mut number = integral.trim_left_matches('+') | ^^^^^^^^^^^^^^^^^ | help: replace the use of the deprecated method | 1299 | let mut number = integral.trim_start_matches('+') | ~~~~~~~~~~~~~~~~~~ warning: calls to `std::mem::drop` with a value that implements `Copy` does nothing --> src/ser.rs:432:9 | 432 | drop(write!(self.dst, "{}", t)); | ^^^^^-------------------------^ | | | argument has type `Result<(), std::fmt::Error>` | = note: `#[warn(dropping_copy_types)]` on by default warning: calls to `std::mem::drop` with a value that implements `Copy` does nothing --> src/ser.rs:520:13 | 520 | drop(write!(self.dst, "{}", key)); | ^^^^^---------------------------^ | | | argument has type `Result<(), std::fmt::Error>` | warning: calls to `std::mem::drop` with a value that implements `Copy` does nothing --> src/ser.rs:748:13 | 748 | drop(write!($this.dst, "-")); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ... 813 | serialize_float!(self, v) | ------------------------- | | | argument has type `Result<(), std::fmt::Error>` | in this macro invocation | = note: this warning originates in the macro `serialize_float` (in Nightly builds, run with -Z macro-backtrace for more info) warning: calls to `std::mem::drop` with a value that implements `Copy` does nothing --> src/ser.rs:751:13 | 751 | drop(write!($this.dst, "nan")); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ... 813 | serialize_float!(self, v) | ------------------------- | | | argument has type `Result<(), std::fmt::Error>` | in this macro invocation | = note: this warning originates in the macro `serialize_float` (in Nightly builds, run with -Z macro-backtrace for more info) warning: calls to `std::mem::drop` with a value that implements `Copy` does nothing --> src/ser.rs:753:13 | 753 | drop(write!($this.dst, "{}", $v)); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ... 813 | serialize_float!(self, v) | ------------------------- | | | argument has type `Result<(), std::fmt::Error>` | in this macro invocation | = note: this warning originates in the macro `serialize_float` (in Nightly builds, run with -Z macro-backtrace for more info) warning: calls to `std::mem::drop` with a value that implements `Copy` does nothing --> src/ser.rs:756:13 | 756 | drop(write!($this.dst, ".0")); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ... 813 | serialize_float!(self, v) | ------------------------- | | | argument has type `Result<(), std::fmt::Error>` | in this macro invocation | = note: this warning originates in the macro `serialize_float` (in Nightly builds, run with -Z macro-backtrace for more info) warning: calls to `std::mem::drop` with a value that implements `Copy` does nothing --> src/ser.rs:748:13 | 748 | drop(write!($this.dst, "-")); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ... 817 | serialize_float!(self, v) | ------------------------- | | | argument has type `Result<(), std::fmt::Error>` | in this macro invocation | = note: this warning originates in the macro `serialize_float` (in Nightly builds, run with -Z macro-backtrace for more info) warning: calls to `std::mem::drop` with a value that implements `Copy` does nothing --> src/ser.rs:751:13 | 751 | drop(write!($this.dst, "nan")); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ... 817 | serialize_float!(self, v) | ------------------------- | | | argument has type `Result<(), std::fmt::Error>` | in this macro invocation | = note: this warning originates in the macro `serialize_float` (in Nightly builds, run with -Z macro-backtrace for more info) warning: calls to `std::mem::drop` with a value that implements `Copy` does nothing --> src/ser.rs:753:13 | 753 | drop(write!($this.dst, "{}", $v)); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ... 817 | serialize_float!(self, v) | ------------------------- | | | argument has type `Result<(), std::fmt::Error>` | in this macro invocation | = note: this warning originates in the macro `serialize_float` (in Nightly builds, run with -Z macro-backtrace for more info) warning: calls to `std::mem::drop` with a value that implements `Copy` does nothing --> src/ser.rs:756:13 | 756 | drop(write!($this.dst, ".0")); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ... 817 | serialize_float!(self, v) | ------------------------- | | | argument has type `Result<(), std::fmt::Error>` | in this macro invocation | = note: this warning originates in the macro `serialize_float` (in Nightly builds, run with -Z macro-backtrace for more info) warning: `toml` (lib) generated 20 warnings (run `cargo fix --lib -p toml` to apply 10 suggestions) Finished `rpm` profile [optimized + debuginfo] target(s) in 8.85s + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.3OMAKC + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/rust-toml0.4-0.4.10-2.oc9.aarch64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/rust-toml0.4-0.4.10-2.oc9.aarch64 ++ dirname /builddir/build/BUILDROOT/rust-toml0.4-0.4.10-2.oc9.aarch64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/rust-toml0.4-0.4.10-2.oc9.aarch64 + cd toml-0.4.10 + 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=toml ++ /usr/bin/cargo2rpm --path Cargo.toml version + CRATE_VERSION=0.4.10 + REG_DIR=/builddir/build/BUILDROOT/rust-toml0.4-0.4.10-2.oc9.aarch64/usr/share/cargo/registry/toml-0.4.10 + /usr/bin/mkdir -p /builddir/build/BUILDROOT/rust-toml0.4-0.4.10-2.oc9.aarch64/usr/share/cargo/registry/toml-0.4.10 + gawk -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 /builddir/build/BUILDROOT/rust-toml0.4-0.4.10-2.oc9.aarch64/usr/share/cargo/registry/toml-0.4.10 warning: no (git) VCS found for `/builddir/build/BUILD/toml-0.4.10` + /usr/bin/mv Cargo.toml.deps Cargo.toml + /usr/bin/cp -a Cargo.toml /builddir/build/BUILDROOT/rust-toml0.4-0.4.10-2.oc9.aarch64/usr/share/cargo/registry/toml-0.4.10/Cargo.toml + /usr/bin/rm -f /builddir/build/BUILDROOT/rust-toml0.4-0.4.10-2.oc9.aarch64/usr/share/cargo/registry/toml-0.4.10/Cargo.toml.deps + echo '{"files":{},"package":""}' ++ /usr/bin/cargo2rpm --path Cargo.toml is-bin + '[' 0 -eq 1 ']' + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/OpenCloudOS/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/brp-strip /usr/bin/strip + /usr/lib/rpm/brp-strip-comment-note /usr/bin/strip /usr/bin/objdump + /usr/lib/rpm/OpenCloudOS/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/check-rpaths + /usr/lib/rpm/OpenCloudOS/brp-mangle-shebangs + /usr/lib/rpm/OpenCloudOS/brp-python-bytecompile '' 1 0 + /usr/lib/rpm/OpenCloudOS/brp-python-hardlink Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.NoEpAP + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd toml-0.4.10 + /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 -j8 -Z avoid-dev-deps --profile rpm --no-fail-fast Compiling proc-macro2 v1.0.85 Compiling unicode-ident v1.0.12 Compiling serde_json v1.0.117 Compiling ryu v1.0.18 Compiling itoa v1.0.11 Running `/usr/bin/rustc --crate-name build_script_build --edition=2021 /usr/share/cargo/registry/proc-macro2-1.0.85/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)' --check-cfg 'cfg(feature, values("default", "nightly", "proc-macro", "span-locations"))' -C metadata=2d94c076035e3eab -C extra-filename=-2d94c076035e3eab --out-dir /builddir/build/BUILD/toml-0.4.10/target/rpm/build/proc-macro2-2d94c076035e3eab -L dependency=/builddir/build/BUILD/toml-0.4.10/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 unicode_ident --edition=2018 /usr/share/cargo/registry/unicode-ident-1.0.12/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)' --check-cfg 'cfg(feature, values())' -C metadata=6ea1c36568d6249a -C extra-filename=-6ea1c36568d6249a --out-dir /builddir/build/BUILD/toml-0.4.10/target/rpm/deps -L dependency=/builddir/build/BUILD/toml-0.4.10/target/rpm/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` Fresh serde v1.0.203 warning: `...` range patterns are deprecated --> src/datetime.rs:211:30 | 211 | b'0' ... b'9' => { | ^^^ help: use `..=` for an inclusive range | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see = note: `#[warn(ellipsis_inclusive_range_patterns)]` on by default warning: `...` range patterns are deprecated --> src/ser.rs:473:20 | 473 | (Some(0...1), _) | (_, &None) => { | ^^^ help: use `..=` for an inclusive range | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see warning: `...` range patterns are deprecated --> src/ser.rs:512:21 | 512 | 'a' ... 'z' | | ^^^ help: use `..=` for an inclusive range | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see warning: `...` range patterns are deprecated --> src/ser.rs:513:21 | 513 | 'A' ... 'Z' | | ^^^ help: use `..=` for an inclusive range | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see warning: `...` range patterns are deprecated --> src/ser.rs:514:21 | 514 | '0' ... '9' | | ^^^ help: use `..=` for an inclusive range | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see warning: `...` range patterns are deprecated --> src/ser.rs:978:28 | 978 | (Some(0...1), _) | (_, &None) => { | ^^^ help: use `..=` for an inclusive range | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see warning: trait objects without an explicit `dyn` are deprecated --> src/tokens.rs:281:33 | 281 | new_ch: &mut FnMut(&mut Tokenizer, &mut MaybeString, | _________________________________^ 282 | | bool, usize, char) 283 | | -> Result<(), Error>) | |_________________________________________________________^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see = note: `#[warn(bare_trait_objects)]` on by default help: if this is an object-safe trait, use `dyn` | 281 | new_ch: &mut dyn FnMut(&mut Tokenizer, &mut MaybeString, | +++ warning: use of deprecated method `core::str::::trim_right_matches`: superseded by `trim_end_matches` --> src/datetime.rs:102:32 | 102 | write!(f, ".{}", s.trim_right_matches('0'))?; | ^^^^^^^^^^^^^^^^^^ | = note: `#[warn(deprecated)]` on by default help: replace the use of the deprecated method | 102 | write!(f, ".{}", s.trim_end_matches('0'))?; | ~~~~~~~~~~~~~~~~ warning: use of deprecated method `core::str::::trim_left_matches`: superseded by `trim_start_matches` --> src/de.rs:1219:54 | 1219 | i64::from_str_radix(&prefix.replace("_", "").trim_left_matches('+'), radix) | ^^^^^^^^^^^^^^^^^ | help: replace the use of the deprecated method | 1219 | i64::from_str_radix(&prefix.replace("_", "").trim_start_matches('+'), radix) | ~~~~~~~~~~~~~~~~~~ warning: use of deprecated method `core::str::::trim_left_matches`: superseded by `trim_start_matches` --> src/de.rs:1299:35 | 1299 | let mut number = integral.trim_left_matches('+') | ^^^^^^^^^^^^^^^^^ | help: replace the use of the deprecated method | 1299 | let mut number = integral.trim_start_matches('+') | ~~~~~~~~~~~~~~~~~~ warning: calls to `std::mem::drop` with a value that implements `Copy` does nothing --> src/ser.rs:432:9 | 432 | drop(write!(self.dst, "{}", t)); | ^^^^^-------------------------^ | | | argument has type `Result<(), std::fmt::Error>` | = note: `#[warn(dropping_copy_types)]` on by default warning: calls to `std::mem::drop` with a value that implements `Copy` does nothing --> src/ser.rs:520:13 | 520 | drop(write!(self.dst, "{}", key)); | ^^^^^---------------------------^ | | | argument has type `Result<(), std::fmt::Error>` | warning: calls to `std::mem::drop` with a value that implements `Copy` does nothing --> src/ser.rs:748:13 | 748 | drop(write!($this.dst, "-")); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ... 813 | serialize_float!(self, v) | ------------------------- | | | argument has type `Result<(), std::fmt::Error>` | in this macro invocation | = note: this warning originates in the macro `serialize_float` (in Nightly builds, run with -Z macro-backtrace for more info) warning: calls to `std::mem::drop` with a value that implements `Copy` does nothing --> src/ser.rs:751:13 | 751 | drop(write!($this.dst, "nan")); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ... 813 | serialize_float!(self, v) | ------------------------- | | | argument has type `Result<(), std::fmt::Error>` | in this macro invocation | = note: this warning originates in the macro `serialize_float` (in Nightly builds, run with -Z macro-backtrace for more info) warning: calls to `std::mem::drop` with a value that implements `Copy` does nothing --> src/ser.rs:753:13 | 753 | drop(write!($this.dst, "{}", $v)); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ... 813 | serialize_float!(self, v) | ------------------------- | | | argument has type `Result<(), std::fmt::Error>` | in this macro invocation | = note: this warning originates in the macro `serialize_float` (in Nightly builds, run with -Z macro-backtrace for more info) warning: calls to `std::mem::drop` with a value that implements `Copy` does nothing --> src/ser.rs:756:13 | 756 | drop(write!($this.dst, ".0")); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ... 813 | serialize_float!(self, v) | ------------------------- | | | argument has type `Result<(), std::fmt::Error>` | in this macro invocation | = note: this warning originates in the macro `serialize_float` (in Nightly builds, run with -Z macro-backtrace for more info) warning: calls to `std::mem::drop` with a value that implements `Copy` does nothing --> src/ser.rs:748:13 | 748 | drop(write!($this.dst, "-")); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ... 817 | serialize_float!(self, v) | ------------------------- | | | argument has type `Result<(), std::fmt::Error>` | in this macro invocation | = note: this warning originates in the macro `serialize_float` (in Nightly builds, run with -Z macro-backtrace for more info) warning: calls to `std::mem::drop` with a value that implements `Copy` does nothing --> src/ser.rs:751:13 | 751 | drop(write!($this.dst, "nan")); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ... 817 | serialize_float!(self, v) | ------------------------- | | | argument has type `Result<(), std::fmt::Error>` | in this macro invocation | = note: this warning originates in the macro `serialize_float` (in Nightly builds, run with -Z macro-backtrace for more info) warning: calls to `std::mem::drop` with a value that implements `Copy` does nothing --> src/ser.rs:753:13 | 753 | drop(write!($this.dst, "{}", $v)); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ... 817 | serialize_float!(self, v) | ------------------------- | | | argument has type `Result<(), std::fmt::Error>` | in this macro invocation | = note: this warning originates in the macro `serialize_float` (in Nightly builds, run with -Z macro-backtrace for more info) warning: calls to `std::mem::drop` with a value that implements `Copy` does nothing --> src/ser.rs:756:13 | 756 | drop(write!($this.dst, ".0")); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ... 817 | serialize_float!(self, v) | ------------------------- | | | argument has type `Result<(), std::fmt::Error>` | in this macro invocation | = note: this warning originates in the macro `serialize_float` (in Nightly builds, run with -Z macro-backtrace for more info) Running `/usr/bin/rustc --crate-name itoa --edition=2018 /usr/share/cargo/registry/itoa-1.0.11/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)' --check-cfg 'cfg(feature, values("no-panic"))' -C metadata=45883929a7cb5a5b -C extra-filename=-45883929a7cb5a5b --out-dir /builddir/build/BUILD/toml-0.4.10/target/rpm/deps -L dependency=/builddir/build/BUILD/toml-0.4.10/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 build_script_build --edition=2021 /usr/share/cargo/registry/serde_json-1.0.117/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)' --check-cfg 'cfg(feature, values("alloc", "arbitrary_precision", "default", "float_roundtrip", "indexmap", "preserve_order", "raw_value", "std", "unbounded_depth"))' -C metadata=ad02c62ecbc7ec53 -C extra-filename=-ad02c62ecbc7ec53 --out-dir /builddir/build/BUILD/toml-0.4.10/target/rpm/build/serde_json-ad02c62ecbc7ec53 -L dependency=/builddir/build/BUILD/toml-0.4.10/target/rpm/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` warning: `toml` (lib) generated 20 warnings (run `cargo fix --lib -p toml` to apply 10 suggestions) Running `/usr/bin/rustc --crate-name ryu --edition=2018 /usr/share/cargo/registry/ryu-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 opt-level=3 -C embed-bitcode=no -C codegen-units=1 -C debuginfo=2 --check-cfg 'cfg(docsrs)' --check-cfg 'cfg(feature, values("no-panic", "small"))' -C metadata=452c6dac5e83c8ec -C extra-filename=-452c6dac5e83c8ec --out-dir /builddir/build/BUILD/toml-0.4.10/target/rpm/deps -L dependency=/builddir/build/BUILD/toml-0.4.10/target/rpm/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` Running `/builddir/build/BUILD/toml-0.4.10/target/rpm/build/serde_json-ad02c62ecbc7ec53/build-script-build` Running `/usr/bin/rustc --crate-name serde_json --edition=2021 /usr/share/cargo/registry/serde_json-1.0.117/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)' --check-cfg 'cfg(feature, values("alloc", "arbitrary_precision", "default", "float_roundtrip", "indexmap", "preserve_order", "raw_value", "std", "unbounded_depth"))' -C metadata=f1ab837086f203a9 -C extra-filename=-f1ab837086f203a9 --out-dir /builddir/build/BUILD/toml-0.4.10/target/rpm/deps -L dependency=/builddir/build/BUILD/toml-0.4.10/target/rpm/deps --extern itoa=/builddir/build/BUILD/toml-0.4.10/target/rpm/deps/libitoa-45883929a7cb5a5b.rmeta --extern ryu=/builddir/build/BUILD/toml-0.4.10/target/rpm/deps/libryu-452c6dac5e83c8ec.rmeta --extern serde=/builddir/build/BUILD/toml-0.4.10/target/rpm/deps/libserde-3fbf99e32800b0dd.rmeta --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn --cfg limb_width_64 --check-cfg 'cfg(limb_width_32)' --check-cfg 'cfg(limb_width_64)'` Running `/builddir/build/BUILD/toml-0.4.10/target/rpm/build/proc-macro2-2d94c076035e3eab/build-script-build` Running `/usr/bin/rustc --crate-name proc_macro2 --edition=2021 /usr/share/cargo/registry/proc-macro2-1.0.85/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)' --check-cfg 'cfg(feature, values("default", "nightly", "proc-macro", "span-locations"))' -C metadata=73d47709fae8f915 -C extra-filename=-73d47709fae8f915 --out-dir /builddir/build/BUILD/toml-0.4.10/target/rpm/deps -L dependency=/builddir/build/BUILD/toml-0.4.10/target/rpm/deps --extern unicode_ident=/builddir/build/BUILD/toml-0.4.10/target/rpm/deps/libunicode_ident-6ea1c36568d6249a.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.36 Running `/usr/bin/rustc --crate-name quote --edition=2018 /usr/share/cargo/registry/quote-1.0.36/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)' --check-cfg 'cfg(feature, values("default", "proc-macro"))' -C metadata=786b96e0282659aa -C extra-filename=-786b96e0282659aa --out-dir /builddir/build/BUILD/toml-0.4.10/target/rpm/deps -L dependency=/builddir/build/BUILD/toml-0.4.10/target/rpm/deps --extern proc_macro2=/builddir/build/BUILD/toml-0.4.10/target/rpm/deps/libproc_macro2-73d47709fae8f915.rmeta --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` Compiling syn v2.0.66 Running `/usr/bin/rustc --crate-name syn --edition=2021 /usr/share/cargo/registry/syn-2.0.66/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)' --check-cfg 'cfg(feature, values("clone-impls", "default", "derive", "extra-traits", "fold", "full", "parsing", "printing", "proc-macro", "test", "visit", "visit-mut"))' -C metadata=f26fdd5b6b08f120 -C extra-filename=-f26fdd5b6b08f120 --out-dir /builddir/build/BUILD/toml-0.4.10/target/rpm/deps -L dependency=/builddir/build/BUILD/toml-0.4.10/target/rpm/deps --extern proc_macro2=/builddir/build/BUILD/toml-0.4.10/target/rpm/deps/libproc_macro2-73d47709fae8f915.rmeta --extern quote=/builddir/build/BUILD/toml-0.4.10/target/rpm/deps/libquote-786b96e0282659aa.rmeta --extern unicode_ident=/builddir/build/BUILD/toml-0.4.10/target/rpm/deps/libunicode_ident-6ea1c36568d6249a.rmeta --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` Compiling serde_derive v1.0.203 Running `/usr/bin/rustc --crate-name serde_derive --edition=2015 /usr/share/cargo/registry/serde_derive-1.0.203/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)' --check-cfg 'cfg(feature, values("default", "deserialize_in_place"))' -C metadata=c03d906cf55a3d23 -C extra-filename=-c03d906cf55a3d23 --out-dir /builddir/build/BUILD/toml-0.4.10/target/rpm/deps -L dependency=/builddir/build/BUILD/toml-0.4.10/target/rpm/deps --extern proc_macro2=/builddir/build/BUILD/toml-0.4.10/target/rpm/deps/libproc_macro2-73d47709fae8f915.rlib --extern quote=/builddir/build/BUILD/toml-0.4.10/target/rpm/deps/libquote-786b96e0282659aa.rlib --extern syn=/builddir/build/BUILD/toml-0.4.10/target/rpm/deps/libsyn-f26fdd5b6b08f120.rlib --extern proc_macro --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` Compiling toml v0.4.10 (/builddir/build/BUILD/toml-0.4.10) Running `/usr/bin/rustc --crate-name enum_external --edition=2015 examples/enum_external.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type bin --emit=dep-info,link -C opt-level=3 -C embed-bitcode=no -C codegen-units=1 -C debuginfo=2 --check-cfg 'cfg(docsrs)' --check-cfg 'cfg(feature, values())' -C metadata=29486a294ed66c2e -C extra-filename=-29486a294ed66c2e --out-dir /builddir/build/BUILD/toml-0.4.10/target/rpm/examples -L dependency=/builddir/build/BUILD/toml-0.4.10/target/rpm/deps --extern serde=/builddir/build/BUILD/toml-0.4.10/target/rpm/deps/libserde-3fbf99e32800b0dd.rlib --extern serde_derive=/builddir/build/BUILD/toml-0.4.10/target/rpm/deps/libserde_derive-c03d906cf55a3d23.so --extern serde_json=/builddir/build/BUILD/toml-0.4.10/target/rpm/deps/libserde_json-f1ab837086f203a9.rlib --extern toml=/builddir/build/BUILD/toml-0.4.10/target/rpm/deps/libtoml-a9e70d9415660c71.rlib -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` Running `/usr/bin/rustc --crate-name enum_external_deserialize --edition=2015 tests/enum_external_deserialize.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)' --check-cfg 'cfg(feature, values())' -C metadata=8ef6e71cedcc8ade -C extra-filename=-8ef6e71cedcc8ade --out-dir /builddir/build/BUILD/toml-0.4.10/target/rpm/deps -L dependency=/builddir/build/BUILD/toml-0.4.10/target/rpm/deps --extern serde=/builddir/build/BUILD/toml-0.4.10/target/rpm/deps/libserde-3fbf99e32800b0dd.rlib --extern serde_derive=/builddir/build/BUILD/toml-0.4.10/target/rpm/deps/libserde_derive-c03d906cf55a3d23.so --extern serde_json=/builddir/build/BUILD/toml-0.4.10/target/rpm/deps/libserde_json-f1ab837086f203a9.rlib --extern toml=/builddir/build/BUILD/toml-0.4.10/target/rpm/deps/libtoml-a9e70d9415660c71.rlib -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` Running `/usr/bin/rustc --crate-name toml2json --edition=2015 examples/toml2json.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type bin --emit=dep-info,link -C opt-level=3 -C embed-bitcode=no -C codegen-units=1 -C debuginfo=2 --check-cfg 'cfg(docsrs)' --check-cfg 'cfg(feature, values())' -C metadata=acc05ebd0a5d2831 -C extra-filename=-acc05ebd0a5d2831 --out-dir /builddir/build/BUILD/toml-0.4.10/target/rpm/examples -L dependency=/builddir/build/BUILD/toml-0.4.10/target/rpm/deps --extern serde=/builddir/build/BUILD/toml-0.4.10/target/rpm/deps/libserde-3fbf99e32800b0dd.rlib --extern serde_derive=/builddir/build/BUILD/toml-0.4.10/target/rpm/deps/libserde_derive-c03d906cf55a3d23.so --extern serde_json=/builddir/build/BUILD/toml-0.4.10/target/rpm/deps/libserde_json-f1ab837086f203a9.rlib --extern toml=/builddir/build/BUILD/toml-0.4.10/target/rpm/deps/libtoml-a9e70d9415660c71.rlib -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` Running `/usr/bin/rustc --crate-name toml --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)' --check-cfg 'cfg(feature, values())' -C metadata=e79b3515844bb526 -C extra-filename=-e79b3515844bb526 --out-dir /builddir/build/BUILD/toml-0.4.10/target/rpm/deps -L dependency=/builddir/build/BUILD/toml-0.4.10/target/rpm/deps --extern serde=/builddir/build/BUILD/toml-0.4.10/target/rpm/deps/libserde-3fbf99e32800b0dd.rlib --extern serde_derive=/builddir/build/BUILD/toml-0.4.10/target/rpm/deps/libserde_derive-c03d906cf55a3d23.so --extern serde_json=/builddir/build/BUILD/toml-0.4.10/target/rpm/deps/libserde_json-f1ab837086f203a9.rlib -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` Running `/usr/bin/rustc --crate-name decode --edition=2015 examples/decode.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type bin --emit=dep-info,link -C opt-level=3 -C embed-bitcode=no -C codegen-units=1 -C debuginfo=2 --check-cfg 'cfg(docsrs)' --check-cfg 'cfg(feature, values())' -C metadata=a6876df53a5f6a4f -C extra-filename=-a6876df53a5f6a4f --out-dir /builddir/build/BUILD/toml-0.4.10/target/rpm/examples -L dependency=/builddir/build/BUILD/toml-0.4.10/target/rpm/deps --extern serde=/builddir/build/BUILD/toml-0.4.10/target/rpm/deps/libserde-3fbf99e32800b0dd.rlib --extern serde_derive=/builddir/build/BUILD/toml-0.4.10/target/rpm/deps/libserde_derive-c03d906cf55a3d23.so --extern serde_json=/builddir/build/BUILD/toml-0.4.10/target/rpm/deps/libserde_json-f1ab837086f203a9.rlib --extern toml=/builddir/build/BUILD/toml-0.4.10/target/rpm/deps/libtoml-a9e70d9415660c71.rlib -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` warning: fields `global_string`, `global_integer`, `server`, and `peers` are never read --> examples/decode.rs:14:5 | 13 | struct Config { | ------ fields in this struct 14 | global_string: Option, | ^^^^^^^^^^^^^ 15 | global_integer: Option, | ^^^^^^^^^^^^^^ 16 | server: Option, | ^^^^^^ 17 | peers: Option>, | ^^^^^ | = note: `Config` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis note: the lint level is defined here --> examples/decode.rs:4:9 | 4 | #![deny(warnings)] | ^^^^^^^^ = note: `#[warn(dead_code)]` implied by `#[warn(warnings)]` warning: fields `ip` and `port` are never read --> examples/decode.rs:26:5 | 25 | struct ServerConfig { | ------------ fields in this struct 26 | ip: Option, | ^^ 27 | port: Option, | ^^^^ | = note: `ServerConfig` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis warning: fields `ip` and `port` are never read --> examples/decode.rs:32:5 | 31 | struct PeerConfig { | ---------- fields in this struct 32 | ip: Option, | ^^ 33 | port: Option, | ^^^^ | = note: `PeerConfig` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis warning: fields `plain`, `plain_table`, `tuple`, `structv`, `newtype`, and `my_enum` are never read --> examples/enum_external.rs:13:5 | 12 | struct Config { | ------ fields in this struct 13 | plain: MyEnum, | ^^^^^ 14 | plain_table: MyEnum, | ^^^^^^^^^^^ 15 | tuple: MyEnum, | ^^^^^ 16 | #[serde(rename = "struct")] 17 | structv: MyEnum, | ^^^^^^^ 18 | newtype: MyEnum, | ^^^^^^^ 19 | my_enum: Vec, | ^^^^^^^ | = note: `Config` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis note: the lint level is defined here --> examples/enum_external.rs:4:9 | 4 | #![deny(warnings)] | ^^^^^^^^ = note: `#[warn(dead_code)]` implied by `#[warn(warnings)]` warning: fields `0` and `1` are never read --> examples/enum_external.rs:25:11 | 25 | Tuple(i64, bool), | ----- ^^^ ^^^^ | | | fields in this variant | help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields | 25 | Tuple((), ()), | ~~ ~~ warning: field `0` is never read --> examples/enum_external.rs:26:13 | 26 | NewType(String), | ------- ^^^^^^ | | | field in this variant | help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field | 26 | NewType(()), | ~~ warning: field `value` is never read --> examples/enum_external.rs:27:14 | 27 | Struct { value: i64 }, | ------ ^^^^^ | | | field in this variant warning: `toml` (lib test) generated 20 warnings (20 duplicates) warning: `toml` (example "enum_external") generated 4 warnings warning: `toml` (example "decode") generated 3 warnings Finished `rpm` profile [optimized + debuginfo] target(s) in 41.54s Running `/builddir/build/BUILD/toml-0.4.10/target/rpm/deps/toml-e79b3515844bb526` running 6 tests test tokens::tests::all ... ok test tokens::tests::bad_comment ... ok test tokens::tests::bare_cr_bad ... ok test tokens::tests::basic_strings ... ok test tokens::tests::keylike ... ok test tokens::tests::literal_strings ... ok test result: ok. 6 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s Running `/builddir/build/BUILD/toml-0.4.10/target/rpm/deps/enum_external_deserialize-8ef6e71cedcc8ade` running 15 tests test enum_array::from_dotted_table ... ignored, Unimplemented: https://github.com/alexcrichton/toml-rs/pull/264#issuecomment-431707209 test enum_newtype::from_dotted_table ... ignored, Unimplemented: https://github.com/alexcrichton/toml-rs/pull/264#issuecomment-431707209 test enum_newtype::from_inline_table ... ok test enum_array::from_inline_tables ... ok test enum_struct::from_dotted_table ... ok test enum_struct::from_inline_table ... ok test enum_tuple::from_inline_table ... ok test enum_tuple::from_dotted_table ... ok test enum_unit::from_inline_table ... ok test enum_unit::from_str ... ok test extra_field_returns_expected_empty_table_error ... ok test invalid_variant_returns_error_with_good_message_inline_table ... ok test extra_field_returns_expected_empty_table_error_struct_variant ... ok test invalid_variant_returns_error_with_good_message_string ... ok test enum_unit::from_dotted_table ... ok test result: ok. 13 passed; 0 failed; 2 ignored; 0 measured; 0 filtered out; finished in 0.00s Doc-tests toml Running `/usr/bin/rustdoc --edition=2015 --crate-type lib --crate-name toml --test src/lib.rs --test-run-directory /builddir/build/BUILD/toml-0.4.10 -L dependency=/builddir/build/BUILD/toml-0.4.10/target/rpm/deps -L dependency=/builddir/build/BUILD/toml-0.4.10/target/rpm/deps --extern serde=/builddir/build/BUILD/toml-0.4.10/target/rpm/deps/libserde-3fbf99e32800b0dd.rlib --extern serde_derive=/builddir/build/BUILD/toml-0.4.10/target/rpm/deps/libserde_derive-c03d906cf55a3d23.so --extern serde_json=/builddir/build/BUILD/toml-0.4.10/target/rpm/deps/libserde_json-f1ab837086f203a9.rlib --extern toml=/builddir/build/BUILD/toml-0.4.10/target/rpm/deps/libtoml-a9e70d9415660c71.rlib -C embed-bitcode=no --check-cfg 'cfg(docsrs)' --check-cfg 'cfg(feature, values())' --error-format human` warning: `...` range patterns are deprecated --> src/datetime.rs:211:30 | 211 | b'0' ... b'9' => { | ^^^ help: use `..=` for an inclusive range | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see = note: `#[warn(ellipsis_inclusive_range_patterns)]` on by default warning: `...` range patterns are deprecated --> src/ser.rs:473:20 | 473 | (Some(0...1), _) | (_, &None) => { | ^^^ help: use `..=` for an inclusive range | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see warning: `...` range patterns are deprecated --> src/ser.rs:512:21 | 512 | 'a' ... 'z' | | ^^^ help: use `..=` for an inclusive range | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see warning: `...` range patterns are deprecated --> src/ser.rs:513:21 | 513 | 'A' ... 'Z' | | ^^^ help: use `..=` for an inclusive range | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see warning: `...` range patterns are deprecated --> src/ser.rs:514:21 | 514 | '0' ... '9' | | ^^^ help: use `..=` for an inclusive range | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see warning: `...` range patterns are deprecated --> src/ser.rs:978:28 | 978 | (Some(0...1), _) | (_, &None) => { | ^^^ help: use `..=` for an inclusive range | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see warning: 6 warnings emitted running 10 tests test src/lib.rs - (line 26) ... ignored test src/ser.rs - ser (line 14) ... ok test src/ser.rs - ser::to_string (line 57) ... ok test src/ser.rs - ser::tables_last (line 1538) ... ok test src/lib.rs - (line 115) ... ok test src/lib.rs - (line 46) ... ok test src/macros.rs - macros::toml (line 9) ... ok test src/de.rs - de::from_str (line 42) ... ok test src/lib.rs - (line 79) ... ok test src/spanned.rs - spanned (line 1) ... ok test result: ok. 9 passed; 0 failed; 1 ignored; 0 measured; 0 filtered out; finished in 0.62s + RPM_EC=0 ++ jobs -p + exit 0 Processing files: rust-toml0.4-devel-0.4.10-2.oc9.noarch warning: File listed twice: /usr/share/cargo/registry/toml-0.4.10/LICENSE-APACHE warning: File listed twice: /usr/share/cargo/registry/toml-0.4.10/LICENSE-MIT warning: File listed twice: /usr/share/cargo/registry/toml-0.4.10/README.md Provides: crate(toml) = 0.4.10 rust-toml0.4-devel = 0.4.10-2.oc9 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: (crate(serde/default) >= 1.0.0 with crate(serde/default) < 2.0.0~) cargo Processing files: rust-toml0.4+default-devel-0.4.10-2.oc9.noarch Provides: crate(toml/default) = 0.4.10 rust-toml0.4+default-devel = 0.4.10-2.oc9 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: cargo crate(toml) = 0.4.10 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/rust-toml0.4-0.4.10-2.oc9.aarch64 Wrote: /builddir/build/SRPMS/rust-toml0.4-0.4.10-2.oc9.src.rpm Wrote: /builddir/build/RPMS/rust-toml0.4+default-devel-0.4.10-2.oc9.noarch.rpm Wrote: /builddir/build/RPMS/rust-toml0.4-devel-0.4.10-2.oc9.noarch.rpm RPM build warnings: File listed twice: /usr/share/cargo/registry/toml-0.4.10/LICENSE-APACHE File listed twice: /usr/share/cargo/registry/toml-0.4.10/LICENSE-MIT File listed twice: /usr/share/cargo/registry/toml-0.4.10/README.md Child return code was: 0