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-xml-rs.spec'], chrootPath='/var/lib/mock/f37-build-side-31-rust-devel-126068-7170/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-xml-rs.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=1674172800 Wrote: /builddir/build/SRPMS/rust-xml-rs-0.8.4-1.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-xml-rs.spec'], chrootPath='/var/lib/mock/f37-build-side-31-rust-devel-126068-7170/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-xml-rs.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=1674172800 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.IoyqVM + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf xml-rs-0.8.4 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/xml-rs-0.8.4.crate + STATUS=0 + '[' 0 -ne 0 ']' + cd xml-rs-0.8.4 + /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.DpwhBe + umask 022 + cd /builddir/build/BUILD + cd xml-rs-0.8.4 + /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-xml-rs-0.8.4-1.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-xml-rs.spec'], chrootPath='/var/lib/mock/f37-build-side-31-rust-devel-126068-7170/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-xml-rs.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=1674172800 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.cuw5GZ + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf xml-rs-0.8.4 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/xml-rs-0.8.4.crate + STATUS=0 + '[' 0 -ne 0 ']' + cd xml-rs-0.8.4 + /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.Cqor03 + umask 022 + cd /builddir/build/BUILD + cd xml-rs-0.8.4 + /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-xml-rs-0.8.4-1.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-xml-rs.spec'], chrootPath='/var/lib/mock/f37-build-side-31-rust-devel-126068-7170/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-xml-rs.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=1674172800 Executing(%generate_buildrequires): /bin/sh -e /var/tmp/rpm-tmp.Gea67w + umask 022 + cd /builddir/build/BUILD + cd xml-rs-0.8.4 + /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.PTeqBG + 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 xml-rs-0.8.4 + /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 Compiling xml-rs v0.8.4 (/builddir/build/BUILD/xml-rs-0.8.4) Running `/usr/bin/rustc --crate-name xml 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=1bab834685ff2a58 -C extra-filename=-1bab834685ff2a58 --out-dir /builddir/build/BUILD/xml-rs-0.8.4/target/release/deps -L dependency=/builddir/build/BUILD/xml-rs-0.8.4/target/release/deps -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: `...` range patterns are deprecated --> src/common.rs:120:18 | 120 | ':' | 'A'...'Z' | '_' | '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 = note: `#[warn(ellipsis_inclusive_range_patterns)]` on by default warning: `...` range patterns are deprecated --> src/common.rs:120:36 | 120 | ':' | 'A'...'Z' | '_' | '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/common.rs:121:17 | 121 | '\u{C0}'...'\u{D6}' | '\u{D8}'...'\u{F6}' | '\u{F8}'...'\u{2FF}' | | ^^^ 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/common.rs:121:39 | 121 | '\u{C0}'...'\u{D6}' | '\u{D8}'...'\u{F6}' | '\u{F8}'...'\u{2FF}' | | ^^^ 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/common.rs:121:61 | 121 | '\u{C0}'...'\u{D6}' | '\u{D8}'...'\u{F6}' | '\u{F8}'...'\u{2FF}' | | ^^^ 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/common.rs:122:18 | 122 | '\u{370}'...'\u{37D}' | '\u{37F}'...'\u{1FFF}' | | ^^^ 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/common.rs:122:42 | 122 | '\u{370}'...'\u{37D}' | '\u{37F}'...'\u{1FFF}' | | ^^^ 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/common.rs:123:19 | 123 | '\u{200C}'...'\u{200D}' | '\u{2070}'...'\u{218F}' | | ^^^ 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/common.rs:123:45 | 123 | '\u{200C}'...'\u{200D}' | '\u{2070}'...'\u{218F}' | | ^^^ 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/common.rs:124:19 | 124 | '\u{2C00}'...'\u{2FEF}' | '\u{3001}'...'\u{D7FF}' | | ^^^ 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/common.rs:124:45 | 124 | '\u{2C00}'...'\u{2FEF}' | '\u{3001}'...'\u{D7FF}' | | ^^^ 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/common.rs:125:19 | 125 | '\u{F900}'...'\u{FDCF}' | '\u{FDF0}'...'\u{FFFD}' | | ^^^ 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/common.rs:125:45 | 125 | '\u{F900}'...'\u{FDCF}' | '\u{FDF0}'...'\u{FFFD}' | | ^^^ 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/common.rs:126:20 | 126 | '\u{10000}'...'\u{EFFFF}' => true, | ^^^ 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/common.rs:138:24 | 138 | '-' | '.' | '0'...'9' | '\u{B7}' | | ^^^ 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/common.rs:139:18 | 139 | '\u{300}'...'\u{36F}' | '\u{203F}'...'\u{2040}' => true, | ^^^ 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/common.rs:139:43 | 139 | '\u{300}'...'\u{36F}' | '\u{203F}'...'\u{2040}' => true, | ^^^ 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: use of deprecated macro `try`: use the `?` operator instead --> src/reader/lexer.rs:296:19 | 296 | match try!(self.read_next_token(c)) { | ^^^ | = note: `#[warn(deprecated)]` on by default warning: use of deprecated macro `try`: use the `?` operator instead --> src/reader/lexer.rs:307:27 | 307 | let c = match try!(util::next_char_from(b)) { | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/reader/lexer.rs:312:19 | 312 | match try!(self.read_next_token(c)) { | ^^^ warning: trait objects without an explicit `dyn` are deprecated --> src/reader/error.rs:121:26 | 121 | fn error_description(e: &error::Error) -> &str { e.description() } | ^^^^^^^^^^^^ | = 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` | 121 | fn error_description(e: &dyn error::Error) -> &str { e.description() } | +++ warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() --> src/reader/error.rs:121:52 | 121 | fn error_description(e: &error::Error) -> &str { e.description() } | ^^^^^^^^^^^ warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() --> src/writer/emitter.rs:52:39 | 52 | write!(f, "{}", other.description()), | ^^^^^^^^^^^ warning: `xml-rs` (lib) generated 23 warnings Running `/usr/bin/rustc --crate-name xml_analyze src/analyze.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=def30a6b91f0d506 -C extra-filename=-def30a6b91f0d506 --out-dir /builddir/build/BUILD/xml-rs-0.8.4/target/release/deps -L dependency=/builddir/build/BUILD/xml-rs-0.8.4/target/release/deps --extern xml=/builddir/build/BUILD/xml-rs-0.8.4/target/release/deps/libxml-1bab834685ff2a58.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: trait objects without an explicit `dyn` are deprecated --> src/analyze.rs:25:22 | 25 | let source: &mut Read = match env::args().nth(1) { | ^^^^ | = 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` | 25 | let source: &mut dyn Read = match env::args().nth(1) { | +++ warning: `xml-rs` (bin "xml-analyze") generated 1 warning Finished release [optimized] target(s) in 2m 52s + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.p50xxI + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/rust-xml-rs-0.8.4-1.fc37.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/rust-xml-rs-0.8.4-1.fc37.riscv64 ++ dirname /builddir/build/BUILDROOT/rust-xml-rs-0.8.4-1.fc37.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/rust-xml-rs-0.8.4-1.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 xml-rs-0.8.4 + 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=xml-rs ++ /usr/bin/cargo-inspector --version Cargo.toml + CRATE_VERSION=0.8.4 + REG_DIR=/builddir/build/BUILDROOT/rust-xml-rs-0.8.4-1.fc37.riscv64/usr/share/cargo/registry/xml-rs-0.8.4 + /usr/bin/mkdir -p /builddir/build/BUILDROOT/rust-xml-rs-0.8.4-1.fc37.riscv64/usr/share/cargo/registry/xml-rs-0.8.4 + 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-xml-rs-0.8.4-1.fc37.riscv64/usr/share/cargo/registry/xml-rs-0.8.4 warning: No (git) VCS found for `/builddir/build/BUILD/xml-rs-0.8.4` + /usr/bin/mv Cargo.toml.deps Cargo.toml + /usr/bin/cp -a Cargo.toml /builddir/build/BUILDROOT/rust-xml-rs-0.8.4-1.fc37.riscv64/usr/share/cargo/registry/xml-rs-0.8.4/Cargo.toml + /usr/bin/rm -f /builddir/build/BUILDROOT/rust-xml-rs-0.8.4-1.fc37.riscv64/usr/share/cargo/registry/xml-rs-0.8.4/Cargo.toml.deps + echo '{"files":{},"package":""}' + false + /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.6Nm7dD + 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 xml-rs-0.8.4 + /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 Compiling doc-comment v0.3.3 Compiling lazy_static v1.4.0 warning: `...` range patterns are deprecated --> src/common.rs:120:18 | 120 | ':' | 'A'...'Z' | '_' | '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 = note: `#[warn(ellipsis_inclusive_range_patterns)]` on by default warning: `...` range patterns are deprecated --> src/common.rs:120:36 | 120 | ':' | 'A'...'Z' | '_' | '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/common.rs:121:17 | 121 | '\u{C0}'...'\u{D6}' | '\u{D8}'...'\u{F6}' | '\u{F8}'...'\u{2FF}' | | ^^^ 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/common.rs:121:39 | 121 | '\u{C0}'...'\u{D6}' | '\u{D8}'...'\u{F6}' | '\u{F8}'...'\u{2FF}' | | ^^^ 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/common.rs:121:61 | 121 | '\u{C0}'...'\u{D6}' | '\u{D8}'...'\u{F6}' | '\u{F8}'...'\u{2FF}' | | ^^^ 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/common.rs:122:18 | 122 | '\u{370}'...'\u{37D}' | '\u{37F}'...'\u{1FFF}' | | ^^^ 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/common.rs:122:42 | 122 | '\u{370}'...'\u{37D}' | '\u{37F}'...'\u{1FFF}' | | ^^^ 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/common.rs:123:19 | 123 | '\u{200C}'...'\u{200D}' | '\u{2070}'...'\u{218F}' | | ^^^ 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/common.rs:123:45 | 123 | '\u{200C}'...'\u{200D}' | '\u{2070}'...'\u{218F}' | | ^^^ 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/common.rs:124:19 | 124 | '\u{2C00}'...'\u{2FEF}' | '\u{3001}'...'\u{D7FF}' | | ^^^ 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/common.rs:124:45 | 124 | '\u{2C00}'...'\u{2FEF}' | '\u{3001}'...'\u{D7FF}' | | ^^^ 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/common.rs:125:19 | 125 | '\u{F900}'...'\u{FDCF}' | '\u{FDF0}'...'\u{FFFD}' | | ^^^ 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/common.rs:125:45 | 125 | '\u{F900}'...'\u{FDCF}' | '\u{FDF0}'...'\u{FFFD}' | | ^^^ 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/common.rs:126:20 | 126 | '\u{10000}'...'\u{EFFFF}' => true, | ^^^ 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/common.rs:138:24 | 138 | '-' | '.' | '0'...'9' | '\u{B7}' | | ^^^ 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/common.rs:139:18 | 139 | '\u{300}'...'\u{36F}' | '\u{203F}'...'\u{2040}' => true, | ^^^ 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/common.rs:139:43 | 139 | '\u{300}'...'\u{36F}' | '\u{203F}'...'\u{2040}' => true, | ^^^ 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: use of deprecated macro `try`: use the `?` operator instead --> src/reader/lexer.rs:296:19 | 296 | match try!(self.read_next_token(c)) { | ^^^ | = note: `#[warn(deprecated)]` on by default warning: use of deprecated macro `try`: use the `?` operator instead --> src/reader/lexer.rs:307:27 | 307 | let c = match try!(util::next_char_from(b)) { | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/reader/lexer.rs:312:19 | 312 | match try!(self.read_next_token(c)) { | ^^^ warning: trait objects without an explicit `dyn` are deprecated --> src/reader/error.rs:121:26 | 121 | fn error_description(e: &error::Error) -> &str { e.description() } | ^^^^^^^^^^^^ | = 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` | 121 | fn error_description(e: &dyn error::Error) -> &str { e.description() } | +++ warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() --> src/reader/error.rs:121:52 | 121 | fn error_description(e: &error::Error) -> &str { e.description() } | ^^^^^^^^^^^ warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() --> src/writer/emitter.rs:52:39 | 52 | write!(f, "{}", other.description()), | ^^^^^^^^^^^ Running `/usr/bin/rustc --crate-name build_script_build /usr/share/cargo/registry/doc-comment-0.3.3/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 -C metadata=bd1eb8124422032c -C extra-filename=-bd1eb8124422032c --out-dir /builddir/build/BUILD/xml-rs-0.8.4/target/release/build/doc-comment-bd1eb8124422032c -L dependency=/builddir/build/BUILD/xml-rs-0.8.4/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 lazy_static /usr/share/cargo/registry/lazy_static-1.4.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=abf0522e0b145818 -C extra-filename=-abf0522e0b145818 --out-dir /builddir/build/BUILD/xml-rs-0.8.4/target/release/deps -L dependency=/builddir/build/BUILD/xml-rs-0.8.4/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: `xml-rs` (lib) generated 23 warnings warning: trait objects without an explicit `dyn` are deprecated --> src/analyze.rs:25:22 | 25 | let source: &mut Read = match env::args().nth(1) { | ^^^^ | = 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` | 25 | let source: &mut dyn Read = match env::args().nth(1) { | +++ warning: `xml-rs` (bin "xml-analyze") generated 1 warning Running `/builddir/build/BUILD/xml-rs-0.8.4/target/release/build/doc-comment-bd1eb8124422032c/build-script-build` Running `/usr/bin/rustc --crate-name doc_comment /usr/share/cargo/registry/doc-comment-0.3.3/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=66676d1dbca98bd5 -C extra-filename=-66676d1dbca98bd5 --out-dir /builddir/build/BUILD/xml-rs-0.8.4/target/release/deps -L dependency=/builddir/build/BUILD/xml-rs-0.8.4/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 xml-rs v0.8.4 (/builddir/build/BUILD/xml-rs-0.8.4) Running `/usr/bin/rustc --crate-name event_reader tests/event_reader.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=c87ba09640a3c24a -C extra-filename=-c87ba09640a3c24a --out-dir /builddir/build/BUILD/xml-rs-0.8.4/target/release/deps -L dependency=/builddir/build/BUILD/xml-rs-0.8.4/target/release/deps --extern doc_comment=/builddir/build/BUILD/xml-rs-0.8.4/target/release/deps/libdoc_comment-66676d1dbca98bd5.rlib --extern lazy_static=/builddir/build/BUILD/xml-rs-0.8.4/target/release/deps/liblazy_static-abf0522e0b145818.rlib --extern xml=/builddir/build/BUILD/xml-rs-0.8.4/target/release/deps/libxml-1bab834685ff2a58.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 event_writer tests/event_writer.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=9735c3eff3e2ac1b -C extra-filename=-9735c3eff3e2ac1b --out-dir /builddir/build/BUILD/xml-rs-0.8.4/target/release/deps -L dependency=/builddir/build/BUILD/xml-rs-0.8.4/target/release/deps --extern doc_comment=/builddir/build/BUILD/xml-rs-0.8.4/target/release/deps/libdoc_comment-66676d1dbca98bd5.rlib --extern lazy_static=/builddir/build/BUILD/xml-rs-0.8.4/target/release/deps/liblazy_static-abf0522e0b145818.rlib --extern xml=/builddir/build/BUILD/xml-rs-0.8.4/target/release/deps/libxml-1bab834685ff2a58.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 streaming tests/streaming.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=edcbf224b0069bc6 -C extra-filename=-edcbf224b0069bc6 --out-dir /builddir/build/BUILD/xml-rs-0.8.4/target/release/deps -L dependency=/builddir/build/BUILD/xml-rs-0.8.4/target/release/deps --extern doc_comment=/builddir/build/BUILD/xml-rs-0.8.4/target/release/deps/libdoc_comment-66676d1dbca98bd5.rlib --extern lazy_static=/builddir/build/BUILD/xml-rs-0.8.4/target/release/deps/liblazy_static-abf0522e0b145818.rlib --extern xml=/builddir/build/BUILD/xml-rs-0.8.4/target/release/deps/libxml-1bab834685ff2a58.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 xml 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=0f9cfa4c916c5c66 -C extra-filename=-0f9cfa4c916c5c66 --out-dir /builddir/build/BUILD/xml-rs-0.8.4/target/release/deps -L dependency=/builddir/build/BUILD/xml-rs-0.8.4/target/release/deps --extern doc_comment=/builddir/build/BUILD/xml-rs-0.8.4/target/release/deps/libdoc_comment-66676d1dbca98bd5.rlib --extern lazy_static=/builddir/build/BUILD/xml-rs-0.8.4/target/release/deps/liblazy_static-abf0522e0b145818.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 xml_analyze src/analyze.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=adf1fc1f0bc5b0dc -C extra-filename=-adf1fc1f0bc5b0dc --out-dir /builddir/build/BUILD/xml-rs-0.8.4/target/release/deps -L dependency=/builddir/build/BUILD/xml-rs-0.8.4/target/release/deps --extern doc_comment=/builddir/build/BUILD/xml-rs-0.8.4/target/release/deps/libdoc_comment-66676d1dbca98bd5.rlib --extern lazy_static=/builddir/build/BUILD/xml-rs-0.8.4/target/release/deps/liblazy_static-abf0522e0b145818.rlib --extern xml=/builddir/build/BUILD/xml-rs-0.8.4/target/release/deps/libxml-1bab834685ff2a58.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/event_reader.rs:25:9 | 25 | try!(event); | ^^^ | = note: `#[warn(deprecated)]` on by default warning: use of deprecated macro `try`: use the `?` operator instead --> tests/event_reader.rs:24:50 | 24 | for event in EventReader::new(BufReader::new(try!(File::open(name)))) { | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> tests/event_reader.rs:538:13 | 538 | try! { write!(f, "{{{}}}", namespace) } | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> tests/event_reader.rs:542:13 | 542 | try! { write!(f, "{}:", prefix) } | ^^^ warning: trailing semicolon in macro used in expression position --> src/reader/lexer.rs:572:61 | 572 | assert_eq!(Ok(None), $lex.next_token(&mut $buf)); | ^ ... 706 | assert_none!(for lex and buf) | ----------------------------- in this macro invocation | = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! = note: for more information, see issue #79813 = note: macro invocations at the end of a block are treated as expressions = note: to ignore the value produced by the macro, add a semicolon after the invocation of `assert_none` = note: `#[warn(semicolon_in_expressions_from_macros)]` on by default = note: this warning originates in the macro `assert_none` (in Nightly builds, run with -Z macro-backtrace for more info) warning: trailing semicolon in macro used in expression position --> src/reader/lexer.rs:572:61 | 572 | assert_eq!(Ok(None), $lex.next_token(&mut $buf)); | ^ ... 722 | assert_none!(for lex and buf) | ----------------------------- in this macro invocation | = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! = note: for more information, see issue #79813 = note: macro invocations at the end of a block are treated as expressions = note: to ignore the value produced by the macro, add a semicolon after the invocation of `assert_none` = note: this warning originates in the macro `assert_none` (in Nightly builds, run with -Z macro-backtrace for more info) warning: `xml-rs` (bin "xml-analyze" test) generated 1 warning (1 duplicate) warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() --> src/util.rs:103:50 | 103 | ... e.description() == "test error" => {}, | ^^^^^^^^^^^ warning: `xml-rs` (test "event_reader") generated 4 warnings warning: `xml-rs` (lib test) generated 26 warnings (23 duplicates) Finished release [optimized] target(s) in 2m 52s Running `/builddir/build/BUILD/xml-rs-0.8.4/target/release/deps/xml-0f9cfa4c916c5c66` running 20 tests test attribute::tests::attribute_display ... ok test escape::tests::test_escape_multibyte_code_points ... ok test name::tests::test_owned_name_from_str ... ok test reader::lexer::tests::doctype_test ... ok test reader::lexer::tests::cdata_test ... ok test reader::lexer::tests::doctype_with_internal_subset_test ... ok test reader::lexer::tests::end_of_stream_handling_ok ... ok test reader::lexer::tests::end_of_stream_handling_error ... ok test reader::lexer::tests::error_in_comment_or_cdata_prefix ... ok test reader::lexer::tests::error_in_comment_started ... ok test reader::lexer::tests::error_in_comment_two_dashes_not_at_end ... ok test reader::lexer::tests::error_in_cdata_started ... ok test reader::lexer::tests::issue_98_cdata_ending_with_right_bracket ... ok test reader::lexer::tests::special_chars_test ... ok test reader::lexer::tests::error_in_doctype_started ... ok test util::tests::test_next_char_from ... ok test reader::parser::tests::opening_tag_in_attribute_value ... ok test reader::lexer::tests::simple_lexer_test ... ok test reader::parser::tests::issue_3_semicolon_in_attribute_value ... ok test reader::parser::tests::issue_140_entity_reference_inside_tag ... ok test result: ok. 20 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.06s Running `/builddir/build/BUILD/xml-rs-0.8.4/target/release/deps/xml_analyze-adf1fc1f0bc5b0dc` running 0 tests test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s Running `/builddir/build/BUILD/xml-rs-0.8.4/target/release/deps/event_reader-c87ba09640a3c24a` running 23 tests test bad_1 ... ok test eof_1 ... ok test dashes_in_comments ... ok test issue_93_large_characters_in_entity_references ... ok test issue_83_duplicate_attributes ... ok test issue_32_unescaped_cdata_end ... ok test issue_105_unexpected_double_dash ... ok test issue_98_cdata_ending_with_right_bracket ... ok test issue_attribues_have_no_default_namespace ... ok test issue_unescaped_empty_tag_end ... ok test issue_unescaped_processing_instruction_end ... ok test issue_replacement_character_entity_reference ... ok test sample_2_short ... ok test sample_2_full ... ok test sample_3_full ... ok test sample_1_short ... ok test sample_1_full ... ok test sample_4_full ... ok test sample_3_short ... ok test sample_4_short ... ok test sample_6_full ... ok test tabs_1 ... ok test sample_5_short ... ok test result: ok. 23 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.06s Running `/builddir/build/BUILD/xml-rs-0.8.4/target/release/deps/event_writer-9735c3eff3e2ac1b` running 9 tests test issue_112_overriding_namepace_prefix ... ok test attribute_escaping ... ok test writing_comments_with_indentation ... ok test writing_empty_elements_pad_self_closing_explicit ... ok test writing_empty_elements_with_normalizing ... ok test writing_empty_elements_without_normalizing ... ok test writing_empty_elements_without_pad_self_closing ... ok test reading_writing_equal_with_namespaces ... ok test writing_simple ... ok test result: ok. 9 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.05s Running `/builddir/build/BUILD/xml-rs-0.8.4/target/release/deps/streaming-edcbf224b0069bc6` running 2 tests test reading_streamed_content ... ok test reading_streamed_content2 ... ok test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.04s Doc-tests xml Running `/usr/bin/rustdoc --crate-type lib --crate-name xml --test /builddir/build/BUILD/xml-rs-0.8.4/src/lib.rs -L dependency=/builddir/build/BUILD/xml-rs-0.8.4/target/release/deps -L dependency=/builddir/build/BUILD/xml-rs-0.8.4/target/release/deps --extern doc_comment=/builddir/build/BUILD/xml-rs-0.8.4/target/release/deps/libdoc_comment-66676d1dbca98bd5.rlib --extern lazy_static=/builddir/build/BUILD/xml-rs-0.8.4/target/release/deps/liblazy_static-abf0522e0b145818.rlib --extern xml=/builddir/build/BUILD/xml-rs-0.8.4/target/release/deps/libxml-1bab834685ff2a58.rlib -C embed-bitcode=no --error-format human` warning: `...` range patterns are deprecated --> /builddir/build/BUILD/xml-rs-0.8.4/src/common.rs:120:18 | 120 | ':' | 'A'...'Z' | '_' | '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 = note: `#[warn(ellipsis_inclusive_range_patterns)]` on by default warning: `...` range patterns are deprecated --> /builddir/build/BUILD/xml-rs-0.8.4/src/common.rs:120:36 | 120 | ':' | 'A'...'Z' | '_' | '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 --> /builddir/build/BUILD/xml-rs-0.8.4/src/common.rs:121:17 | 121 | '\u{C0}'...'\u{D6}' | '\u{D8}'...'\u{F6}' | '\u{F8}'...'\u{2FF}' | | ^^^ 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 --> /builddir/build/BUILD/xml-rs-0.8.4/src/common.rs:121:39 | 121 | '\u{C0}'...'\u{D6}' | '\u{D8}'...'\u{F6}' | '\u{F8}'...'\u{2FF}' | | ^^^ 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 --> /builddir/build/BUILD/xml-rs-0.8.4/src/common.rs:121:61 | 121 | '\u{C0}'...'\u{D6}' | '\u{D8}'...'\u{F6}' | '\u{F8}'...'\u{2FF}' | | ^^^ 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 --> /builddir/build/BUILD/xml-rs-0.8.4/src/common.rs:122:18 | 122 | '\u{370}'...'\u{37D}' | '\u{37F}'...'\u{1FFF}' | | ^^^ 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 --> /builddir/build/BUILD/xml-rs-0.8.4/src/common.rs:122:42 | 122 | '\u{370}'...'\u{37D}' | '\u{37F}'...'\u{1FFF}' | | ^^^ 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 --> /builddir/build/BUILD/xml-rs-0.8.4/src/common.rs:123:19 | 123 | '\u{200C}'...'\u{200D}' | '\u{2070}'...'\u{218F}' | | ^^^ 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 --> /builddir/build/BUILD/xml-rs-0.8.4/src/common.rs:123:45 | 123 | '\u{200C}'...'\u{200D}' | '\u{2070}'...'\u{218F}' | | ^^^ 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 --> /builddir/build/BUILD/xml-rs-0.8.4/src/common.rs:124:19 | 124 | '\u{2C00}'...'\u{2FEF}' | '\u{3001}'...'\u{D7FF}' | | ^^^ 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 --> /builddir/build/BUILD/xml-rs-0.8.4/src/common.rs:124:45 | 124 | '\u{2C00}'...'\u{2FEF}' | '\u{3001}'...'\u{D7FF}' | | ^^^ 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 --> /builddir/build/BUILD/xml-rs-0.8.4/src/common.rs:125:19 | 125 | '\u{F900}'...'\u{FDCF}' | '\u{FDF0}'...'\u{FFFD}' | | ^^^ 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 --> /builddir/build/BUILD/xml-rs-0.8.4/src/common.rs:125:45 | 125 | '\u{F900}'...'\u{FDCF}' | '\u{FDF0}'...'\u{FFFD}' | | ^^^ 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 --> /builddir/build/BUILD/xml-rs-0.8.4/src/common.rs:126:20 | 126 | '\u{10000}'...'\u{EFFFF}' => true, | ^^^ 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 --> /builddir/build/BUILD/xml-rs-0.8.4/src/common.rs:138:24 | 138 | '-' | '.' | '0'...'9' | '\u{B7}' | | ^^^ 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 --> /builddir/build/BUILD/xml-rs-0.8.4/src/common.rs:139:18 | 139 | '\u{300}'...'\u{36F}' | '\u{203F}'...'\u{2040}' => true, | ^^^ 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 --> /builddir/build/BUILD/xml-rs-0.8.4/src/common.rs:139:43 | 139 | '\u{300}'...'\u{36F}' | '\u{203F}'...'\u{2040}' => true, | ^^^ 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: 17 warnings emitted running 15 tests test src/lib.rs - (line 142) ... ignored test src/lib.rs - (line 213) ... ignored test src/lib.rs - (line 95) - compile ... ok test src/lib.rs - (line 166) - compile ... ok test src/lib.rs - (line 81) ... ok test src/name.rs - name::Name (line 35) ... ok test src/reader/config.rs - reader::config::ParserConfig::new (line 98) ... ok test src/reader/config.rs - reader::config::ParserConfig::add_entity (line 148) ... ok test src/reader/config.rs - reader::config::ParserConfig::create_reader (line 124) ... ok test src/namespace.rs - namespace::CheckedTarget (line 462) ... ok test src/namespace.rs - namespace::NamespaceStackMappings (line 350) ... ok test src/namespace.rs - namespace::CheckedTarget (line 443) ... ok test src/writer/config.rs - writer::config::EmitterConfig::create_writer (line 120) ... ok test src/writer/config.rs - writer::config::EmitterConfig::new (line 92) ... ok test src/reader/events.rs - reader::events::XmlEvent::as_writer_event (line 159) ... ok test result: ok. 13 passed; 0 failed; 2 ignored; 0 measured; 0 filtered out; finished in 29.48s + RPM_EC=0 ++ jobs -p + exit 0 Processing files: rust-xml-rs-devel-0.8.4-1.fc37.noarch Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.dxEnST + umask 022 + cd /builddir/build/BUILD + cd xml-rs-0.8.4 + DOCDIR=/builddir/build/BUILDROOT/rust-xml-rs-0.8.4-1.fc37.riscv64/usr/share/doc/rust-xml-rs-devel + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/rust-xml-rs-0.8.4-1.fc37.riscv64/usr/share/doc/rust-xml-rs-devel + cp -pr Readme.md /builddir/build/BUILDROOT/rust-xml-rs-0.8.4-1.fc37.riscv64/usr/share/doc/rust-xml-rs-devel + cp -pr design.md /builddir/build/BUILDROOT/rust-xml-rs-0.8.4-1.fc37.riscv64/usr/share/doc/rust-xml-rs-devel + cp -pr Changelog.md /builddir/build/BUILDROOT/rust-xml-rs-0.8.4-1.fc37.riscv64/usr/share/doc/rust-xml-rs-devel + RPM_EC=0 ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.8LpBvH + umask 022 + cd /builddir/build/BUILD + cd xml-rs-0.8.4 + LICENSEDIR=/builddir/build/BUILDROOT/rust-xml-rs-0.8.4-1.fc37.riscv64/usr/share/licenses/rust-xml-rs-devel + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/rust-xml-rs-0.8.4-1.fc37.riscv64/usr/share/licenses/rust-xml-rs-devel + cp -pr LICENSE /builddir/build/BUILDROOT/rust-xml-rs-0.8.4-1.fc37.riscv64/usr/share/licenses/rust-xml-rs-devel + RPM_EC=0 ++ jobs -p + exit 0 Provides: crate(xml-rs) = 0.8.4 rust-xml-rs-devel = 0.8.4-1.fc37 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: cargo Processing files: rust-xml-rs+default-devel-0.8.4-1.fc37.noarch Provides: crate(xml-rs/default) = 0.8.4 rust-xml-rs+default-devel = 0.8.4-1.fc37 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: cargo crate(xml-rs) = 0.8.4 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/rust-xml-rs-0.8.4-1.fc37.riscv64 Wrote: /builddir/build/SRPMS/rust-xml-rs-0.8.4-1.fc37.src.rpm Wrote: /builddir/build/RPMS/rust-xml-rs+default-devel-0.8.4-1.fc37.noarch.rpm Wrote: /builddir/build/RPMS/rust-xml-rs-devel-0.8.4-1.fc37.noarch.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.yqBM97 + umask 022 + cd /builddir/build/BUILD + cd xml-rs-0.8.4 + /usr/bin/rm -rf /builddir/build/BUILDROOT/rust-xml-rs-0.8.4-1.fc37.riscv64 + RPM_EC=0 ++ jobs -p + exit 0 Executing(rmbuild): /bin/sh -e /var/tmp/rpm-tmp.MYQmwl + umask 022 + cd /builddir/build/BUILD + rm -rf xml-rs-0.8.4 xml-rs-0.8.4.gemspec + RPM_EC=0 ++ jobs -p + exit 0 Child return code was: 0