Mock Version: 5.6 Mock Version: 5.6 Mock Version: 5.6 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target aarch64 --nodeps /builddir/build/SPECS/rust-yaml-rust0.3.spec'], chrootPath='/var/lib/mock/f42-build-54832579-6530418/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=201600uid=1000gid=425user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_CORE=infinity', '--bind=/tmp/mock-resolv.sp1xfjwv:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueprintOutput=False) Using nspawn with args ['--capability=cap_ipc_lock', '--rlimit=RLIMIT_CORE=infinity', '--bind=/tmp/mock-resolv.sp1xfjwv:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', 'f4411e54004a427bb7a8cf9553e01768', '-D', '/var/lib/mock/f42-build-54832579-6530418/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_CORE=infinity', '--bind=/tmp/mock-resolv.sp1xfjwv:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target aarch64 --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', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False Building target platforms: aarch64 Building for target aarch64 setting SOURCE_DATE_EPOCH=1721433600 Wrote: /builddir/build/SRPMS/rust-yaml-rust0.3-0.3.5-27.fc42.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -br --noclean --target aarch64 --nodeps /builddir/build/SPECS/rust-yaml-rust0.3.spec'], chrootPath='/var/lib/mock/f42-build-54832579-6530418/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=201600uid=1000gid=425user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_CORE=infinity', '--bind=/tmp/mock-resolv.sp1xfjwv:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueraiseExc=FalseprintOutput=False) Using nspawn with args ['--capability=cap_ipc_lock', '--rlimit=RLIMIT_CORE=infinity', '--bind=/tmp/mock-resolv.sp1xfjwv:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', 'dfa2471b399443f780da903c6e74de08', '-D', '/var/lib/mock/f42-build-54832579-6530418/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_CORE=infinity', '--bind=/tmp/mock-resolv.sp1xfjwv:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -br --noclean --target aarch64 --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', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False Building target platforms: aarch64 Building for target aarch64 setting SOURCE_DATE_EPOCH=1721433600 Executing(%mkbuilddir): /bin/sh -e /var/tmp/rpm-tmp.u2u2hO + umask 022 + cd /builddir/build/BUILD/rust-yaml-rust0.3-0.3.5-build + test -d /builddir/build/BUILD/rust-yaml-rust0.3-0.3.5-build + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w /builddir/build/BUILD/rust-yaml-rust0.3-0.3.5-build + /usr/bin/rm -rf /builddir/build/BUILD/rust-yaml-rust0.3-0.3.5-build + /usr/bin/mkdir -p /builddir/build/BUILD/rust-yaml-rust0.3-0.3.5-build + /usr/bin/mkdir -p /builddir/build/BUILD/rust-yaml-rust0.3-0.3.5-build/SPECPARTS + RPM_EC=0 ++ jobs -p + exit 0 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.lHVoCG + umask 022 + cd /builddir/build/BUILD/rust-yaml-rust0.3-0.3.5-build + cd /builddir/build/BUILD/rust-yaml-rust0.3-0.3.5-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 + /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.qd10ul + umask 022 + cd /builddir/build/BUILD/rust-yaml-rust0.3-0.3.5-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-27.fc42.buildreqs.nosrc.rpm Child return code was: 11 Dynamic buildrequires detected Going to install missing buildrequires. See root.log for details. ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -ba --noprep --noclean --target aarch64 /builddir/build/SPECS/rust-yaml-rust0.3.spec'], chrootPath='/var/lib/mock/f42-build-54832579-6530418/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=201600uid=1000gid=425user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_CORE=infinity', '--bind=/tmp/mock-resolv.sp1xfjwv:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueprintOutput=False) Using nspawn with args ['--capability=cap_ipc_lock', '--rlimit=RLIMIT_CORE=infinity', '--bind=/tmp/mock-resolv.sp1xfjwv:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '3419f64b2ddc4a8bbc037c51169d1524', '-D', '/var/lib/mock/f42-build-54832579-6530418/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_CORE=infinity', '--bind=/tmp/mock-resolv.sp1xfjwv:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -ba --noprep --noclean --target aarch64 /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', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False Building target platforms: aarch64 Building for target aarch64 setting SOURCE_DATE_EPOCH=1721433600 Executing(%generate_buildrequires): /bin/sh -e /var/tmp/rpm-tmp.dCS3sU + umask 022 + cd /builddir/build/BUILD/rust-yaml-rust0.3-0.3.5-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.02iu84 + umask 022 + cd /builddir/build/BUILD/rust-yaml-rust0.3-0.3.5-build + CFLAGS='-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 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-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 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-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 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-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 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-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=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -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=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' /usr/bin/cargo build -j80 -Z avoid-dev-deps --profile rpm warning: no edition set: defaulting to the 2015 edition while the latest is 2021 Compiling yaml-rust v0.3.5 (/builddir/build/BUILD/rust-yaml-rust0.3-0.3.5-build/yaml-rust-0.3.5) Running `/usr/bin/rustc --crate-name yaml_rust --edition=2015 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 --check-cfg 'cfg(docsrs)' --check-cfg 'cfg(feature, values("linked-hash-map", "preserve_order"))' -C metadata=2c18f796c9cd14f9 -C extra-filename=-2c18f796c9cd14f9 --out-dir /builddir/build/BUILD/rust-yaml-rust0.3-0.3.5-build/yaml-rust-0.3.5/target/rpm/deps -L dependency=/builddir/build/BUILD/rust-yaml-rust0.3-0.3.5-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=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn` warning: unexpected `cfg` condition value: `clippy` --> src/lib.rs:39:13 | 39 | #![cfg_attr(feature="clippy", feature(plugin))] | ^^^^^^^^^^^^^^^^ | = note: expected values for `feature` are: `linked-hash-map` and `preserve_order` = help: consider adding `clippy` as a feature in `Cargo.toml` = note: see for more information about checking conditional configuration = note: `#[warn(unexpected_cfgs)]` on by default warning: unexpected `cfg` condition value: `clippy` --> src/lib.rs:40:13 | 40 | #![cfg_attr(feature="clippy", plugin(clippy))] | ^^^^^^^^^^^^^^^^ | = note: expected values for `feature` are: `linked-hash-map` and `preserve_order` = help: consider adding `clippy` as a feature in `Cargo.toml` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition value: `clippy` --> src/lib.rs:41:13 | 41 | #![cfg_attr(feature="clippy", deny(clippy))] | ^^^^^^^^^^^^^^^^ | = note: expected values for `feature` are: `linked-hash-map` and `preserve_order` = help: consider adding `clippy` as a feature in `Cargo.toml` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition value: `clippy` --> src/lib.rs:42:13 | 42 | #![cfg_attr(feature="clippy", warn(cyclomatic_complexity))] | ^^^^^^^^^^^^^^^^ | = note: expected values for `feature` are: `linked-hash-map` and `preserve_order` = help: consider adding `clippy` as a feature in `Cargo.toml` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition value: `clippy` --> src/lib.rs:43:13 | 43 | #![cfg_attr(feature="clippy", allow(match_same_arms))] | ^^^^^^^^^^^^^^^^ | = note: expected values for `feature` are: `linked-hash-map` and `preserve_order` = help: consider adding `clippy` as a feature in `Cargo.toml` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition value: `clippy` --> src/yaml.rs:287:12 | 287 | #[cfg_attr(feature="clippy", allow(should_implement_trait))] | ^^^^^^^^^^^^^^^^ | = note: expected values for `feature` are: `linked-hash-map` and `preserve_order` = help: consider adding `clippy` as a feature in `Cargo.toml` = note: see for more information about checking conditional configuration 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: if this is an object-safe trait, 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: if this is an object-safe trait, use `dyn` | 58 | fn cause(&self) -> Option<&dyn 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: if this is an object-safe trait, use `dyn` | 90 | pub fn new(writer: &'a mut dyn fmt::Write) -> YamlEmitter { | +++ 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: if this is an object-safe trait, use `dyn` | 27 | fn escape_str(wr: &mut dyn fmt::Write, v: &str) -> Result<(), fmt::Error> { | +++ 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 warning: `yaml-rust` (lib) generated 157 warnings (run `cargo fix --lib -p yaml-rust` to apply 14 suggestions) Finished `rpm` profile [optimized + debuginfo] target(s) in 5.04s + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.2YRzTK + umask 022 + cd /builddir/build/BUILD/rust-yaml-rust0.3-0.3.5-build + '[' /builddir/build/BUILD/rust-yaml-rust0.3-0.3.5-build/BUILDROOT '!=' / ']' + rm -rf /builddir/build/BUILD/rust-yaml-rust0.3-0.3.5-build/BUILDROOT ++ dirname /builddir/build/BUILD/rust-yaml-rust0.3-0.3.5-build/BUILDROOT + mkdir -p /builddir/build/BUILD/rust-yaml-rust0.3-0.3.5-build + mkdir /builddir/build/BUILD/rust-yaml-rust0.3-0.3.5-build/BUILDROOT + CFLAGS='-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 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-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 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-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 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-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 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-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=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -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 ']' + '[' 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/BUILD/rust-yaml-rust0.3-0.3.5-build/BUILDROOT/usr/share/cargo/registry/yaml-rust-0.3.5 + /usr/bin/mkdir -p /builddir/build/BUILD/rust-yaml-rust0.3-0.3.5-build/BUILDROOT/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=-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/BUILD/rust-yaml-rust0.3-0.3.5-build/BUILDROOT/usr/share/cargo/registry/yaml-rust-0.3.5 warning: no (git) VCS found for `/builddir/build/BUILD/rust-yaml-rust0.3-0.3.5-build/yaml-rust-0.3.5` + /usr/bin/mv Cargo.toml.deps Cargo.toml + /usr/bin/cp -a Cargo.toml /builddir/build/BUILD/rust-yaml-rust0.3-0.3.5-build/BUILDROOT/usr/share/cargo/registry/yaml-rust-0.3.5/Cargo.toml + /usr/bin/rm -f /builddir/build/BUILD/rust-yaml-rust0.3-0.3.5-build/BUILDROOT/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 -j80 + /usr/lib/rpm/redhat/brp-python-hardlink + /usr/bin/add-determinism --brp -j80 /builddir/build/BUILD/rust-yaml-rust0.3-0.3.5-build/BUILDROOT Scanned 10 directories and 19 files, processed 0 inodes, 0 modified (0 replaced + 0 rewritten), 0 unsupported format, 0 errors Reading /builddir/build/BUILD/rust-yaml-rust0.3-0.3.5-build/SPECPARTS/rpm-debuginfo.specpart Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.wZO5Jf + umask 022 + cd /builddir/build/BUILD/rust-yaml-rust0.3-0.3.5-build + CFLAGS='-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 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-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 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-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 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-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 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-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=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -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=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' /usr/bin/cargo test -j80 -Z avoid-dev-deps --profile rpm --no-fail-fast warning: no edition set: defaulting to the 2015 edition while the latest is 2021 warning: unexpected `cfg` condition value: `clippy` --> src/lib.rs:39:13 | 39 | #![cfg_attr(feature="clippy", feature(plugin))] | ^^^^^^^^^^^^^^^^ | = note: expected values for `feature` are: `linked-hash-map` and `preserve_order` = help: consider adding `clippy` as a feature in `Cargo.toml` = note: see for more information about checking conditional configuration = note: `#[warn(unexpected_cfgs)]` on by default warning: unexpected `cfg` condition value: `clippy` --> src/lib.rs:40:13 | 40 | #![cfg_attr(feature="clippy", plugin(clippy))] | ^^^^^^^^^^^^^^^^ | = note: expected values for `feature` are: `linked-hash-map` and `preserve_order` = help: consider adding `clippy` as a feature in `Cargo.toml` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition value: `clippy` --> src/lib.rs:41:13 | 41 | #![cfg_attr(feature="clippy", deny(clippy))] | ^^^^^^^^^^^^^^^^ | = note: expected values for `feature` are: `linked-hash-map` and `preserve_order` = help: consider adding `clippy` as a feature in `Cargo.toml` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition value: `clippy` --> src/lib.rs:42:13 | 42 | #![cfg_attr(feature="clippy", warn(cyclomatic_complexity))] | ^^^^^^^^^^^^^^^^ | = note: expected values for `feature` are: `linked-hash-map` and `preserve_order` = help: consider adding `clippy` as a feature in `Cargo.toml` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition value: `clippy` --> src/lib.rs:43:13 | 43 | #![cfg_attr(feature="clippy", allow(match_same_arms))] | ^^^^^^^^^^^^^^^^ | = note: expected values for `feature` are: `linked-hash-map` and `preserve_order` = help: consider adding `clippy` as a feature in `Cargo.toml` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition value: `clippy` --> src/yaml.rs:287:12 | 287 | #[cfg_attr(feature="clippy", allow(should_implement_trait))] | ^^^^^^^^^^^^^^^^ | = note: expected values for `feature` are: `linked-hash-map` and `preserve_order` = help: consider adding `clippy` as a feature in `Cargo.toml` = note: see for more information about checking conditional configuration 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: if this is an object-safe trait, 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: if this is an object-safe trait, use `dyn` | 58 | fn cause(&self) -> Option<&dyn 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: if this is an object-safe trait, use `dyn` | 90 | pub fn new(writer: &'a mut dyn fmt::Write) -> YamlEmitter { | +++ 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: if this is an object-safe trait, use `dyn` | 27 | fn escape_str(wr: &mut dyn fmt::Write, v: &str) -> Result<(), fmt::Error> { | +++ 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 warning: `yaml-rust` (lib) generated 157 warnings (run `cargo fix --lib -p yaml-rust` to apply 14 suggestions) Compiling yaml-rust v0.3.5 (/builddir/build/BUILD/rust-yaml-rust0.3-0.3.5-build/yaml-rust-0.3.5) Running `/usr/bin/rustc --crate-name spec_test --edition=2015 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 --check-cfg 'cfg(docsrs)' --check-cfg 'cfg(feature, values("linked-hash-map", "preserve_order"))' -C metadata=8201c223405b4c5b -C extra-filename=-8201c223405b4c5b --out-dir /builddir/build/BUILD/rust-yaml-rust0.3-0.3.5-build/yaml-rust-0.3.5/target/rpm/deps -L dependency=/builddir/build/BUILD/rust-yaml-rust0.3-0.3.5-build/yaml-rust-0.3.5/target/rpm/deps --extern yaml_rust=/builddir/build/BUILD/rust-yaml-rust0.3-0.3.5-build/yaml-rust-0.3.5/target/rpm/deps/libyaml_rust-2c18f796c9cd14f9.rlib -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn` Running `/usr/bin/rustc --crate-name yaml_rust --edition=2015 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 --check-cfg 'cfg(docsrs)' --check-cfg 'cfg(feature, values("linked-hash-map", "preserve_order"))' -C metadata=b07802de7e98fd43 -C extra-filename=-b07802de7e98fd43 --out-dir /builddir/build/BUILD/rust-yaml-rust0.3-0.3.5-build/yaml-rust-0.3.5/target/rpm/deps -L dependency=/builddir/build/BUILD/rust-yaml-rust0.3-0.3.5-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=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn` Running `/usr/bin/rustc --crate-name dump_yaml --edition=2015 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 --check-cfg 'cfg(docsrs)' --check-cfg 'cfg(feature, values("linked-hash-map", "preserve_order"))' -C metadata=d885769ebf450c5a -C extra-filename=-d885769ebf450c5a --out-dir /builddir/build/BUILD/rust-yaml-rust0.3-0.3.5-build/yaml-rust-0.3.5/target/rpm/examples -L dependency=/builddir/build/BUILD/rust-yaml-rust0.3-0.3.5-build/yaml-rust-0.3.5/target/rpm/deps --extern yaml_rust=/builddir/build/BUILD/rust-yaml-rust0.3-0.3.5-build/yaml-rust-0.3.5/target/rpm/deps/libyaml_rust-2c18f796c9cd14f9.rlib -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -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; | ^^^^^^^^^^^^^^^^^ warning: `yaml-rust` (lib test) generated 159 warnings (156 duplicates) (run `cargo fix --lib -p yaml-rust --tests` to apply 1 suggestion) Finished `rpm` profile [optimized + debuginfo] target(s) in 6.85s Running `/builddir/build/BUILD/rust-yaml-rust0.3-0.3.5-build/yaml-rust-0.3.5/target/rpm/deps/yaml_rust-b07802de7e98fd43` running 31 tests test scanner::test::test_a_flow_mapping ... ok test emitter::tests::test_emit_avoid_quotes ... ok test emitter::tests::test_emit_complex ... ok test scanner::test::test_a_flow_sequence ... ok test emitter::tests::test_emit_simple ... ok test scanner::test::test_block_sequences ... ok test scanner::test::test_collections_in_mapping ... ok test scanner::test::test_empty ... ok test scanner::test::test_block_mappings ... ok test scanner::test::test_explicit_scalar ... ok test scanner::test::test_multiple_documents ... ok test scanner::test::test_collections_in_sequence ... 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_api ... ok test tests::test_fail ... ok test yaml::test::test_bad_anchor ... ok test yaml::test::test_anchor ... 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_bad_docstart ... ok test yaml::test::test_github_27 ... ok test yaml::test::test_multi_doc ... ok test yaml::test::test_parser ... ok test yaml::test::test_plain_datatype ... ok test yaml::test::test_plain_datatype_with_into_methods ... ok test result: ok. 31 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s Running `/builddir/build/BUILD/rust-yaml-rust0.3-0.3.5-build/yaml-rust-0.3.5/target/rpm/deps/spec_test-8201c223405b4c5b` running 92 tests test test_ex2_11_mapping_between_sequences ... ok test test_ex2_13_in_literals_newlines_are_preserved ... ok test test_ex2_10_simple_anchor ... ok test test_ex2_12_compact_nested_mapping ... 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_14_in_folded_scalars_newlines_become_spaces ... ok test test_ex2_17_quoted_scalars ... ok test test_ex2_1_seq_scalars ... ok test test_ex2_23_various_explicit_tags ... ok test test_ex2_18_multi_line_flow_scalars ... ok test test_ex2_24_global_tags ... ok test test_ex2_26_ordered_mappings ... ok test test_ex2_27_invoice ... ok test test_ex2_25_unordered_sets ... ok test test_ex2_3_mapping_scalars_to_sequences ... ok test test_ex2_2_mapping_scalars_to_scalars ... ok test test_ex2_4_sequence_of_mappings ... ok test test_ex2_5_sequence_of_sequences ... ok test test_ex2_6_mapping_of_mappings ... ok test test_ex2_28_log_file ... ok test test_ex2_8_play_by_play_feed ... ok test test_ex2_7_two_documents_in_a_stream ... ok test test_ex5_11_line_break_characters ... ok test test_ex5_12_tabs_and_spaces ... ok test test_ex5_13_escaped_characters ... ok test test_ex5_3_block_structure_indicators ... ok test test_ex5_4_flow_structure_indicators ... ok test test_ex2_9_single_document_with_two_comments ... 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_14_yaml_directive ... ok test test_ex6_16_tag_directive ... ok test test_ex6_18_primary_tag_handle ... ok test test_ex6_13_reserved_directives ... 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_24_verbatim_tags ... ok test test_ex6_26_tag_shorthands ... ok test test_ex6_28_non_specific_tags ... ok test test_ex6_23_node_properties ... ok test test_ex6_29_node_anchors ... ok test test_ex6_2_indentation_indicators ... ok test test_ex6_3_separation_spaces ... ok test test_ex6_4_line_prefixes ... ok test test_ex6_6_line_folding ... ok test test_ex6_7_block_folding ... ok test test_ex6_8_flow_folding ... ok test test_ex6_5_empty_lines ... ok test test_ex7_11_plain_implicit_keys ... ok test test_ex7_12_plain_lines ... ok test test_ex6_9_separated_comment ... ok test test_ex7_14_flow_sequence_entries ... ok test test_ex7_15_flow_mappings ... ok test test_ex7_16_flow_mapping_entries ... ok test test_ex7_18_flow_mapping_adjacent_values ... ok test test_ex7_13_flow_sequence ... ok test test_ex7_1_alias_nodes ... ok test test_ex7_20_single_pair_explicit_entry ... ok test test_ex7_19_single_pair_flow_mappings ... 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_4_double_quoted_implicit_keys ... ok test test_ex7_5_double_quoted_line_breaks ... ok test test_ex7_7_single_quoted_characters ... ok test test_ex7_8_single_quoted_implicit_keys ... ok test test_ex7_9_single_quoted_lines ... ok test test_ex7_6_double_quoted_lines ... ok test test_ex8_11_more_indented_lines ... ok test test_ex8_12_empty_separation_lines ... ok test test_ex8_10_folded_lines ... ok test test_ex8_13_final_empty_lines ... ok test test_ex8_14_block_sequence ... ok test test_ex8_15_block_sequence_entry_types ... ok test test_ex8_16_block_mappings ... ok test test_ex8_17_explicit_block_mapping_entries ... 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_20_block_node_types ... ok test test_ex8_22_block_collection_nodes ... ok test test_ex8_4_chomping_final_line_break ... ok test test_ex8_7_literal_scalar ... ok test test_ex8_8_literal_content ... 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.01s Doc-tests yaml_rust Running `/usr/bin/rustdoc --edition=2015 --crate-type lib --color auto --crate-name yaml_rust --test src/lib.rs --test-run-directory /builddir/build/BUILD/rust-yaml-rust0.3-0.3.5-build/yaml-rust-0.3.5 -L dependency=/builddir/build/BUILD/rust-yaml-rust0.3-0.3.5-build/yaml-rust-0.3.5/target/rpm/deps -L dependency=/builddir/build/BUILD/rust-yaml-rust0.3-0.3.5-build/yaml-rust-0.3.5/target/rpm/deps --extern yaml_rust=/builddir/build/BUILD/rust-yaml-rust0.3-0.3.5-build/yaml-rust-0.3.5/target/rpm/deps/libyaml_rust-2c18f796c9cd14f9.rlib -C embed-bitcode=no --check-cfg 'cfg(docsrs)' --check-cfg 'cfg(feature, values("linked-hash-map", "preserve_order"))' --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 0.32s + RPM_EC=0 ++ jobs -p + exit 0 Processing files: rust-yaml-rust0.3-devel-0.3.5-27.fc42.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-27.fc42 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-27.fc42.noarch Provides: crate(yaml-rust/default) = 0.3.5 rust-yaml-rust0.3+default-devel = 0.3.5-27.fc42 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-27.fc42.noarch Provides: crate(yaml-rust/linked-hash-map) = 0.3.5 rust-yaml-rust0.3+linked-hash-map-devel = 0.3.5-27.fc42 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-27.fc42.noarch Provides: crate(yaml-rust/preserve_order) = 0.3.5 rust-yaml-rust0.3+preserve_order-devel = 0.3.5-27.fc42 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/BUILD/rust-yaml-rust0.3-0.3.5-build/BUILDROOT Wrote: /builddir/build/SRPMS/rust-yaml-rust0.3-0.3.5-27.fc42.src.rpm Wrote: /builddir/build/RPMS/rust-yaml-rust0.3+preserve_order-devel-0.3.5-27.fc42.noarch.rpm Wrote: /builddir/build/RPMS/rust-yaml-rust0.3+linked-hash-map-devel-0.3.5-27.fc42.noarch.rpm Wrote: /builddir/build/RPMS/rust-yaml-rust0.3+default-devel-0.3.5-27.fc42.noarch.rpm Wrote: /builddir/build/RPMS/rust-yaml-rust0.3-devel-0.3.5-27.fc42.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