Mock Version: 4.1 Mock Version: 4.1 Mock Version: 4.1 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target aarch64 --nodeps /builddir/build/SPECS/rust-toml0.4.spec'], chrootPath='/var/lib/mock/dist-ocs23-epol9-build-204657-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=981gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target aarch64 --nodeps /builddir/build/SPECS/rust-toml0.4.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False Building target platforms: aarch64 Building for target aarch64 Wrote: /builddir/build/SRPMS/rust-toml0.4-0.4.10-1.ocs23.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -br --noclean --target aarch64 --nodeps /builddir/build/SPECS/rust-toml0.4.spec'], chrootPath='/var/lib/mock/dist-ocs23-epol9-build-204657-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=981gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueraiseExc=FalseprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -br --noclean --target aarch64 --nodeps /builddir/build/SPECS/rust-toml0.4.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False Building target platforms: aarch64 Building for target aarch64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.pXmLOR + 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.9waxvs + 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 aarch64 --nodeps /builddir/build/SPECS/rust-toml0.4.spec'], chrootPath='/var/lib/mock/dist-ocs23-epol9-build-204657-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=981gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueraiseExc=FalseprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -br --noclean --target aarch64 --nodeps /builddir/build/SPECS/rust-toml0.4.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False Building target platforms: aarch64 Building for target aarch64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.Brf2oq + 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.okoBgt + 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 aarch64 --nodeps /builddir/build/SPECS/rust-toml0.4.spec'], chrootPath='/var/lib/mock/dist-ocs23-epol9-build-204657-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=981gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -ba --noprep --noclean --target aarch64 --nodeps /builddir/build/SPECS/rust-toml0.4.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False Building target platforms: aarch64 Building for target aarch64 Executing(%generate_buildrequires): /bin/sh -e /var/tmp/rpm-tmp.J2iCae + 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.e5pLEv + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd toml-0.4.10 + /usr/bin/env CARGO_HOME=.cargo RUSTC_BOOTSTRAP=1 'RUSTFLAGS=-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn' /usr/bin/cargo build -j8 -Z avoid-dev-deps --profile rpm Compiling serde v1.0.203 Running `/usr/bin/rustc --crate-name build_script_build --edition=2018 /usr/share/cargo/registry/serde-1.0.203/build.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type bin --emit=dep-info,link -C embed-bitcode=no -C debug-assertions=off --cfg 'feature="default"' --cfg 'feature="std"' -C metadata=695c5f65e1518082 -C extra-filename=-695c5f65e1518082 --out-dir /builddir/build/BUILD/toml-0.4.10/target/rpm/build/serde-695c5f65e1518082 -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-695c5f65e1518082/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=7649e7c302cdde16 -C extra-filename=-7649e7c302cdde16 --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=2c3a99b065244f57 -C extra-filename=-2c3a99b065244f57 --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-7649e7c302cdde16.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 17.06s + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.HHSwDy + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/rust-toml0.4-0.4.10-1.ocs23.aarch64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/rust-toml0.4-0.4.10-1.ocs23.aarch64 ++ dirname /builddir/build/BUILDROOT/rust-toml0.4-0.4.10-1.ocs23.aarch64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/rust-toml0.4-0.4.10-1.ocs23.aarch64 + cd toml-0.4.10 + set -euo pipefail ++ /usr/bin/cargo2rpm --path Cargo.toml is-lib + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' ++ /usr/bin/cargo2rpm --path Cargo.toml name + CRATE_NAME=toml ++ /usr/bin/cargo2rpm --path Cargo.toml version + CRATE_VERSION=0.4.10 + REG_DIR=/builddir/build/BUILDROOT/rust-toml0.4-0.4.10-1.ocs23.aarch64/usr/share/cargo/registry/toml-0.4.10 + /usr/bin/mkdir -p /builddir/build/BUILDROOT/rust-toml0.4-0.4.10-1.ocs23.aarch64/usr/share/cargo/registry/toml-0.4.10 + gawk -i inplace -v INPLACE_SUFFIX=.deps '/^\[((.+\.)?((dev|build)-)?dependencies|features)/{f=1;next} /^\[/{f=0}; !f' Cargo.toml + /usr/bin/env CARGO_HOME=.cargo RUSTC_BOOTSTRAP=1 'RUSTFLAGS=-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn' /usr/bin/cargo package -l + grep -w -E -v 'Cargo.(lock|toml.orig)' + xargs -d '\n' /usr/bin/cp --parents -a -t /builddir/build/BUILDROOT/rust-toml0.4-0.4.10-1.ocs23.aarch64/usr/share/cargo/registry/toml-0.4.10 warning: No (git) VCS found for `/builddir/build/BUILD/toml-0.4.10` + /usr/bin/mv Cargo.toml.deps Cargo.toml + /usr/bin/cp -a Cargo.toml /builddir/build/BUILDROOT/rust-toml0.4-0.4.10-1.ocs23.aarch64/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.aarch64/usr/share/cargo/registry/toml-0.4.10/Cargo.toml.deps + echo '{"files":{},"package":""}' ++ /usr/bin/cargo2rpm --path Cargo.toml is-bin + '[' 0 -eq 1 ']' + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/OpenCloudOS/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/brp-strip /usr/bin/strip + /usr/lib/rpm/brp-strip-comment-note /usr/bin/strip /usr/bin/objdump + /usr/lib/rpm/OpenCloudOS/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/check-rpaths + /usr/lib/rpm/OpenCloudOS/brp-mangle-shebangs + /usr/lib/rpm/OpenCloudOS/brp-python-bytecompile '' 1 0 + /usr/lib/rpm/OpenCloudOS/brp-python-hardlink Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.T1LwGI + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd toml-0.4.10 + /usr/bin/env CARGO_HOME=.cargo RUSTC_BOOTSTRAP=1 'RUSTFLAGS=-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn' /usr/bin/cargo test -j8 -Z avoid-dev-deps --profile rpm --no-fail-fast Compiling proc-macro2 v1.0.85 Compiling unicode-ident v1.0.12 Compiling serde_json v1.0.117 Compiling ryu v1.0.18 Compiling itoa v1.0.11 Running `/usr/bin/rustc --crate-name build_script_build --edition=2021 /usr/share/cargo/registry/proc-macro2-1.0.85/build.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type bin --emit=dep-info,link -C embed-bitcode=no -C debug-assertions=off --cfg 'feature="proc-macro"' -C metadata=dfe90c18b5ef57ee -C extra-filename=-dfe90c18b5ef57ee --out-dir /builddir/build/BUILD/toml-0.4.10/target/rpm/build/proc-macro2-dfe90c18b5ef57ee -L dependency=/builddir/build/BUILD/toml-0.4.10/target/rpm/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` Running `/usr/bin/rustc --crate-name unicode_ident --edition=2018 /usr/share/cargo/registry/unicode-ident-1.0.12/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debug-assertions=off -C metadata=ade339fe45a6060c -C extra-filename=-ade339fe45a6060c --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=8716fbcb63455b24 -C extra-filename=-8716fbcb63455b24 --out-dir /builddir/build/BUILD/toml-0.4.10/target/rpm/build/serde_json-8716fbcb63455b24 -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=8ce9f4918370248a -C extra-filename=-8ce9f4918370248a --out-dir /builddir/build/BUILD/toml-0.4.10/target/rpm/deps -L dependency=/builddir/build/BUILD/toml-0.4.10/target/rpm/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` Fresh serde v1.0.203 Running `/usr/bin/rustc --crate-name 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=b14cf474e70ff864 -C extra-filename=-b14cf474e70ff864 --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) 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-8716fbcb63455b24/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=7231a2197a57d99e -C extra-filename=-7231a2197a57d99e --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-b14cf474e70ff864.rmeta --extern ryu=/builddir/build/BUILD/toml-0.4.10/target/rpm/deps/libryu-8ce9f4918370248a.rmeta --extern serde=/builddir/build/BUILD/toml-0.4.10/target/rpm/deps/libserde-7649e7c302cdde16.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-dfe90c18b5ef57ee/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=28f37b7b6b4adb6d -C extra-filename=-28f37b7b6b4adb6d --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-ade339fe45a6060c.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=d498919b345d4dfe -C extra-filename=-d498919b345d4dfe --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-28f37b7b6b4adb6d.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=1c20a8ecf042f2ad -C extra-filename=-1c20a8ecf042f2ad --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-28f37b7b6b4adb6d.rmeta --extern quote=/builddir/build/BUILD/toml-0.4.10/target/rpm/deps/libquote-d498919b345d4dfe.rmeta --extern unicode_ident=/builddir/build/BUILD/toml-0.4.10/target/rpm/deps/libunicode_ident-ade339fe45a6060c.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=409ab1a6d8c336f4 -C extra-filename=-409ab1a6d8c336f4 --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-28f37b7b6b4adb6d.rlib --extern quote=/builddir/build/BUILD/toml-0.4.10/target/rpm/deps/libquote-d498919b345d4dfe.rlib --extern syn=/builddir/build/BUILD/toml-0.4.10/target/rpm/deps/libsyn-1c20a8ecf042f2ad.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=acde9b56ac75bcc4 -C extra-filename=-acde9b56ac75bcc4 --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-7649e7c302cdde16.rlib --extern serde_derive=/builddir/build/BUILD/toml-0.4.10/target/rpm/deps/libserde_derive-409ab1a6d8c336f4.so --extern serde_json=/builddir/build/BUILD/toml-0.4.10/target/rpm/deps/libserde_json-7231a2197a57d99e.rlib --extern toml=/builddir/build/BUILD/toml-0.4.10/target/rpm/deps/libtoml-2c3a99b065244f57.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=e68a70d22d1013df -C extra-filename=-e68a70d22d1013df --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-7649e7c302cdde16.rlib --extern serde_derive=/builddir/build/BUILD/toml-0.4.10/target/rpm/deps/libserde_derive-409ab1a6d8c336f4.so --extern serde_json=/builddir/build/BUILD/toml-0.4.10/target/rpm/deps/libserde_json-7231a2197a57d99e.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=03748ffa8c79c287 -C extra-filename=-03748ffa8c79c287 --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-7649e7c302cdde16.rlib --extern serde_derive=/builddir/build/BUILD/toml-0.4.10/target/rpm/deps/libserde_derive-409ab1a6d8c336f4.so --extern serde_json=/builddir/build/BUILD/toml-0.4.10/target/rpm/deps/libserde_json-7231a2197a57d99e.rlib --extern toml=/builddir/build/BUILD/toml-0.4.10/target/rpm/deps/libtoml-2c3a99b065244f57.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=863f611a5233edbd -C extra-filename=-863f611a5233edbd --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-7649e7c302cdde16.rlib --extern serde_derive=/builddir/build/BUILD/toml-0.4.10/target/rpm/deps/libserde_derive-409ab1a6d8c336f4.so --extern serde_json=/builddir/build/BUILD/toml-0.4.10/target/rpm/deps/libserde_json-7231a2197a57d99e.rlib --extern toml=/builddir/build/BUILD/toml-0.4.10/target/rpm/deps/libtoml-2c3a99b065244f57.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=5c40dc6db1849b4f -C extra-filename=-5c40dc6db1849b4f --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-7649e7c302cdde16.rlib --extern serde_derive=/builddir/build/BUILD/toml-0.4.10/target/rpm/deps/libserde_derive-409ab1a6d8c336f4.so --extern serde_json=/builddir/build/BUILD/toml-0.4.10/target/rpm/deps/libserde_json-7231a2197a57d99e.rlib --extern toml=/builddir/build/BUILD/toml-0.4.10/target/rpm/deps/libtoml-2c3a99b065244f57.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: 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: 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 4 warnings warning: `toml` (example "decode") generated 3 warnings Finished rpm [optimized + debuginfo] target(s) in 1m 17s Running `/builddir/build/BUILD/toml-0.4.10/target/rpm/deps/toml-e68a70d22d1013df` running 6 tests test tokens::tests::all ... ok test tokens::tests::bad_comment ... ok test tokens::tests::bare_cr_bad ... ok test tokens::tests::basic_strings ... ok test tokens::tests::keylike ... ok test tokens::tests::literal_strings ... ok test result: ok. 6 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s Running `/builddir/build/BUILD/toml-0.4.10/target/rpm/deps/enum_external_deserialize-acde9b56ac75bcc4` running 15 tests test enum_array::from_dotted_table ... ignored, Unimplemented: https://github.com/alexcrichton/toml-rs/pull/264#issuecomment-431707209 test enum_newtype::from_dotted_table ... ignored, Unimplemented: https://github.com/alexcrichton/toml-rs/pull/264#issuecomment-431707209 test enum_array::from_inline_tables ... ok test enum_newtype::from_inline_table ... ok test enum_struct::from_dotted_table ... ok test enum_struct::from_inline_table ... ok test enum_tuple::from_dotted_table ... ok test enum_tuple::from_inline_table ... ok test enum_unit::from_dotted_table ... ok test extra_field_returns_expected_empty_table_error_struct_variant ... ok test invalid_variant_returns_error_with_good_message_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_string ... ok test enum_unit::from_inline_table ... ok test result: ok. 13 passed; 0 failed; 2 ignored; 0 measured; 0 filtered out; finished in 0.01s 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-7649e7c302cdde16.rlib --extern serde_derive=/builddir/build/BUILD/toml-0.4.10/target/rpm/deps/libserde_derive-409ab1a6d8c336f4.so --extern serde_json=/builddir/build/BUILD/toml-0.4.10/target/rpm/deps/libserde_json-7231a2197a57d99e.rlib --extern toml=/builddir/build/BUILD/toml-0.4.10/target/rpm/deps/libtoml-2c3a99b065244f57.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 46) ... ok test src/ser.rs - ser::to_string (line 57) ... ok test src/lib.rs - (line 115) ... ok test src/macros.rs - macros::toml (line 9) ... ok test src/lib.rs - (line 79) ... ok test src/de.rs - de::from_str (line 42) ... ok test src/spanned.rs - spanned (line 1) ... ok test result: ok. 9 passed; 0 failed; 1 ignored; 0 measured; 0 filtered out; finished in 1.43s + 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.aarch64 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