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-ocs23-epol9-build-204658-14661/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=982gid=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.ocs23.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-ocs23-epol9-build-204658-14661/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=982gid=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.msRdUs + 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.CHFQa3 + 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.ocs23.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-ocs23-epol9-build-204658-14661/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=982gid=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.I2KeZK + 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.JpZRwT + 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.ocs23.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-ocs23-epol9-build-204658-14661/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=982gid=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.gCZm6u + 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.7kaBFd + 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=f08a32e00fd2f6f3 -C extra-filename=-f08a32e00fd2f6f3 --out-dir /builddir/build/BUILD/toml-0.4.10/target/rpm/build/serde-f08a32e00fd2f6f3 -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-f08a32e00fd2f6f3/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=b38eadbd79503f90 -C extra-filename=-b38eadbd79503f90 --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=6eb1305a1733a24b -C extra-filename=-6eb1305a1733a24b --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-b38eadbd79503f90.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.26s + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.W2AqE4 + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/rust-toml0.4-0.4.10-1.ocs23.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/rust-toml0.4-0.4.10-1.ocs23.x86_64 ++ dirname /builddir/build/BUILDROOT/rust-toml0.4-0.4.10-1.ocs23.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/rust-toml0.4-0.4.10-1.ocs23.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.ocs23.x86_64/usr/share/cargo/registry/toml-0.4.10 + /usr/bin/mkdir -p /builddir/build/BUILDROOT/rust-toml0.4-0.4.10-1.ocs23.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.ocs23.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.ocs23.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.ocs23.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.JaVmnn + 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 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=4ec64ec071209616 -C extra-filename=-4ec64ec071209616 --out-dir /builddir/build/BUILD/toml-0.4.10/target/rpm/build/proc-macro2-4ec64ec071209616 -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 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=922c4ae60b6842b1 -C extra-filename=-922c4ae60b6842b1 --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=a1efd9522f239966 -C extra-filename=-a1efd9522f239966 --out-dir /builddir/build/BUILD/toml-0.4.10/target/rpm/build/serde_json-a1efd9522f239966 -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 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=437788a67ce2617c -C extra-filename=-437788a67ce2617c --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: 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) 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=91921d9033c7e1ec -C extra-filename=-91921d9033c7e1ec --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-a1efd9522f239966/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=cef2244bcc131e0a -C extra-filename=-cef2244bcc131e0a --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-437788a67ce2617c.rmeta --extern ryu=/builddir/build/BUILD/toml-0.4.10/target/rpm/deps/libryu-91921d9033c7e1ec.rmeta --extern serde=/builddir/build/BUILD/toml-0.4.10/target/rpm/deps/libserde-b38eadbd79503f90.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-4ec64ec071209616/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=5e94acb56c85a105 -C extra-filename=-5e94acb56c85a105 --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-922c4ae60b6842b1.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=dd3cb2d52fe9006b -C extra-filename=-dd3cb2d52fe9006b --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-5e94acb56c85a105.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=317da2ad33cdc0ce -C extra-filename=-317da2ad33cdc0ce --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-5e94acb56c85a105.rmeta --extern quote=/builddir/build/BUILD/toml-0.4.10/target/rpm/deps/libquote-dd3cb2d52fe9006b.rmeta --extern unicode_ident=/builddir/build/BUILD/toml-0.4.10/target/rpm/deps/libunicode_ident-922c4ae60b6842b1.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=e361738914d3a28a -C extra-filename=-e361738914d3a28a --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-5e94acb56c85a105.rlib --extern quote=/builddir/build/BUILD/toml-0.4.10/target/rpm/deps/libquote-dd3cb2d52fe9006b.rlib --extern syn=/builddir/build/BUILD/toml-0.4.10/target/rpm/deps/libsyn-317da2ad33cdc0ce.rlib --extern proc_macro --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` Compiling toml v0.4.10 (/builddir/build/BUILD/toml-0.4.10) Running `/usr/bin/rustc --crate-name enum_external_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=d78cec988a64223c -C extra-filename=-d78cec988a64223c --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-b38eadbd79503f90.rlib --extern serde_derive=/builddir/build/BUILD/toml-0.4.10/target/rpm/deps/libserde_derive-e361738914d3a28a.so --extern serde_json=/builddir/build/BUILD/toml-0.4.10/target/rpm/deps/libserde_json-cef2244bcc131e0a.rlib --extern toml=/builddir/build/BUILD/toml-0.4.10/target/rpm/deps/libtoml-6eb1305a1733a24b.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=3b8f699eb4d7852a -C extra-filename=-3b8f699eb4d7852a --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-b38eadbd79503f90.rlib --extern serde_derive=/builddir/build/BUILD/toml-0.4.10/target/rpm/deps/libserde_derive-e361738914d3a28a.so --extern serde_json=/builddir/build/BUILD/toml-0.4.10/target/rpm/deps/libserde_json-cef2244bcc131e0a.rlib --extern toml=/builddir/build/BUILD/toml-0.4.10/target/rpm/deps/libtoml-6eb1305a1733a24b.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=240163519e389d1f -C extra-filename=-240163519e389d1f --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-b38eadbd79503f90.rlib --extern serde_derive=/builddir/build/BUILD/toml-0.4.10/target/rpm/deps/libserde_derive-e361738914d3a28a.so --extern serde_json=/builddir/build/BUILD/toml-0.4.10/target/rpm/deps/libserde_json-cef2244bcc131e0a.rlib --extern toml=/builddir/build/BUILD/toml-0.4.10/target/rpm/deps/libtoml-6eb1305a1733a24b.rlib -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` 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=99e54735b8fa01ef -C extra-filename=-99e54735b8fa01ef --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-b38eadbd79503f90.rlib --extern serde_derive=/builddir/build/BUILD/toml-0.4.10/target/rpm/deps/libserde_derive-e361738914d3a28a.so --extern serde_json=/builddir/build/BUILD/toml-0.4.10/target/rpm/deps/libserde_json-cef2244bcc131e0a.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=71ad206e261b5437 -C extra-filename=-71ad206e261b5437 --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-b38eadbd79503f90.rlib --extern serde_derive=/builddir/build/BUILD/toml-0.4.10/target/rpm/deps/libserde_derive-e361738914d3a28a.so --extern serde_json=/builddir/build/BUILD/toml-0.4.10/target/rpm/deps/libserde_json-cef2244bcc131e0a.rlib --extern toml=/builddir/build/BUILD/toml-0.4.10/target/rpm/deps/libtoml-6eb1305a1733a24b.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 [optimized + debuginfo] target(s) in 37.44s Running `/builddir/build/BUILD/toml-0.4.10/target/rpm/deps/toml-99e54735b8fa01ef` running 6 tests test tokens::tests::all ... ok test tokens::tests::bad_comment ... ok test tokens::tests::keylike ... ok test tokens::tests::basic_strings ... ok test tokens::tests::bare_cr_bad ... 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-d78cec988a64223c` 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_struct::from_dotted_table ... ok test enum_struct::from_inline_table ... ok test enum_tuple::from_dotted_table ... ok test enum_newtype::from_inline_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 invalid_variant_returns_error_with_good_message_inline_table ... ok test extra_field_returns_expected_empty_table_error_struct_variant ... ok test invalid_variant_returns_error_with_good_message_string ... ok test 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-b38eadbd79503f90.rlib --extern serde_derive=/builddir/build/BUILD/toml-0.4.10/target/rpm/deps/libserde_derive-e361738914d3a28a.so --extern serde_json=/builddir/build/BUILD/toml-0.4.10/target/rpm/deps/libserde_json-cef2244bcc131e0a.rlib --extern toml=/builddir/build/BUILD/toml-0.4.10/target/rpm/deps/libtoml-6eb1305a1733a24b.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/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.50s + RPM_EC=0 ++ jobs -p + exit 0 Processing files: rust-toml0.4-devel-0.4.10-1.ocs23.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.ocs23 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.ocs23.noarch Provides: crate(toml/default) = 0.4.10 rust-toml0.4+default-devel = 0.4.10-1.ocs23 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.ocs23.x86_64 Wrote: /builddir/build/SRPMS/rust-toml0.4-0.4.10-1.ocs23.src.rpm Wrote: /builddir/build/RPMS/rust-toml0.4+default-devel-0.4.10-1.ocs23.noarch.rpm Wrote: /builddir/build/RPMS/rust-toml0.4-devel-0.4.10-1.ocs23.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