Mock Version: 3.0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target aarch64 --nodeps /builddir/build/SPECS/rust-rustc-serialize.spec'], chrootPath='/var/lib/mock/rhel+epel-9-aarch64-1655768989.582251/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.c018ktbw:/etc/resolv.conf', '--bind=/dev/btrfs-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=FalseprintOutput=True) Using nspawn with args ['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.c018ktbw:/etc/resolv.conf', '--bind=/dev/btrfs-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', '3dc14847dffe4729996480172e8cd27f', '-D', '/var/lib/mock/rhel+epel-9-aarch64-1655768989.582251/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.c018ktbw:/etc/resolv.conf', '--bind=/dev/btrfs-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 aarch64 --nodeps /builddir/build/SPECS/rust-rustc-serialize.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False Building target platforms: aarch64 Building for target aarch64 setting SOURCE_DATE_EPOCH=1642723200 Wrote: /builddir/build/SRPMS/rust-rustc-serialize-0.3.24-15.el9.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target aarch64 --nodeps /builddir/build/SPECS/rust-rustc-serialize.spec'], chrootPath='/var/lib/mock/rhel+epel-9-aarch64-1655768989.582251/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.c018ktbw:/etc/resolv.conf', '--bind=/dev/btrfs-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=FalseprintOutput=True) Using nspawn with args ['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.c018ktbw:/etc/resolv.conf', '--bind=/dev/btrfs-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', '7199cc46e53f46bd80eaf6821aea9923', '-D', '/var/lib/mock/rhel+epel-9-aarch64-1655768989.582251/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.c018ktbw:/etc/resolv.conf', '--bind=/dev/btrfs-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 -bb --target aarch64 --nodeps /builddir/build/SPECS/rust-rustc-serialize.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False Building target platforms: aarch64 Building for target aarch64 setting SOURCE_DATE_EPOCH=1642723200 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.IfuDQq + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf rustc-serialize-0.3.24 + /usr/bin/tar -xof - + /usr/bin/gzip -dc /builddir/build/SOURCES/rustc-serialize-0.3.24.crate + STATUS=0 + '[' 0 -ne 0 ']' + cd rustc-serialize-0.3.24 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /builddir/build/SOURCES/rustc-serialize-fix-metadata.diff + set -eu + /usr/bin/mkdir -p .cargo + cat + /usr/bin/rm -f Cargo.lock + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.O69C3z + umask 022 + cd /builddir/build/BUILD + cd rustc-serialize-0.3.24 + /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 --cap-lints=warn' /usr/bin/cargo build -j4 -Z avoid-dev-deps --release Compiling rustc-serialize v0.3.24 (/builddir/build/BUILD/rustc-serialize-0.3.24) Running `/usr/bin/rustc --crate-name rustc_serialize src/lib.rs --error-format=json --json=diagnostic-rendered-ansi --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no -C metadata=421873f631a8ac4e -C extra-filename=-421873f631a8ac4e --out-dir /builddir/build/BUILD/rustc-serialize-0.3.24/target/release/deps -L dependency=/builddir/build/BUILD/rustc-serialize-0.3.24/target/release/deps -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now --cap-lints=warn` warning: use of deprecated macro `try`: use the `?` operator instead --> src/serialize.rs:1119:21 | 1119 | Ok(Box::new(try!(Decodable::decode(d)))) | ^^^ | = note: `#[warn(deprecated)]` on by default warning: use of deprecated macro `try`: use the `?` operator instead --> src/serialize.rs:1125:25 | 1125 | let v: Vec = try!(Decodable::decode(d)); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/serialize.rs:1140:20 | 1140 | Ok(Rc::new(try!(Decodable::decode(d)))) | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/serialize.rs:1156:23 | 1156 | Ok(Cow::Owned(try!(Decodable::decode(d)))) | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/serialize.rs:1164:17 | 1164 | try!(s.emit_seq_elt(i, |s| e.encode(s))) | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/serialize.rs:1175:17 | 1175 | try!(s.emit_seq_elt(i, |s| e.encode(s))) | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/serialize.rs:1187:24 | 1187 | v.push(try!(d.read_seq_elt(i, |d| Decodable::decode(d)))); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/serialize.rs:1209:25 | 1209 | Ok(Some(try!(Decodable::decode(d)))) | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/serialize.rs:1223:25 | 1223 | try!(s.emit_enum_variant_arg(0, |s| { | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/serialize.rs:1231:25 | 1231 | try!(s.emit_enum_variant_arg(0, |s| { | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/serialize.rs:1295:34 | 1295 | let ret = ($(try!(d.read_tuple_arg({ i+=1; i-1 }, | ^^^ ... 1320 | tuple! { T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, } | ------------------------------------------------------------ in this macro invocation | = note: this warning originates in the macro `tuple` (in Nightly builds, run with -Z macro-backtrace for more info) warning: use of deprecated macro `try`: use the `?` operator instead --> src/serialize.rs:1311:23 | 1311 | $(try!(s.emit_tuple_arg({ i+=1; i-1 }, |s| $name.encode(s)));)* | ^^^ ... 1320 | tuple! { T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, } | ------------------------------------------------------------ in this macro invocation | = note: this warning originates in the macro `tuple` (in Nightly builds, run with -Z macro-backtrace for more info) warning: use of deprecated macro `try`: use the `?` operator instead --> src/serialize.rs:1332:25 | 1332 | try!(d.read_seq_elt($len - $idx - 1, | ^^^ ... 1353 | / array! { 1354 | | 32, 31, 30, 29, 28, 27, 26, 25, 24, 23, 22, 21, 20, 19, 18, 17, 16, 1355 | | 15, 14, 13, 12, 11, 10, 9, 8, 7, 6, 5, 4, 3, 2, 1, 0, 1356 | | } | |_- in this macro invocation | = note: this warning originates in the macro `array` (in Nightly builds, run with -Z macro-backtrace for more info) warning: use of deprecated macro `try`: use the `?` operator instead --> src/serialize.rs:1343:25 | 1343 | try!(s.emit_seq_elt(i, |s| self[i].encode(s))); | ^^^ ... 1353 | / array! { 1354 | | 32, 31, 30, 29, 28, 27, 26, 25, 24, 23, 22, 21, 20, 19, 18, 17, 16, 1355 | | 15, 14, 13, 12, 11, 10, 9, 8, 7, 6, 5, 4, 3, 2, 1, 0, 1356 | | } | |_- in this macro invocation | = note: this warning originates in the macro `array` (in Nightly builds, run with -Z macro-backtrace for more info) warning: use of deprecated macro `try`: use the `?` operator instead --> src/serialize.rs:1394:30 | 1394 | let bytes: Vec = try!(Decodable::decode(d)); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/serialize.rs:1419:22 | 1419 | Ok(Cell::new(try!(Decodable::decode(d)))) | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/serialize.rs:1436:25 | 1436 | Ok(RefCell::new(try!(Decodable::decode(d)))) | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/serialize.rs:1448:21 | 1448 | Ok(Arc::new(try!(Decodable::decode(d)))) | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/serialize.rs:1501:17 | 1501 | try!(this.emit_seq_elt(i, |this| { | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/serialize.rs:1557:24 | 1557 | v.push(try!(this.read_seq_elt(i, |this| f(this)))); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/collection_impls.rs:24:17 | 24 | try!(s.emit_seq_elt(i, |s| e.encode(s))); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/collection_impls.rs:36:32 | 36 | list.push_back(try!(d.read_seq_elt(i, |d| Decodable::decode(d)))); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/collection_impls.rs:47:17 | 47 | try!(s.emit_seq_elt(i, |s| e.encode(s))); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/collection_impls.rs:59:33 | 59 | deque.push_back(try!(d.read_seq_elt(i, |d| Decodable::decode(d)))); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/collection_impls.rs:74:17 | 74 | try!(e.emit_map_elt_key(i, |e| key.encode(e))); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/collection_impls.rs:75:17 | 75 | try!(e.emit_map_elt_val(i, |e| val.encode(e))); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/collection_impls.rs:91:27 | 91 | let key = try!(d.read_map_elt_key(i, |d| Decodable::decode(d))); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/collection_impls.rs:92:27 | 92 | let val = try!(d.read_map_elt_val(i, |d| Decodable::decode(d))); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/collection_impls.rs:107:17 | 107 | try!(s.emit_seq_elt(i, |s| e.encode(s))); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/collection_impls.rs:122:28 | 122 | set.insert(try!(d.read_seq_elt(i, |d| Decodable::decode(d)))); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/collection_impls.rs:137:17 | 137 | try!(e.emit_map_elt_key(i, |e| key.encode(e))); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/collection_impls.rs:138:17 | 138 | try!(e.emit_map_elt_val(i, |e| val.encode(e))); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/collection_impls.rs:154:27 | 154 | let key = try!(d.read_map_elt_key(i, |d| Decodable::decode(d))); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/collection_impls.rs:155:27 | 155 | let val = try!(d.read_map_elt_val(i, |d| Decodable::decode(d))); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/collection_impls.rs:168:17 | 168 | try!(s.emit_seq_elt(i, |s| e.encode(s))); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/collection_impls.rs:181:28 | 181 | set.insert(try!(d.read_seq_elt(i, |d| Decodable::decode(d)))); | ^^^ warning: `...` range patterns are deprecated --> src/hex.rs:137:21 | 137 | b'A'...b'F' => buf |= byte - b'A' + 10, | ^^^ 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/hex.rs:138:21 | 138 | b'a'...b'f' => buf |= byte - b'a' + 10, | ^^^ help: use `..=` for an inclusive range | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see warning: `...` range patterns are deprecated --> src/hex.rs:139:21 | 139 | b'0'...b'9' => buf |= byte - b'0', | ^^^ 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/json.rs:394:9 | 394 | try!(object.encode(&mut encoder)); | ^^^ warning: trait objects without an explicit `dyn` are deprecated --> src/json.rs:407:32 | 407 | fn cause(&self) -> Option<&StdError> { | ^^^^^^^^ help: use `dyn`: `dyn StdError` | = 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 warning: use of deprecated macro `try`: use the `?` operator instead --> src/json.rs:461:5 | 461 | try!(wr.write_str("\"")); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/json.rs:518:5 | 518 | try!(wr.write_str("\"")); | ^^^ warning: trait objects without an explicit `dyn` are deprecated --> src/json.rs:460:24 | 460 | fn escape_str(wr: &mut fmt::Write, v: &str) -> EncodeResult<()> { | ^^^^^^^^^^ help: use `dyn`: `dyn fmt::Write` | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see warning: use of deprecated macro `try`: use the `?` operator instead --> src/json.rs:509:9 | 509 | try!(wr.write_str(escaped)); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/json.rs:506:13 | 506 | try!(wr.write_str(&v[start..i])); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/json.rs:515:9 | 515 | try!(wr.write_str(&v[start..])); | ^^^ warning: trait objects without an explicit `dyn` are deprecated --> src/json.rs:522:29 | 522 | fn escape_char(writer: &mut fmt::Write, v: char) -> EncodeResult<()> { | ^^^^^^^^^^ help: use `dyn`: `dyn fmt::Write` | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see warning: trait objects without an explicit `dyn` are deprecated --> src/json.rs:529:20 | 529 | fn spaces(wr: &mut fmt::Write, n: u32) -> EncodeResult<()> { | ^^^^^^^^^^ help: use `dyn`: `dyn fmt::Write` | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see warning: use of deprecated macro `try`: use the `?` operator instead --> src/json.rs:534:9 | 534 | try!(wr.write_str(BUF)); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/json.rs:539:9 | 539 | try!(wr.write_str(&BUF[..n])); | ^^^ warning: trait objects without an explicit `dyn` are deprecated --> src/json.rs:578:22 | 578 | writer: &'a mut (fmt::Write+'a), | ^^^^^^^^^^^^^ help: use `dyn`: `dyn fmt::Write+'a` | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see warning: trait objects without an explicit `dyn` are deprecated --> src/json.rs:586:39 | 586 | pub fn new_pretty(writer: &'a mut fmt::Write) -> Encoder<'a> { | ^^^^^^^^^^ help: use `dyn`: `dyn fmt::Write` | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see warning: trait objects without an explicit `dyn` are deprecated --> src/json.rs:599:32 | 599 | pub fn new(writer: &'a mut fmt::Write) -> Encoder<'a> { | ^^^^^^^^^^ help: use `dyn`: `dyn fmt::Write` | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see warning: use of deprecated macro `try`: use the `?` operator instead --> src/json.rs:627:9 | 627 | try!(write!(self.writer, "null")); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/json.rs:559:13 | 559 | try!(write!($enc.writer, "\"{}\"", $e)); | ^^^ ... 631 | fn emit_usize(&mut self, v: usize) -> EncodeResult<()> { emit_enquoted_if_mapkey!(self, v) } | --------------------------------- in this macro invocation | = note: this warning originates in the macro `emit_enquoted_if_mapkey` (in Nightly builds, run with -Z macro-backtrace for more info) warning: use of deprecated macro `try`: use the `?` operator instead --> src/json.rs:562:13 | 562 | try!(write!($enc.writer, "{}", $e)); | ^^^ ... 631 | fn emit_usize(&mut self, v: usize) -> EncodeResult<()> { emit_enquoted_if_mapkey!(self, v) } | --------------------------------- in this macro invocation | = note: this warning originates in the macro `emit_enquoted_if_mapkey` (in Nightly builds, run with -Z macro-backtrace for more info) warning: use of deprecated macro `try`: use the `?` operator instead --> src/json.rs:559:13 | 559 | try!(write!($enc.writer, "\"{}\"", $e)); | ^^^ ... 632 | fn emit_u64(&mut self, v: u64) -> EncodeResult<()> { emit_enquoted_if_mapkey!(self, v) } | --------------------------------- in this macro invocation | = note: this warning originates in the macro `emit_enquoted_if_mapkey` (in Nightly builds, run with -Z macro-backtrace for more info) warning: use of deprecated macro `try`: use the `?` operator instead --> src/json.rs:562:13 | 562 | try!(write!($enc.writer, "{}", $e)); | ^^^ ... 632 | fn emit_u64(&mut self, v: u64) -> EncodeResult<()> { emit_enquoted_if_mapkey!(self, v) } | --------------------------------- in this macro invocation | = note: this warning originates in the macro `emit_enquoted_if_mapkey` (in Nightly builds, run with -Z macro-backtrace for more info) warning: use of deprecated macro `try`: use the `?` operator instead --> src/json.rs:559:13 | 559 | try!(write!($enc.writer, "\"{}\"", $e)); | ^^^ ... 633 | fn emit_u32(&mut self, v: u32) -> EncodeResult<()> { emit_enquoted_if_mapkey!(self, v) } | --------------------------------- in this macro invocation | = note: this warning originates in the macro `emit_enquoted_if_mapkey` (in Nightly builds, run with -Z macro-backtrace for more info) warning: use of deprecated macro `try`: use the `?` operator instead --> src/json.rs:562:13 | 562 | try!(write!($enc.writer, "{}", $e)); | ^^^ ... 633 | fn emit_u32(&mut self, v: u32) -> EncodeResult<()> { emit_enquoted_if_mapkey!(self, v) } | --------------------------------- in this macro invocation | = note: this warning originates in the macro `emit_enquoted_if_mapkey` (in Nightly builds, run with -Z macro-backtrace for more info) warning: use of deprecated macro `try`: use the `?` operator instead --> src/json.rs:559:13 | 559 | try!(write!($enc.writer, "\"{}\"", $e)); | ^^^ ... 634 | fn emit_u16(&mut self, v: u16) -> EncodeResult<()> { emit_enquoted_if_mapkey!(self, v) } | --------------------------------- in this macro invocation | = note: this warning originates in the macro `emit_enquoted_if_mapkey` (in Nightly builds, run with -Z macro-backtrace for more info) warning: use of deprecated macro `try`: use the `?` operator instead --> src/json.rs:562:13 | 562 | try!(write!($enc.writer, "{}", $e)); | ^^^ ... 634 | fn emit_u16(&mut self, v: u16) -> EncodeResult<()> { emit_enquoted_if_mapkey!(self, v) } | --------------------------------- in this macro invocation | = note: this warning originates in the macro `emit_enquoted_if_mapkey` (in Nightly builds, run with -Z macro-backtrace for more info) warning: use of deprecated macro `try`: use the `?` operator instead --> src/json.rs:559:13 | 559 | try!(write!($enc.writer, "\"{}\"", $e)); | ^^^ ... 635 | fn emit_u8(&mut self, v: u8) -> EncodeResult<()> { emit_enquoted_if_mapkey!(self, v) } | --------------------------------- in this macro invocation | = note: this warning originates in the macro `emit_enquoted_if_mapkey` (in Nightly builds, run with -Z macro-backtrace for more info) warning: use of deprecated macro `try`: use the `?` operator instead --> src/json.rs:562:13 | 562 | try!(write!($enc.writer, "{}", $e)); | ^^^ ... 635 | fn emit_u8(&mut self, v: u8) -> EncodeResult<()> { emit_enquoted_if_mapkey!(self, v) } | --------------------------------- in this macro invocation | = note: this warning originates in the macro `emit_enquoted_if_mapkey` (in Nightly builds, run with -Z macro-backtrace for more info) warning: use of deprecated macro `try`: use the `?` operator instead --> src/json.rs:559:13 | 559 | try!(write!($enc.writer, "\"{}\"", $e)); | ^^^ ... 637 | fn emit_isize(&mut self, v: isize) -> EncodeResult<()> { emit_enquoted_if_mapkey!(self, v) } | --------------------------------- in this macro invocation | = note: this warning originates in the macro `emit_enquoted_if_mapkey` (in Nightly builds, run with -Z macro-backtrace for more info) warning: use of deprecated macro `try`: use the `?` operator instead --> src/json.rs:562:13 | 562 | try!(write!($enc.writer, "{}", $e)); | ^^^ ... 637 | fn emit_isize(&mut self, v: isize) -> EncodeResult<()> { emit_enquoted_if_mapkey!(self, v) } | --------------------------------- in this macro invocation | = note: this warning originates in the macro `emit_enquoted_if_mapkey` (in Nightly builds, run with -Z macro-backtrace for more info) warning: use of deprecated macro `try`: use the `?` operator instead --> src/json.rs:559:13 | 559 | try!(write!($enc.writer, "\"{}\"", $e)); | ^^^ ... 638 | fn emit_i64(&mut self, v: i64) -> EncodeResult<()> { emit_enquoted_if_mapkey!(self, v) } | --------------------------------- in this macro invocation | = note: this warning originates in the macro `emit_enquoted_if_mapkey` (in Nightly builds, run with -Z macro-backtrace for more info) warning: use of deprecated macro `try`: use the `?` operator instead --> src/json.rs:562:13 | 562 | try!(write!($enc.writer, "{}", $e)); | ^^^ ... 638 | fn emit_i64(&mut self, v: i64) -> EncodeResult<()> { emit_enquoted_if_mapkey!(self, v) } | --------------------------------- in this macro invocation | = note: this warning originates in the macro `emit_enquoted_if_mapkey` (in Nightly builds, run with -Z macro-backtrace for more info) warning: use of deprecated macro `try`: use the `?` operator instead --> src/json.rs:559:13 | 559 | try!(write!($enc.writer, "\"{}\"", $e)); | ^^^ ... 639 | fn emit_i32(&mut self, v: i32) -> EncodeResult<()> { emit_enquoted_if_mapkey!(self, v) } | --------------------------------- in this macro invocation | = note: this warning originates in the macro `emit_enquoted_if_mapkey` (in Nightly builds, run with -Z macro-backtrace for more info) warning: use of deprecated macro `try`: use the `?` operator instead --> src/json.rs:562:13 | 562 | try!(write!($enc.writer, "{}", $e)); | ^^^ ... 639 | fn emit_i32(&mut self, v: i32) -> EncodeResult<()> { emit_enquoted_if_mapkey!(self, v) } | --------------------------------- in this macro invocation | = note: this warning originates in the macro `emit_enquoted_if_mapkey` (in Nightly builds, run with -Z macro-backtrace for more info) warning: use of deprecated macro `try`: use the `?` operator instead --> src/json.rs:559:13 | 559 | try!(write!($enc.writer, "\"{}\"", $e)); | ^^^ ... 640 | fn emit_i16(&mut self, v: i16) -> EncodeResult<()> { emit_enquoted_if_mapkey!(self, v) } | --------------------------------- in this macro invocation | = note: this warning originates in the macro `emit_enquoted_if_mapkey` (in Nightly builds, run with -Z macro-backtrace for more info) warning: use of deprecated macro `try`: use the `?` operator instead --> src/json.rs:562:13 | 562 | try!(write!($enc.writer, "{}", $e)); | ^^^ ... 640 | fn emit_i16(&mut self, v: i16) -> EncodeResult<()> { emit_enquoted_if_mapkey!(self, v) } | --------------------------------- in this macro invocation | = note: this warning originates in the macro `emit_enquoted_if_mapkey` (in Nightly builds, run with -Z macro-backtrace for more info) warning: use of deprecated macro `try`: use the `?` operator instead --> src/json.rs:559:13 | 559 | try!(write!($enc.writer, "\"{}\"", $e)); | ^^^ ... 641 | fn emit_i8(&mut self, v: i8) -> EncodeResult<()> { emit_enquoted_if_mapkey!(self, v) } | --------------------------------- in this macro invocation | = note: this warning originates in the macro `emit_enquoted_if_mapkey` (in Nightly builds, run with -Z macro-backtrace for more info) warning: use of deprecated macro `try`: use the `?` operator instead --> src/json.rs:562:13 | 562 | try!(write!($enc.writer, "{}", $e)); | ^^^ ... 641 | fn emit_i8(&mut self, v: i8) -> EncodeResult<()> { emit_enquoted_if_mapkey!(self, v) } | --------------------------------- in this macro invocation | = note: this warning originates in the macro `emit_enquoted_if_mapkey` (in Nightly builds, run with -Z macro-backtrace for more info) warning: use of deprecated macro `try`: use the `?` operator instead --> src/json.rs:646:13 | 646 | try!(write!(self.writer, "true")); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/json.rs:648:13 | 648 | try!(write!(self.writer, "false")); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/json.rs:559:13 | 559 | try!(write!($enc.writer, "\"{}\"", $e)); | ^^^ ... 654 | emit_enquoted_if_mapkey!(self, fmt_number_or_null(v)) | ----------------------------------------------------- in this macro invocation | = note: this warning originates in the macro `emit_enquoted_if_mapkey` (in Nightly builds, run with -Z macro-backtrace for more info) warning: use of deprecated macro `try`: use the `?` operator instead --> src/json.rs:562:13 | 562 | try!(write!($enc.writer, "{}", $e)); | ^^^ ... 654 | emit_enquoted_if_mapkey!(self, fmt_number_or_null(v)) | ----------------------------------------------------- in this macro invocation | = note: this warning originates in the macro `emit_enquoted_if_mapkey` (in Nightly builds, run with -Z macro-backtrace for more info) warning: use of deprecated macro `try`: use the `?` operator instead --> src/json.rs:703:13 | 703 | try!(f(self)); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/json.rs:689:17 | 689 | try!(write!(self.writer, "{{\n")); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/json.rs:691:17 | 691 | try!(spaces(self.writer, *curr_indent)); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/json.rs:692:17 | 692 | try!(write!(self.writer, "\"variant\": ")); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/json.rs:693:17 | 693 | try!(escape_str(self.writer, name)); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/json.rs:694:17 | 694 | try!(write!(self.writer, ",\n")); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/json.rs:695:17 | 695 | try!(spaces(self.writer, *curr_indent)); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/json.rs:696:17 | 696 | try!(write!(self.writer, "\"fields\": [\n")); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/json.rs:699:17 | 699 | try!(write!(self.writer, "{{\"variant\":")); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/json.rs:700:17 | 700 | try!(escape_str(self.writer, name)); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/json.rs:701:17 | 701 | try!(write!(self.writer, ",\"fields\":[")); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/json.rs:706:17 | 706 | try!(write!(self.writer, "\n")); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/json.rs:707:17 | 707 | try!(spaces(self.writer, *curr_indent)); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/json.rs:709:17 | 709 | try!(write!(self.writer, "]\n")); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/json.rs:710:17 | 710 | try!(spaces(self.writer, *curr_indent)); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/json.rs:711:17 | 711 | try!(write!(self.writer, "}}")); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/json.rs:713:17 | 713 | try!(write!(self.writer, "]}}")); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/json.rs:724:13 | 724 | try!(write!(self.writer, ",")); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/json.rs:726:17 | 726 | try!(write!(self.writer, "\n")); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/json.rs:730:13 | 730 | try!(spaces(self.writer, curr_indent)); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/json.rs:762:13 | 762 | try!(write!(self.writer, "{{}}")); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/json.rs:764:13 | 764 | try!(write!(self.writer, "{{")); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/json.rs:768:13 | 768 | try!(f(self)); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/json.rs:774:13 | 774 | try!(write!(self.writer, "}}")); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/json.rs:771:17 | 771 | try!(write!(self.writer, "\n")); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/json.rs:772:17 | 772 | try!(spaces(self.writer, *curr_indent)); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/json.rs:790:9 | 790 | try!(escape_str(self.writer, name)); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/json.rs:784:13 | 784 | try!(write!(self.writer, ",")); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/json.rs:787:13 | 787 | try!(write!(self.writer, "\n")); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/json.rs:788:13 | 788 | try!(spaces(self.writer, curr_indent)); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/json.rs:792:13 | 792 | try!(write!(self.writer, ": ")); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/json.rs:794:13 | 794 | try!(write!(self.writer, ":")); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/json.rs:847:13 | 847 | try!(write!(self.writer, "[]")); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/json.rs:849:13 | 849 | try!(write!(self.writer, "[")); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/json.rs:853:13 | 853 | try!(f(self)); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/json.rs:859:13 | 859 | try!(write!(self.writer, "]")); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/json.rs:856:17 | 856 | try!(write!(self.writer, "\n")); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/json.rs:857:17 | 857 | try!(spaces(self.writer, *curr_indent)); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/json.rs:869:13 | 869 | try!(write!(self.writer, ",")); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/json.rs:872:13 | 872 | try!(write!(self.writer, "\n")); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/json.rs:873:13 | 873 | try!(spaces(self.writer, *curr_indent)); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/json.rs:883:13 | 883 | try!(write!(self.writer, "{{}}")); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/json.rs:885:13 | 885 | try!(write!(self.writer, "{{")); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/json.rs:889:13 | 889 | try!(f(self)); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/json.rs:895:13 | 895 | try!(write!(self.writer, "}}")); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/json.rs:892:17 | 892 | try!(write!(self.writer, "\n")); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/json.rs:893:17 | 893 | try!(spaces(self.writer, *curr_indent)); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/json.rs:912:9 | 912 | try!(f(self)); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/json.rs:905:13 | 905 | try!(write!(self.writer, ",")); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/json.rs:908:13 | 908 | try!(write!(self.writer, "\n")); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/json.rs:909:13 | 909 | try!(spaces(self.writer, curr_indent)); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/json.rs:922:13 | 922 | try!(write!(self.writer, ": ")); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/json.rs:924:13 | 924 | try!(write!(self.writer, ":")); | ^^^ warning: trait objects without an explicit `dyn` are deprecated --> src/json.rs:959:34 | 959 | pub fn from_reader(rdr: &mut io::Read) -> Result { | ^^^^^^^^ help: use `dyn`: `dyn io::Read` | = 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/json.rs:962:13 | 962 | try!(rdr.read_to_end(&mut c)); | ^^^ warning: `...` range patterns are deprecated --> src/json.rs:1543:25 | 1543 | '0' ... '9' => return self.error(InvalidNumber), | ^^^ 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/json.rs:1547:17 | 1547 | '1' ... '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/json.rs:1550:33 | 1550 | c @ '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 --> src/json.rs:1579:17 | 1579 | '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 --> src/json.rs:1587:25 | 1587 | c @ '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 --> src/json.rs:1616:17 | 1616 | '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 --> src/json.rs:1621:25 | 1621 | c @ '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 --> src/json.rs:1647:25 | 1647 | c @ '0' ... '9' => n * 16 + ((c as u16) - ('0' as u16)), | ^^^ 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/json.rs:1648:25 | 1648 | c @ 'a' ... 'f' => n * 16 + (10 + (c as u16) - ('a' as u16)), | ^^^ 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/json.rs:1649:25 | 1649 | c @ 'A' ... 'F' => n * 16 + (10 + (c as u16) - ('A' as u16)), | ^^^ 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/json.rs:1679:34 | 1679 | 'u' => match try!(self.decode_hex_escape()) { | ^^^ warning: `...` range patterns are deprecated --> src/json.rs:1680:32 | 1680 | 0xDC00 ... 0xDFFF => { | ^^^ 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/json.rs:1686:37 | 1686 | n1 @ 0xD800 ... 0xDBFF => { | ^^^ 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/json.rs:1692:38 | 1692 | ... let n2 = try!(self.decode_hex_escape()); | ^^^ warning: `...` range patterns are deprecated --> src/json.rs:1916:17 | 1916 | '0' ... '9' | '-' => self.parse_number(), | ^^^ 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/json.rs:2063:15 | 2063 | match try!($e) { | ^^^ ... 2122 | expect!(self.pop(), Null) | ------------------------- in this macro invocation | = note: this warning originates in the macro `expect` (in Nightly builds, run with -Z macro-backtrace for more info) warning: use of deprecated macro `try`: use the `?` operator instead --> src/json.rs:2084:19 | 2084 | match try!(self.pop()) { | ^^^ ... 2125 | read_primitive! { read_usize, usize } | ------------------------------------- in this macro invocation | = note: this warning originates in the macro `read_primitive` (in Nightly builds, run with -Z macro-backtrace for more info) warning: use of deprecated macro `try`: use the `?` operator instead --> src/json.rs:2084:19 | 2084 | match try!(self.pop()) { | ^^^ ... 2126 | read_primitive! { read_u8, u8 } | ------------------------------- in this macro invocation | = note: this warning originates in the macro `read_primitive` (in Nightly builds, run with -Z macro-backtrace for more info) warning: use of deprecated macro `try`: use the `?` operator instead --> src/json.rs:2084:19 | 2084 | match try!(self.pop()) { | ^^^ ... 2127 | read_primitive! { read_u16, u16 } | --------------------------------- in this macro invocation | = note: this warning originates in the macro `read_primitive` (in Nightly builds, run with -Z macro-backtrace for more info) warning: use of deprecated macro `try`: use the `?` operator instead --> src/json.rs:2084:19 | 2084 | match try!(self.pop()) { | ^^^ ... 2128 | read_primitive! { read_u32, u32 } | --------------------------------- in this macro invocation | = note: this warning originates in the macro `read_primitive` (in Nightly builds, run with -Z macro-backtrace for more info) warning: use of deprecated macro `try`: use the `?` operator instead --> src/json.rs:2084:19 | 2084 | match try!(self.pop()) { | ^^^ ... 2129 | read_primitive! { read_u64, u64 } | --------------------------------- in this macro invocation | = note: this warning originates in the macro `read_primitive` (in Nightly builds, run with -Z macro-backtrace for more info) warning: use of deprecated macro `try`: use the `?` operator instead --> src/json.rs:2084:19 | 2084 | match try!(self.pop()) { | ^^^ ... 2130 | read_primitive! { read_isize, isize } | ------------------------------------- in this macro invocation | = note: this warning originates in the macro `read_primitive` (in Nightly builds, run with -Z macro-backtrace for more info) warning: use of deprecated macro `try`: use the `?` operator instead --> src/json.rs:2084:19 | 2084 | match try!(self.pop()) { | ^^^ ... 2131 | read_primitive! { read_i8, i8 } | ------------------------------- in this macro invocation | = note: this warning originates in the macro `read_primitive` (in Nightly builds, run with -Z macro-backtrace for more info) warning: use of deprecated macro `try`: use the `?` operator instead --> src/json.rs:2084:19 | 2084 | match try!(self.pop()) { | ^^^ ... 2132 | read_primitive! { read_i16, i16 } | --------------------------------- in this macro invocation | = note: this warning originates in the macro `read_primitive` (in Nightly builds, run with -Z macro-backtrace for more info) warning: use of deprecated macro `try`: use the `?` operator instead --> src/json.rs:2084:19 | 2084 | match try!(self.pop()) { | ^^^ ... 2133 | read_primitive! { read_i32, i32 } | --------------------------------- in this macro invocation | = note: this warning originates in the macro `read_primitive` (in Nightly builds, run with -Z macro-backtrace for more info) warning: use of deprecated macro `try`: use the `?` operator instead --> src/json.rs:2084:19 | 2084 | match try!(self.pop()) { | ^^^ ... 2134 | read_primitive! { read_i64, i64 } | --------------------------------- in this macro invocation | = note: this warning originates in the macro `read_primitive` (in Nightly builds, run with -Z macro-backtrace for more info) warning: use of deprecated macro `try`: use the `?` operator instead --> src/json.rs:2141:15 | 2141 | match try!(self.pop()) { | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/json.rs:2070:15 | 2070 | match try!($e) { | ^^^ ... 2159 | expect!(self.pop(), Boolean) | ---------------------------- in this macro invocation | = note: this warning originates in the macro `expect` (in Nightly builds, run with -Z macro-backtrace for more info) warning: use of deprecated macro `try`: use the `?` operator instead --> src/json.rs:2163:17 | 2163 | let s = try!(self.read_str()); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/json.rs:2070:15 | 2070 | match try!($e) { | ^^^ ... 2176 | expect!(self.pop(), String) | --------------------------- in this macro invocation | = note: this warning originates in the macro `expect` (in Nightly builds, run with -Z macro-backtrace for more info) warning: use of deprecated macro `try`: use the `?` operator instead --> src/json.rs:2189:26 | 2189 | let name = match try!(self.pop()) { | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/json.rs:2254:9 | 2254 | try!(self.pop()); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/json.rs:2253:21 | 2253 | let value = try!(f(self)); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/json.rs:2265:23 | 2265 | let mut obj = try!(expect!(self.pop(), Object)); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/json.rs:2070:15 | 2070 | match try!($e) { | ^^^ ... 2265 | let mut obj = try!(expect!(self.pop(), Object)); | --------------------------- in this macro invocation | = note: this warning originates in the macro `expect` (in Nightly builds, run with -Z macro-backtrace for more info) warning: use of deprecated macro `try`: use the `?` operator instead --> src/json.rs:2279:17 | 2279 | try!(f(self)) | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/json.rs:2326:15 | 2326 | match try!(self.pop()) { | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/json.rs:2335:21 | 2335 | let array = try!(expect!(self.pop(), Array)); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/json.rs:2070:15 | 2070 | match try!($e) { | ^^^ ... 2335 | let array = try!(expect!(self.pop(), Array)); | -------------------------- in this macro invocation | = note: this warning originates in the macro `expect` (in Nightly builds, run with -Z macro-backtrace for more info) warning: use of deprecated macro `try`: use the `?` operator instead --> src/json.rs:2352:19 | 2352 | let obj = try!(expect!(self.pop(), Object)); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/json.rs:2070:15 | 2070 | match try!($e) { | ^^^ ... 2352 | let obj = try!(expect!(self.pop(), Object)); | --------------------------- in this macro invocation | = note: this warning originates in the macro `expect` (in Nightly builds, run with -Z macro-backtrace for more info) warning: `rustc-serialize` (lib) generated 260 warnings (85 duplicates) Finished release [optimized] target(s) in 12.73s + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.wSFWuj + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/rust-rustc-serialize-0.3.24-15.el9.aarch64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/rust-rustc-serialize-0.3.24-15.el9.aarch64 ++ dirname /builddir/build/BUILDROOT/rust-rustc-serialize-0.3.24-15.el9.aarch64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/rust-rustc-serialize-0.3.24-15.el9.aarch64 + cd rustc-serialize-0.3.24 + 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=rustc-serialize ++ /usr/bin/cargo-inspector --version Cargo.toml + CRATE_VERSION=0.3.24 + REG_DIR=/builddir/build/BUILDROOT/rust-rustc-serialize-0.3.24-15.el9.aarch64/usr/share/cargo/registry/rustc-serialize-0.3.24 + /usr/bin/mkdir -p /builddir/build/BUILDROOT/rust-rustc-serialize-0.3.24-15.el9.aarch64/usr/share/cargo/registry/rustc-serialize-0.3.24 + 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 --cap-lints=warn' /usr/bin/cargo package -l + xargs -d '\n' /usr/bin/cp --parents -a -t /builddir/build/BUILDROOT/rust-rustc-serialize-0.3.24-15.el9.aarch64/usr/share/cargo/registry/rustc-serialize-0.3.24 + grep -w -E -v 'Cargo.(lock|toml.orig)' warning: No (git) VCS found for `/builddir/build/BUILD/rustc-serialize-0.3.24` + /usr/bin/mv Cargo.toml.deps Cargo.toml + /usr/bin/cp -a Cargo.toml /builddir/build/BUILDROOT/rust-rustc-serialize-0.3.24-15.el9.aarch64/usr/share/cargo/registry/rustc-serialize-0.3.24/Cargo.toml + /usr/bin/rm -f /builddir/build/BUILDROOT/rust-rustc-serialize-0.3.24-15.el9.aarch64/usr/share/cargo/registry/rustc-serialize-0.3.24/Cargo.toml.deps + echo '{"files":{},"package":""}' + /usr/bin/cargo-inspector --target-kinds Cargo.toml + grep -q -F -x bin + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/brp-strip /usr/bin/strip + /usr/lib/rpm/brp-strip-comment-note /usr/bin/strip /usr/bin/objdump + /usr/lib/rpm/redhat/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs Processing files: rust-rustc-serialize-devel-0.3.24-15.el9.noarch Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.XXfMwW + umask 022 + cd /builddir/build/BUILD + cd rustc-serialize-0.3.24 + DOCDIR=/builddir/build/BUILDROOT/rust-rustc-serialize-0.3.24-15.el9.aarch64/usr/share/doc/rust-rustc-serialize-devel + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/rust-rustc-serialize-0.3.24-15.el9.aarch64/usr/share/doc/rust-rustc-serialize-devel + cp -pr README.md /builddir/build/BUILDROOT/rust-rustc-serialize-0.3.24-15.el9.aarch64/usr/share/doc/rust-rustc-serialize-devel + RPM_EC=0 ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.DxzAL8 + umask 022 + cd /builddir/build/BUILD + cd rustc-serialize-0.3.24 + LICENSEDIR=/builddir/build/BUILDROOT/rust-rustc-serialize-0.3.24-15.el9.aarch64/usr/share/licenses/rust-rustc-serialize-devel + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/rust-rustc-serialize-0.3.24-15.el9.aarch64/usr/share/licenses/rust-rustc-serialize-devel + cp -pr LICENSE-MIT /builddir/build/BUILDROOT/rust-rustc-serialize-0.3.24-15.el9.aarch64/usr/share/licenses/rust-rustc-serialize-devel + cp -pr LICENSE-APACHE /builddir/build/BUILDROOT/rust-rustc-serialize-0.3.24-15.el9.aarch64/usr/share/licenses/rust-rustc-serialize-devel + RPM_EC=0 ++ jobs -p + exit 0 Provides: crate(rustc-serialize) = 0.3.24 rust-rustc-serialize-devel = 0.3.24-15.el9 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: cargo Processing files: rust-rustc-serialize+default-devel-0.3.24-15.el9.noarch Provides: crate(rustc-serialize/default) = 0.3.24 rust-rustc-serialize+default-devel = 0.3.24-15.el9 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: cargo crate(rustc-serialize) = 0.3.24 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/rust-rustc-serialize-0.3.24-15.el9.aarch64 Wrote: /builddir/build/RPMS/rust-rustc-serialize+default-devel-0.3.24-15.el9.noarch.rpm Wrote: /builddir/build/RPMS/rust-rustc-serialize-devel-0.3.24-15.el9.noarch.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.8QisW7 + umask 022 + cd /builddir/build/BUILD + cd rustc-serialize-0.3.24 + /usr/bin/rm -rf /builddir/build/BUILDROOT/rust-rustc-serialize-0.3.24-15.el9.aarch64 + RPM_EC=0 ++ jobs -p + exit 0 Child return code was: 0