Mock Version: 3.5 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/rust-scan-rules.spec'], chrootPath='/var/lib/mock/fedora-rawhide-x86_64-1670726664.758794/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=0uid=1001gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.251w6dhu:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--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=True) Using nspawn with args ['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.251w6dhu:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--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', '9376927a57144c9391598a1034e79a3d', '-D', '/var/lib/mock/fedora-rawhide-x86_64-1670726664.758794/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.251w6dhu:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--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 --target x86_64 --nodeps /builddir/build/SPECS/rust-scan-rules.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: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1622493406 Wrote: /builddir/build/SRPMS/rust-scan-rules-0.2.0-1.fc38.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -br --target x86_64 --nodeps /builddir/build/SPECS/rust-scan-rules.spec'], chrootPath='/var/lib/mock/fedora-rawhide-x86_64-1670726664.758794/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=0uid=1001gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.251w6dhu:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--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=True) Using nspawn with args ['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.251w6dhu:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--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', '57543d1f0b8f4c2d90b3b3e00723e96d', '-D', '/var/lib/mock/fedora-rawhide-x86_64-1670726664.758794/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.251w6dhu:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--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 --target x86_64 --nodeps /builddir/build/SPECS/rust-scan-rules.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: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1622493406 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.qsFgET + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf scan-rules-0.2.0 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/scan-rules-0.2.0.crate + STATUS=0 + '[' 0 -ne 0 ']' + cd scan-rules-0.2.0 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/scan-rules-fix-metadata.diff + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/scan-rules-drop-rustc-version-check.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/scan-rules-update-bitflags-1.0.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/disable-failing-tests.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + set -eu + /usr/bin/mkdir -p .cargo + cat + /usr/bin/rm -f Cargo.lock + /usr/bin/rm -f Cargo.toml.orig + RPM_EC=0 ++ jobs -p + exit 0 Executing(%generate_buildrequires): /bin/sh -e /var/tmp/rpm-tmp.kcihMc + umask 022 + cd /builddir/build/BUILD + cd scan-rules-0.2.0 + /usr/bin/cargo-inspector -BR Cargo.toml + /usr/bin/cargo-inspector -TR Cargo.toml + RPM_EC=0 ++ jobs -p + exit 0 Wrote: /builddir/build/SRPMS/rust-scan-rules-0.2.0-1.fc38.buildreqs.nosrc.rpm Child return code was: 11 Dynamic buildrequires detected Going to install missing buildrequires. See root.log for details. ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -br --target x86_64 --nodeps /builddir/build/SPECS/rust-scan-rules.spec'], chrootPath='/var/lib/mock/fedora-rawhide-x86_64-1670726664.758794/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=0uid=1001gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.251w6dhu:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--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=True) Using nspawn with args ['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.251w6dhu:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--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', '1f10ebdac76c4afbad37a161d9328f04', '-D', '/var/lib/mock/fedora-rawhide-x86_64-1670726664.758794/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.251w6dhu:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--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 --target x86_64 --nodeps /builddir/build/SPECS/rust-scan-rules.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: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1622493406 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.246Uh7 + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf scan-rules-0.2.0 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/scan-rules-0.2.0.crate + STATUS=0 + '[' 0 -ne 0 ']' + cd scan-rules-0.2.0 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/scan-rules-fix-metadata.diff + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/scan-rules-drop-rustc-version-check.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/scan-rules-update-bitflags-1.0.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/disable-failing-tests.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + set -eu + /usr/bin/mkdir -p .cargo + cat + /usr/bin/rm -f Cargo.lock + /usr/bin/rm -f Cargo.toml.orig + RPM_EC=0 ++ jobs -p + exit 0 Executing(%generate_buildrequires): /bin/sh -e /var/tmp/rpm-tmp.9cCmjo + umask 022 + cd /builddir/build/BUILD + cd scan-rules-0.2.0 + /usr/bin/cargo-inspector -BR Cargo.toml + /usr/bin/cargo-inspector -TR Cargo.toml + RPM_EC=0 ++ jobs -p + exit 0 Wrote: /builddir/build/SRPMS/rust-scan-rules-0.2.0-1.fc38.buildreqs.nosrc.rpm Child return code was: 11 Dynamic buildrequires detected Going to install missing buildrequires. See root.log for details. ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -ba --noprep --target x86_64 --nodeps /builddir/build/SPECS/rust-scan-rules.spec'], chrootPath='/var/lib/mock/fedora-rawhide-x86_64-1670726664.758794/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=0uid=1001gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.251w6dhu:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--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=True) Using nspawn with args ['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.251w6dhu:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--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', 'd8417e30941e416aa2ad2cf1cbaea3e6', '-D', '/var/lib/mock/fedora-rawhide-x86_64-1670726664.758794/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.251w6dhu:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--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 --target x86_64 --nodeps /builddir/build/SPECS/rust-scan-rules.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: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1622493406 Executing(%generate_buildrequires): /bin/sh -e /var/tmp/rpm-tmp.0WtsUV + umask 022 + cd /builddir/build/BUILD + cd scan-rules-0.2.0 + /usr/bin/cargo-inspector -BR Cargo.toml + /usr/bin/cargo-inspector -TR Cargo.toml + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.DhxJCz + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd scan-rules-0.2.0 + /usr/bin/env CARGO_HOME=.cargo RUSTC_BOOTSTRAP=1 'RUSTFLAGS=-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' /usr/bin/cargo build -j2 -Z avoid-dev-deps --release Compiling strcursor v0.2.5 Compiling either v1.8.0 Running `/usr/bin/rustc --crate-name either --edition=2018 /usr/share/cargo/registry/either-1.8.0/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no --cfg 'feature="use_std"' -C metadata=7b98ea4f74142933 -C extra-filename=-7b98ea4f74142933 --out-dir /builddir/build/BUILD/scan-rules-0.2.0/target/release/deps -L dependency=/builddir/build/BUILD/scan-rules-0.2.0/target/release/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn` Running `/usr/bin/rustc --crate-name build_script_build /usr/share/cargo/registry/strcursor-0.2.5/build.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type bin --emit=dep-info,link -C embed-bitcode=no -C debug-assertions=off -C metadata=78505f388b87cf95 -C extra-filename=-78505f388b87cf95 --out-dir /builddir/build/BUILD/scan-rules-0.2.0/target/release/build/strcursor-78505f388b87cf95 -L dependency=/builddir/build/BUILD/scan-rules-0.2.0/target/release/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn` Running `/builddir/build/BUILD/scan-rules-0.2.0/target/release/build/strcursor-78505f388b87cf95/build-script-build` Compiling scan-rules v0.2.0 (/builddir/build/BUILD/scan-rules-0.2.0) Running `/usr/bin/rustc --crate-name build_script_build build.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type bin --emit=dep-info,link -C embed-bitcode=no -C debug-assertions=off --cfg 'feature="default"' -C metadata=e04a67654fea9c7b -C extra-filename=-e04a67654fea9c7b --out-dir /builddir/build/BUILD/scan-rules-0.2.0/target/release/build/scan-rules-e04a67654fea9c7b -L dependency=/builddir/build/BUILD/scan-rules-0.2.0/target/release/deps -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn` Compiling unicode-segmentation v1.10.0 Running `/usr/bin/rustc --crate-name unicode_segmentation --edition=2018 /usr/share/cargo/registry/unicode-segmentation-1.10.0/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no -C metadata=abf36d56491663cd -C extra-filename=-abf36d56491663cd --out-dir /builddir/build/BUILD/scan-rules-0.2.0/target/release/deps -L dependency=/builddir/build/BUILD/scan-rules-0.2.0/target/release/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn` Running `/builddir/build/BUILD/scan-rules-0.2.0/target/release/build/scan-rules-e04a67654fea9c7b/build-script-build` Compiling itertools v0.10.5 Running `/usr/bin/rustc --crate-name itertools --edition=2018 /usr/share/cargo/registry/itertools-0.10.5/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no --cfg 'feature="default"' --cfg 'feature="use_alloc"' --cfg 'feature="use_std"' -C metadata=3c714e6eedd61923 -C extra-filename=-3c714e6eedd61923 --out-dir /builddir/build/BUILD/scan-rules-0.2.0/target/release/deps -L dependency=/builddir/build/BUILD/scan-rules-0.2.0/target/release/deps --extern either=/builddir/build/BUILD/scan-rules-0.2.0/target/release/deps/libeither-7b98ea4f74142933.rmeta --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn` Running `/usr/bin/rustc --crate-name strcursor /usr/share/cargo/registry/strcursor-0.2.5/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no -C metadata=62439ddaf428aa37 -C extra-filename=-62439ddaf428aa37 --out-dir /builddir/build/BUILD/scan-rules-0.2.0/target/release/deps -L dependency=/builddir/build/BUILD/scan-rules-0.2.0/target/release/deps --extern unicode_segmentation=/builddir/build/BUILD/scan-rules-0.2.0/target/release/deps/libunicode_segmentation-abf36d56491663cd.rmeta --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn --cfg has_string_into_boxed_string` Compiling lazy_static v1.4.0 Running `/usr/bin/rustc --crate-name lazy_static /usr/share/cargo/registry/lazy_static-1.4.0/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no -C metadata=da9a7bc46823f76f -C extra-filename=-da9a7bc46823f76f --out-dir /builddir/build/BUILD/scan-rules-0.2.0/target/release/deps -L dependency=/builddir/build/BUILD/scan-rules-0.2.0/target/release/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn` Running `/usr/bin/rustc --crate-name scan_rules src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no --cfg 'feature="default"' -C metadata=5d5eb5529c40cacc -C extra-filename=-5d5eb5529c40cacc --out-dir /builddir/build/BUILD/scan-rules-0.2.0/target/release/deps -L dependency=/builddir/build/BUILD/scan-rules-0.2.0/target/release/deps --extern itertools=/builddir/build/BUILD/scan-rules-0.2.0/target/release/deps/libitertools-3c714e6eedd61923.rmeta --extern lazy_static=/builddir/build/BUILD/scan-rules-0.2.0/target/release/deps/liblazy_static-da9a7bc46823f76f.rmeta --extern strcursor=/builddir/build/BUILD/scan-rules-0.2.0/target/release/deps/libstrcursor-62439ddaf428aa37.rmeta -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn --cfg macro_inter_stmt_binding_visibility` warning: unused `#[macro_use]` import --> src/lib.rs:290:1 | 290 | #[macro_use] extern crate lazy_static; | ^^^^^^^^^^^^ | = note: `#[warn(unused_imports)]` on by default warning: use of deprecated macro `try`: use the `?` operator instead --> src/error.rs:132:9 | 132 | try!("scan error: ".fmt(fmt)); | ^^^ | = note: `#[warn(deprecated)]` on by default warning: use of deprecated macro `try`: use the `?` operator instead --> src/error.rs:133:9 | 133 | try!(self.kind.fmt(fmt)); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/error.rs:134:9 | 134 | try!(", at offset: ".fmt(fmt)); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/error.rs:135:9 | 135 | try!(self.at.offset().fmt(fmt)); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/error.rs:226:17 | 226 | try!("syntax error: ".fmt(fmt)); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/error.rs:227:17 | 227 | try!(desc.fmt(fmt)); | ^^^ warning: unnecessary trailing semicolons --> src/macros.rs:743:30 | 743 | (@as_stmt $s:stmt) => {$s;}; | ^ help: remove these semicolons | ::: src/scanner/std/collections.rs:22:1 | 22 | / scanner! { impl<'a, K, V> ScanFromStr for BTreeMap => BTreeMap, where {K: Ord} { 23 | | ("{", [ let es: KeyValuePair ],*: BTreeMap, "}", ..tail) => (es, tail) 24 | | }} | |__- in this macro invocation | = note: `#[warn(redundant_semicolons)]` on by default = note: this warning originates in the macro `scan_rules_impl` which comes from the expansion of the macro `scanner` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unnecessary trailing semicolon --> src/macros.rs:743:30 | 743 | (@as_stmt $s:stmt) => {$s;}; | ^ help: remove this semicolon | ::: src/scanner/std/collections.rs:22:1 | 22 | / scanner! { impl<'a, K, V> ScanFromStr for BTreeMap => BTreeMap, where {K: Ord} { 23 | | ("{", [ let es: KeyValuePair ],*: BTreeMap, "}", ..tail) => (es, tail) 24 | | }} | |__- in this macro invocation | = note: this warning originates in the macro `scan_rules_impl` which comes from the expansion of the macro `scanner` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unnecessary trailing semicolons --> src/macros.rs:743:30 | 743 | (@as_stmt $s:stmt) => {$s;}; | ^ help: remove these semicolons | ::: src/scanner/std/collections.rs:26:1 | 26 | / scanner! { impl<'a, T> ScanFromStr for BTreeSet => BTreeSet, where {T: Ord} { 27 | | ("{", [ let es: T ],*: BTreeSet<_>, "}", ..tail) => (es, tail) 28 | | }} | |__- in this macro invocation | = note: this warning originates in the macro `scan_rules_impl` which comes from the expansion of the macro `scanner` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unnecessary trailing semicolon --> src/macros.rs:743:30 | 743 | (@as_stmt $s:stmt) => {$s;}; | ^ help: remove this semicolon | ::: src/scanner/std/collections.rs:26:1 | 26 | / scanner! { impl<'a, T> ScanFromStr for BTreeSet => BTreeSet, where {T: Ord} { 27 | | ("{", [ let es: T ],*: BTreeSet<_>, "}", ..tail) => (es, tail) 28 | | }} | |__- in this macro invocation | = note: this warning originates in the macro `scan_rules_impl` which comes from the expansion of the macro `scanner` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unnecessary trailing semicolons --> src/macros.rs:743:30 | 743 | (@as_stmt $s:stmt) => {$s;}; | ^ help: remove these semicolons | ::: src/scanner/std/collections.rs:30:1 | 30 | / scanner! { impl<'a, T> ScanFromStr for BinaryHeap => BinaryHeap, where {T: Ord} { 31 | | ("[", [ let es: T ],*: BinaryHeap<_>, "]", ..tail) => (es, tail) 32 | | }} | |__- in this macro invocation | = note: this warning originates in the macro `scan_rules_impl` which comes from the expansion of the macro `scanner` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unnecessary trailing semicolon --> src/macros.rs:743:30 | 743 | (@as_stmt $s:stmt) => {$s;}; | ^ help: remove this semicolon | ::: src/scanner/std/collections.rs:30:1 | 30 | / scanner! { impl<'a, T> ScanFromStr for BinaryHeap => BinaryHeap, where {T: Ord} { 31 | | ("[", [ let es: T ],*: BinaryHeap<_>, "]", ..tail) => (es, tail) 32 | | }} | |__- in this macro invocation | = note: this warning originates in the macro `scan_rules_impl` which comes from the expansion of the macro `scanner` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unnecessary trailing semicolons --> src/macros.rs:743:30 | 743 | (@as_stmt $s:stmt) => {$s;}; | ^ help: remove these semicolons | ::: src/scanner/std/collections.rs:34:1 | 34 | / scanner! { impl<'a, K, V> ScanFromStr for HashMap => HashMap, where {K: Hash + Eq} { 35 | | ("{", [ let es: KeyValuePair ],*: HashMap, "}", ..tail) => (es, tail) 36 | | }} | |__- in this macro invocation | = note: this warning originates in the macro `scan_rules_impl` which comes from the expansion of the macro `scanner` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unnecessary trailing semicolon --> src/macros.rs:743:30 | 743 | (@as_stmt $s:stmt) => {$s;}; | ^ help: remove this semicolon | ::: src/scanner/std/collections.rs:34:1 | 34 | / scanner! { impl<'a, K, V> ScanFromStr for HashMap => HashMap, where {K: Hash + Eq} { 35 | | ("{", [ let es: KeyValuePair ],*: HashMap, "}", ..tail) => (es, tail) 36 | | }} | |__- in this macro invocation | = note: this warning originates in the macro `scan_rules_impl` which comes from the expansion of the macro `scanner` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unnecessary trailing semicolons --> src/macros.rs:743:30 | 743 | (@as_stmt $s:stmt) => {$s;}; | ^ help: remove these semicolons | ::: src/scanner/std/collections.rs:38:1 | 38 | / scanner! { impl<'a, T> ScanFromStr for HashSet => HashSet, where {T: Hash + Eq} { 39 | | ("{", [ let es: T ],*: HashSet<_>, "}", ..tail) => (es, tail) 40 | | }} | |__- in this macro invocation | = note: this warning originates in the macro `scan_rules_impl` which comes from the expansion of the macro `scanner` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unnecessary trailing semicolon --> src/macros.rs:743:30 | 743 | (@as_stmt $s:stmt) => {$s;}; | ^ help: remove this semicolon | ::: src/scanner/std/collections.rs:38:1 | 38 | / scanner! { impl<'a, T> ScanFromStr for HashSet => HashSet, where {T: Hash + Eq} { 39 | | ("{", [ let es: T ],*: HashSet<_>, "}", ..tail) => (es, tail) 40 | | }} | |__- in this macro invocation | = note: this warning originates in the macro `scan_rules_impl` which comes from the expansion of the macro `scanner` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unnecessary trailing semicolons --> src/macros.rs:743:30 | 743 | (@as_stmt $s:stmt) => {$s;}; | ^ help: remove these semicolons | ::: src/scanner/std/collections.rs:42:1 | 42 | / scanner! { impl<'a, T> ScanFromStr for LinkedList => LinkedList { 43 | | ("[", [ let es: T ],*: LinkedList<_>, "]", ..tail) => (es, tail) 44 | | }} | |__- in this macro invocation | = note: this warning originates in the macro `scan_rules_impl` which comes from the expansion of the macro `scanner` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unnecessary trailing semicolon --> src/macros.rs:743:30 | 743 | (@as_stmt $s:stmt) => {$s;}; | ^ help: remove this semicolon | ::: src/scanner/std/collections.rs:42:1 | 42 | / scanner! { impl<'a, T> ScanFromStr for LinkedList => LinkedList { 43 | | ("[", [ let es: T ],*: LinkedList<_>, "]", ..tail) => (es, tail) 44 | | }} | |__- in this macro invocation | = note: this warning originates in the macro `scan_rules_impl` which comes from the expansion of the macro `scanner` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unnecessary trailing semicolons --> src/macros.rs:743:30 | 743 | (@as_stmt $s:stmt) => {$s;}; | ^ help: remove these semicolons | ::: src/scanner/std/collections.rs:46:1 | 46 | / scanner! { impl<'a, T> ScanFromStr for Vec => Vec { 47 | | ("[", [ let es: T ],*, "]", ..tail) => (es, tail) 48 | | }} | |__- in this macro invocation | = note: this warning originates in the macro `scan_rules_impl` which comes from the expansion of the macro `scanner` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unnecessary trailing semicolon --> src/macros.rs:743:30 | 743 | (@as_stmt $s:stmt) => {$s;}; | ^ help: remove this semicolon | ::: src/scanner/std/collections.rs:46:1 | 46 | / scanner! { impl<'a, T> ScanFromStr for Vec => Vec { 47 | | ("[", [ let es: T ],*, "]", ..tail) => (es, tail) 48 | | }} | |__- in this macro invocation | = note: this warning originates in the macro `scan_rules_impl` which comes from the expansion of the macro `scanner` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unnecessary trailing semicolons --> src/macros.rs:743:30 | 743 | (@as_stmt $s:stmt) => {$s;}; | ^ help: remove these semicolons | ::: src/scanner/std/collections.rs:50:1 | 50 | / scanner! { impl<'a, T> ScanFromStr for VecDeque => VecDeque { 51 | | ("[", [ let es: T ],*: VecDeque<_>, "]", ..tail) => (es, tail) 52 | | }} | |__- in this macro invocation | = note: this warning originates in the macro `scan_rules_impl` which comes from the expansion of the macro `scanner` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unnecessary trailing semicolon --> src/macros.rs:743:30 | 743 | (@as_stmt $s:stmt) => {$s;}; | ^ help: remove this semicolon | ::: src/scanner/std/collections.rs:50:1 | 50 | / scanner! { impl<'a, T> ScanFromStr for VecDeque => VecDeque { 51 | | ("[", [ let es: T ],*: VecDeque<_>, "]", ..tail) => (es, tail) 52 | | }} | |__- in this macro invocation | = note: this warning originates in the macro `scan_rules_impl` which comes from the expansion of the macro `scanner` (in Nightly builds, run with -Z macro-backtrace for more info) warning: use of deprecated macro `try`: use the `?` operator instead --> src/scanner/macros.rs:191:37 | 191 | let ($s, end) = try!( | ^^^ | ::: src/scanner/std/net.rs:17:1 | 17 | parse_scanner! { impl<'a> for Ipv4Addr, matcher match_ipv4, matcher err "expected IPv4 address", err map ScanError::other } | --------------------------------------------------------------------------------------------------------------------------- in this macro invocation | = note: this warning originates in the macro `parse_scanner` (in Nightly builds, run with -Z macro-backtrace for more info) warning: use of deprecated macro `try`: use the `?` operator instead --> src/scanner/macros.rs:191:37 | 191 | let ($s, end) = try!( | ^^^ | ::: src/scanner/std/net.rs:18:1 | 18 | parse_scanner! { impl<'a> for Ipv6Addr, matcher match_ipv6, matcher err "expected IPv6 address", err map ScanError::other } | --------------------------------------------------------------------------------------------------------------------------- in this macro invocation | = note: this warning originates in the macro `parse_scanner` (in Nightly builds, run with -Z macro-backtrace for more info) warning: use of deprecated macro `try`: use the `?` operator instead --> src/scanner/macros.rs:191:37 | 191 | let ($s, end) = try!( | ^^^ | ::: src/scanner/std/net.rs:19:1 | 19 | parse_scanner! { impl<'a> for SocketAddr, matcher match_sock_addr, matcher err "expected socket address", err map ScanError::other } | ------------------------------------------------------------------------------------------------------------------------------------ in this macro invocation | = note: this warning originates in the macro `parse_scanner` (in Nightly builds, run with -Z macro-backtrace for more info) warning: `...` range patterns are deprecated --> src/scanner/std/net.rs:63:33 | 63 | matches!(b, b'0'...b'9' | b'a'...b'f' | b'A'...b'F')) | ^^^ help: use `..=` for an inclusive range | = note: `#[warn(ellipsis_inclusive_range_patterns)]` on by default = 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/std/net.rs:63:47 | 63 | matches!(b, b'0'...b'9' | b'a'...b'f' | b'A'...b'F')) | ^^^ 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/std/net.rs:63:61 | 63 | matches!(b, b'0'...b'9' | b'a'...b'f' | b'A'...b'F')) | ^^^ 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/std/net.rs:73:33 | 73 | matches!(b, b'0'...b'9')) | ^^^ help: use `..=` for an inclusive range | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see warning: `...` range patterns are deprecated --> src/scanner/std/net.rs:209:50 | 209 | ibs.take_while_ref(|&(_, b)| matches!(b, b'0'...b'9')) | ^^^ help: use `..=` for an inclusive range | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see warning: use of deprecated macro `try`: use the `?` operator instead --> src/scanner/macros.rs:191:37 | 191 | let ($s, end) = try!( | ^^^ | ::: src/scanner/std/net.rs:351:5 | 351 | parse_scanner! { impl<'a> for SocketAddrV4, matcher match_ipv4_sock, matcher err "expected IPv4 socket address", err map ScanError::other } | ------------------------------------------------------------------------------------------------------------------------------------------- in this macro invocation | = note: this warning originates in the macro `parse_scanner` (in Nightly builds, run with -Z macro-backtrace for more info) warning: use of deprecated macro `try`: use the `?` operator instead --> src/scanner/macros.rs:191:37 | 191 | let ($s, end) = try!( | ^^^ | ::: src/scanner/std/net.rs:352:5 | 352 | parse_scanner! { impl<'a> for SocketAddrV6, matcher match_ipv6_sock, matcher err "expected IPv6 socket address", err map ScanError::other } | ------------------------------------------------------------------------------------------------------------------------------------------- in this macro invocation | = note: this warning originates in the macro `parse_scanner` (in Nightly builds, run with -Z macro-backtrace for more info) warning: use of deprecated macro `try`: use the `?` operator instead --> src/scanner/std/time.rs:56:26 | 56 | let (dur, cur) = try!(scan_8601(cur)); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/scanner/std/time.rs:528:34 | 528 | let ((int, frac), cur) = try!(scan_real(cur)); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/scanner/std/time.rs:481:13 | 481 | try!(checked_add_dur($a, try!($b)) | ^^^ ... 530 | Some(('H', cur)) => given_hour(add_dur!(dur, dur_hours(int, frac)), cur), | ----------------------------------- in this macro invocation | = note: this warning originates in the macro `add_dur` (in Nightly builds, run with -Z macro-backtrace for more info) warning: use of deprecated macro `try`: use the `?` operator instead --> src/scanner/std/time.rs:481:38 | 481 | try!(checked_add_dur($a, try!($b)) | ^^^ ... 530 | Some(('H', cur)) => given_hour(add_dur!(dur, dur_hours(int, frac)), cur), | ----------------------------------- in this macro invocation | = note: this warning originates in the macro `add_dur` (in Nightly builds, run with -Z macro-backtrace for more info) warning: use of deprecated macro `try`: use the `?` operator instead --> src/scanner/std/time.rs:481:13 | 481 | try!(checked_add_dur($a, try!($b)) | ^^^ ... 531 | Some(('M', cur)) => given_min(add_dur!(dur, dur_mins(int, frac)), cur), | ---------------------------------- in this macro invocation | = note: this warning originates in the macro `add_dur` (in Nightly builds, run with -Z macro-backtrace for more info) warning: use of deprecated macro `try`: use the `?` operator instead --> src/scanner/std/time.rs:481:38 | 481 | try!(checked_add_dur($a, try!($b)) | ^^^ ... 531 | Some(('M', cur)) => given_min(add_dur!(dur, dur_mins(int, frac)), cur), | ---------------------------------- in this macro invocation | = note: this warning originates in the macro `add_dur` (in Nightly builds, run with -Z macro-backtrace for more info) warning: use of deprecated macro `try`: use the `?` operator instead --> src/scanner/std/time.rs:481:13 | 481 | try!(checked_add_dur($a, try!($b)) | ^^^ ... 532 | Some(('S', cur)) => given_sec(add_dur!(dur, dur_secs(int, frac)), cur), | ---------------------------------- in this macro invocation | = note: this warning originates in the macro `add_dur` (in Nightly builds, run with -Z macro-backtrace for more info) warning: use of deprecated macro `try`: use the `?` operator instead --> src/scanner/std/time.rs:481:38 | 481 | try!(checked_add_dur($a, try!($b)) | ^^^ ... 532 | Some(('S', cur)) => given_sec(add_dur!(dur, dur_secs(int, frac)), cur), | ---------------------------------- in this macro invocation | = note: this warning originates in the macro `add_dur` (in Nightly builds, run with -Z macro-backtrace for more info) warning: `...` range patterns are deprecated --> src/scanner/std/time.rs:540:22 | 540 | Some(('0'...'9', _)) => (), | ^^^ help: use `..=` for an inclusive range | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see warning: use of deprecated macro `try`: use the `?` operator instead --> src/scanner/std/time.rs:544:34 | 544 | let ((int, frac), cur) = try!(scan_real(cur)); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/scanner/std/time.rs:481:13 | 481 | try!(checked_add_dur($a, try!($b)) | ^^^ ... 546 | Some(('M', cur)) => given_min(add_dur!(dur, dur_mins(int, frac)), cur), | ---------------------------------- in this macro invocation | = note: this warning originates in the macro `add_dur` (in Nightly builds, run with -Z macro-backtrace for more info) warning: use of deprecated macro `try`: use the `?` operator instead --> src/scanner/std/time.rs:481:38 | 481 | try!(checked_add_dur($a, try!($b)) | ^^^ ... 546 | Some(('M', cur)) => given_min(add_dur!(dur, dur_mins(int, frac)), cur), | ---------------------------------- in this macro invocation | = note: this warning originates in the macro `add_dur` (in Nightly builds, run with -Z macro-backtrace for more info) warning: use of deprecated macro `try`: use the `?` operator instead --> src/scanner/std/time.rs:481:13 | 481 | try!(checked_add_dur($a, try!($b)) | ^^^ ... 547 | Some(('S', cur)) => given_sec(add_dur!(dur, dur_secs(int, frac)), cur), | ---------------------------------- in this macro invocation | = note: this warning originates in the macro `add_dur` (in Nightly builds, run with -Z macro-backtrace for more info) warning: use of deprecated macro `try`: use the `?` operator instead --> src/scanner/std/time.rs:481:38 | 481 | try!(checked_add_dur($a, try!($b)) | ^^^ ... 547 | Some(('S', cur)) => given_sec(add_dur!(dur, dur_secs(int, frac)), cur), | ---------------------------------- in this macro invocation | = note: this warning originates in the macro `add_dur` (in Nightly builds, run with -Z macro-backtrace for more info) warning: `...` range patterns are deprecated --> src/scanner/std/time.rs:555:22 | 555 | Some(('0'...'9', _)) => (), | ^^^ help: use `..=` for an inclusive range | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see warning: use of deprecated macro `try`: use the `?` operator instead --> src/scanner/std/time.rs:559:34 | 559 | let ((int, frac), cur) = try!(scan_real(cur)); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/scanner/std/time.rs:481:13 | 481 | try!(checked_add_dur($a, try!($b)) | ^^^ ... 561 | Some(('S', cur)) => given_sec(add_dur!(dur, dur_secs(int, frac)), cur), | ---------------------------------- in this macro invocation | = note: this warning originates in the macro `add_dur` (in Nightly builds, run with -Z macro-backtrace for more info) warning: use of deprecated macro `try`: use the `?` operator instead --> src/scanner/std/time.rs:481:38 | 481 | try!(checked_add_dur($a, try!($b)) | ^^^ ... 561 | Some(('S', cur)) => given_sec(add_dur!(dur, dur_secs(int, frac)), cur), | ---------------------------------- in this macro invocation | = note: this warning originates in the macro `add_dur` (in Nightly builds, run with -Z macro-backtrace for more info) warning: use of deprecated macro `try`: use the `?` operator instead --> src/scanner/std/time.rs:595:28 | 595 | let secs = try!(int.checked_mul($scale) | ^^^ ... 609 | / dur_conv! { 610 | | #[cfg(feature="duration-iso8601-dates")] fn dur_years("years", SECS_IN_YEAR); 611 | | #[cfg(feature="duration-iso8601-dates")] fn dur_months("months", SECS_IN_MONTH); 612 | | #[cfg(feature="duration-iso8601-dates")] fn dur_weeks("weeks", SECS_IN_WEEK); ... | 617 | | fn dur_secs("secs", SECS_IN_SEC); 618 | | } | |_- in this macro invocation | = note: this warning originates in the macro `dur_conv` (in Nightly builds, run with -Z macro-backtrace for more info) warning: use of deprecated macro `try`: use the `?` operator instead --> src/scanner/std/time.rs:599:28 | 599 | let secs = try!(secs.checked_add(nanos as u64) | ^^^ ... 609 | / dur_conv! { 610 | | #[cfg(feature="duration-iso8601-dates")] fn dur_years("years", SECS_IN_YEAR); 611 | | #[cfg(feature="duration-iso8601-dates")] fn dur_months("months", SECS_IN_MONTH); 612 | | #[cfg(feature="duration-iso8601-dates")] fn dur_weeks("weeks", SECS_IN_WEEK); ... | 617 | | fn dur_secs("secs", SECS_IN_SEC); 618 | | } | |_- in this macro invocation | = note: this warning originates in the macro `dur_conv` (in Nightly builds, run with -Z macro-backtrace for more info) warning: `...` range patterns are deprecated --> src/scanner/std/time.rs:623:18 | 623 | Some(('0'...'9', cur)) => cur, | ^^^ 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/std/time.rs:630:22 | 630 | Some(('0'...'9', cur)) => cur, | ^^^ 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/std/time.rs:632:25 | 632 | let v = try!(start.slice_between(cur).unwrap().parse() | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/scanner/std/time.rs:649:22 | 649 | let (int, cur) = try!(scan_integer(cur)); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/scanner/std/time.rs:658:28 | 658 | let (frac, frac_cur) = try!(scan_integer(cur)); | ^^^ warning: unnecessary trailing semicolons --> src/macros.rs:743:30 | 743 | (@as_stmt $s:stmt) => {$s;}; | ^ help: remove these semicolons | ::: src/scanner/std/mod.rs:49:5 | 49 | impl_tuple! { T0 T1 T2 T3 } | --------------------------- in this macro invocation | = note: this warning originates in the macro `scan_rules_impl` which comes from the expansion of the macro `impl_tuple` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unnecessary trailing semicolon --> src/macros.rs:743:30 | 743 | (@as_stmt $s:stmt) => {$s;}; | ^ help: remove this semicolon | ::: src/scanner/std/mod.rs:49:5 | 49 | impl_tuple! { T0 T1 T2 T3 } | --------------------------- in this macro invocation | = note: this warning originates in the macro `scan_rules_impl` which comes from the expansion of the macro `impl_tuple` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unnecessary trailing semicolons --> src/macros.rs:743:30 | 743 | (@as_stmt $s:stmt) => {$s;}; | ^ help: remove these semicolons | ::: src/scanner/std/mod.rs:93:5 | 93 | / impl_array! { 94 | | 8 e8 7 e7 6 e6 5 e5 4 e4 3 e3 2 e2 1 e1 95 | | } | |_____- in this macro invocation | = note: this warning originates in the macro `scan_rules_impl` which comes from the expansion of the macro `impl_array` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unnecessary trailing semicolon --> src/macros.rs:743:30 | 743 | (@as_stmt $s:stmt) => {$s;}; | ^ help: remove this semicolon | ::: src/scanner/std/mod.rs:93:5 | 93 | / impl_array! { 94 | | 8 e8 7 e7 6 e6 5 e5 4 e4 3 e3 2 e2 1 e1 95 | | } | |_____- in this macro invocation | = note: this warning originates in the macro `scan_rules_impl` which comes from the expansion of the macro `impl_array` (in Nightly builds, run with -Z macro-backtrace for more info) warning: use of deprecated macro `try`: use the `?` operator instead --> src/scanner/lang.rs:45:19 | 45 | let cur = try!(StrCursor::new_at_start(s.as_str()).at_next_cp() | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/scanner/macros.rs:191:37 | 191 | let ($s, end) = try!( | ^^^ | ::: src/scanner/lang.rs:66:1 | 66 | parse_scanner! { impl<'a> for f32, matcher match_float, matcher err "expected floating point number", err map ScanError::float } | -------------------------------------------------------------------------------------------------------------------------------- in this macro invocation | = note: this warning originates in the macro `parse_scanner` (in Nightly builds, run with -Z macro-backtrace for more info) warning: use of deprecated macro `try`: use the `?` operator instead --> src/scanner/macros.rs:191:37 | 191 | let ($s, end) = try!( | ^^^ | ::: src/scanner/lang.rs:67:1 | 67 | parse_scanner! { impl<'a> for f64, matcher match_float, matcher err "expected floating point number", err map ScanError::float } | -------------------------------------------------------------------------------------------------------------------------------- in this macro invocation | = note: this warning originates in the macro `parse_scanner` (in Nightly builds, run with -Z macro-backtrace for more info) warning: `...` range patterns are deprecated --> src/scanner/lang.rs:101:51 | 101 | .take_while_ref(|&(_, b)| matches!(b, b'0'...b'9')) | ^^^ help: use `..=` for an inclusive range | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see warning: `...` range patterns are deprecated --> src/scanner/lang.rs:119:50 | 119 | ibs.take_while(|&(_, b)| matches!(b, b'0'...b'9')) | ^^^ help: use `..=` for an inclusive range | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see warning: `...` range patterns are deprecated --> src/scanner/lang.rs:129:59 | 129 | .take_while_ref(|&(_, b)| matches!(b, b'0'...b'9')) | ^^^ help: use `..=` for an inclusive range | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see warning: use of deprecated macro `try`: use the `?` operator instead --> src/scanner/macros.rs:191:37 | 191 | let ($s, end) = try!( | ^^^ | ::: src/scanner/lang.rs:228:1 | 228 | parse_scanner! { impl<'a> for i8, matcher match_sinteger, matcher err "expected integer", err map ScanError::int } | ------------------------------------------------------------------------------------------------------------------ in this macro invocation | = note: this warning originates in the macro `parse_scanner` (in Nightly builds, run with -Z macro-backtrace for more info) warning: use of deprecated macro `try`: use the `?` operator instead --> src/scanner/macros.rs:191:37 | 191 | let ($s, end) = try!( | ^^^ | ::: src/scanner/lang.rs:229:1 | 229 | parse_scanner! { impl<'a> for i16, matcher match_sinteger, matcher err "expected integer", err map ScanError::int } | ------------------------------------------------------------------------------------------------------------------- in this macro invocation | = note: this warning originates in the macro `parse_scanner` (in Nightly builds, run with -Z macro-backtrace for more info) warning: use of deprecated macro `try`: use the `?` operator instead --> src/scanner/macros.rs:191:37 | 191 | let ($s, end) = try!( | ^^^ | ::: src/scanner/lang.rs:230:1 | 230 | parse_scanner! { impl<'a> for i32, matcher match_sinteger, matcher err "expected integer", err map ScanError::int } | ------------------------------------------------------------------------------------------------------------------- in this macro invocation | = note: this warning originates in the macro `parse_scanner` (in Nightly builds, run with -Z macro-backtrace for more info) warning: use of deprecated macro `try`: use the `?` operator instead --> src/scanner/macros.rs:191:37 | 191 | let ($s, end) = try!( | ^^^ | ::: src/scanner/lang.rs:231:1 | 231 | parse_scanner! { impl<'a> for i64, matcher match_sinteger, matcher err "expected integer", err map ScanError::int } | ------------------------------------------------------------------------------------------------------------------- in this macro invocation | = note: this warning originates in the macro `parse_scanner` (in Nightly builds, run with -Z macro-backtrace for more info) warning: use of deprecated macro `try`: use the `?` operator instead --> src/scanner/macros.rs:191:37 | 191 | let ($s, end) = try!( | ^^^ | ::: src/scanner/lang.rs:232:1 | 232 | parse_scanner! { impl<'a> for isize, matcher match_sinteger, matcher err "expected integer", err map ScanError::int } | --------------------------------------------------------------------------------------------------------------------- in this macro invocation | = note: this warning originates in the macro `parse_scanner` (in Nightly builds, run with -Z macro-backtrace for more info) warning: use of deprecated macro `try`: use the `?` operator instead --> src/scanner/macros.rs:283:36 | 283 | let (w, end) = try!( | ^^^ | ::: src/scanner/lang.rs:234:1 | 234 | parse_scanner! { impl<'a> ScanFromBinary::scan_from_binary for i8, matcher match_bin_int, matcher err "expected binary integer", map |s| i8::from_str_radix(s, 2), err map ScanError::int } | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- in this macro invocation | = note: this warning originates in the macro `parse_scanner` (in Nightly builds, run with -Z macro-backtrace for more info) warning: use of deprecated macro `try`: use the `?` operator instead --> src/scanner/macros.rs:283:36 | 283 | let (w, end) = try!( | ^^^ | ::: src/scanner/lang.rs:235:1 | 235 | parse_scanner! { impl<'a> ScanFromBinary::scan_from_binary for i16, matcher match_bin_int, matcher err "expected binary integer", map |s| i16::from_str_radix(s, 2), err map ScanError::int } | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- in this macro invocation | = note: this warning originates in the macro `parse_scanner` (in Nightly builds, run with -Z macro-backtrace for more info) warning: use of deprecated macro `try`: use the `?` operator instead --> src/scanner/macros.rs:283:36 | 283 | let (w, end) = try!( | ^^^ | ::: src/scanner/lang.rs:236:1 | 236 | parse_scanner! { impl<'a> ScanFromBinary::scan_from_binary for i32, matcher match_bin_int, matcher err "expected binary integer", map |s| i32::from_str_radix(s, 2), err map ScanError::int } | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- in this macro invocation | = note: this warning originates in the macro `parse_scanner` (in Nightly builds, run with -Z macro-backtrace for more info) warning: use of deprecated macro `try`: use the `?` operator instead --> src/scanner/macros.rs:283:36 | 283 | let (w, end) = try!( | ^^^ | ::: src/scanner/lang.rs:237:1 | 237 | parse_scanner! { impl<'a> ScanFromBinary::scan_from_binary for i64, matcher match_bin_int, matcher err "expected binary integer", map |s| i64::from_str_radix(s, 2), err map ScanError::int } | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- in this macro invocation | = note: this warning originates in the macro `parse_scanner` (in Nightly builds, run with -Z macro-backtrace for more info) warning: use of deprecated macro `try`: use the `?` operator instead --> src/scanner/macros.rs:283:36 | 283 | let (w, end) = try!( | ^^^ | ::: src/scanner/lang.rs:238:1 | 238 | parse_scanner! { impl<'a> ScanFromBinary::scan_from_binary for isize, matcher match_bin_int, matcher err "expected binary integer", map |s| isize::from_str_radix(s, 2), err map ScanError::int } | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- in this macro invocation | = note: this warning originates in the macro `parse_scanner` (in Nightly builds, run with -Z macro-backtrace for more info) warning: use of deprecated macro `try`: use the `?` operator instead --> src/scanner/macros.rs:283:36 | 283 | let (w, end) = try!( | ^^^ | ::: src/scanner/lang.rs:240:1 | 240 | parse_scanner! { impl<'a> ScanFromOctal::scan_from_octal for i8, matcher match_oct_int, matcher err "expected octal integer", map |s| i8::from_str_radix(s, 8), err map ScanError::int } | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- in this macro invocation | = note: this warning originates in the macro `parse_scanner` (in Nightly builds, run with -Z macro-backtrace for more info) warning: use of deprecated macro `try`: use the `?` operator instead --> src/scanner/macros.rs:283:36 | 283 | let (w, end) = try!( | ^^^ | ::: src/scanner/lang.rs:241:1 | 241 | parse_scanner! { impl<'a> ScanFromOctal::scan_from_octal for i16, matcher match_oct_int, matcher err "expected octal integer", map |s| i16::from_str_radix(s, 8), err map ScanError::int } | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ in this macro invocation | = note: this warning originates in the macro `parse_scanner` (in Nightly builds, run with -Z macro-backtrace for more info) warning: use of deprecated macro `try`: use the `?` operator instead --> src/scanner/macros.rs:283:36 | 283 | let (w, end) = try!( | ^^^ | ::: src/scanner/lang.rs:242:1 | 242 | parse_scanner! { impl<'a> ScanFromOctal::scan_from_octal for i32, matcher match_oct_int, matcher err "expected octal integer", map |s| i32::from_str_radix(s, 8), err map ScanError::int } | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ in this macro invocation | = note: this warning originates in the macro `parse_scanner` (in Nightly builds, run with -Z macro-backtrace for more info) warning: use of deprecated macro `try`: use the `?` operator instead --> src/scanner/macros.rs:283:36 | 283 | let (w, end) = try!( | ^^^ | ::: src/scanner/lang.rs:243:1 | 243 | parse_scanner! { impl<'a> ScanFromOctal::scan_from_octal for i64, matcher match_oct_int, matcher err "expected octal integer", map |s| i64::from_str_radix(s, 8), err map ScanError::int } | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ in this macro invocation | = note: this warning originates in the macro `parse_scanner` (in Nightly builds, run with -Z macro-backtrace for more info) warning: use of deprecated macro `try`: use the `?` operator instead --> src/scanner/macros.rs:283:36 | 283 | let (w, end) = try!( | ^^^ | ::: src/scanner/lang.rs:244:1 | 244 | parse_scanner! { impl<'a> ScanFromOctal::scan_from_octal for isize, matcher match_oct_int, matcher err "expected octal integer", map |s| isize::from_str_radix(s, 8), err map ScanError::int } | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- in this macro invocation | = note: this warning originates in the macro `parse_scanner` (in Nightly builds, run with -Z macro-backtrace for more info) warning: use of deprecated macro `try`: use the `?` operator instead --> src/scanner/macros.rs:283:36 | 283 | let (w, end) = try!( | ^^^ | ::: src/scanner/lang.rs:246:1 | 246 | parse_scanner! { impl<'a> ScanFromHex::scan_from_hex for i8, matcher match_hex_int, matcher err "expected hex integer", map |s| i8::from_str_radix(s, 16), err map ScanError::int } | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- in this macro invocation | = note: this warning originates in the macro `parse_scanner` (in Nightly builds, run with -Z macro-backtrace for more info) warning: use of deprecated macro `try`: use the `?` operator instead --> src/scanner/macros.rs:283:36 | 283 | let (w, end) = try!( | ^^^ | ::: src/scanner/lang.rs:247:1 | 247 | parse_scanner! { impl<'a> ScanFromHex::scan_from_hex for i16, matcher match_hex_int, matcher err "expected hex integer", map |s| i16::from_str_radix(s, 16), err map ScanError::int } | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- in this macro invocation | = note: this warning originates in the macro `parse_scanner` (in Nightly builds, run with -Z macro-backtrace for more info) warning: use of deprecated macro `try`: use the `?` operator instead --> src/scanner/macros.rs:283:36 | 283 | let (w, end) = try!( | ^^^ | ::: src/scanner/lang.rs:248:1 | 248 | parse_scanner! { impl<'a> ScanFromHex::scan_from_hex for i32, matcher match_hex_int, matcher err "expected hex integer", map |s| i32::from_str_radix(s, 16), err map ScanError::int } | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- in this macro invocation | = note: this warning originates in the macro `parse_scanner` (in Nightly builds, run with -Z macro-backtrace for more info) warning: use of deprecated macro `try`: use the `?` operator instead --> src/scanner/macros.rs:283:36 | 283 | let (w, end) = try!( | ^^^ | ::: src/scanner/lang.rs:249:1 | 249 | parse_scanner! { impl<'a> ScanFromHex::scan_from_hex for i64, matcher match_hex_int, matcher err "expected hex integer", map |s| i64::from_str_radix(s, 16), err map ScanError::int } | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- in this macro invocation | = note: this warning originates in the macro `parse_scanner` (in Nightly builds, run with -Z macro-backtrace for more info) warning: use of deprecated macro `try`: use the `?` operator instead --> src/scanner/macros.rs:283:36 | 283 | let (w, end) = try!( | ^^^ | ::: src/scanner/lang.rs:250:1 | 250 | parse_scanner! { impl<'a> ScanFromHex::scan_from_hex for isize, matcher match_hex_int, matcher err "expected hex integer", map |s| isize::from_str_radix(s, 16), err map ScanError::int } | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- in this macro invocation | = note: this warning originates in the macro `parse_scanner` (in Nightly builds, run with -Z macro-backtrace for more info) warning: use of deprecated macro `try`: use the `?` operator instead --> src/scanner/macros.rs:191:37 | 191 | let ($s, end) = try!( | ^^^ | ::: src/scanner/lang.rs:270:1 | 270 | parse_scanner! { impl<'a> for u8, matcher match_uinteger, matcher err "expected integer", err map ScanError::int } | ------------------------------------------------------------------------------------------------------------------ in this macro invocation | = note: this warning originates in the macro `parse_scanner` (in Nightly builds, run with -Z macro-backtrace for more info) warning: use of deprecated macro `try`: use the `?` operator instead --> src/scanner/macros.rs:191:37 | 191 | let ($s, end) = try!( | ^^^ | ::: src/scanner/lang.rs:271:1 | 271 | parse_scanner! { impl<'a> for u16, matcher match_uinteger, matcher err "expected integer", err map ScanError::int } | ------------------------------------------------------------------------------------------------------------------- in this macro invocation | = note: this warning originates in the macro `parse_scanner` (in Nightly builds, run with -Z macro-backtrace for more info) warning: use of deprecated macro `try`: use the `?` operator instead --> src/scanner/macros.rs:191:37 | 191 | let ($s, end) = try!( | ^^^ | ::: src/scanner/lang.rs:272:1 | 272 | parse_scanner! { impl<'a> for u32, matcher match_uinteger, matcher err "expected integer", err map ScanError::int } | ------------------------------------------------------------------------------------------------------------------- in this macro invocation | = note: this warning originates in the macro `parse_scanner` (in Nightly builds, run with -Z macro-backtrace for more info) warning: use of deprecated macro `try`: use the `?` operator instead --> src/scanner/macros.rs:191:37 | 191 | let ($s, end) = try!( | ^^^ | ::: src/scanner/lang.rs:273:1 | 273 | parse_scanner! { impl<'a> for u64, matcher match_uinteger, matcher err "expected integer", err map ScanError::int } | ------------------------------------------------------------------------------------------------------------------- in this macro invocation | = note: this warning originates in the macro `parse_scanner` (in Nightly builds, run with -Z macro-backtrace for more info) warning: use of deprecated macro `try`: use the `?` operator instead --> src/scanner/macros.rs:191:37 | 191 | let ($s, end) = try!( | ^^^ | ::: src/scanner/lang.rs:274:1 | 274 | parse_scanner! { impl<'a> for usize, matcher match_uinteger, matcher err "expected integer", err map ScanError::int } | --------------------------------------------------------------------------------------------------------------------- in this macro invocation | = note: this warning originates in the macro `parse_scanner` (in Nightly builds, run with -Z macro-backtrace for more info) warning: use of deprecated macro `try`: use the `?` operator instead --> src/scanner/macros.rs:283:36 | 283 | let (w, end) = try!( | ^^^ | ::: src/scanner/lang.rs:276:1 | 276 | parse_scanner! { impl<'a> ScanFromBinary::scan_from_binary for u8, matcher match_bin_int, matcher err "expected binary integer", map |s| u8::from_str_radix(s, 2), err map ScanError::int } | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- in this macro invocation | = note: this warning originates in the macro `parse_scanner` (in Nightly builds, run with -Z macro-backtrace for more info) warning: use of deprecated macro `try`: use the `?` operator instead --> src/scanner/macros.rs:283:36 | 283 | let (w, end) = try!( | ^^^ | ::: src/scanner/lang.rs:277:1 | 277 | parse_scanner! { impl<'a> ScanFromBinary::scan_from_binary for u16, matcher match_bin_int, matcher err "expected binary integer", map |s| u16::from_str_radix(s, 2), err map ScanError::int } | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- in this macro invocation | = note: this warning originates in the macro `parse_scanner` (in Nightly builds, run with -Z macro-backtrace for more info) warning: use of deprecated macro `try`: use the `?` operator instead --> src/scanner/macros.rs:283:36 | 283 | let (w, end) = try!( | ^^^ | ::: src/scanner/lang.rs:278:1 | 278 | parse_scanner! { impl<'a> ScanFromBinary::scan_from_binary for u32, matcher match_bin_int, matcher err "expected binary integer", map |s| u32::from_str_radix(s, 2), err map ScanError::int } | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- in this macro invocation | = note: this warning originates in the macro `parse_scanner` (in Nightly builds, run with -Z macro-backtrace for more info) warning: use of deprecated macro `try`: use the `?` operator instead --> src/scanner/macros.rs:283:36 | 283 | let (w, end) = try!( | ^^^ | ::: src/scanner/lang.rs:279:1 | 279 | parse_scanner! { impl<'a> ScanFromBinary::scan_from_binary for u64, matcher match_bin_int, matcher err "expected binary integer", map |s| u64::from_str_radix(s, 2), err map ScanError::int } | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- in this macro invocation | = note: this warning originates in the macro `parse_scanner` (in Nightly builds, run with -Z macro-backtrace for more info) warning: use of deprecated macro `try`: use the `?` operator instead --> src/scanner/macros.rs:283:36 | 283 | let (w, end) = try!( | ^^^ | ::: src/scanner/lang.rs:280:1 | 280 | parse_scanner! { impl<'a> ScanFromBinary::scan_from_binary for usize, matcher match_bin_int, matcher err "expected binary integer", map |s| usize::from_str_radix(s, 2), err map ScanError::int } | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- in this macro invocation | = note: this warning originates in the macro `parse_scanner` (in Nightly builds, run with -Z macro-backtrace for more info) warning: use of deprecated macro `try`: use the `?` operator instead --> src/scanner/macros.rs:283:36 | 283 | let (w, end) = try!( | ^^^ | ::: src/scanner/lang.rs:282:1 | 282 | parse_scanner! { impl<'a> ScanFromOctal::scan_from_octal for u8, matcher match_oct_int, matcher err "expected octal integer", map |s| u8::from_str_radix(s, 8), err map ScanError::int } | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- in this macro invocation | = note: this warning originates in the macro `parse_scanner` (in Nightly builds, run with -Z macro-backtrace for more info) warning: use of deprecated macro `try`: use the `?` operator instead --> src/scanner/macros.rs:283:36 | 283 | let (w, end) = try!( | ^^^ | ::: src/scanner/lang.rs:283:1 | 283 | parse_scanner! { impl<'a> ScanFromOctal::scan_from_octal for u16, matcher match_oct_int, matcher err "expected octal integer", map |s| u16::from_str_radix(s, 8), err map ScanError::int } | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ in this macro invocation | = note: this warning originates in the macro `parse_scanner` (in Nightly builds, run with -Z macro-backtrace for more info) warning: use of deprecated macro `try`: use the `?` operator instead --> src/scanner/macros.rs:283:36 | 283 | let (w, end) = try!( | ^^^ | ::: src/scanner/lang.rs:284:1 | 284 | parse_scanner! { impl<'a> ScanFromOctal::scan_from_octal for u32, matcher match_oct_int, matcher err "expected octal integer", map |s| u32::from_str_radix(s, 8), err map ScanError::int } | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ in this macro invocation | = note: this warning originates in the macro `parse_scanner` (in Nightly builds, run with -Z macro-backtrace for more info) warning: use of deprecated macro `try`: use the `?` operator instead --> src/scanner/macros.rs:283:36 | 283 | let (w, end) = try!( | ^^^ | ::: src/scanner/lang.rs:285:1 | 285 | parse_scanner! { impl<'a> ScanFromOctal::scan_from_octal for u64, matcher match_oct_int, matcher err "expected octal integer", map |s| u64::from_str_radix(s, 8), err map ScanError::int } | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ in this macro invocation | = note: this warning originates in the macro `parse_scanner` (in Nightly builds, run with -Z macro-backtrace for more info) warning: use of deprecated macro `try`: use the `?` operator instead --> src/scanner/macros.rs:283:36 | 283 | let (w, end) = try!( | ^^^ | ::: src/scanner/lang.rs:286:1 | 286 | parse_scanner! { impl<'a> ScanFromOctal::scan_from_octal for usize, matcher match_oct_int, matcher err "expected octal integer", map |s| usize::from_str_radix(s, 8), err map ScanError::int } | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- in this macro invocation | = note: this warning originates in the macro `parse_scanner` (in Nightly builds, run with -Z macro-backtrace for more info) warning: use of deprecated macro `try`: use the `?` operator instead --> src/scanner/macros.rs:283:36 | 283 | let (w, end) = try!( | ^^^ | ::: src/scanner/lang.rs:288:1 | 288 | parse_scanner! { impl<'a> ScanFromHex::scan_from_hex for u8, matcher match_hex_int, matcher err "expected hex integer", map |s| u8::from_str_radix(s, 16), err map ScanError::int } | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- in this macro invocation | = note: this warning originates in the macro `parse_scanner` (in Nightly builds, run with -Z macro-backtrace for more info) warning: use of deprecated macro `try`: use the `?` operator instead --> src/scanner/macros.rs:283:36 | 283 | let (w, end) = try!( | ^^^ | ::: src/scanner/lang.rs:289:1 | 289 | parse_scanner! { impl<'a> ScanFromHex::scan_from_hex for u16, matcher match_hex_int, matcher err "expected hex integer", map |s| u16::from_str_radix(s, 16), err map ScanError::int } | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- in this macro invocation | = note: this warning originates in the macro `parse_scanner` (in Nightly builds, run with -Z macro-backtrace for more info) warning: use of deprecated macro `try`: use the `?` operator instead --> src/scanner/macros.rs:283:36 | 283 | let (w, end) = try!( | ^^^ | ::: src/scanner/lang.rs:290:1 | 290 | parse_scanner! { impl<'a> ScanFromHex::scan_from_hex for u32, matcher match_hex_int, matcher err "expected hex integer", map |s| u32::from_str_radix(s, 16), err map ScanError::int } | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- in this macro invocation | = note: this warning originates in the macro `parse_scanner` (in Nightly builds, run with -Z macro-backtrace for more info) warning: use of deprecated macro `try`: use the `?` operator instead --> src/scanner/macros.rs:283:36 | 283 | let (w, end) = try!( | ^^^ | ::: src/scanner/lang.rs:291:1 | 291 | parse_scanner! { impl<'a> ScanFromHex::scan_from_hex for u64, matcher match_hex_int, matcher err "expected hex integer", map |s| u64::from_str_radix(s, 16), err map ScanError::int } | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- in this macro invocation | = note: this warning originates in the macro `parse_scanner` (in Nightly builds, run with -Z macro-backtrace for more info) warning: use of deprecated macro `try`: use the `?` operator instead --> src/scanner/macros.rs:283:36 | 283 | let (w, end) = try!( | ^^^ | ::: src/scanner/lang.rs:292:1 | 292 | parse_scanner! { impl<'a> ScanFromHex::scan_from_hex for usize, matcher match_hex_int, matcher err "expected hex integer", map |s| usize::from_str_radix(s, 16), err map ScanError::int } | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- in this macro invocation | = note: this warning originates in the macro `parse_scanner` (in Nightly builds, run with -Z macro-backtrace for more info) warning: `...` range patterns are deprecated --> src/scanner/lang.rs:323:29 | 323 | matches!(b, b'0'...b'9' | b'a'...b'f' | b'A'...b'F')) | ^^^ 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/lang.rs:323:43 | 323 | matches!(b, b'0'...b'9' | b'a'...b'f' | b'A'...b'F')) | ^^^ 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/lang.rs:323:57 | 323 | matches!(b, b'0'...b'9' | b'a'...b'f' | b'A'...b'F')) | ^^^ 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/lang.rs:331:47 | 331 | .take_while(|&(_, b)| matches!(b, b'0'...b'7')) | ^^^ 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/lang.rs:345:46 | 345 | ibs.take_while(|&(_, b)| matches!(b, b'0'...b'9')) | ^^^ help: use `..=` for an inclusive range | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see warning: `...` range patterns are deprecated --> src/scanner/lang.rs:359:46 | 359 | ibs.take_while(|&(_, b)| matches!(b, b'0'...b'9')) | ^^^ help: use `..=` for an inclusive range | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see warning: `...` range patterns are deprecated --> src/scanner/misc.rs:188:19 | 188 | '\x0a'...'\x0d' | '\u{85}' | '\u{2028}' | '\u{2029}' => false, | ^^^ 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/misc.rs:763:25 | 763 | let (cp, cur) = try!(cur.next_cp().ok_or(syn("expected quoted string"))); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/util.rs:76:25 | 76 | let (cp, cur) = try!(cur.next_cp().ok_or(LoneSlash)); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/util.rs:96:27 | 96 | let (hex, tail) = try!(esc(s).ok_or(err)); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/util.rs:99:19 | 99 | let usv = try!(u32::from_str_radix(hex, 16).map_err(|_| InvalidValue)); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/util.rs:103:18 | 103 | let cp = try!(::std::char::from_u32(usv).ok_or(InvalidValue)); | ^^^ warning: `...` range patterns are deprecated --> src/util.rs:302:13 | 302 | b'0'...b'9' | b'a'...b'f' | b'A'...b'F' => 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/util.rs:302:27 | 302 | b'0'...b'9' | b'a'...b'f' | b'A'...b'F' => 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/util.rs:302:41 | 302 | b'0'...b'9' | b'a'...b'f' | b'A'...b'F' => true, | ^^^ help: use `..=` for an inclusive range | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see warning: use of deprecated trait `std::ascii::AsciiExt`: use inherent methods instead --> src/input.rs:690:25 | 690 | use std::ascii::AsciiExt; | ^^^^^^^^ warning: trait objects without an explicit `dyn` are deprecated --> src/error.rs:204:15 | 204 | Other(Box), | ^^^^^ | = note: `#[warn(bare_trait_objects)]` on by default = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 204 | Other(Box), | +++ warning: trait objects without an explicit `dyn` are deprecated --> src/error.rs:105:30 | 105 | pub fn other>>(err: E) -> Self { | ^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 105 | pub fn other>>(err: E) -> Self { | +++ warning: trait objects without an explicit `dyn` are deprecated --> src/error.rs:141:32 | 141 | fn cause(&self) -> Option<&Error> { | ^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 141 | fn cause(&self) -> Option<&dyn Error> { | +++ warning: trait objects without an explicit `dyn` are deprecated --> src/error.rs:215:35 | 215 | pub fn from_other>>(err: E) -> Self { | ^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 215 | pub fn from_other>>(err: E) -> Self { | +++ warning: trait objects without an explicit `dyn` are deprecated --> src/error.rs:242:32 | 242 | fn cause(&self) -> Option<&Error> { | ^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 242 | fn cause(&self) -> Option<&dyn Error> { | +++ warning: use of deprecated associated function `std::error::Error::cause`: replaced by Error::source, which can support downcasting --> src/error.rs:142:19 | 142 | self.kind.cause() | ^^^^^ warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() --> src/error.rs:146:19 | 146 | self.kind.description() | ^^^^^^^^^^^ warning: use of deprecated associated function `std::error::Error::cause`: replaced by Error::source, which can support downcasting --> src/error.rs:250:35 | 250 | Float(ref err) => err.cause(), | ^^^^^ warning: use of deprecated associated function `std::error::Error::cause`: replaced by Error::source, which can support downcasting --> src/error.rs:251:33 | 251 | Int(ref err) => err.cause(), | ^^^^^ warning: use of deprecated associated function `std::error::Error::cause`: replaced by Error::source, which can support downcasting --> src/error.rs:252:32 | 252 | Io(ref err) => err.cause(), | ^^^^^ warning: use of deprecated associated function `std::error::Error::cause`: replaced by Error::source, which can support downcasting --> src/error.rs:253:35 | 253 | Other(ref err) => err.cause(), | ^^^^^ warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() --> src/error.rs:265:35 | 265 | Float(ref err) => err.description(), | ^^^^^^^^^^^ warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() --> src/error.rs:266:33 | 266 | Int(ref err) => err.description(), | ^^^^^^^^^^^ warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() --> src/error.rs:267:32 | 267 | Io(ref err) => err.description(), | ^^^^^^^^^^^ warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() --> src/error.rs:268:35 | 268 | Other(ref err) => err.description(), | ^^^^^^^^^^^ warning: unused import: `std::ascii::AsciiExt` --> src/input.rs:690:13 | 690 | use std::ascii::AsciiExt; | ^^^^^^^^^^^^^^^^^^^^ warning: `scan-rules` (lib) generated 168 warnings (28 duplicates) Finished release [optimized] target(s) in 4.54s + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.PaQTmq + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/rust-scan-rules-0.2.0-1.fc38.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/rust-scan-rules-0.2.0-1.fc38.x86_64 ++ dirname /builddir/build/BUILDROOT/rust-scan-rules-0.2.0-1.fc38.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/rust-scan-rules-0.2.0-1.fc38.x86_64 + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd scan-rules-0.2.0 + set -eu + /usr/bin/cargo-inspector --target-kinds Cargo.toml ++ printf 'lib\nrlib\nproc-macro' + grep -q -F -x 'lib rlib proc-macro' ++ /usr/bin/cargo-inspector --name Cargo.toml + CRATE_NAME=scan-rules ++ /usr/bin/cargo-inspector --version Cargo.toml + CRATE_VERSION=0.2.0 + REG_DIR=/builddir/build/BUILDROOT/rust-scan-rules-0.2.0-1.fc38.x86_64/usr/share/cargo/registry/scan-rules-0.2.0 + /usr/bin/mkdir -p /builddir/build/BUILDROOT/rust-scan-rules-0.2.0-1.fc38.x86_64/usr/share/cargo/registry/scan-rules-0.2.0 + gawk -i inplace -v INPLACE_SUFFIX=.deps '/^\[((.+\.)?((dev|build)-)?dependencies|features)/{f=1;next} /^\[/{f=0}; !f' Cargo.toml + /usr/bin/env CARGO_HOME=.cargo RUSTC_BOOTSTRAP=1 'RUSTFLAGS=-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' /usr/bin/cargo package -l + xargs -d '\n' /usr/bin/cp --parents -a -t /builddir/build/BUILDROOT/rust-scan-rules-0.2.0-1.fc38.x86_64/usr/share/cargo/registry/scan-rules-0.2.0 + grep -w -E -v 'Cargo.(lock|toml.orig)' warning: No (git) VCS found for `/builddir/build/BUILD/scan-rules-0.2.0` + /usr/bin/mv Cargo.toml.deps Cargo.toml + /usr/bin/cp -a Cargo.toml /builddir/build/BUILDROOT/rust-scan-rules-0.2.0-1.fc38.x86_64/usr/share/cargo/registry/scan-rules-0.2.0/Cargo.toml + /usr/bin/rm -f /builddir/build/BUILDROOT/rust-scan-rules-0.2.0-1.fc38.x86_64/usr/share/cargo/registry/scan-rules-0.2.0/Cargo.toml.deps + echo '{"files":{},"package":""}' + grep -q -F -x bin + /usr/bin/cargo-inspector --target-kinds Cargo.toml + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/brp-strip /usr/bin/strip + /usr/lib/rpm/brp-strip-comment-note /usr/bin/strip /usr/bin/objdump + /usr/lib/rpm/redhat/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/check-rpaths + /usr/lib/rpm/redhat/brp-mangle-shebangs + /usr/lib/rpm/brp-remove-la-files + /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 + /usr/lib/rpm/redhat/brp-python-hardlink Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.Z9SmXQ + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd scan-rules-0.2.0 + /usr/bin/env CARGO_HOME=.cargo RUSTC_BOOTSTRAP=1 'RUSTFLAGS=-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' /usr/bin/cargo test -j2 -Z avoid-dev-deps --release --no-fail-fast Fresh unicode-segmentation v1.10.0 Fresh either v1.8.0 Fresh strcursor v0.2.5 Fresh itertools v0.10.5 Fresh lazy_static v1.4.0 Compiling bitflags v1.3.2 warning: unused `#[macro_use]` import --> src/lib.rs:290:1 | 290 | #[macro_use] extern crate lazy_static; | ^^^^^^^^^^^^ | = note: `#[warn(unused_imports)]` on by default warning: use of deprecated macro `try`: use the `?` operator instead --> src/error.rs:132:9 | 132 | try!("scan error: ".fmt(fmt)); | ^^^ | = note: `#[warn(deprecated)]` on by default warning: use of deprecated macro `try`: use the `?` operator instead --> src/error.rs:133:9 | 133 | try!(self.kind.fmt(fmt)); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/error.rs:134:9 | 134 | try!(", at offset: ".fmt(fmt)); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/error.rs:135:9 | 135 | try!(self.at.offset().fmt(fmt)); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/error.rs:226:17 | 226 | try!("syntax error: ".fmt(fmt)); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/error.rs:227:17 | 227 | try!(desc.fmt(fmt)); | ^^^ warning: unnecessary trailing semicolons --> src/macros.rs:743:30 | 743 | (@as_stmt $s:stmt) => {$s;}; | ^ help: remove these semicolons | ::: src/scanner/std/collections.rs:22:1 | 22 | / scanner! { impl<'a, K, V> ScanFromStr for BTreeMap => BTreeMap, where {K: Ord} { 23 | | ("{", [ let es: KeyValuePair ],*: BTreeMap, "}", ..tail) => (es, tail) 24 | | }} | |__- in this macro invocation | = note: `#[warn(redundant_semicolons)]` on by default = note: this warning originates in the macro `scan_rules_impl` which comes from the expansion of the macro `scanner` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unnecessary trailing semicolon --> src/macros.rs:743:30 | 743 | (@as_stmt $s:stmt) => {$s;}; | ^ help: remove this semicolon | ::: src/scanner/std/collections.rs:22:1 | 22 | / scanner! { impl<'a, K, V> ScanFromStr for BTreeMap => BTreeMap, where {K: Ord} { 23 | | ("{", [ let es: KeyValuePair ],*: BTreeMap, "}", ..tail) => (es, tail) 24 | | }} | |__- in this macro invocation | = note: this warning originates in the macro `scan_rules_impl` which comes from the expansion of the macro `scanner` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unnecessary trailing semicolons --> src/macros.rs:743:30 | 743 | (@as_stmt $s:stmt) => {$s;}; | ^ help: remove these semicolons | ::: src/scanner/std/collections.rs:26:1 | 26 | / scanner! { impl<'a, T> ScanFromStr for BTreeSet => BTreeSet, where {T: Ord} { 27 | | ("{", [ let es: T ],*: BTreeSet<_>, "}", ..tail) => (es, tail) 28 | | }} | |__- in this macro invocation | = note: this warning originates in the macro `scan_rules_impl` which comes from the expansion of the macro `scanner` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unnecessary trailing semicolon --> src/macros.rs:743:30 | 743 | (@as_stmt $s:stmt) => {$s;}; | ^ help: remove this semicolon | ::: src/scanner/std/collections.rs:26:1 | 26 | / scanner! { impl<'a, T> ScanFromStr for BTreeSet => BTreeSet, where {T: Ord} { 27 | | ("{", [ let es: T ],*: BTreeSet<_>, "}", ..tail) => (es, tail) 28 | | }} | |__- in this macro invocation | = note: this warning originates in the macro `scan_rules_impl` which comes from the expansion of the macro `scanner` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unnecessary trailing semicolons --> src/macros.rs:743:30 | 743 | (@as_stmt $s:stmt) => {$s;}; | ^ help: remove these semicolons | ::: src/scanner/std/collections.rs:30:1 | 30 | / scanner! { impl<'a, T> ScanFromStr for BinaryHeap => BinaryHeap, where {T: Ord} { 31 | | ("[", [ let es: T ],*: BinaryHeap<_>, "]", ..tail) => (es, tail) 32 | | }} | |__- in this macro invocation | = note: this warning originates in the macro `scan_rules_impl` which comes from the expansion of the macro `scanner` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unnecessary trailing semicolon --> src/macros.rs:743:30 | 743 | (@as_stmt $s:stmt) => {$s;}; | ^ help: remove this semicolon | ::: src/scanner/std/collections.rs:30:1 | 30 | / scanner! { impl<'a, T> ScanFromStr for BinaryHeap => BinaryHeap, where {T: Ord} { 31 | | ("[", [ let es: T ],*: BinaryHeap<_>, "]", ..tail) => (es, tail) 32 | | }} | |__- in this macro invocation | = note: this warning originates in the macro `scan_rules_impl` which comes from the expansion of the macro `scanner` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unnecessary trailing semicolons --> src/macros.rs:743:30 | 743 | (@as_stmt $s:stmt) => {$s;}; | ^ help: remove these semicolons | ::: src/scanner/std/collections.rs:34:1 | 34 | / scanner! { impl<'a, K, V> ScanFromStr for HashMap => HashMap, where {K: Hash + Eq} { 35 | | ("{", [ let es: KeyValuePair ],*: HashMap, "}", ..tail) => (es, tail) 36 | | }} | |__- in this macro invocation | = note: this warning originates in the macro `scan_rules_impl` which comes from the expansion of the macro `scanner` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unnecessary trailing semicolon --> src/macros.rs:743:30 | 743 | (@as_stmt $s:stmt) => {$s;}; | ^ help: remove this semicolon | ::: src/scanner/std/collections.rs:34:1 | 34 | / scanner! { impl<'a, K, V> ScanFromStr for HashMap => HashMap, where {K: Hash + Eq} { 35 | | ("{", [ let es: KeyValuePair ],*: HashMap, "}", ..tail) => (es, tail) 36 | | }} | |__- in this macro invocation | = note: this warning originates in the macro `scan_rules_impl` which comes from the expansion of the macro `scanner` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unnecessary trailing semicolons --> src/macros.rs:743:30 | 743 | (@as_stmt $s:stmt) => {$s;}; | ^ help: remove these semicolons | ::: src/scanner/std/collections.rs:38:1 | 38 | / scanner! { impl<'a, T> ScanFromStr for HashSet => HashSet, where {T: Hash + Eq} { 39 | | ("{", [ let es: T ],*: HashSet<_>, "}", ..tail) => (es, tail) 40 | | }} | |__- in this macro invocation | = note: this warning originates in the macro `scan_rules_impl` which comes from the expansion of the macro `scanner` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unnecessary trailing semicolon --> src/macros.rs:743:30 | 743 | (@as_stmt $s:stmt) => {$s;}; | ^ help: remove this semicolon | ::: src/scanner/std/collections.rs:38:1 | 38 | / scanner! { impl<'a, T> ScanFromStr for HashSet => HashSet, where {T: Hash + Eq} { 39 | | ("{", [ let es: T ],*: HashSet<_>, "}", ..tail) => (es, tail) 40 | | }} | |__- in this macro invocation | = note: this warning originates in the macro `scan_rules_impl` which comes from the expansion of the macro `scanner` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unnecessary trailing semicolons --> src/macros.rs:743:30 | 743 | (@as_stmt $s:stmt) => {$s;}; | ^ help: remove these semicolons | ::: src/scanner/std/collections.rs:42:1 | 42 | / scanner! { impl<'a, T> ScanFromStr for LinkedList => LinkedList { 43 | | ("[", [ let es: T ],*: LinkedList<_>, "]", ..tail) => (es, tail) 44 | | }} | |__- in this macro invocation | = note: this warning originates in the macro `scan_rules_impl` which comes from the expansion of the macro `scanner` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unnecessary trailing semicolon --> src/macros.rs:743:30 | 743 | (@as_stmt $s:stmt) => {$s;}; | ^ help: remove this semicolon | ::: src/scanner/std/collections.rs:42:1 | 42 | / scanner! { impl<'a, T> ScanFromStr for LinkedList => LinkedList { 43 | | ("[", [ let es: T ],*: LinkedList<_>, "]", ..tail) => (es, tail) 44 | | }} | |__- in this macro invocation | = note: this warning originates in the macro `scan_rules_impl` which comes from the expansion of the macro `scanner` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unnecessary trailing semicolons --> src/macros.rs:743:30 | 743 | (@as_stmt $s:stmt) => {$s;}; | ^ help: remove these semicolons | ::: src/scanner/std/collections.rs:46:1 | 46 | / scanner! { impl<'a, T> ScanFromStr for Vec => Vec { 47 | | ("[", [ let es: T ],*, "]", ..tail) => (es, tail) 48 | | }} | |__- in this macro invocation | = note: this warning originates in the macro `scan_rules_impl` which comes from the expansion of the macro `scanner` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unnecessary trailing semicolon --> src/macros.rs:743:30 | 743 | (@as_stmt $s:stmt) => {$s;}; | ^ help: remove this semicolon | ::: src/scanner/std/collections.rs:46:1 | 46 | / scanner! { impl<'a, T> ScanFromStr for Vec => Vec { 47 | | ("[", [ let es: T ],*, "]", ..tail) => (es, tail) 48 | | }} | |__- in this macro invocation | = note: this warning originates in the macro `scan_rules_impl` which comes from the expansion of the macro `scanner` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unnecessary trailing semicolons --> src/macros.rs:743:30 | 743 | (@as_stmt $s:stmt) => {$s;}; | ^ help: remove these semicolons | ::: src/scanner/std/collections.rs:50:1 | 50 | / scanner! { impl<'a, T> ScanFromStr for VecDeque => VecDeque { 51 | | ("[", [ let es: T ],*: VecDeque<_>, "]", ..tail) => (es, tail) 52 | | }} | |__- in this macro invocation | = note: this warning originates in the macro `scan_rules_impl` which comes from the expansion of the macro `scanner` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unnecessary trailing semicolon --> src/macros.rs:743:30 | 743 | (@as_stmt $s:stmt) => {$s;}; | ^ help: remove this semicolon | ::: src/scanner/std/collections.rs:50:1 | 50 | / scanner! { impl<'a, T> ScanFromStr for VecDeque => VecDeque { 51 | | ("[", [ let es: T ],*: VecDeque<_>, "]", ..tail) => (es, tail) 52 | | }} | |__- in this macro invocation | = note: this warning originates in the macro `scan_rules_impl` which comes from the expansion of the macro `scanner` (in Nightly builds, run with -Z macro-backtrace for more info) warning: use of deprecated macro `try`: use the `?` operator instead --> src/scanner/macros.rs:191:37 | 191 | let ($s, end) = try!( | ^^^ | ::: src/scanner/std/net.rs:17:1 | 17 | parse_scanner! { impl<'a> for Ipv4Addr, matcher match_ipv4, matcher err "expected IPv4 address", err map ScanError::other } | --------------------------------------------------------------------------------------------------------------------------- in this macro invocation | = note: this warning originates in the macro `parse_scanner` (in Nightly builds, run with -Z macro-backtrace for more info) warning: use of deprecated macro `try`: use the `?` operator instead --> src/scanner/macros.rs:191:37 | 191 | let ($s, end) = try!( | ^^^ | ::: src/scanner/std/net.rs:18:1 | 18 | parse_scanner! { impl<'a> for Ipv6Addr, matcher match_ipv6, matcher err "expected IPv6 address", err map ScanError::other } | --------------------------------------------------------------------------------------------------------------------------- in this macro invocation | = note: this warning originates in the macro `parse_scanner` (in Nightly builds, run with -Z macro-backtrace for more info) warning: use of deprecated macro `try`: use the `?` operator instead --> src/scanner/macros.rs:191:37 | 191 | let ($s, end) = try!( | ^^^ | ::: src/scanner/std/net.rs:19:1 | 19 | parse_scanner! { impl<'a> for SocketAddr, matcher match_sock_addr, matcher err "expected socket address", err map ScanError::other } | ------------------------------------------------------------------------------------------------------------------------------------ in this macro invocation | = note: this warning originates in the macro `parse_scanner` (in Nightly builds, run with -Z macro-backtrace for more info) warning: `...` range patterns are deprecated --> src/scanner/std/net.rs:63:33 | 63 | matches!(b, b'0'...b'9' | b'a'...b'f' | b'A'...b'F')) | ^^^ help: use `..=` for an inclusive range | = note: `#[warn(ellipsis_inclusive_range_patterns)]` on by default = 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/std/net.rs:63:47 | 63 | matches!(b, b'0'...b'9' | b'a'...b'f' | b'A'...b'F')) | ^^^ 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/std/net.rs:63:61 | 63 | matches!(b, b'0'...b'9' | b'a'...b'f' | b'A'...b'F')) | ^^^ 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/std/net.rs:73:33 | 73 | matches!(b, b'0'...b'9')) | ^^^ help: use `..=` for an inclusive range | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see warning: `...` range patterns are deprecated --> src/scanner/std/net.rs:209:50 | 209 | ibs.take_while_ref(|&(_, b)| matches!(b, b'0'...b'9')) | ^^^ help: use `..=` for an inclusive range | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see warning: use of deprecated macro `try`: use the `?` operator instead --> src/scanner/macros.rs:191:37 | 191 | let ($s, end) = try!( | ^^^ | ::: src/scanner/std/net.rs:351:5 | 351 | parse_scanner! { impl<'a> for SocketAddrV4, matcher match_ipv4_sock, matcher err "expected IPv4 socket address", err map ScanError::other } | ------------------------------------------------------------------------------------------------------------------------------------------- in this macro invocation | = note: this warning originates in the macro `parse_scanner` (in Nightly builds, run with -Z macro-backtrace for more info) warning: use of deprecated macro `try`: use the `?` operator instead --> src/scanner/macros.rs:191:37 | 191 | let ($s, end) = try!( | ^^^ | ::: src/scanner/std/net.rs:352:5 | 352 | parse_scanner! { impl<'a> for SocketAddrV6, matcher match_ipv6_sock, matcher err "expected IPv6 socket address", err map ScanError::other } | ------------------------------------------------------------------------------------------------------------------------------------------- in this macro invocation | = note: this warning originates in the macro `parse_scanner` (in Nightly builds, run with -Z macro-backtrace for more info) warning: use of deprecated macro `try`: use the `?` operator instead --> src/scanner/std/time.rs:56:26 | 56 | let (dur, cur) = try!(scan_8601(cur)); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/scanner/std/time.rs:528:34 | 528 | let ((int, frac), cur) = try!(scan_real(cur)); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/scanner/std/time.rs:481:13 | 481 | try!(checked_add_dur($a, try!($b)) | ^^^ ... 530 | Some(('H', cur)) => given_hour(add_dur!(dur, dur_hours(int, frac)), cur), | ----------------------------------- in this macro invocation | = note: this warning originates in the macro `add_dur` (in Nightly builds, run with -Z macro-backtrace for more info) warning: use of deprecated macro `try`: use the `?` operator instead --> src/scanner/std/time.rs:481:38 | 481 | try!(checked_add_dur($a, try!($b)) | ^^^ ... 530 | Some(('H', cur)) => given_hour(add_dur!(dur, dur_hours(int, frac)), cur), | ----------------------------------- in this macro invocation | = note: this warning originates in the macro `add_dur` (in Nightly builds, run with -Z macro-backtrace for more info) warning: use of deprecated macro `try`: use the `?` operator instead --> src/scanner/std/time.rs:481:13 | 481 | try!(checked_add_dur($a, try!($b)) | ^^^ ... 531 | Some(('M', cur)) => given_min(add_dur!(dur, dur_mins(int, frac)), cur), | ---------------------------------- in this macro invocation | = note: this warning originates in the macro `add_dur` (in Nightly builds, run with -Z macro-backtrace for more info) warning: use of deprecated macro `try`: use the `?` operator instead --> src/scanner/std/time.rs:481:38 | 481 | try!(checked_add_dur($a, try!($b)) | ^^^ ... 531 | Some(('M', cur)) => given_min(add_dur!(dur, dur_mins(int, frac)), cur), | ---------------------------------- in this macro invocation | = note: this warning originates in the macro `add_dur` (in Nightly builds, run with -Z macro-backtrace for more info) warning: use of deprecated macro `try`: use the `?` operator instead --> src/scanner/std/time.rs:481:13 | 481 | try!(checked_add_dur($a, try!($b)) | ^^^ ... 532 | Some(('S', cur)) => given_sec(add_dur!(dur, dur_secs(int, frac)), cur), | ---------------------------------- in this macro invocation | = note: this warning originates in the macro `add_dur` (in Nightly builds, run with -Z macro-backtrace for more info) warning: use of deprecated macro `try`: use the `?` operator instead --> src/scanner/std/time.rs:481:38 | 481 | try!(checked_add_dur($a, try!($b)) | ^^^ ... 532 | Some(('S', cur)) => given_sec(add_dur!(dur, dur_secs(int, frac)), cur), | ---------------------------------- in this macro invocation | = note: this warning originates in the macro `add_dur` (in Nightly builds, run with -Z macro-backtrace for more info) warning: `...` range patterns are deprecated --> src/scanner/std/time.rs:540:22 | 540 | Some(('0'...'9', _)) => (), | ^^^ help: use `..=` for an inclusive range | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see warning: use of deprecated macro `try`: use the `?` operator instead --> src/scanner/std/time.rs:544:34 | 544 | let ((int, frac), cur) = try!(scan_real(cur)); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/scanner/std/time.rs:481:13 | 481 | try!(checked_add_dur($a, try!($b)) | ^^^ ... 546 | Some(('M', cur)) => given_min(add_dur!(dur, dur_mins(int, frac)), cur), | ---------------------------------- in this macro invocation | = note: this warning originates in the macro `add_dur` (in Nightly builds, run with -Z macro-backtrace for more info) warning: use of deprecated macro `try`: use the `?` operator instead --> src/scanner/std/time.rs:481:38 | 481 | try!(checked_add_dur($a, try!($b)) | ^^^ ... 546 | Some(('M', cur)) => given_min(add_dur!(dur, dur_mins(int, frac)), cur), | ---------------------------------- in this macro invocation | = note: this warning originates in the macro `add_dur` (in Nightly builds, run with -Z macro-backtrace for more info) warning: use of deprecated macro `try`: use the `?` operator instead --> src/scanner/std/time.rs:481:13 | 481 | try!(checked_add_dur($a, try!($b)) | ^^^ ... 547 | Some(('S', cur)) => given_sec(add_dur!(dur, dur_secs(int, frac)), cur), | ---------------------------------- in this macro invocation | = note: this warning originates in the macro `add_dur` (in Nightly builds, run with -Z macro-backtrace for more info) warning: use of deprecated macro `try`: use the `?` operator instead --> src/scanner/std/time.rs:481:38 | 481 | try!(checked_add_dur($a, try!($b)) | ^^^ ... 547 | Some(('S', cur)) => given_sec(add_dur!(dur, dur_secs(int, frac)), cur), | ---------------------------------- in this macro invocation | = note: this warning originates in the macro `add_dur` (in Nightly builds, run with -Z macro-backtrace for more info) warning: `...` range patterns are deprecated --> src/scanner/std/time.rs:555:22 | 555 | Some(('0'...'9', _)) => (), | ^^^ help: use `..=` for an inclusive range | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see warning: use of deprecated macro `try`: use the `?` operator instead --> src/scanner/std/time.rs:559:34 | 559 | let ((int, frac), cur) = try!(scan_real(cur)); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/scanner/std/time.rs:481:13 | 481 | try!(checked_add_dur($a, try!($b)) | ^^^ ... 561 | Some(('S', cur)) => given_sec(add_dur!(dur, dur_secs(int, frac)), cur), | ---------------------------------- in this macro invocation | = note: this warning originates in the macro `add_dur` (in Nightly builds, run with -Z macro-backtrace for more info) warning: use of deprecated macro `try`: use the `?` operator instead --> src/scanner/std/time.rs:481:38 | 481 | try!(checked_add_dur($a, try!($b)) | ^^^ ... 561 | Some(('S', cur)) => given_sec(add_dur!(dur, dur_secs(int, frac)), cur), | ---------------------------------- in this macro invocation | = note: this warning originates in the macro `add_dur` (in Nightly builds, run with -Z macro-backtrace for more info) warning: use of deprecated macro `try`: use the `?` operator instead --> src/scanner/std/time.rs:595:28 | 595 | let secs = try!(int.checked_mul($scale) | ^^^ ... 609 | / dur_conv! { 610 | | #[cfg(feature="duration-iso8601-dates")] fn dur_years("years", SECS_IN_YEAR); 611 | | #[cfg(feature="duration-iso8601-dates")] fn dur_months("months", SECS_IN_MONTH); 612 | | #[cfg(feature="duration-iso8601-dates")] fn dur_weeks("weeks", SECS_IN_WEEK); ... | 617 | | fn dur_secs("secs", SECS_IN_SEC); 618 | | } | |_- in this macro invocation | = note: this warning originates in the macro `dur_conv` (in Nightly builds, run with -Z macro-backtrace for more info) warning: use of deprecated macro `try`: use the `?` operator instead --> src/scanner/std/time.rs:599:28 | 599 | let secs = try!(secs.checked_add(nanos as u64) | ^^^ ... 609 | / dur_conv! { 610 | | #[cfg(feature="duration-iso8601-dates")] fn dur_years("years", SECS_IN_YEAR); 611 | | #[cfg(feature="duration-iso8601-dates")] fn dur_months("months", SECS_IN_MONTH); 612 | | #[cfg(feature="duration-iso8601-dates")] fn dur_weeks("weeks", SECS_IN_WEEK); ... | 617 | | fn dur_secs("secs", SECS_IN_SEC); 618 | | } | |_- in this macro invocation | = note: this warning originates in the macro `dur_conv` (in Nightly builds, run with -Z macro-backtrace for more info) warning: `...` range patterns are deprecated --> src/scanner/std/time.rs:623:18 | 623 | Some(('0'...'9', cur)) => cur, | ^^^ 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/std/time.rs:630:22 | 630 | Some(('0'...'9', cur)) => cur, | ^^^ 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/std/time.rs:632:25 | 632 | let v = try!(start.slice_between(cur).unwrap().parse() | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/scanner/std/time.rs:649:22 | 649 | let (int, cur) = try!(scan_integer(cur)); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/scanner/std/time.rs:658:28 | 658 | let (frac, frac_cur) = try!(scan_integer(cur)); | ^^^ warning: unnecessary trailing semicolons --> src/macros.rs:743:30 | 743 | (@as_stmt $s:stmt) => {$s;}; | ^ help: remove these semicolons | ::: src/scanner/std/mod.rs:49:5 | 49 | impl_tuple! { T0 T1 T2 T3 } | --------------------------- in this macro invocation | = note: this warning originates in the macro `scan_rules_impl` which comes from the expansion of the macro `impl_tuple` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unnecessary trailing semicolon --> src/macros.rs:743:30 | 743 | (@as_stmt $s:stmt) => {$s;}; | ^ help: remove this semicolon | ::: src/scanner/std/mod.rs:49:5 | 49 | impl_tuple! { T0 T1 T2 T3 } | --------------------------- in this macro invocation | = note: this warning originates in the macro `scan_rules_impl` which comes from the expansion of the macro `impl_tuple` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unnecessary trailing semicolons --> src/macros.rs:743:30 | 743 | (@as_stmt $s:stmt) => {$s;}; | ^ help: remove these semicolons | ::: src/scanner/std/mod.rs:93:5 | 93 | / impl_array! { 94 | | 8 e8 7 e7 6 e6 5 e5 4 e4 3 e3 2 e2 1 e1 95 | | } | |_____- in this macro invocation | = note: this warning originates in the macro `scan_rules_impl` which comes from the expansion of the macro `impl_array` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unnecessary trailing semicolon --> src/macros.rs:743:30 | 743 | (@as_stmt $s:stmt) => {$s;}; | ^ help: remove this semicolon | ::: src/scanner/std/mod.rs:93:5 | 93 | / impl_array! { 94 | | 8 e8 7 e7 6 e6 5 e5 4 e4 3 e3 2 e2 1 e1 95 | | } | |_____- in this macro invocation | = note: this warning originates in the macro `scan_rules_impl` which comes from the expansion of the macro `impl_array` (in Nightly builds, run with -Z macro-backtrace for more info) warning: use of deprecated macro `try`: use the `?` operator instead --> src/scanner/lang.rs:45:19 | 45 | let cur = try!(StrCursor::new_at_start(s.as_str()).at_next_cp() | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/scanner/macros.rs:191:37 | 191 | let ($s, end) = try!( | ^^^ | ::: src/scanner/lang.rs:66:1 | 66 | parse_scanner! { impl<'a> for f32, matcher match_float, matcher err "expected floating point number", err map ScanError::float } | -------------------------------------------------------------------------------------------------------------------------------- in this macro invocation | = note: this warning originates in the macro `parse_scanner` (in Nightly builds, run with -Z macro-backtrace for more info) warning: use of deprecated macro `try`: use the `?` operator instead --> src/scanner/macros.rs:191:37 | 191 | let ($s, end) = try!( | ^^^ | ::: src/scanner/lang.rs:67:1 | 67 | parse_scanner! { impl<'a> for f64, matcher match_float, matcher err "expected floating point number", err map ScanError::float } | -------------------------------------------------------------------------------------------------------------------------------- in this macro invocation | = note: this warning originates in the macro `parse_scanner` (in Nightly builds, run with -Z macro-backtrace for more info) warning: `...` range patterns are deprecated --> src/scanner/lang.rs:101:51 | 101 | .take_while_ref(|&(_, b)| matches!(b, b'0'...b'9')) | ^^^ help: use `..=` for an inclusive range | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see warning: `...` range patterns are deprecated --> src/scanner/lang.rs:119:50 | 119 | ibs.take_while(|&(_, b)| matches!(b, b'0'...b'9')) | ^^^ help: use `..=` for an inclusive range | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see warning: `...` range patterns are deprecated --> src/scanner/lang.rs:129:59 | 129 | .take_while_ref(|&(_, b)| matches!(b, b'0'...b'9')) | ^^^ help: use `..=` for an inclusive range | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see warning: use of deprecated macro `try`: use the `?` operator instead --> src/scanner/macros.rs:191:37 | 191 | let ($s, end) = try!( | ^^^ | ::: src/scanner/lang.rs:228:1 | 228 | parse_scanner! { impl<'a> for i8, matcher match_sinteger, matcher err "expected integer", err map ScanError::int } | ------------------------------------------------------------------------------------------------------------------ in this macro invocation | = note: this warning originates in the macro `parse_scanner` (in Nightly builds, run with -Z macro-backtrace for more info) warning: use of deprecated macro `try`: use the `?` operator instead --> src/scanner/macros.rs:191:37 | 191 | let ($s, end) = try!( | ^^^ | ::: src/scanner/lang.rs:229:1 | 229 | parse_scanner! { impl<'a> for i16, matcher match_sinteger, matcher err "expected integer", err map ScanError::int } | ------------------------------------------------------------------------------------------------------------------- in this macro invocation | = note: this warning originates in the macro `parse_scanner` (in Nightly builds, run with -Z macro-backtrace for more info) warning: use of deprecated macro `try`: use the `?` operator instead --> src/scanner/macros.rs:191:37 | 191 | let ($s, end) = try!( | ^^^ | ::: src/scanner/lang.rs:230:1 | 230 | parse_scanner! { impl<'a> for i32, matcher match_sinteger, matcher err "expected integer", err map ScanError::int } | ------------------------------------------------------------------------------------------------------------------- in this macro invocation | = note: this warning originates in the macro `parse_scanner` (in Nightly builds, run with -Z macro-backtrace for more info) warning: use of deprecated macro `try`: use the `?` operator instead --> src/scanner/macros.rs:191:37 | 191 | let ($s, end) = try!( | ^^^ | ::: src/scanner/lang.rs:231:1 | 231 | parse_scanner! { impl<'a> for i64, matcher match_sinteger, matcher err "expected integer", err map ScanError::int } | ------------------------------------------------------------------------------------------------------------------- in this macro invocation | = note: this warning originates in the macro `parse_scanner` (in Nightly builds, run with -Z macro-backtrace for more info) warning: use of deprecated macro `try`: use the `?` operator instead --> src/scanner/macros.rs:191:37 | 191 | let ($s, end) = try!( | ^^^ | ::: src/scanner/lang.rs:232:1 | 232 | parse_scanner! { impl<'a> for isize, matcher match_sinteger, matcher err "expected integer", err map ScanError::int } | --------------------------------------------------------------------------------------------------------------------- in this macro invocation | = note: this warning originates in the macro `parse_scanner` (in Nightly builds, run with -Z macro-backtrace for more info) warning: use of deprecated macro `try`: use the `?` operator instead --> src/scanner/macros.rs:283:36 | 283 | let (w, end) = try!( | ^^^ | ::: src/scanner/lang.rs:234:1 | 234 | parse_scanner! { impl<'a> ScanFromBinary::scan_from_binary for i8, matcher match_bin_int, matcher err "expected binary integer", map |s| i8::from_str_radix(s, 2), err map ScanError::int } | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- in this macro invocation | = note: this warning originates in the macro `parse_scanner` (in Nightly builds, run with -Z macro-backtrace for more info) warning: use of deprecated macro `try`: use the `?` operator instead --> src/scanner/macros.rs:283:36 | 283 | let (w, end) = try!( | ^^^ | ::: src/scanner/lang.rs:235:1 | 235 | parse_scanner! { impl<'a> ScanFromBinary::scan_from_binary for i16, matcher match_bin_int, matcher err "expected binary integer", map |s| i16::from_str_radix(s, 2), err map ScanError::int } | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- in this macro invocation | = note: this warning originates in the macro `parse_scanner` (in Nightly builds, run with -Z macro-backtrace for more info) warning: use of deprecated macro `try`: use the `?` operator instead --> src/scanner/macros.rs:283:36 | 283 | let (w, end) = try!( | ^^^ | ::: src/scanner/lang.rs:236:1 | 236 | parse_scanner! { impl<'a> ScanFromBinary::scan_from_binary for i32, matcher match_bin_int, matcher err "expected binary integer", map |s| i32::from_str_radix(s, 2), err map ScanError::int } | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- in this macro invocation | = note: this warning originates in the macro `parse_scanner` (in Nightly builds, run with -Z macro-backtrace for more info) warning: use of deprecated macro `try`: use the `?` operator instead --> src/scanner/macros.rs:283:36 | 283 | let (w, end) = try!( | ^^^ | ::: src/scanner/lang.rs:237:1 | 237 | parse_scanner! { impl<'a> ScanFromBinary::scan_from_binary for i64, matcher match_bin_int, matcher err "expected binary integer", map |s| i64::from_str_radix(s, 2), err map ScanError::int } | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- in this macro invocation | = note: this warning originates in the macro `parse_scanner` (in Nightly builds, run with -Z macro-backtrace for more info) warning: use of deprecated macro `try`: use the `?` operator instead --> src/scanner/macros.rs:283:36 | 283 | let (w, end) = try!( | ^^^ | ::: src/scanner/lang.rs:238:1 | 238 | parse_scanner! { impl<'a> ScanFromBinary::scan_from_binary for isize, matcher match_bin_int, matcher err "expected binary integer", map |s| isize::from_str_radix(s, 2), err map ScanError::int } | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- in this macro invocation | = note: this warning originates in the macro `parse_scanner` (in Nightly builds, run with -Z macro-backtrace for more info) warning: use of deprecated macro `try`: use the `?` operator instead --> src/scanner/macros.rs:283:36 | 283 | let (w, end) = try!( | ^^^ | ::: src/scanner/lang.rs:240:1 | 240 | parse_scanner! { impl<'a> ScanFromOctal::scan_from_octal for i8, matcher match_oct_int, matcher err "expected octal integer", map |s| i8::from_str_radix(s, 8), err map ScanError::int } | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- in this macro invocation | = note: this warning originates in the macro `parse_scanner` (in Nightly builds, run with -Z macro-backtrace for more info) warning: use of deprecated macro `try`: use the `?` operator instead --> src/scanner/macros.rs:283:36 | 283 | let (w, end) = try!( | ^^^ | ::: src/scanner/lang.rs:241:1 | 241 | parse_scanner! { impl<'a> ScanFromOctal::scan_from_octal for i16, matcher match_oct_int, matcher err "expected octal integer", map |s| i16::from_str_radix(s, 8), err map ScanError::int } | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ in this macro invocation | = note: this warning originates in the macro `parse_scanner` (in Nightly builds, run with -Z macro-backtrace for more info) warning: use of deprecated macro `try`: use the `?` operator instead --> src/scanner/macros.rs:283:36 | 283 | let (w, end) = try!( | ^^^ | ::: src/scanner/lang.rs:242:1 | 242 | parse_scanner! { impl<'a> ScanFromOctal::scan_from_octal for i32, matcher match_oct_int, matcher err "expected octal integer", map |s| i32::from_str_radix(s, 8), err map ScanError::int } | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ in this macro invocation | = note: this warning originates in the macro `parse_scanner` (in Nightly builds, run with -Z macro-backtrace for more info) warning: use of deprecated macro `try`: use the `?` operator instead --> src/scanner/macros.rs:283:36 | 283 | let (w, end) = try!( | ^^^ | ::: src/scanner/lang.rs:243:1 | 243 | parse_scanner! { impl<'a> ScanFromOctal::scan_from_octal for i64, matcher match_oct_int, matcher err "expected octal integer", map |s| i64::from_str_radix(s, 8), err map ScanError::int } | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ in this macro invocation | = note: this warning originates in the macro `parse_scanner` (in Nightly builds, run with -Z macro-backtrace for more info) warning: use of deprecated macro `try`: use the `?` operator instead --> src/scanner/macros.rs:283:36 | 283 | let (w, end) = try!( | ^^^ | ::: src/scanner/lang.rs:244:1 | 244 | parse_scanner! { impl<'a> ScanFromOctal::scan_from_octal for isize, matcher match_oct_int, matcher err "expected octal integer", map |s| isize::from_str_radix(s, 8), err map ScanError::int } | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- in this macro invocation | = note: this warning originates in the macro `parse_scanner` (in Nightly builds, run with -Z macro-backtrace for more info) warning: use of deprecated macro `try`: use the `?` operator instead --> src/scanner/macros.rs:283:36 | 283 | let (w, end) = try!( | ^^^ | ::: src/scanner/lang.rs:246:1 | 246 | parse_scanner! { impl<'a> ScanFromHex::scan_from_hex for i8, matcher match_hex_int, matcher err "expected hex integer", map |s| i8::from_str_radix(s, 16), err map ScanError::int } | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- in this macro invocation | = note: this warning originates in the macro `parse_scanner` (in Nightly builds, run with -Z macro-backtrace for more info) warning: use of deprecated macro `try`: use the `?` operator instead --> src/scanner/macros.rs:283:36 | 283 | let (w, end) = try!( | ^^^ | ::: src/scanner/lang.rs:247:1 | 247 | parse_scanner! { impl<'a> ScanFromHex::scan_from_hex for i16, matcher match_hex_int, matcher err "expected hex integer", map |s| i16::from_str_radix(s, 16), err map ScanError::int } | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- in this macro invocation | = note: this warning originates in the macro `parse_scanner` (in Nightly builds, run with -Z macro-backtrace for more info) warning: use of deprecated macro `try`: use the `?` operator instead --> src/scanner/macros.rs:283:36 | 283 | let (w, end) = try!( | ^^^ | ::: src/scanner/lang.rs:248:1 | 248 | parse_scanner! { impl<'a> ScanFromHex::scan_from_hex for i32, matcher match_hex_int, matcher err "expected hex integer", map |s| i32::from_str_radix(s, 16), err map ScanError::int } | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- in this macro invocation | = note: this warning originates in the macro `parse_scanner` (in Nightly builds, run with -Z macro-backtrace for more info) warning: use of deprecated macro `try`: use the `?` operator instead --> src/scanner/macros.rs:283:36 | 283 | let (w, end) = try!( | ^^^ | ::: src/scanner/lang.rs:249:1 | 249 | parse_scanner! { impl<'a> ScanFromHex::scan_from_hex for i64, matcher match_hex_int, matcher err "expected hex integer", map |s| i64::from_str_radix(s, 16), err map ScanError::int } | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- in this macro invocation | = note: this warning originates in the macro `parse_scanner` (in Nightly builds, run with -Z macro-backtrace for more info) warning: use of deprecated macro `try`: use the `?` operator instead --> src/scanner/macros.rs:283:36 | 283 | let (w, end) = try!( | ^^^ | ::: src/scanner/lang.rs:250:1 | 250 | parse_scanner! { impl<'a> ScanFromHex::scan_from_hex for isize, matcher match_hex_int, matcher err "expected hex integer", map |s| isize::from_str_radix(s, 16), err map ScanError::int } | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- in this macro invocation | = note: this warning originates in the macro `parse_scanner` (in Nightly builds, run with -Z macro-backtrace for more info) warning: use of deprecated macro `try`: use the `?` operator instead --> src/scanner/macros.rs:191:37 | 191 | let ($s, end) = try!( | ^^^ | ::: src/scanner/lang.rs:270:1 | 270 | parse_scanner! { impl<'a> for u8, matcher match_uinteger, matcher err "expected integer", err map ScanError::int } | ------------------------------------------------------------------------------------------------------------------ in this macro invocation | = note: this warning originates in the macro `parse_scanner` (in Nightly builds, run with -Z macro-backtrace for more info) warning: use of deprecated macro `try`: use the `?` operator instead --> src/scanner/macros.rs:191:37 | 191 | let ($s, end) = try!( | ^^^ | ::: src/scanner/lang.rs:271:1 | 271 | parse_scanner! { impl<'a> for u16, matcher match_uinteger, matcher err "expected integer", err map ScanError::int } | ------------------------------------------------------------------------------------------------------------------- in this macro invocation | = note: this warning originates in the macro `parse_scanner` (in Nightly builds, run with -Z macro-backtrace for more info) warning: use of deprecated macro `try`: use the `?` operator instead --> src/scanner/macros.rs:191:37 | 191 | let ($s, end) = try!( | ^^^ | ::: src/scanner/lang.rs:272:1 | 272 | parse_scanner! { impl<'a> for u32, matcher match_uinteger, matcher err "expected integer", err map ScanError::int } | ------------------------------------------------------------------------------------------------------------------- in this macro invocation | = note: this warning originates in the macro `parse_scanner` (in Nightly builds, run with -Z macro-backtrace for more info) warning: use of deprecated macro `try`: use the `?` operator instead --> src/scanner/macros.rs:191:37 | 191 | let ($s, end) = try!( | ^^^ | ::: src/scanner/lang.rs:273:1 | 273 | parse_scanner! { impl<'a> for u64, matcher match_uinteger, matcher err "expected integer", err map ScanError::int } | ------------------------------------------------------------------------------------------------------------------- in this macro invocation | = note: this warning originates in the macro `parse_scanner` (in Nightly builds, run with -Z macro-backtrace for more info) warning: use of deprecated macro `try`: use the `?` operator instead --> src/scanner/macros.rs:191:37 | 191 | let ($s, end) = try!( | ^^^ | ::: src/scanner/lang.rs:274:1 | 274 | parse_scanner! { impl<'a> for usize, matcher match_uinteger, matcher err "expected integer", err map ScanError::int } | --------------------------------------------------------------------------------------------------------------------- in this macro invocation | = note: this warning originates in the macro `parse_scanner` (in Nightly builds, run with -Z macro-backtrace for more info) warning: use of deprecated macro `try`: use the `?` operator instead --> src/scanner/macros.rs:283:36 | 283 | let (w, end) = try!( | ^^^ | ::: src/scanner/lang.rs:276:1 | 276 | parse_scanner! { impl<'a> ScanFromBinary::scan_from_binary for u8, matcher match_bin_int, matcher err "expected binary integer", map |s| u8::from_str_radix(s, 2), err map ScanError::int } | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- in this macro invocation | = note: this warning originates in the macro `parse_scanner` (in Nightly builds, run with -Z macro-backtrace for more info) warning: use of deprecated macro `try`: use the `?` operator instead --> src/scanner/macros.rs:283:36 | 283 | let (w, end) = try!( | ^^^ | ::: src/scanner/lang.rs:277:1 | 277 | parse_scanner! { impl<'a> ScanFromBinary::scan_from_binary for u16, matcher match_bin_int, matcher err "expected binary integer", map |s| u16::from_str_radix(s, 2), err map ScanError::int } | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- in this macro invocation | = note: this warning originates in the macro `parse_scanner` (in Nightly builds, run with -Z macro-backtrace for more info) warning: use of deprecated macro `try`: use the `?` operator instead --> src/scanner/macros.rs:283:36 | 283 | let (w, end) = try!( | ^^^ | ::: src/scanner/lang.rs:278:1 | 278 | parse_scanner! { impl<'a> ScanFromBinary::scan_from_binary for u32, matcher match_bin_int, matcher err "expected binary integer", map |s| u32::from_str_radix(s, 2), err map ScanError::int } | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- in this macro invocation | = note: this warning originates in the macro `parse_scanner` (in Nightly builds, run with -Z macro-backtrace for more info) warning: use of deprecated macro `try`: use the `?` operator instead --> src/scanner/macros.rs:283:36 | 283 | let (w, end) = try!( | ^^^ | ::: src/scanner/lang.rs:279:1 | 279 | parse_scanner! { impl<'a> ScanFromBinary::scan_from_binary for u64, matcher match_bin_int, matcher err "expected binary integer", map |s| u64::from_str_radix(s, 2), err map ScanError::int } | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- in this macro invocation | = note: this warning originates in the macro `parse_scanner` (in Nightly builds, run with -Z macro-backtrace for more info) warning: use of deprecated macro `try`: use the `?` operator instead --> src/scanner/macros.rs:283:36 | 283 | let (w, end) = try!( | ^^^ | ::: src/scanner/lang.rs:280:1 | 280 | parse_scanner! { impl<'a> ScanFromBinary::scan_from_binary for usize, matcher match_bin_int, matcher err "expected binary integer", map |s| usize::from_str_radix(s, 2), err map ScanError::int } | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- in this macro invocation | = note: this warning originates in the macro `parse_scanner` (in Nightly builds, run with -Z macro-backtrace for more info) warning: use of deprecated macro `try`: use the `?` operator instead --> src/scanner/macros.rs:283:36 | 283 | let (w, end) = try!( | ^^^ | ::: src/scanner/lang.rs:282:1 | 282 | parse_scanner! { impl<'a> ScanFromOctal::scan_from_octal for u8, matcher match_oct_int, matcher err "expected octal integer", map |s| u8::from_str_radix(s, 8), err map ScanError::int } | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- in this macro invocation | = note: this warning originates in the macro `parse_scanner` (in Nightly builds, run with -Z macro-backtrace for more info) warning: use of deprecated macro `try`: use the `?` operator instead --> src/scanner/macros.rs:283:36 | 283 | let (w, end) = try!( | ^^^ | ::: src/scanner/lang.rs:283:1 | 283 | parse_scanner! { impl<'a> ScanFromOctal::scan_from_octal for u16, matcher match_oct_int, matcher err "expected octal integer", map |s| u16::from_str_radix(s, 8), err map ScanError::int } | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ in this macro invocation | = note: this warning originates in the macro `parse_scanner` (in Nightly builds, run with -Z macro-backtrace for more info) warning: use of deprecated macro `try`: use the `?` operator instead --> src/scanner/macros.rs:283:36 | 283 | let (w, end) = try!( | ^^^ | ::: src/scanner/lang.rs:284:1 | 284 | parse_scanner! { impl<'a> ScanFromOctal::scan_from_octal for u32, matcher match_oct_int, matcher err "expected octal integer", map |s| u32::from_str_radix(s, 8), err map ScanError::int } | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ in this macro invocation | = note: this warning originates in the macro `parse_scanner` (in Nightly builds, run with -Z macro-backtrace for more info) warning: use of deprecated macro `try`: use the `?` operator instead --> src/scanner/macros.rs:283:36 | 283 | let (w, end) = try!( | ^^^ | ::: src/scanner/lang.rs:285:1 | 285 | parse_scanner! { impl<'a> ScanFromOctal::scan_from_octal for u64, matcher match_oct_int, matcher err "expected octal integer", map |s| u64::from_str_radix(s, 8), err map ScanError::int } | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ in this macro invocation | = note: this warning originates in the macro `parse_scanner` (in Nightly builds, run with -Z macro-backtrace for more info) warning: use of deprecated macro `try`: use the `?` operator instead --> src/scanner/macros.rs:283:36 | 283 | let (w, end) = try!( | ^^^ | ::: src/scanner/lang.rs:286:1 | 286 | parse_scanner! { impl<'a> ScanFromOctal::scan_from_octal for usize, matcher match_oct_int, matcher err "expected octal integer", map |s| usize::from_str_radix(s, 8), err map ScanError::int } | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- in this macro invocation | = note: this warning originates in the macro `parse_scanner` (in Nightly builds, run with -Z macro-backtrace for more info) warning: use of deprecated macro `try`: use the `?` operator instead --> src/scanner/macros.rs:283:36 | 283 | let (w, end) = try!( | ^^^ | ::: src/scanner/lang.rs:288:1 | 288 | parse_scanner! { impl<'a> ScanFromHex::scan_from_hex for u8, matcher match_hex_int, matcher err "expected hex integer", map |s| u8::from_str_radix(s, 16), err map ScanError::int } | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- in this macro invocation | = note: this warning originates in the macro `parse_scanner` (in Nightly builds, run with -Z macro-backtrace for more info) warning: use of deprecated macro `try`: use the `?` operator instead --> src/scanner/macros.rs:283:36 | 283 | let (w, end) = try!( | ^^^ | ::: src/scanner/lang.rs:289:1 | 289 | parse_scanner! { impl<'a> ScanFromHex::scan_from_hex for u16, matcher match_hex_int, matcher err "expected hex integer", map |s| u16::from_str_radix(s, 16), err map ScanError::int } | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- in this macro invocation | = note: this warning originates in the macro `parse_scanner` (in Nightly builds, run with -Z macro-backtrace for more info) warning: use of deprecated macro `try`: use the `?` operator instead --> src/scanner/macros.rs:283:36 | 283 | let (w, end) = try!( | ^^^ | ::: src/scanner/lang.rs:290:1 | 290 | parse_scanner! { impl<'a> ScanFromHex::scan_from_hex for u32, matcher match_hex_int, matcher err "expected hex integer", map |s| u32::from_str_radix(s, 16), err map ScanError::int } | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- in this macro invocation | = note: this warning originates in the macro `parse_scanner` (in Nightly builds, run with -Z macro-backtrace for more info) warning: use of deprecated macro `try`: use the `?` operator instead --> src/scanner/macros.rs:283:36 | 283 | let (w, end) = try!( | ^^^ | ::: src/scanner/lang.rs:291:1 | 291 | parse_scanner! { impl<'a> ScanFromHex::scan_from_hex for u64, matcher match_hex_int, matcher err "expected hex integer", map |s| u64::from_str_radix(s, 16), err map ScanError::int } | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- in this macro invocation | = note: this warning originates in the macro `parse_scanner` (in Nightly builds, run with -Z macro-backtrace for more info) warning: use of deprecated macro `try`: use the `?` operator instead --> src/scanner/macros.rs:283:36 | 283 | let (w, end) = try!( | ^^^ | ::: src/scanner/lang.rs:292:1 | 292 | parse_scanner! { impl<'a> ScanFromHex::scan_from_hex for usize, matcher match_hex_int, matcher err "expected hex integer", map |s| usize::from_str_radix(s, 16), err map ScanError::int } | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- in this macro invocation | = note: this warning originates in the macro `parse_scanner` (in Nightly builds, run with -Z macro-backtrace for more info) warning: `...` range patterns are deprecated --> src/scanner/lang.rs:323:29 | 323 | matches!(b, b'0'...b'9' | b'a'...b'f' | b'A'...b'F')) | ^^^ 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/lang.rs:323:43 | 323 | matches!(b, b'0'...b'9' | b'a'...b'f' | b'A'...b'F')) | ^^^ 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/lang.rs:323:57 | 323 | matches!(b, b'0'...b'9' | b'a'...b'f' | b'A'...b'F')) | ^^^ 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/lang.rs:331:47 | 331 | .take_while(|&(_, b)| matches!(b, b'0'...b'7')) | ^^^ 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/lang.rs:345:46 | 345 | ibs.take_while(|&(_, b)| matches!(b, b'0'...b'9')) | ^^^ help: use `..=` for an inclusive range | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see warning: `...` range patterns are deprecated --> src/scanner/lang.rs:359:46 | 359 | ibs.take_while(|&(_, b)| matches!(b, b'0'...b'9')) | ^^^ help: use `..=` for an inclusive range | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see warning: `...` range patterns are deprecated --> src/scanner/misc.rs:188:19 | 188 | '\x0a'...'\x0d' | '\u{85}' | '\u{2028}' | '\u{2029}' => false, | ^^^ 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/misc.rs:763:25 | 763 | let (cp, cur) = try!(cur.next_cp().ok_or(syn("expected quoted string"))); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/util.rs:76:25 | 76 | let (cp, cur) = try!(cur.next_cp().ok_or(LoneSlash)); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/util.rs:96:27 | 96 | let (hex, tail) = try!(esc(s).ok_or(err)); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/util.rs:99:19 | 99 | let usv = try!(u32::from_str_radix(hex, 16).map_err(|_| InvalidValue)); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/util.rs:103:18 | 103 | let cp = try!(::std::char::from_u32(usv).ok_or(InvalidValue)); | ^^^ warning: `...` range patterns are deprecated --> src/util.rs:302:13 | 302 | b'0'...b'9' | b'a'...b'f' | b'A'...b'F' => 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/util.rs:302:27 | 302 | b'0'...b'9' | b'a'...b'f' | b'A'...b'F' => 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/util.rs:302:41 | 302 | b'0'...b'9' | b'a'...b'f' | b'A'...b'F' => true, | ^^^ help: use `..=` for an inclusive range | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see warning: use of deprecated trait `std::ascii::AsciiExt`: use inherent methods instead --> src/input.rs:690:25 | 690 | use std::ascii::AsciiExt; | ^^^^^^^^ warning: trait objects without an explicit `dyn` are deprecated --> src/error.rs:204:15 | 204 | Other(Box), | ^^^^^ | = note: `#[warn(bare_trait_objects)]` on by default = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 204 | Other(Box), | +++ warning: trait objects without an explicit `dyn` are deprecated --> src/error.rs:105:30 | 105 | pub fn other>>(err: E) -> Self { | ^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 105 | pub fn other>>(err: E) -> Self { | +++ warning: trait objects without an explicit `dyn` are deprecated --> src/error.rs:141:32 | 141 | fn cause(&self) -> Option<&Error> { | ^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 141 | fn cause(&self) -> Option<&dyn Error> { | +++ warning: trait objects without an explicit `dyn` are deprecated --> src/error.rs:215:35 | 215 | pub fn from_other>>(err: E) -> Self { | ^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 215 | pub fn from_other>>(err: E) -> Self { | +++ warning: trait objects without an explicit `dyn` are deprecated --> src/error.rs:242:32 | 242 | fn cause(&self) -> Option<&Error> { | ^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 242 | fn cause(&self) -> Option<&dyn Error> { | +++ warning: use of deprecated associated function `std::error::Error::cause`: replaced by Error::source, which can support downcasting --> src/error.rs:142:19 | 142 | self.kind.cause() | ^^^^^ warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() --> src/error.rs:146:19 | 146 | self.kind.description() | ^^^^^^^^^^^ warning: use of deprecated associated function `std::error::Error::cause`: replaced by Error::source, which can support downcasting --> src/error.rs:250:35 | 250 | Float(ref err) => err.cause(), | ^^^^^ warning: use of deprecated associated function `std::error::Error::cause`: replaced by Error::source, which can support downcasting --> src/error.rs:251:33 | 251 | Int(ref err) => err.cause(), | ^^^^^ warning: use of deprecated associated function `std::error::Error::cause`: replaced by Error::source, which can support downcasting --> src/error.rs:252:32 | 252 | Io(ref err) => err.cause(), | ^^^^^ warning: use of deprecated associated function `std::error::Error::cause`: replaced by Error::source, which can support downcasting --> src/error.rs:253:35 | 253 | Other(ref err) => err.cause(), | ^^^^^ warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() --> src/error.rs:265:35 | 265 | Float(ref err) => err.description(), | ^^^^^^^^^^^ warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() --> src/error.rs:266:33 | 266 | Int(ref err) => err.description(), | ^^^^^^^^^^^ warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() --> src/error.rs:267:32 | 267 | Io(ref err) => err.description(), | ^^^^^^^^^^^ warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() --> src/error.rs:268:35 | 268 | Other(ref err) => err.description(), | ^^^^^^^^^^^ warning: unused import: `std::ascii::AsciiExt` --> src/input.rs:690:13 | 690 | use std::ascii::AsciiExt; | ^^^^^^^^^^^^^^^^^^^^ Running `/usr/bin/rustc --crate-name bitflags --edition=2018 /usr/share/cargo/registry/bitflags-1.3.2/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no --cfg 'feature="default"' -C metadata=5427dc35fb1fd663 -C extra-filename=-5427dc35fb1fd663 --out-dir /builddir/build/BUILD/scan-rules-0.2.0/target/release/deps -L dependency=/builddir/build/BUILD/scan-rules-0.2.0/target/release/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn` warning: `scan-rules` (lib) generated 168 warnings (28 duplicates) Compiling scan-rules v0.2.0 (/builddir/build/BUILD/scan-rules-0.2.0) Running `/usr/bin/rustc --crate-name major_tom tests/major_tom.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --emit=dep-info,link -C opt-level=3 -C embed-bitcode=no --test --cfg 'feature="default"' -C metadata=439540871385d8b4 -C extra-filename=-439540871385d8b4 --out-dir /builddir/build/BUILD/scan-rules-0.2.0/target/release/deps -L dependency=/builddir/build/BUILD/scan-rules-0.2.0/target/release/deps --extern bitflags=/builddir/build/BUILD/scan-rules-0.2.0/target/release/deps/libbitflags-5427dc35fb1fd663.rlib --extern itertools=/builddir/build/BUILD/scan-rules-0.2.0/target/release/deps/libitertools-3c714e6eedd61923.rlib --extern lazy_static=/builddir/build/BUILD/scan-rules-0.2.0/target/release/deps/liblazy_static-da9a7bc46823f76f.rlib --extern scan_rules=/builddir/build/BUILD/scan-rules-0.2.0/target/release/deps/libscan_rules-5d5eb5529c40cacc.rlib --extern strcursor=/builddir/build/BUILD/scan-rules-0.2.0/target/release/deps/libstrcursor-62439ddaf428aa37.rlib -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn --cfg macro_inter_stmt_binding_visibility` Running `/usr/bin/rustc --crate-name scan_space tests/scan_space.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --emit=dep-info,link -C opt-level=3 -C embed-bitcode=no --test --cfg 'feature="default"' -C metadata=a3fda98e3ea46ca9 -C extra-filename=-a3fda98e3ea46ca9 --out-dir /builddir/build/BUILD/scan-rules-0.2.0/target/release/deps -L dependency=/builddir/build/BUILD/scan-rules-0.2.0/target/release/deps --extern bitflags=/builddir/build/BUILD/scan-rules-0.2.0/target/release/deps/libbitflags-5427dc35fb1fd663.rlib --extern itertools=/builddir/build/BUILD/scan-rules-0.2.0/target/release/deps/libitertools-3c714e6eedd61923.rlib --extern lazy_static=/builddir/build/BUILD/scan-rules-0.2.0/target/release/deps/liblazy_static-da9a7bc46823f76f.rlib --extern scan_rules=/builddir/build/BUILD/scan-rules-0.2.0/target/release/deps/libscan_rules-5d5eb5529c40cacc.rlib --extern strcursor=/builddir/build/BUILD/scan-rules-0.2.0/target/release/deps/libstrcursor-62439ddaf428aa37.rlib -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn --cfg macro_inter_stmt_binding_visibility` Running `/usr/bin/rustc --crate-name case_match tests/case_match.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --emit=dep-info,link -C opt-level=3 -C embed-bitcode=no --test --cfg 'feature="default"' -C metadata=9c9909c536af20f1 -C extra-filename=-9c9909c536af20f1 --out-dir /builddir/build/BUILD/scan-rules-0.2.0/target/release/deps -L dependency=/builddir/build/BUILD/scan-rules-0.2.0/target/release/deps --extern bitflags=/builddir/build/BUILD/scan-rules-0.2.0/target/release/deps/libbitflags-5427dc35fb1fd663.rlib --extern itertools=/builddir/build/BUILD/scan-rules-0.2.0/target/release/deps/libitertools-3c714e6eedd61923.rlib --extern lazy_static=/builddir/build/BUILD/scan-rules-0.2.0/target/release/deps/liblazy_static-da9a7bc46823f76f.rlib --extern scan_rules=/builddir/build/BUILD/scan-rules-0.2.0/target/release/deps/libscan_rules-5d5eb5529c40cacc.rlib --extern strcursor=/builddir/build/BUILD/scan-rules-0.2.0/target/release/deps/libstrcursor-62439ddaf428aa37.rlib -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn --cfg macro_inter_stmt_binding_visibility` Running `/usr/bin/rustc --crate-name whizzo tests/whizzo.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --emit=dep-info,link -C opt-level=3 -C embed-bitcode=no --test --cfg 'feature="default"' -C metadata=2dd770937093f9b8 -C extra-filename=-2dd770937093f9b8 --out-dir /builddir/build/BUILD/scan-rules-0.2.0/target/release/deps -L dependency=/builddir/build/BUILD/scan-rules-0.2.0/target/release/deps --extern bitflags=/builddir/build/BUILD/scan-rules-0.2.0/target/release/deps/libbitflags-5427dc35fb1fd663.rlib --extern itertools=/builddir/build/BUILD/scan-rules-0.2.0/target/release/deps/libitertools-3c714e6eedd61923.rlib --extern lazy_static=/builddir/build/BUILD/scan-rules-0.2.0/target/release/deps/liblazy_static-da9a7bc46823f76f.rlib --extern scan_rules=/builddir/build/BUILD/scan-rules-0.2.0/target/release/deps/libscan_rules-5d5eb5529c40cacc.rlib --extern strcursor=/builddir/build/BUILD/scan-rules-0.2.0/target/release/deps/libstrcursor-62439ddaf428aa37.rlib -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn --cfg macro_inter_stmt_binding_visibility` warning: floating-point types cannot be used in patterns --> tests/whizzo.rs:20:53 | 20 | assert_match!(scan!("2"; (let f: f32) => f), Ok(2.0f32)); | ^^^^^^ | = note: `#[warn(illegal_floating_point_literal_pattern)]` on by default = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! = note: for more information, see issue #41620 warning: floating-point types cannot be used in patterns --> tests/whizzo.rs:21:54 | 21 | assert_match!(scan!("2."; (let f: f32) => f), Ok(2.0f32)); | ^^^^^^ | = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! = note: for more information, see issue #41620 warning: floating-point types cannot be used in patterns --> tests/whizzo.rs:22:55 | 22 | assert_match!(scan!("2.0"; (let f: f32) => f), Ok(2.0f32)); | ^^^^^^ | = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! = note: for more information, see issue #41620 warning: floating-point types cannot be used in patterns --> tests/whizzo.rs:23:57 | 23 | assert_match!(scan!("2.0e0"; (let f: f32) => f), Ok(2.0f32)); | ^^^^^^ | = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! = note: for more information, see issue #41620 warning: floating-point types cannot be used in patterns --> tests/whizzo.rs:24:56 | 24 | assert_match!(scan!("2.e0"; (let f: f32) => f), Ok(2.0f32)); | ^^^^^^ | = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! = note: for more information, see issue #41620 warning: floating-point types cannot be used in patterns --> tests/whizzo.rs:25:55 | 25 | assert_match!(scan!("2e0"; (let f: f32) => f), Ok(2.0f32)); | ^^^^^^ | = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! = note: for more information, see issue #41620 warning: `scan-rules` (test "whizzo") generated 6 warnings Running `/usr/bin/rustc --crate-name scan_data examples/scan_data.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 --cfg 'feature="default"' -C metadata=7edc1348039b2823 -C extra-filename=-7edc1348039b2823 --out-dir /builddir/build/BUILD/scan-rules-0.2.0/target/release/examples -L dependency=/builddir/build/BUILD/scan-rules-0.2.0/target/release/deps --extern bitflags=/builddir/build/BUILD/scan-rules-0.2.0/target/release/deps/libbitflags-5427dc35fb1fd663.rlib --extern itertools=/builddir/build/BUILD/scan-rules-0.2.0/target/release/deps/libitertools-3c714e6eedd61923.rlib --extern lazy_static=/builddir/build/BUILD/scan-rules-0.2.0/target/release/deps/liblazy_static-da9a7bc46823f76f.rlib --extern scan_rules=/builddir/build/BUILD/scan-rules-0.2.0/target/release/deps/libscan_rules-5d5eb5529c40cacc.rlib --extern strcursor=/builddir/build/BUILD/scan-rules-0.2.0/target/release/deps/libstrcursor-62439ddaf428aa37.rlib -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn --cfg macro_inter_stmt_binding_visibility` Running `/usr/bin/rustc --crate-name tuple_struct tests/tuple_struct.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --emit=dep-info,link -C opt-level=3 -C embed-bitcode=no --test --cfg 'feature="default"' -C metadata=891bfbc265e749bf -C extra-filename=-891bfbc265e749bf --out-dir /builddir/build/BUILD/scan-rules-0.2.0/target/release/deps -L dependency=/builddir/build/BUILD/scan-rules-0.2.0/target/release/deps --extern bitflags=/builddir/build/BUILD/scan-rules-0.2.0/target/release/deps/libbitflags-5427dc35fb1fd663.rlib --extern itertools=/builddir/build/BUILD/scan-rules-0.2.0/target/release/deps/libitertools-3c714e6eedd61923.rlib --extern lazy_static=/builddir/build/BUILD/scan-rules-0.2.0/target/release/deps/liblazy_static-da9a7bc46823f76f.rlib --extern scan_rules=/builddir/build/BUILD/scan-rules-0.2.0/target/release/deps/libscan_rules-5d5eb5529c40cacc.rlib --extern strcursor=/builddir/build/BUILD/scan-rules-0.2.0/target/release/deps/libstrcursor-62439ddaf428aa37.rlib -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn --cfg macro_inter_stmt_binding_visibility` Running `/usr/bin/rustc --crate-name maps tests/maps.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --emit=dep-info,link -C opt-level=3 -C embed-bitcode=no --test --cfg 'feature="default"' -C metadata=56fd1db6fd70e9be -C extra-filename=-56fd1db6fd70e9be --out-dir /builddir/build/BUILD/scan-rules-0.2.0/target/release/deps -L dependency=/builddir/build/BUILD/scan-rules-0.2.0/target/release/deps --extern bitflags=/builddir/build/BUILD/scan-rules-0.2.0/target/release/deps/libbitflags-5427dc35fb1fd663.rlib --extern itertools=/builddir/build/BUILD/scan-rules-0.2.0/target/release/deps/libitertools-3c714e6eedd61923.rlib --extern lazy_static=/builddir/build/BUILD/scan-rules-0.2.0/target/release/deps/liblazy_static-da9a7bc46823f76f.rlib --extern scan_rules=/builddir/build/BUILD/scan-rules-0.2.0/target/release/deps/libscan_rules-5d5eb5529c40cacc.rlib --extern strcursor=/builddir/build/BUILD/scan-rules-0.2.0/target/release/deps/libstrcursor-62439ddaf428aa37.rlib -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn --cfg macro_inter_stmt_binding_visibility` Running `/usr/bin/rustc --crate-name ask_age examples/ask_age.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 --cfg 'feature="default"' -C metadata=c9ad8883f2f351e3 -C extra-filename=-c9ad8883f2f351e3 --out-dir /builddir/build/BUILD/scan-rules-0.2.0/target/release/examples -L dependency=/builddir/build/BUILD/scan-rules-0.2.0/target/release/deps --extern bitflags=/builddir/build/BUILD/scan-rules-0.2.0/target/release/deps/libbitflags-5427dc35fb1fd663.rlib --extern itertools=/builddir/build/BUILD/scan-rules-0.2.0/target/release/deps/libitertools-3c714e6eedd61923.rlib --extern lazy_static=/builddir/build/BUILD/scan-rules-0.2.0/target/release/deps/liblazy_static-da9a7bc46823f76f.rlib --extern scan_rules=/builddir/build/BUILD/scan-rules-0.2.0/target/release/deps/libscan_rules-5d5eb5529c40cacc.rlib --extern strcursor=/builddir/build/BUILD/scan-rules-0.2.0/target/release/deps/libstrcursor-62439ddaf428aa37.rlib -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn --cfg macro_inter_stmt_binding_visibility` Running `/usr/bin/rustc --crate-name runtime_scanners examples/runtime_scanners.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 --cfg 'feature="default"' -C metadata=45381920c815c4b6 -C extra-filename=-45381920c815c4b6 --out-dir /builddir/build/BUILD/scan-rules-0.2.0/target/release/examples -L dependency=/builddir/build/BUILD/scan-rules-0.2.0/target/release/deps --extern bitflags=/builddir/build/BUILD/scan-rules-0.2.0/target/release/deps/libbitflags-5427dc35fb1fd663.rlib --extern itertools=/builddir/build/BUILD/scan-rules-0.2.0/target/release/deps/libitertools-3c714e6eedd61923.rlib --extern lazy_static=/builddir/build/BUILD/scan-rules-0.2.0/target/release/deps/liblazy_static-da9a7bc46823f76f.rlib --extern scan_rules=/builddir/build/BUILD/scan-rules-0.2.0/target/release/deps/libscan_rules-5d5eb5529c40cacc.rlib --extern strcursor=/builddir/build/BUILD/scan-rules-0.2.0/target/release/deps/libstrcursor-62439ddaf428aa37.rlib -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn --cfg macro_inter_stmt_binding_visibility` warning: unused `#[macro_use]` import --> examples/runtime_scanners.rs:10:1 | 10 | #[macro_use] extern crate scan_rules; | ^^^^^^^^^^^^ | = note: `#[warn(unused_imports)]` on by default warning: `scan-rules` (example "runtime_scanners") generated 1 warning Running `/usr/bin/rustc --crate-name repeating tests/repeating.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --emit=dep-info,link -C opt-level=3 -C embed-bitcode=no --test --cfg 'feature="default"' -C metadata=b7d89caa77c2bc43 -C extra-filename=-b7d89caa77c2bc43 --out-dir /builddir/build/BUILD/scan-rules-0.2.0/target/release/deps -L dependency=/builddir/build/BUILD/scan-rules-0.2.0/target/release/deps --extern bitflags=/builddir/build/BUILD/scan-rules-0.2.0/target/release/deps/libbitflags-5427dc35fb1fd663.rlib --extern itertools=/builddir/build/BUILD/scan-rules-0.2.0/target/release/deps/libitertools-3c714e6eedd61923.rlib --extern lazy_static=/builddir/build/BUILD/scan-rules-0.2.0/target/release/deps/liblazy_static-da9a7bc46823f76f.rlib --extern scan_rules=/builddir/build/BUILD/scan-rules-0.2.0/target/release/deps/libscan_rules-5d5eb5529c40cacc.rlib --extern strcursor=/builddir/build/BUILD/scan-rules-0.2.0/target/release/deps/libstrcursor-62439ddaf428aa37.rlib -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn --cfg macro_inter_stmt_binding_visibility` Running `/usr/bin/rustc --crate-name cursor_markers tests/cursor_markers.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --emit=dep-info,link -C opt-level=3 -C embed-bitcode=no --test --cfg 'feature="default"' -C metadata=b0e176200fcf7161 -C extra-filename=-b0e176200fcf7161 --out-dir /builddir/build/BUILD/scan-rules-0.2.0/target/release/deps -L dependency=/builddir/build/BUILD/scan-rules-0.2.0/target/release/deps --extern bitflags=/builddir/build/BUILD/scan-rules-0.2.0/target/release/deps/libbitflags-5427dc35fb1fd663.rlib --extern itertools=/builddir/build/BUILD/scan-rules-0.2.0/target/release/deps/libitertools-3c714e6eedd61923.rlib --extern lazy_static=/builddir/build/BUILD/scan-rules-0.2.0/target/release/deps/liblazy_static-da9a7bc46823f76f.rlib --extern scan_rules=/builddir/build/BUILD/scan-rules-0.2.0/target/release/deps/libscan_rules-5d5eb5529c40cacc.rlib --extern strcursor=/builddir/build/BUILD/scan-rules-0.2.0/target/release/deps/libstrcursor-62439ddaf428aa37.rlib -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn --cfg macro_inter_stmt_binding_visibility` Running `/usr/bin/rustc --crate-name let_scan tests/let_scan.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --emit=dep-info,link -C opt-level=3 -C embed-bitcode=no --test --cfg 'feature="default"' -C metadata=7df7388914a09f09 -C extra-filename=-7df7388914a09f09 --out-dir /builddir/build/BUILD/scan-rules-0.2.0/target/release/deps -L dependency=/builddir/build/BUILD/scan-rules-0.2.0/target/release/deps --extern bitflags=/builddir/build/BUILD/scan-rules-0.2.0/target/release/deps/libbitflags-5427dc35fb1fd663.rlib --extern itertools=/builddir/build/BUILD/scan-rules-0.2.0/target/release/deps/libitertools-3c714e6eedd61923.rlib --extern lazy_static=/builddir/build/BUILD/scan-rules-0.2.0/target/release/deps/liblazy_static-da9a7bc46823f76f.rlib --extern scan_rules=/builddir/build/BUILD/scan-rules-0.2.0/target/release/deps/libscan_rules-5d5eb5529c40cacc.rlib --extern strcursor=/builddir/build/BUILD/scan-rules-0.2.0/target/release/deps/libstrcursor-62439ddaf428aa37.rlib -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn --cfg macro_inter_stmt_binding_visibility` Running `/usr/bin/rustc --crate-name scan_rules src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --emit=dep-info,link -C opt-level=3 -C embed-bitcode=no --test --cfg 'feature="default"' -C metadata=a0c2aa426b4bc037 -C extra-filename=-a0c2aa426b4bc037 --out-dir /builddir/build/BUILD/scan-rules-0.2.0/target/release/deps -L dependency=/builddir/build/BUILD/scan-rules-0.2.0/target/release/deps --extern bitflags=/builddir/build/BUILD/scan-rules-0.2.0/target/release/deps/libbitflags-5427dc35fb1fd663.rlib --extern itertools=/builddir/build/BUILD/scan-rules-0.2.0/target/release/deps/libitertools-3c714e6eedd61923.rlib --extern lazy_static=/builddir/build/BUILD/scan-rules-0.2.0/target/release/deps/liblazy_static-da9a7bc46823f76f.rlib --extern strcursor=/builddir/build/BUILD/scan-rules-0.2.0/target/release/deps/libstrcursor-62439ddaf428aa37.rlib -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn --cfg macro_inter_stmt_binding_visibility` warning: floating-point types cannot be used in patterns --> src/scanner/lang.rs:174:46 | 174 | assert_match!(::scan_from("0"), Ok((0.0, 1))); | ^^^ | = note: `#[warn(illegal_floating_point_literal_pattern)]` on by default = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! = note: for more information, see issue #41620 warning: floating-point types cannot be used in patterns --> src/scanner/lang.rs:175:47 | 175 | assert_match!(::scan_from("0x"), Ok((0.0, 1))); | ^^^ | = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! = note: for more information, see issue #41620 warning: floating-point types cannot be used in patterns --> src/scanner/lang.rs:176:47 | 176 | assert_match!(::scan_from("0."), Ok((0.0, 2))); | ^^^ | = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! = note: for more information, see issue #41620 warning: floating-point types cannot be used in patterns --> src/scanner/lang.rs:177:48 | 177 | assert_match!(::scan_from("0.x"), Ok((0.0, 2))); | ^^^ | = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! = note: for more information, see issue #41620 warning: floating-point types cannot be used in patterns --> src/scanner/lang.rs:183:16 | 183 | check_f64!(0.0); | ^^^ | = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! = note: for more information, see issue #41620 warning: floating-point types cannot be used in patterns --> src/scanner/lang.rs:184:16 | 184 | check_f64!(1.0); | ^^^ | = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! = note: for more information, see issue #41620 warning: floating-point types cannot be used in patterns --> src/scanner/lang.rs:185:16 | 185 | check_f64!(0.1); | ^^^ | = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! = note: for more information, see issue #41620 warning: floating-point types cannot be used in patterns --> src/scanner/lang.rs:186:16 | 186 | check_f64!(12345.); | ^^^^^^ | = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! = note: for more information, see issue #41620 warning: floating-point types cannot be used in patterns --> src/scanner/lang.rs:187:16 | 187 | check_f64!(0.12345); | ^^^^^^^ | = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! = note: for more information, see issue #41620 warning: floating-point types cannot be used in patterns --> src/scanner/lang.rs:188:16 | 188 | check_f64!(101e-33); | ^^^^^^^ | = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! = note: for more information, see issue #41620 warning: floating-point types cannot be used in patterns --> src/scanner/lang.rs:189:16 | 189 | check_f64!(1e23); | ^^^^ | = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! = note: for more information, see issue #41620 warning: floating-point types cannot be used in patterns --> src/scanner/lang.rs:190:16 | 190 | check_f64!(2075e23); | ^^^^^^^ | = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! = note: for more information, see issue #41620 warning: floating-point types cannot be used in patterns --> src/scanner/lang.rs:191:16 | 191 | check_f64!(8713e-23); | ^^^^^^^^ | = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! = note: for more information, see issue #41620 warning: floating-point types cannot be used in patterns --> src/scanner/lang.rs:192:16 | 192 | check_f64!(1e-325); | ^^^^^^ | = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! = note: for more information, see issue #41620 warning: floating-point types cannot be used in patterns --> src/scanner/lang.rs:193:16 | 193 | check_f64!(1e-326); | ^^^^^^ | = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! = note: for more information, see issue #41620 warning: floating-point types cannot be used in patterns --> src/scanner/lang.rs:194:16 | 194 | check_f64!(1e-500); | ^^^^^^ | = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! = note: for more information, see issue #41620 warning: floating-point types cannot be used in patterns --> src/scanner/lang.rs:195:16 | 195 | check_f64!(1.448997445238699); | ^^^^^^^^^^^^^^^^^ | = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! = note: for more information, see issue #41620 warning: floating-point types cannot be used in patterns --> src/scanner/lang.rs:214:16 | 214 | check_f64!(3e-5); | ^^^^ | = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! = note: for more information, see issue #41620 warning: floating-point types cannot be used in patterns --> src/scanner/lang.rs:215:16 | 215 | check_f64!(12345.67890); | ^^^^^^^^^^^ | = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! = note: for more information, see issue #41620 warning: floating-point types cannot be used in patterns --> src/scanner/lang.rs:216:16 | 216 | check_f64!(2.2250738585072014e-308); | ^^^^^^^^^^^^^^^^^^^^^^^ | = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! = note: for more information, see issue #41620 warning: floating-point types cannot be used in patterns --> src/scanner/lang.rs:217:16 | 217 | check_f64!(1e300); | ^^^^^ | = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! = note: for more information, see issue #41620 warning: floating-point types cannot be used in patterns --> src/scanner/lang.rs:218:16 | 218 | check_f64!(123456789.34567e250); | ^^^^^^^^^^^^^^^^^^^ | = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! = note: for more information, see issue #41620 warning: floating-point types cannot be used in patterns --> src/scanner/lang.rs:219:16 | 219 | check_f64!(5e-324); | ^^^^^^ | = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! = note: for more information, see issue #41620 warning: floating-point types cannot be used in patterns --> src/scanner/lang.rs:220:16 | 220 | check_f64!(91e-324); | ^^^^^^^ | = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! = note: for more information, see issue #41620 warning: floating-point types cannot be used in patterns --> src/scanner/lang.rs:221:16 | 221 | check_f64!(1e-322); | ^^^^^^ | = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! = note: for more information, see issue #41620 warning: floating-point types cannot be used in patterns --> src/scanner/lang.rs:222:16 | 222 | check_f64!(13245643e-320); | ^^^^^^^^^^^^^ | = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! = note: for more information, see issue #41620 warning: floating-point types cannot be used in patterns --> src/scanner/lang.rs:223:16 | 223 | check_f64!(2.22507385851e-308); | ^^^^^^^^^^^^^^^^^^ | = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! = note: for more information, see issue #41620 warning: floating-point types cannot be used in patterns --> src/scanner/lang.rs:224:16 | 224 | check_f64!(2.1e-308); | ^^^^^^^^ | = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! = note: for more information, see issue #41620 warning: floating-point types cannot be used in patterns --> src/scanner/lang.rs:225:16 | 225 | check_f64!(4.9406564584124654e-324); | ^^^^^^^^^^^^^^^^^^^^^^^ | = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! = note: for more information, see issue #41620 Running `/usr/bin/rustc --crate-name multiple_rules tests/multiple_rules.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --emit=dep-info,link -C opt-level=3 -C embed-bitcode=no --test --cfg 'feature="default"' -C metadata=7f4739f0649d5dc7 -C extra-filename=-7f4739f0649d5dc7 --out-dir /builddir/build/BUILD/scan-rules-0.2.0/target/release/deps -L dependency=/builddir/build/BUILD/scan-rules-0.2.0/target/release/deps --extern bitflags=/builddir/build/BUILD/scan-rules-0.2.0/target/release/deps/libbitflags-5427dc35fb1fd663.rlib --extern itertools=/builddir/build/BUILD/scan-rules-0.2.0/target/release/deps/libitertools-3c714e6eedd61923.rlib --extern lazy_static=/builddir/build/BUILD/scan-rules-0.2.0/target/release/deps/liblazy_static-da9a7bc46823f76f.rlib --extern scan_rules=/builddir/build/BUILD/scan-rules-0.2.0/target/release/deps/libscan_rules-5d5eb5529c40cacc.rlib --extern strcursor=/builddir/build/BUILD/scan-rules-0.2.0/target/release/deps/libstrcursor-62439ddaf428aa37.rlib -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn --cfg macro_inter_stmt_binding_visibility` Running `/usr/bin/rustc --crate-name runtime_scanner tests/runtime_scanner.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --emit=dep-info,link -C opt-level=3 -C embed-bitcode=no --test --cfg 'feature="default"' -C metadata=9867f5267171d96a -C extra-filename=-9867f5267171d96a --out-dir /builddir/build/BUILD/scan-rules-0.2.0/target/release/deps -L dependency=/builddir/build/BUILD/scan-rules-0.2.0/target/release/deps --extern bitflags=/builddir/build/BUILD/scan-rules-0.2.0/target/release/deps/libbitflags-5427dc35fb1fd663.rlib --extern itertools=/builddir/build/BUILD/scan-rules-0.2.0/target/release/deps/libitertools-3c714e6eedd61923.rlib --extern lazy_static=/builddir/build/BUILD/scan-rules-0.2.0/target/release/deps/liblazy_static-da9a7bc46823f76f.rlib --extern scan_rules=/builddir/build/BUILD/scan-rules-0.2.0/target/release/deps/libscan_rules-5d5eb5529c40cacc.rlib --extern strcursor=/builddir/build/BUILD/scan-rules-0.2.0/target/release/deps/libstrcursor-62439ddaf428aa37.rlib -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn --cfg macro_inter_stmt_binding_visibility` warning: `scan-rules` (lib test) generated 197 warnings (168 duplicates) Finished release [optimized] target(s) in 16.20s Running `/builddir/build/BUILD/scan-rules-0.2.0/target/release/deps/scan_rules-a0c2aa426b4bc037` running 41 tests test input::test_fuzzy_space ... ok test input::test_exact_space ... ok test input::test_ignore_case ... ok test scanner::lang::test_scan_bool ... ok test scanner::lang::test_scan_char ... ok test scanner::lang::test_scan_f64 ... ok test scanner::lang::test_scan_f64_debug_is_roundtrip_accurate ... ok test scanner::lang::test_scan_i32 ... ok test scanner::lang::test_scan_u32 ... ok test scanner::misc::test_binary ... ok test scanner::misc::test_everything ... ok test scanner::misc::test_hex ... ok test scanner::misc::test_hor_space ... ok test scanner::misc::test_ident ... ok test scanner::misc::test_line ... ok test scanner::misc::test_newline ... ok test scanner::misc::test_non_space ... ok test scanner::misc::test_number ... ok test scanner::misc::test_octal ... ok test scanner::misc::test_quoted_string ... ok test scanner::misc::test_space ... ok test scanner::misc::test_word ... ok test scanner::runtime::test_exact_width ... ok test scanner::runtime::test_max_width ... ok test scanner::runtime::test_min_width ... ok test scanner::std::collections::test_binaryheap ... ok test scanner::std::collections::test_btreemap ... ok test scanner::std::collections::test_btreeset ... ok test scanner::std::collections::test_hashmap ... ok test scanner::std::collections::test_hashset ... ok test scanner::std::collections::test_linkedlist ... ok test scanner::std::collections::test_vec ... ok test scanner::std::collections::test_vecdeque ... ok test scanner::std::net::socket_addr_vx_scanners::test_scan_socketaddrv4 ... ok test scanner::std::net::socket_addr_vx_scanners::test_scan_socketaddrv6 ... ok test scanner::std::net::test_scan_socketaddr ... ok test scanner::std::time::test_iso_8601_duration ... ok test scanner::std::time::test_iso_8601_duration_dates ... ok test util::test_span_table_contains ... ok test util::test_split_escape_default ... ok test util::test_subslice_offset ... ok test result: ok. 41 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s Running `/builddir/build/BUILD/scan-rules-0.2.0/target/release/deps/case_match-9c9909c536af20f1` running 2 tests test test_case_match_stable_api ... ok test test_case_match ... ok test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s running 4 tests test test_fuzzy_space ... ok test test_exact_space ... ok test test_ignore_non_line ... ok test test_non_space ... ok test result: ok. 4 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s Running `/builddir/build/BUILD/scan-rules-0.2.0/target/release/deps/cursor_markers-b0e176200fcf7161` Running `/builddir/build/BUILD/scan-rules-0.2.0/target/release/deps/let_scan-7df7388914a09f09` Running `/builddir/build/BUILD/scan-rules-0.2.0/target/release/deps/major_tom-439540871385d8b4` running 1 test test test_let_scan ... ok test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s running 1 test test test_tom ... ok test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s running 1 test Running `/builddir/build/BUILD/scan-rules-0.2.0/target/release/deps/maps-56fd1db6fd70e9be` test test_maps ... ok test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s Running `/builddir/build/BUILD/scan-rules-0.2.0/target/release/deps/multiple_rules-7f4739f0649d5dc7` running 1 test test test_multiple_rules ... ok test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s Running `/builddir/build/BUILD/scan-rules-0.2.0/target/release/deps/repeating-b7d89caa77c2bc43` running 1 test test test_repeating ... ok test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s Running `/builddir/build/BUILD/scan-rules-0.2.0/target/release/deps/runtime_scanner-9867f5267171d96a` running 1 test test test_runtime_scanner ... ok test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s Running `/builddir/build/BUILD/scan-rules-0.2.0/target/release/deps/scan_space-a3fda98e3ea46ca9` running 1 test test test_scan_space ... ok test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s Running `/builddir/build/BUILD/scan-rules-0.2.0/target/release/deps/tuple_struct-891bfbc265e749bf` running 2 tests test test_tuple_struct_owned ... ok test test_tuple_struct_borrowed ... ok test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s Running `/builddir/build/BUILD/scan-rules-0.2.0/target/release/deps/whizzo-2dd770937093f9b8` running 1 test test test_float_scan_forms ... ok test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s Doc-tests scan-rules Running `/usr/bin/rustdoc --crate-type lib --crate-name scan_rules --test /builddir/build/BUILD/scan-rules-0.2.0/src/lib.rs -L dependency=/builddir/build/BUILD/scan-rules-0.2.0/target/release/deps -L dependency=/builddir/build/BUILD/scan-rules-0.2.0/target/release/deps --extern bitflags=/builddir/build/BUILD/scan-rules-0.2.0/target/release/deps/libbitflags-5427dc35fb1fd663.rlib --extern itertools=/builddir/build/BUILD/scan-rules-0.2.0/target/release/deps/libitertools-3c714e6eedd61923.rlib --extern lazy_static=/builddir/build/BUILD/scan-rules-0.2.0/target/release/deps/liblazy_static-da9a7bc46823f76f.rlib --extern scan_rules=/builddir/build/BUILD/scan-rules-0.2.0/target/release/deps/libscan_rules-5d5eb5529c40cacc.rlib --extern strcursor=/builddir/build/BUILD/scan-rules-0.2.0/target/release/deps/libstrcursor-62439ddaf428aa37.rlib -C embed-bitcode=no --cfg 'feature="default"' --cfg macro_inter_stmt_binding_visibility --error-format human` warning: unnecessary trailing semicolons --> /builddir/build/BUILD/scan-rules-0.2.0/src/macros.rs:743:30 | 743 | (@as_stmt $s:stmt) => {$s;}; | ^ help: remove these semicolons | ::: /builddir/build/BUILD/scan-rules-0.2.0/src/scanner/std/collections.rs:22:1 | 22 | / scanner! { impl<'a, K, V> ScanFromStr for BTreeMap => BTreeMap, where {K: Ord} { 23 | | ("{", [ let es: KeyValuePair ],*: BTreeMap, "}", ..tail) => (es, tail) 24 | | }} | |__- in this macro invocation | = note: `#[warn(redundant_semicolons)]` on by default = note: this warning originates in the macro `scan_rules_impl` which comes from the expansion of the macro `scanner` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unnecessary trailing semicolon --> /builddir/build/BUILD/scan-rules-0.2.0/src/macros.rs:743:30 | 743 | (@as_stmt $s:stmt) => {$s;}; | ^ help: remove this semicolon | ::: /builddir/build/BUILD/scan-rules-0.2.0/src/scanner/std/collections.rs:22:1 | 22 | / scanner! { impl<'a, K, V> ScanFromStr for BTreeMap => BTreeMap, where {K: Ord} { 23 | | ("{", [ let es: KeyValuePair ],*: BTreeMap, "}", ..tail) => (es, tail) 24 | | }} | |__- in this macro invocation | = note: this warning originates in the macro `scan_rules_impl` which comes from the expansion of the macro `scanner` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unnecessary trailing semicolon --> /builddir/build/BUILD/scan-rules-0.2.0/src/macros.rs:743:30 | 743 | (@as_stmt $s:stmt) => {$s;}; | ^ help: remove this semicolon | ::: /builddir/build/BUILD/scan-rules-0.2.0/src/scanner/std/collections.rs:22:1 | 22 | / scanner! { impl<'a, K, V> ScanFromStr for BTreeMap => BTreeMap, where {K: Ord} { 23 | | ("{", [ let es: KeyValuePair ],*: BTreeMap, "}", ..tail) => (es, tail) 24 | | }} | |__- in this macro invocation | = note: this warning originates in the macro `scan_rules_impl` which comes from the expansion of the macro `scanner` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unnecessary trailing semicolons --> /builddir/build/BUILD/scan-rules-0.2.0/src/macros.rs:743:30 | 743 | (@as_stmt $s:stmt) => {$s;}; | ^ help: remove these semicolons | ::: /builddir/build/BUILD/scan-rules-0.2.0/src/scanner/std/collections.rs:26:1 | 26 | / scanner! { impl<'a, T> ScanFromStr for BTreeSet => BTreeSet, where {T: Ord} { 27 | | ("{", [ let es: T ],*: BTreeSet<_>, "}", ..tail) => (es, tail) 28 | | }} | |__- in this macro invocation | = note: this warning originates in the macro `scan_rules_impl` which comes from the expansion of the macro `scanner` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unnecessary trailing semicolon --> /builddir/build/BUILD/scan-rules-0.2.0/src/macros.rs:743:30 | 743 | (@as_stmt $s:stmt) => {$s;}; | ^ help: remove this semicolon | ::: /builddir/build/BUILD/scan-rules-0.2.0/src/scanner/std/collections.rs:26:1 | 26 | / scanner! { impl<'a, T> ScanFromStr for BTreeSet => BTreeSet, where {T: Ord} { 27 | | ("{", [ let es: T ],*: BTreeSet<_>, "}", ..tail) => (es, tail) 28 | | }} | |__- in this macro invocation | = note: this warning originates in the macro `scan_rules_impl` which comes from the expansion of the macro `scanner` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unnecessary trailing semicolon --> /builddir/build/BUILD/scan-rules-0.2.0/src/macros.rs:743:30 | 743 | (@as_stmt $s:stmt) => {$s;}; | ^ help: remove this semicolon | ::: /builddir/build/BUILD/scan-rules-0.2.0/src/scanner/std/collections.rs:26:1 | 26 | / scanner! { impl<'a, T> ScanFromStr for BTreeSet => BTreeSet, where {T: Ord} { 27 | | ("{", [ let es: T ],*: BTreeSet<_>, "}", ..tail) => (es, tail) 28 | | }} | |__- in this macro invocation | = note: this warning originates in the macro `scan_rules_impl` which comes from the expansion of the macro `scanner` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unnecessary trailing semicolons --> /builddir/build/BUILD/scan-rules-0.2.0/src/macros.rs:743:30 | 743 | (@as_stmt $s:stmt) => {$s;}; | ^ help: remove these semicolons | ::: /builddir/build/BUILD/scan-rules-0.2.0/src/scanner/std/collections.rs:30:1 | 30 | / scanner! { impl<'a, T> ScanFromStr for BinaryHeap => BinaryHeap, where {T: Ord} { 31 | | ("[", [ let es: T ],*: BinaryHeap<_>, "]", ..tail) => (es, tail) 32 | | }} | |__- in this macro invocation | = note: this warning originates in the macro `scan_rules_impl` which comes from the expansion of the macro `scanner` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unnecessary trailing semicolon --> /builddir/build/BUILD/scan-rules-0.2.0/src/macros.rs:743:30 | 743 | (@as_stmt $s:stmt) => {$s;}; | ^ help: remove this semicolon | ::: /builddir/build/BUILD/scan-rules-0.2.0/src/scanner/std/collections.rs:30:1 | 30 | / scanner! { impl<'a, T> ScanFromStr for BinaryHeap => BinaryHeap, where {T: Ord} { 31 | | ("[", [ let es: T ],*: BinaryHeap<_>, "]", ..tail) => (es, tail) 32 | | }} | |__- in this macro invocation | = note: this warning originates in the macro `scan_rules_impl` which comes from the expansion of the macro `scanner` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unnecessary trailing semicolon --> /builddir/build/BUILD/scan-rules-0.2.0/src/macros.rs:743:30 | 743 | (@as_stmt $s:stmt) => {$s;}; | ^ help: remove this semicolon | ::: /builddir/build/BUILD/scan-rules-0.2.0/src/scanner/std/collections.rs:30:1 | 30 | / scanner! { impl<'a, T> ScanFromStr for BinaryHeap => BinaryHeap, where {T: Ord} { 31 | | ("[", [ let es: T ],*: BinaryHeap<_>, "]", ..tail) => (es, tail) 32 | | }} | |__- in this macro invocation | = note: this warning originates in the macro `scan_rules_impl` which comes from the expansion of the macro `scanner` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unnecessary trailing semicolons --> /builddir/build/BUILD/scan-rules-0.2.0/src/macros.rs:743:30 | 743 | (@as_stmt $s:stmt) => {$s;}; | ^ help: remove these semicolons | ::: /builddir/build/BUILD/scan-rules-0.2.0/src/scanner/std/collections.rs:34:1 | 34 | / scanner! { impl<'a, K, V> ScanFromStr for HashMap => HashMap, where {K: Hash + Eq} { 35 | | ("{", [ let es: KeyValuePair ],*: HashMap, "}", ..tail) => (es, tail) 36 | | }} | |__- in this macro invocation | = note: this warning originates in the macro `scan_rules_impl` which comes from the expansion of the macro `scanner` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unnecessary trailing semicolon --> /builddir/build/BUILD/scan-rules-0.2.0/src/macros.rs:743:30 | 743 | (@as_stmt $s:stmt) => {$s;}; | ^ help: remove this semicolon | ::: /builddir/build/BUILD/scan-rules-0.2.0/src/scanner/std/collections.rs:34:1 | 34 | / scanner! { impl<'a, K, V> ScanFromStr for HashMap => HashMap, where {K: Hash + Eq} { 35 | | ("{", [ let es: KeyValuePair ],*: HashMap, "}", ..tail) => (es, tail) 36 | | }} | |__- in this macro invocation | = note: this warning originates in the macro `scan_rules_impl` which comes from the expansion of the macro `scanner` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unnecessary trailing semicolon --> /builddir/build/BUILD/scan-rules-0.2.0/src/macros.rs:743:30 | 743 | (@as_stmt $s:stmt) => {$s;}; | ^ help: remove this semicolon | ::: /builddir/build/BUILD/scan-rules-0.2.0/src/scanner/std/collections.rs:34:1 | 34 | / scanner! { impl<'a, K, V> ScanFromStr for HashMap => HashMap, where {K: Hash + Eq} { 35 | | ("{", [ let es: KeyValuePair ],*: HashMap, "}", ..tail) => (es, tail) 36 | | }} | |__- in this macro invocation | = note: this warning originates in the macro `scan_rules_impl` which comes from the expansion of the macro `scanner` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unnecessary trailing semicolons --> /builddir/build/BUILD/scan-rules-0.2.0/src/macros.rs:743:30 | 743 | (@as_stmt $s:stmt) => {$s;}; | ^ help: remove these semicolons | ::: /builddir/build/BUILD/scan-rules-0.2.0/src/scanner/std/collections.rs:38:1 | 38 | / scanner! { impl<'a, T> ScanFromStr for HashSet => HashSet, where {T: Hash + Eq} { 39 | | ("{", [ let es: T ],*: HashSet<_>, "}", ..tail) => (es, tail) 40 | | }} | |__- in this macro invocation | = note: this warning originates in the macro `scan_rules_impl` which comes from the expansion of the macro `scanner` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unnecessary trailing semicolon --> /builddir/build/BUILD/scan-rules-0.2.0/src/macros.rs:743:30 | 743 | (@as_stmt $s:stmt) => {$s;}; | ^ help: remove this semicolon | ::: /builddir/build/BUILD/scan-rules-0.2.0/src/scanner/std/collections.rs:38:1 | 38 | / scanner! { impl<'a, T> ScanFromStr for HashSet => HashSet, where {T: Hash + Eq} { 39 | | ("{", [ let es: T ],*: HashSet<_>, "}", ..tail) => (es, tail) 40 | | }} | |__- in this macro invocation | = note: this warning originates in the macro `scan_rules_impl` which comes from the expansion of the macro `scanner` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unnecessary trailing semicolon --> /builddir/build/BUILD/scan-rules-0.2.0/src/macros.rs:743:30 | 743 | (@as_stmt $s:stmt) => {$s;}; | ^ help: remove this semicolon | ::: /builddir/build/BUILD/scan-rules-0.2.0/src/scanner/std/collections.rs:38:1 | 38 | / scanner! { impl<'a, T> ScanFromStr for HashSet => HashSet, where {T: Hash + Eq} { 39 | | ("{", [ let es: T ],*: HashSet<_>, "}", ..tail) => (es, tail) 40 | | }} | |__- in this macro invocation | = note: this warning originates in the macro `scan_rules_impl` which comes from the expansion of the macro `scanner` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unnecessary trailing semicolons --> /builddir/build/BUILD/scan-rules-0.2.0/src/macros.rs:743:30 | 743 | (@as_stmt $s:stmt) => {$s;}; | ^ help: remove these semicolons | ::: /builddir/build/BUILD/scan-rules-0.2.0/src/scanner/std/collections.rs:42:1 | 42 | / scanner! { impl<'a, T> ScanFromStr for LinkedList => LinkedList { 43 | | ("[", [ let es: T ],*: LinkedList<_>, "]", ..tail) => (es, tail) 44 | | }} | |__- in this macro invocation | = note: this warning originates in the macro `scan_rules_impl` which comes from the expansion of the macro `scanner` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unnecessary trailing semicolon --> /builddir/build/BUILD/scan-rules-0.2.0/src/macros.rs:743:30 | 743 | (@as_stmt $s:stmt) => {$s;}; | ^ help: remove this semicolon | ::: /builddir/build/BUILD/scan-rules-0.2.0/src/scanner/std/collections.rs:42:1 | 42 | / scanner! { impl<'a, T> ScanFromStr for LinkedList => LinkedList { 43 | | ("[", [ let es: T ],*: LinkedList<_>, "]", ..tail) => (es, tail) 44 | | }} | |__- in this macro invocation | = note: this warning originates in the macro `scan_rules_impl` which comes from the expansion of the macro `scanner` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unnecessary trailing semicolon --> /builddir/build/BUILD/scan-rules-0.2.0/src/macros.rs:743:30 | 743 | (@as_stmt $s:stmt) => {$s;}; | ^ help: remove this semicolon | ::: /builddir/build/BUILD/scan-rules-0.2.0/src/scanner/std/collections.rs:42:1 | 42 | / scanner! { impl<'a, T> ScanFromStr for LinkedList => LinkedList { 43 | | ("[", [ let es: T ],*: LinkedList<_>, "]", ..tail) => (es, tail) 44 | | }} | |__- in this macro invocation | = note: this warning originates in the macro `scan_rules_impl` which comes from the expansion of the macro `scanner` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unnecessary trailing semicolons --> /builddir/build/BUILD/scan-rules-0.2.0/src/macros.rs:743:30 | 743 | (@as_stmt $s:stmt) => {$s;}; | ^ help: remove these semicolons | ::: /builddir/build/BUILD/scan-rules-0.2.0/src/scanner/std/collections.rs:46:1 | 46 | / scanner! { impl<'a, T> ScanFromStr for Vec => Vec { 47 | | ("[", [ let es: T ],*, "]", ..tail) => (es, tail) 48 | | }} | |__- in this macro invocation | = note: this warning originates in the macro `scan_rules_impl` which comes from the expansion of the macro `scanner` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unnecessary trailing semicolon --> /builddir/build/BUILD/scan-rules-0.2.0/src/macros.rs:743:30 | 743 | (@as_stmt $s:stmt) => {$s;}; | ^ help: remove this semicolon | ::: /builddir/build/BUILD/scan-rules-0.2.0/src/scanner/std/collections.rs:46:1 | 46 | / scanner! { impl<'a, T> ScanFromStr for Vec => Vec { 47 | | ("[", [ let es: T ],*, "]", ..tail) => (es, tail) 48 | | }} | |__- in this macro invocation | = note: this warning originates in the macro `scan_rules_impl` which comes from the expansion of the macro `scanner` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unnecessary trailing semicolon --> /builddir/build/BUILD/scan-rules-0.2.0/src/macros.rs:743:30 | 743 | (@as_stmt $s:stmt) => {$s;}; | ^ help: remove this semicolon | ::: /builddir/build/BUILD/scan-rules-0.2.0/src/scanner/std/collections.rs:46:1 | 46 | / scanner! { impl<'a, T> ScanFromStr for Vec => Vec { 47 | | ("[", [ let es: T ],*, "]", ..tail) => (es, tail) 48 | | }} | |__- in this macro invocation | = note: this warning originates in the macro `scan_rules_impl` which comes from the expansion of the macro `scanner` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unnecessary trailing semicolons --> /builddir/build/BUILD/scan-rules-0.2.0/src/macros.rs:743:30 | 743 | (@as_stmt $s:stmt) => {$s;}; | ^ help: remove these semicolons | ::: /builddir/build/BUILD/scan-rules-0.2.0/src/scanner/std/collections.rs:50:1 | 50 | / scanner! { impl<'a, T> ScanFromStr for VecDeque => VecDeque { 51 | | ("[", [ let es: T ],*: VecDeque<_>, "]", ..tail) => (es, tail) 52 | | }} | |__- in this macro invocation | = note: this warning originates in the macro `scan_rules_impl` which comes from the expansion of the macro `scanner` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unnecessary trailing semicolon --> /builddir/build/BUILD/scan-rules-0.2.0/src/macros.rs:743:30 | 743 | (@as_stmt $s:stmt) => {$s;}; | ^ help: remove this semicolon | ::: /builddir/build/BUILD/scan-rules-0.2.0/src/scanner/std/collections.rs:50:1 | 50 | / scanner! { impl<'a, T> ScanFromStr for VecDeque => VecDeque { 51 | | ("[", [ let es: T ],*: VecDeque<_>, "]", ..tail) => (es, tail) 52 | | }} | |__- in this macro invocation | = note: this warning originates in the macro `scan_rules_impl` which comes from the expansion of the macro `scanner` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unnecessary trailing semicolon --> /builddir/build/BUILD/scan-rules-0.2.0/src/macros.rs:743:30 | 743 | (@as_stmt $s:stmt) => {$s;}; | ^ help: remove this semicolon | ::: /builddir/build/BUILD/scan-rules-0.2.0/src/scanner/std/collections.rs:50:1 | 50 | / scanner! { impl<'a, T> ScanFromStr for VecDeque => VecDeque { 51 | | ("[", [ let es: T ],*: VecDeque<_>, "]", ..tail) => (es, tail) 52 | | }} | |__- in this macro invocation | = note: this warning originates in the macro `scan_rules_impl` which comes from the expansion of the macro `scanner` (in Nightly builds, run with -Z macro-backtrace for more info) warning: `...` range patterns are deprecated --> /builddir/build/BUILD/scan-rules-0.2.0/src/scanner/std/net.rs:63:33 | 63 | matches!(b, b'0'...b'9' | b'a'...b'f' | b'A'...b'F')) | ^^^ help: use `..=` for an inclusive range | = note: `#[warn(ellipsis_inclusive_range_patterns)]` on by default = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see warning: `...` range patterns are deprecated --> /builddir/build/BUILD/scan-rules-0.2.0/src/scanner/std/net.rs:63:47 | 63 | matches!(b, b'0'...b'9' | b'a'...b'f' | b'A'...b'F')) | ^^^ help: use `..=` for an inclusive range | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see warning: `...` range patterns are deprecated --> /builddir/build/BUILD/scan-rules-0.2.0/src/scanner/std/net.rs:63:61 | 63 | matches!(b, b'0'...b'9' | b'a'...b'f' | b'A'...b'F')) | ^^^ help: use `..=` for an inclusive range | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see warning: `...` range patterns are deprecated --> /builddir/build/BUILD/scan-rules-0.2.0/src/scanner/std/net.rs:73:33 | 73 | matches!(b, b'0'...b'9')) | ^^^ help: use `..=` for an inclusive range | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see warning: `...` range patterns are deprecated --> /builddir/build/BUILD/scan-rules-0.2.0/src/scanner/std/net.rs:209:50 | 209 | ibs.take_while_ref(|&(_, b)| matches!(b, b'0'...b'9')) | ^^^ help: use `..=` for an inclusive range | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see warning: `...` range patterns are deprecated --> /builddir/build/BUILD/scan-rules-0.2.0/src/scanner/std/time.rs:540:22 | 540 | Some(('0'...'9', _)) => (), | ^^^ help: use `..=` for an inclusive range | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see warning: `...` range patterns are deprecated --> /builddir/build/BUILD/scan-rules-0.2.0/src/scanner/std/time.rs:555:22 | 555 | Some(('0'...'9', _)) => (), | ^^^ help: use `..=` for an inclusive range | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see warning: `...` range patterns are deprecated --> /builddir/build/BUILD/scan-rules-0.2.0/src/scanner/std/time.rs:623:18 | 623 | Some(('0'...'9', cur)) => cur, | ^^^ help: use `..=` for an inclusive range | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see warning: `...` range patterns are deprecated --> /builddir/build/BUILD/scan-rules-0.2.0/src/scanner/std/time.rs:630:22 | 630 | Some(('0'...'9', cur)) => cur, | ^^^ 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: unnecessary trailing semicolons --> /builddir/build/BUILD/scan-rules-0.2.0/src/macros.rs:743:30 | 743 | (@as_stmt $s:stmt) => {$s;}; | ^ help: remove these semicolons | ::: /builddir/build/BUILD/scan-rules-0.2.0/src/scanner/std/mod.rs:49:5 | 49 | impl_tuple! { T0 T1 T2 T3 } | --------------------------- in this macro invocation | = note: this warning originates in the macro `scan_rules_impl` which comes from the expansion of the macro `impl_tuple` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unnecessary trailing semicolon --> /builddir/build/BUILD/scan-rules-0.2.0/src/macros.rs:743:30 | 743 | (@as_stmt $s:stmt) => {$s;}; | ^ help: remove this semicolon | ::: /builddir/build/BUILD/scan-rules-0.2.0/src/scanner/std/mod.rs:49:5 | 49 | impl_tuple! { T0 T1 T2 T3 } | --------------------------- in this macro invocation | = note: this warning originates in the macro `scan_rules_impl` which comes from the expansion of the macro `impl_tuple` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unnecessary trailing semicolons --> /builddir/build/BUILD/scan-rules-0.2.0/src/macros.rs:743:30 | 743 | (@as_stmt $s:stmt) => {$s;}; | ^ help: remove these semicolons | ::: /builddir/build/BUILD/scan-rules-0.2.0/src/scanner/std/mod.rs:49:5 | 49 | impl_tuple! { T0 T1 T2 T3 } | --------------------------- in this macro invocation | = note: this warning originates in the macro `scan_rules_impl` which comes from the expansion of the macro `impl_tuple` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unnecessary trailing semicolon --> /builddir/build/BUILD/scan-rules-0.2.0/src/macros.rs:743:30 | 743 | (@as_stmt $s:stmt) => {$s;}; | ^ help: remove this semicolon | ::: /builddir/build/BUILD/scan-rules-0.2.0/src/scanner/std/mod.rs:49:5 | 49 | impl_tuple! { T0 T1 T2 T3 } | --------------------------- in this macro invocation | = note: this warning originates in the macro `scan_rules_impl` which comes from the expansion of the macro `impl_tuple` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unnecessary trailing semicolons --> /builddir/build/BUILD/scan-rules-0.2.0/src/macros.rs:743:30 | 743 | (@as_stmt $s:stmt) => {$s;}; | ^ help: remove these semicolons | ::: /builddir/build/BUILD/scan-rules-0.2.0/src/scanner/std/mod.rs:49:5 | 49 | impl_tuple! { T0 T1 T2 T3 } | --------------------------- in this macro invocation | = note: this warning originates in the macro `scan_rules_impl` which comes from the expansion of the macro `impl_tuple` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unnecessary trailing semicolon --> /builddir/build/BUILD/scan-rules-0.2.0/src/macros.rs:743:30 | 743 | (@as_stmt $s:stmt) => {$s;}; | ^ help: remove this semicolon | ::: /builddir/build/BUILD/scan-rules-0.2.0/src/scanner/std/mod.rs:49:5 | 49 | impl_tuple! { T0 T1 T2 T3 } | --------------------------- in this macro invocation | = note: this warning originates in the macro `scan_rules_impl` which comes from the expansion of the macro `impl_tuple` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unnecessary trailing semicolons --> /builddir/build/BUILD/scan-rules-0.2.0/src/macros.rs:743:30 | 743 | (@as_stmt $s:stmt) => {$s;}; | ^ help: remove these semicolons | ::: /builddir/build/BUILD/scan-rules-0.2.0/src/scanner/std/mod.rs:49:5 | 49 | impl_tuple! { T0 T1 T2 T3 } | --------------------------- in this macro invocation | = note: this warning originates in the macro `scan_rules_impl` which comes from the expansion of the macro `impl_tuple` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unnecessary trailing semicolon --> /builddir/build/BUILD/scan-rules-0.2.0/src/macros.rs:743:30 | 743 | (@as_stmt $s:stmt) => {$s;}; | ^ help: remove this semicolon | ::: /builddir/build/BUILD/scan-rules-0.2.0/src/scanner/std/mod.rs:49:5 | 49 | impl_tuple! { T0 T1 T2 T3 } | --------------------------- in this macro invocation | = note: this warning originates in the macro `scan_rules_impl` which comes from the expansion of the macro `impl_tuple` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unnecessary trailing semicolons --> /builddir/build/BUILD/scan-rules-0.2.0/src/macros.rs:743:30 | 743 | (@as_stmt $s:stmt) => {$s;}; | ^ help: remove these semicolons | ::: /builddir/build/BUILD/scan-rules-0.2.0/src/scanner/std/mod.rs:93:5 | 93 | / impl_array! { 94 | | 8 e8 7 e7 6 e6 5 e5 4 e4 3 e3 2 e2 1 e1 95 | | } | |_____- in this macro invocation | = note: this warning originates in the macro `scan_rules_impl` which comes from the expansion of the macro `impl_array` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unnecessary trailing semicolon --> /builddir/build/BUILD/scan-rules-0.2.0/src/macros.rs:743:30 | 743 | (@as_stmt $s:stmt) => {$s;}; | ^ help: remove this semicolon | ::: /builddir/build/BUILD/scan-rules-0.2.0/src/scanner/std/mod.rs:93:5 | 93 | / impl_array! { 94 | | 8 e8 7 e7 6 e6 5 e5 4 e4 3 e3 2 e2 1 e1 95 | | } | |_____- in this macro invocation | = note: this warning originates in the macro `scan_rules_impl` which comes from the expansion of the macro `impl_array` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unnecessary trailing semicolons --> /builddir/build/BUILD/scan-rules-0.2.0/src/macros.rs:743:30 | 743 | (@as_stmt $s:stmt) => {$s;}; | ^ help: remove these semicolons | ::: /builddir/build/BUILD/scan-rules-0.2.0/src/scanner/std/mod.rs:93:5 | 93 | / impl_array! { 94 | | 8 e8 7 e7 6 e6 5 e5 4 e4 3 e3 2 e2 1 e1 95 | | } | |_____- in this macro invocation | = note: this warning originates in the macro `scan_rules_impl` which comes from the expansion of the macro `impl_array` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unnecessary trailing semicolon --> /builddir/build/BUILD/scan-rules-0.2.0/src/macros.rs:743:30 | 743 | (@as_stmt $s:stmt) => {$s;}; | ^ help: remove this semicolon | ::: /builddir/build/BUILD/scan-rules-0.2.0/src/scanner/std/mod.rs:93:5 | 93 | / impl_array! { 94 | | 8 e8 7 e7 6 e6 5 e5 4 e4 3 e3 2 e2 1 e1 95 | | } | |_____- in this macro invocation | = note: this warning originates in the macro `scan_rules_impl` which comes from the expansion of the macro `impl_array` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unnecessary trailing semicolons --> /builddir/build/BUILD/scan-rules-0.2.0/src/macros.rs:743:30 | 743 | (@as_stmt $s:stmt) => {$s;}; | ^ help: remove these semicolons | ::: /builddir/build/BUILD/scan-rules-0.2.0/src/scanner/std/mod.rs:93:5 | 93 | / impl_array! { 94 | | 8 e8 7 e7 6 e6 5 e5 4 e4 3 e3 2 e2 1 e1 95 | | } | |_____- in this macro invocation | = note: this warning originates in the macro `scan_rules_impl` which comes from the expansion of the macro `impl_array` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unnecessary trailing semicolon --> /builddir/build/BUILD/scan-rules-0.2.0/src/macros.rs:743:30 | 743 | (@as_stmt $s:stmt) => {$s;}; | ^ help: remove this semicolon | ::: /builddir/build/BUILD/scan-rules-0.2.0/src/scanner/std/mod.rs:93:5 | 93 | / impl_array! { 94 | | 8 e8 7 e7 6 e6 5 e5 4 e4 3 e3 2 e2 1 e1 95 | | } | |_____- in this macro invocation | = note: this warning originates in the macro `scan_rules_impl` which comes from the expansion of the macro `impl_array` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unnecessary trailing semicolons --> /builddir/build/BUILD/scan-rules-0.2.0/src/macros.rs:743:30 | 743 | (@as_stmt $s:stmt) => {$s;}; | ^ help: remove these semicolons | ::: /builddir/build/BUILD/scan-rules-0.2.0/src/scanner/std/mod.rs:93:5 | 93 | / impl_array! { 94 | | 8 e8 7 e7 6 e6 5 e5 4 e4 3 e3 2 e2 1 e1 95 | | } | |_____- in this macro invocation | = note: this warning originates in the macro `scan_rules_impl` which comes from the expansion of the macro `impl_array` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unnecessary trailing semicolon --> /builddir/build/BUILD/scan-rules-0.2.0/src/macros.rs:743:30 | 743 | (@as_stmt $s:stmt) => {$s;}; | ^ help: remove this semicolon | ::: /builddir/build/BUILD/scan-rules-0.2.0/src/scanner/std/mod.rs:93:5 | 93 | / impl_array! { 94 | | 8 e8 7 e7 6 e6 5 e5 4 e4 3 e3 2 e2 1 e1 95 | | } | |_____- in this macro invocation | = note: this warning originates in the macro `scan_rules_impl` which comes from the expansion of the macro `impl_array` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unnecessary trailing semicolons --> /builddir/build/BUILD/scan-rules-0.2.0/src/macros.rs:743:30 | 743 | (@as_stmt $s:stmt) => {$s;}; | ^ help: remove these semicolons | ::: /builddir/build/BUILD/scan-rules-0.2.0/src/scanner/std/mod.rs:93:5 | 93 | / impl_array! { 94 | | 8 e8 7 e7 6 e6 5 e5 4 e4 3 e3 2 e2 1 e1 95 | | } | |_____- in this macro invocation | = note: this warning originates in the macro `scan_rules_impl` which comes from the expansion of the macro `impl_array` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unnecessary trailing semicolon --> /builddir/build/BUILD/scan-rules-0.2.0/src/macros.rs:743:30 | 743 | (@as_stmt $s:stmt) => {$s;}; | ^ help: remove this semicolon | ::: /builddir/build/BUILD/scan-rules-0.2.0/src/scanner/std/mod.rs:93:5 | 93 | / impl_array! { 94 | | 8 e8 7 e7 6 e6 5 e5 4 e4 3 e3 2 e2 1 e1 95 | | } | |_____- in this macro invocation | = note: this warning originates in the macro `scan_rules_impl` which comes from the expansion of the macro `impl_array` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unnecessary trailing semicolons --> /builddir/build/BUILD/scan-rules-0.2.0/src/macros.rs:743:30 | 743 | (@as_stmt $s:stmt) => {$s;}; | ^ help: remove these semicolons | ::: /builddir/build/BUILD/scan-rules-0.2.0/src/scanner/std/mod.rs:93:5 | 93 | / impl_array! { 94 | | 8 e8 7 e7 6 e6 5 e5 4 e4 3 e3 2 e2 1 e1 95 | | } | |_____- in this macro invocation | = note: this warning originates in the macro `scan_rules_impl` which comes from the expansion of the macro `impl_array` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unnecessary trailing semicolon --> /builddir/build/BUILD/scan-rules-0.2.0/src/macros.rs:743:30 | 743 | (@as_stmt $s:stmt) => {$s;}; | ^ help: remove this semicolon | ::: /builddir/build/BUILD/scan-rules-0.2.0/src/scanner/std/mod.rs:93:5 | 93 | / impl_array! { 94 | | 8 e8 7 e7 6 e6 5 e5 4 e4 3 e3 2 e2 1 e1 95 | | } | |_____- in this macro invocation | = note: this warning originates in the macro `scan_rules_impl` which comes from the expansion of the macro `impl_array` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unnecessary trailing semicolons --> /builddir/build/BUILD/scan-rules-0.2.0/src/macros.rs:743:30 | 743 | (@as_stmt $s:stmt) => {$s;}; | ^ help: remove these semicolons | ::: /builddir/build/BUILD/scan-rules-0.2.0/src/scanner/std/mod.rs:93:5 | 93 | / impl_array! { 94 | | 8 e8 7 e7 6 e6 5 e5 4 e4 3 e3 2 e2 1 e1 95 | | } | |_____- in this macro invocation | = note: this warning originates in the macro `scan_rules_impl` which comes from the expansion of the macro `impl_array` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unnecessary trailing semicolon --> /builddir/build/BUILD/scan-rules-0.2.0/src/macros.rs:743:30 | 743 | (@as_stmt $s:stmt) => {$s;}; | ^ help: remove this semicolon | ::: /builddir/build/BUILD/scan-rules-0.2.0/src/scanner/std/mod.rs:93:5 | 93 | / impl_array! { 94 | | 8 e8 7 e7 6 e6 5 e5 4 e4 3 e3 2 e2 1 e1 95 | | } | |_____- in this macro invocation | = note: this warning originates in the macro `scan_rules_impl` which comes from the expansion of the macro `impl_array` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unnecessary trailing semicolons --> /builddir/build/BUILD/scan-rules-0.2.0/src/macros.rs:743:30 | 743 | (@as_stmt $s:stmt) => {$s;}; | ^ help: remove these semicolons | ::: /builddir/build/BUILD/scan-rules-0.2.0/src/scanner/std/mod.rs:93:5 | 93 | / impl_array! { 94 | | 8 e8 7 e7 6 e6 5 e5 4 e4 3 e3 2 e2 1 e1 95 | | } | |_____- in this macro invocation | = note: this warning originates in the macro `scan_rules_impl` which comes from the expansion of the macro `impl_array` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unnecessary trailing semicolon --> /builddir/build/BUILD/scan-rules-0.2.0/src/macros.rs:743:30 | 743 | (@as_stmt $s:stmt) => {$s;}; | ^ help: remove this semicolon | ::: /builddir/build/BUILD/scan-rules-0.2.0/src/scanner/std/mod.rs:93:5 | 93 | / impl_array! { 94 | | 8 e8 7 e7 6 e6 5 e5 4 e4 3 e3 2 e2 1 e1 95 | | } | |_____- in this macro invocation | = note: this warning originates in the macro `scan_rules_impl` which comes from the expansion of the macro `impl_array` (in Nightly builds, run with -Z macro-backtrace for more info) warning: `...` range patterns are deprecated --> /builddir/build/BUILD/scan-rules-0.2.0/src/scanner/lang.rs:101:51 | 101 | .take_while_ref(|&(_, b)| matches!(b, b'0'...b'9')) | ^^^ help: use `..=` for an inclusive range | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see warning: `...` range patterns are deprecated --> /builddir/build/BUILD/scan-rules-0.2.0/src/scanner/lang.rs:119:50 | 119 | ibs.take_while(|&(_, b)| matches!(b, b'0'...b'9')) | ^^^ help: use `..=` for an inclusive range | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see warning: `...` range patterns are deprecated --> /builddir/build/BUILD/scan-rules-0.2.0/src/scanner/lang.rs:129:59 | 129 | .take_while_ref(|&(_, b)| matches!(b, b'0'...b'9')) | ^^^ help: use `..=` for an inclusive range | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see warning: `...` range patterns are deprecated --> /builddir/build/BUILD/scan-rules-0.2.0/src/scanner/lang.rs:323:29 | 323 | matches!(b, b'0'...b'9' | b'a'...b'f' | b'A'...b'F')) | ^^^ help: use `..=` for an inclusive range | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see warning: `...` range patterns are deprecated --> /builddir/build/BUILD/scan-rules-0.2.0/src/scanner/lang.rs:323:43 | 323 | matches!(b, b'0'...b'9' | b'a'...b'f' | b'A'...b'F')) | ^^^ help: use `..=` for an inclusive range | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see warning: `...` range patterns are deprecated --> /builddir/build/BUILD/scan-rules-0.2.0/src/scanner/lang.rs:323:57 | 323 | matches!(b, b'0'...b'9' | b'a'...b'f' | b'A'...b'F')) | ^^^ help: use `..=` for an inclusive range | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see warning: `...` range patterns are deprecated --> /builddir/build/BUILD/scan-rules-0.2.0/src/scanner/lang.rs:331:47 | 331 | .take_while(|&(_, b)| matches!(b, b'0'...b'7')) | ^^^ help: use `..=` for an inclusive range | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see warning: `...` range patterns are deprecated --> /builddir/build/BUILD/scan-rules-0.2.0/src/scanner/lang.rs:345:46 | 345 | ibs.take_while(|&(_, b)| matches!(b, b'0'...b'9')) | ^^^ help: use `..=` for an inclusive range | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see warning: `...` range patterns are deprecated --> /builddir/build/BUILD/scan-rules-0.2.0/src/scanner/lang.rs:359:46 | 359 | ibs.take_while(|&(_, b)| matches!(b, b'0'...b'9')) | ^^^ help: use `..=` for an inclusive range | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see warning: `...` range patterns are deprecated --> /builddir/build/BUILD/scan-rules-0.2.0/src/scanner/misc.rs:188:19 | 188 | '\x0a'...'\x0d' | '\u{85}' | '\u{2028}' | '\u{2029}' => false, | ^^^ help: use `..=` for an inclusive range | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see warning: `...` range patterns are deprecated --> /builddir/build/BUILD/scan-rules-0.2.0/src/util.rs:302:13 | 302 | b'0'...b'9' | b'a'...b'f' | b'A'...b'F' => true, | ^^^ help: use `..=` for an inclusive range | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see warning: `...` range patterns are deprecated --> /builddir/build/BUILD/scan-rules-0.2.0/src/util.rs:302:27 | 302 | b'0'...b'9' | b'a'...b'f' | b'A'...b'F' => true, | ^^^ help: use `..=` for an inclusive range | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see warning: `...` range patterns are deprecated --> /builddir/build/BUILD/scan-rules-0.2.0/src/util.rs:302:41 | 302 | b'0'...b'9' | b'a'...b'f' | b'A'...b'F' => 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: 70 warnings emitted running 10 tests test src/lib.rs - (line 132) ... ignored test src/lib.rs - (line 187) ... ignored test src/lib.rs - (line 232) ... ignored test src/lib.rs - (line 93) ... ignored test src/macros.rs - macros::let_readln (line 114) ... ignored test src/scanner/misc.rs - scanner::misc::KeyValuePair (line 729) ... ignored test src/scanner/mod.rs - scanner (line 30) ... ignored test src/scanner/mod.rs - scanner (line 42) ... ignored test src/scanner/mod.rs - scanner (line 49) ... ignored test src/macros.rs - macros::let_scan (line 83) ... ok test result: ok. 1 passed; 0 failed; 9 ignored; 0 measured; 0 filtered out; finished in 0.14s + RPM_EC=0 ++ jobs -p + exit 0 Processing files: rust-scan-rules-devel-0.2.0-1.fc38.noarch Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.Y4fukq + umask 022 + cd /builddir/build/BUILD + cd scan-rules-0.2.0 + DOCDIR=/builddir/build/BUILDROOT/rust-scan-rules-0.2.0-1.fc38.x86_64/usr/share/doc/rust-scan-rules-devel + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/rust-scan-rules-0.2.0-1.fc38.x86_64/usr/share/doc/rust-scan-rules-devel + cp -pr README.md /builddir/build/BUILDROOT/rust-scan-rules-0.2.0-1.fc38.x86_64/usr/share/doc/rust-scan-rules-devel + RPM_EC=0 ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.Wj1Rzd + umask 022 + cd /builddir/build/BUILD + cd scan-rules-0.2.0 + LICENSEDIR=/builddir/build/BUILDROOT/rust-scan-rules-0.2.0-1.fc38.x86_64/usr/share/licenses/rust-scan-rules-devel + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/rust-scan-rules-0.2.0-1.fc38.x86_64/usr/share/licenses/rust-scan-rules-devel + cp -pr LICENSE /builddir/build/BUILDROOT/rust-scan-rules-0.2.0-1.fc38.x86_64/usr/share/licenses/rust-scan-rules-devel + RPM_EC=0 ++ jobs -p + exit 0 Provides: crate(scan-rules) = 0.2.0 rust-scan-rules-devel = 0.2.0-1.fc38 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: (crate(itertools/default) >= 0.10.0 with crate(itertools/default) < 0.11.0~) (crate(lazy_static/default) >= 1.0.0 with crate(lazy_static/default) < 2.0.0~) (crate(strcursor/default) >= 0.2.3 with crate(strcursor/default) < 0.3.0~) cargo Processing files: rust-scan-rules+default-devel-0.2.0-1.fc38.noarch Provides: crate(scan-rules/default) = 0.2.0 rust-scan-rules+default-devel = 0.2.0-1.fc38 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: cargo crate(scan-rules) = 0.2.0 Processing files: rust-scan-rules+all-devel-0.2.0-1.fc38.noarch Provides: crate(scan-rules/all) = 0.2.0 rust-scan-rules+all-devel = 0.2.0-1.fc38 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: cargo crate(scan-rules) = 0.2.0 crate(scan-rules/arrays-32) = 0.2.0 crate(scan-rules/duration-iso8601-dates) = 0.2.0 crate(scan-rules/regex) = 0.2.0 crate(scan-rules/tuples-16) = 0.2.0 crate(scan-rules/unicode-normalization) = 0.2.0 Processing files: rust-scan-rules+all-nightly-devel-0.2.0-1.fc38.noarch Provides: crate(scan-rules/all-nightly) = 0.2.0 rust-scan-rules+all-nightly-devel = 0.2.0-1.fc38 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: cargo crate(scan-rules) = 0.2.0 crate(scan-rules/nightly-pattern) = 0.2.0 Processing files: rust-scan-rules+arrays-32-devel-0.2.0-1.fc38.noarch Provides: crate(scan-rules/arrays-32) = 0.2.0 rust-scan-rules+arrays-32-devel = 0.2.0-1.fc38 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: cargo crate(scan-rules) = 0.2.0 Processing files: rust-scan-rules+duration-iso8601-dates-devel-0.2.0-1.fc38.noarch Provides: crate(scan-rules/duration-iso8601-dates) = 0.2.0 rust-scan-rules+duration-iso8601-dates-devel = 0.2.0-1.fc38 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: cargo crate(scan-rules) = 0.2.0 Processing files: rust-scan-rules+nightly-pattern-devel-0.2.0-1.fc38.noarch Provides: crate(scan-rules/nightly-pattern) = 0.2.0 rust-scan-rules+nightly-pattern-devel = 0.2.0-1.fc38 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: cargo crate(scan-rules) = 0.2.0 Processing files: rust-scan-rules+regex-devel-0.2.0-1.fc38.noarch Provides: crate(scan-rules/regex) = 0.2.0 rust-scan-rules+regex-devel = 0.2.0-1.fc38 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: (crate(regex/default) >= 0.1.56 with crate(regex/default) < 0.2.0~) cargo crate(scan-rules) = 0.2.0 Processing files: rust-scan-rules+tuples-16-devel-0.2.0-1.fc38.noarch Provides: crate(scan-rules/tuples-16) = 0.2.0 rust-scan-rules+tuples-16-devel = 0.2.0-1.fc38 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: cargo crate(scan-rules) = 0.2.0 Processing files: rust-scan-rules+unicode-normalization-devel-0.2.0-1.fc38.noarch Provides: crate(scan-rules/unicode-normalization) = 0.2.0 rust-scan-rules+unicode-normalization-devel = 0.2.0-1.fc38 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: (crate(unicode-normalization/default) >= 0.1.2 with crate(unicode-normalization/default) < 0.2.0~) cargo crate(scan-rules) = 0.2.0 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/rust-scan-rules-0.2.0-1.fc38.x86_64 Wrote: /builddir/build/SRPMS/rust-scan-rules-0.2.0-1.fc38.src.rpm Wrote: /builddir/build/RPMS/rust-scan-rules+default-devel-0.2.0-1.fc38.noarch.rpm Wrote: /builddir/build/RPMS/rust-scan-rules+all-devel-0.2.0-1.fc38.noarch.rpm Wrote: /builddir/build/RPMS/rust-scan-rules+all-nightly-devel-0.2.0-1.fc38.noarch.rpm Wrote: /builddir/build/RPMS/rust-scan-rules+arrays-32-devel-0.2.0-1.fc38.noarch.rpm Wrote: /builddir/build/RPMS/rust-scan-rules-devel-0.2.0-1.fc38.noarch.rpm Wrote: /builddir/build/RPMS/rust-scan-rules+duration-iso8601-dates-devel-0.2.0-1.fc38.noarch.rpm Wrote: /builddir/build/RPMS/rust-scan-rules+nightly-pattern-devel-0.2.0-1.fc38.noarch.rpm Wrote: /builddir/build/RPMS/rust-scan-rules+regex-devel-0.2.0-1.fc38.noarch.rpm Wrote: /builddir/build/RPMS/rust-scan-rules+tuples-16-devel-0.2.0-1.fc38.noarch.rpm Wrote: /builddir/build/RPMS/rust-scan-rules+unicode-normalization-devel-0.2.0-1.fc38.noarch.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.5ZTjEu + umask 022 + cd /builddir/build/BUILD + cd scan-rules-0.2.0 + /usr/bin/rm -rf /builddir/build/BUILDROOT/rust-scan-rules-0.2.0-1.fc38.x86_64 + RPM_EC=0 ++ jobs -p + exit 0 Executing(rmbuild): /bin/sh -e /var/tmp/rpm-tmp.9BUXQJ + umask 022 + cd /builddir/build/BUILD + rm -rf scan-rules-0.2.0 scan-rules-0.2.0.gemspec + RPM_EC=0 ++ jobs -p + exit 0 Child return code was: 0