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-89653-58457/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-1.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-89653-58457/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.JmeATm + 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.ii9Ma5 + 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-1.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-89653-58457/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.hahr86 + 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.6AC7GB + 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-1.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-89653-58457/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.nFV2tI + 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.c8ZxGf + 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"' -C metadata=463f90b7f40393ca -C extra-filename=-463f90b7f40393ca --out-dir /builddir/build/BUILD/toml-0.4.10/target/rpm/build/serde-463f90b7f40393ca -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-463f90b7f40393ca/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"' -C metadata=805ff2f9f5d8cdbd -C extra-filename=-805ff2f9f5d8cdbd --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` Compiling toml v0.4.10 (/builddir/build/BUILD/toml-0.4.10) Running `/usr/bin/rustc --crate-name toml 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 -C metadata=a7f7c4b357212de9 -C extra-filename=-a7f7c4b357212de9 --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-805ff2f9f5d8cdbd.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: 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: use `let _ = ...` to ignore the expression or result = 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>` | = note: use `let _ = ...` to ignore the expression or result 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: use `let _ = ...` to ignore the expression or result = 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: use `let _ = ...` to ignore the expression or result = 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: use `let _ = ...` to ignore the expression or result = 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: use `let _ = ...` to ignore the expression or result = 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: use `let _ = ...` to ignore the expression or result = 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: use `let _ = ...` to ignore the expression or result = 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: use `let _ = ...` to ignore the expression or result = 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: use `let _ = ...` to ignore the expression or result = 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 [optimized + debuginfo] target(s) in 8.36s + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.Qc89hq + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/rust-toml0.4-0.4.10-1.oc9.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/rust-toml0.4-0.4.10-1.oc9.x86_64 ++ dirname /builddir/build/BUILDROOT/rust-toml0.4-0.4.10-1.oc9.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/rust-toml0.4-0.4.10-1.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-1.oc9.x86_64/usr/share/cargo/registry/toml-0.4.10 + /usr/bin/mkdir -p /builddir/build/BUILDROOT/rust-toml0.4-0.4.10-1.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-1.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-1.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-1.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.mUynPe + 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 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"' -C metadata=6cacf77cadee0d12 -C extra-filename=-6cacf77cadee0d12 --out-dir /builddir/build/BUILD/toml-0.4.10/target/rpm/build/proc-macro2-6cacf77cadee0d12 -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` Compiling serde_json v1.0.117 Compiling itoa v1.0.11 Compiling ryu v1.0.18 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 -C metadata=f6756fa063839120 -C extra-filename=-f6756fa063839120 --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 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 -C metadata=8214959c36216e6a -C extra-filename=-8214959c36216e6a --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"' -C metadata=a4b714205e5a7d63 -C extra-filename=-a4b714205e5a7d63 --out-dir /builddir/build/BUILD/toml-0.4.10/target/rpm/build/serde_json-a4b714205e5a7d63 -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 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 -C metadata=67da5231be878479 -C extra-filename=-67da5231be878479 --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: 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: use `let _ = ...` to ignore the expression or result = 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>` | = note: use `let _ = ...` to ignore the expression or result 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: use `let _ = ...` to ignore the expression or result = 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: use `let _ = ...` to ignore the expression or result = 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: use `let _ = ...` to ignore the expression or result = 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: use `let _ = ...` to ignore the expression or result = 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: use `let _ = ...` to ignore the expression or result = 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: use `let _ = ...` to ignore the expression or result = 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: use `let _ = ...` to ignore the expression or result = 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: use `let _ = ...` to ignore the expression or result = 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) Running `/builddir/build/BUILD/toml-0.4.10/target/rpm/build/serde_json-a4b714205e5a7d63/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"' -C metadata=33bc883bbc59d948 -C extra-filename=-33bc883bbc59d948 --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-8214959c36216e6a.rmeta --extern ryu=/builddir/build/BUILD/toml-0.4.10/target/rpm/deps/libryu-67da5231be878479.rmeta --extern serde=/builddir/build/BUILD/toml-0.4.10/target/rpm/deps/libserde-805ff2f9f5d8cdbd.rmeta --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn --cfg limb_width_64` Running `/builddir/build/BUILD/toml-0.4.10/target/rpm/build/proc-macro2-6cacf77cadee0d12/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"' -C metadata=fbdbacb3f4e9c972 -C extra-filename=-fbdbacb3f4e9c972 --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-f6756fa063839120.rmeta --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn --cfg no_literal_byte_character --cfg no_literal_c_string --cfg wrap_proc_macro --cfg proc_macro_span` 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"' -C metadata=2790b994dd42ba83 -C extra-filename=-2790b994dd42ba83 --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-fbdbacb3f4e9c972.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"' -C metadata=bf7430e0958e4ec8 -C extra-filename=-bf7430e0958e4ec8 --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-fbdbacb3f4e9c972.rmeta --extern quote=/builddir/build/BUILD/toml-0.4.10/target/rpm/deps/libquote-2790b994dd42ba83.rmeta --extern unicode_ident=/builddir/build/BUILD/toml-0.4.10/target/rpm/deps/libunicode_ident-f6756fa063839120.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 /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"' -C metadata=1b378d85263141bb -C extra-filename=-1b378d85263141bb --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-fbdbacb3f4e9c972.rlib --extern quote=/builddir/build/BUILD/toml-0.4.10/target/rpm/deps/libquote-2790b994dd42ba83.rlib --extern syn=/builddir/build/BUILD/toml-0.4.10/target/rpm/deps/libsyn-bf7430e0958e4ec8.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 toml 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 -C metadata=4eee03428c0e2eea -C extra-filename=-4eee03428c0e2eea --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-805ff2f9f5d8cdbd.rlib --extern serde_derive=/builddir/build/BUILD/toml-0.4.10/target/rpm/deps/libserde_derive-1b378d85263141bb.so --extern serde_json=/builddir/build/BUILD/toml-0.4.10/target/rpm/deps/libserde_json-33bc883bbc59d948.rlib -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` Running `/usr/bin/rustc --crate-name enum_external 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 -C metadata=2bc97a6cbf02d258 -C extra-filename=-2bc97a6cbf02d258 --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-805ff2f9f5d8cdbd.rlib --extern serde_derive=/builddir/build/BUILD/toml-0.4.10/target/rpm/deps/libserde_derive-1b378d85263141bb.so --extern serde_json=/builddir/build/BUILD/toml-0.4.10/target/rpm/deps/libserde_json-33bc883bbc59d948.rlib --extern toml=/builddir/build/BUILD/toml-0.4.10/target/rpm/deps/libtoml-a7f7c4b357212de9.rlib -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` Running `/usr/bin/rustc --crate-name enum_external_deserialize 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 -C metadata=b14c94614bda8b96 -C extra-filename=-b14c94614bda8b96 --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-805ff2f9f5d8cdbd.rlib --extern serde_derive=/builddir/build/BUILD/toml-0.4.10/target/rpm/deps/libserde_derive-1b378d85263141bb.so --extern serde_json=/builddir/build/BUILD/toml-0.4.10/target/rpm/deps/libserde_json-33bc883bbc59d948.rlib --extern toml=/builddir/build/BUILD/toml-0.4.10/target/rpm/deps/libtoml-a7f7c4b357212de9.rlib -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` Running `/usr/bin/rustc --crate-name decode 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 -C metadata=bbd6de1357a7e293 -C extra-filename=-bbd6de1357a7e293 --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-805ff2f9f5d8cdbd.rlib --extern serde_derive=/builddir/build/BUILD/toml-0.4.10/target/rpm/deps/libserde_derive-1b378d85263141bb.so --extern serde_json=/builddir/build/BUILD/toml-0.4.10/target/rpm/deps/libserde_json-33bc883bbc59d948.rlib --extern toml=/builddir/build/BUILD/toml-0.4.10/target/rpm/deps/libtoml-a7f7c4b357212de9.rlib -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` Running `/usr/bin/rustc --crate-name toml2json 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 -C metadata=0df00e14e6fea267 -C extra-filename=-0df00e14e6fea267 --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-805ff2f9f5d8cdbd.rlib --extern serde_derive=/builddir/build/BUILD/toml-0.4.10/target/rpm/deps/libserde_derive-1b378d85263141bb.so --extern serde_json=/builddir/build/BUILD/toml-0.4.10/target/rpm/deps/libserde_json-33bc883bbc59d948.rlib --extern toml=/builddir/build/BUILD/toml-0.4.10/target/rpm/deps/libtoml-a7f7c4b357212de9.rlib -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` 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: field `value` is never read --> examples/enum_external.rs:27:14 | 27 | Struct { value: i64 }, | ------ ^^^^^ | | | field in this variant 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: `toml` (lib test) generated 20 warnings (20 duplicates) warning: `toml` (example "enum_external") generated 2 warnings warning: `toml` (example "decode") generated 3 warnings Finished rpm [optimized + debuginfo] target(s) in 38.24s Running `/builddir/build/BUILD/toml-0.4.10/target/rpm/deps/toml-4eee03428c0e2eea` running 6 tests test tokens::tests::bad_comment ... ok test tokens::tests::bare_cr_bad ... ok test tokens::tests::basic_strings ... ok test tokens::tests::literal_strings ... ok test tokens::tests::all ... ok test tokens::tests::keylike ... 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-b14c94614bda8b96` 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_struct::from_dotted_table ... ok test enum_array::from_inline_tables ... ok test enum_struct::from_inline_table ... ok test enum_tuple::from_dotted_table ... ok test enum_unit::from_dotted_table ... ok test enum_tuple::from_inline_table ... ok test enum_unit::from_inline_table ... ok test extra_field_returns_expected_empty_table_error ... ok test enum_unit::from_str ... 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 --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-805ff2f9f5d8cdbd.rlib --extern serde_derive=/builddir/build/BUILD/toml-0.4.10/target/rpm/deps/libserde_derive-1b378d85263141bb.so --extern serde_json=/builddir/build/BUILD/toml-0.4.10/target/rpm/deps/libserde_json-33bc883bbc59d948.rlib --extern toml=/builddir/build/BUILD/toml-0.4.10/target/rpm/deps/libtoml-a7f7c4b357212de9.rlib -C embed-bitcode=no --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::tables_last (line 1538) ... ok test src/lib.rs - (line 115) ... ok test src/lib.rs - (line 46) ... ok test src/ser.rs - ser::to_string (line 57) ... ok test src/macros.rs - macros::toml (line 9) ... ok test src/spanned.rs - spanned (line 1) ... ok test src/de.rs - de::from_str (line 42) ... 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.46s + RPM_EC=0 ++ jobs -p + exit 0 Processing files: rust-toml0.4-devel-0.4.10-1.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-1.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-1.oc9.noarch Provides: crate(toml/default) = 0.4.10 rust-toml0.4+default-devel = 0.4.10-1.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-1.oc9.x86_64 Wrote: /builddir/build/SRPMS/rust-toml0.4-0.4.10-1.oc9.src.rpm Wrote: /builddir/build/RPMS/rust-toml0.4+default-devel-0.4.10-1.oc9.noarch.rpm Wrote: /builddir/build/RPMS/rust-toml0.4-devel-0.4.10-1.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