Mock Version: 3.0 Mock Version: 3.0 Mock Version: 3.0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/rust-mustache.spec'], chrootPath='/var/lib/mock/f37-build-side-32-misc-devel-194366-12718/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=864000uid=996gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/rust-mustache.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: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1658534400 Wrote: /builddir/build/SRPMS/rust-mustache-0.9.0-8.fc37.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -br --target riscv64 --nodeps /builddir/build/SPECS/rust-mustache.spec'], chrootPath='/var/lib/mock/f37-build-side-32-misc-devel-194366-12718/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=864000uid=996gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueraiseExc=FalseprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -br --target riscv64 --nodeps /builddir/build/SPECS/rust-mustache.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: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1658534400 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.nDtY5M + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf mustache-0.9.0 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/mustache-0.9.0.crate + STATUS=0 + '[' 0 -ne 0 ']' + cd mustache-0.9.0 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + set -eu + /usr/bin/mkdir -p .cargo + 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.1Hu5oI + umask 022 + cd /builddir/build/BUILD + cd mustache-0.9.0 + /usr/bin/cargo-inspector -BR Cargo.toml + /usr/bin/cargo-inspector -TR Cargo.toml + RPM_EC=0 ++ jobs -p + exit 0 Wrote: /builddir/build/SRPMS/rust-mustache-0.9.0-8.fc37.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 --target riscv64 --nodeps /builddir/build/SPECS/rust-mustache.spec'], chrootPath='/var/lib/mock/f37-build-side-32-misc-devel-194366-12718/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=864000uid=996gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueraiseExc=FalseprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -br --target riscv64 --nodeps /builddir/build/SPECS/rust-mustache.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: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1658534400 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.5hYVkb + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf mustache-0.9.0 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/mustache-0.9.0.crate + STATUS=0 + '[' 0 -ne 0 ']' + cd mustache-0.9.0 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + set -eu + /usr/bin/mkdir -p .cargo + 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.YwtsXS + umask 022 + cd /builddir/build/BUILD + cd mustache-0.9.0 + /usr/bin/cargo-inspector -BR Cargo.toml + /usr/bin/cargo-inspector -TR Cargo.toml + RPM_EC=0 ++ jobs -p + exit 0 Wrote: /builddir/build/SRPMS/rust-mustache-0.9.0-8.fc37.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 --target riscv64 --nodeps /builddir/build/SPECS/rust-mustache.spec'], chrootPath='/var/lib/mock/f37-build-side-32-misc-devel-194366-12718/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=864000uid=996gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -ba --noprep --target riscv64 --nodeps /builddir/build/SPECS/rust-mustache.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: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1658534400 Executing(%generate_buildrequires): /bin/sh -e /var/tmp/rpm-tmp.AWB9MF + umask 022 + cd /builddir/build/BUILD + cd mustache-0.9.0 + /usr/bin/cargo-inspector -BR Cargo.toml + /usr/bin/cargo-inspector -TR Cargo.toml + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.9A7wjn + 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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -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/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd mustache-0.9.0 + /usr/bin/env CARGO_HOME=.cargo RUSTC_BOOTSTRAP=1 'RUSTFLAGS=-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' /usr/bin/cargo build -j8 -Z avoid-dev-deps --release warning: An explicit [[test]] section is specified in Cargo.toml which currently disables Cargo from automatically inferring other test targets. This inference behavior will change in the Rust 2018 edition and the following files will be included as a test target: * /builddir/build/BUILD/mustache-0.9.0/tests/builder.rs * /builddir/build/BUILD/mustache-0.9.0/tests/template.rs * /builddir/build/BUILD/mustache-0.9.0/tests/macros.rs This is likely to break cargo build or cargo test as these files may not be ready to be compiled as a test target today. You can future-proof yourself and disable this warning by adding `autotests = false` to your [package] section. You may also move the files to a location where Cargo would not automatically infer them to be a target, such as in subfolders. For more information on this warning you can consult https://github.com/rust-lang/cargo/issues/5330 Compiling log v0.4.17 Compiling cfg-if v1.0.0 Compiling serde v1.0.150 Running `/usr/bin/rustc --crate-name build_script_build /usr/share/cargo/registry/log-0.4.17/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="std"' -C metadata=dae6abefac53f2fe -C extra-filename=-dae6abefac53f2fe --out-dir /builddir/build/BUILD/mustache-0.9.0/target/release/build/log-dae6abefac53f2fe -L dependency=/builddir/build/BUILD/mustache-0.9.0/target/release/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn` Running `/usr/bin/rustc --crate-name cfg_if --edition=2018 /usr/share/cargo/registry/cfg-if-1.0.0/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 metadata=ec5be335ed2d766c -C extra-filename=-ec5be335ed2d766c --out-dir /builddir/build/BUILD/mustache-0.9.0/target/release/deps -L dependency=/builddir/build/BUILD/mustache-0.9.0/target/release/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn` Running `/usr/bin/rustc --crate-name build_script_build /usr/share/cargo/registry/serde-1.0.150/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=1e0f84f36d176fc5 -C extra-filename=-1e0f84f36d176fc5 --out-dir /builddir/build/BUILD/mustache-0.9.0/target/release/build/serde-1e0f84f36d176fc5 -L dependency=/builddir/build/BUILD/mustache-0.9.0/target/release/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn` Running `/builddir/build/BUILD/mustache-0.9.0/target/release/build/log-dae6abefac53f2fe/build-script-build` Running `/usr/bin/rustc --crate-name log /usr/share/cargo/registry/log-0.4.17/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 --cfg 'feature="std"' -C metadata=45a0f2938f6d58ef -C extra-filename=-45a0f2938f6d58ef --out-dir /builddir/build/BUILD/mustache-0.9.0/target/release/deps -L dependency=/builddir/build/BUILD/mustache-0.9.0/target/release/deps --extern cfg_if=/builddir/build/BUILD/mustache-0.9.0/target/release/deps/libcfg_if-ec5be335ed2d766c.rmeta --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn --cfg atomic_cas --cfg has_atomics` Compiling log v0.3.9 Running `/usr/bin/rustc --crate-name log /usr/share/cargo/registry/log-0.3.9/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 --cfg 'feature="default"' --cfg 'feature="use_std"' -C metadata=ea10da747ece018f -C extra-filename=-ea10da747ece018f --out-dir /builddir/build/BUILD/mustache-0.9.0/target/release/deps -L dependency=/builddir/build/BUILD/mustache-0.9.0/target/release/deps --extern log=/builddir/build/BUILD/mustache-0.9.0/target/release/deps/liblog-45a0f2938f6d58ef.rmeta --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn` Running `/builddir/build/BUILD/mustache-0.9.0/target/release/build/serde-1e0f84f36d176fc5/build-script-build` Running `/usr/bin/rustc --crate-name serde /usr/share/cargo/registry/serde-1.0.150/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 --cfg 'feature="default"' --cfg 'feature="std"' -C metadata=9fe59faf27ff54ea -C extra-filename=-9fe59faf27ff54ea --out-dir /builddir/build/BUILD/mustache-0.9.0/target/release/deps -L dependency=/builddir/build/BUILD/mustache-0.9.0/target/release/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn` Compiling mustache v0.9.0 (/builddir/build/BUILD/mustache-0.9.0) Running `/usr/bin/rustc --crate-name mustache 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 metadata=2444fb502d12361b -C extra-filename=-2444fb502d12361b --out-dir /builddir/build/BUILD/mustache-0.9.0/target/release/deps -L dependency=/builddir/build/BUILD/mustache-0.9.0/target/release/deps --extern log=/builddir/build/BUILD/mustache-0.9.0/target/release/deps/liblog-ea10da747ece018f.rmeta --extern serde=/builddir/build/BUILD/mustache-0.9.0/target/release/deps/libserde-9fe59faf27ff54ea.rmeta -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn` warning: use of deprecated macro `try`: use the `?` operator instead --> src/compiler.rs:54:13 | 54 | try!(parser.parse()) | ^^^ | = note: `#[warn(deprecated)]` on by default warning: use of deprecated macro `try`: use the `?` operator instead --> src/compiler.rs:69:25 | 69 | try!(file.read_to_string(&mut string)); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/compiler.rs:79:53 | 79 | let (tokens, subpartials) = try!(compiler.compile()); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/context.rs:40:34 | 40 | let (tokens, partials) = try!(compiler.compile()); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/context.rs:53:9 | 53 | try!(file.read_to_end(&mut s)); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/context.rs:52:24 | 52 | let mut file = try!(File::open(&path)); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/encoder.rs:331:23 | 331 | self.vec.push(try!(to_data(&value))); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/encoder.rs:369:30 | 369 | self.map.insert(key, try!(to_data(&value))); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/parser.rs:216:29 | 216 | ... try!(self.add_tag()); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/parser.rs:227:29 | 227 | ... try!(self.add_tag()); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/parser.rs:365:9 | 365 | try!(deny_blank(&content)); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/parser.rs:375:28 | 375 | let name = try!(get_name_or_implicit(name)); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/parser.rs:381:32 | 381 | let name = try!(get_name_or_implicit(name)); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/parser.rs:390:28 | 390 | let name = try!(get_name_or_implicit(&content[1..len])); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/parser.rs:396:28 | 396 | let name = try!(get_name_or_implicit(&content[1..len])); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/parser.rs:402:28 | 402 | let name = try!(get_name_or_implicit(&content[1..len])); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/parser.rs:462:17 | 462 | try!(self.add_partial(&content, tag)); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/parser.rs:468:29 | 468 | let s = try!(deny_blank(&content[1..len - 1])); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/parser.rs:495:28 | 495 | let name = try!(get_name_or_implicit(&content)); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/parser.rs:533:20 | 533 | let name = try!(deny_blank(name)); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/parser.rs:563:16 | 563 | let name = try!(deny_blank(&name)); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/template.rs:52:9 | 52 | try!(self.render(&mut output, data)); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/template.rs:59:9 | 59 | try!(self.render_data(&mut output, data)); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/template.rs:81:13 | 81 | try!(self.render_token(wr, stack, token)); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/template.rs:114:9 | 114 | try!(wr.write_all(value.as_bytes())); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/template.rs:126:13 | 126 | try!(wr.write_all(self.indent.as_bytes())); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/template.rs:159:17 | 159 | try!(self.write_tracking_newlines(wr, line)); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/template.rs:156:21 | 156 | try!(self.write_indent(wr)); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/template.rs:169:9 | 169 | try!(self.render_utag(&mut bytes, stack, path)); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/template.rs:174:21 | 174 | try!(wr.write_all(b"<")); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/template.rs:177:21 | 177 | try!(wr.write_all(b">")); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/template.rs:180:21 | 180 | try!(wr.write_all(b"&")); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/template.rs:183:21 | 183 | try!(wr.write_all(b""")); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/template.rs:186:21 | 186 | try!(wr.write_all(b"'")); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/template.rs:189:21 | 189 | try!(wr.write_all(&[b])); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/template.rs:201:17 | 201 | try!(self.write_indent(wr)); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/template.rs:213:25 | 213 | try!(self.write_tracking_newlines(wr, value)); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/template.rs:220:25 | 220 | try!(self.render(wr, stack, &tokens)); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/template.rs:219:38 | 219 | let tokens = try!(self.render_fun("", "{{", "}}", f)); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/template.rs:267:25 | 267 | try!(self.render(wr, stack, children)); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/template.rs:273:29 | 273 | ... try!(self.render(wr, stack, children)); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/template.rs:280:29 | 280 | ... try!(self.render(wr, stack, children)); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/template.rs:286:25 | 286 | try!(self.render(wr, stack, children)); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/template.rs:292:25 | 292 | try!(self.render(wr, stack, &tokens)); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/template.rs:291:38 | 291 | let tokens = try!(self.render_fun(src, otag, ctag, f)); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/template.rs:312:17 | 312 | try!(self.render(wr, stack, &tokens)); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/template.rs:334:27 | 334 | let (tokens, _) = try!(compiler.compile()); | ^^^ warning: trait objects without an explicit `dyn` are deprecated --> src/data.rs:11:21 | 11 | Fun(RefCell String + Send>>), | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = 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` | 11 | Fun(RefCell String + Send>>), | +++ warning: trait objects without an explicit `dyn` are deprecated --> src/template.rs:324:31 | 324 | f: &mut Box String + Send + 'static>) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 324 | f: &mut Box String + Send + 'static>) | +++ warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() --> src/encoder.rs:39:14 | 39 | self.description().fmt(f) | ^^^^^^^^^^^ warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() --> src/error.rs:29:14 | 29 | self.description().fmt(f) | ^^^^^^^^^^^ warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() --> src/error.rs:38:39 | 38 | Error::Io(ref err) => err.description(), | ^^^^^^^^^^^ warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() --> src/error.rs:39:43 | 39 | Error::Parser(ref err) => err.description(), | ^^^^^^^^^^^ warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() --> src/error.rs:40:44 | 40 | Error::Encoder(ref err) => err.description(), | ^^^^^^^^^^^ warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() --> src/parser.rs:67:39 | 67 | _ => write!(f, "{}", self.description()), | ^^^^^^^^^^^ warning: `mustache` (lib) generated 55 warnings Finished release [optimized] target(s) in 4m 13s + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.Yt9MQp + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/rust-mustache-0.9.0-8.fc37.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/rust-mustache-0.9.0-8.fc37.riscv64 ++ dirname /builddir/build/BUILDROOT/rust-mustache-0.9.0-8.fc37.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/rust-mustache-0.9.0-8.fc37.riscv64 + 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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -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/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd mustache-0.9.0 + set -eu + /usr/bin/cargo-inspector --target-kinds Cargo.toml ++ printf 'lib\nrlib\nproc-macro' + grep -q -F -x 'lib rlib proc-macro' ++ /usr/bin/cargo-inspector --name Cargo.toml + CRATE_NAME=mustache ++ /usr/bin/cargo-inspector --version Cargo.toml + CRATE_VERSION=0.9.0 + REG_DIR=/builddir/build/BUILDROOT/rust-mustache-0.9.0-8.fc37.riscv64/usr/share/cargo/registry/mustache-0.9.0 + /usr/bin/mkdir -p /builddir/build/BUILDROOT/rust-mustache-0.9.0-8.fc37.riscv64/usr/share/cargo/registry/mustache-0.9.0 + 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 -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --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-mustache-0.9.0-8.fc37.riscv64/usr/share/cargo/registry/mustache-0.9.0 warning: No (git) VCS found for `/builddir/build/BUILD/mustache-0.9.0` + /usr/bin/mv Cargo.toml.deps Cargo.toml + /usr/bin/cp -a Cargo.toml /builddir/build/BUILDROOT/rust-mustache-0.9.0-8.fc37.riscv64/usr/share/cargo/registry/mustache-0.9.0/Cargo.toml + /usr/bin/rm -f /builddir/build/BUILDROOT/rust-mustache-0.9.0-8.fc37.riscv64/usr/share/cargo/registry/mustache-0.9.0/Cargo.toml.deps + echo '{"files":{},"package":""}' + /usr/bin/cargo-inspector --target-kinds Cargo.toml + grep -q -F -x bin + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/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/redhat/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/check-rpaths + /usr/lib/rpm/redhat/brp-mangle-shebangs + /usr/lib/rpm/brp-remove-la-files + /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 + /usr/lib/rpm/redhat/brp-python-hardlink Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.6rhV8s + 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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -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/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd mustache-0.9.0 + /usr/bin/env CARGO_HOME=.cargo RUSTC_BOOTSTRAP=1 'RUSTFLAGS=-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' /usr/bin/cargo test -j8 -Z avoid-dev-deps --release --no-fail-fast warning: An explicit [[test]] section is specified in Cargo.toml which currently disables Cargo from automatically inferring other test targets. This inference behavior will change in the Rust 2018 edition and the following files will be included as a test target: * /builddir/build/BUILD/mustache-0.9.0/tests/builder.rs * /builddir/build/BUILD/mustache-0.9.0/tests/template.rs * /builddir/build/BUILD/mustache-0.9.0/tests/macros.rs This is likely to break cargo build or cargo test as these files may not be ready to be compiled as a test target today. You can future-proof yourself and disable this warning by adding `autotests = false` to your [package] section. You may also move the files to a location where Cargo would not automatically infer them to be a target, such as in subfolders. For more information on this warning you can consult https://github.com/rust-lang/cargo/issues/5330 Compiling libc v0.2.139 Compiling proc-macro2 v1.0.49 Compiling unicode-ident v1.0.4 Compiling quote v1.0.23 Compiling syn v1.0.107 Fresh cfg-if v1.0.0 Running `/usr/bin/rustc --crate-name build_script_build --edition=2018 /usr/share/cargo/registry/proc-macro2-1.0.49/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="proc-macro"' -C metadata=0fc084805eccec74 -C extra-filename=-0fc084805eccec74 --out-dir /builddir/build/BUILD/mustache-0.9.0/target/release/build/proc-macro2-0fc084805eccec74 -L dependency=/builddir/build/BUILD/mustache-0.9.0/target/release/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn` Running `/usr/bin/rustc --crate-name build_script_build /usr/share/cargo/registry/libc-0.2.139/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=ef3580f673315968 -C extra-filename=-ef3580f673315968 --out-dir /builddir/build/BUILD/mustache-0.9.0/target/release/build/libc-ef3580f673315968 -L dependency=/builddir/build/BUILD/mustache-0.9.0/target/release/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn` Running `/usr/bin/rustc --crate-name unicode_ident --edition=2018 /usr/share/cargo/registry/unicode-ident-1.0.4/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=8c35e6461c0aaa00 -C extra-filename=-8c35e6461c0aaa00 --out-dir /builddir/build/BUILD/mustache-0.9.0/target/release/deps -L dependency=/builddir/build/BUILD/mustache-0.9.0/target/release/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn` Running `/usr/bin/rustc --crate-name build_script_build --edition=2018 /usr/share/cargo/registry/quote-1.0.23/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="proc-macro"' -C metadata=40508f53db7ebf12 -C extra-filename=-40508f53db7ebf12 --out-dir /builddir/build/BUILD/mustache-0.9.0/target/release/build/quote-40508f53db7ebf12 -L dependency=/builddir/build/BUILD/mustache-0.9.0/target/release/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn` Running `/usr/bin/rustc --crate-name build_script_build --edition=2018 /usr/share/cargo/registry/syn-1.0.107/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="clone-impls"' --cfg 'feature="default"' --cfg 'feature="derive"' --cfg 'feature="parsing"' --cfg 'feature="printing"' --cfg 'feature="proc-macro"' --cfg 'feature="quote"' -C metadata=2b1530d80a004367 -C extra-filename=-2b1530d80a004367 --out-dir /builddir/build/BUILD/mustache-0.9.0/target/release/build/syn-2b1530d80a004367 -L dependency=/builddir/build/BUILD/mustache-0.9.0/target/release/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn` Compiling serde_derive v1.0.150 Fresh serde v1.0.150 Fresh log v0.4.17 Running `/usr/bin/rustc --crate-name build_script_build /usr/share/cargo/registry/serde_derive-1.0.150/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"' -C metadata=db66ba29bb20796d -C extra-filename=-db66ba29bb20796d --out-dir /builddir/build/BUILD/mustache-0.9.0/target/release/build/serde_derive-db66ba29bb20796d -L dependency=/builddir/build/BUILD/mustache-0.9.0/target/release/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn` Compiling serde_json v1.0.91 Fresh log v0.3.9 Running `/usr/bin/rustc --crate-name build_script_build --edition=2018 /usr/share/cargo/registry/serde_json-1.0.91/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=36dda90d2facad0b -C extra-filename=-36dda90d2facad0b --out-dir /builddir/build/BUILD/mustache-0.9.0/target/release/build/serde_json-36dda90d2facad0b -L dependency=/builddir/build/BUILD/mustache-0.9.0/target/release/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn` Compiling itoa v1.0.5 Running `/usr/bin/rustc --crate-name itoa --edition=2018 /usr/share/cargo/registry/itoa-1.0.5/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 metadata=cb8a08c6e7fee2a3 -C extra-filename=-cb8a08c6e7fee2a3 --out-dir /builddir/build/BUILD/mustache-0.9.0/target/release/deps -L dependency=/builddir/build/BUILD/mustache-0.9.0/target/release/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn` Compiling ryu v1.0.12 Running `/usr/bin/rustc --crate-name ryu --edition=2018 /usr/share/cargo/registry/ryu-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 opt-level=3 -C embed-bitcode=no -C metadata=a6269389acaeab8b -C extra-filename=-a6269389acaeab8b --out-dir /builddir/build/BUILD/mustache-0.9.0/target/release/deps -L dependency=/builddir/build/BUILD/mustache-0.9.0/target/release/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn` warning: use of deprecated macro `try`: use the `?` operator instead --> src/compiler.rs:54:13 | 54 | try!(parser.parse()) | ^^^ | = note: `#[warn(deprecated)]` on by default warning: use of deprecated macro `try`: use the `?` operator instead --> src/compiler.rs:69:25 | 69 | try!(file.read_to_string(&mut string)); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/compiler.rs:79:53 | 79 | let (tokens, subpartials) = try!(compiler.compile()); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/context.rs:40:34 | 40 | let (tokens, partials) = try!(compiler.compile()); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/context.rs:53:9 | 53 | try!(file.read_to_end(&mut s)); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/context.rs:52:24 | 52 | let mut file = try!(File::open(&path)); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/encoder.rs:331:23 | 331 | self.vec.push(try!(to_data(&value))); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/encoder.rs:369:30 | 369 | self.map.insert(key, try!(to_data(&value))); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/parser.rs:216:29 | 216 | ... try!(self.add_tag()); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/parser.rs:227:29 | 227 | ... try!(self.add_tag()); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/parser.rs:365:9 | 365 | try!(deny_blank(&content)); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/parser.rs:375:28 | 375 | let name = try!(get_name_or_implicit(name)); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/parser.rs:381:32 | 381 | let name = try!(get_name_or_implicit(name)); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/parser.rs:390:28 | 390 | let name = try!(get_name_or_implicit(&content[1..len])); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/parser.rs:396:28 | 396 | let name = try!(get_name_or_implicit(&content[1..len])); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/parser.rs:402:28 | 402 | let name = try!(get_name_or_implicit(&content[1..len])); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/parser.rs:462:17 | 462 | try!(self.add_partial(&content, tag)); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/parser.rs:468:29 | 468 | let s = try!(deny_blank(&content[1..len - 1])); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/parser.rs:495:28 | 495 | let name = try!(get_name_or_implicit(&content)); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/parser.rs:533:20 | 533 | let name = try!(deny_blank(name)); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/parser.rs:563:16 | 563 | let name = try!(deny_blank(&name)); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/template.rs:52:9 | 52 | try!(self.render(&mut output, data)); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/template.rs:59:9 | 59 | try!(self.render_data(&mut output, data)); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/template.rs:81:13 | 81 | try!(self.render_token(wr, stack, token)); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/template.rs:114:9 | 114 | try!(wr.write_all(value.as_bytes())); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/template.rs:126:13 | 126 | try!(wr.write_all(self.indent.as_bytes())); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/template.rs:159:17 | 159 | try!(self.write_tracking_newlines(wr, line)); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/template.rs:156:21 | 156 | try!(self.write_indent(wr)); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/template.rs:169:9 | 169 | try!(self.render_utag(&mut bytes, stack, path)); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/template.rs:174:21 | 174 | try!(wr.write_all(b"<")); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/template.rs:177:21 | 177 | try!(wr.write_all(b">")); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/template.rs:180:21 | 180 | try!(wr.write_all(b"&")); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/template.rs:183:21 | 183 | try!(wr.write_all(b""")); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/template.rs:186:21 | 186 | try!(wr.write_all(b"'")); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/template.rs:189:21 | 189 | try!(wr.write_all(&[b])); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/template.rs:201:17 | 201 | try!(self.write_indent(wr)); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/template.rs:213:25 | 213 | try!(self.write_tracking_newlines(wr, value)); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/template.rs:220:25 | 220 | try!(self.render(wr, stack, &tokens)); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/template.rs:219:38 | 219 | let tokens = try!(self.render_fun("", "{{", "}}", f)); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/template.rs:267:25 | 267 | try!(self.render(wr, stack, children)); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/template.rs:273:29 | 273 | ... try!(self.render(wr, stack, children)); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/template.rs:280:29 | 280 | ... try!(self.render(wr, stack, children)); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/template.rs:286:25 | 286 | try!(self.render(wr, stack, children)); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/template.rs:292:25 | 292 | try!(self.render(wr, stack, &tokens)); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/template.rs:291:38 | 291 | let tokens = try!(self.render_fun(src, otag, ctag, f)); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/template.rs:312:17 | 312 | try!(self.render(wr, stack, &tokens)); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/template.rs:334:27 | 334 | let (tokens, _) = try!(compiler.compile()); | ^^^ warning: trait objects without an explicit `dyn` are deprecated --> src/data.rs:11:21 | 11 | Fun(RefCell String + Send>>), | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = 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` | 11 | Fun(RefCell String + Send>>), | +++ warning: trait objects without an explicit `dyn` are deprecated --> src/template.rs:324:31 | 324 | f: &mut Box String + Send + 'static>) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 324 | f: &mut Box String + Send + 'static>) | +++ warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() --> src/encoder.rs:39:14 | 39 | self.description().fmt(f) | ^^^^^^^^^^^ warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() --> src/error.rs:29:14 | 29 | self.description().fmt(f) | ^^^^^^^^^^^ warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() --> src/error.rs:38:39 | 38 | Error::Io(ref err) => err.description(), | ^^^^^^^^^^^ warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() --> src/error.rs:39:43 | 39 | Error::Parser(ref err) => err.description(), | ^^^^^^^^^^^ warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() --> src/error.rs:40:44 | 40 | Error::Encoder(ref err) => err.description(), | ^^^^^^^^^^^ warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() --> src/parser.rs:67:39 | 67 | _ => write!(f, "{}", self.description()), | ^^^^^^^^^^^ warning: `mustache` (lib) generated 55 warnings Running `/builddir/build/BUILD/mustache-0.9.0/target/release/build/quote-40508f53db7ebf12/build-script-build` Running `/builddir/build/BUILD/mustache-0.9.0/target/release/build/serde_json-36dda90d2facad0b/build-script-build` Running `/builddir/build/BUILD/mustache-0.9.0/target/release/build/serde_derive-db66ba29bb20796d/build-script-build` Running `/usr/bin/rustc --crate-name serde_json --edition=2018 /usr/share/cargo/registry/serde_json-1.0.91/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 --cfg 'feature="default"' --cfg 'feature="std"' -C metadata=be1059e533769e7f -C extra-filename=-be1059e533769e7f --out-dir /builddir/build/BUILD/mustache-0.9.0/target/release/deps -L dependency=/builddir/build/BUILD/mustache-0.9.0/target/release/deps --extern itoa=/builddir/build/BUILD/mustache-0.9.0/target/release/deps/libitoa-cb8a08c6e7fee2a3.rmeta --extern ryu=/builddir/build/BUILD/mustache-0.9.0/target/release/deps/libryu-a6269389acaeab8b.rmeta --extern serde=/builddir/build/BUILD/mustache-0.9.0/target/release/deps/libserde-9fe59faf27ff54ea.rmeta --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn --cfg limb_width_32` Running `/builddir/build/BUILD/mustache-0.9.0/target/release/build/libc-ef3580f673315968/build-script-build` Running `/usr/bin/rustc --crate-name libc /usr/share/cargo/registry/libc-0.2.139/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 --cfg 'feature="default"' --cfg 'feature="std"' -C metadata=aec68b8772c3bf51 -C extra-filename=-aec68b8772c3bf51 --out-dir /builddir/build/BUILD/mustache-0.9.0/target/release/deps -L dependency=/builddir/build/BUILD/mustache-0.9.0/target/release/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn --cfg freebsd11 --cfg libc_priv_mod_use --cfg libc_union --cfg libc_const_size_of --cfg libc_align --cfg libc_int128 --cfg libc_core_cvoid --cfg libc_packedN --cfg libc_cfg_target_vendor --cfg libc_non_exhaustive --cfg libc_ptr_addr_of --cfg libc_underscore_const_names --cfg libc_const_extern_fn` Running `/builddir/build/BUILD/mustache-0.9.0/target/release/build/syn-2b1530d80a004367/build-script-build` Running `/builddir/build/BUILD/mustache-0.9.0/target/release/build/proc-macro2-0fc084805eccec74/build-script-build` Running `/usr/bin/rustc --crate-name proc_macro2 --edition=2018 /usr/share/cargo/registry/proc-macro2-1.0.49/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="default"' --cfg 'feature="proc-macro"' -C metadata=cbdadcf8c4fe06cb -C extra-filename=-cbdadcf8c4fe06cb --out-dir /builddir/build/BUILD/mustache-0.9.0/target/release/deps -L dependency=/builddir/build/BUILD/mustache-0.9.0/target/release/deps --extern unicode_ident=/builddir/build/BUILD/mustache-0.9.0/target/release/deps/libunicode_ident-8c35e6461c0aaa00.rmeta --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn --cfg use_proc_macro --cfg wrap_proc_macro` Running `/usr/bin/rustc --crate-name quote --edition=2018 /usr/share/cargo/registry/quote-1.0.23/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="default"' --cfg 'feature="proc-macro"' -C metadata=d690e35e83081169 -C extra-filename=-d690e35e83081169 --out-dir /builddir/build/BUILD/mustache-0.9.0/target/release/deps -L dependency=/builddir/build/BUILD/mustache-0.9.0/target/release/deps --extern proc_macro2=/builddir/build/BUILD/mustache-0.9.0/target/release/deps/libproc_macro2-cbdadcf8c4fe06cb.rmeta --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn` Compiling rand v0.4.6 Compiling remove_dir_all v0.7.0 Running `/usr/bin/rustc --crate-name rand /usr/share/cargo/registry/rand-0.4.6/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 --cfg 'feature="default"' --cfg 'feature="libc"' --cfg 'feature="std"' -C metadata=a0793007a6a7c013 -C extra-filename=-a0793007a6a7c013 --out-dir /builddir/build/BUILD/mustache-0.9.0/target/release/deps -L dependency=/builddir/build/BUILD/mustache-0.9.0/target/release/deps --extern libc=/builddir/build/BUILD/mustache-0.9.0/target/release/deps/liblibc-aec68b8772c3bf51.rmeta --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn` Running `/usr/bin/rustc --crate-name remove_dir_all --edition=2018 /usr/share/cargo/registry/remove_dir_all-0.7.0/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 metadata=e5e9de8733753675 -C extra-filename=-e5e9de8733753675 --out-dir /builddir/build/BUILD/mustache-0.9.0/target/release/deps -L dependency=/builddir/build/BUILD/mustache-0.9.0/target/release/deps --extern libc=/builddir/build/BUILD/mustache-0.9.0/target/release/deps/liblibc-aec68b8772c3bf51.rmeta --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn` Running `/usr/bin/rustc --crate-name syn --edition=2018 /usr/share/cargo/registry/syn-1.0.107/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="default"' --cfg 'feature="derive"' --cfg 'feature="parsing"' --cfg 'feature="printing"' --cfg 'feature="proc-macro"' --cfg 'feature="quote"' -C metadata=622d249410a4a43b -C extra-filename=-622d249410a4a43b --out-dir /builddir/build/BUILD/mustache-0.9.0/target/release/deps -L dependency=/builddir/build/BUILD/mustache-0.9.0/target/release/deps --extern proc_macro2=/builddir/build/BUILD/mustache-0.9.0/target/release/deps/libproc_macro2-cbdadcf8c4fe06cb.rmeta --extern quote=/builddir/build/BUILD/mustache-0.9.0/target/release/deps/libquote-d690e35e83081169.rmeta --extern unicode_ident=/builddir/build/BUILD/mustache-0.9.0/target/release/deps/libunicode_ident-8c35e6461c0aaa00.rmeta --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn --cfg syn_disable_nightly_tests` Compiling tempdir v0.3.7 Running `/usr/bin/rustc --crate-name tempdir /usr/share/cargo/registry/tempdir-0.3.7/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 metadata=70f8970ed75d29f1 -C extra-filename=-70f8970ed75d29f1 --out-dir /builddir/build/BUILD/mustache-0.9.0/target/release/deps -L dependency=/builddir/build/BUILD/mustache-0.9.0/target/release/deps --extern rand=/builddir/build/BUILD/mustache-0.9.0/target/release/deps/librand-a0793007a6a7c013.rmeta --extern remove_dir_all=/builddir/build/BUILD/mustache-0.9.0/target/release/deps/libremove_dir_all-e5e9de8733753675.rmeta --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn` Running `/usr/bin/rustc --crate-name serde_derive /usr/share/cargo/registry/serde_derive-1.0.150/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=bc53d3a6cf12580b -C extra-filename=-bc53d3a6cf12580b --out-dir /builddir/build/BUILD/mustache-0.9.0/target/release/deps -L dependency=/builddir/build/BUILD/mustache-0.9.0/target/release/deps --extern proc_macro2=/builddir/build/BUILD/mustache-0.9.0/target/release/deps/libproc_macro2-cbdadcf8c4fe06cb.rlib --extern quote=/builddir/build/BUILD/mustache-0.9.0/target/release/deps/libquote-d690e35e83081169.rlib --extern syn=/builddir/build/BUILD/mustache-0.9.0/target/release/deps/libsyn-622d249410a4a43b.rlib --extern proc_macro --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn` Compiling mustache v0.9.0 (/builddir/build/BUILD/mustache-0.9.0) Running `/usr/bin/rustc --crate-name mustache 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 --test -C metadata=4f7902d02c8e5680 -C extra-filename=-4f7902d02c8e5680 --out-dir /builddir/build/BUILD/mustache-0.9.0/target/release/deps -L dependency=/builddir/build/BUILD/mustache-0.9.0/target/release/deps --extern log=/builddir/build/BUILD/mustache-0.9.0/target/release/deps/liblog-ea10da747ece018f.rlib --extern serde=/builddir/build/BUILD/mustache-0.9.0/target/release/deps/libserde-9fe59faf27ff54ea.rlib --extern serde_derive=/builddir/build/BUILD/mustache-0.9.0/target/release/deps/libserde_derive-bc53d3a6cf12580b.so --extern serde_json=/builddir/build/BUILD/mustache-0.9.0/target/release/deps/libserde_json-be1059e533769e7f.rlib --extern tempdir=/builddir/build/BUILD/mustache-0.9.0/target/release/deps/libtempdir-70f8970ed75d29f1.rlib -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn` Running `/usr/bin/rustc --crate-name vector_iteration examples/vector_iteration.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 metadata=a95cc30190126f99 -C extra-filename=-a95cc30190126f99 --out-dir /builddir/build/BUILD/mustache-0.9.0/target/release/examples -L dependency=/builddir/build/BUILD/mustache-0.9.0/target/release/deps --extern log=/builddir/build/BUILD/mustache-0.9.0/target/release/deps/liblog-ea10da747ece018f.rlib --extern mustache=/builddir/build/BUILD/mustache-0.9.0/target/release/deps/libmustache-2444fb502d12361b.rlib --extern serde=/builddir/build/BUILD/mustache-0.9.0/target/release/deps/libserde-9fe59faf27ff54ea.rlib --extern serde_derive=/builddir/build/BUILD/mustache-0.9.0/target/release/deps/libserde_derive-bc53d3a6cf12580b.so --extern serde_json=/builddir/build/BUILD/mustache-0.9.0/target/release/deps/libserde_json-be1059e533769e7f.rlib --extern tempdir=/builddir/build/BUILD/mustache-0.9.0/target/release/deps/libtempdir-70f8970ed75d29f1.rlib -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn` Running `/usr/bin/rustc --crate-name test tests/test.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --emit=dep-info,link -C opt-level=3 -C embed-bitcode=no --test -C metadata=6b15180bf3002b07 -C extra-filename=-6b15180bf3002b07 --out-dir /builddir/build/BUILD/mustache-0.9.0/target/release/deps -L dependency=/builddir/build/BUILD/mustache-0.9.0/target/release/deps --extern log=/builddir/build/BUILD/mustache-0.9.0/target/release/deps/liblog-ea10da747ece018f.rlib --extern mustache=/builddir/build/BUILD/mustache-0.9.0/target/release/deps/libmustache-2444fb502d12361b.rlib --extern serde=/builddir/build/BUILD/mustache-0.9.0/target/release/deps/libserde-9fe59faf27ff54ea.rlib --extern serde_derive=/builddir/build/BUILD/mustache-0.9.0/target/release/deps/libserde_derive-bc53d3a6cf12580b.so --extern serde_json=/builddir/build/BUILD/mustache-0.9.0/target/release/deps/libserde_json-be1059e533769e7f.rlib --extern tempdir=/builddir/build/BUILD/mustache-0.9.0/target/release/deps/libtempdir-70f8970ed75d29f1.rlib -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn` warning: use of deprecated macro `try`: use the `?` operator instead --> tests/template.rs:55:5 | 55 | try!(template.render(&mut bytes, data)); | ^^^ | = note: `#[warn(deprecated)]` on by default warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() --> tests/template.rs:321:22 | 321 | assert_eq!(e.description(), "failed to write whole buffer") | ^^^^^^^^^^^ warning: `mustache` (lib test) generated 55 warnings (55 duplicates) warning: `mustache` (test "test") generated 2 warnings Finished release [optimized] target(s) in 14m 29s Running `/builddir/build/BUILD/mustache-0.9.0/target/release/deps/mustache-4f7902d02c8e5680` running 27 tests test compiler::tests::test_compile_delimiters ... ok test compiler::tests::test_compile_etags ... ok test compiler::tests::test_compile_texts ... ok test compiler::tests::test_compile_partials ... ok test compiler::tests::test_compile_utags ... ok test compiler::tests::test_compile_sections ... ok test parser::tests::bad_closing_tag ... ok test parser::tests::empty_input ... ok test parser::tests::empty_tag ... ok test parser::tests::inverted::sanity ... ok test parser::tests::inverted::unclosed_nested ... ok test parser::tests::inverted::unclosed ... ok test parser::tests::inverted::unclosed_with_path ... ok test parser::tests::inverted::unclosed_nested_with_wrong_closing_tag ... ok test parser::tests::sections::early_close ... ok test parser::tests::sections::sanity ... ok test parser::tests::sections::unclosed ... ok test parser::tests::sections::unclosed_nested ... ok test parser::tests::sections::unclosed_nested_with_wrong_closing_tag ... ok test parser::tests::sections::unclosed_with_path ... ok test parser::tests::set_delimeter::closing_tag_is_whitespace ... ok test parser::tests::set_delimeter::missing_closing_equals ... ok test parser::tests::set_delimeter::missing_closing_tag ... ok test parser::tests::set_delimeter::sanity ... ok test parser::tests::unbalanced_unescape ... ok test parser::tests::unclosed_tag ... ok test parser::tests::whitespace_only_tag ... ok test result: ok. 27 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.10s Running `/builddir/build/BUILD/mustache-0.9.0/target/release/deps/test-6b15180bf3002b07` running 37 tests test builder::test_empty_builders ... ok test builder::test_builders ... ok test builder::test_map_fn_builder ... ok test builder::test_vec_fn_builder ... ok test template::context_search::from_base ... ok test template::context_search::render_nothing_when_not_found ... ok test template::test_implicit_inverted_section ... ok test template::context_search::from_mid_stack ... ok test template::test_implicit_section ... ok test template::test_nested_implicit_render ... ok test template::test_render_etags ... ok test template::test_render_data_to_string ... ok test template::test_render_option ... ok test template::test_render_inverted_sections ... ok test template::test_render_option_nested ... ok test template::test_render_option_complex ... ok test template::test_render_option_sections_implicit ... ok test template::test_render_option_sections_implicit_ampersand ... ok test template::test_render_option_sections_implicit_escaped ... ok test template::test_render_option_sections_implicit_unescaped ... ok test template::test_render_option_sections_implicit_escaped_alternative_delimeters ... ok test template::test_render_option_sections_implicit_unescaped_alternative_delimeters ... ok test template::test_render_option_sections_implicit_ampersand_alternative_delimeters ... ok test template::test_render_texts ... ok test template::test_render_sections ... ok test template::test_render_to_string ... ok test template::test_render_utags ... ok test template::test_render_partial_dot_filename ... ok test template::test_render_partial ... ok test template::test_write_failure ... ok test template::test_spec_comments ... ok test template::test_spec_delimiters ... ok test template::test_spec_partials ... ok test template::test_spec_lambdas ... ok test template::test_spec_inverted ... ok test template::test_spec_sections ... ok test template::test_spec_interpolation ... ok test result: ok. 37 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.43s Doc-tests mustache Running `/usr/bin/rustdoc --crate-type lib --crate-name mustache --test /builddir/build/BUILD/mustache-0.9.0/src/lib.rs -L dependency=/builddir/build/BUILD/mustache-0.9.0/target/release/deps -L dependency=/builddir/build/BUILD/mustache-0.9.0/target/release/deps --extern log=/builddir/build/BUILD/mustache-0.9.0/target/release/deps/liblog-ea10da747ece018f.rlib --extern mustache=/builddir/build/BUILD/mustache-0.9.0/target/release/deps/libmustache-2444fb502d12361b.rlib --extern serde=/builddir/build/BUILD/mustache-0.9.0/target/release/deps/libserde-9fe59faf27ff54ea.rlib --extern serde_derive=/builddir/build/BUILD/mustache-0.9.0/target/release/deps/libserde_derive-bc53d3a6cf12580b.so --extern serde_json=/builddir/build/BUILD/mustache-0.9.0/target/release/deps/libserde_json-be1059e533769e7f.rlib --extern tempdir=/builddir/build/BUILD/mustache-0.9.0/target/release/deps/libtempdir-70f8970ed75d29f1.rlib -C embed-bitcode=no --error-format human` running 12 tests test src/builder.rs - builder::VecBuilder::push_bool (line 207) ... ok test src/builder.rs - builder::VecBuilder::push (line 174) ... ok test src/builder.rs - builder::MapBuilder::insert_bool (line 64) ... ok test src/builder.rs - builder::MapBuilder::insert_fn (line 134) ... ok test src/builder.rs - builder::MapBuilder::insert_str (line 45) ... ok test src/builder.rs - builder::MapBuilder::insert_map (line 105) ... ok test src/builder.rs - builder::MapBuilder::insert (line 24) ... ok test src/builder.rs - builder::MapBuilder::insert_vec (line 82) ... ok test src/builder.rs - builder::VecBuilder::push_fn (line 272) ... ok test src/builder.rs - builder::VecBuilder::push_vec (line 223) ... ok test src/builder.rs - builder::VecBuilder::push_str (line 191) ... ok test src/builder.rs - builder::VecBuilder::push_map (line 245) ... ok test result: ok. 12 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 18.59s + RPM_EC=0 ++ jobs -p + exit 0 Processing files: rust-mustache-devel-0.9.0-8.fc37.noarch Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.SvIcHp + umask 022 + cd /builddir/build/BUILD + cd mustache-0.9.0 + DOCDIR=/builddir/build/BUILDROOT/rust-mustache-0.9.0-8.fc37.riscv64/usr/share/doc/rust-mustache-devel + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/rust-mustache-0.9.0-8.fc37.riscv64/usr/share/doc/rust-mustache-devel + cp -pr README.md /builddir/build/BUILDROOT/rust-mustache-0.9.0-8.fc37.riscv64/usr/share/doc/rust-mustache-devel + RPM_EC=0 ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.6sVbmH + umask 022 + cd /builddir/build/BUILD + cd mustache-0.9.0 + LICENSEDIR=/builddir/build/BUILDROOT/rust-mustache-0.9.0-8.fc37.riscv64/usr/share/licenses/rust-mustache-devel + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/rust-mustache-0.9.0-8.fc37.riscv64/usr/share/licenses/rust-mustache-devel + cp -pr LICENSE /builddir/build/BUILDROOT/rust-mustache-0.9.0-8.fc37.riscv64/usr/share/licenses/rust-mustache-devel + RPM_EC=0 ++ jobs -p + exit 0 Provides: crate(mustache) = 0.9.0 rust-mustache-devel = 0.9.0-8.fc37 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: (crate(log/default) >= 0.3.5 with crate(log/default) < 0.4.0~) (crate(serde/default) >= 1.0.0 with crate(serde/default) < 2.0.0~) cargo Processing files: rust-mustache+default-devel-0.9.0-8.fc37.noarch Provides: crate(mustache/default) = 0.9.0 rust-mustache+default-devel = 0.9.0-8.fc37 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: cargo crate(mustache) = 0.9.0 Processing files: rust-mustache+unstable-devel-0.9.0-8.fc37.noarch Provides: crate(mustache/unstable) = 0.9.0 rust-mustache+unstable-devel = 0.9.0-8.fc37 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: cargo crate(mustache) = 0.9.0 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/rust-mustache-0.9.0-8.fc37.riscv64 Wrote: /builddir/build/SRPMS/rust-mustache-0.9.0-8.fc37.src.rpm Wrote: /builddir/build/RPMS/rust-mustache+default-devel-0.9.0-8.fc37.noarch.rpm Wrote: /builddir/build/RPMS/rust-mustache+unstable-devel-0.9.0-8.fc37.noarch.rpm Wrote: /builddir/build/RPMS/rust-mustache-devel-0.9.0-8.fc37.noarch.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.LVTrdm + umask 022 + cd /builddir/build/BUILD + cd mustache-0.9.0 + /usr/bin/rm -rf /builddir/build/BUILDROOT/rust-mustache-0.9.0-8.fc37.riscv64 + RPM_EC=0 ++ jobs -p + exit 0 Executing(rmbuild): /bin/sh -e /var/tmp/rpm-tmp.X4tjei + umask 022 + cd /builddir/build/BUILD + rm -rf mustache-0.9.0 mustache-0.9.0.gemspec + RPM_EC=0 ++ jobs -p + exit 0 Child return code was: 0