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 x86_64 --nodeps /builddir/build/SPECS/rust-toml0.4.spec'], chrootPath='/var/lib/mock/dist-oc9-epol-build-163710-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 x86_64 --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: x86_64 Building for target x86_64 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 x86_64 --nodeps /builddir/build/SPECS/rust-toml0.4.spec'], chrootPath='/var/lib/mock/dist-oc9-epol-build-163710-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 x86_64 --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: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.iMWSEq + 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.AHNWg0 + 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 x86_64 --nodeps /builddir/build/SPECS/rust-toml0.4.spec'], chrootPath='/var/lib/mock/dist-oc9-epol-build-163710-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 x86_64 --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: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.8MRXqM + 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.lYTHCq + 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 x86_64 --nodeps /builddir/build/SPECS/rust-toml0.4.spec'], chrootPath='/var/lib/mock/dist-oc9-epol-build-163710-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 x86_64 --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: x86_64 Building for target x86_64 Executing(%generate_buildrequires): /bin/sh -e /var/tmp/rpm-tmp.oPpuTx + 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.v498f7 + 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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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 -j32 -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=3e548e20b8544f42 -C extra-filename=-3e548e20b8544f42 --out-dir /builddir/build/BUILD/toml-0.4.10/target/rpm/build/serde-3e548e20b8544f42 -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-3e548e20b8544f42/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=78225fb2854cdf94 -C extra-filename=-78225fb2854cdf94 --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=b962495ec75b1bbc -C extra-filename=-b962495ec75b1bbc --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-78225fb2854cdf94.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 7.84s + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.P8zaGX + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/rust-toml0.4-0.4.10-2.oc9.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/rust-toml0.4-0.4.10-2.oc9.x86_64 ++ dirname /builddir/build/BUILDROOT/rust-toml0.4-0.4.10-2.oc9.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/rust-toml0.4-0.4.10-2.oc9.x86_64 + 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.x86_64/usr/share/cargo/registry/toml-0.4.10 + /usr/bin/mkdir -p /builddir/build/BUILDROOT/rust-toml0.4-0.4.10-2.oc9.x86_64/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.x86_64/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.x86_64/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.x86_64/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.vZKeG3 + 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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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 -j32 -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 itoa v1.0.11 Compiling ryu v1.0.18 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=35af8534fd766eab -C extra-filename=-35af8534fd766eab --out-dir /builddir/build/BUILD/toml-0.4.10/target/rpm/build/proc-macro2-35af8534fd766eab -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=a80067bcfc642fa8 -C extra-filename=-a80067bcfc642fa8 --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 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=0519ea10cfed929b -C extra-filename=-0519ea10cfed929b --out-dir /builddir/build/BUILD/toml-0.4.10/target/rpm/build/serde_json-0519ea10cfed929b -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 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=fd29ed3d85d8a6cf -C extra-filename=-fd29ed3d85d8a6cf --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` 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 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=beecccf8c6771625 -C extra-filename=-beecccf8c6771625 --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` warning: `toml` (lib) generated 20 warnings (run `cargo fix --lib -p toml` to apply 10 suggestions) Running `/builddir/build/BUILD/toml-0.4.10/target/rpm/build/serde_json-0519ea10cfed929b/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=50e96ea58e8eb481 -C extra-filename=-50e96ea58e8eb481 --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-fd29ed3d85d8a6cf.rmeta --extern ryu=/builddir/build/BUILD/toml-0.4.10/target/rpm/deps/libryu-beecccf8c6771625.rmeta --extern serde=/builddir/build/BUILD/toml-0.4.10/target/rpm/deps/libserde-78225fb2854cdf94.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-35af8534fd766eab/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=3a772f898f20c21e -C extra-filename=-3a772f898f20c21e --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-a80067bcfc642fa8.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=9ba3fd2c527f5dce -C extra-filename=-9ba3fd2c527f5dce --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-3a772f898f20c21e.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=47499e5754913ef3 -C extra-filename=-47499e5754913ef3 --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-3a772f898f20c21e.rmeta --extern quote=/builddir/build/BUILD/toml-0.4.10/target/rpm/deps/libquote-9ba3fd2c527f5dce.rmeta --extern unicode_ident=/builddir/build/BUILD/toml-0.4.10/target/rpm/deps/libunicode_ident-a80067bcfc642fa8.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=874933fbcce335cd -C extra-filename=-874933fbcce335cd --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-3a772f898f20c21e.rlib --extern quote=/builddir/build/BUILD/toml-0.4.10/target/rpm/deps/libquote-9ba3fd2c527f5dce.rlib --extern syn=/builddir/build/BUILD/toml-0.4.10/target/rpm/deps/libsyn-47499e5754913ef3.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 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=0039b26ebbe648d9 -C extra-filename=-0039b26ebbe648d9 --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-78225fb2854cdf94.rlib --extern serde_derive=/builddir/build/BUILD/toml-0.4.10/target/rpm/deps/libserde_derive-874933fbcce335cd.so --extern serde_json=/builddir/build/BUILD/toml-0.4.10/target/rpm/deps/libserde_json-50e96ea58e8eb481.rlib --extern toml=/builddir/build/BUILD/toml-0.4.10/target/rpm/deps/libtoml-b962495ec75b1bbc.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=0143981725fb95d8 -C extra-filename=-0143981725fb95d8 --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-78225fb2854cdf94.rlib --extern serde_derive=/builddir/build/BUILD/toml-0.4.10/target/rpm/deps/libserde_derive-874933fbcce335cd.so --extern serde_json=/builddir/build/BUILD/toml-0.4.10/target/rpm/deps/libserde_json-50e96ea58e8eb481.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=b290191e8c34e628 -C extra-filename=-b290191e8c34e628 --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-78225fb2854cdf94.rlib --extern serde_derive=/builddir/build/BUILD/toml-0.4.10/target/rpm/deps/libserde_derive-874933fbcce335cd.so --extern serde_json=/builddir/build/BUILD/toml-0.4.10/target/rpm/deps/libserde_json-50e96ea58e8eb481.rlib --extern toml=/builddir/build/BUILD/toml-0.4.10/target/rpm/deps/libtoml-b962495ec75b1bbc.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=6832fe7b9f3925d2 -C extra-filename=-6832fe7b9f3925d2 --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-78225fb2854cdf94.rlib --extern serde_derive=/builddir/build/BUILD/toml-0.4.10/target/rpm/deps/libserde_derive-874933fbcce335cd.so --extern serde_json=/builddir/build/BUILD/toml-0.4.10/target/rpm/deps/libserde_json-50e96ea58e8eb481.rlib --extern toml=/builddir/build/BUILD/toml-0.4.10/target/rpm/deps/libtoml-b962495ec75b1bbc.rlib -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` 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=e87672d5318f8dc4 -C extra-filename=-e87672d5318f8dc4 --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-78225fb2854cdf94.rlib --extern serde_derive=/builddir/build/BUILD/toml-0.4.10/target/rpm/deps/libserde_derive-874933fbcce335cd.so --extern serde_json=/builddir/build/BUILD/toml-0.4.10/target/rpm/deps/libserde_json-50e96ea58e8eb481.rlib --extern toml=/builddir/build/BUILD/toml-0.4.10/target/rpm/deps/libtoml-b962495ec75b1bbc.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 36.90s Running `/builddir/build/BUILD/toml-0.4.10/target/rpm/deps/toml-0143981725fb95d8` running 6 tests test tokens::tests::bad_comment ... ok test tokens::tests::all ... ok test tokens::tests::bare_cr_bad ... ok test tokens::tests::keylike ... ok test tokens::tests::basic_strings ... 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-6832fe7b9f3925d2` 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_array::from_inline_tables ... ok test enum_newtype::from_inline_table ... ok test enum_struct::from_dotted_table ... ok test enum_struct::from_inline_table ... ok test enum_tuple::from_dotted_table ... ok test enum_tuple::from_inline_table ... ok test enum_unit::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 extra_field_returns_expected_empty_table_error_struct_variant ... ok test invalid_variant_returns_error_with_good_message_inline_table ... ok test invalid_variant_returns_error_with_good_message_string ... 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-78225fb2854cdf94.rlib --extern serde_derive=/builddir/build/BUILD/toml-0.4.10/target/rpm/deps/libserde_derive-874933fbcce335cd.so --extern serde_json=/builddir/build/BUILD/toml-0.4.10/target/rpm/deps/libserde_json-50e96ea58e8eb481.rlib --extern toml=/builddir/build/BUILD/toml-0.4.10/target/rpm/deps/libtoml-b962495ec75b1bbc.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::tables_last (line 1538) ... ok test src/ser.rs - ser (line 14) ... ok test src/lib.rs - (line 115) ... ok test src/ser.rs - ser::to_string (line 57) ... 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/spanned.rs - spanned (line 1) ... ok test src/lib.rs - (line 79) ... ok test result: ok. 9 passed; 0 failed; 1 ignored; 0 measured; 0 filtered out; finished in 0.40s + 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.x86_64 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