Mock Version: 5.0 Mock Version: 5.0 Mock Version: 5.0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target riscv64 --nodeps /builddir/build/SPECS/rust-yaml-rust0.3.spec'], chrootPath='/var/lib/mock/f40-build-2040908-48388/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 --noclean --target riscv64 --nodeps /builddir/build/SPECS/rust-yaml-rust0.3.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=1702684800 Wrote: /builddir/build/SRPMS/rust-yaml-rust0.3-0.3.5-1.fc40.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -br --noclean --target riscv64 --nodeps /builddir/build/SPECS/rust-yaml-rust0.3.spec'], chrootPath='/var/lib/mock/f40-build-2040908-48388/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 --noclean --target riscv64 --nodeps /builddir/build/SPECS/rust-yaml-rust0.3.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=1702684800 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.Y6zT9b + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf yaml-rust-0.3.5 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/yaml-rust-0.3.5.crate + STATUS=0 + '[' 0 -ne 0 ']' + cd yaml-rust-0.3.5 + rm -rf /builddir/build/BUILD/yaml-rust-0.3.5-SPECPARTS + /usr/bin/mkdir -p /builddir/build/BUILD/yaml-rust-0.3.5-SPECPARTS + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/yaml-rust-fix-metadata.diff + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + set -euo pipefail + /usr/bin/mkdir -p target/rpm + /usr/bin/ln -s rpm target/release + /usr/bin/rm -rf .cargo/ + /usr/bin/mkdir -p .cargo + cat + cat + /usr/bin/rm -f Cargo.lock + /usr/bin/rm -f Cargo.toml.orig + RPM_EC=0 ++ jobs -p + exit 0 Executing(%generate_buildrequires): /bin/sh -e /var/tmp/rpm-tmp.H3alA5 + umask 022 + cd /builddir/build/BUILD + cd yaml-rust-0.3.5 + /usr/bin/cargo2rpm --path Cargo.toml buildrequires --with-check + RPM_EC=0 ++ jobs -p + exit 0 Wrote: /builddir/build/SRPMS/rust-yaml-rust0.3-0.3.5-1.fc40.buildreqs.nosrc.rpm Child return code was: 11 Dynamic buildrequires detected Going to install missing buildrequires. See root.log for details. ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -ba --noprep --noclean --target riscv64 --nodeps /builddir/build/SPECS/rust-yaml-rust0.3.spec'], chrootPath='/var/lib/mock/f40-build-2040908-48388/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 --noclean --target riscv64 --nodeps /builddir/build/SPECS/rust-yaml-rust0.3.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=1702684800 Executing(%generate_buildrequires): /bin/sh -e /var/tmp/rpm-tmp.djMdOe + umask 022 + cd /builddir/build/BUILD + cd yaml-rust-0.3.5 + /usr/bin/cargo2rpm --path Cargo.toml buildrequires --with-check + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.GFXdKJ + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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 -fno-omit-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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 -fno-omit-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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 -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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 -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' + export RUSTFLAGS + 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 yaml-rust-0.3.5 + /usr/bin/env CARGO_HOME=.cargo RUSTC_BOOTSTRAP=1 'RUSTFLAGS=-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -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 --profile rpm Compiling yaml-rust v0.3.5 (/builddir/build/BUILD/yaml-rust-0.3.5) Running `/usr/bin/rustc --crate-name yaml_rust src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no -C codegen-units=1 -C debuginfo=2 -C metadata=64727bc46bfdeda8 -C extra-filename=-64727bc46bfdeda8 --out-dir /builddir/build/BUILD/yaml-rust-0.3.5/target/rpm/deps -L dependency=/builddir/build/BUILD/yaml-rust-0.3.5/target/rpm/deps -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -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/yaml.rs:202:9 | 202 | try!(parser.load(&mut loader, true)); | ^^^ | = note: `#[warn(deprecated)]` on by default warning: `...` range patterns are deprecated --> src/scanner.rs:184:12 | 184 | '0'...'9' | 'a'...'z' | 'A'...'Z' => 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 = note: `#[warn(ellipsis_inclusive_range_patterns)]` on by default warning: `...` range patterns are deprecated --> src/scanner.rs:184:24 | 184 | '0'...'9' | 'a'...'z' | 'A'...'Z' => 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/scanner.rs:184:36 | 184 | '0'...'9' | 'a'...'z' | 'A'...'Z' => 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/scanner.rs:198:12 | 198 | '0'...'9' => (c as u32) - ('0' as u32), | ^^^ 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/scanner.rs:199:12 | 199 | 'a'...'f' => (c as u32) - ('a' as u32) + 10, | ^^^ 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/scanner.rs:200:12 | 200 | 'A'...'F' => (c as u32) - ('A' as u32) + 10, | ^^^ 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/scanner.rs:329:9 | 329 | try!(self.stale_simple_keys()); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/scanner.rs:337:13 | 337 | try!(self.fetch_stream_end()); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/scanner.rs:351:13 | 351 | try!(self.fetch_document_indicator(TokenType::DocumentStart)); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/scanner.rs:360:13 | 360 | try!(self.fetch_document_indicator(TokenType::DocumentEnd)); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/scanner.rs:401:13 | 401 | try!(self.fetch_more_tokens()); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/scanner.rs:430:13 | 430 | try!(self.fetch_next_token()); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/scanner.rs:420:17 | 420 | try!(self.stale_simple_keys()); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/scanner.rs:487:9 | 487 | try!(self.remove_simple_key()); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/scanner.rs:496:9 | 496 | try!(self.remove_simple_key()); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/scanner.rs:500:19 | 500 | let tok = try!(self.scan_directive()); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/scanner.rs:511:20 | 511 | let name = try!(self.scan_directive_name()); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/scanner.rs:514:17 | 514 | try!(self.scan_version_directive_value(&start_mark)) | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/scanner.rs:517:17 | 517 | try!(self.scan_tag_directive_value(&start_mark)) | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/scanner.rs:569:21 | 569 | let major = try!(self.scan_version_directive_number(mark)); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/scanner.rs:578:21 | 578 | let minor = try!(self.scan_version_directive_number(mark)); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/scanner.rs:636:22 | 636 | let handle = try!(self.scan_tag_handle(true, mark)); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/scanner.rs:646:22 | 646 | let prefix = try!(self.scan_tag_uri(true, is_secondary, &String::new(), mark)); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/scanner.rs:659:9 | 659 | try!(self.save_simple_key()); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/scanner.rs:662:19 | 662 | let tok = try!(self.scan_tag()); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/scanner.rs:680:22 | 680 | suffix = try!(self.scan_tag_uri(false, false, &String::new(), &start_mark)); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/scanner.rs:690:22 | 690 | handle = try!(self.scan_tag_handle(false, &start_mark)); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/scanner.rs:696:26 | 696 | suffix = try!(self.scan_tag_uri(false, secondary, &String::new(), &start_mark)); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/scanner.rs:698:26 | 698 | suffix = try!(self.scan_tag_uri(false, false, &handle, &start_mark)); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/scanner.rs:779:29 | 779 | string.push(try!(self.scan_uri_escapes(directive, mark))); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/scanner.rs:850:9 | 850 | try!(self.save_simple_key()); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/scanner.rs:853:19 | 853 | let tok = try!(self.scan_anchor(alias)); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/scanner.rs:891:9 | 891 | try!(self.save_simple_key()); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/scanner.rs:905:9 | 905 | try!(self.remove_simple_key()); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/scanner.rs:918:9 | 918 | try!(self.remove_simple_key()); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/scanner.rs:954:9 | 954 | try!(self.remove_simple_key()); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/scanner.rs:966:9 | 966 | try!(self.remove_simple_key()); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/scanner.rs:980:9 | 980 | try!(self.save_simple_key()); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/scanner.rs:982:19 | 982 | let tok = try!(self.scan_block_scalar(literal)); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/scanner.rs:1069:9 | 1069 | try!(self.block_scalar_breaks(&mut indent, &mut trailing_breaks)); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/scanner.rs:1106:13 | 1106 | try!(self.block_scalar_breaks(&mut indent, &mut trailing_breaks)); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/scanner.rs:1168:9 | 1168 | try!(self.save_simple_key()); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/scanner.rs:1171:19 | 1171 | let tok = try!(self.scan_flow_scalar(single)); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/scanner.rs:1360:9 | 1360 | try!(self.save_simple_key()); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/scanner.rs:1363:19 | 1363 | let tok = try!(self.scan_plain_scalar()); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/scanner.rs:1492:9 | 1492 | try!(self.remove_simple_key()); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/scanner.rs:1579:13 | 1579 | try!(self.remove_simple_key()); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/parser.rs:144:26 | 144 | let (ev, mark) = try!(self.state_machine()); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/parser.rs:153:22 | 153 | let ev = try!(self.parse(recv)); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/parser.rs:170:13 | 170 | try!(self.load_document(&ev, recv)); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/parser.rs:163:22 | 163 | let ev = try!(self.parse(recv)); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/parser.rs:183:9 | 183 | try!(self.load_node(&ev, recv)); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/parser.rs:182:18 | 182 | let ev = try!(self.parse(recv)); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/parser.rs:186:18 | 186 | let ev = try!(self.parse(recv)); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/parser.rs:211:22 | 211 | let mut ev = try!(self.parse(recv)); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/parser.rs:214:13 | 214 | try!(self.load_node(&ev, recv)); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/parser.rs:218:13 | 218 | try!(self.load_node(&ev, recv)); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/parser.rs:217:18 | 217 | ev = try!(self.parse(recv)); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/parser.rs:221:18 | 221 | ev = try!(self.parse(recv)); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/parser.rs:228:22 | 228 | let mut ev = try!(self.parse(recv)); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/parser.rs:230:13 | 230 | try!(self.load_node(&ev, recv)); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/parser.rs:233:18 | 233 | ev = try!(self.parse(recv)); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/parser.rs:280:19 | 280 | let tok = try!(self.peek()); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/parser.rs:294:23 | 294 | let mut tok = try!(self.peek()); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/parser.rs:298:23 | 298 | tok = try!(self.peek()); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/parser.rs:315:17 | 315 | try!(self.parser_process_directives()); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/parser.rs:329:23 | 329 | let tok = try!(self.peek()); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/parser.rs:350:9 | 350 | try!(self.parser_process_directives()); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/parser.rs:351:19 | 351 | let tok = try!(self.peek()); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/parser.rs:362:19 | 362 | let tok = try!(self.peek()); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/parser.rs:381:19 | 381 | let tok = try!(self.peek()); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/parser.rs:407:23 | 407 | let mut tok = try!(self.peek()); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/parser.rs:420:29 | 420 | anchor_id = try!(self.register_anchor(&name, &tok.0)); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/parser.rs:422:23 | 422 | tok = try!(self.peek()); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/parser.rs:426:27 | 426 | tok = try!(self.peek()); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/parser.rs:432:23 | 432 | tok = try!(self.peek()); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/parser.rs:434:33 | 434 | anchor_id = try!(self.register_anchor(&name, &tok.0)); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/parser.rs:436:27 | 436 | tok = try!(self.peek()); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/parser.rs:479:21 | 479 | let _ = try!(self.peek()); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/parser.rs:483:19 | 483 | let tok = try!(self.peek()); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/parser.rs:487:27 | 487 | let tok = try!(self.peek()); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/parser.rs:520:23 | 520 | let tok = try!(self.peek()); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/parser.rs:524:31 | 524 | let tok = try!(self.peek()); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/parser.rs:548:21 | 548 | let _ = try!(self.peek()); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/parser.rs:551:23 | 551 | let mut tok = try!(self.peek()); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/parser.rs:557:27 | 557 | tok = try!(self.peek()); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/parser.rs:566:23 | 566 | tok = try!(self.peek()); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/parser.rs:595:19 | 595 | let tok = try!(self.peek()); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/parser.rs:603:23 | 603 | let tok = try!(self.peek()); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/parser.rs:621:21 | 621 | let _ = try!(self.peek()); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/parser.rs:625:23 | 625 | let mut tok = try!(self.peek()); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/parser.rs:634:23 | 634 | tok = try!(self.peek()); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/parser.rs:661:23 | 661 | let mut tok = try!(self.peek()); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/parser.rs:668:15 | 668 | tok = try!(self.peek()); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/parser.rs:687:21 | 687 | let _ = try!(self.peek()); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/parser.rs:691:23 | 691 | let mut tok = try!(self.peek()); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/parser.rs:700:23 | 700 | tok = try!(self.peek()); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/parser.rs:721:19 | 721 | let tok = try!(self.peek()); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/parser.rs:739:19 | 739 | let tok = try!(self.peek()); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/parser.rs:744:31 | 744 | let tok = try!(self.peek()); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/emitter.rs:28:5 | 28 | try!(wr.write_str("\"")); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/emitter.rs:85:5 | 85 | try!(wr.write_str("\"")); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/emitter.rs:76:9 | 76 | try!(wr.write_str(escaped)); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/emitter.rs:73:13 | 73 | try!(wr.write_str(&v[start..i])); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/emitter.rs:82:9 | 82 | try!(wr.write_str(&v[start..])); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/emitter.rs:101:9 | 101 | try!(write!(self.writer, "---\n")); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/emitter.rs:110:17 | 110 | try!(write!(self.writer, " ")); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/emitter.rs:119:21 | 119 | try!(write!(self.writer, "[")); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/emitter.rs:130:21 | 130 | try!(write!(self.writer, "]")); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/emitter.rs:121:25 | 121 | try!(write!(self.writer, "+ ")); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/emitter.rs:125:25 | 125 | try!(self.write_indent()); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/emitter.rs:127:25 | 127 | try!(self.emit_node(x)); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/emitter.rs:126:38 | 126 | if cnt > 0 { try!(write!(self.writer, ", ")); } | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/emitter.rs:134:21 | 134 | try!(self.writer.write_str("{")); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/emitter.rs:150:21 | 150 | try!(self.writer.write_str("}")); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/emitter.rs:147:25 | 147 | try!(write!(self.writer, ": ")); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/emitter.rs:148:25 | 148 | try!(self.emit_node(v)); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/emitter.rs:138:29 | 138 | ... try!(write!(self.writer, ", ")); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/emitter.rs:145:36 | 145 | ... _ => { try!(self.emit_node(k)); } | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/emitter.rs:162:21 | 162 | try!(write!(self.writer, "[]")); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/emitter.rs:166:25 | 166 | try!(write!(self.writer, "\n")); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/emitter.rs:173:25 | 173 | try!(self.write_indent()); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/emitter.rs:174:25 | 174 | try!(write!(self.writer, "- ")); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/emitter.rs:175:25 | 175 | try!(self.emit_node(x)); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/emitter.rs:171:29 | 171 | ... try!(write!(self.writer, "\n")); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/emitter.rs:183:21 | 183 | try!(self.writer.write_str("{}")); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/emitter.rs:187:25 | 187 | try!(write!(self.writer, "\n")); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/emitter.rs:194:25 | 194 | try!(self.write_indent()); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/emitter.rs:202:25 | 202 | try!(write!(self.writer, ": ")); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/emitter.rs:203:25 | 203 | try!(self.emit_node(v)); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/emitter.rs:192:29 | 192 | ... try!(write!(self.writer, "\n")); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/emitter.rs:197:33 | 197 | ... try!(self.emit_node_compact(k)); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/emitter.rs:200:36 | 200 | ... _ => { try!(self.emit_node(k)); } | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/emitter.rs:211:21 | 211 | try!(escape_str(self.writer, v)); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/emitter.rs:214:21 | 214 | try!(write!(self.writer, "{}", v)); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/emitter.rs:220:21 | 220 | try!(self.writer.write_str("true")); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/emitter.rs:222:21 | 222 | try!(self.writer.write_str("false")); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/emitter.rs:227:17 | 227 | try!(write!(self.writer, "{}", v)); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/emitter.rs:231:17 | 231 | try!(write!(self.writer, "{}", v)); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/emitter.rs:235:17 | 235 | try!(write!(self.writer, "~")); | ^^^ warning: `...` range patterns are deprecated --> src/emitter.rs:266:139 | 266 | ...' | '=' | '!' | '%' | '@' | '`' | '\\' | '\0' ... '\x06' | '\t' | '\n' | '\r' | '\x0e' ... '\x1a' | '\x1c' ... '\x1f' => 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/emitter.rs:266:180 | 266 | ...'\0' ... '\x06' | '\t' | '\n' | '\r' | '\x0e' ... '\x1a' | '\x1c' ... '\x1f' => 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/emitter.rs:266:200 | 266 | ...t' | '\n' | '\r' | '\x0e' ... '\x1a' | '\x1c' ... '\x1f' => 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: trait objects without an explicit `dyn` are deprecated --> src/emitter.rs:18:21 | 18 | writer: &'a mut fmt::Write, | ^^^^^^^^^^ | = 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` | 18 | writer: &'a mut dyn fmt::Write, | +++ warning: trait objects without an explicit `dyn` are deprecated --> src/scanner.rs:58:32 | 58 | fn cause(&self) -> Option<&Error> { | ^^^^^ | = 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` | 58 | fn cause(&self) -> Option<&dyn Error> { | +++ warning: trait objects without an explicit `dyn` are deprecated --> src/emitter.rs:27:24 | 27 | fn escape_str(wr: &mut fmt::Write, v: &str) -> Result<(), fmt::Error> { | ^^^^^^^^^^ | = 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` | 27 | fn escape_str(wr: &mut dyn fmt::Write, v: &str) -> Result<(), fmt::Error> { | +++ warning: trait objects without an explicit `dyn` are deprecated --> src/emitter.rs:90:32 | 90 | pub fn new(writer: &'a mut fmt::Write) -> YamlEmitter { | ^^^^^^^^^^ | = 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` | 90 | pub fn new(writer: &'a mut dyn fmt::Write) -> YamlEmitter { | +++ warning: unused import: `std::str::FromStr` --> src/yaml.rs:5:5 | 5 | use std::str::FromStr; | ^^^^^^^^^^^^^^^^^ | = note: `#[warn(unused_imports)]` on by default warning: variable does not need to be mutable --> src/yaml.rs:178:25 | 178 | let mut cur_key = self.key_stack.last_mut().unwrap(); | ----^^^^^^^ | | | help: remove this `mut` | = note: `#[warn(unused_mut)]` on by default warning: field `marks` is never read --> src/parser.rs:71:5 | 67 | pub struct Parser { | ------ field in this struct ... 71 | marks: Vec, | ^^^^^ | = note: `Parser` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis = note: `#[warn(dead_code)]` on by default error: rustc interrupted by SIGSEGV, printing backtrace /lib64/lp64d/librustc_driver-c309084a720e38a9.so(+0x9de4b2)[0xffffff899de4b2] linux-vdso.so.1(__vdso_rt_sigreturn+0x0)[0xffffff8c432800] /lib64/lp64d/libc.so.6(syscall+0x1c)[0xffffff88de6264] /lib64/lp64d/libstd-befa7e56df894fae.so(_ZN3std3sys4unix5locks11futex_mutex5Mutex14lock_contended17h95e8e53aa0d0c145E+0x96)[0xffffff88f0ae08] /lib64/lp64d/libstd-befa7e56df894fae.so(_ZN3std3sys4unix5locks13futex_condvar7Condvar4wait17h9735986bca56331dE+0x9e)[0xffffff88f4754e] /lib64/lp64d/librustc_driver-c309084a720e38a9.so(+0x2323870)[0xffffff8b323870] /lib64/lp64d/librustc_driver-c309084a720e38a9.so(+0x2323ab6)[0xffffff8b323ab6] /lib64/lp64d/librustc_driver-c309084a720e38a9.so(+0x23250ec)[0xffffff8b3250ec] /lib64/lp64d/librustc_driver-c309084a720e38a9.so(+0x2323b76)[0xffffff8b323b76] /lib64/lp64d/libstd-befa7e56df894fae.so(rust_metadata_std_2a86bed24e1ebfc9+0xabf36)[0xffffff88f45f36] /lib64/lp64d/libc.so.6(+0x7469c)[0xffffff88d9569c] /lib64/lp64d/libc.so.6(+0xc6c78)[0xffffff88de7c78] note: we would appreciate a report at https://github.com/rust-lang/rust warning: `yaml-rust` (lib) generated 151 warnings (run `cargo fix --lib -p yaml-rust` to apply 14 suggestions) Finished rpm [optimized + debuginfo] target(s) in 2m 27s + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.LI6CDm + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/rust-yaml-rust0.3-0.3.5-1.fc40.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/rust-yaml-rust0.3-0.3.5-1.fc40.riscv64 ++ dirname /builddir/build/BUILDROOT/rust-yaml-rust0.3-0.3.5-1.fc40.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/rust-yaml-rust0.3-0.3.5-1.fc40.riscv64 + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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 -fno-omit-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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 -fno-omit-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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 -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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 -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' + export RUSTFLAGS + 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 yaml-rust-0.3.5 + set -euo pipefail ++ /usr/bin/cargo2rpm --path Cargo.toml is-lib + '[' 1 -eq 1 ']' ++ /usr/bin/cargo2rpm --path Cargo.toml name + CRATE_NAME=yaml-rust ++ /usr/bin/cargo2rpm --path Cargo.toml version + CRATE_VERSION=0.3.5 + REG_DIR=/builddir/build/BUILDROOT/rust-yaml-rust0.3-0.3.5-1.fc40.riscv64/usr/share/cargo/registry/yaml-rust-0.3.5 + /usr/bin/mkdir -p /builddir/build/BUILDROOT/rust-yaml-rust0.3-0.3.5-1.fc40.riscv64/usr/share/cargo/registry/yaml-rust-0.3.5 + /usr/bin/awk -i inplace -v INPLACE_SUFFIX=.deps '/^\[((.+\.)?((dev|build)-)?dependencies|features)/{f=1;next} /^\[/{f=0}; !f' Cargo.toml + /usr/bin/env CARGO_HOME=.cargo RUSTC_BOOTSTRAP=1 'RUSTFLAGS=-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -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-yaml-rust0.3-0.3.5-1.fc40.riscv64/usr/share/cargo/registry/yaml-rust-0.3.5 warning: No (git) VCS found for `/builddir/build/BUILD/yaml-rust-0.3.5` + /usr/bin/mv Cargo.toml.deps Cargo.toml + /usr/bin/cp -a Cargo.toml /builddir/build/BUILDROOT/rust-yaml-rust0.3-0.3.5-1.fc40.riscv64/usr/share/cargo/registry/yaml-rust-0.3.5/Cargo.toml + /usr/bin/rm -f /builddir/build/BUILDROOT/rust-yaml-rust0.3-0.3.5-1.fc40.riscv64/usr/share/cargo/registry/yaml-rust-0.3.5/Cargo.toml.deps + echo '{"files":{},"package":""}' ++ /usr/bin/cargo2rpm --path Cargo.toml is-bin + '[' 0 -eq 1 ']' + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/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 mangling shebang in /usr/share/cargo/registry/yaml-rust-0.3.5/tests/specs/cpp2rust.rb from /usr/bin/env ruby to #!/usr/bin/ruby + /usr/lib/rpm/brp-remove-la-files + env /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 -j8 + /usr/lib/rpm/redhat/brp-python-hardlink Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.ibapX8 + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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 -fno-omit-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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 -fno-omit-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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 -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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 -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' + export RUSTFLAGS + 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 yaml-rust-0.3.5 + /usr/bin/env CARGO_HOME=.cargo RUSTC_BOOTSTRAP=1 'RUSTFLAGS=-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -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 --profile rpm --no-fail-fast warning: use of deprecated macro `try`: use the `?` operator instead --> src/yaml.rs:202:9 | 202 | try!(parser.load(&mut loader, true)); | ^^^ | = note: `#[warn(deprecated)]` on by default warning: `...` range patterns are deprecated --> src/scanner.rs:184:12 | 184 | '0'...'9' | 'a'...'z' | 'A'...'Z' => 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 = note: `#[warn(ellipsis_inclusive_range_patterns)]` on by default warning: `...` range patterns are deprecated --> src/scanner.rs:184:24 | 184 | '0'...'9' | 'a'...'z' | 'A'...'Z' => 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/scanner.rs:184:36 | 184 | '0'...'9' | 'a'...'z' | 'A'...'Z' => 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/scanner.rs:198:12 | 198 | '0'...'9' => (c as u32) - ('0' as u32), | ^^^ 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/scanner.rs:199:12 | 199 | 'a'...'f' => (c as u32) - ('a' as u32) + 10, | ^^^ 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/scanner.rs:200:12 | 200 | 'A'...'F' => (c as u32) - ('A' as u32) + 10, | ^^^ 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/scanner.rs:329:9 | 329 | try!(self.stale_simple_keys()); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/scanner.rs:337:13 | 337 | try!(self.fetch_stream_end()); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/scanner.rs:351:13 | 351 | try!(self.fetch_document_indicator(TokenType::DocumentStart)); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/scanner.rs:360:13 | 360 | try!(self.fetch_document_indicator(TokenType::DocumentEnd)); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/scanner.rs:401:13 | 401 | try!(self.fetch_more_tokens()); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/scanner.rs:430:13 | 430 | try!(self.fetch_next_token()); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/scanner.rs:420:17 | 420 | try!(self.stale_simple_keys()); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/scanner.rs:487:9 | 487 | try!(self.remove_simple_key()); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/scanner.rs:496:9 | 496 | try!(self.remove_simple_key()); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/scanner.rs:500:19 | 500 | let tok = try!(self.scan_directive()); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/scanner.rs:511:20 | 511 | let name = try!(self.scan_directive_name()); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/scanner.rs:514:17 | 514 | try!(self.scan_version_directive_value(&start_mark)) | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/scanner.rs:517:17 | 517 | try!(self.scan_tag_directive_value(&start_mark)) | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/scanner.rs:569:21 | 569 | let major = try!(self.scan_version_directive_number(mark)); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/scanner.rs:578:21 | 578 | let minor = try!(self.scan_version_directive_number(mark)); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/scanner.rs:636:22 | 636 | let handle = try!(self.scan_tag_handle(true, mark)); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/scanner.rs:646:22 | 646 | let prefix = try!(self.scan_tag_uri(true, is_secondary, &String::new(), mark)); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/scanner.rs:659:9 | 659 | try!(self.save_simple_key()); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/scanner.rs:662:19 | 662 | let tok = try!(self.scan_tag()); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/scanner.rs:680:22 | 680 | suffix = try!(self.scan_tag_uri(false, false, &String::new(), &start_mark)); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/scanner.rs:690:22 | 690 | handle = try!(self.scan_tag_handle(false, &start_mark)); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/scanner.rs:696:26 | 696 | suffix = try!(self.scan_tag_uri(false, secondary, &String::new(), &start_mark)); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/scanner.rs:698:26 | 698 | suffix = try!(self.scan_tag_uri(false, false, &handle, &start_mark)); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/scanner.rs:779:29 | 779 | string.push(try!(self.scan_uri_escapes(directive, mark))); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/scanner.rs:850:9 | 850 | try!(self.save_simple_key()); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/scanner.rs:853:19 | 853 | let tok = try!(self.scan_anchor(alias)); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/scanner.rs:891:9 | 891 | try!(self.save_simple_key()); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/scanner.rs:905:9 | 905 | try!(self.remove_simple_key()); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/scanner.rs:918:9 | 918 | try!(self.remove_simple_key()); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/scanner.rs:954:9 | 954 | try!(self.remove_simple_key()); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/scanner.rs:966:9 | 966 | try!(self.remove_simple_key()); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/scanner.rs:980:9 | 980 | try!(self.save_simple_key()); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/scanner.rs:982:19 | 982 | let tok = try!(self.scan_block_scalar(literal)); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/scanner.rs:1069:9 | 1069 | try!(self.block_scalar_breaks(&mut indent, &mut trailing_breaks)); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/scanner.rs:1106:13 | 1106 | try!(self.block_scalar_breaks(&mut indent, &mut trailing_breaks)); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/scanner.rs:1168:9 | 1168 | try!(self.save_simple_key()); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/scanner.rs:1171:19 | 1171 | let tok = try!(self.scan_flow_scalar(single)); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/scanner.rs:1360:9 | 1360 | try!(self.save_simple_key()); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/scanner.rs:1363:19 | 1363 | let tok = try!(self.scan_plain_scalar()); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/scanner.rs:1492:9 | 1492 | try!(self.remove_simple_key()); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/scanner.rs:1579:13 | 1579 | try!(self.remove_simple_key()); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/parser.rs:144:26 | 144 | let (ev, mark) = try!(self.state_machine()); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/parser.rs:153:22 | 153 | let ev = try!(self.parse(recv)); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/parser.rs:170:13 | 170 | try!(self.load_document(&ev, recv)); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/parser.rs:163:22 | 163 | let ev = try!(self.parse(recv)); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/parser.rs:183:9 | 183 | try!(self.load_node(&ev, recv)); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/parser.rs:182:18 | 182 | let ev = try!(self.parse(recv)); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/parser.rs:186:18 | 186 | let ev = try!(self.parse(recv)); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/parser.rs:211:22 | 211 | let mut ev = try!(self.parse(recv)); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/parser.rs:214:13 | 214 | try!(self.load_node(&ev, recv)); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/parser.rs:218:13 | 218 | try!(self.load_node(&ev, recv)); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/parser.rs:217:18 | 217 | ev = try!(self.parse(recv)); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/parser.rs:221:18 | 221 | ev = try!(self.parse(recv)); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/parser.rs:228:22 | 228 | let mut ev = try!(self.parse(recv)); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/parser.rs:230:13 | 230 | try!(self.load_node(&ev, recv)); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/parser.rs:233:18 | 233 | ev = try!(self.parse(recv)); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/parser.rs:280:19 | 280 | let tok = try!(self.peek()); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/parser.rs:294:23 | 294 | let mut tok = try!(self.peek()); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/parser.rs:298:23 | 298 | tok = try!(self.peek()); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/parser.rs:315:17 | 315 | try!(self.parser_process_directives()); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/parser.rs:329:23 | 329 | let tok = try!(self.peek()); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/parser.rs:350:9 | 350 | try!(self.parser_process_directives()); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/parser.rs:351:19 | 351 | let tok = try!(self.peek()); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/parser.rs:362:19 | 362 | let tok = try!(self.peek()); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/parser.rs:381:19 | 381 | let tok = try!(self.peek()); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/parser.rs:407:23 | 407 | let mut tok = try!(self.peek()); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/parser.rs:420:29 | 420 | anchor_id = try!(self.register_anchor(&name, &tok.0)); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/parser.rs:422:23 | 422 | tok = try!(self.peek()); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/parser.rs:426:27 | 426 | tok = try!(self.peek()); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/parser.rs:432:23 | 432 | tok = try!(self.peek()); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/parser.rs:434:33 | 434 | anchor_id = try!(self.register_anchor(&name, &tok.0)); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/parser.rs:436:27 | 436 | tok = try!(self.peek()); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/parser.rs:479:21 | 479 | let _ = try!(self.peek()); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/parser.rs:483:19 | 483 | let tok = try!(self.peek()); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/parser.rs:487:27 | 487 | let tok = try!(self.peek()); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/parser.rs:520:23 | 520 | let tok = try!(self.peek()); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/parser.rs:524:31 | 524 | let tok = try!(self.peek()); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/parser.rs:548:21 | 548 | let _ = try!(self.peek()); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/parser.rs:551:23 | 551 | let mut tok = try!(self.peek()); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/parser.rs:557:27 | 557 | tok = try!(self.peek()); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/parser.rs:566:23 | 566 | tok = try!(self.peek()); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/parser.rs:595:19 | 595 | let tok = try!(self.peek()); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/parser.rs:603:23 | 603 | let tok = try!(self.peek()); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/parser.rs:621:21 | 621 | let _ = try!(self.peek()); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/parser.rs:625:23 | 625 | let mut tok = try!(self.peek()); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/parser.rs:634:23 | 634 | tok = try!(self.peek()); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/parser.rs:661:23 | 661 | let mut tok = try!(self.peek()); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/parser.rs:668:15 | 668 | tok = try!(self.peek()); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/parser.rs:687:21 | 687 | let _ = try!(self.peek()); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/parser.rs:691:23 | 691 | let mut tok = try!(self.peek()); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/parser.rs:700:23 | 700 | tok = try!(self.peek()); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/parser.rs:721:19 | 721 | let tok = try!(self.peek()); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/parser.rs:739:19 | 739 | let tok = try!(self.peek()); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/parser.rs:744:31 | 744 | let tok = try!(self.peek()); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/emitter.rs:28:5 | 28 | try!(wr.write_str("\"")); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/emitter.rs:85:5 | 85 | try!(wr.write_str("\"")); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/emitter.rs:76:9 | 76 | try!(wr.write_str(escaped)); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/emitter.rs:73:13 | 73 | try!(wr.write_str(&v[start..i])); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/emitter.rs:82:9 | 82 | try!(wr.write_str(&v[start..])); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/emitter.rs:101:9 | 101 | try!(write!(self.writer, "---\n")); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/emitter.rs:110:17 | 110 | try!(write!(self.writer, " ")); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/emitter.rs:119:21 | 119 | try!(write!(self.writer, "[")); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/emitter.rs:130:21 | 130 | try!(write!(self.writer, "]")); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/emitter.rs:121:25 | 121 | try!(write!(self.writer, "+ ")); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/emitter.rs:125:25 | 125 | try!(self.write_indent()); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/emitter.rs:127:25 | 127 | try!(self.emit_node(x)); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/emitter.rs:126:38 | 126 | if cnt > 0 { try!(write!(self.writer, ", ")); } | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/emitter.rs:134:21 | 134 | try!(self.writer.write_str("{")); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/emitter.rs:150:21 | 150 | try!(self.writer.write_str("}")); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/emitter.rs:147:25 | 147 | try!(write!(self.writer, ": ")); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/emitter.rs:148:25 | 148 | try!(self.emit_node(v)); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/emitter.rs:138:29 | 138 | ... try!(write!(self.writer, ", ")); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/emitter.rs:145:36 | 145 | ... _ => { try!(self.emit_node(k)); } | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/emitter.rs:162:21 | 162 | try!(write!(self.writer, "[]")); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/emitter.rs:166:25 | 166 | try!(write!(self.writer, "\n")); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/emitter.rs:173:25 | 173 | try!(self.write_indent()); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/emitter.rs:174:25 | 174 | try!(write!(self.writer, "- ")); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/emitter.rs:175:25 | 175 | try!(self.emit_node(x)); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/emitter.rs:171:29 | 171 | ... try!(write!(self.writer, "\n")); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/emitter.rs:183:21 | 183 | try!(self.writer.write_str("{}")); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/emitter.rs:187:25 | 187 | try!(write!(self.writer, "\n")); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/emitter.rs:194:25 | 194 | try!(self.write_indent()); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/emitter.rs:202:25 | 202 | try!(write!(self.writer, ": ")); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/emitter.rs:203:25 | 203 | try!(self.emit_node(v)); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/emitter.rs:192:29 | 192 | ... try!(write!(self.writer, "\n")); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/emitter.rs:197:33 | 197 | ... try!(self.emit_node_compact(k)); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/emitter.rs:200:36 | 200 | ... _ => { try!(self.emit_node(k)); } | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/emitter.rs:211:21 | 211 | try!(escape_str(self.writer, v)); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/emitter.rs:214:21 | 214 | try!(write!(self.writer, "{}", v)); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/emitter.rs:220:21 | 220 | try!(self.writer.write_str("true")); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/emitter.rs:222:21 | 222 | try!(self.writer.write_str("false")); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/emitter.rs:227:17 | 227 | try!(write!(self.writer, "{}", v)); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/emitter.rs:231:17 | 231 | try!(write!(self.writer, "{}", v)); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/emitter.rs:235:17 | 235 | try!(write!(self.writer, "~")); | ^^^ warning: `...` range patterns are deprecated --> src/emitter.rs:266:139 | 266 | ...' | '=' | '!' | '%' | '@' | '`' | '\\' | '\0' ... '\x06' | '\t' | '\n' | '\r' | '\x0e' ... '\x1a' | '\x1c' ... '\x1f' => 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/emitter.rs:266:180 | 266 | ...'\0' ... '\x06' | '\t' | '\n' | '\r' | '\x0e' ... '\x1a' | '\x1c' ... '\x1f' => 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/emitter.rs:266:200 | 266 | ...t' | '\n' | '\r' | '\x0e' ... '\x1a' | '\x1c' ... '\x1f' => 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: trait objects without an explicit `dyn` are deprecated --> src/emitter.rs:18:21 | 18 | writer: &'a mut fmt::Write, | ^^^^^^^^^^ | = 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` | 18 | writer: &'a mut dyn fmt::Write, | +++ warning: trait objects without an explicit `dyn` are deprecated --> src/scanner.rs:58:32 | 58 | fn cause(&self) -> Option<&Error> { | ^^^^^ | = 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` | 58 | fn cause(&self) -> Option<&dyn Error> { | +++ warning: trait objects without an explicit `dyn` are deprecated --> src/emitter.rs:27:24 | 27 | fn escape_str(wr: &mut fmt::Write, v: &str) -> Result<(), fmt::Error> { | ^^^^^^^^^^ | = 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` | 27 | fn escape_str(wr: &mut dyn fmt::Write, v: &str) -> Result<(), fmt::Error> { | +++ warning: trait objects without an explicit `dyn` are deprecated --> src/emitter.rs:90:32 | 90 | pub fn new(writer: &'a mut fmt::Write) -> YamlEmitter { | ^^^^^^^^^^ | = 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` | 90 | pub fn new(writer: &'a mut dyn fmt::Write) -> YamlEmitter { | +++ warning: unused import: `std::str::FromStr` --> src/yaml.rs:5:5 | 5 | use std::str::FromStr; | ^^^^^^^^^^^^^^^^^ | = note: `#[warn(unused_imports)]` on by default warning: variable does not need to be mutable --> src/yaml.rs:178:25 | 178 | let mut cur_key = self.key_stack.last_mut().unwrap(); | ----^^^^^^^ | | | help: remove this `mut` | = note: `#[warn(unused_mut)]` on by default warning: field `marks` is never read --> src/parser.rs:71:5 | 67 | pub struct Parser { | ------ field in this struct ... 71 | marks: Vec, | ^^^^^ | = note: `Parser` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis = note: `#[warn(dead_code)]` on by default error: rustc interrupted by SIGSEGV, printing backtrace /lib64/lp64d/librustc_driver-c309084a720e38a9.so(+0x9de4b2)[0xffffff899de4b2] linux-vdso.so.1(__vdso_rt_sigreturn+0x0)[0xffffff8c432800] /lib64/lp64d/libc.so.6(syscall+0x1c)[0xffffff88de6264] /lib64/lp64d/libstd-befa7e56df894fae.so(_ZN3std3sys4unix5locks11futex_mutex5Mutex14lock_contended17h95e8e53aa0d0c145E+0x96)[0xffffff88f0ae08] /lib64/lp64d/libstd-befa7e56df894fae.so(_ZN3std3sys4unix5locks13futex_condvar7Condvar4wait17h9735986bca56331dE+0x9e)[0xffffff88f4754e] /lib64/lp64d/librustc_driver-c309084a720e38a9.so(+0x2323870)[0xffffff8b323870] /lib64/lp64d/librustc_driver-c309084a720e38a9.so(+0x2323ab6)[0xffffff8b323ab6] /lib64/lp64d/librustc_driver-c309084a720e38a9.so(+0x23250ec)[0xffffff8b3250ec] /lib64/lp64d/librustc_driver-c309084a720e38a9.so(+0x2323b76)[0xffffff8b323b76] /lib64/lp64d/libstd-befa7e56df894fae.so(rust_metadata_std_2a86bed24e1ebfc9+0xabf36)[0xffffff88f45f36] /lib64/lp64d/libc.so.6(+0x7469c)[0xffffff88d9569c] /lib64/lp64d/libc.so.6(+0xc6c78)[0xffffff88de7c78] note: we would appreciate a report at https://github.com/rust-lang/rust warning: `yaml-rust` (lib) generated 151 warnings (run `cargo fix --lib -p yaml-rust` to apply 14 suggestions) Compiling yaml-rust v0.3.5 (/builddir/build/BUILD/yaml-rust-0.3.5) Running `/usr/bin/rustc --crate-name spec_test tests/spec_test.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --emit=dep-info,link -C opt-level=3 -C embed-bitcode=no -C codegen-units=1 -C debuginfo=2 --test -C metadata=5f21c6aac1dcebe6 -C extra-filename=-5f21c6aac1dcebe6 --out-dir /builddir/build/BUILD/yaml-rust-0.3.5/target/rpm/deps -L dependency=/builddir/build/BUILD/yaml-rust-0.3.5/target/rpm/deps --extern yaml_rust=/builddir/build/BUILD/yaml-rust-0.3.5/target/rpm/deps/libyaml_rust-64727bc46bfdeda8.rlib -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -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 dump_yaml examples/dump_yaml.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type bin --emit=dep-info,link -C opt-level=3 -C embed-bitcode=no -C codegen-units=1 -C debuginfo=2 -C metadata=f26a05397ba2d471 -C extra-filename=-f26a05397ba2d471 --out-dir /builddir/build/BUILD/yaml-rust-0.3.5/target/rpm/examples -L dependency=/builddir/build/BUILD/yaml-rust-0.3.5/target/rpm/deps --extern yaml_rust=/builddir/build/BUILD/yaml-rust-0.3.5/target/rpm/deps/libyaml_rust-64727bc46bfdeda8.rlib -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -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 yaml_rust src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --emit=dep-info,link -C opt-level=3 -C embed-bitcode=no -C codegen-units=1 -C debuginfo=2 --test -C metadata=b6b8c7ce65d3d1ab -C extra-filename=-b6b8c7ce65d3d1ab --out-dir /builddir/build/BUILD/yaml-rust-0.3.5/target/rpm/deps -L dependency=/builddir/build/BUILD/yaml-rust-0.3.5/target/rpm/deps -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn` warning: unused import: `yaml::*` --> src/emitter.rs:281:9 | 281 | use yaml::*; | ^^^^^^^ | = note: `#[warn(unused_imports)]` on by default warning: use of deprecated macro `try`: use the `?` operator instead --> src/lib.rs:105:17 | 105 | let t = try!(YamlLoader::load_from_str(s)); | ^^^ warning: unused import: `std::str::FromStr` --> src/yaml.rs:5:5 | 5 | use std::str::FromStr; | ^^^^^^^^^^^^^^^^^ error: rustc interrupted by SIGSEGV, printing backtrace /lib64/lp64d/librustc_driver-c309084a720e38a9.so(+0x9de4b2)[0xffffffa89de4b2] linux-vdso.so.1(__vdso_rt_sigreturn+0x0)[0xffffffab498800] /lib64/lp64d/libc.so.6(syscall+0x1c)[0xffffffa7de6264] /lib64/lp64d/libstd-befa7e56df894fae.so(_ZN3std3sys4unix5locks11futex_mutex5Mutex14lock_contended17h95e8e53aa0d0c145E+0x96)[0xffffffa7f0ae08] /lib64/lp64d/libstd-befa7e56df894fae.so(_ZN3std3sys4unix5locks13futex_condvar7Condvar4wait17h9735986bca56331dE+0x9e)[0xffffffa7f4754e] /lib64/lp64d/librustc_driver-c309084a720e38a9.so(+0x2323870)[0xffffffaa323870] /lib64/lp64d/librustc_driver-c309084a720e38a9.so(+0x2323ab6)[0xffffffaa323ab6] /lib64/lp64d/librustc_driver-c309084a720e38a9.so(+0x23250ec)[0xffffffaa3250ec] /lib64/lp64d/librustc_driver-c309084a720e38a9.so(+0x2323b76)[0xffffffaa323b76] /lib64/lp64d/libstd-befa7e56df894fae.so(rust_metadata_std_2a86bed24e1ebfc9+0xabf36)[0xffffffa7f45f36] /lib64/lp64d/libc.so.6(+0x7469c)[0xffffffa7d9569c] /lib64/lp64d/libc.so.6(+0xc6c78)[0xffffffa7de7c78] note: we would appreciate a report at https://github.com/rust-lang/rust error: rustc interrupted by SIGSEGV, printing backtrace /lib64/lp64d/librustc_driver-c309084a720e38a9.so(+0x9de4b2)[0xffffff9e3de4b2] linux-vdso.so.1(__vdso_rt_sigreturn+0x0)[0xffffffa0ec5800] /lib64/lp64d/libc.so.6(syscall+0x1c)[0xffffff9d94c264] /lib64/lp64d/libstd-befa7e56df894fae.so(_ZN3std3sys4unix5locks11futex_mutex5Mutex14lock_contended17h95e8e53aa0d0c145E+0x96)[0xffffffa0dc8e08] /lib64/lp64d/libstd-befa7e56df894fae.so(_ZN3std3sys4unix5locks13futex_condvar7Condvar4wait17h9735986bca56331dE+0x9e)[0xffffffa0e0554e] /lib64/lp64d/librustc_driver-c309084a720e38a9.so(+0x2323870)[0xffffff9fd23870] /lib64/lp64d/librustc_driver-c309084a720e38a9.so(+0x2323ab6)[0xffffff9fd23ab6] /lib64/lp64d/librustc_driver-c309084a720e38a9.so(+0x23250ec)[0xffffff9fd250ec] /lib64/lp64d/librustc_driver-c309084a720e38a9.so(+0x2323b76)[0xffffff9fd23b76] /lib64/lp64d/libstd-befa7e56df894fae.so(rust_metadata_std_2a86bed24e1ebfc9+0xabf36)[0xffffffa0e03f36] /lib64/lp64d/libc.so.6(+0x7469c)[0xffffff9d8fb69c] /lib64/lp64d/libc.so.6(+0xc6c78)[0xffffff9d94dc78] note: we would appreciate a report at https://github.com/rust-lang/rust error: rustc interrupted by SIGSEGV, printing backtrace /lib64/lp64d/librustc_driver-c309084a720e38a9.so(+0x9de4b2)[0xffffff987de4b2] linux-vdso.so.1(__vdso_rt_sigreturn+0x0)[0xffffff9b228800] /lib64/lp64d/libc.so.6(syscall+0x1c)[0xffffff97be6264] /lib64/lp64d/libstd-befa7e56df894fae.so(_ZN3std3sys4unix5locks13futex_condvar7Condvar4wait17h9735986bca56331dE+0x64)[0xffffff97d47514] /lib64/lp64d/librustc_driver-c309084a720e38a9.so(+0x2323870)[0xffffff9a123870] /lib64/lp64d/librustc_driver-c309084a720e38a9.so(+0x2323ab6)[0xffffff9a123ab6] /lib64/lp64d/librustc_driver-c309084a720e38a9.so(+0x23250ec)[0xffffff9a1250ec] /lib64/lp64d/librustc_driver-c309084a720e38a9.so(+0x2323b76)[0xffffff9a123b76] /lib64/lp64d/libstd-befa7e56df894fae.so(rust_metadata_std_2a86bed24e1ebfc9+0xabf36)[0xffffff97d45f36] /lib64/lp64d/libc.so.6(+0x7469c)[0xffffff97b9569c] /lib64/lp64d/libc.so.6(+0xc6c78)[0xffffff97be7c78] note: we would appreciate a report at https://github.com/rust-lang/rust warning: `yaml-rust` (lib test) generated 153 warnings (150 duplicates) (run `cargo fix --lib -p yaml-rust --tests` to apply 1 suggestion) Finished rpm [optimized + debuginfo] target(s) in 3m 18s Running `/builddir/build/BUILD/yaml-rust-0.3.5/target/rpm/deps/yaml_rust-b6b8c7ce65d3d1ab` running 31 tests test scanner::test::test_a_flow_mapping ... ok test scanner::test::test_a_flow_sequence ... ok test scanner::test::test_block_mappings ... ok test emitter::tests::test_emit_simple ... ok test emitter::tests::test_emit_avoid_quotes ... ok test emitter::tests::test_emit_complex ... ok test scanner::test::test_block_sequences ... ok test scanner::test::test_collections_in_mapping ... ok test scanner::test::test_collections_in_sequence ... ok test scanner::test::test_empty ... ok test scanner::test::test_explicit_scalar ... ok test scanner::test::test_multiple_documents ... ok test scanner::test::test_no_block_sequence_start ... ok test scanner::test::test_scalar ... ok test scanner::test::test_scanner_cr ... ok test scanner::test::test_spec_ex7_3 ... ok test scanner::test::test_uri ... ok test scanner::test::test_uri_escapes ... ok test tests::test_fail ... ok test tests::test_api ... ok test yaml::test::test_anchor ... ok test yaml::test::test_bad_anchor ... ok test yaml::test::test_bad_docstart ... ok test yaml::test::test_bad_hypen ... ok test yaml::test::test_coerce ... ok test yaml::test::test_empty_doc ... ok test yaml::test::test_github_27 ... ok test yaml::test::test_parser ... ok test yaml::test::test_multi_doc ... ok test yaml::test::test_plain_datatype_with_into_methods ... ok test yaml::test::test_plain_datatype ... ok test result: ok. 31 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.12s Running `/builddir/build/BUILD/yaml-rust-0.3.5/target/rpm/deps/spec_test-5f21c6aac1dcebe6` running 92 tests test test_ex2_10_simple_anchor ... ok test test_ex2_12_compact_nested_mapping ... ok test test_ex2_14_in_folded_scalars_newlines_become_spaces ... ok test test_ex2_13_in_literals_newlines_are_preserved ... ok test test_ex2_11_mapping_between_sequences ... ok test test_ex2_15_folded_newlines_are_preserved_for_more_indented_and_blank_lines ... ok test test_ex2_16_indentation_determines_scope ... ok test test_ex2_17_quoted_scalars ... ok test test_ex2_18_multi_line_flow_scalars ... ok test test_ex2_1_seq_scalars ... ok test test_ex2_23_various_explicit_tags ... ok test test_ex2_24_global_tags ... ok test test_ex2_26_ordered_mappings ... ok test test_ex2_25_unordered_sets ... ok test test_ex2_27_invoice ... ok test test_ex2_2_mapping_scalars_to_scalars ... ok test test_ex2_3_mapping_scalars_to_sequences ... ok test test_ex2_28_log_file ... ok test test_ex2_5_sequence_of_sequences ... ok test test_ex2_4_sequence_of_mappings ... ok test test_ex2_7_two_documents_in_a_stream ... ok test test_ex2_6_mapping_of_mappings ... ok test test_ex2_8_play_by_play_feed ... ok test test_ex2_9_single_document_with_two_comments ... ok test test_ex5_11_line_break_characters ... ok test test_ex5_12_tabs_and_spaces ... ok test test_ex5_3_block_structure_indicators ... ok test test_ex5_13_escaped_characters ... ok test test_ex5_4_flow_structure_indicators ... ok test test_ex5_6_node_property_indicators ... ok test test_ex5_7_block_scalar_indicators ... ok test test_ex5_8_quoted_scalar_indicators ... ok test test_ex6_12_separation_spaces_ii ... ok test test_ex6_13_reserved_directives ... ok test test_ex6_14_yaml_directive ... ok test test_ex6_16_tag_directive ... ok test test_ex6_18_primary_tag_handle ... ok test test_ex6_19_secondary_tag_handle ... ok test test_ex6_20_tag_handles ... ok test test_ex6_21_local_tag_prefix ... ok test test_ex6_22_global_tag_prefix ... ok test test_ex6_1_indentation_spaces ... ok test test_ex6_23_node_properties ... ok test test_ex6_28_non_specific_tags ... ok test test_ex6_26_tag_shorthands ... ok test test_ex6_24_verbatim_tags ... ok test test_ex6_2_indentation_indicators ... ok test test_ex6_29_node_anchors ... ok test test_ex6_4_line_prefixes ... ok test test_ex6_3_separation_spaces ... ok test test_ex6_5_empty_lines ... ok test test_ex6_6_line_folding ... ok test test_ex6_8_flow_folding ... ok test test_ex6_7_block_folding ... ok test test_ex6_9_separated_comment ... ok test test_ex7_11_plain_implicit_keys ... ok test test_ex7_13_flow_sequence ... ok test test_ex7_12_plain_lines ... ok test test_ex7_16_flow_mapping_entries ... ok test test_ex7_15_flow_mappings ... ok test test_ex7_14_flow_sequence_entries ... ok test test_ex7_19_single_pair_flow_mappings ... ok test test_ex7_20_single_pair_explicit_entry ... ok test test_ex7_18_flow_mapping_adjacent_values ... ok test test_ex7_1_alias_nodes ... ok test test_ex7_23_flow_content ... ok test test_ex7_24_flow_nodes ... ok test test_ex7_3_completely_empty_nodes ... ok test test_ex7_5_double_quoted_line_breaks ... ok test test_ex7_4_double_quoted_implicit_keys ... ok test test_ex7_7_single_quoted_characters ... ok test test_ex7_6_double_quoted_lines ... ok test test_ex7_9_single_quoted_lines ... ok test test_ex7_8_single_quoted_implicit_keys ... ok test test_ex8_10_folded_lines ... ok test test_ex8_12_empty_separation_lines ... ok test test_ex8_11_more_indented_lines ... ok test test_ex8_13_final_empty_lines ... ok test test_ex8_16_block_mappings ... ok test test_ex8_14_block_sequence ... ok test test_ex8_15_block_sequence_entry_types ... ok test test_ex8_18_implicit_block_mapping_entries ... ok test test_ex8_19_compact_block_mappings ... ok test test_ex8_1_block_scalar_header ... ok test test_ex8_17_explicit_block_mapping_entries ... ok test test_ex8_20_block_node_types ... ok test test_ex8_22_block_collection_nodes ... ok test test_ex8_8_literal_content ... ok test test_ex8_4_chomping_final_line_break ... ok test test_ex8_7_literal_scalar ... ok test test_ex8_9_folded_scalar ... ok test test_ex8_6_empty_scalar_chomping ... ok test result: ok. 92 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.22s Doc-tests yaml-rust Running `/usr/bin/rustdoc --crate-type lib --crate-name yaml_rust --test src/lib.rs --test-run-directory /builddir/build/BUILD/yaml-rust-0.3.5 -L dependency=/builddir/build/BUILD/yaml-rust-0.3.5/target/rpm/deps -L dependency=/builddir/build/BUILD/yaml-rust-0.3.5/target/rpm/deps --extern yaml_rust=/builddir/build/BUILD/yaml-rust-0.3.5/target/rpm/deps/libyaml_rust-64727bc46bfdeda8.rlib -C embed-bitcode=no --error-format human` warning: `...` range patterns are deprecated --> src/scanner.rs:184:12 | 184 | '0'...'9' | 'a'...'z' | 'A'...'Z' => 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 = note: `#[warn(ellipsis_inclusive_range_patterns)]` on by default warning: `...` range patterns are deprecated --> src/scanner.rs:184:24 | 184 | '0'...'9' | 'a'...'z' | 'A'...'Z' => 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/scanner.rs:184:36 | 184 | '0'...'9' | 'a'...'z' | 'A'...'Z' => 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/scanner.rs:198:12 | 198 | '0'...'9' => (c as u32) - ('0' as u32), | ^^^ 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/scanner.rs:199:12 | 199 | 'a'...'f' => (c as u32) - ('a' as u32) + 10, | ^^^ 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/scanner.rs:200:12 | 200 | 'A'...'F' => (c as u32) - ('A' as u32) + 10, | ^^^ 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/emitter.rs:266:139 | 266 | ...' | '=' | '!' | '%' | '@' | '`' | '\\' | '\0' ... '\x06' | '\t' | '\n' | '\r' | '\x0e' ... '\x1a' | '\x1c' ... '\x1f' => 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/emitter.rs:266:180 | 266 | ...'\0' ... '\x06' | '\t' | '\n' | '\r' | '\x0e' ... '\x1a' | '\x1c' ... '\x1f' => 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/emitter.rs:266:200 | 266 | ...t' | '\n' | '\r' | '\x0e' ... '\x1a' | '\x1c' ... '\x1f' => 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: 9 warnings emitted running 3 tests test src/lib.rs - (line 18) ... ok test src/yaml.rs - yaml::Yaml (line 16) ... ok test src/lib.rs - (line 26) ... ok test result: ok. 3 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 12.77s + RPM_EC=0 ++ jobs -p + exit 0 Processing files: rust-yaml-rust0.3-devel-0.3.5-1.fc40.noarch warning: File listed twice: /usr/share/cargo/registry/yaml-rust-0.3.5/LICENSE-APACHE warning: File listed twice: /usr/share/cargo/registry/yaml-rust-0.3.5/LICENSE-MIT warning: File listed twice: /usr/share/cargo/registry/yaml-rust-0.3.5/README.md Provides: crate(yaml-rust) = 0.3.5 rust-yaml-rust0.3-devel = 0.3.5-1.fc40 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: /usr/bin/ruby cargo Processing files: rust-yaml-rust0.3+default-devel-0.3.5-1.fc40.noarch Provides: crate(yaml-rust/default) = 0.3.5 rust-yaml-rust0.3+default-devel = 0.3.5-1.fc40 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: cargo crate(yaml-rust) = 0.3.5 Processing files: rust-yaml-rust0.3+linked-hash-map-devel-0.3.5-1.fc40.noarch Provides: crate(yaml-rust/linked-hash-map) = 0.3.5 rust-yaml-rust0.3+linked-hash-map-devel = 0.3.5-1.fc40 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: (crate(linked-hash-map/default) >= 0.0.9 with crate(linked-hash-map/default) < 0.6.0~) cargo crate(yaml-rust) = 0.3.5 Processing files: rust-yaml-rust0.3+preserve_order-devel-0.3.5-1.fc40.noarch Provides: crate(yaml-rust/preserve_order) = 0.3.5 rust-yaml-rust0.3+preserve_order-devel = 0.3.5-1.fc40 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: cargo crate(yaml-rust) = 0.3.5 crate(yaml-rust/linked-hash-map) = 0.3.5 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/rust-yaml-rust0.3-0.3.5-1.fc40.riscv64 Wrote: /builddir/build/SRPMS/rust-yaml-rust0.3-0.3.5-1.fc40.src.rpm Wrote: /builddir/build/RPMS/rust-yaml-rust0.3+default-devel-0.3.5-1.fc40.noarch.rpm Wrote: /builddir/build/RPMS/rust-yaml-rust0.3+linked-hash-map-devel-0.3.5-1.fc40.noarch.rpm Wrote: /builddir/build/RPMS/rust-yaml-rust0.3+preserve_order-devel-0.3.5-1.fc40.noarch.rpm Wrote: /builddir/build/RPMS/rust-yaml-rust0.3-devel-0.3.5-1.fc40.noarch.rpm RPM build warnings: File listed twice: /usr/share/cargo/registry/yaml-rust-0.3.5/LICENSE-APACHE File listed twice: /usr/share/cargo/registry/yaml-rust-0.3.5/LICENSE-MIT File listed twice: /usr/share/cargo/registry/yaml-rust-0.3.5/README.md Child return code was: 0